@vc-shell/framework 1.1.84-alpha.0 → 1.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.1.84](https://github.com/VirtoCommerce/vc-shell/compare/v1.1.84-alpha.0...v1.1.84) (2025-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **vc-select:** enhance option value retrieval to support primitive types and improve label filtering ([90c9530](https://github.com/VirtoCommerce/vc-shell/commit/90c9530c66e31df7216db9b873fba275c566d8f7))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.1.84-alpha.0](https://github.com/VirtoCommerce/vc-shell/compare/v1.1.83...v1.1.84-alpha.0) (2025-09-30)
|
|
2
11
|
|
|
3
12
|
|
package/dist/framework.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as ru from "vue-router";
|
|
2
2
|
import { useRoute as jo, RouterView as lu, useRouter as Vt } from "vue-router";
|
|
3
3
|
import * as au from "vue";
|
|
4
|
-
import { defineComponent as G, computed as O, createElementBlock as w, openBlock as h, normalizeClass as J, createElementVNode as A, renderSlot as Y, createCommentVNode as B, normalizeStyle as Oe, toDisplayString as z, unref as m, ref as $, onMounted as Me, markRaw as Be, createBlock as x, resolveDynamicComponent as Ce, mergeProps as fe, resolveComponent as Z, watch as re, createVNode as R, Transition as rt, withCtx as P, withDirectives as De, vShow as _t, shallowRef as qe, inject as he, Fragment as ne, renderList as pe, createSlots as Ae, createTextVNode as oe, onUnmounted as Tt, readonly as Sn, getCurrentInstance as ut, onErrorCaptured as uu, nextTick as Ye, provide as ze, onBeforeMount as Us, onBeforeUnmount as $t, reactive as Ie, toValue as q, watchEffect as sr, useAttrs as cu, Teleport as Zt, toRef as js, withModifiers as
|
|
4
|
+
import { defineComponent as G, computed as O, createElementBlock as w, openBlock as h, normalizeClass as J, createElementVNode as A, renderSlot as Y, createCommentVNode as B, normalizeStyle as Oe, toDisplayString as z, unref as m, ref as $, onMounted as Me, markRaw as Be, createBlock as x, resolveDynamicComponent as Ce, mergeProps as fe, resolveComponent as Z, watch as re, createVNode as R, Transition as rt, withCtx as P, withDirectives as De, vShow as _t, shallowRef as qe, inject as he, Fragment as ne, renderList as pe, createSlots as Ae, createTextVNode as oe, onUnmounted as Tt, readonly as Sn, getCurrentInstance as ut, onErrorCaptured as uu, nextTick as Ye, provide as ze, onBeforeMount as Us, onBeforeUnmount as $t, reactive as Ie, toValue as q, watchEffect as sr, useAttrs as cu, Teleport as Zt, toRef as js, withModifiers as de, withKeys as Pe, vModelText as du, resolveDirective as xo, vModelDynamic as ir, normalizeProps as Dt, guardReactiveProps as Ht, toRefs as Ze, vModelCheckbox as pu, isRef as En, h as ee, createApp as fu, toRaw as mu, isVNode as xs, warn as ao, shallowReactive as hu, watchPostEffect as vu, useSlots as Ut, onUpdated as gu, toHandlers as fn } from "vue";
|
|
5
5
|
import { u as vo } from "./vendor-floating-ui-vue-ClrgkeO5.js";
|
|
6
6
|
import { o as zo, s as Fo, f as zs, a as Cn } from "./vendor-floating-ui-dom-3z44E4mf.js";
|
|
7
7
|
import { u as go, c as Fs, a as bu, b as yu, d as wu, e as _u, o as Su, f as rr, V as Eu, g as Cu } from "./vendor-vueuse-core-CYgwn-B2.js";
|
|
@@ -8001,7 +8001,7 @@ const jf = {
|
|
|
8001
8001
|
t.value ? (h(), w("div", {
|
|
8002
8002
|
key: 0,
|
|
8003
8003
|
class: "vc-editor-font-selector__menu",
|
|
8004
|
-
onClick: p[1] || (p[1] =
|
|
8004
|
+
onClick: p[1] || (p[1] = de(() => {
|
|
8005
8005
|
}, ["stop"]))
|
|
8006
8006
|
}, [
|
|
8007
8007
|
(h(), w(ne, null, pe(o, (f) => A("div", {
|
|
@@ -8568,7 +8568,7 @@ const jf = {
|
|
|
8568
8568
|
t("submit");
|
|
8569
8569
|
};
|
|
8570
8570
|
return (o, i) => (h(), w("form", {
|
|
8571
|
-
onSubmit:
|
|
8571
|
+
onSubmit: de(s, ["prevent"])
|
|
8572
8572
|
}, [
|
|
8573
8573
|
Y(o.$slots, "default", {}, () => [
|
|
8574
8574
|
i[0] || (i[0] = oe("vc-form", -1))
|
|
@@ -8622,17 +8622,17 @@ const jf = {
|
|
|
8622
8622
|
"vc-file-upload__drop-zone--dragging": l.value
|
|
8623
8623
|
}
|
|
8624
8624
|
]]),
|
|
8625
|
-
onDrop:
|
|
8626
|
-
onDrag: b[0] || (b[0] =
|
|
8625
|
+
onDrop: de(y, ["stop", "prevent"]),
|
|
8626
|
+
onDrag: b[0] || (b[0] = de(() => {
|
|
8627
8627
|
}, ["stop", "prevent"])),
|
|
8628
|
-
onDragstart: b[1] || (b[1] =
|
|
8628
|
+
onDragstart: b[1] || (b[1] = de(() => {
|
|
8629
8629
|
}, ["stop", "prevent"])),
|
|
8630
|
-
onDragend: b[2] || (b[2] =
|
|
8630
|
+
onDragend: b[2] || (b[2] = de(() => {
|
|
8631
8631
|
}, ["stop", "prevent"])),
|
|
8632
|
-
onDragover:
|
|
8633
|
-
onDragenter: b[3] || (b[3] =
|
|
8632
|
+
onDragover: de(v, ["stop", "prevent"]),
|
|
8633
|
+
onDragenter: b[3] || (b[3] = de(() => {
|
|
8634
8634
|
}, ["stop", "prevent"])),
|
|
8635
|
-
onDragleave:
|
|
8635
|
+
onDragleave: de(g, ["stop", "prevent"])
|
|
8636
8636
|
}, [
|
|
8637
8637
|
R(m(ie), {
|
|
8638
8638
|
class: "vc-file-upload__icon",
|
|
@@ -9077,10 +9077,10 @@ const jf = {
|
|
|
9077
9077
|
key: 0,
|
|
9078
9078
|
class: "vc-input-dropdown__toggle-button",
|
|
9079
9079
|
tabindex: "0",
|
|
9080
|
-
onClick:
|
|
9080
|
+
onClick: de(o, ["stop", "prevent"]),
|
|
9081
9081
|
onKeydown: [
|
|
9082
|
-
Pe(
|
|
9083
|
-
Pe(
|
|
9082
|
+
Pe(de(o, ["stop", "prevent"]), ["enter"]),
|
|
9083
|
+
Pe(de(o, ["stop", "prevent"]), ["space"])
|
|
9084
9084
|
]
|
|
9085
9085
|
}, z(m(e.option)), 41, Im)) : B("", !0)
|
|
9086
9086
|
]),
|
|
@@ -9090,7 +9090,7 @@ const jf = {
|
|
|
9090
9090
|
"icon-size": "s",
|
|
9091
9091
|
text: "",
|
|
9092
9092
|
"icon-class": "vc-input-dropdown__toggle-button-icon",
|
|
9093
|
-
onClick:
|
|
9093
|
+
onClick: de(o, ["stop", "prevent"])
|
|
9094
9094
|
}, null, 8, ["icon", "onClick"])) : B("", !0)
|
|
9095
9095
|
]),
|
|
9096
9096
|
e.$slots["append-inner"] ? Y(e.$slots, "append-inner", { key: 0 }) : B("", !0)
|
|
@@ -9341,7 +9341,7 @@ const jf = {
|
|
|
9341
9341
|
icon: "material-close",
|
|
9342
9342
|
class: "vc-notification__dismiss-icon",
|
|
9343
9343
|
size: "s",
|
|
9344
|
-
onClick:
|
|
9344
|
+
onClick: de(l, ["stop"])
|
|
9345
9345
|
})
|
|
9346
9346
|
], 42, Tm));
|
|
9347
9347
|
}
|
|
@@ -9708,14 +9708,14 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9708
9708
|
re(
|
|
9709
9709
|
[() => t.modelValue, a],
|
|
9710
9710
|
async ([W, ve]) => {
|
|
9711
|
-
let
|
|
9712
|
-
Array.isArray(W) ?
|
|
9713
|
-
const je = [...C.value.map((We) => L.value(We))].sort((We, tt) => String(We).localeCompare(String(tt))), xt = [...
|
|
9711
|
+
let ce = [];
|
|
9712
|
+
Array.isArray(W) ? ce = t.emitValue ? W : W.map((We) => L.value(We)) : W != null && (ce = [t.emitValue ? W : L.value(W)]);
|
|
9713
|
+
const je = [...C.value.map((We) => L.value(We))].sort((We, tt) => String(We).localeCompare(String(tt))), xt = [...ce].sort((We, tt) => String(We).localeCompare(String(tt))), zt = xe(je, xt) && (ce.length > 0 || C.value.length === 0);
|
|
9714
9714
|
if (!ve) {
|
|
9715
|
-
|
|
9715
|
+
ce.length === 0 && C.value.length > 0 && (C.value = []);
|
|
9716
9716
|
return;
|
|
9717
9717
|
}
|
|
9718
|
-
if (
|
|
9718
|
+
if (ce.length === 0) {
|
|
9719
9719
|
C.value.length > 0 && (C.value = []);
|
|
9720
9720
|
return;
|
|
9721
9721
|
}
|
|
@@ -9723,8 +9723,8 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9723
9723
|
if (t.options && typeof t.options == "function")
|
|
9724
9724
|
try {
|
|
9725
9725
|
g.value = !0;
|
|
9726
|
-
const We =
|
|
9727
|
-
if (We.length === 0 && !(
|
|
9726
|
+
const We = ce.filter((te) => te != null);
|
|
9727
|
+
if (We.length === 0 && !(ce.length === 1 && ce[0] == null && t.mapOptions && !t.multiple)) {
|
|
9728
9728
|
C.value = [], g.value = !1;
|
|
9729
9729
|
return;
|
|
9730
9730
|
}
|
|
@@ -9732,7 +9732,7 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9732
9732
|
if (typeof tt == "object" && !Array.isArray(tt) && "results" in tt && tt.results) {
|
|
9733
9733
|
const te = tt.results;
|
|
9734
9734
|
C.value = te.filter(
|
|
9735
|
-
(ye) =>
|
|
9735
|
+
(ye) => ce.some((Se) => xe(L.value(ye), Se))
|
|
9736
9736
|
);
|
|
9737
9737
|
} else
|
|
9738
9738
|
C.value = [];
|
|
@@ -9742,7 +9742,7 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9742
9742
|
g.value = !1;
|
|
9743
9743
|
}
|
|
9744
9744
|
else t.options && Array.isArray(t.options) && (C.value = t.options.filter(
|
|
9745
|
-
(We) =>
|
|
9745
|
+
(We) => ce.some((tt) => xe(L.value(We), tt))
|
|
9746
9746
|
));
|
|
9747
9747
|
},
|
|
9748
9748
|
{ immediate: !0, deep: !0 }
|
|
@@ -9799,7 +9799,7 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9799
9799
|
const K = O(() => k.value.length < E.value), H = O(() => {
|
|
9800
9800
|
const W = t.mapOptions === !0 && t.multiple !== !0, ve = t.modelValue !== void 0 && (t.modelValue !== null || W === !0) ? t.multiple === !0 && Array.isArray(t.modelValue) ? t.modelValue : [t.modelValue] : [];
|
|
9801
9801
|
if (t.mapOptions === !0 && Array.isArray(k.value) === !0) {
|
|
9802
|
-
const
|
|
9802
|
+
const ce = t.mapOptions === !0 && S !== void 0 ? S : [], Le = ve.map((je) => ue(je, ce));
|
|
9803
9803
|
return t.modelValue === null && W === !0 ? Le.filter((je) => je !== null) : Le;
|
|
9804
9804
|
}
|
|
9805
9805
|
return ve;
|
|
@@ -9831,12 +9831,12 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9831
9831
|
...V.middlewareData.value.sameWidthChangeBorders
|
|
9832
9832
|
}));
|
|
9833
9833
|
function Re(W, ve) {
|
|
9834
|
-
const
|
|
9835
|
-
return typeof
|
|
9834
|
+
const ce = W !== void 0 ? W : ve;
|
|
9835
|
+
return typeof ce == "function" ? ce : (Le) => Le === null || typeof Le != "object" ? Le : ce && ce in Le ? Le[ce] : Le;
|
|
9836
9836
|
}
|
|
9837
9837
|
function ue(W, ve) {
|
|
9838
|
-
const
|
|
9839
|
-
return C.value.find(
|
|
9838
|
+
const ce = (Le) => xe(L.value(Le), W);
|
|
9839
|
+
return C.value.find(ce) || k.value.find(ce) || ve.find(ce) || W;
|
|
9840
9840
|
}
|
|
9841
9841
|
function le(W) {
|
|
9842
9842
|
return W != null && ("" + W).length > 0;
|
|
@@ -9854,7 +9854,7 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9854
9854
|
}
|
|
9855
9855
|
function $e(W) {
|
|
9856
9856
|
const ve = L.value(W);
|
|
9857
|
-
return be.value.find((
|
|
9857
|
+
return be.value.find((ce) => xe(ce, ve)) !== void 0;
|
|
9858
9858
|
}
|
|
9859
9859
|
const Q = async () => {
|
|
9860
9860
|
if (b.value = void 0, u.value && (u.value.value = ""), a.value)
|
|
@@ -9886,12 +9886,12 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9886
9886
|
function vt() {
|
|
9887
9887
|
return {
|
|
9888
9888
|
name: "sameWidthChangeBorders",
|
|
9889
|
-
fn: ({ rects: W, placement: ve, x:
|
|
9889
|
+
fn: ({ rects: W, placement: ve, x: ce, y: Le }) => {
|
|
9890
9890
|
let je, xt, zt, We;
|
|
9891
9891
|
ve === "top" ? (je = "1px solid var(--select-border-color)", xt = "1px solid var(--select-background-color)", zt = "var(--select-border-radius) var(--select-border-radius) 0 0", We = "3px -9px 15px -3px rgba(0, 0, 0, 0.08), 0px 0px 6px -2px rgba(0, 0, 0, 0.1)") : (xt = "1px solid var(--select-border-color)", je = "1px solid var(--select-background-color)", zt = "0 0 var(--select-border-radius) var(--select-border-radius)", We = "3px 9px 15px -3px rgba(0, 0, 0, 0.08), 0px 0px 6px -2px rgba(0, 0, 0, 0.1)");
|
|
9892
9892
|
const tt = `${W.reference.width}px`;
|
|
9893
9893
|
return {
|
|
9894
|
-
x:
|
|
9894
|
+
x: ce,
|
|
9895
9895
|
y: Le,
|
|
9896
9896
|
data: t.outline ? {
|
|
9897
9897
|
borderTop: je,
|
|
@@ -9920,14 +9920,14 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9920
9920
|
s("update:modelValue", t.multiple === !0 ? [je] : je);
|
|
9921
9921
|
return;
|
|
9922
9922
|
}
|
|
9923
|
-
const
|
|
9923
|
+
const ce = t.modelValue.slice(), Le = be.value.findIndex((je) => xe(je, ve));
|
|
9924
9924
|
if (Le > -1)
|
|
9925
|
-
|
|
9925
|
+
ce.splice(Le, 1);
|
|
9926
9926
|
else {
|
|
9927
9927
|
const je = t.emitValue === !0 ? ve : W;
|
|
9928
|
-
|
|
9928
|
+
ce.push(je);
|
|
9929
9929
|
}
|
|
9930
|
-
s("update:modelValue",
|
|
9930
|
+
s("update:modelValue", ce), c.value && V.update();
|
|
9931
9931
|
}
|
|
9932
9932
|
async function Ct(W) {
|
|
9933
9933
|
if (b.value = W, t.options && typeof t.options == "function")
|
|
@@ -9939,7 +9939,10 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
9939
9939
|
v.value = !1;
|
|
9940
9940
|
}
|
|
9941
9941
|
else
|
|
9942
|
-
k.value = N.value.filter((ve) =>
|
|
9942
|
+
k.value = N.value.filter((ve) => {
|
|
9943
|
+
const ce = U.value(ve);
|
|
9944
|
+
return String(ce).toLowerCase().includes(b.value.toLowerCase());
|
|
9945
|
+
});
|
|
9943
9946
|
}
|
|
9944
9947
|
function _o(W) {
|
|
9945
9948
|
if (!W || !W.target)
|
|
@@ -10033,39 +10036,39 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
10033
10036
|
"data-test-id": "dropdown-toggle",
|
|
10034
10037
|
class: "vc-select__input",
|
|
10035
10038
|
tabindex: "0",
|
|
10036
|
-
onClick:
|
|
10039
|
+
onClick: de(ae, ["stop"]),
|
|
10037
10040
|
onKeydown: [
|
|
10038
|
-
Pe(
|
|
10039
|
-
Pe(
|
|
10041
|
+
Pe(de(ae, ["stop"]), ["enter"]),
|
|
10042
|
+
Pe(de(ae, ["stop"]), ["space"])
|
|
10040
10043
|
],
|
|
10041
|
-
onFocus: ve[0] || (ve[0] = (
|
|
10042
|
-
onBlur: ve[1] || (ve[1] = (
|
|
10044
|
+
onFocus: ve[0] || (ve[0] = (ce) => _.value = !0),
|
|
10045
|
+
onBlur: ve[1] || (ve[1] = (ce) => _.value = !1)
|
|
10043
10046
|
}, [
|
|
10044
10047
|
X.value ? se.value && se.value.length && X.value ? (h(), w("div", oh, [
|
|
10045
|
-
(h(!0), w(ne, null, pe(se.value, (
|
|
10048
|
+
(h(!0), w(ne, null, pe(se.value, (ce, Le) => (h(), w("div", {
|
|
10046
10049
|
key: Le,
|
|
10047
10050
|
class: "vc-select__selected-item"
|
|
10048
10051
|
}, [
|
|
10049
10052
|
W.multiple ? Y(W.$slots, "selected-item", fe({
|
|
10050
10053
|
key: 0,
|
|
10051
10054
|
ref_for: !0
|
|
10052
|
-
},
|
|
10055
|
+
}, ce), () => [
|
|
10053
10056
|
A("div", nh, [
|
|
10054
|
-
W.loading ? (h(), w("span", sh, z(m(o)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (h(), w("span", ih, z(U.value(
|
|
10057
|
+
W.loading ? (h(), w("span", sh, z(m(o)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (h(), w("span", ih, z(U.value(ce.opt)), 1)),
|
|
10055
10058
|
W.disabled ? B("", !0) : (h(), x(m(ie), {
|
|
10056
10059
|
key: 2,
|
|
10057
10060
|
class: "vc-select__icon-remove",
|
|
10058
10061
|
icon: "material-close",
|
|
10059
10062
|
size: "s",
|
|
10060
|
-
onClick:
|
|
10063
|
+
onClick: de((je) => Je(ce.index), ["stop"])
|
|
10061
10064
|
}, null, 8, ["onClick"]))
|
|
10062
10065
|
])
|
|
10063
10066
|
]) : W.multiple ? B("", !0) : (h(), w(ne, { key: 1 }, [
|
|
10064
10067
|
W.loading ? (h(), w("span", rh, z(m(o)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : Y(W.$slots, "selected-item", fe({
|
|
10065
10068
|
key: 1,
|
|
10066
10069
|
ref_for: !0
|
|
10067
|
-
},
|
|
10068
|
-
oe(z(W.loading ? m(o)("COMPONENTS.MOLECULES.VC_SELECT.LOADING") : ke(
|
|
10070
|
+
}, ce), () => [
|
|
10071
|
+
oe(z(W.loading ? m(o)("COMPONENTS.MOLECULES.VC_SELECT.LOADING") : ke(ce.opt)), 1)
|
|
10069
10072
|
])
|
|
10070
10073
|
], 64))
|
|
10071
10074
|
]))), 128))
|
|
@@ -10108,10 +10111,10 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
10108
10111
|
key: 3,
|
|
10109
10112
|
class: "vc-select__chevron-container",
|
|
10110
10113
|
tabindex: "0",
|
|
10111
|
-
onClick:
|
|
10114
|
+
onClick: de(ae, ["stop"]),
|
|
10112
10115
|
onKeydown: [
|
|
10113
|
-
Pe(
|
|
10114
|
-
Pe(
|
|
10116
|
+
Pe(de(ae, ["stop"]), ["enter"]),
|
|
10117
|
+
Pe(de(ae, ["stop"]), ["space"])
|
|
10115
10118
|
]
|
|
10116
10119
|
}, [
|
|
10117
10120
|
A("div", dh, [
|
|
@@ -10187,9 +10190,9 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
10187
10190
|
tabindex: "0",
|
|
10188
10191
|
onInput: _o,
|
|
10189
10192
|
onKeydown: [
|
|
10190
|
-
ve[2] || (ve[2] = Pe(
|
|
10193
|
+
ve[2] || (ve[2] = Pe(de(() => {
|
|
10191
10194
|
}, ["stop"]), ["space"])),
|
|
10192
|
-
ve[3] || (ve[3] = Pe(
|
|
10195
|
+
ve[3] || (ve[3] = Pe(de(() => {
|
|
10193
10196
|
}, ["stop"]), ["enter"]))
|
|
10194
10197
|
]
|
|
10195
10198
|
}, null, 544)) : B("", !0),
|
|
@@ -10199,20 +10202,20 @@ const Wm = ["innerHTML"], Gm = { class: "vc-select__field-container" }, Hm = { c
|
|
|
10199
10202
|
"no-padding": !0
|
|
10200
10203
|
}, {
|
|
10201
10204
|
default: P(() => [
|
|
10202
|
-
(h(!0), w(ne, null, pe(we.value, (
|
|
10205
|
+
(h(!0), w(ne, null, pe(we.value, (ce, Le) => (h(), w("div", {
|
|
10203
10206
|
key: Le,
|
|
10204
|
-
class: J(["vc-select__option", { "vc-select__option--selected":
|
|
10207
|
+
class: J(["vc-select__option", { "vc-select__option--selected": ce.selected }]),
|
|
10205
10208
|
"data-test-id": "option",
|
|
10206
10209
|
tabindex: "0",
|
|
10207
10210
|
"data-index": Le,
|
|
10208
|
-
onClick: (je) =>
|
|
10211
|
+
onClick: (je) => ce.toggleOption(ce.opt),
|
|
10209
10212
|
onKeydown: [
|
|
10210
|
-
Pe((je) =>
|
|
10211
|
-
Pe((je) =>
|
|
10213
|
+
Pe((je) => ce.toggleOption(ce.opt), ["enter"]),
|
|
10214
|
+
Pe((je) => ce.toggleOption(ce.opt), ["space"])
|
|
10212
10215
|
]
|
|
10213
10216
|
}, [
|
|
10214
|
-
Y(W.$slots, "option", fe({ ref_for: !0 },
|
|
10215
|
-
oe(z(
|
|
10217
|
+
Y(W.$slots, "option", fe({ ref_for: !0 }, ce), () => [
|
|
10218
|
+
oe(z(ce.label), 1)
|
|
10216
10219
|
])
|
|
10217
10220
|
], 42, vh))), 128)),
|
|
10218
10221
|
v.value ? (h(), w("div", gh, [
|
|
@@ -10601,7 +10604,7 @@ const Rh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10601
10604
|
variant: "secondary",
|
|
10602
10605
|
disabled: L.disabled,
|
|
10603
10606
|
tabindex: "0",
|
|
10604
|
-
onClick:
|
|
10607
|
+
onClick: de(I, ["stop"])
|
|
10605
10608
|
}, {
|
|
10606
10609
|
default: P(() => [
|
|
10607
10610
|
oe(z(L.$t("COMPONENTS.MOLECULES.VC_MULTIVALUE.ADD")), 1)
|
|
@@ -10663,7 +10666,7 @@ const Rh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10663
10666
|
type: g.value,
|
|
10664
10667
|
disabled: L.disabled,
|
|
10665
10668
|
tabindex: "0",
|
|
10666
|
-
onKeypress: Pe(
|
|
10669
|
+
onKeypress: Pe(de(k, ["stop", "prevent"]), ["enter"]),
|
|
10667
10670
|
onBlur: C,
|
|
10668
10671
|
onKeydown: b,
|
|
10669
10672
|
onFocus: U[1] || (U[1] = (se) => d.value = !0)
|
|
@@ -11902,7 +11905,7 @@ const Pv = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
11902
11905
|
key: 0,
|
|
11903
11906
|
ref: "container",
|
|
11904
11907
|
class: "vc-app-switcher",
|
|
11905
|
-
onContextmenu: l[0] || (l[0] =
|
|
11908
|
+
onContextmenu: l[0] || (l[0] = de(() => {
|
|
11906
11909
|
}, ["prevent"]))
|
|
11907
11910
|
}, [
|
|
11908
11911
|
R(m(ht), {
|
|
@@ -12700,7 +12703,7 @@ const sg = G({
|
|
|
12700
12703
|
"icon-size": "l",
|
|
12701
12704
|
text: "",
|
|
12702
12705
|
onClick: o,
|
|
12703
|
-
onContextmenu: l[0] || (l[0] =
|
|
12706
|
+
onContextmenu: l[0] || (l[0] = de(() => {
|
|
12704
12707
|
}, ["prevent"]))
|
|
12705
12708
|
}, null, 512)
|
|
12706
12709
|
]),
|
|
@@ -13983,7 +13986,7 @@ const Ig = {
|
|
|
13983
13986
|
}, [
|
|
13984
13987
|
A("div", {
|
|
13985
13988
|
class: "vc-menu-item__trigger",
|
|
13986
|
-
onClick:
|
|
13989
|
+
onClick: de(o, ["stop"])
|
|
13987
13990
|
}, [
|
|
13988
13991
|
Y(i.$slots, "trigger", {}, () => [
|
|
13989
13992
|
A("div", Rg, [
|
|
@@ -14137,7 +14140,7 @@ const Ig = {
|
|
|
14137
14140
|
i.isExpanded ? (h(), w("div", {
|
|
14138
14141
|
key: 0,
|
|
14139
14142
|
class: "sidebar__overlay",
|
|
14140
|
-
onClick: r[0] || (r[0] =
|
|
14143
|
+
onClick: r[0] || (r[0] = de((l) => i.$emit("close"), ["stop"]))
|
|
14141
14144
|
})) : B("", !0),
|
|
14142
14145
|
i.isExpanded ? (h(), w("div", {
|
|
14143
14146
|
key: 1,
|
|
@@ -14191,7 +14194,7 @@ const Ig = {
|
|
|
14191
14194
|
e.isOpened ? (h(), w("div", {
|
|
14192
14195
|
key: 0,
|
|
14193
14196
|
class: "vc-user-sidebar__menu",
|
|
14194
|
-
onClick: t[0] || (t[0] =
|
|
14197
|
+
onClick: t[0] || (t[0] = de((s) => e.$emit("update:isOpened", !1), ["stop"]))
|
|
14195
14198
|
}, [
|
|
14196
14199
|
R(m(Hg))
|
|
14197
14200
|
])) : B("", !0)
|
|
@@ -15456,9 +15459,9 @@ const Cb = /* @__PURE__ */ G({
|
|
|
15456
15459
|
default: P(() => [
|
|
15457
15460
|
De((h(), w("div", {
|
|
15458
15461
|
class: "tw-relative tw-h-full tw-flex-1",
|
|
15459
|
-
onDragover:
|
|
15460
|
-
onDragleave:
|
|
15461
|
-
onDrop:
|
|
15462
|
+
onDragover: de(_, ["prevent", "stop"]),
|
|
15463
|
+
onDragleave: de(b, ["prevent"]),
|
|
15464
|
+
onDrop: de(C, ["prevent", "stop"])
|
|
15462
15465
|
}, [
|
|
15463
15466
|
R(K, {
|
|
15464
15467
|
columns: v.value,
|
|
@@ -16315,7 +16318,7 @@ const yy = {
|
|
|
16315
16318
|
keyword: te
|
|
16316
16319
|
});
|
|
16317
16320
|
}, 1e3);
|
|
16318
|
-
async function
|
|
16321
|
+
async function ce() {
|
|
16319
16322
|
f.value = "", await ke(), await I({
|
|
16320
16323
|
...V.value,
|
|
16321
16324
|
...Je,
|
|
@@ -16438,12 +16441,12 @@ const yy = {
|
|
|
16438
16441
|
m(X)?.notFound ? (h(), x(Ce(m(X).notFound), {
|
|
16439
16442
|
key: 0,
|
|
16440
16443
|
context: $e.value,
|
|
16441
|
-
onReset:
|
|
16444
|
+
onReset: ce
|
|
16442
16445
|
}, null, 40, ["context"])) : (h(), w("div", wy, [
|
|
16443
16446
|
A("div", _y, z(te.$t(`${u.value}.PAGES.LIST.NOT_FOUND.EMPTY`)), 1),
|
|
16444
16447
|
m(le) ? (h(), x(Ge, {
|
|
16445
16448
|
key: 0,
|
|
16446
|
-
onClick:
|
|
16449
|
+
onClick: ce
|
|
16447
16450
|
}, {
|
|
16448
16451
|
default: P(() => [
|
|
16449
16452
|
oe(z(te.$t(`${u.value}.PAGES.LIST.NOT_FOUND.RESET`)), 1)
|
|
@@ -18546,7 +18549,7 @@ const dw = { class: "vc-invite-page" }, pw = { class: "vc-invite-page__button-co
|
|
|
18546
18549
|
default: P(() => [
|
|
18547
18550
|
v.value ? (h(), w(ne, { key: 0 }, [
|
|
18548
18551
|
R(H, {
|
|
18549
|
-
onSubmit:
|
|
18552
|
+
onSubmit: de(S, ["prevent"])
|
|
18550
18553
|
}, {
|
|
18551
18554
|
default: P(() => [
|
|
18552
18555
|
R(m(Qe), {
|
|
@@ -19573,7 +19576,7 @@ const c0 = { class: "app-bar-content__main" }, d0 = { class: "app-bar-content__f
|
|
|
19573
19576
|
"icon-class": "menu-sidebar__close-button-icon",
|
|
19574
19577
|
icon: "material-close",
|
|
19575
19578
|
text: "",
|
|
19576
|
-
onClick: s[0] || (s[0] =
|
|
19579
|
+
onClick: s[0] || (s[0] = de((i) => t.$emit("update:isOpened", !1), ["stop"]))
|
|
19577
19580
|
})
|
|
19578
19581
|
])) : B("", !0)
|
|
19579
19582
|
], 2)),
|
|
@@ -19631,7 +19634,7 @@ const c0 = { class: "app-bar-content__main" }, d0 = { class: "app-bar-content__f
|
|
|
19631
19634
|
ref_key: "referenceButton",
|
|
19632
19635
|
ref: r,
|
|
19633
19636
|
class: "app-bar-button__button",
|
|
19634
|
-
onClick:
|
|
19637
|
+
onClick: de(a, ["stop"])
|
|
19635
19638
|
}, [
|
|
19636
19639
|
A("div", w0, [
|
|
19637
19640
|
Y(c.$slots, "trigger", {
|
|
@@ -21102,10 +21105,10 @@ const D0 = { class: "vc-app__main-content" }, B0 = {
|
|
|
21102
21105
|
A("button", {
|
|
21103
21106
|
class: "vc-input-dropdown__toggle-button",
|
|
21104
21107
|
tabindex: "0",
|
|
21105
|
-
onClick:
|
|
21108
|
+
onClick: de(U.toggleHandler, ["stop", "prevent"]),
|
|
21106
21109
|
onKeydown: [
|
|
21107
|
-
Pe(
|
|
21108
|
-
Pe(
|
|
21110
|
+
Pe(de(U.toggleHandler, ["stop", "prevent"]), ["enter"]),
|
|
21111
|
+
Pe(de(U.toggleHandler, ["stop", "prevent"]), ["space"])
|
|
21109
21112
|
]
|
|
21110
21113
|
}, z(y.value), 41, h_)
|
|
21111
21114
|
]),
|
|
@@ -21140,7 +21143,7 @@ const D0 = { class: "vc-app__main-content" }, B0 = {
|
|
|
21140
21143
|
"vc-gallery-item_readonly": o.readonly,
|
|
21141
21144
|
"vc-gallery-item_hover": t.value
|
|
21142
21145
|
}]),
|
|
21143
|
-
onTap: i[3] || (i[3] =
|
|
21146
|
+
onTap: i[3] || (i[3] = de((r) => t.value = !t.value, ["stop"]))
|
|
21144
21147
|
}, [
|
|
21145
21148
|
R(m(at), {
|
|
21146
21149
|
aspect: "1x1",
|
|
@@ -22202,7 +22205,7 @@ const pS = {
|
|
|
22202
22205
|
ref: a,
|
|
22203
22206
|
class: "vc-table-mobile",
|
|
22204
22207
|
onClick: j,
|
|
22205
|
-
onContextmenu: K[3] || (K[3] =
|
|
22208
|
+
onContextmenu: K[3] || (K[3] = de(() => {
|
|
22206
22209
|
}, ["prevent"])),
|
|
22207
22210
|
onTouchhold: V
|
|
22208
22211
|
}, [
|
|
@@ -22231,13 +22234,13 @@ const pS = {
|
|
|
22231
22234
|
key: 0,
|
|
22232
22235
|
class: "vc-table-mobile__swipe-actions",
|
|
22233
22236
|
style: Oe({ width: `${d.value}px` }),
|
|
22234
|
-
onTouchstart: K[2] || (K[2] =
|
|
22237
|
+
onTouchstart: K[2] || (K[2] = de(() => {
|
|
22235
22238
|
}, ["stop"]))
|
|
22236
22239
|
}, [
|
|
22237
22240
|
_.value.length > 2 ? (h(), w("button", {
|
|
22238
22241
|
key: 0,
|
|
22239
22242
|
class: "vc-table-mobile__action vc-table-mobile__action_more-left",
|
|
22240
|
-
onClick: K[0] || (K[0] =
|
|
22243
|
+
onClick: K[0] || (K[0] = de(() => i.value = !0, ["stop"]))
|
|
22241
22244
|
}, [
|
|
22242
22245
|
R(se, { icon: "material-pending" }),
|
|
22243
22246
|
A("div", mS, z(F.$t("COMPONENTS.ORGANISMS.VC_TABLE.MORE")), 1)
|
|
@@ -22245,7 +22248,7 @@ const pS = {
|
|
|
22245
22248
|
(h(!0), w(ne, null, pe(_.value.slice(0, 2), (X, be) => (h(), w("button", {
|
|
22246
22249
|
key: `swipeAction-${be}`,
|
|
22247
22250
|
class: J(["vc-table-mobile__action", `vc-table-mobile__item-action_${X.type}`]),
|
|
22248
|
-
onClick:
|
|
22251
|
+
onClick: de(() => X.clickHandler(F.items[F.index], F.index), ["stop"])
|
|
22249
22252
|
}, [
|
|
22250
22253
|
R(se, {
|
|
22251
22254
|
icon: X.icon,
|
|
@@ -22357,7 +22360,7 @@ const pS = {
|
|
|
22357
22360
|
f.items && f.items.length ? (h(), w("div", {
|
|
22358
22361
|
key: 0,
|
|
22359
22362
|
class: "vc-table-mobile-view__items",
|
|
22360
|
-
onContextmenu: y[5] || (y[5] =
|
|
22363
|
+
onContextmenu: y[5] || (y[5] = de(() => {
|
|
22361
22364
|
}, ["prevent"]))
|
|
22362
22365
|
}, [
|
|
22363
22366
|
(h(!0), w(ne, null, pe(f.items, (v, g) => (h(), x(ES, {
|
|
@@ -22368,7 +22371,7 @@ const pS = {
|
|
|
22368
22371
|
"disabled-selection": f.disabledSelection,
|
|
22369
22372
|
selection: f.selection,
|
|
22370
22373
|
"is-selected": f.isSelected(v),
|
|
22371
|
-
onContextmenu: y[4] || (y[4] =
|
|
22374
|
+
onContextmenu: y[4] || (y[4] = de(() => {
|
|
22372
22375
|
}, ["prevent"])),
|
|
22373
22376
|
onClick: (_) => f.$emit("itemClick", v),
|
|
22374
22377
|
onSelect: (_) => f.multiselect ? f.rowCheckbox(v) : void 0
|
|
@@ -22897,7 +22900,7 @@ const VS = { class: "vc-table-columns-header__row" }, US = {
|
|
|
22897
22900
|
size: "s",
|
|
22898
22901
|
indeterminate: b.selection && b.selection.length > 0 && b.selection.length !== b.items.length,
|
|
22899
22902
|
"onUpdate:modelValue": C[0] || (C[0] = (k) => b.$emit("update:headerCheckbox", k)),
|
|
22900
|
-
onClick: C[1] || (C[1] =
|
|
22903
|
+
onClick: C[1] || (C[1] = de(() => {
|
|
22901
22904
|
}, ["stop"]))
|
|
22902
22905
|
}, null, 8, ["model-value", "indeterminate"])
|
|
22903
22906
|
]),
|
|
@@ -22953,8 +22956,8 @@ const VS = { class: "vc-table-columns-header__row" }, US = {
|
|
|
22953
22956
|
"vc-table-columns-header__cell-resizer--cursor": b.resizableColumns,
|
|
22954
22957
|
"vc-table-columns-header__cell-resizer--last": N === b.filteredCols.length - 1
|
|
22955
22958
|
}]),
|
|
22956
|
-
onMousedown:
|
|
22957
|
-
onClick: C[2] || (C[2] =
|
|
22959
|
+
onMousedown: de((E) => _(E, k), ["stop", "prevent"]),
|
|
22960
|
+
onClick: C[2] || (C[2] = de(() => {
|
|
22958
22961
|
}, ["stop", "prevent"]))
|
|
22959
22962
|
}, null, 42, JS)) : B("", !0)
|
|
22960
22963
|
], 46, xS))), 128)),
|
|
@@ -23055,7 +23058,7 @@ const VS = { class: "vc-table-columns-header__row" }, US = {
|
|
|
23055
23058
|
e.multiselect && typeof e.item == "object" ? (h(), w("div", {
|
|
23056
23059
|
key: 0,
|
|
23057
23060
|
class: "vc-table-row__checkbox",
|
|
23058
|
-
onClick: t[1] || (t[1] =
|
|
23061
|
+
onClick: t[1] || (t[1] = de(() => {
|
|
23059
23062
|
}, ["stop"]))
|
|
23060
23063
|
}, [
|
|
23061
23064
|
A("div", QS, [
|
|
@@ -23099,14 +23102,14 @@ const VS = { class: "vc-table-columns-header__row" }, US = {
|
|
|
23099
23102
|
"vc-table-row__actions--hover": e.hasClickListener,
|
|
23100
23103
|
"vc-table-row__actions--selected": e.hasClickListener && e.selection && e.selection.length && e.selection.includes(e.item)
|
|
23101
23104
|
}]),
|
|
23102
|
-
onClick: t[4] || (t[4] =
|
|
23105
|
+
onClick: t[4] || (t[4] = de(() => {
|
|
23103
23106
|
}, ["stop"]))
|
|
23104
23107
|
}, [
|
|
23105
23108
|
A("div", oE, [
|
|
23106
23109
|
(h(!0), w(ne, null, pe(e.itemActions[e.index], (s, o) => (h(), w("div", {
|
|
23107
23110
|
key: o,
|
|
23108
23111
|
class: "vc-table-row__actions-item",
|
|
23109
|
-
onClick:
|
|
23112
|
+
onClick: de((i) => s.clickHandler(e.item, e.index), ["stop"])
|
|
23110
23113
|
}, [
|
|
23111
23114
|
R(m(Kt), {
|
|
23112
23115
|
placement: "bottom",
|
|
@@ -23527,13 +23530,13 @@ const cE = /* @__PURE__ */ G({
|
|
|
23527
23530
|
ref: o,
|
|
23528
23531
|
class: J(a.value),
|
|
23529
23532
|
style: Oe(l.value),
|
|
23530
|
-
onClick:
|
|
23533
|
+
onClick: de(u, ["self"])
|
|
23531
23534
|
}, [
|
|
23532
23535
|
A("div", {
|
|
23533
23536
|
class: J(["vc-table-filter__panel-inner", {
|
|
23534
23537
|
"vc-table-filter__panel-inner--desktop": d.$isDesktop.value
|
|
23535
23538
|
}]),
|
|
23536
|
-
onClick: p[0] || (p[0] =
|
|
23539
|
+
onClick: p[0] || (p[0] = de(() => {
|
|
23537
23540
|
}, ["stop"]))
|
|
23538
23541
|
}, [
|
|
23539
23542
|
A("div", fE, [
|
|
@@ -23715,7 +23718,7 @@ const cE = /* @__PURE__ */ G({
|
|
|
23715
23718
|
class: "vc-table-select-all__checkbox-input",
|
|
23716
23719
|
size: "m",
|
|
23717
23720
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => i.$emit("update:header-checkbox", l)),
|
|
23718
|
-
onClick: r[1] || (r[1] =
|
|
23721
|
+
onClick: r[1] || (r[1] = de(() => {
|
|
23719
23722
|
}, ["stop"]))
|
|
23720
23723
|
}, {
|
|
23721
23724
|
default: P(() => [
|