@vc-shell/framework 2.5.0-pr328.54f71e1 → 2.5.0-pr329.6ed4c22
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-hE28bTID.js → VcScheduler.vue_vue_type_script_setup_true_lang-C4XH4U_D.js} +55 -55
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-C4XH4U_D.js.map +1 -0
- package/dist/framework.js +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-blade/useBladeSkeleton.d.ts.map +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-hE28bTID.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { nextTick as $e, ref as B, computed as y, getCurrentInstance as
|
|
1
|
+
import { nextTick as $e, ref as B, computed as y, getCurrentInstance as Tt, inject as Ce, defineComponent as Q, openBlock as s, createElementBlock as g, createElementVNode as w, watch as oe, onMounted as et, onBeforeUnmount as He, toValue as xe, reactive as vt, shallowRef as oo, provide as De, createBlock as P, unref as n, withCtx as x, withDirectives as Xe, resolveDynamicComponent as qe, vShow as _t, createCommentVNode as L, toRef as Ie, normalizeClass as X, renderSlot as z, toDisplayString as F, Teleport as gt, createVNode as A, Transition as Fe, normalizeStyle as he, Fragment as Z, renderList as de, createTextVNode as ve, mergeProps as Le, withModifiers as ue, isRef as bt, h as io, withKeys as Ae, createSlots as Ne, markRaw as On, useId as Bt, useSlots as ht, TransitionGroup as Un, toHandlers as Ol, onUnmounted as Rt, hasInjectionContext as so, getCurrentScope as ro, onScopeDispose as zn, useAttrs as Pi, watchEffect as Hn, vModelText as Vi, toRefs as Fi, normalizeProps as ft, guardReactiveProps as mt, vModelCheckbox as Ui, toRaw as co } from "vue";
|
|
2
2
|
import { ab as zi, c as lt, x as Hi, d as uo, B as al, Q as Wn, P as vo, e as fo, K as mo, _ as le, u as Pt, A as Wi, a as pt, b as po, W as go, h as Gi, L as Mn, t as Ln, n as qi, O as Ki, af as bo, M as Yi, U as Gn, E as ol, z as In, w as ji, a3 as Xi, Z as ho, G as Qi, F as yo, s as Zi, a8 as Ji } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js";
|
|
3
|
-
import { P as
|
|
3
|
+
import { P as St, af as es, aR as ts, a as ls, X as Pe, H as il, l as Se, aP as wo, N as sl, am as ns, an as as, x as we, F as Qe, M as os, t as rt, a8 as is, T as Pl, Q as wt, a0 as ss, aS as rs, I as Vt, V as Ze, ap as cs, u as us, aT as ds, ak as Co, aU as vs, aV as fs, au as _o, aN as ko, O as Vl, aO as ms, q as Ve, v as $t, E as Eo, p as ps, Y as gs, y as bs, az as hs, C as ys, w as Ct, s as ws, aW as Fl, K as So, aX as $o, aY as Ro, aZ as ll, a_ as Ao, a$ as Cs, A as To, n as _s, o as pn } from "./VcScheduler.vue_vue_type_style_index_0_lang-BQ09AUgy.js";
|
|
4
4
|
import { q as Ft, p as gn, o as ks, n as Ml, r as Es, m as xn, v as Al, t as Oo, f as qn, w as Ss, _ as $s } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js";
|
|
5
5
|
import { u as ze } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
6
6
|
import { s as Ul, f as Kn, o as Yn, d as Rs } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
@@ -91,7 +91,7 @@ import { e as vc, c as ka, g as jn } from "./vendor-lodash-es-D2n90GJy.js";
|
|
|
91
91
|
import { S as Bo } from "./vendor-sortablejs-Bsvu-FKn.js";
|
|
92
92
|
import "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
|
|
93
93
|
import "./vendor-truncate-html-ChA1T5zy.js";
|
|
94
|
-
import { h as Te, U as Po, V as Hl, W as Ge, d as Nt, J as tt, x as
|
|
94
|
+
import { h as Te, U as Po, V as Hl, W as Ge, d as Nt, J as tt, x as At, z as Wl, a as fc, X as Xn, Y as Vo, Z as mc, _ as pc, w as Fo, y as Uo, $ as gc, a0 as bc } from "./vendor-date-fns-C-55OMpS.js";
|
|
95
95
|
import { r as Qn, R as je } from "./vendor-rrule-C4g_KGmu.js";
|
|
96
96
|
import { S as hc, Y as yc, h as Ea, G as wc, V as Cc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
|
|
97
97
|
function Nn(e) {
|
|
@@ -136,7 +136,7 @@ function Tc() {
|
|
|
136
136
|
}
|
|
137
137
|
function t(r, i, o) {
|
|
138
138
|
const c = o.toast && typeof o.toast != "boolean" && o.toast.timeout != null ? o.toast.timeout : kc[i];
|
|
139
|
-
|
|
139
|
+
St(r.title ?? "", {
|
|
140
140
|
timeout: c,
|
|
141
141
|
type: i === "critical" ? "error" : i === "info" ? "default" : i
|
|
142
142
|
});
|
|
@@ -147,7 +147,7 @@ function Tc() {
|
|
|
147
147
|
const b = e.get(d);
|
|
148
148
|
if (b) {
|
|
149
149
|
const p = c.completedType?.(r) ?? "success";
|
|
150
|
-
|
|
150
|
+
St.update(b.toastId, {
|
|
151
151
|
type: p,
|
|
152
152
|
timeout: 5e3,
|
|
153
153
|
content: r.title ?? ""
|
|
@@ -157,11 +157,11 @@ function Tc() {
|
|
|
157
157
|
}
|
|
158
158
|
const v = e.get(d);
|
|
159
159
|
if (v)
|
|
160
|
-
|
|
160
|
+
St.update(v.toastId, {
|
|
161
161
|
content: r.title ?? ""
|
|
162
162
|
});
|
|
163
163
|
else {
|
|
164
|
-
const b =
|
|
164
|
+
const b = St(r.title ?? "", {
|
|
165
165
|
timeout: !1,
|
|
166
166
|
type: i === "critical" ? "error" : i === "info" ? "default" : i
|
|
167
167
|
});
|
|
@@ -262,7 +262,7 @@ function Oc(e) {
|
|
|
262
262
|
}
|
|
263
263
|
let hl = null;
|
|
264
264
|
function Gl() {
|
|
265
|
-
if (
|
|
265
|
+
if (Tt()) {
|
|
266
266
|
const e = Ce(Hi, null);
|
|
267
267
|
if (e)
|
|
268
268
|
return hl = e, e;
|
|
@@ -1050,7 +1050,7 @@ const Kc = ts, Yc = /* @__PURE__ */ Q({
|
|
|
1050
1050
|
},
|
|
1051
1051
|
emits: ["update:modelValue", "item-click", "open", "close"],
|
|
1052
1052
|
setup(e, { emit: a }) {
|
|
1053
|
-
const t = e, l = a, o = `vc-dropdown-${
|
|
1053
|
+
const t = e, l = a, o = `vc-dropdown-${Tt()?.uid ?? Math.round(Math.random() * 1e4)}`, { isMobile: c } = Pe(), d = B(null), u = B(null), v = B(-1), { teleportTarget: b } = Pt({
|
|
1054
1054
|
to: y(() => t.teleportTo)
|
|
1055
1055
|
}), p = y(() => t.teleport ?? t.floating), m = y({
|
|
1056
1056
|
get: () => t.modelValue,
|
|
@@ -1675,7 +1675,7 @@ const _u = { class: "vc-popup__center" }, ku = ["aria-label"], Eu = { class: "vc
|
|
|
1675
1675
|
},
|
|
1676
1676
|
emits: ["close", "update:modelValue"],
|
|
1677
1677
|
setup(e, { emit: a }) {
|
|
1678
|
-
const t = e, l = a, i = `vc-popup-title-${
|
|
1678
|
+
const t = e, l = a, i = `vc-popup-title-${Tt()?.uid ?? 0}`, { isMobile: o } = Pe(), c = B(null), d = {
|
|
1679
1679
|
warning: { icon: "lucide-triangle-alert", className: "vc-popup__icon--warning" },
|
|
1680
1680
|
error: { icon: "lucide-circle-alert", className: "vc-popup__icon--error" },
|
|
1681
1681
|
success: { icon: "lucide-circle-check", className: "vc-popup__icon--success" },
|
|
@@ -1832,7 +1832,7 @@ const _u = { class: "vc-popup__center" }, ku = ["aria-label"], Eu = { class: "vc
|
|
|
1832
1832
|
}
|
|
1833
1833
|
});
|
|
1834
1834
|
function $u() {
|
|
1835
|
-
if (
|
|
1835
|
+
if (Tt())
|
|
1836
1836
|
return Ce(Go, void 0);
|
|
1837
1837
|
}
|
|
1838
1838
|
const Ru = /* @__PURE__ */ Q({
|
|
@@ -1922,7 +1922,7 @@ function xa(e, a) {
|
|
|
1922
1922
|
return a?.html ? e : () => io("div", { class: "tw-h-full tw-w-full" }, n(e));
|
|
1923
1923
|
}
|
|
1924
1924
|
function Lu() {
|
|
1925
|
-
return
|
|
1925
|
+
return Tt() && Ce(Go, void 0) || Ko;
|
|
1926
1926
|
}
|
|
1927
1927
|
function jo(e) {
|
|
1928
1928
|
const { t: a } = ze({ useScope: "global" }), t = Lu(), l = /* @__PURE__ */ new WeakMap();
|
|
@@ -3399,13 +3399,13 @@ function bv(e, a = () => {
|
|
|
3399
3399
|
c.length > 0 && o !== c[1] && (t.value = !1), !i && l && (t.value = !0);
|
|
3400
3400
|
},
|
|
3401
3401
|
{ immediate: !0 }
|
|
3402
|
-
),
|
|
3402
|
+
), et(() => void $e(r)), y(() => e() && !t.value);
|
|
3403
3403
|
}
|
|
3404
3404
|
const hv = lt("use-widgets");
|
|
3405
3405
|
function yv() {
|
|
3406
3406
|
const e = Ce(go);
|
|
3407
3407
|
if (!e)
|
|
3408
|
-
throw hv.error("Widget service not found in current context. Injection chain:",
|
|
3408
|
+
throw hv.error("Widget service not found in current context. Injection chain:", Tt()), new Pl("WidgetService");
|
|
3409
3409
|
return e;
|
|
3410
3410
|
}
|
|
3411
3411
|
const Dl = /* @__PURE__ */ Q({
|
|
@@ -4000,7 +4000,7 @@ const wv = { class: "vc-widget-container-desktop" }, Cv = { class: "vc-widget-co
|
|
|
4000
4000
|
}
|
|
4001
4001
|
}), d.clear();
|
|
4002
4002
|
}
|
|
4003
|
-
et(u),
|
|
4003
|
+
et(u), Rt(v);
|
|
4004
4004
|
const b = y(() => i.getWidgets(r.value)), p = y(
|
|
4005
4005
|
() => b.value.filter((m) => Jn(m.isVisible, o?.value))
|
|
4006
4006
|
);
|
|
@@ -4199,7 +4199,7 @@ const ef = cc(Jv), tf = ["aria-busy", "aria-labelledby", "aria-label"], lf = {
|
|
|
4199
4199
|
if (t.modified !== void 0) return t.modified;
|
|
4200
4200
|
if (l)
|
|
4201
4201
|
return l.isModified.value;
|
|
4202
|
-
}), o = `blade-title-${
|
|
4202
|
+
}), o = `blade-title-${Tt()?.uid ?? 0}`, c = Ce(al, void 0), d = bv(
|
|
4203
4203
|
() => !!t.loading,
|
|
4204
4204
|
() => c?.value.param
|
|
4205
4205
|
);
|
|
@@ -5018,7 +5018,7 @@ const Of = {
|
|
|
5018
5018
|
}
|
|
5019
5019
|
return et(() => {
|
|
5020
5020
|
document.addEventListener("click", v);
|
|
5021
|
-
}),
|
|
5021
|
+
}), Rt(() => {
|
|
5022
5022
|
document.removeEventListener("click", v);
|
|
5023
5023
|
}), (b, p) => (s(), g("div", xf, [
|
|
5024
5024
|
w("div", Nf, [
|
|
@@ -8550,7 +8550,7 @@ const Pg = 3, Bn = /* @__PURE__ */ Q({
|
|
|
8550
8550
|
debounce: 300
|
|
8551
8551
|
}, null, 8, ["modelValue", "placeholder"])
|
|
8552
8552
|
])) : L("", !0),
|
|
8553
|
-
e.disableMenu ? L("", !0) : (s(), P(n(
|
|
8553
|
+
e.disableMenu ? L("", !0) : (s(), P(n($t), {
|
|
8554
8554
|
key: 1,
|
|
8555
8555
|
ref_key: "scrollContainer",
|
|
8556
8556
|
ref: i,
|
|
@@ -8824,7 +8824,7 @@ const Va = /* @__PURE__ */ Q({
|
|
|
8824
8824
|
w("header", ib, [
|
|
8825
8825
|
w("span", sb, F(G.$t("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.APPLICATIONS")), 1)
|
|
8826
8826
|
]),
|
|
8827
|
-
A(n(
|
|
8827
|
+
A(n($t), {
|
|
8828
8828
|
ref_key: "appsScrollContainerRef",
|
|
8829
8829
|
ref: o,
|
|
8830
8830
|
class: "app-hub-content__scroll"
|
|
@@ -8879,7 +8879,7 @@ const Va = /* @__PURE__ */ Q({
|
|
|
8879
8879
|
w("span", bb, F(n(C)(n(u))), 1)
|
|
8880
8880
|
])
|
|
8881
8881
|
]),
|
|
8882
|
-
A(n(
|
|
8882
|
+
A(n($t), { class: "app-hub-content__widget-inline-body" }, {
|
|
8883
8883
|
default: x(() => [
|
|
8884
8884
|
A(Va)
|
|
8885
8885
|
]),
|
|
@@ -8889,7 +8889,7 @@ const Va = /* @__PURE__ */ Q({
|
|
|
8889
8889
|
w("header", hb, [
|
|
8890
8890
|
w("span", yb, F(G.$t("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.WIDGETS")), 1)
|
|
8891
8891
|
]),
|
|
8892
|
-
A(n(
|
|
8892
|
+
A(n($t), {
|
|
8893
8893
|
ref_key: "widgetsScrollContainerRef",
|
|
8894
8894
|
ref: c,
|
|
8895
8895
|
class: "app-hub-content__scroll"
|
|
@@ -9114,7 +9114,7 @@ const Va = /* @__PURE__ */ Q({
|
|
|
9114
9114
|
return He(() => {
|
|
9115
9115
|
a.hasUnread.value && a.markAllAsRead();
|
|
9116
9116
|
}), (r, i) => (s(), g("div", zb, [
|
|
9117
|
-
l.value.length ? (s(), P(n(
|
|
9117
|
+
l.value.length ? (s(), P(n($t), {
|
|
9118
9118
|
key: 0,
|
|
9119
9119
|
class: "notification-dropdown__scroll"
|
|
9120
9120
|
}, {
|
|
@@ -9723,7 +9723,7 @@ const Qb = {
|
|
|
9723
9723
|
debounce: 300
|
|
9724
9724
|
}, null, 8, ["modelValue", "placeholder"])
|
|
9725
9725
|
])) : L("", !0),
|
|
9726
|
-
A(n(
|
|
9726
|
+
A(n($t), { class: "mobile-layout__menu-scroll" }, {
|
|
9727
9727
|
default: x(() => [
|
|
9728
9728
|
z(j.$slots, "menu", {
|
|
9729
9729
|
expanded: !0,
|
|
@@ -9790,7 +9790,7 @@ const Qb = {
|
|
|
9790
9790
|
debounce: 300
|
|
9791
9791
|
}, null, 8, ["modelValue", "placeholder"])
|
|
9792
9792
|
])) : L("", !0),
|
|
9793
|
-
A(n(
|
|
9793
|
+
A(n($t), { class: "mobile-layout__menu-scroll" }, {
|
|
9794
9794
|
default: x(() => [
|
|
9795
9795
|
z(j.$slots, "menu", {
|
|
9796
9796
|
expanded: !0,
|
|
@@ -9975,7 +9975,7 @@ const Rh = { class: "vc-menu-item__content" }, Ah = { class: "vc-menu-item__titl
|
|
|
9975
9975
|
__name: "theme-selector",
|
|
9976
9976
|
setup(e) {
|
|
9977
9977
|
const { currentThemeKey: a, currentLocalizedName: t, themes: l, setTheme: r } = gs(), i = (o) => {
|
|
9978
|
-
r(o.key), t.value &&
|
|
9978
|
+
r(o.key), t.value && St(t.value);
|
|
9979
9979
|
};
|
|
9980
9980
|
return (o, c) => (s(), P(n(en), {
|
|
9981
9981
|
icon: "lucide-palette",
|
|
@@ -10264,7 +10264,7 @@ function Kh() {
|
|
|
10264
10264
|
}
|
|
10265
10265
|
}
|
|
10266
10266
|
function r(i) {
|
|
10267
|
-
e(i.permission) ? i.relativeUrl && (window.location.href = window.location.origin + i.relativeUrl) :
|
|
10267
|
+
e(i.permission) ? i.relativeUrl && (window.location.href = window.location.origin + i.relativeUrl) : St.error(wt.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), {
|
|
10268
10268
|
timeout: 3e3
|
|
10269
10269
|
});
|
|
10270
10270
|
}
|
|
@@ -10282,7 +10282,7 @@ function Yh(e) {
|
|
|
10282
10282
|
a.value = d, !t.value && d && u && (t.value = !0, await r(), await c());
|
|
10283
10283
|
},
|
|
10284
10284
|
{ immediate: !0 }
|
|
10285
|
-
),
|
|
10285
|
+
), Rt(() => {
|
|
10286
10286
|
a.value = !1, t.value = !1;
|
|
10287
10287
|
}), { isAppReady: a, isAuthenticated: l, appsList: i, switchApp: o };
|
|
10288
10288
|
}
|
|
@@ -10330,7 +10330,7 @@ const jh = { class: "vc-app__main-content" }, YS = /* @__PURE__ */ Q({
|
|
|
10330
10330
|
aiAgentConfig: V,
|
|
10331
10331
|
aiAgentAddGlobalToolbarButton: R
|
|
10332
10332
|
}), oe(M, (k) => {
|
|
10333
|
-
k &&
|
|
10333
|
+
k && St.error(
|
|
10334
10334
|
"Unable to load application modules. Please check your connection and try refreshing the page.",
|
|
10335
10335
|
{ timeout: 1e4 }
|
|
10336
10336
|
);
|
|
@@ -14429,8 +14429,8 @@ const a1 = {
|
|
|
14429
14429
|
h.value = !0;
|
|
14430
14430
|
function Ee(Re) {
|
|
14431
14431
|
if (Re - fe < ie) {
|
|
14432
|
-
const st = (re - ye) * f1, at = se * m1,
|
|
14433
|
-
se +=
|
|
14432
|
+
const st = (re - ye) * f1, at = se * m1, kt = (st - at) / p1;
|
|
14433
|
+
se += kt, ye += se, p.value = ye, m.value = Math.abs(p.value), C.value = requestAnimationFrame(Ee);
|
|
14434
14434
|
} else
|
|
14435
14435
|
p.value = re, m.value = Math.abs(re), h.value = !1, C.value = null;
|
|
14436
14436
|
}
|
|
@@ -14904,7 +14904,7 @@ const k1 = { class: "vc-pull-to-refresh__indicator-content" }, E1 = { class: "vc
|
|
|
14904
14904
|
(_, I) => {
|
|
14905
14905
|
I && !_ && D(0);
|
|
14906
14906
|
}
|
|
14907
|
-
),
|
|
14907
|
+
), Rt(() => {
|
|
14908
14908
|
p.value !== null && cancelAnimationFrame(p.value);
|
|
14909
14909
|
}), a({
|
|
14910
14910
|
pullDistance: d,
|
|
@@ -15307,8 +15307,8 @@ function F1(e) {
|
|
|
15307
15307
|
const fe = ie / ee.length, se = [];
|
|
15308
15308
|
let ye = 0;
|
|
15309
15309
|
for (const Ee of ee) {
|
|
15310
|
-
const Re = m[Ee]?.minPx ?? i, We = H[Ee], st = We - fe, at = Math.max(Re, st),
|
|
15311
|
-
ye +=
|
|
15310
|
+
const Re = m[Ee]?.minPx ?? i, We = H[Ee], st = We - fe, at = Math.max(Re, st), kt = We - at;
|
|
15311
|
+
ye += kt, H[Ee] = at, (at > Re || fe < 0) && se.push(Ee);
|
|
15312
15312
|
}
|
|
15313
15313
|
if (ie -= ye, Math.abs(ye) < 0.5) break;
|
|
15314
15314
|
ee.length = 0, ee.push(...se);
|
|
@@ -16571,7 +16571,7 @@ function nC(e) {
|
|
|
16571
16571
|
t("filter", { filters: Y, filteredValue: a.items });
|
|
16572
16572
|
}
|
|
16573
16573
|
}
|
|
16574
|
-
), ye = (Y) => H.hasFilter(Y.props.filter), Ee = (Y) => Y.props.filterField || H.getFilterField(Y.props.id, Y.props.filter), Re = (Y) => H.getFilterType(Y.props.filter), We = (Y) => H.getFilterOptions(Y.props.filter), st = (Y) => H.isMultipleSelect(Y.props.filter), at = (Y) => H.getRangeFields(Y.props.filter),
|
|
16574
|
+
), ye = (Y) => H.hasFilter(Y.props.filter), Ee = (Y) => Y.props.filterField || H.getFilterField(Y.props.id, Y.props.filter), Re = (Y) => H.getFilterType(Y.props.filter), We = (Y) => H.getFilterOptions(Y.props.filter), st = (Y) => H.isMultipleSelect(Y.props.filter), at = (Y) => H.getRangeFields(Y.props.filter), kt = (Y) => {
|
|
16575
16575
|
const ge = Ee(Y);
|
|
16576
16576
|
if (Re(Y) === "dateRange") {
|
|
16577
16577
|
const pe = at(Y);
|
|
@@ -16625,7 +16625,7 @@ function nC(e) {
|
|
|
16625
16625
|
}), {
|
|
16626
16626
|
isDragging: Wt,
|
|
16627
16627
|
handleDragStart: sn,
|
|
16628
|
-
handleDragOver:
|
|
16628
|
+
handleDragOver: Et,
|
|
16629
16629
|
handleDrop: Gt
|
|
16630
16630
|
} = U1({
|
|
16631
16631
|
columnState: _.columnState,
|
|
@@ -16664,7 +16664,7 @@ function nC(e) {
|
|
|
16664
16664
|
getColumnFilterOptions: We,
|
|
16665
16665
|
isColumnFilterMultiple: st,
|
|
16666
16666
|
getColumnRangeFields: at,
|
|
16667
|
-
getColumnFilterValue:
|
|
16667
|
+
getColumnFilterValue: kt,
|
|
16668
16668
|
handleColumnFilterApply: tn,
|
|
16669
16669
|
handleColumnFilterClear: ln,
|
|
16670
16670
|
emitFilterPayload: Mt,
|
|
@@ -16674,7 +16674,7 @@ function nC(e) {
|
|
|
16674
16674
|
handleResizeStart: on,
|
|
16675
16675
|
isColumnReordering: Wt,
|
|
16676
16676
|
handleColumnDragStart: sn,
|
|
16677
|
-
handleColumnDragOver:
|
|
16677
|
+
handleColumnDragOver: Et,
|
|
16678
16678
|
handleColumnDrop: Gt,
|
|
16679
16679
|
// Row reorder
|
|
16680
16680
|
reorderedItems: ne,
|
|
@@ -17063,7 +17063,7 @@ const a$ = {
|
|
|
17063
17063
|
getColumnRangeFields: We,
|
|
17064
17064
|
getColumnFilterValue: st,
|
|
17065
17065
|
handleColumnFilterApply: at,
|
|
17066
|
-
handleColumnFilterClear:
|
|
17066
|
+
handleColumnFilterClear: kt,
|
|
17067
17067
|
emitFilterPayload: Ot,
|
|
17068
17068
|
// Global filter payload (owned by component UI state; orchestrator wires it)
|
|
17069
17069
|
globalFilterPayload: Mt,
|
|
@@ -17078,7 +17078,7 @@ const a$ = {
|
|
|
17078
17078
|
// Derived computeds
|
|
17079
17079
|
displayItems: Wt,
|
|
17080
17080
|
getGlobalIndex: sn,
|
|
17081
|
-
effectiveSelectionMode:
|
|
17081
|
+
effectiveSelectionMode: Et,
|
|
17082
17082
|
hasSelectionColumn: Gt,
|
|
17083
17083
|
isSelectionViaColumn: qt,
|
|
17084
17084
|
isRowReorderEnabled: dl,
|
|
@@ -17189,7 +17189,7 @@ const a$ = {
|
|
|
17189
17189
|
isSelected: W.isSelected(ce),
|
|
17190
17190
|
isActive: l.activeItemId != null && j(ce, be) === String(l.activeItemId),
|
|
17191
17191
|
isSelectable: W.canSelect(ce),
|
|
17192
|
-
selectionMode:
|
|
17192
|
+
selectionMode: Et.value,
|
|
17193
17193
|
showSelectionCell: Gt.value && !qt.value,
|
|
17194
17194
|
// Reorder
|
|
17195
17195
|
reorderable: dl.value,
|
|
@@ -17304,7 +17304,7 @@ const a$ = {
|
|
|
17304
17304
|
selectAll: n(W).selectAll,
|
|
17305
17305
|
clearSelection: n(W).clear
|
|
17306
17306
|
}, () => [
|
|
17307
|
-
n(
|
|
17307
|
+
n(Et) === "multiple" ? (s(), P(n(Dw), {
|
|
17308
17308
|
key: 0,
|
|
17309
17309
|
"selection-count": n(W).selected.value.length,
|
|
17310
17310
|
"total-count": l.totalCount ?? 0,
|
|
@@ -17315,7 +17315,7 @@ const a$ = {
|
|
|
17315
17315
|
}, null, 8, ["selection-count", "total-count", "all-selected", "show-select-all-prompt", "onSelectAll", "onCancel"])) : L("", !0)
|
|
17316
17316
|
]),
|
|
17317
17317
|
R.value ? (s(), g("div", sC, [
|
|
17318
|
-
n(
|
|
17318
|
+
n(Et) === "multiple" && (n(W).isPartiallySelected.value || n(W).isAllSelected.value) ? (s(), g("div", rC, [
|
|
17319
17319
|
A(n(nl), {
|
|
17320
17320
|
"model-value": n(W).isAllSelected.value,
|
|
17321
17321
|
indeterminate: n(W).isPartiallySelected.value && !n(W).isAllSelected.value,
|
|
@@ -17330,7 +17330,7 @@ const a$ = {
|
|
|
17330
17330
|
reorderable: n(dl),
|
|
17331
17331
|
columns: me.value,
|
|
17332
17332
|
selection: n(W).selected.value,
|
|
17333
|
-
"selection-mode": n(
|
|
17333
|
+
"selection-mode": n(Et),
|
|
17334
17334
|
"is-row-selectable": l.isRowSelectable,
|
|
17335
17335
|
"row-actions": e.rowActions,
|
|
17336
17336
|
loading: e.loading,
|
|
@@ -17394,7 +17394,7 @@ const a$ = {
|
|
|
17394
17394
|
columns: n(vl),
|
|
17395
17395
|
"show-drag-handle": n(Lt),
|
|
17396
17396
|
"show-selection-cell": n(Gt) && !n(qt),
|
|
17397
|
-
"selection-mode": n(
|
|
17397
|
+
"selection-mode": n(Et),
|
|
17398
17398
|
"all-selected": n(W).isAllSelected.value,
|
|
17399
17399
|
"some-selected": n(W).isPartiallySelected.value,
|
|
17400
17400
|
"get-sort-direction": n(ke).getSortDirection,
|
|
@@ -17424,7 +17424,7 @@ const a$ = {
|
|
|
17424
17424
|
onReorderOver: n(nn),
|
|
17425
17425
|
onReorderDrop: be[5] || (be[5] = (_e, Me) => n(an)(Me)),
|
|
17426
17426
|
onFilterApply: n(at),
|
|
17427
|
-
onFilterClear: n(
|
|
17427
|
+
onFilterClear: n(kt),
|
|
17428
17428
|
onColumnSwitcherClick: be[6] || (be[6] = (_e) => Xt.value = !Xt.value)
|
|
17429
17429
|
}, null, 8, ["columns", "show-drag-handle", "show-selection-cell", "selection-mode", "all-selected", "some-selected", "get-sort-direction", "get-sort-index", "get-column-width", "get-header-align", "get-header-style", "is-column-resizable", "is-column-reorderable", "is-last-resizable", "get-sort-field", "set-header-ref", "show-filter", "get-filter-type", "get-filter-options", "is-filter-multiple", "get-range-fields", "get-filter-value", "is-editing", "show-column-switcher", "column-switcher-active", "actions-position", "onSelectAll", "onSort", "onResizeStart", "onReorderStart", "onReorderOver", "onFilterApply", "onFilterClear"]),
|
|
17430
17430
|
A(n(W0), {
|
|
@@ -18765,7 +18765,7 @@ const m_ = { class: "vc-scheduler__month" }, p_ = {
|
|
|
18765
18765
|
emits: ["event-click", "create-intent", "event-update", "edit-intent", "event-delete"],
|
|
18766
18766
|
setup(e, { emit: a }) {
|
|
18767
18767
|
const t = e, l = a, r = B(null), i = y(() => {
|
|
18768
|
-
const ee = t.firstDayOfWeek % 7, fe =
|
|
18768
|
+
const ee = t.firstDayOfWeek % 7, fe = At(Wl(t.focusedDate), { weekStartsOn: ee });
|
|
18769
18769
|
return { start: fe, end: tt(fe, 42) };
|
|
18770
18770
|
}), o = y(
|
|
18771
18771
|
() => Array.from({ length: 42 }, (ee, fe) => {
|
|
@@ -18868,7 +18868,7 @@ const m_ = { class: "vc-scheduler__month" }, p_ = {
|
|
|
18868
18868
|
function q() {
|
|
18869
18869
|
window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", I);
|
|
18870
18870
|
}
|
|
18871
|
-
|
|
18871
|
+
Rt(() => {
|
|
18872
18872
|
q(), D.cancel(), M.clear();
|
|
18873
18873
|
});
|
|
18874
18874
|
const K = B(!1), te = B(null), me = B(null);
|
|
@@ -19234,7 +19234,7 @@ const P_ = { class: "vc-scheduler__tg" }, V_ = { class: "vc-scheduler__tg-head"
|
|
|
19234
19234
|
const t = e, l = a, r = y(() => t.events), i = y(() => t.mode === "week" ? 7 : 1), o = y(() => t.dayStartHour ?? 0), c = y(() => t.dayEndHour ?? 24), d = y(() => xt), u = y(() => {
|
|
19235
19235
|
if (t.mode === "week") {
|
|
19236
19236
|
const T = t.firstDayOfWeek % 7;
|
|
19237
|
-
return
|
|
19237
|
+
return At(t.focusedDate, { weekStartsOn: T });
|
|
19238
19238
|
}
|
|
19239
19239
|
return Ge(t.focusedDate);
|
|
19240
19240
|
}), v = B_({
|
|
@@ -19282,7 +19282,7 @@ const P_ = { class: "vc-scheduler__tg" }, V_ = { class: "vc-scheduler__tg-head"
|
|
|
19282
19282
|
let C;
|
|
19283
19283
|
et(() => {
|
|
19284
19284
|
C = setInterval(() => f.value = Date.now(), 6e4);
|
|
19285
|
-
}),
|
|
19285
|
+
}), Rt(() => {
|
|
19286
19286
|
C && clearInterval(C);
|
|
19287
19287
|
});
|
|
19288
19288
|
const E = y(() => {
|
|
@@ -19303,7 +19303,7 @@ const P_ = { class: "vc-scheduler__tg" }, V_ = { class: "vc-scheduler__tg-head"
|
|
|
19303
19303
|
const te = new Date(K.getTime() + 36e5), me = DOMRect.fromRect({ x: S.clientX, y: S.clientY, width: 1, height: xt }), j = String(K.getTime());
|
|
19304
19304
|
$.set(j, { start: K, end: te, rect: me }), O.click(j);
|
|
19305
19305
|
}
|
|
19306
|
-
|
|
19306
|
+
Rt(() => {
|
|
19307
19307
|
O.cancel(), $.clear();
|
|
19308
19308
|
});
|
|
19309
19309
|
const V = B(!1), R = B(null), M = B(null);
|
|
@@ -19568,7 +19568,7 @@ const P_ = { class: "vc-scheduler__tg" }, V_ = { class: "vc-scheduler__tg-head"
|
|
|
19568
19568
|
{ value: "until", label: t("VC_SCHEDULER.REPEAT_END_UNTIL") },
|
|
19569
19569
|
{ value: "count", label: t("VC_SCHEDULER.REPEAT_END_COUNT") }
|
|
19570
19570
|
]), b = y(() => {
|
|
19571
|
-
const S =
|
|
19571
|
+
const S = At(/* @__PURE__ */ new Date(), { weekStartsOn: 0 });
|
|
19572
19572
|
return Array.from({ length: 7 }, (k, _) => {
|
|
19573
19573
|
const I = tt(S, _);
|
|
19574
19574
|
return { value: _, label: Te(I, "EEEEE"), fullLabel: Te(I, "EEEE") };
|
|
@@ -19917,7 +19917,7 @@ const P_ = { class: "vc-scheduler__tg" }, V_ = { class: "vc-scheduler__tg-head"
|
|
|
19917
19917
|
});
|
|
19918
19918
|
function Ek(e) {
|
|
19919
19919
|
const a = () => ({ weekStartsOn: e.firstDayOfWeek.value % 7 }), t = y(() => {
|
|
19920
|
-
const d =
|
|
19920
|
+
const d = At(Wl(e.date.value), a()), u = new Date(d.getTime() + 42 * 864e5);
|
|
19921
19921
|
return { start: d, end: u };
|
|
19922
19922
|
}), l = y(() => {
|
|
19923
19923
|
const d = e.date.value;
|
|
@@ -19925,7 +19925,7 @@ function Ek(e) {
|
|
|
19925
19925
|
case "timeline-day":
|
|
19926
19926
|
return Te(d, "d MMMM yyyy");
|
|
19927
19927
|
case "timeline-week": {
|
|
19928
|
-
const u =
|
|
19928
|
+
const u = At(d, a()), v = Uo(d, a());
|
|
19929
19929
|
return Te(u, "MMM yyyy") === Te(v, "MMM yyyy") ? `${Te(u, "d")} – ${Te(v, "d MMM yyyy")}` : `${Te(u, "d MMM")} – ${Te(v, "d MMM yyyy")}`;
|
|
19930
19930
|
}
|
|
19931
19931
|
default:
|
|
@@ -20182,8 +20182,8 @@ const Sk = Symbol("VcSchedulerCalendarContext"), $k = ["aria-busy"], s$ = /* @__
|
|
|
20182
20182
|
const H = te.value, ae = t.firstDayOfWeek % 7;
|
|
20183
20183
|
if (q.value === "timeline-day") return { start: Ge(H), end: Po(H) };
|
|
20184
20184
|
if (q.value === "timeline-week")
|
|
20185
|
-
return { start:
|
|
20186
|
-
const re =
|
|
20185
|
+
return { start: At(H, { weekStartsOn: ae }), end: Uo(H, { weekStartsOn: ae }) };
|
|
20186
|
+
const re = At(Wl(H), { weekStartsOn: ae });
|
|
20187
20187
|
return { start: re, end: tt(re, 42) };
|
|
20188
20188
|
}), G = y(() => QC(t.events, j.value)), ne = y(() => t.loading && G.value.length === 0), J = y(() => q.value === "month" ? r.value ? "agenda" : "month" : "timeline"), W = Ek({
|
|
20189
20189
|
date: te,
|