cnhis-design-vue 3.2.6-beta.2 → 3.2.6-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +4 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +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 +1 -1
- package/es/components/button-print/src/utils/print.d.ts +4 -2
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +6 -4
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/default-page/index.d.ts +11 -3
- package/es/components/default-page/src/constants/index.d.ts +1 -0
- package/es/components/default-page/src/constants/index.js +1 -1
- package/es/components/default-page/src/index.vue.d.ts +11 -3
- package/es/components/default-page/src/index.vue2.js +1 -1
- package/es/components/default-page/style/index.css +1 -1
- package/es/components/expand-field/index.d.ts +1109 -321
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1109 -321
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1109 -321
- package/es/components/expand-field/src/components/form.vue.d.ts +1109 -321
- package/es/components/expand-field/src/index.vue.d.ts +1109 -321
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +12 -8
- package/es/components/form-config/src/FormConfig.vue.d.ts +12 -8
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +6 -4
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -4
- package/es/components/form-config/src/utils/index.d.ts +1 -0
- package/es/components/form-config/src/utils/index.js +1 -1
- package/es/components/form-render/index.d.ts +6 -4
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +5 -3
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +6 -4
- package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +0 -1
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.d.ts +1 -0
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +4 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/iho-chat/index.d.ts +543 -35
- package/es/components/iho-chat/src/Index.vue.d.ts +549 -40
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/api/index.d.ts +5 -0
- package/es/components/iho-chat/src/api/index.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +89 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue.js +1 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -0
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +103 -30
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +131 -5
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +26 -3
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +1 -2
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +10 -3
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +16 -1
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +133 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue.js +1 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -0
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +15 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +43 -27
- package/es/components/iho-chat/src/components/Video.vue.js +1 -0
- package/es/components/iho-chat/src/components/Video.vue2.js +1 -0
- package/es/components/iho-chat/src/constants/index.d.ts +10 -1
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useSession.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/useSession.js +1 -1
- package/es/components/iho-chat/src/hooks/useState.d.ts +5 -0
- package/es/components/iho-chat/src/hooks/useState.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +24 -0
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -0
- package/es/components/iho-chat/src/types/index.d.ts +5 -0
- package/es/components/iho-chat/src/utils/index.d.ts +3 -2
- package/es/components/iho-chat/src/utils/index.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +18 -14
- package/es/components/info-header/src/InfoHeader.vue.d.ts +18 -14
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +6 -6
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +6 -6
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +3 -3
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +3 -3
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +12 -10
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +6 -4
- package/es/components/recommend-search/index.d.ts +8 -8
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +8 -8
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +3 -3
- package/es/components/scale-view/index.d.ts +29 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +29 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +3 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +8 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/index.d.ts +1109 -321
- package/es/components/select-person/index.js +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +4 -10
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/SelectPersonType.vue.d.ts +314 -0
- package/es/components/select-person/src/SelectPersonType.vue.js +1 -0
- package/es/components/select-person/src/SelectPersonType.vue2.js +1 -0
- package/es/components/select-person/src/components/SearchMultiple.vue.js +1 -0
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue.js +1 -0
- package/es/components/select-person/src/constants/index.d.ts +2 -0
- package/es/components/select-person/src/constants/index.js +1 -0
- package/es/components/select-person/src/index.vue.d.ts +1385 -0
- package/es/components/select-person/src/index.vue.js +1 -0
- package/es/components/select-person/src/index.vue2.js +1 -0
- package/es/components/shortcut-setter/index.d.ts +6 -4
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -4
- package/es/env.d.ts +25 -25
- 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/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/hooks/useAsyncQueue/index.d.ts +3 -0
- package/es/shared/hooks/useAsyncQueue/index.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/form-render/src/hooks/useAutoHidden.d.ts +0 -4
- package/es/components/form-render/src/hooks/useAutoHidden.js +0 -1
- package/es/components/select-person/src/SearchMultiple.vue.js +0 -1
- package/es/components/select-person/src/SearchOrgAndStaff.vue.js +0 -1
- /package/es/components/select-person/src/{SearchMultiple.vue.d.ts → components/SearchMultiple.vue.d.ts} +0 -0
- /package/es/components/select-person/src/{SearchMultiple.vue2.js → components/SearchMultiple.vue2.js} +0 -0
- /package/es/components/select-person/src/{SearchOrgAndStaff.vue.d.ts → components/SearchOrgAndStaff.vue.d.ts} +0 -0
- /package/es/components/select-person/src/{SearchOrgAndStaff.vue2.js → components/SearchOrgAndStaff.vue2.js} +0 -0
@@ -1,8 +1,9 @@
|
|
1
1
|
import { type PropType } from 'vue';
|
2
2
|
import { ChatSock } from './utils/chatSock';
|
3
3
|
import { AnyObject } from '../../../shared/types';
|
4
|
-
import {
|
4
|
+
import { AV_STATUS } from './constants';
|
5
5
|
import { IState } from './types';
|
6
|
+
import { isAudioOrVideoMessage } from './utils';
|
6
7
|
declare const _default: import("vue").DefineComponent<{
|
7
8
|
token: {
|
8
9
|
type: StringConstructor;
|
@@ -46,7 +47,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
47
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
47
48
|
loading: import("vue").Ref<boolean>;
|
48
49
|
stompClient: import("vue").Ref<ChatSock | undefined>;
|
49
|
-
showAv: import("vue").Ref<boolean>;
|
50
50
|
state: {
|
51
51
|
orgId: string | number;
|
52
52
|
currentSessionItem: AnyObject;
|
@@ -60,6 +60,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
60
60
|
updateSessionItem: AnyObject;
|
61
61
|
isUpdateSession: boolean;
|
62
62
|
currentReferenceMsg: AnyObject | null;
|
63
|
+
showVideo: boolean;
|
64
|
+
currentAVMsg: AnyObject;
|
65
|
+
userList: AnyObject[];
|
66
|
+
currentGroupUser: AnyObject[];
|
67
|
+
showMultipleVideo: boolean;
|
63
68
|
};
|
64
69
|
reConnention: number;
|
65
70
|
openSession: (item: AnyObject) => Promise<void>;
|
@@ -67,10 +72,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
72
|
getCurrentSession: () => AnyObject | null;
|
68
73
|
setSessionList: (list: AnyObject[]) => void;
|
69
74
|
setUpdateSessionItem: (item: AnyObject) => void;
|
75
|
+
setCurrentSessionItem: (item: AnyObject) => void;
|
76
|
+
groupSessionList: AnyObject[];
|
70
77
|
init: () => Promise<void>;
|
78
|
+
handleUserSearch: () => Promise<void>;
|
71
79
|
initWebSocket: () => void;
|
72
80
|
subscribeSessionList: () => void;
|
81
|
+
subscribeGroupMessage: () => void;
|
73
82
|
subscribeMessage: () => void;
|
83
|
+
handleMessage: (messageVo: AnyObject, chatType: string) => Promise<void>;
|
84
|
+
handleSubscribeMessage: ({ body, chatType }: {
|
85
|
+
body: any;
|
86
|
+
chatType: string;
|
87
|
+
}) => Promise<void>;
|
74
88
|
getUnreadData: () => AnyObject[];
|
75
89
|
NLayout: any;
|
76
90
|
NLayoutContent: any;
|
@@ -112,24 +126,43 @@ declare const _default: import("vue").DefineComponent<{
|
|
112
126
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
113
127
|
ChatHeader: import("vue").DefineComponent<{}, {
|
114
128
|
state: IState;
|
129
|
+
isGroupChat: import("vue").ComputedRef<boolean>;
|
115
130
|
showChatSet: import("vue").Ref<boolean>;
|
116
131
|
showChatFile: import("vue").Ref<boolean>;
|
117
132
|
chatFileType: import("vue").Ref<string>;
|
118
133
|
showChatRecord: import("vue").Ref<boolean>;
|
134
|
+
chatAddProps: import("vue").ComputedRef<{
|
135
|
+
mode: string;
|
136
|
+
disabledIds: any[];
|
137
|
+
defaultValue?: undefined;
|
138
|
+
} | {
|
139
|
+
mode: string;
|
140
|
+
defaultValue: any[];
|
141
|
+
disabledIds?: undefined;
|
142
|
+
}>;
|
119
143
|
handleOpenChatFile: (type: string) => void;
|
120
144
|
NAvatar: any;
|
145
|
+
NIcon: any;
|
121
146
|
NButton: any;
|
122
147
|
PersonProfile: import("vue").DefineComponent<{
|
123
148
|
userId: {
|
124
149
|
type: StringConstructor;
|
125
150
|
required: true;
|
126
151
|
};
|
152
|
+
disabled: {
|
153
|
+
type: BooleanConstructor;
|
154
|
+
default: boolean;
|
155
|
+
};
|
127
156
|
}, {
|
128
157
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
129
158
|
userId: {
|
130
159
|
type: StringConstructor;
|
131
160
|
required: true;
|
132
161
|
};
|
162
|
+
disabled: {
|
163
|
+
type: BooleanConstructor;
|
164
|
+
default: boolean;
|
165
|
+
};
|
133
166
|
}>> & {
|
134
167
|
onClose?: ((...args: any[]) => any) | undefined;
|
135
168
|
}>>;
|
@@ -172,15 +205,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
172
205
|
type: StringConstructor;
|
173
206
|
required: true;
|
174
207
|
};
|
208
|
+
disabled: {
|
209
|
+
type: BooleanConstructor;
|
210
|
+
default: boolean;
|
211
|
+
};
|
175
212
|
}>> & {
|
176
213
|
onClose?: ((...args: any[]) => any) | undefined;
|
177
|
-
}, {
|
214
|
+
}, {
|
215
|
+
disabled: boolean;
|
216
|
+
}>;
|
178
217
|
ChatSet: import("vue").DefineComponent<{}, {
|
179
218
|
attrs: {
|
180
219
|
[x: string]: unknown;
|
181
220
|
};
|
182
221
|
state: IState;
|
183
222
|
setCurrentSessionItem: (item: AnyObject) => void;
|
223
|
+
isGroupChat: import("vue").ComputedRef<boolean>;
|
184
224
|
handleTopping: (value: boolean) => Promise<void>;
|
185
225
|
closeUserDetail: () => void;
|
186
226
|
NDrawer: any;
|
@@ -194,12 +234,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
194
234
|
type: StringConstructor;
|
195
235
|
required: true;
|
196
236
|
};
|
237
|
+
disabled: {
|
238
|
+
type: BooleanConstructor;
|
239
|
+
default: boolean;
|
240
|
+
};
|
197
241
|
}, {
|
198
242
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
199
243
|
userId: {
|
200
244
|
type: StringConstructor;
|
201
245
|
required: true;
|
202
246
|
};
|
247
|
+
disabled: {
|
248
|
+
type: BooleanConstructor;
|
249
|
+
default: boolean;
|
250
|
+
};
|
203
251
|
}>> & {
|
204
252
|
onClose?: ((...args: any[]) => any) | undefined;
|
205
253
|
}>>;
|
@@ -242,9 +290,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
242
290
|
type: StringConstructor;
|
243
291
|
required: true;
|
244
292
|
};
|
293
|
+
disabled: {
|
294
|
+
type: BooleanConstructor;
|
295
|
+
default: boolean;
|
296
|
+
};
|
245
297
|
}>> & {
|
246
298
|
onClose?: ((...args: any[]) => any) | undefined;
|
247
|
-
}, {
|
299
|
+
}, {
|
300
|
+
disabled: boolean;
|
301
|
+
}>;
|
248
302
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
249
303
|
ChatFile: import("vue").DefineComponent<{
|
250
304
|
type: {
|
@@ -272,7 +326,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
272
326
|
fileRef: import("vue").Ref<any>;
|
273
327
|
keyword: import("vue").Ref<any>;
|
274
328
|
handleInput: () => void;
|
275
|
-
|
329
|
+
pageInfo: {
|
276
330
|
page: number;
|
277
331
|
hasMore: boolean;
|
278
332
|
lastSendTime: string;
|
@@ -329,13 +383,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
329
383
|
startTime: import("vue").Ref<any>;
|
330
384
|
endTime: import("vue").Ref<any>;
|
331
385
|
handleInput: () => void;
|
332
|
-
|
386
|
+
pageInfo: {
|
333
387
|
page: number;
|
334
388
|
hasMore: boolean;
|
335
389
|
lastSendTime: string;
|
336
390
|
};
|
337
391
|
handleSearch: () => Promise<void>;
|
338
|
-
options: import("vue").ComputedRef<AnyObject[]>;
|
339
392
|
resetAndSearch: () => void;
|
340
393
|
startDateDisabled: (ts: number) => boolean;
|
341
394
|
endDateDisabled: (ts: number) => boolean;
|
@@ -428,7 +481,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
428
481
|
updateUnchangedValue: boolean;
|
429
482
|
}>>;
|
430
483
|
formatTime: typeof import("./utils").formatTime;
|
431
|
-
MESSAGE_TYPE: typeof MESSAGE_TYPE;
|
484
|
+
MESSAGE_TYPE: typeof import("./constants").MESSAGE_TYPE;
|
432
485
|
emojis: {
|
433
486
|
default: string[][];
|
434
487
|
findEmoji(name: string): any;
|
@@ -440,18 +493,110 @@ declare const _default: import("vue").DefineComponent<{
|
|
440
493
|
}>>, {
|
441
494
|
visible: boolean;
|
442
495
|
}>;
|
496
|
+
ChatAdd: import("vue").DefineComponent<{
|
497
|
+
title: {
|
498
|
+
type: StringConstructor;
|
499
|
+
default: string;
|
500
|
+
};
|
501
|
+
mode: {
|
502
|
+
type: StringConstructor;
|
503
|
+
default: string;
|
504
|
+
};
|
505
|
+
options: {
|
506
|
+
type: PropType<AnyObject[]>;
|
507
|
+
};
|
508
|
+
disabledIds: {
|
509
|
+
type: PropType<string[]>;
|
510
|
+
};
|
511
|
+
defaultValue: {
|
512
|
+
type: PropType<string[]>;
|
513
|
+
};
|
514
|
+
}, {
|
515
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
516
|
+
title: {
|
517
|
+
type: StringConstructor;
|
518
|
+
default: string;
|
519
|
+
};
|
520
|
+
mode: {
|
521
|
+
type: StringConstructor;
|
522
|
+
default: string;
|
523
|
+
};
|
524
|
+
options: {
|
525
|
+
type: PropType<AnyObject[]>;
|
526
|
+
};
|
527
|
+
disabledIds: {
|
528
|
+
type: PropType<string[]>;
|
529
|
+
};
|
530
|
+
defaultValue: {
|
531
|
+
type: PropType<string[]>;
|
532
|
+
};
|
533
|
+
}>> & {
|
534
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
535
|
+
}>>;
|
536
|
+
emit: (event: "comfirm", ...args: any[]) => void;
|
537
|
+
state: IState;
|
538
|
+
showModal: import("vue").Ref<boolean>;
|
539
|
+
checkedIds: import("vue").Ref<(string | number)[]>;
|
540
|
+
options: import("vue").Ref<AnyObject[]>;
|
541
|
+
groupName: import("vue").Ref<string>;
|
542
|
+
btnDisabled: import("vue").ComputedRef<boolean>;
|
543
|
+
handlePositiveClick: () => Promise<void>;
|
544
|
+
renderSourceLabel: ({ option }: {
|
545
|
+
option: AnyObject;
|
546
|
+
}) => JSX.Element;
|
547
|
+
renderTargetList: (props: {
|
548
|
+
onCheck: (checkedValueList: (string | number)[]) => void;
|
549
|
+
checkedOptions: AnyObject[];
|
550
|
+
pattern: string;
|
551
|
+
}) => JSX.Element | null;
|
552
|
+
NModal: any;
|
553
|
+
NButton: any;
|
554
|
+
NTransfer: any;
|
555
|
+
NIcon: any;
|
556
|
+
NInput: any;
|
557
|
+
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<{}>>, {}>;
|
558
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
559
|
+
title: {
|
560
|
+
type: StringConstructor;
|
561
|
+
default: string;
|
562
|
+
};
|
563
|
+
mode: {
|
564
|
+
type: StringConstructor;
|
565
|
+
default: string;
|
566
|
+
};
|
567
|
+
options: {
|
568
|
+
type: PropType<AnyObject[]>;
|
569
|
+
};
|
570
|
+
disabledIds: {
|
571
|
+
type: PropType<string[]>;
|
572
|
+
};
|
573
|
+
defaultValue: {
|
574
|
+
type: PropType<string[]>;
|
575
|
+
};
|
576
|
+
}>> & {
|
577
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
578
|
+
}, {
|
579
|
+
mode: string;
|
580
|
+
title: string;
|
581
|
+
}>;
|
582
|
+
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<{}>>, {}>;
|
443
583
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
444
584
|
ChatMain: import("vue").DefineComponent<{}, {
|
445
585
|
chatMainRef: import("vue").Ref<HTMLElement | undefined>;
|
446
586
|
state: IState;
|
447
587
|
setMsgList: (list?: AnyObject[]) => void;
|
448
588
|
setCurrentSessionItem: (item: AnyObject) => void;
|
589
|
+
isGroupChat: import("vue").ComputedRef<boolean>;
|
449
590
|
showMenu: import("vue").Ref<boolean>;
|
450
|
-
|
591
|
+
pageInfo: {
|
451
592
|
page: number;
|
452
593
|
hasMore: boolean;
|
453
594
|
lastSendTime: string;
|
454
595
|
};
|
596
|
+
styleProps: import("vue").ComputedRef<{
|
597
|
+
'--c-tip-top': string;
|
598
|
+
'--c-tip-gap': string;
|
599
|
+
}>;
|
455
600
|
getHistoryRecord: () => Promise<void>;
|
456
601
|
showMessage: (item: AnyObject) => boolean;
|
457
602
|
showTemplateMsg: (item: AnyObject, type: "template" | "system") => boolean | undefined;
|
@@ -471,12 +616,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
471
616
|
type: StringConstructor;
|
472
617
|
required: true;
|
473
618
|
};
|
619
|
+
disabled: {
|
620
|
+
type: BooleanConstructor;
|
621
|
+
default: boolean;
|
622
|
+
};
|
474
623
|
}, {
|
475
624
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
476
625
|
userId: {
|
477
626
|
type: StringConstructor;
|
478
627
|
required: true;
|
479
628
|
};
|
629
|
+
disabled: {
|
630
|
+
type: BooleanConstructor;
|
631
|
+
default: boolean;
|
632
|
+
};
|
480
633
|
}>> & {
|
481
634
|
onClose?: ((...args: any[]) => any) | undefined;
|
482
635
|
}>>;
|
@@ -519,9 +672,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
519
672
|
type: StringConstructor;
|
520
673
|
required: true;
|
521
674
|
};
|
675
|
+
disabled: {
|
676
|
+
type: BooleanConstructor;
|
677
|
+
default: boolean;
|
678
|
+
};
|
522
679
|
}>> & {
|
523
680
|
onClose?: ((...args: any[]) => any) | undefined;
|
524
|
-
}, {
|
681
|
+
}, {
|
682
|
+
disabled: boolean;
|
683
|
+
}>;
|
525
684
|
MessageTemplate: import("vue").DefineComponent<{
|
526
685
|
data: {
|
527
686
|
type: PropType<AnyObject>;
|
@@ -623,31 +782,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
623
782
|
formatTime: typeof import("./utils").formatTime;
|
624
783
|
downloadFile: typeof import("./utils").downloadFile;
|
625
784
|
simplifyMessage: typeof import("./utils").simplifyMessage;
|
626
|
-
|
785
|
+
isAudioOrVideoMessage: typeof isAudioOrVideoMessage;
|
786
|
+
getAVTime: typeof import("./utils").getAVTime;
|
787
|
+
MESSAGE_TYPE: typeof import("./constants").MESSAGE_TYPE;
|
627
788
|
ChatbubbleEllipsesOutline: 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<{}>>, {}>;
|
628
789
|
EllipsisHorizontal: 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<{}>>, {}>;
|
790
|
+
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<{}>>, {}>;
|
791
|
+
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<{}>>, {}>;
|
629
792
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
630
|
-
ChatFooter: import("vue").DefineComponent<{
|
631
|
-
showAv: {
|
632
|
-
type: BooleanConstructor;
|
633
|
-
default: boolean;
|
634
|
-
};
|
635
|
-
}, {
|
636
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
637
|
-
showAv: {
|
638
|
-
type: BooleanConstructor;
|
639
|
-
default: boolean;
|
640
|
-
};
|
641
|
-
}>> & {}>>;
|
793
|
+
ChatFooter: import("vue").DefineComponent<{}, {
|
642
794
|
inputRef: import("vue").Ref<HTMLDivElement | undefined>;
|
643
795
|
content: import("vue").Ref<string>;
|
644
796
|
state: IState;
|
645
|
-
|
646
|
-
|
797
|
+
sendMessage: (message: {
|
798
|
+
chatType?: string | undefined;
|
799
|
+
content: AnyObject;
|
800
|
+
receiver?: string | undefined;
|
801
|
+
}) => Promise<void>;
|
802
|
+
isGroupChat: import("vue").ComputedRef<boolean>;
|
647
803
|
showEmoji: import("vue").Ref<boolean>;
|
648
|
-
|
649
|
-
callMode: import("vue").Ref<string>;
|
650
|
-
handleCall: (chatMessageType: string) => void;
|
804
|
+
handleCall: (chatMessageType: string, checkedIds?: never[]) => void;
|
651
805
|
handleKeyDown: (event: KeyboardEvent) => void;
|
652
806
|
isWrap: (event: KeyboardEvent) => boolean;
|
653
807
|
handleInput: () => void;
|
@@ -655,40 +809,127 @@ declare const _default: import("vue").DefineComponent<{
|
|
655
809
|
fileChange: (options: {
|
656
810
|
file: import("naive-ui").UploadFileInfo;
|
657
811
|
fileList: import("naive-ui").UploadFileInfo[];
|
658
|
-
}, chatMessageType: MESSAGE_TYPE) => Promise<void>;
|
812
|
+
}, chatMessageType: import("./constants").MESSAGE_TYPE) => Promise<void>;
|
659
813
|
handleMsgSend: () => void;
|
660
|
-
|
814
|
+
doSendMessage: (contentInfo: AnyObject) => Promise<void>;
|
661
815
|
NButton: any;
|
662
816
|
NPopover: any;
|
663
817
|
NTooltip: any;
|
664
818
|
NUpload: any;
|
665
819
|
NUploadTrigger: any;
|
666
820
|
NIcon: any;
|
821
|
+
ChatAdd: import("vue").DefineComponent<{
|
822
|
+
title: {
|
823
|
+
type: StringConstructor;
|
824
|
+
default: string;
|
825
|
+
};
|
826
|
+
mode: {
|
827
|
+
type: StringConstructor;
|
828
|
+
default: string;
|
829
|
+
};
|
830
|
+
options: {
|
831
|
+
type: PropType<AnyObject[]>;
|
832
|
+
};
|
833
|
+
disabledIds: {
|
834
|
+
type: PropType<string[]>;
|
835
|
+
};
|
836
|
+
defaultValue: {
|
837
|
+
type: PropType<string[]>;
|
838
|
+
};
|
839
|
+
}, {
|
840
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
841
|
+
title: {
|
842
|
+
type: StringConstructor;
|
843
|
+
default: string;
|
844
|
+
};
|
845
|
+
mode: {
|
846
|
+
type: StringConstructor;
|
847
|
+
default: string;
|
848
|
+
};
|
849
|
+
options: {
|
850
|
+
type: PropType<AnyObject[]>;
|
851
|
+
};
|
852
|
+
disabledIds: {
|
853
|
+
type: PropType<string[]>;
|
854
|
+
};
|
855
|
+
defaultValue: {
|
856
|
+
type: PropType<string[]>;
|
857
|
+
};
|
858
|
+
}>> & {
|
859
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
860
|
+
}>>;
|
861
|
+
emit: (event: "comfirm", ...args: any[]) => void;
|
862
|
+
state: IState;
|
863
|
+
showModal: import("vue").Ref<boolean>;
|
864
|
+
checkedIds: import("vue").Ref<(string | number)[]>;
|
865
|
+
options: import("vue").Ref<AnyObject[]>;
|
866
|
+
groupName: import("vue").Ref<string>;
|
867
|
+
btnDisabled: import("vue").ComputedRef<boolean>;
|
868
|
+
handlePositiveClick: () => Promise<void>;
|
869
|
+
renderSourceLabel: ({ option }: {
|
870
|
+
option: AnyObject;
|
871
|
+
}) => JSX.Element;
|
872
|
+
renderTargetList: (props: {
|
873
|
+
onCheck: (checkedValueList: (string | number)[]) => void;
|
874
|
+
checkedOptions: AnyObject[];
|
875
|
+
pattern: string;
|
876
|
+
}) => JSX.Element | null;
|
877
|
+
NModal: any;
|
878
|
+
NButton: any;
|
879
|
+
NTransfer: any;
|
880
|
+
NIcon: any;
|
881
|
+
NInput: any;
|
882
|
+
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<{}>>, {}>;
|
883
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
884
|
+
title: {
|
885
|
+
type: StringConstructor;
|
886
|
+
default: string;
|
887
|
+
};
|
888
|
+
mode: {
|
889
|
+
type: StringConstructor;
|
890
|
+
default: string;
|
891
|
+
};
|
892
|
+
options: {
|
893
|
+
type: PropType<AnyObject[]>;
|
894
|
+
};
|
895
|
+
disabledIds: {
|
896
|
+
type: PropType<string[]>;
|
897
|
+
};
|
898
|
+
defaultValue: {
|
899
|
+
type: PropType<string[]>;
|
900
|
+
};
|
901
|
+
}>> & {
|
902
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
903
|
+
}, {
|
904
|
+
mode: string;
|
905
|
+
title: string;
|
906
|
+
}>;
|
667
907
|
emojis: {
|
668
908
|
default: string[][];
|
669
909
|
findEmoji(name: string): any;
|
670
910
|
};
|
671
|
-
MESSAGE_TYPE: typeof MESSAGE_TYPE;
|
911
|
+
MESSAGE_TYPE: typeof import("./constants").MESSAGE_TYPE;
|
672
912
|
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<{}>>, {}>;
|
913
|
+
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<{}>>, {}>;
|
914
|
+
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<{}>>, {}>;
|
673
915
|
simplifyMessage: typeof import("./utils").simplifyMessage;
|
674
|
-
},
|
675
|
-
showAv: {
|
676
|
-
type: BooleanConstructor;
|
677
|
-
default: boolean;
|
678
|
-
};
|
679
|
-
}>>, {
|
680
|
-
showAv: boolean;
|
681
|
-
}>;
|
916
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
682
917
|
ChatSearch: import("vue").DefineComponent<{}, {
|
683
918
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
919
|
+
listRef: import("vue").Ref<any>;
|
684
920
|
inputRef: import("vue").Ref<any>;
|
685
921
|
showSearch: import("vue").Ref<boolean>;
|
686
922
|
keyword: import("vue").Ref<any>;
|
687
923
|
userList: import("vue").Ref<any>;
|
688
924
|
state: IState;
|
689
925
|
openSession: (item: AnyObject) => Promise<void>;
|
690
|
-
|
926
|
+
pageInfo: {
|
927
|
+
page: number;
|
928
|
+
hasMore: boolean;
|
929
|
+
};
|
930
|
+
handleInput: () => void;
|
691
931
|
handleSearch: () => Promise<void>;
|
932
|
+
resetAndSearch: () => void;
|
692
933
|
addSession: (userId: string) => Promise<void>;
|
693
934
|
NPopover: any;
|
694
935
|
NButton: any;
|
@@ -697,6 +938,274 @@ declare const _default: import("vue").DefineComponent<{
|
|
697
938
|
NIcon: any;
|
698
939
|
SearchOutline: 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<{}>>, {}>;
|
699
940
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
941
|
+
ChatAdd: import("vue").DefineComponent<{
|
942
|
+
title: {
|
943
|
+
type: StringConstructor;
|
944
|
+
default: string;
|
945
|
+
};
|
946
|
+
mode: {
|
947
|
+
type: StringConstructor;
|
948
|
+
default: string;
|
949
|
+
};
|
950
|
+
options: {
|
951
|
+
type: PropType<AnyObject[]>;
|
952
|
+
};
|
953
|
+
disabledIds: {
|
954
|
+
type: PropType<string[]>;
|
955
|
+
};
|
956
|
+
defaultValue: {
|
957
|
+
type: PropType<string[]>;
|
958
|
+
};
|
959
|
+
}, {
|
960
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
961
|
+
title: {
|
962
|
+
type: StringConstructor;
|
963
|
+
default: string;
|
964
|
+
};
|
965
|
+
mode: {
|
966
|
+
type: StringConstructor;
|
967
|
+
default: string;
|
968
|
+
};
|
969
|
+
options: {
|
970
|
+
type: PropType<AnyObject[]>;
|
971
|
+
};
|
972
|
+
disabledIds: {
|
973
|
+
type: PropType<string[]>;
|
974
|
+
};
|
975
|
+
defaultValue: {
|
976
|
+
type: PropType<string[]>;
|
977
|
+
};
|
978
|
+
}>> & {
|
979
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
980
|
+
}>>;
|
981
|
+
emit: (event: "comfirm", ...args: any[]) => void;
|
982
|
+
state: IState;
|
983
|
+
showModal: import("vue").Ref<boolean>;
|
984
|
+
checkedIds: import("vue").Ref<(string | number)[]>;
|
985
|
+
options: import("vue").Ref<AnyObject[]>;
|
986
|
+
groupName: import("vue").Ref<string>;
|
987
|
+
btnDisabled: import("vue").ComputedRef<boolean>;
|
988
|
+
handlePositiveClick: () => Promise<void>;
|
989
|
+
renderSourceLabel: ({ option }: {
|
990
|
+
option: AnyObject;
|
991
|
+
}) => JSX.Element;
|
992
|
+
renderTargetList: (props: {
|
993
|
+
onCheck: (checkedValueList: (string | number)[]) => void;
|
994
|
+
checkedOptions: AnyObject[];
|
995
|
+
pattern: string;
|
996
|
+
}) => JSX.Element | null;
|
997
|
+
NModal: any;
|
998
|
+
NButton: any;
|
999
|
+
NTransfer: any;
|
1000
|
+
NIcon: any;
|
1001
|
+
NInput: any;
|
1002
|
+
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<{}>>, {}>;
|
1003
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1004
|
+
title: {
|
1005
|
+
type: StringConstructor;
|
1006
|
+
default: string;
|
1007
|
+
};
|
1008
|
+
mode: {
|
1009
|
+
type: StringConstructor;
|
1010
|
+
default: string;
|
1011
|
+
};
|
1012
|
+
options: {
|
1013
|
+
type: PropType<AnyObject[]>;
|
1014
|
+
};
|
1015
|
+
disabledIds: {
|
1016
|
+
type: PropType<string[]>;
|
1017
|
+
};
|
1018
|
+
defaultValue: {
|
1019
|
+
type: PropType<string[]>;
|
1020
|
+
};
|
1021
|
+
}>> & {
|
1022
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
1023
|
+
}, {
|
1024
|
+
mode: string;
|
1025
|
+
title: string;
|
1026
|
+
}>;
|
1027
|
+
Video: import("vue").DefineComponent<{}, {
|
1028
|
+
sendMessage: (message: {
|
1029
|
+
chatType?: string | undefined;
|
1030
|
+
content: AnyObject;
|
1031
|
+
receiver?: string | undefined;
|
1032
|
+
}) => Promise<void>;
|
1033
|
+
state: IState;
|
1034
|
+
trtc: import("trtc-sdk-v5").default;
|
1035
|
+
timing: import("vue").Ref<string>;
|
1036
|
+
voiceOpen: import("vue").Ref<boolean>;
|
1037
|
+
isAudio: import("vue").ComputedRef<boolean>;
|
1038
|
+
isCall: import("vue").ComputedRef<boolean>;
|
1039
|
+
startTimer: () => void;
|
1040
|
+
resetTimer: () => void;
|
1041
|
+
toggleAudio: () => Promise<void>;
|
1042
|
+
messageTypeText: import("vue").ComputedRef<"语音" | "视频">;
|
1043
|
+
time: {
|
1044
|
+
timer: any;
|
1045
|
+
seconds: number;
|
1046
|
+
};
|
1047
|
+
videoRef: import("vue").Ref<any>;
|
1048
|
+
selfVideoRef: import("vue").Ref<any>;
|
1049
|
+
isConnect: import("vue").Ref<boolean>;
|
1050
|
+
timeout: any;
|
1051
|
+
info: import("vue").ComputedRef<{
|
1052
|
+
avatar: any;
|
1053
|
+
name: any;
|
1054
|
+
userId: any;
|
1055
|
+
}>;
|
1056
|
+
tipContent: import("vue").ComputedRef<string>;
|
1057
|
+
status: import("vue").ComputedRef<any>;
|
1058
|
+
handleStatus: (status?: AV_STATUS) => Promise<void>;
|
1059
|
+
init: () => Promise<void>;
|
1060
|
+
handleEnter: () => Promise<void>;
|
1061
|
+
handleFinish: () => void;
|
1062
|
+
handleExit: () => Promise<void>;
|
1063
|
+
installEventHandlers: () => void;
|
1064
|
+
uninstallEventHandlers: () => void;
|
1065
|
+
handleRemoteVideoAvailable: (event: any) => Promise<void>;
|
1066
|
+
handleRemoteAudioAvailable: (event: any) => void;
|
1067
|
+
handleRemoteUserEnter: () => void;
|
1068
|
+
handleRemoteUserExit: (event: any) => void;
|
1069
|
+
handleError: (error: any) => void;
|
1070
|
+
NButton: any;
|
1071
|
+
NAvatar: any;
|
1072
|
+
NIcon: any;
|
1073
|
+
Call: 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<{}>>, {}>;
|
1074
|
+
MicOffCircle: 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<{}>>, {}>;
|
1075
|
+
Mic: 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<{}>>, {}>;
|
1076
|
+
AV_STATUS: typeof AV_STATUS;
|
1077
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1078
|
+
MultipleVideo: import("vue").DefineComponent<{}, {
|
1079
|
+
selfVideoRef: import("vue").Ref<any>;
|
1080
|
+
remoteUsers: import("vue").Ref<string[]>;
|
1081
|
+
state: IState;
|
1082
|
+
sendMessage: (message: {
|
1083
|
+
chatType?: string | undefined;
|
1084
|
+
content: AnyObject;
|
1085
|
+
receiver?: string | undefined;
|
1086
|
+
}) => Promise<void>;
|
1087
|
+
trtc: import("trtc-sdk-v5").default;
|
1088
|
+
voiceOpen: import("vue").Ref<boolean>;
|
1089
|
+
isAudio: import("vue").ComputedRef<boolean>;
|
1090
|
+
isCall: import("vue").ComputedRef<boolean>;
|
1091
|
+
startTimer: () => void;
|
1092
|
+
resetTimer: () => void;
|
1093
|
+
toggleAudio: () => Promise<void>;
|
1094
|
+
messageTypeText: import("vue").ComputedRef<"语音" | "视频">;
|
1095
|
+
timing: import("vue").Ref<string>;
|
1096
|
+
toggleVideo: () => Promise<void>;
|
1097
|
+
videocamOpen: import("vue").Ref<boolean>;
|
1098
|
+
isConnect: import("vue").Ref<boolean>;
|
1099
|
+
callUser: import("vue").ComputedRef<any>;
|
1100
|
+
title: import("vue").ComputedRef<string>;
|
1101
|
+
handleAddPerson: (checkedIds: string[]) => void;
|
1102
|
+
handleCall: () => void;
|
1103
|
+
handleEnter: () => Promise<void>;
|
1104
|
+
handleExit: () => Promise<void>;
|
1105
|
+
installEventHandlers: () => void;
|
1106
|
+
uninstallEventHandlers: () => void;
|
1107
|
+
handleRemoteVideoAvailable: (event: any) => Promise<void>;
|
1108
|
+
handleRemoteAudioAvailable: (event: any) => void;
|
1109
|
+
handleRemoteUserEnter: (event: any) => void;
|
1110
|
+
handleRemoteUserExit: (event: any) => void;
|
1111
|
+
handleError: (error: any) => void;
|
1112
|
+
getName: (id: string) => any;
|
1113
|
+
NButton: any;
|
1114
|
+
NIcon: any;
|
1115
|
+
ChatAdd: import("vue").DefineComponent<{
|
1116
|
+
title: {
|
1117
|
+
type: StringConstructor;
|
1118
|
+
default: string;
|
1119
|
+
};
|
1120
|
+
mode: {
|
1121
|
+
type: StringConstructor;
|
1122
|
+
default: string;
|
1123
|
+
};
|
1124
|
+
options: {
|
1125
|
+
type: PropType<AnyObject[]>;
|
1126
|
+
};
|
1127
|
+
disabledIds: {
|
1128
|
+
type: PropType<string[]>;
|
1129
|
+
};
|
1130
|
+
defaultValue: {
|
1131
|
+
type: PropType<string[]>;
|
1132
|
+
};
|
1133
|
+
}, {
|
1134
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1135
|
+
title: {
|
1136
|
+
type: StringConstructor;
|
1137
|
+
default: string;
|
1138
|
+
};
|
1139
|
+
mode: {
|
1140
|
+
type: StringConstructor;
|
1141
|
+
default: string;
|
1142
|
+
};
|
1143
|
+
options: {
|
1144
|
+
type: PropType<AnyObject[]>;
|
1145
|
+
};
|
1146
|
+
disabledIds: {
|
1147
|
+
type: PropType<string[]>;
|
1148
|
+
};
|
1149
|
+
defaultValue: {
|
1150
|
+
type: PropType<string[]>;
|
1151
|
+
};
|
1152
|
+
}>> & {
|
1153
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
1154
|
+
}>>;
|
1155
|
+
emit: (event: "comfirm", ...args: any[]) => void;
|
1156
|
+
state: IState;
|
1157
|
+
showModal: import("vue").Ref<boolean>;
|
1158
|
+
checkedIds: import("vue").Ref<(string | number)[]>;
|
1159
|
+
options: import("vue").Ref<AnyObject[]>;
|
1160
|
+
groupName: import("vue").Ref<string>;
|
1161
|
+
btnDisabled: import("vue").ComputedRef<boolean>;
|
1162
|
+
handlePositiveClick: () => Promise<void>;
|
1163
|
+
renderSourceLabel: ({ option }: {
|
1164
|
+
option: AnyObject;
|
1165
|
+
}) => JSX.Element;
|
1166
|
+
renderTargetList: (props: {
|
1167
|
+
onCheck: (checkedValueList: (string | number)[]) => void;
|
1168
|
+
checkedOptions: AnyObject[];
|
1169
|
+
pattern: string;
|
1170
|
+
}) => JSX.Element | null;
|
1171
|
+
NModal: any;
|
1172
|
+
NButton: any;
|
1173
|
+
NTransfer: any;
|
1174
|
+
NIcon: any;
|
1175
|
+
NInput: any;
|
1176
|
+
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<{}>>, {}>;
|
1177
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1178
|
+
title: {
|
1179
|
+
type: StringConstructor;
|
1180
|
+
default: string;
|
1181
|
+
};
|
1182
|
+
mode: {
|
1183
|
+
type: StringConstructor;
|
1184
|
+
default: string;
|
1185
|
+
};
|
1186
|
+
options: {
|
1187
|
+
type: PropType<AnyObject[]>;
|
1188
|
+
};
|
1189
|
+
disabledIds: {
|
1190
|
+
type: PropType<string[]>;
|
1191
|
+
};
|
1192
|
+
defaultValue: {
|
1193
|
+
type: PropType<string[]>;
|
1194
|
+
};
|
1195
|
+
}>> & {
|
1196
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
1197
|
+
}, {
|
1198
|
+
mode: string;
|
1199
|
+
title: string;
|
1200
|
+
}>;
|
1201
|
+
Call: 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<{}>>, {}>;
|
1202
|
+
Videocam: 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<{}>>, {}>;
|
1203
|
+
VideocamOff: 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<{}>>, {}>;
|
1204
|
+
Mic: 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<{}>>, {}>;
|
1205
|
+
PersonAdd: 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<{}>>, {}>;
|
1206
|
+
MicOff: 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<{}>>, {}>;
|
1207
|
+
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<{}>>, {}>;
|
1208
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
700
1209
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("template-click" | "unread-message-update")[], "template-click" | "unread-message-update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
701
1210
|
token: {
|
702
1211
|
type: StringConstructor;
|