property-379cba45.js 6.5 KB

1
  1. import{_ as A,__tla as P}from"./ComponentContainerProperty-540b9384.js";import{d as k,o as f,q,w as r,f as e,a as l,m as u,c as B,F as D,v as E,a3 as F,O,z as T,_ as j,da as L,b5 as M,ah as Q,d3 as R,ac as G,ag as H,U as J,C as K,__tla as N}from"./index-2eab2d23.js";import{_ as X,__tla as Y}from"./index.vue_vue_type_script_setup_true_lang-f5b637f5.js";import{_ as Z,__tla as $}from"./index-8c2ccd54.js";import{E as S,__tla as ee}from"./el-card-c558f0ec.js";import{_ as te,__tla as le}from"./UploadImg-90fe71c2.js";import{u as ae,__tla as oe}from"./util-8a54c07a.js";import{__tla as re}from"./index-30d48444.js";import"./color-6e929987.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as _e}from"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-8a855232.js";import{__tla as me}from"./Dialog-c2716df6.js";import{__tla as de}from"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-997a9041.js";import{__tla as ue}from"./el-tree-select-4ae7c290.js";import"./tree-fd3a041e.js";import{__tla as pe}from"./category-c573377b.js";import{__tla as ie}from"./index-d3f876ab.js";import{__tla as ne}from"./el-image-viewer-5d14bc77.js";import{__tla as se}from"./useMessage-171aa63e.js";import{__tla as ce}from"./Qrcode-a57a527d.js";import{__tla as he}from"./el-text-b1163e3d.js";import{__tla as fe}from"./IFrame.vue_vue_type_script_setup_true_lang-82b81649.js";import{__tla as Ve}from"./vuedraggable.umd-67523a5c.js";import{__tla as ye}from"./el-collapse-item-5ecf4321.js";let V,be=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return ee}catch{}})(),(()=>{try{return le}catch{}})(),(()=>{try{return oe}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return pe}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return ne}catch{}})(),(()=>{try{return se}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return Ve}catch{}})(),(()=>{try{return ye}catch{}})()]).then(async()=>{V=k({name:"TitleBarProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(y,{emit:b}){const g=y,w=b,{formData:t}=ae(g.modelValue,w),x={};return(ge,a)=>{const U=te,_=T,i=j,n=L,s=M,c=Q,m=S,h=Z,d=R,z=G,p=H,W=J,C=X,v=K,I=A;return f(),q(I,{modelValue:l(t).style,"onUpdate:modelValue":a[14]||(a[14]=o=>l(t).style=o)},{default:r(()=>[e(v,{"label-width":"85px",model:l(t),rules:x},{default:r(()=>[e(m,{header:"\u98CE\u683C",class:"property-group",shadow:"never"},{default:r(()=>[e(_,{label:"\u80CC\u666F\u56FE\u7247",prop:"bgImgUrl"},{default:r(()=>[e(U,{modelValue:l(t).bgImgUrl,"onUpdate:modelValue":a[0]||(a[0]=o=>l(t).bgImgUrl=o),width:"100%",height:"40px"},{tip:r(()=>[u("\u5EFA\u8BAE\u5C3A\u5BF8 750*80")]),_:1},8,["modelValue"])]),_:1}),e(_,{label:"\u6807\u9898\u4F4D\u7F6E",prop:"textAlign"},{default:r(()=>[e(c,{modelValue:l(t).textAlign,"onUpdate:modelValue":a[1]||(a[1]=o=>l(t).textAlign=o)},{default:r(()=>[e(s,{content:"\u5C45\u5DE6",placement:"top"},{default:r(()=>[e(n,{label:"left"},{default:r(()=>[e(i,{icon:"ant-design:align-left-outlined"})]),_:1})]),_:1}),e(s,{content:"\u5C45\u4E2D",placement:"top"},{default:r(()=>[e(n,{label:"center"},{default:r(()=>[e(i,{icon:"ant-design:align-center-outlined"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(m,{header:"\u4E3B\u6807\u9898",class:"property-group",shadow:"never"},{default:r(()=>[e(_,{label:"\u6587\u5B57",prop:"title","label-width":"40px"},{default:r(()=>[e(h,{modelValue:l(t).title,"onUpdate:modelValue":a[2]||(a[2]=o=>l(t).title=o),color:l(t).titleColor,"onUpdate:color":a[3]||(a[3]=o=>l(t).titleColor=o),"show-word-limit":"",maxlength:"20"},null,8,["modelValue","color"])]),_:1}),e(_,{label:"\u5927\u5C0F",prop:"titleSize","label-width":"40px"},{default:r(()=>[e(d,{modelValue:l(t).titleSize,"onUpdate:modelValue":a[4]||(a[4]=o=>l(t).titleSize=o),max:60,min:10,"show-input":"","input-size":"small"},null,8,["modelValue"])]),_:1}),e(_,{label:"\u7C97\u7EC6",prop:"titleWeight","label-width":"40px"},{default:r(()=>[e(d,{modelValue:l(t).titleWeight,"onUpdate:modelValue":a[5]||(a[5]=o=>l(t).titleWeight=o),min:100,max:900,step:100,"show-input":"","input-size":"small"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{header:"\u526F\u6807\u9898",class:"property-group",shadow:"never"},{default:r(()=>[e(_,{label:"\u6587\u5B57",prop:"description","label-width":"40px"},{default:r(()=>[e(h,{modelValue:l(t).description,"onUpdate:modelValue":a[6]||(a[6]=o=>l(t).description=o),color:l(t).descriptionColor,"onUpdate:color":a[7]||(a[7]=o=>l(t).descriptionColor=o),"show-word-limit":"",maxlength:"50"},null,8,["modelValue","color"])]),_:1}),e(_,{label:"\u5927\u5C0F",prop:"descriptionSize","label-width":"40px"},{default:r(()=>[e(d,{modelValue:l(t).descriptionSize,"onUpdate:modelValue":a[8]||(a[8]=o=>l(t).descriptionSize=o),max:60,min:10,"show-input":"","input-size":"small"},null,8,["modelValue"])]),_:1}),e(_,{label:"\u7C97\u7EC6",prop:"descriptionWeight","label-width":"40px"},{default:r(()=>[e(d,{modelValue:l(t).descriptionWeight,"onUpdate:modelValue":a[9]||(a[9]=o=>l(t).descriptionWeight=o),min:100,max:900,step:100,"show-input":"","input-size":"small"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{header:"\u67E5\u770B\u66F4\u591A",class:"property-group",shadow:"never"},{default:r(()=>[e(_,{label:"\u662F\u5426\u663E\u793A",prop:"more.show"},{default:r(()=>[e(z,{modelValue:l(t).more.show,"onUpdate:modelValue":a[10]||(a[10]=o=>l(t).more.show=o)},null,8,["modelValue"])]),_:1}),l(t).more.show?(f(),B(D,{key:0},[e(_,{label:"\u6837\u5F0F",prop:"more.type"},{default:r(()=>[e(c,{modelValue:l(t).more.type,"onUpdate:modelValue":a[11]||(a[11]=o=>l(t).more.type=o)},{default:r(()=>[e(p,{label:"text"},{default:r(()=>[u("\u6587\u5B57")]),_:1}),e(p,{label:"icon"},{default:r(()=>[u("\u56FE\u6807")]),_:1}),e(p,{label:"all"},{default:r(()=>[u("\u6587\u5B57+\u56FE\u6807")]),_:1})]),_:1},8,["modelValue"])]),_:1}),E(e(_,{label:"\u66F4\u591A\u6587\u5B57",prop:"more.text"},{default:r(()=>[e(W,{modelValue:l(t).more.text,"onUpdate:modelValue":a[12]||(a[12]=o=>l(t).more.text=o)},null,8,["modelValue"])]),_:1},512),[[F,l(t).more.type!=="icon"]]),e(_,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:"more.url"},{default:r(()=>[e(C,{modelValue:l(t).more.url,"onUpdate:modelValue":a[13]||(a[13]=o=>l(t).more.url=o)},null,8,["modelValue"])]),_:1})],64)):O("",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}})});export{be as __tla,V as default};