@vc-shell/framework 2.10.2-pr404.87f9bf0 → 2.10.2-pr404.cb3641f
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/{VcScheduler.vue_vue_type_script_setup_true_lang-CUT-TFQQ.js → VcScheduler.vue_vue_type_script_setup_true_lang-yvqn_QC4.js} +153 -158
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-yvqn_QC4.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-D1lnJqUU.js → VcScheduler.vue_vue_type_style_index_0_lang-Blgtv09r.js} +597 -589
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Blgtv09r.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Cy5iV5cs.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BZwzwSh_.js} +1 -1
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Cy5iV5cs.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BZwzwSh_.js.map} +1 -1
- package/dist/core/utilities/thumbnail/index.d.ts +13 -0
- package/dist/core/utilities/thumbnail/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +266 -265
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/cells/CellImage.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/cells/CellImage.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.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-CUT-TFQQ.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-D1lnJqUU.js.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/thumbnails.d.ts +0 -8
- package/dist/ui/components/organisms/vc-gallery/_internal/thumbnails.d.ts.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { nextTick as $e, ref as B, computed as h, getCurrentInstance as Lt, inject as ye, defineComponent as J, openBlock as s, createElementBlock as m, createElementVNode as w, watch as ae, onMounted as tt, onBeforeUnmount as He, toValue as Ie, reactive as gt, shallowRef as ho, provide as Be, createBlock as F, unref as a, withCtx as V, withDirectives as qe, resolveDynamicComponent as Xe, vShow as st, createCommentVNode as x, toRef as Le, normalizeClass as Y, renderSlot as q, toDisplayString as z, Teleport as ht, createVNode as L, Transition as Ue, normalizeStyle as we, Fragment as te, renderList as de, createTextVNode as me, mergeProps as xe, withModifiers as ve, isRef as yt, h as yo, withKeys as Me, createSlots as De, markRaw as zn, useId as It, watchEffect as Wl, useSlots as wt, TransitionGroup as Qn, toHandlers as as, readonly as Ra, onUnmounted as kt, hasInjectionContext as wo, getCurrentScope as Jn, onScopeDispose as Gl, useAttrs as os, vModelText as is, toRefs as ss, normalizeProps as pt, guardReactiveProps as bt, vModelCheckbox as rs, toRaw as Co } from "vue";
|
|
2
2
|
import { ae as cs, c as lt, D as us, e as _o, B as xt, V as Zn, U as Eo, f as So, Q as ko, _ as ne, b as Ft, u as cl, A as ds, k as ea, d as $o, W as Ro, j as vs, L as Hn, y as Wn, r as fs, R as ms, a as ul, ah as To, M as gs, Y as ta, E as dl, F as Gn, am as vl, C as ps, a6 as bs, a1 as Ao, K as hs, J as Oo, x as ys, ab as ws } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-TiaFg1wQ.js";
|
|
3
|
-
import { P as At, af as Cs,
|
|
4
|
-
import { i as Ws, q as zt, p as Tn, o as Gs, n as
|
|
3
|
+
import { P as At, af as Cs, aT as _s, a as Es, X as Fe, l as Se, aR as Mo, N as fl, am as Ss, an as ks, x as _e, G as Je, M as $s, t as dt, a8 as Rs, T as ql, Q as _t, a0 as Ts, aU as As, I as $t, V as Qe, ap as Os, u as Ms, aV as Ls, A as Ta, ak as Lo, aW as Is, aX as xs, au as Io, aP as xo, O as Kl, aQ as Ds, q as Ve, v as Ot, F as Do, p as Ns, Y as Bs, y as Ps, aA as Vs, D as Us, w as Et, s as Fs, av as No, aY as Yl, K as Bo, aZ as Po, a_ as Vo, a$ as ol, b0 as Uo, b1 as Fo, b2 as zs, C as zo, n as Hs, o as Rn } from "./VcScheduler.vue_vue_type_style_index_0_lang-Blgtv09r.js";
|
|
4
|
+
import { i as Ws, q as zt, p as Tn, o as Gs, n as Ho, r as qs, v as Ks, w as Ys, f as la, x as js, _ as Xs } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-c2L9ZMv-.js";
|
|
5
5
|
import { s as jl, o as na, f as aa, d as Qs } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
6
6
|
import { u as ze } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
7
|
-
import { h as
|
|
7
|
+
import { h as Wo, d as Go, o as Js, u as Zs, a as ml, i as er, j as tr } from "./vendor-vueuse-core-BwXFv1rx.js";
|
|
8
8
|
import { S as Tt } from "./vendor-sortablejs-Bsvu-FKn.js";
|
|
9
9
|
import lr from "../assets/d5f9664ebbfb104b.svg";
|
|
10
10
|
import nr from "../assets/4e43c74354534fb3.svg";
|
|
@@ -68,7 +68,7 @@ import ic from "../assets/d3f792f54ae4c307.svg";
|
|
|
68
68
|
import sc from "../assets/208f810a9321a327.svg";
|
|
69
69
|
import rc from "../assets/72de3a63bc0b70dd.svg";
|
|
70
70
|
import * as cc from "vee-validate";
|
|
71
|
-
import { useField as uc, useForm as
|
|
71
|
+
import { useField as uc, useForm as qo, useIsFormValid as dc, useIsFormDirty as vc, Field as Bl, PublicFormContextKey as fc } from "vee-validate";
|
|
72
72
|
import { I as mc } from "./vendor-iso-639-1-BEjYyfKo.js";
|
|
73
73
|
import { u as gc, E as Aa } from "./vendor-tiptap-vue-3-BNAw8onj.js";
|
|
74
74
|
import { S as pc } from "./vendor-tiptap-starter-kit-ny-AoaO_.js";
|
|
@@ -80,8 +80,8 @@ import { P as Sc } from "./vendor-tiptap-extensions-D7eaegpB.js";
|
|
|
80
80
|
import { T as kc } from "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
|
|
81
81
|
import { M as $c } from "./vendor-tiptap-markdown-18K1hcU0.js";
|
|
82
82
|
import { b as Rc } from "./vendor-js-beautify-D-6mWVv0.js";
|
|
83
|
-
import { p as
|
|
84
|
-
import { S as Vl, N as
|
|
83
|
+
import { p as Ko } from "./vendor-dompurify-DpIUMBYC.js";
|
|
84
|
+
import { S as Vl, N as Yo, a as Ul, M as Tc, f as jo, G as Ac, K as Oc } from "./vendor-swiper-BgqGfw3Y.js";
|
|
85
85
|
import { useRouter as Ht, RouterView as Mc, useRoute as Wt } from "vue-router";
|
|
86
86
|
import { v as gl, O as Lc } from "./vendor-vueuse-components-BTQXlUpM.js";
|
|
87
87
|
import { u as Ic, j as xc } from "./vendor-vueuse-shared-BPTQMqzb.js";
|
|
@@ -91,7 +91,7 @@ import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
|
91
91
|
import { e as Bc, c as Oa, g as oa } from "./vendor-lodash-es-D2n90GJy.js";
|
|
92
92
|
import "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
|
|
93
93
|
import "./vendor-truncate-html-ChA1T5zy.js";
|
|
94
|
-
import { h as Ae, U as
|
|
94
|
+
import { h as Ae, U as Xo, V as Xl, W as Ge, d as Vt, J as et, x as Mt, z as Ql, a as Pc, X as ia, Y as Qo, Z as Vc, _ as Uc, w as Jo, y as Zo, $ as Fc, a0 as zc } from "./vendor-date-fns-C-55OMpS.js";
|
|
95
95
|
import { r as sa, R as je } from "./vendor-rrule-C4g_KGmu.js";
|
|
96
96
|
import { S as Hc, Y as Wc, h as Ma, G as Gc, V as qc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
|
|
97
97
|
function Kc(e) {
|
|
@@ -104,7 +104,7 @@ function St(e) {
|
|
|
104
104
|
!n?.isConnected || typeof n.focus != "function" || n.focus();
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function ei() {
|
|
108
108
|
return document.querySelector(".vc-app__workspace");
|
|
109
109
|
}
|
|
110
110
|
function Yc(e) {
|
|
@@ -303,7 +303,7 @@ function V$(e) {
|
|
|
303
303
|
cleanup: c
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function ti() {
|
|
307
307
|
const e = ye(_o);
|
|
308
308
|
if (!e)
|
|
309
309
|
throw new Error("[useBladeMessaging] BladeMessaging not found. Ensure BladeNavigationPlugin is installed.");
|
|
@@ -397,7 +397,7 @@ function ru(e, n) {
|
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function li(e, n) {
|
|
401
401
|
const t = ru(e, () => n);
|
|
402
402
|
function l() {
|
|
403
403
|
t.push();
|
|
@@ -413,7 +413,7 @@ function uu(e) {
|
|
|
413
413
|
return e.replace(/^\/+|\/+$/g, "") || void 0;
|
|
414
414
|
}
|
|
415
415
|
function du(e) {
|
|
416
|
-
const { descriptor: n, router: t, bladeStack: l } = e, { syncUrlReplace: c } =
|
|
416
|
+
const { descriptor: n, router: t, bladeStack: l } = e, { syncUrlReplace: c } = li(t, l), i = /* @__PURE__ */ new Map();
|
|
417
417
|
let o;
|
|
418
418
|
function r(v) {
|
|
419
419
|
return v || uu(n.value.url);
|
|
@@ -478,7 +478,7 @@ function en(e) {
|
|
|
478
478
|
moreButtonWidth: c,
|
|
479
479
|
calculationStrategy: i = "forward",
|
|
480
480
|
initialItemWidth: o = 50
|
|
481
|
-
} = e, { width: r } =
|
|
481
|
+
} = e, { width: r } = Wo(n), d = B(/* @__PURE__ */ new Map()), u = B(null), v = B(0), f = B([]), g = B([]), p = h(() => g.value.length > 0), y = h(
|
|
482
482
|
() => t.value.reduce((R, k, A) => R + T(k) + (A ? v.value : 0), 0)
|
|
483
483
|
);
|
|
484
484
|
let b = null;
|
|
@@ -597,7 +597,7 @@ function tn(e = {}) {
|
|
|
597
597
|
function u() {
|
|
598
598
|
i.value = !i.value;
|
|
599
599
|
}
|
|
600
|
-
return
|
|
600
|
+
return Go(l, () => {
|
|
601
601
|
l.value && (c.value = l.value.scrollHeight);
|
|
602
602
|
}), {
|
|
603
603
|
contentRef: l,
|
|
@@ -905,7 +905,7 @@ const Cu = _s, _u = /* @__PURE__ */ J({
|
|
|
905
905
|
bladeStack: i
|
|
906
906
|
}) : void 0
|
|
907
907
|
);
|
|
908
|
-
const g =
|
|
908
|
+
const g = ti();
|
|
909
909
|
ae(
|
|
910
910
|
d,
|
|
911
911
|
(C) => {
|
|
@@ -1323,7 +1323,7 @@ const Cu = _s, _u = /* @__PURE__ */ J({
|
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
class: "vc-breadcrumbs__item-separator",
|
|
1325
1325
|
"aria-hidden": "true"
|
|
1326
|
-
}, Pu = 36, Vu = 60,
|
|
1326
|
+
}, Pu = 36, Vu = 60, ni = /* @__PURE__ */ J({
|
|
1327
1327
|
__name: "vc-breadcrumbs",
|
|
1328
1328
|
props: {
|
|
1329
1329
|
items: { default: () => [] },
|
|
@@ -1438,7 +1438,7 @@ const Cu = _s, _u = /* @__PURE__ */ J({
|
|
|
1438
1438
|
const i = () => {
|
|
1439
1439
|
l.value = !1;
|
|
1440
1440
|
};
|
|
1441
|
-
return (o, r) => qe((s(), F(
|
|
1441
|
+
return (o, r) => qe((s(), F(ni, {
|
|
1442
1442
|
items: e.breadcrumbs,
|
|
1443
1443
|
collapsed: ""
|
|
1444
1444
|
}, {
|
|
@@ -1557,7 +1557,7 @@ function Va(e, n) {
|
|
|
1557
1557
|
function Fu(e) {
|
|
1558
1558
|
return Pl.get(e.toLowerCase())?.value ?? {};
|
|
1559
1559
|
}
|
|
1560
|
-
const zu =
|
|
1560
|
+
const zu = Ho.escape, Hu = Ho.mod.backslash;
|
|
1561
1561
|
function Wu(e) {
|
|
1562
1562
|
return !!(e.mod || e.ctrl || e.meta || e.alt || e.shift);
|
|
1563
1563
|
}
|
|
@@ -1614,7 +1614,7 @@ const Ku = ["aria-label"], Yu = {
|
|
|
1614
1614
|
}, ju = /* @__PURE__ */ J({
|
|
1615
1615
|
__name: "vc-blade-navigation-new",
|
|
1616
1616
|
setup(e) {
|
|
1617
|
-
const { t: n } = ze(), t = zt(), l =
|
|
1617
|
+
const { t: n } = ze(), t = zt(), l = ti(), c = Ht(), { syncUrlReplace: i } = li(c, t);
|
|
1618
1618
|
tt(() => {
|
|
1619
1619
|
t.blades.value.length !== 0 && $e(() => {
|
|
1620
1620
|
i();
|
|
@@ -1684,20 +1684,20 @@ const Ku = ["aria-label"], Yu = {
|
|
|
1684
1684
|
])) : (s(), F(a(Mc), { key: 0 }))
|
|
1685
1685
|
], 8, Ku));
|
|
1686
1686
|
}
|
|
1687
|
-
}),
|
|
1688
|
-
let
|
|
1687
|
+
}), ai = Symbol("PopupPlugin"), oi = Symbol("PopupInstance");
|
|
1688
|
+
let ii;
|
|
1689
1689
|
const Xu = Ss((e) => {
|
|
1690
|
-
|
|
1690
|
+
ii = e ?? void 0;
|
|
1691
1691
|
});
|
|
1692
1692
|
function X$(e) {
|
|
1693
1693
|
Xu.register(e);
|
|
1694
1694
|
}
|
|
1695
|
-
const
|
|
1695
|
+
const si = ks();
|
|
1696
1696
|
function Q$(e, n) {
|
|
1697
|
-
|
|
1697
|
+
si.register(e, n);
|
|
1698
1698
|
}
|
|
1699
1699
|
function Ln(e) {
|
|
1700
|
-
return
|
|
1700
|
+
return si.get(e);
|
|
1701
1701
|
}
|
|
1702
1702
|
const Qu = { class: "vc-popup__center" }, Ju = { class: "vc-popup__header" }, Zu = ["aria-label"], ed = { class: "vc-popup__content" }, td = {
|
|
1703
1703
|
key: 0,
|
|
@@ -1722,7 +1722,7 @@ const Qu = { class: "vc-popup__center" }, Ju = { class: "vc-popup__header" }, Zu
|
|
|
1722
1722
|
error: { icon: "lucide-circle-alert", className: "vc-popup__icon--error" },
|
|
1723
1723
|
success: { icon: "lucide-circle-check", className: "vc-popup__icon--success" },
|
|
1724
1724
|
info: { icon: "lucide-info", className: "vc-popup__icon--info" }
|
|
1725
|
-
}, u = ye(
|
|
1725
|
+
}, u = ye(oi, void 0), v = h(() => t.modelValue !== void 0 ? t.modelValue : !u?.closing.value);
|
|
1726
1726
|
let f = null;
|
|
1727
1727
|
ae(
|
|
1728
1728
|
v,
|
|
@@ -1738,7 +1738,7 @@ const Qu = { class: "vc-popup__center" }, Ju = { class: "vc-popup__header" }, Zu
|
|
|
1738
1738
|
function g() {
|
|
1739
1739
|
u?.finalize();
|
|
1740
1740
|
const E = f;
|
|
1741
|
-
f = null, St(() => E?.isConnected ? E :
|
|
1741
|
+
f = null, St(() => E?.isConnected ? E : ei());
|
|
1742
1742
|
}
|
|
1743
1743
|
const p = h(() => t.closeOnOverlay ?? t.closable), y = h(() => t.closeOnEscape ?? t.closable), b = h(() => t.variant === "default" ? "" : d[t.variant].icon), $ = h(() => t.variant === "default" ? "" : d[t.variant].className), C = h(() => o.value && t.isMobileFullscreen);
|
|
1744
1744
|
function _(E) {
|
|
@@ -1895,7 +1895,7 @@ const Qu = { class: "vc-popup__center" }, Ju = { class: "vc-popup__header" }, Zu
|
|
|
1895
1895
|
});
|
|
1896
1896
|
function ld() {
|
|
1897
1897
|
if (Lt())
|
|
1898
|
-
return ye(
|
|
1898
|
+
return ye(ai, void 0);
|
|
1899
1899
|
}
|
|
1900
1900
|
const nd = /* @__PURE__ */ J({
|
|
1901
1901
|
__name: "PopupInstanceProvider",
|
|
@@ -1905,7 +1905,7 @@ const nd = /* @__PURE__ */ J({
|
|
|
1905
1905
|
emits: ["finalize"],
|
|
1906
1906
|
setup(e, { emit: n }) {
|
|
1907
1907
|
const t = e, l = n;
|
|
1908
|
-
return Be(
|
|
1908
|
+
return Be(oi, {
|
|
1909
1909
|
closing: h(() => t.closing),
|
|
1910
1910
|
finalize: () => l("finalize")
|
|
1911
1911
|
}), (c, i) => q(c.$slots, "default");
|
|
@@ -1918,7 +1918,7 @@ const nd = /* @__PURE__ */ J({
|
|
|
1918
1918
|
c.finalize?.();
|
|
1919
1919
|
}
|
|
1920
1920
|
function l(c) {
|
|
1921
|
-
return
|
|
1921
|
+
return Ko.sanitize(c, {
|
|
1922
1922
|
ALLOWED_TAGS: [
|
|
1923
1923
|
"p",
|
|
1924
1924
|
"br",
|
|
@@ -1984,9 +1984,9 @@ function Fa(e, n) {
|
|
|
1984
1984
|
return n?.html ? e : () => yo("div", { class: "tw-h-full tw-w-full" }, a(e));
|
|
1985
1985
|
}
|
|
1986
1986
|
function rd() {
|
|
1987
|
-
return Lt() && ye(
|
|
1987
|
+
return Lt() && ye(ai, void 0) || ii;
|
|
1988
1988
|
}
|
|
1989
|
-
function
|
|
1989
|
+
function ri(e) {
|
|
1990
1990
|
const { t: n } = ze({ useScope: "global" }), t = rd(), l = /* @__PURE__ */ new WeakMap();
|
|
1991
1991
|
let c;
|
|
1992
1992
|
e && (c = C(a(e))), ae(
|
|
@@ -2027,7 +2027,7 @@ function si(e) {
|
|
|
2027
2027
|
T !== void 0 && (clearTimeout(T), l.delete(_));
|
|
2028
2028
|
}
|
|
2029
2029
|
function f(_) {
|
|
2030
|
-
St(() => _?.isConnected ? _ :
|
|
2030
|
+
St(() => _?.isConnected ? _ : ei());
|
|
2031
2031
|
}
|
|
2032
2032
|
function g(_) {
|
|
2033
2033
|
const T = o(_);
|
|
@@ -2259,7 +2259,7 @@ const ud = { class: "vc-blade-header__status-container" }, dd = {
|
|
|
2259
2259
|
}, Ed = { class: "vc-badge__content" }, Sd = ["role", "tabindex", "aria-disabled", "aria-label", "onKeydown"], kd = {
|
|
2260
2260
|
key: 0,
|
|
2261
2261
|
class: "vc-badge__text"
|
|
2262
|
-
},
|
|
2262
|
+
}, ci = /* @__PURE__ */ J({
|
|
2263
2263
|
__name: "vc-badge",
|
|
2264
2264
|
props: {
|
|
2265
2265
|
active: { type: Boolean },
|
|
@@ -2589,7 +2589,7 @@ const ud = { class: "vc-blade-header__status-container" }, dd = {
|
|
|
2589
2589
|
])
|
|
2590
2590
|
]));
|
|
2591
2591
|
}
|
|
2592
|
-
}),
|
|
2592
|
+
}), ui = Symbol("WidgetRenderState"), ca = {
|
|
2593
2593
|
info: "info",
|
|
2594
2594
|
warning: "warning",
|
|
2595
2595
|
error: "danger",
|
|
@@ -2614,7 +2614,7 @@ const ud = { class: "vc-blade-header__status-container" }, dd = {
|
|
|
2614
2614
|
function c() {
|
|
2615
2615
|
t.disabled || l("click");
|
|
2616
2616
|
}
|
|
2617
|
-
const i = h(() => Yc(t.value)), o = ye(
|
|
2617
|
+
const i = h(() => Yc(t.value)), o = ye(ui, null), r = h(() => o?.editing.value ?? !1), d = h(() => !r.value), u = h(() => {
|
|
2618
2618
|
const C = o?.alertSeverity.value;
|
|
2619
2619
|
return C ? ca[C] : void 0;
|
|
2620
2620
|
}), v = h(() => r.value ? void 0 : o?.alertsDescription?.value), f = h(() => o?.alertsOpen?.value ?? !1), g = `vc-widget-alerts-${It()}`;
|
|
@@ -2654,7 +2654,7 @@ const ud = { class: "vc-blade-header__status-container" }, dd = {
|
|
|
2654
2654
|
Me(ve(c, ["prevent"]), ["space"])
|
|
2655
2655
|
]
|
|
2656
2656
|
}, [
|
|
2657
|
-
L(a(
|
|
2657
|
+
L(a(ci), {
|
|
2658
2658
|
content: d.value ? i.value : void 0,
|
|
2659
2659
|
class: Y({ "vc-widget__badge--changed": p.value }),
|
|
2660
2660
|
"custom-position": "",
|
|
@@ -3422,7 +3422,7 @@ const Ha = /* @__PURE__ */ J({
|
|
|
3422
3422
|
setTrigger: (o) => {
|
|
3423
3423
|
t.updateWidget({ id: n.widgetId, bladeId: c, widget: { trigger: o } });
|
|
3424
3424
|
}
|
|
3425
|
-
}), n.renderState && Be(
|
|
3425
|
+
}), n.renderState && Be(ui, n.renderState), (o, r) => q(o.$slots, "default");
|
|
3426
3426
|
}
|
|
3427
3427
|
}), Gv = ["inert", "role", "aria-label"], qv = {
|
|
3428
3428
|
key: 0,
|
|
@@ -3681,17 +3681,17 @@ function an(e) {
|
|
|
3681
3681
|
const n = e.headless?.alerts ?? e.trigger?.alerts;
|
|
3682
3682
|
return n && a(n) || [];
|
|
3683
3683
|
}
|
|
3684
|
-
function
|
|
3684
|
+
function di(e) {
|
|
3685
3685
|
let n;
|
|
3686
3686
|
for (const { severity: t } of e)
|
|
3687
3687
|
(!n || Wa[t] > Wa[n]) && (n = t);
|
|
3688
3688
|
return n;
|
|
3689
3689
|
}
|
|
3690
|
-
function
|
|
3691
|
-
const n =
|
|
3690
|
+
function vi(e) {
|
|
3691
|
+
const n = di(e);
|
|
3692
3692
|
return n ? ca[n] : void 0;
|
|
3693
3693
|
}
|
|
3694
|
-
function
|
|
3694
|
+
function fi(e) {
|
|
3695
3695
|
const n = [], t = [];
|
|
3696
3696
|
for (const l of e) (an(l).length ? n : t).push(l);
|
|
3697
3697
|
return [...n, ...t];
|
|
@@ -3706,7 +3706,7 @@ const sf = 300, rf = 200, Ga = 1e3, zl = /* @__PURE__ */ J({
|
|
|
3706
3706
|
emits: ["click"],
|
|
3707
3707
|
setup(e, { emit: n }) {
|
|
3708
3708
|
const t = e, l = n, { resolveBadge: c, resolveLoading: i, resolveDisabled: o, resolveTitle: r, handleHeadlessClick: d } = ua(), { t: u } = ze(), v = h(() => an(t.widget)), f = h(() => t.widget.trigger?.alertsComponent ?? t.widget.headless?.alertsComponent), g = B(!1), p = {
|
|
3709
|
-
alertSeverity: h(() =>
|
|
3709
|
+
alertSeverity: h(() => di(v.value)),
|
|
3710
3710
|
alertsDescription: h(
|
|
3711
3711
|
() => v.value.length ? u("COMPONENTS.ORGANISMS.VC_BLADE.WIDGETS.ALERTS_COUNT", { count: v.value.length }) : void 0
|
|
3712
3712
|
),
|
|
@@ -3883,7 +3883,7 @@ function df(e, n, t = sl) {
|
|
|
3883
3883
|
overflow: [...i.slice(t), ...o, ...d]
|
|
3884
3884
|
};
|
|
3885
3885
|
}
|
|
3886
|
-
function
|
|
3886
|
+
function mi(e, n) {
|
|
3887
3887
|
const t = ml(cf(Ie(e)), null, {
|
|
3888
3888
|
serializer: uf,
|
|
3889
3889
|
writeDefaults: !1,
|
|
@@ -4009,7 +4009,7 @@ const mf = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-
|
|
|
4009
4009
|
function gf(e) {
|
|
4010
4010
|
return (e.closest("[dir]")?.getAttribute("dir") || document.documentElement.dir) === "rtl";
|
|
4011
4011
|
}
|
|
4012
|
-
function
|
|
4012
|
+
function gi(e) {
|
|
4013
4013
|
const { layout: n, stripEl: t, overflowEl: l } = e, c = e.focusSelector ?? `.vc-widget-item ${mf}`;
|
|
4014
4014
|
function i({ fromList: C, toList: _, from: T, to: N, id: P }) {
|
|
4015
4015
|
C === _ ? n.reorder(C, T, N) : _ === "strip" ? n.moveToStrip(P, N) : n.moveToOverflow(P, N);
|
|
@@ -4074,7 +4074,7 @@ const pf = { class: "vc-widget-container-desktop" }, bf = { class: "vc-widget-co
|
|
|
4074
4074
|
bladeName: { default: "" }
|
|
4075
4075
|
},
|
|
4076
4076
|
setup(e) {
|
|
4077
|
-
const n = e, { t } = ze(), { resolveTitle: l } = ua(), c =
|
|
4077
|
+
const n = e, { t } = ze(), { resolveTitle: l } = ua(), c = mi(
|
|
4078
4078
|
() => n.bladeName,
|
|
4079
4079
|
() => n.widgets
|
|
4080
4080
|
), { strip: i, overflow: o, editing: r, startEdit: d, commit: u, cancel: v, reset: f } = c, g = B(!1), p = h(() => !!n.bladeName), y = B(), { visibleItems: b, hiddenItems: $, naturalWidth: C } = en({
|
|
@@ -4084,8 +4084,8 @@ const pf = { class: "vc-widget-container-desktop" }, bf = { class: "vc-widget-co
|
|
|
4084
4084
|
moreButtonWidth: 0,
|
|
4085
4085
|
initialItemWidth: 80
|
|
4086
4086
|
}), _ = h(() => r.value ? i.value : b.value), T = h(() => r.value ? [] : $.value), N = h(() => p.value || o.value.length > 0 || T.value.length > 0), P = h(
|
|
4087
|
-
() => r.value ? o.value : [...T.value, ...
|
|
4088
|
-
), E = h(() => [...T.value, ...o.value].flatMap(an)), M = h(() =>
|
|
4087
|
+
() => r.value ? o.value : [...T.value, ...fi(o.value)]
|
|
4088
|
+
), E = h(() => [...T.value, ...o.value].flatMap(an)), M = h(() => vi(E.value)), I = h(
|
|
4089
4089
|
() => E.value.length && !r.value ? t("COMPONENTS.ORGANISMS.VC_BLADE.WIDGETS.MORE_WIDGETS_ALERTS", { count: E.value.length }) : t("COMPONENTS.ORGANISMS.VC_BLADE.WIDGETS.MORE_WIDGETS")
|
|
4090
4090
|
);
|
|
4091
4091
|
function S() {
|
|
@@ -4100,7 +4100,7 @@ const pf = { class: "vc-widget-container-desktop" }, bf = { class: "vc-widget-co
|
|
|
4100
4100
|
function R() {
|
|
4101
4101
|
r.value || (g.value = !1);
|
|
4102
4102
|
}
|
|
4103
|
-
const k = B(), { onStripKeydown: A, onOverflowKeydown: H, moveToStrip: K, moveToOverflow: j } =
|
|
4103
|
+
const k = B(), { onStripKeydown: A, onOverflowKeydown: H, moveToStrip: K, moveToOverflow: j } = gi({
|
|
4104
4104
|
layout: c,
|
|
4105
4105
|
stripEl: y,
|
|
4106
4106
|
overflowEl: k,
|
|
@@ -4558,7 +4558,7 @@ const pf = { class: "vc-widget-container-desktop" }, bf = { class: "vc-widget-co
|
|
|
4558
4558
|
bladeName: { default: "" }
|
|
4559
4559
|
},
|
|
4560
4560
|
setup(e) {
|
|
4561
|
-
const n = e, { t } = ze(), { resolveTitle: l } = ua(), c =
|
|
4561
|
+
const n = e, { t } = ze(), { resolveTitle: l } = ua(), c = mi(
|
|
4562
4562
|
() => n.bladeName,
|
|
4563
4563
|
() => n.widgets
|
|
4564
4564
|
), { strip: i, overflow: o, editing: r, startEdit: d, commit: u, reset: v } = c, f = B(null), g = B(!1), p = h(() => n.widgets.length > 0), y = h(() => !!n.bladeName), b = (Z) => l(Z) || Z.trigger?.title || "", $ = (Z) => Z.headless?.icon ?? Z.trigger?.icon, C = B(null), _ = (Z) => Z.flatMap((Q) => n.widgets.find((U) => U.id === Q) ?? []), T = h(() => r.value && C.value ? _(C.value.strip) : i.value), N = h(() => r.value && C.value ? _(C.value.overflow) : o.value), { visibleItems: P, hiddenItems: E } = en({
|
|
@@ -4567,7 +4567,7 @@ const pf = { class: "vc-widget-container-desktop" }, bf = { class: "vc-widget-co
|
|
|
4567
4567
|
getItemKey: (Z) => Z.id ?? "",
|
|
4568
4568
|
moreButtonWidth: 70,
|
|
4569
4569
|
initialItemWidth: 80
|
|
4570
|
-
}), M = h(() => [...E.value, ...
|
|
4570
|
+
}), M = h(() => [...E.value, ...fi(N.value)]), I = h(() => y.value || M.value.length > 0), S = h(() => [...E.value, ...N.value].flatMap(an)), D = h(() => vi(S.value)), O = h(
|
|
4571
4571
|
() => S.value.length && !r.value ? t("COMPONENTS.ORGANISMS.VC_BLADE.WIDGETS.MORE_WIDGETS_ALERTS", { count: S.value.length }) : t("COMPONENTS.ORGANISMS.VC_BLADE.WIDGETS.MORE_WIDGETS")
|
|
4572
4572
|
);
|
|
4573
4573
|
function R() {
|
|
@@ -4579,7 +4579,7 @@ const pf = { class: "vc-widget-container-desktop" }, bf = { class: "vc-widget-co
|
|
|
4579
4579
|
function A(Z) {
|
|
4580
4580
|
g.value = Z, !Z && r.value && u();
|
|
4581
4581
|
}
|
|
4582
|
-
const H = B(), K = B(), { onStripKeydown: j, onOverflowKeydown: le, moveToStrip: se, moveToOverflow: W } =
|
|
4582
|
+
const H = B(), K = B(), { onStripKeydown: j, onOverflowKeydown: le, moveToStrip: se, moveToOverflow: W } = gi({
|
|
4583
4583
|
layout: c,
|
|
4584
4584
|
stripEl: H,
|
|
4585
4585
|
overflowEl: K,
|
|
@@ -4847,7 +4847,7 @@ const pf = { class: "vc-widget-container-desktop" }, bf = { class: "vc-widget-co
|
|
|
4847
4847
|
}, null, 8, ["widgets", "blade-id", "blade-name"])) : x("", !0);
|
|
4848
4848
|
}
|
|
4849
4849
|
}), sm = /* @__PURE__ */ new Set(["ar", "arc", "ckb", "dv", "fa", "he", "iw", "ps", "sd", "ug", "ur", "yi"]);
|
|
4850
|
-
function
|
|
4850
|
+
function pi() {
|
|
4851
4851
|
const e = ml("VC_LANGUAGE_SETTINGS", "");
|
|
4852
4852
|
function n(d) {
|
|
4853
4853
|
if (!d)
|
|
@@ -4903,26 +4903,26 @@ function gi() {
|
|
|
4903
4903
|
getCountryCode: o
|
|
4904
4904
|
};
|
|
4905
4905
|
}
|
|
4906
|
-
const
|
|
4906
|
+
const bi = lt("use-languages");
|
|
4907
4907
|
let xn = null;
|
|
4908
|
-
function
|
|
4909
|
-
return xn || (xn =
|
|
4908
|
+
function hi() {
|
|
4909
|
+
return xn || (xn = pi()), xn;
|
|
4910
4910
|
}
|
|
4911
4911
|
function oR() {
|
|
4912
4912
|
if (!wo())
|
|
4913
|
-
return
|
|
4913
|
+
return bi.warn("No injection context for provideLanguages; using fallback language service"), hi();
|
|
4914
4914
|
const e = ye(Hn, null);
|
|
4915
4915
|
if (e)
|
|
4916
4916
|
return e;
|
|
4917
|
-
const n =
|
|
4917
|
+
const n = pi();
|
|
4918
4918
|
return Be(Hn, n), n;
|
|
4919
4919
|
}
|
|
4920
|
-
function
|
|
4920
|
+
function yi() {
|
|
4921
4921
|
if (!wo())
|
|
4922
|
-
return
|
|
4922
|
+
return hi();
|
|
4923
4923
|
const e = ye(Hn, null);
|
|
4924
4924
|
if (!e)
|
|
4925
|
-
throw
|
|
4925
|
+
throw bi.error("Language service not found"), new ql("LanguageService");
|
|
4926
4926
|
return e;
|
|
4927
4927
|
}
|
|
4928
4928
|
const rm = lt("use-app-bar-widget");
|
|
@@ -5141,7 +5141,7 @@ const Rm = xc($m), Tm = ["aria-busy", "aria-labelledby", "aria-label"], Am = {
|
|
|
5141
5141
|
class: "vc-blade__back-button"
|
|
5142
5142
|
})) : x("", !0),
|
|
5143
5143
|
!f.value && a(N)?.breadcrumbs?.length && a(b) ? (s(), m("div", Am, [
|
|
5144
|
-
L(a(
|
|
5144
|
+
L(a(ni), {
|
|
5145
5145
|
items: a(N)?.breadcrumbs,
|
|
5146
5146
|
collapsed: ""
|
|
5147
5147
|
}, {
|
|
@@ -5484,7 +5484,7 @@ const Rm = xc($m), Tm = ["aria-busy", "aria-labelledby", "aria-label"], Am = {
|
|
|
5484
5484
|
], 4)
|
|
5485
5485
|
], 2));
|
|
5486
5486
|
}
|
|
5487
|
-
}), Hm = ["aria-expanded", "disabled"], Wm = { class: "vc-accordion-item__title" },
|
|
5487
|
+
}), Hm = ["aria-expanded", "disabled"], Wm = { class: "vc-accordion-item__title" }, wi = /* @__PURE__ */ J({
|
|
5488
5488
|
name: "VcAccordionItem",
|
|
5489
5489
|
__name: "vc-accordion-item",
|
|
5490
5490
|
props: {
|
|
@@ -5609,7 +5609,7 @@ const Rm = xc($m), Tm = ["aria-busy", "aria-labelledby", "aria-label"], Am = {
|
|
|
5609
5609
|
key: 1,
|
|
5610
5610
|
class: Y(["vc-accordion", `vc-accordion--${e.variant}`])
|
|
5611
5611
|
}, [
|
|
5612
|
-
(s(!0), m(te, null, de(e.items, (g, p) => (s(), F(
|
|
5612
|
+
(s(!0), m(te, null, de(e.items, (g, p) => (s(), F(wi, {
|
|
5613
5613
|
key: g.id || p,
|
|
5614
5614
|
title: g.title,
|
|
5615
5615
|
"collapsed-height": g.collapsedHeight ?? e.collapsedHeight,
|
|
@@ -5637,7 +5637,7 @@ const Rm = xc($m), Tm = ["aria-busy", "aria-labelledby", "aria-label"], Am = {
|
|
|
5637
5637
|
q(v.$slots, "default")
|
|
5638
5638
|
], 2));
|
|
5639
5639
|
}
|
|
5640
|
-
}), vR = qm, fR =
|
|
5640
|
+
}), vR = qm, fR = wi, Km = {
|
|
5641
5641
|
key: 0,
|
|
5642
5642
|
class: "vc-file-upload__container vc-file-upload--skeleton"
|
|
5643
5643
|
}, Ym = ["tabindex", "aria-label", "aria-describedby", "aria-disabled", "aria-required", "onKeydown"], jm = {
|
|
@@ -5646,7 +5646,7 @@ const Rm = xc($m), Tm = ["aria-busy", "aria-labelledby", "aria-label"], Am = {
|
|
|
5646
5646
|
}, Xm = { class: "vc-file-upload__loading-text" }, Qm = { class: "vc-file-upload__text" }, Jm = {
|
|
5647
5647
|
key: 0,
|
|
5648
5648
|
class: "vc-file-upload__link"
|
|
5649
|
-
}, Zm = { class: "vc-file-upload__link" }, eg = ["accept", "multiple", "name", "disabled"], tg = { key: 0 },
|
|
5649
|
+
}, Zm = { class: "vc-file-upload__link" }, eg = ["accept", "multiple", "name", "disabled"], tg = { key: 0 }, Ci = /* @__PURE__ */ J({
|
|
5650
5650
|
__name: "vc-file-upload",
|
|
5651
5651
|
props: {
|
|
5652
5652
|
loading: { type: Boolean },
|
|
@@ -6287,7 +6287,7 @@ const ng = {
|
|
|
6287
6287
|
);
|
|
6288
6288
|
const _ = h(() => {
|
|
6289
6289
|
let A = "";
|
|
6290
|
-
return f.value === "markdown" && D.value ? A = D.value.getHTML() : A = l.modelValue || "",
|
|
6290
|
+
return f.value === "markdown" && D.value ? A = D.value.getHTML() : A = l.modelValue || "", Ko.sanitize(A, {
|
|
6291
6291
|
// Allow safe HTML tags and attributes
|
|
6292
6292
|
ALLOWED_TAGS: [
|
|
6293
6293
|
"p",
|
|
@@ -6978,7 +6978,7 @@ const ng = {
|
|
|
6978
6978
|
ariaLabel: {}
|
|
6979
6979
|
},
|
|
6980
6980
|
setup(e) {
|
|
6981
|
-
const n = Je(), t = [
|
|
6981
|
+
const n = Je(), t = [Yo], l = h(() => ({
|
|
6982
6982
|
nextEl: ".vc-slider__next",
|
|
6983
6983
|
prevEl: ".vc-slider__prev"
|
|
6984
6984
|
}));
|
|
@@ -7845,7 +7845,7 @@ const Lp = {
|
|
|
7845
7845
|
})
|
|
7846
7846
|
]));
|
|
7847
7847
|
}
|
|
7848
|
-
}), Up = ["disabled", "role", "aria-invalid", "aria-describedby", "aria-labelledby", "aria-label"], Fp = ["id"], zp = { class: "vc-input-group__controls" }, Hp = { key: 0 }, Wp = { key: 1 },
|
|
7848
|
+
}), Up = ["disabled", "role", "aria-invalid", "aria-describedby", "aria-labelledby", "aria-label"], Fp = ["id"], zp = { class: "vc-input-group__controls" }, Hp = { key: 0 }, Wp = { key: 1 }, _i = /* @__PURE__ */ J({
|
|
7849
7849
|
__name: "vc-input-group",
|
|
7850
7850
|
props: {
|
|
7851
7851
|
label: {},
|
|
@@ -7994,7 +7994,7 @@ const Lp = {
|
|
|
7994
7994
|
height: 12
|
|
7995
7995
|
}, null, 8, ["width"])
|
|
7996
7996
|
]))), 128))
|
|
7997
|
-
])) : (s(), F(a(
|
|
7997
|
+
])) : (s(), F(a(_i), {
|
|
7998
7998
|
key: 1,
|
|
7999
7999
|
class: "vc-radio-group",
|
|
8000
8000
|
label: e.label,
|
|
@@ -8250,7 +8250,7 @@ const Lp = {
|
|
|
8250
8250
|
height: 12
|
|
8251
8251
|
}, null, 8, ["width"])
|
|
8252
8252
|
]))), 128))
|
|
8253
|
-
])) : (s(), F(a(
|
|
8253
|
+
])) : (s(), F(a(_i), {
|
|
8254
8254
|
key: 1,
|
|
8255
8255
|
class: "vc-checkbox-group",
|
|
8256
8256
|
label: e.label,
|
|
@@ -8286,7 +8286,7 @@ const Lp = {
|
|
|
8286
8286
|
}), lb = {
|
|
8287
8287
|
key: 0,
|
|
8288
8288
|
class: "vc-switch vc-switch--skeleton"
|
|
8289
|
-
}, nb = { class: "vc-switch__track-wrapper" }, ab = { class: "vc-switch__track-label" }, ob = ["id", "checked", "disabled", "aria-label", "aria-checked", "aria-invalid", "aria-required", "aria-describedby"], ib = { key: 0 }, sb = { key: 1 },
|
|
8289
|
+
}, nb = { class: "vc-switch__track-wrapper" }, ab = { class: "vc-switch__track-label" }, ob = ["id", "checked", "disabled", "aria-label", "aria-checked", "aria-invalid", "aria-required", "aria-describedby"], ib = { key: 0 }, sb = { key: 1 }, Ei = /* @__PURE__ */ J({
|
|
8290
8290
|
__name: "vc-switch",
|
|
8291
8291
|
props: {
|
|
8292
8292
|
modelValue: { type: Boolean },
|
|
@@ -8504,7 +8504,7 @@ const Lp = {
|
|
|
8504
8504
|
key: 1,
|
|
8505
8505
|
class: "vc-menu-item__letters",
|
|
8506
8506
|
"aria-hidden": "true"
|
|
8507
|
-
}, wb = { class: "vc-menu-item__title" }, Cb = { class: "vc-menu-item__title-text" },
|
|
8507
|
+
}, wb = { class: "vc-menu-item__title" }, Cb = { class: "vc-menu-item__title-text" }, Si = /* @__PURE__ */ J({
|
|
8508
8508
|
name: "VcMenuItem",
|
|
8509
8509
|
__name: "vc-menu-item",
|
|
8510
8510
|
props: {
|
|
@@ -8558,7 +8558,7 @@ const Lp = {
|
|
|
8558
8558
|
default: V(() => [
|
|
8559
8559
|
qe(w("span", wb, [
|
|
8560
8560
|
w("span", Cb, z(e.title), 1),
|
|
8561
|
-
e.badge && o.value ? (s(), F(a(
|
|
8561
|
+
e.badge && o.value ? (s(), F(a(ci), {
|
|
8562
8562
|
key: 0,
|
|
8563
8563
|
content: e.badge.isDot ? void 0 : e.badge.content,
|
|
8564
8564
|
variant: e.badge.variant ?? "primary",
|
|
@@ -8639,7 +8639,7 @@ const Lp = {
|
|
|
8639
8639
|
icon: "lucide-chevron-down",
|
|
8640
8640
|
size: "s"
|
|
8641
8641
|
}, null, 8, ["class"])
|
|
8642
|
-
], 10, Eb)) : (s(), F(
|
|
8642
|
+
], 10, Eb)) : (s(), F(Si, {
|
|
8643
8643
|
key: 1,
|
|
8644
8644
|
icon: e.icon,
|
|
8645
8645
|
title: e.title,
|
|
@@ -8672,7 +8672,7 @@ const Lp = {
|
|
|
8672
8672
|
], 2)
|
|
8673
8673
|
], 10, _b));
|
|
8674
8674
|
}
|
|
8675
|
-
}), Tb = gb, Xa =
|
|
8675
|
+
}), Tb = gb, Xa = Si, Ab = Rb;
|
|
8676
8676
|
function Ob(e) {
|
|
8677
8677
|
const n = B(!1), t = B(!1);
|
|
8678
8678
|
function l() {
|
|
@@ -8694,7 +8694,7 @@ const Mb = {
|
|
|
8694
8694
|
}, Lb = {
|
|
8695
8695
|
key: 1,
|
|
8696
8696
|
class: "vc-image-tile__error"
|
|
8697
|
-
}, Ib = ["src", "alt"], xb = { class: "vc-image-tile__topbar" }, Db = ["title"], Nb = { class: "vc-image-tile__tray" }, Bb = { class: "vc-image-tile__tray-actions" }, Pb = ["title"], Vb = ["title"], Ub = ["title"],
|
|
8697
|
+
}, Ib = ["src", "alt"], xb = { class: "vc-image-tile__topbar" }, Db = ["title"], Nb = { class: "vc-image-tile__tray" }, Bb = { class: "vc-image-tile__tray-actions" }, Pb = ["title"], Vb = ["title"], Ub = ["title"], ki = /* @__PURE__ */ J({
|
|
8698
8698
|
__name: "vc-image-tile",
|
|
8699
8699
|
props: {
|
|
8700
8700
|
src: {},
|
|
@@ -8916,7 +8916,7 @@ const Mb = {
|
|
|
8916
8916
|
}, ah = ["aria-label", "aria-expanded"], oh = { class: "sidebar-header__menu-button-wrap" }, ih = {
|
|
8917
8917
|
key: 1,
|
|
8918
8918
|
class: "sidebar-header__actions"
|
|
8919
|
-
},
|
|
8919
|
+
}, $i = /* @__PURE__ */ J({
|
|
8920
8920
|
__name: "SidebarHeader",
|
|
8921
8921
|
props: {
|
|
8922
8922
|
logo: {},
|
|
@@ -9015,7 +9015,7 @@ const Mb = {
|
|
|
9015
9015
|
], 2)) : x("", !0);
|
|
9016
9016
|
}
|
|
9017
9017
|
});
|
|
9018
|
-
function
|
|
9018
|
+
function Ri(e) {
|
|
9019
9019
|
const n = Object.values(e.params)?.[0], t = typeof n == "string" ? n : "";
|
|
9020
9020
|
return t && e.path.startsWith(`/${t}/`) ? e.path.slice(t.length + 1) : t && e.path === `/${t}` ? "/" : e.path;
|
|
9021
9021
|
}
|
|
@@ -9024,7 +9024,7 @@ function CR(e) {
|
|
|
9024
9024
|
return { isActive: h(() => {
|
|
9025
9025
|
const l = Ie(e);
|
|
9026
9026
|
if (!l) return !1;
|
|
9027
|
-
const c =
|
|
9027
|
+
const c = Ri(n);
|
|
9028
9028
|
return c === l || c.startsWith(l + "/");
|
|
9029
9029
|
}) };
|
|
9030
9030
|
}
|
|
@@ -9050,7 +9050,7 @@ const sh = 3, Kn = /* @__PURE__ */ J({
|
|
|
9050
9050
|
l("item:click", E);
|
|
9051
9051
|
}, T = (E) => {
|
|
9052
9052
|
if (!E) return !1;
|
|
9053
|
-
const M =
|
|
9053
|
+
const M = Ri(c);
|
|
9054
9054
|
return M === E || M.startsWith(E + "/");
|
|
9055
9055
|
};
|
|
9056
9056
|
function N(E) {
|
|
@@ -9185,7 +9185,7 @@ const sh = 3, Kn = /* @__PURE__ */ J({
|
|
|
9185
9185
|
}), mh = { class: "vc-settings-menu" }, gh = {
|
|
9186
9186
|
key: 0,
|
|
9187
9187
|
class: "vc-settings-menu__separator"
|
|
9188
|
-
}, ph = { class: "vc-settings-menu__group" },
|
|
9188
|
+
}, ph = { class: "vc-settings-menu__group" }, Ti = /* @__PURE__ */ J({
|
|
9189
9189
|
__name: "settings-menu",
|
|
9190
9190
|
setup(e) {
|
|
9191
9191
|
const { items: n } = Ds(), t = h(() => {
|
|
@@ -9233,7 +9233,7 @@ const sh = 3, Kn = /* @__PURE__ */ J({
|
|
|
9233
9233
|
class: "vc-user-sidebar__menu",
|
|
9234
9234
|
onClick: l[0] || (l[0] = ve((c) => t.$emit("update:isOpened", !1), ["stop"]))
|
|
9235
9235
|
}, [
|
|
9236
|
-
L(a(
|
|
9236
|
+
L(a(Ti))
|
|
9237
9237
|
])) : x("", !0)
|
|
9238
9238
|
]),
|
|
9239
9239
|
_: 1
|
|
@@ -9296,7 +9296,7 @@ const sh = 3, Kn = /* @__PURE__ */ J({
|
|
|
9296
9296
|
"max-width": "300px"
|
|
9297
9297
|
}, {
|
|
9298
9298
|
default: V(() => [
|
|
9299
|
-
L(a(
|
|
9299
|
+
L(a(Ti))
|
|
9300
9300
|
]),
|
|
9301
9301
|
_: 1
|
|
9302
9302
|
}, 8, ["show", "anchor-ref"])) : (s(), F(bh, {
|
|
@@ -9306,7 +9306,7 @@ const sh = 3, Kn = /* @__PURE__ */ J({
|
|
|
9306
9306
|
}, null, 8, ["is-opened"]))
|
|
9307
9307
|
]));
|
|
9308
9308
|
}
|
|
9309
|
-
}),
|
|
9309
|
+
}), Ai = yh, wh = {
|
|
9310
9310
|
key: 0,
|
|
9311
9311
|
class: "sidebar-content__search"
|
|
9312
9312
|
}, Ch = { class: "sidebar-content__footer" }, _h = /* @__PURE__ */ J({
|
|
@@ -9374,7 +9374,7 @@ const sh = 3, Kn = /* @__PURE__ */ J({
|
|
|
9374
9374
|
avatar: e.avatar,
|
|
9375
9375
|
role: e.userRole
|
|
9376
9376
|
}, () => [
|
|
9377
|
-
a(c) ? x("", !0) : (s(), F(a(
|
|
9377
|
+
a(c) ? x("", !0) : (s(), F(a(Ai), {
|
|
9378
9378
|
key: 0,
|
|
9379
9379
|
"avatar-url": e.avatar,
|
|
9380
9380
|
name: e.userName,
|
|
@@ -9404,7 +9404,7 @@ const sh = 3, Kn = /* @__PURE__ */ J({
|
|
|
9404
9404
|
]));
|
|
9405
9405
|
}
|
|
9406
9406
|
});
|
|
9407
|
-
function
|
|
9407
|
+
function Oi(e, n) {
|
|
9408
9408
|
const t = h(() => {
|
|
9409
9409
|
const d = Ie(e);
|
|
9410
9410
|
return !n.value || !Array.isArray(d) ? null : d.find((u) => u.id === n.value) || null;
|
|
@@ -9433,7 +9433,7 @@ function rn() {
|
|
|
9433
9433
|
toggleItem: c,
|
|
9434
9434
|
currentItem: i,
|
|
9435
9435
|
isAnyItemVisible: o
|
|
9436
|
-
} =
|
|
9436
|
+
} = Oi(e, n);
|
|
9437
9437
|
return {
|
|
9438
9438
|
showWidget: t,
|
|
9439
9439
|
hideAllWidgets: l,
|
|
@@ -9925,7 +9925,7 @@ const Qa = /* @__PURE__ */ J({
|
|
|
9925
9925
|
})) : (s(), m("div", fy, z(a(t)("COMPONENTS.NOTIFICATION_DROPDOWN.EMPTY")), 1))
|
|
9926
9926
|
]));
|
|
9927
9927
|
}
|
|
9928
|
-
}),
|
|
9928
|
+
}), Mi = my, gy = ["inert", "aria-label"], py = /* @__PURE__ */ J({
|
|
9929
9929
|
__name: "DesktopLayout",
|
|
9930
9930
|
props: {
|
|
9931
9931
|
logo: {},
|
|
@@ -9996,7 +9996,7 @@ const Qa = /* @__PURE__ */ J({
|
|
|
9996
9996
|
expanded: a(l).isExpanded.value,
|
|
9997
9997
|
isMobile: !1
|
|
9998
9998
|
}, () => [
|
|
9999
|
-
u.value ? (s(), F(
|
|
9999
|
+
u.value ? (s(), F($i, {
|
|
10000
10000
|
key: 0,
|
|
10001
10001
|
logo: e.logo,
|
|
10002
10002
|
expanded: a(l).isExpanded.value,
|
|
@@ -10067,7 +10067,7 @@ const Qa = /* @__PURE__ */ J({
|
|
|
10067
10067
|
"content-scrollable": !1
|
|
10068
10068
|
}, {
|
|
10069
10069
|
default: V(() => [
|
|
10070
|
-
L(a(
|
|
10070
|
+
L(a(Mi))
|
|
10071
10071
|
]),
|
|
10072
10072
|
_: 1
|
|
10073
10073
|
}, 8, ["show", "inert", "anchor-ref"])
|
|
@@ -10100,21 +10100,21 @@ function yy() {
|
|
|
10100
10100
|
return Be(Gn, n), Jn() && Gl(() => {
|
|
10101
10101
|
}), n;
|
|
10102
10102
|
}
|
|
10103
|
-
function
|
|
10103
|
+
function Li() {
|
|
10104
10104
|
const e = ye(Gn);
|
|
10105
10105
|
if (!e)
|
|
10106
10106
|
throw hy.error("AppBarMobileButtonsService not found"), new ql("AppBarMobileButtonsService");
|
|
10107
10107
|
return e;
|
|
10108
10108
|
}
|
|
10109
10109
|
function wy() {
|
|
10110
|
-
const { getButtons: e } =
|
|
10110
|
+
const { getButtons: e } = Li(), { activeMobileActionId: n } = Do(), {
|
|
10111
10111
|
showItem: t,
|
|
10112
10112
|
hideAllItems: l,
|
|
10113
10113
|
toggleItem: c,
|
|
10114
10114
|
currentItem: i,
|
|
10115
10115
|
isAnyItemVisible: o,
|
|
10116
10116
|
closeItem: r
|
|
10117
|
-
} =
|
|
10117
|
+
} = Oi(e, n);
|
|
10118
10118
|
return ae(
|
|
10119
10119
|
() => e.value,
|
|
10120
10120
|
(d) => {
|
|
@@ -10146,7 +10146,7 @@ const Cy = {
|
|
|
10146
10146
|
expanded: {}
|
|
10147
10147
|
},
|
|
10148
10148
|
setup(e) {
|
|
10149
|
-
const n = e, { isMobile: t } = Fe(), { getButtons: l } =
|
|
10149
|
+
const n = e, { isMobile: t } = Fe(), { getButtons: l } = Li(), { currentAction: c, toggleAction: i, hideAllActions: o, isAnyActionVisible: r } = wy(), d = Wt(), u = (g) => {
|
|
10150
10150
|
if (c.value?.id === g.id) {
|
|
10151
10151
|
g.onClose?.(), o();
|
|
10152
10152
|
return;
|
|
@@ -10438,7 +10438,7 @@ const Cy = {
|
|
|
10438
10438
|
expanded: !1,
|
|
10439
10439
|
isMobile: !0
|
|
10440
10440
|
}, () => [
|
|
10441
|
-
L(
|
|
10441
|
+
L($i, {
|
|
10442
10442
|
logo: e.logo,
|
|
10443
10443
|
expanded: !1,
|
|
10444
10444
|
"is-mobile": !0,
|
|
@@ -10612,7 +10612,7 @@ const Cy = {
|
|
|
10612
10612
|
avatar: e.avatar,
|
|
10613
10613
|
role: e.userRole
|
|
10614
10614
|
}, () => [
|
|
10615
|
-
a(o) ? x("", !0) : (s(), F(a(
|
|
10615
|
+
a(o) ? x("", !0) : (s(), F(a(Ai), {
|
|
10616
10616
|
key: 0,
|
|
10617
10617
|
"avatar-url": e.avatar,
|
|
10618
10618
|
name: e.userName,
|
|
@@ -10626,7 +10626,7 @@ const Cy = {
|
|
|
10626
10626
|
}
|
|
10627
10627
|
}), jy = "NG_TRANSLATE_LANG_KEY";
|
|
10628
10628
|
function Xy() {
|
|
10629
|
-
const { setLocale: e, currentLocale: n } =
|
|
10629
|
+
const { setLocale: e, currentLocale: n } = yi(), t = ml(jy, ""), l = (c) => {
|
|
10630
10630
|
c && c !== n.value && e(c);
|
|
10631
10631
|
};
|
|
10632
10632
|
l(t.value), ae(t, l);
|
|
@@ -10744,7 +10744,7 @@ const Qy = { class: "vc-menu-item__content" }, Jy = { class: "vc-menu-item__titl
|
|
|
10744
10744
|
}), tw = /* @__PURE__ */ J({
|
|
10745
10745
|
__name: "language-selector",
|
|
10746
10746
|
setup(e) {
|
|
10747
|
-
const { availableLocales: n, getLocaleMessage: t } = ze({ useScope: "global" }), { setLocale: l, currentLocale: c } =
|
|
10747
|
+
const { availableLocales: n, getLocaleMessage: t } = ze({ useScope: "global" }), { setLocale: l, currentLocale: c } = yi(), i = n.map((d) => ({
|
|
10748
10748
|
lang: d,
|
|
10749
10749
|
title: t(d).language_name,
|
|
10750
10750
|
async clickHandler(u) {
|
|
@@ -10803,7 +10803,7 @@ const Qy = { class: "vc-menu-item__content" }, Jy = { class: "vc-menu-item__titl
|
|
|
10803
10803
|
emits: ["close"],
|
|
10804
10804
|
setup(e, { emit: n }) {
|
|
10805
10805
|
const t = e, l = n, { t: c } = ze({ useScope: "global" }), { changeUserPassword: i, loading: o, validatePassword: r, signOut: d } = Kl();
|
|
10806
|
-
|
|
10806
|
+
qo({ validateOnMount: !1 });
|
|
10807
10807
|
const u = dc(), v = vc(), f = Ht(), g = gt({
|
|
10808
10808
|
isValid: !1,
|
|
10809
10809
|
errors: [],
|
|
@@ -10974,7 +10974,7 @@ const Qy = { class: "vc-menu-item__content" }, Jy = { class: "vc-menu-item__titl
|
|
|
10974
10974
|
}), cw = rw, uw = /* @__PURE__ */ J({
|
|
10975
10975
|
__name: "change-password-button",
|
|
10976
10976
|
setup(e) {
|
|
10977
|
-
const { open: n } =
|
|
10977
|
+
const { open: n } = ri({ component: cw }), t = ye(ta, void 0), l = () => {
|
|
10978
10978
|
t?.(), n();
|
|
10979
10979
|
};
|
|
10980
10980
|
return (c, i) => (s(), F(a(cn), {
|
|
@@ -11017,7 +11017,7 @@ function fw(e) {
|
|
|
11017
11017
|
const n = Jl();
|
|
11018
11018
|
e.isEmbedded || e.registerMobileButton({
|
|
11019
11019
|
id: "notifications",
|
|
11020
|
-
component:
|
|
11020
|
+
component: Mi,
|
|
11021
11021
|
icon: "lucide-bell",
|
|
11022
11022
|
order: 10,
|
|
11023
11023
|
isVisible: !0,
|
|
@@ -11802,7 +11802,7 @@ const Bw = ["onClick", "onKeydown"], Pw = { class: "tw-flex tw-items-center tw-g
|
|
|
11802
11802
|
placeholder: b.value.placeholder,
|
|
11803
11803
|
disabled: e.disabled,
|
|
11804
11804
|
"current-language": e.currentLanguage
|
|
11805
|
-
}), null, 16, ["modelValue", "error-message", "label", "aria-label", "required", "placeholder", "disabled", "current-language"])) : _.value === "boolean" ? (s(), F(a(
|
|
11805
|
+
}), null, 16, ["modelValue", "error-message", "label", "aria-label", "required", "placeholder", "disabled", "current-language"])) : _.value === "boolean" ? (s(), F(a(Ei), xe({ key: 10 }, S.$attrs, {
|
|
11806
11806
|
modelValue: T.value,
|
|
11807
11807
|
"onUpdate:modelValue": D[10] || (D[10] = (k) => T.value = k),
|
|
11808
11808
|
"error-message": O,
|
|
@@ -11964,12 +11964,7 @@ const Bw = ["onClick", "onKeydown"], Pw = { class: "tw-flex tw-items-center tw-g
|
|
|
11964
11964
|
_: 1
|
|
11965
11965
|
}, 8, ["label", "name", "model-value", "rules"]));
|
|
11966
11966
|
}
|
|
11967
|
-
})
|
|
11968
|
-
function Li(e) {
|
|
11969
|
-
const n = e?.relativeUrl;
|
|
11970
|
-
return typeof n == "string" && /^[a-z][a-z\d+.-]*:/i.test(n);
|
|
11971
|
-
}
|
|
11972
|
-
const ao = /* @__PURE__ */ J({
|
|
11967
|
+
}), ao = /* @__PURE__ */ J({
|
|
11973
11968
|
__name: "vc-gallery-item",
|
|
11974
11969
|
props: {
|
|
11975
11970
|
image: { default: () => ({}) },
|
|
@@ -11981,12 +11976,12 @@ const ao = /* @__PURE__ */ J({
|
|
|
11981
11976
|
},
|
|
11982
11977
|
emits: ["preview", "edit", "remove"],
|
|
11983
11978
|
setup(e) {
|
|
11984
|
-
const n = e, { isMobile: t } = Fe(), l = h(() =>
|
|
11979
|
+
const n = e, { isMobile: t } = Fe(), l = h(() => No(n.image) ? void 0 : n.thumbnailSize), c = h(() => ({
|
|
11985
11980
|
preview: n.actions?.preview !== !1,
|
|
11986
11981
|
edit: !n.readonly && n.actions?.edit !== !1,
|
|
11987
11982
|
remove: !n.readonly && n.actions?.remove !== !1
|
|
11988
11983
|
}));
|
|
11989
|
-
return (i, o) => (s(), F(a(
|
|
11984
|
+
return (i, o) => (s(), F(a(ki), {
|
|
11990
11985
|
src: e.image.url,
|
|
11991
11986
|
alt: e.image.altText || e.image.name || "",
|
|
11992
11987
|
name: e.image.name,
|
|
@@ -12026,7 +12021,7 @@ const ao = /* @__PURE__ */ J({
|
|
|
12026
12021
|
},
|
|
12027
12022
|
emits: ["swiper-init", "swiper-resize", "slides-updated", "sortable-container"],
|
|
12028
12023
|
setup(e, { emit: n }) {
|
|
12029
|
-
const { t } = ze({ useScope: "global" }), l = e, c = n, i = [
|
|
12024
|
+
const { t } = ze({ useScope: "global" }), l = e, c = n, i = [Yo, Tc, jo, Ac], o = B(), r = B(), d = B();
|
|
12030
12025
|
function u(p) {
|
|
12031
12026
|
d.value = p, o.value && r.value && (p.params.navigation = {
|
|
12032
12027
|
...p.params.navigation,
|
|
@@ -12131,7 +12126,7 @@ const ao = /* @__PURE__ */ J({
|
|
|
12131
12126
|
},
|
|
12132
12127
|
emits: ["close"],
|
|
12133
12128
|
setup(e, { emit: n }) {
|
|
12134
|
-
const t = n, l = e, { t: c } = ze({ useScope: "global" }), { isMobile: i } = Fe(), o = B(l.index), r = B(!1), d = [Oc], u = [
|
|
12129
|
+
const t = n, l = e, { t: c } = ze({ useScope: "global" }), { isMobile: i } = Fe(), o = B(l.index), r = B(!1), d = [Oc], u = [jo], v = B(), f = B(), g = h(() => l.images[o.value]);
|
|
12135
12130
|
ae(
|
|
12136
12131
|
() => l.index,
|
|
12137
12132
|
(I) => {
|
|
@@ -12157,7 +12152,7 @@ const ao = /* @__PURE__ */ J({
|
|
|
12157
12152
|
v.value?.slideNext();
|
|
12158
12153
|
}
|
|
12159
12154
|
function T(I) {
|
|
12160
|
-
return
|
|
12155
|
+
return No(I) ? I.url : Io(I.url, "64x64") ?? I.url;
|
|
12161
12156
|
}
|
|
12162
12157
|
function N(I, S) {
|
|
12163
12158
|
if (!S) return;
|
|
@@ -12316,7 +12311,7 @@ const ao = /* @__PURE__ */ J({
|
|
|
12316
12311
|
}
|
|
12317
12312
|
});
|
|
12318
12313
|
function Ii(e) {
|
|
12319
|
-
const n = B(0), { open: t } =
|
|
12314
|
+
const n = B(0), { open: t } = ri(
|
|
12320
12315
|
h(() => ({
|
|
12321
12316
|
component: n0,
|
|
12322
12317
|
props: {
|
|
@@ -12359,7 +12354,7 @@ const a0 = { class: "vc-image-upload" }, o0 = {
|
|
|
12359
12354
|
t.previewable && t.image && o.openPreview(0);
|
|
12360
12355
|
}
|
|
12361
12356
|
return (v, f) => (s(), m("div", a0, [
|
|
12362
|
-
e.image?.url ? (s(), F(a(
|
|
12357
|
+
e.image?.url ? (s(), F(a(ki), {
|
|
12363
12358
|
key: 0,
|
|
12364
12359
|
src: e.image.url,
|
|
12365
12360
|
alt: e.image.altText || e.image.name || "",
|
|
@@ -12375,7 +12370,7 @@ const a0 = { class: "vc-image-upload" }, o0 = {
|
|
|
12375
12370
|
]),
|
|
12376
12371
|
_: 1
|
|
12377
12372
|
})
|
|
12378
|
-
])) : (s(), F(a(
|
|
12373
|
+
])) : (s(), F(a(Ci), {
|
|
12379
12374
|
key: 1,
|
|
12380
12375
|
icon: e.icon,
|
|
12381
12376
|
multiple: !1,
|
|
@@ -12802,7 +12797,7 @@ const v0 = {
|
|
|
12802
12797
|
])) : x("", !0)
|
|
12803
12798
|
], 2)) : x("", !0),
|
|
12804
12799
|
!v.value && !e.disabled ? (s(), m("div", w0, [
|
|
12805
|
-
L(a(
|
|
12800
|
+
L(a(Ci), {
|
|
12806
12801
|
icon: e.uploadIcon,
|
|
12807
12802
|
multiple: e.multiple,
|
|
12808
12803
|
rules: e.rules,
|
|
@@ -12864,7 +12859,7 @@ function $0(e, n) {
|
|
|
12864
12859
|
q(e.$slots, "default")
|
|
12865
12860
|
]);
|
|
12866
12861
|
}
|
|
12867
|
-
const R0 = /* @__PURE__ */
|
|
12862
|
+
const R0 = /* @__PURE__ */ Bo(S0, [["render", $0]]), T0 = ["data-items-count"], A0 = {
|
|
12868
12863
|
key: "__empty__",
|
|
12869
12864
|
class: "vc-table-composition__body-state"
|
|
12870
12865
|
}, O0 = { class: "vc-table-composition__empty" }, M0 = {
|
|
@@ -12923,9 +12918,9 @@ const R0 = /* @__PURE__ */ No(S0, [["render", $0]]), T0 = ["data-items-count"],
|
|
|
12923
12918
|
emits: ["click", "hover", "leave", "space-press"],
|
|
12924
12919
|
setup(e, { emit: n }) {
|
|
12925
12920
|
const t = e, l = n, c = ye(Yl, null), i = ye(
|
|
12926
|
-
|
|
12921
|
+
Po,
|
|
12927
12922
|
h(() => 0)
|
|
12928
|
-
), o = ye(
|
|
12923
|
+
), o = ye(Vo, B(!1)), r = h(() => !!t.clickable), d = h(() => t.variant === "header" ? "columnheader" : "cell"), u = (p) => {
|
|
12929
12924
|
l("click", p);
|
|
12930
12925
|
}, v = (p) => {
|
|
12931
12926
|
r.value && l("space-press", p);
|
|
@@ -13165,7 +13160,7 @@ function W0(e, n) {
|
|
|
13165
13160
|
q(e.$slots, "default")
|
|
13166
13161
|
]);
|
|
13167
13162
|
}
|
|
13168
|
-
const G0 = /* @__PURE__ */
|
|
13163
|
+
const G0 = /* @__PURE__ */ Bo(z0, [["render", W0]]), q0 = { class: "vc-table-composition__empty-state" }, K0 = { class: "vc-table-composition__empty-content" }, Y0 = { class: "vc-table-composition__empty-title" }, j0 = {
|
|
13169
13164
|
key: 0,
|
|
13170
13165
|
class: "vc-table-composition__empty-description"
|
|
13171
13166
|
}, X0 = {
|
|
@@ -14457,7 +14452,7 @@ const DC = { class: "vc-global-filters-panel__content" }, NC = { class: "vc-glob
|
|
|
14457
14452
|
index: e.index
|
|
14458
14453
|
}
|
|
14459
14454
|
}, null, 8, ["slot-fn", "scope"])
|
|
14460
|
-
])) : (s(), F(
|
|
14455
|
+
])) : (s(), F(Uo, {
|
|
14461
14456
|
key: 6,
|
|
14462
14457
|
ref_key: "builtinEditorRef",
|
|
14463
14458
|
ref: u,
|
|
@@ -14885,7 +14880,7 @@ const DC = { class: "vc-global-filters-panel__content" }, NC = { class: "vc-glob
|
|
|
14885
14880
|
const i = t.value;
|
|
14886
14881
|
l.value = !!i && i.scrollWidth > i.clientWidth;
|
|
14887
14882
|
};
|
|
14888
|
-
return
|
|
14883
|
+
return Go(t, c), ae(
|
|
14889
14884
|
() => [n.title, n.required, n.isEditing],
|
|
14890
14885
|
() => requestAnimationFrame(c)
|
|
14891
14886
|
), (i, o) => (s(), F(a(ul), {
|
|
@@ -15139,7 +15134,7 @@ const DC = { class: "vc-global-filters-panel__content" }, NC = { class: "vc-glob
|
|
|
15139
15134
|
},
|
|
15140
15135
|
emits: ["update", "blur"],
|
|
15141
15136
|
setup(e) {
|
|
15142
|
-
const n = e, t = h(() => n.config.field || n.config.id), l = ye(
|
|
15137
|
+
const n = e, t = h(() => n.config.field || n.config.id), l = ye(Fo, null), c = h(
|
|
15143
15138
|
() => !!l?.enabled() && !!(n.config.column.slots.editor || n.config.column.props.editable)
|
|
15144
15139
|
), i = h(() => c.value && l.isCellEditing(n.index, t.value)), o = () => l.start(n.item, t.value, n.index, n.config.column), r = (f) => {
|
|
15145
15140
|
c.value && (f.stopPropagation(), i.value || o());
|
|
@@ -15175,7 +15170,7 @@ const DC = { class: "vc-global-filters-panel__content" }, NC = { class: "vc-glob
|
|
|
15175
15170
|
field: t.value,
|
|
15176
15171
|
index: e.index
|
|
15177
15172
|
}
|
|
15178
|
-
}, null, 8, ["slot-fn", "scope"])) : (s(), F(
|
|
15173
|
+
}, null, 8, ["slot-fn", "scope"])) : (s(), F(Uo, {
|
|
15179
15174
|
key: 1,
|
|
15180
15175
|
type: e.config.type || "text",
|
|
15181
15176
|
value: d.value,
|
|
@@ -16390,7 +16385,7 @@ function Vn(e) {
|
|
|
16390
16385
|
function m_(e) {
|
|
16391
16386
|
const { items: n, rules: t, onCellUpdate: l, onSave: c, onCancel: i } = e, o = B(!1);
|
|
16392
16387
|
let r = [];
|
|
16393
|
-
const d = ye(fc, void 0), u = d ? void 0 :
|
|
16388
|
+
const d = ye(fc, void 0), u = d ? void 0 : qo(), v = d ?? u, { meta: f, setFieldValue: g, errors: p, validate: y } = v, b = () => {
|
|
16394
16389
|
u && u.resetForm();
|
|
16395
16390
|
}, $ = B(/* @__PURE__ */ new Map()), C = B(/* @__PURE__ */ new Set()), _ = (K) => {
|
|
16396
16391
|
if (C.value.has(K)) {
|
|
@@ -18046,9 +18041,9 @@ const LR = {
|
|
|
18046
18041
|
Wl(() => {
|
|
18047
18042
|
mn.value = E.value ? _a.value?.listEl : Ke.value?.listEl;
|
|
18048
18043
|
}), Be(
|
|
18049
|
-
|
|
18044
|
+
Po,
|
|
18050
18045
|
h(() => fe.engineOutput.value.fillerWidth)
|
|
18051
|
-
), Be(
|
|
18046
|
+
), Be(Vo, dn), Be(Fo, {
|
|
18052
18047
|
enabled: () => l.editMode === "cell",
|
|
18053
18048
|
isCellEditing: G.isCellEditing,
|
|
18054
18049
|
getEditingRowData: G.getEditingRowData,
|
|
@@ -18141,7 +18136,7 @@ const LR = {
|
|
|
18141
18136
|
getCellStyle: fe.getCellStyle,
|
|
18142
18137
|
// Custom class
|
|
18143
18138
|
rowClass: l.rowClass?.(ue)
|
|
18144
|
-
}), { width: kl } =
|
|
18139
|
+
}), { width: kl } = Wo(Q), ls = h(() => {
|
|
18145
18140
|
if (!l.pagination || kl.value === 0) return 5;
|
|
18146
18141
|
const ue = kl.value - vo, he = Math.floor((ue - 2 * Un) / Un);
|
|
18147
18142
|
return he >= 7 ? 5 : he >= 3 ? he : 0;
|
|
@@ -18489,7 +18484,7 @@ const LR = {
|
|
|
18489
18484
|
], 512)) : x("", !0),
|
|
18490
18485
|
q(ue.$slots, "default")
|
|
18491
18486
|
], 8, O_)), [
|
|
18492
|
-
[a(
|
|
18487
|
+
[a(zo), (e.loading || a(_)) && !T.value, "49"]
|
|
18493
18488
|
]);
|
|
18494
18489
|
}
|
|
18495
18490
|
}), B_ = { class: "vc-table-adapter" }, P_ = { class: "vc-global-filters-panel__content" }, IR = /* @__PURE__ */ J({
|
|
@@ -19317,7 +19312,7 @@ function go(e) {
|
|
|
19317
19312
|
freq: mE[e.freq],
|
|
19318
19313
|
interval: Math.max(1, e.interval)
|
|
19319
19314
|
};
|
|
19320
|
-
return e.freq === "weekly" && e.byWeekday?.length && (n.byweekday = e.byWeekday.map(bE)), e.end.type === "count" ? n.count = e.end.count : e.end.type === "until" && (n.until =
|
|
19315
|
+
return e.freq === "weekly" && e.byWeekday?.length && (n.byweekday = e.byWeekday.map(bE)), e.end.type === "count" ? n.count = e.end.count : e.end.type === "until" && (n.until = Xo(e.end.until)), new je(n).toString().replace(/^RRULE:/, "");
|
|
19321
19316
|
}
|
|
19322
19317
|
function yE(e, n) {
|
|
19323
19318
|
const l = sa(e.startsWith("RRULE:") ? e : `RRULE:${e}`, { dtstart: n }).origOptions, c = gE[l.freq] ?? "daily", i = c === "weekly" && l.byweekday ? [].concat(l.byweekday).map((r) => hE(typeof r == "number" ? r : r.weekday)) : void 0;
|
|
@@ -19717,7 +19712,7 @@ const VE = { class: "vc-scheduler__month" }, UE = {
|
|
|
19717
19712
|
const re = et(i.value.start, ie);
|
|
19718
19713
|
return {
|
|
19719
19714
|
date: re,
|
|
19720
|
-
inMonth:
|
|
19715
|
+
inMonth: Qo(re, t.focusedDate),
|
|
19721
19716
|
isToday: ia(re),
|
|
19722
19717
|
isWeekend: [0, 6].includes(Pc(re))
|
|
19723
19718
|
};
|
|
@@ -20566,7 +20561,7 @@ const cS = { class: "vc-scheduler__tg" }, uS = { class: "vc-scheduler__tg-head"
|
|
|
20566
20561
|
o.recurrence.interval = Number.isFinite(k) && k >= 1 ? k : 1;
|
|
20567
20562
|
}
|
|
20568
20563
|
function E(R) {
|
|
20569
|
-
o.recurrence && (R === "until" ? o.recurrence.end = { type: "until", until: $.value ??
|
|
20564
|
+
o.recurrence && (R === "until" ? o.recurrence.end = { type: "until", until: $.value ?? Jo(o.start, 1) } : R === "count" ? o.recurrence.end = { type: "count", count: C.value ?? 1 } : o.recurrence.end = { type: "never" });
|
|
20570
20565
|
}
|
|
20571
20566
|
function M(R) {
|
|
20572
20567
|
!o.recurrence || o.recurrence.end.type !== "until" || !R || (o.recurrence.end.until = R);
|
|
@@ -20600,7 +20595,7 @@ const cS = { class: "vc-scheduler__tg" }, uS = { class: "vc-scheduler__tg-head"
|
|
|
20600
20595
|
"data-test": "editor-title",
|
|
20601
20596
|
"onUpdate:modelValue": k[0] || (k[0] = (A) => o.title = A ?? "")
|
|
20602
20597
|
}, null, 8, ["model-value", "label"]),
|
|
20603
|
-
L(a(
|
|
20598
|
+
L(a(Ei), {
|
|
20604
20599
|
"model-value": o.allDay,
|
|
20605
20600
|
label: R.$t("VC_SCHEDULER.ALL_DAY"),
|
|
20606
20601
|
"onUpdate:modelValue": k[1] || (k[1] = (A) => o.allDay = !!A)
|
|
@@ -20876,7 +20871,7 @@ function jS(e) {
|
|
|
20876
20871
|
case "timeline-day":
|
|
20877
20872
|
return Ae(d, "d MMMM yyyy");
|
|
20878
20873
|
case "timeline-week": {
|
|
20879
|
-
const u = Mt(d, n()), v =
|
|
20874
|
+
const u = Mt(d, n()), v = Zo(d, n());
|
|
20880
20875
|
return Ae(u, "MMM yyyy") === Ae(v, "MMM yyyy") ? `${Ae(u, "d")} – ${Ae(v, "d MMM yyyy")}` : `${Ae(u, "d MMM")} – ${Ae(v, "d MMM yyyy")}`;
|
|
20881
20876
|
}
|
|
20882
20877
|
default:
|
|
@@ -20890,7 +20885,7 @@ function jS(e) {
|
|
|
20890
20885
|
case "timeline-week":
|
|
20891
20886
|
return Fc(u, d);
|
|
20892
20887
|
default:
|
|
20893
|
-
return
|
|
20888
|
+
return Jo(u, d);
|
|
20894
20889
|
}
|
|
20895
20890
|
};
|
|
20896
20891
|
return { monthRange: t, title: l, goPrev: () => e.onDateChange(c(-1)), goNext: () => e.onDateChange(c(1)), goToday: () => e.onDateChange(/* @__PURE__ */ new Date()) };
|
|
@@ -21132,12 +21127,12 @@ const XS = Symbol("VcSchedulerCalendarContext"), QS = ["aria-busy"], DR = /* @__
|
|
|
21132
21127
|
}
|
|
21133
21128
|
}), le = h(() => {
|
|
21134
21129
|
const G = j.value, ce = /* @__PURE__ */ new Date();
|
|
21135
|
-
return H.value === "timeline-day" ? Xl(G, ce) : H.value === "timeline-week" ? zc(G, ce, { weekStartsOn: t.firstDayOfWeek % 7 }) :
|
|
21130
|
+
return H.value === "timeline-day" ? Xl(G, ce) : H.value === "timeline-week" ? zc(G, ce, { weekStartsOn: t.firstDayOfWeek % 7 }) : Qo(G, ce);
|
|
21136
21131
|
}), se = h(() => {
|
|
21137
21132
|
const G = j.value, ce = t.firstDayOfWeek % 7;
|
|
21138
|
-
if (H.value === "timeline-day") return { start: Ge(G), end:
|
|
21133
|
+
if (H.value === "timeline-day") return { start: Ge(G), end: Xo(G) };
|
|
21139
21134
|
if (H.value === "timeline-week")
|
|
21140
|
-
return { start: Mt(G, { weekStartsOn: ce }), end:
|
|
21135
|
+
return { start: Mt(G, { weekStartsOn: ce }), end: Zo(G, { weekStartsOn: ce }) };
|
|
21141
21136
|
const ge = Mt(Ql(G), { weekStartsOn: ce });
|
|
21142
21137
|
return { start: ge, end: et(ge, 42) };
|
|
21143
21138
|
}), W = h(() => _E(t.events, se.value)), Z = h(() => t.loading && W.value.length === 0), Q = h(() => H.value === "month" ? c.value ? "agenda" : "month" : "timeline"), U = jS({
|
|
@@ -21311,19 +21306,19 @@ const XS = Symbol("VcSchedulerCalendarContext"), QS = ["aria-busy"], DR = /* @__
|
|
|
21311
21306
|
onClose: $
|
|
21312
21307
|
}, null, 8, ["open", "title", "body", "confirm-label"])
|
|
21313
21308
|
], 8, QS)), [
|
|
21314
|
-
[a(
|
|
21309
|
+
[a(zo), e.loading && !Z.value, "49"]
|
|
21315
21310
|
]);
|
|
21316
21311
|
}
|
|
21317
21312
|
});
|
|
21318
21313
|
export {
|
|
21319
|
-
|
|
21320
|
-
|
|
21314
|
+
ki as $,
|
|
21315
|
+
$i as A,
|
|
21321
21316
|
$R as B,
|
|
21322
21317
|
A_ as C,
|
|
21323
|
-
|
|
21318
|
+
ci as D,
|
|
21324
21319
|
aR as E,
|
|
21325
21320
|
uR as F,
|
|
21326
|
-
|
|
21321
|
+
ni as G,
|
|
21327
21322
|
Ba as H,
|
|
21328
21323
|
J$ as I,
|
|
21329
21324
|
sn as J,
|
|
@@ -21340,14 +21335,14 @@ export {
|
|
|
21340
21335
|
iv as U,
|
|
21341
21336
|
vR as V,
|
|
21342
21337
|
dR as W,
|
|
21343
|
-
|
|
21338
|
+
Ci as X,
|
|
21344
21339
|
Im as Y,
|
|
21345
21340
|
TR as Z,
|
|
21346
21341
|
H$ as _,
|
|
21347
21342
|
E0 as a,
|
|
21348
21343
|
ru as a$,
|
|
21349
21344
|
i0 as a0,
|
|
21350
|
-
|
|
21345
|
+
_i as a1,
|
|
21351
21346
|
wR as a2,
|
|
21352
21347
|
Nd as a3,
|
|
21353
21348
|
Tb as a4,
|
|
@@ -21372,7 +21367,7 @@ export {
|
|
|
21372
21367
|
Y$ as aN,
|
|
21373
21368
|
G$ as aO,
|
|
21374
21369
|
W$ as aP,
|
|
21375
|
-
|
|
21370
|
+
Oi as aQ,
|
|
21376
21371
|
MR as aR,
|
|
21377
21372
|
Jl as aS,
|
|
21378
21373
|
Xc as aT,
|
|
@@ -21393,14 +21388,14 @@ export {
|
|
|
21393
21388
|
DR as ah,
|
|
21394
21389
|
Gt as ai,
|
|
21395
21390
|
bR as aj,
|
|
21396
|
-
|
|
21391
|
+
Ei as ak,
|
|
21397
21392
|
IR as al,
|
|
21398
21393
|
Vm as am,
|
|
21399
21394
|
gR as an,
|
|
21400
21395
|
nR as ao,
|
|
21401
21396
|
Jd as ap,
|
|
21402
21397
|
LR as aq,
|
|
21403
|
-
|
|
21398
|
+
Ri as ar,
|
|
21404
21399
|
en as as,
|
|
21405
21400
|
wy as at,
|
|
21406
21401
|
rn as au,
|
|
@@ -21411,7 +21406,7 @@ export {
|
|
|
21411
21406
|
q$ as az,
|
|
21412
21407
|
AR as b,
|
|
21413
21408
|
Q$ as b0,
|
|
21414
|
-
|
|
21409
|
+
ai as b1,
|
|
21415
21410
|
X$ as b2,
|
|
21416
21411
|
cm as b3,
|
|
21417
21412
|
cR as b4,
|
|
@@ -21428,33 +21423,33 @@ export {
|
|
|
21428
21423
|
Sm as bF,
|
|
21429
21424
|
pm as bG,
|
|
21430
21425
|
on as bH,
|
|
21431
|
-
|
|
21426
|
+
ti as bI,
|
|
21432
21427
|
Rm as bJ,
|
|
21433
|
-
|
|
21428
|
+
yi as bK,
|
|
21434
21429
|
da as bL,
|
|
21435
21430
|
dm as ba,
|
|
21436
21431
|
U$ as bb,
|
|
21437
21432
|
bu as bc,
|
|
21438
21433
|
su as bd,
|
|
21439
|
-
|
|
21440
|
-
|
|
21434
|
+
ri as be,
|
|
21435
|
+
pi as bf,
|
|
21441
21436
|
j$ as bg,
|
|
21442
21437
|
cw as bh,
|
|
21443
21438
|
uw as bi,
|
|
21444
21439
|
Cu as bj,
|
|
21445
21440
|
lw as bk,
|
|
21446
21441
|
dw as bl,
|
|
21447
|
-
|
|
21442
|
+
Mi as bm,
|
|
21448
21443
|
cy as bn,
|
|
21449
|
-
|
|
21444
|
+
Ti as bo,
|
|
21450
21445
|
cn as bp,
|
|
21451
21446
|
nw as bq,
|
|
21452
|
-
|
|
21447
|
+
Ai as br,
|
|
21453
21448
|
ju as bs,
|
|
21454
21449
|
_u as bt,
|
|
21455
21450
|
$m as bu,
|
|
21456
21451
|
Em as bv,
|
|
21457
|
-
|
|
21452
|
+
ei as bw,
|
|
21458
21453
|
St as bx,
|
|
21459
21454
|
Yc as by,
|
|
21460
21455
|
F$ as bz,
|