cnhis-design-vue 3.4.0-release.3 → 3.4.0-release.7
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/_virtual/_virtual_i18n-methods.js +5 -1
- package/es/components/audio-sdk/index.d.ts +4 -4
- package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
- package/es/components/base-search/index.d.ts +34 -0
- package/es/components/base-search/src/index.vue.d.ts +34 -0
- package/es/components/base-search/src/index.vue2.js +9 -1
- package/es/components/button-print/index.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +73 -48
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
- package/es/components/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +4 -2
- package/es/components/callback/src/components/render/popupMaps.d.ts +38 -24
- package/es/components/classification/index.d.ts +84 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +84 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +84 -0
- package/es/components/classification/src/index.vue.d.ts +84 -0
- package/es/components/classification/src/index.vue2.js +7 -0
- package/es/components/date-picker/index.d.ts +28 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +28 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +26 -1
- package/es/components/expand-field/index.d.ts +31 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
- package/es/components/expand-field/src/index.vue.d.ts +31 -0
- package/es/components/fabric-chart/index.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
- package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
- package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
- package/es/components/fabric-chart/src/constants/index.js +26 -11
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +15 -11
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +39 -27
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -122
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +6 -7
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +5 -2
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
- package/es/components/fabric-chart/src/interface.d.ts +14 -1
- package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
- package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -10
- package/es/components/fabric-chart/style/index.css +1 -1
- package/es/components/field-editor/index.d.ts +1 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +57 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +3 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +28 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +56 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +28 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +24 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
- package/es/components/form-config/src/constants/index.d.ts +2 -0
- package/es/components/form-config/src/constants/index.js +2 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
- package/es/components/form-render/index.d.ts +1 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/index.js +5 -2
- package/es/components/iho-chat/index.d.ts +2757 -300
- package/es/components/iho-chat/src/Index.vue.d.ts +2757 -300
- 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/ChatFooter.vue2.js +3 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +783 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +204 -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 +158 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -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/MultipleVideo.vue2.js +2 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +121 -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 +31 -10
- 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/iho-table/index.d.ts +37 -24
- package/es/components/iho-table/src/IhoTable.vue.d.ts +37 -24
- package/es/components/iho-table/src/IhoTable.vue2.js +7 -2
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -3
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +30 -4
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +28 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
- package/es/components/iho-table/src/types/index.d.ts +3 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +46 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
- package/es/components/scale-view/src/hooks/use-event.js +56 -22
- package/es/components/select-person/index.d.ts +31 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +36 -8
- package/es/components/select-person/src/index.vue.d.ts +31 -0
- package/es/components/select-person/src/index.vue2.js +4 -0
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +2 -2
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +56 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +56 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +56 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +30 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +30 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +116 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +116 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +4 -1
- package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
- package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
- package/es/shared/components/Ellipsis/index.d.ts +2 -0
- package/es/shared/components/Ellipsis/index.js +2 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +3 -2
- package/es/shared/utils/business.js +16 -0
- package/package.json +3 -3
|
@@ -118,11 +118,56 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
118
118
|
data: {
|
|
119
119
|
filterable: import("vue").Ref<any, any>;
|
|
120
120
|
trtcProxy: import("vue").Ref<any, any>;
|
|
121
|
+
token: import("vue").Ref<any, any>;
|
|
121
122
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
122
|
-
stompClient:
|
|
123
|
+
stompClient: {
|
|
124
|
+
value: import("./src/utils/chatSock").ChatSock | null;
|
|
125
|
+
};
|
|
123
126
|
state: {
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
[x: string]: any;
|
|
128
|
+
orgId: string;
|
|
129
|
+
currentSessionItem: {
|
|
130
|
+
id: string;
|
|
131
|
+
sessionKey: string;
|
|
132
|
+
receiver: string;
|
|
133
|
+
createdTime: string;
|
|
134
|
+
avatar: string;
|
|
135
|
+
name: string;
|
|
136
|
+
defaultName: string;
|
|
137
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
138
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
139
|
+
status: import("./src/constants").STATUS;
|
|
140
|
+
sortTime: string;
|
|
141
|
+
topping: boolean;
|
|
142
|
+
unreadNum: number;
|
|
143
|
+
updatedTime: string;
|
|
144
|
+
lastMessageContent: string;
|
|
145
|
+
sender?: string | undefined;
|
|
146
|
+
lastMessageId?: string | undefined;
|
|
147
|
+
lastMessage?: {
|
|
148
|
+
[x: string]: any;
|
|
149
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
150
|
+
msg: string;
|
|
151
|
+
referenceContent?: any;
|
|
152
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
153
|
+
messageTemplate?: any;
|
|
154
|
+
messageTemplateData?: any;
|
|
155
|
+
fileUrl?: string | undefined;
|
|
156
|
+
avStatus?: string | undefined;
|
|
157
|
+
} | undefined;
|
|
158
|
+
lastMessageSendTime?: string | undefined;
|
|
159
|
+
lastMessageStatus?: string | undefined;
|
|
160
|
+
lastSenderName?: string | undefined;
|
|
161
|
+
businessInfo?: {
|
|
162
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
163
|
+
topicInfo?: {
|
|
164
|
+
[x: string]: any;
|
|
165
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
166
|
+
} | undefined;
|
|
167
|
+
} | undefined;
|
|
168
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
169
|
+
notDisturb: boolean;
|
|
170
|
+
};
|
|
126
171
|
id: string;
|
|
127
172
|
userInfo: import("../../shared/types").AnyObject;
|
|
128
173
|
msgList: {
|
|
@@ -131,7 +176,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
131
176
|
sessionKey: string;
|
|
132
177
|
content: {
|
|
133
178
|
[x: string]: any;
|
|
134
|
-
chatMessageType:
|
|
179
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
135
180
|
msg: string;
|
|
136
181
|
referenceContent?: any;
|
|
137
182
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -149,11 +194,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
149
194
|
__time?: string | undefined;
|
|
150
195
|
__sendTime?: string | undefined;
|
|
151
196
|
}[];
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
197
|
+
sessionList: {
|
|
198
|
+
id: string;
|
|
199
|
+
sessionKey: string;
|
|
200
|
+
receiver: string;
|
|
201
|
+
createdTime: string;
|
|
202
|
+
avatar: string;
|
|
203
|
+
name: string;
|
|
204
|
+
defaultName: string;
|
|
205
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
206
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
207
|
+
status: import("./src/constants").STATUS;
|
|
208
|
+
sortTime: string;
|
|
209
|
+
topping: boolean;
|
|
210
|
+
unreadNum: number;
|
|
211
|
+
updatedTime: string;
|
|
212
|
+
lastMessageContent: string;
|
|
213
|
+
sender?: string | undefined;
|
|
214
|
+
lastMessageId?: string | undefined;
|
|
215
|
+
lastMessage?: {
|
|
216
|
+
[x: string]: any;
|
|
217
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
218
|
+
msg: string;
|
|
219
|
+
referenceContent?: any;
|
|
220
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
221
|
+
messageTemplate?: any;
|
|
222
|
+
messageTemplateData?: any;
|
|
223
|
+
fileUrl?: string | undefined;
|
|
224
|
+
avStatus?: string | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
lastMessageSendTime?: string | undefined;
|
|
227
|
+
lastMessageStatus?: string | undefined;
|
|
228
|
+
lastSenderName?: string | undefined;
|
|
229
|
+
businessInfo?: {
|
|
230
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
231
|
+
topicInfo?: {
|
|
232
|
+
[x: string]: any;
|
|
233
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
} | undefined;
|
|
236
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
237
|
+
notDisturb: boolean;
|
|
238
|
+
}[];
|
|
155
239
|
isChangeSession: boolean;
|
|
156
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
157
240
|
isUpdateSession: boolean;
|
|
158
241
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
159
242
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -171,6 +254,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
171
254
|
info: import("../../shared/types").AnyObject | null;
|
|
172
255
|
};
|
|
173
256
|
isForward: boolean;
|
|
257
|
+
loading: boolean;
|
|
258
|
+
};
|
|
259
|
+
chatMainRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
260
|
+
tempState: {
|
|
261
|
+
currentMsg: import("../../shared/types").AnyObject;
|
|
262
|
+
updateSessionItem: import("./src/types").SessionItem;
|
|
174
263
|
};
|
|
175
264
|
unreadTotal: import("vue").ComputedRef<number>;
|
|
176
265
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
|
@@ -192,19 +281,145 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
192
281
|
labelItem: string | import("../../shared/types").AnyObject;
|
|
193
282
|
msgId: string;
|
|
194
283
|
}) => void;
|
|
195
|
-
openSession: (session: string | import("
|
|
196
|
-
closeSession: () =>
|
|
197
|
-
|
|
284
|
+
openSession: (session: string | import("./src/types").SessionItem) => Promise<void>;
|
|
285
|
+
closeSession: () => {
|
|
286
|
+
id: string;
|
|
287
|
+
sessionKey: string;
|
|
288
|
+
receiver: string;
|
|
289
|
+
createdTime: string;
|
|
290
|
+
avatar: string;
|
|
291
|
+
name: string;
|
|
292
|
+
defaultName: string;
|
|
293
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
294
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
295
|
+
status: import("./src/constants").STATUS;
|
|
296
|
+
sortTime: string;
|
|
297
|
+
topping: boolean;
|
|
298
|
+
unreadNum: number;
|
|
299
|
+
updatedTime: string;
|
|
300
|
+
lastMessageContent: string;
|
|
301
|
+
sender?: string | undefined;
|
|
302
|
+
lastMessageId?: string | undefined;
|
|
303
|
+
lastMessage?: {
|
|
304
|
+
[x: string]: any;
|
|
305
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
306
|
+
msg: string;
|
|
307
|
+
referenceContent?: any;
|
|
308
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
309
|
+
messageTemplate?: any;
|
|
310
|
+
messageTemplateData?: any;
|
|
311
|
+
fileUrl?: string | undefined;
|
|
312
|
+
avStatus?: string | undefined;
|
|
313
|
+
} | undefined;
|
|
314
|
+
lastMessageSendTime?: string | undefined;
|
|
315
|
+
lastMessageStatus?: string | undefined;
|
|
316
|
+
lastSenderName?: string | undefined;
|
|
317
|
+
businessInfo?: {
|
|
318
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
319
|
+
topicInfo?: {
|
|
320
|
+
[x: string]: any;
|
|
321
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
322
|
+
} | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
325
|
+
notDisturb: boolean;
|
|
326
|
+
} | null;
|
|
327
|
+
getCurrentSession: () => {
|
|
328
|
+
id: string;
|
|
329
|
+
sessionKey: string;
|
|
330
|
+
receiver: string;
|
|
331
|
+
createdTime: string;
|
|
332
|
+
avatar: string;
|
|
333
|
+
name: string;
|
|
334
|
+
defaultName: string;
|
|
335
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
336
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
337
|
+
status: import("./src/constants").STATUS;
|
|
338
|
+
sortTime: string;
|
|
339
|
+
topping: boolean;
|
|
340
|
+
unreadNum: number;
|
|
341
|
+
updatedTime: string;
|
|
342
|
+
lastMessageContent: string;
|
|
343
|
+
sender?: string | undefined;
|
|
344
|
+
lastMessageId?: string | undefined;
|
|
345
|
+
lastMessage?: {
|
|
346
|
+
[x: string]: any;
|
|
347
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
348
|
+
msg: string;
|
|
349
|
+
referenceContent?: any;
|
|
350
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
351
|
+
messageTemplate?: any;
|
|
352
|
+
messageTemplateData?: any;
|
|
353
|
+
fileUrl?: string | undefined;
|
|
354
|
+
avStatus?: string | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
lastMessageSendTime?: string | undefined;
|
|
357
|
+
lastMessageStatus?: string | undefined;
|
|
358
|
+
lastSenderName?: string | undefined;
|
|
359
|
+
businessInfo?: {
|
|
360
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
361
|
+
topicInfo?: {
|
|
362
|
+
[x: string]: any;
|
|
363
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
364
|
+
} | undefined;
|
|
365
|
+
} | undefined;
|
|
366
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
367
|
+
notDisturb: boolean;
|
|
368
|
+
} | null;
|
|
198
369
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
199
|
-
setUpdateSessionItem: (item: import("
|
|
200
|
-
setSessionList: (list: import("
|
|
370
|
+
setUpdateSessionItem: (item: import("./src/types").SessionItem) => void;
|
|
371
|
+
setSessionList: (list: import("./src/types").SessionItem[]) => void;
|
|
201
372
|
emit: (event: "template-click" | "unread-message-update" | "session-change" | "session-close", ...args: any[]) => void;
|
|
202
373
|
setUserDetail: (event: MouseEvent, userDetail: import("../../shared/types").AnyObject) => void;
|
|
374
|
+
appendMsg: () => void;
|
|
375
|
+
scrollToBottom: () => void;
|
|
203
376
|
};
|
|
204
377
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
205
378
|
state: {
|
|
206
|
-
|
|
207
|
-
|
|
379
|
+
[x: string]: any;
|
|
380
|
+
orgId: string;
|
|
381
|
+
currentSessionItem: {
|
|
382
|
+
id: string;
|
|
383
|
+
sessionKey: string;
|
|
384
|
+
receiver: string;
|
|
385
|
+
createdTime: string;
|
|
386
|
+
avatar: string;
|
|
387
|
+
name: string;
|
|
388
|
+
defaultName: string;
|
|
389
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
390
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
391
|
+
status: import("./src/constants").STATUS;
|
|
392
|
+
sortTime: string;
|
|
393
|
+
topping: boolean;
|
|
394
|
+
unreadNum: number;
|
|
395
|
+
updatedTime: string;
|
|
396
|
+
lastMessageContent: string;
|
|
397
|
+
sender?: string | undefined;
|
|
398
|
+
lastMessageId?: string | undefined;
|
|
399
|
+
lastMessage?: {
|
|
400
|
+
[x: string]: any;
|
|
401
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
402
|
+
msg: string;
|
|
403
|
+
referenceContent?: any;
|
|
404
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
405
|
+
messageTemplate?: any;
|
|
406
|
+
messageTemplateData?: any;
|
|
407
|
+
fileUrl?: string | undefined;
|
|
408
|
+
avStatus?: string | undefined;
|
|
409
|
+
} | undefined;
|
|
410
|
+
lastMessageSendTime?: string | undefined;
|
|
411
|
+
lastMessageStatus?: string | undefined;
|
|
412
|
+
lastSenderName?: string | undefined;
|
|
413
|
+
businessInfo?: {
|
|
414
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
415
|
+
topicInfo?: {
|
|
416
|
+
[x: string]: any;
|
|
417
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
418
|
+
} | undefined;
|
|
419
|
+
} | undefined;
|
|
420
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
421
|
+
notDisturb: boolean;
|
|
422
|
+
};
|
|
208
423
|
id: string;
|
|
209
424
|
userInfo: import("../../shared/types").AnyObject;
|
|
210
425
|
msgList: {
|
|
@@ -213,7 +428,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
213
428
|
sessionKey: string;
|
|
214
429
|
content: {
|
|
215
430
|
[x: string]: any;
|
|
216
|
-
chatMessageType:
|
|
431
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
217
432
|
msg: string;
|
|
218
433
|
referenceContent?: any;
|
|
219
434
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -231,11 +446,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
231
446
|
__time?: string | undefined;
|
|
232
447
|
__sendTime?: string | undefined;
|
|
233
448
|
}[];
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
449
|
+
sessionList: {
|
|
450
|
+
id: string;
|
|
451
|
+
sessionKey: string;
|
|
452
|
+
receiver: string;
|
|
453
|
+
createdTime: string;
|
|
454
|
+
avatar: string;
|
|
455
|
+
name: string;
|
|
456
|
+
defaultName: string;
|
|
457
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
458
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
459
|
+
status: import("./src/constants").STATUS;
|
|
460
|
+
sortTime: string;
|
|
461
|
+
topping: boolean;
|
|
462
|
+
unreadNum: number;
|
|
463
|
+
updatedTime: string;
|
|
464
|
+
lastMessageContent: string;
|
|
465
|
+
sender?: string | undefined;
|
|
466
|
+
lastMessageId?: string | undefined;
|
|
467
|
+
lastMessage?: {
|
|
468
|
+
[x: string]: any;
|
|
469
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
470
|
+
msg: string;
|
|
471
|
+
referenceContent?: any;
|
|
472
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
473
|
+
messageTemplate?: any;
|
|
474
|
+
messageTemplateData?: any;
|
|
475
|
+
fileUrl?: string | undefined;
|
|
476
|
+
avStatus?: string | undefined;
|
|
477
|
+
} | undefined;
|
|
478
|
+
lastMessageSendTime?: string | undefined;
|
|
479
|
+
lastMessageStatus?: string | undefined;
|
|
480
|
+
lastSenderName?: string | undefined;
|
|
481
|
+
businessInfo?: {
|
|
482
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
483
|
+
topicInfo?: {
|
|
484
|
+
[x: string]: any;
|
|
485
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
} | undefined;
|
|
488
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
489
|
+
notDisturb: boolean;
|
|
490
|
+
}[];
|
|
237
491
|
isChangeSession: boolean;
|
|
238
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
239
492
|
isUpdateSession: boolean;
|
|
240
493
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
241
494
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -253,12 +506,136 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
253
506
|
info: import("../../shared/types").AnyObject | null;
|
|
254
507
|
};
|
|
255
508
|
isForward: boolean;
|
|
509
|
+
loading: boolean;
|
|
256
510
|
};
|
|
257
|
-
openSession: (session: string | import("
|
|
258
|
-
closeSession: () =>
|
|
259
|
-
|
|
511
|
+
openSession: (session: string | import("./src/types").SessionItem) => Promise<void>;
|
|
512
|
+
closeSession: () => {
|
|
513
|
+
id: string;
|
|
514
|
+
sessionKey: string;
|
|
515
|
+
receiver: string;
|
|
516
|
+
createdTime: string;
|
|
517
|
+
avatar: string;
|
|
518
|
+
name: string;
|
|
519
|
+
defaultName: string;
|
|
520
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
521
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
522
|
+
status: import("./src/constants").STATUS;
|
|
523
|
+
sortTime: string;
|
|
524
|
+
topping: boolean;
|
|
525
|
+
unreadNum: number;
|
|
526
|
+
updatedTime: string;
|
|
527
|
+
lastMessageContent: string;
|
|
528
|
+
sender?: string | undefined;
|
|
529
|
+
lastMessageId?: string | undefined;
|
|
530
|
+
lastMessage?: {
|
|
531
|
+
[x: string]: any;
|
|
532
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
533
|
+
msg: string;
|
|
534
|
+
referenceContent?: any;
|
|
535
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
536
|
+
messageTemplate?: any;
|
|
537
|
+
messageTemplateData?: any;
|
|
538
|
+
fileUrl?: string | undefined;
|
|
539
|
+
avStatus?: string | undefined;
|
|
540
|
+
} | undefined;
|
|
541
|
+
lastMessageSendTime?: string | undefined;
|
|
542
|
+
lastMessageStatus?: string | undefined;
|
|
543
|
+
lastSenderName?: string | undefined;
|
|
544
|
+
businessInfo?: {
|
|
545
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
546
|
+
topicInfo?: {
|
|
547
|
+
[x: string]: any;
|
|
548
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
549
|
+
} | undefined;
|
|
550
|
+
} | undefined;
|
|
551
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
552
|
+
notDisturb: boolean;
|
|
553
|
+
} | null;
|
|
554
|
+
getCurrentSession: () => {
|
|
555
|
+
id: string;
|
|
556
|
+
sessionKey: string;
|
|
557
|
+
receiver: string;
|
|
558
|
+
createdTime: string;
|
|
559
|
+
avatar: string;
|
|
560
|
+
name: string;
|
|
561
|
+
defaultName: string;
|
|
562
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
563
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
564
|
+
status: import("./src/constants").STATUS;
|
|
565
|
+
sortTime: string;
|
|
566
|
+
topping: boolean;
|
|
567
|
+
unreadNum: number;
|
|
568
|
+
updatedTime: string;
|
|
569
|
+
lastMessageContent: string;
|
|
570
|
+
sender?: string | undefined;
|
|
571
|
+
lastMessageId?: string | undefined;
|
|
572
|
+
lastMessage?: {
|
|
573
|
+
[x: string]: any;
|
|
574
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
575
|
+
msg: string;
|
|
576
|
+
referenceContent?: any;
|
|
577
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
578
|
+
messageTemplate?: any;
|
|
579
|
+
messageTemplateData?: any;
|
|
580
|
+
fileUrl?: string | undefined;
|
|
581
|
+
avStatus?: string | undefined;
|
|
582
|
+
} | undefined;
|
|
583
|
+
lastMessageSendTime?: string | undefined;
|
|
584
|
+
lastMessageStatus?: string | undefined;
|
|
585
|
+
lastSenderName?: string | undefined;
|
|
586
|
+
businessInfo?: {
|
|
587
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
588
|
+
topicInfo?: {
|
|
589
|
+
[x: string]: any;
|
|
590
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
} | undefined;
|
|
593
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
594
|
+
notDisturb: boolean;
|
|
595
|
+
} | null;
|
|
260
596
|
isEnded: import("vue").ComputedRef<boolean>;
|
|
261
|
-
getUnreadData: () =>
|
|
597
|
+
getUnreadData: () => {
|
|
598
|
+
id: string;
|
|
599
|
+
sessionKey: string;
|
|
600
|
+
receiver: string;
|
|
601
|
+
createdTime: string;
|
|
602
|
+
avatar: string;
|
|
603
|
+
name: string;
|
|
604
|
+
defaultName: string;
|
|
605
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
606
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
607
|
+
status: import("./src/constants").STATUS;
|
|
608
|
+
sortTime: string;
|
|
609
|
+
topping: boolean;
|
|
610
|
+
unreadNum: number;
|
|
611
|
+
updatedTime: string;
|
|
612
|
+
lastMessageContent: string;
|
|
613
|
+
sender?: string | undefined;
|
|
614
|
+
lastMessageId?: string | undefined;
|
|
615
|
+
lastMessage?: {
|
|
616
|
+
[x: string]: any;
|
|
617
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
618
|
+
msg: string;
|
|
619
|
+
referenceContent?: any;
|
|
620
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
621
|
+
messageTemplate?: any;
|
|
622
|
+
messageTemplateData?: any;
|
|
623
|
+
fileUrl?: string | undefined;
|
|
624
|
+
avStatus?: string | undefined;
|
|
625
|
+
} | undefined;
|
|
626
|
+
lastMessageSendTime?: string | undefined;
|
|
627
|
+
lastMessageStatus?: string | undefined;
|
|
628
|
+
lastSenderName?: string | undefined;
|
|
629
|
+
businessInfo?: {
|
|
630
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
631
|
+
topicInfo?: {
|
|
632
|
+
[x: string]: any;
|
|
633
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
634
|
+
} | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
637
|
+
notDisturb: boolean;
|
|
638
|
+
}[];
|
|
262
639
|
readonly NLayout: any;
|
|
263
640
|
readonly NLayoutContent: any;
|
|
264
641
|
readonly NSpin: any;
|
|
@@ -295,8 +672,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
295
672
|
filterList: import("vue").Ref<import("../../shared/types").AnyObject[], import("../../shared/types").AnyObject[]>;
|
|
296
673
|
handleInput: () => void;
|
|
297
674
|
state: {
|
|
298
|
-
|
|
299
|
-
|
|
675
|
+
[x: string]: any;
|
|
676
|
+
orgId: string;
|
|
677
|
+
currentSessionItem: {
|
|
678
|
+
id: string;
|
|
679
|
+
sessionKey: string;
|
|
680
|
+
receiver: string;
|
|
681
|
+
createdTime: string;
|
|
682
|
+
avatar: string;
|
|
683
|
+
name: string;
|
|
684
|
+
defaultName: string;
|
|
685
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
686
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
687
|
+
status: import("./src/constants").STATUS;
|
|
688
|
+
sortTime: string;
|
|
689
|
+
topping: boolean;
|
|
690
|
+
unreadNum: number;
|
|
691
|
+
updatedTime: string;
|
|
692
|
+
lastMessageContent: string;
|
|
693
|
+
sender?: string | undefined;
|
|
694
|
+
lastMessageId?: string | undefined;
|
|
695
|
+
lastMessage?: {
|
|
696
|
+
[x: string]: any;
|
|
697
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
698
|
+
msg: string;
|
|
699
|
+
referenceContent?: any;
|
|
700
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
701
|
+
messageTemplate?: any;
|
|
702
|
+
messageTemplateData?: any;
|
|
703
|
+
fileUrl?: string | undefined;
|
|
704
|
+
avStatus?: string | undefined;
|
|
705
|
+
} | undefined;
|
|
706
|
+
lastMessageSendTime?: string | undefined;
|
|
707
|
+
lastMessageStatus?: string | undefined;
|
|
708
|
+
lastSenderName?: string | undefined;
|
|
709
|
+
businessInfo?: {
|
|
710
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
711
|
+
topicInfo?: {
|
|
712
|
+
[x: string]: any;
|
|
713
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
714
|
+
} | undefined;
|
|
715
|
+
} | undefined;
|
|
716
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
717
|
+
notDisturb: boolean;
|
|
718
|
+
};
|
|
300
719
|
id: string;
|
|
301
720
|
userInfo: import("../../shared/types").AnyObject;
|
|
302
721
|
msgList: {
|
|
@@ -305,7 +724,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
305
724
|
sessionKey: string;
|
|
306
725
|
content: {
|
|
307
726
|
[x: string]: any;
|
|
308
|
-
chatMessageType:
|
|
727
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
309
728
|
msg: string;
|
|
310
729
|
referenceContent?: any;
|
|
311
730
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -323,11 +742,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
323
742
|
__time?: string | undefined;
|
|
324
743
|
__sendTime?: string | undefined;
|
|
325
744
|
}[];
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
745
|
+
sessionList: {
|
|
746
|
+
id: string;
|
|
747
|
+
sessionKey: string;
|
|
748
|
+
receiver: string;
|
|
749
|
+
createdTime: string;
|
|
750
|
+
avatar: string;
|
|
751
|
+
name: string;
|
|
752
|
+
defaultName: string;
|
|
753
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
754
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
755
|
+
status: import("./src/constants").STATUS;
|
|
756
|
+
sortTime: string;
|
|
757
|
+
topping: boolean;
|
|
758
|
+
unreadNum: number;
|
|
759
|
+
updatedTime: string;
|
|
760
|
+
lastMessageContent: string;
|
|
761
|
+
sender?: string | undefined;
|
|
762
|
+
lastMessageId?: string | undefined;
|
|
763
|
+
lastMessage?: {
|
|
764
|
+
[x: string]: any;
|
|
765
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
766
|
+
msg: string;
|
|
767
|
+
referenceContent?: any;
|
|
768
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
769
|
+
messageTemplate?: any;
|
|
770
|
+
messageTemplateData?: any;
|
|
771
|
+
fileUrl?: string | undefined;
|
|
772
|
+
avStatus?: string | undefined;
|
|
773
|
+
} | undefined;
|
|
774
|
+
lastMessageSendTime?: string | undefined;
|
|
775
|
+
lastMessageStatus?: string | undefined;
|
|
776
|
+
lastSenderName?: string | undefined;
|
|
777
|
+
businessInfo?: {
|
|
778
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
779
|
+
topicInfo?: {
|
|
780
|
+
[x: string]: any;
|
|
781
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
782
|
+
} | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
785
|
+
notDisturb: boolean;
|
|
786
|
+
}[];
|
|
329
787
|
isChangeSession: boolean;
|
|
330
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
331
788
|
isUpdateSession: boolean;
|
|
332
789
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
333
790
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -345,20 +802,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
345
802
|
info: import("../../shared/types").AnyObject | null;
|
|
346
803
|
};
|
|
347
804
|
isForward: boolean;
|
|
805
|
+
loading: boolean;
|
|
348
806
|
};
|
|
349
807
|
unreadTotal: import("vue").ComputedRef<number>;
|
|
350
808
|
filterable: import("vue").Ref<any, any>;
|
|
351
|
-
openSession: (session: string | import("
|
|
352
|
-
setUpdateSessionItem: (item: import("
|
|
809
|
+
openSession: (session: string | import("./src/types").SessionItem) => Promise<void>;
|
|
810
|
+
setUpdateSessionItem: (item: import("./src/types").SessionItem) => void;
|
|
353
811
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
354
812
|
currentWidth: import("vue").ComputedRef<number>;
|
|
355
|
-
sessionList: import("vue").ComputedRef<import("
|
|
813
|
+
sessionList: import("vue").ComputedRef<import("./src/types").SessionItem[]>;
|
|
356
814
|
getLabelNum: (session: import("../../shared/types").AnyObject) => number;
|
|
357
815
|
changeWidth: ({ distance }: import("../../shared/types").AnyObject) => void;
|
|
358
816
|
handleFilter: (key: string) => void;
|
|
359
817
|
showSession: (item: import("../../shared/types").AnyObject, currentKey?: string) => boolean | undefined;
|
|
360
818
|
handleContextmenu: (event: MouseEvent, id: string) => Promise<void>;
|
|
361
|
-
handleSelect: (key: string, session: import("
|
|
819
|
+
handleSelect: (key: string, session: import("./src/types").SessionItem) => Promise<void>;
|
|
362
820
|
handleUpdateShow: (value: boolean) => void;
|
|
363
821
|
handleClickoutside: (e: Event) => void;
|
|
364
822
|
handleUpdateDate: (value: string[]) => void;
|
|
@@ -449,6 +907,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
449
907
|
isDateDisabled: {
|
|
450
908
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
451
909
|
};
|
|
910
|
+
propKey: {
|
|
911
|
+
type: StringConstructor;
|
|
912
|
+
};
|
|
913
|
+
shortcutListenerConfig: {
|
|
914
|
+
type: import("vue").PropType<{
|
|
915
|
+
enable: boolean;
|
|
916
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
917
|
+
}>;
|
|
918
|
+
};
|
|
452
919
|
}>, {
|
|
453
920
|
attrs: {
|
|
454
921
|
[x: string]: unknown;
|
|
@@ -488,6 +955,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
488
955
|
isDateDisabled: {
|
|
489
956
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
490
957
|
};
|
|
958
|
+
propKey: {
|
|
959
|
+
type: StringConstructor;
|
|
960
|
+
};
|
|
961
|
+
shortcutListenerConfig: {
|
|
962
|
+
type: import("vue").PropType<{
|
|
963
|
+
enable: boolean;
|
|
964
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
965
|
+
}>;
|
|
966
|
+
};
|
|
491
967
|
}>> & Readonly<{
|
|
492
968
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
493
969
|
}> & {}>;
|
|
@@ -504,6 +980,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
504
980
|
focus: () => any;
|
|
505
981
|
blur: () => any;
|
|
506
982
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
983
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
507
984
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
508
985
|
watchers: import("../../shared/types").AnyFn[];
|
|
509
986
|
stopWatcher: () => void;
|
|
@@ -547,6 +1024,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
547
1024
|
isDateDisabled: {
|
|
548
1025
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
549
1026
|
};
|
|
1027
|
+
propKey: {
|
|
1028
|
+
type: StringConstructor;
|
|
1029
|
+
};
|
|
1030
|
+
shortcutListenerConfig: {
|
|
1031
|
+
type: import("vue").PropType<{
|
|
1032
|
+
enable: boolean;
|
|
1033
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
1034
|
+
}>;
|
|
1035
|
+
};
|
|
550
1036
|
}>> & Readonly<{
|
|
551
1037
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
552
1038
|
}>, {
|
|
@@ -630,8 +1116,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
630
1116
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
631
1117
|
ChatHeader: import("vue").DefineComponent<{}, {
|
|
632
1118
|
state: {
|
|
633
|
-
|
|
634
|
-
|
|
1119
|
+
[x: string]: any;
|
|
1120
|
+
orgId: string;
|
|
1121
|
+
currentSessionItem: {
|
|
1122
|
+
id: string;
|
|
1123
|
+
sessionKey: string;
|
|
1124
|
+
receiver: string;
|
|
1125
|
+
createdTime: string;
|
|
1126
|
+
avatar: string;
|
|
1127
|
+
name: string;
|
|
1128
|
+
defaultName: string;
|
|
1129
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1130
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1131
|
+
status: import("./src/constants").STATUS;
|
|
1132
|
+
sortTime: string;
|
|
1133
|
+
topping: boolean;
|
|
1134
|
+
unreadNum: number;
|
|
1135
|
+
updatedTime: string;
|
|
1136
|
+
lastMessageContent: string;
|
|
1137
|
+
sender?: string | undefined;
|
|
1138
|
+
lastMessageId?: string | undefined;
|
|
1139
|
+
lastMessage?: {
|
|
1140
|
+
[x: string]: any;
|
|
1141
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1142
|
+
msg: string;
|
|
1143
|
+
referenceContent?: any;
|
|
1144
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1145
|
+
messageTemplate?: any;
|
|
1146
|
+
messageTemplateData?: any;
|
|
1147
|
+
fileUrl?: string | undefined;
|
|
1148
|
+
avStatus?: string | undefined;
|
|
1149
|
+
} | undefined;
|
|
1150
|
+
lastMessageSendTime?: string | undefined;
|
|
1151
|
+
lastMessageStatus?: string | undefined;
|
|
1152
|
+
lastSenderName?: string | undefined;
|
|
1153
|
+
businessInfo?: {
|
|
1154
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1155
|
+
topicInfo?: {
|
|
1156
|
+
[x: string]: any;
|
|
1157
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1158
|
+
} | undefined;
|
|
1159
|
+
} | undefined;
|
|
1160
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1161
|
+
notDisturb: boolean;
|
|
1162
|
+
};
|
|
635
1163
|
id: string;
|
|
636
1164
|
userInfo: import("../../shared/types").AnyObject;
|
|
637
1165
|
msgList: {
|
|
@@ -640,7 +1168,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
640
1168
|
sessionKey: string;
|
|
641
1169
|
content: {
|
|
642
1170
|
[x: string]: any;
|
|
643
|
-
chatMessageType:
|
|
1171
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
644
1172
|
msg: string;
|
|
645
1173
|
referenceContent?: any;
|
|
646
1174
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -658,11 +1186,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
658
1186
|
__time?: string | undefined;
|
|
659
1187
|
__sendTime?: string | undefined;
|
|
660
1188
|
}[];
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
1189
|
+
sessionList: {
|
|
1190
|
+
id: string;
|
|
1191
|
+
sessionKey: string;
|
|
1192
|
+
receiver: string;
|
|
1193
|
+
createdTime: string;
|
|
1194
|
+
avatar: string;
|
|
1195
|
+
name: string;
|
|
1196
|
+
defaultName: string;
|
|
1197
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1198
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1199
|
+
status: import("./src/constants").STATUS;
|
|
1200
|
+
sortTime: string;
|
|
1201
|
+
topping: boolean;
|
|
1202
|
+
unreadNum: number;
|
|
1203
|
+
updatedTime: string;
|
|
1204
|
+
lastMessageContent: string;
|
|
1205
|
+
sender?: string | undefined;
|
|
1206
|
+
lastMessageId?: string | undefined;
|
|
1207
|
+
lastMessage?: {
|
|
1208
|
+
[x: string]: any;
|
|
1209
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1210
|
+
msg: string;
|
|
1211
|
+
referenceContent?: any;
|
|
1212
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1213
|
+
messageTemplate?: any;
|
|
1214
|
+
messageTemplateData?: any;
|
|
1215
|
+
fileUrl?: string | undefined;
|
|
1216
|
+
avStatus?: string | undefined;
|
|
1217
|
+
} | undefined;
|
|
1218
|
+
lastMessageSendTime?: string | undefined;
|
|
1219
|
+
lastMessageStatus?: string | undefined;
|
|
1220
|
+
lastSenderName?: string | undefined;
|
|
1221
|
+
businessInfo?: {
|
|
1222
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1223
|
+
topicInfo?: {
|
|
1224
|
+
[x: string]: any;
|
|
1225
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1226
|
+
} | undefined;
|
|
1227
|
+
} | undefined;
|
|
1228
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1229
|
+
notDisturb: boolean;
|
|
1230
|
+
}[];
|
|
664
1231
|
isChangeSession: boolean;
|
|
665
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
666
1232
|
isUpdateSession: boolean;
|
|
667
1233
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
668
1234
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -680,6 +1246,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
680
1246
|
info: import("../../shared/types").AnyObject | null;
|
|
681
1247
|
};
|
|
682
1248
|
isForward: boolean;
|
|
1249
|
+
loading: boolean;
|
|
683
1250
|
};
|
|
684
1251
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
|
685
1252
|
isGroupLeader: import("vue").ComputedRef<boolean>;
|
|
@@ -714,8 +1281,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
714
1281
|
[x: string]: unknown;
|
|
715
1282
|
};
|
|
716
1283
|
state: {
|
|
717
|
-
|
|
718
|
-
|
|
1284
|
+
[x: string]: any;
|
|
1285
|
+
orgId: string;
|
|
1286
|
+
currentSessionItem: {
|
|
1287
|
+
id: string;
|
|
1288
|
+
sessionKey: string;
|
|
1289
|
+
receiver: string;
|
|
1290
|
+
createdTime: string;
|
|
1291
|
+
avatar: string;
|
|
1292
|
+
name: string;
|
|
1293
|
+
defaultName: string;
|
|
1294
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1295
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1296
|
+
status: import("./src/constants").STATUS;
|
|
1297
|
+
sortTime: string;
|
|
1298
|
+
topping: boolean;
|
|
1299
|
+
unreadNum: number;
|
|
1300
|
+
updatedTime: string;
|
|
1301
|
+
lastMessageContent: string;
|
|
1302
|
+
sender?: string | undefined;
|
|
1303
|
+
lastMessageId?: string | undefined;
|
|
1304
|
+
lastMessage?: {
|
|
1305
|
+
[x: string]: any;
|
|
1306
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1307
|
+
msg: string;
|
|
1308
|
+
referenceContent?: any;
|
|
1309
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1310
|
+
messageTemplate?: any;
|
|
1311
|
+
messageTemplateData?: any;
|
|
1312
|
+
fileUrl?: string | undefined;
|
|
1313
|
+
avStatus?: string | undefined;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
lastMessageSendTime?: string | undefined;
|
|
1316
|
+
lastMessageStatus?: string | undefined;
|
|
1317
|
+
lastSenderName?: string | undefined;
|
|
1318
|
+
businessInfo?: {
|
|
1319
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1320
|
+
topicInfo?: {
|
|
1321
|
+
[x: string]: any;
|
|
1322
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1323
|
+
} | undefined;
|
|
1324
|
+
} | undefined;
|
|
1325
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1326
|
+
notDisturb: boolean;
|
|
1327
|
+
};
|
|
719
1328
|
id: string;
|
|
720
1329
|
userInfo: import("../../shared/types").AnyObject;
|
|
721
1330
|
msgList: {
|
|
@@ -724,7 +1333,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
724
1333
|
sessionKey: string;
|
|
725
1334
|
content: {
|
|
726
1335
|
[x: string]: any;
|
|
727
|
-
chatMessageType:
|
|
1336
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
728
1337
|
msg: string;
|
|
729
1338
|
referenceContent?: any;
|
|
730
1339
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -742,11 +1351,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
742
1351
|
__time?: string | undefined;
|
|
743
1352
|
__sendTime?: string | undefined;
|
|
744
1353
|
}[];
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
1354
|
+
sessionList: {
|
|
1355
|
+
id: string;
|
|
1356
|
+
sessionKey: string;
|
|
1357
|
+
receiver: string;
|
|
1358
|
+
createdTime: string;
|
|
1359
|
+
avatar: string;
|
|
1360
|
+
name: string;
|
|
1361
|
+
defaultName: string;
|
|
1362
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1363
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1364
|
+
status: import("./src/constants").STATUS;
|
|
1365
|
+
sortTime: string;
|
|
1366
|
+
topping: boolean;
|
|
1367
|
+
unreadNum: number;
|
|
1368
|
+
updatedTime: string;
|
|
1369
|
+
lastMessageContent: string;
|
|
1370
|
+
sender?: string | undefined;
|
|
1371
|
+
lastMessageId?: string | undefined;
|
|
1372
|
+
lastMessage?: {
|
|
1373
|
+
[x: string]: any;
|
|
1374
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1375
|
+
msg: string;
|
|
1376
|
+
referenceContent?: any;
|
|
1377
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1378
|
+
messageTemplate?: any;
|
|
1379
|
+
messageTemplateData?: any;
|
|
1380
|
+
fileUrl?: string | undefined;
|
|
1381
|
+
avStatus?: string | undefined;
|
|
1382
|
+
} | undefined;
|
|
1383
|
+
lastMessageSendTime?: string | undefined;
|
|
1384
|
+
lastMessageStatus?: string | undefined;
|
|
1385
|
+
lastSenderName?: string | undefined;
|
|
1386
|
+
businessInfo?: {
|
|
1387
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1388
|
+
topicInfo?: {
|
|
1389
|
+
[x: string]: any;
|
|
1390
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1391
|
+
} | undefined;
|
|
1392
|
+
} | undefined;
|
|
1393
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1394
|
+
notDisturb: boolean;
|
|
1395
|
+
}[];
|
|
748
1396
|
isChangeSession: boolean;
|
|
749
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
750
1397
|
isUpdateSession: boolean;
|
|
751
1398
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
752
1399
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -764,11 +1411,16 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
764
1411
|
info: import("../../shared/types").AnyObject | null;
|
|
765
1412
|
};
|
|
766
1413
|
isForward: boolean;
|
|
1414
|
+
loading: boolean;
|
|
767
1415
|
};
|
|
768
1416
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
769
1417
|
setUserDetail: (event: MouseEvent, userDetail: import("../../shared/types").AnyObject) => void;
|
|
770
1418
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
|
771
1419
|
isGroupLeader: import("vue").ComputedRef<boolean>;
|
|
1420
|
+
handleStreamOutput: () => Promise<{
|
|
1421
|
+
msgId: string;
|
|
1422
|
+
content: string;
|
|
1423
|
+
} | undefined>;
|
|
772
1424
|
inputRef: import("vue").Ref<any, any>;
|
|
773
1425
|
groupNameEditing: import("vue").Ref<boolean, boolean>;
|
|
774
1426
|
groupName: import("vue").Ref<string, string>;
|
|
@@ -778,6 +1430,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
778
1430
|
handleTopping: (value: boolean) => Promise<void>;
|
|
779
1431
|
handleLeaveGroup: (dissolution: boolean) => Promise<void>;
|
|
780
1432
|
handleToEdit: () => Promise<void>;
|
|
1433
|
+
handleGroupSummary: () => Promise<import("naive-ui/es/message").MessageReactive | undefined>;
|
|
781
1434
|
submitFormData: (o: import("../../shared/types").AnyObject) => Promise<void>;
|
|
782
1435
|
handleGroupName: () => Promise<void>;
|
|
783
1436
|
handleAvatar: (options: import("./src/types").FileOptions) => Promise<void>;
|
|
@@ -858,8 +1511,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
858
1511
|
}> & {}>;
|
|
859
1512
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
860
1513
|
state: {
|
|
861
|
-
|
|
862
|
-
|
|
1514
|
+
[x: string]: any;
|
|
1515
|
+
orgId: string;
|
|
1516
|
+
currentSessionItem: {
|
|
1517
|
+
id: string;
|
|
1518
|
+
sessionKey: string;
|
|
1519
|
+
receiver: string;
|
|
1520
|
+
createdTime: string;
|
|
1521
|
+
avatar: string;
|
|
1522
|
+
name: string;
|
|
1523
|
+
defaultName: string;
|
|
1524
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1525
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1526
|
+
status: import("./src/constants").STATUS;
|
|
1527
|
+
sortTime: string;
|
|
1528
|
+
topping: boolean;
|
|
1529
|
+
unreadNum: number;
|
|
1530
|
+
updatedTime: string;
|
|
1531
|
+
lastMessageContent: string;
|
|
1532
|
+
sender?: string | undefined;
|
|
1533
|
+
lastMessageId?: string | undefined;
|
|
1534
|
+
lastMessage?: {
|
|
1535
|
+
[x: string]: any;
|
|
1536
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1537
|
+
msg: string;
|
|
1538
|
+
referenceContent?: any;
|
|
1539
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1540
|
+
messageTemplate?: any;
|
|
1541
|
+
messageTemplateData?: any;
|
|
1542
|
+
fileUrl?: string | undefined;
|
|
1543
|
+
avStatus?: string | undefined;
|
|
1544
|
+
} | undefined;
|
|
1545
|
+
lastMessageSendTime?: string | undefined;
|
|
1546
|
+
lastMessageStatus?: string | undefined;
|
|
1547
|
+
lastSenderName?: string | undefined;
|
|
1548
|
+
businessInfo?: {
|
|
1549
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1550
|
+
topicInfo?: {
|
|
1551
|
+
[x: string]: any;
|
|
1552
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1556
|
+
notDisturb: boolean;
|
|
1557
|
+
};
|
|
863
1558
|
id: string;
|
|
864
1559
|
userInfo: import("../../shared/types").AnyObject;
|
|
865
1560
|
msgList: {
|
|
@@ -868,7 +1563,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
868
1563
|
sessionKey: string;
|
|
869
1564
|
content: {
|
|
870
1565
|
[x: string]: any;
|
|
871
|
-
chatMessageType:
|
|
1566
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
872
1567
|
msg: string;
|
|
873
1568
|
referenceContent?: any;
|
|
874
1569
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -886,11 +1581,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
886
1581
|
__time?: string | undefined;
|
|
887
1582
|
__sendTime?: string | undefined;
|
|
888
1583
|
}[];
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
1584
|
+
sessionList: {
|
|
1585
|
+
id: string;
|
|
1586
|
+
sessionKey: string;
|
|
1587
|
+
receiver: string;
|
|
1588
|
+
createdTime: string;
|
|
1589
|
+
avatar: string;
|
|
1590
|
+
name: string;
|
|
1591
|
+
defaultName: string;
|
|
1592
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1593
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1594
|
+
status: import("./src/constants").STATUS;
|
|
1595
|
+
sortTime: string;
|
|
1596
|
+
topping: boolean;
|
|
1597
|
+
unreadNum: number;
|
|
1598
|
+
updatedTime: string;
|
|
1599
|
+
lastMessageContent: string;
|
|
1600
|
+
sender?: string | undefined;
|
|
1601
|
+
lastMessageId?: string | undefined;
|
|
1602
|
+
lastMessage?: {
|
|
1603
|
+
[x: string]: any;
|
|
1604
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1605
|
+
msg: string;
|
|
1606
|
+
referenceContent?: any;
|
|
1607
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1608
|
+
messageTemplate?: any;
|
|
1609
|
+
messageTemplateData?: any;
|
|
1610
|
+
fileUrl?: string | undefined;
|
|
1611
|
+
avStatus?: string | undefined;
|
|
1612
|
+
} | undefined;
|
|
1613
|
+
lastMessageSendTime?: string | undefined;
|
|
1614
|
+
lastMessageStatus?: string | undefined;
|
|
1615
|
+
lastSenderName?: string | undefined;
|
|
1616
|
+
businessInfo?: {
|
|
1617
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1618
|
+
topicInfo?: {
|
|
1619
|
+
[x: string]: any;
|
|
1620
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1621
|
+
} | undefined;
|
|
1622
|
+
} | undefined;
|
|
1623
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1624
|
+
notDisturb: boolean;
|
|
1625
|
+
}[];
|
|
892
1626
|
isChangeSession: boolean;
|
|
893
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
894
1627
|
isUpdateSession: boolean;
|
|
895
1628
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
896
1629
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -908,6 +1641,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
908
1641
|
info: import("../../shared/types").AnyObject | null;
|
|
909
1642
|
};
|
|
910
1643
|
isForward: boolean;
|
|
1644
|
+
loading: boolean;
|
|
911
1645
|
};
|
|
912
1646
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
913
1647
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -923,25 +1657,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
923
1657
|
handleInput: () => void;
|
|
924
1658
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
925
1659
|
sessionList: import("vue").ComputedRef<{
|
|
926
|
-
id:
|
|
927
|
-
name:
|
|
928
|
-
avatar:
|
|
929
|
-
chatType:
|
|
930
|
-
roleInfo:
|
|
1660
|
+
id: string;
|
|
1661
|
+
name: string;
|
|
1662
|
+
avatar: string;
|
|
1663
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1664
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
931
1665
|
}[]>;
|
|
932
1666
|
friends: import("vue").ComputedRef<{
|
|
933
|
-
id:
|
|
934
|
-
name:
|
|
935
|
-
avatar:
|
|
936
|
-
chatType:
|
|
937
|
-
roleInfo:
|
|
1667
|
+
id: string;
|
|
1668
|
+
name: string;
|
|
1669
|
+
avatar: string;
|
|
1670
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1671
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
938
1672
|
}[]>;
|
|
939
1673
|
groups: import("vue").ComputedRef<{
|
|
940
|
-
id:
|
|
941
|
-
name:
|
|
942
|
-
avatar:
|
|
943
|
-
chatType:
|
|
944
|
-
roleInfo:
|
|
1674
|
+
id: string;
|
|
1675
|
+
name: string;
|
|
1676
|
+
avatar: string;
|
|
1677
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1678
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
945
1679
|
}[]>;
|
|
946
1680
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
947
1681
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -1038,8 +1772,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1038
1772
|
}>> & Readonly<{}> & {}>;
|
|
1039
1773
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
1040
1774
|
state: {
|
|
1041
|
-
|
|
1042
|
-
|
|
1775
|
+
[x: string]: any;
|
|
1776
|
+
orgId: string;
|
|
1777
|
+
currentSessionItem: {
|
|
1778
|
+
id: string;
|
|
1779
|
+
sessionKey: string;
|
|
1780
|
+
receiver: string;
|
|
1781
|
+
createdTime: string;
|
|
1782
|
+
avatar: string;
|
|
1783
|
+
name: string;
|
|
1784
|
+
defaultName: string;
|
|
1785
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1786
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1787
|
+
status: import("./src/constants").STATUS;
|
|
1788
|
+
sortTime: string;
|
|
1789
|
+
topping: boolean;
|
|
1790
|
+
unreadNum: number;
|
|
1791
|
+
updatedTime: string;
|
|
1792
|
+
lastMessageContent: string;
|
|
1793
|
+
sender?: string | undefined;
|
|
1794
|
+
lastMessageId?: string | undefined;
|
|
1795
|
+
lastMessage?: {
|
|
1796
|
+
[x: string]: any;
|
|
1797
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1798
|
+
msg: string;
|
|
1799
|
+
referenceContent?: any;
|
|
1800
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1801
|
+
messageTemplate?: any;
|
|
1802
|
+
messageTemplateData?: any;
|
|
1803
|
+
fileUrl?: string | undefined;
|
|
1804
|
+
avStatus?: string | undefined;
|
|
1805
|
+
} | undefined;
|
|
1806
|
+
lastMessageSendTime?: string | undefined;
|
|
1807
|
+
lastMessageStatus?: string | undefined;
|
|
1808
|
+
lastSenderName?: string | undefined;
|
|
1809
|
+
businessInfo?: {
|
|
1810
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1811
|
+
topicInfo?: {
|
|
1812
|
+
[x: string]: any;
|
|
1813
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1814
|
+
} | undefined;
|
|
1815
|
+
} | undefined;
|
|
1816
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1817
|
+
notDisturb: boolean;
|
|
1818
|
+
};
|
|
1043
1819
|
id: string;
|
|
1044
1820
|
userInfo: import("../../shared/types").AnyObject;
|
|
1045
1821
|
msgList: {
|
|
@@ -1048,7 +1824,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1048
1824
|
sessionKey: string;
|
|
1049
1825
|
content: {
|
|
1050
1826
|
[x: string]: any;
|
|
1051
|
-
chatMessageType:
|
|
1827
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1052
1828
|
msg: string;
|
|
1053
1829
|
referenceContent?: any;
|
|
1054
1830
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -1066,11 +1842,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1066
1842
|
__time?: string | undefined;
|
|
1067
1843
|
__sendTime?: string | undefined;
|
|
1068
1844
|
}[];
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1845
|
+
sessionList: {
|
|
1846
|
+
id: string;
|
|
1847
|
+
sessionKey: string;
|
|
1848
|
+
receiver: string;
|
|
1849
|
+
createdTime: string;
|
|
1850
|
+
avatar: string;
|
|
1851
|
+
name: string;
|
|
1852
|
+
defaultName: string;
|
|
1853
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
1854
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1855
|
+
status: import("./src/constants").STATUS;
|
|
1856
|
+
sortTime: string;
|
|
1857
|
+
topping: boolean;
|
|
1858
|
+
unreadNum: number;
|
|
1859
|
+
updatedTime: string;
|
|
1860
|
+
lastMessageContent: string;
|
|
1861
|
+
sender?: string | undefined;
|
|
1862
|
+
lastMessageId?: string | undefined;
|
|
1863
|
+
lastMessage?: {
|
|
1864
|
+
[x: string]: any;
|
|
1865
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1866
|
+
msg: string;
|
|
1867
|
+
referenceContent?: any;
|
|
1868
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1869
|
+
messageTemplate?: any;
|
|
1870
|
+
messageTemplateData?: any;
|
|
1871
|
+
fileUrl?: string | undefined;
|
|
1872
|
+
avStatus?: string | undefined;
|
|
1873
|
+
} | undefined;
|
|
1874
|
+
lastMessageSendTime?: string | undefined;
|
|
1875
|
+
lastMessageStatus?: string | undefined;
|
|
1876
|
+
lastSenderName?: string | undefined;
|
|
1877
|
+
businessInfo?: {
|
|
1878
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
1879
|
+
topicInfo?: {
|
|
1880
|
+
[x: string]: any;
|
|
1881
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
} | undefined;
|
|
1884
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
1885
|
+
notDisturb: boolean;
|
|
1886
|
+
}[];
|
|
1072
1887
|
isChangeSession: boolean;
|
|
1073
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
1074
1888
|
isUpdateSession: boolean;
|
|
1075
1889
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
1076
1890
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -1088,6 +1902,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1088
1902
|
info: import("../../shared/types").AnyObject | null;
|
|
1089
1903
|
};
|
|
1090
1904
|
isForward: boolean;
|
|
1905
|
+
loading: boolean;
|
|
1091
1906
|
};
|
|
1092
1907
|
relayMessage: (param: {
|
|
1093
1908
|
checkedIds: string[];
|
|
@@ -1226,8 +2041,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1226
2041
|
}> & {}>;
|
|
1227
2042
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
1228
2043
|
state: {
|
|
1229
|
-
|
|
1230
|
-
|
|
2044
|
+
[x: string]: any;
|
|
2045
|
+
orgId: string;
|
|
2046
|
+
currentSessionItem: {
|
|
2047
|
+
id: string;
|
|
2048
|
+
sessionKey: string;
|
|
2049
|
+
receiver: string;
|
|
2050
|
+
createdTime: string;
|
|
2051
|
+
avatar: string;
|
|
2052
|
+
name: string;
|
|
2053
|
+
defaultName: string;
|
|
2054
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2055
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2056
|
+
status: import("./src/constants").STATUS;
|
|
2057
|
+
sortTime: string;
|
|
2058
|
+
topping: boolean;
|
|
2059
|
+
unreadNum: number;
|
|
2060
|
+
updatedTime: string;
|
|
2061
|
+
lastMessageContent: string;
|
|
2062
|
+
sender?: string | undefined;
|
|
2063
|
+
lastMessageId?: string | undefined;
|
|
2064
|
+
lastMessage?: {
|
|
2065
|
+
[x: string]: any;
|
|
2066
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2067
|
+
msg: string;
|
|
2068
|
+
referenceContent?: any;
|
|
2069
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2070
|
+
messageTemplate?: any;
|
|
2071
|
+
messageTemplateData?: any;
|
|
2072
|
+
fileUrl?: string | undefined;
|
|
2073
|
+
avStatus?: string | undefined;
|
|
2074
|
+
} | undefined;
|
|
2075
|
+
lastMessageSendTime?: string | undefined;
|
|
2076
|
+
lastMessageStatus?: string | undefined;
|
|
2077
|
+
lastSenderName?: string | undefined;
|
|
2078
|
+
businessInfo?: {
|
|
2079
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
2080
|
+
topicInfo?: {
|
|
2081
|
+
[x: string]: any;
|
|
2082
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
2083
|
+
} | undefined;
|
|
2084
|
+
} | undefined;
|
|
2085
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2086
|
+
notDisturb: boolean;
|
|
2087
|
+
};
|
|
1231
2088
|
id: string;
|
|
1232
2089
|
userInfo: import("../../shared/types").AnyObject;
|
|
1233
2090
|
msgList: {
|
|
@@ -1236,7 +2093,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1236
2093
|
sessionKey: string;
|
|
1237
2094
|
content: {
|
|
1238
2095
|
[x: string]: any;
|
|
1239
|
-
chatMessageType:
|
|
2096
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1240
2097
|
msg: string;
|
|
1241
2098
|
referenceContent?: any;
|
|
1242
2099
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -1254,18 +2111,56 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1254
2111
|
__time?: string | undefined;
|
|
1255
2112
|
__sendTime?: string | undefined;
|
|
1256
2113
|
}[];
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
2114
|
+
sessionList: {
|
|
2115
|
+
id: string;
|
|
2116
|
+
sessionKey: string;
|
|
2117
|
+
receiver: string;
|
|
2118
|
+
createdTime: string;
|
|
2119
|
+
avatar: string;
|
|
2120
|
+
name: string;
|
|
2121
|
+
defaultName: string;
|
|
2122
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2123
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2124
|
+
status: import("./src/constants").STATUS;
|
|
2125
|
+
sortTime: string;
|
|
2126
|
+
topping: boolean;
|
|
2127
|
+
unreadNum: number;
|
|
2128
|
+
updatedTime: string;
|
|
2129
|
+
lastMessageContent: string;
|
|
2130
|
+
sender?: string | undefined;
|
|
2131
|
+
lastMessageId?: string | undefined;
|
|
2132
|
+
lastMessage?: {
|
|
2133
|
+
[x: string]: any;
|
|
2134
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2135
|
+
msg: string;
|
|
2136
|
+
referenceContent?: any;
|
|
2137
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2138
|
+
messageTemplate?: any;
|
|
2139
|
+
messageTemplateData?: any;
|
|
2140
|
+
fileUrl?: string | undefined;
|
|
2141
|
+
avStatus?: string | undefined;
|
|
2142
|
+
} | undefined;
|
|
2143
|
+
lastMessageSendTime?: string | undefined;
|
|
2144
|
+
lastMessageStatus?: string | undefined;
|
|
2145
|
+
lastSenderName?: string | undefined;
|
|
2146
|
+
businessInfo?: {
|
|
2147
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
2148
|
+
topicInfo?: {
|
|
2149
|
+
[x: string]: any;
|
|
2150
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
2151
|
+
} | undefined;
|
|
2152
|
+
} | undefined;
|
|
2153
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2154
|
+
notDisturb: boolean;
|
|
2155
|
+
}[];
|
|
2156
|
+
isChangeSession: boolean;
|
|
2157
|
+
isUpdateSession: boolean;
|
|
2158
|
+
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
2159
|
+
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
2160
|
+
showVideo: boolean;
|
|
2161
|
+
currentAVMsg: import("../../shared/types").AnyObject;
|
|
2162
|
+
currentGroupUser: import("../../shared/types").AnyObject[];
|
|
2163
|
+
showMultipleVideo: boolean;
|
|
1269
2164
|
userDetail: {
|
|
1270
2165
|
show: boolean;
|
|
1271
2166
|
position: {
|
|
@@ -1276,6 +2171,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1276
2171
|
info: import("../../shared/types").AnyObject | null;
|
|
1277
2172
|
};
|
|
1278
2173
|
isForward: boolean;
|
|
2174
|
+
loading: boolean;
|
|
1279
2175
|
};
|
|
1280
2176
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
1281
2177
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -1291,25 +2187,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1291
2187
|
handleInput: () => void;
|
|
1292
2188
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
1293
2189
|
sessionList: import("vue").ComputedRef<{
|
|
1294
|
-
id:
|
|
1295
|
-
name:
|
|
1296
|
-
avatar:
|
|
1297
|
-
chatType:
|
|
1298
|
-
roleInfo:
|
|
2190
|
+
id: string;
|
|
2191
|
+
name: string;
|
|
2192
|
+
avatar: string;
|
|
2193
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2194
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1299
2195
|
}[]>;
|
|
1300
2196
|
friends: import("vue").ComputedRef<{
|
|
1301
|
-
id:
|
|
1302
|
-
name:
|
|
1303
|
-
avatar:
|
|
1304
|
-
chatType:
|
|
1305
|
-
roleInfo:
|
|
2197
|
+
id: string;
|
|
2198
|
+
name: string;
|
|
2199
|
+
avatar: string;
|
|
2200
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2201
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1306
2202
|
}[]>;
|
|
1307
2203
|
groups: import("vue").ComputedRef<{
|
|
1308
|
-
id:
|
|
1309
|
-
name:
|
|
1310
|
-
avatar:
|
|
1311
|
-
chatType:
|
|
1312
|
-
roleInfo:
|
|
2204
|
+
id: string;
|
|
2205
|
+
name: string;
|
|
2206
|
+
avatar: string;
|
|
2207
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2208
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1313
2209
|
}[]>;
|
|
1314
2210
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
1315
2211
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -1529,8 +2425,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1529
2425
|
};
|
|
1530
2426
|
}>> & Readonly<{}> & {}>;
|
|
1531
2427
|
state: {
|
|
1532
|
-
|
|
1533
|
-
|
|
2428
|
+
[x: string]: any;
|
|
2429
|
+
orgId: string;
|
|
2430
|
+
currentSessionItem: {
|
|
2431
|
+
id: string;
|
|
2432
|
+
sessionKey: string;
|
|
2433
|
+
receiver: string;
|
|
2434
|
+
createdTime: string;
|
|
2435
|
+
avatar: string;
|
|
2436
|
+
name: string;
|
|
2437
|
+
defaultName: string;
|
|
2438
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2439
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2440
|
+
status: import("./src/constants").STATUS;
|
|
2441
|
+
sortTime: string;
|
|
2442
|
+
topping: boolean;
|
|
2443
|
+
unreadNum: number;
|
|
2444
|
+
updatedTime: string;
|
|
2445
|
+
lastMessageContent: string;
|
|
2446
|
+
sender?: string | undefined;
|
|
2447
|
+
lastMessageId?: string | undefined;
|
|
2448
|
+
lastMessage?: {
|
|
2449
|
+
[x: string]: any;
|
|
2450
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2451
|
+
msg: string;
|
|
2452
|
+
referenceContent?: any;
|
|
2453
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2454
|
+
messageTemplate?: any;
|
|
2455
|
+
messageTemplateData?: any;
|
|
2456
|
+
fileUrl?: string | undefined;
|
|
2457
|
+
avStatus?: string | undefined;
|
|
2458
|
+
} | undefined;
|
|
2459
|
+
lastMessageSendTime?: string | undefined;
|
|
2460
|
+
lastMessageStatus?: string | undefined;
|
|
2461
|
+
lastSenderName?: string | undefined;
|
|
2462
|
+
businessInfo?: {
|
|
2463
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
2464
|
+
topicInfo?: {
|
|
2465
|
+
[x: string]: any;
|
|
2466
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
2467
|
+
} | undefined;
|
|
2468
|
+
} | undefined;
|
|
2469
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2470
|
+
notDisturb: boolean;
|
|
2471
|
+
};
|
|
1534
2472
|
id: string;
|
|
1535
2473
|
userInfo: import("../../shared/types").AnyObject;
|
|
1536
2474
|
msgList: {
|
|
@@ -1539,7 +2477,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1539
2477
|
sessionKey: string;
|
|
1540
2478
|
content: {
|
|
1541
2479
|
[x: string]: any;
|
|
1542
|
-
chatMessageType:
|
|
2480
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1543
2481
|
msg: string;
|
|
1544
2482
|
referenceContent?: any;
|
|
1545
2483
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -1557,11 +2495,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1557
2495
|
__time?: string | undefined;
|
|
1558
2496
|
__sendTime?: string | undefined;
|
|
1559
2497
|
}[];
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
2498
|
+
sessionList: {
|
|
2499
|
+
id: string;
|
|
2500
|
+
sessionKey: string;
|
|
2501
|
+
receiver: string;
|
|
2502
|
+
createdTime: string;
|
|
2503
|
+
avatar: string;
|
|
2504
|
+
name: string;
|
|
2505
|
+
defaultName: string;
|
|
2506
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2507
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2508
|
+
status: import("./src/constants").STATUS;
|
|
2509
|
+
sortTime: string;
|
|
2510
|
+
topping: boolean;
|
|
2511
|
+
unreadNum: number;
|
|
2512
|
+
updatedTime: string;
|
|
2513
|
+
lastMessageContent: string;
|
|
2514
|
+
sender?: string | undefined;
|
|
2515
|
+
lastMessageId?: string | undefined;
|
|
2516
|
+
lastMessage?: {
|
|
2517
|
+
[x: string]: any;
|
|
2518
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2519
|
+
msg: string;
|
|
2520
|
+
referenceContent?: any;
|
|
2521
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2522
|
+
messageTemplate?: any;
|
|
2523
|
+
messageTemplateData?: any;
|
|
2524
|
+
fileUrl?: string | undefined;
|
|
2525
|
+
avStatus?: string | undefined;
|
|
2526
|
+
} | undefined;
|
|
2527
|
+
lastMessageSendTime?: string | undefined;
|
|
2528
|
+
lastMessageStatus?: string | undefined;
|
|
2529
|
+
lastSenderName?: string | undefined;
|
|
2530
|
+
businessInfo?: {
|
|
2531
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
2532
|
+
topicInfo?: {
|
|
2533
|
+
[x: string]: any;
|
|
2534
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
2535
|
+
} | undefined;
|
|
2536
|
+
} | undefined;
|
|
2537
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2538
|
+
notDisturb: boolean;
|
|
2539
|
+
}[];
|
|
1563
2540
|
isChangeSession: boolean;
|
|
1564
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
1565
2541
|
isUpdateSession: boolean;
|
|
1566
2542
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
1567
2543
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -1579,6 +2555,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1579
2555
|
info: import("../../shared/types").AnyObject | null;
|
|
1580
2556
|
};
|
|
1581
2557
|
isForward: boolean;
|
|
2558
|
+
loading: boolean;
|
|
1582
2559
|
};
|
|
1583
2560
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
1584
2561
|
recordRef: import("vue").Ref<any, any>;
|
|
@@ -1647,6 +2624,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1647
2624
|
isDateDisabled: {
|
|
1648
2625
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1649
2626
|
};
|
|
2627
|
+
propKey: {
|
|
2628
|
+
type: StringConstructor;
|
|
2629
|
+
};
|
|
2630
|
+
shortcutListenerConfig: {
|
|
2631
|
+
type: import("vue").PropType<{
|
|
2632
|
+
enable: boolean;
|
|
2633
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
2634
|
+
}>;
|
|
2635
|
+
};
|
|
1650
2636
|
}>, {
|
|
1651
2637
|
attrs: {
|
|
1652
2638
|
[x: string]: unknown;
|
|
@@ -1686,6 +2672,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1686
2672
|
isDateDisabled: {
|
|
1687
2673
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1688
2674
|
};
|
|
2675
|
+
propKey: {
|
|
2676
|
+
type: StringConstructor;
|
|
2677
|
+
};
|
|
2678
|
+
shortcutListenerConfig: {
|
|
2679
|
+
type: import("vue").PropType<{
|
|
2680
|
+
enable: boolean;
|
|
2681
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
2682
|
+
}>;
|
|
2683
|
+
};
|
|
1689
2684
|
}>> & Readonly<{
|
|
1690
2685
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1691
2686
|
}> & {}>;
|
|
@@ -1702,6 +2697,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1702
2697
|
focus: () => any;
|
|
1703
2698
|
blur: () => any;
|
|
1704
2699
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
2700
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
1705
2701
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1706
2702
|
watchers: import("../../shared/types").AnyFn[];
|
|
1707
2703
|
stopWatcher: () => void;
|
|
@@ -1745,6 +2741,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1745
2741
|
isDateDisabled: {
|
|
1746
2742
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1747
2743
|
};
|
|
2744
|
+
propKey: {
|
|
2745
|
+
type: StringConstructor;
|
|
2746
|
+
};
|
|
2747
|
+
shortcutListenerConfig: {
|
|
2748
|
+
type: import("vue").PropType<{
|
|
2749
|
+
enable: boolean;
|
|
2750
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
2751
|
+
}>;
|
|
2752
|
+
};
|
|
1748
2753
|
}>> & Readonly<{
|
|
1749
2754
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1750
2755
|
}>, {
|
|
@@ -1785,8 +2790,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1785
2790
|
};
|
|
1786
2791
|
}>> & Readonly<{}> & {}>;
|
|
1787
2792
|
state: {
|
|
1788
|
-
|
|
1789
|
-
|
|
2793
|
+
[x: string]: any;
|
|
2794
|
+
orgId: string;
|
|
2795
|
+
currentSessionItem: {
|
|
2796
|
+
id: string;
|
|
2797
|
+
sessionKey: string;
|
|
2798
|
+
receiver: string;
|
|
2799
|
+
createdTime: string;
|
|
2800
|
+
avatar: string;
|
|
2801
|
+
name: string;
|
|
2802
|
+
defaultName: string;
|
|
2803
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2804
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2805
|
+
status: import("./src/constants").STATUS;
|
|
2806
|
+
sortTime: string;
|
|
2807
|
+
topping: boolean;
|
|
2808
|
+
unreadNum: number;
|
|
2809
|
+
updatedTime: string;
|
|
2810
|
+
lastMessageContent: string;
|
|
2811
|
+
sender?: string | undefined;
|
|
2812
|
+
lastMessageId?: string | undefined;
|
|
2813
|
+
lastMessage?: {
|
|
2814
|
+
[x: string]: any;
|
|
2815
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2816
|
+
msg: string;
|
|
2817
|
+
referenceContent?: any;
|
|
2818
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2819
|
+
messageTemplate?: any;
|
|
2820
|
+
messageTemplateData?: any;
|
|
2821
|
+
fileUrl?: string | undefined;
|
|
2822
|
+
avStatus?: string | undefined;
|
|
2823
|
+
} | undefined;
|
|
2824
|
+
lastMessageSendTime?: string | undefined;
|
|
2825
|
+
lastMessageStatus?: string | undefined;
|
|
2826
|
+
lastSenderName?: string | undefined;
|
|
2827
|
+
businessInfo?: {
|
|
2828
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
2829
|
+
topicInfo?: {
|
|
2830
|
+
[x: string]: any;
|
|
2831
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
2832
|
+
} | undefined;
|
|
2833
|
+
} | undefined;
|
|
2834
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2835
|
+
notDisturb: boolean;
|
|
2836
|
+
};
|
|
1790
2837
|
id: string;
|
|
1791
2838
|
userInfo: import("../../shared/types").AnyObject;
|
|
1792
2839
|
msgList: {
|
|
@@ -1795,7 +2842,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1795
2842
|
sessionKey: string;
|
|
1796
2843
|
content: {
|
|
1797
2844
|
[x: string]: any;
|
|
1798
|
-
chatMessageType:
|
|
2845
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1799
2846
|
msg: string;
|
|
1800
2847
|
referenceContent?: any;
|
|
1801
2848
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -1813,11 +2860,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1813
2860
|
__time?: string | undefined;
|
|
1814
2861
|
__sendTime?: string | undefined;
|
|
1815
2862
|
}[];
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
2863
|
+
sessionList: {
|
|
2864
|
+
id: string;
|
|
2865
|
+
sessionKey: string;
|
|
2866
|
+
receiver: string;
|
|
2867
|
+
createdTime: string;
|
|
2868
|
+
avatar: string;
|
|
2869
|
+
name: string;
|
|
2870
|
+
defaultName: string;
|
|
2871
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
2872
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2873
|
+
status: import("./src/constants").STATUS;
|
|
2874
|
+
sortTime: string;
|
|
2875
|
+
topping: boolean;
|
|
2876
|
+
unreadNum: number;
|
|
2877
|
+
updatedTime: string;
|
|
2878
|
+
lastMessageContent: string;
|
|
2879
|
+
sender?: string | undefined;
|
|
2880
|
+
lastMessageId?: string | undefined;
|
|
2881
|
+
lastMessage?: {
|
|
2882
|
+
[x: string]: any;
|
|
2883
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2884
|
+
msg: string;
|
|
2885
|
+
referenceContent?: any;
|
|
2886
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2887
|
+
messageTemplate?: any;
|
|
2888
|
+
messageTemplateData?: any;
|
|
2889
|
+
fileUrl?: string | undefined;
|
|
2890
|
+
avStatus?: string | undefined;
|
|
2891
|
+
} | undefined;
|
|
2892
|
+
lastMessageSendTime?: string | undefined;
|
|
2893
|
+
lastMessageStatus?: string | undefined;
|
|
2894
|
+
lastSenderName?: string | undefined;
|
|
2895
|
+
businessInfo?: {
|
|
2896
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
2897
|
+
topicInfo?: {
|
|
2898
|
+
[x: string]: any;
|
|
2899
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
2900
|
+
} | undefined;
|
|
2901
|
+
} | undefined;
|
|
2902
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
2903
|
+
notDisturb: boolean;
|
|
2904
|
+
}[];
|
|
1819
2905
|
isChangeSession: boolean;
|
|
1820
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
1821
2906
|
isUpdateSession: boolean;
|
|
1822
2907
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
1823
2908
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -1835,6 +2920,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1835
2920
|
info: import("../../shared/types").AnyObject | null;
|
|
1836
2921
|
};
|
|
1837
2922
|
isForward: boolean;
|
|
2923
|
+
loading: boolean;
|
|
1838
2924
|
};
|
|
1839
2925
|
setUserDetail: (event: MouseEvent, userDetail: import("../../shared/types").AnyObject) => void;
|
|
1840
2926
|
inviter: import("vue").Ref<any, any>;
|
|
@@ -1916,8 +3002,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1916
3002
|
}> & {}>;
|
|
1917
3003
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
1918
3004
|
state: {
|
|
1919
|
-
|
|
1920
|
-
|
|
3005
|
+
[x: string]: any;
|
|
3006
|
+
orgId: string;
|
|
3007
|
+
currentSessionItem: {
|
|
3008
|
+
id: string;
|
|
3009
|
+
sessionKey: string;
|
|
3010
|
+
receiver: string;
|
|
3011
|
+
createdTime: string;
|
|
3012
|
+
avatar: string;
|
|
3013
|
+
name: string;
|
|
3014
|
+
defaultName: string;
|
|
3015
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3016
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3017
|
+
status: import("./src/constants").STATUS;
|
|
3018
|
+
sortTime: string;
|
|
3019
|
+
topping: boolean;
|
|
3020
|
+
unreadNum: number;
|
|
3021
|
+
updatedTime: string;
|
|
3022
|
+
lastMessageContent: string;
|
|
3023
|
+
sender?: string | undefined;
|
|
3024
|
+
lastMessageId?: string | undefined;
|
|
3025
|
+
lastMessage?: {
|
|
3026
|
+
[x: string]: any;
|
|
3027
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3028
|
+
msg: string;
|
|
3029
|
+
referenceContent?: any;
|
|
3030
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3031
|
+
messageTemplate?: any;
|
|
3032
|
+
messageTemplateData?: any;
|
|
3033
|
+
fileUrl?: string | undefined;
|
|
3034
|
+
avStatus?: string | undefined;
|
|
3035
|
+
} | undefined;
|
|
3036
|
+
lastMessageSendTime?: string | undefined;
|
|
3037
|
+
lastMessageStatus?: string | undefined;
|
|
3038
|
+
lastSenderName?: string | undefined;
|
|
3039
|
+
businessInfo?: {
|
|
3040
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3041
|
+
topicInfo?: {
|
|
3042
|
+
[x: string]: any;
|
|
3043
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3044
|
+
} | undefined;
|
|
3045
|
+
} | undefined;
|
|
3046
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3047
|
+
notDisturb: boolean;
|
|
3048
|
+
};
|
|
1921
3049
|
id: string;
|
|
1922
3050
|
userInfo: import("../../shared/types").AnyObject;
|
|
1923
3051
|
msgList: {
|
|
@@ -1926,7 +3054,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1926
3054
|
sessionKey: string;
|
|
1927
3055
|
content: {
|
|
1928
3056
|
[x: string]: any;
|
|
1929
|
-
chatMessageType:
|
|
3057
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
1930
3058
|
msg: string;
|
|
1931
3059
|
referenceContent?: any;
|
|
1932
3060
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -1944,11 +3072,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1944
3072
|
__time?: string | undefined;
|
|
1945
3073
|
__sendTime?: string | undefined;
|
|
1946
3074
|
}[];
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
3075
|
+
sessionList: {
|
|
3076
|
+
id: string;
|
|
3077
|
+
sessionKey: string;
|
|
3078
|
+
receiver: string;
|
|
3079
|
+
createdTime: string;
|
|
3080
|
+
avatar: string;
|
|
3081
|
+
name: string;
|
|
3082
|
+
defaultName: string;
|
|
3083
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3084
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3085
|
+
status: import("./src/constants").STATUS;
|
|
3086
|
+
sortTime: string;
|
|
3087
|
+
topping: boolean;
|
|
3088
|
+
unreadNum: number;
|
|
3089
|
+
updatedTime: string;
|
|
3090
|
+
lastMessageContent: string;
|
|
3091
|
+
sender?: string | undefined;
|
|
3092
|
+
lastMessageId?: string | undefined;
|
|
3093
|
+
lastMessage?: {
|
|
3094
|
+
[x: string]: any;
|
|
3095
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3096
|
+
msg: string;
|
|
3097
|
+
referenceContent?: any;
|
|
3098
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3099
|
+
messageTemplate?: any;
|
|
3100
|
+
messageTemplateData?: any;
|
|
3101
|
+
fileUrl?: string | undefined;
|
|
3102
|
+
avStatus?: string | undefined;
|
|
3103
|
+
} | undefined;
|
|
3104
|
+
lastMessageSendTime?: string | undefined;
|
|
3105
|
+
lastMessageStatus?: string | undefined;
|
|
3106
|
+
lastSenderName?: string | undefined;
|
|
3107
|
+
businessInfo?: {
|
|
3108
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3109
|
+
topicInfo?: {
|
|
3110
|
+
[x: string]: any;
|
|
3111
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3112
|
+
} | undefined;
|
|
3113
|
+
} | undefined;
|
|
3114
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3115
|
+
notDisturb: boolean;
|
|
3116
|
+
}[];
|
|
1950
3117
|
isChangeSession: boolean;
|
|
1951
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
1952
3118
|
isUpdateSession: boolean;
|
|
1953
3119
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
1954
3120
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -1966,6 +3132,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1966
3132
|
info: import("../../shared/types").AnyObject | null;
|
|
1967
3133
|
};
|
|
1968
3134
|
isForward: boolean;
|
|
3135
|
+
loading: boolean;
|
|
1969
3136
|
};
|
|
1970
3137
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
1971
3138
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -1981,25 +3148,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1981
3148
|
handleInput: () => void;
|
|
1982
3149
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
1983
3150
|
sessionList: import("vue").ComputedRef<{
|
|
1984
|
-
id:
|
|
1985
|
-
name:
|
|
1986
|
-
avatar:
|
|
1987
|
-
chatType:
|
|
1988
|
-
roleInfo:
|
|
3151
|
+
id: string;
|
|
3152
|
+
name: string;
|
|
3153
|
+
avatar: string;
|
|
3154
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3155
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1989
3156
|
}[]>;
|
|
1990
3157
|
friends: import("vue").ComputedRef<{
|
|
1991
|
-
id:
|
|
1992
|
-
name:
|
|
1993
|
-
avatar:
|
|
1994
|
-
chatType:
|
|
1995
|
-
roleInfo:
|
|
3158
|
+
id: string;
|
|
3159
|
+
name: string;
|
|
3160
|
+
avatar: string;
|
|
3161
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3162
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
1996
3163
|
}[]>;
|
|
1997
3164
|
groups: import("vue").ComputedRef<{
|
|
1998
|
-
id:
|
|
1999
|
-
name:
|
|
2000
|
-
avatar:
|
|
2001
|
-
chatType:
|
|
2002
|
-
roleInfo:
|
|
3165
|
+
id: string;
|
|
3166
|
+
name: string;
|
|
3167
|
+
avatar: string;
|
|
3168
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3169
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2003
3170
|
}[]>;
|
|
2004
3171
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
2005
3172
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -2083,8 +3250,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2083
3250
|
ChatMain: import("vue").DefineComponent<{}, {
|
|
2084
3251
|
chatMainRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2085
3252
|
state: {
|
|
2086
|
-
|
|
2087
|
-
|
|
3253
|
+
[x: string]: any;
|
|
3254
|
+
orgId: string;
|
|
3255
|
+
currentSessionItem: {
|
|
3256
|
+
id: string;
|
|
3257
|
+
sessionKey: string;
|
|
3258
|
+
receiver: string;
|
|
3259
|
+
createdTime: string;
|
|
3260
|
+
avatar: string;
|
|
3261
|
+
name: string;
|
|
3262
|
+
defaultName: string;
|
|
3263
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3264
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3265
|
+
status: import("./src/constants").STATUS;
|
|
3266
|
+
sortTime: string;
|
|
3267
|
+
topping: boolean;
|
|
3268
|
+
unreadNum: number;
|
|
3269
|
+
updatedTime: string;
|
|
3270
|
+
lastMessageContent: string;
|
|
3271
|
+
sender?: string | undefined;
|
|
3272
|
+
lastMessageId?: string | undefined;
|
|
3273
|
+
lastMessage?: {
|
|
3274
|
+
[x: string]: any;
|
|
3275
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3276
|
+
msg: string;
|
|
3277
|
+
referenceContent?: any;
|
|
3278
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3279
|
+
messageTemplate?: any;
|
|
3280
|
+
messageTemplateData?: any;
|
|
3281
|
+
fileUrl?: string | undefined;
|
|
3282
|
+
avStatus?: string | undefined;
|
|
3283
|
+
} | undefined;
|
|
3284
|
+
lastMessageSendTime?: string | undefined;
|
|
3285
|
+
lastMessageStatus?: string | undefined;
|
|
3286
|
+
lastSenderName?: string | undefined;
|
|
3287
|
+
businessInfo?: {
|
|
3288
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3289
|
+
topicInfo?: {
|
|
3290
|
+
[x: string]: any;
|
|
3291
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3292
|
+
} | undefined;
|
|
3293
|
+
} | undefined;
|
|
3294
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3295
|
+
notDisturb: boolean;
|
|
3296
|
+
};
|
|
2088
3297
|
id: string;
|
|
2089
3298
|
userInfo: import("../../shared/types").AnyObject;
|
|
2090
3299
|
msgList: {
|
|
@@ -2093,7 +3302,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2093
3302
|
sessionKey: string;
|
|
2094
3303
|
content: {
|
|
2095
3304
|
[x: string]: any;
|
|
2096
|
-
chatMessageType:
|
|
3305
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2097
3306
|
msg: string;
|
|
2098
3307
|
referenceContent?: any;
|
|
2099
3308
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -2111,11 +3320,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2111
3320
|
__time?: string | undefined;
|
|
2112
3321
|
__sendTime?: string | undefined;
|
|
2113
3322
|
}[];
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
3323
|
+
sessionList: {
|
|
3324
|
+
id: string;
|
|
3325
|
+
sessionKey: string;
|
|
3326
|
+
receiver: string;
|
|
3327
|
+
createdTime: string;
|
|
3328
|
+
avatar: string;
|
|
3329
|
+
name: string;
|
|
3330
|
+
defaultName: string;
|
|
3331
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3332
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3333
|
+
status: import("./src/constants").STATUS;
|
|
3334
|
+
sortTime: string;
|
|
3335
|
+
topping: boolean;
|
|
3336
|
+
unreadNum: number;
|
|
3337
|
+
updatedTime: string;
|
|
3338
|
+
lastMessageContent: string;
|
|
3339
|
+
sender?: string | undefined;
|
|
3340
|
+
lastMessageId?: string | undefined;
|
|
3341
|
+
lastMessage?: {
|
|
3342
|
+
[x: string]: any;
|
|
3343
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3344
|
+
msg: string;
|
|
3345
|
+
referenceContent?: any;
|
|
3346
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3347
|
+
messageTemplate?: any;
|
|
3348
|
+
messageTemplateData?: any;
|
|
3349
|
+
fileUrl?: string | undefined;
|
|
3350
|
+
avStatus?: string | undefined;
|
|
3351
|
+
} | undefined;
|
|
3352
|
+
lastMessageSendTime?: string | undefined;
|
|
3353
|
+
lastMessageStatus?: string | undefined;
|
|
3354
|
+
lastSenderName?: string | undefined;
|
|
3355
|
+
businessInfo?: {
|
|
3356
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3357
|
+
topicInfo?: {
|
|
3358
|
+
[x: string]: any;
|
|
3359
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3360
|
+
} | undefined;
|
|
3361
|
+
} | undefined;
|
|
3362
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3363
|
+
notDisturb: boolean;
|
|
3364
|
+
}[];
|
|
2117
3365
|
isChangeSession: boolean;
|
|
2118
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
2119
3366
|
isUpdateSession: boolean;
|
|
2120
3367
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
2121
3368
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -2133,6 +3380,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2133
3380
|
info: import("../../shared/types").AnyObject | null;
|
|
2134
3381
|
};
|
|
2135
3382
|
isForward: boolean;
|
|
3383
|
+
loading: boolean;
|
|
2136
3384
|
};
|
|
2137
3385
|
setMsgList: (list?: import("../../shared/types").AnyObject[] | import("./src/types").MsgListItem) => void;
|
|
2138
3386
|
relayMessage: (param: {
|
|
@@ -2184,7 +3432,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2184
3432
|
showTemplateMsg: (item: import("../../shared/types").AnyObject, type: "template" | "system") => boolean | undefined;
|
|
2185
3433
|
isTemplate3: (content: import("../../shared/types").AnyObject) => boolean;
|
|
2186
3434
|
needShowTime: (item: import("../../shared/types").AnyObject, index: number) => boolean;
|
|
2187
|
-
setScrollToButtom: () => Promise<void>;
|
|
2188
3435
|
resetInfo: () => void;
|
|
2189
3436
|
setReferenceMsg: (msgItem: import("../../shared/types").AnyObject) => void;
|
|
2190
3437
|
handleSelect: (key: string, msgItem: import("../../shared/types").AnyObject) => void;
|
|
@@ -2200,6 +3447,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2200
3447
|
readonly NButton: any;
|
|
2201
3448
|
readonly NSpace: any;
|
|
2202
3449
|
readonly NCheckbox: any;
|
|
3450
|
+
readonly NFlex: any;
|
|
3451
|
+
readonly NSpin: any;
|
|
2203
3452
|
readonly isArray: {
|
|
2204
3453
|
(value?: any): value is any[];
|
|
2205
3454
|
<T_1>(value?: any): value is any[];
|
|
@@ -2291,8 +3540,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2291
3540
|
};
|
|
2292
3541
|
}>> & Readonly<{}> & {}>;
|
|
2293
3542
|
state: {
|
|
2294
|
-
|
|
2295
|
-
|
|
3543
|
+
[x: string]: any;
|
|
3544
|
+
orgId: string;
|
|
3545
|
+
currentSessionItem: {
|
|
3546
|
+
id: string;
|
|
3547
|
+
sessionKey: string;
|
|
3548
|
+
receiver: string;
|
|
3549
|
+
createdTime: string;
|
|
3550
|
+
avatar: string;
|
|
3551
|
+
name: string;
|
|
3552
|
+
defaultName: string;
|
|
3553
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3554
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3555
|
+
status: import("./src/constants").STATUS;
|
|
3556
|
+
sortTime: string;
|
|
3557
|
+
topping: boolean;
|
|
3558
|
+
unreadNum: number;
|
|
3559
|
+
updatedTime: string;
|
|
3560
|
+
lastMessageContent: string;
|
|
3561
|
+
sender?: string | undefined;
|
|
3562
|
+
lastMessageId?: string | undefined;
|
|
3563
|
+
lastMessage?: {
|
|
3564
|
+
[x: string]: any;
|
|
3565
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3566
|
+
msg: string;
|
|
3567
|
+
referenceContent?: any;
|
|
3568
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3569
|
+
messageTemplate?: any;
|
|
3570
|
+
messageTemplateData?: any;
|
|
3571
|
+
fileUrl?: string | undefined;
|
|
3572
|
+
avStatus?: string | undefined;
|
|
3573
|
+
} | undefined;
|
|
3574
|
+
lastMessageSendTime?: string | undefined;
|
|
3575
|
+
lastMessageStatus?: string | undefined;
|
|
3576
|
+
lastSenderName?: string | undefined;
|
|
3577
|
+
businessInfo?: {
|
|
3578
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3579
|
+
topicInfo?: {
|
|
3580
|
+
[x: string]: any;
|
|
3581
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3582
|
+
} | undefined;
|
|
3583
|
+
} | undefined;
|
|
3584
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3585
|
+
notDisturb: boolean;
|
|
3586
|
+
};
|
|
2296
3587
|
id: string;
|
|
2297
3588
|
userInfo: import("../../shared/types").AnyObject;
|
|
2298
3589
|
msgList: {
|
|
@@ -2301,7 +3592,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2301
3592
|
sessionKey: string;
|
|
2302
3593
|
content: {
|
|
2303
3594
|
[x: string]: any;
|
|
2304
|
-
chatMessageType:
|
|
3595
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2305
3596
|
msg: string;
|
|
2306
3597
|
referenceContent?: any;
|
|
2307
3598
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -2319,11 +3610,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2319
3610
|
__time?: string | undefined;
|
|
2320
3611
|
__sendTime?: string | undefined;
|
|
2321
3612
|
}[];
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
3613
|
+
sessionList: {
|
|
3614
|
+
id: string;
|
|
3615
|
+
sessionKey: string;
|
|
3616
|
+
receiver: string;
|
|
3617
|
+
createdTime: string;
|
|
3618
|
+
avatar: string;
|
|
3619
|
+
name: string;
|
|
3620
|
+
defaultName: string;
|
|
3621
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3622
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3623
|
+
status: import("./src/constants").STATUS;
|
|
3624
|
+
sortTime: string;
|
|
3625
|
+
topping: boolean;
|
|
3626
|
+
unreadNum: number;
|
|
3627
|
+
updatedTime: string;
|
|
3628
|
+
lastMessageContent: string;
|
|
3629
|
+
sender?: string | undefined;
|
|
3630
|
+
lastMessageId?: string | undefined;
|
|
3631
|
+
lastMessage?: {
|
|
3632
|
+
[x: string]: any;
|
|
3633
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3634
|
+
msg: string;
|
|
3635
|
+
referenceContent?: any;
|
|
3636
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3637
|
+
messageTemplate?: any;
|
|
3638
|
+
messageTemplateData?: any;
|
|
3639
|
+
fileUrl?: string | undefined;
|
|
3640
|
+
avStatus?: string | undefined;
|
|
3641
|
+
} | undefined;
|
|
3642
|
+
lastMessageSendTime?: string | undefined;
|
|
3643
|
+
lastMessageStatus?: string | undefined;
|
|
3644
|
+
lastSenderName?: string | undefined;
|
|
3645
|
+
businessInfo?: {
|
|
3646
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3647
|
+
topicInfo?: {
|
|
3648
|
+
[x: string]: any;
|
|
3649
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3650
|
+
} | undefined;
|
|
3651
|
+
} | undefined;
|
|
3652
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3653
|
+
notDisturb: boolean;
|
|
3654
|
+
}[];
|
|
2325
3655
|
isChangeSession: boolean;
|
|
2326
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
2327
3656
|
isUpdateSession: boolean;
|
|
2328
3657
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
2329
3658
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -2341,6 +3670,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2341
3670
|
info: import("../../shared/types").AnyObject | null;
|
|
2342
3671
|
};
|
|
2343
3672
|
isForward: boolean;
|
|
3673
|
+
loading: boolean;
|
|
2344
3674
|
};
|
|
2345
3675
|
setUserDetail: (event: MouseEvent, userDetail: import("../../shared/types").AnyObject) => void;
|
|
2346
3676
|
inviter: import("vue").Ref<any, any>;
|
|
@@ -2366,8 +3696,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2366
3696
|
};
|
|
2367
3697
|
}>> & Readonly<{}> & {}>;
|
|
2368
3698
|
state: {
|
|
2369
|
-
|
|
2370
|
-
|
|
3699
|
+
[x: string]: any;
|
|
3700
|
+
orgId: string;
|
|
3701
|
+
currentSessionItem: {
|
|
3702
|
+
id: string;
|
|
3703
|
+
sessionKey: string;
|
|
3704
|
+
receiver: string;
|
|
3705
|
+
createdTime: string;
|
|
3706
|
+
avatar: string;
|
|
3707
|
+
name: string;
|
|
3708
|
+
defaultName: string;
|
|
3709
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3710
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3711
|
+
status: import("./src/constants").STATUS;
|
|
3712
|
+
sortTime: string;
|
|
3713
|
+
topping: boolean;
|
|
3714
|
+
unreadNum: number;
|
|
3715
|
+
updatedTime: string;
|
|
3716
|
+
lastMessageContent: string;
|
|
3717
|
+
sender?: string | undefined;
|
|
3718
|
+
lastMessageId?: string | undefined;
|
|
3719
|
+
lastMessage?: {
|
|
3720
|
+
[x: string]: any;
|
|
3721
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3722
|
+
msg: string;
|
|
3723
|
+
referenceContent?: any;
|
|
3724
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3725
|
+
messageTemplate?: any;
|
|
3726
|
+
messageTemplateData?: any;
|
|
3727
|
+
fileUrl?: string | undefined;
|
|
3728
|
+
avStatus?: string | undefined;
|
|
3729
|
+
} | undefined;
|
|
3730
|
+
lastMessageSendTime?: string | undefined;
|
|
3731
|
+
lastMessageStatus?: string | undefined;
|
|
3732
|
+
lastSenderName?: string | undefined;
|
|
3733
|
+
businessInfo?: {
|
|
3734
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3735
|
+
topicInfo?: {
|
|
3736
|
+
[x: string]: any;
|
|
3737
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3738
|
+
} | undefined;
|
|
3739
|
+
} | undefined;
|
|
3740
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3741
|
+
notDisturb: boolean;
|
|
3742
|
+
};
|
|
2371
3743
|
id: string;
|
|
2372
3744
|
userInfo: import("../../shared/types").AnyObject;
|
|
2373
3745
|
msgList: {
|
|
@@ -2376,7 +3748,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2376
3748
|
sessionKey: string;
|
|
2377
3749
|
content: {
|
|
2378
3750
|
[x: string]: any;
|
|
2379
|
-
chatMessageType:
|
|
3751
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2380
3752
|
msg: string;
|
|
2381
3753
|
referenceContent?: any;
|
|
2382
3754
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -2394,11 +3766,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2394
3766
|
__time?: string | undefined;
|
|
2395
3767
|
__sendTime?: string | undefined;
|
|
2396
3768
|
}[];
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
3769
|
+
sessionList: {
|
|
3770
|
+
id: string;
|
|
3771
|
+
sessionKey: string;
|
|
3772
|
+
receiver: string;
|
|
3773
|
+
createdTime: string;
|
|
3774
|
+
avatar: string;
|
|
3775
|
+
name: string;
|
|
3776
|
+
defaultName: string;
|
|
3777
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3778
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3779
|
+
status: import("./src/constants").STATUS;
|
|
3780
|
+
sortTime: string;
|
|
3781
|
+
topping: boolean;
|
|
3782
|
+
unreadNum: number;
|
|
3783
|
+
updatedTime: string;
|
|
3784
|
+
lastMessageContent: string;
|
|
3785
|
+
sender?: string | undefined;
|
|
3786
|
+
lastMessageId?: string | undefined;
|
|
3787
|
+
lastMessage?: {
|
|
3788
|
+
[x: string]: any;
|
|
3789
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3790
|
+
msg: string;
|
|
3791
|
+
referenceContent?: any;
|
|
3792
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3793
|
+
messageTemplate?: any;
|
|
3794
|
+
messageTemplateData?: any;
|
|
3795
|
+
fileUrl?: string | undefined;
|
|
3796
|
+
avStatus?: string | undefined;
|
|
3797
|
+
} | undefined;
|
|
3798
|
+
lastMessageSendTime?: string | undefined;
|
|
3799
|
+
lastMessageStatus?: string | undefined;
|
|
3800
|
+
lastSenderName?: string | undefined;
|
|
3801
|
+
businessInfo?: {
|
|
3802
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3803
|
+
topicInfo?: {
|
|
3804
|
+
[x: string]: any;
|
|
3805
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3806
|
+
} | undefined;
|
|
3807
|
+
} | undefined;
|
|
3808
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3809
|
+
notDisturb: boolean;
|
|
3810
|
+
}[];
|
|
2400
3811
|
isChangeSession: boolean;
|
|
2401
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
2402
3812
|
isUpdateSession: boolean;
|
|
2403
3813
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
2404
3814
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -2416,6 +3826,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2416
3826
|
info: import("../../shared/types").AnyObject | null;
|
|
2417
3827
|
};
|
|
2418
3828
|
isForward: boolean;
|
|
3829
|
+
loading: boolean;
|
|
2419
3830
|
};
|
|
2420
3831
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
2421
3832
|
msgItem: import("vue").ComputedRef<import("../../shared/types").AnyObject | import("./src/types").MsgListItem>;
|
|
@@ -2454,8 +3865,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2454
3865
|
};
|
|
2455
3866
|
}>> & Readonly<{}> & {}>;
|
|
2456
3867
|
state: {
|
|
2457
|
-
|
|
2458
|
-
|
|
3868
|
+
[x: string]: any;
|
|
3869
|
+
orgId: string;
|
|
3870
|
+
currentSessionItem: {
|
|
3871
|
+
id: string;
|
|
3872
|
+
sessionKey: string;
|
|
3873
|
+
receiver: string;
|
|
3874
|
+
createdTime: string;
|
|
3875
|
+
avatar: string;
|
|
3876
|
+
name: string;
|
|
3877
|
+
defaultName: string;
|
|
3878
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3879
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3880
|
+
status: import("./src/constants").STATUS;
|
|
3881
|
+
sortTime: string;
|
|
3882
|
+
topping: boolean;
|
|
3883
|
+
unreadNum: number;
|
|
3884
|
+
updatedTime: string;
|
|
3885
|
+
lastMessageContent: string;
|
|
3886
|
+
sender?: string | undefined;
|
|
3887
|
+
lastMessageId?: string | undefined;
|
|
3888
|
+
lastMessage?: {
|
|
3889
|
+
[x: string]: any;
|
|
3890
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3891
|
+
msg: string;
|
|
3892
|
+
referenceContent?: any;
|
|
3893
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3894
|
+
messageTemplate?: any;
|
|
3895
|
+
messageTemplateData?: any;
|
|
3896
|
+
fileUrl?: string | undefined;
|
|
3897
|
+
avStatus?: string | undefined;
|
|
3898
|
+
} | undefined;
|
|
3899
|
+
lastMessageSendTime?: string | undefined;
|
|
3900
|
+
lastMessageStatus?: string | undefined;
|
|
3901
|
+
lastSenderName?: string | undefined;
|
|
3902
|
+
businessInfo?: {
|
|
3903
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3904
|
+
topicInfo?: {
|
|
3905
|
+
[x: string]: any;
|
|
3906
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3907
|
+
} | undefined;
|
|
3908
|
+
} | undefined;
|
|
3909
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3910
|
+
notDisturb: boolean;
|
|
3911
|
+
};
|
|
2459
3912
|
id: string;
|
|
2460
3913
|
userInfo: import("../../shared/types").AnyObject;
|
|
2461
3914
|
msgList: {
|
|
@@ -2464,7 +3917,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2464
3917
|
sessionKey: string;
|
|
2465
3918
|
content: {
|
|
2466
3919
|
[x: string]: any;
|
|
2467
|
-
chatMessageType:
|
|
3920
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2468
3921
|
msg: string;
|
|
2469
3922
|
referenceContent?: any;
|
|
2470
3923
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -2482,11 +3935,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2482
3935
|
__time?: string | undefined;
|
|
2483
3936
|
__sendTime?: string | undefined;
|
|
2484
3937
|
}[];
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
3938
|
+
sessionList: {
|
|
3939
|
+
id: string;
|
|
3940
|
+
sessionKey: string;
|
|
3941
|
+
receiver: string;
|
|
3942
|
+
createdTime: string;
|
|
3943
|
+
avatar: string;
|
|
3944
|
+
name: string;
|
|
3945
|
+
defaultName: string;
|
|
3946
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
3947
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3948
|
+
status: import("./src/constants").STATUS;
|
|
3949
|
+
sortTime: string;
|
|
3950
|
+
topping: boolean;
|
|
3951
|
+
unreadNum: number;
|
|
3952
|
+
updatedTime: string;
|
|
3953
|
+
lastMessageContent: string;
|
|
3954
|
+
sender?: string | undefined;
|
|
3955
|
+
lastMessageId?: string | undefined;
|
|
3956
|
+
lastMessage?: {
|
|
3957
|
+
[x: string]: any;
|
|
3958
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3959
|
+
msg: string;
|
|
3960
|
+
referenceContent?: any;
|
|
3961
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3962
|
+
messageTemplate?: any;
|
|
3963
|
+
messageTemplateData?: any;
|
|
3964
|
+
fileUrl?: string | undefined;
|
|
3965
|
+
avStatus?: string | undefined;
|
|
3966
|
+
} | undefined;
|
|
3967
|
+
lastMessageSendTime?: string | undefined;
|
|
3968
|
+
lastMessageStatus?: string | undefined;
|
|
3969
|
+
lastSenderName?: string | undefined;
|
|
3970
|
+
businessInfo?: {
|
|
3971
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
3972
|
+
topicInfo?: {
|
|
3973
|
+
[x: string]: any;
|
|
3974
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
3975
|
+
} | undefined;
|
|
3976
|
+
} | undefined;
|
|
3977
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
3978
|
+
notDisturb: boolean;
|
|
3979
|
+
}[];
|
|
2488
3980
|
isChangeSession: boolean;
|
|
2489
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
2490
3981
|
isUpdateSession: boolean;
|
|
2491
3982
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
2492
3983
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -2504,6 +3995,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2504
3995
|
info: import("../../shared/types").AnyObject | null;
|
|
2505
3996
|
};
|
|
2506
3997
|
isForward: boolean;
|
|
3998
|
+
loading: boolean;
|
|
2507
3999
|
};
|
|
2508
4000
|
setUserDetail: (event: MouseEvent, userDetail: import("../../shared/types").AnyObject) => void;
|
|
2509
4001
|
inviter: import("vue").Ref<any, any>;
|
|
@@ -2679,8 +4171,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2679
4171
|
}> & {}>;
|
|
2680
4172
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
2681
4173
|
state: {
|
|
2682
|
-
|
|
2683
|
-
|
|
4174
|
+
[x: string]: any;
|
|
4175
|
+
orgId: string;
|
|
4176
|
+
currentSessionItem: {
|
|
4177
|
+
id: string;
|
|
4178
|
+
sessionKey: string;
|
|
4179
|
+
receiver: string;
|
|
4180
|
+
createdTime: string;
|
|
4181
|
+
avatar: string;
|
|
4182
|
+
name: string;
|
|
4183
|
+
defaultName: string;
|
|
4184
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4185
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4186
|
+
status: import("./src/constants").STATUS;
|
|
4187
|
+
sortTime: string;
|
|
4188
|
+
topping: boolean;
|
|
4189
|
+
unreadNum: number;
|
|
4190
|
+
updatedTime: string;
|
|
4191
|
+
lastMessageContent: string;
|
|
4192
|
+
sender?: string | undefined;
|
|
4193
|
+
lastMessageId?: string | undefined;
|
|
4194
|
+
lastMessage?: {
|
|
4195
|
+
[x: string]: any;
|
|
4196
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4197
|
+
msg: string;
|
|
4198
|
+
referenceContent?: any;
|
|
4199
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4200
|
+
messageTemplate?: any;
|
|
4201
|
+
messageTemplateData?: any;
|
|
4202
|
+
fileUrl?: string | undefined;
|
|
4203
|
+
avStatus?: string | undefined;
|
|
4204
|
+
} | undefined;
|
|
4205
|
+
lastMessageSendTime?: string | undefined;
|
|
4206
|
+
lastMessageStatus?: string | undefined;
|
|
4207
|
+
lastSenderName?: string | undefined;
|
|
4208
|
+
businessInfo?: {
|
|
4209
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
4210
|
+
topicInfo?: {
|
|
4211
|
+
[x: string]: any;
|
|
4212
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
4213
|
+
} | undefined;
|
|
4214
|
+
} | undefined;
|
|
4215
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4216
|
+
notDisturb: boolean;
|
|
4217
|
+
};
|
|
2684
4218
|
id: string;
|
|
2685
4219
|
userInfo: import("../../shared/types").AnyObject;
|
|
2686
4220
|
msgList: {
|
|
@@ -2689,7 +4223,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2689
4223
|
sessionKey: string;
|
|
2690
4224
|
content: {
|
|
2691
4225
|
[x: string]: any;
|
|
2692
|
-
chatMessageType:
|
|
4226
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2693
4227
|
msg: string;
|
|
2694
4228
|
referenceContent?: any;
|
|
2695
4229
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -2707,11 +4241,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2707
4241
|
__time?: string | undefined;
|
|
2708
4242
|
__sendTime?: string | undefined;
|
|
2709
4243
|
}[];
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
4244
|
+
sessionList: {
|
|
4245
|
+
id: string;
|
|
4246
|
+
sessionKey: string;
|
|
4247
|
+
receiver: string;
|
|
4248
|
+
createdTime: string;
|
|
4249
|
+
avatar: string;
|
|
4250
|
+
name: string;
|
|
4251
|
+
defaultName: string;
|
|
4252
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4253
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4254
|
+
status: import("./src/constants").STATUS;
|
|
4255
|
+
sortTime: string;
|
|
4256
|
+
topping: boolean;
|
|
4257
|
+
unreadNum: number;
|
|
4258
|
+
updatedTime: string;
|
|
4259
|
+
lastMessageContent: string;
|
|
4260
|
+
sender?: string | undefined;
|
|
4261
|
+
lastMessageId?: string | undefined;
|
|
4262
|
+
lastMessage?: {
|
|
4263
|
+
[x: string]: any;
|
|
4264
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4265
|
+
msg: string;
|
|
4266
|
+
referenceContent?: any;
|
|
4267
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4268
|
+
messageTemplate?: any;
|
|
4269
|
+
messageTemplateData?: any;
|
|
4270
|
+
fileUrl?: string | undefined;
|
|
4271
|
+
avStatus?: string | undefined;
|
|
4272
|
+
} | undefined;
|
|
4273
|
+
lastMessageSendTime?: string | undefined;
|
|
4274
|
+
lastMessageStatus?: string | undefined;
|
|
4275
|
+
lastSenderName?: string | undefined;
|
|
4276
|
+
businessInfo?: {
|
|
4277
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
4278
|
+
topicInfo?: {
|
|
4279
|
+
[x: string]: any;
|
|
4280
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
4281
|
+
} | undefined;
|
|
4282
|
+
} | undefined;
|
|
4283
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4284
|
+
notDisturb: boolean;
|
|
4285
|
+
}[];
|
|
2713
4286
|
isChangeSession: boolean;
|
|
2714
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
2715
4287
|
isUpdateSession: boolean;
|
|
2716
4288
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
2717
4289
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -2729,6 +4301,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2729
4301
|
info: import("../../shared/types").AnyObject | null;
|
|
2730
4302
|
};
|
|
2731
4303
|
isForward: boolean;
|
|
4304
|
+
loading: boolean;
|
|
2732
4305
|
};
|
|
2733
4306
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
2734
4307
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -2744,25 +4317,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2744
4317
|
handleInput: () => void;
|
|
2745
4318
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
2746
4319
|
sessionList: import("vue").ComputedRef<{
|
|
2747
|
-
id:
|
|
2748
|
-
name:
|
|
2749
|
-
avatar:
|
|
2750
|
-
chatType:
|
|
2751
|
-
roleInfo:
|
|
4320
|
+
id: string;
|
|
4321
|
+
name: string;
|
|
4322
|
+
avatar: string;
|
|
4323
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4324
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2752
4325
|
}[]>;
|
|
2753
4326
|
friends: import("vue").ComputedRef<{
|
|
2754
|
-
id:
|
|
2755
|
-
name:
|
|
2756
|
-
avatar:
|
|
2757
|
-
chatType:
|
|
2758
|
-
roleInfo:
|
|
4327
|
+
id: string;
|
|
4328
|
+
name: string;
|
|
4329
|
+
avatar: string;
|
|
4330
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4331
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2759
4332
|
}[]>;
|
|
2760
4333
|
groups: import("vue").ComputedRef<{
|
|
2761
|
-
id:
|
|
2762
|
-
name:
|
|
2763
|
-
avatar:
|
|
2764
|
-
chatType:
|
|
2765
|
-
roleInfo:
|
|
4334
|
+
id: string;
|
|
4335
|
+
name: string;
|
|
4336
|
+
avatar: string;
|
|
4337
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4338
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
2766
4339
|
}[]>;
|
|
2767
4340
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
2768
4341
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -2836,6 +4409,160 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2836
4409
|
mode: string;
|
|
2837
4410
|
disabledIds: string[];
|
|
2838
4411
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4412
|
+
MessageMarkdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4413
|
+
data: {
|
|
4414
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
4415
|
+
required: true;
|
|
4416
|
+
};
|
|
4417
|
+
}>, {
|
|
4418
|
+
mdhtml: import("markdown-it");
|
|
4419
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
4420
|
+
data: {
|
|
4421
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
4422
|
+
required: true;
|
|
4423
|
+
};
|
|
4424
|
+
}>> & Readonly<{}> & {}>;
|
|
4425
|
+
state: {
|
|
4426
|
+
[x: string]: any;
|
|
4427
|
+
orgId: string;
|
|
4428
|
+
currentSessionItem: {
|
|
4429
|
+
id: string;
|
|
4430
|
+
sessionKey: string;
|
|
4431
|
+
receiver: string;
|
|
4432
|
+
createdTime: string;
|
|
4433
|
+
avatar: string;
|
|
4434
|
+
name: string;
|
|
4435
|
+
defaultName: string;
|
|
4436
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4437
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4438
|
+
status: import("./src/constants").STATUS;
|
|
4439
|
+
sortTime: string;
|
|
4440
|
+
topping: boolean;
|
|
4441
|
+
unreadNum: number;
|
|
4442
|
+
updatedTime: string;
|
|
4443
|
+
lastMessageContent: string;
|
|
4444
|
+
sender?: string | undefined;
|
|
4445
|
+
lastMessageId?: string | undefined;
|
|
4446
|
+
lastMessage?: {
|
|
4447
|
+
[x: string]: any;
|
|
4448
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4449
|
+
msg: string;
|
|
4450
|
+
referenceContent?: any;
|
|
4451
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4452
|
+
messageTemplate?: any;
|
|
4453
|
+
messageTemplateData?: any;
|
|
4454
|
+
fileUrl?: string | undefined;
|
|
4455
|
+
avStatus?: string | undefined;
|
|
4456
|
+
} | undefined;
|
|
4457
|
+
lastMessageSendTime?: string | undefined;
|
|
4458
|
+
lastMessageStatus?: string | undefined;
|
|
4459
|
+
lastSenderName?: string | undefined;
|
|
4460
|
+
businessInfo?: {
|
|
4461
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
4462
|
+
topicInfo?: {
|
|
4463
|
+
[x: string]: any;
|
|
4464
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
4465
|
+
} | undefined;
|
|
4466
|
+
} | undefined;
|
|
4467
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4468
|
+
notDisturb: boolean;
|
|
4469
|
+
};
|
|
4470
|
+
id: string;
|
|
4471
|
+
userInfo: import("../../shared/types").AnyObject;
|
|
4472
|
+
msgList: {
|
|
4473
|
+
[x: string]: any;
|
|
4474
|
+
id: string;
|
|
4475
|
+
sessionKey: string;
|
|
4476
|
+
content: {
|
|
4477
|
+
[x: string]: any;
|
|
4478
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4479
|
+
msg: string;
|
|
4480
|
+
referenceContent?: any;
|
|
4481
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4482
|
+
messageTemplate?: any;
|
|
4483
|
+
messageTemplateData?: any;
|
|
4484
|
+
fileUrl?: string | undefined;
|
|
4485
|
+
avStatus?: string | undefined;
|
|
4486
|
+
};
|
|
4487
|
+
senderName: string;
|
|
4488
|
+
sendTime: string;
|
|
4489
|
+
sender: string;
|
|
4490
|
+
status: string;
|
|
4491
|
+
senderAvatar: string;
|
|
4492
|
+
__content: string;
|
|
4493
|
+
__time?: string | undefined;
|
|
4494
|
+
__sendTime?: string | undefined;
|
|
4495
|
+
}[];
|
|
4496
|
+
sessionList: {
|
|
4497
|
+
id: string;
|
|
4498
|
+
sessionKey: string;
|
|
4499
|
+
receiver: string;
|
|
4500
|
+
createdTime: string;
|
|
4501
|
+
avatar: string;
|
|
4502
|
+
name: string;
|
|
4503
|
+
defaultName: string;
|
|
4504
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4505
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4506
|
+
status: import("./src/constants").STATUS;
|
|
4507
|
+
sortTime: string;
|
|
4508
|
+
topping: boolean;
|
|
4509
|
+
unreadNum: number;
|
|
4510
|
+
updatedTime: string;
|
|
4511
|
+
lastMessageContent: string;
|
|
4512
|
+
sender?: string | undefined;
|
|
4513
|
+
lastMessageId?: string | undefined;
|
|
4514
|
+
lastMessage?: {
|
|
4515
|
+
[x: string]: any;
|
|
4516
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4517
|
+
msg: string;
|
|
4518
|
+
referenceContent?: any;
|
|
4519
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4520
|
+
messageTemplate?: any;
|
|
4521
|
+
messageTemplateData?: any;
|
|
4522
|
+
fileUrl?: string | undefined;
|
|
4523
|
+
avStatus?: string | undefined;
|
|
4524
|
+
} | undefined;
|
|
4525
|
+
lastMessageSendTime?: string | undefined;
|
|
4526
|
+
lastMessageStatus?: string | undefined;
|
|
4527
|
+
lastSenderName?: string | undefined;
|
|
4528
|
+
businessInfo?: {
|
|
4529
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
4530
|
+
topicInfo?: {
|
|
4531
|
+
[x: string]: any;
|
|
4532
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
4533
|
+
} | undefined;
|
|
4534
|
+
} | undefined;
|
|
4535
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4536
|
+
notDisturb: boolean;
|
|
4537
|
+
}[];
|
|
4538
|
+
isChangeSession: boolean;
|
|
4539
|
+
isUpdateSession: boolean;
|
|
4540
|
+
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
4541
|
+
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
4542
|
+
showVideo: boolean;
|
|
4543
|
+
currentAVMsg: import("../../shared/types").AnyObject;
|
|
4544
|
+
currentGroupUser: import("../../shared/types").AnyObject[];
|
|
4545
|
+
showMultipleVideo: boolean;
|
|
4546
|
+
userDetail: {
|
|
4547
|
+
show: boolean;
|
|
4548
|
+
position: {
|
|
4549
|
+
x: number;
|
|
4550
|
+
y: number;
|
|
4551
|
+
};
|
|
4552
|
+
userId: string;
|
|
4553
|
+
info: import("../../shared/types").AnyObject | null;
|
|
4554
|
+
};
|
|
4555
|
+
isForward: boolean;
|
|
4556
|
+
loading: boolean;
|
|
4557
|
+
};
|
|
4558
|
+
content: import("vue").ComputedRef<string>;
|
|
4559
|
+
normalizeMarkdown: (text: string) => string;
|
|
4560
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4561
|
+
data: {
|
|
4562
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
4563
|
+
required: true;
|
|
4564
|
+
};
|
|
4565
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2839
4566
|
readonly simplifyMessage: typeof import("./src/utils").simplifyMessage;
|
|
2840
4567
|
readonly isAudioOrVideoMessage: typeof import("./src/utils").isAudioOrVideoMessage;
|
|
2841
4568
|
readonly getAVTime: typeof import("./src/utils").getAVTime;
|
|
@@ -2971,8 +4698,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2971
4698
|
SPACE_PLACEHOLDER: string;
|
|
2972
4699
|
inputRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
2973
4700
|
state: {
|
|
2974
|
-
|
|
2975
|
-
|
|
4701
|
+
[x: string]: any;
|
|
4702
|
+
orgId: string;
|
|
4703
|
+
currentSessionItem: {
|
|
4704
|
+
id: string;
|
|
4705
|
+
sessionKey: string;
|
|
4706
|
+
receiver: string;
|
|
4707
|
+
createdTime: string;
|
|
4708
|
+
avatar: string;
|
|
4709
|
+
name: string;
|
|
4710
|
+
defaultName: string;
|
|
4711
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4712
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4713
|
+
status: import("./src/constants").STATUS;
|
|
4714
|
+
sortTime: string;
|
|
4715
|
+
topping: boolean;
|
|
4716
|
+
unreadNum: number;
|
|
4717
|
+
updatedTime: string;
|
|
4718
|
+
lastMessageContent: string;
|
|
4719
|
+
sender?: string | undefined;
|
|
4720
|
+
lastMessageId?: string | undefined;
|
|
4721
|
+
lastMessage?: {
|
|
4722
|
+
[x: string]: any;
|
|
4723
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4724
|
+
msg: string;
|
|
4725
|
+
referenceContent?: any;
|
|
4726
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4727
|
+
messageTemplate?: any;
|
|
4728
|
+
messageTemplateData?: any;
|
|
4729
|
+
fileUrl?: string | undefined;
|
|
4730
|
+
avStatus?: string | undefined;
|
|
4731
|
+
} | undefined;
|
|
4732
|
+
lastMessageSendTime?: string | undefined;
|
|
4733
|
+
lastMessageStatus?: string | undefined;
|
|
4734
|
+
lastSenderName?: string | undefined;
|
|
4735
|
+
businessInfo?: {
|
|
4736
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
4737
|
+
topicInfo?: {
|
|
4738
|
+
[x: string]: any;
|
|
4739
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
4740
|
+
} | undefined;
|
|
4741
|
+
} | undefined;
|
|
4742
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4743
|
+
notDisturb: boolean;
|
|
4744
|
+
};
|
|
2976
4745
|
id: string;
|
|
2977
4746
|
userInfo: import("../../shared/types").AnyObject;
|
|
2978
4747
|
msgList: {
|
|
@@ -2981,7 +4750,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2981
4750
|
sessionKey: string;
|
|
2982
4751
|
content: {
|
|
2983
4752
|
[x: string]: any;
|
|
2984
|
-
chatMessageType:
|
|
4753
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
2985
4754
|
msg: string;
|
|
2986
4755
|
referenceContent?: any;
|
|
2987
4756
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -2999,11 +4768,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
2999
4768
|
__time?: string | undefined;
|
|
3000
4769
|
__sendTime?: string | undefined;
|
|
3001
4770
|
}[];
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
4771
|
+
sessionList: {
|
|
4772
|
+
id: string;
|
|
4773
|
+
sessionKey: string;
|
|
4774
|
+
receiver: string;
|
|
4775
|
+
createdTime: string;
|
|
4776
|
+
avatar: string;
|
|
4777
|
+
name: string;
|
|
4778
|
+
defaultName: string;
|
|
4779
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4780
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4781
|
+
status: import("./src/constants").STATUS;
|
|
4782
|
+
sortTime: string;
|
|
4783
|
+
topping: boolean;
|
|
4784
|
+
unreadNum: number;
|
|
4785
|
+
updatedTime: string;
|
|
4786
|
+
lastMessageContent: string;
|
|
4787
|
+
sender?: string | undefined;
|
|
4788
|
+
lastMessageId?: string | undefined;
|
|
4789
|
+
lastMessage?: {
|
|
4790
|
+
[x: string]: any;
|
|
4791
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4792
|
+
msg: string;
|
|
4793
|
+
referenceContent?: any;
|
|
4794
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4795
|
+
messageTemplate?: any;
|
|
4796
|
+
messageTemplateData?: any;
|
|
4797
|
+
fileUrl?: string | undefined;
|
|
4798
|
+
avStatus?: string | undefined;
|
|
4799
|
+
} | undefined;
|
|
4800
|
+
lastMessageSendTime?: string | undefined;
|
|
4801
|
+
lastMessageStatus?: string | undefined;
|
|
4802
|
+
lastSenderName?: string | undefined;
|
|
4803
|
+
businessInfo?: {
|
|
4804
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
4805
|
+
topicInfo?: {
|
|
4806
|
+
[x: string]: any;
|
|
4807
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
4808
|
+
} | undefined;
|
|
4809
|
+
} | undefined;
|
|
4810
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4811
|
+
notDisturb: boolean;
|
|
4812
|
+
}[];
|
|
3005
4813
|
isChangeSession: boolean;
|
|
3006
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
3007
4814
|
isUpdateSession: boolean;
|
|
3008
4815
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
3009
4816
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -3021,6 +4828,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3021
4828
|
info: import("../../shared/types").AnyObject | null;
|
|
3022
4829
|
};
|
|
3023
4830
|
isForward: boolean;
|
|
4831
|
+
loading: boolean;
|
|
3024
4832
|
};
|
|
3025
4833
|
sendMessage: (message: {
|
|
3026
4834
|
chatType?: string | undefined;
|
|
@@ -3135,8 +4943,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3135
4943
|
}> & {}>;
|
|
3136
4944
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
3137
4945
|
state: {
|
|
3138
|
-
|
|
3139
|
-
|
|
4946
|
+
[x: string]: any;
|
|
4947
|
+
orgId: string;
|
|
4948
|
+
currentSessionItem: {
|
|
4949
|
+
id: string;
|
|
4950
|
+
sessionKey: string;
|
|
4951
|
+
receiver: string;
|
|
4952
|
+
createdTime: string;
|
|
4953
|
+
avatar: string;
|
|
4954
|
+
name: string;
|
|
4955
|
+
defaultName: string;
|
|
4956
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
4957
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4958
|
+
status: import("./src/constants").STATUS;
|
|
4959
|
+
sortTime: string;
|
|
4960
|
+
topping: boolean;
|
|
4961
|
+
unreadNum: number;
|
|
4962
|
+
updatedTime: string;
|
|
4963
|
+
lastMessageContent: string;
|
|
4964
|
+
sender?: string | undefined;
|
|
4965
|
+
lastMessageId?: string | undefined;
|
|
4966
|
+
lastMessage?: {
|
|
4967
|
+
[x: string]: any;
|
|
4968
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4969
|
+
msg: string;
|
|
4970
|
+
referenceContent?: any;
|
|
4971
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4972
|
+
messageTemplate?: any;
|
|
4973
|
+
messageTemplateData?: any;
|
|
4974
|
+
fileUrl?: string | undefined;
|
|
4975
|
+
avStatus?: string | undefined;
|
|
4976
|
+
} | undefined;
|
|
4977
|
+
lastMessageSendTime?: string | undefined;
|
|
4978
|
+
lastMessageStatus?: string | undefined;
|
|
4979
|
+
lastSenderName?: string | undefined;
|
|
4980
|
+
businessInfo?: {
|
|
4981
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
4982
|
+
topicInfo?: {
|
|
4983
|
+
[x: string]: any;
|
|
4984
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
4985
|
+
} | undefined;
|
|
4986
|
+
} | undefined;
|
|
4987
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
4988
|
+
notDisturb: boolean;
|
|
4989
|
+
};
|
|
3140
4990
|
id: string;
|
|
3141
4991
|
userInfo: import("../../shared/types").AnyObject;
|
|
3142
4992
|
msgList: {
|
|
@@ -3145,7 +4995,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3145
4995
|
sessionKey: string;
|
|
3146
4996
|
content: {
|
|
3147
4997
|
[x: string]: any;
|
|
3148
|
-
chatMessageType:
|
|
4998
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3149
4999
|
msg: string;
|
|
3150
5000
|
referenceContent?: any;
|
|
3151
5001
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -3163,11 +5013,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3163
5013
|
__time?: string | undefined;
|
|
3164
5014
|
__sendTime?: string | undefined;
|
|
3165
5015
|
}[];
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
5016
|
+
sessionList: {
|
|
5017
|
+
id: string;
|
|
5018
|
+
sessionKey: string;
|
|
5019
|
+
receiver: string;
|
|
5020
|
+
createdTime: string;
|
|
5021
|
+
avatar: string;
|
|
5022
|
+
name: string;
|
|
5023
|
+
defaultName: string;
|
|
5024
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5025
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5026
|
+
status: import("./src/constants").STATUS;
|
|
5027
|
+
sortTime: string;
|
|
5028
|
+
topping: boolean;
|
|
5029
|
+
unreadNum: number;
|
|
5030
|
+
updatedTime: string;
|
|
5031
|
+
lastMessageContent: string;
|
|
5032
|
+
sender?: string | undefined;
|
|
5033
|
+
lastMessageId?: string | undefined;
|
|
5034
|
+
lastMessage?: {
|
|
5035
|
+
[x: string]: any;
|
|
5036
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5037
|
+
msg: string;
|
|
5038
|
+
referenceContent?: any;
|
|
5039
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5040
|
+
messageTemplate?: any;
|
|
5041
|
+
messageTemplateData?: any;
|
|
5042
|
+
fileUrl?: string | undefined;
|
|
5043
|
+
avStatus?: string | undefined;
|
|
5044
|
+
} | undefined;
|
|
5045
|
+
lastMessageSendTime?: string | undefined;
|
|
5046
|
+
lastMessageStatus?: string | undefined;
|
|
5047
|
+
lastSenderName?: string | undefined;
|
|
5048
|
+
businessInfo?: {
|
|
5049
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5050
|
+
topicInfo?: {
|
|
5051
|
+
[x: string]: any;
|
|
5052
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5053
|
+
} | undefined;
|
|
5054
|
+
} | undefined;
|
|
5055
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5056
|
+
notDisturb: boolean;
|
|
5057
|
+
}[];
|
|
3169
5058
|
isChangeSession: boolean;
|
|
3170
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
3171
5059
|
isUpdateSession: boolean;
|
|
3172
5060
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
3173
5061
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -3185,6 +5073,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3185
5073
|
info: import("../../shared/types").AnyObject | null;
|
|
3186
5074
|
};
|
|
3187
5075
|
isForward: boolean;
|
|
5076
|
+
loading: boolean;
|
|
3188
5077
|
};
|
|
3189
5078
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
3190
5079
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -3200,25 +5089,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3200
5089
|
handleInput: () => void;
|
|
3201
5090
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
3202
5091
|
sessionList: import("vue").ComputedRef<{
|
|
3203
|
-
id:
|
|
3204
|
-
name:
|
|
3205
|
-
avatar:
|
|
3206
|
-
chatType:
|
|
3207
|
-
roleInfo:
|
|
5092
|
+
id: string;
|
|
5093
|
+
name: string;
|
|
5094
|
+
avatar: string;
|
|
5095
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5096
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3208
5097
|
}[]>;
|
|
3209
5098
|
friends: import("vue").ComputedRef<{
|
|
3210
|
-
id:
|
|
3211
|
-
name:
|
|
3212
|
-
avatar:
|
|
3213
|
-
chatType:
|
|
3214
|
-
roleInfo:
|
|
5099
|
+
id: string;
|
|
5100
|
+
name: string;
|
|
5101
|
+
avatar: string;
|
|
5102
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5103
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3215
5104
|
}[]>;
|
|
3216
5105
|
groups: import("vue").ComputedRef<{
|
|
3217
|
-
id:
|
|
3218
|
-
name:
|
|
3219
|
-
avatar:
|
|
3220
|
-
chatType:
|
|
3221
|
-
roleInfo:
|
|
5106
|
+
id: string;
|
|
5107
|
+
name: string;
|
|
5108
|
+
avatar: string;
|
|
5109
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5110
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3222
5111
|
}[]>;
|
|
3223
5112
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
3224
5113
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -3315,8 +5204,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3315
5204
|
keyword: import("vue").Ref<string, string>;
|
|
3316
5205
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
3317
5206
|
state: {
|
|
3318
|
-
|
|
3319
|
-
|
|
5207
|
+
[x: string]: any;
|
|
5208
|
+
orgId: string;
|
|
5209
|
+
currentSessionItem: {
|
|
5210
|
+
id: string;
|
|
5211
|
+
sessionKey: string;
|
|
5212
|
+
receiver: string;
|
|
5213
|
+
createdTime: string;
|
|
5214
|
+
avatar: string;
|
|
5215
|
+
name: string;
|
|
5216
|
+
defaultName: string;
|
|
5217
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5218
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5219
|
+
status: import("./src/constants").STATUS;
|
|
5220
|
+
sortTime: string;
|
|
5221
|
+
topping: boolean;
|
|
5222
|
+
unreadNum: number;
|
|
5223
|
+
updatedTime: string;
|
|
5224
|
+
lastMessageContent: string;
|
|
5225
|
+
sender?: string | undefined;
|
|
5226
|
+
lastMessageId?: string | undefined;
|
|
5227
|
+
lastMessage?: {
|
|
5228
|
+
[x: string]: any;
|
|
5229
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5230
|
+
msg: string;
|
|
5231
|
+
referenceContent?: any;
|
|
5232
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5233
|
+
messageTemplate?: any;
|
|
5234
|
+
messageTemplateData?: any;
|
|
5235
|
+
fileUrl?: string | undefined;
|
|
5236
|
+
avStatus?: string | undefined;
|
|
5237
|
+
} | undefined;
|
|
5238
|
+
lastMessageSendTime?: string | undefined;
|
|
5239
|
+
lastMessageStatus?: string | undefined;
|
|
5240
|
+
lastSenderName?: string | undefined;
|
|
5241
|
+
businessInfo?: {
|
|
5242
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5243
|
+
topicInfo?: {
|
|
5244
|
+
[x: string]: any;
|
|
5245
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5246
|
+
} | undefined;
|
|
5247
|
+
} | undefined;
|
|
5248
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5249
|
+
notDisturb: boolean;
|
|
5250
|
+
};
|
|
3320
5251
|
id: string;
|
|
3321
5252
|
userInfo: import("../../shared/types").AnyObject;
|
|
3322
5253
|
msgList: {
|
|
@@ -3325,7 +5256,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3325
5256
|
sessionKey: string;
|
|
3326
5257
|
content: {
|
|
3327
5258
|
[x: string]: any;
|
|
3328
|
-
chatMessageType:
|
|
5259
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3329
5260
|
msg: string;
|
|
3330
5261
|
referenceContent?: any;
|
|
3331
5262
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -3343,11 +5274,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3343
5274
|
__time?: string | undefined;
|
|
3344
5275
|
__sendTime?: string | undefined;
|
|
3345
5276
|
}[];
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
5277
|
+
sessionList: {
|
|
5278
|
+
id: string;
|
|
5279
|
+
sessionKey: string;
|
|
5280
|
+
receiver: string;
|
|
5281
|
+
createdTime: string;
|
|
5282
|
+
avatar: string;
|
|
5283
|
+
name: string;
|
|
5284
|
+
defaultName: string;
|
|
5285
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5286
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5287
|
+
status: import("./src/constants").STATUS;
|
|
5288
|
+
sortTime: string;
|
|
5289
|
+
topping: boolean;
|
|
5290
|
+
unreadNum: number;
|
|
5291
|
+
updatedTime: string;
|
|
5292
|
+
lastMessageContent: string;
|
|
5293
|
+
sender?: string | undefined;
|
|
5294
|
+
lastMessageId?: string | undefined;
|
|
5295
|
+
lastMessage?: {
|
|
5296
|
+
[x: string]: any;
|
|
5297
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5298
|
+
msg: string;
|
|
5299
|
+
referenceContent?: any;
|
|
5300
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5301
|
+
messageTemplate?: any;
|
|
5302
|
+
messageTemplateData?: any;
|
|
5303
|
+
fileUrl?: string | undefined;
|
|
5304
|
+
avStatus?: string | undefined;
|
|
5305
|
+
} | undefined;
|
|
5306
|
+
lastMessageSendTime?: string | undefined;
|
|
5307
|
+
lastMessageStatus?: string | undefined;
|
|
5308
|
+
lastSenderName?: string | undefined;
|
|
5309
|
+
businessInfo?: {
|
|
5310
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5311
|
+
topicInfo?: {
|
|
5312
|
+
[x: string]: any;
|
|
5313
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5314
|
+
} | undefined;
|
|
5315
|
+
} | undefined;
|
|
5316
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5317
|
+
notDisturb: boolean;
|
|
5318
|
+
}[];
|
|
3349
5319
|
isChangeSession: boolean;
|
|
3350
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
3351
5320
|
isUpdateSession: boolean;
|
|
3352
5321
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
3353
5322
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -3365,22 +5334,105 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3365
5334
|
info: import("../../shared/types").AnyObject | null;
|
|
3366
5335
|
};
|
|
3367
5336
|
isForward: boolean;
|
|
5337
|
+
loading: boolean;
|
|
3368
5338
|
};
|
|
3369
|
-
openSession: (session: string | import("
|
|
5339
|
+
openSession: (session: string | import("./src/types").SessionItem) => Promise<void>;
|
|
3370
5340
|
userList: import("vue").Ref<import("../../shared/types").AnyObject[], import("../../shared/types").AnyObject[]>;
|
|
3371
5341
|
handleInput: () => void;
|
|
3372
5342
|
patientList: import("vue").Ref<import("../../shared/types").AnyObject[], import("../../shared/types").AnyObject[]>;
|
|
3373
5343
|
handlePatientInput: () => void;
|
|
3374
5344
|
currentTabValue: import("vue").Ref<string, string>;
|
|
3375
5345
|
currentIndex: import("vue").Ref<number, number>;
|
|
3376
|
-
groupList: import("vue").ComputedRef<
|
|
5346
|
+
groupList: import("vue").ComputedRef<{
|
|
5347
|
+
id: string;
|
|
5348
|
+
sessionKey: string;
|
|
5349
|
+
receiver: string;
|
|
5350
|
+
createdTime: string;
|
|
5351
|
+
avatar: string;
|
|
5352
|
+
name: string;
|
|
5353
|
+
defaultName: string;
|
|
5354
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5355
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5356
|
+
status: import("./src/constants").STATUS;
|
|
5357
|
+
sortTime: string;
|
|
5358
|
+
topping: boolean;
|
|
5359
|
+
unreadNum: number;
|
|
5360
|
+
updatedTime: string;
|
|
5361
|
+
lastMessageContent: string;
|
|
5362
|
+
sender?: string | undefined;
|
|
5363
|
+
lastMessageId?: string | undefined;
|
|
5364
|
+
lastMessage?: {
|
|
5365
|
+
[x: string]: any;
|
|
5366
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5367
|
+
msg: string;
|
|
5368
|
+
referenceContent?: any;
|
|
5369
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5370
|
+
messageTemplate?: any;
|
|
5371
|
+
messageTemplateData?: any;
|
|
5372
|
+
fileUrl?: string | undefined;
|
|
5373
|
+
avStatus?: string | undefined;
|
|
5374
|
+
} | undefined;
|
|
5375
|
+
lastMessageSendTime?: string | undefined;
|
|
5376
|
+
lastMessageStatus?: string | undefined;
|
|
5377
|
+
lastSenderName?: string | undefined;
|
|
5378
|
+
businessInfo?: {
|
|
5379
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5380
|
+
topicInfo?: {
|
|
5381
|
+
[x: string]: any;
|
|
5382
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5383
|
+
} | undefined;
|
|
5384
|
+
} | undefined;
|
|
5385
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5386
|
+
notDisturb: boolean;
|
|
5387
|
+
}[]>;
|
|
3377
5388
|
showNoUserData: import("vue").ComputedRef<boolean>;
|
|
3378
5389
|
showNoPatientData: import("vue").ComputedRef<boolean>;
|
|
3379
5390
|
showAllNoData: import("vue").ComputedRef<boolean>;
|
|
3380
5391
|
showGroupNoData: import("vue").ComputedRef<boolean>;
|
|
3381
5392
|
userStartIndex: import("vue").ComputedRef<number>;
|
|
3382
5393
|
groupStartIndex: import("vue").ComputedRef<number>;
|
|
3383
|
-
currentList: import("vue").ComputedRef<import("../../shared/types").AnyObject[]
|
|
5394
|
+
currentList: import("vue").ComputedRef<import("../../shared/types").AnyObject[] | {
|
|
5395
|
+
id: string;
|
|
5396
|
+
sessionKey: string;
|
|
5397
|
+
receiver: string;
|
|
5398
|
+
createdTime: string;
|
|
5399
|
+
avatar: string;
|
|
5400
|
+
name: string;
|
|
5401
|
+
defaultName: string;
|
|
5402
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5403
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5404
|
+
status: import("./src/constants").STATUS;
|
|
5405
|
+
sortTime: string;
|
|
5406
|
+
topping: boolean;
|
|
5407
|
+
unreadNum: number;
|
|
5408
|
+
updatedTime: string;
|
|
5409
|
+
lastMessageContent: string;
|
|
5410
|
+
sender?: string | undefined;
|
|
5411
|
+
lastMessageId?: string | undefined;
|
|
5412
|
+
lastMessage?: {
|
|
5413
|
+
[x: string]: any;
|
|
5414
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5415
|
+
msg: string;
|
|
5416
|
+
referenceContent?: any;
|
|
5417
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5418
|
+
messageTemplate?: any;
|
|
5419
|
+
messageTemplateData?: any;
|
|
5420
|
+
fileUrl?: string | undefined;
|
|
5421
|
+
avStatus?: string | undefined;
|
|
5422
|
+
} | undefined;
|
|
5423
|
+
lastMessageSendTime?: string | undefined;
|
|
5424
|
+
lastMessageStatus?: string | undefined;
|
|
5425
|
+
lastSenderName?: string | undefined;
|
|
5426
|
+
businessInfo?: {
|
|
5427
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5428
|
+
topicInfo?: {
|
|
5429
|
+
[x: string]: any;
|
|
5430
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5431
|
+
} | undefined;
|
|
5432
|
+
} | undefined;
|
|
5433
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5434
|
+
notDisturb: boolean;
|
|
5435
|
+
}[]>;
|
|
3384
5436
|
handleSearchInput: () => void;
|
|
3385
5437
|
handleKeyDown: (event: KeyboardEvent) => void;
|
|
3386
5438
|
addSession: (id: string) => Promise<void>;
|
|
@@ -3525,8 +5577,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3525
5577
|
}> & {}>;
|
|
3526
5578
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
3527
5579
|
state: {
|
|
3528
|
-
|
|
3529
|
-
|
|
5580
|
+
[x: string]: any;
|
|
5581
|
+
orgId: string;
|
|
5582
|
+
currentSessionItem: {
|
|
5583
|
+
id: string;
|
|
5584
|
+
sessionKey: string;
|
|
5585
|
+
receiver: string;
|
|
5586
|
+
createdTime: string;
|
|
5587
|
+
avatar: string;
|
|
5588
|
+
name: string;
|
|
5589
|
+
defaultName: string;
|
|
5590
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5591
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5592
|
+
status: import("./src/constants").STATUS;
|
|
5593
|
+
sortTime: string;
|
|
5594
|
+
topping: boolean;
|
|
5595
|
+
unreadNum: number;
|
|
5596
|
+
updatedTime: string;
|
|
5597
|
+
lastMessageContent: string;
|
|
5598
|
+
sender?: string | undefined;
|
|
5599
|
+
lastMessageId?: string | undefined;
|
|
5600
|
+
lastMessage?: {
|
|
5601
|
+
[x: string]: any;
|
|
5602
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5603
|
+
msg: string;
|
|
5604
|
+
referenceContent?: any;
|
|
5605
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5606
|
+
messageTemplate?: any;
|
|
5607
|
+
messageTemplateData?: any;
|
|
5608
|
+
fileUrl?: string | undefined;
|
|
5609
|
+
avStatus?: string | undefined;
|
|
5610
|
+
} | undefined;
|
|
5611
|
+
lastMessageSendTime?: string | undefined;
|
|
5612
|
+
lastMessageStatus?: string | undefined;
|
|
5613
|
+
lastSenderName?: string | undefined;
|
|
5614
|
+
businessInfo?: {
|
|
5615
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5616
|
+
topicInfo?: {
|
|
5617
|
+
[x: string]: any;
|
|
5618
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5619
|
+
} | undefined;
|
|
5620
|
+
} | undefined;
|
|
5621
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5622
|
+
notDisturb: boolean;
|
|
5623
|
+
};
|
|
3530
5624
|
id: string;
|
|
3531
5625
|
userInfo: import("../../shared/types").AnyObject;
|
|
3532
5626
|
msgList: {
|
|
@@ -3535,7 +5629,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3535
5629
|
sessionKey: string;
|
|
3536
5630
|
content: {
|
|
3537
5631
|
[x: string]: any;
|
|
3538
|
-
chatMessageType:
|
|
5632
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3539
5633
|
msg: string;
|
|
3540
5634
|
referenceContent?: any;
|
|
3541
5635
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -3553,11 +5647,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3553
5647
|
__time?: string | undefined;
|
|
3554
5648
|
__sendTime?: string | undefined;
|
|
3555
5649
|
}[];
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
5650
|
+
sessionList: {
|
|
5651
|
+
id: string;
|
|
5652
|
+
sessionKey: string;
|
|
5653
|
+
receiver: string;
|
|
5654
|
+
createdTime: string;
|
|
5655
|
+
avatar: string;
|
|
5656
|
+
name: string;
|
|
5657
|
+
defaultName: string;
|
|
5658
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5659
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5660
|
+
status: import("./src/constants").STATUS;
|
|
5661
|
+
sortTime: string;
|
|
5662
|
+
topping: boolean;
|
|
5663
|
+
unreadNum: number;
|
|
5664
|
+
updatedTime: string;
|
|
5665
|
+
lastMessageContent: string;
|
|
5666
|
+
sender?: string | undefined;
|
|
5667
|
+
lastMessageId?: string | undefined;
|
|
5668
|
+
lastMessage?: {
|
|
5669
|
+
[x: string]: any;
|
|
5670
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5671
|
+
msg: string;
|
|
5672
|
+
referenceContent?: any;
|
|
5673
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5674
|
+
messageTemplate?: any;
|
|
5675
|
+
messageTemplateData?: any;
|
|
5676
|
+
fileUrl?: string | undefined;
|
|
5677
|
+
avStatus?: string | undefined;
|
|
5678
|
+
} | undefined;
|
|
5679
|
+
lastMessageSendTime?: string | undefined;
|
|
5680
|
+
lastMessageStatus?: string | undefined;
|
|
5681
|
+
lastSenderName?: string | undefined;
|
|
5682
|
+
businessInfo?: {
|
|
5683
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5684
|
+
topicInfo?: {
|
|
5685
|
+
[x: string]: any;
|
|
5686
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5687
|
+
} | undefined;
|
|
5688
|
+
} | undefined;
|
|
5689
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5690
|
+
notDisturb: boolean;
|
|
5691
|
+
}[];
|
|
3559
5692
|
isChangeSession: boolean;
|
|
3560
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
3561
5693
|
isUpdateSession: boolean;
|
|
3562
5694
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
3563
5695
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -3575,6 +5707,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3575
5707
|
info: import("../../shared/types").AnyObject | null;
|
|
3576
5708
|
};
|
|
3577
5709
|
isForward: boolean;
|
|
5710
|
+
loading: boolean;
|
|
3578
5711
|
};
|
|
3579
5712
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
3580
5713
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -3590,25 +5723,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3590
5723
|
handleInput: () => void;
|
|
3591
5724
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
3592
5725
|
sessionList: import("vue").ComputedRef<{
|
|
3593
|
-
id:
|
|
3594
|
-
name:
|
|
3595
|
-
avatar:
|
|
3596
|
-
chatType:
|
|
3597
|
-
roleInfo:
|
|
5726
|
+
id: string;
|
|
5727
|
+
name: string;
|
|
5728
|
+
avatar: string;
|
|
5729
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5730
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3598
5731
|
}[]>;
|
|
3599
5732
|
friends: import("vue").ComputedRef<{
|
|
3600
|
-
id:
|
|
3601
|
-
name:
|
|
3602
|
-
avatar:
|
|
3603
|
-
chatType:
|
|
3604
|
-
roleInfo:
|
|
5733
|
+
id: string;
|
|
5734
|
+
name: string;
|
|
5735
|
+
avatar: string;
|
|
5736
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5737
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3605
5738
|
}[]>;
|
|
3606
5739
|
groups: import("vue").ComputedRef<{
|
|
3607
|
-
id:
|
|
3608
|
-
name:
|
|
3609
|
-
avatar:
|
|
3610
|
-
chatType:
|
|
3611
|
-
roleInfo:
|
|
5740
|
+
id: string;
|
|
5741
|
+
name: string;
|
|
5742
|
+
avatar: string;
|
|
5743
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5744
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
3612
5745
|
}[]>;
|
|
3613
5746
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
3614
5747
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -3689,8 +5822,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3689
5822
|
receiver?: string | undefined;
|
|
3690
5823
|
}) => Promise<void>;
|
|
3691
5824
|
state: {
|
|
3692
|
-
|
|
3693
|
-
|
|
5825
|
+
[x: string]: any;
|
|
5826
|
+
orgId: string;
|
|
5827
|
+
currentSessionItem: {
|
|
5828
|
+
id: string;
|
|
5829
|
+
sessionKey: string;
|
|
5830
|
+
receiver: string;
|
|
5831
|
+
createdTime: string;
|
|
5832
|
+
avatar: string;
|
|
5833
|
+
name: string;
|
|
5834
|
+
defaultName: string;
|
|
5835
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5836
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5837
|
+
status: import("./src/constants").STATUS;
|
|
5838
|
+
sortTime: string;
|
|
5839
|
+
topping: boolean;
|
|
5840
|
+
unreadNum: number;
|
|
5841
|
+
updatedTime: string;
|
|
5842
|
+
lastMessageContent: string;
|
|
5843
|
+
sender?: string | undefined;
|
|
5844
|
+
lastMessageId?: string | undefined;
|
|
5845
|
+
lastMessage?: {
|
|
5846
|
+
[x: string]: any;
|
|
5847
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5848
|
+
msg: string;
|
|
5849
|
+
referenceContent?: any;
|
|
5850
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5851
|
+
messageTemplate?: any;
|
|
5852
|
+
messageTemplateData?: any;
|
|
5853
|
+
fileUrl?: string | undefined;
|
|
5854
|
+
avStatus?: string | undefined;
|
|
5855
|
+
} | undefined;
|
|
5856
|
+
lastMessageSendTime?: string | undefined;
|
|
5857
|
+
lastMessageStatus?: string | undefined;
|
|
5858
|
+
lastSenderName?: string | undefined;
|
|
5859
|
+
businessInfo?: {
|
|
5860
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5861
|
+
topicInfo?: {
|
|
5862
|
+
[x: string]: any;
|
|
5863
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5864
|
+
} | undefined;
|
|
5865
|
+
} | undefined;
|
|
5866
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5867
|
+
notDisturb: boolean;
|
|
5868
|
+
};
|
|
3694
5869
|
id: string;
|
|
3695
5870
|
userInfo: import("../../shared/types").AnyObject;
|
|
3696
5871
|
msgList: {
|
|
@@ -3699,7 +5874,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3699
5874
|
sessionKey: string;
|
|
3700
5875
|
content: {
|
|
3701
5876
|
[x: string]: any;
|
|
3702
|
-
chatMessageType:
|
|
5877
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3703
5878
|
msg: string;
|
|
3704
5879
|
referenceContent?: any;
|
|
3705
5880
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -3717,11 +5892,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3717
5892
|
__time?: string | undefined;
|
|
3718
5893
|
__sendTime?: string | undefined;
|
|
3719
5894
|
}[];
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
5895
|
+
sessionList: {
|
|
5896
|
+
id: string;
|
|
5897
|
+
sessionKey: string;
|
|
5898
|
+
receiver: string;
|
|
5899
|
+
createdTime: string;
|
|
5900
|
+
avatar: string;
|
|
5901
|
+
name: string;
|
|
5902
|
+
defaultName: string;
|
|
5903
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
5904
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
5905
|
+
status: import("./src/constants").STATUS;
|
|
5906
|
+
sortTime: string;
|
|
5907
|
+
topping: boolean;
|
|
5908
|
+
unreadNum: number;
|
|
5909
|
+
updatedTime: string;
|
|
5910
|
+
lastMessageContent: string;
|
|
5911
|
+
sender?: string | undefined;
|
|
5912
|
+
lastMessageId?: string | undefined;
|
|
5913
|
+
lastMessage?: {
|
|
5914
|
+
[x: string]: any;
|
|
5915
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
5916
|
+
msg: string;
|
|
5917
|
+
referenceContent?: any;
|
|
5918
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5919
|
+
messageTemplate?: any;
|
|
5920
|
+
messageTemplateData?: any;
|
|
5921
|
+
fileUrl?: string | undefined;
|
|
5922
|
+
avStatus?: string | undefined;
|
|
5923
|
+
} | undefined;
|
|
5924
|
+
lastMessageSendTime?: string | undefined;
|
|
5925
|
+
lastMessageStatus?: string | undefined;
|
|
5926
|
+
lastSenderName?: string | undefined;
|
|
5927
|
+
businessInfo?: {
|
|
5928
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
5929
|
+
topicInfo?: {
|
|
5930
|
+
[x: string]: any;
|
|
5931
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
5932
|
+
} | undefined;
|
|
5933
|
+
} | undefined;
|
|
5934
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
5935
|
+
notDisturb: boolean;
|
|
5936
|
+
}[];
|
|
3723
5937
|
isChangeSession: boolean;
|
|
3724
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
3725
5938
|
isUpdateSession: boolean;
|
|
3726
5939
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
3727
5940
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -3739,6 +5952,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3739
5952
|
info: import("../../shared/types").AnyObject | null;
|
|
3740
5953
|
};
|
|
3741
5954
|
isForward: boolean;
|
|
5955
|
+
loading: boolean;
|
|
3742
5956
|
};
|
|
3743
5957
|
trtc: import("trtc-sdk-v5").TRTC;
|
|
3744
5958
|
timing: import("vue").Ref<string, string>;
|
|
@@ -3795,8 +6009,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3795
6009
|
MultipleVideo: import("vue").DefineComponent<{}, {
|
|
3796
6010
|
selfVideoRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3797
6011
|
state: {
|
|
3798
|
-
|
|
3799
|
-
|
|
6012
|
+
[x: string]: any;
|
|
6013
|
+
orgId: string;
|
|
6014
|
+
currentSessionItem: {
|
|
6015
|
+
id: string;
|
|
6016
|
+
sessionKey: string;
|
|
6017
|
+
receiver: string;
|
|
6018
|
+
createdTime: string;
|
|
6019
|
+
avatar: string;
|
|
6020
|
+
name: string;
|
|
6021
|
+
defaultName: string;
|
|
6022
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6023
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
6024
|
+
status: import("./src/constants").STATUS;
|
|
6025
|
+
sortTime: string;
|
|
6026
|
+
topping: boolean;
|
|
6027
|
+
unreadNum: number;
|
|
6028
|
+
updatedTime: string;
|
|
6029
|
+
lastMessageContent: string;
|
|
6030
|
+
sender?: string | undefined;
|
|
6031
|
+
lastMessageId?: string | undefined;
|
|
6032
|
+
lastMessage?: {
|
|
6033
|
+
[x: string]: any;
|
|
6034
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
6035
|
+
msg: string;
|
|
6036
|
+
referenceContent?: any;
|
|
6037
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6038
|
+
messageTemplate?: any;
|
|
6039
|
+
messageTemplateData?: any;
|
|
6040
|
+
fileUrl?: string | undefined;
|
|
6041
|
+
avStatus?: string | undefined;
|
|
6042
|
+
} | undefined;
|
|
6043
|
+
lastMessageSendTime?: string | undefined;
|
|
6044
|
+
lastMessageStatus?: string | undefined;
|
|
6045
|
+
lastSenderName?: string | undefined;
|
|
6046
|
+
businessInfo?: {
|
|
6047
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
6048
|
+
topicInfo?: {
|
|
6049
|
+
[x: string]: any;
|
|
6050
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
6051
|
+
} | undefined;
|
|
6052
|
+
} | undefined;
|
|
6053
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6054
|
+
notDisturb: boolean;
|
|
6055
|
+
};
|
|
3800
6056
|
id: string;
|
|
3801
6057
|
userInfo: import("../../shared/types").AnyObject;
|
|
3802
6058
|
msgList: {
|
|
@@ -3805,7 +6061,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3805
6061
|
sessionKey: string;
|
|
3806
6062
|
content: {
|
|
3807
6063
|
[x: string]: any;
|
|
3808
|
-
chatMessageType:
|
|
6064
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
3809
6065
|
msg: string;
|
|
3810
6066
|
referenceContent?: any;
|
|
3811
6067
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -3823,11 +6079,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3823
6079
|
__time?: string | undefined;
|
|
3824
6080
|
__sendTime?: string | undefined;
|
|
3825
6081
|
}[];
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
6082
|
+
sessionList: {
|
|
6083
|
+
id: string;
|
|
6084
|
+
sessionKey: string;
|
|
6085
|
+
receiver: string;
|
|
6086
|
+
createdTime: string;
|
|
6087
|
+
avatar: string;
|
|
6088
|
+
name: string;
|
|
6089
|
+
defaultName: string;
|
|
6090
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6091
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
6092
|
+
status: import("./src/constants").STATUS;
|
|
6093
|
+
sortTime: string;
|
|
6094
|
+
topping: boolean;
|
|
6095
|
+
unreadNum: number;
|
|
6096
|
+
updatedTime: string;
|
|
6097
|
+
lastMessageContent: string;
|
|
6098
|
+
sender?: string | undefined;
|
|
6099
|
+
lastMessageId?: string | undefined;
|
|
6100
|
+
lastMessage?: {
|
|
6101
|
+
[x: string]: any;
|
|
6102
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
6103
|
+
msg: string;
|
|
6104
|
+
referenceContent?: any;
|
|
6105
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6106
|
+
messageTemplate?: any;
|
|
6107
|
+
messageTemplateData?: any;
|
|
6108
|
+
fileUrl?: string | undefined;
|
|
6109
|
+
avStatus?: string | undefined;
|
|
6110
|
+
} | undefined;
|
|
6111
|
+
lastMessageSendTime?: string | undefined;
|
|
6112
|
+
lastMessageStatus?: string | undefined;
|
|
6113
|
+
lastSenderName?: string | undefined;
|
|
6114
|
+
businessInfo?: {
|
|
6115
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
6116
|
+
topicInfo?: {
|
|
6117
|
+
[x: string]: any;
|
|
6118
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
6119
|
+
} | undefined;
|
|
6120
|
+
} | undefined;
|
|
6121
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6122
|
+
notDisturb: boolean;
|
|
6123
|
+
}[];
|
|
3829
6124
|
isChangeSession: boolean;
|
|
3830
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
3831
6125
|
isUpdateSession: boolean;
|
|
3832
6126
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
3833
6127
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -3845,6 +6139,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3845
6139
|
info: import("../../shared/types").AnyObject | null;
|
|
3846
6140
|
};
|
|
3847
6141
|
isForward: boolean;
|
|
6142
|
+
loading: boolean;
|
|
3848
6143
|
};
|
|
3849
6144
|
sendMessage: (message: {
|
|
3850
6145
|
chatType?: string | undefined;
|
|
@@ -3991,8 +6286,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
3991
6286
|
}> & {}>;
|
|
3992
6287
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
3993
6288
|
state: {
|
|
3994
|
-
|
|
3995
|
-
|
|
6289
|
+
[x: string]: any;
|
|
6290
|
+
orgId: string;
|
|
6291
|
+
currentSessionItem: {
|
|
6292
|
+
id: string;
|
|
6293
|
+
sessionKey: string;
|
|
6294
|
+
receiver: string;
|
|
6295
|
+
createdTime: string;
|
|
6296
|
+
avatar: string;
|
|
6297
|
+
name: string;
|
|
6298
|
+
defaultName: string;
|
|
6299
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6300
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
6301
|
+
status: import("./src/constants").STATUS;
|
|
6302
|
+
sortTime: string;
|
|
6303
|
+
topping: boolean;
|
|
6304
|
+
unreadNum: number;
|
|
6305
|
+
updatedTime: string;
|
|
6306
|
+
lastMessageContent: string;
|
|
6307
|
+
sender?: string | undefined;
|
|
6308
|
+
lastMessageId?: string | undefined;
|
|
6309
|
+
lastMessage?: {
|
|
6310
|
+
[x: string]: any;
|
|
6311
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
6312
|
+
msg: string;
|
|
6313
|
+
referenceContent?: any;
|
|
6314
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6315
|
+
messageTemplate?: any;
|
|
6316
|
+
messageTemplateData?: any;
|
|
6317
|
+
fileUrl?: string | undefined;
|
|
6318
|
+
avStatus?: string | undefined;
|
|
6319
|
+
} | undefined;
|
|
6320
|
+
lastMessageSendTime?: string | undefined;
|
|
6321
|
+
lastMessageStatus?: string | undefined;
|
|
6322
|
+
lastSenderName?: string | undefined;
|
|
6323
|
+
businessInfo?: {
|
|
6324
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
6325
|
+
topicInfo?: {
|
|
6326
|
+
[x: string]: any;
|
|
6327
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
6328
|
+
} | undefined;
|
|
6329
|
+
} | undefined;
|
|
6330
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6331
|
+
notDisturb: boolean;
|
|
6332
|
+
};
|
|
3996
6333
|
id: string;
|
|
3997
6334
|
userInfo: import("../../shared/types").AnyObject;
|
|
3998
6335
|
msgList: {
|
|
@@ -4001,7 +6338,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4001
6338
|
sessionKey: string;
|
|
4002
6339
|
content: {
|
|
4003
6340
|
[x: string]: any;
|
|
4004
|
-
chatMessageType:
|
|
6341
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4005
6342
|
msg: string;
|
|
4006
6343
|
referenceContent?: any;
|
|
4007
6344
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -4019,11 +6356,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4019
6356
|
__time?: string | undefined;
|
|
4020
6357
|
__sendTime?: string | undefined;
|
|
4021
6358
|
}[];
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
6359
|
+
sessionList: {
|
|
6360
|
+
id: string;
|
|
6361
|
+
sessionKey: string;
|
|
6362
|
+
receiver: string;
|
|
6363
|
+
createdTime: string;
|
|
6364
|
+
avatar: string;
|
|
6365
|
+
name: string;
|
|
6366
|
+
defaultName: string;
|
|
6367
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6368
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
6369
|
+
status: import("./src/constants").STATUS;
|
|
6370
|
+
sortTime: string;
|
|
6371
|
+
topping: boolean;
|
|
6372
|
+
unreadNum: number;
|
|
6373
|
+
updatedTime: string;
|
|
6374
|
+
lastMessageContent: string;
|
|
6375
|
+
sender?: string | undefined;
|
|
6376
|
+
lastMessageId?: string | undefined;
|
|
6377
|
+
lastMessage?: {
|
|
6378
|
+
[x: string]: any;
|
|
6379
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
6380
|
+
msg: string;
|
|
6381
|
+
referenceContent?: any;
|
|
6382
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6383
|
+
messageTemplate?: any;
|
|
6384
|
+
messageTemplateData?: any;
|
|
6385
|
+
fileUrl?: string | undefined;
|
|
6386
|
+
avStatus?: string | undefined;
|
|
6387
|
+
} | undefined;
|
|
6388
|
+
lastMessageSendTime?: string | undefined;
|
|
6389
|
+
lastMessageStatus?: string | undefined;
|
|
6390
|
+
lastSenderName?: string | undefined;
|
|
6391
|
+
businessInfo?: {
|
|
6392
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
6393
|
+
topicInfo?: {
|
|
6394
|
+
[x: string]: any;
|
|
6395
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
6396
|
+
} | undefined;
|
|
6397
|
+
} | undefined;
|
|
6398
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6399
|
+
notDisturb: boolean;
|
|
6400
|
+
}[];
|
|
4025
6401
|
isChangeSession: boolean;
|
|
4026
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
4027
6402
|
isUpdateSession: boolean;
|
|
4028
6403
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
4029
6404
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -4041,6 +6416,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4041
6416
|
info: import("../../shared/types").AnyObject | null;
|
|
4042
6417
|
};
|
|
4043
6418
|
isForward: boolean;
|
|
6419
|
+
loading: boolean;
|
|
4044
6420
|
};
|
|
4045
6421
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
4046
6422
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -4056,25 +6432,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4056
6432
|
handleInput: () => void;
|
|
4057
6433
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
4058
6434
|
sessionList: import("vue").ComputedRef<{
|
|
4059
|
-
id:
|
|
4060
|
-
name:
|
|
4061
|
-
avatar:
|
|
4062
|
-
chatType:
|
|
4063
|
-
roleInfo:
|
|
6435
|
+
id: string;
|
|
6436
|
+
name: string;
|
|
6437
|
+
avatar: string;
|
|
6438
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6439
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4064
6440
|
}[]>;
|
|
4065
6441
|
friends: import("vue").ComputedRef<{
|
|
4066
|
-
id:
|
|
4067
|
-
name:
|
|
4068
|
-
avatar:
|
|
4069
|
-
chatType:
|
|
4070
|
-
roleInfo:
|
|
6442
|
+
id: string;
|
|
6443
|
+
name: string;
|
|
6444
|
+
avatar: string;
|
|
6445
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6446
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4071
6447
|
}[]>;
|
|
4072
6448
|
groups: import("vue").ComputedRef<{
|
|
4073
|
-
id:
|
|
4074
|
-
name:
|
|
4075
|
-
avatar:
|
|
4076
|
-
chatType:
|
|
4077
|
-
roleInfo:
|
|
6449
|
+
id: string;
|
|
6450
|
+
name: string;
|
|
6451
|
+
avatar: string;
|
|
6452
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6453
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
4078
6454
|
}[]>;
|
|
4079
6455
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
4080
6456
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -4159,8 +6535,50 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4159
6535
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4160
6536
|
PersonProfile: import("vue").DefineComponent<{}, {
|
|
4161
6537
|
state: {
|
|
4162
|
-
|
|
4163
|
-
|
|
6538
|
+
[x: string]: any;
|
|
6539
|
+
orgId: string;
|
|
6540
|
+
currentSessionItem: {
|
|
6541
|
+
id: string;
|
|
6542
|
+
sessionKey: string;
|
|
6543
|
+
receiver: string;
|
|
6544
|
+
createdTime: string;
|
|
6545
|
+
avatar: string;
|
|
6546
|
+
name: string;
|
|
6547
|
+
defaultName: string;
|
|
6548
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6549
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
6550
|
+
status: import("./src/constants").STATUS;
|
|
6551
|
+
sortTime: string;
|
|
6552
|
+
topping: boolean;
|
|
6553
|
+
unreadNum: number;
|
|
6554
|
+
updatedTime: string;
|
|
6555
|
+
lastMessageContent: string;
|
|
6556
|
+
sender?: string | undefined;
|
|
6557
|
+
lastMessageId?: string | undefined;
|
|
6558
|
+
lastMessage?: {
|
|
6559
|
+
[x: string]: any;
|
|
6560
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
6561
|
+
msg: string;
|
|
6562
|
+
referenceContent?: any;
|
|
6563
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6564
|
+
messageTemplate?: any;
|
|
6565
|
+
messageTemplateData?: any;
|
|
6566
|
+
fileUrl?: string | undefined;
|
|
6567
|
+
avStatus?: string | undefined;
|
|
6568
|
+
} | undefined;
|
|
6569
|
+
lastMessageSendTime?: string | undefined;
|
|
6570
|
+
lastMessageStatus?: string | undefined;
|
|
6571
|
+
lastSenderName?: string | undefined;
|
|
6572
|
+
businessInfo?: {
|
|
6573
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
6574
|
+
topicInfo?: {
|
|
6575
|
+
[x: string]: any;
|
|
6576
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
6577
|
+
} | undefined;
|
|
6578
|
+
} | undefined;
|
|
6579
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6580
|
+
notDisturb: boolean;
|
|
6581
|
+
};
|
|
4164
6582
|
id: string;
|
|
4165
6583
|
userInfo: import("../../shared/types").AnyObject;
|
|
4166
6584
|
msgList: {
|
|
@@ -4169,7 +6587,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4169
6587
|
sessionKey: string;
|
|
4170
6588
|
content: {
|
|
4171
6589
|
[x: string]: any;
|
|
4172
|
-
chatMessageType:
|
|
6590
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
4173
6591
|
msg: string;
|
|
4174
6592
|
referenceContent?: any;
|
|
4175
6593
|
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
@@ -4187,11 +6605,49 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4187
6605
|
__time?: string | undefined;
|
|
4188
6606
|
__sendTime?: string | undefined;
|
|
4189
6607
|
}[];
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
6608
|
+
sessionList: {
|
|
6609
|
+
id: string;
|
|
6610
|
+
sessionKey: string;
|
|
6611
|
+
receiver: string;
|
|
6612
|
+
createdTime: string;
|
|
6613
|
+
avatar: string;
|
|
6614
|
+
name: string;
|
|
6615
|
+
defaultName: string;
|
|
6616
|
+
chatType: import("./src/constants").CHAT_TYPE;
|
|
6617
|
+
roleInfo: import("./src/constants").ROLE_TYPE;
|
|
6618
|
+
status: import("./src/constants").STATUS;
|
|
6619
|
+
sortTime: string;
|
|
6620
|
+
topping: boolean;
|
|
6621
|
+
unreadNum: number;
|
|
6622
|
+
updatedTime: string;
|
|
6623
|
+
lastMessageContent: string;
|
|
6624
|
+
sender?: string | undefined;
|
|
6625
|
+
lastMessageId?: string | undefined;
|
|
6626
|
+
lastMessage?: {
|
|
6627
|
+
[x: string]: any;
|
|
6628
|
+
chatMessageType: import("./src/constants").MESSAGE_TYPE;
|
|
6629
|
+
msg: string;
|
|
6630
|
+
referenceContent?: any;
|
|
6631
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6632
|
+
messageTemplate?: any;
|
|
6633
|
+
messageTemplateData?: any;
|
|
6634
|
+
fileUrl?: string | undefined;
|
|
6635
|
+
avStatus?: string | undefined;
|
|
6636
|
+
} | undefined;
|
|
6637
|
+
lastMessageSendTime?: string | undefined;
|
|
6638
|
+
lastMessageStatus?: string | undefined;
|
|
6639
|
+
lastSenderName?: string | undefined;
|
|
6640
|
+
businessInfo?: {
|
|
6641
|
+
uiSetting?: import("../../shared/types").AnyObject | undefined;
|
|
6642
|
+
topicInfo?: {
|
|
6643
|
+
[x: string]: any;
|
|
6644
|
+
param?: import("../../shared/types").AnyObject | undefined;
|
|
6645
|
+
} | undefined;
|
|
6646
|
+
} | undefined;
|
|
6647
|
+
labelList?: import("../../shared/types").AnyObject[] | undefined;
|
|
6648
|
+
notDisturb: boolean;
|
|
6649
|
+
}[];
|
|
4193
6650
|
isChangeSession: boolean;
|
|
4194
|
-
updateSessionItem: import("../../shared/types").AnyObject;
|
|
4195
6651
|
isUpdateSession: boolean;
|
|
4196
6652
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
|
4197
6653
|
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
|
@@ -4209,8 +6665,9 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
4209
6665
|
info: import("../../shared/types").AnyObject | null;
|
|
4210
6666
|
};
|
|
4211
6667
|
isForward: boolean;
|
|
6668
|
+
loading: boolean;
|
|
4212
6669
|
};
|
|
4213
|
-
openSession: (session: string | import("
|
|
6670
|
+
openSession: (session: string | import("./src/types").SessionItem) => Promise<void>;
|
|
4214
6671
|
showLargeAvatar: import("vue").Ref<boolean, boolean>;
|
|
4215
6672
|
showPhone: import("vue").Ref<boolean, boolean>;
|
|
4216
6673
|
userDetail: import("../../shared/types").AnyObject;
|