@vc-shell/framework 2.6.2-pr375.0f04f78 → 2.6.2-pr376.90fba6c
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 +3 -3
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-BZ5N2o20.js} +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-BZ5N2o20.js.map} +1 -1
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-at7LNGOQ.js} +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-at7LNGOQ.js.map} +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-CqFO0C1J.js → VcScheduler.vue_vue_type_script_setup_true_lang-BTF5dXb3.js} +7699 -7626
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BTF5dXb3.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js → VcScheduler.vue_vue_type_style_index_0_lang-CCPe6LtD.js} +120 -119
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js.map → VcScheduler.vue_vue_type_style_index_0_lang-CCPe6LtD.js.map} +1 -1
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BduFFYXm.js} +2 -2
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BduFFYXm.js.map} +1 -1
- package/dist/chunks/{index-_JlFbcuN.js → index-Cjrzln8a.js} +2 -2
- package/dist/chunks/{index-_JlFbcuN.js.map → index-Cjrzln8a.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-components-B3XvEasa.js → vendor-vueuse-components-BTQXlUpM.js} +1 -1
- package/dist/chunks/{vendor-vueuse-components-B3XvEasa.js.map → vendor-vueuse-components-BTQXlUpM.js.map} +1 -1
- package/dist/chunks/vendor-vueuse-core-BwXFv1rx.js +627 -0
- package/dist/chunks/{vendor-vueuse-core-_wFDcFkI.js.map → vendor-vueuse-core-BwXFv1rx.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-shared-CiuC98Kk.js → vendor-vueuse-shared-BPTQMqzb.js} +3 -3
- package/dist/chunks/{vendor-vueuse-shared-CiuC98Kk.js.map → vendor-vueuse-shared-BPTQMqzb.js.map} +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +465 -465
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts +6 -4
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts +11 -0
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -1
- package/dist/ui/index.js +3 -3
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CqFO0C1J.js.map +0 -1
- package/dist/chunks/vendor-vueuse-core-_wFDcFkI.js +0 -587
- package/dist/core/utilities/authGuard.d.ts +0 -17
- package/dist/core/utilities/authGuard.d.ts.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { mergeProps as ee, computed as $, toValue as be, inject as Y, useId as an, ref as I, onBeforeUnmount as rt, reactive as Ze, provide as Et, getCurrentScope as ln, onScopeDispose as on, getCurrentInstance as We, onErrorCaptured as rn, nextTick as Se, defineComponent as z, watch as j, unref as r, openBlock as f, createElementBlock as y, normalizeClass as W, createBlock as P, createCommentVNode as w, renderSlot as T, createElementVNode as x, toDisplayString as A, Fragment as Le, renderList as st, normalizeStyle as Ve, resolveDynamicComponent as ut, withCtx as O, withKeys as X, withModifiers as G, createVNode as
|
|
2
|
-
import { c as ge, ai as dn, O as fn, v as vn, r as gn, o as mn, I as pn, q as bn, p as yn, B as Ct, b as hn, i as kn, _ as U, T as xt, a as Tt, V as In, w as Sn, u as $n } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { mergeProps as ee, computed as $, toValue as be, inject as Y, useId as an, ref as I, onBeforeUnmount as rt, reactive as Ze, provide as Et, getCurrentScope as ln, onScopeDispose as on, getCurrentInstance as We, onErrorCaptured as rn, nextTick as Se, defineComponent as z, watch as j, unref as r, openBlock as f, createElementBlock as y, normalizeClass as W, createBlock as P, createCommentVNode as w, renderSlot as T, createElementVNode as x, toDisplayString as A, Fragment as Le, renderList as st, normalizeStyle as Ve, resolveDynamicComponent as ut, withCtx as O, withKeys as X, withModifiers as G, createVNode as R, watchEffect as tt, shallowReactive as nt, markRaw as at, createSlots as oe, createTextVNode as Z, Transition as Pe, withDirectives as ct, vModelText as sn, useAttrs as Lt, vModelDynamic as un, onMounted as je, onUnmounted as Bt, Teleport as cn, normalizeProps as Ae, guardReactiveProps as Ne } from "vue";
|
|
2
|
+
import { c as ge, ai as dn, O as fn, v as vn, r as gn, o as mn, I as pn, q as bn, p as yn, B as Ct, b as hn, i as kn, _ as U, T as xt, a as Tt, V as In, w as Sn, u as $n } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-at7LNGOQ.js";
|
|
3
3
|
import { defineRule as Be, Field as wn } from "vee-validate";
|
|
4
4
|
import { a as kt } from "./vendor-vee-validate-rules-4oWUZPpG.js";
|
|
5
|
-
import { a as
|
|
5
|
+
import { a as Mt, s as On, c as En, b as Qe, e as De } from "./vendor-lodash-es-D2n90GJy.js";
|
|
6
6
|
import { X as Ln } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
|
|
7
|
-
import { d as
|
|
7
|
+
import { d as Rt, e as Bn, f as Cn, g as xn } from "./vendor-vueuse-core-BwXFv1rx.js";
|
|
8
8
|
import { c as Tn, u as we } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
9
|
-
import { j as
|
|
10
|
-
import { k as
|
|
9
|
+
import { j as Mn } from "./vendor-vueuse-shared-BPTQMqzb.js";
|
|
10
|
+
import { k as Rn } from "./vendor-tiptap-core-CZbeo7XQ.js";
|
|
11
11
|
import "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
|
|
12
12
|
import { q as An } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
|
|
13
13
|
import { C as Nn, u as Dn } from "./vendor-vue-currency-input-CckB4kjx.js";
|
|
14
14
|
import { u as Vn } from "./vendor-floating-ui-vue-sCrhit51.js";
|
|
15
15
|
import { f as At, s as Nt, o as lt, b as Pn } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
16
|
-
import { v as Fn } from "./vendor-vueuse-components-
|
|
16
|
+
import { v as Fn } from "./vendor-vueuse-components-BTQXlUpM.js";
|
|
17
17
|
import { p as Dt } from "./vendor-dompurify-DpIUMBYC.js";
|
|
18
18
|
import { S as Ie, h as zn, T as qn } from "./vendor-date-fns-C-55OMpS.js";
|
|
19
19
|
import { t as Un } from "./vendor-truncate-html-ChA1T5zy.js";
|
|
@@ -475,7 +475,7 @@ function sa(e, t = {}) {
|
|
|
475
475
|
function u() {
|
|
476
476
|
i !== null && (cancelAnimationFrame(i), i = null);
|
|
477
477
|
}
|
|
478
|
-
return
|
|
478
|
+
return Rt(e, l), rt(() => {
|
|
479
479
|
u();
|
|
480
480
|
}), {
|
|
481
481
|
canScrollUp: a,
|
|
@@ -692,7 +692,7 @@ function qt(e) {
|
|
|
692
692
|
return e.bus.replayInto(n), n;
|
|
693
693
|
}
|
|
694
694
|
function Ke(e) {
|
|
695
|
-
return e.id !== void 0 ? `id:${String(e.id)}` : e.routeId ? `route:${e.routeId}` : e.url ? `url:${e.url}` : e.groupConfig?.id ? `gc:${e.groupConfig.id}:${e.title}` : e.group ? `g:${e.group}:${e.title}` : `hash:${JSON.stringify(
|
|
695
|
+
return e.id !== void 0 ? `id:${String(e.id)}` : e.routeId ? `route:${e.routeId}` : e.url ? `url:${e.url}` : e.groupConfig?.id ? `gc:${e.groupConfig.id}:${e.title}` : e.group ? `g:${e.group}:${e.title}` : `hash:${JSON.stringify(Mt(e, "title"))}`;
|
|
696
696
|
}
|
|
697
697
|
const ze = I(/* @__PURE__ */ new Map()), ve = Ce({
|
|
698
698
|
name: "menu-service",
|
|
@@ -750,7 +750,7 @@ function ya(e, t) {
|
|
|
750
750
|
}
|
|
751
751
|
function ha(e, t) {
|
|
752
752
|
const n = pa(e), a = {
|
|
753
|
-
...
|
|
753
|
+
...Mt(e, ["group", "groupIcon", "groupPriority", "groupConfig"])
|
|
754
754
|
}, o = t.get(n.groupId);
|
|
755
755
|
if (o) {
|
|
756
756
|
const i = [...o.children ?? []], l = i.findIndex((s) => ft(s, a));
|
|
@@ -948,7 +948,7 @@ const tr = z({
|
|
|
948
948
|
}), Ca = Symbol("vc-button-group"), xa = ["type", "disabled", "aria-disabled", "aria-label", "aria-busy", "aria-pressed"], Ta = {
|
|
949
949
|
key: 2,
|
|
950
950
|
class: "vc-button__title"
|
|
951
|
-
},
|
|
951
|
+
}, Ma = /* @__PURE__ */ z({
|
|
952
952
|
__name: "vc-button",
|
|
953
953
|
props: {
|
|
954
954
|
icon: {},
|
|
@@ -1064,7 +1064,7 @@ function Kt() {
|
|
|
1064
1064
|
};
|
|
1065
1065
|
return vt.replayInto(l), l;
|
|
1066
1066
|
}
|
|
1067
|
-
const
|
|
1067
|
+
const Ra = "fallback-blade-id";
|
|
1068
1068
|
let _e = null;
|
|
1069
1069
|
const Aa = Ge({
|
|
1070
1070
|
key: xt,
|
|
@@ -1081,7 +1081,7 @@ function lr(e = {}) {
|
|
|
1081
1081
|
const a = n || _e;
|
|
1082
1082
|
if (!a)
|
|
1083
1083
|
throw new Error("Toolbar service is not available");
|
|
1084
|
-
const o = Y(Ct, void 0), i = $(() => o?.value?.id ??
|
|
1084
|
+
const o = Y(Ct, void 0), i = $(() => o?.value?.id ?? Ra), l = (c) => c ?? i.value, s = (c, b) => {
|
|
1085
1085
|
a.registerToolbarItem(c, l(b));
|
|
1086
1086
|
}, u = (c, b) => {
|
|
1087
1087
|
a.unregisterToolbarItem(c, l(b));
|
|
@@ -1168,7 +1168,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
|
|
|
1168
1168
|
function s(u) {
|
|
1169
1169
|
a("scroll", u);
|
|
1170
1170
|
}
|
|
1171
|
-
return
|
|
1171
|
+
return Rt(o, () => {
|
|
1172
1172
|
i.value = !!(o.value && o.value.clientHeight < o.value.scrollHeight);
|
|
1173
1173
|
}), t({
|
|
1174
1174
|
scrollTop: l,
|
|
@@ -1296,7 +1296,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
|
|
|
1296
1296
|
]
|
|
1297
1297
|
}, [
|
|
1298
1298
|
e.src ? w("", !0) : (f(), y("div", Ua, [
|
|
1299
|
-
|
|
1299
|
+
R(r(U), {
|
|
1300
1300
|
icon: e.emptyIcon,
|
|
1301
1301
|
size: "xl"
|
|
1302
1302
|
}, null, 8, ["icon"])
|
|
@@ -1339,12 +1339,12 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
|
|
|
1339
1339
|
e.required ? (f(), y("span", Ha, "*")) : w("", !0)
|
|
1340
1340
|
]),
|
|
1341
1341
|
t.$slots.tooltip ? (f(), y("span", Ga, [
|
|
1342
|
-
|
|
1342
|
+
R(r(Tt), { placement: "top-start" }, {
|
|
1343
1343
|
tooltip: O(() => [
|
|
1344
1344
|
T(t.$slots, "tooltip")
|
|
1345
1345
|
]),
|
|
1346
1346
|
default: O(() => [
|
|
1347
|
-
|
|
1347
|
+
R(r(U), {
|
|
1348
1348
|
class: "vc-label__tooltip-icon",
|
|
1349
1349
|
icon: e.tooltipIcon,
|
|
1350
1350
|
size: "s"
|
|
@@ -1467,7 +1467,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
|
|
|
1467
1467
|
(...c) => r(u) && r(u)(...c))
|
|
1468
1468
|
}, [
|
|
1469
1469
|
T(g.$slots, "arrow-up", {}, () => [
|
|
1470
|
-
|
|
1470
|
+
R(r(U), {
|
|
1471
1471
|
icon: "lucide-chevron-up",
|
|
1472
1472
|
size: "xs"
|
|
1473
1473
|
})
|
|
@@ -1495,7 +1495,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
|
|
|
1495
1495
|
(...c) => r(u) && r(u)(...c))
|
|
1496
1496
|
}, [
|
|
1497
1497
|
T(g.$slots, "arrow-down", {}, () => [
|
|
1498
|
-
|
|
1498
|
+
R(r(U), {
|
|
1499
1499
|
icon: "lucide-chevron-down",
|
|
1500
1500
|
size: "xs"
|
|
1501
1501
|
})
|
|
@@ -1557,7 +1557,7 @@ function sr() {
|
|
|
1557
1557
|
const cl = ge("use-theme"), he = I([
|
|
1558
1558
|
{ key: "light", localizationKey: "CORE.THEMES.LIGHT" },
|
|
1559
1559
|
{ key: "dark", localizationKey: "CORE.THEMES.DARK" }
|
|
1560
|
-
]), ur =
|
|
1560
|
+
]), ur = Mn(() => {
|
|
1561
1561
|
const { t: e } = $e.global;
|
|
1562
1562
|
function t(v) {
|
|
1563
1563
|
(Array.isArray(v) ? v : [v]).forEach((m) => {
|
|
@@ -1832,7 +1832,7 @@ const ml = {
|
|
|
1832
1832
|
width: 60 + (e.label?.length || 0) * 4,
|
|
1833
1833
|
height: 11
|
|
1834
1834
|
}, null, 8, ["width"])) : w("", !0),
|
|
1835
|
-
|
|
1835
|
+
R(r(ne), {
|
|
1836
1836
|
variant: "block",
|
|
1837
1837
|
width: "100%",
|
|
1838
1838
|
height: 36
|
|
@@ -1877,7 +1877,7 @@ const ml = {
|
|
|
1877
1877
|
}, [
|
|
1878
1878
|
x("div", pl, [
|
|
1879
1879
|
x("div", bl, [
|
|
1880
|
-
|
|
1880
|
+
R(r(An), ee({
|
|
1881
1881
|
modelValue: E.value,
|
|
1882
1882
|
"onUpdate:modelValue": B[0] || (B[0] = (D) => E.value = D),
|
|
1883
1883
|
placeholder: e.placeholder || (e.type === "datetime-local" ? C.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_TIME_PLACEHOLDER") : C.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_PLACEHOLDER")),
|
|
@@ -1918,14 +1918,14 @@ const ml = {
|
|
|
1918
1918
|
"aria-label": C.$t("COMPONENTS.MOLECULES.VC_DATE_PICKER.CLEAR"),
|
|
1919
1919
|
onClick: ae
|
|
1920
1920
|
}, [
|
|
1921
|
-
|
|
1921
|
+
R(r(U), {
|
|
1922
1922
|
size: "xs",
|
|
1923
1923
|
icon: "lucide-x"
|
|
1924
1924
|
})
|
|
1925
1925
|
], 8, yl)) : w("", !0)
|
|
1926
1926
|
]),
|
|
1927
1927
|
e.loading ? (f(), y("div", hl, [
|
|
1928
|
-
|
|
1928
|
+
R(r(U), {
|
|
1929
1929
|
icon: "lucide-loader-2",
|
|
1930
1930
|
class: "vc-date-picker__loading-icon",
|
|
1931
1931
|
size: "m"
|
|
@@ -1933,13 +1933,13 @@ const ml = {
|
|
|
1933
1933
|
])) : w("", !0)
|
|
1934
1934
|
])
|
|
1935
1935
|
], 2),
|
|
1936
|
-
|
|
1936
|
+
R(Pe, {
|
|
1937
1937
|
name: "slide-up",
|
|
1938
1938
|
mode: "out-in"
|
|
1939
1939
|
}, {
|
|
1940
1940
|
default: O(() => [
|
|
1941
1941
|
r(m) && e.errorMessage ? (f(), y("div", kl, [
|
|
1942
|
-
|
|
1942
|
+
R(r(me), {
|
|
1943
1943
|
id: r(u),
|
|
1944
1944
|
class: "vc-date-picker__hint-error",
|
|
1945
1945
|
error: !0
|
|
@@ -1972,7 +1972,7 @@ const ml = {
|
|
|
1972
1972
|
}, wl = { class: "vc-color-input__field-container" }, Ol = { class: "vc-color-input__field" }, El = ["id", "placeholder", "disabled", "name", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby", "aria-label"], Ll = { class: "vc-color-input__color-container" }, Bl = ["aria-label"], Cl = ["value"], xl = ["aria-label"], Tl = {
|
|
1973
1973
|
key: 0,
|
|
1974
1974
|
class: "vc-color-input__loading"
|
|
1975
|
-
},
|
|
1975
|
+
}, Ml = { key: 0 }, Rl = { key: 1 }, Al = /* @__PURE__ */ z({
|
|
1976
1976
|
__name: "vc-color-input",
|
|
1977
1977
|
props: {
|
|
1978
1978
|
modelValue: {},
|
|
@@ -2063,7 +2063,7 @@ const ml = {
|
|
|
2063
2063
|
width: 60 + (e.label?.length || 0) * 4,
|
|
2064
2064
|
height: 11
|
|
2065
2065
|
}, null, 8, ["width"])) : w("", !0),
|
|
2066
|
-
|
|
2066
|
+
R(r(ne), {
|
|
2067
2067
|
variant: "block",
|
|
2068
2068
|
width: "100%",
|
|
2069
2069
|
height: 36
|
|
@@ -2158,14 +2158,14 @@ const ml = {
|
|
|
2158
2158
|
"aria-label": q.$t("COMPONENTS.MOLECULES.VC_COLOR_INPUT.CLEAR"),
|
|
2159
2159
|
onClick: ae
|
|
2160
2160
|
}, [
|
|
2161
|
-
|
|
2161
|
+
R(r(U), {
|
|
2162
2162
|
size: "xs",
|
|
2163
2163
|
icon: "lucide-x"
|
|
2164
2164
|
})
|
|
2165
2165
|
], 8, xl)) : w("", !0)
|
|
2166
2166
|
]),
|
|
2167
2167
|
e.loading ? (f(), y("div", Tl, [
|
|
2168
|
-
|
|
2168
|
+
R(r(U), {
|
|
2169
2169
|
icon: "lucide-loader-2",
|
|
2170
2170
|
class: "vc-color-input__loading-icon",
|
|
2171
2171
|
size: "m"
|
|
@@ -2173,13 +2173,13 @@ const ml = {
|
|
|
2173
2173
|
])) : w("", !0)
|
|
2174
2174
|
])
|
|
2175
2175
|
], 2),
|
|
2176
|
-
|
|
2176
|
+
R(Pe, {
|
|
2177
2177
|
name: "slide-up",
|
|
2178
2178
|
mode: "out-in"
|
|
2179
2179
|
}, {
|
|
2180
2180
|
default: O(() => [
|
|
2181
|
-
r(m) && e.errorMessage ? (f(), y("div",
|
|
2182
|
-
|
|
2181
|
+
r(m) && e.errorMessage ? (f(), y("div", Ml, [
|
|
2182
|
+
R(r(me), {
|
|
2183
2183
|
id: r(u),
|
|
2184
2184
|
class: "vc-color-input__hint-error",
|
|
2185
2185
|
error: !0
|
|
@@ -2189,7 +2189,7 @@ const ml = {
|
|
|
2189
2189
|
]),
|
|
2190
2190
|
_: 1
|
|
2191
2191
|
}, 8, ["id"])
|
|
2192
|
-
])) : (f(), y("div",
|
|
2192
|
+
])) : (f(), y("div", Rl, [
|
|
2193
2193
|
e.hint ? (f(), P(r(me), {
|
|
2194
2194
|
key: 0,
|
|
2195
2195
|
id: r(v),
|
|
@@ -2260,8 +2260,8 @@ const ml = {
|
|
|
2260
2260
|
emits: ["update:modelValue", "blur", "focus"],
|
|
2261
2261
|
setup(e, { emit: t }) {
|
|
2262
2262
|
const n = e, a = Lt(), o = $(() => {
|
|
2263
|
-
const { class: k, ...
|
|
2264
|
-
return
|
|
2263
|
+
const { class: k, ...M } = a;
|
|
2264
|
+
return M;
|
|
2265
2265
|
}), i = t, l = Oe(), {
|
|
2266
2266
|
fieldId: s,
|
|
2267
2267
|
labelId: u,
|
|
@@ -2297,8 +2297,8 @@ const ml = {
|
|
|
2297
2297
|
{ immediate: !0 }
|
|
2298
2298
|
);
|
|
2299
2299
|
function ce(k) {
|
|
2300
|
-
const
|
|
2301
|
-
if ((n.type === "number" || n.type === "integer") && (L === "-" || L === "e" || L === "+") && k.preventDefault(), n.type === "integer" && !/^\d$/.test(L) && !
|
|
2300
|
+
const M = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], L = k.key;
|
|
2301
|
+
if ((n.type === "number" || n.type === "integer") && (L === "-" || L === "e" || L === "+") && k.preventDefault(), n.type === "integer" && !/^\d$/.test(L) && !M.includes(L)) {
|
|
2302
2302
|
k.preventDefault();
|
|
2303
2303
|
return;
|
|
2304
2304
|
}
|
|
@@ -2309,8 +2309,8 @@ const ml = {
|
|
|
2309
2309
|
function q(k) {
|
|
2310
2310
|
p = () => {
|
|
2311
2311
|
if (J.value !== k) {
|
|
2312
|
-
let
|
|
2313
|
-
n.type === "number" && k !== null && k !== void 0 ?
|
|
2312
|
+
let M;
|
|
2313
|
+
n.type === "number" && k !== null && k !== void 0 ? M = k !== "" ? parseFloat(k) : null : n.type === "integer" && k !== null && k !== void 0 ? M = k !== "" ? Math.trunc(parseInt(k)) : null : M = k, i("update:modelValue", M);
|
|
2314
2314
|
}
|
|
2315
2315
|
p = void 0;
|
|
2316
2316
|
}, n.debounce !== void 0 ? (clearTimeout(E), E = setTimeout(p, +n.debounce)) : p();
|
|
@@ -2327,7 +2327,7 @@ const ml = {
|
|
|
2327
2327
|
function V() {
|
|
2328
2328
|
_.value = !0, i("focus");
|
|
2329
2329
|
}
|
|
2330
|
-
return (k,
|
|
2330
|
+
return (k, M) => r(l) ? (f(), y("div", ee({ key: 0 }, o.value, {
|
|
2331
2331
|
class: ["vc-input vc-input--skeleton", k.$attrs.class]
|
|
2332
2332
|
}), [
|
|
2333
2333
|
e.label ? (f(), P(r(ne), {
|
|
@@ -2336,7 +2336,7 @@ const ml = {
|
|
|
2336
2336
|
width: 60 + (e.label?.length || 0) * 4,
|
|
2337
2337
|
height: 11
|
|
2338
2338
|
}, null, 8, ["width"])) : w("", !0),
|
|
2339
|
-
|
|
2339
|
+
R(r(ne), {
|
|
2340
2340
|
variant: "block",
|
|
2341
2341
|
width: "100%",
|
|
2342
2342
|
height: 36
|
|
@@ -2361,9 +2361,9 @@ const ml = {
|
|
|
2361
2361
|
"current-language": e.currentLanguage,
|
|
2362
2362
|
name: e.name,
|
|
2363
2363
|
"aria-label": e.ariaLabel,
|
|
2364
|
-
"onUpdate:modelValue":
|
|
2365
|
-
onBlur:
|
|
2366
|
-
onFocus:
|
|
2364
|
+
"onUpdate:modelValue": M[0] || (M[0] = (L) => i("update:modelValue", L ?? null)),
|
|
2365
|
+
onBlur: M[1] || (M[1] = (L) => i("blur", L)),
|
|
2366
|
+
onFocus: M[2] || (M[2] = (L) => i("focus"))
|
|
2367
2367
|
}), null, 16, ["model-value", "type", "date-picker-options", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name", "aria-label"])) : e.type === "color" ? (f(), P(r(Al), ee({ key: 2 }, r(a), {
|
|
2368
2368
|
"model-value": e.modelValue ?? null,
|
|
2369
2369
|
label: e.label,
|
|
@@ -2382,9 +2382,9 @@ const ml = {
|
|
|
2382
2382
|
"current-language": e.currentLanguage,
|
|
2383
2383
|
name: e.name,
|
|
2384
2384
|
"aria-label": e.ariaLabel,
|
|
2385
|
-
"onUpdate:modelValue":
|
|
2386
|
-
onBlur:
|
|
2387
|
-
onFocus:
|
|
2385
|
+
"onUpdate:modelValue": M[3] || (M[3] = (L) => i("update:modelValue", L)),
|
|
2386
|
+
onBlur: M[4] || (M[4] = (L) => i("blur", L)),
|
|
2387
|
+
onFocus: M[5] || (M[5] = (L) => i("focus"))
|
|
2388
2388
|
}), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name", "aria-label"])) : (f(), y("div", ee({ key: 3 }, o.value, {
|
|
2389
2389
|
class: ["vc-input", [
|
|
2390
2390
|
k.$attrs.class,
|
|
@@ -2447,7 +2447,7 @@ const ml = {
|
|
|
2447
2447
|
id: r(s),
|
|
2448
2448
|
ref_key: "inputRef",
|
|
2449
2449
|
ref: F,
|
|
2450
|
-
"onUpdate:modelValue":
|
|
2450
|
+
"onUpdate:modelValue": M[6] || (M[6] = (L) => te.value = L),
|
|
2451
2451
|
placeholder: e.placeholder,
|
|
2452
2452
|
type: re.value,
|
|
2453
2453
|
disabled: r(d),
|
|
@@ -2477,7 +2477,7 @@ const ml = {
|
|
|
2477
2477
|
"aria-label": k.$t("COMPONENTS.CONTROLS.CLEAR"),
|
|
2478
2478
|
onClick: C
|
|
2479
2479
|
}, [
|
|
2480
|
-
|
|
2480
|
+
R(r(U), {
|
|
2481
2481
|
size: "xs",
|
|
2482
2482
|
icon: "lucide-x"
|
|
2483
2483
|
})
|
|
@@ -2487,9 +2487,9 @@ const ml = {
|
|
|
2487
2487
|
type: "button",
|
|
2488
2488
|
class: "vc-input__showhide",
|
|
2489
2489
|
"aria-label": K.value === "password" ? k.$t("COMPONENTS.CONTROLS.SHOW_PASSWORD") : k.$t("COMPONENTS.CONTROLS.HIDE_PASSWORD"),
|
|
2490
|
-
onClick:
|
|
2490
|
+
onClick: M[7] || (M[7] = (L) => K.value = K.value === "password" ? "text" : "password")
|
|
2491
2491
|
}, [
|
|
2492
|
-
|
|
2492
|
+
R(r(U), {
|
|
2493
2493
|
size: "s",
|
|
2494
2494
|
icon: K.value === "password" ? "lucide-eye-off" : "lucide-eye"
|
|
2495
2495
|
}, null, 8, ["icon"])
|
|
@@ -2499,7 +2499,7 @@ const ml = {
|
|
|
2499
2499
|
T(k.$slots, "append-inner", { focus: D })
|
|
2500
2500
|
])) : w("", !0),
|
|
2501
2501
|
e.loading ? (f(), y("div", Hl, [
|
|
2502
|
-
|
|
2502
|
+
R(r(U), {
|
|
2503
2503
|
icon: "lucide-loader-2",
|
|
2504
2504
|
class: "vc-input__loading-icon",
|
|
2505
2505
|
size: "m"
|
|
@@ -2511,14 +2511,14 @@ const ml = {
|
|
|
2511
2511
|
T(k.$slots, "append", { focus: D })
|
|
2512
2512
|
])) : w("", !0)
|
|
2513
2513
|
]),
|
|
2514
|
-
|
|
2514
|
+
R(Pe, {
|
|
2515
2515
|
name: "slide-up",
|
|
2516
2516
|
mode: "out-in"
|
|
2517
2517
|
}, {
|
|
2518
2518
|
default: O(() => [
|
|
2519
2519
|
r(g) && e.errorMessage ? (f(), y("div", Yl, [
|
|
2520
2520
|
T(k.$slots, "error", {}, () => [
|
|
2521
|
-
|
|
2521
|
+
R(r(me), {
|
|
2522
2522
|
id: r(v),
|
|
2523
2523
|
class: "vc-input__hint-error",
|
|
2524
2524
|
error: !0
|
|
@@ -2548,7 +2548,7 @@ const ml = {
|
|
|
2548
2548
|
})
|
|
2549
2549
|
], 16));
|
|
2550
2550
|
}
|
|
2551
|
-
}), yr =
|
|
2551
|
+
}), yr = Rn.create({
|
|
2552
2552
|
name: "fontSize",
|
|
2553
2553
|
addOptions() {
|
|
2554
2554
|
return {
|
|
@@ -2830,17 +2830,17 @@ function eo(e) {
|
|
|
2830
2830
|
const D = n.value !== null, V = E, k = n.value;
|
|
2831
2831
|
try {
|
|
2832
2832
|
s.value = !0;
|
|
2833
|
-
const
|
|
2833
|
+
const M = await B(v.value, D ? h : b);
|
|
2834
2834
|
if (D && (n.value !== k || V !== E)) return;
|
|
2835
|
-
const L =
|
|
2835
|
+
const L = M?.results ?? [];
|
|
2836
2836
|
if (D ? h += L.length : b += L.length, L.length === 0) {
|
|
2837
2837
|
D ? l.value = !0 : i.value = !0;
|
|
2838
2838
|
return;
|
|
2839
2839
|
}
|
|
2840
2840
|
const H = D ? n.value : t.value, xe = new Set(H.map((Te) => String(e.getOptionValue.value(Te)))), de = L.filter((Te) => !xe.has(String(e.getOptionValue.value(Te))));
|
|
2841
|
-
D ? (n.value = [...H, ...de], o.value =
|
|
2842
|
-
} catch (
|
|
2843
|
-
console.error("useSelectDataSource: error loading more",
|
|
2841
|
+
D ? (n.value = [...H, ...de], o.value = M?.totalCount ?? o.value, h >= o.value && (l.value = !0)) : (t.value = [...H, ...de], a.value = M?.totalCount ?? a.value, b >= a.value && (i.value = !0)), K(de);
|
|
2842
|
+
} catch (M) {
|
|
2843
|
+
console.error("useSelectDataSource: error loading more", M);
|
|
2844
2844
|
} finally {
|
|
2845
2845
|
s.value = !1;
|
|
2846
2846
|
}
|
|
@@ -2854,8 +2854,8 @@ function eo(e) {
|
|
|
2854
2854
|
u.value = !0;
|
|
2855
2855
|
const k = await D(B);
|
|
2856
2856
|
if (V !== E) return;
|
|
2857
|
-
const
|
|
2858
|
-
n.value =
|
|
2857
|
+
const M = k?.results ?? [];
|
|
2858
|
+
n.value = M, o.value = k?.totalCount ?? 0, h = M.length, l.value = M.length === 0 || h >= o.value, K(M);
|
|
2859
2859
|
} catch (k) {
|
|
2860
2860
|
if (V !== E) return;
|
|
2861
2861
|
console.error("useSelectDataSource: error searching", k), n.value = [], o.value = 0, h = 0, l.value = !0;
|
|
@@ -2864,8 +2864,8 @@ function eo(e) {
|
|
|
2864
2864
|
}
|
|
2865
2865
|
} else {
|
|
2866
2866
|
const V = t.value.filter((k) => {
|
|
2867
|
-
const
|
|
2868
|
-
return String(
|
|
2867
|
+
const M = e.getOptionLabel.value(k);
|
|
2868
|
+
return String(M).toLowerCase().includes(B.toLowerCase());
|
|
2869
2869
|
});
|
|
2870
2870
|
n.value = V, o.value = V.length, h = V.length, l.value = !0;
|
|
2871
2871
|
}
|
|
@@ -2902,8 +2902,8 @@ function eo(e) {
|
|
|
2902
2902
|
const H = String(e.getOptionValue.value(L));
|
|
2903
2903
|
V.includes(H) && d.set(H, L);
|
|
2904
2904
|
}
|
|
2905
|
-
const
|
|
2906
|
-
return m.value =
|
|
2905
|
+
const M = B.map((L) => d.get(String(L))).filter(Boolean);
|
|
2906
|
+
return m.value = M, M;
|
|
2907
2907
|
}
|
|
2908
2908
|
async function C() {
|
|
2909
2909
|
t.value = [], a.value = 0, b = 0, i.value = !1, _(), d.clear(), m.value = [], c = !1, await J();
|
|
@@ -2916,8 +2916,8 @@ function eo(e) {
|
|
|
2916
2916
|
if (Array.isArray(B) && (t.value = [...B], a.value = t.value.length, b = t.value.length, i.value = !0, K(t.value), c = !0, m.value.length === 0)) {
|
|
2917
2917
|
const D = m.value;
|
|
2918
2918
|
(D.length === 0 ? t.value.filter((k) => {
|
|
2919
|
-
const
|
|
2920
|
-
return d.has(
|
|
2919
|
+
const M = String(e.getOptionValue.value(k));
|
|
2920
|
+
return d.has(M);
|
|
2921
2921
|
}) : D).length;
|
|
2922
2922
|
}
|
|
2923
2923
|
},
|
|
@@ -3180,7 +3180,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3180
3180
|
onClick: G((u) => o.$emit("removeAtIndex", l.index), ["stop"]),
|
|
3181
3181
|
onKeydown: X(G((u) => o.$emit("removeAtIndex", l.index), ["stop", "prevent"]), ["enter"])
|
|
3182
3182
|
}, [
|
|
3183
|
-
|
|
3183
|
+
R(r(U), {
|
|
3184
3184
|
class: "vc-select__icon-remove",
|
|
3185
3185
|
icon: "lucide-x",
|
|
3186
3186
|
size: "xs"
|
|
@@ -3217,7 +3217,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3217
3217
|
i[7] || (i[7] = X((l) => o.$emit("reset"), ["space"]))
|
|
3218
3218
|
]
|
|
3219
3219
|
}, [
|
|
3220
|
-
|
|
3220
|
+
R(r(U), {
|
|
3221
3221
|
size: "xs",
|
|
3222
3222
|
icon: "lucide-x"
|
|
3223
3223
|
})
|
|
@@ -3227,7 +3227,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3227
3227
|
T(o.$slots, "append-inner")
|
|
3228
3228
|
])) : w("", !0),
|
|
3229
3229
|
e.loading || e.listLoading || e.defaultOptionLoading ? (f(), y("div", So, [
|
|
3230
|
-
|
|
3230
|
+
R(r(U), {
|
|
3231
3231
|
icon: "lucide-loader-2",
|
|
3232
3232
|
class: "tw-animate-spin",
|
|
3233
3233
|
size: "m"
|
|
@@ -3258,7 +3258,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3258
3258
|
]
|
|
3259
3259
|
}, [
|
|
3260
3260
|
x("div", wo, [
|
|
3261
|
-
|
|
3261
|
+
R(r(U), {
|
|
3262
3262
|
size: "s",
|
|
3263
3263
|
icon: "lucide-chevron-down"
|
|
3264
3264
|
})
|
|
@@ -3268,14 +3268,14 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3268
3268
|
])
|
|
3269
3269
|
]),
|
|
3270
3270
|
x("div", Oo, [
|
|
3271
|
-
|
|
3271
|
+
R(Pe, {
|
|
3272
3272
|
name: "slide-up",
|
|
3273
3273
|
mode: "out-in"
|
|
3274
3274
|
}, {
|
|
3275
3275
|
default: O(() => [
|
|
3276
3276
|
e.error && e.errorMessage ? (f(), y("div", Eo, [
|
|
3277
3277
|
T(o.$slots, "error", {}, () => [
|
|
3278
|
-
|
|
3278
|
+
R(r(me), {
|
|
3279
3279
|
id: e.errorId,
|
|
3280
3280
|
class: "vc-select__error-message",
|
|
3281
3281
|
error: !0
|
|
@@ -3312,7 +3312,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3312
3312
|
])
|
|
3313
3313
|
], 512));
|
|
3314
3314
|
}
|
|
3315
|
-
}), xo = ["id", "aria-label"], To = ["aria-label"],
|
|
3315
|
+
}), xo = ["id", "aria-label"], To = ["aria-label"], Mo = ["aria-selected", "data-index", "onClick", "onKeydown"], Ro = {
|
|
3316
3316
|
key: 0,
|
|
3317
3317
|
class: "vc-select__check-icon"
|
|
3318
3318
|
}, Ao = {
|
|
@@ -3364,7 +3364,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3364
3364
|
viewportRef: g,
|
|
3365
3365
|
loadMoreRef: m
|
|
3366
3366
|
}), (c, b) => (f(), P(cn, { to: r(l) }, [
|
|
3367
|
-
|
|
3367
|
+
R(Pe, { name: "select-dropdown" }, {
|
|
3368
3368
|
default: O(() => [
|
|
3369
3369
|
e.isOpened ? ct((f(), y("div", {
|
|
3370
3370
|
key: 0,
|
|
@@ -3394,7 +3394,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3394
3394
|
}, ["stop"]), ["enter"]))
|
|
3395
3395
|
]
|
|
3396
3396
|
}, null, 40, To)) : w("", !0),
|
|
3397
|
-
|
|
3397
|
+
R(r(ol), {
|
|
3398
3398
|
ref_key: "scrollContainerRef",
|
|
3399
3399
|
ref: v,
|
|
3400
3400
|
class: "vc-select__scroll-container"
|
|
@@ -3417,15 +3417,15 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3417
3417
|
T(c.$slots, "option", ee({ ref_for: !0 }, h), () => [
|
|
3418
3418
|
Z(A(h.label), 1)
|
|
3419
3419
|
]),
|
|
3420
|
-
h.selected ? (f(), y("span",
|
|
3421
|
-
|
|
3420
|
+
h.selected ? (f(), y("span", Ro, [
|
|
3421
|
+
R(r(U), {
|
|
3422
3422
|
icon: "lucide-check",
|
|
3423
3423
|
size: "xs"
|
|
3424
3424
|
})
|
|
3425
3425
|
])) : w("", !0)
|
|
3426
|
-
], 42,
|
|
3426
|
+
], 42, Mo))), 128)),
|
|
3427
3427
|
e.listLoading ? (f(), y("div", Ao, [
|
|
3428
|
-
|
|
3428
|
+
R(r(U), {
|
|
3429
3429
|
icon: "lucide-loader-2",
|
|
3430
3430
|
class: "tw-animate-spin",
|
|
3431
3431
|
size: "m"
|
|
@@ -3504,7 +3504,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3504
3504
|
} = He(n), p = $(() => `${u.value}-listbox`), S = I(null), F = I(null), { selectRootRef: K, isSelectVisible: _, ensureVisibility: J } = Ql(), { getOptionValue: re, getOptionLabel: ae, getOption: te, getEmittingOptionValue: ce, fieldValueIsFilled: se } = Zl({
|
|
3505
3505
|
optionValue: () => n.optionValue,
|
|
3506
3506
|
optionLabel: () => n.optionLabel
|
|
3507
|
-
}), { isOpened: q, isFocused: C, dropdownToggleRef: B, dropdownRef: D, popper: V, dropdownStyle: k, toggleDropdown:
|
|
3507
|
+
}), { isOpened: q, isFocused: C, dropdownToggleRef: B, dropdownRef: D, popper: V, dropdownStyle: k, toggleDropdown: M } = _l({
|
|
3508
3508
|
placement: n.placement,
|
|
3509
3509
|
outline: () => n.outline,
|
|
3510
3510
|
isSelectVisible: _,
|
|
@@ -3574,10 +3574,10 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3574
3574
|
if (Xe.initKeyboardNavigation(Q), n.searchable && le)
|
|
3575
3575
|
le.focus();
|
|
3576
3576
|
else {
|
|
3577
|
-
const
|
|
3577
|
+
const Me = Q.querySelector(
|
|
3578
3578
|
'.vc-select__option[tabindex="0"], .vc-select__search-input[tabindex="0"]'
|
|
3579
3579
|
);
|
|
3580
|
-
|
|
3580
|
+
Me ? Me.focus() : Xe.focusFirstElement();
|
|
3581
3581
|
}
|
|
3582
3582
|
})) : (Xe.cleanupKeyboardNavigation(), L.close());
|
|
3583
3583
|
}), j(
|
|
@@ -3589,10 +3589,10 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3589
3589
|
}
|
|
3590
3590
|
const Q = n.emitValue ?? !0;
|
|
3591
3591
|
if (n.mapOptions ?? !0) {
|
|
3592
|
-
const
|
|
3592
|
+
const Me = Array.isArray(N) ? N : [N], ht = Q ? Me : Me.filter((Re) => Re != null && typeof Re != "object");
|
|
3593
3593
|
if (ht.length > 0) {
|
|
3594
|
-
const
|
|
3595
|
-
|
|
3594
|
+
const Re = ht.filter((nn) => nn != null).map(String);
|
|
3595
|
+
Re.length > 0 && await L.resolve(Re);
|
|
3596
3596
|
}
|
|
3597
3597
|
}
|
|
3598
3598
|
},
|
|
@@ -3606,7 +3606,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3606
3606
|
width: 60 + (e.label?.length || 0) * 4,
|
|
3607
3607
|
height: 11
|
|
3608
3608
|
}, null, 8, ["width"])) : w("", !0),
|
|
3609
|
-
|
|
3609
|
+
R(r(ne), {
|
|
3610
3610
|
variant: "block",
|
|
3611
3611
|
width: "100%",
|
|
3612
3612
|
height: 36
|
|
@@ -3653,7 +3653,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3653
3653
|
} : void 0
|
|
3654
3654
|
]), 1032, ["id", "required", "multilanguage", "current-language", "error"])) : w("", !0),
|
|
3655
3655
|
x("div", zo, [
|
|
3656
|
-
|
|
3656
|
+
R(Co, {
|
|
3657
3657
|
ref_key: "selectTriggerRef",
|
|
3658
3658
|
ref: S,
|
|
3659
3659
|
"is-opened": r(q),
|
|
@@ -3679,7 +3679,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3679
3679
|
"aria-required": r(h),
|
|
3680
3680
|
"error-id": r(m),
|
|
3681
3681
|
"hint-id": r(g),
|
|
3682
|
-
"toggle-dropdown": r(
|
|
3682
|
+
"toggle-dropdown": r(M),
|
|
3683
3683
|
"get-option-label": r(ae),
|
|
3684
3684
|
"get-emitting-option-value": r(ce),
|
|
3685
3685
|
onFocus: Q[0] || (Q[0] = (le) => C.value = !0),
|
|
@@ -3744,7 +3744,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3744
3744
|
key: "7"
|
|
3745
3745
|
} : void 0
|
|
3746
3746
|
]), 1032, ["is-opened", "has-value", "selected-scope", "multiple", "loading", "disabled", "clearable", "placeholder", "prefix", "suffix", "size", "error", "error-message", "hint", "list-loading", "default-option-loading", "listbox-id", "label-id", "label", "aria-described-by", "aria-required", "error-id", "hint-id", "toggle-dropdown", "get-option-label", "get-emitting-option-value", "onReset", "onRemoveAtIndex"]),
|
|
3747
|
-
|
|
3747
|
+
R(Po, ee({
|
|
3748
3748
|
ref_key: "selectDropdownRef",
|
|
3749
3749
|
ref: F,
|
|
3750
3750
|
"is-opened": r(q),
|
|
@@ -3822,7 +3822,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3822
3822
|
width: 60 + (e.label?.length || 0) * 4,
|
|
3823
3823
|
height: 11
|
|
3824
3824
|
}, null, 8, ["width"])) : w("", !0),
|
|
3825
|
-
|
|
3825
|
+
R(r(ne), {
|
|
3826
3826
|
variant: "block",
|
|
3827
3827
|
width: "100%",
|
|
3828
3828
|
height: 36
|
|
@@ -3848,7 +3848,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3848
3848
|
T(n.$slots, "option", Ae(Ne(o)))
|
|
3849
3849
|
]),
|
|
3850
3850
|
control: O(({ toggleHandler: o, isOpened: i }) => [
|
|
3851
|
-
|
|
3851
|
+
R(r(bt), {
|
|
3852
3852
|
placeholder: e.placeholder,
|
|
3853
3853
|
hint: e.hint,
|
|
3854
3854
|
clearable: e.clearable,
|
|
@@ -3886,7 +3886,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
3886
3886
|
]
|
|
3887
3887
|
}, A(r(e.option)), 41, Wo)) : w("", !0)
|
|
3888
3888
|
]),
|
|
3889
|
-
e.options && e.options.length ? (f(), P(r(
|
|
3889
|
+
e.options && e.options.length ? (f(), P(r(Ma), {
|
|
3890
3890
|
key: 0,
|
|
3891
3891
|
icon: i ? "lucide-chevron-up" : "lucide-chevron-down",
|
|
3892
3892
|
"icon-size": "s",
|
|
@@ -4024,7 +4024,7 @@ const no = { class: "vc-select__control" }, ao = {
|
|
|
4024
4024
|
width: 60 + (e.label?.length || 0) * 4,
|
|
4025
4025
|
height: 11
|
|
4026
4026
|
}, null, 8, ["width"])) : w("", !0),
|
|
4027
|
-
|
|
4027
|
+
R(r(ne), {
|
|
4028
4028
|
variant: "block",
|
|
4029
4029
|
width: "100%",
|
|
4030
4030
|
height: 36
|
|
@@ -4091,12 +4091,12 @@ function hr() {
|
|
|
4091
4091
|
function kr() {
|
|
4092
4092
|
return Y(Yt, Jo);
|
|
4093
4093
|
}
|
|
4094
|
-
const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("FillerWidth"), $r = Symbol("IsColumnReordering"), wr = (e, t) => {
|
|
4094
|
+
const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("FillerWidth"), $r = Symbol("IsColumnReordering"), wr = Symbol("MobileCellEdit"), Or = (e, t) => {
|
|
4095
4095
|
const n = e.__vccOpts || e;
|
|
4096
4096
|
for (const [a, o] of t)
|
|
4097
4097
|
n[a] = o;
|
|
4098
4098
|
return n;
|
|
4099
|
-
},
|
|
4099
|
+
}, Er = z({
|
|
4100
4100
|
name: "VcColumn",
|
|
4101
4101
|
inheritAttrs: !1,
|
|
4102
4102
|
props: {
|
|
@@ -4323,7 +4323,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4323
4323
|
rules: e.rules
|
|
4324
4324
|
}, {
|
|
4325
4325
|
default: O(({ errors: i, errorMessage: l }) => [
|
|
4326
|
-
|
|
4326
|
+
R(Tt, { placement: "bottom" }, oe({
|
|
4327
4327
|
default: O(() => [
|
|
4328
4328
|
T(a.$slots, "default", {
|
|
4329
4329
|
errors: i,
|
|
@@ -4373,7 +4373,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4373
4373
|
"validate-on-mount": e.validateOnMount
|
|
4374
4374
|
}, {
|
|
4375
4375
|
default: O(({ errors: v, errorMessage: m }) => [
|
|
4376
|
-
|
|
4376
|
+
R(bt, {
|
|
4377
4377
|
"model-value": e.value,
|
|
4378
4378
|
class: "vc-table-cell-default__input",
|
|
4379
4379
|
error: v.length > 0,
|
|
@@ -4384,7 +4384,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4384
4384
|
r(i) && v.length > 0 ? {
|
|
4385
4385
|
name: "append-inner",
|
|
4386
4386
|
fn: O(() => [
|
|
4387
|
-
|
|
4387
|
+
R(r(U), {
|
|
4388
4388
|
icon: "lucide-circle-alert",
|
|
4389
4389
|
class: "vc-table-cell-default__error-icon"
|
|
4390
4390
|
})
|
|
@@ -4435,7 +4435,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4435
4435
|
"validate-on-mount": e.validateOnMount
|
|
4436
4436
|
}, {
|
|
4437
4437
|
default: O(({ errors: c, errorMessage: b }) => [
|
|
4438
|
-
|
|
4438
|
+
R(Yo, {
|
|
4439
4439
|
"model-value": e.value,
|
|
4440
4440
|
options: [],
|
|
4441
4441
|
option: e.currency || "USD",
|
|
@@ -4449,7 +4449,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4449
4449
|
r(s) && c.length > 0 ? {
|
|
4450
4450
|
name: "append-inner",
|
|
4451
4451
|
fn: O(() => [
|
|
4452
|
-
|
|
4452
|
+
R(r(U), {
|
|
4453
4453
|
icon: "lucide-circle-alert",
|
|
4454
4454
|
class: "vc-table-cell-money__error-icon"
|
|
4455
4455
|
})
|
|
@@ -4500,7 +4500,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4500
4500
|
"validate-on-mount": e.validateOnMount
|
|
4501
4501
|
}, {
|
|
4502
4502
|
default: O(({ errors: d, errorMessage: c }) => [
|
|
4503
|
-
|
|
4503
|
+
R(bt, {
|
|
4504
4504
|
"model-value": e.value,
|
|
4505
4505
|
class: "vc-table-cell-number__input",
|
|
4506
4506
|
type: "number",
|
|
@@ -4512,7 +4512,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4512
4512
|
r(l) && d.length > 0 ? {
|
|
4513
4513
|
name: "append-inner",
|
|
4514
4514
|
fn: O(() => [
|
|
4515
|
-
|
|
4515
|
+
R(r(U), {
|
|
4516
4516
|
icon: "lucide-circle-alert",
|
|
4517
4517
|
class: "vc-table-cell-number__error-icon"
|
|
4518
4518
|
})
|
|
@@ -4692,14 +4692,14 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
|
|
|
4692
4692
|
{ type: "status-icon", component: vi, config: { editable: !1 } },
|
|
4693
4693
|
{ type: "link", component: gi, config: { editable: !1 } },
|
|
4694
4694
|
{ type: "html", component: bi, config: { editable: !1 } }
|
|
4695
|
-
],
|
|
4695
|
+
], Lr = Object.freeze(Zt.map((e) => e.type));
|
|
4696
4696
|
function yi() {
|
|
4697
4697
|
const { register: e, has: t } = Jt();
|
|
4698
4698
|
for (const n of Zt)
|
|
4699
4699
|
t(n.type) || e(n);
|
|
4700
4700
|
}
|
|
4701
4701
|
yi();
|
|
4702
|
-
const
|
|
4702
|
+
const Br = /* @__PURE__ */ z({
|
|
4703
4703
|
__name: "DynamicCellRenderer",
|
|
4704
4704
|
props: {
|
|
4705
4705
|
type: {},
|
|
@@ -4728,7 +4728,7 @@ const Lr = /* @__PURE__ */ z({
|
|
|
4728
4728
|
onBlur: l[1] || (l[1] = (s) => i.$emit("blur", s))
|
|
4729
4729
|
}), null, 16));
|
|
4730
4730
|
}
|
|
4731
|
-
}),
|
|
4731
|
+
}), Cr = z({
|
|
4732
4732
|
name: "SlotProxy",
|
|
4733
4733
|
props: {
|
|
4734
4734
|
slotFn: { type: Function, required: !0 },
|
|
@@ -4737,14 +4737,14 @@ const Lr = /* @__PURE__ */ z({
|
|
|
4737
4737
|
setup(e) {
|
|
4738
4738
|
return () => e.slotFn(e.scope);
|
|
4739
4739
|
}
|
|
4740
|
-
}),
|
|
4740
|
+
}), xr = (e, t) => {
|
|
4741
4741
|
const n = t.arg ? parseInt(t.arg, 10) : 9e3, a = typeof t.value == "object" ? t.value : { blur: !0 };
|
|
4742
4742
|
t.value ? (e.classList.add("v-loading"), a.size && e.setAttribute("data-loading-size", a.size), a.color && e.style.setProperty("--v-loading-spinner-color", a.color), a.blur === !1 && e.classList.add("v-loading--no-blur"), a.fullscreen && e.classList.add("v-loading--fullscreen"), e.style.setProperty("--v-loading-z-index", `${n}`)) : (e.classList.remove("v-loading", "v-loading--no-blur", "v-loading--fullscreen"), e.removeAttribute("data-loading-size"), e.style.removeProperty("--v-loading-z-index"), e.style.removeProperty("--v-loading-spinner-color"));
|
|
4743
4743
|
};
|
|
4744
4744
|
export {
|
|
4745
4745
|
Kt as $,
|
|
4746
|
-
|
|
4747
|
-
|
|
4746
|
+
xr as A,
|
|
4747
|
+
Lr as B,
|
|
4748
4748
|
hr as C,
|
|
4749
4749
|
yi as D,
|
|
4750
4750
|
kr as E,
|
|
@@ -4753,7 +4753,7 @@ export {
|
|
|
4753
4753
|
ia as H,
|
|
4754
4754
|
He as I,
|
|
4755
4755
|
sa as J,
|
|
4756
|
-
|
|
4756
|
+
Or as K,
|
|
4757
4757
|
fr as L,
|
|
4758
4758
|
or as M,
|
|
4759
4759
|
aa as N,
|
|
@@ -4771,7 +4771,7 @@ export {
|
|
|
4771
4771
|
sr as Z,
|
|
4772
4772
|
et as _,
|
|
4773
4773
|
Ca as a,
|
|
4774
|
-
|
|
4774
|
+
wr as a$,
|
|
4775
4775
|
gr as a0,
|
|
4776
4776
|
Ia as a1,
|
|
4777
4777
|
vl as a2,
|
|
@@ -4780,7 +4780,7 @@ export {
|
|
|
4780
4780
|
Oa as a5,
|
|
4781
4781
|
qi as a6,
|
|
4782
4782
|
ye as a7,
|
|
4783
|
-
|
|
4783
|
+
Ra as a8,
|
|
4784
4784
|
ie as a9,
|
|
4785
4785
|
Qi as aA,
|
|
4786
4786
|
pr as aB,
|
|
@@ -4807,8 +4807,8 @@ export {
|
|
|
4807
4807
|
Ir as aW,
|
|
4808
4808
|
Sr as aX,
|
|
4809
4809
|
$r as aY,
|
|
4810
|
-
|
|
4811
|
-
|
|
4810
|
+
Cr as aZ,
|
|
4811
|
+
Br as a_,
|
|
4812
4812
|
Ui as aa,
|
|
4813
4813
|
zi as ab,
|
|
4814
4814
|
Fi as ac,
|
|
@@ -4836,7 +4836,8 @@ export {
|
|
|
4836
4836
|
It as ay,
|
|
4837
4837
|
dr as az,
|
|
4838
4838
|
ui as b,
|
|
4839
|
-
|
|
4839
|
+
Xo as b0,
|
|
4840
|
+
oa as b1,
|
|
4840
4841
|
Xt as c,
|
|
4841
4842
|
yt as d,
|
|
4842
4843
|
bi as e,
|
|
@@ -4846,9 +4847,9 @@ export {
|
|
|
4846
4847
|
li as i,
|
|
4847
4848
|
di as j,
|
|
4848
4849
|
vi as k,
|
|
4849
|
-
|
|
4850
|
+
Ma as l,
|
|
4850
4851
|
Al as m,
|
|
4851
|
-
|
|
4852
|
+
Er as n,
|
|
4852
4853
|
Sl as o,
|
|
4853
4854
|
Ka as p,
|
|
4854
4855
|
bt as q,
|