w-audioplayer-vue 2.0.11 → 2.0.13
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/.github/workflows/ci-test.yml +3 -3
- package/README.md +5 -6
- package/babel.config.js +4 -3
- package/dist/w-audioplayer-vue.umd.js +26 -26
- package/dist/w-audioplayer-vue.umd.js.map +1 -1
- package/docs/examples/ex-AppBasic.html +202 -0
- package/docs/examples/ex-AppCustomSize.html +202 -0
- package/docs/examples/ex-AppDarkCyan.html +221 -0
- package/docs/examples/ex-AppFullSize.html +196 -0
- package/docs/examples/ex-AppLanguage.html +215 -0
- package/docs/examples/ex-AppLightPink.html +221 -0
- package/package.json +9 -10
- package/public/index.html +22 -22
- package/script.txt +26 -0
- package/src/App.vue +2 -2
- package/src/components/WAudioplayerVue.vue +9 -9
- package/toolg/gDistApp.mjs +22 -22
- package/toolg/gExtractHtml.mjs +22 -22
- package/vue.config.js +0 -12
- package/docs/examples/app.html +0 -186
- package/docs/examples/app.umd.js +0 -34
- package/docs/examples/app.umd.js.map +0 -1
- package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -978
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -1049
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/index.html +0 -84
- package/docs/scripts/collapse.js +0 -39
- package/docs/scripts/commonNav.js +0 -28
- package/docs/scripts/linenumber.js +0 -25
- package/docs/scripts/nav.js +0 -12
- package/docs/scripts/polyfill.js +0 -4
- package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/docs/scripts/prettify/lang-css.js +0 -2
- package/docs/scripts/prettify/prettify.js +0 -28
- package/docs/scripts/search.js +0 -99
- package/docs/styles/jsdoc.css +0 -776
- package/docs/styles/prettify.css +0 -80
|
@@ -9,12 +9,12 @@ jobs:
|
|
|
9
9
|
|
|
10
10
|
strategy:
|
|
11
11
|
matrix:
|
|
12
|
-
node-version: [
|
|
12
|
+
node-version: [24.x]
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
16
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
17
|
-
uses: actions/setup-node@
|
|
17
|
+
uses: actions/setup-node@v4
|
|
18
18
|
with:
|
|
19
19
|
node-version: ${{ matrix.node-version }}
|
|
20
20
|
- run: npm cache clean -f
|
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@ An audio player by howler.
|
|
|
4
4
|

|
|
5
5
|
[](https://github.com/vuejs/vue)
|
|
6
6
|
[](https://npmjs.org/package/w-audioplayer-vue)
|
|
7
|
-
[](https://github.com/yuda-lyu/w-audioplayer-vue)
|
|
8
7
|
[](https://npmjs.org/package/w-audioplayer-vue)
|
|
9
8
|
[](https://npmjs.org/package/w-audioplayer-vue)
|
|
10
9
|
[](https://www.jsdelivr.com/package/npm/w-audioplayer-vue)
|
|
@@ -18,8 +17,8 @@ To view some examples for more understanding, visit examples:
|
|
|
18
17
|
> **all examples:** [web](https://yuda-lyu.github.io/w-audioplayer-vue/examples/app.html) [[source code](https://github.com/yuda-lyu/w-audioplayer-vue/blob/master/docs/examples/app.html)]
|
|
19
18
|
|
|
20
19
|
## Installation
|
|
20
|
+
|
|
21
21
|
### Using npm(ES6 module):
|
|
22
|
-
> **Note:** w-audioplayer-vue is mainly dependent on `w-howler` .
|
|
23
22
|
```alias
|
|
24
23
|
npm i w-audioplayer-vue
|
|
25
24
|
```
|
|
@@ -35,15 +34,15 @@ Vue.component('w-audioplayer-vue', WAudioplayerVue)
|
|
|
35
34
|
```
|
|
36
35
|
|
|
37
36
|
### In a browser(UMD module):
|
|
38
|
-
> **Note:** w-audioplayer-vue is mainly dependent on `vue`.
|
|
39
37
|
|
|
40
|
-
|
|
38
|
+
Add script for vue.
|
|
41
39
|
```alias
|
|
42
40
|
<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.min.js"></script>
|
|
43
41
|
```
|
|
44
|
-
|
|
42
|
+
|
|
43
|
+
Add script for w-audioplayer-vue.
|
|
45
44
|
```alias
|
|
46
|
-
<script src="https://cdn.jsdelivr.net/npm/w-audioplayer-vue@2.0.
|
|
45
|
+
<script src="https://cdn.jsdelivr.net/npm/w-audioplayer-vue@2.0.13/dist/w-audioplayer-vue.umd.js"></script>
|
|
47
46
|
```
|
|
48
47
|
Directly use:
|
|
49
48
|
```alias
|
package/babel.config.js
CHANGED
|
@@ -7,9 +7,10 @@ module.exports = {
|
|
|
7
7
|
],
|
|
8
8
|
'plugins': [
|
|
9
9
|
'@babel/plugin-transform-runtime',
|
|
10
|
-
'@babel/plugin-syntax-import-assertions',
|
|
11
10
|
'@babel/plugin-proposal-export-default-from',
|
|
12
|
-
'@babel/plugin-
|
|
13
|
-
'@babel/plugin-proposal-
|
|
11
|
+
// '@babel/plugin-syntax-import-assertions', //已被棄用
|
|
12
|
+
// '@babel/plugin-proposal-nullish-coalescing-operator', //browser與nodejs已支援
|
|
13
|
+
// '@babel/plugin-proposal-object-rest-spread', //browser與nodejs已支援
|
|
14
|
+
// '@babel/plugin-proposal-optional-chaining', //browser與nodejs已支援
|
|
14
15
|
]
|
|
15
16
|
}
|