cnhis-design-vue 3.4.0-beta.72 → 3.4.0-beta.73
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 +136 -98
- package/es/components/iho-chat/src/Index.vue.d.ts +136 -98
- 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 +2 -4
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +4 -8
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +4 -8
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +21 -32
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +82 -21
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +28 -29
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +4 -8
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +2 -4
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +9 -8
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +2 -4
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +74 -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 +4 -8
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +4 -8
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +2 -4
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +2 -4
- package/es/components/iho-chat/src/components/Video.vue.d.ts +2 -4
- 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 +26 -10
- 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 +99 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +2 -4
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +2 -4
- 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
|
@@ -116,7 +116,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
116
|
}, {
|
|
117
117
|
default: withCtx(() => [loading.value ? (openBlock(), createBlock(unref(NSpin), {
|
|
118
118
|
key: 0,
|
|
119
|
-
|
|
119
|
+
style: {
|
|
120
|
+
"margin": "auto"
|
|
121
|
+
}
|
|
120
122
|
})) : (openBlock(), createElementBlock(Fragment, {
|
|
121
123
|
key: 1
|
|
122
124
|
}, [__props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(ChatSearch), createVNode(ChatAdd, {
|
|
@@ -130,8 +132,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
130
132
|
default: withCtx(() => [createVNode(SiderList), createVNode(unref(NLayoutContent), {
|
|
131
133
|
class: "chat-content",
|
|
132
134
|
style: normalizeStyle({
|
|
133
|
-
"--c-pointer-events": unref(isEnded) ? "none" : "unset",
|
|
134
|
-
"--c-cursor": unref(isEnded) ? "not-allowed" : "unset"
|
|
135
|
+
"--c-pointer-events": unref(isEnded) || unref(state).loading ? "none" : "unset",
|
|
136
|
+
"--c-cursor": unref(isEnded) || unref(state).loading ? "not-allowed" : "unset"
|
|
135
137
|
})
|
|
136
138
|
}, {
|
|
137
139
|
default: withCtx(() => [createVNode(ChatHeader, null, {
|
|
@@ -1,20 +1,93 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CHAT_TYPE, STATUS } from '../constants';
|
|
2
2
|
export declare const instanceAxios: import("axios").AxiosInstance;
|
|
3
|
-
export declare function openSessionApi(params:
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare function openSessionApi(params: {
|
|
4
|
+
chatType: CHAT_TYPE;
|
|
5
|
+
receiver: string;
|
|
6
|
+
sender: string;
|
|
7
|
+
}): import("axios").AxiosPromise<any>;
|
|
8
|
+
export declare function getHistoryRecordApi(params: {
|
|
9
|
+
sessionKey: string;
|
|
10
|
+
page: number;
|
|
11
|
+
lastSendTime: string;
|
|
12
|
+
}): import("axios").AxiosPromise<any>;
|
|
13
|
+
export declare function toppingSessionApi(params: {
|
|
14
|
+
id: string;
|
|
15
|
+
topping: boolean;
|
|
16
|
+
}): import("axios").AxiosPromise<any>;
|
|
6
17
|
export declare function uploadFileApi(params: FormData): import("axios").AxiosPromise<any>;
|
|
7
|
-
export declare function listUserApi(params:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
export declare function listUserApi(params: {
|
|
19
|
+
orgId: string;
|
|
20
|
+
keyword: string;
|
|
21
|
+
page: number;
|
|
22
|
+
pageSize: number;
|
|
23
|
+
}): import("axios").AxiosPromise<any>;
|
|
24
|
+
export declare function listPatientApi(params: {
|
|
25
|
+
orgId: string;
|
|
26
|
+
keyword: string;
|
|
27
|
+
page: number;
|
|
28
|
+
pageSize: number;
|
|
29
|
+
}): import("axios").AxiosPromise<any>;
|
|
30
|
+
export declare function getUserDetailApi(params: {
|
|
31
|
+
userId: string;
|
|
32
|
+
}): import("axios").AxiosPromise<any>;
|
|
33
|
+
export declare function readMessageApi(params: {
|
|
34
|
+
chatType: string;
|
|
35
|
+
messageIdSet: string[];
|
|
36
|
+
receiver: string;
|
|
37
|
+
sender: string;
|
|
38
|
+
}): import("axios").AxiosPromise<any>;
|
|
39
|
+
export declare function recallMessageApi(params: {
|
|
40
|
+
chatType: string;
|
|
41
|
+
messageIdSet: string[];
|
|
42
|
+
receiver: string;
|
|
43
|
+
sender: string;
|
|
44
|
+
isLastMessage: boolean;
|
|
45
|
+
}): import("axios").AxiosPromise<any>;
|
|
46
|
+
export declare function searchChatRecordApi(params: {
|
|
47
|
+
orgId: string;
|
|
48
|
+
keyword: string;
|
|
49
|
+
endTime: string;
|
|
50
|
+
startTime: string;
|
|
51
|
+
lastSendTime: string;
|
|
52
|
+
memberIdSet: string[];
|
|
53
|
+
page: number;
|
|
54
|
+
recordType: 'ALL' | 'IMAGE' | 'FILE';
|
|
55
|
+
receiver: string;
|
|
56
|
+
userId: string;
|
|
57
|
+
}): import("axios").AxiosPromise<any>;
|
|
58
|
+
export declare function groupCreateApi(params: {
|
|
59
|
+
creator: string;
|
|
60
|
+
memberIdSet: string[];
|
|
61
|
+
name: string;
|
|
62
|
+
orgId: string;
|
|
63
|
+
}): import("axios").AxiosPromise<any>;
|
|
64
|
+
export declare function groupUserApi(params: {
|
|
65
|
+
id: string;
|
|
66
|
+
}): import("axios").AxiosPromise<any>;
|
|
67
|
+
export declare function groupJoinApi(params: {
|
|
68
|
+
groupId: string;
|
|
69
|
+
operator: string;
|
|
70
|
+
memberIdSet: string[];
|
|
71
|
+
}): import("axios").AxiosPromise<any>;
|
|
72
|
+
export declare function groupLeaveApi(params: {
|
|
73
|
+
dissolution: boolean;
|
|
74
|
+
groupId: string;
|
|
75
|
+
operator: string;
|
|
76
|
+
memberIdSet: string[];
|
|
77
|
+
}): import("axios").AxiosPromise<any>;
|
|
78
|
+
export declare function avFinishApi(params: {
|
|
79
|
+
recordId: string;
|
|
80
|
+
status: string;
|
|
81
|
+
duration: number;
|
|
82
|
+
}): import("axios").AxiosPromise<any>;
|
|
18
83
|
export declare function groupUpdateApi(params: FormData): import("axios").AxiosPromise<any>;
|
|
19
|
-
export declare function updateStatusApi(params:
|
|
84
|
+
export declare function updateStatusApi(params: {
|
|
85
|
+
id: string;
|
|
86
|
+
status: STATUS;
|
|
87
|
+
}): import("axios").AxiosPromise<any>;
|
|
20
88
|
export declare function getOrgUserTreeApi(): import("axios").AxiosPromise<any>;
|
|
89
|
+
export declare function messageSummaryApi(params: {
|
|
90
|
+
id: string;
|
|
91
|
+
sender: string;
|
|
92
|
+
summaryMessage: string;
|
|
93
|
+
}): import("axios").AxiosPromise<any>;
|
|
@@ -170,5 +170,12 @@ function getOrgUserTreeApi() {
|
|
|
170
170
|
url: "/user/getOrgUserTree"
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
+
function messageSummaryApi(params) {
|
|
174
|
+
return instanceAxios({
|
|
175
|
+
method: "post",
|
|
176
|
+
url: "/group/messageSummary",
|
|
177
|
+
data: params
|
|
178
|
+
});
|
|
179
|
+
}
|
|
173
180
|
|
|
174
|
-
export { avFinishApi, getHistoryRecordApi, getOrgUserTreeApi, getUserDetailApi, groupCreateApi, groupJoinApi, groupLeaveApi, groupUpdateApi, groupUserApi, instanceAxios, listPatientApi, listUserApi, openSessionApi, readMessageApi, recallMessageApi, searchChatRecordApi, toppingSessionApi, updateStatusApi, uploadFileApi };
|
|
181
|
+
export { avFinishApi, getHistoryRecordApi, getOrgUserTreeApi, getUserDetailApi, groupCreateApi, groupJoinApi, groupLeaveApi, groupUpdateApi, groupUserApi, instanceAxios, listPatientApi, listUserApi, messageSummaryApi, openSessionApi, readMessageApi, recallMessageApi, searchChatRecordApi, toppingSessionApi, updateStatusApi, uploadFileApi };
|
|
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
61
61
|
}> & {}>;
|
|
62
62
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
63
63
|
state: {
|
|
64
|
-
orgId: string
|
|
64
|
+
orgId: string;
|
|
65
65
|
currentSessionItem: AnyObject;
|
|
66
66
|
id: string;
|
|
67
67
|
userInfo: AnyObject;
|
|
@@ -89,11 +89,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
89
89
|
__time?: string | undefined;
|
|
90
90
|
__sendTime?: string | undefined;
|
|
91
91
|
}[];
|
|
92
|
-
currentMsg: AnyObject;
|
|
93
|
-
isAppendMsg: boolean;
|
|
94
92
|
sessionList: AnyObject[];
|
|
95
93
|
isChangeSession: boolean;
|
|
96
|
-
updateSessionItem: AnyObject;
|
|
97
94
|
isUpdateSession: boolean;
|
|
98
95
|
currentReferenceMsg: AnyObject | null;
|
|
99
96
|
currentReEditMsg: AnyObject | null;
|
|
@@ -111,6 +108,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
108
|
info: AnyObject | null;
|
|
112
109
|
};
|
|
113
110
|
isForward: boolean;
|
|
111
|
+
loading: boolean;
|
|
114
112
|
};
|
|
115
113
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
116
114
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
}>> & Readonly<{}> & {}>;
|
|
23
23
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
24
24
|
state: {
|
|
25
|
-
orgId: string
|
|
25
|
+
orgId: string;
|
|
26
26
|
currentSessionItem: AnyObject;
|
|
27
27
|
id: string;
|
|
28
28
|
userInfo: AnyObject;
|
|
@@ -50,11 +50,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
50
50
|
__time?: string | undefined;
|
|
51
51
|
__sendTime?: string | undefined;
|
|
52
52
|
}[];
|
|
53
|
-
currentMsg: AnyObject;
|
|
54
|
-
isAppendMsg: boolean;
|
|
55
53
|
sessionList: AnyObject[];
|
|
56
54
|
isChangeSession: boolean;
|
|
57
|
-
updateSessionItem: AnyObject;
|
|
58
55
|
isUpdateSession: boolean;
|
|
59
56
|
currentReferenceMsg: AnyObject | null;
|
|
60
57
|
currentReEditMsg: AnyObject | null;
|
|
@@ -72,6 +69,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
69
|
info: AnyObject | null;
|
|
73
70
|
};
|
|
74
71
|
isForward: boolean;
|
|
72
|
+
loading: boolean;
|
|
75
73
|
};
|
|
76
74
|
relayMessage: (param: {
|
|
77
75
|
checkedIds: string[];
|
|
@@ -210,7 +208,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
208
|
}> & {}>;
|
|
211
209
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
212
210
|
state: {
|
|
213
|
-
orgId: string
|
|
211
|
+
orgId: string;
|
|
214
212
|
currentSessionItem: AnyObject;
|
|
215
213
|
id: string;
|
|
216
214
|
userInfo: AnyObject;
|
|
@@ -238,11 +236,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
238
236
|
__time?: string | undefined;
|
|
239
237
|
__sendTime?: string | undefined;
|
|
240
238
|
}[];
|
|
241
|
-
currentMsg: AnyObject;
|
|
242
|
-
isAppendMsg: boolean;
|
|
243
239
|
sessionList: AnyObject[];
|
|
244
240
|
isChangeSession: boolean;
|
|
245
|
-
updateSessionItem: AnyObject;
|
|
246
241
|
isUpdateSession: boolean;
|
|
247
242
|
currentReferenceMsg: AnyObject | null;
|
|
248
243
|
currentReEditMsg: AnyObject | null;
|
|
@@ -260,6 +255,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
260
255
|
info: AnyObject | null;
|
|
261
256
|
};
|
|
262
257
|
isForward: boolean;
|
|
258
|
+
loading: boolean;
|
|
263
259
|
};
|
|
264
260
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
265
261
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
SPACE_PLACEHOLDER: string;
|
|
8
8
|
inputRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
9
9
|
state: {
|
|
10
|
-
orgId: string
|
|
10
|
+
orgId: string;
|
|
11
11
|
currentSessionItem: AnyObject;
|
|
12
12
|
id: string;
|
|
13
13
|
userInfo: AnyObject;
|
|
@@ -35,11 +35,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
35
35
|
__time?: string | undefined;
|
|
36
36
|
__sendTime?: string | undefined;
|
|
37
37
|
}[];
|
|
38
|
-
currentMsg: AnyObject;
|
|
39
|
-
isAppendMsg: boolean;
|
|
40
38
|
sessionList: AnyObject[];
|
|
41
39
|
isChangeSession: boolean;
|
|
42
|
-
updateSessionItem: AnyObject;
|
|
43
40
|
isUpdateSession: boolean;
|
|
44
41
|
currentReferenceMsg: AnyObject | null;
|
|
45
42
|
currentReEditMsg: AnyObject | null;
|
|
@@ -57,6 +54,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
57
54
|
info: AnyObject | null;
|
|
58
55
|
};
|
|
59
56
|
isForward: boolean;
|
|
57
|
+
loading: boolean;
|
|
60
58
|
};
|
|
61
59
|
sendMessage: (message: {
|
|
62
60
|
chatType?: string | undefined;
|
|
@@ -171,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
171
169
|
}> & {}>;
|
|
172
170
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
173
171
|
state: {
|
|
174
|
-
orgId: string
|
|
172
|
+
orgId: string;
|
|
175
173
|
currentSessionItem: AnyObject;
|
|
176
174
|
id: string;
|
|
177
175
|
userInfo: AnyObject;
|
|
@@ -199,11 +197,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
199
197
|
__time?: string | undefined;
|
|
200
198
|
__sendTime?: string | undefined;
|
|
201
199
|
}[];
|
|
202
|
-
currentMsg: AnyObject;
|
|
203
|
-
isAppendMsg: boolean;
|
|
204
200
|
sessionList: AnyObject[];
|
|
205
201
|
isChangeSession: boolean;
|
|
206
|
-
updateSessionItem: AnyObject;
|
|
207
202
|
isUpdateSession: boolean;
|
|
208
203
|
currentReferenceMsg: AnyObject | null;
|
|
209
204
|
currentReEditMsg: AnyObject | null;
|
|
@@ -221,6 +216,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
221
216
|
info: AnyObject | null;
|
|
222
217
|
};
|
|
223
218
|
isForward: boolean;
|
|
219
|
+
loading: boolean;
|
|
224
220
|
};
|
|
225
221
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
226
222
|
listRef: Ref<any, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../shared/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
3
|
state: {
|
|
4
|
-
orgId: string
|
|
4
|
+
orgId: string;
|
|
5
5
|
currentSessionItem: AnyObject;
|
|
6
6
|
id: string;
|
|
7
7
|
userInfo: AnyObject;
|
|
@@ -29,11 +29,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
29
29
|
__time?: string | undefined;
|
|
30
30
|
__sendTime?: string | undefined;
|
|
31
31
|
}[];
|
|
32
|
-
currentMsg: AnyObject;
|
|
33
|
-
isAppendMsg: boolean;
|
|
34
32
|
sessionList: AnyObject[];
|
|
35
33
|
isChangeSession: boolean;
|
|
36
|
-
updateSessionItem: AnyObject;
|
|
37
34
|
isUpdateSession: boolean;
|
|
38
35
|
currentReferenceMsg: AnyObject | null;
|
|
39
36
|
currentReEditMsg: AnyObject | null;
|
|
@@ -51,6 +48,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
51
48
|
info: AnyObject | null;
|
|
52
49
|
};
|
|
53
50
|
isForward: boolean;
|
|
51
|
+
loading: boolean;
|
|
54
52
|
};
|
|
55
53
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
|
56
54
|
isGroupLeader: import("vue").ComputedRef<boolean>;
|
|
@@ -85,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
85
83
|
[x: string]: unknown;
|
|
86
84
|
};
|
|
87
85
|
state: {
|
|
88
|
-
orgId: string
|
|
86
|
+
orgId: string;
|
|
89
87
|
currentSessionItem: AnyObject;
|
|
90
88
|
id: string;
|
|
91
89
|
userInfo: AnyObject;
|
|
@@ -113,11 +111,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
113
111
|
__time?: string | undefined;
|
|
114
112
|
__sendTime?: string | undefined;
|
|
115
113
|
}[];
|
|
116
|
-
currentMsg: AnyObject;
|
|
117
|
-
isAppendMsg: boolean;
|
|
118
114
|
sessionList: AnyObject[];
|
|
119
115
|
isChangeSession: boolean;
|
|
120
|
-
updateSessionItem: AnyObject;
|
|
121
116
|
isUpdateSession: boolean;
|
|
122
117
|
currentReferenceMsg: AnyObject | null;
|
|
123
118
|
currentReEditMsg: AnyObject | null;
|
|
@@ -135,11 +130,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
135
130
|
info: AnyObject | null;
|
|
136
131
|
};
|
|
137
132
|
isForward: boolean;
|
|
133
|
+
loading: boolean;
|
|
138
134
|
};
|
|
139
135
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
140
136
|
setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
|
|
141
137
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
|
142
138
|
isGroupLeader: import("vue").ComputedRef<boolean>;
|
|
139
|
+
handleStreamOutput: () => Promise<{
|
|
140
|
+
msgId: string;
|
|
141
|
+
content: string;
|
|
142
|
+
} | undefined>;
|
|
143
143
|
inputRef: import("vue").Ref<any, any>;
|
|
144
144
|
groupNameEditing: import("vue").Ref<boolean, boolean>;
|
|
145
145
|
groupName: import("vue").Ref<string, string>;
|
|
@@ -149,6 +149,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
149
149
|
handleTopping: (value: boolean) => Promise<void>;
|
|
150
150
|
handleLeaveGroup: (dissolution: boolean) => Promise<void>;
|
|
151
151
|
handleToEdit: () => Promise<void>;
|
|
152
|
+
handleGroupSummary: () => Promise<import("naive-ui/es/message").MessageReactive | undefined>;
|
|
152
153
|
submitFormData: (o: AnyObject) => Promise<void>;
|
|
153
154
|
handleGroupName: () => Promise<void>;
|
|
154
155
|
handleAvatar: (options: import("../types").FileOptions) => Promise<void>;
|
|
@@ -229,7 +230,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
229
230
|
}> & {}>;
|
|
230
231
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
231
232
|
state: {
|
|
232
|
-
orgId: string
|
|
233
|
+
orgId: string;
|
|
233
234
|
currentSessionItem: AnyObject;
|
|
234
235
|
id: string;
|
|
235
236
|
userInfo: AnyObject;
|
|
@@ -257,11 +258,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
257
258
|
__time?: string | undefined;
|
|
258
259
|
__sendTime?: string | undefined;
|
|
259
260
|
}[];
|
|
260
|
-
currentMsg: AnyObject;
|
|
261
|
-
isAppendMsg: boolean;
|
|
262
261
|
sessionList: AnyObject[];
|
|
263
262
|
isChangeSession: boolean;
|
|
264
|
-
updateSessionItem: AnyObject;
|
|
265
263
|
isUpdateSession: boolean;
|
|
266
264
|
currentReferenceMsg: AnyObject | null;
|
|
267
265
|
currentReEditMsg: AnyObject | null;
|
|
@@ -279,6 +277,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
279
277
|
info: AnyObject | null;
|
|
280
278
|
};
|
|
281
279
|
isForward: boolean;
|
|
280
|
+
loading: boolean;
|
|
282
281
|
};
|
|
283
282
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
284
283
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -409,7 +408,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
409
408
|
}>> & Readonly<{}> & {}>;
|
|
410
409
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
411
410
|
state: {
|
|
412
|
-
orgId: string
|
|
411
|
+
orgId: string;
|
|
413
412
|
currentSessionItem: AnyObject;
|
|
414
413
|
id: string;
|
|
415
414
|
userInfo: AnyObject;
|
|
@@ -437,11 +436,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
437
436
|
__time?: string | undefined;
|
|
438
437
|
__sendTime?: string | undefined;
|
|
439
438
|
}[];
|
|
440
|
-
currentMsg: AnyObject;
|
|
441
|
-
isAppendMsg: boolean;
|
|
442
439
|
sessionList: AnyObject[];
|
|
443
440
|
isChangeSession: boolean;
|
|
444
|
-
updateSessionItem: AnyObject;
|
|
445
441
|
isUpdateSession: boolean;
|
|
446
442
|
currentReferenceMsg: AnyObject | null;
|
|
447
443
|
currentReEditMsg: AnyObject | null;
|
|
@@ -459,6 +455,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
459
455
|
info: AnyObject | null;
|
|
460
456
|
};
|
|
461
457
|
isForward: boolean;
|
|
458
|
+
loading: boolean;
|
|
462
459
|
};
|
|
463
460
|
relayMessage: (param: {
|
|
464
461
|
checkedIds: string[];
|
|
@@ -597,7 +594,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
597
594
|
}> & {}>;
|
|
598
595
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
599
596
|
state: {
|
|
600
|
-
orgId: string
|
|
597
|
+
orgId: string;
|
|
601
598
|
currentSessionItem: AnyObject;
|
|
602
599
|
id: string;
|
|
603
600
|
userInfo: AnyObject;
|
|
@@ -625,11 +622,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
625
622
|
__time?: string | undefined;
|
|
626
623
|
__sendTime?: string | undefined;
|
|
627
624
|
}[];
|
|
628
|
-
currentMsg: AnyObject;
|
|
629
|
-
isAppendMsg: boolean;
|
|
630
625
|
sessionList: AnyObject[];
|
|
631
626
|
isChangeSession: boolean;
|
|
632
|
-
updateSessionItem: AnyObject;
|
|
633
627
|
isUpdateSession: boolean;
|
|
634
628
|
currentReferenceMsg: AnyObject | null;
|
|
635
629
|
currentReEditMsg: AnyObject | null;
|
|
@@ -647,6 +641,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
647
641
|
info: AnyObject | null;
|
|
648
642
|
};
|
|
649
643
|
isForward: boolean;
|
|
644
|
+
loading: boolean;
|
|
650
645
|
};
|
|
651
646
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
652
647
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -900,7 +895,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
900
895
|
};
|
|
901
896
|
}>> & Readonly<{}> & {}>;
|
|
902
897
|
state: {
|
|
903
|
-
orgId: string
|
|
898
|
+
orgId: string;
|
|
904
899
|
currentSessionItem: AnyObject;
|
|
905
900
|
id: string;
|
|
906
901
|
userInfo: AnyObject;
|
|
@@ -928,11 +923,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
928
923
|
__time?: string | undefined;
|
|
929
924
|
__sendTime?: string | undefined;
|
|
930
925
|
}[];
|
|
931
|
-
currentMsg: AnyObject;
|
|
932
|
-
isAppendMsg: boolean;
|
|
933
926
|
sessionList: AnyObject[];
|
|
934
927
|
isChangeSession: boolean;
|
|
935
|
-
updateSessionItem: AnyObject;
|
|
936
928
|
isUpdateSession: boolean;
|
|
937
929
|
currentReferenceMsg: AnyObject | null;
|
|
938
930
|
currentReEditMsg: AnyObject | null;
|
|
@@ -950,6 +942,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
950
942
|
info: AnyObject | null;
|
|
951
943
|
};
|
|
952
944
|
isForward: boolean;
|
|
945
|
+
loading: boolean;
|
|
953
946
|
};
|
|
954
947
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
955
948
|
recordRef: import("vue").Ref<any, any>;
|
|
@@ -1184,7 +1177,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1184
1177
|
};
|
|
1185
1178
|
}>> & Readonly<{}> & {}>;
|
|
1186
1179
|
state: {
|
|
1187
|
-
orgId: string
|
|
1180
|
+
orgId: string;
|
|
1188
1181
|
currentSessionItem: AnyObject;
|
|
1189
1182
|
id: string;
|
|
1190
1183
|
userInfo: AnyObject;
|
|
@@ -1212,11 +1205,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1212
1205
|
__time?: string | undefined;
|
|
1213
1206
|
__sendTime?: string | undefined;
|
|
1214
1207
|
}[];
|
|
1215
|
-
currentMsg: AnyObject;
|
|
1216
|
-
isAppendMsg: boolean;
|
|
1217
1208
|
sessionList: AnyObject[];
|
|
1218
1209
|
isChangeSession: boolean;
|
|
1219
|
-
updateSessionItem: AnyObject;
|
|
1220
1210
|
isUpdateSession: boolean;
|
|
1221
1211
|
currentReferenceMsg: AnyObject | null;
|
|
1222
1212
|
currentReEditMsg: AnyObject | null;
|
|
@@ -1234,6 +1224,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1234
1224
|
info: AnyObject | null;
|
|
1235
1225
|
};
|
|
1236
1226
|
isForward: boolean;
|
|
1227
|
+
loading: boolean;
|
|
1237
1228
|
};
|
|
1238
1229
|
setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
|
|
1239
1230
|
inviter: import("vue").Ref<any, any>;
|
|
@@ -1315,7 +1306,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1315
1306
|
}> & {}>;
|
|
1316
1307
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
1317
1308
|
state: {
|
|
1318
|
-
orgId: string
|
|
1309
|
+
orgId: string;
|
|
1319
1310
|
currentSessionItem: AnyObject;
|
|
1320
1311
|
id: string;
|
|
1321
1312
|
userInfo: AnyObject;
|
|
@@ -1343,11 +1334,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1343
1334
|
__time?: string | undefined;
|
|
1344
1335
|
__sendTime?: string | undefined;
|
|
1345
1336
|
}[];
|
|
1346
|
-
currentMsg: AnyObject;
|
|
1347
|
-
isAppendMsg: boolean;
|
|
1348
1337
|
sessionList: AnyObject[];
|
|
1349
1338
|
isChangeSession: boolean;
|
|
1350
|
-
updateSessionItem: AnyObject;
|
|
1351
1339
|
isUpdateSession: boolean;
|
|
1352
1340
|
currentReferenceMsg: AnyObject | null;
|
|
1353
1341
|
currentReEditMsg: AnyObject | null;
|
|
@@ -1365,6 +1353,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1365
1353
|
info: AnyObject | null;
|
|
1366
1354
|
};
|
|
1367
1355
|
isForward: boolean;
|
|
1356
|
+
loading: boolean;
|
|
1368
1357
|
};
|
|
1369
1358
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
1370
1359
|
listRef: import("vue").Ref<any, any>;
|