vue3-extended-multiselect 1.7.0 → 1.7.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/.browserslistrc +2 -2
- package/.eslintrc.js +34 -34
- package/.github/workflows/publish.yml +41 -41
- package/CHANGELOG.md +280 -275
- package/LICENSE +21 -21
- package/README.md +267 -267
- package/babel.config.js +9 -9
- package/index.js +2 -2
- package/jest.config.js +61 -61
- package/package.json +46 -46
- package/src/assets/base-arrow.svg +70 -70
- package/src/assets/cancel.svg +34 -34
- package/src/assets/circle-arrow.svg +7 -7
- package/src/assets/double-arrow.svg +39 -39
- package/src/assets/inner-arrow.svg +8 -8
- package/src/assets/loader.svg +5 -5
- package/src/assets/triangle-arrow.svg +72 -72
- package/src/assets/triangle-circle-arrow.svg +38 -38
- package/src/assets/wide-arrow.svg +72 -72
- package/src/components/ExtendedMultiselectCancel.vue +165 -165
- package/src/components/ExtendedMultiselectInput.vue +705 -705
- package/src/components/ExtendedMultiselectLoader.vue +182 -182
- package/src/components/ExtendedMultiselectMultiple.vue +365 -365
- package/src/components/ExtendedMultiselectOptions.vue +1168 -1168
- package/src/components/ExtendedMultiselectToggle.vue +271 -271
- package/src/components/Vue3ExtendedMultiselect.vue +1803 -1783
- package/src/composition/cancel.js +36 -36
- package/src/composition/click-outside.js +8 -8
- package/src/composition/emitter.js +8 -8
- package/src/composition/image-path.js +16 -16
- package/src/composition/labels.js +41 -41
- package/src/composition/preselected-options.js +67 -67
- package/src/composition/search-value.js +33 -33
- package/src/composition/sizes.js +44 -44
- package/src/composition/toggle.js +31 -31
- package/src/events/LocalEmitter.js +31 -31
- package/src/events/instance.js +3 -0
- package/src/sets/sets.js +99 -99
- package/src/styles/animations.css +18 -18
- package/src/styles/main.css +454 -454
- package/src/styles/variables.css +49 -49
- package/tests/unit/events.spec.js +136 -136
- package/tests/unit/props.spec.js +1128 -1128
- package/tests/utils/mount.js +37 -37
- package/tests/utils/utils.js +20 -20
- package/typings/vue3-extended-multiselect.d.ts +43 -43
package/.browserslistrc
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
> 1%
|
|
2
|
-
last 2 versions
|
|
1
|
+
> 1%
|
|
2
|
+
last 2 versions
|
|
3
3
|
not dead
|
package/.eslintrc.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true,
|
|
5
|
-
},
|
|
6
|
-
extends: [
|
|
7
|
-
"plugin:vue/vue3-essential",
|
|
8
|
-
"eslint:recommended"
|
|
9
|
-
],
|
|
10
|
-
parserOptions: {
|
|
11
|
-
parser: "babel-eslint",
|
|
12
|
-
sourceType: "module",
|
|
13
|
-
ecmaVersion: "13",
|
|
14
|
-
ecmaFeatures: {
|
|
15
|
-
modules: true
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
rules: {
|
|
19
|
-
"no-console": "off",
|
|
20
|
-
"no-debugger": "off",
|
|
21
|
-
"no-unused-vars": "off",
|
|
22
|
-
"no-undef": "off"
|
|
23
|
-
},
|
|
24
|
-
overrides: [
|
|
25
|
-
{
|
|
26
|
-
files: [
|
|
27
|
-
"**/__tests__/*.{j,t}s?(x)",
|
|
28
|
-
"**/tests/unit/**/*.spec.{j,t}s?(x)"
|
|
29
|
-
],
|
|
30
|
-
env: {
|
|
31
|
-
jest: true,
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true,
|
|
5
|
+
},
|
|
6
|
+
extends: [
|
|
7
|
+
"plugin:vue/vue3-essential",
|
|
8
|
+
"eslint:recommended"
|
|
9
|
+
],
|
|
10
|
+
parserOptions: {
|
|
11
|
+
parser: "babel-eslint",
|
|
12
|
+
sourceType: "module",
|
|
13
|
+
ecmaVersion: "13",
|
|
14
|
+
ecmaFeatures: {
|
|
15
|
+
modules: true
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
rules: {
|
|
19
|
+
"no-console": "off",
|
|
20
|
+
"no-debugger": "off",
|
|
21
|
+
"no-unused-vars": "off",
|
|
22
|
+
"no-undef": "off"
|
|
23
|
+
},
|
|
24
|
+
overrides: [
|
|
25
|
+
{
|
|
26
|
+
files: [
|
|
27
|
+
"**/__tests__/*.{j,t}s?(x)",
|
|
28
|
+
"**/tests/unit/**/*.spec.{j,t}s?(x)"
|
|
29
|
+
],
|
|
30
|
+
env: {
|
|
31
|
+
jest: true,
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
35
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when changes were pushed
|
|
2
|
-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: publish
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- master
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
tests-checkout:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- name: checkout
|
|
16
|
-
uses: actions/checkout@v3
|
|
17
|
-
- name: node
|
|
18
|
-
uses: actions/setup-node@v3
|
|
19
|
-
with:
|
|
20
|
-
node-version: 16
|
|
21
|
-
registry-url: https://registry.npmjs.org/
|
|
22
|
-
- name: install
|
|
23
|
-
run: npm install
|
|
24
|
-
- name: tests
|
|
25
|
-
run: npm run test:unit
|
|
26
|
-
|
|
27
|
-
publish-npm:
|
|
28
|
-
needs: tests-checkout
|
|
29
|
-
runs-on: ubuntu-latest
|
|
30
|
-
steps:
|
|
31
|
-
- name: checkout
|
|
32
|
-
uses: actions/checkout@v3
|
|
33
|
-
- name: node
|
|
34
|
-
uses: actions/setup-node@v3
|
|
35
|
-
with:
|
|
36
|
-
node-version: 16
|
|
37
|
-
registry-url: https://registry.npmjs.org/
|
|
38
|
-
- name: publish
|
|
39
|
-
run: npm publish --access public
|
|
40
|
-
env:
|
|
41
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when changes were pushed
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: publish
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
tests-checkout:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- name: checkout
|
|
16
|
+
uses: actions/checkout@v3
|
|
17
|
+
- name: node
|
|
18
|
+
uses: actions/setup-node@v3
|
|
19
|
+
with:
|
|
20
|
+
node-version: 16
|
|
21
|
+
registry-url: https://registry.npmjs.org/
|
|
22
|
+
- name: install
|
|
23
|
+
run: npm install
|
|
24
|
+
- name: tests
|
|
25
|
+
run: npm run test:unit
|
|
26
|
+
|
|
27
|
+
publish-npm:
|
|
28
|
+
needs: tests-checkout
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
steps:
|
|
31
|
+
- name: checkout
|
|
32
|
+
uses: actions/checkout@v3
|
|
33
|
+
- name: node
|
|
34
|
+
uses: actions/setup-node@v3
|
|
35
|
+
with:
|
|
36
|
+
node-version: 16
|
|
37
|
+
registry-url: https://registry.npmjs.org/
|
|
38
|
+
- name: publish
|
|
39
|
+
run: npm publish --access public
|
|
40
|
+
env:
|
|
41
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|