@bacca2095/webphone 0.0.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/README.md +73 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +19288 -0
- package/dist/src/components/WebPhone.vue.d.ts +21 -0
- package/dist/src/components/panels/CalendarPanel.vue.d.ts +7 -0
- package/dist/src/components/panels/ContactsPanel.vue.d.ts +11 -0
- package/dist/src/components/panels/HistoryPanel.vue.d.ts +9 -0
- package/dist/src/components/panels/NotesPanel.vue.d.ts +6 -0
- package/dist/src/components/webphone/AudioSettings.vue.d.ts +3 -0
- package/dist/src/components/webphone/CallControls.vue.d.ts +28 -0
- package/dist/src/components/webphone/CallDisplay.vue.d.ts +7 -0
- package/dist/src/components/webphone/ChannelTabs.vue.d.ts +12 -0
- package/dist/src/components/webphone/DialSection.vue.d.ts +19 -0
- package/dist/src/components/webphone/PanelToggle.vue.d.ts +13 -0
- package/dist/src/components/webphone/PhoneHeader.vue.d.ts +23 -0
- package/dist/src/composables/useAudioDevices.d.ts +24 -0
- package/dist/src/composables/useContacts.d.ts +17 -0
- package/dist/src/composables/useSipConfig.d.ts +5 -0
- package/dist/src/composables/useSounds.d.ts +4 -0
- package/dist/src/composables/useWebPhone.d.ts +46 -0
- package/dist/src/core/db.d.ts +13 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/src/stores/webphone.d.ts +293 -0
- package/dist/src/types/index.d.ts +52 -0
- package/dist/src/webphone.ce.d.ts +5 -0
- package/dist/style.css +2 -0
- package/dist/webphone.es.js +25962 -0
- package/dist/webphone.iife.js +58 -0
- package/package.json +91 -0
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# webphone
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
[VS Code](https://code.visualstudio.com/) + [Vue (Official)](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
|
+
|
|
9
|
+
## Recommended Browser Setup
|
|
10
|
+
|
|
11
|
+
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
|
|
12
|
+
- [Vue.js devtools](https://chromewebstore.google.com/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)
|
|
13
|
+
- [Turn on Custom Object Formatter in Chrome DevTools](http://bit.ly/object-formatters)
|
|
14
|
+
- Firefox:
|
|
15
|
+
- [Vue.js devtools](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
|
|
16
|
+
- [Turn on Custom Object Formatter in Firefox DevTools](https://fxdx.dev/firefox-devtools-custom-object-formatters/)
|
|
17
|
+
|
|
18
|
+
## Type Support for `.vue` Imports in TS
|
|
19
|
+
|
|
20
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
21
|
+
|
|
22
|
+
## Customize configuration
|
|
23
|
+
|
|
24
|
+
See [Vite Configuration Reference](https://vite.dev/config/).
|
|
25
|
+
|
|
26
|
+
## Project Setup
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
pnpm install
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Compile and Hot-Reload for Development
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
pnpm dev
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Type-Check, Compile and Minify for Production
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
pnpm build
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
pnpm test:unit
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Run End-to-End Tests with [Playwright](https://playwright.dev)
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
# Install browsers for the first run
|
|
54
|
+
npx playwright install
|
|
55
|
+
|
|
56
|
+
# When testing on CI, must build the project first
|
|
57
|
+
pnpm build
|
|
58
|
+
|
|
59
|
+
# Runs the end-to-end tests
|
|
60
|
+
pnpm test:e2e
|
|
61
|
+
# Runs the tests only on Chromium
|
|
62
|
+
pnpm test:e2e --project=chromium
|
|
63
|
+
# Runs the tests of a specific file
|
|
64
|
+
pnpm test:e2e tests/example.spec.ts
|
|
65
|
+
# Runs the tests in debug mode
|
|
66
|
+
pnpm test:e2e --debug
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
pnpm lint
|
|
73
|
+
```
|
package/dist/index.d.ts
ADDED