import{d as F,L as g,r as K,o as l,c as p,g as u,w as o,a as t,x as s,F as n,v as q,R as c,Q as P,z as A,A as z,B as S,X as j,G as D,_ as G,__tla as L}from"./index-7d5b26d3.js";import O,{__tla as Q}from"./main-52d31c01.js";import{M as i}from"./types-5e186e8c.js";import{c as Y,D as V,a as B,__tla as C}from"./dict-37d1dfe8.js";import{__tla as H}from"./TabNews-de7a08d4.js";import{__tla as N}from"./main-a6251aa9.js";import{__tla as X}from"./el-image-c9079635.js";import{__tla as I}from"./el-image-viewer-2f0c9a58.js";import{__tla as J}from"./main-6e566452.js";import{__tla as W}from"./index-966eea36.js";import{__tla as Z}from"./index-cdb8fe72.js";import{__tla as $}from"./main-21b2f3a7.js";import{__tla as ee}from"./main-0e4d12b4.js";import{__tla as te}from"./index-7f060851.js";import{__tla as ae}from"./index-4dabe3cf.js";import{__tla as le}from"./formatTime-5152c108.js";import{__tla as re}from"./TabText-bcc5cebd.js";import{__tla as _e}from"./TabImage-6ad52c82.js";import{__tla as oe}from"./useUpload-8fce1b59.js";import{__tla as ue}from"./useMessage-c81eaa5b.js";import{__tla as se}from"./TabVoice-5928777d.js";import{__tla as me}from"./TabVideo-e58f9211.js";import{__tla as pe}from"./TabMusic-455f3afc.js";let M,ce=Promise.all([(()=>{try{return L}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return ee}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return ae}catch{}})(),(()=>{try{return le}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return oe}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return se}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return pe}catch{}})()]).then(async()=>{M=G(F({name:"ReplyForm",__name:"ReplyForm",props:{modelValue:{type:null,required:!0},reply:{type:Object,required:!0},msgType:{type:Number,required:!0}},emits:["update:reply","update:modelValue"],setup(w,{expose:T,emit:k}){const f=w,h=k,d=g({get:()=>f.reply,set:a=>h("update:reply",a)}),_=g({get:()=>f.modelValue,set:a=>h("update:modelValue",a)}),y=K(null),x=["text","image","voice","video","shortvideo","location","link"],R={requestKeyword:[{required:!0,message:"\u8BF7\u6C42\u7684\u5173\u952E\u5B57\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],requestMatch:[{required:!0,message:"\u8BF7\u6C42\u7684\u5173\u952E\u5B57\u7684\u5339\u914D\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}]};return T({resetFields:()=>{var a;return(a=y.value)==null?void 0:a.resetFields()},validate:async()=>{var a;return(a=y.value)==null?void 0:a.validate()}}),(a,r)=>{const v=A,b=z,m=S,E=j,U=D;return l(),p("div",null,[u(U,{ref_key:"formRef",ref:y,model:t(_),rules:R,"label-width":"80px"},{default:o(()=>[a.msgType===t(i).Message?(l(),s(m,{key:0,label:"\u6D88\u606F\u7C7B\u578B",prop:"requestMessageType"},{default:o(()=>[u(b,{modelValue:t(_).requestMessageType,"onUpdate:modelValue":r[0]||(r[0]=e=>t(_).requestMessageType=e),placeholder:"\u8BF7\u9009\u62E9"},{default:o(()=>[(l(!0),p(n,null,q(t(Y)(t(V).MP_MESSAGE_TYPE),e=>(l(),p(n,{key:e.value},[x.includes(e.value)?(l(),s(v,{key:0,label:e.label,value:e.value},null,8,["label","value"])):c("",!0)],64))),128))]),_:1},8,["modelValue"])]),_:1})):c("",!0),a.msgType===t(i).Keyword?(l(),s(m,{key:1,label:"\u5339\u914D\u7C7B\u578B",prop:"requestMatch"},{default:o(()=>[u(b,{modelValue:t(_).requestMatch,"onUpdate:modelValue":r[1]||(r[1]=e=>t(_).requestMatch=e),placeholder:"\u8BF7\u9009\u62E9\u5339\u914D\u7C7B\u578B",clearable:""},{default:o(()=>[(l(!0),p(n,null,q(t(B)(t(V).MP_AUTO_REPLY_REQUEST_MATCH),e=>(l(),s(v,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):c("",!0),a.msgType===t(i).Keyword?(l(),s(m,{key:2,label:"\u5173\u952E\u8BCD",prop:"requestKeyword"},{default:o(()=>[u(E,{modelValue:t(_).requestKeyword,"onUpdate:modelValue":r[2]||(r[2]=e=>t(_).requestKeyword=e),placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9",clearable:""},null,8,["modelValue"])]),_:1})):c("",!0),u(m,{label:"\u56DE\u590D\u6D88\u606F"},{default:o(()=>[u(t(O),{modelValue:t(d),"onUpdate:modelValue":r[3]||(r[3]=e=>P(d)?d.value=e:null)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/mp/autoReply/components/ReplyForm.vue"]])});export{ce as __tla,M as default};
