cnhis-design-vue 3.4.0-beta.73 → 3.4.0-beta.75
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/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/iho-chat/index.d.ts +2561 -199
- package/es/components/iho-chat/src/Index.vue.d.ts +2561 -199
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +102 -18
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +187 -21
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +187 -21
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +734 -69
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +531 -33
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +172 -6
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +173 -6
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +188 -21
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +86 -3
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +86 -3
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +172 -6
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +188 -21
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +89 -4
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +91 -7
- package/es/components/iho-chat/src/components/Video.vue.d.ts +87 -4
- package/es/components/iho-chat/src/hooks/useData.d.ts +350 -19
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +2 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +87 -3
- package/es/components/iho-chat/src/types/index.d.ts +37 -3
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import { CSSProperties } from 'vue';
|
|
|
2
2
|
import { AnyObject } from '../../../../shared/types';
|
|
3
3
|
import { formatTime, isDoctorRole, getRoleName } from '../utils';
|
|
4
4
|
import { STATUS } from '../constants';
|
|
5
|
+
import { SessionItem } from '../types';
|
|
5
6
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
6
7
|
filterKey: {
|
|
7
8
|
all: string;
|
|
@@ -34,8 +35,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
34
35
|
filterList: import("vue").Ref<AnyObject[], AnyObject[]>;
|
|
35
36
|
handleInput: () => void;
|
|
36
37
|
state: {
|
|
38
|
+
[x: string]: any;
|
|
37
39
|
orgId: string;
|
|
38
|
-
currentSessionItem:
|
|
40
|
+
currentSessionItem: {
|
|
41
|
+
id: string;
|
|
42
|
+
sessionKey: string;
|
|
43
|
+
receiver: string;
|
|
44
|
+
createdTime: string;
|
|
45
|
+
avatar: string;
|
|
46
|
+
name: string;
|
|
47
|
+
defaultName: string;
|
|
48
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
49
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
50
|
+
status: STATUS;
|
|
51
|
+
sortTime: string;
|
|
52
|
+
topping: boolean;
|
|
53
|
+
unreadNum: number;
|
|
54
|
+
updatedTime: string;
|
|
55
|
+
lastMessageContent: string;
|
|
56
|
+
sender?: string | undefined;
|
|
57
|
+
lastMessageId?: string | undefined;
|
|
58
|
+
lastMessage?: {
|
|
59
|
+
[x: string]: any;
|
|
60
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
61
|
+
msg: string;
|
|
62
|
+
referenceContent?: any;
|
|
63
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
64
|
+
messageTemplate?: any;
|
|
65
|
+
messageTemplateData?: any;
|
|
66
|
+
fileUrl?: string | undefined;
|
|
67
|
+
avStatus?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
lastMessageSendTime?: string | undefined;
|
|
70
|
+
lastMessageStatus?: string | undefined;
|
|
71
|
+
lastSenderName?: string | undefined;
|
|
72
|
+
businessInfo?: {
|
|
73
|
+
uiSetting?: AnyObject | undefined;
|
|
74
|
+
topicInfo?: {
|
|
75
|
+
[x: string]: any;
|
|
76
|
+
param?: AnyObject | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
labelList?: AnyObject[] | undefined;
|
|
80
|
+
notDisturb: boolean;
|
|
81
|
+
};
|
|
39
82
|
id: string;
|
|
40
83
|
userInfo: AnyObject;
|
|
41
84
|
msgList: {
|
|
@@ -44,7 +87,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
44
87
|
sessionKey: string;
|
|
45
88
|
content: {
|
|
46
89
|
[x: string]: any;
|
|
47
|
-
chatMessageType:
|
|
90
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
48
91
|
msg: string;
|
|
49
92
|
referenceContent?: any;
|
|
50
93
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -62,7 +105,48 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
62
105
|
__time?: string | undefined;
|
|
63
106
|
__sendTime?: string | undefined;
|
|
64
107
|
}[];
|
|
65
|
-
sessionList:
|
|
108
|
+
sessionList: {
|
|
109
|
+
id: string;
|
|
110
|
+
sessionKey: string;
|
|
111
|
+
receiver: string;
|
|
112
|
+
createdTime: string;
|
|
113
|
+
avatar: string;
|
|
114
|
+
name: string;
|
|
115
|
+
defaultName: string;
|
|
116
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
117
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
118
|
+
status: STATUS;
|
|
119
|
+
sortTime: string;
|
|
120
|
+
topping: boolean;
|
|
121
|
+
unreadNum: number;
|
|
122
|
+
updatedTime: string;
|
|
123
|
+
lastMessageContent: string;
|
|
124
|
+
sender?: string | undefined;
|
|
125
|
+
lastMessageId?: string | undefined;
|
|
126
|
+
lastMessage?: {
|
|
127
|
+
[x: string]: any;
|
|
128
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
129
|
+
msg: string;
|
|
130
|
+
referenceContent?: any;
|
|
131
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
132
|
+
messageTemplate?: any;
|
|
133
|
+
messageTemplateData?: any;
|
|
134
|
+
fileUrl?: string | undefined;
|
|
135
|
+
avStatus?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
lastMessageSendTime?: string | undefined;
|
|
138
|
+
lastMessageStatus?: string | undefined;
|
|
139
|
+
lastSenderName?: string | undefined;
|
|
140
|
+
businessInfo?: {
|
|
141
|
+
uiSetting?: AnyObject | undefined;
|
|
142
|
+
topicInfo?: {
|
|
143
|
+
[x: string]: any;
|
|
144
|
+
param?: AnyObject | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
labelList?: AnyObject[] | undefined;
|
|
148
|
+
notDisturb: boolean;
|
|
149
|
+
}[];
|
|
66
150
|
isChangeSession: boolean;
|
|
67
151
|
isUpdateSession: boolean;
|
|
68
152
|
currentReferenceMsg: AnyObject | null;
|
|
@@ -85,17 +169,17 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
85
169
|
};
|
|
86
170
|
unreadTotal: import("vue").ComputedRef<number>;
|
|
87
171
|
filterable: import("vue").Ref<any, any>;
|
|
88
|
-
openSession: (session: string |
|
|
89
|
-
setUpdateSessionItem: (item:
|
|
172
|
+
openSession: (session: string | SessionItem) => Promise<void>;
|
|
173
|
+
setUpdateSessionItem: (item: SessionItem) => void;
|
|
90
174
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
91
175
|
currentWidth: import("vue").ComputedRef<number>;
|
|
92
|
-
sessionList: import("vue").ComputedRef<
|
|
176
|
+
sessionList: import("vue").ComputedRef<SessionItem[]>;
|
|
93
177
|
getLabelNum: (session: AnyObject) => number;
|
|
94
178
|
changeWidth: ({ distance }: AnyObject) => void;
|
|
95
179
|
handleFilter: (key: string) => void;
|
|
96
180
|
showSession: (item: AnyObject, currentKey?: string) => boolean | undefined;
|
|
97
181
|
handleContextmenu: (event: MouseEvent, id: string) => Promise<void>;
|
|
98
|
-
handleSelect: (key: string, session:
|
|
182
|
+
handleSelect: (key: string, session: SessionItem) => Promise<void>;
|
|
99
183
|
handleUpdateShow: (value: boolean) => void;
|
|
100
184
|
handleClickoutside: (e: Event) => void;
|
|
101
185
|
handleUpdateDate: (value: string[]) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TRTCEvent } from '../hooks';
|
|
2
|
-
import { AV_STATUS } from '../constants';
|
|
2
|
+
import { AV_STATUS, CHAT_TYPE } from '../constants';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
4
|
sendMessage: (message: {
|
|
5
5
|
chatType?: string | undefined;
|
|
@@ -7,8 +7,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
receiver?: string | undefined;
|
|
8
8
|
}) => Promise<void>;
|
|
9
9
|
state: {
|
|
10
|
+
[x: string]: any;
|
|
10
11
|
orgId: string;
|
|
11
|
-
currentSessionItem:
|
|
12
|
+
currentSessionItem: {
|
|
13
|
+
id: string;
|
|
14
|
+
sessionKey: string;
|
|
15
|
+
receiver: string;
|
|
16
|
+
createdTime: string;
|
|
17
|
+
avatar: string;
|
|
18
|
+
name: string;
|
|
19
|
+
defaultName: string;
|
|
20
|
+
chatType: CHAT_TYPE;
|
|
21
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
22
|
+
status: import("../constants").STATUS;
|
|
23
|
+
sortTime: string;
|
|
24
|
+
topping: boolean;
|
|
25
|
+
unreadNum: number;
|
|
26
|
+
updatedTime: string;
|
|
27
|
+
lastMessageContent: string;
|
|
28
|
+
sender?: string | undefined;
|
|
29
|
+
lastMessageId?: string | undefined;
|
|
30
|
+
lastMessage?: {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
33
|
+
msg: string;
|
|
34
|
+
referenceContent?: any;
|
|
35
|
+
forwardMessageList?: import("../../../../shared/types").AnyObject[] | undefined;
|
|
36
|
+
messageTemplate?: any;
|
|
37
|
+
messageTemplateData?: any;
|
|
38
|
+
fileUrl?: string | undefined;
|
|
39
|
+
avStatus?: string | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
lastMessageSendTime?: string | undefined;
|
|
42
|
+
lastMessageStatus?: string | undefined;
|
|
43
|
+
lastSenderName?: string | undefined;
|
|
44
|
+
businessInfo?: {
|
|
45
|
+
uiSetting?: import("../../../../shared/types").AnyObject | undefined;
|
|
46
|
+
topicInfo?: {
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
param?: import("../../../../shared/types").AnyObject | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
labelList?: import("../../../../shared/types").AnyObject[] | undefined;
|
|
52
|
+
notDisturb: boolean;
|
|
53
|
+
};
|
|
12
54
|
id: string;
|
|
13
55
|
userInfo: import("../../../../shared/types").AnyObject;
|
|
14
56
|
msgList: {
|
|
@@ -17,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
17
59
|
sessionKey: string;
|
|
18
60
|
content: {
|
|
19
61
|
[x: string]: any;
|
|
20
|
-
chatMessageType:
|
|
62
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
21
63
|
msg: string;
|
|
22
64
|
referenceContent?: any;
|
|
23
65
|
forwardMessageList?: import("../../../../shared/types").AnyObject[] | undefined;
|
|
@@ -35,7 +77,48 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
35
77
|
__time?: string | undefined;
|
|
36
78
|
__sendTime?: string | undefined;
|
|
37
79
|
}[];
|
|
38
|
-
sessionList:
|
|
80
|
+
sessionList: {
|
|
81
|
+
id: string;
|
|
82
|
+
sessionKey: string;
|
|
83
|
+
receiver: string;
|
|
84
|
+
createdTime: string;
|
|
85
|
+
avatar: string;
|
|
86
|
+
name: string;
|
|
87
|
+
defaultName: string;
|
|
88
|
+
chatType: CHAT_TYPE;
|
|
89
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
90
|
+
status: import("../constants").STATUS;
|
|
91
|
+
sortTime: string;
|
|
92
|
+
topping: boolean;
|
|
93
|
+
unreadNum: number;
|
|
94
|
+
updatedTime: string;
|
|
95
|
+
lastMessageContent: string;
|
|
96
|
+
sender?: string | undefined;
|
|
97
|
+
lastMessageId?: string | undefined;
|
|
98
|
+
lastMessage?: {
|
|
99
|
+
[x: string]: any;
|
|
100
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
101
|
+
msg: string;
|
|
102
|
+
referenceContent?: any;
|
|
103
|
+
forwardMessageList?: import("../../../../shared/types").AnyObject[] | undefined;
|
|
104
|
+
messageTemplate?: any;
|
|
105
|
+
messageTemplateData?: any;
|
|
106
|
+
fileUrl?: string | undefined;
|
|
107
|
+
avStatus?: string | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
lastMessageSendTime?: string | undefined;
|
|
110
|
+
lastMessageStatus?: string | undefined;
|
|
111
|
+
lastSenderName?: string | undefined;
|
|
112
|
+
businessInfo?: {
|
|
113
|
+
uiSetting?: import("../../../../shared/types").AnyObject | undefined;
|
|
114
|
+
topicInfo?: {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
param?: import("../../../../shared/types").AnyObject | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
labelList?: import("../../../../shared/types").AnyObject[] | undefined;
|
|
120
|
+
notDisturb: boolean;
|
|
121
|
+
}[];
|
|
39
122
|
isChangeSession: boolean;
|
|
40
123
|
isUpdateSession: boolean;
|
|
41
124
|
currentReferenceMsg: import("../../../../shared/types").AnyObject | null;
|