Skip to content

Commit 4c1ed14

Browse files
committed
chore(3.0.0): Update and Publish Files
1 parent 77aecd1 commit 4c1ed14

10 files changed

+234
-207
lines changed

dist/vue-multiselect.common.js

Lines changed: 111 additions & 99 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.esm.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,9 @@ var multiselectMixin = {
561561
if (this.wholeGroupSelected(group)) {
562562
this.$emit('remove', group[this.groupValues], this.id);
563563

564+
const groupValues = this.trackBy ? group[this.groupValues].map(val => val[this.trackBy]) : group[this.groupValues];
564565
const newValue = this.internalValue.filter(
565-
(option) => group[this.groupValues].indexOf(option) === -1
566+
option => groupValues.indexOf(this.trackBy ? option[this.trackBy] : option) === -1
566567
);
567568

568569
this.$emit('update:modelValue', newValue);

dist/vue-multiselect.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,9 @@ var VueMultiselect = (function (exports, vue) {
562562
if (this.wholeGroupSelected(group)) {
563563
this.$emit('remove', group[this.groupValues], this.id);
564564

565+
const groupValues = this.trackBy ? group[this.groupValues].map(val => val[this.trackBy]) : group[this.groupValues];
565566
const newValue = this.internalValue.filter(
566-
(option) => group[this.groupValues].indexOf(option) === -1
567+
option => groupValues.indexOf(this.trackBy ? option[this.trackBy] : option) === -1
567568
);
568569

569570
this.$emit('update:modelValue', newValue);

dist/vue-multiselect.ssr.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,9 @@ var multiselectMixin = {
565565
if (this.wholeGroupSelected(group)) {
566566
this.$emit('remove', group[this.groupValues], this.id);
567567

568+
const groupValues = this.trackBy ? group[this.groupValues].map(val => val[this.trackBy]) : group[this.groupValues];
568569
const newValue = this.internalValue.filter(
569-
(option) => group[this.groupValues].indexOf(option) === -1
570+
option => groupValues.indexOf(this.trackBy ? option[this.trackBy] : option) === -1
570571
);
571572

572573
this.$emit('update:modelValue', newValue);

dist/vue-multiselect.umd.js

Lines changed: 111 additions & 99 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"vuex": "^4.1.0"
6464
},
6565
"bugs": {
66-
"url": "https://github.com/suadelabs/vue-multiselect/issues"
66+
"url": "https://github.com/shentao/vue-multiselect"
6767
},
6868
"engines": {
6969
"node": ">= 14.18.1",
@@ -72,7 +72,7 @@
7272
"license": "MIT",
7373
"repository": {
7474
"type": "git",
75-
"url": "git+https://github.com/suadelabs/vue-multiselect.git"
75+
"url": "git+https://github.com/shentao/vue-multiselect.git"
7676
},
7777
"dependencies": {}
7878
}

0 commit comments

Comments
 (0)