property-6141f155.js 6.4 KB

1
  1. import{_ as C,__tla as A}from"./ComponentContainerProperty-d9e0dfdf.js";import{d as I,o as f,v as P,w as r,f as e,a as l,n as p,c as j,F as B,x as E,a4 as T,P as k,A as q,j as F,d6 as O,a_ as G,ai as H,c$ as L,ad as M,ah as $,V as J,D as K,_ as N,__tla as Q}from"./index-6d7b82ba.js";import{_ as R,__tla as X}from"./index-95f1d47f.js";import{_ as Y,__tla as Z}from"./index-9f9abbda.js";import{E as ee,__tla as te}from"./el-card-1a4b93b1.js";import{_ as le,__tla as ae}from"./UploadImg-f5f3b1db.js";import{u as oe,__tla as re}from"./util-83233a10.js";import{__tla as _e}from"./index-871b504a.js";import"./color-6e929987.js";import{__tla as me}from"./AppLinkSelectDialog-580309ff.js";import{__tla as de}from"./Dialog-78181bae.js";import{__tla as pe}from"./ProductCategorySelect-75313377.js";import{__tla as ue}from"./el-tree-select-23e10a37.js";import"./tree-0af4953a.js";import{__tla as ie}from"./category-d8fb78d9.js";import{__tla as ne}from"./index-8e19be94.js";import{__tla as se}from"./el-image-viewer-4a19ded4.js";import{__tla as ce}from"./useMessage-be161634.js";import{__tla as he}from"./Qrcode-64fbb7c9.js";import{__tla as fe}from"./el-text-cceaf178.js";import{__tla as Ve}from"./IFrame-f47bddea.js";import{__tla as be}from"./vuedraggable.umd-ff291baa.js";import{__tla as ge}from"./el-collapse-item-2a674d59.js";let V,we=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return ae}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return pe}catch{}})(),(()=>{try{return ue}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 be}catch{}})(),(()=>{try{return ge}catch{}})()]).then(async()=>{V=N(I({name:"TitleBarProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(b,{emit:g}){const w=b,x=g,{formData:t}=oe(w.modelValue,x),U={};return(xe,a)=>{const z=le,_=q,i=F,n=O,s=G,c=H,m=ee,h=Y,d=L,y=M,u=$,v=J,D=R,S=K,W=C;return f(),P(W,{modelValue:l(t).style,"onUpdate:modelValue":a[14]||(a[14]=o=>l(t).style=o)},{default:r(()=>[e(S,{"label-width":"85px",model:l(t),rules:U},{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(z,{modelValue:l(t).bgImgUrl,"onUpdate:modelValue":a[0]||(a[0]=o=>l(t).bgImgUrl=o),width:"100%",height:"40px"},{tip:r(()=>[p("\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(y,{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(),j(B,{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(u,{label:"text"},{default:r(()=>[p("\u6587\u5B57")]),_:1}),e(u,{label:"icon"},{default:r(()=>[p("\u56FE\u6807")]),_:1}),e(u,{label:"all"},{default:r(()=>[p("\u6587\u5B57+\u56FE\u6807")]),_:1})]),_:1},8,["modelValue"])]),_:1}),E(e(_,{label:"\u66F4\u591A\u6587\u5B57",prop:"more.text"},{default:r(()=>[e(v,{modelValue:l(t).more.text,"onUpdate:modelValue":a[12]||(a[12]=o=>l(t).more.text=o)},null,8,["modelValue"])]),_:1},512),[[T,l(t).more.type!=="icon"]]),e(_,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:"more.url"},{default:r(()=>[e(D,{modelValue:l(t).more.url,"onUpdate:modelValue":a[13]||(a[13]=o=>l(t).more.url=o)},null,8,["modelValue"])]),_:1})],64)):k("",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/TitleBar/property.vue"]])});export{we as __tla,V as default};