vue3-extended-multiselect 2.0.6 → 2.2.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.
@@ -6,7 +6,6 @@ var vue = require('vue');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var ExtendedClickOutside = require('extended-click-outside');
8
8
 
9
- var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
10
9
  /**
11
10
  * Set of background- and border- style variants
12
11
  * @constant {Array} themeTypes
@@ -276,24 +275,6 @@ function usePreselectedOptions(label, emptyObjectsPlaceholder, showInsertWarning
276
275
  };
277
276
  }
278
277
 
279
- function useImagePath() {
280
- const createImagePath = image => {
281
- const hasRequire = typeof require !== "undefined";
282
- if (hasRequire) {
283
- return require(`./assets/images/${image}`);
284
- } else {
285
- try {
286
- return new URL(`./assets/images/${image}`, (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('Vue3ExtendedMultiselect.cjs.js', document.baseURI).href))).href;
287
- } catch (error) {
288
- throw new ReferenceError("import.meta.url is available in «esnext» libtype only");
289
- }
290
- }
291
- };
292
- return {
293
- createImagePath
294
- };
295
- }
296
-
297
278
  function useSizes(iconSize) {
298
279
  /**
299
280
  * Defines classes for each kind of icon
@@ -333,9 +314,35 @@ function useSizes(iconSize) {
333
314
  };
334
315
  }
335
316
 
336
- const _hoisted_1$6 = { class: "extended__multiselect-loader" };
337
- const _hoisted_2$6 = ["src"];
338
- const _hoisted_3$5 = /*#__PURE__*/vue.createElementVNode("svg", {
317
+ const _hoisted_1$f = {
318
+ id: "Layer_1",
319
+ style: {"enable-background":"new 0 0 128 128"},
320
+ version: "1.1",
321
+ viewBox: "0 0 128 128",
322
+ "xml:space": "preserve",
323
+ xmlns: "http://www.w3.org/2000/svg",
324
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
325
+ };
326
+ const _hoisted_2$e = /*#__PURE__*/vue.createElementVNode("g", null, [
327
+ /*#__PURE__*/vue.createElementVNode("path", { d: "M96.1,103.6c-10.4,8.4-23.5,12.4-36.8,11.1c-10.5-1-20.3-5.1-28.2-11.8H44v-8H18v26h8v-11.9c9.1,7.7,20.4,12.5,32.6,13.6 c1.9,0.2,3.7,0.3,5.5,0.3c13.5,0,26.5-4.6,37-13.2c19.1-15.4,26.6-40.5,19.1-63.9l-7.6,2.4C119,68.6,112.6,90.3,96.1,103.6z" }),
328
+ /*#__PURE__*/vue.createElementVNode("path", { d: "M103,19.7c-21.2-18.7-53.5-20-76.1-1.6C7.9,33.5,0.4,58.4,7.7,81.7l7.6-2.4C9,59.2,15.5,37.6,31.9,24.4 C51.6,8.4,79.7,9.6,98,26H85v8h26V8h-8V19.7z" })
329
+ ], -1 /* HOISTED */);
330
+ const _hoisted_3$7 = [
331
+ _hoisted_2$e
332
+ ];
333
+
334
+ function render$8(_ctx, _cache) {
335
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$f, [..._hoisted_3$7]))
336
+ }
337
+
338
+ const script$f = {};
339
+
340
+
341
+ script$f.render = render$8;
342
+ script$f.__file = "src/icons/LoaderIcon.vue";
343
+
344
+ const _hoisted_1$e = { class: "extended__multiselect-loader" };
345
+ const _hoisted_2$d = /*#__PURE__*/vue.createElementVNode("svg", {
339
346
  version: "1.1",
340
347
  xmlns: "http://www.w3.org/2000/svg",
341
348
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
@@ -431,7 +438,7 @@ const _hoisted_3$5 = /*#__PURE__*/vue.createElementVNode("svg", {
431
438
  ], -1 /* HOISTED */);
432
439
 
433
440
 
434
- var script$6 = {
441
+ var script$e = {
435
442
  __name: 'ExtendedMultiselectLoader',
436
443
  props: {
437
444
  /**
@@ -461,10 +468,6 @@ const loaderIconFilter = vue.inject("loaderIconFilter");
461
468
 
462
469
  const { iconSize } = vue.toRefs(props);
463
470
 
464
- const { createImagePath } = useImagePath();
465
-
466
- const loaderIcon = vue.ref(createImagePath("loader.svg"));
467
-
468
471
  const { iconSizeClass } = useSizes(iconSize);
469
472
 
470
473
  /**
@@ -503,26 +506,49 @@ const iconFilterClass = vue.computed(() => {
503
506
  });
504
507
 
505
508
  return (_ctx, _cache) => {
506
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
507
- vue.createElementVNode("img", {
508
- alt: "",
509
- class: vue.normalizeClass([iconFilterClass.value, vue.unref(iconSizeClass), 'extended__multiselect-loader-animate']),
510
- src: loaderIcon.value
511
- }, null, 10 /* CLASS, PROPS */, _hoisted_2$6),
512
- _hoisted_3$5
509
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
510
+ (!_ctx.loading)
511
+ ? (vue.openBlock(), vue.createBlock(script$f, {
512
+ key: 0,
513
+ class: vue.normalizeClass([iconFilterClass.value, vue.unref(iconSizeClass), 'extended__multiselect-loader-animate'])
514
+ }, null, 8 /* PROPS */, ["class"]))
515
+ : vue.createCommentVNode("v-if", true),
516
+ _hoisted_2$d
513
517
  ]))
514
518
  }
515
519
  }
516
520
 
517
521
  };
518
522
 
519
- script$6.__file = "src/components/ExtendedMultiselectLoader.vue";
523
+ script$e.__file = "src/components/ExtendedMultiselectLoader.vue";
520
524
 
