vue3-extended-multiselect 1.5.1 → 1.5.2
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/CHANGELOG.md +6 -2
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/components/Vue3ExtendedMultiselect.vue +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Patch notes
|
|
2
2
|
|
|
3
|
-
Current `vue3-extended-multiselect` version: **1.5.
|
|
3
|
+
Current `vue3-extended-multiselect` version: **1.5.2**
|
|
4
4
|
|
|
5
5
|
***
|
|
6
6
|
|
|
@@ -195,4 +195,8 @@ Adding descriptive comments for some types in typings.
|
|
|
195
195
|
|
|
196
196
|
### 1.5.1 (2023-01-25)
|
|
197
197
|
|
|
198
|
-
* Fixing bug with missing toggle on option click in single selection.
|
|
198
|
+
* Fixing bug with missing toggle on option click in single selection.
|
|
199
|
+
|
|
200
|
+
### 1.5.2 (2023-01-25)
|
|
201
|
+
|
|
202
|
+
* Fixing bug with empty class list in toggle restrictor when "disabled" prop equals true.
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -253,7 +253,7 @@ import ExtendedMultiselectToggle from "./ExtendedMultiselectToggle.vue";
|
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
255
|
* @author Ridiger Daniil Dmitrievich
|
|
256
|
-
* @version 1.5.
|
|
256
|
+
* @version 1.5.2
|
|
257
257
|
*/
|
|
258
258
|
|
|
259
259
|
const props = defineProps({
|
|
@@ -1439,14 +1439,14 @@ const toggleBlockRestrictor = (mouseEvent) => {
|
|
|
1439
1439
|
|
|
1440
1440
|
if (extendedMultiselectToggle.value) {
|
|
1441
1441
|
generalRestriction = (filteredHasBlock.length && dropdownActive.value && filteredCustomSelf)
|
|
1442
|
-
|| (filteredSelf && dropdownActive.value && filteredCustomSelf)
|
|
1442
|
+
|| (filteredSelf.length && dropdownActive.value && filteredCustomSelf)
|
|
1443
|
+
|| (filteredHasSlot.length && dropdownActive.value && filteredCustomSelf);
|
|
1443
1444
|
} else {
|
|
1444
1445
|
generalRestriction = (filteredHasBlock.length && dropdownActive.value)
|
|
1445
|
-
|| (filteredSelf && dropdownActive.value)
|
|
1446
|
+
|| (filteredSelf.length && dropdownActive.value)
|
|
1447
|
+
|| (filteredHasSlot.length && dropdownActive.value);
|
|
1446
1448
|
}
|
|
1447
|
-
|
|
1448
|
-
console.info(generalRestriction)
|
|
1449
|
-
|
|
1449
|
+
|
|
1450
1450
|
if (generalRestriction) {
|
|
1451
1451
|
emitter.value.emit("extended:skip-block-blur");
|
|
1452
1452
|
return true;
|
|
@@ -1498,7 +1498,7 @@ const toggleDetector = (mouseEvent, pattern, mode) => {
|
|
|
1498
1498
|
&& (target.classList
|
|
1499
1499
|
&& !target.classList.contains("extended__multiselect-wrapper")
|
|
1500
1500
|
&& !target.classList.contains("extended__multiselect-options_container")
|
|
1501
|
-
|| !target.classList.length)
|
|
1501
|
+
|| target.classList && !target.classList.length)
|
|
1502
1502
|
&& mode
|
|
1503
1503
|
&& !filteredHasToggle.length
|
|
1504
1504
|
) {
|