cnhis-design-vue 3.4.0-beta.72 → 3.4.0-beta.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/iho-chat/index.d.ts +2732 -332
- package/es/components/iho-chat/src/Index.vue.d.ts +2732 -332
- package/es/components/iho-chat/src/Index.vue2.js +5 -3
- package/es/components/iho-chat/src/api/index.d.ts +89 -16
- package/es/components/iho-chat/src/api/index.js +8 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +755 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +610 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +28 -29
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +157 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +41 -0
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +93 -11
- package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
- package/es/components/iho-chat/src/components/userItemRender.js +2 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
- package/es/components/iho-chat/src/hooks/useData.js +30 -9
- package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +39 -7
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
- package/es/components/iho-chat/src/utils/sseClient.js +97 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AnyObject } from '../../../../shared/types';
|
|
3
|
+
import markdownIt from 'markdown-it';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
data: {
|
|
6
|
+
type: PropType<AnyObject>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}>, {
|
|
10
|
+
mdhtml: markdownIt;
|
|
11
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
data: {
|
|
13
|
+
type: PropType<AnyObject>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}> & {}>;
|
|
17
|
+
state: {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
orgId: string;
|
|
20
|
+
currentSessionItem: {
|
|
21
|
+
id: string;
|
|
22
|
+
sessionKey: string;
|
|
23
|
+
receiver: string;
|
|
24
|
+
createdTime: string;
|
|
25
|
+
avatar: string;
|
|
26
|
+
name: string;
|
|
27
|
+
defaultName: string;
|
|
28
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
29
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
30
|
+
status: import("../constants").STATUS;
|
|
31
|
+
sortTime: string;
|
|
32
|
+
topping: boolean;
|
|
33
|
+
unreadNum: number;
|
|
34
|
+
updatedTime: string;
|
|
35
|
+
lastMessageContent: string;
|
|
36
|
+
sender?: string | undefined;
|
|
37
|
+
lastMessageId?: string | undefined;
|
|
38
|
+
lastMessage?: {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
41
|
+
msg: string;
|
|
42
|
+
referenceContent?: any;
|
|
43
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
44
|
+
messageTemplate?: any;
|
|
45
|
+
messageTemplateData?: any;
|
|
46
|
+
fileUrl?: string | undefined;
|
|
47
|
+
avStatus?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
lastMessageSendTime?: string | undefined;
|
|
50
|
+
lastMessageStatus?: string | undefined;
|
|
51
|
+
lastSenderName?: string | undefined;
|
|
52
|
+
businessInfo?: {
|
|
53
|
+
uiSetting?: AnyObject | undefined;
|
|
54
|
+
topicInfo?: {
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
param?: AnyObject | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
labelList?: AnyObject[] | undefined;
|
|
60
|
+
notDisturb: boolean;
|
|
61
|
+
};
|
|
62
|
+
id: string;
|
|
63
|
+
userInfo: AnyObject;
|
|
64
|
+
msgList: {
|
|
65
|
+
[x: string]: any;
|
|
66
|
+
id: string;
|
|
67
|
+
sessionKey: string;
|
|
68
|
+
content: {
|
|
69
|
+
[x: string]: any;
|
|
70
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
71
|
+
msg: string;
|
|
72
|
+
referenceContent?: any;
|
|
73
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
74
|
+
messageTemplate?: any;
|
|
75
|
+
messageTemplateData?: any;
|
|
76
|
+
fileUrl?: string | undefined;
|
|
77
|
+
avStatus?: string | undefined;
|
|
78
|
+
};
|
|
79
|
+
senderName: string;
|
|
80
|
+
sendTime: string;
|
|
81
|
+
sender: string;
|
|
82
|
+
status: string;
|
|
83
|
+
senderAvatar: string;
|
|
84
|
+
__content: string;
|
|
85
|
+
__time?: string | undefined;
|
|
86
|
+
__sendTime?: string | undefined;
|
|
87
|
+
}[];
|
|
88
|
+
sessionList: {
|
|
89
|
+
id: string;
|
|
90
|
+
sessionKey: string;
|
|
91
|
+
receiver: string;
|
|
92
|
+
createdTime: string;
|
|
93
|
+
avatar: string;
|
|
94
|
+
name: string;
|
|
95
|
+
defaultName: string;
|
|
96
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
97
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
98
|
+
status: import("../constants").STATUS;
|
|
99
|
+
sortTime: string;
|
|
100
|
+
topping: boolean;
|
|
101
|
+
unreadNum: number;
|
|
102
|
+
updatedTime: string;
|
|
103
|
+
lastMessageContent: string;
|
|
104
|
+
sender?: string | undefined;
|
|
105
|
+
lastMessageId?: string | undefined;
|
|
106
|
+
lastMessage?: {
|
|
107
|
+
[x: string]: any;
|
|
108
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
109
|
+
msg: string;
|
|
110
|
+
referenceContent?: any;
|
|
111
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
112
|
+
messageTemplate?: any;
|
|
113
|
+
messageTemplateData?: any;
|
|
114
|
+
fileUrl?: string | undefined;
|
|
115
|
+
avStatus?: string | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
lastMessageSendTime?: string | undefined;
|
|
118
|
+
lastMessageStatus?: string | undefined;
|
|
119
|
+
lastSenderName?: string | undefined;
|
|
120
|
+
businessInfo?: {
|
|
121
|
+
uiSetting?: AnyObject | undefined;
|
|
122
|
+
topicInfo?: {
|
|
123
|
+
[x: string]: any;
|
|
124
|
+
param?: AnyObject | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
labelList?: AnyObject[] | undefined;
|
|
128
|
+
notDisturb: boolean;
|
|
129
|
+
}[];
|
|
130
|
+
isChangeSession: boolean;
|
|
131
|
+
isUpdateSession: boolean;
|
|
132
|
+
currentReferenceMsg: AnyObject | null;
|
|
133
|
+
currentReEditMsg: AnyObject | null;
|
|
134
|
+
showVideo: boolean;
|
|
135
|
+
currentAVMsg: AnyObject;
|
|
136
|
+
currentGroupUser: AnyObject[];
|
|
137
|
+
showMultipleVideo: boolean;
|
|
138
|
+
userDetail: {
|
|
139
|
+
show: boolean;
|
|
140
|
+
position: {
|
|
141
|
+
x: number;
|
|
142
|
+
y: number;
|
|
143
|
+
};
|
|
144
|
+
userId: string;
|
|
145
|
+
info: AnyObject | null;
|
|
146
|
+
};
|
|
147
|
+
isForward: boolean;
|
|
148
|
+
loading: boolean;
|
|
149
|
+
};
|
|
150
|
+
content: import("vue").ComputedRef<string>;
|
|
151
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
152
|
+
data: {
|
|
153
|
+
type: PropType<AnyObject>;
|
|
154
|
+
required: true;
|
|
155
|
+
};
|
|
156
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
157
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import _sfc_main from './MessageMarkdown.vue2.js';
|
|
2
|
+
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.js';
|
|
3
|
+
|
|
4
|
+
var MessageMarkdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "MessageMarkdown.vue"]]);
|
|
5
|
+
|
|
6
|
+
export { MessageMarkdown as default };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
2
|
+
import { useData } from '../hooks/useData.js';
|
|
3
|
+
import 'stompjs';
|
|
4
|
+
import 'sockjs-client/dist/sockjs.min.js';
|
|
5
|
+
import '../api/index.js';
|
|
6
|
+
import '../utils/index.js';
|
|
7
|
+
import 'lodash-es';
|
|
8
|
+
import 'trtc-sdk-v5';
|
|
9
|
+
import markdownIt from 'markdown-it';
|
|
10
|
+
|
|
11
|
+
const _hoisted_1 = { class: "markdown-wrapper" };
|
|
12
|
+
const _hoisted_2 = ["data-time", "innerHTML"];
|
|
13
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
__name: "MessageMarkdown",
|
|
15
|
+
props: {
|
|
16
|
+
data: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(__props) {
|
|
22
|
+
const mdhtml = markdownIt({ html: true });
|
|
23
|
+
const props = __props;
|
|
24
|
+
useData();
|
|
25
|
+
const content = computed(() => {
|
|
26
|
+
var _a;
|
|
27
|
+
return mdhtml.render(((_a = props.data.content) == null ? void 0 : _a.msg) || "");
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
31
|
+
createElementVNode("div", {
|
|
32
|
+
class: "markdown-content",
|
|
33
|
+
"data-time": __props.data.__time,
|
|
34
|
+
innerHTML: content.value
|
|
35
|
+
}, null, 8, _hoisted_2)
|
|
36
|
+
]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export { _sfc_main as default };
|
|
@@ -13,8 +13,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}> & {}>;
|
|
15
15
|
state: {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
orgId: string;
|
|
18
|
+
currentSessionItem: {
|
|
19
|
+
id: string;
|
|
20
|
+
sessionKey: string;
|
|
21
|
+
receiver: string;
|
|
22
|
+
createdTime: string;
|
|
23
|
+
avatar: string;
|
|
24
|
+
name: string;
|
|
25
|
+
defaultName: string;
|
|
26
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
27
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
28
|
+
status: import("../constants").STATUS;
|
|
29
|
+
sortTime: string;
|
|
30
|
+
topping: boolean;
|
|
31
|
+
unreadNum: number;
|
|
32
|
+
updatedTime: string;
|
|
33
|
+
lastMessageContent: string;
|
|
34
|
+
sender?: string | undefined;
|
|
35
|
+
lastMessageId?: string | undefined;
|
|
36
|
+
lastMessage?: {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
chatMessageType: MESSAGE_TYPE;
|
|
39
|
+
msg: string;
|
|
40
|
+
referenceContent?: any;
|
|
41
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
42
|
+
messageTemplate?: any;
|
|
43
|
+
messageTemplateData?: any;
|
|
44
|
+
fileUrl?: string | undefined;
|
|
45
|
+
avStatus?: string | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
lastMessageSendTime?: string | undefined;
|
|
48
|
+
lastMessageStatus?: string | undefined;
|
|
49
|
+
lastSenderName?: string | undefined;
|
|
50
|
+
businessInfo?: {
|
|
51
|
+
uiSetting?: AnyObject | undefined;
|
|
52
|
+
topicInfo?: {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
param?: AnyObject | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
labelList?: AnyObject[] | undefined;
|
|
58
|
+
notDisturb: boolean;
|
|
59
|
+
};
|
|
18
60
|
id: string;
|
|
19
61
|
userInfo: AnyObject;
|
|
20
62
|
msgList: {
|
|
@@ -23,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
65
|
sessionKey: string;
|
|
24
66
|
content: {
|
|
25
67
|
[x: string]: any;
|
|
26
|
-
chatMessageType:
|
|
68
|
+
chatMessageType: MESSAGE_TYPE;
|
|
27
69
|
msg: string;
|
|
28
70
|
referenceContent?: any;
|
|
29
71
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -41,11 +83,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
83
|
__time?: string | undefined;
|
|
42
84
|
__sendTime?: string | undefined;
|
|
43
85
|
}[];
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
86
|
+
sessionList: {
|
|
87
|
+
id: string;
|
|
88
|
+
sessionKey: string;
|
|
89
|
+
receiver: string;
|
|
90
|
+
createdTime: string;
|
|
91
|
+
avatar: string;
|
|
92
|
+
name: string;
|
|
93
|
+
defaultName: string;
|
|
94
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
95
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
96
|
+
status: import("../constants").STATUS;
|
|
97
|
+
sortTime: string;
|
|
98
|
+
topping: boolean;
|
|
99
|
+
unreadNum: number;
|
|
100
|
+
updatedTime: string;
|
|
101
|
+
lastMessageContent: string;
|
|
102
|
+
sender?: string | undefined;
|
|
103
|
+
lastMessageId?: string | undefined;
|
|
104
|
+
lastMessage?: {
|
|
105
|
+
[x: string]: any;
|
|
106
|
+
chatMessageType: MESSAGE_TYPE;
|
|
107
|
+
msg: string;
|
|
108
|
+
referenceContent?: any;
|
|
109
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
110
|
+
messageTemplate?: any;
|
|
111
|
+
messageTemplateData?: any;
|
|
112
|
+
fileUrl?: string | undefined;
|
|
113
|
+
avStatus?: string | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
lastMessageSendTime?: string | undefined;
|
|
116
|
+
lastMessageStatus?: string | undefined;
|
|
117
|
+
lastSenderName?: string | undefined;
|
|
118
|
+
businessInfo?: {
|
|
119
|
+
uiSetting?: AnyObject | undefined;
|
|
120
|
+
topicInfo?: {
|
|
121
|
+
[x: string]: any;
|
|
122
|
+
param?: AnyObject | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
labelList?: AnyObject[] | undefined;
|
|
126
|
+
notDisturb: boolean;
|
|
127
|
+
}[];
|
|
47
128
|
isChangeSession: boolean;
|
|
48
|
-
updateSessionItem: AnyObject;
|
|
49
129
|
isUpdateSession: boolean;
|
|
50
130
|
currentReferenceMsg: AnyObject | null;
|
|
51
131
|
currentReEditMsg: AnyObject | null;
|
|
@@ -63,6 +143,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
143
|
info: AnyObject | null;
|
|
64
144
|
};
|
|
65
145
|
isForward: boolean;
|
|
146
|
+
loading: boolean;
|
|
66
147
|
};
|
|
67
148
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
68
149
|
msgItem: import("vue").ComputedRef<AnyObject | MsgListItem>;
|
|
@@ -101,8 +182,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
182
|
};
|
|
102
183
|
}>> & Readonly<{}> & {}>;
|
|
103
184
|
state: {
|
|
104
|
-
|
|
105
|
-
|
|
185
|
+
[x: string]: any;
|
|
186
|
+
orgId: string;
|
|
187
|
+
currentSessionItem: {
|
|
188
|
+
id: string;
|
|
189
|
+
sessionKey: string;
|
|
190
|
+
receiver: string;
|
|
191
|
+
createdTime: string;
|
|
192
|
+
avatar: string;
|
|
193
|
+
name: string;
|
|
194
|
+
defaultName: string;
|
|
195
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
196
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
197
|
+
status: import("../constants").STATUS;
|
|
198
|
+
sortTime: string;
|
|
199
|
+
topping: boolean;
|
|
200
|
+
unreadNum: number;
|
|
201
|
+
updatedTime: string;
|
|
202
|
+
lastMessageContent: string;
|
|
203
|
+
sender?: string | undefined;
|
|
204
|
+
lastMessageId?: string | undefined;
|
|
205
|
+
lastMessage?: {
|
|
206
|
+
[x: string]: any;
|
|
207
|
+
chatMessageType: MESSAGE_TYPE;
|
|
208
|
+
msg: string;
|
|
209
|
+
referenceContent?: any;
|
|
210
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
211
|
+
messageTemplate?: any;
|
|
212
|
+
messageTemplateData?: any;
|
|
213
|
+
fileUrl?: string | undefined;
|
|
214
|
+
avStatus?: string | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
lastMessageSendTime?: string | undefined;
|
|
217
|
+
lastMessageStatus?: string | undefined;
|
|
218
|
+
lastSenderName?: string | undefined;
|
|
219
|
+
businessInfo?: {
|
|
220
|
+
uiSetting?: AnyObject | undefined;
|
|
221
|
+
topicInfo?: {
|
|
222
|
+
[x: string]: any;
|
|
223
|
+
param?: AnyObject | undefined;
|
|
224
|
+
} | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
labelList?: AnyObject[] | undefined;
|
|
227
|
+
notDisturb: boolean;
|
|
228
|
+
};
|
|
106
229
|
id: string;
|
|
107
230
|
userInfo: AnyObject;
|
|
108
231
|
msgList: {
|
|
@@ -111,7 +234,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
234
|
sessionKey: string;
|
|
112
235
|
content: {
|
|
113
236
|
[x: string]: any;
|
|
114
|
-
chatMessageType:
|
|
237
|
+
chatMessageType: MESSAGE_TYPE;
|
|
115
238
|
msg: string;
|
|
116
239
|
referenceContent?: any;
|
|
117
240
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -129,11 +252,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
252
|
__time?: string | undefined;
|
|
130
253
|
__sendTime?: string | undefined;
|
|
131
254
|
}[];
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
255
|
+
sessionList: {
|
|
256
|
+
id: string;
|
|
257
|
+
sessionKey: string;
|
|
258
|
+
receiver: string;
|
|
259
|
+
createdTime: string;
|
|
260
|
+
avatar: string;
|
|
261
|
+
name: string;
|
|
262
|
+
defaultName: string;
|
|
263
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
264
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
265
|
+
status: import("../constants").STATUS;
|
|
266
|
+
sortTime: string;
|
|
267
|
+
topping: boolean;
|
|
268
|
+
unreadNum: number;
|
|
269
|
+
updatedTime: string;
|
|
270
|
+
lastMessageContent: string;
|
|
271
|
+
sender?: string | undefined;
|
|
272
|
+
lastMessageId?: string | undefined;
|
|
273
|
+
lastMessage?: {
|
|
274
|
+
[x: string]: any;
|
|
275
|
+
chatMessageType: MESSAGE_TYPE;
|
|
276
|
+
msg: string;
|
|
277
|
+
referenceContent?: any;
|
|
278
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
279
|
+
messageTemplate?: any;
|
|
280
|
+
messageTemplateData?: any;
|
|
281
|
+
fileUrl?: string | undefined;
|
|
282
|
+
avStatus?: string | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
lastMessageSendTime?: string | undefined;
|
|
285
|
+
lastMessageStatus?: string | undefined;
|
|
286
|
+
lastSenderName?: string | undefined;
|
|
287
|
+
businessInfo?: {
|
|
288
|
+
uiSetting?: AnyObject | undefined;
|
|
289
|
+
topicInfo?: {
|
|
290
|
+
[x: string]: any;
|
|
291
|
+
param?: AnyObject | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
} | undefined;
|
|
294
|
+
labelList?: AnyObject[] | undefined;
|
|
295
|
+
notDisturb: boolean;
|
|
296
|
+
}[];
|
|
135
297
|
isChangeSession: boolean;
|
|
136
|
-
updateSessionItem: AnyObject;
|
|
137
298
|
isUpdateSession: boolean;
|
|
138
299
|
currentReferenceMsg: AnyObject | null;
|
|
139
300
|
currentReEditMsg: AnyObject | null;
|
|
@@ -151,6 +312,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
312
|
info: AnyObject | null;
|
|
152
313
|
};
|
|
153
314
|
isForward: boolean;
|
|
315
|
+
loading: boolean;
|
|
154
316
|
};
|
|
155
317
|
setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
|
|
156
318
|
inviter: import("vue").Ref<any, any>;
|