521
- const _hoisted_1$5 = ["tabindex"];
522
- const _hoisted_2$5 = ["src"];
525
+ const _hoisted_1$d = {
526
+ style: {"enable-background":"new 0 0 35.999 36.005"},
527
+ version: "1.1",
528
+ viewBox: "0 0 35.505 36.005",
529
+ "xml:space": "preserve",
530
+ xmlns: "http://www.w3.org/2000/svg",
531
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
532
+ };
533
+ const _hoisted_2$c = /*#__PURE__*/vue.createStaticVNode("<g id=\"Close\"><g id=\"Layer_10\"><g id=\"ClipView_7\"><path d=\"M0,0v36.005h35.999V0H0z\" marker-end=\"none\" marker-start=\"none\" style=\"fill:none;\"></path><g><defs><rect height=\"36.005\" id=\"SVGID_1_\" width=\"35.999\" y=\"0\"></rect></defs><clipPath id=\"SVGID_2_\"><use style=\"overflow:visible;\" xlink:href=\"#SVGID_1_\"></use></clipPath><g style=\"clip-path:url(#SVGID_2_);\"><g id=\"Group_18\"><path d=\"M2.995,4.799v26.403c0,0.995,0.805,1.8,1.799,1.8 h26.405c0.995,0,1.8-0.805,1.8-1.8V4.799c0-0.994-0.805-1.799-1.8-1.799H4.794C3.8,3,2.995,3.805,2.995,4.799z\" marker-end=\"none\" marker-start=\"none\" style=\"fill:#990E0D;\"></path><linearGradient gradientTransform=\"matrix(1 0 0 1 167.998 491.77)\" gradientUnits=\"userSpaceOnUse\" id=\"SVGID_3_\" x1=\"-150.3105\" x2=\"-149.2125\" y1=\"-461.7169\" y2=\"-504.473\"><stop offset=\"0\" style=\"stop-color:#DF1413;\"></stop><stop offset=\"1\" style=\"stop-color:#990E0D;\"></stop></linearGradient><path d=\"M3.745,31.202V4.799 c0-0.579,0.469-1.049,1.049-1.049h26.405c0.581,0,1.05,0.47,1.05,1.049v26.403c0,0.581-0.47,1.05-1.05,1.05H4.794 C4.214,32.252,3.745,31.784,3.745,31.202z\" marker-end=\"none\" marker-start=\"none\" style=\"fill:url(#SVGID_3_);\"></path></g><g id=\"Group_19\"><path d=\"M9.961,8.892 l16.073,16.072\" style=\"fill:none;stroke:#990E0D;stroke-width:4.287;stroke-linejoin:round;stroke-miterlimit:79.8403;\"></path><path d=\" M26.034,8.892L9.961,24.964\" style=\"fill:none;stroke:#990E0D;stroke-width:4.287;stroke-linejoin:round;stroke-miterlimit:79.8403;\"></path></g><g id=\"Group_20\"><path d=\"M9.961,9.964 l16.073,16.073\" style=\"fill:none;stroke:#FFFFFF;stroke-width:4.287;stroke-linejoin:round;stroke-miterlimit:79.8403;\"></path><path d=\" M26.034,9.964L9.961,26.037\" style=\"fill:none;stroke:#FFFFFF;stroke-width:4.287;stroke-linejoin:round;stroke-miterlimit:79.8403;\"></path></g></g></g></g></g></g><g id=\"Layer_1\"></g>", 2);
534
+ const _hoisted_4$4 = [
535
+ _hoisted_2$c
536
+ ];
523
537
 
538
+ function render$7(_ctx, _cache) {
539
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$d, [..._hoisted_4$4]))
540
+ }
524
541
 
