3 lines
519 KiB
JavaScript
3 lines
519 KiB
JavaScript
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".tk-justify-start{justify-content:flex-start}.tk-justify-center{justify-content:center}.tk-justify-end{justify-content:flex-end}.tk-justify-space-between{justify-content:space-between}.tk-justify-space-around{justify-content:space-around}.tk-justify-space-evenly{justify-content:space-evenly}.tk-align-center{align-items:center}.tk-align-start{align-items:flex-start}.tk-align-end{align-items:flex-end}.tk-align-stretch{align-items:stretch}.tk-align-baseline{align-items:baseline}.tk-blur{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.tk-round{border-radius:20px}.tk-circle{border-radius:100%}.tk-row{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box;width:100%}.tk-col{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box}.tk-justify-start{justify-content:flex-start}.tk-justify-center{justify-content:center}.tk-justify-end{justify-content:flex-end}.tk-justify-space-between{justify-content:space-between}.tk-justify-space-around{justify-content:space-around}.tk-justify-space-evenly{justify-content:space-evenly}.tk-align-center{align-items:center}.tk-align-start{align-items:flex-start}.tk-align-end{align-items:flex-end}.tk-align-stretch{align-items:stretch}.tk-align-baseline{align-items:baseline}.tk-blur{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.tk-round{border-radius:20px}.tk-circle{border-radius:100%}.tk-loading_dot-container{display:flex;justify-content:space-between;align-items:center;height:100%}.tk-loading_dot-container .tk-loading_dot:nth-child(1){opacity:0;animation-duration:.8s;animation-delay:0s;animation-play-state:running}.tk-loading_dot-container .tk-loading_dot:nth-child(2){opacity:.083;animation-duration:.8s;animation-delay:.2666666667s;animation-play-state:running}.tk-loading_dot-container .tk-loading_dot:nth-child(3){opacity:.1667;animation-duration:.8s;animation-delay:.5333333333s;animation-play-state:running}.tk-loading_dot-container .tk-loading_dot{width:20%;height:20%;border-radius:50%;background-color:#fff;animation-duration:1.8s;animation-name:dotting;animation-timing-function:linear;animation-iteration-count:infinite;animation-fill-mode:both}@keyframes dotting{0%{opacity:.15}1%{opacity:.8}33%{opacity:.8}34%{opacity:.15}to{opacity:.15}}.tk-justify-start{justify-content:flex-start}.tk-justify-center{justify-content:center}.tk-justify-end{justify-content:flex-end}.tk-justify-space-between{justify-content:space-between}.tk-justify-space-around{justify-content:space-around}.tk-justify-space-evenly{justify-content:space-evenly}.tk-align-center{align-items:center}.tk-align-start{align-items:flex-start}.tk-align-end{align-items:flex-end}.tk-align-stretch{align-items:stretch}.tk-align-baseline{align-items:baseline}.tk-blur{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.tk-round{border-radius:20px}.tk-circle{border-radius:100%}.tk-loading_circle-container{height:100%;border:2px solid;border-radius:50%;border-top-color:transparent;border-right-color:transparent;border-bottom-color:#fff;border-left-color:#fff;background:0 0;vertical-align:middle;box-sizing:border-box;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tk-justify-start{justify-content:flex-start}.tk-justify-center{justify-content:center}.tk-justify-end{justify-content:flex-end}.tk-justify-space-between{justify-content:space-between}.tk-justify-space-around{justify-content:space-around}.tk-justify-space-evenly{justify-content:space-evenly}.tk-align-center{align-items:center}.tk-align-start{align-items:flex-start}.tk-align-end{align-items:flex-end}.tk-align-stretch{align-items:stretch}.tk-align-baseline{align-items:baseline}.tk-blur{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.tk-round{border-radius:20px}.tk-circle{border-radius:100%}.tk-loading{display:flex;align-items:center;flex-direction:column}.tk-loading .tk-loading_text{margin:10px}.tk-justify-start{justify-content:fle
|
||
|
(function(R,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("tuicall-engine-webrtc"),require("@tencentcloud/tui-core"),require("@tencentcloud/chat"),require("vue"),require("@vue/composition-api")):typeof define=="function"&&define.amd?define(["exports","tuicall-engine-webrtc","@tencentcloud/tui-core","@tencentcloud/chat","vue","@vue/composition-api"],f):(R=typeof globalThis<"u"?globalThis:R||self,f(R["tuicall-uikit-vue2"]={},R.TUICALL_ENGINE_WEBRTC,R.TUICore,R.TencentCloudChat,R.Vue,R.CompositionApi))})(this,function(R,f,Z,Io,No,u){"use strict";const da=A=>A&&typeof A=="object"&&"default"in A?A:{default:A},Ia=da(Io),yt=da(No);var c=(A=>(A.CALL="call",A.CUSTOM="custom",A))(c||{}),b=(A=>(A[A.UNKNOWN=0]="UNKNOWN",A[A.AUDIO=1]="AUDIO",A[A.VIDEO=2]="VIDEO",A))(b||{}),J=(A=>(A.UNKNOWN="unknown",A.CALLEE="callee",A.CALLER="caller",A))(J||{}),L=(A=>(A.IDLE="idle",A.CALLING="calling",A.CONNECTED="connected",A))(L||{}),RA=(A=>(A.CONTAIN="contain",A.COVER="cover",A.FILL="fill",A))(RA||{}),FA=(A=>(A.RESOLUTION_480P="480p",A.RESOLUTION_720P="720p",A.RESOLUTION_1080P="1080p",A))(FA||{}),Na=(A=>(A.EN="en",A["ZH-CN"]="zh-cn",A.JA_JP="ja_JP",A))(Na||{});const AA={IDLE:"idle",BE_INVITED:"be-invited",DIALING_C2C:"dialing-c2c",DIALING_GROUP:"dialing-group",CALLING_C2C_AUDIO:"calling-c2c-audio",CALLING_C2C_VIDEO:"calling-c2c-video",CALLING_GROUP_AUDIO:"calling-group-audio",CALLING_GROUP_VIDEO:"calling-group-video"},go={unknown:0,audio:1,video:2};var YA=(A=>(A.EAR="ear",A.SPEAKER="speaker",A))(YA||{}),eA=(A=>(A.MICROPHONE="microphone",A.CAMERA="camera",A.SPEAKER="speaker",A))(eA||{}),XA=(A=>(A[A.FRONT=0]="FRONT",A[A.BACK=1]="BACK",A))(XA||{}),NA=(A=>(A.Camera="camera",A.Microphone="microphone",A.SwitchCamera="switchCamera",A.InviteUser="inviteUser",A))(NA||{}),kA=(A=>(A.Open="open",A.Close="close",A))(kA||{}),Re=(A=>(A.LOCAL="local",A.REMOTE="remote",A))(Re||{}),_A=(A=>(A.LocalInLargeView="local",A.RemoteInLargeView="remote",A))(_A||{}),PA=(A=>(A[A.INVITE=1]="INVITE",A[A.CANCEL_INVITE=2]="CANCEL_INVITE",A[A.ACCEPT_INVITE=3]="ACCEPT_INVITE",A[A.REJECT_INVITE=4]="REJECT_INVITE",A[A.INVITE_TIMEOUT=5]="INVITE_TIMEOUT",A))(PA||{});const ga={SWITCH_TO_AUDIO_CALL_FAILED:60001,SWITCH_TO_VIDEO_CALL_FAILED:60002,MICROPHONE_UNAVAILABLE:60003,CAMERA_UNAVAILABLE:60004,BAN_DEVICE:60005,NOT_SUPPORTED_WEBRTC:60006,ERROR_BLACKLIST:20007},Do={SWITCH_TO_AUDIO_CALL_FAILED:"switchToAudioCall-call-failed",SWITCH_TO_VIDEO_CALL_FAILED:"switchToVideoCall-call-failed",MICROPHONE_UNAVAILABLE:"microphone-unavailable",CAMERA_UNAVAILABLE:"camera-unavailable",BAN_DEVICE:"ban-device",NOT_SUPPORTED_WEBRTC:"not-supported-webrtc",ERROR_BLACKLIST:"blacklist-user-tips"};var Da=(A=>(A[A.NORMAL=0]="NORMAL",A[A.RELEASE=1]="RELEASE",A[A.WARNING=2]="WARNING",A[A.ERROR=3]="ERROR",A[A.NONE=4]="NONE",A))(Da||{});const Fe={CALL_STATUS:"callStatus",CALL_ROLE:"callRole",CALL_MEDIA_TYPE:"callMediaType",LOCAL_USER_INFO:"localUserInfo",LOCAL_USER_INFO_EXCLUDE_VOLUMN:"localUserInfoExcludeVolume",REMOTE_USER_INFO_LIST:"remoteUserInfoList",REMOTE_USER_INFO_EXCLUDE_VOLUMN_LIST:"remoteUserInfoExcludeVolumeList",CALLER_USER_INFO:"callerUserInfo",IS_GROUP:"isGroup",CALL_DURATION:"callDuration",CALL_TIPS:"callTips",TOAST_INFO:"toastInfo",IS_MINIMIZED:"isMinimized",ENABLE_FLOAT_WINDOW:"enableFloatWindow",BIG_SCREEN_USER_ID:"bigScreenUserId",LANGUAGE:"language",IS_CLICKABLE:"isClickable",DISPLAY_MODE:"displayMode",VIDEO_RESOLUTION:"videoResolution",PUSHER:"pusher",PLAYER:"player",IS_EAR_PHONE:"isEarPhone",IS_MUTE_SPEAKER:"isMuteSpeaker",SHOW_PERMISSION_TIP:"SHOW_PERMISSION_TIP",NETWORK_STATUS:"NetWorkStatus",GROUP_ID:"groupID",ROOM_ID:"roomID",ROOM_ID_TYPE:"roomIdType",SHOW_SELECT_USER:"showSelectUser",IS_SHOW_ENABLE_VIRTUAL_BACKGROUND:"isShowEnableVirtualBackground",ENABLE_VIRTUAL_BACKGROUND:"enableVirtualBackground",GROUP_CALL_MEMBERS:"groupCallMembers",PUSHER_ID:"pusherId"},l={PREFIX:"\u3010CallService\u3011",AUDIO:"audio",VIDEO:"video",LOCAL_VIDEO:"localVideo",ERROR:"error",TIMEOUT:"timeout",RAF:"raf",INTERVAL:"interval",DEFAULT:"default",BOOLEAN:"boolean",STRING:"string",NUMBER:"
|