w-audioplayer-vue 2.0.8 → 2.0.10
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/.eslintrc.js +18 -17
- package/.github/workflows/ci-test.yml +1 -1
- package/README.md +1 -1
- package/babel.config.js +1 -0
- package/dist/w-audioplayer-vue.umd.js +28 -13
- package/dist/w-audioplayer-vue.umd.js.map +1 -1
- package/docs/examples/app.html +23 -23
- package/docs/examples/app.umd.js +28 -13
- package/docs/examples/app.umd.js.map +1 -1
- package/docs/examples/ex-AppBasic.html +23 -23
- package/docs/examples/ex-AppCustomSize.html +23 -23
- package/docs/examples/ex-AppDarkCyan.html +23 -23
- package/docs/examples/ex-AppFullSize.html +23 -23
- package/docs/examples/ex-AppLanguage.html +23 -23
- package/docs/examples/ex-AppLightPink.html +23 -23
- package/docs/index.html +5 -2
- package/docs/scripts/collapse.js +19 -0
- package/docs/scripts/commonNav.js +28 -0
- package/docs/scripts/search.js +16 -0
- package/docs/styles/jsdoc.css +13 -2
- package/docs/styles/prettify.css +1 -0
- package/package.json +13 -14
- package/public/index.html +22 -22
- package/src/components/WAudioplayerVue.vue +16 -16
- package/test-html/ex-AppBasic.html +22 -22
- package/test-html/ex-AppCustomSize.html +22 -22
- package/test-html/ex-AppDarkCyan.html +22 -22
- package/test-html/ex-AppFullSize.html +22 -22
- package/test-html/ex-AppLanguage.html +22 -22
- package/test-html/ex-AppLightPink.html +22 -22
- package/toolg/gDistApp.mjs +22 -22
- package/toolg/gExtractHtml.mjs +22 -22
- package/docs/module-WAudioplayerVue.html +0 -363
package/.eslintrc.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
'env': {
|
|
3
|
+
'browser': true,
|
|
4
|
+
'es6': true,
|
|
5
|
+
'mocha': true
|
|
6
6
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
'extends': ['plugin:vue/base', 'plugin:vue/essential', 'standard'],
|
|
8
|
+
'plugins': [
|
|
9
|
+
'vue'
|
|
10
10
|
],
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
'globals': {
|
|
12
|
+
'Atomics': 'readonly',
|
|
13
|
+
'SharedArrayBuffer': 'readonly'
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
'parser': 'vue-eslint-parser',
|
|
16
|
+
'parserOptions': {
|
|
17
|
+
'parser': '@babel/eslint-parser',
|
|
18
|
+
'ecmaVersion': 2019,
|
|
19
|
+
'sourceType': 'module',
|
|
20
20
|
},
|
|
21
|
-
rules: {
|
|
21
|
+
'rules': {
|
|
22
22
|
'generator-star-spacing': 'off',
|
|
23
23
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
24
24
|
'indent': ['error', 4],
|
|
@@ -50,5 +50,6 @@ module.exports = {
|
|
|
50
50
|
'prefer-regex-literals': 'off',
|
|
51
51
|
'array-callback-return': 'off',
|
|
52
52
|
'no-unreachable-loop': 'off',
|
|
53
|
+
'vue/multi-word-component-names': 'off',
|
|
53
54
|
}
|
|
54
|
-
}
|
|
55
|
+
}
|
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Vue.component('w-audioplayer-vue', WAudioplayerVue)
|
|
|
42
42
|
```
|
|
43
43
|
[Necessary] Add script for w-audioplayer-vue.
|
|
44
44
|
```alias
|
|
45
|
-
<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.10/dist/w-audioplayer-vue.umd.js"></script>
|
|
46
46
|
```
|
|
47
47
|
Directly use:
|
|
48
48
|
```alias
|
package/babel.config.js
CHANGED
|
@@ -7,6 +7,7 @@ module.exports = {
|
|
|
7
7
|
],
|
|
8
8
|
'plugins': [
|
|
9
9
|
'@babel/plugin-transform-runtime',
|
|
10
|
+
'@babel/plugin-syntax-import-assertions',
|
|
10
11
|
'@babel/plugin-proposal-export-default-from',
|
|
11
12
|
'@babel/plugin-proposal-nullish-coalescing-operator',
|
|
12
13
|
'@babel/plugin-proposal-optional-chaining'
|