@autoafleveren/ui 1.7.0 → 1.8.0
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/ui.cjs +1 -1
- package/dist/ui.js +85 -86
- package/package.json +1 -1
- package/src/modules/components/AppContextMenu/AppContextMenu.vue +3 -2
- package/src/modules/components/AppContextMenu/__tests__/app-context-menu.spec.ts +7 -8
- package/src/modules/components/AppContextMenu/index.d.ts +5 -2
package/dist/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ke, createElementBlock as $, openBlock as E, normalizeClass as oe, normalizeStyle as on, toRaw as A8, unref as w, createBlock as ce, resolveDynamicComponent as Qe, mergeProps as
|
|
1
|
+
import { defineComponent as ke, createElementBlock as $, openBlock as E, normalizeClass as oe, normalizeStyle as on, toRaw as A8, unref as w, createBlock as ce, resolveDynamicComponent as Qe, mergeProps as ot, withCtx as de, createTextVNode as nt, toDisplayString as Te, resolveComponent as Ni, createCommentVNode as J, createElementVNode as j, Fragment as De, toHandlers as P8, withModifiers as bn, TransitionGroup as M8, renderSlot as ae, renderList as Ze, createVNode as Ee, getCurrentInstance as mo, inject as Rr, nextTick as Nt, createApp as eo, ref as K, shallowRef as jt, onMounted as vt, onUnmounted as wr, isRef as Fn, isReactive as Ev, watch as et, reactive as ms, h as yn, isVNode as I8, useSlots as An, computed as F, createStaticVNode as O8, useTemplateRef as Aa, normalizeProps as yt, guardReactiveProps as sn, Teleport as Bc, mergeModels as ia, useModel as vo, withDirectives as ta, vShow as _a, createSlots as Yt, Transition as oi, toRef as nl, render as jf, useAttrs as u2, toValue as Ku, getCurrentScope as L8, onScopeDispose as R8, onBeforeUpdate as $8, withKeys as Ju, toRefs as Un, onBeforeUnmount as ah, onActivated as D8, onDeactivated as N8, vModelDynamic as z8, mergeDefaults as B8, customRef as F8, useCssVars as ii, provide as rl, pushScopeId as vs, popScopeId as gs, defineAsyncComponent as j8, resolveDirective as H8, onBeforeMount as c2 } from "vue";
|
|
2
2
|
import { onClickOutside as d2, useDropZone as U8, onKeyStroke as Ai, useStorage as W8, useKeyModifier as V8, useParentElement as q8, useDebounceFn as Y8, tryOnMounted as G8, toArray as X8, unrefElement as K8, tryOnScopeDispose as J8, useActiveElement as Q8 } from "@vueuse/core";
|
|
3
3
|
import { useRouter as oh, RouterLink as Z8, useRoute as e5, RouterView as t5 } from "vue-router";
|
|
4
4
|
import { MenuItem as n5, Menu as r5, MenuButton as a5, MenuItems as o5, TransitionRoot as kl, TransitionChild as Sa, Dialog as xl, DialogOverlay as ih, DialogTitle as sh, Disclosure as i5, DisclosureButton as s5, DisclosurePanel as l5, DialogPanel as u5 } from "@headlessui/vue";
|
|
@@ -258,7 +258,7 @@ var E5 = b2, w2 = ke({
|
|
|
258
258
|
}
|
|
259
259
|
}), A5 = /* @__PURE__ */ nt(" × ");
|
|
260
260
|
function P5(e, t) {
|
|
261
|
-
return E(), ce(Qe(e.buttonComponent),
|
|
261
|
+
return E(), ce(Qe(e.buttonComponent), ot({
|
|
262
262
|
"aria-label": e.ariaLabel,
|
|
263
263
|
class: e.classes
|
|
264
264
|
}, e.$attrs), {
|
|
@@ -520,7 +520,7 @@ function Z5(e, t) {
|
|
|
520
520
|
}, [
|
|
521
521
|
typeof e.content == "string" ? (E(), $(De, { key: 0 }, [
|
|
522
522
|
nt(Te(e.content), 1)
|
|
523
|
-
], 2112)) : (E(), ce(Qe(e.getVueComponentFromObj(e.content)),
|
|
523
|
+
], 2112)) : (E(), ce(Qe(e.getVueComponentFromObj(e.content)), ot({
|
|
524
524
|
key: 1,
|
|
525
525
|
"toast-id": e.id
|
|
526
526
|
}, e.hasProp(e.content, "props") ? e.content.props : {}, P8(e.hasProp(e.content, "listeners") ? e.content.listeners : {}), { onCloseToast: e.closeToast }), null, 16, ["toast-id", "onCloseToast"]))
|
|
@@ -648,7 +648,7 @@ function rS(e, t) {
|
|
|
648
648
|
class: oe(e.getClasses(a))
|
|
649
649
|
}, {
|
|
650
650
|
default: de(() => [
|
|
651
|
-
(E(!0), $(De, null, Ze(e.getPositionToasts(a), (o) => (E(), ce(n,
|
|
651
|
+
(E(!0), $(De, null, Ze(e.getPositionToasts(a), (o) => (E(), ce(n, ot({
|
|
652
652
|
key: o.id
|
|
653
653
|
}, o), null, 16))), 128))
|
|
654
654
|
]),
|
|
@@ -7014,7 +7014,7 @@ const Mh = /* @__PURE__ */ dr(_C, [["render", kC]]), xC = {
|
|
|
7014
7014
|
tabindex: "-1"
|
|
7015
7015
|
}, {
|
|
7016
7016
|
default: de(() => [
|
|
7017
|
-
(E(!0), $(De, null, Ze(i.dropdownItems, (l) => (E(), ce(QC,
|
|
7017
|
+
(E(!0), $(De, null, Ze(i.dropdownItems, (l) => (E(), ce(QC, ot({
|
|
7018
7018
|
key: l.label,
|
|
7019
7019
|
ref_for: !0
|
|
7020
7020
|
}, l), {
|
|
@@ -8294,7 +8294,7 @@ const KT = ["disabled", "accept", "name"], JT = {
|
|
|
8294
8294
|
ae(v.$slots, "default", {}, () => [
|
|
8295
8295
|
typeof v.content == "string" ? (E(), $(De, { key: 0 }, [
|
|
8296
8296
|
nt(Te(v.content), 1)
|
|
8297
|
-
], 64)) : (E(), ce(Qe(v.content),
|
|
8297
|
+
], 64)) : (E(), ce(Qe(v.content), ot({
|
|
8298
8298
|
key: 1,
|
|
8299
8299
|
ref_key: "contentRef",
|
|
8300
8300
|
ref: u
|
|
@@ -8417,7 +8417,7 @@ const KT = ["disabled", "accept", "name"], JT = {
|
|
|
8417
8417
|
ae(o.$slots, "default", {}, () => [
|
|
8418
8418
|
nt(Te(o.description), 1)
|
|
8419
8419
|
]),
|
|
8420
|
-
(E(), ce(Qe(o.component),
|
|
8420
|
+
(E(), ce(Qe(o.component), ot(o.componentProperties, { "data-test-component": "" }), null, 16))
|
|
8421
8421
|
], 2)) : J("", !0)
|
|
8422
8422
|
], 2)) : J("", !0);
|
|
8423
8423
|
}
|
|
@@ -10394,7 +10394,7 @@ function ht(e, t) {
|
|
|
10394
10394
|
function Ki(e) {
|
|
10395
10395
|
return tt(e).getSeconds();
|
|
10396
10396
|
}
|
|
10397
|
-
function
|
|
10397
|
+
function it(e, t) {
|
|
10398
10398
|
return tt(e, t?.in).getFullYear();
|
|
10399
10399
|
}
|
|
10400
10400
|
function Qo(e, t) {
|
|
@@ -12303,23 +12303,23 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
12303
12303
|
seconds: Ki(e)
|
|
12304
12304
|
}), B4 = (e, t) => {
|
|
12305
12305
|
if (t) {
|
|
12306
|
-
const n =
|
|
12306
|
+
const n = it(Ce(t));
|
|
12307
12307
|
if (n > e) return 12;
|
|
12308
12308
|
if (n === e) return ht(Ce(t));
|
|
12309
12309
|
}
|
|
12310
12310
|
}, F4 = (e, t) => {
|
|
12311
12311
|
if (t) {
|
|
12312
|
-
const n =
|
|
12312
|
+
const n = it(Ce(t));
|
|
12313
12313
|
return n < e ? -1 : n === e ? ht(Ce(t)) : void 0;
|
|
12314
12314
|
}
|
|
12315
12315
|
}, es = (e) => {
|
|
12316
|
-
if (e) return
|
|
12316
|
+
if (e) return it(Ce(e));
|
|
12317
12317
|
}, j4 = (e, t) => {
|
|
12318
12318
|
const n = an(e, t) ? t : e, r = an(t, e) ? t : e;
|
|
12319
12319
|
return g4({ start: n, end: r });
|
|
12320
12320
|
}, xM = (e) => {
|
|
12321
12321
|
const t = Or(e, 1);
|
|
12322
|
-
return { month: ht(t), year:
|
|
12322
|
+
return { month: ht(t), year: it(t) };
|
|
12323
12323
|
}, ba = (e, t) => {
|
|
12324
12324
|
const n = Dr(e, { weekStartsOn: +t }), r = b4(e, { weekStartsOn: +t });
|
|
12325
12325
|
return [n, r];
|
|
@@ -12335,7 +12335,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
12335
12335
|
return (t || t === 0) && (r = A4(r, t)), n && (r = Qr(r, n)), r;
|
|
12336
12336
|
}, U4 = (e, t, n, r, a) => {
|
|
12337
12337
|
if (!r || a && !t || !a && !n) return !1;
|
|
12338
|
-
const o = a ? Or(e, 1) : Qi(e, 1), i = [ht(o),
|
|
12338
|
+
const o = a ? Or(e, 1) : Qi(e, 1), i = [ht(o), it(o)];
|
|
12339
12339
|
return a ? !TM(...i, t) : !CM(...i, n);
|
|
12340
12340
|
}, CM = (e, t, n) => en(...Xa(n, e, t)) || mt(...Xa(n, e, t)), TM = (e, t, n) => an(...Xa(n, e, t)) || mt(...Xa(n, e, t)), W4 = (e, t, n, r, a, o, i) => {
|
|
12341
12341
|
if (typeof t == "function" && !i) return t(e);
|
|
@@ -12689,7 +12689,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
12689
12689
|
hours: Ia(P),
|
|
12690
12690
|
minutes: ao(P),
|
|
12691
12691
|
seconds: t.enableSeconds ? Ki(P) : 0
|
|
12692
|
-
} : null, b = (P) => t.modelType ? se(P) : { month: ht(P), year:
|
|
12692
|
+
} : null, b = (P) => t.modelType ? se(P) : { month: ht(P), year: it(P) }, g = (P) => Array.isArray(P) ? s.value.enabled ? P.map((re) => T(re, Qr(Ce(), re))) : fu(
|
|
12693
12693
|
() => [
|
|
12694
12694
|
Qr(Ce(), P[0]),
|
|
12695
12695
|
P[1] ? Qr(Ce(), P[1]) : Si(o.value.partialRange)
|
|
@@ -12779,7 +12779,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
12779
12779
|
}, X = (P, re) => Q(wn(me(P)), !1, re), Z = (P) => {
|
|
12780
12780
|
const re = q();
|
|
12781
12781
|
return P ? re : e("update:model-value", q());
|
|
12782
|
-
}, G = (P = !1) => (P || te(), t.monthPicker ? X(b, P) : t.timePicker ? X(v, P) : t.yearPicker ? X(
|
|
12782
|
+
}, G = (P = !1) => (P || te(), t.monthPicker ? X(b, P) : t.timePicker ? X(v, P) : t.yearPicker ? X(it, P) : t.weekPicker ? Z(P) : Q(U(P), !0, P));
|
|
12783
12783
|
return {
|
|
12784
12784
|
inputValue: u,
|
|
12785
12785
|
internalModelValue: r,
|
|
@@ -12794,13 +12794,13 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
12794
12794
|
return n.value.months.includes(ht(f)) ? (f = d ? Or(c, 1) : Qi(c, 1), o(f, d)) : f;
|
|
12795
12795
|
}, i = (c, d) => {
|
|
12796
12796
|
let f = c;
|
|
12797
|
-
return n.value.years.includes(
|
|
12797
|
+
return n.value.years.includes(it(f)) ? (f = d ? Oh(c, 1) : I4(c, 1), i(f, d)) : f;
|
|
12798
12798
|
}, s = (c, d = !1) => {
|
|
12799
12799
|
const f = $t(Ce(), { month: e.month, year: e.year });
|
|
12800
12800
|
let p = c ? Or(f, 1) : Qi(f, 1);
|
|
12801
12801
|
e.disableYearSelect && (p = Qr(p, e.year));
|
|
12802
|
-
let m = ht(p), v =
|
|
12803
|
-
n.value.months.includes(m) && (p = o(p, c), m = ht(p), v =
|
|
12802
|
+
let m = ht(p), v = it(p);
|
|
12803
|
+
n.value.months.includes(m) && (p = o(p, c), m = ht(p), v = it(p)), n.value.years.includes(v) && (p = i(p, c), v = it(p)), a(m, v, c, e.preventMinMaxNavigation) && l(m, v, d);
|
|
12804
12804
|
}, l = (c, d, f) => {
|
|
12805
12805
|
t("update-month-year", { month: c, year: d, fromNav: f });
|
|
12806
12806
|
}, u = F(() => (c) => U4(
|
|
@@ -13002,7 +13002,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13002
13002
|
ref: S,
|
|
13003
13003
|
class: "dp__action_row"
|
|
13004
13004
|
}, [
|
|
13005
|
-
I.$slots["action-row"] ? ae(I.$slots, "action-row", yt(
|
|
13005
|
+
I.$slots["action-row"] ? ae(I.$slots, "action-row", yt(ot({ key: 0 }, {
|
|
13006
13006
|
internalModelValue: I.internalModelValue,
|
|
13007
13007
|
disabled: x.value,
|
|
13008
13008
|
selectDate: () => I.$emit("select-date"),
|
|
@@ -13486,23 +13486,23 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13486
13486
|
else if (D === e.value.count - 1 && m())
|
|
13487
13487
|
a.value[D] = {
|
|
13488
13488
|
month: ht(o.value[1]),
|
|
13489
|
-
year:
|
|
13489
|
+
year: it(o.value[1])
|
|
13490
13490
|
};
|
|
13491
13491
|
else {
|
|
13492
13492
|
const Y = $t(Ce(), a.value[D - 1]);
|
|
13493
|
-
a.value[D] = { month: ht(Y), year:
|
|
13493
|
+
a.value[D] = { month: ht(Y), year: it(Oh(Y, 1)) };
|
|
13494
13494
|
}
|
|
13495
13495
|
}, b = (D) => {
|
|
13496
13496
|
if (!D) return v();
|
|
13497
13497
|
const Y = $t(Ce(), a.value[D]);
|
|
13498
|
-
return a.value[0].year =
|
|
13498
|
+
return a.value[0].year = it(I4(Y, e.value.count - 1)), v();
|
|
13499
13499
|
}, g = (D, Y) => {
|
|
13500
13500
|
const U = VA(Y, D);
|
|
13501
13501
|
return t.value.showLastInRange && U > 1 ? Y : D;
|
|
13502
13502
|
}, T = (D) => i.focusStartDate || e.value.solo ? D[0] : D[1] ? g(D[0], D[1]) : D[0], S = () => {
|
|
13503
13503
|
if (o.value) {
|
|
13504
13504
|
const D = Array.isArray(o.value) ? T(o.value) : o.value;
|
|
13505
|
-
a.value[0] = { month: ht(D), year:
|
|
13505
|
+
a.value[0] = { month: ht(D), year: it(D) };
|
|
13506
13506
|
}
|
|
13507
13507
|
}, y = () => {
|
|
13508
13508
|
S(), e.value.count && v();
|
|
@@ -13554,7 +13554,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13554
13554
|
defaultedFilters: c,
|
|
13555
13555
|
defaultedMultiDates: d
|
|
13556
13556
|
} = Xt(e), f = () => {
|
|
13557
|
-
e.isTextInputDate && y(
|
|
13557
|
+
e.isTextInputDate && y(it(Ce(e.startDate)), 0);
|
|
13558
13558
|
}, { modelValue: p, year: m, month: v, calendars: b } = Rl(e, t, f), g = F(() => L4(e.formatLocale, e.locale, e.monthNameFormat)), T = K(null), { checkMinMaxRange: S } = bo(e), {
|
|
13559
13559
|
selectYear: y,
|
|
13560
13560
|
groupedYears: C,
|
|
@@ -13577,9 +13577,9 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13577
13577
|
emit: t
|
|
13578
13578
|
});
|
|
13579
13579
|
vt(() => {
|
|
13580
|
-
e.startDate && (p.value && e.focusStartDate || !p.value) && y(
|
|
13580
|
+
e.startDate && (p.value && e.focusStartDate || !p.value) && y(it(Ce(e.startDate)), 0);
|
|
13581
13581
|
});
|
|
13582
|
-
const Y = (X) => X ? { month: ht(X), year:
|
|
13582
|
+
const Y = (X) => X ? { month: ht(X), year: it(X) } : { month: null, year: null }, U = () => p.value ? Array.isArray(p.value) ? p.value.map((X) => Y(X)) : Y(p.value) : Y(), B = (X, Z) => {
|
|
13583
13583
|
const G = b.value[X], P = U();
|
|
13584
13584
|
return Array.isArray(P) ? P.some((re) => re.year === G?.year && re.month === Z) : G?.year === P.year && Z === P.month;
|
|
13585
13585
|
}, I = (X, Z, G) => {
|
|
@@ -13715,7 +13715,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13715
13715
|
key: 0,
|
|
13716
13716
|
value: A.internalModelValue
|
|
13717
13717
|
}) : J("", !0),
|
|
13718
|
-
A.$slots["month-year"] ? ae(A.$slots, "month-year", yt(
|
|
13718
|
+
A.$slots["month-year"] ? ae(A.$slots, "month-year", yt(ot({ key: 1 }, {
|
|
13719
13719
|
year: w(u),
|
|
13720
13720
|
months: w(s)(M),
|
|
13721
13721
|
years: w(l)(M),
|
|
@@ -13737,7 +13737,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13737
13737
|
onHoverValue: (D) => w(b)(D, M)
|
|
13738
13738
|
}, Yt({
|
|
13739
13739
|
header: de(() => [
|
|
13740
|
-
Ee(Y4,
|
|
13740
|
+
Ee(Y4, ot(A.$props, {
|
|
13741
13741
|
items: w(l)(M),
|
|
13742
13742
|
instance: M,
|
|
13743
13743
|
"show-year-picker": w(p)[M],
|
|
@@ -13774,12 +13774,12 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13774
13774
|
}
|
|
13775
13775
|
}), sI = (e, t) => {
|
|
13776
13776
|
const n = () => {
|
|
13777
|
-
e.isTextInputDate && (c.value =
|
|
13777
|
+
e.isTextInputDate && (c.value = it(Ce(e.startDate)));
|
|
13778
13778
|
}, { modelValue: r } = Rl(e, t, n), a = K(null), { defaultedHighlight: o, defaultedMultiDates: i, defaultedFilters: s, defaultedRange: l, propDates: u } = Xt(e), c = K();
|
|
13779
13779
|
vt(() => {
|
|
13780
|
-
e.startDate && (r.value && e.focusStartDate || !r.value) && (c.value =
|
|
13780
|
+
e.startDate && (r.value && e.focusStartDate || !r.value) && (c.value = it(Ce(e.startDate)));
|
|
13781
13781
|
});
|
|
13782
|
-
const d = (g) => Array.isArray(r.value) ? r.value.some((T) =>
|
|
13782
|
+
const d = (g) => Array.isArray(r.value) ? r.value.some((T) => it(T) === g) : r.value ? it(r.value) === g : !1, f = (g) => l.value.enabled && Array.isArray(r.value) ? fl(r.value, a.value, b(g)) : !1, p = (g) => u.value.allowedDates instanceof Map ? u.value.allowedDates.size ? u.value.allowedDates.has(`${g}`) : !1 : !0, m = (g) => u.value.disabledDates instanceof Map ? u.value.disabledDates.size ? u.value.disabledDates.has(`${g}`) : !1 : !0, v = F(() => Zi(Wh(e.yearRange, e.locale, e.reverseYears), (g) => {
|
|
13783
13783
|
const T = d(g.value), S = dl(
|
|
13784
13784
|
g.value,
|
|
13785
13785
|
es(u.value.minDate),
|
|
@@ -13797,7 +13797,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13797
13797
|
selectYear: (g) => {
|
|
13798
13798
|
var T;
|
|
13799
13799
|
if (t("update-month-year", { instance: 0, year: g }), i.value.enabled)
|
|
13800
|
-
return r.value ? Array.isArray(r.value) && (((T = r.value) == null ? void 0 : T.map((S) =>
|
|
13800
|
+
return r.value ? Array.isArray(r.value) && (((T = r.value) == null ? void 0 : T.map((S) => it(S))).includes(g) ? r.value = r.value.filter((S) => it(S) !== g) : r.value.push(Qr(Sn(Ce()), g))) : r.value = [Qr(Sn(cl(Ce())), g)], t("auto-apply", !0);
|
|
13801
13801
|
l.value.enabled ? (r.value = Xh(r, b(g), t), Nt().then(() => {
|
|
13802
13802
|
Qc(r.value, t, e.autoApply, e.modelAuto);
|
|
13803
13803
|
})) : (r.value = b(g), t("auto-apply"));
|
|
@@ -13829,7 +13829,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
13829
13829
|
key: 0,
|
|
13830
13830
|
value: d.internalModelValue
|
|
13831
13831
|
}) : J("", !0),
|
|
13832
|
-
d.$slots["month-year"] ? ae(d.$slots, "month-year", yt(
|
|
13832
|
+
d.$slots["month-year"] ? ae(d.$slots, "month-year", yt(ot({ key: 1 }, {
|
|
13833
13833
|
years: w(o),
|
|
13834
13834
|
selectYear: w(l)
|
|
13835
13835
|
}))) : (E(), ce(Ol, {
|
|
@@ -14300,7 +14300,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
14300
14300
|
key: 1,
|
|
14301
14301
|
class: oe(W.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
|
|
14302
14302
|
}, [
|
|
14303
|
-
(E(!0), $(De, null, Ze(R.value, (X, Z) => ta((E(), ce(vI,
|
|
14303
|
+
(E(!0), $(De, null, Ze(R.value, (X, Z) => ta((E(), ce(vI, ot({
|
|
14304
14304
|
key: Z,
|
|
14305
14305
|
ref_for: !0
|
|
14306
14306
|
}, {
|
|
@@ -14328,7 +14328,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
14328
14328
|
Ze(w(Y), (G, P) => ({
|
|
14329
14329
|
name: G,
|
|
14330
14330
|
fn: de((re) => [
|
|
14331
|
-
ae(W.$slots, G,
|
|
14331
|
+
ae(W.$slots, G, ot({ ref_for: !0 }, re))
|
|
14332
14332
|
])
|
|
14333
14333
|
}))
|
|
14334
14334
|
]), 1040, ["validate-time", "onUpdate:hours", "onUpdate:minutes", "onUpdate:seconds"])), [
|
|
@@ -14511,7 +14511,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
14511
14511
|
"is-mobile": p.isMobile
|
|
14512
14512
|
}, {
|
|
14513
14513
|
default: de(() => [
|
|
14514
|
-
Ee(J4,
|
|
14514
|
+
Ee(J4, ot({
|
|
14515
14515
|
ref_key: "tpRef",
|
|
14516
14516
|
ref: s
|
|
14517
14517
|
}, p.$props, {
|
|
@@ -14745,7 +14745,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
14745
14745
|
q.$slots[`${le.type}-overlay`] ? {
|
|
14746
14746
|
name: "overlay",
|
|
14747
14747
|
fn: de(() => [
|
|
14748
|
-
ae(q.$slots, `${le.type}-overlay`,
|
|
14748
|
+
ae(q.$slots, `${le.type}-overlay`, ot({ ref_for: !0 }, U.value(le.type)))
|
|
14749
14749
|
]),
|
|
14750
14750
|
key: "1"
|
|
14751
14751
|
} : void 0,
|
|
@@ -15099,10 +15099,10 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15099
15099
|
if (f.value.count && ee && !e.startDate)
|
|
15100
15100
|
return q(Ce(), ee);
|
|
15101
15101
|
}, me = () => Array.isArray(l.value) && m.value.enabled ? ht(l.value[0]) === ht(l.value[1] ?? l.value[0]) : !1, q = (ee = /* @__PURE__ */ new Date(), ge = !1) => {
|
|
15102
|
-
if ((!f.value.count || !f.value.static || ge) && O(0, ht(ee),
|
|
15102
|
+
if ((!f.value.count || !f.value.static || ge) && O(0, ht(ee), it(ee)), f.value.count && (!l.value || me() || !f.value.solo) && (!f.value.solo || ge))
|
|
15103
15103
|
for (let Oe = 1; Oe < f.value.count; Oe++) {
|
|
15104
15104
|
const Je = $t(Ce(), { month: B.value(Oe - 1), year: I.value(Oe - 1) }), fe = f4(Je, { months: 1 });
|
|
15105
|
-
u.value[Oe] = { month: ht(fe), year:
|
|
15105
|
+
u.value[Oe] = { month: ht(fe), year: it(fe) };
|
|
15106
15106
|
}
|
|
15107
15107
|
}, X = (ee, ge) => {
|
|
15108
15108
|
q(ee), M("hours", Ia(ee)), M("minutes", ao(ee)), M("seconds", Ki(ee)), f.value.count && ge && le();
|
|
@@ -15132,25 +15132,25 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15132
15132
|
P(ge, ee), f.value.count && f.value.solo && le();
|
|
15133
15133
|
}, ye = (ee, ge) => {
|
|
15134
15134
|
const Oe = $t(Ce(), { month: B.value(ge), year: I.value(ge) }), Je = ee < 0 ? Or(Oe, 1) : Qi(Oe, 1);
|
|
15135
|
-
S(ht(Je),
|
|
15135
|
+
S(ht(Je), it(Je), ee < 0, e.preventMinMaxNavigation) && (O(ge, ht(Je), it(Je)), t("update-month-year", { instance: ge, month: ht(Je), year: it(Je) }), f.value.count && !f.value.solo && Ye(ge), n());
|
|
15136
15136
|
}, Ye = (ee) => {
|
|
15137
15137
|
for (let ge = ee - 1; ge >= 0; ge--) {
|
|
15138
15138
|
const Oe = Qi($t(Ce(), { month: B.value(ge + 1), year: I.value(ge + 1) }), 1);
|
|
15139
|
-
O(ge, ht(Oe),
|
|
15139
|
+
O(ge, ht(Oe), it(Oe));
|
|
15140
15140
|
}
|
|
15141
15141
|
for (let ge = ee + 1; ge <= f.value.count - 1; ge++) {
|
|
15142
15142
|
const Oe = Or($t(Ce(), { month: B.value(ge - 1), year: I.value(ge - 1) }), 1);
|
|
15143
|
-
O(ge, ht(Oe),
|
|
15143
|
+
O(ge, ht(Oe), it(Oe));
|
|
15144
15144
|
}
|
|
15145
15145
|
}, le = () => {
|
|
15146
15146
|
if (Array.isArray(l.value) && l.value.length === 2) {
|
|
15147
15147
|
const ee = Ce(
|
|
15148
15148
|
Ce(l.value[1] ? l.value[1] : Or(l.value[0], 1))
|
|
15149
|
-
), [ge, Oe] = [ht(l.value[0]),
|
|
15150
|
-
(ge !== Je || ge === Je && Oe !== fe) && f.value.solo && O(1, ht(ee),
|
|
15151
|
-
} else l.value && !Array.isArray(l.value) && (O(0, ht(l.value),
|
|
15149
|
+
), [ge, Oe] = [ht(l.value[0]), it(l.value[0])], [Je, fe] = [ht(l.value[1]), it(l.value[1])];
|
|
15150
|
+
(ge !== Je || ge === Je && Oe !== fe) && f.value.solo && O(1, ht(ee), it(ee));
|
|
15151
|
+
} else l.value && !Array.isArray(l.value) && (O(0, ht(l.value), it(l.value)), q(Ce()));
|
|
15152
15152
|
}, je = () => {
|
|
15153
|
-
e.startDate && (O(0, ht(Ce(e.startDate)),
|
|
15153
|
+
e.startDate && (O(0, ht(Ce(e.startDate)), it(Ce(e.startDate))), f.value.count && Ye(0));
|
|
15154
15154
|
}, he = (ee, ge) => {
|
|
15155
15155
|
if (e.monthChangeOnScroll) {
|
|
15156
15156
|
const Oe = (/* @__PURE__ */ new Date()).getTime() - o.value.getTime(), Je = Math.abs(ee.deltaY);
|
|
@@ -15227,7 +15227,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15227
15227
|
];
|
|
15228
15228
|
C(Oe) ? (ge && Ie(ee.value), a.value = Oe) : t("invalid-date", ee.value);
|
|
15229
15229
|
}, Ie = (ee) => {
|
|
15230
|
-
const ge = ht(Ce(ee)), Oe =
|
|
15230
|
+
const ge = ht(Ce(ee)), Oe = it(Ce(ee));
|
|
15231
15231
|
if (O(0, ge, Oe), f.value.count > 0)
|
|
15232
15232
|
for (let Je = 1; Je < f.value.count; Je++) {
|
|
15233
15233
|
const fe = xM(
|
|
@@ -15451,7 +15451,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15451
15451
|
"is-mobile": he.isMobile
|
|
15452
15452
|
}, {
|
|
15453
15453
|
default: de(({ instance: z, index: _e }) => [
|
|
15454
|
-
he.disableMonthYearSelect ? J("", !0) : (E(), ce(AI,
|
|
15454
|
+
he.disableMonthYearSelect ? J("", !0) : (E(), ce(AI, ot({
|
|
15455
15455
|
key: 0,
|
|
15456
15456
|
ref: (Se) => {
|
|
15457
15457
|
Se && (I.value[_e] = Se);
|
|
@@ -15475,7 +15475,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15475
15475
|
])
|
|
15476
15476
|
}))
|
|
15477
15477
|
]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
|
|
15478
|
-
Ee($I,
|
|
15478
|
+
Ee($I, ot({
|
|
15479
15479
|
ref: (Se) => {
|
|
15480
15480
|
Se && (N.value[_e] = Se);
|
|
15481
15481
|
},
|
|
@@ -15505,7 +15505,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15505
15505
|
_: 3
|
|
15506
15506
|
}, 8, ["multi-calendars", "collapse", "is-mobile"]),
|
|
15507
15507
|
he.enableTimePicker ? (E(), $("div", NI, [
|
|
15508
|
-
he.$slots["time-picker"] ? ae(he.$slots, "time-picker", yt(
|
|
15508
|
+
he.$slots["time-picker"] ? ae(he.$slots, "time-picker", yt(ot({ key: 0 }, { time: w(u), updateTime: w(x) }))) : (E(), ce(J4, ot({
|
|
15509
15509
|
key: 1,
|
|
15510
15510
|
ref_key: "timePickerRef",
|
|
15511
15511
|
ref: O
|
|
@@ -15565,7 +15565,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15565
15565
|
return !1;
|
|
15566
15566
|
}
|
|
15567
15567
|
return !1;
|
|
15568
|
-
}, M = (N, O) => N.quarter === B0(O) && N.year ===
|
|
15568
|
+
}, M = (N, O) => N.quarter === B0(O) && N.year === it(O), D = (N) => typeof o.value == "function" ? o.value({ quarter: B0(N), year: it(N) }) : !!o.value.quarters.find((O) => M(O, N)), Y = F(() => (N) => {
|
|
15569
15569
|
const O = $t(/* @__PURE__ */ new Date(), { year: d.value(N) });
|
|
15570
15570
|
return qA({
|
|
15571
15571
|
start: cl(O),
|
|
@@ -15665,7 +15665,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15665
15665
|
value: y.internalModelValue
|
|
15666
15666
|
}) : J("", !0),
|
|
15667
15667
|
j("div", null, [
|
|
15668
|
-
Ee(Y4,
|
|
15668
|
+
Ee(Y4, ot(y.$props, {
|
|
15669
15669
|
items: w(u)(x),
|
|
15670
15670
|
instance: x,
|
|
15671
15671
|
"show-year-picker": w(m)[x],
|
|
@@ -15973,7 +15973,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
15973
15973
|
class: "dp__instance_calendar",
|
|
15974
15974
|
role: "document"
|
|
15975
15975
|
}, [
|
|
15976
|
-
(E(), ce(Qe(te.value),
|
|
15976
|
+
(E(), ce(Qe(te.value), ot({
|
|
15977
15977
|
ref_key: "dynCmpRef",
|
|
15978
15978
|
ref: C
|
|
15979
15979
|
}, i.value, {
|
|
@@ -16019,7 +16019,7 @@ const vp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), D4 = (e, t) =
|
|
|
16019
16019
|
}) : J("", !0)
|
|
16020
16020
|
])) : J("", !0)
|
|
16021
16021
|
], 14, qI),
|
|
16022
|
-
!ne.autoApply || w(p).keepActionRow ? (E(), ce(JM,
|
|
16022
|
+
!ne.autoApply || w(p).keepActionRow ? (E(), ce(JM, ot({
|
|
16023
16023
|
key: 3,
|
|
16024
16024
|
"menu-mount": y.value
|
|
16025
16025
|
}, i.value, {
|
|
@@ -16237,7 +16237,7 @@ const QI = ({
|
|
|
16237
16237
|
const t = F(() => (r) => e.value ? r ? e.value.open : e.value.close : ""), n = F(() => (r) => e.value ? r ? e.value.menuAppearTop : e.value.menuAppearBottom : "");
|
|
16238
16238
|
return { transitionName: t, showTransition: !!e.value, menuTransition: n };
|
|
16239
16239
|
}, Rl = (e, t, n) => {
|
|
16240
|
-
const { defaultedRange: r, defaultedTz: a } = Xt(e), o = Ce(Zn(Ce(), a.value.timezone)), i = K([{ month: ht(o), year:
|
|
16240
|
+
const { defaultedRange: r, defaultedTz: a } = Xt(e), o = Ce(Zn(Ce(), a.value.timezone)), i = K([{ month: ht(o), year: it(o) }]), s = (f) => {
|
|
16241
16241
|
const p = {
|
|
16242
16242
|
hours: Ia(o),
|
|
16243
16243
|
minutes: ao(o),
|
|
@@ -16430,8 +16430,8 @@ const QI = ({
|
|
|
16430
16430
|
}
|
|
16431
16431
|
};
|
|
16432
16432
|
}, bo = (e) => {
|
|
16433
|
-
const { defaultedFilters: t, defaultedRange: n, propDates: r, defaultedMultiDates: a } = Xt(e), o = (I) => r.value.disabledDates ? typeof r.value.disabledDates == "function" ? r.value.disabledDates(Ce(I)) : !!lc(I, r.value.disabledDates) : !1, i = (I) => r.value.maxDate ? e.yearPicker ?
|
|
16434
|
-
const N = i(I), O = s(I), H = o(I), te = t.value.months.map((q) => +q).includes(ht(I)), W = e.disabledWeekDays.length ? e.disabledWeekDays.some((q) => +q === sP(I)) : !1, se = p(I), Q =
|
|
16433
|
+
const { defaultedFilters: t, defaultedRange: n, propDates: r, defaultedMultiDates: a } = Xt(e), o = (I) => r.value.disabledDates ? typeof r.value.disabledDates == "function" ? r.value.disabledDates(Ce(I)) : !!lc(I, r.value.disabledDates) : !1, i = (I) => r.value.maxDate ? e.yearPicker ? it(I) > it(r.value.maxDate) : an(I, r.value.maxDate) : !1, s = (I) => r.value.minDate ? e.yearPicker ? it(I) < it(r.value.minDate) : en(I, r.value.minDate) : !1, l = (I) => {
|
|
16434
|
+
const N = i(I), O = s(I), H = o(I), te = t.value.months.map((q) => +q).includes(ht(I)), W = e.disabledWeekDays.length ? e.disabledWeekDays.some((q) => +q === sP(I)) : !1, se = p(I), Q = it(I), me = Q < +e.yearRange[0] || Q > +e.yearRange[1];
|
|
16435
16435
|
return !(N || O || H || te || me || W || se);
|
|
16436
16436
|
}, u = (I, N) => en(...Xa(r.value.minDate, I, N)) || mt(...Xa(r.value.minDate, I, N)), c = (I, N) => an(...Xa(r.value.maxDate, I, N)) || mt(...Xa(r.value.maxDate, I, N)), d = (I, N, O) => {
|
|
16437
16437
|
let H = !1;
|
|
@@ -16441,7 +16441,7 @@ const QI = ({
|
|
|
16441
16441
|
return H && (r.value.minDate || r.value.maxDate) ? r.value.minDate && r.value.maxDate ? te = d(I, N, O) : (r.value.minDate && u(I, N) || r.value.maxDate && c(I, N)) && (te = !0) : te = !0, te;
|
|
16442
16442
|
}, p = (I) => Array.isArray(r.value.allowedDates) && !r.value.allowedDates.length ? !0 : r.value.allowedDates ? !lc(I, r.value.allowedDates, N4(e.monthPicker, e.yearPicker)) : !1, m = (I) => !l(I), v = (I) => n.value.noDisabledRange ? !g4({ start: I[0], end: I[1] }).some((N) => m(N)) : !0, b = (I) => {
|
|
16443
16443
|
if (I) {
|
|
16444
|
-
const N =
|
|
16444
|
+
const N = it(I);
|
|
16445
16445
|
return N >= +e.yearRange[0] && N <= e.yearRange[1];
|
|
16446
16446
|
}
|
|
16447
16447
|
return !0;
|
|
@@ -16959,7 +16959,7 @@ const QI = ({
|
|
|
16959
16959
|
"data-datepicker-instance": "",
|
|
16960
16960
|
"data-dp-mobile": w(N)
|
|
16961
16961
|
}, [
|
|
16962
|
-
Ee(sO,
|
|
16962
|
+
Ee(sO, ot({
|
|
16963
16963
|
ref_key: "inputRef",
|
|
16964
16964
|
ref: d,
|
|
16965
16965
|
"input-value": w(Z),
|
|
@@ -16992,7 +16992,7 @@ const QI = ({
|
|
|
16992
16992
|
css: w(I) && !w(M).enabled
|
|
16993
16993
|
}, {
|
|
16994
16994
|
default: de(() => [
|
|
16995
|
-
i.value ? (E(), $("div",
|
|
16995
|
+
i.value ? (E(), $("div", ot({
|
|
16996
16996
|
key: 0,
|
|
16997
16997
|
ref_key: "dpWrapMenuRef",
|
|
16998
16998
|
ref: u
|
|
@@ -17000,7 +17000,7 @@ const QI = ({
|
|
|
17000
17000
|
class: { "dp--menu-wrapper": !w(M).enabled },
|
|
17001
17001
|
style: w(M).enabled ? void 0 : w(se)
|
|
17002
17002
|
}), [
|
|
17003
|
-
Ee(t1,
|
|
17003
|
+
Ee(t1, ot({
|
|
17004
17004
|
ref_key: "dpMenuRef",
|
|
17005
17005
|
ref: c
|
|
17006
17006
|
}, fe.$props, {
|
|
@@ -17343,7 +17343,7 @@ const MO = { class: "relative w-full" }, IO = ["value", "placeholder"], OO = {
|
|
|
17343
17343
|
});
|
|
17344
17344
|
});
|
|
17345
17345
|
}), (s, l) => (E(), $("div", MO, [
|
|
17346
|
-
j("input",
|
|
17346
|
+
j("input", ot({
|
|
17347
17347
|
ref_key: "input",
|
|
17348
17348
|
ref: a,
|
|
17349
17349
|
value: o.value,
|
|
@@ -17396,7 +17396,7 @@ const MO = { class: "relative w-full" }, IO = ["value", "placeholder"], OO = {
|
|
|
17396
17396
|
}
|
|
17397
17397
|
return (i, s) => (E(), $("div", null, [
|
|
17398
17398
|
j("label", null, [
|
|
17399
|
-
j("input",
|
|
17399
|
+
j("input", ot({ ...i.$attrs }, {
|
|
17400
17400
|
multiple: i.multiple,
|
|
17401
17401
|
type: "file",
|
|
17402
17402
|
class: "hidden",
|
|
@@ -17635,7 +17635,7 @@ const HO = ["type", "tabindex"], UO = ["value", "tabindex"], WO = /* @__PURE__ *
|
|
|
17635
17635
|
]),
|
|
17636
17636
|
_: 3
|
|
17637
17637
|
}, 8, ["loading", "class"])) : J("", !0),
|
|
17638
|
-
Ee(VO,
|
|
17638
|
+
Ee(VO, ot({
|
|
17639
17639
|
modelValue: u.value,
|
|
17640
17640
|
"onUpdate:modelValue": D[0] || (D[0] = (Y) => u.value = Y)
|
|
17641
17641
|
}, { ...T.value, ...v.value, ...b.value, ...M.$attrs }, {
|
|
@@ -17655,7 +17655,7 @@ const HO = ["type", "tabindex"], UO = ["value", "tabindex"], WO = /* @__PURE__ *
|
|
|
17655
17655
|
]),
|
|
17656
17656
|
_: 3
|
|
17657
17657
|
}, 16, ["modelValue", "custom", "tabindex", "class", "data-error", "native"]),
|
|
17658
|
-
M.custom ? ae(M.$slots, "input", yt(
|
|
17658
|
+
M.custom ? ae(M.$slots, "input", yt(ot({ key: 1 }, { check: C, checked: w(l).value === u.value }))) : J("", !0),
|
|
17659
17659
|
!M.custom && M.type === "checkbox" ? (E(), ce(w(Yn), {
|
|
17660
17660
|
key: 2,
|
|
17661
17661
|
icon: w(Gn).far?.check,
|
|
@@ -19836,7 +19836,7 @@ function RR(e, t, n, r, a, o) {
|
|
|
19836
19836
|
onKeyup: t[14] || (t[14] = (...i) => e.handleKeyup && e.handleKeyup(...i)),
|
|
19837
19837
|
onKeydown: t[15] || (t[15] = (...i) => e.handleKeydown && e.handleKeydown(...i))
|
|
19838
19838
|
}, [
|
|
19839
|
-
j("div",
|
|
19839
|
+
j("div", ot({
|
|
19840
19840
|
class: e.classList.wrapper,
|
|
19841
19841
|
onMousedown: t[9] || (t[9] = (...i) => e.handleMousedown && e.handleMousedown(...i)),
|
|
19842
19842
|
ref: "wrapper",
|
|
@@ -19849,7 +19849,7 @@ function RR(e, t, n, r, a, o) {
|
|
|
19849
19849
|
role: n.searchable ? void 0 : "combobox"
|
|
19850
19850
|
}, n.searchable ? {} : e.arias), [
|
|
19851
19851
|
J(" Search "),
|
|
19852
|
-
n.mode !== "tags" && n.searchable && !n.disabled ? (E(), $("input",
|
|
19852
|
+
n.mode !== "tags" && n.searchable && !n.disabled ? (E(), $("input", ot({
|
|
19853
19853
|
key: 0,
|
|
19854
19854
|
type: n.inputType,
|
|
19855
19855
|
modelValue: e.search,
|
|
@@ -19945,7 +19945,7 @@ function RR(e, t, n, r, a, o) {
|
|
|
19945
19945
|
/* TEXT, CLASS */
|
|
19946
19946
|
),
|
|
19947
19947
|
J(" Actual search input "),
|
|
19948
|
-
n.searchable && !n.disabled ? (E(), $("input",
|
|
19948
|
+
n.searchable && !n.disabled ? (E(), $("input", ot({
|
|
19949
19949
|
key: 0,
|
|
19950
19950
|
type: n.inputType,
|
|
19951
19951
|
modelValue: e.search,
|
|
@@ -20421,7 +20421,7 @@ const NR = ["onClick"], zR = {
|
|
|
20421
20421
|
]),
|
|
20422
20422
|
_: 3
|
|
20423
20423
|
}, 8, ["has-error", "class"])) : J("", !0),
|
|
20424
|
-
Ee(w(rm),
|
|
20424
|
+
Ee(w(rm), ot({
|
|
20425
20425
|
native: !1,
|
|
20426
20426
|
classes: i.value,
|
|
20427
20427
|
searchable: t.searchable
|
|
@@ -22050,7 +22050,7 @@ const yD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), bD = ["id"], wD = [
|
|
|
22050
22050
|
key: 1,
|
|
22051
22051
|
class: oe(["header", `direction-${w(b)}`])
|
|
22052
22052
|
}, [
|
|
22053
|
-
w(X)[`header-${Ve.value}`] ? ae(He.$slots, `header-${Ve.value}`, yt(
|
|
22053
|
+
w(X)[`header-${Ve.value}`] ? ae(He.$slots, `header-${Ve.value}`, yt(ot({ key: 0 }, Ve)), void 0, !0) : w(X)[`header-${Ve.value.toLowerCase()}`] ? ae(He.$slots, `header-${Ve.value.toLowerCase()}`, yt(ot({ key: 1 }, Ve)), void 0, !0) : w(X).header ? ae(He.$slots, "header", yt(ot({ key: 2 }, Ve)), void 0, !0) : (E(), $("span", _D, Te(Ve.text), 1)),
|
|
22054
22054
|
Ve.sortable ? (E(), $("i", {
|
|
22055
22055
|
key: Ve.sortType ? Ve.sortType : "none",
|
|
22056
22056
|
class: oe(["sortType-icon", { desc: Ve.sortType === "desc" }])
|
|
@@ -22060,7 +22060,7 @@ const yD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), bD = ["id"], wD = [
|
|
|
22060
22060
|
], 14, wD))), 128))
|
|
22061
22061
|
])
|
|
22062
22062
|
], 2)) : J("", !0),
|
|
22063
|
-
w(re) ? ae(He.$slots, "body", yt(
|
|
22063
|
+
w(re) ? ae(He.$slots, "body", yt(ot({ key: 2 }, w(Ae))), void 0, !0) : w(Ue).length ? (E(), $("tbody", {
|
|
22064
22064
|
key: 3,
|
|
22065
22065
|
class: oe(["vue3-easy-data-table__body", { "row-alternation": He.alternating }])
|
|
22066
22066
|
}, [
|
|
@@ -22101,14 +22101,14 @@ const yD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), bD = ["id"], wD = [
|
|
|
22101
22101
|
}, typeof He.bodyItemClassName == "string" ? He.bodyItemClassName : He.bodyItemClassName(zt, nn + 1), `direction-${w(i)}`]),
|
|
22102
22102
|
onClick: (Vn) => zt === "expand" ? w(Dt)(nn + w(ze), Ve, Vn) : null
|
|
22103
22103
|
}, [
|
|
22104
|
-
w(X)[`item-${zt}`] ? ae(He.$slots, `item-${zt}`, yt(
|
|
22104
|
+
w(X)[`item-${zt}`] ? ae(He.$slots, `item-${zt}`, yt(ot({ key: 0 }, Ve)), void 0, !0) : w(X)[`item-${zt.toLowerCase()}`] ? ae(He.$slots, `item-${zt.toLowerCase()}`, yt(ot({ key: 1 }, Ve)), void 0, !0) : zt === "expand" ? (E(), $("i", {
|
|
22105
22105
|
key: 2,
|
|
22106
22106
|
class: oe(["expand-icon", { expanding: w(Et).includes(w(ze) + nn) }])
|
|
22107
22107
|
}, null, 2)) : zt === "checkbox" ? (E(), ce(O$, {
|
|
22108
22108
|
key: 3,
|
|
22109
22109
|
checked: Ve[zt],
|
|
22110
22110
|
onChange: (Vn) => w(er)(Ve)
|
|
22111
|
-
}, null, 8, ["checked", "onChange"])) : w(X).item ? ae(He.$slots, "item", yt(
|
|
22111
|
+
}, null, 8, ["checked", "onChange"])) : w(X).item ? ae(He.$slots, "item", yt(ot({ key: 4 }, { column: zt, item: Ve })), void 0, !0) : (E(), $(De, { key: 5 }, [
|
|
22112
22112
|
nt(Te(w(mD)(zt, Ve)), 1)
|
|
22113
22113
|
], 64))
|
|
22114
22114
|
], 14, xD))), 128))
|
|
@@ -22169,7 +22169,7 @@ const yD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), bD = ["id"], wD = [
|
|
|
22169
22169
|
}, null, 8, ["modelValue", "rows-items"])
|
|
22170
22170
|
])),
|
|
22171
22171
|
j("div", OD, Te(`${w(Oe)}–${w(Je)}`) + " " + Te(w(W)) + " " + Te(w(Mt)), 1),
|
|
22172
|
-
w(Z) ? ae(He.$slots, "pagination", yt(
|
|
22172
|
+
w(Z) ? ae(He.$slots, "pagination", yt(ot({ key: 1 }, {
|
|
22173
22173
|
isFirstPage: w($e),
|
|
22174
22174
|
isLastPage: w(ue),
|
|
22175
22175
|
currentPaginationNumber: w(dn),
|
|
@@ -22343,7 +22343,7 @@ const RD = { class: "relative z-50 w-full rounded-2xl bg-white px-4 py-3 shadow-
|
|
|
22343
22343
|
}, (C, x) => (E(), $("div", {
|
|
22344
22344
|
class: oe([{ "app-table-without-selection": r?.modelValue === void 0 }, "app-data-table-wrapper"])
|
|
22345
22345
|
}, [
|
|
22346
|
-
Ee(w(fb),
|
|
22346
|
+
Ee(w(fb), ot({
|
|
22347
22347
|
ref_key: "dataTable",
|
|
22348
22348
|
ref: c
|
|
22349
22349
|
}, { ...C.$props, ...C.$attrs }, {
|
|
@@ -23568,7 +23568,7 @@ const xb = /* @__PURE__ */ ke({
|
|
|
23568
23568
|
j("div", {
|
|
23569
23569
|
class: oe([w(VN)[n.context ? "contextMenu" : "actionBar"], "relative w-fit before:absolute before:-translate-x-3"])
|
|
23570
23570
|
}, [
|
|
23571
|
-
Ee(w(l),
|
|
23571
|
+
Ee(w(l), ot({ ...n, ...d.action.componentProperties }, {
|
|
23572
23572
|
"data-test-action-menu": "",
|
|
23573
23573
|
onClose: f[0] || (f[0] = () => r("close"))
|
|
23574
23574
|
}), null, 16)
|
|
@@ -23635,7 +23635,7 @@ const xb = /* @__PURE__ */ ke({
|
|
|
23635
23635
|
], 2)), [
|
|
23636
23636
|
[x, y.context ? void 0 : y.action.name]
|
|
23637
23637
|
]),
|
|
23638
|
-
n.action.component && d.value ? (E(), ce(qN,
|
|
23638
|
+
n.action.component && d.value ? (E(), ce(qN, ot({
|
|
23639
23639
|
key: 0,
|
|
23640
23640
|
ref_key: "submenuElement",
|
|
23641
23641
|
ref: i,
|
|
@@ -23975,7 +23975,7 @@ const xb = /* @__PURE__ */ ke({
|
|
|
23975
23975
|
j("div", {
|
|
23976
23976
|
class: oe([{ hidden: o.responsive }, "mt-0! md:block md:space-y-2"])
|
|
23977
23977
|
}, [
|
|
23978
|
-
(E(!0), $(De, null, Ze(o.items, (s) => (E(), ce(oz,
|
|
23978
|
+
(E(!0), $(De, null, Ze(o.items, (s) => (E(), ce(oz, ot({ ref_for: !0 }, s, {
|
|
23979
23979
|
key: s.name
|
|
23980
23980
|
}), null, 16))), 128))
|
|
23981
23981
|
], 2)
|
|
@@ -24045,8 +24045,7 @@ const xb = /* @__PURE__ */ ke({
|
|
|
24045
24045
|
event: {},
|
|
24046
24046
|
actions: {},
|
|
24047
24047
|
confirmed: {},
|
|
24048
|
-
|
|
24049
|
-
searchPlaceholder: {},
|
|
24048
|
+
search: {},
|
|
24050
24049
|
noResultsText: {},
|
|
24051
24050
|
maxList: {}
|
|
24052
24051
|
},
|
|
@@ -24081,15 +24080,15 @@ const xb = /* @__PURE__ */ ke({
|
|
|
24081
24080
|
class: "app-context-menu fixed z-100 flex w-64 flex-col rounded-lg bg-secondary p-2 drop-shadow-card empty:hidden",
|
|
24082
24081
|
"data-test-context-menu": ""
|
|
24083
24082
|
}, [
|
|
24084
|
-
M.
|
|
24085
|
-
Ee(tb, {
|
|
24083
|
+
M.search?.enabled && g.value.length > 0 ? (E(), $("div", vz, [
|
|
24084
|
+
Ee(tb, ot(M.search, {
|
|
24086
24085
|
"model-value": l.value,
|
|
24087
|
-
placeholder: M.
|
|
24086
|
+
placeholder: M.search?.placeholder ?? "",
|
|
24088
24087
|
class: "mb-2 text-zinc-700",
|
|
24089
24088
|
type: "text",
|
|
24090
24089
|
"data-test-driver-search": "",
|
|
24091
24090
|
"onUpdate:modelValue": w(b)
|
|
24092
|
-
}, null,
|
|
24091
|
+
}), null, 16, ["model-value", "placeholder", "onUpdate:modelValue"])
|
|
24093
24092
|
])) : J("", !0),
|
|
24094
24093
|
w(c).shortcuts.value.length > 0 ? (E(), $("div", {
|
|
24095
24094
|
key: 1,
|
|
@@ -24748,7 +24747,7 @@ const zz = { class: "mr-6 w-full select-none" }, XZ = /* @__PURE__ */ ke({
|
|
|
24748
24747
|
ae(d.$slots, "default", {}, () => [
|
|
24749
24748
|
typeof s.value.content == "string" ? (E(), $(De, { key: 0 }, [
|
|
24750
24749
|
nt(Te(s.value.content), 1)
|
|
24751
|
-
], 64)) : (E(), ce(Qe(s.value.content), yt(
|
|
24750
|
+
], 64)) : (E(), ce(Qe(s.value.content), yt(ot({ key: 1 }, s.value.properties)), null, 16))
|
|
24752
24751
|
])
|
|
24753
24752
|
], 2)
|
|
24754
24753
|
], 2)
|
|
@@ -44576,7 +44575,7 @@ const nee = {
|
|
|
44576
44575
|
o.value = !1, u && r("close");
|
|
44577
44576
|
}
|
|
44578
44577
|
return (u, c) => (E(), $("div", null, [
|
|
44579
|
-
Ee(w(am),
|
|
44578
|
+
Ee(w(am), ot({
|
|
44580
44579
|
modelValue: a.value,
|
|
44581
44580
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => a.value = d)
|
|
44582
44581
|
}, s.value, {
|