vue3-extended-multiselect 2.0.6 → 2.1.0
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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# vue3-extended-multiselect v2.0
|
|
1
|
+
# vue3-extended-multiselect v2.1.0
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
Vue3 extended multiselect is a component that was created for simplification of custom settings of built-in select element. This component allows developer to escape writing many excess css-rules by using built-in themes and to escape problems with different kinds of provided options. Various decoration of options list by some extra slots will help developer to make it more informative and obvious. More thorough filtering of raw options list given by developer excludes sudden errors if kind of option is not intended for extended multiselect. Switchable useful warnings will help to catch possible errors that may occur while working with options. Tools for working with selected options will allow user to control amount of displayed options and quickly deselect them. Such tools also can be customized by developer. Various slots can help developer to customize to his liking options list, elements with selected options in multiple select or some other interaction elements. You can use this component in your web-applications based on Vue 3 framework.
|
|
8
8
|
|
|
9
|
+
### Page with live examples
|
|
10
|
+
https://vue3-extended-multiselect.surge.sh/
|
|
11
|
+
|
|
9
12
|
### Installation with npm
|
|
10
13
|
|
|
11
14
|
``npm install --save vue3-extended-multiselect``
|
|
@@ -84,7 +87,7 @@ Prop name | Prop type | Prop appointment | Prop default value | Prop values
|
|
|
84
87
|
**toggleMax<br/>Height**|Number|Defines maximal value in pixels of "max-height" css-property for options list.|400|—|
|
|
85
88
|
**toggleMin<br/>Height**|Number|Defines minimal value in pixels of "max-height" css-property for options list.|null|—|
|
|
86
89
|
**createOption<br/>Fields**|Array|Defines a list of fields for options of type "object" created by user.|["label"]|—|
|
|
87
|
-
**disabled<br/>Primitive<br/>Options**|Array|Defines a list of primitive
|
|
90
|
+
**disabled<br/>Primitive<br/>Options**|Array|Defines a list of primitive options which will be disabled for selection.|[]|—|
|
|
88
91
|
**options**|Array|Raw options list.|[]|—|
|
|
89
92
|
**optionsPadding**|Array|Defines a list with "padding-top", "padding-left", "padding-bottom" and "padding-right" css-properties for options in options list. Property "padding-top" matches index zero. Property "padding-right" matches index three.|[]|—|
|
|
90
93
|
**preselected<br/>Options**|Array|Defines a list of options that will be select by default.|[]|—|
|
|
@@ -535,10 +535,10 @@ var script$5 = {
|
|
|
535
535
|
},
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
|
-
* Defines a svg-filter for icons
|
|
539
|
-
* @property {string}
|
|
538
|
+
* Defines a svg-filter for loader icons
|
|
539
|
+
* @property {string} loaderIconFilter
|
|
540
540
|
*/
|
|
541
|
-
|
|
541
|
+
loaderIconFilter: {
|
|
542
542
|
type: String,
|
|
543
543
|
required: true,
|
|
544
544
|
},
|
|
@@ -609,7 +609,7 @@ const setSearchPattern = vue.inject("setSearchPattern");
|
|
|
609
609
|
const {
|
|
610
610
|
disabled,
|
|
611
611
|
emitter,
|
|
612
|
-
|
|
612
|
+
loaderIconFilter,
|
|
613
613
|
iconSize,
|
|
614
614
|
loading,
|
|
615
615
|
selectedOptions,
|
|
@@ -672,7 +672,7 @@ return (_ctx, _cache) => {
|
|
|
672
672
|
}, null, 10 /* CLASS, PROPS */, _hoisted_2$5))
|
|
673
673
|
: (vue.openBlock(), vue.createBlock(script$6, {
|
|
674
674
|
key: 1,
|
|
675
|
-
"icon-filter": vue.unref(
|
|
675
|
+
"icon-filter": vue.unref(loaderIconFilter),
|
|
676
676
|
"icon-size": vue.unref(iconSize)
|
|
677
677
|
}, null, 8 /* PROPS */, ["icon-filter", "icon-size"]))
|
|
678
678
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$5))
|
|
@@ -685,7 +685,6 @@ script$5.__file = "src/components/ExtendedMultiselectCancel.vue";
|
|
|
685
685
|
|
|
686
686
|
class Debounce {
|
|
687
687
|
constructor(callback, timer) {
|
|
688
|
-
_defineProperty(this, "_localTimer", null);
|
|
689
688
|
_defineProperty(this, "_localTimeout", null);
|
|
690
689
|
_defineProperty(this, "_callback", null);
|
|
691
690
|
_defineProperty(this, "_timer", 0);
|
|
@@ -693,7 +692,6 @@ class Debounce {
|
|
|
693
692
|
this._timer = timer;
|
|
694
693
|
}
|
|
695
694
|
start() {
|
|
696
|
-
this._localTimer = performance.now();
|
|
697
695
|
if (this._localTimeout) {
|
|
698
696
|
clearTimeout(this._localTimeout);
|
|
699
697
|
}
|
|
@@ -1259,10 +1257,10 @@ var script$3 = {
|
|
|
1259
1257
|
},
|
|
1260
1258
|
|
|
1261
1259
|
/**
|
|
1262
|
-
* Defines a svg-filter for icons
|
|
1263
|
-
* @property {string}
|
|
1260
|
+
* Defines a svg-filter for loader icons
|
|
1261
|
+
* @property {string} loaderIconFilter
|
|
1264
1262
|
*/
|
|
1265
|
-
|
|
1263
|
+
loaderIconFilter: {
|
|
1266
1264
|
type: String,
|
|
1267
1265
|
required: true,
|
|
1268
1266
|
},
|
|
@@ -1728,7 +1726,7 @@ return (_ctx, _cache) => {
|
|
|
1728
1726
|
style: vue.normalizeStyle(multipleBlocksMargin.value),
|
|
1729
1727
|
disabled: vue.unref(disabled),
|
|
1730
1728
|
loading: __props.loading,
|
|
1731
|
-
"icon-filter": __props.
|
|
1729
|
+
"icon-filter": __props.loaderIconFilter,
|
|
1732
1730
|
"show-deselect-icon-loader": __props.showDeselectIconLoader,
|
|
1733
1731
|
"toggle-multiple-blocks-limit": __props.toggleMultipleBlocksLimit,
|
|
1734
1732
|
"empty-objects-placeholder": __props.emptyObjectsPlaceholder,
|
|
@@ -1777,7 +1775,7 @@ return (_ctx, _cache) => {
|
|
|
1777
1775
|
vue.createVNode(script$4, {
|
|
1778
1776
|
disabled: vue.unref(disabled),
|
|
1779
1777
|
loading: __props.loading,
|
|
1780
|
-
"icon-filter": __props.
|
|
1778
|
+
"icon-filter": __props.loaderIconFilter,
|
|
1781
1779
|
"placeholder-block-shown": !vue.unref(selectedOptions).length,
|
|
1782
1780
|
"show-deselect-icon-loader": __props.showDeselectIconLoader,
|
|
1783
1781
|
"toggle-multiple-blocks-limit": __props.toggleMultipleBlocksLimit,
|
|
@@ -2811,7 +2809,7 @@ const selectOption = (option, clickEvent) => {
|
|
|
2811
2809
|
if (option[disableByField.value] || defineDisabledOption(option)) return;
|
|
2812
2810
|
if (
|
|
2813
2811
|
clickEvent.target.id === "extended__multiselect-toggle"
|
|
2814
|
-
|
|
2812
|
+
|| clickEvent.target.id === "extended__multiselect-cancel"
|
|
2815
2813
|
) return;
|
|
2816
2814
|
|
|
2817
2815
|
if (selectedOptionsShown.value || externalOptionsLoader.value) {
|
|
@@ -3127,6 +3125,15 @@ var script$1 = {
|
|
|
3127
3125
|
type: String,
|
|
3128
3126
|
required: true,
|
|
3129
3127
|
},
|
|
3128
|
+
|
|
3129
|
+
/**
|
|
3130
|
+
* Defines a svg-filter for loader icons
|
|
3131
|
+
* @property {string} loaderIconFilter
|
|
3132
|
+
*/
|
|
3133
|
+
loaderIconFilter: {
|
|
3134
|
+
type: String,
|
|
3135
|
+
required: true,
|
|
3136
|
+
},
|
|
3130
3137
|
|
|
3131
3138
|
/**
|
|
3132
3139
|
* Provides size to create special size-class
|
|
@@ -3184,6 +3191,7 @@ const {
|
|
|
3184
3191
|
dropdownActive,
|
|
3185
3192
|
emitter,
|
|
3186
3193
|
iconFilter,
|
|
3194
|
+
loaderIconFilter,
|
|
3187
3195
|
iconSize,
|
|
3188
3196
|
loading,
|
|
3189
3197
|
tabindex,
|
|
@@ -3248,8 +3256,8 @@ const icon = vue.computed(() => {
|
|
|
3248
3256
|
*/
|
|
3249
3257
|
const iconFilterClass = vue.computed(() => {
|
|
3250
3258
|
const basicFilter = "extended__multiselect-filter";
|
|
3251
|
-
|
|
3252
|
-
switch(iconFilter) {
|
|
3259
|
+
|
|
3260
|
+
switch(iconFilter.value) {
|
|
3253
3261
|
case "basic":
|
|
3254
3262
|
return `${basicFilter}_basic`;
|
|
3255
3263
|
case "black":
|
|
@@ -3304,7 +3312,7 @@ return (_ctx, _cache) => {
|
|
|
3304
3312
|
}, null, 10 /* CLASS, PROPS */, _hoisted_2$1))
|
|
3305
3313
|
: (vue.openBlock(), vue.createBlock(script$6, {
|
|
3306
3314
|
key: 1,
|
|
3307
|
-
"icon-filter": vue.unref(
|
|
3315
|
+
"icon-filter": vue.unref(loaderIconFilter),
|
|
3308
3316
|
"icon-size": vue.unref(iconSize)
|
|
3309
3317
|
}, null, 8 /* PROPS */, ["icon-filter", "icon-size"])),
|
|
3310
3318
|
_hoisted_3$1
|
|
@@ -3326,7 +3334,7 @@ const _hoisted_3 = { class: "extended__multiselect-cancel_wrapper" };
|
|
|
3326
3334
|
|
|
3327
3335
|
/**
|
|
3328
3336
|
* @author Ridiger Daniil Dmitrievich, 2022
|
|
3329
|
-
* @version 2.0
|
|
3337
|
+
* @version 2.1.0
|
|
3330
3338
|
*/
|
|
3331
3339
|
|
|
3332
3340
|
var script = {
|
|
@@ -3842,9 +3850,9 @@ var script = {
|
|
|
3842
3850
|
default: () => [],
|
|
3843
3851
|
validator(value) {
|
|
3844
3852
|
return value.every((option) => {
|
|
3845
|
-
return typeof option === "string" ||
|
|
3846
|
-
|
|
3847
|
-
|
|
3853
|
+
return typeof option === "string" || typeof option === "number"
|
|
3854
|
+
|| typeof option === "boolean"
|
|
3855
|
+
|| typeof option === "function";
|
|
3848
3856
|
});
|
|
3849
3857
|
},
|
|
3850
3858
|
},
|
|
@@ -4108,7 +4116,7 @@ const classes = vue.computed(() => {
|
|
|
4108
4116
|
});
|
|
4109
4117
|
|
|
4110
4118
|
/**
|
|
4111
|
-
* Defines a list of disabled options
|
|
4119
|
+
* Defines a list of disabled primitive options given in "disabledPrimitiveOptions" prop
|
|
4112
4120
|
* @function
|
|
4113
4121
|
* @returns {Array} options
|
|
4114
4122
|
*/
|
|
@@ -4116,10 +4124,8 @@ const disabledPrimitiveOptionsConverted = vue.computed(() => {
|
|
|
4116
4124
|
if (!disabledPrimitiveOptions.value) return null;
|
|
4117
4125
|
|
|
4118
4126
|
return disabledPrimitiveOptions.value.map((disabledOption) => {
|
|
4119
|
-
if (Array.isArray(disabledOption)) {
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
return disabledOption.join(", ");
|
|
4127
|
+
if (Array.isArray(disabledOption) || typeof disabledOption === "object") {
|
|
4128
|
+
return null;
|
|
4123
4129
|
}
|
|
4124
4130
|
|
|
4125
4131
|
return disabledOption;
|
|
@@ -4241,7 +4247,7 @@ vue.watch(dropdownActive, (value) => {
|
|
|
4241
4247
|
vue.watch(modelValue, (value, prevValue) => {
|
|
4242
4248
|
if (
|
|
4243
4249
|
JSON.stringify(vue.toRaw(value)) === JSON.stringify(vue.toRaw(prevValue))
|
|
4244
|
-
|
|
4250
|
+
|| skipNextRemoval.value
|
|
4245
4251
|
) {
|
|
4246
4252
|
skipNextRemoval.value = false;
|
|
4247
4253
|
|
|
@@ -4463,7 +4469,7 @@ const setPreselectedOptions = async (preselectedOptions, restriction = true) =>
|
|
|
4463
4469
|
|
|
4464
4470
|
if (
|
|
4465
4471
|
(mappedOptions.value.includes(JSON.stringify(preselectedOption)) || !restriction)
|
|
4466
|
-
|
|
4472
|
+
&& !mappedSelectedOptions.includes(JSON.stringify(preselectedOption))
|
|
4467
4473
|
) {
|
|
4468
4474
|
const isObjectOrArray = typeof option === "object";
|
|
4469
4475
|
const label = createLabel(isObjectOrArray, preselectedOption);
|
|
@@ -5021,7 +5027,7 @@ return (_ctx, _cache) => {
|
|
|
5021
5027
|
"create-on-the-go": __props.createOnTheGo,
|
|
5022
5028
|
disabled: vue.unref(disabled),
|
|
5023
5029
|
loading: internalLoading.value,
|
|
5024
|
-
"icon-filter":
|
|
5030
|
+
"loader-icon-filter": vue.unref(loaderIconFilter),
|
|
5025
5031
|
multiple: vue.unref(multiple),
|
|
5026
5032
|
"search-filter-active": __props.searchFilterActive,
|
|
5027
5033
|
"show-deselect-icon-loader": __props.showDeselectIconLoader,
|
|
@@ -5095,7 +5101,7 @@ return (_ctx, _cache) => {
|
|
|
5095
5101
|
key: "4"
|
|
5096
5102
|
}
|
|
5097
5103
|
: undefined
|
|
5098
|
-
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["accesskey", "autocomplete", "name", "spellcheck", "tabindex", "translate", "auto-select-search-value", "create-on-the-go", "disabled", "loading", "icon-filter", "multiple", "search-filter-active", "show-deselect-icon-loader", "toggling-saves-search-value", "toggle-options-by-select", "placeholder", "show-search-field", "empty-objects-placeholder", "label", "multiple-blocks-limit-message", "theme-type", "increase-display-by", "multipleBlocksLimit", "toggle-multiple-blocks-limit", "selected-options", "emitter", "create-custom-option-label", "create-option-placeholder", "external-options-loader", "input-id"])
|
|
5104
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["accesskey", "autocomplete", "name", "spellcheck", "tabindex", "translate", "auto-select-search-value", "create-on-the-go", "disabled", "loading", "loader-icon-filter", "multiple", "search-filter-active", "show-deselect-icon-loader", "toggling-saves-search-value", "toggle-options-by-select", "placeholder", "show-search-field", "empty-objects-placeholder", "label", "multiple-blocks-limit-message", "theme-type", "increase-display-by", "multipleBlocksLimit", "toggle-multiple-blocks-limit", "selected-options", "emitter", "create-custom-option-label", "create-option-placeholder", "external-options-loader", "input-id"])
|
|
5099
5105
|
]),
|
|
5100
5106
|
vue.createElementVNode("div", _hoisted_2, [
|
|
5101
5107
|
vue.renderSlot(_ctx.$slots, "toggle", { toggleOptionsList: vue.unref(toggleOptionsList) }, () => [
|
|
@@ -5107,10 +5113,11 @@ return (_ctx, _cache) => {
|
|
|
5107
5113
|
"dropdown-active": dropdownActive.value,
|
|
5108
5114
|
loading: internalLoading.value,
|
|
5109
5115
|
"icon-filter": __props.iconFilter,
|
|
5116
|
+
"loader-icon-filter": vue.unref(loaderIconFilter),
|
|
5110
5117
|
"icon-size": __props.iconSize,
|
|
5111
5118
|
"toggle-icon": __props.toggleIcon,
|
|
5112
5119
|
emitter: vue.unref(emitter)
|
|
5113
|
-
}, null, 8 /* PROPS */, ["tabindex", "disabled", "dropdown-active", "loading", "icon-filter", "icon-size", "toggle-icon", "emitter"])
|
|
5120
|
+
}, null, 8 /* PROPS */, ["tabindex", "disabled", "dropdown-active", "loading", "icon-filter", "loader-icon-filter", "icon-size", "toggle-icon", "emitter"])
|
|
5114
5121
|
])
|
|
5115
5122
|
]),
|
|
5116
5123
|
vue.createElementVNode("div", _hoisted_3, [
|
|
@@ -5122,11 +5129,11 @@ return (_ctx, _cache) => {
|
|
|
5122
5129
|
disabled: vue.unref(disabled),
|
|
5123
5130
|
"show-search-field": vue.unref(showSearchField),
|
|
5124
5131
|
loading: internalLoading.value,
|
|
5125
|
-
"icon-filter":
|
|
5132
|
+
"loader-icon-filter": vue.unref(loaderIconFilter),
|
|
5126
5133
|
"icon-size": __props.iconSize,
|
|
5127
5134
|
"selected-options": selectedOptions.value,
|
|
5128
5135
|
emitter: vue.unref(emitter)
|
|
5129
|
-
}, null, 8 /* PROPS */, ["tabindex", "disabled", "show-search-field", "loading", "icon-filter", "icon-size", "selected-options", "emitter"]))
|
|
5136
|
+
}, null, 8 /* PROPS */, ["tabindex", "disabled", "show-search-field", "loading", "loader-icon-filter", "icon-size", "selected-options", "emitter"]))
|
|
5130
5137
|
: vue.createCommentVNode("v-if", true)
|
|
5131
5138
|
])
|
|
5132
5139
|
])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Vue3ExtendedMultiselect.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Vue3ExtendedMultiselect.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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531
531
|
|
|
532
532
|
/**
|
|
533
|
-
* Defines a svg-filter for icons
|
|
534
|
-
* @property {string}
|
|
533
|
+
* Defines a svg-filter for loader icons
|
|
534
|
+
* @property {string} loaderIconFilter
|
|
535
535
|
*/
|
|
536
|
-
|
|
536
|
+
loaderIconFilter: {
|
|
537
537
|
type: String,
|
|
538
538
|
required: true,
|
|
539
539
|
},
|
|
@@ -604,7 +604,7 @@ const setSearchPattern = inject("setSearchPattern");
|
|
|
604
604
|
const {
|
|
605
605
|
disabled,
|
|
606
606
|
emitter,
|
|
607
|
-
|
|
607
|
+
loaderIconFilter,
|
|
608
608
|
iconSize,
|
|
609
609
|
loading,
|
|
610
610
|
selectedOptions,
|
|
@@ -667,7 +667,7 @@ return (_ctx, _cache) => {
|
|
|
667
667
|
}, null, 10 /* CLASS, PROPS */, _hoisted_2$5))
|
|
668
668
|
: (openBlock(), createBlock(script$6, {
|
|
669
669
|
key: 1,
|
|
670
|
-
"icon-filter": unref(
|
|
670
|
+
"icon-filter": unref(loaderIconFilter),
|
|
671
671
|
"icon-size": unref(iconSize)
|
|
672
672
|
}, null, 8 /* PROPS */, ["icon-filter", "icon-size"]))
|
|
673
673
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$5))
|
|
@@ -680,7 +680,6 @@ script$5.__file = "src/components/ExtendedMultiselectCancel.vue";
|
|
|
680
680
|
|
|
681
681
|
class Debounce {
|
|
682
682
|
constructor(callback, timer) {
|
|
683
|
-
_defineProperty(this, "_localTimer", null);
|
|
684
683
|
_defineProperty(this, "_localTimeout", null);
|
|
685
684
|
_defineProperty(this, "_callback", null);
|
|
686
685
|
_defineProperty(this, "_timer", 0);
|
|
@@ -688,7 +687,6 @@ class Debounce {
|
|
|
688
687
|
this._timer = timer;
|
|
689
688
|
}
|
|
690
689
|
start() {
|
|
691
|
-
this._localTimer = performance.now();
|
|
692
690
|
if (this._localTimeout) {
|
|
693
691
|
clearTimeout(this._localTimeout);
|
|
694
692
|
}
|
|
@@ -1254,10 +1252,10 @@ var script$3 = {
|
|
|
1254
1252
|
},
|
|
1255
1253
|
|
|
1256
1254
|
/**
|
|
1257
|
-
* Defines a svg-filter for icons
|
|
1258
|
-
* @property {string}
|
|
1255
|
+
* Defines a svg-filter for loader icons
|
|
1256
|
+
* @property {string} loaderIconFilter
|
|
1259
1257
|
*/
|
|
1260
|
-
|
|
1258
|
+
loaderIconFilter: {
|
|
1261
1259
|
type: String,
|
|
1262
1260
|
required: true,
|
|
1263
1261
|
},
|
|
@@ -1723,7 +1721,7 @@ return (_ctx, _cache) => {
|
|
|
1723
1721
|
style: normalizeStyle(multipleBlocksMargin.value),
|
|
1724
1722
|
disabled: unref(disabled),
|
|
1725
1723
|
loading: __props.loading,
|
|
1726
|
-
"icon-filter": __props.
|
|
1724
|
+
"icon-filter": __props.loaderIconFilter,
|
|
1727
1725
|
"show-deselect-icon-loader": __props.showDeselectIconLoader,
|
|
1728
1726
|
"toggle-multiple-blocks-limit": __props.toggleMultipleBlocksLimit,
|
|
1729
1727
|
"empty-objects-placeholder": __props.emptyObjectsPlaceholder,
|
|
@@ -1772,7 +1770,7 @@ return (_ctx, _cache) => {
|
|
|
1772
1770
|
createVNode(script$4, {
|
|
1773
1771
|
disabled: unref(disabled),
|
|
1774
1772
|
loading: __props.loading,
|
|
1775
|
-
"icon-filter": __props.
|
|
1773
|
+
"icon-filter": __props.loaderIconFilter,
|
|
1776
1774
|
"placeholder-block-shown": !unref(selectedOptions).length,
|
|
1777
1775
|
"show-deselect-icon-loader": __props.showDeselectIconLoader,
|
|
1778
1776
|
"toggle-multiple-blocks-limit": __props.toggleMultipleBlocksLimit,
|
|
@@ -2806,7 +2804,7 @@ const selectOption = (option, clickEvent) => {
|
|
|
2806
2804
|
if (option[disableByField.value] || defineDisabledOption(option)) return;
|
|
2807
2805
|
if (
|
|
2808
2806
|
clickEvent.target.id === "extended__multiselect-toggle"
|
|
2809
|
-
|
|
2807
|
+
|| clickEvent.target.id === "extended__multiselect-cancel"
|
|
2810
2808
|
) return;
|
|
2811
2809
|
|
|
2812
2810
|
if (selectedOptionsShown.value || externalOptionsLoader.value) {
|
|
@@ -3122,6 +3120,15 @@ var script$1 = {
|
|
|
3122
3120
|
type: String,
|
|
3123
3121
|
required: true,
|
|
3124
3122
|
},
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* Defines a svg-filter for loader icons
|
|
3126
|
+
* @property {string} loaderIconFilter
|
|
3127
|
+
*/
|
|
3128
|
+
loaderIconFilter: {
|
|
3129
|
+
type: String,
|
|
3130
|
+
required: true,
|
|
3131
|
+
},
|
|
3125
3132
|
|
|
3126
3133
|
/**
|
|
3127
3134
|
* Provides size to create special size-class
|
|
@@ -3179,6 +3186,7 @@ const {
|
|
|
3179
3186
|
dropdownActive,
|
|
3180
3187
|
emitter,
|
|
3181
3188
|
iconFilter,
|
|
3189
|
+
loaderIconFilter,
|
|
3182
3190
|
iconSize,
|
|
3183
3191
|
loading,
|
|
3184
3192
|
tabindex,
|
|
@@ -3243,8 +3251,8 @@ const icon = computed(() => {
|
|
|
3243
3251
|
*/
|
|
3244
3252
|
const iconFilterClass = computed(() => {
|
|
3245
3253
|
const basicFilter = "extended__multiselect-filter";
|
|
3246
|
-
|
|
3247
|
-
switch(iconFilter) {
|
|
3254
|
+
|
|
3255
|
+
switch(iconFilter.value) {
|
|
3248
3256
|
case "basic":
|
|
3249
3257
|
return `${basicFilter}_basic`;
|
|
3250
3258
|
case "black":
|
|
@@ -3299,7 +3307,7 @@ return (_ctx, _cache) => {
|
|
|
3299
3307
|
}, null, 10 /* CLASS, PROPS */, _hoisted_2$1))
|
|
3300
3308
|
: (openBlock(), createBlock(script$6, {
|
|
3301
3309
|
key: 1,
|
|
3302
|
-
"icon-filter": unref(
|
|
3310
|
+
"icon-filter": unref(loaderIconFilter),
|
|
3303
3311
|
"icon-size": unref(iconSize)
|
|
3304
3312
|
}, null, 8 /* PROPS */, ["icon-filter", "icon-size"])),
|
|
3305
3313
|
_hoisted_3$1
|
|
@@ -3321,7 +3329,7 @@ const _hoisted_3 = { class: "extended__multiselect-cancel_wrapper" };
|
|
|
3321
3329
|
|
|
3322
3330
|
/**
|
|
3323
3331
|
* @author Ridiger Daniil Dmitrievich, 2022
|
|
3324
|
-
* @version 2.0
|
|
3332
|
+
* @version 2.1.0
|
|
3325
3333
|
*/
|
|
3326
3334
|
|
|
3327
3335
|
var script = {
|
|
@@ -3837,9 +3845,9 @@ var script = {
|
|
|
3837
3845
|
default: () => [],
|
|
3838
3846
|
validator(value) {
|
|
3839
3847
|
return value.every((option) => {
|
|
3840
|
-
return typeof option === "string" ||
|
|
3841
|
-
|
|
3842
|
-
|
|
3848
|
+
return typeof option === "string" || typeof option === "number"
|
|
3849
|
+
|| typeof option === "boolean"
|
|
3850
|
+
|| typeof option === "function";
|
|
3843
3851
|
});
|
|
3844
3852
|
},
|
|
3845
3853
|
},
|
|
@@ -4103,7 +4111,7 @@ const classes = computed(() => {
|
|
|
4103
4111
|
});
|
|
4104
4112
|
|
|
4105
4113
|
/**
|
|
4106
|
-
* Defines a list of disabled options
|
|
4114
|
+
* Defines a list of disabled primitive options given in "disabledPrimitiveOptions" prop
|
|
4107
4115
|
* @function
|
|
4108
4116
|
* @returns {Array} options
|
|
4109
4117
|
*/
|
|
@@ -4111,10 +4119,8 @@ const disabledPrimitiveOptionsConverted = computed(() => {
|
|
|
4111
4119
|
if (!disabledPrimitiveOptions.value) return null;
|
|
4112
4120
|
|
|
4113
4121
|
return disabledPrimitiveOptions.value.map((disabledOption) => {
|
|
4114
|
-
if (Array.isArray(disabledOption)) {
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
return disabledOption.join(", ");
|
|
4122
|
+
if (Array.isArray(disabledOption) || typeof disabledOption === "object") {
|
|
4123
|
+
return null;
|
|
4118
4124
|
}
|
|
4119
4125
|
|
|
4120
4126
|
return disabledOption;
|
|
@@ -4236,7 +4242,7 @@ watch(dropdownActive, (value) => {
|
|
|
4236
4242
|
watch(modelValue, (value, prevValue) => {
|
|
4237
4243
|
if (
|
|
4238
4244
|
JSON.stringify(toRaw(value)) === JSON.stringify(toRaw(prevValue))
|
|
4239
|
-
|
|
4245
|
+
|| skipNextRemoval.value
|
|
4240
4246
|
) {
|
|
4241
4247
|
skipNextRemoval.value = false;
|
|
4242
4248
|
|
|
@@ -4458,7 +4464,7 @@ const setPreselectedOptions = async (preselectedOptions, restriction = true) =>
|
|
|
4458
4464
|
|
|
4459
4465
|
if (
|
|
4460
4466
|
(mappedOptions.value.includes(JSON.stringify(preselectedOption)) || !restriction)
|
|
4461
|
-
|
|
4467
|
+
&& !mappedSelectedOptions.includes(JSON.stringify(preselectedOption))
|
|
4462
4468
|
) {
|
|
4463
4469
|
const isObjectOrArray = typeof option === "object";
|
|
4464
4470
|
const label = createLabel(isObjectOrArray, preselectedOption);
|
|
@@ -5016,7 +5022,7 @@ return (_ctx, _cache) => {
|
|
|
5016
5022
|
"create-on-the-go": __props.createOnTheGo,
|
|
5017
5023
|
disabled: unref(disabled),
|
|
5018
5024
|
loading: internalLoading.value,
|
|
5019
|
-
"icon-filter":
|
|
5025
|
+
"loader-icon-filter": unref(loaderIconFilter),
|
|
5020
5026
|
multiple: unref(multiple),
|
|
5021
5027
|
"search-filter-active": __props.searchFilterActive,
|
|
5022
5028
|
"show-deselect-icon-loader": __props.showDeselectIconLoader,
|
|
@@ -5090,7 +5096,7 @@ return (_ctx, _cache) => {
|
|
|
5090
5096
|
key: "4"
|
|
5091
5097
|
}
|
|
5092
5098
|
: undefined
|
|
5093
|
-
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["accesskey", "autocomplete", "name", "spellcheck", "tabindex", "translate", "auto-select-search-value", "create-on-the-go", "disabled", "loading", "icon-filter", "multiple", "search-filter-active", "show-deselect-icon-loader", "toggling-saves-search-value", "toggle-options-by-select", "placeholder", "show-search-field", "empty-objects-placeholder", "label", "multiple-blocks-limit-message", "theme-type", "increase-display-by", "multipleBlocksLimit", "toggle-multiple-blocks-limit", "selected-options", "emitter", "create-custom-option-label", "create-option-placeholder", "external-options-loader", "input-id"])
|
|
5099
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["accesskey", "autocomplete", "name", "spellcheck", "tabindex", "translate", "auto-select-search-value", "create-on-the-go", "disabled", "loading", "loader-icon-filter", "multiple", "search-filter-active", "show-deselect-icon-loader", "toggling-saves-search-value", "toggle-options-by-select", "placeholder", "show-search-field", "empty-objects-placeholder", "label", "multiple-blocks-limit-message", "theme-type", "increase-display-by", "multipleBlocksLimit", "toggle-multiple-blocks-limit", "selected-options", "emitter", "create-custom-option-label", "create-option-placeholder", "external-options-loader", "input-id"])
|
|
5094
5100
|
]),
|
|
5095
5101
|
createElementVNode("div", _hoisted_2, [
|
|
5096
5102
|
renderSlot(_ctx.$slots, "toggle", { toggleOptionsList: unref(toggleOptionsList) }, () => [
|
|
@@ -5102,10 +5108,11 @@ return (_ctx, _cache) => {
|
|
|
5102
5108
|
"dropdown-active": dropdownActive.value,
|
|
5103
5109
|
loading: internalLoading.value,
|
|
5104
5110
|
"icon-filter": __props.iconFilter,
|
|
5111
|
+
"loader-icon-filter": unref(loaderIconFilter),
|
|
5105
5112
|
"icon-size": __props.iconSize,
|
|
5106
5113
|
"toggle-icon": __props.toggleIcon,
|
|
5107
5114
|
emitter: unref(emitter)
|
|
5108
|
-
}, null, 8 /* PROPS */, ["tabindex", "disabled", "dropdown-active", "loading", "icon-filter", "icon-size", "toggle-icon", "emitter"])
|
|
5115
|
+
}, null, 8 /* PROPS */, ["tabindex", "disabled", "dropdown-active", "loading", "icon-filter", "loader-icon-filter", "icon-size", "toggle-icon", "emitter"])
|
|
5109
5116
|
])
|
|
5110
5117
|
]),
|
|
5111
5118
|
createElementVNode("div", _hoisted_3, [
|
|
@@ -5117,11 +5124,11 @@ return (_ctx, _cache) => {
|
|
|
5117
5124
|
disabled: unref(disabled),
|
|
5118
5125
|
"show-search-field": unref(showSearchField),
|
|
5119
5126
|
loading: internalLoading.value,
|
|
5120
|
-
"icon-filter":
|
|
5127
|
+
"loader-icon-filter": unref(loaderIconFilter),
|
|
5121
5128
|
"icon-size": __props.iconSize,
|
|
5122
5129
|
"selected-options": selectedOptions.value,
|
|
5123
5130
|
emitter: unref(emitter)
|
|
5124
|
-
}, null, 8 /* PROPS */, ["tabindex", "disabled", "show-search-field", "loading", "icon-filter", "icon-size", "selected-options", "emitter"]))
|
|
5131
|
+
}, null, 8 /* PROPS */, ["tabindex", "disabled", "show-search-field", "loading", "loader-icon-filter", "icon-size", "selected-options", "emitter"]))
|
|
5125
5132
|
: createCommentVNode("v-if", true)
|
|
5126
5133
|
])
|
|
5127
5134
|
])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Vue3ExtendedMultiselect.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Vue3ExtendedMultiselect.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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