"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js");const t=e.defineComponent({__name:"message-revoked",props:{isEdit:{type:Boolean,default:()=>!1},messageItem:{type:Object,default:()=>({})}},emits:["messageEdit"],setup(t,{emit:r}){const n=t,f=e.ref(),o=e.ref(!1),u=r;e.watchEffect((()=>{f.value=n.messageItem,o.value=n.isEdit}));const s=()=>{u("messageEdit")};return(t,r)=>e.e({a:"in"===e.unref(f).flow},"in"===e.unref(f).flow?{b:e.t(e.unref(f).nick||e.unref(f).from)}:e.unref(f).from===e.unref(f).revoker?{d:e.t(e.unref(e.Wt).t("TUIChat.您"))}:{e:e.t(e.unref(f).revoker)},{c:e.unref(f).from===e.unref(f).revoker,f:e.t(e.unref(e.Wt).t("TUIChat.撤回了一条消息")),g:"out"===e.unref(f).flow&&e.unref(o)},"out"===e.unref(f).flow&&e.unref(o)?{h:e.t(e.unref(e.Wt).t("TUIChat.重新编辑")),i:e.o$1(s)}:{})}}),r=e._export_sfc(t,[["__scopeId","data-v-46e8b737"]]);wx.createComponent(r);
