@vc-shell/framework 2.6.3-rc.0-pr387.24dd1f8 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-agent/index.js +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DCA-Ffyd.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-c2L9ZMv-.js} +355 -349
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-c2L9ZMv-.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-qXf9_bH2.js → VcScheduler.vue_vue_type_script_setup_true_lang-0d1Dle1T.js} +5810 -5806
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-0d1Dle1T.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Dr98EAcc.js → VcScheduler.vue_vue_type_style_index_0_lang-CSqtsFQm.js} +67 -67
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CSqtsFQm.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-D4pPtjsM.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DuuZ_8d4.js} +1 -1
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-D4pPtjsM.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DuuZ_8d4.js.map} +1 -1
- package/dist/chunks/{index-DSdo2M5t.js → index-DUQy_82B.js} +1 -1
- package/dist/chunks/{index-DSdo2M5t.js.map → index-DUQy_82B.js.map} +1 -1
- package/dist/core/blade-navigation/utils/urlSync.d.ts.map +1 -1
- package/dist/core/composables/index.d.ts +1 -0
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeForm/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/utilities/authGuard.d.ts.map +1 -1
- package/dist/core/utilities/redirectAfterLogin.d.ts +12 -0
- package/dist/core/utilities/redirectAfterLogin.d.ts.map +1 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +1115 -1103
- package/dist/framework.js.map +1 -1
- package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +2 -0
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/index.d.ts.map +1 -1
- package/dist/ui/composables/useAdaptiveItems.d.ts.map +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DCA-Ffyd.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-qXf9_bH2.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Dr98EAcc.js.map +0 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableResizeHandle.vue.d.ts +0 -18
- package/dist/ui/components/organisms/vc-data-table/components/TableResizeHandle.vue.d.ts.map +0 -1
|
@@ -1743,7 +1743,7 @@ const gl = {
|
|
|
1743
1743
|
month: "2-digit",
|
|
1744
1744
|
day: "2-digit",
|
|
1745
1745
|
...k ? { hour: "2-digit", minute: "2-digit", hour12: !U } : {}
|
|
1746
|
-
}).formatToParts(new Date(2e3, 0, 15, 13, 30)),
|
|
1746
|
+
}).formatToParts(new Date(2e3, 0, 15, 13, 30)), K = {
|
|
1747
1747
|
year: "yyyy",
|
|
1748
1748
|
month: "MM",
|
|
1749
1749
|
day: "dd",
|
|
@@ -1751,7 +1751,7 @@ const gl = {
|
|
|
1751
1751
|
minute: "mm",
|
|
1752
1752
|
dayPeriod: "aa"
|
|
1753
1753
|
};
|
|
1754
|
-
return E.map((
|
|
1754
|
+
return E.map((z) => K[z.type] ?? z.value).join("");
|
|
1755
1755
|
}), Z = O(() => {
|
|
1756
1756
|
if (!n.datePickerOptions?.textInput) return n.datePickerOptions;
|
|
1757
1757
|
const k = { ...n.datePickerOptions }, E = typeof k.textInput == "object" ? k.textInput : {};
|
|
@@ -1796,8 +1796,8 @@ const gl = {
|
|
|
1796
1796
|
day: "numeric"
|
|
1797
1797
|
};
|
|
1798
1798
|
n.type === "datetime-local" && (E.hour = "numeric", E.minute = "numeric", E.hour12 = !U);
|
|
1799
|
-
const
|
|
1800
|
-
return Array.isArray(k) ? k.map((
|
|
1799
|
+
const K = (z) => z instanceof Date && !isNaN(z.getTime()) ? new Intl.DateTimeFormat(T, E).format(z) : "";
|
|
1800
|
+
return Array.isArray(k) ? k.map((z) => z != null ? K(z) : "").join(" - ") : K(k);
|
|
1801
1801
|
};
|
|
1802
1802
|
Y(
|
|
1803
1803
|
() => n.modelValue,
|
|
@@ -1813,7 +1813,7 @@ const gl = {
|
|
|
1813
1813
|
function ie(k) {
|
|
1814
1814
|
$.value = k;
|
|
1815
1815
|
}
|
|
1816
|
-
function
|
|
1816
|
+
function F() {
|
|
1817
1817
|
$.value = null;
|
|
1818
1818
|
}
|
|
1819
1819
|
function H(k) {
|
|
@@ -1876,7 +1876,7 @@ const gl = {
|
|
|
1876
1876
|
C("div", pl, [
|
|
1877
1877
|
R(r(Mn), ae({
|
|
1878
1878
|
modelValue: m.value,
|
|
1879
|
-
"onUpdate:modelValue": E[0] || (E[0] = (
|
|
1879
|
+
"onUpdate:modelValue": E[0] || (E[0] = (K) => m.value = K),
|
|
1880
1880
|
placeholder: e.placeholder || (e.type === "datetime-local" ? k.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_TIME_PLACEHOLDER") : k.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_PLACEHOLDER")),
|
|
1881
1881
|
disabled: r(d),
|
|
1882
1882
|
name: e.name,
|
|
@@ -1904,7 +1904,7 @@ const gl = {
|
|
|
1904
1904
|
onFocus: A,
|
|
1905
1905
|
onClosed: H,
|
|
1906
1906
|
onRangeStart: ie,
|
|
1907
|
-
onRangeEnd:
|
|
1907
|
+
onRangeEnd: F,
|
|
1908
1908
|
onTooltipOpen: A,
|
|
1909
1909
|
onTooltipClose: H
|
|
1910
1910
|
}), null, 16, ["modelValue", "placeholder", "disabled", "name", "autofocus", "max-date", "enable-time-picker", "locale", "teleport-center", "is24", "aria-labels", "teleport", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"]),
|
|
@@ -2002,12 +2002,12 @@ const gl = {
|
|
|
2002
2002
|
ariaRequired: d,
|
|
2003
2003
|
ariaDescribedBy: c
|
|
2004
2004
|
} = He(i), p = S(!1), I = S(!1), T = S(), m = S(), $ = S(i.modelValue ?? ""), P = S("");
|
|
2005
|
-
function U(
|
|
2006
|
-
if (!
|
|
2005
|
+
function U(F) {
|
|
2006
|
+
if (!F || typeof F != "string") {
|
|
2007
2007
|
P.value = "";
|
|
2008
2008
|
return;
|
|
2009
2009
|
}
|
|
2010
|
-
const H =
|
|
2010
|
+
const H = F.trim();
|
|
2011
2011
|
if (ea(H)) {
|
|
2012
2012
|
P.value = It(H);
|
|
2013
2013
|
return;
|
|
@@ -2017,22 +2017,22 @@ const gl = {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
Y(
|
|
2019
2019
|
() => i.modelValue,
|
|
2020
|
-
(
|
|
2021
|
-
I.value || (I.value = !0, $.value =
|
|
2022
|
-
U(
|
|
2020
|
+
(F) => {
|
|
2021
|
+
I.value || (I.value = !0, $.value = F ?? "", Ee(() => {
|
|
2022
|
+
U(F ?? ""), I.value = !1;
|
|
2023
2023
|
}));
|
|
2024
2024
|
},
|
|
2025
2025
|
{ immediate: !0 }
|
|
2026
|
-
), Y(P, (
|
|
2027
|
-
|
|
2026
|
+
), Y(P, (F) => {
|
|
2027
|
+
F && m.value && (m.value.value = F);
|
|
2028
2028
|
});
|
|
2029
2029
|
function ne() {
|
|
2030
2030
|
I.value || (I.value = !0, o("update:modelValue", $.value || null), Ee(() => {
|
|
2031
2031
|
U($.value), I.value = !1;
|
|
2032
2032
|
}));
|
|
2033
2033
|
}
|
|
2034
|
-
function Z(
|
|
2035
|
-
const H =
|
|
2034
|
+
function Z(F) {
|
|
2035
|
+
const H = F.target;
|
|
2036
2036
|
if (H?.value) {
|
|
2037
2037
|
const A = It(H.value);
|
|
2038
2038
|
P.value = A, $.value = A, o("update:modelValue", A);
|
|
@@ -2044,8 +2044,8 @@ const gl = {
|
|
|
2044
2044
|
function Q() {
|
|
2045
2045
|
$.value = "", P.value = "", o("update:modelValue", null);
|
|
2046
2046
|
}
|
|
2047
|
-
function ce(
|
|
2048
|
-
p.value = !1, o("blur",
|
|
2047
|
+
function ce(F) {
|
|
2048
|
+
p.value = !1, o("blur", F);
|
|
2049
2049
|
}
|
|
2050
2050
|
function fe() {
|
|
2051
2051
|
p.value = !0, o("focus");
|
|
@@ -2053,7 +2053,7 @@ const gl = {
|
|
|
2053
2053
|
function ie() {
|
|
2054
2054
|
T.value?.focus();
|
|
2055
2055
|
}
|
|
2056
|
-
return t({ focus: ie }), (
|
|
2056
|
+
return t({ focus: ie }), (F, H) => r(a) ? (f(), y("div", Sl, [
|
|
2057
2057
|
e.label ? (f(), D(r(oe), {
|
|
2058
2058
|
key: 0,
|
|
2059
2059
|
variant: "block",
|
|
@@ -2152,7 +2152,7 @@ const gl = {
|
|
|
2152
2152
|
key: 0,
|
|
2153
2153
|
type: "button",
|
|
2154
2154
|
class: "vc-color-input__clear",
|
|
2155
|
-
"aria-label":
|
|
2155
|
+
"aria-label": F.$t("COMPONENTS.MOLECULES.VC_COLOR_INPUT.CLEAR"),
|
|
2156
2156
|
onClick: Q
|
|
2157
2157
|
}, [
|
|
2158
2158
|
R(r(W), {
|
|
@@ -2295,7 +2295,7 @@ const gl = {
|
|
|
2295
2295
|
},
|
|
2296
2296
|
{ immediate: !0 }
|
|
2297
2297
|
);
|
|
2298
|
-
function
|
|
2298
|
+
function F(h) {
|
|
2299
2299
|
const x = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], q = h.key;
|
|
2300
2300
|
if ((n.type === "number" || n.type === "integer") && (q === "-" || q === "e" || q === "+") && h.preventDefault(), n.type === "integer" && !/^\d$/.test(q) && !x.includes(q)) {
|
|
2301
2301
|
h.preventDefault();
|
|
@@ -2320,10 +2320,10 @@ const gl = {
|
|
|
2320
2320
|
function E(h) {
|
|
2321
2321
|
le.value = !1, s("blur", h);
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function K() {
|
|
2324
2324
|
ne.value?.focus();
|
|
2325
2325
|
}
|
|
2326
|
-
function
|
|
2326
|
+
function z() {
|
|
2327
2327
|
le.value = !0, s("focus");
|
|
2328
2328
|
}
|
|
2329
2329
|
return (h, x) => r(u) ? (f(), y("div", ae({ key: 0 }, l.value, {
|
|
@@ -2421,7 +2421,7 @@ const gl = {
|
|
|
2421
2421
|
]), 1032, ["id", "html-for", "required", "multilanguage", "current-language", "error"])) : w("", !0),
|
|
2422
2422
|
C("div", Nl, [
|
|
2423
2423
|
h.$slots.prepend ? (f(), y("div", Al, [
|
|
2424
|
-
B(h.$slots, "prepend", { focus:
|
|
2424
|
+
B(h.$slots, "prepend", { focus: K })
|
|
2425
2425
|
])) : w("", !0),
|
|
2426
2426
|
C("div", {
|
|
2427
2427
|
class: G(["vc-input__field-wrapper", {
|
|
@@ -2431,7 +2431,7 @@ const gl = {
|
|
|
2431
2431
|
}, [
|
|
2432
2432
|
C("div", Dl, [
|
|
2433
2433
|
h.$slots["prepend-inner"] ? (f(), y("div", Vl, [
|
|
2434
|
-
B(h.$slots, "prepend-inner", { focus:
|
|
2434
|
+
B(h.$slots, "prepend-inner", { focus: K })
|
|
2435
2435
|
])) : w("", !0),
|
|
2436
2436
|
C("div", Pl, [
|
|
2437
2437
|
e.prefix ? (f(), y("div", zl, M(e.prefix), 1)) : w("", !0),
|
|
@@ -2463,9 +2463,9 @@ const gl = {
|
|
|
2463
2463
|
"aria-label": e.label ? void 0 : e.ariaLabel,
|
|
2464
2464
|
class: "vc-input__input",
|
|
2465
2465
|
tabindex: "0",
|
|
2466
|
-
onKeydown:
|
|
2466
|
+
onKeydown: F,
|
|
2467
2467
|
onBlur: E,
|
|
2468
|
-
onFocus:
|
|
2468
|
+
onFocus: z
|
|
2469
2469
|
}), null, 16, Fl), [
|
|
2470
2470
|
[rn, ie.value]
|
|
2471
2471
|
])
|
|
@@ -2497,7 +2497,7 @@ const gl = {
|
|
|
2497
2497
|
], 8, ql)) : w("", !0)
|
|
2498
2498
|
]),
|
|
2499
2499
|
h.$slots["append-inner"] ? (f(), y("div", Wl, [
|
|
2500
|
-
B(h.$slots, "append-inner", { focus:
|
|
2500
|
+
B(h.$slots, "append-inner", { focus: K })
|
|
2501
2501
|
])) : w("", !0),
|
|
2502
2502
|
e.loading ? (f(), y("div", jl, [
|
|
2503
2503
|
R(r(W), {
|
|
@@ -2509,7 +2509,7 @@ const gl = {
|
|
|
2509
2509
|
])
|
|
2510
2510
|
], 2),
|
|
2511
2511
|
h.$slots.append ? (f(), y("div", Hl, [
|
|
2512
|
-
B(h.$slots, "append", { focus:
|
|
2512
|
+
B(h.$slots, "append", { focus: K })
|
|
2513
2513
|
])) : w("", !0)
|
|
2514
2514
|
]),
|
|
2515
2515
|
R(Pe, {
|
|
@@ -2828,20 +2828,20 @@ function _l(e) {
|
|
|
2828
2828
|
async function Q() {
|
|
2829
2829
|
const A = e.options();
|
|
2830
2830
|
if (typeof A != "function" || s.value || !P.value) return;
|
|
2831
|
-
const k = n.value !== null, E = T,
|
|
2831
|
+
const k = n.value !== null, E = T, K = n.value;
|
|
2832
2832
|
try {
|
|
2833
2833
|
s.value = !0;
|
|
2834
|
-
const
|
|
2835
|
-
if (k && (n.value !==
|
|
2836
|
-
const h =
|
|
2834
|
+
const z = await A(g.value, k ? I : p);
|
|
2835
|
+
if (k && (n.value !== K || E !== T)) return;
|
|
2836
|
+
const h = z?.results ?? [];
|
|
2837
2837
|
if (k ? I += h.length : p += h.length, h.length === 0) {
|
|
2838
2838
|
k ? l.value = !0 : o.value = !0;
|
|
2839
2839
|
return;
|
|
2840
2840
|
}
|
|
2841
2841
|
const x = k ? n.value : t.value, q = new Set(x.map((Re) => String(e.getOptionValue.value(Re)))), ve = h.filter((Re) => !q.has(String(e.getOptionValue.value(Re))));
|
|
2842
|
-
k ? (n.value = [...x, ...ve], i.value =
|
|
2843
|
-
} catch (
|
|
2844
|
-
console.error("useSelectDataSource: error loading more",
|
|
2842
|
+
k ? (n.value = [...x, ...ve], i.value = z?.totalCount ?? i.value, I >= i.value && (l.value = !0)) : (t.value = [...x, ...ve], a.value = z?.totalCount ?? a.value, p >= a.value && (o.value = !0)), U(ve);
|
|
2843
|
+
} catch (z) {
|
|
2844
|
+
console.error("useSelectDataSource: error loading more", z);
|
|
2845
2845
|
} finally {
|
|
2846
2846
|
s.value = !1;
|
|
2847
2847
|
}
|
|
@@ -2853,20 +2853,20 @@ function _l(e) {
|
|
|
2853
2853
|
const E = ++T;
|
|
2854
2854
|
try {
|
|
2855
2855
|
u.value = !0;
|
|
2856
|
-
const
|
|
2856
|
+
const K = await k(A);
|
|
2857
2857
|
if (E !== T) return;
|
|
2858
|
-
const
|
|
2859
|
-
n.value =
|
|
2860
|
-
} catch (
|
|
2858
|
+
const z = K?.results ?? [];
|
|
2859
|
+
n.value = z, i.value = K?.totalCount ?? 0, I = z.length, l.value = z.length === 0 || I >= i.value, U(z);
|
|
2860
|
+
} catch (K) {
|
|
2861
2861
|
if (E !== T) return;
|
|
2862
|
-
console.error("useSelectDataSource: error searching",
|
|
2862
|
+
console.error("useSelectDataSource: error searching", K), n.value = [], i.value = 0, I = 0, l.value = !0;
|
|
2863
2863
|
} finally {
|
|
2864
2864
|
E === T && (u.value = !1);
|
|
2865
2865
|
}
|
|
2866
2866
|
} else {
|
|
2867
|
-
const E = t.value.filter((
|
|
2868
|
-
const
|
|
2869
|
-
return String(
|
|
2867
|
+
const E = t.value.filter((K) => {
|
|
2868
|
+
const z = e.getOptionLabel.value(K);
|
|
2869
|
+
return String(z).toLowerCase().includes(A.toLowerCase());
|
|
2870
2870
|
});
|
|
2871
2871
|
n.value = E, i.value = E.length, I = E.length, l.value = !0;
|
|
2872
2872
|
}
|
|
@@ -2881,16 +2881,16 @@ function _l(e) {
|
|
|
2881
2881
|
function ie() {
|
|
2882
2882
|
ne();
|
|
2883
2883
|
}
|
|
2884
|
-
async function
|
|
2884
|
+
async function F(A) {
|
|
2885
2885
|
if (A.length === 0) return [];
|
|
2886
2886
|
const E = A.filter((h) => !d.has(String(h))).filter((h) => {
|
|
2887
2887
|
const x = t.value.find((q) => De(e.getOptionValue.value(q), h));
|
|
2888
2888
|
return x ? (d.set(String(h), x), !1) : !0;
|
|
2889
|
-
}),
|
|
2890
|
-
if (E.length > 0 && typeof
|
|
2889
|
+
}), K = e.options();
|
|
2890
|
+
if (E.length > 0 && typeof K == "function") {
|
|
2891
2891
|
try {
|
|
2892
2892
|
v.value = !0;
|
|
2893
|
-
const x = await
|
|
2893
|
+
const x = await K(void 0, void 0, E);
|
|
2894
2894
|
x?.results && U(x.results);
|
|
2895
2895
|
} catch (x) {
|
|
2896
2896
|
console.error("useSelectDataSource: error resolving", x);
|
|
@@ -2898,13 +2898,13 @@ function _l(e) {
|
|
|
2898
2898
|
v.value = !1;
|
|
2899
2899
|
}
|
|
2900
2900
|
E.filter((x) => !d.has(String(x))).length > 0 && !c && await Z();
|
|
2901
|
-
} else if (E.length > 0 && Array.isArray(
|
|
2902
|
-
for (const h of
|
|
2901
|
+
} else if (E.length > 0 && Array.isArray(K))
|
|
2902
|
+
for (const h of K) {
|
|
2903
2903
|
const x = String(e.getOptionValue.value(h));
|
|
2904
2904
|
E.includes(x) && d.set(x, h);
|
|
2905
2905
|
}
|
|
2906
|
-
const
|
|
2907
|
-
return b.value =
|
|
2906
|
+
const z = A.map((h) => d.get(String(h))).filter(Boolean);
|
|
2907
|
+
return b.value = z, z;
|
|
2908
2908
|
}
|
|
2909
2909
|
async function H() {
|
|
2910
2910
|
t.value = [], a.value = 0, p = 0, o.value = !1, ne(), d.clear(), b.value = [], c = !1, await Z();
|
|
@@ -2916,9 +2916,9 @@ function _l(e) {
|
|
|
2916
2916
|
const A = e.options();
|
|
2917
2917
|
if (Array.isArray(A) && (t.value = [...A], a.value = t.value.length, p = t.value.length, o.value = !0, U(t.value), c = !0, b.value.length === 0)) {
|
|
2918
2918
|
const k = b.value;
|
|
2919
|
-
(k.length === 0 ? t.value.filter((
|
|
2920
|
-
const
|
|
2921
|
-
return d.has(
|
|
2919
|
+
(k.length === 0 ? t.value.filter((K) => {
|
|
2920
|
+
const z = String(e.getOptionValue.value(K));
|
|
2921
|
+
return d.has(z);
|
|
2922
2922
|
}) : k).length;
|
|
2923
2923
|
}
|
|
2924
2924
|
},
|
|
@@ -2937,7 +2937,7 @@ function _l(e) {
|
|
|
2937
2937
|
onInput: fe,
|
|
2938
2938
|
clearSearch: ie,
|
|
2939
2939
|
loadMore: Q,
|
|
2940
|
-
resolve:
|
|
2940
|
+
resolve: F,
|
|
2941
2941
|
refresh: H
|
|
2942
2942
|
};
|
|
2943
2943
|
}
|
|
@@ -3507,7 +3507,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3507
3507
|
} = He(n), m = O(() => `${u.value}-listbox`), $ = S(null), P = S(null), { selectRootRef: U, isSelectVisible: ne, ensureVisibility: Z } = Zl(), { getOptionValue: le, getOptionLabel: Q, getOption: ce, getEmittingOptionValue: fe, fieldValueIsFilled: ie } = Xl({
|
|
3508
3508
|
optionValue: () => n.optionValue,
|
|
3509
3509
|
optionLabel: () => n.optionLabel
|
|
3510
|
-
}), { isOpened:
|
|
3510
|
+
}), { isOpened: F, isFocused: H, dropdownToggleRef: A, dropdownRef: k, popper: E, dropdownStyle: K, toggleDropdown: z } = Ql({
|
|
3511
3511
|
placement: n.placement,
|
|
3512
3512
|
outline: () => n.outline,
|
|
3513
3513
|
isSelectVisible: ne,
|
|
@@ -3541,7 +3541,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3541
3541
|
getOptionLabel: Q,
|
|
3542
3542
|
getOption: ce,
|
|
3543
3543
|
fieldValueIsFilled: ie,
|
|
3544
|
-
isOpened:
|
|
3544
|
+
isOpened: F,
|
|
3545
3545
|
popperUpdate: () => E.update(),
|
|
3546
3546
|
emit: {
|
|
3547
3547
|
updateModelValue: (N) => o("update:modelValue", N),
|
|
@@ -3564,15 +3564,15 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3564
3564
|
ve.value && ve.value[te] && ve.value[te].toggleOption(ve.value[te].opt);
|
|
3565
3565
|
},
|
|
3566
3566
|
onEscape: () => {
|
|
3567
|
-
|
|
3567
|
+
F.value = !1, o("close"), Ee(() => {
|
|
3568
3568
|
$.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
|
|
3569
3569
|
});
|
|
3570
3570
|
}
|
|
3571
3571
|
});
|
|
3572
3572
|
function _t() {
|
|
3573
|
-
|
|
3573
|
+
F.value = !1, o("close");
|
|
3574
3574
|
}
|
|
3575
|
-
return Y(
|
|
3575
|
+
return Y(F, async (N) => {
|
|
3576
3576
|
N ? (await h.open(), Ee(() => {
|
|
3577
3577
|
E.update();
|
|
3578
3578
|
const te = P.value?.dropdownElRef, re = P.value?.searchInputRef;
|
|
@@ -3625,7 +3625,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3625
3625
|
class: ["vc-select", [
|
|
3626
3626
|
N.$attrs.class,
|
|
3627
3627
|
{
|
|
3628
|
-
"vc-select--opened": r(
|
|
3628
|
+
"vc-select--opened": r(F),
|
|
3629
3629
|
"vc-select--error": r(d),
|
|
3630
3630
|
"vc-select--disabled": r(c),
|
|
3631
3631
|
"vc-select--has-hint-or-error": r(d) || e.hint,
|
|
@@ -3662,7 +3662,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3662
3662
|
R(To, {
|
|
3663
3663
|
ref_key: "selectTriggerRef",
|
|
3664
3664
|
ref: $,
|
|
3665
|
-
"is-opened": r(
|
|
3665
|
+
"is-opened": r(F),
|
|
3666
3666
|
"has-value": r(q),
|
|
3667
3667
|
"selected-scope": r(x),
|
|
3668
3668
|
multiple: e.multiple,
|
|
@@ -3685,7 +3685,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3685
3685
|
"aria-required": r(I),
|
|
3686
3686
|
"error-id": r(b),
|
|
3687
3687
|
"hint-id": r(v),
|
|
3688
|
-
"toggle-dropdown": r(
|
|
3688
|
+
"toggle-dropdown": r(z),
|
|
3689
3689
|
"get-option-label": r(Q),
|
|
3690
3690
|
"get-emitting-option-value": r(fe),
|
|
3691
3691
|
onFocus: te[0] || (te[0] = (re) => H.value = !0),
|
|
@@ -3753,10 +3753,10 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3753
3753
|
R(Po, ae({
|
|
3754
3754
|
ref_key: "selectDropdownRef",
|
|
3755
3755
|
ref: P,
|
|
3756
|
-
"is-opened": r(
|
|
3756
|
+
"is-opened": r(F),
|
|
3757
3757
|
"listbox-id": m.value
|
|
3758
3758
|
}, { ariaLabel: e.label || e.name }, {
|
|
3759
|
-
"dropdown-style": r(
|
|
3759
|
+
"dropdown-style": r(K),
|
|
3760
3760
|
searchable: e.searchable,
|
|
3761
3761
|
"option-scope": r(ve),
|
|
3762
3762
|
"list-loading": r(h).loading.value || r(h).searchLoading.value,
|