import{d as E,K as g,r as F,o as l,c as p,f as u,w as o,a as t,v as s,F as n,q,Q as c,P,y as A,z,A as D,W as S,D as j,_ as O,__tla as Q}from"./index-04f8d540.js";import Y,{__tla as C}from"./main-aec36644.js";import{M as i}from"./types-5e186e8c.js";import{d as G,D as V,a as H,__tla as L}from"./dict-ef06f7f7.js";import{__tla as N}from"./TabNews-5158c822.js";import{__tla as W}from"./main-8a8b6d69.js";import{__tla as B}from"./el-image-00a7d632.js";import{__tla as I}from"./el-image-viewer-5878bd7a.js";import{__tla as J}from"./main-6be9f951.js";import{__tla as X}from"./index-bf28d6af.js";import{__tla as Z}from"./index-1cf9f52b.js";import{__tla as $}from"./main-15ef62e6.js";import{__tla as ee}from"./main-3d59f25d.js";import{__tla as te}from"./index-67301828.js";import{__tla as ae}from"./index-9e4f2df0.js";import{__tla as le}from"./formatTime-81f0c591.js";import{__tla as re}from"./TabText-f978be2a.js";import{__tla as _e}from"./TabImage-91c57c81.js";import{__tla as oe}from"./useUpload-6abbaacb.js";import{__tla as ue}from"./useMessage-9c37e840.js";import{__tla as se}from"./TabVoice-b234335c.js";import{__tla as me}from"./TabVideo-c3dd2105.js";import{__tla as pe}from"./TabMusic-9dc925a8.js";let M,ce=Promise.all([(()=>{try{return Q}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return X}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=O(E({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=F(null),x=["text","image","voice","video","shortvideo","location","link"],K={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=D,R=S,U=j;return l(),p("div",null,[u(U,{ref_key:"formRef",ref:y,model:t(_),rules:K,"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(G)(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(H)(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(R,{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(Y),{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};
