vue3-extended-multiselect 2.1.0 → 2.2.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/README.md +1 -1
- package/dist/Vue3ExtendedMultiselect.cjs.js +380 -127
- package/dist/Vue3ExtendedMultiselect.cjs.js.map +1 -1
- package/dist/Vue3ExtendedMultiselect.esm.js +381 -127
- package/dist/Vue3ExtendedMultiselect.esm.js.map +1 -1
- package/package.json +3 -3
- package/dist/assets/images/base-arrow.svg +0 -70
- package/dist/assets/images/cancel.svg +0 -35
- package/dist/assets/images/circle-arrow.svg +0 -7
- package/dist/assets/images/double-arrow.svg +0 -39
- package/dist/assets/images/inner-arrow.svg +0 -8
- package/dist/assets/images/loader.svg +0 -6
- package/dist/assets/images/triangle-arrow.svg +0 -72
- package/dist/assets/images/triangle-circle-arrow.svg +0 -38
- package/dist/assets/images/wide-arrow.svg +0 -72
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, readonly, reactive, ref, getCurrentInstance,
|
|
1
|
+
import { computed, readonly, reactive, ref, getCurrentInstance, openBlock, createElementBlock, createElementVNode, inject, toRefs, createBlock, normalizeClass, unref, createCommentVNode, createStaticVNode, withModifiers, watch, onBeforeMount, toDisplayString, renderSlot, Fragment, renderList, createTextVNode, toRef, useAttrs, onMounted, nextTick, withDirectives, vModelText, vShow, createVNode, normalizeStyle, createSlots, withCtx, resolveDynamicComponent, provide, useSlots, toRaw, withKeys, Transition } from 'vue';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
3
|
import ExtendedClickOutside from 'extended-click-outside';
|
|
4
4
|
|
|
@@ -271,24 +271,6 @@ function usePreselectedOptions(label, emptyObjectsPlaceholder, showInsertWarning
|
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
function useImagePath() {
|
|
275
|
-
const createImagePath = image => {
|
|
276
|
-
const hasRequire = typeof require !== "undefined";
|
|
277
|
-
if (hasRequire) {
|
|
278
|
-
return require(`./assets/images/${image}`);
|
|
279
|
-
} else {
|
|
280
|
-
try {
|
|
281
|
-
return new URL(`./assets/images/${image}`, import.meta.url).href;
|
|
282
|
-
} catch (error) {
|
|
283
|
-
throw new ReferenceError("import.meta.url is available in «esnext» libtype only");
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
};
|
|
287
|
-
return {
|
|
288
|
-
createImagePath
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
|
|
292
274
|
function useSizes(iconSize) {
|
|
293
275
|
/**
|
|
294
276
|
* Defines classes for each kind of icon
|
|
@@ -328,9 +310,35 @@ function useSizes(iconSize) {
|
|
|
328
310
|
};
|
|
329
311
|
}
|
|
330
312
|
|
|
331
|
-
const _hoisted_1$
|
|
332
|
-
|
|
333
|
-
|
|
313
|
+
const _hoisted_1$f = {
|
|
314
|
+
id: "Layer_1",
|
|
315
|
+
style: {"enable-background":"new 0 0 128 128"},
|
|
316
|
+
version: "1.1",
|
|
317
|
+
viewBox: "0 0 128 128",
|
|
318
|
+
"xml:space": "preserve",
|
|
319
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
320
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
321
|
+
};
|
|
322
|
+
const _hoisted_2$e = /*#__PURE__*/createElementVNode("g", null, [
|
|
323
|
+
/*#__PURE__*/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" }),
|
|
324
|
+
/*#__PURE__*/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" })
|
|
325
|
+
], -1 /* HOISTED */);
|
|
326
|
+
const _hoisted_3$7 = [
|
|
327
|
+
_hoisted_2$e
|
|
328
|
+
];
|
|
329
|
+
|
|
330
|
+
function render$8(_ctx, _cache) {
|
|
331
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$f, [..._hoisted_3$7]))
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
const script$f = {};
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
script$f.render = render$8;
|
|
338
|
+
script$f.__file = "src/icons/LoaderIcon.vue";
|
|
339
|
+
|
|
340
|
+
const _hoisted_1$e = { class: "extended__multiselect-loader" };
|
|
341
|
+
const _hoisted_2$d = /*#__PURE__*/createElementVNode("svg", {
|
|
334
342
|
version: "1.1",
|
|
335
343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
336
344
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -426,7 +434,7 @@ const _hoisted_3$5 = /*#__PURE__*/createElementVNode("svg", {
|
|
|
426
434
|
], -1 /* HOISTED */);
|
|
427
435
|
|
|
428
436
|
|
|
429
|
-
var script$
|
|
437
|
+
var script$e = {
|
|
430
438
|
__name: 'ExtendedMultiselectLoader',
|
|
431
439
|
props: {
|
|
432
440
|
/**
|
|
@@ -456,10 +464,6 @@ const loaderIconFilter = inject("loaderIconFilter");
|
|
|
456
464
|
|
|
457
465
|
const { iconSize } = toRefs(props);
|
|
458
466
|
|
|
459
|
-
const { createImagePath } = useImagePath();
|
|
460
|
-
|
|
461
|
-
const loaderIcon = ref(createImagePath("loader.svg"));
|
|
462
|
-
|
|
463
467
|
const { iconSizeClass } = useSizes(iconSize);
|
|
464
468
|
|
|
465
469
|
/**
|
|
@@ -498,26 +502,49 @@ const iconFilterClass = computed(() => {
|
|
|
498
502
|
});
|
|
499
503
|
|
|
500
504
|
return (_ctx, _cache) => {
|
|
501
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
505
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
506
|
+
(!_ctx.loading)
|
|
507
|
+
? (openBlock(), createBlock(script$f, {
|
|
508
|
+
key: 0,
|
|
509
|
+
class: normalizeClass([iconFilterClass.value, unref(iconSizeClass), 'extended__multiselect-loader-animate'])
|
|
510
|
+
}, null, 8 /* PROPS */, ["class"]))
|
|
511
|
+
: createCommentVNode("v-if", true),
|
|
512
|
+
_hoisted_2$d
|
|
508
513
|
]))
|
|
509
514
|
}
|
|
510
515
|
}
|
|
511
516
|
|
|
512
517
|
};
|
|
513
518
|
|
|
514
|
-
script$
|
|
519
|
+
script$e.__file = "src/components/ExtendedMultiselectLoader.vue";
|
|
520
|
+
|
|
521
|
+
const _hoisted_1$d = {
|
|
522
|
+
style: {"enable-background":"new 0 0 35.999 36.005"},
|
|
523
|
+
version: "1.1",
|
|
524
|
+
viewBox: "0 0 35.505 36.005",
|
|
525
|
+
"xml:space": "preserve",
|
|
526
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
527
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
528
|
+
};
|
|
529
|
+
const _hoisted_2$c = /*#__PURE__*/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);
|
|
530
|
+
const _hoisted_4$4 = [
|
|
531
|
+
_hoisted_2$c
|
|
532
|
+
];
|
|
533
|
+
|
|
534
|
+
function render$7(_ctx, _cache) {
|
|
535
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$d, [..._hoisted_4$4]))
|
|
536
|
+
}
|
|
515
537
|
|
|
516
|
-
const
|
|
517
|
-
const _hoisted_2$5 = ["src"];
|
|
538
|
+
const script$d = {};
|
|
518
539
|
|
|
519
540
|
|
|
520
|
-
|
|
541
|
+
script$d.render = render$7;
|
|
542
|
+
script$d.__file = "src/icons/CancelIcon.vue";
|
|
543
|
+
|
|
544
|
+
const _hoisted_1$c = ["tabindex"];
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
var script$c = {
|
|
521
548
|
__name: 'ExtendedMultiselectCancel',
|
|
522
549
|
props: {
|
|
523
550
|
/**
|
|
@@ -612,10 +639,6 @@ const {
|
|
|
612
639
|
tabindex,
|
|
613
640
|
} = toRefs(props);
|
|
614
641
|
|
|
615
|
-
const { createImagePath } = useImagePath();
|
|
616
|
-
|
|
617
|
-
const cancelIcon = ref(createImagePath("cancel.svg"));
|
|
618
|
-
|
|
619
642
|
const { cancel } = useCancel(
|
|
620
643
|
disabled,
|
|
621
644
|
showSearchField,
|
|
@@ -659,24 +682,22 @@ return (_ctx, _cache) => {
|
|
|
659
682
|
onKeypress: _cache[1] || (_cache[1] = withModifiers((...args) => (unref(cancel) && unref(cancel)(...args)), ["stop"]))
|
|
660
683
|
}, [
|
|
661
684
|
(!unref(loading))
|
|
662
|
-
? (openBlock(),
|
|
685
|
+
? (openBlock(), createBlock(script$d, {
|
|
663
686
|
key: 0,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
}, null, 10 /* CLASS, PROPS */, _hoisted_2$5))
|
|
668
|
-
: (openBlock(), createBlock(script$6, {
|
|
687
|
+
class: normalizeClass(unref(iconSizeClass))
|
|
688
|
+
}, null, 8 /* PROPS */, ["class"]))
|
|
689
|
+
: (openBlock(), createBlock(script$e, {
|
|
669
690
|
key: 1,
|
|
670
691
|
"icon-filter": unref(loaderIconFilter),
|
|
671
692
|
"icon-size": unref(iconSize)
|
|
672
693
|
}, null, 8 /* PROPS */, ["icon-filter", "icon-size"]))
|
|
673
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$
|
|
694
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$c))
|
|
674
695
|
}
|
|
675
696
|
}
|
|
676
697
|
|
|
677
698
|
};
|
|
678
699
|
|
|
679
|
-
script$
|
|
700
|
+
script$c.__file = "src/components/ExtendedMultiselectCancel.vue";
|
|
680
701
|
|
|
681
702
|
class Debounce {
|
|
682
703
|
constructor(callback, timer) {
|
|
@@ -703,15 +724,14 @@ function useDebounce() {
|
|
|
703
724
|
};
|
|
704
725
|
}
|
|
705
726
|
|
|
706
|
-
const _hoisted_1$
|
|
707
|
-
const _hoisted_2$
|
|
727
|
+
const _hoisted_1$b = { class: "extended__multiselect-block extended__multiselect-block--multiple" };
|
|
728
|
+
const _hoisted_2$b = {
|
|
708
729
|
key: 0,
|
|
709
730
|
class: "extended__multiselect-placeholder"
|
|
710
731
|
};
|
|
711
|
-
const _hoisted_3$4 = ["src", "onClick"];
|
|
712
732
|
|
|
713
733
|
|
|
714
|
-
var script$
|
|
734
|
+
var script$b = {
|
|
715
735
|
__name: 'ExtendedMultiselectMultiple',
|
|
716
736
|
props: {
|
|
717
737
|
/**
|
|
@@ -884,11 +904,8 @@ const {
|
|
|
884
904
|
toggleMultipleBlocksLimit,
|
|
885
905
|
} = toRefs(props);
|
|
886
906
|
|
|
887
|
-
const { createImagePath } = useImagePath();
|
|
888
|
-
|
|
889
907
|
const optionsLimitIncreaser = ref(null);
|
|
890
908
|
const increaserClass = ref("extended__multiselect-increaser");
|
|
891
|
-
const deselectImage = ref(createImagePath("cancel.svg"));
|
|
892
909
|
|
|
893
910
|
const { optionCreateLabel } = useLabels(
|
|
894
911
|
label,
|
|
@@ -1036,9 +1053,9 @@ onBeforeMount(() => {
|
|
|
1036
1053
|
});
|
|
1037
1054
|
|
|
1038
1055
|
return (_ctx, _cache) => {
|
|
1039
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1056
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
1040
1057
|
(__props.placeholderBlockShown)
|
|
1041
|
-
? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1058
|
+
? (openBlock(), createElementBlock("span", _hoisted_2$b, toDisplayString(__props.appropriatePlaceholder), 1 /* TEXT */))
|
|
1042
1059
|
: createCommentVNode("v-if", true),
|
|
1043
1060
|
createElementVNode("div", null, [
|
|
1044
1061
|
renderSlot(_ctx.$slots, "multipleBlocks", {
|
|
@@ -1060,14 +1077,12 @@ return (_ctx, _cache) => {
|
|
|
1060
1077
|
class: normalizeClass(deselectClasses.value)
|
|
1061
1078
|
}, [
|
|
1062
1079
|
(!showLoaderIcon.value)
|
|
1063
|
-
? (openBlock(),
|
|
1080
|
+
? (openBlock(), createBlock(script$d, {
|
|
1064
1081
|
key: 0,
|
|
1065
|
-
alt: "",
|
|
1066
1082
|
class: "extended__multiselect_deselect-block-icon",
|
|
1067
|
-
src: deselectImage.value,
|
|
1068
1083
|
onClick: withModifiers($event => (deselectBlock(index)), ["stop"])
|
|
1069
|
-
}, null, 8 /* PROPS */,
|
|
1070
|
-
: (openBlock(), createBlock(script$
|
|
1084
|
+
}, null, 8 /* PROPS */, ["onClick"]))
|
|
1085
|
+
: (openBlock(), createBlock(script$e, {
|
|
1071
1086
|
key: 1,
|
|
1072
1087
|
"icon-filter": __props.iconFilter,
|
|
1073
1088
|
"icon-size": "deselect"
|
|
@@ -1101,26 +1116,26 @@ return (_ctx, _cache) => {
|
|
|
1101
1116
|
|
|
1102
1117
|
};
|
|
1103
1118
|
|
|
1104
|
-
script$
|
|
1119
|
+
script$b.__file = "src/components/ExtendedMultiselectMultiple.vue";
|
|
1105
1120
|
|
|
1106
|
-
const _hoisted_1$
|
|
1107
|
-
const _hoisted_2$
|
|
1108
|
-
const _hoisted_3$
|
|
1121
|
+
const _hoisted_1$a = { key: 0 };
|
|
1122
|
+
const _hoisted_2$a = ["accesskey", "autocomplete", "disabled", "id", "name", "placeholder", "spellcheck", "tabindex", "translate"];
|
|
1123
|
+
const _hoisted_3$6 = {
|
|
1109
1124
|
key: 0,
|
|
1110
1125
|
class: "extended__multiselect-placeholder"
|
|
1111
1126
|
};
|
|
1112
|
-
const _hoisted_4$
|
|
1113
|
-
const _hoisted_5$
|
|
1127
|
+
const _hoisted_4$3 = { key: 1 };
|
|
1128
|
+
const _hoisted_5$3 = {
|
|
1114
1129
|
key: 2,
|
|
1115
1130
|
class: "extended__multiselect-block"
|
|
1116
1131
|
};
|
|
1117
|
-
const _hoisted_6$
|
|
1132
|
+
const _hoisted_6$3 = {
|
|
1118
1133
|
key: 0,
|
|
1119
1134
|
class: "extended__multiselect-placeholder"
|
|
1120
1135
|
};
|
|
1121
1136
|
|
|
1122
1137
|
|
|
1123
|
-
var script$
|
|
1138
|
+
var script$a = {
|
|
1124
1139
|
__name: 'ExtendedMultiselectInput',
|
|
1125
1140
|
props: {
|
|
1126
1141
|
/**
|
|
@@ -1448,7 +1463,7 @@ const multipleBlocksMargin = computed(() => {
|
|
|
1448
1463
|
* @returns {boolean} display
|
|
1449
1464
|
*/
|
|
1450
1465
|
const placeholderBlockShown = computed(() => {
|
|
1451
|
-
if (selectedOptions.value.length || searchFieldForwarding.value
|
|
1466
|
+
if (selectedOptions.value.length) { // || searchFieldForwarding.value
|
|
1452
1467
|
return false;
|
|
1453
1468
|
}
|
|
1454
1469
|
|
|
@@ -1681,7 +1696,7 @@ onMounted(() => {
|
|
|
1681
1696
|
|
|
1682
1697
|
return (_ctx, _cache) => {
|
|
1683
1698
|
return (unref(showSearchField))
|
|
1684
|
-
? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1699
|
+
? (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
1685
1700
|
withDirectives(createElementVNode("input", {
|
|
1686
1701
|
"aria-controls": "extended-search-field",
|
|
1687
1702
|
ref_key: "extendedInput",
|
|
@@ -1701,7 +1716,7 @@ return (_ctx, _cache) => {
|
|
|
1701
1716
|
onBlur: withModifiers(rollUp, ["prevent"]),
|
|
1702
1717
|
onFocus: withModifiers(expand, ["prevent"]),
|
|
1703
1718
|
onInput: search
|
|
1704
|
-
}, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$
|
|
1719
|
+
}, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$a), [
|
|
1705
1720
|
[vModelText, searchValue.value]
|
|
1706
1721
|
]),
|
|
1707
1722
|
withDirectives(createElementVNode("div", {
|
|
@@ -1715,9 +1730,9 @@ return (_ctx, _cache) => {
|
|
|
1715
1730
|
[vShow, !searchFieldForwarding.value && !unref(multiple) && !placeholderBlockShown.value]
|
|
1716
1731
|
]),
|
|
1717
1732
|
(placeholderBlockShown.value)
|
|
1718
|
-
? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
1733
|
+
? (openBlock(), createElementBlock("span", _hoisted_3$6, toDisplayString(appropriatePlaceholder.value), 1 /* TEXT */))
|
|
1719
1734
|
: createCommentVNode("v-if", true),
|
|
1720
|
-
withDirectives(createVNode(script$
|
|
1735
|
+
withDirectives(createVNode(script$b, {
|
|
1721
1736
|
style: normalizeStyle(multipleBlocksMargin.value),
|
|
1722
1737
|
disabled: unref(disabled),
|
|
1723
1738
|
loading: __props.loading,
|
|
@@ -1766,8 +1781,8 @@ return (_ctx, _cache) => {
|
|
|
1766
1781
|
])
|
|
1767
1782
|
]))
|
|
1768
1783
|
: (!unref(showSearchField) && unref(multiple))
|
|
1769
|
-
? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1770
|
-
createVNode(script$
|
|
1784
|
+
? (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
1785
|
+
createVNode(script$b, {
|
|
1771
1786
|
disabled: unref(disabled),
|
|
1772
1787
|
loading: __props.loading,
|
|
1773
1788
|
"icon-filter": __props.loaderIconFilter,
|
|
@@ -1819,9 +1834,9 @@ return (_ctx, _cache) => {
|
|
|
1819
1834
|
onFocus: withModifiers(expand, ["prevent"])
|
|
1820
1835
|
}, null, 544 /* NEED_HYDRATION, NEED_PATCH */)
|
|
1821
1836
|
]))
|
|
1822
|
-
: (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1837
|
+
: (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
1823
1838
|
(placeholderBlockShown.value)
|
|
1824
|
-
? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
1839
|
+
? (openBlock(), createElementBlock("span", _hoisted_6$3, toDisplayString(appropriatePlaceholder.value), 1 /* TEXT */))
|
|
1825
1840
|
: createCommentVNode("v-if", true),
|
|
1826
1841
|
renderSlot(_ctx.$slots, "labelBlock", { labelBlockValue: singleLabel.value }, () => [
|
|
1827
1842
|
createElementVNode("span", null, toDisplayString(singleLabel.value), 1 /* TEXT */)
|
|
@@ -1840,23 +1855,23 @@ return (_ctx, _cache) => {
|
|
|
1840
1855
|
|
|
1841
1856
|
};
|
|
1842
1857
|
|
|
1843
|
-
script$
|
|
1858
|
+
script$a.__file = "src/components/ExtendedMultiselectInput.vue";
|
|
1844
1859
|
|
|
1845
|
-
const _hoisted_1$
|
|
1846
|
-
const _hoisted_2$
|
|
1847
|
-
const _hoisted_3$
|
|
1848
|
-
const _hoisted_4 = ["aria-setsize", "aria-posinset", "aria-labelledby", "aria-disabled", "enter-locator", "role", "onClick", "onKeypress"];
|
|
1849
|
-
const _hoisted_5 = { class: "extended__multiselect-marker" };
|
|
1850
|
-
const _hoisted_6 = {
|
|
1860
|
+
const _hoisted_1$9 = /*#__PURE__*/createElementVNode("span", null, "Maximum limit of selected options was achieved", -1 /* HOISTED */);
|
|
1861
|
+
const _hoisted_2$9 = /*#__PURE__*/createElementVNode("span", null, "Minimum amount of selected options was not achieved", -1 /* HOISTED */);
|
|
1862
|
+
const _hoisted_3$5 = { class: "extended__multiselect-options_container" };
|
|
1863
|
+
const _hoisted_4$2 = ["aria-setsize", "aria-posinset", "aria-labelledby", "aria-disabled", "enter-locator", "role", "onClick", "onKeypress"];
|
|
1864
|
+
const _hoisted_5$2 = { class: "extended__multiselect-marker" };
|
|
1865
|
+
const _hoisted_6$2 = {
|
|
1851
1866
|
key: 1,
|
|
1852
1867
|
class: "extended__multiselect-marker-shape-only"
|
|
1853
1868
|
};
|
|
1854
|
-
const _hoisted_7 = ["id"];
|
|
1855
|
-
const _hoisted_8 = /*#__PURE__*/createElementVNode("span", null, "No results were found by search", -1 /* HOISTED */);
|
|
1856
|
-
const _hoisted_9 = /*#__PURE__*/createElementVNode("span", null, "Options list is empty", -1 /* HOISTED */);
|
|
1869
|
+
const _hoisted_7$2 = ["id"];
|
|
1870
|
+
const _hoisted_8$2 = /*#__PURE__*/createElementVNode("span", null, "No results were found by search", -1 /* HOISTED */);
|
|
1871
|
+
const _hoisted_9$2 = /*#__PURE__*/createElementVNode("span", null, "Options list is empty", -1 /* HOISTED */);
|
|
1857
1872
|
|
|
1858
1873
|
|
|
1859
|
-
var script$
|
|
1874
|
+
var script$9 = {
|
|
1860
1875
|
__name: 'ExtendedMultiselectOptions',
|
|
1861
1876
|
props: {
|
|
1862
1877
|
/**
|
|
@@ -2957,15 +2972,15 @@ return (_ctx, _cache) => {
|
|
|
2957
2972
|
: createCommentVNode("v-if", true),
|
|
2958
2973
|
(maxOptionsWereSelected.value)
|
|
2959
2974
|
? renderSlot(_ctx.$slots, "moreThanLimit", { key: 1 }, () => [
|
|
2960
|
-
_hoisted_1$
|
|
2975
|
+
_hoisted_1$9
|
|
2961
2976
|
])
|
|
2962
2977
|
: createCommentVNode("v-if", true),
|
|
2963
2978
|
(minOptionsWereNotSelected.value)
|
|
2964
2979
|
? renderSlot(_ctx.$slots, "lessThanLimit", { key: 2 }, () => [
|
|
2965
|
-
_hoisted_2$
|
|
2980
|
+
_hoisted_2$9
|
|
2966
2981
|
])
|
|
2967
2982
|
: createCommentVNode("v-if", true),
|
|
2968
|
-
createElementVNode("div", _hoisted_3$
|
|
2983
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
2969
2984
|
(openBlock(true), createElementBlock(Fragment, null, renderList(availableOptions.value, (option, index) => {
|
|
2970
2985
|
return (openBlock(), createElementBlock("div", {
|
|
2971
2986
|
role: "listbox",
|
|
@@ -2991,7 +3006,7 @@ return (_ctx, _cache) => {
|
|
|
2991
3006
|
option: option,
|
|
2992
3007
|
createCustomOptionLabel: unref(createCustomOptionLabel)
|
|
2993
3008
|
}, () => [
|
|
2994
|
-
createElementVNode("div", _hoisted_5, [
|
|
3009
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
2995
3010
|
renderSlot(_ctx.$slots, "marker", {
|
|
2996
3011
|
selected: showCurrentMarker(option)
|
|
2997
3012
|
}, () => [
|
|
@@ -3002,27 +3017,27 @@ return (_ctx, _cache) => {
|
|
|
3002
3017
|
style: normalizeStyle(markerShapeMargin.value)
|
|
3003
3018
|
}, null, 6 /* CLASS, STYLE */))
|
|
3004
3019
|
: (unref(showMarker))
|
|
3005
|
-
? (openBlock(), createElementBlock("div", _hoisted_6))
|
|
3020
|
+
? (openBlock(), createElementBlock("div", _hoisted_6$2))
|
|
3006
3021
|
: createCommentVNode("v-if", true)
|
|
3007
3022
|
])
|
|
3008
3023
|
]),
|
|
3009
3024
|
createElementVNode("span", {
|
|
3010
3025
|
id: `option-label-${index}`
|
|
3011
|
-
}, toDisplayString(unref(optionCreateLabel)(option)), 9 /* TEXT, PROPS */, _hoisted_7)
|
|
3026
|
+
}, toDisplayString(unref(optionCreateLabel)(option)), 9 /* TEXT, PROPS */, _hoisted_7$2)
|
|
3012
3027
|
])
|
|
3013
|
-
], 46 /* CLASS, STYLE, PROPS, NEED_HYDRATION */, _hoisted_4))
|
|
3028
|
+
], 46 /* CLASS, STYLE, PROPS, NEED_HYDRATION */, _hoisted_4$2))
|
|
3014
3029
|
: createCommentVNode("v-if", true)
|
|
3015
3030
|
]))
|
|
3016
3031
|
}), 128 /* KEYED_FRAGMENT */))
|
|
3017
3032
|
]),
|
|
3018
3033
|
(emptySearchResult.value)
|
|
3019
3034
|
? renderSlot(_ctx.$slots, "noResults", { key: 3 }, () => [
|
|
3020
|
-
_hoisted_8
|
|
3035
|
+
_hoisted_8$2
|
|
3021
3036
|
])
|
|
3022
3037
|
: createCommentVNode("v-if", true),
|
|
3023
3038
|
(emptyOptionsList.value)
|
|
3024
3039
|
? renderSlot(_ctx.$slots, "noOptions", { key: 4 }, () => [
|
|
3025
|
-
_hoisted_9
|
|
3040
|
+
_hoisted_9$2
|
|
3026
3041
|
])
|
|
3027
3042
|
: createCommentVNode("v-if", true),
|
|
3028
3043
|
renderSlot(_ctx.$slots, "listFooter")
|
|
@@ -3032,11 +3047,256 @@ return (_ctx, _cache) => {
|
|
|
3032
3047
|
|
|
3033
3048
|
};
|
|
3034
3049
|
|
|
3035
|
-
script$
|
|
3050
|
+
script$9.__file = "src/components/ExtendedMultiselectOptions.vue";
|
|
3051
|
+
|
|
3052
|
+
const _hoisted_1$8 = {
|
|
3053
|
+
version: "1.1",
|
|
3054
|
+
id: "Capa_1",
|
|
3055
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3056
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3057
|
+
x: "0px",
|
|
3058
|
+
y: "0px",
|
|
3059
|
+
viewBox: "0 0 490 490",
|
|
3060
|
+
style: {"enable-background":"new 0 0 490 490"},
|
|
3061
|
+
"xml:space": "preserve"
|
|
3062
|
+
};
|
|
3063
|
+
const _hoisted_2$8 = /*#__PURE__*/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);
|
|
3064
|
+
const _hoisted_18$4 = [
|
|
3065
|
+
_hoisted_2$8
|
|
3066
|
+
];
|
|
3067
|
+
|
|
3068
|
+
function render$6(_ctx, _cache) {
|
|
3069
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$8, [..._hoisted_18$4]))
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
const script$8 = {};
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
script$8.render = render$6;
|
|
3076
|
+
script$8.__file = "src/icons/BaseArrowIcon.vue";
|
|
3077
|
+
|
|
3078
|
+
const _hoisted_1$7 = {
|
|
3079
|
+
version: "1.1",
|
|
3080
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3081
|
+
viewBox: "0 0 26 26",
|
|
3082
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3083
|
+
"enable-background": "new 0 0 26 26"
|
|
3084
|
+
};
|
|
3085
|
+
const _hoisted_2$7 = /*#__PURE__*/createElementVNode("g", null, [
|
|
3086
|
+
/*#__PURE__*/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" }),
|
|
3087
|
+
/*#__PURE__*/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" })
|
|
3088
|
+
], -1 /* HOISTED */);
|
|
3089
|
+
const _hoisted_3$4 = [
|
|
3090
|
+
_hoisted_2$7
|
|
3091
|
+
];
|
|
3092
|
+
|
|
3093
|
+
function render$5(_ctx, _cache) {
|
|
3094
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$7, [..._hoisted_3$4]))
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
const script$7 = {};
|
|
3098
|
+
|
|
3099
|
+
|
|
3100
|
+
script$7.render = render$5;
|
|
3101
|
+
script$7.__file = "src/icons/CircleArrowIcon.vue";
|
|
3102
|
+
|
|
3103
|
+
const _hoisted_1$6 = {
|
|
3104
|
+
version: "1.1",
|
|
3105
|
+
id: "Capa_1",
|
|
3106
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3107
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3108
|
+
x: "0px",
|
|
3109
|
+
y: "0px",
|
|
3110
|
+
viewBox: "0 0 490.037 490.037",
|
|
3111
|
+
style: {"enable-background":"new 0 0 490.037 490.037"},
|
|
3112
|
+
"xml:space": "preserve"
|
|
3113
|
+
};
|
|
3114
|
+
const _hoisted_2$6 = /*#__PURE__*/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 */);
|
|
3115
|
+
const _hoisted_3$3 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3116
|
+
const _hoisted_4$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3117
|
+
const _hoisted_5$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3118
|
+
const _hoisted_6$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3119
|
+
const _hoisted_7$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3120
|
+
const _hoisted_8$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3121
|
+
const _hoisted_9$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3122
|
+
const _hoisted_10$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3123
|
+
const _hoisted_11$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3124
|
+
const _hoisted_12$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3125
|
+
const _hoisted_13$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3126
|
+
const _hoisted_14$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3127
|
+
const _hoisted_15$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3128
|
+
const _hoisted_16$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3129
|
+
const _hoisted_17$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3130
|
+
const _hoisted_18$3 = [
|
|
3131
|
+
_hoisted_2$6,
|
|
3132
|
+
_hoisted_3$3,
|
|
3133
|
+
_hoisted_4$1,
|
|
3134
|
+
_hoisted_5$1,
|
|
3135
|
+
_hoisted_6$1,
|
|
3136
|
+
_hoisted_7$1,
|
|
3137
|
+
_hoisted_8$1,
|
|
3138
|
+
_hoisted_9$1,
|
|
3139
|
+
_hoisted_10$1,
|
|
3140
|
+
_hoisted_11$1,
|
|
3141
|
+
_hoisted_12$1,
|
|
3142
|
+
_hoisted_13$1,
|
|
3143
|
+
_hoisted_14$1,
|
|
3144
|
+
_hoisted_15$1,
|
|
3145
|
+
_hoisted_16$1,
|
|
3146
|
+
_hoisted_17$1
|
|
3147
|
+
];
|
|
3148
|
+
|
|
3149
|
+
function render$4(_ctx, _cache) {
|
|
3150
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$6, [..._hoisted_18$3]))
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
const script$6 = {};
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
script$6.render = render$4;
|
|
3157
|
+
script$6.__file = "src/icons/DoubleArrowIcon.vue";
|
|
3158
|
+
|
|
3159
|
+
const _hoisted_1$5 = {
|
|
3160
|
+
version: "1.1",
|
|
3161
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3162
|
+
viewBox: "0 0 137.145 137.145",
|
|
3163
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3164
|
+
"enable-background": "new 0 0 137.145 137.145"
|
|
3165
|
+
};
|
|
3166
|
+
const _hoisted_2$5 = /*#__PURE__*/createElementVNode("g", null, [
|
|
3167
|
+
/*#__PURE__*/createElementVNode("g", null, [
|
|
3168
|
+
/*#__PURE__*/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" })
|
|
3169
|
+
])
|
|
3170
|
+
], -1 /* HOISTED */);
|
|
3171
|
+
const _hoisted_3$2 = [
|
|
3172
|
+
_hoisted_2$5
|
|
3173
|
+
];
|
|
3174
|
+
|
|
3175
|
+
function render$3(_ctx, _cache) {
|
|
3176
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$5, [..._hoisted_3$2]))
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
const script$5 = {};
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
script$5.render = render$3;
|
|
3183
|
+
script$5.__file = "src/icons/InnerArrowIcon.vue";
|
|
3184
|
+
|
|
3185
|
+
const _hoisted_1$4 = {
|
|
3186
|
+
version: "1.1",
|
|
3187
|
+
id: "Capa_1",
|
|
3188
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3189
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3190
|
+
x: "0px",
|
|
3191
|
+
y: "0px",
|
|
3192
|
+
viewBox: "0 0 16 16",
|
|
3193
|
+
style: {"enable-background":"new 0 0 16 16"},
|
|
3194
|
+
"xml:space": "preserve"
|
|
3195
|
+
};
|
|
3196
|
+
const _hoisted_2$4 = /*#__PURE__*/createElementVNode("g", null, [
|
|
3197
|
+
/*#__PURE__*/createElementVNode("path", {
|
|
3198
|
+
style: {"fill":"#030104"},
|
|
3199
|
+
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"
|
|
3200
|
+
})
|
|
3201
|
+
], -1 /* HOISTED */);
|
|
3202
|
+
const _hoisted_3$1 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3203
|
+
const _hoisted_4 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3204
|
+
const _hoisted_5 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3205
|
+
const _hoisted_6 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3206
|
+
const _hoisted_7 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3207
|
+
const _hoisted_8 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3208
|
+
const _hoisted_9 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3209
|
+
const _hoisted_10 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3210
|
+
const _hoisted_11 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3211
|
+
const _hoisted_12 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3212
|
+
const _hoisted_13 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3213
|
+
const _hoisted_14 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3214
|
+
const _hoisted_15 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3215
|
+
const _hoisted_16 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3216
|
+
const _hoisted_17 = /*#__PURE__*/createElementVNode("g", null, null, -1 /* HOISTED */);
|
|
3217
|
+
const _hoisted_18$2 = [
|
|
3218
|
+
_hoisted_2$4,
|
|
3219
|
+
_hoisted_3$1,
|
|
3220
|
+
_hoisted_4,
|
|
3221
|
+
_hoisted_5,
|
|
3222
|
+
_hoisted_6,
|
|
3223
|
+
_hoisted_7,
|
|
3224
|
+
_hoisted_8,
|
|
3225
|
+
_hoisted_9,
|
|
3226
|
+
_hoisted_10,
|
|
3227
|
+
_hoisted_11,
|
|
3228
|
+
_hoisted_12,
|
|
3229
|
+
_hoisted_13,
|
|
3230
|
+
_hoisted_14,
|
|
3231
|
+
_hoisted_15,
|
|
3232
|
+
_hoisted_16,
|
|
3233
|
+
_hoisted_17
|
|
3234
|
+
];
|
|
3235
|
+
|
|
3236
|
+
function render$2(_ctx, _cache) {
|
|
3237
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$4, [..._hoisted_18$2]))
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
const script$4 = {};
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
script$4.render = render$2;
|
|
3244
|
+
script$4.__file = "src/icons/TriangleCircleArrowIcon.vue";
|
|
3245
|
+
|
|
3246
|
+
const _hoisted_1$3 = {
|
|
3247
|
+
version: "1.1",
|
|
3248
|
+
id: "Capa_1",
|
|
3249
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3250
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3251
|
+
x: "0px",
|
|
3252
|
+
y: "0px",
|
|
3253
|
+
viewBox: "0 0 490 490",
|
|
3254
|
+
style: {"enable-background":"new 0 0 490 490"},
|
|
3255
|
+
"xml:space": "preserve"
|
|
3256
|
+
};
|
|
3257
|
+
const _hoisted_2$3 = /*#__PURE__*/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);
|
|
3258
|
+
const _hoisted_18$1 = [
|
|
3259
|
+
_hoisted_2$3
|
|
3260
|
+
];
|
|
3261
|
+
|
|
3262
|
+
function render$1(_ctx, _cache) {
|
|
3263
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$3, [..._hoisted_18$1]))
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
const script$3 = {};
|
|
3267
|
+
|
|
3268
|
+
|
|
3269
|
+
script$3.render = render$1;
|
|
3270
|
+
script$3.__file = "src/icons/WideArrowIcon.vue";
|
|
3271
|
+
|
|
3272
|
+
const _hoisted_1$2 = {
|
|
3273
|
+
version: "1.1",
|
|
3274
|
+
id: "Capa_1",
|
|
3275
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3276
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3277
|
+
x: "0px",
|
|
3278
|
+
y: "0px",
|
|
3279
|
+
viewBox: "0 0 491.858 491.858",
|
|
3280
|
+
style: {"enable-background":"new 0 0 491.858 491.858"},
|
|
3281
|
+
"xml:space": "preserve"
|
|
3282
|
+
};
|
|
3283
|
+
const _hoisted_2$2 = /*#__PURE__*/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);
|
|
3284
|
+
const _hoisted_18 = [
|
|
3285
|
+
_hoisted_2$2
|
|
3286
|
+
];
|
|
3287
|
+
|
|
3288
|
+
function render(_ctx, _cache) {
|
|
3289
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$2, [..._hoisted_18]))
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
const script$2 = {};
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
script$2.render = render;
|
|
3296
|
+
script$2.__file = "src/icons/TriangleArrowIcon.vue";
|
|
3036
3297
|
|
|
3037
3298
|
const _hoisted_1$1 = ["aria-checked", "tabindex"];
|
|
3038
|
-
const _hoisted_2$1 =
|
|
3039
|
-
const _hoisted_3$1 = /*#__PURE__*/createElementVNode("svg", {
|
|
3299
|
+
const _hoisted_2$1 = /*#__PURE__*/createElementVNode("svg", {
|
|
3040
3300
|
version: "1.1",
|
|
3041
3301
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3042
3302
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -3193,8 +3453,6 @@ const {
|
|
|
3193
3453
|
toggleIcon,
|
|
3194
3454
|
} = toRefs(props);
|
|
3195
3455
|
|
|
3196
|
-
const { createImagePath } = useImagePath();
|
|
3197
|
-
|
|
3198
3456
|
const { toggleSlotClass, toggleOptionsList } = useToggle(
|
|
3199
3457
|
loading,
|
|
3200
3458
|
disabled,
|
|
@@ -3222,25 +3480,23 @@ const classesSummary = computed(() => {
|
|
|
3222
3480
|
* @returns {string} icon
|
|
3223
3481
|
*/
|
|
3224
3482
|
const icon = computed(() => {
|
|
3225
|
-
const baseArrow = createImagePath("base-arrow.svg");
|
|
3226
|
-
|
|
3227
3483
|
switch(toggleIcon.value) {
|
|
3228
3484
|
case "base-arrow":
|
|
3229
|
-
return
|
|
3485
|
+
return script$8;
|
|
3230
3486
|
case "double-arrow":
|
|
3231
|
-
return
|
|
3487
|
+
return script$6;
|
|
3232
3488
|
case "wide-arrow":
|
|
3233
|
-
return
|
|
3489
|
+
return script$3;
|
|
3234
3490
|
case "circle-arrow":
|
|
3235
|
-
return
|
|
3491
|
+
return script$7;
|
|
3236
3492
|
case "inner-arrow":
|
|
3237
|
-
return
|
|
3493
|
+
return script$5;
|
|
3238
3494
|
case "triangle-arrow":
|
|
3239
|
-
return
|
|
3495
|
+
return script$2;
|
|
3240
3496
|
case "triangle-circle-arrow":
|
|
3241
|
-
return
|
|
3497
|
+
return script$4;
|
|
3242
3498
|
default:
|
|
3243
|
-
return
|
|
3499
|
+
return script$8;
|
|
3244
3500
|
}
|
|
3245
3501
|
});
|
|
3246
3502
|
|
|
@@ -3299,18 +3555,16 @@ return (_ctx, _cache) => {
|
|
|
3299
3555
|
onKeypress: _cache[2] || (_cache[2] = withModifiers($event => (unref(toggleOptionsList)($event)), ["stop"]))
|
|
3300
3556
|
}, [
|
|
3301
3557
|
(!unref(loading))
|
|
3302
|
-
? (openBlock(),
|
|
3303
|
-
key: 0,
|
|
3304
|
-
alt: "",
|
|
3558
|
+
? (openBlock(), createBlock(resolveDynamicComponent(icon.value), {
|
|
3305
3559
|
class: normalizeClass(classesSummary.value),
|
|
3306
|
-
|
|
3307
|
-
}, null,
|
|
3308
|
-
: (openBlock(), createBlock(script$
|
|
3560
|
+
key: icon.value
|
|
3561
|
+
}, null, 8 /* PROPS */, ["class"]))
|
|
3562
|
+
: (openBlock(), createBlock(script$e, {
|
|
3309
3563
|
key: 1,
|
|
3310
3564
|
"icon-filter": unref(loaderIconFilter),
|
|
3311
3565
|
"icon-size": unref(iconSize)
|
|
3312
3566
|
}, null, 8 /* PROPS */, ["icon-filter", "icon-size"])),
|
|
3313
|
-
|
|
3567
|
+
_hoisted_2$1
|
|
3314
3568
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$1))
|
|
3315
3569
|
}
|
|
3316
3570
|
}
|
|
@@ -3329,7 +3583,7 @@ const _hoisted_3 = { class: "extended__multiselect-cancel_wrapper" };
|
|
|
3329
3583
|
|
|
3330
3584
|
/**
|
|
3331
3585
|
* @author Ridiger Daniil Dmitrievich, 2022
|
|
3332
|
-
* @version 2.
|
|
3586
|
+
* @version 2.2.0
|
|
3333
3587
|
*/
|
|
3334
3588
|
|
|
3335
3589
|
var script = {
|
|
@@ -5011,7 +5265,7 @@ return (_ctx, _cache) => {
|
|
|
5011
5265
|
style: normalizeStyle([displayWrongValue.value, expanded.value])
|
|
5012
5266
|
}, [
|
|
5013
5267
|
createElementVNode("div", null, [
|
|
5014
|
-
createVNode(script$
|
|
5268
|
+
createVNode(script$a, {
|
|
5015
5269
|
accesskey: unref(attrs).accesskey,
|
|
5016
5270
|
autocomplete: unref(attrs).autocomplete,
|
|
5017
5271
|
name: unref(attrs).name,
|
|
@@ -5118,7 +5372,7 @@ return (_ctx, _cache) => {
|
|
|
5118
5372
|
createElementVNode("div", _hoisted_3, [
|
|
5119
5373
|
renderSlot(_ctx.$slots, "cancel", { cancel: unref(cancel) }, () => [
|
|
5120
5374
|
(unref(showClearIcon))
|
|
5121
|
-
? (openBlock(), createBlock(script$
|
|
5375
|
+
? (openBlock(), createBlock(script$c, {
|
|
5122
5376
|
key: 0,
|
|
5123
5377
|
tabindex: unref(attrs).tabindex,
|
|
5124
5378
|
disabled: unref(disabled),
|
|
@@ -5139,7 +5393,7 @@ return (_ctx, _cache) => {
|
|
|
5139
5393
|
}, {
|
|
5140
5394
|
default: withCtx(() => [
|
|
5141
5395
|
(dropdownActive.value)
|
|
5142
|
-
? (openBlock(), createBlock(script$
|
|
5396
|
+
? (openBlock(), createBlock(script$9, {
|
|
5143
5397
|
key: 0,
|
|
5144
5398
|
"auto-select-created-option": __props.autoSelectCreatedOption,
|
|
5145
5399
|
"clear-by-select-when-multiple": __props.clearBySelectWhenMultiple,
|