@sdk185/sip-phone-sdk26 0.1.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sip-phone-sdk.common.js +49 -44
- package/dist/sip-phone-sdk.css +1 -1
- package/dist/sip-phone-sdk.umd.js +49 -44
- package/dist/sip-phone-sdk.umd.min.js +5 -5
- package/package.json +1 -1
- package/src/App.vue +1 -2
- package/src/components/MobilePhone.vue +202 -191
|
@@ -763,6 +763,13 @@ var FLAGS_GETTER_IS_CORRECT = !fails(function () {
|
|
|
763
763
|
module.exports = { correct: FLAGS_GETTER_IS_CORRECT };
|
|
764
764
|
|
|
765
765
|
|
|
766
|
+
/***/ }),
|
|
767
|
+
|
|
768
|
+
/***/ "0fbf":
|
|
769
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
770
|
+
|
|
771
|
+
// extracted by mini-css-extract-plugin
|
|
772
|
+
|
|
766
773
|
/***/ }),
|
|
767
774
|
|
|
768
775
|
/***/ "107c":
|
|
@@ -978,6 +985,17 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa
|
|
|
978
985
|
}, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
979
986
|
|
|
980
987
|
|
|
988
|
+
/***/ }),
|
|
989
|
+
|
|
990
|
+
/***/ "128b":
|
|
991
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
992
|
+
|
|
993
|
+
"use strict";
|
|
994
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_5f111100_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0fbf");
|
|
995
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_5f111100_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_5f111100_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
996
|
+
/* unused harmony reexport * */
|
|
997
|
+
|
|
998
|
+
|
|
981
999
|
/***/ }),
|
|
982
1000
|
|
|
983
1001
|
/***/ "129f":
|
|
@@ -1570,17 +1588,6 @@ $({ target: 'Set', proto: true, real: true, forced: FORCED }, {
|
|
|
1570
1588
|
});
|
|
1571
1589
|
|
|
1572
1590
|
|
|
1573
|
-
/***/ }),
|
|
1574
|
-
|
|
1575
|
-
/***/ "1f92":
|
|
1576
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1577
|
-
|
|
1578
|
-
"use strict";
|
|
1579
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_6052623f_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eb1a");
|
|
1580
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_6052623f_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_6052623f_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
1581
|
-
/* unused harmony reexport * */
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
1591
|
/***/ }),
|
|
1585
1592
|
|
|
1586
1593
|
/***/ "1fb5":
|
|
@@ -20977,6 +20984,13 @@ module.exports = {
|
|
|
20977
20984
|
};
|
|
20978
20985
|
|
|
20979
20986
|
|
|
20987
|
+
/***/ }),
|
|
20988
|
+
|
|
20989
|
+
/***/ "623f":
|
|
20990
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
20991
|
+
|
|
20992
|
+
// extracted by mini-css-extract-plugin
|
|
20993
|
+
|
|
20980
20994
|
/***/ }),
|
|
20981
20995
|
|
|
20982
20996
|
/***/ "6374":
|
|
@@ -23605,13 +23619,6 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
23605
23619
|
}
|
|
23606
23620
|
|
|
23607
23621
|
|
|
23608
|
-
/***/ }),
|
|
23609
|
-
|
|
23610
|
-
/***/ "91eb":
|
|
23611
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
23612
|
-
|
|
23613
|
-
// extracted by mini-css-extract-plugin
|
|
23614
|
-
|
|
23615
23622
|
/***/ }),
|
|
23616
23623
|
|
|
23617
23624
|
/***/ "9263":
|
|
@@ -24683,6 +24690,17 @@ module.exports = sort;
|
|
|
24683
24690
|
|
|
24684
24691
|
// extracted by mini-css-extract-plugin
|
|
24685
24692
|
|
|
24693
|
+
/***/ }),
|
|
24694
|
+
|
|
24695
|
+
/***/ "ae10":
|
|
24696
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
24697
|
+
|
|
24698
|
+
"use strict";
|
|
24699
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_5f111100_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("623f");
|
|
24700
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_5f111100_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_5f111100_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
24701
|
+
/* unused harmony reexport * */
|
|
24702
|
+
|
|
24703
|
+
|
|
24686
24704
|
/***/ }),
|
|
24687
24705
|
|
|
24688
24706
|
/***/ "ae93":
|
|
@@ -28009,17 +28027,6 @@ function _asyncToGenerator(n) {
|
|
|
28009
28027
|
}
|
|
28010
28028
|
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
28011
28029
|
|
|
28012
|
-
/***/ }),
|
|
28013
|
-
|
|
28014
|
-
/***/ "c987":
|
|
28015
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
28016
|
-
|
|
28017
|
-
"use strict";
|
|
28018
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_6052623f_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("91eb");
|
|
28019
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_6052623f_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_6052623f_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
28020
|
-
/* unused harmony reexport * */
|
|
28021
|
-
|
|
28022
|
-
|
|
28023
28030
|
/***/ }),
|
|
28024
28031
|
|
|
28025
28032
|
/***/ "ca71":
|
|
@@ -30154,13 +30161,6 @@ module.exports = Number.isInteger || function isInteger(it) {
|
|
|
30154
30161
|
};
|
|
30155
30162
|
|
|
30156
30163
|
|
|
30157
|
-
/***/ }),
|
|
30158
|
-
|
|
30159
|
-
/***/ "eb1a":
|
|
30160
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
30161
|
-
|
|
30162
|
-
// extracted by mini-css-extract-plugin
|
|
30163
|
-
|
|
30164
30164
|
/***/ }),
|
|
30165
30165
|
|
|
30166
30166
|
/***/ "ebb5":
|
|
@@ -37080,7 +37080,7 @@ var VSnackbar = __webpack_require__("ca71");
|
|
|
37080
37080
|
}, [this.transition !== false ? this.genTransition() : this.genWrapper()]);
|
|
37081
37081
|
}
|
|
37082
37082
|
}));
|
|
37083
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"74a9125d-vue-loader-template"}!./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MobilePhone.vue?vue&type=template&id=
|
|
37083
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"74a9125d-vue-loader-template"}!./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MobilePhone.vue?vue&type=template&id=5f111100&scoped=true
|
|
37084
37084
|
|
|
37085
37085
|
|
|
37086
37086
|
|
|
@@ -37089,11 +37089,11 @@ var VSnackbar = __webpack_require__("ca71");
|
|
|
37089
37089
|
|
|
37090
37090
|
|
|
37091
37091
|
|
|
37092
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column align-center justify-space-between sip-call-main"},[(_vm.showLocation)?_c('div',{staticClass:"location-wrapper"},[_c('p',[_vm._v("LAT: "+_vm._s(_vm.latitude))]),_c('p',[_vm._v("LNG: "+_vm._s(_vm.longitude))]),_c('p',[_vm._v("ALT: "+_vm._s(_vm.altitude))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"d-flex flex-column align-center call-btn"},[_c('img',{staticClass:"elevation-4 call-img",attrs:{"alt":"logo","src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/normal-logo.png"}}),_c('p',{staticClass:"mt-6 mb-0 call-label"},[_vm._v(_vm._s(_vm.callPrompt))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"pr-10 pl-10 "},[_c(VRow,[_c(VCol,{staticClass:"text-center",attrs:{"cols":"12"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"call-duration"},[_vm._v(" 视频时长 "+_vm._s(_vm.duration)+" ")])])],1),_c(VRow,{staticClass:"d-flex justify-space-around mb-10"},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(!_vm.isCalling && !_vm.needDial),expression:"!isCalling && !needDial"}],staticClass:"cancel-btn",staticStyle:{},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"cancel-img",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/call-down.png","alt":"hangup"}}),_c('span',{staticClass:"cancel-label"},[_vm._v("取消")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('audio')}}},[(!_vm.isAudioMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/adudio-open.png"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/adudio-close.png"}})]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('video')}}},[(!_vm.isVideoMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/camera-open.png","alt":"mic-on"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/camera-close.png","alt":"mic-off"}})])],1),_c(VRow,{staticClass:"d-flex justify-center mt-10",staticStyle:{"position":"relative","width":"100%"}},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticStyle:{"opacity":"1","background":"transparent","box-shadow":"none","position":"relative"},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"hangup-img",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/call-down.png","alt":"hangup"}}),_c('span',{staticClass:"hangup-label"},[_vm._v("挂断")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"transparent-btn",on:{"click":_vm.onSwitchCameraBtnClick}},[_c(components_VIcon_VIcon,{attrs:{"size":"30"}},[_vm._v("mdi-camera-flip")])],1)],1)],1):_vm._e(),_c(VExpandTransition,[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showVideoCt),expression:"showVideoCt"}],staticClass:"sip-call-wrapper",on:{"click":_vm.onSipCallClick}},[_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideoWrapper",attrs:{"w":_vm.remoteVideo.w,"h":_vm.remoteVideo.h,"x":_vm.remoteVideo.x,"y":_vm.remoteVideo.y,"z":_vm.remoteVideo.z,"draggable":_vm.remoteVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'remoteVideo')}}},[(_vm.miniMode)?_c(VBtn_VBtn,{staticClass:"video-normal-mode",attrs:{"dark":"","text":"","x-small":"","width":"24","height":"24","min-width":"24"},on:{"click":_vm.onChangeVideoNormalModeBtnClick}},[_c(components_VIcon_VIcon,[_vm._v("mdi-arrow-bottom-right-bold-box")])],1):_vm._e(),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideo",staticClass:"sip-call-video",staticStyle:{"object-fit":"contain"},attrs:{"autoplay":"autoplay","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""}})],1),_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideoWrapper",attrs:{"w":_vm.localVideo.w,"h":_vm.localVideo.h,"x":_vm.localVideo.x,"y":_vm.localVideo.y,"z":_vm.localVideo.z,"draggable":_vm.localVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'localVideo')}}},[_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideo",staticClass:"sip-call-video",attrs:{"autoplay":"autoplay","muted":"","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""},domProps:{"muted":true}})])],1)]),_c(VExpandTransition,[_c('dial-panel-mini',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDialPad),expression:"showDialPad"}],ref:"dialPanelMini",attrs:{"isCalling":_vm.isCalling},on:{"makeCall":_vm.onDialPadMakeCallBtnClick,"close":function($event){_vm.showDialPad=false},"dtmf":_vm.onDialPadDtmfBtnClick,"hangup":_vm.onHangupBtnClick}})],1),_c(VBottomSheet_VBottomSheet,{attrs:{"hide-overlay":""},model:{value:(_vm.showAudioPlayer),callback:function ($$v) {_vm.showAudioPlayer=$$v},expression:"showAudioPlayer"}},[_c('audio',{ref:"audioPlayer",attrs:{"src":__webpack_require__("e1e9"),"loop":""}})]),_c(VSnackbar_VSnackbar,{attrs:{"timeout":2000},model:{value:(_vm.showSnackbar),callback:function ($$v) {_vm.showSnackbar=$$v},expression:"showSnackbar"}},[_vm._v(" "+_vm._s(_vm.snackbarText)+" ")])],1)}
|
|
37092
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"phone-nmain d-flex flex-column align-center justify-space-between sip-call-main"},[(_vm.showLocation)?_c('div',{staticClass:"location-wrapper"},[_c('p',[_vm._v("LAT: "+_vm._s(_vm.latitude))]),_c('p',[_vm._v("LNG: "+_vm._s(_vm.longitude))]),_c('p',[_vm._v("ALT: "+_vm._s(_vm.altitude))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"d-flex flex-column align-center call-btn"},[_c('img',{staticClass:"elevation-4 call-img",attrs:{"alt":"logo","src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/normal-logo.png"}}),_c('p',{staticClass:"mt-6 mb-0 call-label"},[_vm._v(_vm._s(_vm.callPrompt))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"pr-10 pl-10 "},[_c(VRow,[_c(VCol,{staticClass:"text-center",attrs:{"cols":"12"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"call-duration"},[_vm._v(" 视频时长 "+_vm._s(_vm.duration)+" ")])])],1),_c(VRow,{staticClass:"d-flex justify-space-around mb-10"},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(!_vm.isCalling && !_vm.needDial),expression:"!isCalling && !needDial"}],staticClass:"cancel-btn",staticStyle:{},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"cancel-img",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/call-down.png","alt":"hangup"}}),_c('span',{staticClass:"cancel-label"},[_vm._v("取消")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn btn-box",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('audio')}}},[(!_vm.isAudioMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/adudio-open.png"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/adudio-close.png"}})]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('video')}}},[(!_vm.isVideoMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/camera-open.png","alt":"mic-on"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/camera-close.png","alt":"mic-off"}})])],1),_c(VRow,{staticClass:"d-flex justify-center mt-10",staticStyle:{"position":"relative","width":"100%"}},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticStyle:{"opacity":"1","background":"transparent","box-shadow":"none","position":"relative"},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"hangup-img",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/call-down.png","alt":"hangup"}}),_c('span',{staticClass:"hangup-label"},[_vm._v("挂断")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"transparent-btn",on:{"click":_vm.onSwitchCameraBtnClick}},[_c(components_VIcon_VIcon,{attrs:{"size":"30"}},[_vm._v("mdi-camera-flip")])],1)],1)],1):_vm._e(),_c(VExpandTransition,[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showVideoCt),expression:"showVideoCt"}],staticClass:"sip-call-wrapper",on:{"click":_vm.onSipCallClick}},[_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideoWrapper",attrs:{"w":_vm.remoteVideo.w,"h":_vm.remoteVideo.h,"x":_vm.remoteVideo.x,"y":_vm.remoteVideo.y,"z":_vm.remoteVideo.z,"draggable":_vm.remoteVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'remoteVideo')}}},[(_vm.miniMode)?_c(VBtn_VBtn,{staticClass:"video-normal-mode",attrs:{"dark":"","text":"","x-small":"","width":"24","height":"24","min-width":"24"},on:{"click":_vm.onChangeVideoNormalModeBtnClick}},[_c(components_VIcon_VIcon,[_vm._v("mdi-arrow-bottom-right-bold-box")])],1):_vm._e(),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideo",staticClass:"sip-call-video",staticStyle:{"object-fit":"contain"},attrs:{"autoplay":"autoplay","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""}})],1),_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideoWrapper",attrs:{"w":_vm.localVideo.w,"h":_vm.localVideo.h,"x":_vm.localVideo.x,"y":_vm.localVideo.y,"z":_vm.localVideo.z,"draggable":_vm.localVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'localVideo')}}},[_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideo",staticClass:"sip-call-video",attrs:{"autoplay":"autoplay","muted":"","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""},domProps:{"muted":true}})])],1)]),_c(VExpandTransition,[_c('dial-panel-mini',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDialPad),expression:"showDialPad"}],ref:"dialPanelMini",attrs:{"isCalling":_vm.isCalling},on:{"makeCall":_vm.onDialPadMakeCallBtnClick,"close":function($event){_vm.showDialPad=false},"dtmf":_vm.onDialPadDtmfBtnClick,"hangup":_vm.onHangupBtnClick}})],1),_c(VBottomSheet_VBottomSheet,{attrs:{"hide-overlay":""},model:{value:(_vm.showAudioPlayer),callback:function ($$v) {_vm.showAudioPlayer=$$v},expression:"showAudioPlayer"}},[_c('audio',{ref:"audioPlayer",attrs:{"src":__webpack_require__("e1e9"),"loop":""}})]),_c(VSnackbar_VSnackbar,{attrs:{"timeout":2000},model:{value:(_vm.showSnackbar),callback:function ($$v) {_vm.showSnackbar=$$v},expression:"showSnackbar"}},[_vm._v(" "+_vm._s(_vm.snackbarText)+" ")])],1)}
|
|
37093
37093
|
var staticRenderFns = []
|
|
37094
37094
|
|
|
37095
37095
|
|
|
37096
|
-
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=
|
|
37096
|
+
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=5f111100&scoped=true
|
|
37097
37097
|
|
|
37098
37098
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
|
|
37099
37099
|
function _regeneratorDefine(e, r, n, t) {
|
|
@@ -41576,6 +41576,11 @@ function hexToStr(str) {
|
|
|
41576
41576
|
});
|
|
41577
41577
|
case 1:
|
|
41578
41578
|
setTimeout(() => {
|
|
41579
|
+
// this.miniMode = false;// 调试用
|
|
41580
|
+
// this.showDialPad = false;// 调试用
|
|
41581
|
+
// this.isCalling = true;// 调试用
|
|
41582
|
+
// this.needDial = false;// 调试用
|
|
41583
|
+
// this.showHangup = true;// 调试用
|
|
41579
41584
|
var _window$document$body = window.document.body,
|
|
41580
41585
|
clientHeight = _window$document$body.clientHeight,
|
|
41581
41586
|
clientWidth = _window$document$body.clientWidth;
|
|
@@ -41599,11 +41604,11 @@ function hexToStr(str) {
|
|
|
41599
41604
|
});
|
|
41600
41605
|
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
|
|
41601
41606
|
/* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
|
|
41602
|
-
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=
|
|
41603
|
-
var
|
|
41607
|
+
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=5f111100&prod&lang=scss
|
|
41608
|
+
var MobilePhonevue_type_style_index_0_id_5f111100_prod_lang_scss = __webpack_require__("ae10");
|
|
41604
41609
|
|
|
41605
|
-
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=
|
|
41606
|
-
var
|
|
41610
|
+
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=5f111100&prod&scoped=true&lang=scss
|
|
41611
|
+
var MobilePhonevue_type_style_index_1_id_5f111100_prod_scoped_true_lang_scss = __webpack_require__("128b");
|
|
41607
41612
|
|
|
41608
41613
|
// CONCATENATED MODULE: ./src/components/MobilePhone.vue
|
|
41609
41614
|
|
|
@@ -41621,7 +41626,7 @@ var MobilePhone_component = normalizeComponent(
|
|
|
41621
41626
|
staticRenderFns,
|
|
41622
41627
|
false,
|
|
41623
41628
|
null,
|
|
41624
|
-
"
|
|
41629
|
+
"5f111100",
|
|
41625
41630
|
null
|
|
41626
41631
|
|
|
41627
41632
|
)
|