cnhis-design-vue 3.3.1-beta.13 → 3.3.1-beta.15
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/ai-chat/index.d.ts +141 -11
- package/es/components/ai-chat/src/Index.vue.d.ts +141 -11
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/api/index.d.ts +5 -0
- package/es/components/ai-chat/src/api/index.js +1 -0
- package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +43 -0
- package/es/components/ai-chat/src/components/ChatAudio.vue.js +1 -0
- package/es/components/ai-chat/src/components/ChatAudio.vue2.js +1 -0
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +46 -1
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatMain.js +1 -1
- package/es/components/ai-chat/src/components/ChatMainDefault.d.ts +2 -0
- package/es/components/ai-chat/src/components/ChatMainDefault.js +1 -0
- package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +53 -0
- package/es/components/ai-chat/src/components/ChatRight.vue.js +1 -0
- package/es/components/ai-chat/src/components/ChatRight.vue2.js +1 -0
- package/es/components/ai-chat/src/components/card/JsonCard.d.ts +25 -0
- package/es/components/ai-chat/src/components/card/JsonCard.js +1 -0
- package/es/components/ai-chat/src/components/card/SelectIcon.d.ts +14 -0
- package/es/components/ai-chat/src/components/card/SelectIcon.js +1 -0
- package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +2 -0
- package/es/components/ai-chat/src/hooks/useWebsocket.js +1 -0
- package/es/components/ai-chat/src/utils/index.d.ts +1 -0
- package/es/components/ai-chat/src/utils/index.js +1 -1
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/audio-sdk/src/audioSDK.d.ts +2 -1
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/editor/src/Editor.js +1 -1
- package/es/components/editor/style/index.css +1 -0
- package/es/components/iho-chat/index.d.ts +46 -0
- package/es/components/iho-chat/src/Index.vue.d.ts +46 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +6 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +6 -0
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +22 -0
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +4 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +8 -0
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +3 -0
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +3 -1
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/constants/index.d.ts +7 -0
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/utils/index.d.ts +2 -0
- package/es/components/iho-chat/src/utils/index.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/ai__avatar.png.js +1 -1
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/file-emr.png.js +1 -0
- package/es/shared/assets/img/file.png.js +1 -0
- package/es/shared/assets/img/logo.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/use.png.js +1 -0
- 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/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1 +1 @@
|
|
1
|
-
import{ref as e}from"vue";import t from"recorder-core";import"recorder-core/src/engine/mp3";import"recorder-core/src/engine/mp3-engine";import{RecordingModal as s}from"./utils/recordingModal.js";import{isString as i}from"lodash-es";import{$message as
|
1
|
+
import{ref as e}from"vue";import t from"recorder-core";import"recorder-core/src/engine/mp3";import"recorder-core/src/engine/mp3-engine";import{RecordingModal as s}from"./utils/recordingModal.js";import{isString as i}from"lodash-es";import{$message as r}from"./utils/index.js";const n=class{constructor(){if(this.recordingModal=new s,this.webSocket=null,this.messageHandlerQueue=[],this.recorder=null,this.realTimeSendStartTime=0,this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0,this.timer=null,this.option={},this.contentRef=e(""),this.isReady=!1,n.instance)return n.instance;n.instance=this}static create(){return new n}initRecorder(){this.recorder=t({type:"mp3",sampleRate:16e3,bitRate:16,...this.option.realTimeRecognition?{onProcess:this.onProcess.bind(this),takeoffEncodeChunk:this.takeoffEncodeChunk.bind(this)}:{}})}async onProcess(e,t,s,i,r){0===this.realTimeSendStartTime&&(this.realTimeSendStartTime=Date.now(),this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0);for(let t=this.realTimeSendClearPrevBufferIdx;t<r;t++)e[t]=null;this.realTimeSendClearPrevBufferIdx=r}async takeoffEncodeChunk(e){e&&this.realTimeSendBytesChunks.push(e);const t=Date.now();if(t-this.realTimeSendStartTime<n.sendInterval)return;this.realTimeSendStartTime=t;let s=0;for(let e=0;e<this.realTimeSendBytesChunks.length;e++)s+=this.realTimeSendBytesChunks[e].length;const i=new Uint8Array(s);for(let e=0,t=0;e<this.realTimeSendBytesChunks.length;e++){const s=this.realTimeSendBytesChunks[e];i.set(s,t),t+=s.length}if(this.realTimeSendBytesChunks=[],i.length>0){const e=new Blob([i],{type:"audio/mp3"});this.toSend(e)}}toSend(e){if((null==e?void 0:e.size)>0){const t=new FileReader;t.onloadend=()=>{var e,s;const i=null==(e=t.result)?void 0:e.toString().split(",")[1];i&&(null==(s=this.webSocket)||s.send(JSON.stringify({data:i})))},t.readAsDataURL(e)}}run(e){this.recorder||this.initRecorder(),this.messageHandlerQueue.push(e),this.option.timed&&(this.timer=setTimeout((()=>{this.stop({timeout:!0})}),1e3*this.option.timed)),this.recorder.open((()=>{this.recorder.start(),this.option.instance&&this.option.showModal&&this.recordingModal.show({instance:this.option.instance,onClose:()=>this.stop(),props:{contentRef:this.contentRef}})}),((e,t)=>{t&&r.warning("请开启麦克风权限"),this.handleError({msg:e,isUserNotAllow:t})}))}start(e={}){this.contentRef.value="";const{showModal:t=!0}=e;return Object.assign(this.option,e,{showModal:t}),new Promise(((e,t)=>{if(!function(){var e;if((null==(e=null==navigator?void 0:navigator.userAgent)?void 0:e.includes("Chrome"))&&!(null==window?void 0:window.isSecureContext))return r.warning("当前使用的http协议默认不支持麦克风权限,需要用户开启浏览器麦克风权限"),!1;return!0}())return void t({result:"fail",msg:"当前环境不支持录音"});if(this.messageHandlerQueue.length>0)return void t({result:"fail",msg:"当前已存在正在录音的任务"});if(!this.webSocket)return this.webSocket=new WebSocket(this.option.origin||"/flow/ws/speech"),this.webSocket.onopen=()=>{this.isReady=!0,this.run({resolve:e,reject:t})},this.webSocket.onmessage=this.handleMessage.bind(this),void(this.webSocket.onerror=()=>console.log("WebSocket连接失败"));const s=this;!async function i(r=0){if(r>5)return t({result:"fail",msg:"WebSocket连接失败"});s.isReady?s.run({resolve:e,reject:t}):setTimeout((()=>{i(++r)}),100)}()}))}pause(){var e;null==(e=this.recorder)||e.pause()}resume(){var e;null==(e=this.recorder)||e.resume()}stop(e={}){var s;if(null==(s=this.recordingModal)||s.hide(),t.IsOpen())if(this.option.realTimeRecognition){const t=this.messageHandlerQueue.shift();if(!t)return;const{resolve:s,reject:i}=t;s({result:"success",data:this.contentRef.value,timeout:!!e.timeout}),this.reset()}else this.recorder.stop((async(e,t)=>{this.toSend(e)}),(e=>{this.handleError({msg:e})}),!0)}handleError(e){const t=this.messageHandlerQueue.shift();if(!t)return;const{resolve:s,reject:i}=t;i({result:"fail",...e}),this.reset()}handleMessage(e){const{data:t}=e||{};if(i(t))if(this.option.realTimeRecognition){const e=this.option.allowPunctuationMark?t:t.replace(/[??,。,.\s]/g,"");this.contentRef.value+=e}else{const e=this.messageHandlerQueue.shift();if(!e)return;const{resolve:s,reject:i}=e;s({result:"success",data:this.option.allowPunctuationMark?t:t.replace(/[??,。,.\s]/g,"")}),this.reset()}else this.handleError({msg:"接收到的数据不是一个有效字符串"})}reset(){var e;null==(e=this.recorder)||e.close(),this.realTimeSendStartTime=0,this.timer&&(clearTimeout(this.timer),this.timer=null),Object.assign(this.option,{realTimeRecognition:!1,allowPunctuationMark:!0,timed:5,isGenerateMedicalRecord:!1}),this.messageHandlerQueue=[]}destroy(){this.webSocket&&(this.webSocket.close(),this.webSocket=null,this.isReady=!1),this.reset(),this.recorder=null}static destroy(){n.instance&&(n.instance.destroy(),n.instance=null)}};let o=n;o.sendInterval=1800;export{o as default};
|
@@ -143,29 +143,6 @@ declare function getComponent(type: COMPONENT_TYPE): import("vue").DefineCompone
|
|
143
143
|
default: () => {};
|
144
144
|
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
145
145
|
};
|
146
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
147
|
-
config: {
|
148
|
-
default: () => {};
|
149
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
150
|
-
};
|
151
|
-
data: {
|
152
|
-
default: () => {};
|
153
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
154
|
-
};
|
155
|
-
}>> & {
|
156
|
-
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
157
|
-
}, {
|
158
|
-
data: import("../../../../shared/types").AnyObject;
|
159
|
-
config: import("../../../../shared/types").AnyObject;
|
160
|
-
}> | import("vue").DefineComponent<{
|
161
|
-
config: {
|
162
|
-
default: () => {};
|
163
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
164
|
-
};
|
165
|
-
data: {
|
166
|
-
default: () => {};
|
167
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
168
|
-
};
|
169
146
|
}, {
|
170
147
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
171
148
|
config: {
|
@@ -487,6 +464,29 @@ declare function getComponent(type: COMPONENT_TYPE): import("vue").DefineCompone
|
|
487
464
|
default: () => {};
|
488
465
|
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
489
466
|
};
|
467
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
468
|
+
config: {
|
469
|
+
default: () => {};
|
470
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
471
|
+
};
|
472
|
+
data: {
|
473
|
+
default: () => {};
|
474
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
475
|
+
};
|
476
|
+
}>> & {
|
477
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
478
|
+
}, {
|
479
|
+
data: import("../../../../shared/types").AnyObject;
|
480
|
+
config: import("../../../../shared/types").AnyObject;
|
481
|
+
}> | import("vue").DefineComponent<{
|
482
|
+
config: {
|
483
|
+
default: () => {};
|
484
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
485
|
+
};
|
486
|
+
data: {
|
487
|
+
default: () => {};
|
488
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
489
|
+
};
|
490
490
|
}, {
|
491
491
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
492
492
|
config: {
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,shallowRef as
|
1
|
+
import{defineComponent as e,shallowRef as t,reactive as o,onBeforeUnmount as r,createVNode as i,mergeProps as l}from"vue";import"@wangeditor/editor/dist/css/style.css";import{Editor as d,Toolbar as s}from"@wangeditor/editor-for-vue";var a=e({name:"Editor",inheritAttrs:!1,components:{Editor:d,Toolbar:s},props:{editorConfig:{type:Object},toolbarConfig:{type:Object},uploadImgUrl:{type:String},isDisabled:{type:Boolean,default:!1}},emits:[],setup(e,{attrs:a,slots:n,emit:u}){const p=t(),c=o({MENU_CONF:{uploadImage:{server:e.uploadImgUrl||""}},...e.editorConfig});r((()=>{const e=p.value;null!=e&&e.destroy()}));const f=t=>{p.value=t,e.isDisabled&&t.disable(),console.log("实例",t)};return{editorRef:p,renderVN:()=>i("div",{class:"c-editor"},[i(s,{style:"border-bottom: 1px solid #ccc",editor:p.value,defaultConfig:e.toolbarConfig,mode:"default"},null),i(d,l({class:"c-editor__main",style:"height: 500px"},a,{defaultConfig:c,mode:"default",onOnCreated:f}),null)])}},render(){return this.renderVN()}});export{a as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
.c-editor{border:1px solid #ccc}.c-editor__main{height:500px;overflow-y:hidden}
|
@@ -327,6 +327,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
327
327
|
beforeUnmount(el: any): void;
|
328
328
|
};
|
329
329
|
formatTime: typeof import("./src/utils").formatTime;
|
330
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
331
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
330
332
|
STATUS: typeof import("./src/constants").STATUS;
|
331
333
|
CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
332
334
|
updateUnchangedValue: {
|
@@ -758,18 +760,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
758
760
|
name: any;
|
759
761
|
avatar: any;
|
760
762
|
chatType: any;
|
763
|
+
roleInfo: any;
|
761
764
|
}[]>;
|
762
765
|
friends: import("vue").ComputedRef<{
|
763
766
|
id: any;
|
764
767
|
name: any;
|
765
768
|
avatar: any;
|
766
769
|
chatType: any;
|
770
|
+
roleInfo: any;
|
767
771
|
}[]>;
|
768
772
|
groups: import("vue").ComputedRef<{
|
769
773
|
id: any;
|
770
774
|
name: any;
|
771
775
|
avatar: any;
|
772
776
|
chatType: any;
|
777
|
+
roleInfo: any;
|
773
778
|
}[]>;
|
774
779
|
checkedIds: import("vue").ComputedRef<any[]>;
|
775
780
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
@@ -807,6 +812,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
807
812
|
ChevronBackOutline: 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<{}>>, {}>;
|
808
813
|
ChevronForwardOutline: 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<{}>>, {}>;
|
809
814
|
last: <T>(array: import("lodash").List<T> | null | undefined) => T | undefined;
|
815
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
816
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
810
817
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
811
818
|
title: {
|
812
819
|
type: StringConstructor;
|
@@ -840,6 +847,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
840
847
|
mode: string;
|
841
848
|
disabledIds: string[];
|
842
849
|
}>;
|
850
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
851
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
843
852
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
844
853
|
ChatFile: import("vue").DefineComponent<{
|
845
854
|
type: {
|
@@ -912,6 +921,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
912
921
|
}[];
|
913
922
|
resetAndSearch: () => void;
|
914
923
|
title: import("vue").ComputedRef<"聊天图片" | "聊天文件">;
|
924
|
+
getFileDetails: (msg: string, type: string) => any;
|
915
925
|
getDetail: (item: import("../../shared/types").AnyObject) => string;
|
916
926
|
getFileType: (item: import("../../shared/types").AnyObject) => any;
|
917
927
|
NModal: any;
|
@@ -1029,18 +1039,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1029
1039
|
name: any;
|
1030
1040
|
avatar: any;
|
1031
1041
|
chatType: any;
|
1042
|
+
roleInfo: any;
|
1032
1043
|
}[]>;
|
1033
1044
|
friends: import("vue").ComputedRef<{
|
1034
1045
|
id: any;
|
1035
1046
|
name: any;
|
1036
1047
|
avatar: any;
|
1037
1048
|
chatType: any;
|
1049
|
+
roleInfo: any;
|
1038
1050
|
}[]>;
|
1039
1051
|
groups: import("vue").ComputedRef<{
|
1040
1052
|
id: any;
|
1041
1053
|
name: any;
|
1042
1054
|
avatar: any;
|
1043
1055
|
chatType: any;
|
1056
|
+
roleInfo: any;
|
1044
1057
|
}[]>;
|
1045
1058
|
checkedIds: import("vue").ComputedRef<any[]>;
|
1046
1059
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
@@ -1078,6 +1091,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1078
1091
|
ChevronBackOutline: 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<{}>>, {}>;
|
1079
1092
|
ChevronForwardOutline: 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<{}>>, {}>;
|
1080
1093
|
last: <T>(array: import("lodash").List<T> | null | undefined) => T | undefined;
|
1094
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
1095
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
1081
1096
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1082
1097
|
title: {
|
1083
1098
|
type: StringConstructor;
|
@@ -1166,6 +1181,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1166
1181
|
};
|
1167
1182
|
isForward: boolean;
|
1168
1183
|
};
|
1184
|
+
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
1169
1185
|
recordRef: import("vue").Ref<any>;
|
1170
1186
|
recordList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1171
1187
|
keyword: import("vue").Ref<any>;
|
@@ -1178,6 +1194,9 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1178
1194
|
hasMore: boolean;
|
1179
1195
|
lastSendTime: string;
|
1180
1196
|
};
|
1197
|
+
getFileDetails: (msg: string, type: string) => any;
|
1198
|
+
getDetail: (item: import("../../shared/types").AnyObject) => string;
|
1199
|
+
getFileType: (msg: string) => string;
|
1181
1200
|
handleSearch: () => Promise<void>;
|
1182
1201
|
resetAndSearch: () => void;
|
1183
1202
|
startDateDisabled: (ts: number) => boolean;
|
@@ -1441,18 +1460,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1441
1460
|
name: any;
|
1442
1461
|
avatar: any;
|
1443
1462
|
chatType: any;
|
1463
|
+
roleInfo: any;
|
1444
1464
|
}[]>;
|
1445
1465
|
friends: import("vue").ComputedRef<{
|
1446
1466
|
id: any;
|
1447
1467
|
name: any;
|
1448
1468
|
avatar: any;
|
1449
1469
|
chatType: any;
|
1470
|
+
roleInfo: any;
|
1450
1471
|
}[]>;
|
1451
1472
|
groups: import("vue").ComputedRef<{
|
1452
1473
|
id: any;
|
1453
1474
|
name: any;
|
1454
1475
|
avatar: any;
|
1455
1476
|
chatType: any;
|
1477
|
+
roleInfo: any;
|
1456
1478
|
}[]>;
|
1457
1479
|
checkedIds: import("vue").ComputedRef<any[]>;
|
1458
1480
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
@@ -1490,6 +1512,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1490
1512
|
ChevronBackOutline: 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<{}>>, {}>;
|
1491
1513
|
ChevronForwardOutline: 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<{}>>, {}>;
|
1492
1514
|
last: <T>(array: import("lodash").List<T> | null | undefined) => T | undefined;
|
1515
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
1516
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
1493
1517
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1494
1518
|
title: {
|
1495
1519
|
type: StringConstructor;
|
@@ -2014,18 +2038,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2014
2038
|
name: any;
|
2015
2039
|
avatar: any;
|
2016
2040
|
chatType: any;
|
2041
|
+
roleInfo: any;
|
2017
2042
|
}[]>;
|
2018
2043
|
friends: import("vue").ComputedRef<{
|
2019
2044
|
id: any;
|
2020
2045
|
name: any;
|
2021
2046
|
avatar: any;
|
2022
2047
|
chatType: any;
|
2048
|
+
roleInfo: any;
|
2023
2049
|
}[]>;
|
2024
2050
|
groups: import("vue").ComputedRef<{
|
2025
2051
|
id: any;
|
2026
2052
|
name: any;
|
2027
2053
|
avatar: any;
|
2028
2054
|
chatType: any;
|
2055
|
+
roleInfo: any;
|
2029
2056
|
}[]>;
|
2030
2057
|
checkedIds: import("vue").ComputedRef<any[]>;
|
2031
2058
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
@@ -2063,6 +2090,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2063
2090
|
ChevronBackOutline: 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<{}>>, {}>;
|
2064
2091
|
ChevronForwardOutline: 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<{}>>, {}>;
|
2065
2092
|
last: <T>(array: import("lodash").List<T> | null | undefined) => T | undefined;
|
2093
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
2094
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
2066
2095
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2067
2096
|
title: {
|
2068
2097
|
type: StringConstructor;
|
@@ -2286,18 +2315,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2286
2315
|
name: any;
|
2287
2316
|
avatar: any;
|
2288
2317
|
chatType: any;
|
2318
|
+
roleInfo: any;
|
2289
2319
|
}[]>;
|
2290
2320
|
friends: import("vue").ComputedRef<{
|
2291
2321
|
id: any;
|
2292
2322
|
name: any;
|
2293
2323
|
avatar: any;
|
2294
2324
|
chatType: any;
|
2325
|
+
roleInfo: any;
|
2295
2326
|
}[]>;
|
2296
2327
|
groups: import("vue").ComputedRef<{
|
2297
2328
|
id: any;
|
2298
2329
|
name: any;
|
2299
2330
|
avatar: any;
|
2300
2331
|
chatType: any;
|
2332
|
+
roleInfo: any;
|
2301
2333
|
}[]>;
|
2302
2334
|
checkedIds: import("vue").ComputedRef<any[]>;
|
2303
2335
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
@@ -2335,6 +2367,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2335
2367
|
ChevronBackOutline: 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<{}>>, {}>;
|
2336
2368
|
ChevronForwardOutline: 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<{}>>, {}>;
|
2337
2369
|
last: <T>(array: import("lodash").List<T> | null | undefined) => T | undefined;
|
2370
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
2371
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
2338
2372
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2339
2373
|
title: {
|
2340
2374
|
type: StringConstructor;
|
@@ -2613,18 +2647,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2613
2647
|
name: any;
|
2614
2648
|
avatar: any;
|
2615
2649
|
chatType: any;
|
2650
|
+
roleInfo: any;
|
2616
2651
|
}[]>;
|
2617
2652
|
friends: import("vue").ComputedRef<{
|
2618
2653
|
id: any;
|
2619
2654
|
name: any;
|
2620
2655
|
avatar: any;
|
2621
2656
|
chatType: any;
|
2657
|
+
roleInfo: any;
|
2622
2658
|
}[]>;
|
2623
2659
|
groups: import("vue").ComputedRef<{
|
2624
2660
|
id: any;
|
2625
2661
|
name: any;
|
2626
2662
|
avatar: any;
|
2627
2663
|
chatType: any;
|
2664
|
+
roleInfo: any;
|
2628
2665
|
}[]>;
|
2629
2666
|
checkedIds: import("vue").ComputedRef<any[]>;
|
2630
2667
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
@@ -2662,6 +2699,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2662
2699
|
ChevronBackOutline: 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<{}>>, {}>;
|
2663
2700
|
ChevronForwardOutline: 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<{}>>, {}>;
|
2664
2701
|
last: <T>(array: import("lodash").List<T> | null | undefined) => T | undefined;
|
2702
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
2703
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
2665
2704
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2666
2705
|
title: {
|
2667
2706
|
type: StringConstructor;
|
@@ -2976,18 +3015,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
2976
3015
|
name: any;
|
2977
3016
|
avatar: any;
|
2978
3017
|
chatType: any;
|
3018
|
+
roleInfo: any;
|
2979
3019
|
}[]>;
|
2980
3020
|
friends: import("vue").ComputedRef<{
|
2981
3021
|
id: any;
|
2982
3022
|
name: any;
|
2983
3023
|
avatar: any;
|
2984
3024
|
chatType: any;
|
3025
|
+
roleInfo: any;
|
2985
3026
|
}[]>;
|
2986
3027
|
groups: import("vue").ComputedRef<{
|
2987
3028
|
id: any;
|
2988
3029
|
name: any;
|
2989
3030
|
avatar: any;
|
2990
3031
|
chatType: any;
|
3032
|
+
roleInfo: any;
|
2991
3033
|
}[]>;
|
2992
3034
|
checkedIds: import("vue").ComputedRef<any[]>;
|
2993
3035
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
@@ -3025,6 +3067,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3025
3067
|
ChevronBackOutline: 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<{}>>, {}>;
|
3026
3068
|
ChevronForwardOutline: 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<{}>>, {}>;
|
3027
3069
|
last: <T>(array: import("lodash").List<T> | null | undefined) => T | undefined;
|
3070
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
3071
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
3028
3072
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
3029
3073
|
title: {
|
3030
3074
|
type: StringConstructor;
|
@@ -3124,6 +3168,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
3124
3168
|
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<{}>>, {}>;
|
3125
3169
|
EyeOutline: 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<{}>>, {}>;
|
3126
3170
|
EyeOffOutline: 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<{}>>, {}>;
|
3171
|
+
isDoctorRole: typeof import("./src/utils").isDoctorRole;
|
3172
|
+
getRoleName: typeof import("./src/utils").getRoleName;
|
3127
3173
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3128
3174
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("template-click" | "unread-message-update" | "session-change" | "session-close")[], "template-click" | "unread-message-update" | "session-change" | "session-close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
3129
3175
|
token: {
|