"use strict";const e=require("../../../../../../common/vendor.js");require("../../../../../adapter-vue.js");const s=require("../../../../../utils/env.js"),a=require("../../../emoji-config/index.js");Math||(i+n+r)();const n=()=>"../../../../common/Overlay/index.js",r=()=>"../../../../common/Drawer/index.js",i=()=>"../simple-message-list/index.js",t=e.defineComponent({__name:"index",props:{renderData:{},disabled:{type:Boolean,default:!1},messageItem:{default:()=>({})}},emits:["assignMessageIDInUniapp"],setup(n,{emit:r}){const i=r,t=n,o=e.ref(!1);function d(){t.disabled||(s.isUniFrameWork?i("assignMessageIDInUniapp",t.messageItem.ID):o.value=!0)}function m(){o.value=!1}return(n,r)=>e.e({a:e.t(t.renderData.title),b:e.f(t.renderData.abstractList.slice(0,7),((s,n,r)=>({a:e.t(e.unref(a.transformTextWithKeysToEmojiNames)(s)),b:n}))),c:e.t(e.unref(e.Wt).t("TUIChat.聊天记录")),d:e.o$1(d),e:!t.disabled&&e.unref(s.isPC)},!t.disabled&&e.unref(s.isPC)?{f:e.o$1(m),g:e.p({isMounted:e.unref(o),renderData:t.renderData,messageID:t.messageItem.ID}),h:e.o$1((e=>o.value=!1)),i:e.p({visible:e.unref(o)})}:t.disabled||!e.unref(s.isH5)||e.unref(s.isUniFrameWork)?{}:{k:e.o$1(m),l:e.p({isMounted:e.unref(o),renderData:t.renderData,messageID:t.messageItem.ID}),m:e.p({visible:e.unref(o),isFullScreen:!0,overlayColor:"transparent",popDirection:"right"})},{j:!t.disabled&&e.unref(s.isH5)&&!e.unref(s.isUniFrameWork)})}}),o=e._export_sfc(t,[["__scopeId","data-v-1a0f406f"]]);wx.createComponent(o);
