@zhangxuejing123./sip-phone-sdk 0.0.0
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 +24 -0
- package/babel.config.js +5 -0
- package/dist/demo.html +21 -0
- package/dist/media/outgoing-call2.b8558579.mp3 +0 -0
- package/dist/sip-phone-sdk.common.js +42439 -0
- package/dist/sip-phone-sdk.css +5 -0
- package/dist/sip-phone-sdk.umd.js +42449 -0
- package/dist/sip-phone-sdk.umd.min.js +14 -0
- package/jsconfig.json +19 -0
- package/package-lock.json +15671 -0
- package/package.json +99 -0
- package/public/SIP_MIX_WEB.js +50 -0
- package/public/en.js +24 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +32 -0
- package/public/index.test.html +31 -0
- package/public/zh.js +24 -0
- package/src/.DS_Store +0 -0
- package/src/App.vue +136 -0
- package/src/assets/.DS_Store +0 -0
- package/src/assets/adudio-open.png +0 -0
- package/src/assets/audio-close.png +0 -0
- package/src/assets/call-down.png +0 -0
- package/src/assets/camera-close.png +0 -0
- package/src/assets/camera-open.png +0 -0
- package/src/assets/icon_Recording_Fill_Red_Active.svg +15 -0
- package/src/assets/icon_Recording_Fill_Red_Inactive.svg +15 -0
- package/src/assets/img_Avatar_User.png +0 -0
- package/src/assets/normal-logo.png +0 -0
- package/src/assets/outgoing-call2.mp3 +0 -0
- package/src/components/DialPanelMini.vue +179 -0
- package/src/components/MobilePhone copy 2.vue +1173 -0
- package/src/components/MobilePhone copy.vue +1046 -0
- package/src/components/MobilePhone.vue +1157 -0
- package/src/components/index.js +36 -0
- package/src/components/vuetify.css +29663 -0
- package/src/index.js +100 -0
- package/src/lang/en.js +24 -0
- package/src/lang/zh.js +24 -0
- package/src/libs/SIP_MIX_WEB.js +50 -0
- package/src/libs/en.js +24 -0
- package/src/libs/tool.js +312 -0
- package/src/libs/zh.js +24 -0
- package/src/main.js +24 -0
- package/src/plugins/vuetify.js +11 -0
- package/src/utils/rem.js +22 -0
- package/vue.config copy 2.js +39 -0
- package/vue.config copy.js +11 -0
- package/vue.config.js +39 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// 统一导出所有组件
|
|
2
|
+
import SipPhone from './MobilePhone7.vue'
|
|
3
|
+
import MobileView from './MobileView.vue'
|
|
4
|
+
import DialPanelMini from './DialPanelMini.vue'
|
|
5
|
+
|
|
6
|
+
// 导入其他组件...
|
|
7
|
+
|
|
8
|
+
const components = {
|
|
9
|
+
SipPhone,
|
|
10
|
+
DialPanelMini,
|
|
11
|
+
MobileView,
|
|
12
|
+
|
|
13
|
+
// 其他组件...
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const install = (Vue) => {
|
|
17
|
+
Object.keys(components).forEach(key => {
|
|
18
|
+
Vue.component(key, components[key])
|
|
19
|
+
})
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// 自动安装
|
|
23
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
24
|
+
window.Vue.use({ install })
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
install,
|
|
29
|
+
...components
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// 导出所有组件
|
|
33
|
+
// export { SipPhone, DialPanelMini }
|
|
34
|
+
|
|
35
|
+
// 导出默认组件
|
|
36
|
+
// export default SipPhone
|