525
- var script$5 = {
542
+ const script$d = {};
543
+
544
+
545
+ script$d.render = render$7;
546
+ script$d.__file = "src/icons/CancelIcon.vue";
547
+
548
+ const _hoisted_1$c = ["tabindex"];
549
+
550
+
551
+ var script$c = {
526
552
  __name: 'ExtendedMultiselectCancel',
527
553
  props: {
528
554
  /**
@@ -535,10 +561,10 @@ var script$5 = {
535
561
  },
536
562
 
537
563
  /**
538
- * Defines a svg-filter for icons
539
- * @property {string} iconFilter
564
+ * Defines a svg-filter for loader icons
565
+ * @property {string} loaderIconFilter
540
566
  */
541
- iconFilter: {
567
+ loaderIconFilter: {
542
568
  type: String,
543
569
  required: true,
544
570
  },
@@ -609,7 +635,7 @@ const setSearchPattern = vue.inject("setSearchPattern");
609
635
  const {
610
636
  disabled,
611
637
  emitter,
612
- iconFilter,
638
+ loaderIconFilter,
613
639
  iconSize,
614
640
  loading,
615
641
  selectedOptions,
@@ -617,10 +643,6 @@ const {
617
643
  tabindex,
618
644
  } = vue.toRefs(props);
619
645
 
620
- const { createImagePath } = useImagePath();
621
-
622
- const cancelIcon = vue.ref(createImagePath("cancel.svg"));
623
-
624
646
  const { cancel } = useCancel(
625
647
  disabled,
626
648
  showSearchField,
@@ -664,28 +686,25 @@ return (_ctx, _cache) => {
664
686
  onKeypress: _cache[1] || (_cache[1] = vue.withModifiers((...args) => (vue.unref(cancel) && vue.unref(cancel)(...args)), ["stop"]))
665
687
  }, [
666
688
  (!vue.unref(loading))
667
- ? (vue.openBlock(), vue.createElementBlock("img", {
689
+ ? (vue.openBlock(), vue.createBlock(script$d, {
668
690
  key: 0,
669
- alt: "",
670
- class: vue.normalizeClass(vue.unref(iconSizeClass)),
671
- src: cancelIcon.value
672
- }, null, 10 /* CLASS, PROPS */, _hoisted_2$5))
673
- : (vue.openBlock(), vue.createBlock(script$6, {
691
+ class: vue.normalizeClass(vue.unref(iconSizeClass))
692
+ }, null, 8 /* PROPS */, ["class"]))
693
+ : (vue.openBlock(), vue.createBlock(script$e, {
674
694
  key: 1,
675
- "icon-filter": vue.unref(iconFilter),
695
+ "icon-filter": vue.unref(loaderIconFilter),
676
696
  "icon-size": vue.unref(iconSize)
677
697
  }, null, 8 /* PROPS */, ["icon-filter", "icon-size"]))
678
- ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$5))
698
+ ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$c))
679
699
  }
680
700
  }
681
701
 
682
702
  };
683
703
 
684
- script$5.__file = "src/components/ExtendedMultiselectCancel.vue";
704
+ script$c.__file = "src/components/ExtendedMultiselectCancel.vue";
685
705
 
686
706
  class Debounce {
687
707
  constructor(callback, timer) {
688
- _defineProperty(this, "_localTimer", null);
689
708
  _defineProperty(this, "_localTimeout", null);
690
709
  _defineProperty(this, "_callback", null);
691
710
  _defineProperty(this, "_timer", 0);
@@ -693,7 +712,6 @@ class Debounce {
693
712
  this._timer = timer;
694
713
  }
695
714
  start() {
696
- this._localTimer = performance.now();
697
715
  if (this._localTimeout) {
698
716
  clearTimeout(this._localTimeout);
699
717
  }
@@ -710,15 +728,14 @@ function useDebounce() {
710
728
  };
711
729
  }
712
730
 
713
- const _hoisted_1$4 = { class: "extended__multiselect-block extended__multiselect-block--multiple" };
714
- const _hoisted_2$4 = {
731
+ const _hoisted_1$b = { class: "extended__multiselect-block extended__multiselect-block--multiple" };
732
+ const _hoisted_2$b = {
715
733
  key: 0,
716
734
  class: "extended__multiselect-placeholder"
717
735
  };
718
- const _hoisted_3$4 = ["src", "onClick"];
719
736
 
720
737
 
721
- var script$4 = {
738
+ var script$b = {
722
739
  __name: 'ExtendedMultiselectMultiple',
723
740
  props: {
724
741
  /**
@@ -891,11 +908,8 @@ const {
891
908
  toggleMultipleBlocksLimit,
892
909
  } = vue.toRefs(props);
893
910
 
894
- const { createImagePath } = useImagePath();
895
-
896
911
  const optionsLimitIncreaser = vue.ref(null);
897
912
  const increaserClass = vue.ref("extended__multiselect-increaser");
898
- const deselectImage = vue.ref(createImagePath("cancel.svg"));
899
913
 
900
914
  const { optionCreateLabel } = useLabels(
901
915
  label,
@@ -1043,9 +1057,9 @@ vue.onBeforeMount(() => {
1043
1057
  });
1044
1058
 
1045
1059
  return (_ctx, _cache) => {
1046
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
1060
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
1047
1061
  (__props.placeholderBlockShown)
1048
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$4, vue.toDisplayString(__props.appropriatePlaceholder), 1 /* TEXT */))
1062
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$b, vue.toDisplayString(__props.appropriatePlaceholder), 1 /* TEXT */))
1049
1063
  : vue.createCommentVNode("v-if", true),
1050
1064
  vue.createElementVNode("div", null, [
1051
1065
  vue.renderSlot(_ctx.$slots, "multipleBlocks", {
@@ -1067,14 +1081,12 @@ return (_ctx, _cache) => {
1067
1081
  class: vue.normalizeClass(deselectClasses.value)
1068
1082
  }, [
1069
1083
  (!showLoaderIcon.value)
1070
- ? (vue.openBlock(), vue.createElementBlock("img", {
1084
+ ? (vue.openBlock(), vue.createBlock(script$d, {
1071
1085
  key: 0,
1072
- alt: "",
1073
1086
  class: "extended__multiselect_deselect-block-icon",
1074
- src: deselectImage.value,
1075
1087
  onClick: vue.withModifiers($event => (deselectBlock(index)), ["stop"])
1076
- }, null, 8 /* PROPS */, _hoisted_3$4))
1077
- : (vue.openBlock(), vue.createBlock(script$6, {
1088
+ }, null, 8 /* PROPS */, ["onClick"]))
1089
+ : (vue.openBlock(), vue.createBlock(script$e, {
1078
1090
  key: 1,
1079
1091
  "icon-filter": __props.iconFilter,
1080
1092
  "icon-size": "deselect"
@@ -1108,26 +1120,26 @@ return (_ctx, _cache) => {
1108
1120
 
1109
1121
  };
1110
1122
 
1111
- script$4.__file = "src/components/ExtendedMultiselectMultiple.vue";
1123
+ script$b.__file = "src/components/ExtendedMultiselectMultiple.vue";
1112
1124
 
1113
- const _hoisted_1$3 = { key: 0 };
1114
- const _hoisted_2$3 = ["accesskey", "autocomplete", "disabled", "id", "name", "placeholder", "spellcheck", "tabindex", "translate"];
1115
- const _hoisted_3$3 = {
1125
+ const _hoisted_1$a = { key: 0 };
1126
+ const _hoisted_2$a = ["accesskey", "autocomplete", "disabled", "id", "name", "placeholder", "spellcheck", "tabindex", "translate"];
1127
+ const _hoisted_3$6 = {
1116
1128
  key: 0,
1117
1129
  class: "extended__multiselect-placeholder"
1118
1130
  };
1119
- const _hoisted_4$1 = { key: 1 };
1120
- const _hoisted_5$1 = {
1131
+ const _hoisted_4$3 = { key: 1 };
1132
+ const _hoisted_5$3 = {
1121
1133
  key: 2,
1122
1134
  class: "extended__multiselect-block"
1123
1135
  };
1124
- const _hoisted_6$1 = {
1136
+ const _hoisted_6$3 = {
1125
1137
  key: 0,
1126
1138
  class: "extended__multiselect-placeholder"
1127
1139
  };
1128
1140
 
1129
1141
 
1130
- var script$3 = {
1142
+ var script$a = {
1131
1143
  __name: 'ExtendedMultiselectInput',
1132
1144
  props: {
1133
1145
  /**
@@ -1259,10 +1271,10 @@ var script$3 = {
1259
1271
  },
1260
1272
 
1261
1273
  /**
1262
- * Defines a svg-filter for icons
1263
- * @property {string} iconFilter
1274
+ * Defines a svg-filter for loader icons
1275
+ * @property {string} loaderIconFilter
1264
1276
  */
1265
- iconFilter: {
1277
+ loaderIconFilter: {
1266
1278
  type: String,
1267
1279
  required: true,
1268
1280
  },
@@ -1688,7 +1700,7 @@ vue.onMounted(() => {
1688
1700
 
1689
1701
  return (_ctx, _cache) => {
1690
1702
  return (vue.unref(showSearchField))
1691
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
1703
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
1692
1704
  vue.withDirectives(vue.createElementVNode("input", {
1693
1705
  "aria-controls": "extended-search-field",
1694
1706
  ref_key: "extendedInput",
@@ -1708,7 +1720,7 @@ return (_ctx, _cache) => {
1708
1720
  onBlur: vue.withModifiers(rollUp, ["prevent"]),
1709
1721
  onFocus: vue.withModifiers(expand, ["prevent"]),
1710
1722
  onInput: search
1711
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$3), [
1723
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$a), [
1712
1724
  [vue.vModelText, searchValue.value]
1713
1725
  ]),
1714
1726
  vue.withDirectives(vue.createElementVNode("div", {
@@ -1722,13 +1734,13 @@ return (_ctx, _cache) => {
1722
1734
  [vue.vShow, !searchFieldForwarding.value && !vue.unref(multiple) && !placeholderBlockShown.value]
1723
1735
  ]),
1724
1736
  (placeholderBlockShown.value)
1725
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$3, vue.toDisplayString(appropriatePlaceholder.value), 1 /* TEXT */))
1737
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, vue.toDisplayString(appropriatePlaceholder.value), 1 /* TEXT */))
1726
1738
  : vue.createCommentVNode("v-if", true),
1727
- vue.withDirectives(vue.createVNode(script$4, {
1739
+ vue.withDirectives(vue.createVNode(script$b, {
1728
1740
  style: vue.normalizeStyle(multipleBlocksMargin.value),
1729
1741
  disabled: vue.unref(disabled),
1730
1742
  loading: __props.loading,
1731
- "icon-filter": __props.iconFilter,
1743
+ "icon-filter": __props.loaderIconFilter,
1732
1744
  "show-deselect-icon-loader": __props.showDeselectIconLoader,
1733
1745
  "toggle-multiple-blocks-limit": __props.toggleMultipleBlocksLimit,
1734
1746
  "empty-objects-placeholder": __props.emptyObjectsPlaceholder,
@@ -1773,11 +1785,11 @@ return (_ctx, _cache) => {
1773
1785
  ])
1774
1786
  ]))
1775
1787
  : (!vue.unref(showSearchField) && vue.unref(multiple))
1776
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
1777
- vue.createVNode(script$4, {
1788
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
1789
+ vue.createVNode(script$b, {
1778
1790
  disabled: vue.unref(disabled),
1779
1791
  loading: __props.loading,
1780
- "icon-filter": __props.iconFilter,
1792
+ "icon-filter": __props.loaderIconFilter,
1781
1793
  "placeholder-block-shown": !vue.unref(selectedOptions).length,
1782
1794
  "show-deselect-icon-loader": __props.showDeselectIconLoader,
1783
1795
  "toggle-multiple-blocks-limit": __props.toggleMultipleBlocksLimit,
@@ -1826,9 +1838,9 @@ return (_ctx, _cache) => {
1826
1838
  onFocus: vue.withModifiers(expand, ["prevent"])
1827
1839
  }, null, 544 /* NEED_HYDRATION, NEED_PATCH */)
1828
1840
  ]))
1829
- : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [
1841
+ : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, [
1830
1842
  (placeholderBlockShown.value)
1831
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$1, vue.toDisplayString(appropriatePlaceholder.value), 1 /* TEXT */))
1843
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$3, vue.toDisplayString(appropriatePlaceholder.value), 1 /* TEXT */))
1832
1844
  : vue.createCommentVNode("v-if", true),
1833
1845
  vue.renderSlot(_ctx.$slots, "labelBlock", { labelBlockValue: singleLabel.value }, () => [
1834
1846
  vue.createElementVNode("span", null, vue.toDisplayString(singleLabel.value), 1 /* TEXT */)
@@ -1847,23 +1859,23 @@ return (_ctx, _cache) => {
1847
1859
 
1848
1860
  };
1849
1861
 
1850
- script$3.__file = "src/components/ExtendedMultiselectInput.vue";
1862
+ script$a.__file = "src/components/ExtendedMultiselectInput.vue";
1851
1863
 
1852
- const _hoisted_1$2 = /*#__PURE__*/vue.createElementVNode("span", null, "Maximum limit of selected options was achieved", -1 /* HOISTED */);
1853
- const _hoisted_2$2 = /*#__PURE__*/vue.createElementVNode("span", null, "Minimum amount of selected options was not achieved", -1 /* HOISTED */);
1854
- const _hoisted_3$2 = { class: "extended__multiselect-options_container" };
1855
- const _hoisted_4 = ["aria-setsize", "aria-posinset", "aria-labelledby", "aria-disabled", "enter-locator", "role", "onClick", "onKeypress"];
1856
- const _hoisted_5 = { class: "extended__multiselect-marker" };
1857
- const _hoisted_6 = {
1864
+ const _hoisted_1$9 = /*#__PURE__*/vue.createElementVNode("span", null, "Maximum limit of selected options was achieved", -1 /* HOISTED */);
1865
+ const _hoisted_2$9 = /*#__PURE__*/vue.createElementVNode("span", null, "Minimum amount of selected options was not achieved", -1 /* HOISTED */);
1866
+ const _hoisted_3$5 = { class: "extended__multiselect-options_container" };
1867
+ const _hoisted_4$2 = ["aria-setsize", "aria-posinset", "aria-labelledby", "aria-disabled", "enter-locator", "role", "onClick", "onKeypress"];
1868
+ const _hoisted_5$2 = { class: "extended__multiselect-marker" };
1869
+ const _hoisted_6$2 = {
1858
1870
  key: 1,
1859
1871
  class: "extended__multiselect-marker-shape-only"
1860
1872
  };
1861
- const _hoisted_7 = ["id"];
1862
- const _hoisted_8 = /*#__PURE__*/vue.createElementVNode("span", null, "No results were found by search", -1 /* HOISTED */);
1863
- const _hoisted_9 = /*#__PURE__*/vue.createElementVNode("span", null, "Options list is empty", -1 /* HOISTED */);
1873
+ const _hoisted_7$2 = ["id"];
1874
+ const _hoisted_8$2 = /*#__PURE__*/vue.createElementVNode("span", null, "No results were found by search", -1 /* HOISTED */);
1875
+ const _hoisted_9$2 = /*#__PURE__*/vue.createElementVNode("span", null, "Options list is empty", -1 /* HOISTED */);
1864
1876
 
1865
1877
 
1866
- var script$2 = {
1878
+ var script$9 = {
1867
1879
  __name: 'ExtendedMultiselectOptions',
1868
1880
  props: {
1869
1881
  /**
@@ -2811,7 +2823,7 @@ const selectOption = (option, clickEvent) => {
2811
2823
  if (option[disableByField.value] || defineDisabledOption(option)) return;
2812
2824
  if (
2813
2825
  clickEvent.target.id === "extended__multiselect-toggle"
2814
- || clickEvent.target.id === "extended__multiselect-cancel"
2826
+ || clickEvent.target.id === "extended__multiselect-cancel"
2815
2827
  ) return;
2816
2828
 
2817
2829
  if (selectedOptionsShown.value || externalOptionsLoader.value) {
@@ -2964,15 +2976,15 @@ return (_ctx, _cache) => {
2964
2976
  : vue.createCommentVNode("v-if", true),
2965
2977
  (maxOptionsWereSelected.value)
2966
2978
  ? vue.renderSlot(_ctx.$slots, "moreThanLimit", { key: 1 }, () => [
2967
- _hoisted_1$2
2979
+ _hoisted_1$9
2968
2980
  ])
2969
2981
  : vue.createCommentVNode("v-if", true),
2970
2982
  (minOptionsWereNotSelected.value)
2971
2983
  ? vue.renderSlot(_ctx.$slots, "lessThanLimit", { key: 2 }, () => [
2972
- _hoisted_2$2
2984
+ _hoisted_2$9
2973
2985
  ])
2974
2986
  : vue.createCommentVNode("v-if", true),
2975
- vue.createElementVNode("div", _hoisted_3$2, [
2987
+ vue.createElementVNode("div", _hoisted_3$5, [
2976
2988
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(availableOptions.value, (option, index) => {
2977
2989
  return (vue.openBlock(), vue.createElementBlock("div", {
2978
2990
  role: "listbox",
@@ -2998,7 +3010,7 @@ return (_ctx, _cache) => {
2998
3010
  option: option,
2999
3011
  createCustomOptionLabel: vue.unref(createCustomOptionLabel)
3000
3012
  }, () => [
3001
- vue.createElementVNode("div", _hoisted_5, [
3013
+ vue.createElementVNode("div", _hoisted_5$2, [
3002
3014
  vue.renderSlot(_ctx.$slots, "marker", {
3003
3015
  selected: showCurrentMarker(option)
3004
3016
  }, () => [
@@ -3009,27 +3021,27 @@ return (_ctx, _cache) => {
3009
3021
  style: vue.normalizeStyle(markerShapeMargin.value)
3010
3022
  }, null, 6 /* CLASS, STYLE */))
3011
3023
  : (vue.unref(showMarker))
3012
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6))
3024
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2))
3013
3025
  : vue.createCommentVNode("v-if", true)
3014
3026
  ])
3015
3027
  ]),
3016
3028
  vue.createElementVNode("span", {
3017
3029
  id: `option-label-${index}`
3018
- }, vue.toDisplayString(vue.unref(optionCreateLabel)(option)), 9 /* TEXT, PROPS */, _hoisted_7)
3030
+ }, vue.toDisplayString(vue.unref(optionCreateLabel)(option)), 9 /* TEXT, PROPS */, _hoisted_7$2)
3019
3031
  ])
3020
- ], 46 /* CLASS, STYLE, PROPS, NEED_HYDRATION */, _hoisted_4))
3032
+ ], 46 /* CLASS, STYLE, PROPS, NEED_HYDRATION */, _hoisted_4$2))
3021
3033
  : vue.createCommentVNode("v-if", true)
3022
3034
  ]))
3023
3035
  }), 128 /* KEYED_FRAGMENT */))
3024
3036
  ]),
3025
3037
  (emptySearchResult.value)
3026
3038
  ? vue.renderSlot(_ctx.$slots, "noResults", { key: 3 }, () => [
3027
- _hoisted_8
3039
+ _hoisted_8$2
3028
3040
  ])
3029
3041
  : vue.createCommentVNode("v-if", true),
3030
3042
  (emptyOptionsList.value)
3031
3043
  ? vue.renderSlot(_ctx.$slots, "noOptions", { key: 4 }, () => [
3032
- _hoisted_9
3044
+ _hoisted_9$2
3033
3045
  ])
3034
3046
  : vue.createCommentVNode("v-if", true),
3035
3047
  vue.renderSlot(_ctx.$slots, "listFooter")
@@ -3039,11 +3051,256 @@ return (_ctx, _cache) => {
3039
3051
 
3040
3052
  };
3041
3053
 
3042
- script$2.__file = "src/components/ExtendedMultiselectOptions.vue";
3054
+ script$9.__file = "src/components/ExtendedMultiselectOptions.vue";
3055
+
3056
+ const _hoisted_1$8 = {
3057
+ version: "1.1",
3058
+ id: "Capa_1",
3059
+ xmlns: "http://www.w3.org/2000/svg",
3060
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3061
+ x: "0px",
3062
+ y: "0px",
3063
+ viewBox: "0 0 490 490",
3064
+ style: {"enable-background":"new 0 0 490 490"},
3065
+ "xml:space": "preserve"
3066
+ };
3067
+ const _hoisted_2$8 = /*#__PURE__*/vue.createStaticVNode("<g><g><polygon points=\"0,332.668 245.004,82.631 490,332.668 413.507,407.369 245.004,235.402 76.493,407.369 \t\t\"></polygon></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g>", 16);
3068
+ const _hoisted_18$4 = [
3069
+ _hoisted_2$8
3070
+ ];
3071
+
3072
+ function render$6(_ctx, _cache) {
3073
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, [..._hoisted_18$4]))
3074
+ }
3075
+
3076
+ const script$8 = {};
3077
+
3078
+
3079
+ script$8.render = render$6;
3080
+ script$8.__file = "src/icons/BaseArrowIcon.vue";
3081
+
3082
+ const _hoisted_1$7 = {
3083
+ version: "1.1",
3084
+ xmlns: "http://www.w3.org/2000/svg",
3085
+ viewBox: "0 0 26 26",
3086
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3087
+ "enable-background": "new 0 0 26 26"
3088
+ };
3089
+ const _hoisted_2$7 = /*#__PURE__*/vue.createElementVNode("g", null, [
3090
+ /*#__PURE__*/vue.createElementVNode("path", { d: "m13,0c-7.2,0-13,5.8-13,13s5.8,13 13,13 13-5.8 13-13-5.8-13-13-13zm0,22c-5,0-9-4-9-9s4-9 9-9 9,4 9,9-4,9-9,9z" }),
3091
+ /*#__PURE__*/vue.createElementVNode("path", { d: "M18.8,14.4l-5-6C13.6,8.2,13.3,8,13,8s-0.6,0.1-0.8,0.4l-5,6l-0.1,0.1C7,14.7,7,14.8,7,15c0,0.3,0.2,0.7,0.5,0.9l1.7,1 C9.3,17,9.5,17,9.7,17c0.3,0,0.5-0.1,0.7-0.3l1.8-2.1c0.4-0.5,1.1-0.5,1.5,0l1.8,2.1c0.2,0.2,0.4,0.3,0.7,0.3c0.2,0,0.4,0,0.5-0.1 l1.7-1c0.3-0.2,0.5-0.5,0.5-0.9c0-0.2,0-0.3-0.1-0.5C18.8,14.4,18.8,14.4,18.8,14.4z" })
3092
+ ], -1 /* HOISTED */);
3093
+ const _hoisted_3$4 = [
3094
+ _hoisted_2$7
3095
+ ];
3096
+
3097
+ function render$5(_ctx, _cache) {
3098
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, [..._hoisted_3$4]))
3099
+ }
3100
+
3101
+ const script$7 = {};
3102
+
3103
+
3104
+ script$7.render = render$5;
3105
+ script$7.__file = "src/icons/CircleArrowIcon.vue";
3106
+
3107
+ const _hoisted_1$6 = {
3108
+ version: "1.1",
3109
+ id: "Capa_1",
3110
+ xmlns: "http://www.w3.org/2000/svg",
3111
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3112
+ x: "0px",
3113
+ y: "0px",
3114
+ viewBox: "0 0 490.037 490.037",
3115
+ style: {"enable-background":"new 0 0 490.037 490.037"},
3116
+ "xml:space": "preserve"
3117
+ };
3118
+ const _hoisted_2$6 = /*#__PURE__*/vue.createElementVNode("path", { d: "M91.483,490.019l153.535-160.332l153.535,160.332l91.483-91.439l-69.81-72.906l69.81-69.775L245.019,0.019L0,255.898\r\n l69.81,69.775L0,398.58L91.483,490.019z M42.905,255.434L245.019,44.346l202.114,211.089l-48.1,48.07L245.019,142.678\r\n L91.004,303.504L42.905,255.434z M245.019,187.02l202.114,211.081l-48.1,48.085L245.019,285.345L91.004,446.186l-48.1-48.085\r\n L245.019,187.02z" }, null, -1 /* HOISTED */);
3119
+ const _hoisted_3$3 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3120
+ const _hoisted_4$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3121
+ const _hoisted_5$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3122
+ const _hoisted_6$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3123
+ const _hoisted_7$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3124
+ const _hoisted_8$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3125
+ const _hoisted_9$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3126
+ const _hoisted_10$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3127
+ const _hoisted_11$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3128
+ const _hoisted_12$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3129
+ const _hoisted_13$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3130
+ const _hoisted_14$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3131
+ const _hoisted_15$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3132
+ const _hoisted_16$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3133
+ const _hoisted_17$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3134
+ const _hoisted_18$3 = [
3135
+ _hoisted_2$6,
3136
+ _hoisted_3$3,
3137
+ _hoisted_4$1,
3138
+ _hoisted_5$1,
3139
+ _hoisted_6$1,
3140
+ _hoisted_7$1,
3141
+ _hoisted_8$1,
3142
+ _hoisted_9$1,
3143
+ _hoisted_10$1,
3144
+ _hoisted_11$1,
3145
+ _hoisted_12$1,
3146
+ _hoisted_13$1,
3147
+ _hoisted_14$1,
3148
+ _hoisted_15$1,
3149
+ _hoisted_16$1,
3150
+ _hoisted_17$1
3151
+ ];
3152
+
3153
+ function render$4(_ctx, _cache) {
3154
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$6, [..._hoisted_18$3]))
3155
+ }
3156
+
3157
+ const script$6 = {};
3158
+
3159
+
3160
+ script$6.render = render$4;
3161
+ script$6.__file = "src/icons/DoubleArrowIcon.vue";
3162
+
3163
+ const _hoisted_1$5 = {
3164
+ version: "1.1",
3165
+ xmlns: "http://www.w3.org/2000/svg",
3166
+ viewBox: "0 0 137.145 137.145",
3167
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3168
+ "enable-background": "new 0 0 137.145 137.145"
3169
+ };
3170
+ const _hoisted_2$5 = /*#__PURE__*/vue.createElementVNode("g", null, [
3171
+ /*#__PURE__*/vue.createElementVNode("g", null, [
3172
+ /*#__PURE__*/vue.createElementVNode("path", { d: "m37.711,89.198l30.861-28.835-10.287-9.612-30.861,28.835 10.287,9.612zm72.004-89.198h-82.286c-15.149,0-27.429,12.281-27.429,27.429v82.287c0,15.148 12.28,27.429 27.429,27.429h82.286c15.149,0 27.429-12.28 27.429-27.429v-82.287c0-15.148-12.28-27.429-27.429-27.429zm13.715,102.858c0,11.361-9.21,20.572-20.572,20.572h-68.572c-11.361,0-20.571-9.211-20.571-20.572v-68.572c0-11.361 9.21-20.572 20.571-20.572h68.572c11.361,0 20.572,9.211 20.572,20.572v68.572zm-65.145-52.107l41.148,38.447 10.287-9.612-41.148-38.446-10.287,9.611z" })
3173
+ ])
3174
+ ], -1 /* HOISTED */);
3175
+ const _hoisted_3$2 = [
3176
+ _hoisted_2$5
3177
+ ];
3178
+
3179
+ function render$3(_ctx, _cache) {
3180
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$5, [..._hoisted_3$2]))
3181
+ }
3182
+
3183
+ const script$5 = {};
3184
+
3185
+
3186
+ script$5.render = render$3;
3187
+ script$5.__file = "src/icons/InnerArrowIcon.vue";
3188
+
3189
+ const _hoisted_1$4 = {
3190
+ version: "1.1",
3191
+ id: "Capa_1",
3192
+ xmlns: "http://www.w3.org/2000/svg",
3193
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3194
+ x: "0px",
3195
+ y: "0px",
3196
+ viewBox: "0 0 16 16",
3197
+ style: {"enable-background":"new 0 0 16 16"},
3198
+ "xml:space": "preserve"
3199
+ };
3200
+ const _hoisted_2$4 = /*#__PURE__*/vue.createElementVNode("g", null, [
3201
+ /*#__PURE__*/vue.createElementVNode("path", {
3202
+ style: {"fill":"#030104"},
3203
+ d: "M8,0C3.582,0,0,3.582,0,8s3.582,8,8,8s8-3.582,8-8S12.418,0,8,0z M4,11l4-7l4,7H4z"
3204
+ })
3205
+ ], -1 /* HOISTED */);
3206
+ const _hoisted_3$1 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3207
+ const _hoisted_4 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3208
+ const _hoisted_5 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3209
+ const _hoisted_6 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3210
+ const _hoisted_7 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3211
+ const _hoisted_8 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3212
+ const _hoisted_9 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3213
+ const _hoisted_10 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3214
+ const _hoisted_11 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3215
+ const _hoisted_12 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3216
+ const _hoisted_13 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3217
+ const _hoisted_14 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3218
+ const _hoisted_15 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3219
+ const _hoisted_16 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3220
+ const _hoisted_17 = /*#__PURE__*/vue.createElementVNode("g", null, null, -1 /* HOISTED */);
3221
+ const _hoisted_18$2 = [
3222
+ _hoisted_2$4,
3223
+ _hoisted_3$1,
3224
+ _hoisted_4,
3225
+ _hoisted_5,
3226
+ _hoisted_6,
3227
+ _hoisted_7,
3228
+ _hoisted_8,
3229
+ _hoisted_9,
3230
+ _hoisted_10,
3231
+ _hoisted_11,
3232
+ _hoisted_12,
3233
+ _hoisted_13,
3234
+ _hoisted_14,
3235
+ _hoisted_15,
3236
+ _hoisted_16,
3237
+ _hoisted_17
3238
+ ];
3239
+
3240
+ function render$2(_ctx, _cache) {
3241
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$4, [..._hoisted_18$2]))
3242
+ }
3243
+
3244
+ const script$4 = {};
3245
+
3246
+
3247
+ script$4.render = render$2;
3248
+ script$4.__file = "src/icons/TriangleCircleArrowIcon.vue";
3249
+
3250
+ const _hoisted_1$3 = {
3251
+ version: "1.1",
3252
+ id: "Capa_1",
3253
+ xmlns: "http://www.w3.org/2000/svg",
3254
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3255
+ x: "0px",
3256
+ y: "0px",
3257
+ viewBox: "0 0 490 490",
3258
+ style: {"enable-background":"new 0 0 490 490"},
3259
+ "xml:space": "preserve"
3260
+ };
3261
+ const _hoisted_2$3 = /*#__PURE__*/vue.createStaticVNode("<g><g><g><polygon points=\"0,249.888 245.004,8.139 490,249.888 490,481.861 245.004,239.71 0,481.861 \t\t\t\"></polygon></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g>", 16);
3262
+ const _hoisted_18$1 = [
3263
+ _hoisted_2$3
3264
+ ];
3265
+
3266
+ function render$1(_ctx, _cache) {
3267
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$3, [..._hoisted_18$1]))
3268
+ }
3269
+
3270
+ const script$3 = {};
3271
+
3272
+
3273
+ script$3.render = render$1;
3274
+ script$3.__file = "src/icons/WideArrowIcon.vue";
3275
+
3276
+ const _hoisted_1$2 = {
3277
+ version: "1.1",
3278
+ id: "Capa_1",
3279
+ xmlns: "http://www.w3.org/2000/svg",
3280
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3281
+ x: "0px",
3282
+ y: "0px",
3283
+ viewBox: "0 0 491.858 491.858",
3284
+ style: {"enable-background":"new 0 0 491.858 491.858"},
3285
+ "xml:space": "preserve"
3286
+ };
3287
+ const _hoisted_2$2 = /*#__PURE__*/vue.createStaticVNode("<g><g><path d=\"M491.858,442.461c0,13.931-11.293,25.224-25.224,25.224L245.93,373.097L25.224,467.686\r\n C11.292,467.686,0,456.392,0,442.461L227.011,32.58c0,0,18.918-18.918,37.834,0C283.764,51.499,491.858,442.461,491.858,442.461z\"></path></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g>", 16);
3288
+ const _hoisted_18 = [
3289
+ _hoisted_2$2
3290
+ ];
3291
+
3292
+ function render(_ctx, _cache) {
3293
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$2, [..._hoisted_18]))
3294
+ }
3295
+
3296
+ const script$2 = {};
3297
+
3298
+
3299
+ script$2.render = render;
3300
+ script$2.__file = "src/icons/TriangleArrowIcon.vue";
3043
3301
 
