import{_ as w}from"./ComponentContainerProperty-1c54107b.js";import{d as y,o as C,j as k,w as r,i as o,a,m as j,G as v,V as q,H as B}from"./index-92f7a16c.js";import{E as D}from"./el-card-e60c275e.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-b63f41bc.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-1377d251.js";import{_ as H}from"./index-72414178.js";import{_ as N}from"./UploadImg-7f651e4b.js";import{u as P}from"./util-77619550.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./el-text-79d6dacd.js";import"./vuedraggable.umd-24d8b17d.js";import"./Dialog-524c7d28.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-af47b048.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-d1b07927.js";import"./el-tree-select-4c0548d3.js";import"./tree-0af4953a.js";import"./category-8e584cf1.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-8916c602.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-93cdc892.js";import"./index.vue_vue_type_script_setup_true_lang-059ec67a.js";import"./index-579dde8f.js";import"./el-image-b5c91f66.js";import"./el-image-viewer-668f12f8.js";import"./spu-7bbcf2cd.js";import"./color-6e929987.js";import"./index-53ab5084.js";import"./useMessage-f6048a9f.js";import"./Qrcode-386ef4c1.js";import"./IFrame.vue_vue_type_script_setup_true_lang-9e7d9512.js";import"./el-collapse-item-8326507b.js";const S=y({name:"NoticeBarProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(u,{emit:i}){const n={content:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u544A",trigger:"blur"}]},s=u,V=i,{formData:t}=P(s.modelValue,V);return(z,l)=>{const f=N,m=v,d=H,_=q,c=G,b=E,U=D,x=B,h=w;return C(),k(h,{modelValue:a(t).style,"onUpdate:modelValue":l[4]||(l[4]=e=>a(t).style=e)},{default:r(()=>[o(x,{"label-width":"80px",model:a(t),rules:n},{default:r(()=>[o(m,{label:"\u516C\u544A\u56FE\u6807",prop:"iconUrl"},{default:r(()=>[o(f,{modelValue:a(t).iconUrl,"onUpdate:modelValue":l[0]||(l[0]=e=>a(t).iconUrl=e),height:"48px"},{tip:r(()=>l[5]||(l[5]=[j("\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A24 * 24")])),_:1},8,["modelValue"])]),_:1}),o(m,{label:"\u80CC\u666F\u989C\u8272",prop:"backgroundColor"},{default:r(()=>[o(d,{modelValue:a(t).backgroundColor,"onUpdate:modelValue":l[1]||(l[1]=e=>a(t).backgroundColor=e)},null,8,["modelValue"])]),_:1}),o(m,{label:"\u6587\u5B57\u989C\u8272",prop:"\u6587\u5B57\u989C\u8272"},{default:r(()=>[o(d,{modelValue:a(t).textColor,"onUpdate:modelValue":l[2]||(l[2]=e=>a(t).textColor=e)},null,8,["modelValue"])]),_:1}),o(U,{header:"\u516C\u544A\u5185\u5BB9",class:"property-group",shadow:"never"},{default:r(()=>[o(b,{modelValue:a(t).contents,"onUpdate:modelValue":l[3]||(l[3]=e=>a(t).contents=e)},{default:r(({element:e})=>[o(m,{label:"\u516C\u544A",prop:"text","label-width":"40px"},{default:r(()=>[o(_,{modelValue:e.text,"onUpdate:modelValue":p=>e.text=p,placeholder:"\u8BF7\u8F93\u5165\u516C\u544A"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),o(m,{label:"\u94FE\u63A5",prop:"url","label-width":"40px"},{default:r(()=>[o(c,{modelValue:e.url,"onUpdate:modelValue":p=>e.url=p},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{S as default};