import{d as E,b as g,r as F,o as r,c as p,i as u,w as o,a,l as s,F as n,k as q,a2 as c,y as P,D as A,G as D,H,U as S,K as j,_ as G,__tla as O}from"./index-b2b3c6c4.js";import Y,{__tla as z}from"./main-2142c07e.js";import{M as i}from"./types-5e186e8c.js";import{d as C,D as V,a as L,__tla as N}from"./dict-7f0cc6d2.js";import{__tla as Q}from"./TabNews-099983d7.js";import{__tla as X}from"./main-9ec062cd.js";import{__tla as B}from"./el-image-d434829d.js";import{__tla as I}from"./el-image-viewer-b5664270.js";import{__tla as J}from"./main-2c41dec3.js";import{__tla as W}from"./index-341fc94c.js";import{__tla as Z}from"./index-2d76a87c.js";import{__tla as $}from"./main-a3bf7529.js";import{__tla as ee}from"./main-5cbc3cda.js";import{__tla as ae}from"./index-23a6a8c6.js";import{__tla as te}from"./index-9fa58f2e.js";import{__tla as re}from"./formatTime-7e07ce72.js";import{__tla as le}from"./TabText-f0a7a63a.js";import{__tla as _e}from"./TabImage-d6d8e825.js";import{__tla as oe}from"./useUpload-fb27bbcc.js";import{__tla as ue}from"./useMessage-a5edbb0f.js";import{__tla as se}from"./TabVoice-bab68bae.js";import{__tla as me}from"./TabVideo-9ac2b7e8.js";import{__tla as pe}from"./TabMusic-01c37607.js";let M,ce=Promise.all([(()=>{try{return O}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return B}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 ae}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return le}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(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:t=>h("update:reply",t)}),_=g({get:()=>f.modelValue,set:t=>h("update:modelValue",t)}),y=F(null),R=["text","image","voice","video","shortvideo","location","link"],U={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 t;return(t=y.value)==null?void 0:t.resetFields()},validate:async()=>{var t;return(t=y.value)==null?void 0:t.validate()}}),(t,l)=>{const v=A,b=D,m=H,K=S,x=j;return r(),p("div",null,[u(x,{ref_key:"formRef",ref:y,model:a(_),rules:U,"label-width":"80px"},{default:o(()=>[t.msgType===a(i).Message?(r(),s(m,{key:0,label:"\u6D88\u606F\u7C7B\u578B",prop:"requestMessageType"},{default:o(()=>[u(b,{modelValue:a(_).requestMessageType,"onUpdate:modelValue":l[0]||(l[0]=e=>a(_).requestMessageType=e),placeholder:"\u8BF7\u9009\u62E9"},{default:o(()=>[(r(!0),p(n,null,q(a(C)(a(V).MP_MESSAGE_TYPE),e=>(r(),p(n,{key:e.value},[R.includes(e.value)?(r(),s(v,{key:0,label:e.label,value:e.value},null,8,["label","value"])):c("",!0)],64))),128))]),_:1},8,["modelValue"])]),_:1})):c("",!0),t.msgType===a(i).Keyword?(r(),s(m,{key:1,label:"\u5339\u914D\u7C7B\u578B",prop:"requestMatch"},{default:o(()=>[u(b,{modelValue:a(_).requestMatch,"onUpdate:modelValue":l[1]||(l[1]=e=>a(_).requestMatch=e),placeholder:"\u8BF7\u9009\u62E9\u5339\u914D\u7C7B\u578B",clearable:""},{default:o(()=>[(r(!0),p(n,null,q(a(L)(a(V).MP_AUTO_REPLY_REQUEST_MATCH),e=>(r(),s(v,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):c("",!0),t.msgType===a(i).Keyword?(r(),s(m,{key:2,label:"\u5173\u952E\u8BCD",prop:"requestKeyword"},{default:o(()=>[u(K,{modelValue:a(_).requestKeyword,"onUpdate:modelValue":l[2]||(l[2]=e=>a(_).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(a(Y),{modelValue:a(d),"onUpdate:modelValue":l[3]||(l[3]=e=>P(d)?d.value=e:null)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mp/autoReply/components/ReplyForm.vue"]])});export{ce as __tla,M as default};