3044
3302
  const _hoisted_1$1 = ["aria-checked", "tabindex"];
3045
- const _hoisted_2$1 = ["src"];
3046
- const _hoisted_3$1 = /*#__PURE__*/vue.createElementVNode("svg", {
3303
+ const _hoisted_2$1 = /*#__PURE__*/vue.createElementVNode("svg", {
3047
3304
  version: "1.1",
3048
3305
  xmlns: "http://www.w3.org/2000/svg",
3049
3306
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
@@ -3127,6 +3384,15 @@ var script$1 = {
3127
3384
  type: String,
3128
3385
  required: true,
3129
3386
  },
3387
+
3388
+ /**
3389
+ * Defines a svg-filter for loader icons
3390
+ * @property {string} loaderIconFilter
3391
+ */
3392
+ loaderIconFilter: {
3393
+ type: String,
3394
+ required: true,
3395
+ },
3130
3396
 
3131
3397
  /**
3132
3398
  * Provides size to create special size-class
@@ -3184,14 +3450,13 @@ const {
3184
3450
  dropdownActive,
3185
3451
  emitter,
3186
3452
  iconFilter,
3453
+ loaderIconFilter,
3187
3454
  iconSize,
3188
3455
  loading,
3189
3456
  tabindex,
3190
3457
  toggleIcon,
3191
3458
  } = vue.toRefs(props);
3192
3459
 
3193
- const { createImagePath } = useImagePath();
3194
-
3195
3460
  const { toggleSlotClass, toggleOptionsList } = useToggle(
3196
3461
  loading,
3197
3462
  disabled,
@@ -3219,25 +3484,23 @@ const classesSummary = vue.computed(() => {
3219
3484
  * @returns {string} icon
3220
3485
  */
3221
3486
  const icon = vue.computed(() => {
3222
- const baseArrow = createImagePath("base-arrow.svg");
3223
-
3224
3487
  switch(toggleIcon.value) {
3225
3488
  case "base-arrow":
3226
- return baseArrow;
3489
+ return script$8;
3227
3490
  case "double-arrow":
3228
- return createImagePath("double-arrow.svg");
3491
+ return script$6;
3229
3492
  case "wide-arrow":
3230
- return createImagePath("wide-arrow.svg");
3493
+ return script$3;
3231
3494
  case "circle-arrow":
3232
- return createImagePath("circle-arrow.svg");
3495
+ return script$7;
3233
3496
  case "inner-arrow":
3234
- return createImagePath("inner-arrow.svg");
3497
+ return script$5;
3235
3498
  case "triangle-arrow":
3236
- return createImagePath("triangle-arrow.svg");
3499
+ return script$2;
3237
3500
  case "triangle-circle-arrow":
3238
- return createImagePath("triangle-circle-arrow.svg");
3501
+ return script$4;
3239
3502
  default:
3240
- return baseArrow;
3503
+ return script$8;
3241
3504
  }
3242
3505
  });
3243
3506
 
@@ -3248,8 +3511,8 @@ const icon = vue.computed(() => {
3248
3511
  */
3249
3512
  const iconFilterClass = vue.computed(() => {
3250
3513
  const basicFilter = "extended__multiselect-filter";
3251
-
3252
- switch(iconFilter) {
3514
+
3515
+ switch(iconFilter.value) {
3253
3516
  case "basic":
3254
3517
  return `${basicFilter}_basic`;
3255
3518
  case "black":
@@ -3296,18 +3559,16 @@ return (_ctx, _cache) => {
3296
3559
  onKeypress: _cache[2] || (_cache[2] = vue.withModifiers($event => (vue.unref(toggleOptionsList)($event)), ["stop"]))
3297
3560
  }, [
3298
3561
  (!vue.unref(loading))
3299
- ? (vue.openBlock(), vue.createElementBlock("img", {
3300
- key: 0,
3301
- alt: "",
3562
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(icon.value), {
3302
3563
  class: vue.normalizeClass(classesSummary.value),
3303
- src: icon.value
3304
- }, null, 10 /* CLASS, PROPS */, _hoisted_2$1))
3305
- : (vue.openBlock(), vue.createBlock(script$6, {
3564
+ key: icon.value
3565
+ }, null, 8 /* PROPS */, ["class"]))
3566
+ : (vue.openBlock(), vue.createBlock(script$e, {
3306
3567
  key: 1,
3307
- "icon-filter": vue.unref(iconFilter),
3568
+ "icon-filter": vue.unref(loaderIconFilter),
3308
3569
  "icon-size": vue.unref(iconSize)
3309
3570
  }, null, 8 /* PROPS */, ["icon-filter", "icon-size"])),
3310
- _hoisted_3$1
3571
+ _hoisted_2$1
3311
3572
  ], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$1))
3312
3573
  }
3313
3574
  }
@@ -3326,7 +3587,7 @@ const _hoisted_3 = { class: "extended__multiselect-cancel_wrapper" };
3326
3587
 
3327
3588
  /**
3328
3589
  * @author Ridiger Daniil Dmitrievich, 2022
3329
- * @version 2.0.6
3590
+ * @version 2.2.0
3330
3591
  */
3331
3592
 
3332
3593
  var script = {
@@ -3842,9 +4103,9 @@ var script = {
3842
4103
  default: () => [],
3843
4104
  validator(value) {
3844
4105
  return value.every((option) => {
3845
- return typeof option === "string" || Array.isArray(option)
3846
- || typeof option === "number" || typeof option === "boolean"
3847
- || typeof option === "function";
4106
+ return typeof option === "string" || typeof option === "number"
4107
+ || typeof option === "boolean"
4108
+ || typeof option === "function";
3848
4109
  });
3849
4110
  },
3850
4111
  },
@@ -4108,7 +4369,7 @@ const classes = vue.computed(() => {
4108
4369
  });
4109
4370
 
4110
4371
  /**
4111
- * Defines a list of disabled options by types given in "disabledPrimitiveOptions" prop
4372
+ * Defines a list of disabled primitive options given in "disabledPrimitiveOptions" prop
4112
4373
  * @function
4113
4374
  * @returns {Array} options
4114
4375
  */
@@ -4116,10 +4377,8 @@ const disabledPrimitiveOptionsConverted = vue.computed(() => {
4116
4377
  if (!disabledPrimitiveOptions.value) return null;
4117
4378
 
4118
4379
  return disabledPrimitiveOptions.value.map((disabledOption) => {
4119
- if (Array.isArray(disabledOption)) {
4120
- if (!disabledOption.length) return emptyObjectsPlaceholder.value;
4121
-
4122
- return disabledOption.join(", ");
4380
+ if (Array.isArray(disabledOption) || typeof disabledOption === "object") {
4381
+ return null;
4123
4382
  }
4124
4383
 
4125
4384
  return disabledOption;
@@ -4241,7 +4500,7 @@ vue.watch(dropdownActive, (value) => {
4241
4500
  vue.watch(modelValue, (value, prevValue) => {
4242
4501
  if (
4243
4502
  JSON.stringify(vue.toRaw(value)) === JSON.stringify(vue.toRaw(prevValue))
4244
- || skipNextRemoval.value
4503
+ || skipNextRemoval.value
4245
4504
  ) {
4246
4505
  skipNextRemoval.value = false;
4247
4506
 
@@ -4463,7 +4722,7 @@ const setPreselectedOptions = async (preselectedOptions, restriction = true) =>
4463
4722
 
4464
4723
  if (
4465
4724
  (mappedOptions.value.includes(JSON.stringify(preselectedOption)) || !restriction)
4466
- && !mappedSelectedOptions.includes(JSON.stringify(preselectedOption))
4725
+ && !mappedSelectedOptions.includes(JSON.stringify(preselectedOption))
4467
4726
  ) {
4468
4727
  const isObjectOrArray = typeof option === "object";
4469
4728
  const label = createLabel(isObjectOrArray, preselectedOption);
@@ -5010,7 +5269,7 @@ return (_ctx, _cache) => {
5010
5269
  style: vue.normalizeStyle([displayWrongValue.value, expanded.value])
5011
5270
  }, [
5012
5271
  vue.createElementVNode("div", null, [
5013
- vue.createVNode(script$3, {
5272
+ vue.createVNode(script$a, {
5014
5273
  accesskey: vue.unref(attrs).accesskey,
5015
5274
  autocomplete: vue.unref(attrs).autocomplete,
5016
5275
  name: vue.unref(attrs).name,
@@ -5021,7 +5280,7 @@ return (_ctx, _cache) => {
5021
5280
  "create-on-the-go": __props.createOnTheGo,
5022
5281
  disabled: vue.unref(disabled),
5023
5282
  loading: internalLoading.value,
5024
- "icon-filter": __props.iconFilter,
5283
+ "loader-icon-filter": vue.unref(loaderIconFilter),
5025
5284
  multiple: vue.unref(multiple),
5026
5285
  "search-filter-active": __props.searchFilterActive,
5027
5286
  "show-deselect-icon-loader": __props.showDeselectIconLoader,
@@ -5095,7 +5354,7 @@ return (_ctx, _cache) => {
5095
5354
  key: "4"
5096
5355
  }
5097
5356
  : 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"])
5357
+ ]), 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
5358
  ]),
5100
5359
  vue.createElementVNode("div", _hoisted_2, [
5101
5360
  vue.renderSlot(_ctx.$slots, "toggle", { toggleOptionsList: vue.unref(toggleOptionsList) }, () => [
@@ -5107,26 +5366,27 @@ return (_ctx, _cache) => {
5107
5366
  "dropdown-active": dropdownActive.value,
5108
5367
  loading: internalLoading.value,
5109
5368
  "icon-filter": __props.iconFilter,
5369
+ "loader-icon-filter": vue.unref(loaderIconFilter),
5110
5370
  "icon-size": __props.iconSize,
5111
5371
  "toggle-icon": __props.toggleIcon,
5112
5372
  emitter: vue.unref(emitter)
5113
- }, null, 8 /* PROPS */, ["tabindex", "disabled", "dropdown-active", "loading", "icon-filter", "icon-size", "toggle-icon", "emitter"])
5373
+ }, null, 8 /* PROPS */, ["tabindex", "disabled", "dropdown-active", "loading", "icon-filter", "loader-icon-filter", "icon-size", "toggle-icon", "emitter"])
5114
5374
  ])
5115
5375
  ]),
5116
5376
  vue.createElementVNode("div", _hoisted_3, [
5117
5377
  vue.renderSlot(_ctx.$slots, "cancel", { cancel: vue.unref(cancel) }, () => [
5118
5378
  (vue.unref(showClearIcon))
5119
- ? (vue.openBlock(), vue.createBlock(script$5, {
5379
+ ? (vue.openBlock(), vue.createBlock(script$c, {
5120
5380
  key: 0,
5121
5381
  tabindex: vue.unref(attrs).tabindex,
5122
5382
  disabled: vue.unref(disabled),
5123
5383
  "show-search-field": vue.unref(showSearchField),
5124
5384
  loading: internalLoading.value,
5125
- "icon-filter": __props.iconFilter,
5385
+ "loader-icon-filter": vue.unref(loaderIconFilter),
5126
5386
  "icon-size": __props.iconSize,
5127
5387
  "selected-options": selectedOptions.value,
5128
5388
  emitter: vue.unref(emitter)
5129
- }, null, 8 /* PROPS */, ["tabindex", "disabled", "show-search-field", "loading", "icon-filter", "icon-size", "selected-options", "emitter"]))
5389
+ }, null, 8 /* PROPS */, ["tabindex", "disabled", "show-search-field", "loading", "loader-icon-filter", "icon-size", "selected-options", "emitter"]))
5130
5390
  : vue.createCommentVNode("v-if", true)
5131
5391
  ])
5132
5392
  ])
@@ -5137,7 +5397,7 @@ return (_ctx, _cache) => {
5137
5397
  }, {
5138
5398
  default: vue.withCtx(() => [
5139
5399
  (dropdownActive.value)
5140
- ? (vue.openBlock(), vue.createBlock(script$2, {
5400
+ ? (vue.openBlock(), vue.createBlock(script$9, {
5141
5401
  key: 0,
5142
5402
  "auto-select-created-option": __props.autoSelectCreatedOption,
5143
5403
  "clear-by-select-when-multiple": __props.clearBySelectWhenMultiple,