@vc-shell/framework 2.4.0-pr304.82d7026 → 2.4.0-pr304.cdae0d6
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-CPBhMzVE.js → VcScheduler.vue_vue_type_script_setup_true_lang-DSn7nAmv.js} +67 -67
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-CPBhMzVE.js.map → VcScheduler.vue_vue_type_script_setup_true_lang-DSn7nAmv.js.map} +1 -1
- package/dist/framework.js +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts.map +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { nextTick as Re, ref as N, computed as y, getCurrentInstance as Mt, inject as Ce, defineComponent as Y, openBlock as s, createElementBlock as p, createElementVNode as C, watch as ie, onMounted as
|
|
2
|
-
import { aa as as, c as
|
|
3
|
-
import { w as Rt, Y as gs, as as bs, B as hs, D as De, m as cl, _ as Ee, aq as To, t as ul, a3 as ys, a4 as ws, j as we, k as Qe, s as Cs, g as rt, Q as _s, I as Fl, x as Ct, H as ks, at as Es, n as Ft, V as
|
|
1
|
+
import { nextTick as Re, ref as N, computed as y, getCurrentInstance as Mt, inject as Ce, defineComponent as Y, openBlock as s, createElementBlock as p, createElementVNode as C, watch as ie, onMounted as tt, onBeforeUnmount as We, toValue as Ne, reactive as mt, shallowRef as Kn, provide as Be, createBlock as B, unref as a, withCtx as T, withDirectives as Xe, resolveDynamicComponent as qe, vShow as kt, createCommentVNode as O, toRef as xe, normalizeClass as Q, renderSlot as z, toDisplayString as F, Teleport as bt, createVNode as R, Transition as Ue, normalizeStyle as he, Fragment as J, renderList as ve, createTextVNode as de, mergeProps as Me, withModifiers as ue, isRef as ht, h as go, withKeys as $e, createSlots as Ie, markRaw as Dn, useId as Pt, useSlots as yt, TransitionGroup as Yn, toHandlers as Ml, onUnmounted as Ot, hasInjectionContext as bo, getCurrentScope as ho, onScopeDispose as jn, useAttrs as es, watchEffect as Xn, vModelText as ts, toRefs as ls, normalizeProps as pt, guardReactiveProps as gt, vModelCheckbox as ns, toRaw as yo } from "vue";
|
|
2
|
+
import { aa as as, c as Ze, N as os, d as wo, B as sl, P as Qn, O as Co, e as _o, J as ko, _ as le, u as Vt, A as is, a as st, b as Eo, W as So, h as ss, L as Pn, t as Vn, n as rs, K as cs, ae as $o, M as us, R as Jn, E as rl, y as Fn, w as ds, a2 as vs, Y as Ro, F as fs, D as Ao, s as ms, a7 as ps } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
|
|
3
|
+
import { w as Rt, Y as gs, as as bs, B as hs, D as De, m as cl, _ as Ee, aq as To, t as ul, a3 as ys, a4 as ws, j as we, k as Qe, s as Cs, g as rt, Q as _s, I as Fl, x as Ct, H as ks, at as Es, n as Ft, V as Je, au as Ss, a2 as Oo, av as $s, aw as Rs, ao as Lo, v as Ul, ap as As, d as Fe, h as Tt, u as Mo, E as Ts, ac as Os, p as Ls, i as _t, f as Ms, ax as zl, q as xo, ay as Io, az as No, e as xs, aA as Is, aB as ol, aC as Ns, aD as Bs, l as Bo, b as Ds, c as Cn } from "./VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
|
|
4
4
|
import { m as Do, w as Ut, v as _n, t as Ps, r as xl, x as Vs, q as Un, z as Ll, y as Po, g as Zn, B as Fs, _ as Us } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js";
|
|
5
5
|
import { u as Pe } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
6
6
|
import { s as Hl, f as ea, o as ta, d as zs } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
@@ -253,7 +253,7 @@ function Jc() {
|
|
|
253
253
|
}
|
|
254
254
|
return { handle: n };
|
|
255
255
|
}
|
|
256
|
-
const Ia =
|
|
256
|
+
const Ia = Ze("notification-store");
|
|
257
257
|
function Zc(e) {
|
|
258
258
|
const n = /* @__PURE__ */ new Map(), t = N([]), l = N([]), r = /* @__PURE__ */ new Map();
|
|
259
259
|
let i = 0;
|
|
@@ -572,7 +572,7 @@ function sa(e) {
|
|
|
572
572
|
M();
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
|
-
),
|
|
575
|
+
), tt(() => {
|
|
576
576
|
Re(() => {
|
|
577
577
|
V(), M();
|
|
578
578
|
});
|
|
@@ -608,7 +608,7 @@ function jl(e = {}) {
|
|
|
608
608
|
toggle: u
|
|
609
609
|
};
|
|
610
610
|
}
|
|
611
|
-
const su =
|
|
611
|
+
const su = Ze("use-table-sort");
|
|
612
612
|
function p$(e) {
|
|
613
613
|
const n = N(e?.initialProperty || null), t = N(e?.initialDirection || null), l = y({
|
|
614
614
|
get: () => ({
|
|
@@ -641,7 +641,7 @@ function p$(e) {
|
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
643
|
}
|
|
644
|
-
const En =
|
|
644
|
+
const En = Ze("use-table-selection");
|
|
645
645
|
function g$(e) {
|
|
646
646
|
const n = e?.idField ?? "id", t = (f) => {
|
|
647
647
|
if (typeof n == "function")
|
|
@@ -716,7 +716,7 @@ function b$(e) {
|
|
|
716
716
|
}
|
|
717
717
|
};
|
|
718
718
|
}
|
|
719
|
-
const Da =
|
|
719
|
+
const Da = Ze("use-data-table-pagination");
|
|
720
720
|
function h$(e) {
|
|
721
721
|
const n = y(() => Ne(e.pageSize) ?? 20), t = N(1), l = y(() => Math.ceil(Ne(e.totalCount) / n.value) || 0), r = y(() => (t.value - 1) * n.value), i = y(() => Ne(e.totalCount));
|
|
722
722
|
function o(b) {
|
|
@@ -777,7 +777,7 @@ function uu(e, n) {
|
|
|
777
777
|
const t = e.getRoutes(), l = t.find((i) => i.meta?.root), r = t.find((i) => i.aliasOf?.path === l?.path) ?? l;
|
|
778
778
|
r?.name && e.replace({ name: r.name, params: n });
|
|
779
779
|
}
|
|
780
|
-
const Sn =
|
|
780
|
+
const Sn = Ze("blade-registry"), du = Symbol("BladeRegistry");
|
|
781
781
|
function Pa(e) {
|
|
782
782
|
return !(!e || typeof e != "function" && typeof e != "object");
|
|
783
783
|
}
|
|
@@ -1453,7 +1453,7 @@ const fu = bs, mu = /* @__PURE__ */ Y({
|
|
|
1453
1453
|
[a(dl), i]
|
|
1454
1454
|
]);
|
|
1455
1455
|
}
|
|
1456
|
-
}), xu =
|
|
1456
|
+
}), xu = Ze("use-breadcrumbs");
|
|
1457
1457
|
function Iu() {
|
|
1458
1458
|
const e = Kn([]);
|
|
1459
1459
|
function n(r) {
|
|
@@ -1621,7 +1621,7 @@ const Fu = ["aria-label"], Uu = {
|
|
|
1621
1621
|
__name: "vc-blade-navigation-new",
|
|
1622
1622
|
setup(e) {
|
|
1623
1623
|
const { t: n } = Pe(), t = Ut(), l = Zo(), r = zt(), { breadcrumbs: i, push: o, remove: c } = Iu(), { syncUrlReplace: d } = Do(r, t);
|
|
1624
|
-
|
|
1624
|
+
tt(() => {
|
|
1625
1625
|
t.blades.value.length !== 0 && Re(() => {
|
|
1626
1626
|
d();
|
|
1627
1627
|
});
|
|
@@ -1988,7 +1988,7 @@ const ju = /* @__PURE__ */ Y({
|
|
|
1988
1988
|
_: 2
|
|
1989
1989
|
}, 1032, ["closing", "onFinalize"]))), 128));
|
|
1990
1990
|
}
|
|
1991
|
-
}), Ju = Qu, Rn =
|
|
1991
|
+
}), Ju = Qu, Rn = Ze("use-popup"), Zu = 400;
|
|
1992
1992
|
function za(e, n) {
|
|
1993
1993
|
return n?.html ? e : () => go("div", { class: "tw-h-full tw-w-full" }, a(e));
|
|
1994
1994
|
}
|
|
@@ -2577,7 +2577,7 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
2577
2577
|
},
|
|
2578
2578
|
emits: ["click"],
|
|
2579
2579
|
setup(e, { emit: n }) {
|
|
2580
|
-
const t =
|
|
2580
|
+
const t = Ze("vc-image"), l = e, r = n;
|
|
2581
2581
|
function i(b) {
|
|
2582
2582
|
if (!b) return b;
|
|
2583
2583
|
try {
|
|
@@ -3606,7 +3606,7 @@ const Bv = ["role"], Dv = { class: "vc-blade-status-banners__text" }, Pv = ["tit
|
|
|
3606
3606
|
_: 1
|
|
3607
3607
|
}));
|
|
3608
3608
|
}
|
|
3609
|
-
}), Kv =
|
|
3609
|
+
}), Kv = Ze("use-widgets");
|
|
3610
3610
|
function Yv() {
|
|
3611
3611
|
const e = Ce(So);
|
|
3612
3612
|
if (!e)
|
|
@@ -4172,7 +4172,7 @@ const jv = { class: "vc-widget-container-desktop" }, Xv = { class: "vc-widget-co
|
|
|
4172
4172
|
bladeId: {}
|
|
4173
4173
|
},
|
|
4174
4174
|
setup(e) {
|
|
4175
|
-
const n = e, { isMobile: t } = De(), l =
|
|
4175
|
+
const n = e, { isMobile: t } = De(), l = Ze("widget-container"), r = y(() => n.bladeId.toLowerCase()), i = Yv(), o = Ce(sl, void 0), c = y(() => o?.value.name?.toLowerCase() ?? ""), d = /* @__PURE__ */ new Set();
|
|
4176
4176
|
function u() {
|
|
4177
4177
|
if (!c.value) return;
|
|
4178
4178
|
i.getAllExternalWidgets().filter(
|
|
@@ -4203,7 +4203,7 @@ const jv = { class: "vc-widget-container-desktop" }, Xv = { class: "vc-widget-co
|
|
|
4203
4203
|
}
|
|
4204
4204
|
}), d.clear();
|
|
4205
4205
|
}
|
|
4206
|
-
|
|
4206
|
+
tt(u), Ot(v);
|
|
4207
4207
|
const b = y(() => i.getWidgets(r.value)), g = y(
|
|
4208
4208
|
() => b.value.filter((m) => ra(m.isVisible, o?.value))
|
|
4209
4209
|
);
|
|
@@ -4270,7 +4270,7 @@ function di() {
|
|
|
4270
4270
|
getCountryCode: o
|
|
4271
4271
|
};
|
|
4272
4272
|
}
|
|
4273
|
-
const vi =
|
|
4273
|
+
const vi = Ze("use-languages");
|
|
4274
4274
|
let An = null;
|
|
4275
4275
|
function fi() {
|
|
4276
4276
|
return An || (An = di()), An;
|
|
@@ -4292,7 +4292,7 @@ function mi() {
|
|
|
4292
4292
|
throw vi.error("Language service not found"), new Fl("LanguageService");
|
|
4293
4293
|
return e;
|
|
4294
4294
|
}
|
|
4295
|
-
const gf =
|
|
4295
|
+
const gf = Ze("use-app-bar-widget");
|
|
4296
4296
|
function L$() {
|
|
4297
4297
|
const e = Ce(Vn, null);
|
|
4298
4298
|
if (e)
|
|
@@ -4428,7 +4428,7 @@ const Of = Sc(Tf), Lf = ["aria-labelledby", "aria-label"], Mf = {
|
|
|
4428
4428
|
m && g.value && t.title && $(g.value, t.title);
|
|
4429
4429
|
});
|
|
4430
4430
|
const E = N(null), S = N(null);
|
|
4431
|
-
return
|
|
4431
|
+
return tt(() => jo(() => E.value)), (k, x) => (s(), p("div", Me({
|
|
4432
4432
|
ref_key: "bladeRef",
|
|
4433
4433
|
ref: E
|
|
4434
4434
|
}, I.value, {
|
|
@@ -4663,7 +4663,7 @@ const Of = Sc(Tf), Lf = ["aria-labelledby", "aria-label"], Mf = {
|
|
|
4663
4663
|
default: T(() => [
|
|
4664
4664
|
a(v) && e.errorMessage ? (s(), p("div", Vf, [
|
|
4665
4665
|
z(_.$slots, "error", {}, () => [
|
|
4666
|
-
e.errorMessage ? (s(), B(a(
|
|
4666
|
+
e.errorMessage ? (s(), B(a(Je), {
|
|
4667
4667
|
key: 0,
|
|
4668
4668
|
id: a(d),
|
|
4669
4669
|
class: "vc-textarea__hint-error",
|
|
@@ -4677,7 +4677,7 @@ const Of = Sc(Tf), Lf = ["aria-labelledby", "aria-label"], Mf = {
|
|
|
4677
4677
|
])
|
|
4678
4678
|
])) : (s(), p("div", Ff, [
|
|
4679
4679
|
z(_.$slots, "hint", {}, () => [
|
|
4680
|
-
e.hint ? (s(), B(a(
|
|
4680
|
+
e.hint ? (s(), B(a(Je), {
|
|
4681
4681
|
key: 0,
|
|
4682
4682
|
id: a(u),
|
|
4683
4683
|
class: "vc-textarea__desc"
|
|
@@ -5096,7 +5096,7 @@ const Of = Sc(Tf), Lf = ["aria-labelledby", "aria-label"], Mf = {
|
|
|
5096
5096
|
default: T(() => [
|
|
5097
5097
|
A.value ? (s(), p("div", nm, [
|
|
5098
5098
|
z(E.$slots, "error", {}, () => [
|
|
5099
|
-
R(a(
|
|
5099
|
+
R(a(Je), {
|
|
5100
5100
|
id: a(c),
|
|
5101
5101
|
class: "vc-file-upload__error",
|
|
5102
5102
|
error: !0
|
|
@@ -5221,7 +5221,7 @@ const om = {
|
|
|
5221
5221
|
function v(b) {
|
|
5222
5222
|
b.target.closest(".vc-editor-font-selector") || u();
|
|
5223
5223
|
}
|
|
5224
|
-
return
|
|
5224
|
+
return tt(() => {
|
|
5225
5225
|
document.addEventListener("click", v);
|
|
5226
5226
|
}), Ot(() => {
|
|
5227
5227
|
document.removeEventListener("click", v);
|
|
@@ -5871,7 +5871,7 @@ const om = {
|
|
|
5871
5871
|
default: T(() => [
|
|
5872
5872
|
e.errorMessage && !o.value ? (s(), p("div", Om, [
|
|
5873
5873
|
z(E.$slots, "error", {}, () => [
|
|
5874
|
-
R(a(
|
|
5874
|
+
R(a(Je), {
|
|
5875
5875
|
class: "vc-editor__error-hint",
|
|
5876
5876
|
error: !0
|
|
5877
5877
|
}, {
|
|
@@ -5943,7 +5943,7 @@ const om = {
|
|
|
5943
5943
|
S.style.height = k, l.onReportHeight?.(l.notificationId, x);
|
|
5944
5944
|
}
|
|
5945
5945
|
}
|
|
5946
|
-
|
|
5946
|
+
tt(() => {
|
|
5947
5947
|
requestAnimationFrame(() => {
|
|
5948
5948
|
requestAnimationFrame(() => {
|
|
5949
5949
|
c.value = !0, f();
|
|
@@ -7011,7 +7011,7 @@ const xp = {
|
|
|
7011
7011
|
default: T(() => [
|
|
7012
7012
|
a(u) && e.errorMessage ? (s(), p("div", Ip, [
|
|
7013
7013
|
z(W.$slots, "error", {}, () => [
|
|
7014
|
-
R(a(
|
|
7014
|
+
R(a(Je), {
|
|
7015
7015
|
id: a(c),
|
|
7016
7016
|
class: "vc-multivalue__error",
|
|
7017
7017
|
error: !0
|
|
@@ -7024,7 +7024,7 @@ const xp = {
|
|
|
7024
7024
|
])
|
|
7025
7025
|
])) : (s(), p("div", Np, [
|
|
7026
7026
|
z(W.$slots, "hint", {}, () => [
|
|
7027
|
-
e.hint ? (s(), B(a(
|
|
7027
|
+
e.hint ? (s(), B(a(Je), {
|
|
7028
7028
|
key: 0,
|
|
7029
7029
|
id: a(d),
|
|
7030
7030
|
class: "vc-multivalue__hint"
|
|
@@ -7116,7 +7116,7 @@ const xp = {
|
|
|
7116
7116
|
default: T(() => [
|
|
7117
7117
|
a(o) && e.errorMessage ? (s(), p("div", Fp, [
|
|
7118
7118
|
z(h.$slots, "error", {}, () => [
|
|
7119
|
-
R(a(
|
|
7119
|
+
R(a(Je), {
|
|
7120
7120
|
id: a(i),
|
|
7121
7121
|
class: "vc-radio-button__error",
|
|
7122
7122
|
error: !0
|
|
@@ -7210,7 +7210,7 @@ const xp = {
|
|
|
7210
7210
|
default: T(() => [
|
|
7211
7211
|
o.value && e.errorMessage ? (s(), p("div", Wp, [
|
|
7212
7212
|
z(u.$slots, "error", {}, () => [
|
|
7213
|
-
R(a(
|
|
7213
|
+
R(a(Je), {
|
|
7214
7214
|
id: i.value,
|
|
7215
7215
|
class: "vc-input-group__error",
|
|
7216
7216
|
error: !0
|
|
@@ -7223,7 +7223,7 @@ const xp = {
|
|
|
7223
7223
|
])
|
|
7224
7224
|
])) : e.hint ? (s(), p("div", Gp, [
|
|
7225
7225
|
z(u.$slots, "hint", {}, () => [
|
|
7226
|
-
R(a(
|
|
7226
|
+
R(a(Je), {
|
|
7227
7227
|
id: r.value,
|
|
7228
7228
|
class: "vc-input-group__hint"
|
|
7229
7229
|
}, {
|
|
@@ -7377,7 +7377,7 @@ const xp = {
|
|
|
7377
7377
|
g.value && (g.value.indeterminate = f);
|
|
7378
7378
|
},
|
|
7379
7379
|
{ immediate: !0 }
|
|
7380
|
-
),
|
|
7380
|
+
), tt(() => {
|
|
7381
7381
|
g.value && t.indeterminate && (g.value.indeterminate = t.indeterminate);
|
|
7382
7382
|
}), (f, w) => a(b) ? (s(), p("div", Kp, [
|
|
7383
7383
|
R(a(we), {
|
|
@@ -7473,7 +7473,7 @@ const xp = {
|
|
|
7473
7473
|
default: T(() => [
|
|
7474
7474
|
a(o) && e.errorMessage ? (s(), p("div", tg, [
|
|
7475
7475
|
z(f.$slots, "error", {}, () => [
|
|
7476
|
-
R(a(
|
|
7476
|
+
R(a(Je), {
|
|
7477
7477
|
id: a(i),
|
|
7478
7478
|
class: "vc-checkbox__error",
|
|
7479
7479
|
error: !0
|
|
@@ -7674,7 +7674,7 @@ const xp = {
|
|
|
7674
7674
|
default: T(() => [
|
|
7675
7675
|
a(c) && e.errorMessage ? (s(), p("div", sg, [
|
|
7676
7676
|
z(f.$slots, "error", {}, () => [
|
|
7677
|
-
R(a(
|
|
7677
|
+
R(a(Je), {
|
|
7678
7678
|
id: a(i),
|
|
7679
7679
|
class: "vc-switch__error",
|
|
7680
7680
|
error: !0
|
|
@@ -7686,7 +7686,7 @@ const xp = {
|
|
|
7686
7686
|
}, 8, ["id"])
|
|
7687
7687
|
])
|
|
7688
7688
|
])) : g.value ? (s(), p("div", rg, [
|
|
7689
|
-
R(a(
|
|
7689
|
+
R(a(Je), {
|
|
7690
7690
|
id: a(o),
|
|
7691
7691
|
class: "vc-switch__hint"
|
|
7692
7692
|
}, {
|
|
@@ -8731,7 +8731,7 @@ const fb = 3, Hn = /* @__PURE__ */ Y({
|
|
|
8731
8731
|
emits: ["item:click"],
|
|
8732
8732
|
setup(e, { emit: n }) {
|
|
8733
8733
|
const t = e, l = n, r = Ce(rl, !1), i = N(null), o = N("");
|
|
8734
|
-
|
|
8734
|
+
tt(() => {
|
|
8735
8735
|
Re(() => i.value?.updateScrollState());
|
|
8736
8736
|
}), ie(
|
|
8737
8737
|
() => t.expanded,
|
|
@@ -9290,7 +9290,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
9290
9290
|
notification: e.notification
|
|
9291
9291
|
}, {
|
|
9292
9292
|
default: T(() => [
|
|
9293
|
-
e.notification.description ? (s(), B(a(
|
|
9293
|
+
e.notification.description ? (s(), B(a(Je), {
|
|
9294
9294
|
key: 0,
|
|
9295
9295
|
class: "tw-mb-1"
|
|
9296
9296
|
}, {
|
|
@@ -9498,7 +9498,7 @@ function _h() {
|
|
|
9498
9498
|
getButtons: i
|
|
9499
9499
|
};
|
|
9500
9500
|
}
|
|
9501
|
-
const kh =
|
|
9501
|
+
const kh = Ze("use-app-bar-mobile-buttons");
|
|
9502
9502
|
function Eh() {
|
|
9503
9503
|
const e = Ce(Fn, null);
|
|
9504
9504
|
if (e)
|
|
@@ -10361,7 +10361,7 @@ const ly = { class: "vc-menu-item__content" }, ny = { class: "vc-menu-item__titl
|
|
|
10361
10361
|
_: 1
|
|
10362
10362
|
}, 8, ["disabled"])
|
|
10363
10363
|
]),
|
|
10364
|
-
(s(!0), p(J, null, ve(g.errors, (I, P) => (s(), B(a(
|
|
10364
|
+
(s(!0), p(J, null, ve(g.errors, (I, P) => (s(), B(a(Je), {
|
|
10365
10365
|
key: P,
|
|
10366
10366
|
class: "tw-mt-3 !tw-text-[color:var(--change-password-error-color)]"
|
|
10367
10367
|
}, {
|
|
@@ -10433,7 +10433,7 @@ function hy(e) {
|
|
|
10433
10433
|
order: 20
|
|
10434
10434
|
}), e.registerSettingsMenuItem({ id: "change-password", component: py, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: gy, group: "account", order: 100 }), Be($o, n.hasUnread);
|
|
10435
10435
|
}
|
|
10436
|
-
const yy =
|
|
10436
|
+
const yy = Ze("useShellNavigation");
|
|
10437
10437
|
function wy() {
|
|
10438
10438
|
const e = zt(), n = Ht(), { openBlade: t } = Zn(), l = e.getRoutes(), r = (o) => {
|
|
10439
10439
|
if (yy.debug("handleMenuItemClick() called"), o.routeId)
|
|
@@ -10451,7 +10451,7 @@ function wy() {
|
|
|
10451
10451
|
};
|
|
10452
10452
|
return { handleMenuItemClick: r, openRoot: i };
|
|
10453
10453
|
}
|
|
10454
|
-
const Cy =
|
|
10454
|
+
const Cy = Ze("use-app-hub");
|
|
10455
10455
|
function _y() {
|
|
10456
10456
|
const { hasAccess: e } = ul(), n = N([]);
|
|
10457
10457
|
async function t() {
|
|
@@ -10508,7 +10508,7 @@ const Ey = { class: "vc-app__main-content" }, W$ = /* @__PURE__ */ Y({
|
|
|
10508
10508
|
const n = e, { isMobile: t, isDesktop: l } = De(), r = !!(Ce(Eo, null) && Ce(wo, null)), i = r ? Ut() : void 0, o = y(
|
|
10509
10509
|
() => i?.blades.value.some((S) => i.isMaximized(S.id)) ?? !1
|
|
10510
10510
|
);
|
|
10511
|
-
|
|
10511
|
+
Ze("vc-app").debug("Init vc-app");
|
|
10512
10512
|
const d = Ht(), u = d.query.EmbeddedMode === "true", v = N(null);
|
|
10513
10513
|
ie(
|
|
10514
10514
|
() => d.fullPath,
|
|
@@ -10970,7 +10970,7 @@ const Sy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, q$
|
|
|
10970
10970
|
});
|
|
10971
10971
|
}
|
|
10972
10972
|
});
|
|
10973
|
-
|
|
10973
|
+
tt(async () => {
|
|
10974
10974
|
await A(), await I(), d.value = o.value;
|
|
10975
10975
|
});
|
|
10976
10976
|
function _(L) {
|
|
@@ -11508,7 +11508,7 @@ const Sy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, q$
|
|
|
11508
11508
|
M.key === "Escape" && (M.preventDefault(), t("close"));
|
|
11509
11509
|
}
|
|
11510
11510
|
const L = wc(document.body);
|
|
11511
|
-
return
|
|
11511
|
+
return tt(() => {
|
|
11512
11512
|
window.addEventListener("keydown", V), L.value = !0;
|
|
11513
11513
|
}), We(() => {
|
|
11514
11514
|
window.removeEventListener("keydown", V), L.value = !1;
|
|
@@ -11700,7 +11700,7 @@ const rw = { class: "vc-image-upload" }, cw = {
|
|
|
11700
11700
|
onPreview: u,
|
|
11701
11701
|
onRemove: b[0] || (b[0] = (g) => l("remove", e.image))
|
|
11702
11702
|
}, null, 8, ["src", "alt", "name", "actions"])) : e.disabled ? (s(), p("div", cw, [
|
|
11703
|
-
R(a(
|
|
11703
|
+
R(a(Je), null, {
|
|
11704
11704
|
default: T(() => [
|
|
11705
11705
|
de(F(a(r)("COMPONENTS.ORGANISMS.VC_GALLERY.GALLERY_IS_EMPTY")), 1)
|
|
11706
11706
|
]),
|
|
@@ -12146,7 +12146,7 @@ const gw = {
|
|
|
12146
12146
|
])) : O("", !0),
|
|
12147
12147
|
!v.value && e.disabled ? (s(), p("div", Sw, [
|
|
12148
12148
|
z(E.$slots, "empty", {}, () => [
|
|
12149
|
-
R(a(
|
|
12149
|
+
R(a(Je), null, {
|
|
12150
12150
|
default: T(() => [
|
|
12151
12151
|
de(F(a(r)("COMPONENTS.ORGANISMS.VC_GALLERY.GALLERY_IS_EMPTY")), 1)
|
|
12152
12152
|
]),
|
|
@@ -13634,7 +13634,7 @@ const V0 = { class: "vc-global-filters-panel__content" }, F0 = { class: "vc-glob
|
|
|
13634
13634
|
},
|
|
13635
13635
|
setup(e) {
|
|
13636
13636
|
const n = e, t = N(null);
|
|
13637
|
-
return
|
|
13637
|
+
return tt(() => {
|
|
13638
13638
|
const l = n.modelValue === void 0 || n.modelValue === null || n.modelValue === "";
|
|
13639
13639
|
(n.validateOnMount || l && n.rules) && t.value?.validate();
|
|
13640
13640
|
}), (l, r) => (s(), B(a(al), {
|
|
@@ -15110,7 +15110,7 @@ const eC = {
|
|
|
15110
15110
|
function ne(re) {
|
|
15111
15111
|
l("action", re, t.item, t.index);
|
|
15112
15112
|
}
|
|
15113
|
-
return
|
|
15113
|
+
return tt(() => {
|
|
15114
15114
|
c.value && (c.value.addEventListener("touchstart", me, { passive: !0 }), c.value.addEventListener("touchmove", j, { passive: !1 }), c.value.addEventListener("touchend", G, { passive: !0 }));
|
|
15115
15115
|
}), We(() => {
|
|
15116
15116
|
c.value && (c.value.removeEventListener("touchstart", me), c.value.removeEventListener("touchmove", j), c.value.removeEventListener("touchend", G)), w.value !== null && cancelAnimationFrame(w.value), u.value && clearTimeout(u.value);
|
|
@@ -16240,7 +16240,7 @@ function Z$(e) {
|
|
|
16240
16240
|
(D, $) => {
|
|
16241
16241
|
$ > 0 && D !== $ && (m = { start: -1, end: -1 });
|
|
16242
16242
|
}
|
|
16243
|
-
),
|
|
16243
|
+
), tt(() => {
|
|
16244
16244
|
L(), window.addEventListener("resize", M);
|
|
16245
16245
|
}), We(() => {
|
|
16246
16246
|
window.removeEventListener("resize", M), g && clearTimeout(g);
|
|
@@ -17153,12 +17153,12 @@ function ZC(e) {
|
|
|
17153
17153
|
(X, ge) => {
|
|
17154
17154
|
const pe = new Set(i.value), Oe = new Set(o.value);
|
|
17155
17155
|
let Ve = !1, ot = !1;
|
|
17156
|
-
for (const
|
|
17157
|
-
(!ge || !ge.has(
|
|
17156
|
+
for (const et of X)
|
|
17157
|
+
(!ge || !ge.has(et)) && !pe.has(et) && !Oe.has(et) && (pe.add(et), Ve = !0);
|
|
17158
17158
|
if (ge) {
|
|
17159
|
-
const
|
|
17159
|
+
const et = new Set(r.value.map((it) => it.props.id));
|
|
17160
17160
|
for (const it of ge)
|
|
17161
|
-
!X.has(it) &&
|
|
17161
|
+
!X.has(it) && et.has(it) && (pe.delete(it) && (Ve = !0), Oe.delete(it) && (ot = !0));
|
|
17162
17162
|
}
|
|
17163
17163
|
Ve && (i.value = pe), ot && (o.value = Oe);
|
|
17164
17164
|
},
|
|
@@ -17199,8 +17199,8 @@ function ZC(e) {
|
|
|
17199
17199
|
if (pe === "dateRange") {
|
|
17200
17200
|
const Ve = xt(X);
|
|
17201
17201
|
if (Ve) {
|
|
17202
|
-
const ot = ge[Ve[0]],
|
|
17203
|
-
se(Ve, { start: ot, end:
|
|
17202
|
+
const ot = ge[Ve[0]], et = ge[Ve[1]];
|
|
17203
|
+
se(Ve, { start: ot, end: et });
|
|
17204
17204
|
}
|
|
17205
17205
|
} else {
|
|
17206
17206
|
const Ve = ge[Oe];
|
|
@@ -17322,8 +17322,8 @@ function ZC(e) {
|
|
|
17322
17322
|
handleRowClick: (X, ge, pe) => {
|
|
17323
17323
|
const Oe = d(X, ge), Ve = n.activeItemId != null && Oe === String(n.activeItemId);
|
|
17324
17324
|
t("update:activeItemId", Ve ? void 0 : Oe), t("row-click", { data: X, index: ge, originalEvent: pe });
|
|
17325
|
-
const ot = pe.target,
|
|
17326
|
-
g.value === "single" && !
|
|
17325
|
+
const ot = pe.target, et = ot.tagName === "INPUT" && ot.getAttribute("type") === "checkbox";
|
|
17326
|
+
g.value === "single" && !et && $t(X, pe);
|
|
17327
17327
|
},
|
|
17328
17328
|
handleAddRow: (X) => {
|
|
17329
17329
|
let ge = !1;
|
|
@@ -17348,12 +17348,12 @@ function ZC(e) {
|
|
|
17348
17348
|
t("row-remove", pe), ge || D.removeRow(X);
|
|
17349
17349
|
},
|
|
17350
17350
|
handleColumnVisibilityChange: (X) => {
|
|
17351
|
-
const ge = new Set(X), pe = U.value.map((Ye) => Ye.id), Oe = U.value.filter((Ye) => Ye.defaultVisible === !1).map((Ye) => Ye.id), Ve = new Set(pe), ot = new Set(Oe),
|
|
17351
|
+
const ge = new Set(X), pe = U.value.map((Ye) => Ye.id), Oe = U.value.filter((Ye) => Ye.defaultVisible === !1).map((Ye) => Ye.id), Ve = new Set(pe), ot = new Set(Oe), et = new Set([...i.value].filter((Ye) => !Ve.has(Ye))), it = new Set([...o.value].filter((Ye) => !ot.has(Ye)));
|
|
17352
17352
|
for (const Ye of pe)
|
|
17353
|
-
ge.has(Ye) ||
|
|
17353
|
+
ge.has(Ye) || et.add(Ye);
|
|
17354
17354
|
for (const Ye of Oe)
|
|
17355
17355
|
ge.has(Ye) && it.add(Ye);
|
|
17356
|
-
i.value =
|
|
17356
|
+
i.value = et, o.value = it;
|
|
17357
17357
|
},
|
|
17358
17358
|
handleTableReset: () => {
|
|
17359
17359
|
K.resetState(), x.value.size > 0 && (i.value = new Set(x.value)), k.resetFromProps(), k.recompute();
|
|
@@ -17726,7 +17726,7 @@ const eR = {
|
|
|
17726
17726
|
handleExpandToggle: Oe,
|
|
17727
17727
|
handleStartRowEdit: Ve,
|
|
17728
17728
|
handleSaveRowEdit: ot,
|
|
17729
|
-
handleCancelRowEdit:
|
|
17729
|
+
handleCancelRowEdit: et,
|
|
17730
17730
|
handleRowAction: it,
|
|
17731
17731
|
handleMobileRowClick: Ye,
|
|
17732
17732
|
handleMobileRowSelect: Fi,
|
|
@@ -18088,7 +18088,7 @@ const eR = {
|
|
|
18088
18088
|
onExpandToggle: be[8] || (be[8] = (_e, Le, Ke) => a(Oe)(_e, Le, Ke)),
|
|
18089
18089
|
onRowEdit: a(Ve),
|
|
18090
18090
|
onRowSave: a(ot),
|
|
18091
|
-
onRowCancel: a(
|
|
18091
|
+
onRowCancel: a(et),
|
|
18092
18092
|
onEditComplete: a(X),
|
|
18093
18093
|
onEditCancel: a(ge),
|
|
18094
18094
|
onCellValueChange: a(pe),
|
|
@@ -18944,9 +18944,7 @@ const R_ = ["aria-label", "onKeydown"], A_ = {
|
|
|
18944
18944
|
), o = N(null);
|
|
18945
18945
|
let c = null;
|
|
18946
18946
|
const d = () => Re(() => o.value?.querySelector("button")?.focus());
|
|
18947
|
-
return
|
|
18948
|
-
t.open && (c = document.activeElement instanceof HTMLElement ? document.activeElement : null, d());
|
|
18949
|
-
}), ie(
|
|
18947
|
+
return ie(
|
|
18950
18948
|
() => t.open,
|
|
18951
18949
|
(u) => {
|
|
18952
18950
|
if (u) {
|
|
@@ -18957,7 +18955,9 @@ const R_ = ["aria-label", "onKeydown"], A_ = {
|
|
|
18957
18955
|
c = null, b && Re(() => {
|
|
18958
18956
|
g?.isConnected && g.focus();
|
|
18959
18957
|
});
|
|
18960
|
-
}
|
|
18958
|
+
},
|
|
18959
|
+
// Mounting with `open` already true is how activating "+N more" renders it.
|
|
18960
|
+
{ immediate: !0 }
|
|
18961
18961
|
), (u, v) => (s(), B(a(ct), {
|
|
18962
18962
|
show: e.open && !!e.date,
|
|
18963
18963
|
"anchor-ref": i.value,
|
|
@@ -19899,7 +19899,7 @@ const Ik = { class: "vc-scheduler__tg" }, Nk = { class: "vc-scheduler__tg-head"
|
|
|
19899
19899
|
};
|
|
19900
19900
|
}
|
|
19901
19901
|
const h = N(null);
|
|
19902
|
-
|
|
19902
|
+
tt(() => {
|
|
19903
19903
|
const $ = h.value;
|
|
19904
19904
|
if (!$) return;
|
|
19905
19905
|
const S = v.timedByColumn.value.flat().reduce((k, x) => k === null ? x.top : Math.min(k, x.top), null) ?? Math.max(0, (8 - o.value) * Nt);
|
|
@@ -19907,7 +19907,7 @@ const Ik = { class: "vc-scheduler__tg" }, Nk = { class: "vc-scheduler__tg-head"
|
|
|
19907
19907
|
});
|
|
19908
19908
|
const f = N(Date.now());
|
|
19909
19909
|
let w;
|
|
19910
|
-
|
|
19910
|
+
tt(() => {
|
|
19911
19911
|
w = setInterval(() => f.value = Date.now(), 6e4);
|
|
19912
19912
|
}), Ot(() => {
|
|
19913
19913
|
w && clearInterval(w);
|