cnhis-design-vue 3.3.3-release.9 → 3.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/big-table/src/hooks/useBatchEditing.js +25 -24
- package/es/components/button-print/index.d.ts +98 -8
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +98 -8
- package/es/components/button-print/src/ButtonPrint.vue2.js +12 -1
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +11 -2
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +3 -2
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +44 -6
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +194 -41
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +29 -2
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +34 -5
- package/es/components/button-print/src/utils/print.d.ts +7 -5
- package/es/components/button-print/src/utils/print.js +183 -7
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/calendar/src/Calendar.vue2.js +15 -5
- package/es/components/callback/src/components/render/popupMaps.d.ts +5 -0
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/index.d.ts +258 -5
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +258 -5
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +258 -5
- package/es/components/classification/src/index.vue.d.ts +258 -5
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +6 -2
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +58 -15
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +4 -3
- package/es/components/field-editor/index.d.ts +5 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +5 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +4 -1
- package/es/components/field-set/src/components/table-row.vue.d.ts +2 -1
- package/es/components/field-set/src/components/table-row.vue2.js +21 -6
- package/es/components/field-set/src/constants/index.js +4 -4
- package/es/components/field-set/src/types/index.d.ts +2 -1
- package/es/components/form-config/index.d.ts +63 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +63 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +5 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +50 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -0
- package/es/components/form-config/src/constants/index.d.ts +31 -1
- package/es/components/form-config/src/constants/index.js +150 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
- package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
- package/es/components/form-config/src/hooks/useLocale.js +34 -0
- package/es/components/form-config/src/types/index.d.ts +12 -0
- package/es/components/form-render/index.d.ts +5 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +5 -0
- package/es/components/form-render/src/FormRender.vue2.js +1 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +5 -0
- package/es/components/form-render/src/components/renderer/date.d.ts +3 -1
- package/es/components/form-render/src/components/renderer/date.js +12 -10
- package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/formItem.js +10 -3
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
- 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 +9 -3
- package/es/components/form-render/src/constants/index.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.d.ts +1 -2
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-chat/index.d.ts +897 -97
- package/es/components/iho-chat/src/Index.vue.d.ts +897 -97
- package/es/components/iho-chat/src/Index.vue2.js +14 -6
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +179 -6
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +48 -28
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +61 -5
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +106 -44
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +327 -13
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +18 -17
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +232 -17
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +299 -272
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +49 -3
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
- package/es/components/iho-chat/src/components/ContextMenu.js +33 -18
- package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +51 -4
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +77 -31
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +223 -98
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +44 -26
- package/es/components/iho-chat/src/components/Video.vue2.js +56 -49
- package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +83 -16
- package/es/components/iho-chat/src/hooks/useVideo.js +439 -43
- package/es/components/iho-chat/src/types/index.d.ts +37 -1
- package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
- package/es/components/iho-chat/src/utils/emoji.js +1 -1
- package/es/components/iho-chat/src/utils/index.d.ts +2 -0
- package/es/components/iho-chat/src/utils/index.js +14 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -22
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +36 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -0
- package/es/components/index.js +2 -1
- package/es/components/info-header/index.d.ts +24 -17
- package/es/components/info-header/src/InfoHeader.vue.d.ts +24 -17
- package/es/components/info-header/src/InfoHeader.vue2.js +2 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +4 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +15 -17
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +5 -0
- package/es/components/info-header/src/constants/index.d.ts +1 -1
- package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +1 -2
- package/es/components/keyboard/index.d.ts +9 -0
- package/es/components/keyboard/src/Keyboard.vue.d.ts +9 -0
- package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +4 -0
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +50 -17
- package/es/components/keyboard/src/types.d.ts +17 -0
- package/es/components/keyboard/src/types.js +1 -0
- package/es/components/scale-view/index.d.ts +13 -0
- package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +2 -1
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +4 -0
- package/es/components/search-cascader/src/utils/index.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +8 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -0
- package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/utils/index.js +3 -1
- package/es/components/shortcut-setter/index.d.ts +5 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +5 -0
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +246 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +104 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +250 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +116 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +117 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +45 -8
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +233 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +74 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +258 -5
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +15 -6
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +38 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
- package/es/components/table-filter/src/hooks/useAdvanced.js +5 -4
- package/es/components/table-filter/src/tool/baseOptions.js +8 -1
- package/es/components/table-filter/src/types/enums.d.ts +5 -0
- package/es/components/table-filter/src/types/enums.js +6 -1
- package/es/components/time-picker/index.d.ts +36 -4
- package/es/components/time-picker/src/TimePicker.vue.d.ts +36 -4
- package/es/components/time-picker/src/TimePicker.vue2.js +98 -13
- package/es/components/vertify/index.d.ts +1 -0
- package/es/components/vertify/index.js +1 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
- package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
- package/es/components/vertify/src/utils/dialog.d.ts +7 -0
- package/es/components/vertify/src/utils/dialog.js +73 -0
- package/es/components/vertify/src/utils/index.d.ts +11 -0
- package/es/components/vertify/src/utils/index.js +24 -0
- package/es/components/vod-chunk-upload/index.d.ts +13 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +19 -2
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +104 -75
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +20 -3
- package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +6 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +13 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +6 -1
- package/es/components/vod-chunk-upload/style/index.css +1 -1
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +1 -1
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/hooks/useLevelSearchCascader.js +3 -3
- package/es/shared/package.json.js +2 -2
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/package.json +5 -5
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -48,6 +48,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
48
48
|
iceTransportPolicy: "all" | "relay";
|
49
49
|
}>>;
|
50
50
|
};
|
51
|
+
videoTeleportTo: {
|
52
|
+
type: import("vue").PropType<string | Element>;
|
53
|
+
default: string;
|
54
|
+
};
|
51
55
|
}, {
|
52
56
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
53
57
|
token: {
|
@@ -98,6 +102,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
98
102
|
iceTransportPolicy: "all" | "relay";
|
99
103
|
}>>;
|
100
104
|
};
|
105
|
+
videoTeleportTo: {
|
106
|
+
type: import("vue").PropType<string | Element>;
|
107
|
+
default: string;
|
108
|
+
};
|
101
109
|
}>> & {
|
102
110
|
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
103
111
|
"onUnread-message-update"?: ((...args: any[]) => any) | undefined;
|
@@ -116,7 +124,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
116
124
|
currentSessionItem: import("../../shared/types").AnyObject;
|
117
125
|
id: string;
|
118
126
|
userInfo: import("../../shared/types").AnyObject;
|
119
|
-
msgList:
|
127
|
+
msgList: {
|
128
|
+
[x: string]: any;
|
129
|
+
id: string;
|
130
|
+
sessionKey: string;
|
131
|
+
content: {
|
132
|
+
[x: string]: any;
|
133
|
+
chatMessageType: string;
|
134
|
+
msg: string;
|
135
|
+
referenceContent?: any;
|
136
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
137
|
+
messageTemplate?: any;
|
138
|
+
messageTemplateData?: any;
|
139
|
+
fileUrl?: string | undefined;
|
140
|
+
avStatus?: string | undefined;
|
141
|
+
};
|
142
|
+
senderName: string;
|
143
|
+
sendTime: string;
|
144
|
+
sender: string;
|
145
|
+
status: string;
|
146
|
+
senderAvatar: string;
|
147
|
+
__content: string;
|
148
|
+
__time?: string | undefined;
|
149
|
+
__sendTime?: string | undefined;
|
150
|
+
}[];
|
120
151
|
currentMsg: import("../../shared/types").AnyObject;
|
121
152
|
isAppendMsg: boolean;
|
122
153
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -144,7 +175,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
144
175
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
145
176
|
isGroupLeader: import("vue").ComputedRef<boolean>;
|
146
177
|
isEnded: import("vue").ComputedRef<boolean>;
|
147
|
-
setMsgList: (list?: import("../../shared/types").AnyObject[]) => void;
|
178
|
+
setMsgList: (list?: import("../../shared/types").AnyObject[] | import("./src/types").MsgListItem) => void;
|
148
179
|
sendMessage: (message: {
|
149
180
|
chatType?: string | undefined;
|
150
181
|
content: import("../../shared/types").AnyObject;
|
@@ -175,7 +206,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
175
206
|
currentSessionItem: import("../../shared/types").AnyObject;
|
176
207
|
id: string;
|
177
208
|
userInfo: import("../../shared/types").AnyObject;
|
178
|
-
msgList:
|
209
|
+
msgList: {
|
210
|
+
[x: string]: any;
|
211
|
+
id: string;
|
212
|
+
sessionKey: string;
|
213
|
+
content: {
|
214
|
+
[x: string]: any;
|
215
|
+
chatMessageType: string;
|
216
|
+
msg: string;
|
217
|
+
referenceContent?: any;
|
218
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
219
|
+
messageTemplate?: any;
|
220
|
+
messageTemplateData?: any;
|
221
|
+
fileUrl?: string | undefined;
|
222
|
+
avStatus?: string | undefined;
|
223
|
+
};
|
224
|
+
senderName: string;
|
225
|
+
sendTime: string;
|
226
|
+
sender: string;
|
227
|
+
status: string;
|
228
|
+
senderAvatar: string;
|
229
|
+
__content: string;
|
230
|
+
__time?: string | undefined;
|
231
|
+
__sendTime?: string | undefined;
|
232
|
+
}[];
|
179
233
|
currentMsg: import("../../shared/types").AnyObject;
|
180
234
|
isAppendMsg: boolean;
|
181
235
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -238,7 +292,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
238
292
|
currentSessionItem: import("../../shared/types").AnyObject;
|
239
293
|
id: string;
|
240
294
|
userInfo: import("../../shared/types").AnyObject;
|
241
|
-
msgList:
|
295
|
+
msgList: {
|
296
|
+
[x: string]: any;
|
297
|
+
id: string;
|
298
|
+
sessionKey: string;
|
299
|
+
content: {
|
300
|
+
[x: string]: any;
|
301
|
+
chatMessageType: string;
|
302
|
+
msg: string;
|
303
|
+
referenceContent?: any;
|
304
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
305
|
+
messageTemplate?: any;
|
306
|
+
messageTemplateData?: any;
|
307
|
+
fileUrl?: string | undefined;
|
308
|
+
avStatus?: string | undefined;
|
309
|
+
};
|
310
|
+
senderName: string;
|
311
|
+
sendTime: string;
|
312
|
+
sender: string;
|
313
|
+
status: string;
|
314
|
+
senderAvatar: string;
|
315
|
+
__content: string;
|
316
|
+
__time?: string | undefined;
|
317
|
+
__sendTime?: string | undefined;
|
318
|
+
}[];
|
242
319
|
currentMsg: import("../../shared/types").AnyObject;
|
243
320
|
isAppendMsg: boolean;
|
244
321
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -537,7 +614,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
537
614
|
currentSessionItem: import("../../shared/types").AnyObject;
|
538
615
|
id: string;
|
539
616
|
userInfo: import("../../shared/types").AnyObject;
|
540
|
-
msgList:
|
617
|
+
msgList: {
|
618
|
+
[x: string]: any;
|
619
|
+
id: string;
|
620
|
+
sessionKey: string;
|
621
|
+
content: {
|
622
|
+
[x: string]: any;
|
623
|
+
chatMessageType: string;
|
624
|
+
msg: string;
|
625
|
+
referenceContent?: any;
|
626
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
627
|
+
messageTemplate?: any;
|
628
|
+
messageTemplateData?: any;
|
629
|
+
fileUrl?: string | undefined;
|
630
|
+
avStatus?: string | undefined;
|
631
|
+
};
|
632
|
+
senderName: string;
|
633
|
+
sendTime: string;
|
634
|
+
sender: string;
|
635
|
+
status: string;
|
636
|
+
senderAvatar: string;
|
637
|
+
__content: string;
|
638
|
+
__time?: string | undefined;
|
639
|
+
__sendTime?: string | undefined;
|
640
|
+
}[];
|
541
641
|
currentMsg: import("../../shared/types").AnyObject;
|
542
642
|
isAppendMsg: boolean;
|
543
643
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -598,7 +698,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
598
698
|
currentSessionItem: import("../../shared/types").AnyObject;
|
599
699
|
id: string;
|
600
700
|
userInfo: import("../../shared/types").AnyObject;
|
601
|
-
msgList:
|
701
|
+
msgList: {
|
702
|
+
[x: string]: any;
|
703
|
+
id: string;
|
704
|
+
sessionKey: string;
|
705
|
+
content: {
|
706
|
+
[x: string]: any;
|
707
|
+
chatMessageType: string;
|
708
|
+
msg: string;
|
709
|
+
referenceContent?: any;
|
710
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
711
|
+
messageTemplate?: any;
|
712
|
+
messageTemplateData?: any;
|
713
|
+
fileUrl?: string | undefined;
|
714
|
+
avStatus?: string | undefined;
|
715
|
+
};
|
716
|
+
senderName: string;
|
717
|
+
sendTime: string;
|
718
|
+
sender: string;
|
719
|
+
status: string;
|
720
|
+
senderAvatar: string;
|
721
|
+
__content: string;
|
722
|
+
__time?: string | undefined;
|
723
|
+
__sendTime?: string | undefined;
|
724
|
+
}[];
|
602
725
|
currentMsg: import("../../shared/types").AnyObject;
|
603
726
|
isAppendMsg: boolean;
|
604
727
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -719,7 +842,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
719
842
|
currentSessionItem: import("../../shared/types").AnyObject;
|
720
843
|
id: string;
|
721
844
|
userInfo: import("../../shared/types").AnyObject;
|
722
|
-
msgList:
|
845
|
+
msgList: {
|
846
|
+
[x: string]: any;
|
847
|
+
id: string;
|
848
|
+
sessionKey: string;
|
849
|
+
content: {
|
850
|
+
[x: string]: any;
|
851
|
+
chatMessageType: string;
|
852
|
+
msg: string;
|
853
|
+
referenceContent?: any;
|
854
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
855
|
+
messageTemplate?: any;
|
856
|
+
messageTemplateData?: any;
|
857
|
+
fileUrl?: string | undefined;
|
858
|
+
avStatus?: string | undefined;
|
859
|
+
};
|
860
|
+
senderName: string;
|
861
|
+
sendTime: string;
|
862
|
+
sender: string;
|
863
|
+
status: string;
|
864
|
+
senderAvatar: string;
|
865
|
+
__content: string;
|
866
|
+
__time?: string | undefined;
|
867
|
+
__sendTime?: string | undefined;
|
868
|
+
}[];
|
723
869
|
currentMsg: import("../../shared/types").AnyObject;
|
724
870
|
isAppendMsg: boolean;
|
725
871
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -876,7 +1022,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
876
1022
|
currentSessionItem: import("../../shared/types").AnyObject;
|
877
1023
|
id: string;
|
878
1024
|
userInfo: import("../../shared/types").AnyObject;
|
879
|
-
msgList:
|
1025
|
+
msgList: {
|
1026
|
+
[x: string]: any;
|
1027
|
+
id: string;
|
1028
|
+
sessionKey: string;
|
1029
|
+
content: {
|
1030
|
+
[x: string]: any;
|
1031
|
+
chatMessageType: string;
|
1032
|
+
msg: string;
|
1033
|
+
referenceContent?: any;
|
1034
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
1035
|
+
messageTemplate?: any;
|
1036
|
+
messageTemplateData?: any;
|
1037
|
+
fileUrl?: string | undefined;
|
1038
|
+
avStatus?: string | undefined;
|
1039
|
+
};
|
1040
|
+
senderName: string;
|
1041
|
+
sendTime: string;
|
1042
|
+
sender: string;
|
1043
|
+
status: string;
|
1044
|
+
senderAvatar: string;
|
1045
|
+
__content: string;
|
1046
|
+
__time?: string | undefined;
|
1047
|
+
__sendTime?: string | undefined;
|
1048
|
+
}[];
|
880
1049
|
currentMsg: import("../../shared/types").AnyObject;
|
881
1050
|
isAppendMsg: boolean;
|
882
1051
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -905,11 +1074,26 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
905
1074
|
remark: string;
|
906
1075
|
contents: import("../../shared/types").AnyObject[];
|
907
1076
|
}) => Promise<void>;
|
908
|
-
imageList: import("vue").Ref<
|
1077
|
+
imageList: import("vue").Ref<{
|
1078
|
+
label: string;
|
1079
|
+
list: {
|
1080
|
+
[x: string]: any;
|
1081
|
+
id: string;
|
1082
|
+
fileUrl: string;
|
1083
|
+
senderName: string;
|
1084
|
+
fileSize: string;
|
1085
|
+
sendTime: string;
|
1086
|
+
fileName: string;
|
1087
|
+
width?: number | undefined;
|
1088
|
+
height?: number | undefined;
|
1089
|
+
}[];
|
1090
|
+
}[]>;
|
909
1091
|
fileList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
910
1092
|
imageRef: import("vue").Ref<any>;
|
911
1093
|
fileRef: import("vue").Ref<any>;
|
912
1094
|
keyword: import("vue").Ref<any>;
|
1095
|
+
currentImgId: import("vue").Ref<string | undefined>;
|
1096
|
+
showLightbox: import("vue").Ref<boolean>;
|
913
1097
|
handleInput: () => void;
|
914
1098
|
pageInfo: {
|
915
1099
|
page: number;
|
@@ -919,13 +1103,23 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
919
1103
|
handleSearch: () => Promise<void>;
|
920
1104
|
formatImageList: (data: import("../../shared/types").AnyObject[]) => {
|
921
1105
|
label: string;
|
922
|
-
list:
|
1106
|
+
list: import("./src/types").ImageItem[];
|
923
1107
|
}[];
|
924
1108
|
resetAndSearch: () => void;
|
1109
|
+
previewImg: (fileUrl: string) => void;
|
925
1110
|
title: import("vue").ComputedRef<"聊天图片" | "聊天文件">;
|
1111
|
+
images: import("vue").ComputedRef<{
|
1112
|
+
[x: string]: any;
|
1113
|
+
id: string;
|
1114
|
+
fileUrl: string;
|
1115
|
+
senderName: string;
|
1116
|
+
fileSize: string;
|
1117
|
+
sendTime: string;
|
1118
|
+
fileName: string;
|
1119
|
+
width?: number | undefined;
|
1120
|
+
height?: number | undefined;
|
1121
|
+
}[]>;
|
926
1122
|
NModal: any;
|
927
|
-
NImageGroup: any;
|
928
|
-
NImage: any;
|
929
1123
|
NInput: any;
|
930
1124
|
NIcon: any;
|
931
1125
|
NTooltip: any;
|
@@ -1000,7 +1194,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1000
1194
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1001
1195
|
id: string;
|
1002
1196
|
userInfo: import("../../shared/types").AnyObject;
|
1003
|
-
msgList:
|
1197
|
+
msgList: {
|
1198
|
+
[x: string]: any;
|
1199
|
+
id: string;
|
1200
|
+
sessionKey: string;
|
1201
|
+
content: {
|
1202
|
+
[x: string]: any;
|
1203
|
+
chatMessageType: string;
|
1204
|
+
msg: string;
|
1205
|
+
referenceContent?: any;
|
1206
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
1207
|
+
messageTemplate?: any;
|
1208
|
+
messageTemplateData?: any;
|
1209
|
+
fileUrl?: string | undefined;
|
1210
|
+
avStatus?: string | undefined;
|
1211
|
+
};
|
1212
|
+
senderName: string;
|
1213
|
+
sendTime: string;
|
1214
|
+
sender: string;
|
1215
|
+
status: string;
|
1216
|
+
senderAvatar: string;
|
1217
|
+
__content: string;
|
1218
|
+
__time?: string | undefined;
|
1219
|
+
__sendTime?: string | undefined;
|
1220
|
+
}[];
|
1004
1221
|
currentMsg: import("../../shared/types").AnyObject;
|
1005
1222
|
isAppendMsg: boolean;
|
1006
1223
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -1130,6 +1347,107 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1130
1347
|
mode: string;
|
1131
1348
|
disabledIds: string[];
|
1132
1349
|
}>;
|
1350
|
+
ImageLightbox: import("vue").DefineComponent<{
|
1351
|
+
images: {
|
1352
|
+
type: import("vue").PropType<import("./src/types").ImageItem[]>;
|
1353
|
+
default: () => never[];
|
1354
|
+
};
|
1355
|
+
visible: {
|
1356
|
+
type: BooleanConstructor;
|
1357
|
+
};
|
1358
|
+
currentId: {
|
1359
|
+
type: StringConstructor;
|
1360
|
+
default: string;
|
1361
|
+
};
|
1362
|
+
}, {
|
1363
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1364
|
+
images: {
|
1365
|
+
type: import("vue").PropType<import("./src/types").ImageItem[]>;
|
1366
|
+
default: () => never[];
|
1367
|
+
};
|
1368
|
+
visible: {
|
1369
|
+
type: BooleanConstructor;
|
1370
|
+
};
|
1371
|
+
currentId: {
|
1372
|
+
type: StringConstructor;
|
1373
|
+
default: string;
|
1374
|
+
};
|
1375
|
+
}>> & {
|
1376
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
1377
|
+
"onUpdate:currentId"?: ((...args: any[]) => any) | undefined;
|
1378
|
+
}>>;
|
1379
|
+
emit: (event: "update:visible" | "update:currentId", ...args: any[]) => void;
|
1380
|
+
imageEl: import("vue").Ref<HTMLImageElement | null>;
|
1381
|
+
naturalSize: import("vue").Ref<{
|
1382
|
+
width: number;
|
1383
|
+
height: number;
|
1384
|
+
}>;
|
1385
|
+
scale: import("vue").Ref<number>;
|
1386
|
+
rotation: import("vue").Ref<number>;
|
1387
|
+
isDragging: import("vue").Ref<boolean>;
|
1388
|
+
offset: import("vue").Ref<{
|
1389
|
+
x: number;
|
1390
|
+
y: number;
|
1391
|
+
}>;
|
1392
|
+
lastMouse: import("vue").Ref<{
|
1393
|
+
x: number;
|
1394
|
+
y: number;
|
1395
|
+
}>;
|
1396
|
+
idToIndexMap: import("vue").ComputedRef<Map<string, number>>;
|
1397
|
+
currentIndex: import("vue").ComputedRef<number>;
|
1398
|
+
currentImageData: import("vue").ComputedRef<import("./src/types").ImageItem>;
|
1399
|
+
hasNext: import("vue").ComputedRef<boolean>;
|
1400
|
+
hasPrev: import("vue").ComputedRef<boolean>;
|
1401
|
+
imageStyle: import("vue").ComputedRef<{
|
1402
|
+
left: string;
|
1403
|
+
top: string;
|
1404
|
+
transform: string;
|
1405
|
+
cursor: string;
|
1406
|
+
transition: string;
|
1407
|
+
}>;
|
1408
|
+
resetImageState: () => void;
|
1409
|
+
close: () => void;
|
1410
|
+
nextImage: () => void;
|
1411
|
+
prevImage: () => void;
|
1412
|
+
rotate: (degrees: number) => void;
|
1413
|
+
zoomIn: () => void;
|
1414
|
+
zoomOut: () => void;
|
1415
|
+
resetZoom: () => void;
|
1416
|
+
startDrag: (e: MouseEvent) => void;
|
1417
|
+
onDragMove: (e: MouseEvent) => void;
|
1418
|
+
endDrag: () => void;
|
1419
|
+
handleWheel: (e: WheelEvent) => void;
|
1420
|
+
handleImageLoad: () => void;
|
1421
|
+
download: () => void;
|
1422
|
+
Close: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1423
|
+
PlaySkipBackOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1424
|
+
PlaySkipForwardOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1425
|
+
DownloadOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1426
|
+
RefreshOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1427
|
+
AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1428
|
+
RemoveSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1429
|
+
NButton: any;
|
1430
|
+
NIcon: any;
|
1431
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "update:currentId")[], "update:visible" | "update:currentId", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1432
|
+
images: {
|
1433
|
+
type: import("vue").PropType<import("./src/types").ImageItem[]>;
|
1434
|
+
default: () => never[];
|
1435
|
+
};
|
1436
|
+
visible: {
|
1437
|
+
type: BooleanConstructor;
|
1438
|
+
};
|
1439
|
+
currentId: {
|
1440
|
+
type: StringConstructor;
|
1441
|
+
default: string;
|
1442
|
+
};
|
1443
|
+
}>> & {
|
1444
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
1445
|
+
"onUpdate:currentId"?: ((...args: any[]) => any) | undefined;
|
1446
|
+
}, {
|
1447
|
+
visible: boolean;
|
1448
|
+
images: import("./src/types").ImageItem[];
|
1449
|
+
currentId: string;
|
1450
|
+
}>;
|
1133
1451
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1134
1452
|
type: {
|
1135
1453
|
type: StringConstructor;
|
@@ -1161,7 +1479,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1161
1479
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1162
1480
|
id: string;
|
1163
1481
|
userInfo: import("../../shared/types").AnyObject;
|
1164
|
-
msgList:
|
1482
|
+
msgList: {
|
1483
|
+
[x: string]: any;
|
1484
|
+
id: string;
|
1485
|
+
sessionKey: string;
|
1486
|
+
content: {
|
1487
|
+
[x: string]: any;
|
1488
|
+
chatMessageType: string;
|
1489
|
+
msg: string;
|
1490
|
+
referenceContent?: any;
|
1491
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
1492
|
+
messageTemplate?: any;
|
1493
|
+
messageTemplateData?: any;
|
1494
|
+
fileUrl?: string | undefined;
|
1495
|
+
avStatus?: string | undefined;
|
1496
|
+
};
|
1497
|
+
senderName: string;
|
1498
|
+
sendTime: string;
|
1499
|
+
sender: string;
|
1500
|
+
status: string;
|
1501
|
+
senderAvatar: string;
|
1502
|
+
__content: string;
|
1503
|
+
__time?: string | undefined;
|
1504
|
+
__sendTime?: string | undefined;
|
1505
|
+
}[];
|
1165
1506
|
currentMsg: import("../../shared/types").AnyObject;
|
1166
1507
|
isAppendMsg: boolean;
|
1167
1508
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -1362,7 +1703,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1362
1703
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
1363
1704
|
emojis: {
|
1364
1705
|
default: string[][];
|
1365
|
-
findEmoji(name: string):
|
1706
|
+
findEmoji(name: string): string | undefined;
|
1366
1707
|
};
|
1367
1708
|
MessageEvent: import("vue").DefineComponent<{
|
1368
1709
|
data: {
|
@@ -1381,7 +1722,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1381
1722
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1382
1723
|
id: string;
|
1383
1724
|
userInfo: import("../../shared/types").AnyObject;
|
1384
|
-
msgList:
|
1725
|
+
msgList: {
|
1726
|
+
[x: string]: any;
|
1727
|
+
id: string;
|
1728
|
+
sessionKey: string;
|
1729
|
+
content: {
|
1730
|
+
[x: string]: any;
|
1731
|
+
chatMessageType: string;
|
1732
|
+
msg: string;
|
1733
|
+
referenceContent?: any;
|
1734
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
1735
|
+
messageTemplate?: any;
|
1736
|
+
messageTemplateData?: any;
|
1737
|
+
fileUrl?: string | undefined;
|
1738
|
+
avStatus?: string | undefined;
|
1739
|
+
};
|
1740
|
+
senderName: string;
|
1741
|
+
sendTime: string;
|
1742
|
+
sender: string;
|
1743
|
+
status: string;
|
1744
|
+
senderAvatar: string;
|
1745
|
+
__content: string;
|
1746
|
+
__time?: string | undefined;
|
1747
|
+
__sendTime?: string | undefined;
|
1748
|
+
}[];
|
1385
1749
|
currentMsg: import("../../shared/types").AnyObject;
|
1386
1750
|
isAppendMsg: boolean;
|
1387
1751
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -1489,7 +1853,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1489
1853
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1490
1854
|
id: string;
|
1491
1855
|
userInfo: import("../../shared/types").AnyObject;
|
1492
|
-
msgList:
|
1856
|
+
msgList: {
|
1857
|
+
[x: string]: any;
|
1858
|
+
id: string;
|
1859
|
+
sessionKey: string;
|
1860
|
+
content: {
|
1861
|
+
[x: string]: any;
|
1862
|
+
chatMessageType: string;
|
1863
|
+
msg: string;
|
1864
|
+
referenceContent?: any;
|
1865
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
1866
|
+
messageTemplate?: any;
|
1867
|
+
messageTemplateData?: any;
|
1868
|
+
fileUrl?: string | undefined;
|
1869
|
+
avStatus?: string | undefined;
|
1870
|
+
};
|
1871
|
+
senderName: string;
|
1872
|
+
sendTime: string;
|
1873
|
+
sender: string;
|
1874
|
+
status: string;
|
1875
|
+
senderAvatar: string;
|
1876
|
+
__content: string;
|
1877
|
+
__time?: string | undefined;
|
1878
|
+
__sendTime?: string | undefined;
|
1879
|
+
}[];
|
1493
1880
|
currentMsg: import("../../shared/types").AnyObject;
|
1494
1881
|
isAppendMsg: boolean;
|
1495
1882
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -1621,6 +2008,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1621
2008
|
}>;
|
1622
2009
|
PersonAddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1623
2010
|
CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2011
|
+
FolderOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2012
|
+
ImageOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2013
|
+
SettingsOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2014
|
+
SearchLocate: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1624
2015
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1625
2016
|
ChatMain: import("vue").DefineComponent<{}, {
|
1626
2017
|
chatMainRef: import("vue").Ref<HTMLElement | undefined>;
|
@@ -1629,7 +2020,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1629
2020
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1630
2021
|
id: string;
|
1631
2022
|
userInfo: import("../../shared/types").AnyObject;
|
1632
|
-
msgList:
|
2023
|
+
msgList: {
|
2024
|
+
[x: string]: any;
|
2025
|
+
id: string;
|
2026
|
+
sessionKey: string;
|
2027
|
+
content: {
|
2028
|
+
[x: string]: any;
|
2029
|
+
chatMessageType: string;
|
2030
|
+
msg: string;
|
2031
|
+
referenceContent?: any;
|
2032
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
2033
|
+
messageTemplate?: any;
|
2034
|
+
messageTemplateData?: any;
|
2035
|
+
fileUrl?: string | undefined;
|
2036
|
+
avStatus?: string | undefined;
|
2037
|
+
};
|
2038
|
+
senderName: string;
|
2039
|
+
sendTime: string;
|
2040
|
+
sender: string;
|
2041
|
+
status: string;
|
2042
|
+
senderAvatar: string;
|
2043
|
+
__content: string;
|
2044
|
+
__time?: string | undefined;
|
2045
|
+
__sendTime?: string | undefined;
|
2046
|
+
}[];
|
1633
2047
|
currentMsg: import("../../shared/types").AnyObject;
|
1634
2048
|
isAppendMsg: boolean;
|
1635
2049
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -1653,7 +2067,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1653
2067
|
};
|
1654
2068
|
isForward: boolean;
|
1655
2069
|
};
|
1656
|
-
setMsgList: (list?: import("../../shared/types").AnyObject[]) => void;
|
2070
|
+
setMsgList: (list?: import("../../shared/types").AnyObject[] | import("./src/types").MsgListItem) => void;
|
1657
2071
|
relayMessage: (param: {
|
1658
2072
|
checkedIds: string[];
|
1659
2073
|
remark: string;
|
@@ -1678,6 +2092,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1678
2092
|
y: number;
|
1679
2093
|
};
|
1680
2094
|
showForwardDetail: import("vue").Ref<boolean>;
|
2095
|
+
currentImgId: import("vue").Ref<string | undefined>;
|
2096
|
+
showLightbox: import("vue").Ref<boolean>;
|
1681
2097
|
pageInfo: {
|
1682
2098
|
page: number;
|
1683
2099
|
hasMore: boolean;
|
@@ -1687,9 +2103,9 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1687
2103
|
'--c-tip-top': string;
|
1688
2104
|
'--c-tip-gap': string;
|
1689
2105
|
}>;
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
2106
|
+
images: import("vue").ComputedRef<import("./src/types").ImageItem[]>;
|
2107
|
+
addImageItem: (list: import("./src/types").ImageItem[], item: import("../../shared/types").AnyObject) => void;
|
2108
|
+
processBlendContent: (list: import("./src/types").ImageItem[], item: import("../../shared/types").AnyObject) => void;
|
1693
2109
|
getHistoryRecord: () => Promise<void>;
|
1694
2110
|
handleSelectLabel: (event: MouseEvent, msgId: string) => void;
|
1695
2111
|
handleContextmenu: (event: MouseEvent, msgId: string) => Promise<void>;
|
@@ -1712,8 +2128,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1712
2128
|
reEdit: (item: import("../../shared/types").AnyObject) => void;
|
1713
2129
|
clickMergeMsg: (item: import("../../shared/types").AnyObject) => void;
|
1714
2130
|
NAvatar: any;
|
1715
|
-
NImageGroup: any;
|
1716
|
-
NImage: any;
|
1717
2131
|
NIcon: any;
|
1718
2132
|
NButtonGroup: any;
|
1719
2133
|
NButton: any;
|
@@ -1818,7 +2232,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1818
2232
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1819
2233
|
id: string;
|
1820
2234
|
userInfo: import("../../shared/types").AnyObject;
|
1821
|
-
msgList:
|
2235
|
+
msgList: {
|
2236
|
+
[x: string]: any;
|
2237
|
+
id: string;
|
2238
|
+
sessionKey: string;
|
2239
|
+
content: {
|
2240
|
+
[x: string]: any;
|
2241
|
+
chatMessageType: string;
|
2242
|
+
msg: string;
|
2243
|
+
referenceContent?: any;
|
2244
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
2245
|
+
messageTemplate?: any;
|
2246
|
+
messageTemplateData?: any;
|
2247
|
+
fileUrl?: string | undefined;
|
2248
|
+
avStatus?: string | undefined;
|
2249
|
+
};
|
2250
|
+
senderName: string;
|
2251
|
+
sendTime: string;
|
2252
|
+
sender: string;
|
2253
|
+
status: string;
|
2254
|
+
senderAvatar: string;
|
2255
|
+
__content: string;
|
2256
|
+
__time?: string | undefined;
|
2257
|
+
__sendTime?: string | undefined;
|
2258
|
+
}[];
|
1822
2259
|
currentMsg: import("../../shared/types").AnyObject;
|
1823
2260
|
isAppendMsg: boolean;
|
1824
2261
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -1870,7 +2307,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1870
2307
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1871
2308
|
id: string;
|
1872
2309
|
userInfo: import("../../shared/types").AnyObject;
|
1873
|
-
msgList:
|
2310
|
+
msgList: {
|
2311
|
+
[x: string]: any;
|
2312
|
+
id: string;
|
2313
|
+
sessionKey: string;
|
2314
|
+
content: {
|
2315
|
+
[x: string]: any;
|
2316
|
+
chatMessageType: string;
|
2317
|
+
msg: string;
|
2318
|
+
referenceContent?: any;
|
2319
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
2320
|
+
messageTemplate?: any;
|
2321
|
+
messageTemplateData?: any;
|
2322
|
+
fileUrl?: string | undefined;
|
2323
|
+
avStatus?: string | undefined;
|
2324
|
+
};
|
2325
|
+
senderName: string;
|
2326
|
+
sendTime: string;
|
2327
|
+
sender: string;
|
2328
|
+
status: string;
|
2329
|
+
senderAvatar: string;
|
2330
|
+
__content: string;
|
2331
|
+
__time?: string | undefined;
|
2332
|
+
__sendTime?: string | undefined;
|
2333
|
+
}[];
|
1874
2334
|
currentMsg: import("../../shared/types").AnyObject;
|
1875
2335
|
isAppendMsg: boolean;
|
1876
2336
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -1895,7 +2355,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1895
2355
|
isForward: boolean;
|
1896
2356
|
};
|
1897
2357
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
1898
|
-
msgItem: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
2358
|
+
msgItem: import("vue").ComputedRef<import("../../shared/types").AnyObject | import("./src/types").MsgListItem>;
|
1899
2359
|
msgList: import("vue").ComputedRef<any>;
|
1900
2360
|
NModal: any;
|
1901
2361
|
NAvatar: any;
|
@@ -1916,7 +2376,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1916
2376
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
1917
2377
|
emojis: {
|
1918
2378
|
default: string[][];
|
1919
|
-
findEmoji(name: string):
|
2379
|
+
findEmoji(name: string): string | undefined;
|
1920
2380
|
};
|
1921
2381
|
MessageEvent: import("vue").DefineComponent<{
|
1922
2382
|
data: {
|
@@ -1935,7 +2395,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1935
2395
|
currentSessionItem: import("../../shared/types").AnyObject;
|
1936
2396
|
id: string;
|
1937
2397
|
userInfo: import("../../shared/types").AnyObject;
|
1938
|
-
msgList:
|
2398
|
+
msgList: {
|
2399
|
+
[x: string]: any;
|
2400
|
+
id: string;
|
2401
|
+
sessionKey: string;
|
2402
|
+
content: {
|
2403
|
+
[x: string]: any;
|
2404
|
+
chatMessageType: string;
|
2405
|
+
msg: string;
|
2406
|
+
referenceContent?: any;
|
2407
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
2408
|
+
messageTemplate?: any;
|
2409
|
+
messageTemplateData?: any;
|
2410
|
+
fileUrl?: string | undefined;
|
2411
|
+
avStatus?: string | undefined;
|
2412
|
+
};
|
2413
|
+
senderName: string;
|
2414
|
+
sendTime: string;
|
2415
|
+
sender: string;
|
2416
|
+
status: string;
|
2417
|
+
senderAvatar: string;
|
2418
|
+
__content: string;
|
2419
|
+
__time?: string | undefined;
|
2420
|
+
__sendTime?: string | undefined;
|
2421
|
+
}[];
|
1939
2422
|
currentMsg: import("../../shared/types").AnyObject;
|
1940
2423
|
isAppendMsg: boolean;
|
1941
2424
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -2017,7 +2500,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2017
2500
|
NTooltip: any;
|
2018
2501
|
emojis: {
|
2019
2502
|
default: string[][];
|
2020
|
-
findEmoji(name: string):
|
2503
|
+
findEmoji(name: string): string | undefined;
|
2021
2504
|
};
|
2022
2505
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2023
2506
|
id: {
|
@@ -2034,7 +2517,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2034
2517
|
}>;
|
2035
2518
|
emojis: {
|
2036
2519
|
default: string[][];
|
2037
|
-
findEmoji(name: string):
|
2520
|
+
findEmoji(name: string): string | undefined;
|
2038
2521
|
};
|
2039
2522
|
ContextMenu: import("vue").DefineComponent<{
|
2040
2523
|
type: {
|
@@ -2137,7 +2620,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2137
2620
|
currentSessionItem: import("../../shared/types").AnyObject;
|
2138
2621
|
id: string;
|
2139
2622
|
userInfo: import("../../shared/types").AnyObject;
|
2140
|
-
msgList:
|
2623
|
+
msgList: {
|
2624
|
+
[x: string]: any;
|
2625
|
+
id: string;
|
2626
|
+
sessionKey: string;
|
2627
|
+
content: {
|
2628
|
+
[x: string]: any;
|
2629
|
+
chatMessageType: string;
|
2630
|
+
msg: string;
|
2631
|
+
referenceContent?: any;
|
2632
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
2633
|
+
messageTemplate?: any;
|
2634
|
+
messageTemplateData?: any;
|
2635
|
+
fileUrl?: string | undefined;
|
2636
|
+
avStatus?: string | undefined;
|
2637
|
+
};
|
2638
|
+
senderName: string;
|
2639
|
+
sendTime: string;
|
2640
|
+
sender: string;
|
2641
|
+
status: string;
|
2642
|
+
senderAvatar: string;
|
2643
|
+
__content: string;
|
2644
|
+
__time?: string | undefined;
|
2645
|
+
__sendTime?: string | undefined;
|
2646
|
+
}[];
|
2141
2647
|
currentMsg: import("../../shared/types").AnyObject;
|
2142
2648
|
isAppendMsg: boolean;
|
2143
2649
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -2278,7 +2784,107 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2278
2784
|
CallOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2279
2785
|
VideocamOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2280
2786
|
DocumentSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2281
|
-
|
2787
|
+
ImageLightbox: import("vue").DefineComponent<{
|
2788
|
+
images: {
|
2789
|
+
type: import("vue").PropType<import("./src/types").ImageItem[]>;
|
2790
|
+
default: () => never[];
|
2791
|
+
};
|
2792
|
+
visible: {
|
2793
|
+
type: BooleanConstructor;
|
2794
|
+
};
|
2795
|
+
currentId: {
|
2796
|
+
type: StringConstructor;
|
2797
|
+
default: string;
|
2798
|
+
};
|
2799
|
+
}, {
|
2800
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
2801
|
+
images: {
|
2802
|
+
type: import("vue").PropType<import("./src/types").ImageItem[]>;
|
2803
|
+
default: () => never[];
|
2804
|
+
};
|
2805
|
+
visible: {
|
2806
|
+
type: BooleanConstructor;
|
2807
|
+
};
|
2808
|
+
currentId: {
|
2809
|
+
type: StringConstructor;
|
2810
|
+
default: string;
|
2811
|
+
};
|
2812
|
+
}>> & {
|
2813
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
2814
|
+
"onUpdate:currentId"?: ((...args: any[]) => any) | undefined;
|
2815
|
+
}>>;
|
2816
|
+
emit: (event: "update:visible" | "update:currentId", ...args: any[]) => void;
|
2817
|
+
imageEl: import("vue").Ref<HTMLImageElement | null>;
|
2818
|
+
naturalSize: import("vue").Ref<{
|
2819
|
+
width: number;
|
2820
|
+
height: number;
|
2821
|
+
}>;
|
2822
|
+
scale: import("vue").Ref<number>;
|
2823
|
+
rotation: import("vue").Ref<number>;
|
2824
|
+
isDragging: import("vue").Ref<boolean>;
|
2825
|
+
offset: import("vue").Ref<{
|
2826
|
+
x: number;
|
2827
|
+
y: number;
|
2828
|
+
}>;
|
2829
|
+
lastMouse: import("vue").Ref<{
|
2830
|
+
x: number;
|
2831
|
+
y: number;
|
2832
|
+
}>;
|
2833
|
+
idToIndexMap: import("vue").ComputedRef<Map<string, number>>;
|
2834
|
+
currentIndex: import("vue").ComputedRef<number>;
|
2835
|
+
currentImageData: import("vue").ComputedRef<import("./src/types").ImageItem>;
|
2836
|
+
hasNext: import("vue").ComputedRef<boolean>;
|
2837
|
+
hasPrev: import("vue").ComputedRef<boolean>;
|
2838
|
+
imageStyle: import("vue").ComputedRef<{
|
2839
|
+
left: string;
|
2840
|
+
top: string;
|
2841
|
+
transform: string;
|
2842
|
+
cursor: string;
|
2843
|
+
transition: string;
|
2844
|
+
}>;
|
2845
|
+
resetImageState: () => void;
|
2846
|
+
close: () => void;
|
2847
|
+
nextImage: () => void;
|
2848
|
+
prevImage: () => void;
|
2849
|
+
rotate: (degrees: number) => void;
|
2850
|
+
zoomIn: () => void;
|
2851
|
+
zoomOut: () => void;
|
2852
|
+
resetZoom: () => void;
|
2853
|
+
startDrag: (e: MouseEvent) => void;
|
2854
|
+
onDragMove: (e: MouseEvent) => void;
|
2855
|
+
endDrag: () => void;
|
2856
|
+
handleWheel: (e: WheelEvent) => void;
|
2857
|
+
handleImageLoad: () => void;
|
2858
|
+
download: () => void;
|
2859
|
+
Close: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2860
|
+
PlaySkipBackOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2861
|
+
PlaySkipForwardOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2862
|
+
DownloadOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2863
|
+
RefreshOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2864
|
+
AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2865
|
+
RemoveSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2866
|
+
NButton: any;
|
2867
|
+
NIcon: any;
|
2868
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "update:currentId")[], "update:visible" | "update:currentId", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2869
|
+
images: {
|
2870
|
+
type: import("vue").PropType<import("./src/types").ImageItem[]>;
|
2871
|
+
default: () => never[];
|
2872
|
+
};
|
2873
|
+
visible: {
|
2874
|
+
type: BooleanConstructor;
|
2875
|
+
};
|
2876
|
+
currentId: {
|
2877
|
+
type: StringConstructor;
|
2878
|
+
default: string;
|
2879
|
+
};
|
2880
|
+
}>> & {
|
2881
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
2882
|
+
"onUpdate:currentId"?: ((...args: any[]) => any) | undefined;
|
2883
|
+
}, {
|
2884
|
+
visible: boolean;
|
2885
|
+
images: import("./src/types").ImageItem[];
|
2886
|
+
currentId: string;
|
2887
|
+
}>;
|
2282
2888
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2283
2889
|
ChatFooter: import("vue").DefineComponent<{}, {
|
2284
2890
|
SPACE_PLACEHOLDER: string;
|
@@ -2288,7 +2894,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2288
2894
|
currentSessionItem: import("../../shared/types").AnyObject;
|
2289
2895
|
id: string;
|
2290
2896
|
userInfo: import("../../shared/types").AnyObject;
|
2291
|
-
msgList:
|
2897
|
+
msgList: {
|
2898
|
+
[x: string]: any;
|
2899
|
+
id: string;
|
2900
|
+
sessionKey: string;
|
2901
|
+
content: {
|
2902
|
+
[x: string]: any;
|
2903
|
+
chatMessageType: string;
|
2904
|
+
msg: string;
|
2905
|
+
referenceContent?: any;
|
2906
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
2907
|
+
messageTemplate?: any;
|
2908
|
+
messageTemplateData?: any;
|
2909
|
+
fileUrl?: string | undefined;
|
2910
|
+
avStatus?: string | undefined;
|
2911
|
+
};
|
2912
|
+
senderName: string;
|
2913
|
+
sendTime: string;
|
2914
|
+
sender: string;
|
2915
|
+
status: string;
|
2916
|
+
senderAvatar: string;
|
2917
|
+
__content: string;
|
2918
|
+
__time?: string | undefined;
|
2919
|
+
__sendTime?: string | undefined;
|
2920
|
+
}[];
|
2292
2921
|
currentMsg: import("../../shared/types").AnyObject;
|
2293
2922
|
isAppendMsg: boolean;
|
2294
2923
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -2340,8 +2969,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2340
2969
|
handleInput: () => void;
|
2341
2970
|
selectEmoji: (name: string) => void;
|
2342
2971
|
insertSpace: () => void;
|
2343
|
-
doUpdateFile: (file: File) => Promise<
|
2344
|
-
fileChange: (options: import("./src/types").FileOptions
|
2972
|
+
doUpdateFile: (file: File) => Promise<any>;
|
2973
|
+
fileChange: (options: import("./src/types").FileOptions | {
|
2974
|
+
file: {
|
2975
|
+
file: File;
|
2976
|
+
name: string;
|
2977
|
+
};
|
2978
|
+
}, chatMessageType: import("./src/constants").MESSAGE_TYPE) => Promise<void>;
|
2345
2979
|
handleMsgSend: () => Promise<void>;
|
2346
2980
|
removeSpace: () => void;
|
2347
2981
|
doSendMessage: (contentInfo: import("../../shared/types").AnyObject) => Promise<void>;
|
@@ -2351,6 +2985,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2351
2985
|
remark: string;
|
2352
2986
|
}, type?: string) => void;
|
2353
2987
|
handlecancelForward: () => void;
|
2988
|
+
handleFilePaste: (event: ClipboardEvent) => void;
|
2354
2989
|
NButton: any;
|
2355
2990
|
NPopover: any;
|
2356
2991
|
NTooltip: any;
|
@@ -2421,7 +3056,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2421
3056
|
currentSessionItem: import("../../shared/types").AnyObject;
|
2422
3057
|
id: string;
|
2423
3058
|
userInfo: import("../../shared/types").AnyObject;
|
2424
|
-
msgList:
|
3059
|
+
msgList: {
|
3060
|
+
[x: string]: any;
|
3061
|
+
id: string;
|
3062
|
+
sessionKey: string;
|
3063
|
+
content: {
|
3064
|
+
[x: string]: any;
|
3065
|
+
chatMessageType: string;
|
3066
|
+
msg: string;
|
3067
|
+
referenceContent?: any;
|
3068
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
3069
|
+
messageTemplate?: any;
|
3070
|
+
messageTemplateData?: any;
|
3071
|
+
fileUrl?: string | undefined;
|
3072
|
+
avStatus?: string | undefined;
|
3073
|
+
};
|
3074
|
+
senderName: string;
|
3075
|
+
sendTime: string;
|
3076
|
+
sender: string;
|
3077
|
+
status: string;
|
3078
|
+
senderAvatar: string;
|
3079
|
+
__content: string;
|
3080
|
+
__time?: string | undefined;
|
3081
|
+
__sendTime?: string | undefined;
|
3082
|
+
}[];
|
2425
3083
|
currentMsg: import("../../shared/types").AnyObject;
|
2426
3084
|
isAppendMsg: boolean;
|
2427
3085
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -2553,13 +3211,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2553
3211
|
}>;
|
2554
3212
|
emojis: {
|
2555
3213
|
default: string[][];
|
2556
|
-
findEmoji(name: string):
|
3214
|
+
findEmoji(name: string): string | undefined;
|
2557
3215
|
};
|
2558
3216
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
2559
3217
|
CloseCircleOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2560
3218
|
CallOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2561
3219
|
VideocamOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2562
3220
|
CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3221
|
+
FolderOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3222
|
+
ImageOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3223
|
+
HappyOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3224
|
+
ThumbsUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2563
3225
|
simplifyMessage: typeof import("./src/utils").simplifyMessage;
|
2564
3226
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2565
3227
|
ChatSearch: import("vue").DefineComponent<{}, {
|
@@ -2574,7 +3236,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2574
3236
|
currentSessionItem: import("../../shared/types").AnyObject;
|
2575
3237
|
id: string;
|
2576
3238
|
userInfo: import("../../shared/types").AnyObject;
|
2577
|
-
msgList:
|
3239
|
+
msgList: {
|
3240
|
+
[x: string]: any;
|
3241
|
+
id: string;
|
3242
|
+
sessionKey: string;
|
3243
|
+
content: {
|
3244
|
+
[x: string]: any;
|
3245
|
+
chatMessageType: string;
|
3246
|
+
msg: string;
|
3247
|
+
referenceContent?: any;
|
3248
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
3249
|
+
messageTemplate?: any;
|
3250
|
+
messageTemplateData?: any;
|
3251
|
+
fileUrl?: string | undefined;
|
3252
|
+
avStatus?: string | undefined;
|
3253
|
+
};
|
3254
|
+
senderName: string;
|
3255
|
+
sendTime: string;
|
3256
|
+
sender: string;
|
3257
|
+
status: string;
|
3258
|
+
senderAvatar: string;
|
3259
|
+
__content: string;
|
3260
|
+
__time?: string | undefined;
|
3261
|
+
__sendTime?: string | undefined;
|
3262
|
+
}[];
|
2578
3263
|
currentMsg: import("../../shared/types").AnyObject;
|
2579
3264
|
isAppendMsg: boolean;
|
2580
3265
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -2761,7 +3446,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2761
3446
|
currentSessionItem: import("../../shared/types").AnyObject;
|
2762
3447
|
id: string;
|
2763
3448
|
userInfo: import("../../shared/types").AnyObject;
|
2764
|
-
msgList:
|
3449
|
+
msgList: {
|
3450
|
+
[x: string]: any;
|
3451
|
+
id: string;
|
3452
|
+
sessionKey: string;
|
3453
|
+
content: {
|
3454
|
+
[x: string]: any;
|
3455
|
+
chatMessageType: string;
|
3456
|
+
msg: string;
|
3457
|
+
referenceContent?: any;
|
3458
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
3459
|
+
messageTemplate?: any;
|
3460
|
+
messageTemplateData?: any;
|
3461
|
+
fileUrl?: string | undefined;
|
3462
|
+
avStatus?: string | undefined;
|
3463
|
+
};
|
3464
|
+
senderName: string;
|
3465
|
+
sendTime: string;
|
3466
|
+
sender: string;
|
3467
|
+
status: string;
|
3468
|
+
senderAvatar: string;
|
3469
|
+
__content: string;
|
3470
|
+
__time?: string | undefined;
|
3471
|
+
__sendTime?: string | undefined;
|
3472
|
+
}[];
|
2765
3473
|
currentMsg: import("../../shared/types").AnyObject;
|
2766
3474
|
isAppendMsg: boolean;
|
2767
3475
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -2902,7 +3610,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2902
3610
|
currentSessionItem: import("../../shared/types").AnyObject;
|
2903
3611
|
id: string;
|
2904
3612
|
userInfo: import("../../shared/types").AnyObject;
|
2905
|
-
msgList:
|
3613
|
+
msgList: {
|
3614
|
+
[x: string]: any;
|
3615
|
+
id: string;
|
3616
|
+
sessionKey: string;
|
3617
|
+
content: {
|
3618
|
+
[x: string]: any;
|
3619
|
+
chatMessageType: string;
|
3620
|
+
msg: string;
|
3621
|
+
referenceContent?: any;
|
3622
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
3623
|
+
messageTemplate?: any;
|
3624
|
+
messageTemplateData?: any;
|
3625
|
+
fileUrl?: string | undefined;
|
3626
|
+
avStatus?: string | undefined;
|
3627
|
+
};
|
3628
|
+
senderName: string;
|
3629
|
+
sendTime: string;
|
3630
|
+
sender: string;
|
3631
|
+
status: string;
|
3632
|
+
senderAvatar: string;
|
3633
|
+
__content: string;
|
3634
|
+
__time?: string | undefined;
|
3635
|
+
__sendTime?: string | undefined;
|
3636
|
+
}[];
|
2906
3637
|
currentMsg: import("../../shared/types").AnyObject;
|
2907
3638
|
isAppendMsg: boolean;
|
2908
3639
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -2926,36 +3657,26 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2926
3657
|
};
|
2927
3658
|
isForward: boolean;
|
2928
3659
|
};
|
2929
|
-
|
2930
|
-
trtc: import("trtc-sdk-v5").default;
|
3660
|
+
trtc: import("trtc-sdk-v5").TRTC;
|
2931
3661
|
timing: import("vue").Ref<string>;
|
2932
3662
|
voiceClose: import("vue").Ref<boolean>;
|
2933
3663
|
isAudio: import("vue").ComputedRef<boolean>;
|
2934
3664
|
isCall: import("vue").ComputedRef<boolean>;
|
2935
3665
|
startTimer: () => void;
|
2936
|
-
resetTimer: () => void;
|
2937
3666
|
toggleAudio: () => Promise<void>;
|
2938
3667
|
messageTypeText: import("vue").ComputedRef<"语音" | "视频">;
|
2939
3668
|
time: {
|
2940
3669
|
timer: any;
|
2941
3670
|
seconds: number;
|
2942
3671
|
};
|
2943
|
-
installEventHandlers: (
|
2944
|
-
|
2945
|
-
|
2946
|
-
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
handleError: import("../../shared/types").AnyFn;
|
2952
|
-
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
2953
|
-
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
2954
|
-
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
2955
|
-
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
2956
|
-
}) => void;
|
2957
|
-
videoRef: import("vue").Ref<any>;
|
2958
|
-
selfVideoRef: import("vue").Ref<any>;
|
3672
|
+
installEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3673
|
+
uninstallEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3674
|
+
enterRoom: () => Promise<boolean>;
|
3675
|
+
exitRoom: () => Promise<void>;
|
3676
|
+
startLocalMedia: (selfVideoRef?: HTMLElement | undefined) => Promise<void>;
|
3677
|
+
MAIN_STREAM_TYPE: any;
|
3678
|
+
videoRef: import("vue").Ref<HTMLElement | undefined>;
|
3679
|
+
selfVideoRef: import("vue").Ref<HTMLElement | undefined>;
|
2959
3680
|
isConnect: import("vue").Ref<boolean>;
|
2960
3681
|
timeout: any;
|
2961
3682
|
info: import("vue").ComputedRef<{
|
@@ -2970,11 +3691,16 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2970
3691
|
handleEnter: () => Promise<void>;
|
2971
3692
|
handleFinish: () => void;
|
2972
3693
|
handleExit: () => Promise<void>;
|
2973
|
-
handleRemoteVideoAvailable: (event:
|
2974
|
-
handleRemoteAudioAvailable: (event:
|
2975
|
-
handleRemoteUserEnter: () => void;
|
2976
|
-
handleRemoteUserExit: (event:
|
2977
|
-
|
3694
|
+
handleRemoteVideoAvailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3695
|
+
handleRemoteAudioAvailable: (event: import("./src/hooks").TRTCEvent) => void;
|
3696
|
+
handleRemoteUserEnter: (event: import("./src/hooks").TRTCEvent) => void;
|
3697
|
+
handleRemoteUserExit: (event: import("./src/hooks").TRTCEvent) => void;
|
3698
|
+
statusHandlers: {
|
3699
|
+
readonly IN_CALL: () => Promise<void>;
|
3700
|
+
readonly CALL_BUSY: () => void;
|
3701
|
+
readonly NO_RESPONSE: () => void;
|
3702
|
+
readonly REJECTED: () => void;
|
3703
|
+
};
|
2978
3704
|
NButton: any;
|
2979
3705
|
NAvatar: any;
|
2980
3706
|
NIcon: any;
|
@@ -2984,17 +3710,36 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2984
3710
|
AV_STATUS: typeof import("./src/constants").AV_STATUS;
|
2985
3711
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2986
3712
|
MultipleVideo: import("vue").DefineComponent<{}, {
|
2987
|
-
selfVideoRef: import("vue").Ref<
|
2988
|
-
remoteUsers: import("vue").Ref<{
|
2989
|
-
id: string;
|
2990
|
-
name: string;
|
2991
|
-
}[]>;
|
3713
|
+
selfVideoRef: import("vue").Ref<HTMLElement | undefined>;
|
2992
3714
|
state: {
|
2993
3715
|
orgId: string | number;
|
2994
3716
|
currentSessionItem: import("../../shared/types").AnyObject;
|
2995
3717
|
id: string;
|
2996
3718
|
userInfo: import("../../shared/types").AnyObject;
|
2997
|
-
msgList:
|
3719
|
+
msgList: {
|
3720
|
+
[x: string]: any;
|
3721
|
+
id: string;
|
3722
|
+
sessionKey: string;
|
3723
|
+
content: {
|
3724
|
+
[x: string]: any;
|
3725
|
+
chatMessageType: string;
|
3726
|
+
msg: string;
|
3727
|
+
referenceContent?: any;
|
3728
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
3729
|
+
messageTemplate?: any;
|
3730
|
+
messageTemplateData?: any;
|
3731
|
+
fileUrl?: string | undefined;
|
3732
|
+
avStatus?: string | undefined;
|
3733
|
+
};
|
3734
|
+
senderName: string;
|
3735
|
+
sendTime: string;
|
3736
|
+
sender: string;
|
3737
|
+
status: string;
|
3738
|
+
senderAvatar: string;
|
3739
|
+
__content: string;
|
3740
|
+
__time?: string | undefined;
|
3741
|
+
__sendTime?: string | undefined;
|
3742
|
+
}[];
|
2998
3743
|
currentMsg: import("../../shared/types").AnyObject;
|
2999
3744
|
isAppendMsg: boolean;
|
3000
3745
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -3023,33 +3768,35 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3023
3768
|
content: import("../../shared/types").AnyObject;
|
3024
3769
|
receiver?: string | undefined;
|
3025
3770
|
}) => Promise<void>;
|
3026
|
-
trtc: import("trtc-sdk-v5").default;
|
3027
|
-
trtcProxy: import("vue").Ref<any>;
|
3028
3771
|
voiceClose: import("vue").Ref<boolean>;
|
3029
3772
|
isAudio: import("vue").ComputedRef<boolean>;
|
3030
3773
|
isCall: import("vue").ComputedRef<boolean>;
|
3031
3774
|
startTimer: () => void;
|
3032
|
-
resetTimer: () => void;
|
3033
3775
|
toggleAudio: () => Promise<void>;
|
3034
3776
|
messageTypeText: import("vue").ComputedRef<"语音" | "视频">;
|
3035
3777
|
timing: import("vue").Ref<string>;
|
3036
3778
|
toggleVideo: () => Promise<void>;
|
3037
3779
|
videocamClose: import("vue").Ref<boolean>;
|
3038
|
-
installEventHandlers: (
|
3039
|
-
|
3040
|
-
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
3041
|
-
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
3042
|
-
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
3043
|
-
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
3044
|
-
}) => void;
|
3045
|
-
uninstallEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
|
3046
|
-
handleError: import("../../shared/types").AnyFn;
|
3047
|
-
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
3048
|
-
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
3049
|
-
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
3050
|
-
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
3051
|
-
}) => void;
|
3780
|
+
installEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3781
|
+
uninstallEventHandlers: (handlers: import("./src/hooks").VideoEventHandlers) => void;
|
3052
3782
|
isConnect: import("vue").Ref<boolean>;
|
3783
|
+
remoteUsers: import("vue").Ref<{
|
3784
|
+
id: string;
|
3785
|
+
name: string;
|
3786
|
+
hasVideo?: boolean | undefined;
|
3787
|
+
hasAudio?: boolean | undefined;
|
3788
|
+
}[]>;
|
3789
|
+
enterRoom: () => Promise<boolean>;
|
3790
|
+
exitRoom: () => Promise<void>;
|
3791
|
+
startLocalMedia: (selfVideoRef?: HTMLElement | undefined) => Promise<void>;
|
3792
|
+
findUser: (userId: string) => import("./src/hooks").RemoteUser | undefined;
|
3793
|
+
addOrUpdateUser: (userId: string, updates: Partial<import("./src/hooks").RemoteUser>) => void;
|
3794
|
+
removeUser: (userId: string) => void;
|
3795
|
+
tryRenderRemoteVideo: (userId: string) => Promise<void>;
|
3796
|
+
stopRemoteVideo: (userId: string) => Promise<void>;
|
3797
|
+
setVideoRef: (userId: string, el: HTMLElement | null) => void;
|
3798
|
+
checkAndRenderAllVideos: () => void;
|
3799
|
+
MAIN_STREAM_TYPE: any;
|
3053
3800
|
wrapperRef: import("vue").Ref<HTMLElement | null>;
|
3054
3801
|
handleRef: import("vue").Ref<HTMLElement | null>;
|
3055
3802
|
isMaxSize: import("vue").Ref<boolean>;
|
@@ -3070,15 +3817,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3070
3817
|
checkedIds: string[];
|
3071
3818
|
checkedOptions: import("../../shared/types").AnyObject[];
|
3072
3819
|
}) => void;
|
3820
|
+
sendInvitations: (userIds: string[]) => void;
|
3073
3821
|
handleCall: () => void;
|
3074
3822
|
handleEnter: () => Promise<void>;
|
3075
3823
|
handleExit: () => Promise<void>;
|
3076
|
-
handleRemoteVideoAvailable: (event:
|
3077
|
-
|
3078
|
-
|
3079
|
-
|
3080
|
-
|
3081
|
-
|
3824
|
+
handleRemoteVideoAvailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3825
|
+
handleRemoteVideoUnavailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3826
|
+
handleRemoteAudioAvailable: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3827
|
+
handleRemoteUserEnter: (event: import("./src/hooks").TRTCEvent) => Promise<void>;
|
3828
|
+
getUserName: (userId: string) => Promise<string>;
|
3829
|
+
handleRemoteUserExit: (event: import("./src/hooks").TRTCEvent) => void;
|
3830
|
+
periodicCheckInterval: null;
|
3082
3831
|
NButton: any;
|
3083
3832
|
NAvatar: any;
|
3084
3833
|
NIcon: any;
|
@@ -3146,7 +3895,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3146
3895
|
currentSessionItem: import("../../shared/types").AnyObject;
|
3147
3896
|
id: string;
|
3148
3897
|
userInfo: import("../../shared/types").AnyObject;
|
3149
|
-
msgList:
|
3898
|
+
msgList: {
|
3899
|
+
[x: string]: any;
|
3900
|
+
id: string;
|
3901
|
+
sessionKey: string;
|
3902
|
+
content: {
|
3903
|
+
[x: string]: any;
|
3904
|
+
chatMessageType: string;
|
3905
|
+
msg: string;
|
3906
|
+
referenceContent?: any;
|
3907
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
3908
|
+
messageTemplate?: any;
|
3909
|
+
messageTemplateData?: any;
|
3910
|
+
fileUrl?: string | undefined;
|
3911
|
+
avStatus?: string | undefined;
|
3912
|
+
};
|
3913
|
+
senderName: string;
|
3914
|
+
sendTime: string;
|
3915
|
+
sender: string;
|
3916
|
+
status: string;
|
3917
|
+
senderAvatar: string;
|
3918
|
+
__content: string;
|
3919
|
+
__time?: string | undefined;
|
3920
|
+
__sendTime?: string | undefined;
|
3921
|
+
}[];
|
3150
3922
|
currentMsg: import("../../shared/types").AnyObject;
|
3151
3923
|
isAppendMsg: boolean;
|
3152
3924
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -3291,7 +4063,30 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3291
4063
|
currentSessionItem: import("../../shared/types").AnyObject;
|
3292
4064
|
id: string;
|
3293
4065
|
userInfo: import("../../shared/types").AnyObject;
|
3294
|
-
msgList:
|
4066
|
+
msgList: {
|
4067
|
+
[x: string]: any;
|
4068
|
+
id: string;
|
4069
|
+
sessionKey: string;
|
4070
|
+
content: {
|
4071
|
+
[x: string]: any;
|
4072
|
+
chatMessageType: string;
|
4073
|
+
msg: string;
|
4074
|
+
referenceContent?: any;
|
4075
|
+
forwardMessageList?: import("../../shared/types").AnyObject[] | undefined;
|
4076
|
+
messageTemplate?: any;
|
4077
|
+
messageTemplateData?: any;
|
4078
|
+
fileUrl?: string | undefined;
|
4079
|
+
avStatus?: string | undefined;
|
4080
|
+
};
|
4081
|
+
senderName: string;
|
4082
|
+
sendTime: string;
|
4083
|
+
sender: string;
|
4084
|
+
status: string;
|
4085
|
+
senderAvatar: string;
|
4086
|
+
__content: string;
|
4087
|
+
__time?: string | undefined;
|
4088
|
+
__sendTime?: string | undefined;
|
4089
|
+
}[];
|
3295
4090
|
currentMsg: import("../../shared/types").AnyObject;
|
3296
4091
|
isAppendMsg: boolean;
|
3297
4092
|
sessionList: import("../../shared/types").AnyObject[];
|
@@ -3333,7 +4128,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3333
4128
|
updateShow: () => Promise<void>;
|
3334
4129
|
getContent: (info: import("../../shared/types").AnyObject) => any;
|
3335
4130
|
onChange: (options: {
|
3336
|
-
file: import("naive-ui").UploadFileInfo;
|
4131
|
+
file: import("naive-ui/es/upload").UploadFileInfo;
|
3337
4132
|
}) => Promise<void>;
|
3338
4133
|
NAvatar: any;
|
3339
4134
|
NPopover: any;
|
@@ -3395,6 +4190,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3395
4190
|
iceTransportPolicy: "all" | "relay";
|
3396
4191
|
}>>;
|
3397
4192
|
};
|
4193
|
+
videoTeleportTo: {
|
4194
|
+
type: import("vue").PropType<string | Element>;
|
4195
|
+
default: string;
|
4196
|
+
};
|
3398
4197
|
}>> & {
|
3399
4198
|
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
3400
4199
|
"onUnread-message-update"?: ((...args: any[]) => any) | undefined;
|
@@ -3406,5 +4205,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3406
4205
|
baseURL: string;
|
3407
4206
|
extraParams: import("../../shared/types").AnyObject;
|
3408
4207
|
filterable: boolean;
|
4208
|
+
videoTeleportTo: string | Element;
|
3409
4209
|
}>>;
|
3410
4210
|
export default IhoChat;
|