"use strict";const e=require("../../../common/vendor.js"),s={allMessage:{key:"allMessage",label:"全部",value:[e.qt.TYPES.MSG_TEXT,e.qt.TYPES.MSG_FILE,e.qt.TYPES.MSG_IMAGE,e.qt.TYPES.MSG_VIDEO,e.qt.TYPES.MSG_AUDIO,e.qt.TYPES.MSG_LOCATION,e.qt.TYPES.MSG_CUSTOM,e.qt.TYPES.MSG_MERGER]},textMessage:{key:"textMessage",label:"文本",value:[e.qt.TYPES.MSG_TEXT]},fileMessage:{key:"fileMessage",label:"文件",value:[e.qt.TYPES.MSG_FILE]},imageMessage:{key:"imageMessage",label:"图片/视频",value:[e.qt.TYPES.MSG_IMAGE,e.qt.TYPES.MSG_VIDEO]},otherMessage:{key:"otherMessage",label:"其他",value:[e.qt.TYPES.MSG_AUDIO,e.qt.TYPES.MSG_LOCATION,e.qt.TYPES.MSG_CUSTOM,e.qt.TYPES.MSG_MERGER]}};Object.keys(s).filter((e=>"all"!==e));const t={global:s.allMessage,conversation:s.textMessage},a=["allMessage","textMessage","fileMessage","otherMessage"],M=Object.keys(s).filter((e=>null==a?void 0:a.includes(e))).reduce(((e,t)=>(e[t]=s[t],e)),{}),l=["textMessage","fileMessage","imageMessage","otherMessage"],S=Object.keys(s).filter((e=>null==l?void 0:l.includes(e))).reduce(((e,t)=>(e[t]=s[t],e)),{});exports.conversationSearchTypeList=S,exports.globalSearchTypeList=M,exports.searchMessageTypeDefault=t,exports.searchMessageTypeList=s;
