@vc-shell/framework 2.6.3-rc.0-pr389.27c9cf3 → 2.7.0-pr392.2aea433
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/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-TiaFg1wQ.js.map +1 -1
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BC1BqnzZ.js +21413 -0
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BC1BqnzZ.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-CSqtsFQm.js → VcScheduler.vue_vue_type_style_index_0_lang-BhXTPWKg.js} +58 -58
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BhXTPWKg.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-DuuZ_8d4.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-aICyTuY8.js} +1 -1
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-DuuZ_8d4.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-aICyTuY8.js.map} +1 -1
- package/dist/core/composables/useBladeWidgets/index.d.ts +5 -2
- package/dist/core/composables/useBladeWidgets/index.d.ts.map +1 -1
- package/dist/core/notifications/types.d.ts +2 -1
- package/dist/core/notifications/types.d.ts.map +1 -1
- package/dist/core/services/widget-service.d.ts +30 -0
- package/dist/core/services/widget-service.d.ts.map +1 -1
- package/dist/core/types/severity.d.ts +3 -0
- package/dist/core/types/severity.d.ts.map +1 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +516 -514
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/de.js +19 -1
- package/dist/locales/en.js +19 -1
- package/dist/locales/en.json +19 -1
- package/dist/locales/types.d.ts +18 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/widget-render-state.d.ts +15 -0
- package/dist/ui/components/atoms/vc-widget/widget-render-state.d.ts.map +1 -0
- 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/BladeToolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetAlertsPopover.vue.d.ts +29 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetAlertsPopover.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts +5 -2
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts +5 -2
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetItem.vue.d.ts +14 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetItem.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetScope.vue.d.ts +2 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetScope.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/useWidgetEditReorder.d.ts +25 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/useWidgetEditReorder.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/useWidgetLayout.d.ts +24 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/useWidgetLayout.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/useWidgetSortable.d.ts +24 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/useWidgetSortable.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/widget-alerts.d.ts +8 -0
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/widget-alerts.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +4 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/composables/useAdaptiveItems.d.ts +3 -1
- package/dist/ui/composables/useAdaptiveItems.d.ts.map +1 -1
- package/dist/ui/composables/useFloatingPosition.d.ts +1 -1
- package/dist/ui/composables/useFloatingPosition.d.ts.map +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-0d1Dle1T.js +0 -20689
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-0d1Dle1T.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CSqtsFQm.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { mergeProps as ae, inject as X, useId as tn, computed as O, ref as S, onBeforeUnmount as it, reactive as
|
|
1
|
+
import { mergeProps as ae, inject as X, useId as tn, computed as O, ref as S, onBeforeUnmount as it, reactive as Qe, provide as Ot, getCurrentScope as nn, onScopeDispose as an, getCurrentInstance as je, onErrorCaptured as ln, nextTick as Ee, defineComponent as V, watch as Y, unref as r, openBlock as f, createElementBlock as y, normalizeClass as G, createBlock as D, createCommentVNode as w, renderSlot as B, createElementVNode as C, toDisplayString as M, Fragment as Ce, renderList as rt, normalizeStyle as Ve, resolveDynamicComponent as st, withCtx as L, withKeys as _, withModifiers as J, createVNode as R, shallowReactive as qe, watchEffect as nt, markRaw as at, createSlots as se, createTextVNode as ee, Transition as Pe, withDirectives as ut, vModelText as on, useAttrs as wt, vModelDynamic as rn, onMounted as He, onUnmounted as Lt, Teleport as sn, normalizeProps as Ne, guardReactiveProps as Ae } from "vue";
|
|
2
2
|
import { c as pe, ak as un, R as cn, z as dn, w as fn, s as vn, I as gn, v as mn, t as pn, B as Ct, d as bn, i as yn, _ as W, T as Tt, a as Bt, Z as hn, C as In, u as kn, b as Sn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-TiaFg1wQ.js";
|
|
3
3
|
import { defineRule as Te, Field as $n } from "vee-validate";
|
|
4
4
|
import { a as ht } from "./vendor-vee-validate-rules-4oWUZPpG.js";
|
|
5
|
-
import { a as Rt, s as En, c as On, b as
|
|
5
|
+
import { a as Rt, s as En, c as On, b as _e, e as De } from "./vendor-lodash-es-D2n90GJy.js";
|
|
6
6
|
import { X as wn } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
|
|
7
7
|
import { d as xt, e as Ln, f as Cn, g as Tn } from "./vendor-vueuse-core-BwXFv1rx.js";
|
|
8
8
|
import { c as Bn, u as ye } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
@@ -401,7 +401,7 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
401
401
|
notification: de,
|
|
402
402
|
setNotificationBackend: la
|
|
403
403
|
}, Symbol.toStringTag, { value: "Module" })), ia = Symbol("vc-input-group-context");
|
|
404
|
-
function
|
|
404
|
+
function Ge(e) {
|
|
405
405
|
const t = X(ia, null), n = tn(), a = O(() => `vc-field-${n}`), i = O(() => `${a.value}-label`), o = O(() => `${a.value}-error`), l = O(() => `${a.value}-hint`), s = O(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), u = O(() => !!e.disabled || !!t?.disabled.value), g = O(() => t?.name.value || e.name), b = O(() => e.required ? !0 : void 0), v = O(() => {
|
|
406
406
|
const d = /* @__PURE__ */ new Set();
|
|
407
407
|
return t?.describedBy.value && t.describedBy.value.split(/\s+/).forEach((c) => d.add(c)), e.errorMessage && d.add(o.value), e.hint && d.add(l.value), d.size ? Array.from(d).join(" ") : void 0;
|
|
@@ -570,7 +570,7 @@ function Be(e) {
|
|
|
570
570
|
};
|
|
571
571
|
}
|
|
572
572
|
function Pt(e) {
|
|
573
|
-
const t =
|
|
573
|
+
const t = Qe({}), n = Qe([]), a = Qe(/* @__PURE__ */ new Map());
|
|
574
574
|
function i(d) {
|
|
575
575
|
a.set(d, (a.get(d) ?? 0) + 1);
|
|
576
576
|
}
|
|
@@ -662,12 +662,12 @@ function zt(e) {
|
|
|
662
662
|
};
|
|
663
663
|
return e.bus.replayInto(n), n;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function We(e) {
|
|
666
666
|
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(Rt(e, "title"))}`;
|
|
667
667
|
}
|
|
668
668
|
const Fe = S(/* @__PURE__ */ new Map()), me = Be({
|
|
669
669
|
name: "menu-service",
|
|
670
|
-
getKey:
|
|
670
|
+
getKey: We,
|
|
671
671
|
registerIntoService: (e, t) => e.addMenuItem(t)
|
|
672
672
|
});
|
|
673
673
|
function ji(e) {
|
|
@@ -695,7 +695,7 @@ function Xi() {
|
|
|
695
695
|
}
|
|
696
696
|
const ot = 1 / 0, ga = 1 / 0;
|
|
697
697
|
function dt(e, t) {
|
|
698
|
-
return
|
|
698
|
+
return We(e) === We(t);
|
|
699
699
|
}
|
|
700
700
|
function ma(e) {
|
|
701
701
|
return e.groupConfig ? {
|
|
@@ -746,7 +746,7 @@ function ya(e, t) {
|
|
|
746
746
|
function kt(e) {
|
|
747
747
|
const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
748
748
|
for (const a of e)
|
|
749
|
-
a.group || a.groupConfig ? ya(a, t) : a.title && n.set(
|
|
749
|
+
a.group || a.groupConfig ? ya(a, t) : a.title && n.set(We(a), { ...a });
|
|
750
750
|
return ha([...t.values(), ...n.values()]);
|
|
751
751
|
}
|
|
752
752
|
function ha(e) {
|
|
@@ -776,7 +776,7 @@ function Ia() {
|
|
|
776
776
|
};
|
|
777
777
|
return me.replayInto(o), o;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Ye(e) {
|
|
780
780
|
const { key: t, create: n, bus: a, name: i, onMissing: o } = e;
|
|
781
781
|
function l() {
|
|
782
782
|
const u = X(t, null);
|
|
@@ -796,12 +796,12 @@ function Ge(e) {
|
|
|
796
796
|
use: s
|
|
797
797
|
};
|
|
798
798
|
}
|
|
799
|
-
const ka = pe("use-menu-service"), Ft =
|
|
799
|
+
const ka = pe("use-menu-service"), Ft = Ye({
|
|
800
800
|
key: dn,
|
|
801
801
|
create: Ia,
|
|
802
802
|
bus: me,
|
|
803
803
|
name: "MenuService",
|
|
804
|
-
onMissing: () => ka.error("Menu service not found in current context. Injection chain:",
|
|
804
|
+
onMissing: () => ka.error("Menu service not found in current context. Injection chain:", je())
|
|
805
805
|
});
|
|
806
806
|
function Zi() {
|
|
807
807
|
return Ft.provide();
|
|
@@ -809,7 +809,7 @@ function Zi() {
|
|
|
809
809
|
function Qi() {
|
|
810
810
|
return Ft.use();
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Je() {
|
|
813
813
|
return {
|
|
814
814
|
isMobile: X(pn, S(!1)),
|
|
815
815
|
isDesktop: X(mn, S(!0)),
|
|
@@ -848,7 +848,7 @@ function Ea() {
|
|
|
848
848
|
}
|
|
849
849
|
const Oa = pe("use-error-handler");
|
|
850
850
|
function wa(e) {
|
|
851
|
-
const t = S(null), n =
|
|
851
|
+
const t = S(null), n = je(), { appInsights: a } = Ea(), { user: i } = ct(), o = S(!1);
|
|
852
852
|
function l() {
|
|
853
853
|
t.value = null, n && n.emit("reset");
|
|
854
854
|
}
|
|
@@ -1036,8 +1036,8 @@ function Kt() {
|
|
|
1036
1036
|
return ft.replayInto(l), l;
|
|
1037
1037
|
}
|
|
1038
1038
|
const xa = "fallback-blade-id";
|
|
1039
|
-
let
|
|
1040
|
-
const Ma =
|
|
1039
|
+
let et = null;
|
|
1040
|
+
const Ma = Ye({
|
|
1041
1041
|
key: Tt,
|
|
1042
1042
|
create: Kt,
|
|
1043
1043
|
bus: ft,
|
|
@@ -1048,8 +1048,8 @@ function nr() {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
function ar(e = {}) {
|
|
1050
1050
|
const { autoCleanup: t = !0 } = e, n = X(Tt, null);
|
|
1051
|
-
!n && !
|
|
1052
|
-
const a = n ||
|
|
1051
|
+
!n && !et && (et = Kt());
|
|
1052
|
+
const a = n || et;
|
|
1053
1053
|
if (!a)
|
|
1054
1054
|
throw new Error("Toolbar service is not available");
|
|
1055
1055
|
const i = X(Ct, void 0), o = O(() => i?.value?.id ?? xa), l = (c) => c ?? o.value, s = (c, p) => {
|
|
@@ -1061,7 +1061,7 @@ function ar(e = {}) {
|
|
|
1061
1061
|
}, b = (c) => a.getToolbarItems(l(c)), v = (c) => {
|
|
1062
1062
|
a.clearBladeToolbarItems(l(c));
|
|
1063
1063
|
};
|
|
1064
|
-
return
|
|
1064
|
+
return je() && t && it(() => {
|
|
1065
1065
|
v();
|
|
1066
1066
|
}), {
|
|
1067
1067
|
registerToolbarItem: s,
|
|
@@ -1285,7 +1285,7 @@ const Na = ["aria-label"], Aa = { class: "tw-sr-only" }, Da = ["aria-label"], Va
|
|
|
1285
1285
|
}, Ga = {
|
|
1286
1286
|
key: 1,
|
|
1287
1287
|
class: "vc-label__language"
|
|
1288
|
-
},
|
|
1288
|
+
}, Xe = /* @__PURE__ */ V({
|
|
1289
1289
|
__name: "vc-label",
|
|
1290
1290
|
props: {
|
|
1291
1291
|
required: { type: Boolean },
|
|
@@ -1474,7 +1474,7 @@ const Na = ["aria-label"], Aa = { class: "tw-sr-only" }, Da = ["aria-label"], Va
|
|
|
1474
1474
|
], 34)
|
|
1475
1475
|
], 8, al));
|
|
1476
1476
|
}
|
|
1477
|
-
}), vt = /* @__PURE__ */ new Map();
|
|
1477
|
+
}), vt = qe(/* @__PURE__ */ new Map());
|
|
1478
1478
|
function ol(e) {
|
|
1479
1479
|
return e?.map((t) => t.toLowerCase());
|
|
1480
1480
|
}
|
|
@@ -1554,7 +1554,7 @@ const ul = pe("use-theme"), ke = S([
|
|
|
1554
1554
|
)
|
|
1555
1555
|
}
|
|
1556
1556
|
}), { state: o, next: l } = Cn(a, { initialValue: i });
|
|
1557
|
-
|
|
1557
|
+
nt(() => {
|
|
1558
1558
|
o.value && (i.value = o.value);
|
|
1559
1559
|
});
|
|
1560
1560
|
function s(g) {
|
|
@@ -1562,13 +1562,13 @@ const ul = pe("use-theme"), ke = S([
|
|
|
1562
1562
|
}
|
|
1563
1563
|
const u = O(() => {
|
|
1564
1564
|
const g = ke.value.find((b) => b.key === o.value);
|
|
1565
|
-
return g ? g.localizationKey ? e(g.localizationKey) :
|
|
1565
|
+
return g ? g.localizationKey ? e(g.localizationKey) : _e(g.key) : o.value ? _e(o.value) : "";
|
|
1566
1566
|
});
|
|
1567
1567
|
return {
|
|
1568
1568
|
themes: O(
|
|
1569
1569
|
() => ke.value.map((g) => ({
|
|
1570
1570
|
key: g.key,
|
|
1571
|
-
name: g.localizationKey ? e(g.localizationKey) :
|
|
1571
|
+
name: g.localizationKey ? e(g.localizationKey) : _e(g.key)
|
|
1572
1572
|
}))
|
|
1573
1573
|
),
|
|
1574
1574
|
currentThemeKey: o,
|
|
@@ -1587,8 +1587,8 @@ function ur(e) {
|
|
|
1587
1587
|
gt.preregister(e);
|
|
1588
1588
|
}
|
|
1589
1589
|
const cl = () => ({
|
|
1590
|
-
widgets:
|
|
1591
|
-
layout:
|
|
1590
|
+
widgets: qe(/* @__PURE__ */ new Map()),
|
|
1591
|
+
layout: qe(/* @__PURE__ */ new Map())
|
|
1592
1592
|
});
|
|
1593
1593
|
function dl(e = {}) {
|
|
1594
1594
|
const t = cl(), n = e.hasAccess ?? (() => !0), s = {
|
|
@@ -1617,7 +1617,7 @@ function dl(e = {}) {
|
|
|
1617
1617
|
};
|
|
1618
1618
|
return gt.replayInto(s), s;
|
|
1619
1619
|
}
|
|
1620
|
-
const $t = pe("use-dashboard"), qt =
|
|
1620
|
+
const $t = pe("use-dashboard"), qt = Ye({
|
|
1621
1621
|
key: hn,
|
|
1622
1622
|
bus: gt,
|
|
1623
1623
|
name: "DashboardService",
|
|
@@ -1690,7 +1690,7 @@ function fl() {
|
|
|
1690
1690
|
getId: (e) => e.id || ""
|
|
1691
1691
|
});
|
|
1692
1692
|
}
|
|
1693
|
-
const vl = pe("use-settings-menu"), jt =
|
|
1693
|
+
const vl = pe("use-settings-menu"), jt = Ye({
|
|
1694
1694
|
key: In,
|
|
1695
1695
|
create: fl,
|
|
1696
1696
|
bus: mt,
|
|
@@ -1734,7 +1734,7 @@ const gl = {
|
|
|
1734
1734
|
},
|
|
1735
1735
|
emits: ["update:modelValue", "blur", "focus"],
|
|
1736
1736
|
setup(e, { emit: t }) {
|
|
1737
|
-
const n = e, a = t, i = we(), { t: o } = ye({ useScope: "global" }), { isMobile: l, isDesktop: s } =
|
|
1737
|
+
const n = e, a = t, i = we(), { t: o } = ye({ useScope: "global" }), { isMobile: l, isDesktop: s } = Je(), { labelId: u, errorId: g, hintId: b, invalid: v, resolvedDisabled: d, ariaRequired: c, ariaDescribedBy: p } = Ge(n), I = S(!1), T = window.navigator.language, m = S(n.modelValue), $ = S(null), P = O(() => n.type === "date" && "9999-12-31" || void 0), U = (() => {
|
|
1738
1738
|
const k = new Intl.DateTimeFormat(T, { hour: "numeric" }).format();
|
|
1739
1739
|
return Number.isInteger(Number(k));
|
|
1740
1740
|
})(), ne = O(() => {
|
|
@@ -1844,7 +1844,7 @@ const gl = {
|
|
|
1844
1844
|
}
|
|
1845
1845
|
]])
|
|
1846
1846
|
}, [
|
|
1847
|
-
e.label ? (f(), D(r(
|
|
1847
|
+
e.label ? (f(), D(r(Xe), {
|
|
1848
1848
|
key: 0,
|
|
1849
1849
|
id: r(u),
|
|
1850
1850
|
class: "vc-date-picker__label",
|
|
@@ -2001,7 +2001,7 @@ const gl = {
|
|
|
2001
2001
|
resolvedDisabled: v,
|
|
2002
2002
|
ariaRequired: d,
|
|
2003
2003
|
ariaDescribedBy: c
|
|
2004
|
-
} =
|
|
2004
|
+
} = Ge(i), p = S(!1), I = S(!1), T = S(), m = S(), $ = S(i.modelValue ?? ""), P = S("");
|
|
2005
2005
|
function U(F) {
|
|
2006
2006
|
if (!F || typeof F != "string") {
|
|
2007
2007
|
P.value = "";
|
|
@@ -2075,7 +2075,7 @@ const gl = {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
]])
|
|
2077
2077
|
}, [
|
|
2078
|
-
e.label ? (f(), D(r(
|
|
2078
|
+
e.label ? (f(), D(r(Xe), {
|
|
2079
2079
|
key: 0,
|
|
2080
2080
|
id: r(s),
|
|
2081
2081
|
"html-for": r(l),
|
|
@@ -2271,7 +2271,7 @@ const gl = {
|
|
|
2271
2271
|
resolvedName: I,
|
|
2272
2272
|
ariaRequired: T,
|
|
2273
2273
|
ariaDescribedBy: m
|
|
2274
|
-
} =
|
|
2274
|
+
} = Ge(n);
|
|
2275
2275
|
let $, P;
|
|
2276
2276
|
const U = S(), ne = S(), Z = S(r(n.type)), le = S(!1), Q = S(), ce = O({
|
|
2277
2277
|
get() {
|
|
@@ -2396,7 +2396,7 @@ const gl = {
|
|
|
2396
2396
|
}
|
|
2397
2397
|
]]
|
|
2398
2398
|
}), [
|
|
2399
|
-
e.label ? (f(), D(r(
|
|
2399
|
+
e.label ? (f(), D(r(Xe), {
|
|
2400
2400
|
key: 0,
|
|
2401
2401
|
id: r(b),
|
|
2402
2402
|
"html-for": r(g),
|
|
@@ -2650,7 +2650,7 @@ function Jl(e = {}) {
|
|
|
2650
2650
|
}, T = () => {
|
|
2651
2651
|
l.value && (l.value.removeEventListener("keydown", g), l.value = null);
|
|
2652
2652
|
};
|
|
2653
|
-
return
|
|
2653
|
+
return He(() => {
|
|
2654
2654
|
if (typeof document < "u" && t) {
|
|
2655
2655
|
const m = document.querySelector(t);
|
|
2656
2656
|
m && I(m);
|
|
@@ -2732,7 +2732,7 @@ function Zl() {
|
|
|
2732
2732
|
l.top < window.innerHeight && l.bottom > 0 && l.left < window.innerWidth && l.right > 0 && (t.value = !0);
|
|
2733
2733
|
}
|
|
2734
2734
|
}
|
|
2735
|
-
return
|
|
2735
|
+
return He(() => {
|
|
2736
2736
|
e.value && (n = new IntersectionObserver(
|
|
2737
2737
|
([l]) => {
|
|
2738
2738
|
t.value = l.isIntersecting;
|
|
@@ -3504,7 +3504,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3504
3504
|
resolvedName: p,
|
|
3505
3505
|
ariaRequired: I,
|
|
3506
3506
|
ariaDescribedBy: T
|
|
3507
|
-
} =
|
|
3507
|
+
} = Ge(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
3510
|
}), { isOpened: F, isFocused: H, dropdownToggleRef: A, dropdownRef: k, popper: E, dropdownStyle: K, toggleDropdown: z } = Ql({
|
|
@@ -3515,9 +3515,9 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3515
3515
|
disabled: () => n.disabled ?? !1,
|
|
3516
3516
|
ensureVisibility: Z
|
|
3517
3517
|
});
|
|
3518
|
-
|
|
3518
|
+
nt(() => {
|
|
3519
3519
|
A.value = $.value?.toggleRef ?? null;
|
|
3520
|
-
}),
|
|
3520
|
+
}), nt(() => {
|
|
3521
3521
|
k.value = P.value?.dropdownElRef ?? null;
|
|
3522
3522
|
});
|
|
3523
3523
|
const h = _l({
|
|
@@ -3558,7 +3558,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3558
3558
|
// Any part showing is enough, and the margin starts the next page just before the end.
|
|
3559
3559
|
{ threshold: 0, rootMargin: "0px 0px 48px 0px", root: Qt }
|
|
3560
3560
|
);
|
|
3561
|
-
const
|
|
3561
|
+
const Ze = Jl({
|
|
3562
3562
|
onEnter: (N) => {
|
|
3563
3563
|
const te = parseInt(N.getAttribute("data-index") || "0", 10);
|
|
3564
3564
|
ve.value && ve.value[te] && ve.value[te].toggleOption(ve.value[te].opt);
|
|
@@ -3577,15 +3577,15 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3577
3577
|
E.update();
|
|
3578
3578
|
const te = P.value?.dropdownElRef, re = P.value?.searchInputRef;
|
|
3579
3579
|
if (te)
|
|
3580
|
-
if (
|
|
3580
|
+
if (Ze.initKeyboardNavigation(te), n.searchable && re)
|
|
3581
3581
|
re.focus();
|
|
3582
3582
|
else {
|
|
3583
3583
|
const xe = te.querySelector(
|
|
3584
3584
|
'.vc-select__option[tabindex="0"], .vc-select__search-input[tabindex="0"]'
|
|
3585
3585
|
);
|
|
3586
|
-
xe ? xe.focus() :
|
|
3586
|
+
xe ? xe.focus() : Ze.focusFirstElement();
|
|
3587
3587
|
}
|
|
3588
|
-
})) : (
|
|
3588
|
+
})) : (Ze.cleanupKeyboardNavigation(), h.close());
|
|
3589
3589
|
}), Y(
|
|
3590
3590
|
() => n.modelValue,
|
|
3591
3591
|
async (N) => {
|
|
@@ -3634,7 +3634,7 @@ const to = { class: "vc-select__trigger" }, no = { class: "vc-select__control" }
|
|
|
3634
3634
|
}
|
|
3635
3635
|
]]
|
|
3636
3636
|
}), [
|
|
3637
|
-
e.label ? (f(), D(r(
|
|
3637
|
+
e.label ? (f(), D(r(Xe), {
|
|
3638
3638
|
key: 0,
|
|
3639
3639
|
id: r(g),
|
|
3640
3640
|
class: "vc-select__label",
|
|
@@ -4280,8 +4280,8 @@ const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), kr = Symbol("
|
|
|
4280
4280
|
}
|
|
4281
4281
|
},
|
|
4282
4282
|
setup(e, { slots: t }) {
|
|
4283
|
-
const n = X(Xo, null), a =
|
|
4284
|
-
return
|
|
4283
|
+
const n = X(Xo, null), a = je();
|
|
4284
|
+
return He(() => {
|
|
4285
4285
|
n && a && n.add({
|
|
4286
4286
|
instance: a,
|
|
4287
4287
|
props: e,
|
|
@@ -4291,7 +4291,7 @@ const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), kr = Symbol("
|
|
|
4291
4291
|
n && a && n.delete(a);
|
|
4292
4292
|
}), () => null;
|
|
4293
4293
|
}
|
|
4294
|
-
}), Le =
|
|
4294
|
+
}), Le = qe(/* @__PURE__ */ new Map());
|
|
4295
4295
|
function Gt() {
|
|
4296
4296
|
return {
|
|
4297
4297
|
register: (l) => {
|
|
@@ -4317,7 +4317,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, bt = /* @__PURE__
|
|
|
4317
4317
|
},
|
|
4318
4318
|
setup(e) {
|
|
4319
4319
|
const t = e, n = S(null);
|
|
4320
|
-
return
|
|
4320
|
+
return He(() => {
|
|
4321
4321
|
const a = t.modelValue === void 0 || t.modelValue === null || t.modelValue === "";
|
|
4322
4322
|
(t.validateOnMount || a && t.rules) && n.value?.validate();
|
|
4323
4323
|
}), (a, i) => (f(), D(r($n), {
|
|
@@ -4367,7 +4367,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, bt = /* @__PURE__
|
|
|
4367
4367
|
},
|
|
4368
4368
|
emits: ["update", "blur"],
|
|
4369
4369
|
setup(e, { emit: t }) {
|
|
4370
|
-
const n = e, a = t, { isMobile: i, isDesktop: o } =
|
|
4370
|
+
const n = e, a = t, { isMobile: i, isDesktop: o } = Je(), l = (s) => {
|
|
4371
4371
|
s && s.length > 0 || a("blur", { row: n.rowIndex, field: n.fieldId || "" });
|
|
4372
4372
|
};
|
|
4373
4373
|
return (s, u) => e.editable ? (f(), D(bt, {
|
|
@@ -4423,7 +4423,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, bt = /* @__PURE__
|
|
|
4423
4423
|
},
|
|
4424
4424
|
emits: ["update", "blur"],
|
|
4425
4425
|
setup(e, { emit: t }) {
|
|
4426
|
-
const n = e, a = t, { t: i } = ye({ useScope: "global" }), o = window.navigator.language, { isMobile: l, isDesktop: s } =
|
|
4426
|
+
const n = e, a = t, { t: i } = ye({ useScope: "global" }), o = window.navigator.language, { isMobile: l, isDesktop: s } = Je(), u = O(() => typeof n.value > "u" || n.value === null || Number(n.value) === 0), g = O(() => {
|
|
4427
4427
|
const v = Number(n.value);
|
|
4428
4428
|
return isNaN(v) ? String(n.value) : new Intl.NumberFormat(o, {
|
|
4429
4429
|
style: "currency",
|
|
@@ -4487,7 +4487,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, bt = /* @__PURE__
|
|
|
4487
4487
|
},
|
|
4488
4488
|
emits: ["update", "blur"],
|
|
4489
4489
|
setup(e, { emit: t }) {
|
|
4490
|
-
const n = e, a = t, { t: i } = ye({ useScope: "global" }), { isMobile: o, isDesktop: l } =
|
|
4490
|
+
const n = e, a = t, { t: i } = ye({ useScope: "global" }), { isMobile: o, isDesktop: l } = Je(), s = O(() => {
|
|
4491
4491
|
if (n.value === null || n.value === void 0) return !0;
|
|
4492
4492
|
const b = Number(n.value);
|
|
4493
4493
|
return isNaN(b) || b < 0;
|
|
@@ -4536,7 +4536,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, bt = /* @__PURE__
|
|
|
4536
4536
|
}, ii = {
|
|
4537
4537
|
key: 1,
|
|
4538
4538
|
class: "vc-table-cell-date vc-table-cell-date--not-set"
|
|
4539
|
-
},
|
|
4539
|
+
}, tt = /* @__PURE__ */ V({
|
|
4540
4540
|
__name: "CellDate",
|
|
4541
4541
|
props: {
|
|
4542
4542
|
value: {},
|
|
@@ -4689,9 +4689,9 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, bt = /* @__PURE__
|
|
|
4689
4689
|
{ type: "text", component: Yt, config: { editable: !0 } },
|
|
4690
4690
|
{ type: "number", component: li, config: { editable: !0 } },
|
|
4691
4691
|
{ type: "money", component: ti, config: { editable: !0 } },
|
|
4692
|
-
{ type: "date", component:
|
|
4693
|
-
{ type: "time", component:
|
|
4694
|
-
{ type: "datetime", component:
|
|
4692
|
+
{ type: "date", component: tt, config: { editable: !1 } },
|
|
4693
|
+
{ type: "time", component: tt, config: { editable: !1 } },
|
|
4694
|
+
{ type: "datetime", component: tt, config: { editable: !1 } },
|
|
4695
4695
|
{ type: "date-ago", component: ui, config: { editable: !1 } },
|
|
4696
4696
|
{ type: "image", component: ci, config: { editable: !1 } },
|
|
4697
4697
|
{ type: "status", component: di, config: { editable: !1 } },
|
|
@@ -4757,7 +4757,7 @@ export {
|
|
|
4757
4757
|
hr as F,
|
|
4758
4758
|
we as G,
|
|
4759
4759
|
Gt as H,
|
|
4760
|
-
|
|
4760
|
+
Ge as I,
|
|
4761
4761
|
ra as J,
|
|
4762
4762
|
Er as K,
|
|
4763
4763
|
dr as L,
|
|
@@ -4772,10 +4772,10 @@ export {
|
|
|
4772
4772
|
lt as U,
|
|
4773
4773
|
be as V,
|
|
4774
4774
|
la as W,
|
|
4775
|
-
|
|
4775
|
+
Je as X,
|
|
4776
4776
|
sr as Y,
|
|
4777
4777
|
rr as Z,
|
|
4778
|
-
|
|
4778
|
+
tt as _,
|
|
4779
4779
|
Ca as a,
|
|
4780
4780
|
$r as a$,
|
|
4781
4781
|
vr as a0,
|
|
@@ -4861,7 +4861,7 @@ export {
|
|
|
4861
4861
|
pt as q,
|
|
4862
4862
|
Yo as r,
|
|
4863
4863
|
jo as s,
|
|
4864
|
-
|
|
4864
|
+
Xe as t,
|
|
4865
4865
|
Za as u,
|
|
4866
4866
|
ll as v,
|
|
4867
4867
|
Ko as w,
|