@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
package/package.json
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zhangxuejing123./sip-phone-sdk",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"main": "dist/sip-phone-sdk.umd.js",
|
|
9
|
+
"module": "dist/sip-phone-sdk.common.js",
|
|
10
|
+
"unpkg": "dist/sip-phone-sdk.umd.min.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"src",
|
|
14
|
+
"public",
|
|
15
|
+
"*.js",
|
|
16
|
+
"*.json"
|
|
17
|
+
],
|
|
18
|
+
"keywords": [
|
|
19
|
+
"sip",
|
|
20
|
+
"phone",
|
|
21
|
+
"webrtc",
|
|
22
|
+
"vue",
|
|
23
|
+
"sdk"
|
|
24
|
+
],
|
|
25
|
+
"author": "Your Name <your.email@example.com>",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/yourusername/sip-phone-sdk.git"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"serve": "vue-cli-service serve",
|
|
33
|
+
"build": "npm run clean && npm run build:test && npm run copy:assets",
|
|
34
|
+
"build:lib": "vue-cli-service build --target lib --name sip-phone-sdk --dest dist --formats umd,umd-min,commonjs src/index.js && mv dist/sip-phone-sdk.common.js dist/sip-phone-sdk.esm.js",
|
|
35
|
+
"build:test": "vue-cli-service build --target lib --name sip-phone-sdk ./src/components/MobilePhone.vue",
|
|
36
|
+
"clean": "rimraf dist",
|
|
37
|
+
"copy:assets": "cpx 'public/**/*' dist",
|
|
38
|
+
"lint": "vue-cli-service lint",
|
|
39
|
+
"prepublishOnly": "npm run build",
|
|
40
|
+
"preview": "npm run build && npx http-server dist -p 8088 -o"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@mdi/font": "^7.4.47",
|
|
44
|
+
"agora-rtc-sdk-ng": "^4.21.0",
|
|
45
|
+
"babel-polyfill": "^6.26.0",
|
|
46
|
+
"core-js": "^3.37.1",
|
|
47
|
+
"postcss-pxtorem": "^4.0.1",
|
|
48
|
+
"trtc-js-sdk": "^4.15.10",
|
|
49
|
+
"vconsole": "^3.15.1",
|
|
50
|
+
"vue": "2.7.4",
|
|
51
|
+
"vue-draggable-resizable": "^2.3.0",
|
|
52
|
+
"vue-i18n": "^8.28.2",
|
|
53
|
+
"vuetify": "^2.7.2",
|
|
54
|
+
"webrtc-adapter": "^8.2.3"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@babel/core": "^7.25.2",
|
|
58
|
+
"@babel/eslint-parser": "^7.25.1",
|
|
59
|
+
"@vue/cli-plugin-babel": "~4.5.19",
|
|
60
|
+
"@vue/cli-plugin-eslint": "~4.5.19",
|
|
61
|
+
"@vue/cli-service": "~4.5.19",
|
|
62
|
+
"autoprefixer": "^9.8.8",
|
|
63
|
+
"cpx": "^1.5.0",
|
|
64
|
+
"eslint": "^7.32.0",
|
|
65
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
66
|
+
"poststylus": "^1.0.0",
|
|
67
|
+
"rimraf": "^3.0.2",
|
|
68
|
+
"sass": "~1.32.13",
|
|
69
|
+
"sass-loader": "^10.5.2",
|
|
70
|
+
"vue-cli-plugin-vuetify": "~2.5.8",
|
|
71
|
+
"vue-template-compiler": "2.7.4",
|
|
72
|
+
"vuetify-loader": "^1.9.2"
|
|
73
|
+
},
|
|
74
|
+
"eslintConfig": {
|
|
75
|
+
"root": true,
|
|
76
|
+
"env": {
|
|
77
|
+
"node": true
|
|
78
|
+
},
|
|
79
|
+
"extends": [
|
|
80
|
+
"plugin:vue/essential",
|
|
81
|
+
"eslint:recommended"
|
|
82
|
+
],
|
|
83
|
+
"parserOptions": {
|
|
84
|
+
"parser": "@babel/eslint-parser"
|
|
85
|
+
},
|
|
86
|
+
"rules": {}
|
|
87
|
+
},
|
|
88
|
+
"browserslist": [
|
|
89
|
+
"> 1%",
|
|
90
|
+
"last 2 versions",
|
|
91
|
+
"not dead",
|
|
92
|
+
"since 2017"
|
|
93
|
+
],
|
|
94
|
+
"description": "## Project setup ``` npm install ```",
|
|
95
|
+
"bugs": {
|
|
96
|
+
"url": "https://github.com/yourusername/sip-phone-sdk/issues"
|
|
97
|
+
},
|
|
98
|
+
"homepage": "https://github.com/yourusername/sip-phone-sdk#readme"
|
|
99
|
+
}
|