cnhis-design-vue 3.4.0-beta.9 → 3.4.0-release.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/_virtual/_virtual_i18n-methods.js +5 -1
- package/es/components/audio-sdk/index.d.ts +4 -4
- package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
- package/es/components/base-search/index.d.ts +34 -0
- package/es/components/base-search/src/index.vue.d.ts +34 -0
- package/es/components/base-search/src/index.vue2.js +9 -1
- package/es/components/button-print/index.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +77 -50
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
- package/es/components/button-print/src/utils/print.d.ts +2 -1
- package/es/components/button-print/src/utils/print.js +13 -8
- package/es/components/callback/src/components/render/popupMaps.d.ts +110 -222
- package/es/components/classification/index.d.ts +123 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +123 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +123 -0
- package/es/components/classification/src/index.vue.d.ts +123 -0
- package/es/components/classification/src/index.vue2.js +7 -0
- package/es/components/date-picker/index.d.ts +41 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +41 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +34 -4
- package/es/components/expand-field/index.d.ts +31 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
- package/es/components/expand-field/src/index.vue.d.ts +31 -0
- package/es/components/fabric-chart/index.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
- package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
- package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
- package/es/components/fabric-chart/src/constants/index.js +26 -11
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +18 -12
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +61 -33
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -120
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +21 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +16 -14
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
- package/es/components/fabric-chart/src/interface.d.ts +15 -1
- package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
- package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -10
- package/es/components/fabric-chart/style/index.css +1 -1
- package/es/components/field-editor/index.d.ts +1 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +83 -1
- package/es/components/field-set/src/FieldColor.vue2.js +2 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +2 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue2.js +4 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +41 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +82 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +41 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +1 -0
- package/es/components/form-config/index.d.ts +24 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
- package/es/components/form-config/src/constants/index.d.ts +2 -0
- package/es/components/form-config/src/constants/index.js +2 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
- package/es/components/form-render/index.d.ts +1 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
- package/es/components/form-render/src/components/renderer/textarea.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/index.js +5 -2
- package/es/components/iho-chat/index.d.ts +2785 -302
- package/es/components/iho-chat/src/Index.vue.d.ts +2785 -302
- package/es/components/iho-chat/src/Index.vue2.js +5 -3
- package/es/components/iho-chat/src/api/index.d.ts +89 -16
- package/es/components/iho-chat/src/api/index.js +8 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +3 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +796 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +217 -14
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +158 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -0
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +2 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +134 -11
- package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
- package/es/components/iho-chat/src/components/userItemRender.js +2 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
- package/es/components/iho-chat/src/hooks/useData.js +31 -10
- package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +39 -7
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
- package/es/components/iho-chat/src/utils/sseClient.js +97 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +109 -222
- package/es/components/iho-table/src/IhoTable.vue.d.ts +109 -222
- package/es/components/iho-table/src/IhoTable.vue2.js +23 -14
- package/es/components/iho-table/src/constants/index.d.ts +3 -3
- package/es/components/iho-table/src/constants/index.js +0 -21
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +39 -60
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +43 -4
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +41 -0
- 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 +25 -0
- 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/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
- 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/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
- package/es/components/iho-table/src/types/index.d.ts +3 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +46 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
- package/es/components/scale-view/src/hooks/use-event.js +56 -22
- package/es/components/select-person/index.d.ts +31 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +38 -9
- package/es/components/select-person/src/index.vue.d.ts +31 -0
- package/es/components/select-person/src/index.vue2.js +4 -0
- package/es/components/select-person/src/utils/index.js +11 -9
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +3 -0
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +9 -3
- package/es/components/shortcut-setter/index.d.ts +2 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -0
- package/es/components/table-export-field/index.d.ts +6 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +2 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +49 -18
- package/es/components/table-export-field/src/index.vue.d.ts +6 -0
- package/es/components/table-export-field/src/types/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +82 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +82 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +82 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +43 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +43 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +168 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +168 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +4 -1
- package/es/shared/components/CancelRadio/CancelRadio.js +3 -1
- package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
- package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
- package/es/shared/components/Ellipsis/index.d.ts +2 -0
- package/es/shared/components/Ellipsis/index.js +2 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +3 -2
- package/es/shared/utils/business.js +16 -0
- package/es/shared/utils/ho-edge.d.ts +12 -0
- package/es/shared/utils/ho-edge.js +58 -0
- package/package.json +3 -3
|
@@ -1,11 +1,54 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { type TRTCEvent } from '../hooks';
|
|
3
|
+
import { CHAT_TYPE } from '../constants';
|
|
3
4
|
import { AnyObject } from '../../../../shared/types';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
5
6
|
selfVideoRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
6
7
|
state: {
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
orgId: string;
|
|
10
|
+
currentSessionItem: {
|
|
11
|
+
id: string;
|
|
12
|
+
sessionKey: string;
|
|
13
|
+
receiver: string;
|
|
14
|
+
createdTime: string;
|
|
15
|
+
avatar: string;
|
|
16
|
+
name: string;
|
|
17
|
+
defaultName: string;
|
|
18
|
+
chatType: CHAT_TYPE;
|
|
19
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
20
|
+
status: import("../constants").STATUS;
|
|
21
|
+
sortTime: string;
|
|
22
|
+
topping: boolean;
|
|
23
|
+
unreadNum: number;
|
|
24
|
+
updatedTime: string;
|
|
25
|
+
lastMessageContent: string;
|
|
26
|
+
sender?: string | undefined;
|
|
27
|
+
lastMessageId?: string | undefined;
|
|
28
|
+
lastMessage?: {
|
|
29
|
+
[x: string]: any;
|
|
30
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
31
|
+
msg: string;
|
|
32
|
+
referenceContent?: any;
|
|
33
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
34
|
+
messageTemplate?: any;
|
|
35
|
+
messageTemplateData?: any;
|
|
36
|
+
fileUrl?: string | undefined;
|
|
37
|
+
avStatus?: string | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
lastMessageSendTime?: string | undefined;
|
|
40
|
+
lastMessageStatus?: string | undefined;
|
|
41
|
+
lastSenderName?: string | undefined;
|
|
42
|
+
businessInfo?: {
|
|
43
|
+
uiSetting?: AnyObject | undefined;
|
|
44
|
+
topicInfo?: {
|
|
45
|
+
[x: string]: any;
|
|
46
|
+
param?: AnyObject | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
labelList?: AnyObject[] | undefined;
|
|
50
|
+
notDisturb: boolean;
|
|
51
|
+
};
|
|
9
52
|
id: string;
|
|
10
53
|
userInfo: AnyObject;
|
|
11
54
|
msgList: {
|
|
@@ -14,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
14
57
|
sessionKey: string;
|
|
15
58
|
content: {
|
|
16
59
|
[x: string]: any;
|
|
17
|
-
chatMessageType:
|
|
60
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
18
61
|
msg: string;
|
|
19
62
|
referenceContent?: any;
|
|
20
63
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -32,11 +75,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
32
75
|
__time?: string | undefined;
|
|
33
76
|
__sendTime?: string | undefined;
|
|
34
77
|
}[];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
78
|
+
sessionList: {
|
|
79
|
+
id: string;
|
|
80
|
+
sessionKey: string;
|
|
81
|
+
receiver: string;
|
|
82
|
+
createdTime: string;
|
|
83
|
+
avatar: string;
|
|
84
|
+
name: string;
|
|
85
|
+
defaultName: string;
|
|
86
|
+
chatType: CHAT_TYPE;
|
|
87
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
88
|
+
status: import("../constants").STATUS;
|
|
89
|
+
sortTime: string;
|
|
90
|
+
topping: boolean;
|
|
91
|
+
unreadNum: number;
|
|
92
|
+
updatedTime: string;
|
|
93
|
+
lastMessageContent: string;
|
|
94
|
+
sender?: string | undefined;
|
|
95
|
+
lastMessageId?: string | undefined;
|
|
96
|
+
lastMessage?: {
|
|
97
|
+
[x: string]: any;
|
|
98
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
99
|
+
msg: string;
|
|
100
|
+
referenceContent?: any;
|
|
101
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
102
|
+
messageTemplate?: any;
|
|
103
|
+
messageTemplateData?: any;
|
|
104
|
+
fileUrl?: string | undefined;
|
|
105
|
+
avStatus?: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
lastMessageSendTime?: string | undefined;
|
|
108
|
+
lastMessageStatus?: string | undefined;
|
|
109
|
+
lastSenderName?: string | undefined;
|
|
110
|
+
businessInfo?: {
|
|
111
|
+
uiSetting?: AnyObject | undefined;
|
|
112
|
+
topicInfo?: {
|
|
113
|
+
[x: string]: any;
|
|
114
|
+
param?: AnyObject | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
labelList?: AnyObject[] | undefined;
|
|
118
|
+
notDisturb: boolean;
|
|
119
|
+
}[];
|
|
38
120
|
isChangeSession: boolean;
|
|
39
|
-
updateSessionItem: AnyObject;
|
|
40
121
|
isUpdateSession: boolean;
|
|
41
122
|
currentReferenceMsg: AnyObject | null;
|
|
42
123
|
currentReEditMsg: AnyObject | null;
|
|
@@ -54,6 +135,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
54
135
|
info: AnyObject | null;
|
|
55
136
|
};
|
|
56
137
|
isForward: boolean;
|
|
138
|
+
loading: boolean;
|
|
57
139
|
};
|
|
58
140
|
sendMessage: (message: {
|
|
59
141
|
chatType?: string | undefined;
|
|
@@ -200,8 +282,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
200
282
|
}> & {}>;
|
|
201
283
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
202
284
|
state: {
|
|
203
|
-
|
|
204
|
-
|
|
285
|
+
[x: string]: any;
|
|
286
|
+
orgId: string;
|
|
287
|
+
currentSessionItem: {
|
|
288
|
+
id: string;
|
|
289
|
+
sessionKey: string;
|
|
290
|
+
receiver: string;
|
|
291
|
+
createdTime: string;
|
|
292
|
+
avatar: string;
|
|
293
|
+
name: string;
|
|
294
|
+
defaultName: string;
|
|
295
|
+
chatType: CHAT_TYPE;
|
|
296
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
297
|
+
status: import("../constants").STATUS;
|
|
298
|
+
sortTime: string;
|
|
299
|
+
topping: boolean;
|
|
300
|
+
unreadNum: number;
|
|
301
|
+
updatedTime: string;
|
|
302
|
+
lastMessageContent: string;
|
|
303
|
+
sender?: string | undefined;
|
|
304
|
+
lastMessageId?: string | undefined;
|
|
305
|
+
lastMessage?: {
|
|
306
|
+
[x: string]: any;
|
|
307
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
308
|
+
msg: string;
|
|
309
|
+
referenceContent?: any;
|
|
310
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
311
|
+
messageTemplate?: any;
|
|
312
|
+
messageTemplateData?: any;
|
|
313
|
+
fileUrl?: string | undefined;
|
|
314
|
+
avStatus?: string | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
lastMessageSendTime?: string | undefined;
|
|
317
|
+
lastMessageStatus?: string | undefined;
|
|
318
|
+
lastSenderName?: string | undefined;
|
|
319
|
+
businessInfo?: {
|
|
320
|
+
uiSetting?: AnyObject | undefined;
|
|
321
|
+
topicInfo?: {
|
|
322
|
+
[x: string]: any;
|
|
323
|
+
param?: AnyObject | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
} | undefined;
|
|
326
|
+
labelList?: AnyObject[] | undefined;
|
|
327
|
+
notDisturb: boolean;
|
|
328
|
+
};
|
|
205
329
|
id: string;
|
|
206
330
|
userInfo: AnyObject;
|
|
207
331
|
msgList: {
|
|
@@ -210,7 +334,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
210
334
|
sessionKey: string;
|
|
211
335
|
content: {
|
|
212
336
|
[x: string]: any;
|
|
213
|
-
chatMessageType:
|
|
337
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
214
338
|
msg: string;
|
|
215
339
|
referenceContent?: any;
|
|
216
340
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -228,11 +352,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
228
352
|
__time?: string | undefined;
|
|
229
353
|
__sendTime?: string | undefined;
|
|
230
354
|
}[];
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
355
|
+
sessionList: {
|
|
356
|
+
id: string;
|
|
357
|
+
sessionKey: string;
|
|
358
|
+
receiver: string;
|
|
359
|
+
createdTime: string;
|
|
360
|
+
avatar: string;
|
|
361
|
+
name: string;
|
|
362
|
+
defaultName: string;
|
|
363
|
+
chatType: CHAT_TYPE;
|
|
364
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
365
|
+
status: import("../constants").STATUS;
|
|
366
|
+
sortTime: string;
|
|
367
|
+
topping: boolean;
|
|
368
|
+
unreadNum: number;
|
|
369
|
+
updatedTime: string;
|
|
370
|
+
lastMessageContent: string;
|
|
371
|
+
sender?: string | undefined;
|
|
372
|
+
lastMessageId?: string | undefined;
|
|
373
|
+
lastMessage?: {
|
|
374
|
+
[x: string]: any;
|
|
375
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
376
|
+
msg: string;
|
|
377
|
+
referenceContent?: any;
|
|
378
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
379
|
+
messageTemplate?: any;
|
|
380
|
+
messageTemplateData?: any;
|
|
381
|
+
fileUrl?: string | undefined;
|
|
382
|
+
avStatus?: string | undefined;
|
|
383
|
+
} | undefined;
|
|
384
|
+
lastMessageSendTime?: string | undefined;
|
|
385
|
+
lastMessageStatus?: string | undefined;
|
|
386
|
+
lastSenderName?: string | undefined;
|
|
387
|
+
businessInfo?: {
|
|
388
|
+
uiSetting?: AnyObject | undefined;
|
|
389
|
+
topicInfo?: {
|
|
390
|
+
[x: string]: any;
|
|
391
|
+
param?: AnyObject | undefined;
|
|
392
|
+
} | undefined;
|
|
393
|
+
} | undefined;
|
|
394
|
+
labelList?: AnyObject[] | undefined;
|
|
395
|
+
notDisturb: boolean;
|
|
396
|
+
}[];
|
|
234
397
|
isChangeSession: boolean;
|
|
235
|
-
updateSessionItem: AnyObject;
|
|
236
398
|
isUpdateSession: boolean;
|
|
237
399
|
currentReferenceMsg: AnyObject | null;
|
|
238
400
|
currentReEditMsg: AnyObject | null;
|
|
@@ -250,6 +412,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
250
412
|
info: AnyObject | null;
|
|
251
413
|
};
|
|
252
414
|
isForward: boolean;
|
|
415
|
+
loading: boolean;
|
|
253
416
|
};
|
|
254
417
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
255
418
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -265,25 +428,25 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
265
428
|
handleInput: () => void;
|
|
266
429
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
267
430
|
sessionList: import("vue").ComputedRef<{
|
|
268
|
-
id:
|
|
269
|
-
name:
|
|
270
|
-
avatar:
|
|
271
|
-
chatType:
|
|
272
|
-
roleInfo:
|
|
431
|
+
id: string;
|
|
432
|
+
name: string;
|
|
433
|
+
avatar: string;
|
|
434
|
+
chatType: CHAT_TYPE;
|
|
435
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
273
436
|
}[]>;
|
|
274
437
|
friends: import("vue").ComputedRef<{
|
|
275
|
-
id:
|
|
276
|
-
name:
|
|
277
|
-
avatar:
|
|
278
|
-
chatType:
|
|
279
|
-
roleInfo:
|
|
438
|
+
id: string;
|
|
439
|
+
name: string;
|
|
440
|
+
avatar: string;
|
|
441
|
+
chatType: CHAT_TYPE;
|
|
442
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
280
443
|
}[]>;
|
|
281
444
|
groups: import("vue").ComputedRef<{
|
|
282
|
-
id:
|
|
283
|
-
name:
|
|
284
|
-
avatar:
|
|
285
|
-
chatType:
|
|
286
|
-
roleInfo:
|
|
445
|
+
id: string;
|
|
446
|
+
name: string;
|
|
447
|
+
avatar: string;
|
|
448
|
+
chatType: CHAT_TYPE;
|
|
449
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
287
450
|
}[]>;
|
|
288
451
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
289
452
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -6,7 +6,7 @@ import { Close, Mic, MicOff, Videocam, VideocamOff, Call, PersonAdd, ResizeOutli
|
|
|
6
6
|
import { getUserDetailApi } from '../api/index.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
8
|
import { $message } from '../utils/index.js';
|
|
9
|
-
import 'lodash-es';
|
|
9
|
+
import { remove } from 'lodash-es';
|
|
10
10
|
import { CHAT_TYPE, SUBSCRIBE_MESSAGE_TYPE } from '../constants/index.js';
|
|
11
11
|
import '../../../../shared/utils/index.js';
|
|
12
12
|
import 'date-fns';
|
|
@@ -385,6 +385,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
385
385
|
try {
|
|
386
386
|
removeUser(userId);
|
|
387
387
|
console.log("Cleaned up resources for user:", userId);
|
|
388
|
+
remove(state.currentAVMsg.checkedIds, (id) => id === userId);
|
|
388
389
|
setTimeout(() => {
|
|
389
390
|
const user = findUser(userId);
|
|
390
391
|
if (user) {
|
|
@@ -1,10 +1,54 @@
|
|
|
1
1
|
import { UploadFileInfo } from 'naive-ui';
|
|
2
2
|
import { AnyObject } from '../../../../shared/types';
|
|
3
|
+
import { CHAT_TYPE } from '../constants';
|
|
3
4
|
import { isDoctorRole, getRoleName } from '../utils';
|
|
5
|
+
import { SessionItem } from '../types';
|
|
4
6
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
5
7
|
state: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
orgId: string;
|
|
10
|
+
currentSessionItem: {
|
|
11
|
+
id: string;
|
|
12
|
+
sessionKey: string;
|
|
13
|
+
receiver: string;
|
|
14
|
+
createdTime: string;
|
|
15
|
+
avatar: string;
|
|
16
|
+
name: string;
|
|
17
|
+
defaultName: string;
|
|
18
|
+
chatType: CHAT_TYPE;
|
|
19
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
20
|
+
status: import("../constants").STATUS;
|
|
21
|
+
sortTime: string;
|
|
22
|
+
topping: boolean;
|
|
23
|
+
unreadNum: number;
|
|
24
|
+
updatedTime: string;
|
|
25
|
+
lastMessageContent: string;
|
|
26
|
+
sender?: string | undefined;
|
|
27
|
+
lastMessageId?: string | undefined;
|
|
28
|
+
lastMessage?: {
|
|
29
|
+
[x: string]: any;
|
|
30
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
31
|
+
msg: string;
|
|
32
|
+
referenceContent?: any;
|
|
33
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
34
|
+
messageTemplate?: any;
|
|
35
|
+
messageTemplateData?: any;
|
|
36
|
+
fileUrl?: string | undefined;
|
|
37
|
+
avStatus?: string | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
lastMessageSendTime?: string | undefined;
|
|
40
|
+
lastMessageStatus?: string | undefined;
|
|
41
|
+
lastSenderName?: string | undefined;
|
|
42
|
+
businessInfo?: {
|
|
43
|
+
uiSetting?: AnyObject | undefined;
|
|
44
|
+
topicInfo?: {
|
|
45
|
+
[x: string]: any;
|
|
46
|
+
param?: AnyObject | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
labelList?: AnyObject[] | undefined;
|
|
50
|
+
notDisturb: boolean;
|
|
51
|
+
};
|
|
8
52
|
id: string;
|
|
9
53
|
userInfo: AnyObject;
|
|
10
54
|
msgList: {
|
|
@@ -13,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
13
57
|
sessionKey: string;
|
|
14
58
|
content: {
|
|
15
59
|
[x: string]: any;
|
|
16
|
-
chatMessageType:
|
|
60
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
17
61
|
msg: string;
|
|
18
62
|
referenceContent?: any;
|
|
19
63
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -31,11 +75,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
31
75
|
__time?: string | undefined;
|
|
32
76
|
__sendTime?: string | undefined;
|
|
33
77
|
}[];
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
78
|
+
sessionList: {
|
|
79
|
+
id: string;
|
|
80
|
+
sessionKey: string;
|
|
81
|
+
receiver: string;
|
|
82
|
+
createdTime: string;
|
|
83
|
+
avatar: string;
|
|
84
|
+
name: string;
|
|
85
|
+
defaultName: string;
|
|
86
|
+
chatType: CHAT_TYPE;
|
|
87
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
88
|
+
status: import("../constants").STATUS;
|
|
89
|
+
sortTime: string;
|
|
90
|
+
topping: boolean;
|
|
91
|
+
unreadNum: number;
|
|
92
|
+
updatedTime: string;
|
|
93
|
+
lastMessageContent: string;
|
|
94
|
+
sender?: string | undefined;
|
|
95
|
+
lastMessageId?: string | undefined;
|
|
96
|
+
lastMessage?: {
|
|
97
|
+
[x: string]: any;
|
|
98
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
99
|
+
msg: string;
|
|
100
|
+
referenceContent?: any;
|
|
101
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
102
|
+
messageTemplate?: any;
|
|
103
|
+
messageTemplateData?: any;
|
|
104
|
+
fileUrl?: string | undefined;
|
|
105
|
+
avStatus?: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
lastMessageSendTime?: string | undefined;
|
|
108
|
+
lastMessageStatus?: string | undefined;
|
|
109
|
+
lastSenderName?: string | undefined;
|
|
110
|
+
businessInfo?: {
|
|
111
|
+
uiSetting?: AnyObject | undefined;
|
|
112
|
+
topicInfo?: {
|
|
113
|
+
[x: string]: any;
|
|
114
|
+
param?: AnyObject | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
labelList?: AnyObject[] | undefined;
|
|
118
|
+
notDisturb: boolean;
|
|
119
|
+
}[];
|
|
37
120
|
isChangeSession: boolean;
|
|
38
|
-
updateSessionItem: AnyObject;
|
|
39
121
|
isUpdateSession: boolean;
|
|
40
122
|
currentReferenceMsg: AnyObject | null;
|
|
41
123
|
currentReEditMsg: AnyObject | null;
|
|
@@ -53,8 +135,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
53
135
|
info: AnyObject | null;
|
|
54
136
|
};
|
|
55
137
|
isForward: boolean;
|
|
138
|
+
loading: boolean;
|
|
56
139
|
};
|
|
57
|
-
openSession: (session: string |
|
|
140
|
+
openSession: (session: string | SessionItem) => Promise<void>;
|
|
58
141
|
showLargeAvatar: import("vue").Ref<boolean, boolean>;
|
|
59
142
|
showPhone: import("vue").Ref<boolean, boolean>;
|
|
60
143
|
userDetail: AnyObject;
|
|
@@ -2,6 +2,7 @@ import { CSSProperties } from 'vue';
|
|
|
2
2
|
import { AnyObject } from '../../../../shared/types';
|
|
3
3
|
import { formatTime, isDoctorRole, getRoleName } from '../utils';
|
|
4
4
|
import { STATUS } from '../constants';
|
|
5
|
+
import { SessionItem } from '../types';
|
|
5
6
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
6
7
|
filterKey: {
|
|
7
8
|
all: string;
|
|
@@ -34,8 +35,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
34
35
|
filterList: import("vue").Ref<AnyObject[], AnyObject[]>;
|
|
35
36
|
handleInput: () => void;
|
|
36
37
|
state: {
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
orgId: string;
|
|
40
|
+
currentSessionItem: {
|
|
41
|
+
id: string;
|
|
42
|
+
sessionKey: string;
|
|
43
|
+
receiver: string;
|
|
44
|
+
createdTime: string;
|
|
45
|
+
avatar: string;
|
|
46
|
+
name: string;
|
|
47
|
+
defaultName: string;
|
|
48
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
49
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
50
|
+
status: STATUS;
|
|
51
|
+
sortTime: string;
|
|
52
|
+
topping: boolean;
|
|
53
|
+
unreadNum: number;
|
|
54
|
+
updatedTime: string;
|
|
55
|
+
lastMessageContent: string;
|
|
56
|
+
sender?: string | undefined;
|
|
57
|
+
lastMessageId?: string | undefined;
|
|
58
|
+
lastMessage?: {
|
|
59
|
+
[x: string]: any;
|
|
60
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
61
|
+
msg: string;
|
|
62
|
+
referenceContent?: any;
|
|
63
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
64
|
+
messageTemplate?: any;
|
|
65
|
+
messageTemplateData?: any;
|
|
66
|
+
fileUrl?: string | undefined;
|
|
67
|
+
avStatus?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
lastMessageSendTime?: string | undefined;
|
|
70
|
+
lastMessageStatus?: string | undefined;
|
|
71
|
+
lastSenderName?: string | undefined;
|
|
72
|
+
businessInfo?: {
|
|
73
|
+
uiSetting?: AnyObject | undefined;
|
|
74
|
+
topicInfo?: {
|
|
75
|
+
[x: string]: any;
|
|
76
|
+
param?: AnyObject | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
labelList?: AnyObject[] | undefined;
|
|
80
|
+
notDisturb: boolean;
|
|
81
|
+
};
|
|
39
82
|
id: string;
|
|
40
83
|
userInfo: AnyObject;
|
|
41
84
|
msgList: {
|
|
@@ -44,7 +87,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
44
87
|
sessionKey: string;
|
|
45
88
|
content: {
|
|
46
89
|
[x: string]: any;
|
|
47
|
-
chatMessageType:
|
|
90
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
48
91
|
msg: string;
|
|
49
92
|
referenceContent?: any;
|
|
50
93
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -62,11 +105,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
62
105
|
__time?: string | undefined;
|
|
63
106
|
__sendTime?: string | undefined;
|
|
64
107
|
}[];
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
108
|
+
sessionList: {
|
|
109
|
+
id: string;
|
|
110
|
+
sessionKey: string;
|
|
111
|
+
receiver: string;
|
|
112
|
+
createdTime: string;
|
|
113
|
+
avatar: string;
|
|
114
|
+
name: string;
|
|
115
|
+
defaultName: string;
|
|
116
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
117
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
118
|
+
status: STATUS;
|
|
119
|
+
sortTime: string;
|
|
120
|
+
topping: boolean;
|
|
121
|
+
unreadNum: number;
|
|
122
|
+
updatedTime: string;
|
|
123
|
+
lastMessageContent: string;
|
|
124
|
+
sender?: string | undefined;
|
|
125
|
+
lastMessageId?: string | undefined;
|
|
126
|
+
lastMessage?: {
|
|
127
|
+
[x: string]: any;
|
|
128
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
129
|
+
msg: string;
|
|
130
|
+
referenceContent?: any;
|
|
131
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
132
|
+
messageTemplate?: any;
|
|
133
|
+
messageTemplateData?: any;
|
|
134
|
+
fileUrl?: string | undefined;
|
|
135
|
+
avStatus?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
lastMessageSendTime?: string | undefined;
|
|
138
|
+
lastMessageStatus?: string | undefined;
|
|
139
|
+
lastSenderName?: string | undefined;
|
|
140
|
+
businessInfo?: {
|
|
141
|
+
uiSetting?: AnyObject | undefined;
|
|
142
|
+
topicInfo?: {
|
|
143
|
+
[x: string]: any;
|
|
144
|
+
param?: AnyObject | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
labelList?: AnyObject[] | undefined;
|
|
148
|
+
notDisturb: boolean;
|
|
149
|
+
}[];
|
|
68
150
|
isChangeSession: boolean;
|
|
69
|
-
updateSessionItem: AnyObject;
|
|
70
151
|
isUpdateSession: boolean;
|
|
71
152
|
currentReferenceMsg: AnyObject | null;
|
|
72
153
|
currentReEditMsg: AnyObject | null;
|
|
@@ -84,20 +165,21 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
84
165
|
info: AnyObject | null;
|
|
85
166
|
};
|
|
86
167
|
isForward: boolean;
|
|
168
|
+
loading: boolean;
|
|
87
169
|
};
|
|
88
170
|
unreadTotal: import("vue").ComputedRef<number>;
|
|
89
171
|
filterable: import("vue").Ref<any, any>;
|
|
90
|
-
openSession: (session: string |
|
|
91
|
-
setUpdateSessionItem: (item:
|
|
172
|
+
openSession: (session: string | SessionItem) => Promise<void>;
|
|
173
|
+
setUpdateSessionItem: (item: SessionItem) => void;
|
|
92
174
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
93
175
|
currentWidth: import("vue").ComputedRef<number>;
|
|
94
|
-
sessionList: import("vue").ComputedRef<
|
|
176
|
+
sessionList: import("vue").ComputedRef<SessionItem[]>;
|
|
95
177
|
getLabelNum: (session: AnyObject) => number;
|
|
96
178
|
changeWidth: ({ distance }: AnyObject) => void;
|
|
97
179
|
handleFilter: (key: string) => void;
|
|
98
180
|
showSession: (item: AnyObject, currentKey?: string) => boolean | undefined;
|
|
99
181
|
handleContextmenu: (event: MouseEvent, id: string) => Promise<void>;
|
|
100
|
-
handleSelect: (key: string, session:
|
|
182
|
+
handleSelect: (key: string, session: SessionItem) => Promise<void>;
|
|
101
183
|
handleUpdateShow: (value: boolean) => void;
|
|
102
184
|
handleClickoutside: (e: Event) => void;
|
|
103
185
|
handleUpdateDate: (value: string[]) => void;
|
|
@@ -181,9 +263,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
181
263
|
type: StringConstructor;
|
|
182
264
|
default: string;
|
|
183
265
|
};
|
|
266
|
+
updateValueOnClose: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
184
270
|
isDateDisabled: {
|
|
185
271
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
186
272
|
};
|
|
273
|
+
propKey: {
|
|
274
|
+
type: StringConstructor;
|
|
275
|
+
};
|
|
276
|
+
shortcutListenerConfig: {
|
|
277
|
+
type: import("vue").PropType<{
|
|
278
|
+
enable: boolean;
|
|
279
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
280
|
+
}>;
|
|
281
|
+
};
|
|
187
282
|
}>, {
|
|
188
283
|
attrs: {
|
|
189
284
|
[x: string]: unknown;
|
|
@@ -216,9 +311,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
216
311
|
type: StringConstructor;
|
|
217
312
|
default: string;
|
|
218
313
|
};
|
|
314
|
+
updateValueOnClose: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default: boolean;
|
|
317
|
+
};
|
|
219
318
|
isDateDisabled: {
|
|
220
319
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
221
320
|
};
|
|
321
|
+
propKey: {
|
|
322
|
+
type: StringConstructor;
|
|
323
|
+
};
|
|
324
|
+
shortcutListenerConfig: {
|
|
325
|
+
type: import("vue").PropType<{
|
|
326
|
+
enable: boolean;
|
|
327
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
328
|
+
}>;
|
|
329
|
+
};
|
|
222
330
|
}>> & Readonly<{
|
|
223
331
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
224
332
|
}> & {}>;
|
|
@@ -235,6 +343,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
235
343
|
focus: () => any;
|
|
236
344
|
blur: () => any;
|
|
237
345
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
346
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
238
347
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
239
348
|
watchers: import("../../../../shared/types").AnyFn[];
|
|
240
349
|
stopWatcher: () => void;
|
|
@@ -271,9 +380,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
271
380
|
type: StringConstructor;
|
|
272
381
|
default: string;
|
|
273
382
|
};
|
|
383
|
+
updateValueOnClose: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
274
387
|
isDateDisabled: {
|
|
275
388
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
276
389
|
};
|
|
390
|
+
propKey: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
};
|
|
393
|
+
shortcutListenerConfig: {
|
|
394
|
+
type: import("vue").PropType<{
|
|
395
|
+
enable: boolean;
|
|
396
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
397
|
+
}>;
|
|
398
|
+
};
|
|
277
399
|
}>> & Readonly<{
|
|
278
400
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
279
401
|
}>, {
|
|
@@ -281,6 +403,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
281
403
|
updateUnchangedValue: boolean;
|
|
282
404
|
to: string | false | HTMLElement;
|
|
283
405
|
holidays: Date[];
|
|
406
|
+
updateValueOnClose: boolean;
|
|
284
407
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
285
408
|
readonly 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<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
286
409
|
readonly userItemRender: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|