@selfeesas/shared-components 1.4.8 → 1.4.9
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as J, markRaw as Na, defineComponent as Lt, reactive as en, h as ie, withDirectives as on, getCurrentInstance as pt, useAttrs as ss, createBlock as nt, openBlock as Ce, mergeProps as er, withCtx as Pe, createElementBlock as lt, Fragment as
|
|
1
|
+
import { computed as J, markRaw as Na, defineComponent as Lt, reactive as en, h as ie, withDirectives as on, getCurrentInstance as pt, useAttrs as ss, createBlock as nt, openBlock as Ce, mergeProps as er, withCtx as Pe, createElementBlock as lt, Fragment as Ut, renderList as Gt, createVNode as Ue, unref as wt, ref as xe, onBeforeUnmount as jt, Transition as hr, inject as yr, createCommentVNode as gt, toRaw as Qr, onMounted as Vt, nextTick as Rt, watch as ze, onDeactivated as Vr, onActivated as An, onUnmounted as qa, Teleport as za, onBeforeUpdate as Va, onBeforeMount as as, onUpdated as tl, normalizeStyle as ir, normalizeClass as Wt, resolveComponent as rl, renderSlot as Kt, createElementVNode as Qe, toDisplayString as _t, createTextVNode as lr, provide as os, withModifiers as jr, mergeDefaults as nl, isRef as il, useSlots as sl } from "vue";
|
|
2
2
|
const zi = {
|
|
3
3
|
xs: 18,
|
|
4
4
|
sm: 24,
|
|
@@ -86,7 +86,7 @@ const qs = "0 0 24 24", xi = (l) => l, Si = (l) => `ionicons ${l}`, Wa = {
|
|
|
86
86
|
sym_o_: "-outlined",
|
|
87
87
|
sym_r_: "-rounded",
|
|
88
88
|
sym_s_: "-sharp"
|
|
89
|
-
}, ul = new RegExp("^(" + Object.keys(Wa).join("|") + ")"), cl = new RegExp("^(" + Object.keys(Ha).join("|") + ")"), zs = new RegExp("^(" + Object.keys(Ya).join("|") + ")"), fl = /^[Mm]\s?[-+]?\.?\d/, dl = /^img:/, hl = /^svguse:/, pl = /^ion-/, ml = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,
|
|
89
|
+
}, ul = new RegExp("^(" + Object.keys(Wa).join("|") + ")"), cl = new RegExp("^(" + Object.keys(Ha).join("|") + ")"), zs = new RegExp("^(" + Object.keys(Ya).join("|") + ")"), fl = /^[Mm]\s?[-+]?\.?\d/, dl = /^img:/, hl = /^svguse:/, pl = /^ion-/, ml = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, It = ot({
|
|
90
90
|
name: "QIcon",
|
|
91
91
|
props: {
|
|
92
92
|
...fn,
|
|
@@ -372,7 +372,7 @@ const wl = ot({
|
|
|
372
372
|
return () => {
|
|
373
373
|
const n = [];
|
|
374
374
|
return l.icon !== void 0 && n.push(
|
|
375
|
-
ie(
|
|
375
|
+
ie(It, {
|
|
376
376
|
class: o.value,
|
|
377
377
|
name: l.icon
|
|
378
378
|
})
|
|
@@ -511,14 +511,14 @@ const Sl = ["", !0], _l = ot({
|
|
|
511
511
|
class: "text-brown"
|
|
512
512
|
}, b.value), {
|
|
513
513
|
separator: Pe(() => [
|
|
514
|
-
Ue(
|
|
514
|
+
Ue(It, {
|
|
515
515
|
size: o.value,
|
|
516
516
|
name: i.value,
|
|
517
517
|
color: n.value
|
|
518
518
|
}, null, 8, ["size", "name", "color"])
|
|
519
519
|
]),
|
|
520
520
|
default: Pe(() => [
|
|
521
|
-
(Ce(!0), lt(
|
|
521
|
+
(Ce(!0), lt(Ut, null, Gt(r.value, (d, h) => (Ce(), nt(wl, er({
|
|
522
522
|
key: h,
|
|
523
523
|
to: d.route
|
|
524
524
|
}, { ref_for: !0 }, m(d), {
|
|
@@ -983,7 +983,7 @@ const St = ot({
|
|
|
983
983
|
}), () => {
|
|
984
984
|
let E = [];
|
|
985
985
|
l.icon !== void 0 && E.push(
|
|
986
|
-
ie(
|
|
986
|
+
ie(It, {
|
|
987
987
|
name: l.icon,
|
|
988
988
|
left: l.stack !== !0 && g.value === !0,
|
|
989
989
|
role: "img"
|
|
@@ -991,7 +991,7 @@ const St = ot({
|
|
|
991
991
|
), g.value === !0 && E.push(
|
|
992
992
|
ie("span", { class: "block" }, [l.label])
|
|
993
993
|
), E = $t(I.default, E), l.iconRight !== void 0 && l.round === !1 && E.push(
|
|
994
|
-
ie(
|
|
994
|
+
ie(It, {
|
|
995
995
|
name: l.iconRight,
|
|
996
996
|
right: l.stack !== !0 && g.value === !0,
|
|
997
997
|
role: "img"
|
|
@@ -1299,7 +1299,7 @@ const Ul = () => ie("div", {
|
|
|
1299
1299
|
key: "icon",
|
|
1300
1300
|
class: "q-checkbox__icon-container absolute-full flex flex-center no-wrap"
|
|
1301
1301
|
}, [
|
|
1302
|
-
ie(
|
|
1302
|
+
ie(It, {
|
|
1303
1303
|
class: "q-checkbox__icon",
|
|
1304
1304
|
name: c.value
|
|
1305
1305
|
})
|
|
@@ -1459,7 +1459,7 @@ const Ks = navigator.userAgent || navigator.vendor || window.opera, Kl = {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
function Xl() {
|
|
1461
1461
|
const l = xe(!Ir.value);
|
|
1462
|
-
return l.value === !1 &&
|
|
1462
|
+
return l.value === !1 && Vt(() => {
|
|
1463
1463
|
l.value = !0;
|
|
1464
1464
|
}), { isHydrated: l };
|
|
1465
1465
|
}
|
|
@@ -1490,11 +1490,11 @@ const ao = typeof ResizeObserver < "u", Xs = ao === !0 ? {} : {
|
|
|
1490
1490
|
if (o.trigger = c, ao === !0) {
|
|
1491
1491
|
let n;
|
|
1492
1492
|
const e = (r) => {
|
|
1493
|
-
b = o.$el.parentNode, b ? (n = new ResizeObserver(c), n.observe(b), i()) : r !== !0 &&
|
|
1493
|
+
b = o.$el.parentNode, b ? (n = new ResizeObserver(c), n.observe(b), i()) : r !== !0 && Rt(() => {
|
|
1494
1494
|
e(!0);
|
|
1495
1495
|
});
|
|
1496
1496
|
};
|
|
1497
|
-
return
|
|
1497
|
+
return Vt(() => {
|
|
1498
1498
|
e();
|
|
1499
1499
|
}), jt(() => {
|
|
1500
1500
|
t !== null && clearTimeout(t), n !== void 0 && (n.disconnect !== void 0 ? n.disconnect() : b && n.unobserve(b));
|
|
@@ -1507,8 +1507,8 @@ const ao = typeof ResizeObserver < "u", Xs = ao === !0 ? {} : {
|
|
|
1507
1507
|
};
|
|
1508
1508
|
const { isHydrated: r } = Xl();
|
|
1509
1509
|
let u;
|
|
1510
|
-
return
|
|
1511
|
-
|
|
1510
|
+
return Vt(() => {
|
|
1511
|
+
Rt(() => {
|
|
1512
1512
|
b = o.$el, b && e();
|
|
1513
1513
|
});
|
|
1514
1514
|
}), jt(n), () => {
|
|
@@ -1677,7 +1677,7 @@ const { passive: Js } = qt, Zl = ["both", "horizontal", "vertical"], uo = ot({
|
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
const { proxy: r } = pt();
|
|
1680
|
-
return ze(() => r.$q.lang.rtl, i),
|
|
1680
|
+
return ze(() => r.$q.lang.rtl, i), Vt(() => {
|
|
1681
1681
|
c = r.$el.parentNode, o();
|
|
1682
1682
|
}), jt(() => {
|
|
1683
1683
|
b?.(), n();
|
|
@@ -1890,7 +1890,7 @@ function ta(l, I, t) {
|
|
|
1890
1890
|
let m = I + (l - I) % b;
|
|
1891
1891
|
return m < I && (m = b + m), m === 0 ? 0 : m;
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function Bt(l, I = 2, t = "0") {
|
|
1894
1894
|
if (l == null)
|
|
1895
1895
|
return l;
|
|
1896
1896
|
const b = "" + l;
|
|
@@ -2234,7 +2234,7 @@ function ws({
|
|
|
2234
2234
|
Rr(s, 13) === !0 && e.toggle(s);
|
|
2235
2235
|
},
|
|
2236
2236
|
contextClick(s) {
|
|
2237
|
-
m.hide(s), Zt(s),
|
|
2237
|
+
m.hide(s), Zt(s), Rt(() => {
|
|
2238
2238
|
m.show(s), s.qAnchorHandled = !0;
|
|
2239
2239
|
});
|
|
2240
2240
|
},
|
|
@@ -2298,7 +2298,7 @@ function ws({
|
|
|
2298
2298
|
i.value !== null && r(), a();
|
|
2299
2299
|
}), ze(() => b.noParentEvent, (s) => {
|
|
2300
2300
|
i.value !== null && (s === !0 ? r() : t());
|
|
2301
|
-
}),
|
|
2301
|
+
}), Vt(() => {
|
|
2302
2302
|
a(), I !== !0 && b.modelValue === !0 && i.value === null && c("update:modelValue", !1);
|
|
2303
2303
|
}), jt(() => {
|
|
2304
2304
|
o !== null && clearTimeout(o), r();
|
|
@@ -2360,7 +2360,7 @@ function _s({
|
|
|
2360
2360
|
function a(p) {
|
|
2361
2361
|
if (o.disable === !0 || p?.qAnchorHandled === !0 || I !== void 0 && I(p) !== !0) return;
|
|
2362
2362
|
const S = o["onUpdate:modelValue"] !== void 0;
|
|
2363
|
-
S === !0 && (n("update:modelValue", !0), r = p,
|
|
2363
|
+
S === !0 && (n("update:modelValue", !0), r = p, Rt(() => {
|
|
2364
2364
|
r === p && (r = void 0);
|
|
2365
2365
|
})), (o.modelValue === null || S === !1) && s(p);
|
|
2366
2366
|
}
|
|
@@ -2370,7 +2370,7 @@ function _s({
|
|
|
2370
2370
|
function d(p) {
|
|
2371
2371
|
if (o.disable === !0) return;
|
|
2372
2372
|
const S = o["onUpdate:modelValue"] !== void 0;
|
|
2373
|
-
S === !0 && (n("update:modelValue", !1), r = p,
|
|
2373
|
+
S === !0 && (n("update:modelValue", !1), r = p, Rt(() => {
|
|
2374
2374
|
r === p && (r = void 0);
|
|
2375
2375
|
})), (o.modelValue === null || S === !1) && h(p);
|
|
2376
2376
|
}
|
|
@@ -2382,7 +2382,7 @@ function _s({
|
|
|
2382
2382
|
}
|
|
2383
2383
|
ze(() => o.modelValue, f), t !== void 0 && cs(i) === !0 && ze(() => e.$route.fullPath, () => {
|
|
2384
2384
|
t.value === !0 && l.value === !0 && d();
|
|
2385
|
-
}),
|
|
2385
|
+
}), Vt(() => {
|
|
2386
2386
|
f(o.modelValue);
|
|
2387
2387
|
});
|
|
2388
2388
|
const g = { show: a, hide: d, toggle: u };
|
|
@@ -2532,7 +2532,7 @@ function As() {
|
|
|
2532
2532
|
return Vr(t), jt(t), {
|
|
2533
2533
|
removeTick: t,
|
|
2534
2534
|
registerTick(b) {
|
|
2535
|
-
l = b,
|
|
2535
|
+
l = b, Rt(() => {
|
|
2536
2536
|
l === b && (fs(I) === !1 && l(), l = void 0);
|
|
2537
2537
|
});
|
|
2538
2538
|
}
|
|
@@ -2971,7 +2971,7 @@ function fa(l, I) {
|
|
|
2971
2971
|
function Su({ getValue: l, required: I = !0 } = {}) {
|
|
2972
2972
|
if (Ir.value === !0) {
|
|
2973
2973
|
const t = l !== void 0 ? xe(xu(l())) : xe(null);
|
|
2974
|
-
return I === !0 && t.value === null &&
|
|
2974
|
+
return I === !0 && t.value === null && Vt(() => {
|
|
2975
2975
|
t.value = `f_${Xi()}`;
|
|
2976
2976
|
}), l !== void 0 && ze(l, (b) => {
|
|
2977
2977
|
t.value = fa(b, I);
|
|
@@ -3004,7 +3004,7 @@ function Cu({ validate: l, resetValidation: I, requiresQForm: t }) {
|
|
|
3004
3004
|
const { props: m, proxy: c } = pt();
|
|
3005
3005
|
Object.assign(c, { validate: l, resetValidation: I }), ze(() => m.disable, (i) => {
|
|
3006
3006
|
i === !0 ? (typeof I == "function" && I(), b.unbindComponent(c)) : b.bindComponent(c);
|
|
3007
|
-
}),
|
|
3007
|
+
}), Vt(() => {
|
|
3008
3008
|
m.disable !== !0 && b.bindComponent(c);
|
|
3009
3009
|
}), jt(() => {
|
|
3010
3010
|
m.disable !== !0 && b.unbindComponent(c);
|
|
@@ -3257,7 +3257,7 @@ function Is(l) {
|
|
|
3257
3257
|
});
|
|
3258
3258
|
}
|
|
3259
3259
|
function U(y) {
|
|
3260
|
-
Dt(y), i.platform.is.mobile !== !0 ? (l.targetRef?.value || l.rootRef.value).focus() : l.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), I.type === "file" && (l.inputRef.value.value = null), t("update:modelValue", null), l.changeEvent === !0 && t("change", null), t("clear", I.modelValue),
|
|
3260
|
+
Dt(y), i.platform.is.mobile !== !0 ? (l.targetRef?.value || l.rootRef.value).focus() : l.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), I.type === "file" && (l.inputRef.value.value = null), t("update:modelValue", null), l.changeEvent === !0 && t("change", null), t("clear", I.modelValue), Rt(() => {
|
|
3261
3261
|
const x = n.value;
|
|
3262
3262
|
a(), n.value = x;
|
|
3263
3263
|
});
|
|
@@ -3279,7 +3279,7 @@ function Is(l) {
|
|
|
3279
3279
|
}, E())
|
|
3280
3280
|
), r.value === !0 && I.noErrorIcon === !1 && y.push(
|
|
3281
3281
|
v("error", [
|
|
3282
|
-
ie(
|
|
3282
|
+
ie(It, { name: i.iconSet.field.error, color: "negative" })
|
|
3283
3283
|
])
|
|
3284
3284
|
), I.loading === !0 || l.innerLoading.value === !0 ? y.push(
|
|
3285
3285
|
v(
|
|
@@ -3288,7 +3288,7 @@ function Is(l) {
|
|
|
3288
3288
|
)
|
|
3289
3289
|
) : I.clearable === !0 && l.hasValue.value === !0 && l.editable.value === !0 && y.push(
|
|
3290
3290
|
v("inner-clearable-append", [
|
|
3291
|
-
ie(
|
|
3291
|
+
ie(It, {
|
|
3292
3292
|
class: "q-field__focusable-action",
|
|
3293
3293
|
name: I.clearIcon || i.iconSet.field.clear,
|
|
3294
3294
|
tabindex: 0,
|
|
@@ -3367,7 +3367,7 @@ function Is(l) {
|
|
|
3367
3367
|
w = !0;
|
|
3368
3368
|
}), An(() => {
|
|
3369
3369
|
w === !0 && I.autofocus === !0 && c.focus();
|
|
3370
|
-
}), I.autofocus === !0 &&
|
|
3370
|
+
}), I.autofocus === !0 && Vt(() => {
|
|
3371
3371
|
c.focus();
|
|
3372
3372
|
}), jt(() => {
|
|
3373
3373
|
o !== null && clearTimeout(o);
|
|
@@ -3493,7 +3493,7 @@ const Ru = ot({
|
|
|
3493
3493
|
e.value === !0 && f.push(
|
|
3494
3494
|
ie("div", { class: "q-focus-helper" })
|
|
3495
3495
|
), i.value === !0 && f.push(
|
|
3496
|
-
ie(
|
|
3496
|
+
ie(It, {
|
|
3497
3497
|
class: "q-chip__icon q-chip__icon--left",
|
|
3498
3498
|
name: o.value
|
|
3499
3499
|
})
|
|
@@ -3504,12 +3504,12 @@ const Ru = ot({
|
|
|
3504
3504
|
class: "q-chip__content col row no-wrap items-center q-anchor--skip"
|
|
3505
3505
|
}, Ua(I.default, g))
|
|
3506
3506
|
), l.iconRight && f.push(
|
|
3507
|
-
ie(
|
|
3507
|
+
ie(It, {
|
|
3508
3508
|
class: "q-chip__icon q-chip__icon--right",
|
|
3509
3509
|
name: l.iconRight
|
|
3510
3510
|
})
|
|
3511
3511
|
), l.removable === !0 && f.push(
|
|
3512
|
-
ie(
|
|
3512
|
+
ie(It, {
|
|
3513
3513
|
class: "q-chip__icon q-chip__icon--remove cursor-pointer",
|
|
3514
3514
|
name: n.value,
|
|
3515
3515
|
...u.value.remove,
|
|
@@ -4152,7 +4152,7 @@ function Mo({
|
|
|
4152
4152
|
H += s[R];
|
|
4153
4153
|
a.push(H);
|
|
4154
4154
|
}
|
|
4155
|
-
r = -1, e = void 0, d.value = gn(a, s, 0, k.value.from), h.value = gn(a, s, k.value.to, l.value), B >= 0 ? (C(k.value.from),
|
|
4155
|
+
r = -1, e = void 0, d.value = gn(a, s, 0, k.value.from), h.value = gn(a, s, k.value.to, l.value), B >= 0 ? (C(k.value.from), Rt(() => {
|
|
4156
4156
|
q(B);
|
|
4157
4157
|
})) : x();
|
|
4158
4158
|
}
|
|
@@ -4721,7 +4721,7 @@ const yi = ot({
|
|
|
4721
4721
|
do
|
|
4722
4722
|
ke = ta(ke + 1, -1, pe - 1);
|
|
4723
4723
|
while (ke !== o.value && (ae.value(l.options[ke]) === !0 || Ve.test(se.value(l.options[ke])) !== !0));
|
|
4724
|
-
o.value !== ke &&
|
|
4724
|
+
o.value !== ke && Rt(() => {
|
|
4725
4725
|
He(ke), x(ke), ke >= 0 && l.useInput === !0 && l.fillInput === !0 && _e(se.value(l.options[ke]), !0);
|
|
4726
4726
|
});
|
|
4727
4727
|
return;
|
|
@@ -4832,10 +4832,10 @@ const yi = ot({
|
|
|
4832
4832
|
"filter",
|
|
4833
4833
|
de,
|
|
4834
4834
|
(we, Se) => {
|
|
4835
|
-
(Ne === !0 || B.focused.value === !0) && f === pe && (clearTimeout(f), typeof we == "function" && we(), r.value = !1,
|
|
4836
|
-
B.innerLoading.value = !1, B.editable.value === !0 && (Ne === !0 ? c.value === !0 && Fe() : c.value === !0 ? st(!0) : c.value = !0), typeof Se == "function" &&
|
|
4835
|
+
(Ne === !0 || B.focused.value === !0) && f === pe && (clearTimeout(f), typeof we == "function" && we(), r.value = !1, Rt(() => {
|
|
4836
|
+
B.innerLoading.value = !1, B.editable.value === !0 && (Ne === !0 ? c.value === !0 && Fe() : c.value === !0 ? st(!0) : c.value = !0), typeof Se == "function" && Rt(() => {
|
|
4837
4837
|
Se(b);
|
|
4838
|
-
}), typeof Z == "function" &&
|
|
4838
|
+
}), typeof Z == "function" && Rt(() => {
|
|
4839
4839
|
Z(b);
|
|
4840
4840
|
});
|
|
4841
4841
|
}));
|
|
@@ -4883,7 +4883,7 @@ const yi = ot({
|
|
|
4883
4883
|
sr(de), j.value?.focus(), e.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
|
|
4884
4884
|
}
|
|
4885
4885
|
function K(de) {
|
|
4886
|
-
sr(de),
|
|
4886
|
+
sr(de), Rt(() => {
|
|
4887
4887
|
e.value = !1;
|
|
4888
4888
|
});
|
|
4889
4889
|
}
|
|
@@ -4950,7 +4950,7 @@ const yi = ot({
|
|
|
4950
4950
|
i.value !== !0 && (o.value = -1, c.value === !0 && (c.value = !1), B.focused.value === !1 && (f !== null && (clearTimeout(f), f = null), B.innerLoading.value === !0 && (t("filterAbort"), B.innerLoading.value = !1, r.value = !1)));
|
|
4951
4951
|
}
|
|
4952
4952
|
function Ee(de) {
|
|
4953
|
-
B.editable.value === !0 && (d === !0 ? (B.onControlFocusin(de), i.value = !0,
|
|
4953
|
+
B.editable.value === !0 && (d === !0 ? (B.onControlFocusin(de), i.value = !0, Rt(() => {
|
|
4954
4954
|
B.focus();
|
|
4955
4955
|
})) : B.focus(), l.onFilter !== void 0 ? De(n.value) : (O.value !== !0 || I["no-option"] !== void 0) && (c.value = !0));
|
|
4956
4956
|
}
|
|
@@ -4976,7 +4976,7 @@ const yi = ot({
|
|
|
4976
4976
|
He(Ne);
|
|
4977
4977
|
}
|
|
4978
4978
|
function at(de, Ne) {
|
|
4979
|
-
c.value === !0 && B.innerLoading.value === !1 && (v(-1, !0),
|
|
4979
|
+
c.value === !0 && B.innerLoading.value === !1 && (v(-1, !0), Rt(() => {
|
|
4980
4980
|
c.value === !0 && B.innerLoading.value === !1 && (de > Ne ? v() : st(!0));
|
|
4981
4981
|
}));
|
|
4982
4982
|
}
|
|
@@ -5092,7 +5092,7 @@ const yi = ot({
|
|
|
5092
5092
|
}, Ne);
|
|
5093
5093
|
},
|
|
5094
5094
|
getInnerAppend: () => l.loading !== !0 && r.value !== !0 && l.hideDropdownIcon !== !0 ? [
|
|
5095
|
-
ie(
|
|
5095
|
+
ie(It, {
|
|
5096
5096
|
class: "q-select__dropdown-icon" + (c.value === !0 ? " rotate-180" : ""),
|
|
5097
5097
|
name: oe.value
|
|
5098
5098
|
})
|
|
@@ -5137,9 +5137,9 @@ const yi = ot({
|
|
|
5137
5137
|
"hide-dropdown-icon": ""
|
|
5138
5138
|
}, n.$attrs), {
|
|
5139
5139
|
append: Pe(() => [
|
|
5140
|
-
Ue(
|
|
5140
|
+
Ue(It, {
|
|
5141
5141
|
name: "arrow_drop_down",
|
|
5142
|
-
class:
|
|
5142
|
+
class: Wt(["cursor-pointer smooth-rotate", { "rotate-180": m.value }])
|
|
5143
5143
|
}, null, 8, ["class"])
|
|
5144
5144
|
]),
|
|
5145
5145
|
default: Pe(() => [
|
|
@@ -5159,7 +5159,7 @@ const yi = ot({
|
|
|
5159
5159
|
style: ir(i.value)
|
|
5160
5160
|
}, {
|
|
5161
5161
|
default: Pe(() => [
|
|
5162
|
-
(Ce(!0), lt(
|
|
5162
|
+
(Ce(!0), lt(Ut, null, Gt(t.options, (r) => (Ce(), nt(nn, {
|
|
5163
5163
|
key: r.value,
|
|
5164
5164
|
modelValue: c.value,
|
|
5165
5165
|
"onUpdate:modelValue": e[0] || (e[0] = (u) => c.value = u),
|
|
@@ -5190,69 +5190,84 @@ const yi = ot({
|
|
|
5190
5190
|
options: { default: () => [] },
|
|
5191
5191
|
fetchOptions: {},
|
|
5192
5192
|
label: { default: "Selectionner un option" },
|
|
5193
|
-
modelValue: { default: null }
|
|
5193
|
+
modelValue: { default: null },
|
|
5194
|
+
rules: {},
|
|
5195
|
+
updateInputOnModelChange: { type: Boolean, default: !1 }
|
|
5194
5196
|
},
|
|
5195
5197
|
emits: ["update:modelValue"],
|
|
5196
5198
|
setup(l, { emit: I }) {
|
|
5197
|
-
const t = l, b = I, m = xe(), c = xe(t.modelValue ?? null), i = xe(""), o = xe(t.options ?? []), n = xe(!1), e = xe(!0);
|
|
5199
|
+
const t = l, b = I, m = xe(), c = xe(t.modelValue ?? null), i = xe(""), o = xe(t.options ?? []), n = xe(!1), e = xe(!0), r = xe(!1);
|
|
5198
5200
|
ze(
|
|
5199
5201
|
() => t.options,
|
|
5200
|
-
(
|
|
5201
|
-
o.value =
|
|
5202
|
+
(g) => {
|
|
5203
|
+
o.value = g ?? [], u();
|
|
5202
5204
|
},
|
|
5203
5205
|
{ immediate: !0 }
|
|
5204
5206
|
), ze(
|
|
5205
5207
|
() => t.modelValue,
|
|
5206
|
-
(
|
|
5207
|
-
c.value =
|
|
5208
|
+
async (g) => {
|
|
5209
|
+
if (c.value = g, t.updateInputOnModelChange) {
|
|
5210
|
+
if (r.value = !0, t.fetchOptions && g) {
|
|
5211
|
+
const p = await t.fetchOptions("");
|
|
5212
|
+
o.value = p;
|
|
5213
|
+
}
|
|
5214
|
+
u(), n.value = !1, await Rt(), m.value?.updateInputValue(i.value, !0), setTimeout(() => {
|
|
5215
|
+
r.value = !1;
|
|
5216
|
+
}, 100);
|
|
5217
|
+
}
|
|
5208
5218
|
}
|
|
5209
5219
|
);
|
|
5210
|
-
function
|
|
5211
|
-
const
|
|
5212
|
-
i.value =
|
|
5220
|
+
function u() {
|
|
5221
|
+
const g = o.value.find((p) => p.value === c.value);
|
|
5222
|
+
i.value = g?.label ?? "";
|
|
5213
5223
|
}
|
|
5214
|
-
function
|
|
5215
|
-
c.value =
|
|
5224
|
+
function a(g) {
|
|
5225
|
+
r.value || (c.value = g, b("update:modelValue", g), u(), n.value = !1);
|
|
5216
5226
|
}
|
|
5217
|
-
function
|
|
5218
|
-
i.value =
|
|
5227
|
+
function s(g) {
|
|
5228
|
+
i.value = g, g === "" && (n.value = !0);
|
|
5219
5229
|
}
|
|
5220
|
-
function
|
|
5230
|
+
function d() {
|
|
5221
5231
|
if (e.value) {
|
|
5222
5232
|
e.value = !1;
|
|
5223
5233
|
return;
|
|
5224
5234
|
}
|
|
5225
5235
|
c.value !== null && !n.value ? (i.value = "", n.value = !0, m.value?.showPopup()) : n.value && (i.value = "");
|
|
5226
5236
|
}
|
|
5227
|
-
function
|
|
5237
|
+
function h() {
|
|
5228
5238
|
e.value = !0;
|
|
5229
|
-
const
|
|
5230
|
-
if (
|
|
5239
|
+
const g = i.value.trim();
|
|
5240
|
+
if (g === "")
|
|
5231
5241
|
n.value && (c.value = null, b("update:modelValue", null));
|
|
5232
5242
|
else {
|
|
5233
|
-
const
|
|
5234
|
-
(
|
|
5243
|
+
const p = o.value.find(
|
|
5244
|
+
(S) => S.label.toLowerCase() === g.toLowerCase()
|
|
5235
5245
|
);
|
|
5236
|
-
|
|
5246
|
+
p ? (c.value = p.value, b("update:modelValue", p.value), i.value = p.label) : u();
|
|
5237
5247
|
}
|
|
5238
5248
|
n.value = !1;
|
|
5239
5249
|
}
|
|
5240
|
-
function
|
|
5250
|
+
function f(g, p, S) {
|
|
5241
5251
|
if (t.fetchOptions)
|
|
5242
|
-
t.fetchOptions(
|
|
5243
|
-
o.value =
|
|
5252
|
+
t.fetchOptions(g).then((k) => {
|
|
5253
|
+
o.value = k, p(() => {
|
|
5244
5254
|
});
|
|
5245
|
-
}).catch(
|
|
5255
|
+
}).catch(S).finally(() => {
|
|
5246
5256
|
});
|
|
5247
5257
|
else {
|
|
5248
|
-
const
|
|
5249
|
-
o.value =
|
|
5250
|
-
(
|
|
5251
|
-
),
|
|
5258
|
+
const k = t.options ?? [];
|
|
5259
|
+
o.value = k.filter(
|
|
5260
|
+
(M) => M.label.toLowerCase().includes(g.toLowerCase())
|
|
5261
|
+
), p(() => {
|
|
5252
5262
|
});
|
|
5253
5263
|
}
|
|
5254
5264
|
}
|
|
5255
|
-
return (
|
|
5265
|
+
return Vt(async () => {
|
|
5266
|
+
if (t.fetchOptions && t.modelValue) {
|
|
5267
|
+
const g = await t.fetchOptions("");
|
|
5268
|
+
o.value = g, u();
|
|
5269
|
+
}
|
|
5270
|
+
}), (g, p) => (Ce(), nt(yi, er({
|
|
5256
5271
|
ref_key: "selectRef",
|
|
5257
5272
|
ref: m,
|
|
5258
5273
|
"model-value": c.value,
|
|
@@ -5261,17 +5276,17 @@ const yi = ot({
|
|
|
5261
5276
|
"fill-input": "",
|
|
5262
5277
|
"hide-selected": "",
|
|
5263
5278
|
"input-debounce": "300",
|
|
5264
|
-
label:
|
|
5279
|
+
label: g.label,
|
|
5265
5280
|
options: o.value,
|
|
5266
5281
|
dense: "",
|
|
5267
5282
|
outlined: "",
|
|
5268
5283
|
class: "full-width cursor-pointer"
|
|
5269
|
-
},
|
|
5270
|
-
"onUpdate:modelValue":
|
|
5271
|
-
"onUpdate:inputValue":
|
|
5272
|
-
onFocus:
|
|
5273
|
-
onBlur:
|
|
5274
|
-
onFilter:
|
|
5284
|
+
}, g.$attrs, {
|
|
5285
|
+
"onUpdate:modelValue": a,
|
|
5286
|
+
"onUpdate:inputValue": s,
|
|
5287
|
+
onFocus: d,
|
|
5288
|
+
onBlur: h,
|
|
5289
|
+
onFilter: f
|
|
5275
5290
|
}), null, 16, ["model-value", "input-value", "label", "options"]));
|
|
5276
5291
|
}
|
|
5277
5292
|
}), lh = /* @__PURE__ */ Lt({
|
|
@@ -5330,7 +5345,7 @@ const yi = ot({
|
|
|
5330
5345
|
() => "q-avatar" + (l.color ? ` bg-${l.color}` : "") + (l.textColor ? ` text-${l.textColor} q-chip--colored` : "") + (l.square === !0 ? " q-avatar--square" : l.rounded === !0 ? " rounded-borders" : "")
|
|
5331
5346
|
), m = J(() => l.fontSize ? { fontSize: l.fontSize } : null);
|
|
5332
5347
|
return () => {
|
|
5333
|
-
const c = l.icon !== void 0 ? [ie(
|
|
5348
|
+
const c = l.icon !== void 0 ? [ie(It, { name: l.icon })] : void 0;
|
|
5334
5349
|
return ie("div", {
|
|
5335
5350
|
class: b.value,
|
|
5336
5351
|
style: t.value
|
|
@@ -5558,7 +5573,7 @@ const Oo = ls(
|
|
|
5558
5573
|
e.showProjectSwitch || i.value ? (Ce(), lt("div", Zu, [
|
|
5559
5574
|
i.value ? (Ce(), lt("div", {
|
|
5560
5575
|
key: 0,
|
|
5561
|
-
class:
|
|
5576
|
+
class: Wt(["environment-badge", o.value]),
|
|
5562
5577
|
"data-testid": "environment-badge"
|
|
5563
5578
|
}, _t(e.environment), 3)) : gt("", !0),
|
|
5564
5579
|
e.showProjectSwitch ? (Ce(), nt(St, {
|
|
@@ -5581,7 +5596,7 @@ const Oo = ls(
|
|
|
5581
5596
|
class: "project-menu"
|
|
5582
5597
|
}, {
|
|
5583
5598
|
default: Pe(() => [
|
|
5584
|
-
(Ce(!0), lt(
|
|
5599
|
+
(Ce(!0), lt(Ut, null, Gt(e.availableProjects, (a) => on((Ce(), nt(tn, {
|
|
5585
5600
|
key: a.path,
|
|
5586
5601
|
clickable: "",
|
|
5587
5602
|
disable: n(a.path),
|
|
@@ -5800,7 +5815,7 @@ const Oo = ls(
|
|
|
5800
5815
|
class: "q-toggle__thumb absolute flex flex-center no-wrap"
|
|
5801
5816
|
},
|
|
5802
5817
|
m.value !== void 0 ? [
|
|
5803
|
-
ie(
|
|
5818
|
+
ie(It, {
|
|
5804
5819
|
name: m.value,
|
|
5805
5820
|
color: c.value
|
|
5806
5821
|
})
|
|
@@ -6084,13 +6099,13 @@ const Oo = ls(
|
|
|
6084
6099
|
setup(l) {
|
|
6085
6100
|
return (I, t) => (Ce(), nt(gc, {
|
|
6086
6101
|
view: I.view,
|
|
6087
|
-
class:
|
|
6102
|
+
class: Wt(I.layoutClass),
|
|
6088
6103
|
style: { minHeight: "auto !important" }
|
|
6089
6104
|
}, {
|
|
6090
6105
|
default: Pe(() => [
|
|
6091
6106
|
Kt(I.$slots, "header"),
|
|
6092
6107
|
Ue(mc, {
|
|
6093
|
-
class:
|
|
6108
|
+
class: Wt(I.pageContainerClass),
|
|
6094
6109
|
style: { paddingBottom: "0 !important" }
|
|
6095
6110
|
}, {
|
|
6096
6111
|
default: Pe(() => [
|
|
@@ -6242,7 +6257,7 @@ const _c = ["gregorian", "persian"], Aa = {
|
|
|
6242
6257
|
disable: Boolean
|
|
6243
6258
|
}, kc = ["update:modelValue"];
|
|
6244
6259
|
function kr(l) {
|
|
6245
|
-
return l.year + "/" +
|
|
6260
|
+
return l.year + "/" + Bt(l.month) + "/" + Bt(l.day);
|
|
6246
6261
|
}
|
|
6247
6262
|
function Cc(l, I) {
|
|
6248
6263
|
const t = J(() => l.disable !== !0 && l.readonly !== !0), b = J(() => t.value === !0 ? 0 : -1), m = J(() => {
|
|
@@ -6517,7 +6532,7 @@ function No(l, I) {
|
|
|
6517
6532
|
}
|
|
6518
6533
|
function Ma(l, I = "") {
|
|
6519
6534
|
const t = l > 0 ? "-" : "+", b = Math.abs(l), m = Math.floor(b / 60), c = b % 60;
|
|
6520
|
-
return t +
|
|
6535
|
+
return t + Bt(m) + I + Bt(c);
|
|
6521
6536
|
}
|
|
6522
6537
|
function Rc(l, I, t) {
|
|
6523
6538
|
let b = l.getFullYear(), m = l.getMonth();
|
|
@@ -6606,7 +6621,7 @@ function Vo(l, I, t, b, m) {
|
|
|
6606
6621
|
}
|
|
6607
6622
|
r.H !== void 0 ? c.hour = parseInt(u[r.H], 10) % 24 : r.h !== void 0 && (c.hour = parseInt(u[r.h], 10) % 12, (r.A && u[r.A] === "PM" || r.a && u[r.a] === "pm" || r.aa && u[r.aa] === "p.m.") && (c.hour += 12), c.hour = c.hour % 24), r.m !== void 0 && (c.minute = parseInt(u[r.m], 10) % 60), r.s !== void 0 && (c.second = parseInt(u[r.s], 10) % 60), r.S !== void 0 && (c.millisecond = parseInt(u[r.S], 10) * 10 ** (3 - u[r.S].length)), (r.Z !== void 0 || r.ZZ !== void 0) && (a = r.Z !== void 0 ? u[r.Z].replace(":", "") : u[r.ZZ], c.timezoneOffset = (a[0] === "+" ? -1 : 1) * (60 * a.slice(1, 3) + 1 * a.slice(3, 5)));
|
|
6608
6623
|
}
|
|
6609
|
-
return c.dateHash =
|
|
6624
|
+
return c.dateHash = Bt(c.year, 4) + "/" + Bt(c.month) + "/" + Bt(c.day), c.timeHash = Bt(c.hour) + ":" + Bt(c.minute) + ":" + Bt(c.second) + a, c;
|
|
6610
6625
|
}
|
|
6611
6626
|
function Oc(l) {
|
|
6612
6627
|
return typeof l == "number" ? !0 : isNaN(Date.parse(l)) === !1;
|
|
@@ -6815,7 +6830,7 @@ const Ta = {
|
|
|
6815
6830
|
// Year: 00, 01, ..., 99
|
|
6816
6831
|
YY(l, I, t) {
|
|
6817
6832
|
const b = this.YYYY(l, I, t) % 100;
|
|
6818
|
-
return b >= 0 ?
|
|
6833
|
+
return b >= 0 ? Bt(b) : "-" + Bt(Math.abs(b));
|
|
6819
6834
|
},
|
|
6820
6835
|
// Year: 1900, 1901, ..., 2099
|
|
6821
6836
|
YYYY(l, I, t) {
|
|
@@ -6831,7 +6846,7 @@ const Ta = {
|
|
|
6831
6846
|
},
|
|
6832
6847
|
// Month: 01, 02, ..., 12
|
|
6833
6848
|
MM(l) {
|
|
6834
|
-
return
|
|
6849
|
+
return Bt(l.getMonth() + 1);
|
|
6835
6850
|
},
|
|
6836
6851
|
// Month Short Name: Jan, Feb, ...
|
|
6837
6852
|
MMM(l, I) {
|
|
@@ -6859,7 +6874,7 @@ const Ta = {
|
|
|
6859
6874
|
},
|
|
6860
6875
|
// Day of month: 01, 02, ..., 31
|
|
6861
6876
|
DD(l) {
|
|
6862
|
-
return
|
|
6877
|
+
return Bt(l.getDate());
|
|
6863
6878
|
},
|
|
6864
6879
|
// Day of year: 1, 2, ..., 366
|
|
6865
6880
|
DDD(l) {
|
|
@@ -6871,7 +6886,7 @@ const Ta = {
|
|
|
6871
6886
|
},
|
|
6872
6887
|
// Day of year: 001, 002, ..., 366
|
|
6873
6888
|
DDDD(l) {
|
|
6874
|
-
return
|
|
6889
|
+
return Bt(ri(l), 3);
|
|
6875
6890
|
},
|
|
6876
6891
|
// Day of week: 0, 1, ..., 6
|
|
6877
6892
|
d(l) {
|
|
@@ -6907,7 +6922,7 @@ const Ta = {
|
|
|
6907
6922
|
},
|
|
6908
6923
|
// Week of Year: 01 02 ... 52 53
|
|
6909
6924
|
ww(l) {
|
|
6910
|
-
return
|
|
6925
|
+
return Bt(ti(l));
|
|
6911
6926
|
},
|
|
6912
6927
|
// Hour: 0, 1, ... 23
|
|
6913
6928
|
H(l) {
|
|
@@ -6915,7 +6930,7 @@ const Ta = {
|
|
|
6915
6930
|
},
|
|
6916
6931
|
// Hour: 00, 01, ..., 23
|
|
6917
6932
|
HH(l) {
|
|
6918
|
-
return
|
|
6933
|
+
return Bt(l.getHours());
|
|
6919
6934
|
},
|
|
6920
6935
|
// Hour: 1, 2, ..., 12
|
|
6921
6936
|
h(l) {
|
|
@@ -6924,7 +6939,7 @@ const Ta = {
|
|
|
6924
6939
|
},
|
|
6925
6940
|
// Hour: 01, 02, ..., 12
|
|
6926
6941
|
hh(l) {
|
|
6927
|
-
return
|
|
6942
|
+
return Bt(this.h(l));
|
|
6928
6943
|
},
|
|
6929
6944
|
// Minute: 0, 1, ..., 59
|
|
6930
6945
|
m(l) {
|
|
@@ -6932,7 +6947,7 @@ const Ta = {
|
|
|
6932
6947
|
},
|
|
6933
6948
|
// Minute: 00, 01, ..., 59
|
|
6934
6949
|
mm(l) {
|
|
6935
|
-
return
|
|
6950
|
+
return Bt(l.getMinutes());
|
|
6936
6951
|
},
|
|
6937
6952
|
// Second: 0, 1, ..., 59
|
|
6938
6953
|
s(l) {
|
|
@@ -6940,7 +6955,7 @@ const Ta = {
|
|
|
6940
6955
|
},
|
|
6941
6956
|
// Second: 00, 01, ..., 59
|
|
6942
6957
|
ss(l) {
|
|
6943
|
-
return
|
|
6958
|
+
return Bt(l.getSeconds());
|
|
6944
6959
|
},
|
|
6945
6960
|
// 1/10 of second: 0, 1, ..., 9
|
|
6946
6961
|
S(l) {
|
|
@@ -6948,11 +6963,11 @@ const Ta = {
|
|
|
6948
6963
|
},
|
|
6949
6964
|
// 1/100 of second: 00, 01, ..., 99
|
|
6950
6965
|
SS(l) {
|
|
6951
|
-
return
|
|
6966
|
+
return Bt(Math.floor(l.getMilliseconds() / 10));
|
|
6952
6967
|
},
|
|
6953
6968
|
// Millisecond: 000, 001, ..., 999
|
|
6954
6969
|
SSS(l) {
|
|
6955
|
-
return
|
|
6970
|
+
return Bt(l.getMilliseconds(), 3);
|
|
6956
6971
|
},
|
|
6957
6972
|
// Meridiem: AM, PM
|
|
6958
6973
|
A(l) {
|
|
@@ -7023,7 +7038,7 @@ const Wo = {
|
|
|
7023
7038
|
clone: Yc
|
|
7024
7039
|
}, br = 20, Qc = ["Calendar", "Years", "Months"], Ra = (l) => Qc.includes(l), Li = (l) => /^-?[\d]+\/[0-1]\d$/.test(l), Zr = " — ";
|
|
7025
7040
|
function Cr(l) {
|
|
7026
|
-
return l.year + "/" +
|
|
7041
|
+
return l.year + "/" + Bt(l.month);
|
|
7027
7042
|
}
|
|
7028
7043
|
const Ho = ot({
|
|
7029
7044
|
name: "QDate",
|
|
@@ -7206,7 +7221,7 @@ const Ho = ot({
|
|
|
7206
7221
|
}
|
|
7207
7222
|
const K = typeof l.options == "function" ? l.options : (ne) => l.options.includes(ne);
|
|
7208
7223
|
for (let ne = 1; ne <= R.value; ne++) {
|
|
7209
|
-
const he = G.value + "/" +
|
|
7224
|
+
const he = G.value + "/" + Bt(ne);
|
|
7210
7225
|
re[ne] = K(he);
|
|
7211
7226
|
}
|
|
7212
7227
|
return re;
|
|
@@ -7218,7 +7233,7 @@ const Ho = ot({
|
|
|
7218
7233
|
else {
|
|
7219
7234
|
const K = typeof l.events == "function" ? l.events : (ne) => l.events.includes(ne);
|
|
7220
7235
|
for (let ne = 1; ne <= R.value; ne++) {
|
|
7221
|
-
const he = G.value + "/" +
|
|
7236
|
+
const he = G.value + "/" + Bt(ne);
|
|
7222
7237
|
re[ne] = K(he) === !0 && W.value(he);
|
|
7223
7238
|
}
|
|
7224
7239
|
}
|
|
@@ -7413,7 +7428,7 @@ const Ho = ot({
|
|
|
7413
7428
|
minute: 0,
|
|
7414
7429
|
second: 0,
|
|
7415
7430
|
millisecond: 0,
|
|
7416
|
-
dateHash: re + "/" +
|
|
7431
|
+
dateHash: re + "/" + Bt(K) + "/01"
|
|
7417
7432
|
};
|
|
7418
7433
|
}
|
|
7419
7434
|
function Le(re) {
|
|
@@ -7441,8 +7456,8 @@ const Ho = ot({
|
|
|
7441
7456
|
const { hour: ve, minute: Ie, second: ye, millisecond: Ee, timezoneOffset: Fe, timeHash: Xe } = ne;
|
|
7442
7457
|
Object.assign(k.value, { hour: ve, minute: Ie, second: ye, millisecond: Ee, timezoneOffset: Fe, timeHash: Xe });
|
|
7443
7458
|
}
|
|
7444
|
-
const he = re + "/" +
|
|
7445
|
-
he !== k.value.dateHash && (N.value = k.value.dateHash < he == (m.lang.rtl !== !0) ? "left" : "right", re !== k.value.year && (P.value = N.value),
|
|
7459
|
+
const he = re + "/" + Bt(K) + "/01";
|
|
7460
|
+
he !== k.value.dateHash && (N.value = k.value.dateHash < he == (m.lang.rtl !== !0) ? "left" : "right", re !== k.value.year && (P.value = N.value), Rt(() => {
|
|
7446
7461
|
q.value = re - re % br - (re < 0 ? br : 0), Object.assign(k.value, {
|
|
7447
7462
|
year: re,
|
|
7448
7463
|
month: K,
|
|
@@ -7457,7 +7472,7 @@ const Ho = ot({
|
|
|
7457
7472
|
}
|
|
7458
7473
|
function dt(re) {
|
|
7459
7474
|
const K = w.value[0] !== void 0 && w.value[0].dateHash !== null ? { ...w.value[0] } : { ...k.value };
|
|
7460
|
-
|
|
7475
|
+
Rt(() => {
|
|
7461
7476
|
K.year = k.value.year, K.month = k.value.month;
|
|
7462
7477
|
const ne = l.calendar !== "persian" ? new Date(K.year, K.month, 0).getDate() : ei(K.year, K.month);
|
|
7463
7478
|
K.day = Math.min(Math.max(1, K.day), ne);
|
|
@@ -8023,7 +8038,7 @@ function Gc(l, I, t, b) {
|
|
|
8023
8038
|
const L = b.value, C = L.selectionEnd, E = L.value.length - C, _ = N(D);
|
|
8024
8039
|
q === !0 && h();
|
|
8025
8040
|
const v = M(_), w = l.fillMask !== !1 ? P(v) : v, y = u.value !== w;
|
|
8026
|
-
L.value !== w && (L.value = w), y === !0 && (u.value = w), document.activeElement === L &&
|
|
8041
|
+
L.value !== w && (L.value = w), y === !0 && (u.value = w), document.activeElement === L && Rt(() => {
|
|
8027
8042
|
if (w === c) {
|
|
8028
8043
|
const A = l.reverseFillMask === !0 ? c.length : 0;
|
|
8029
8044
|
L.setSelectionRange(A, A, "forward");
|
|
@@ -8283,11 +8298,11 @@ const Cn = ot({
|
|
|
8283
8298
|
return;
|
|
8284
8299
|
f(T);
|
|
8285
8300
|
} else s.value !== T && (s.value = T, l.type === "number" && c.hasOwnProperty("value") === !0 && (o === !0 ? o = !1 : delete c.value));
|
|
8286
|
-
l.autogrow === !0 &&
|
|
8301
|
+
l.autogrow === !0 && Rt(w);
|
|
8287
8302
|
}), ze(() => l.autogrow, (T) => {
|
|
8288
|
-
T === !0 ?
|
|
8303
|
+
T === !0 ? Rt(w) : u.value !== null && t.rows > 0 && (u.value.style.height = "auto");
|
|
8289
8304
|
}), ze(() => l.dense, () => {
|
|
8290
|
-
l.autogrow === !0 &&
|
|
8305
|
+
l.autogrow === !0 && Rt(w);
|
|
8291
8306
|
});
|
|
8292
8307
|
function U() {
|
|
8293
8308
|
Mn(() => {
|
|
@@ -8320,7 +8335,7 @@ const Cn = ot({
|
|
|
8320
8335
|
f(z, !1, T.inputType);
|
|
8321
8336
|
else if (v(z), P.value === !0 && T.target === document.activeElement) {
|
|
8322
8337
|
const { selectionStart: V, selectionEnd: Y } = T.target;
|
|
8323
|
-
V !== void 0 && Y !== void 0 &&
|
|
8338
|
+
V !== void 0 && Y !== void 0 && Rt(() => {
|
|
8324
8339
|
T.target === document.activeElement && z.indexOf(T.target.value) === 0 && T.target.setSelectionRange(V, Y);
|
|
8325
8340
|
});
|
|
8326
8341
|
}
|
|
@@ -8331,7 +8346,7 @@ const Cn = ot({
|
|
|
8331
8346
|
}
|
|
8332
8347
|
function v(T, z) {
|
|
8333
8348
|
r = () => {
|
|
8334
|
-
e = null, l.type !== "number" && c.hasOwnProperty("value") === !0 && delete c.value, l.modelValue !== T && i !== T && (i = T, z === !0 && (n = !0), I("update:modelValue", T),
|
|
8349
|
+
e = null, l.type !== "number" && c.hasOwnProperty("value") === !0 && delete c.value, l.modelValue !== T && i !== T && (i = T, z === !0 && (n = !0), I("update:modelValue", T), Rt(() => {
|
|
8335
8350
|
i === T && (i = NaN);
|
|
8336
8351
|
})), r = void 0;
|
|
8337
8352
|
}, l.type === "number" && (o = !0, c.value = T), l.debounce !== void 0 ? (e !== null && clearTimeout(e), c.value = T, e = setTimeout(r, l.debounce)) : r();
|
|
@@ -8358,7 +8373,7 @@ const Cn = ot({
|
|
|
8358
8373
|
}
|
|
8359
8374
|
jt(() => {
|
|
8360
8375
|
x();
|
|
8361
|
-
}),
|
|
8376
|
+
}), Vt(() => {
|
|
8362
8377
|
l.autogrow === !0 && w();
|
|
8363
8378
|
}), Object.assign(j, {
|
|
8364
8379
|
innerValue: s,
|
|
@@ -8699,7 +8714,7 @@ const rf = { class: "columns justify-end" }, gh = /* @__PURE__ */ Lt({
|
|
|
8699
8714
|
onBlur: h
|
|
8700
8715
|
}), {
|
|
8701
8716
|
append: Pe(() => [
|
|
8702
|
-
Ue(
|
|
8717
|
+
Ue(It, {
|
|
8703
8718
|
name: "event",
|
|
8704
8719
|
class: "cursor-pointer",
|
|
8705
8720
|
"data-testid": "calendar-icon-picker"
|
|
@@ -8950,7 +8965,7 @@ const rf = { class: "columns justify-end" }, gh = /* @__PURE__ */ Lt({
|
|
|
8950
8965
|
console.error("Error applying date preset:", z);
|
|
8951
8966
|
}
|
|
8952
8967
|
};
|
|
8953
|
-
return
|
|
8968
|
+
return Vt(() => {
|
|
8954
8969
|
P(), D(), h();
|
|
8955
8970
|
}), (T, z) => (Ce(), lt("div", nf, [
|
|
8956
8971
|
Qe("div", sf, [
|
|
@@ -8985,7 +9000,7 @@ const rf = { class: "columns justify-end" }, gh = /* @__PURE__ */ Lt({
|
|
|
8985
9000
|
clearable: ""
|
|
8986
9001
|
}), null, 16, ["model-value", "label", "data-cy", "rules", "disable", "required"]),
|
|
8987
9002
|
T.hideActions ? gt("", !0) : (Ce(), lt("div", af, [
|
|
8988
|
-
Ue(
|
|
9003
|
+
Ue(It, {
|
|
8989
9004
|
name: "event",
|
|
8990
9005
|
size: "30px",
|
|
8991
9006
|
class: "cursor-pointer calendar-icon",
|
|
@@ -9007,7 +9022,7 @@ const rf = { class: "columns justify-end" }, gh = /* @__PURE__ */ Lt({
|
|
|
9007
9022
|
z[0] || (z[0] = Qe("div", { class: "presets-title" }, "Périodes rapides :", -1)),
|
|
9008
9023
|
Qe("div", uf, [
|
|
9009
9024
|
Qe("div", cf, [
|
|
9010
|
-
(Ce(!0), lt(
|
|
9025
|
+
(Ce(!0), lt(Ut, null, Gt(u.value, (V) => (Ce(), nt(St, {
|
|
9011
9026
|
key: V.id,
|
|
9012
9027
|
label: V.label,
|
|
9013
9028
|
color: e.value === V.id ? "primary" : "grey-7",
|
|
@@ -9021,7 +9036,7 @@ const rf = { class: "columns justify-end" }, gh = /* @__PURE__ */ Lt({
|
|
|
9021
9036
|
}, null, 8, ["label", "color", "outline", "onClick", "data-cy"]))), 128))
|
|
9022
9037
|
]),
|
|
9023
9038
|
Qe("div", ff, [
|
|
9024
|
-
(Ce(!0), lt(
|
|
9039
|
+
(Ce(!0), lt(Ut, null, Gt(a.value, (V) => (Ce(), nt(St, {
|
|
9025
9040
|
key: V.id,
|
|
9026
9041
|
label: V.label,
|
|
9027
9042
|
color: e.value === V.id ? "primary" : "grey-7",
|
|
@@ -32246,7 +32261,7 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32246
32261
|
});
|
|
32247
32262
|
}
|
|
32248
32263
|
function r(s) {
|
|
32249
|
-
s !== void 0 && Dt(s), t("reset"),
|
|
32264
|
+
s !== void 0 && Dt(s), t("reset"), Rt(() => {
|
|
32250
32265
|
n(), l.autofocus === !0 && l.noResetFocus !== !0 && u();
|
|
32251
32266
|
});
|
|
32252
32267
|
}
|
|
@@ -32270,7 +32285,7 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32270
32285
|
a = !0;
|
|
32271
32286
|
}), An(() => {
|
|
32272
32287
|
a === !0 && l.autofocus === !0 && u();
|
|
32273
|
-
}),
|
|
32288
|
+
}), Vt(() => {
|
|
32274
32289
|
l.autofocus === !0 && u();
|
|
32275
32290
|
}), Object.assign(b.proxy, {
|
|
32276
32291
|
validate: o,
|
|
@@ -32368,14 +32383,14 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32368
32383
|
}), o = async () => {
|
|
32369
32384
|
m.value = !0, b("login", { ...i.value }), m.value = !1;
|
|
32370
32385
|
};
|
|
32371
|
-
return
|
|
32386
|
+
return Vt(() => {
|
|
32372
32387
|
Jo(c);
|
|
32373
32388
|
}), (n, e) => (Ce(), nt(wt(Fo), null, {
|
|
32374
32389
|
default: Pe(() => [
|
|
32375
32390
|
Ue(Go, { class: "login-page" }, {
|
|
32376
32391
|
default: Pe(() => [
|
|
32377
32392
|
Qe("div", Af, [
|
|
32378
|
-
(Ce(!0), lt(
|
|
32393
|
+
(Ce(!0), lt(Ut, null, Gt(c.value, (r, u) => (Ce(), lt("div", {
|
|
32379
32394
|
key: u,
|
|
32380
32395
|
class: "particle",
|
|
32381
32396
|
style: ir(wt(Zo)(r))
|
|
@@ -32420,7 +32435,7 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32420
32435
|
"data-cy": "username"
|
|
32421
32436
|
}, {
|
|
32422
32437
|
prepend: Pe(() => [
|
|
32423
|
-
Ue(
|
|
32438
|
+
Ue(It, {
|
|
32424
32439
|
name: "person",
|
|
32425
32440
|
color: "energy-green"
|
|
32426
32441
|
})
|
|
@@ -32440,7 +32455,7 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32440
32455
|
"data-cy": "password"
|
|
32441
32456
|
}, {
|
|
32442
32457
|
prepend: Pe(() => [
|
|
32443
|
-
Ue(
|
|
32458
|
+
Ue(It, {
|
|
32444
32459
|
name: "lock",
|
|
32445
32460
|
color: "energy-green"
|
|
32446
32461
|
})
|
|
@@ -32533,14 +32548,14 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32533
32548
|
const t = l, b = I, m = xe([]), c = xe([]), i = (n) => {
|
|
32534
32549
|
b("project-click", n);
|
|
32535
32550
|
}, o = (n) => t.disabledIds?.includes(n.id) ?? !1;
|
|
32536
|
-
return
|
|
32551
|
+
return Vt(() => {
|
|
32537
32552
|
Jo(m, t.particleColor), Cf(c);
|
|
32538
32553
|
}), (n, e) => (Ce(), nt(wt(Fo), null, {
|
|
32539
32554
|
default: Pe(() => [
|
|
32540
32555
|
Ue(Go, { class: "projects-page" }, {
|
|
32541
32556
|
default: Pe(() => [
|
|
32542
32557
|
Qe("div", Ff, [
|
|
32543
|
-
(Ce(!0), lt(
|
|
32558
|
+
(Ce(!0), lt(Ut, null, Gt(m.value, (r, u) => (Ce(), lt("div", {
|
|
32544
32559
|
key: u,
|
|
32545
32560
|
class: "particle",
|
|
32546
32561
|
style: ir(wt(Zo)(r))
|
|
@@ -32557,9 +32572,9 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32557
32572
|
}, _t(n.subtitle), 5)
|
|
32558
32573
|
]),
|
|
32559
32574
|
Qe("div", Lf, [
|
|
32560
|
-
(Ce(!0), lt(
|
|
32575
|
+
(Ce(!0), lt(Ut, null, Gt(n.projects, (r, u) => (Ce(), nt(En, {
|
|
32561
32576
|
key: u,
|
|
32562
|
-
class:
|
|
32577
|
+
class: Wt(["project-card", { "q-card--disabled": o(r) }]),
|
|
32563
32578
|
style: ir({
|
|
32564
32579
|
background: n.cardBackground,
|
|
32565
32580
|
"border-color": n.cardBorderColor
|
|
@@ -32575,7 +32590,7 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32575
32590
|
class: "project-icon",
|
|
32576
32591
|
style: ir({ color: n.iconColor })
|
|
32577
32592
|
}, [
|
|
32578
|
-
Ue(
|
|
32593
|
+
Ue(It, {
|
|
32579
32594
|
name: r.icon,
|
|
32580
32595
|
size: "xl"
|
|
32581
32596
|
}, null, 8, ["name"])
|
|
@@ -32625,7 +32640,7 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32625
32640
|
"--animation-speed": `${I.speed}s`
|
|
32626
32641
|
}));
|
|
32627
32642
|
return (b, m) => (Ce(), lt("div", {
|
|
32628
|
-
class:
|
|
32643
|
+
class: Wt(["selfee-loader", [b.size, b.variant]]),
|
|
32629
32644
|
style: ir(t.value)
|
|
32630
32645
|
}, [
|
|
32631
32646
|
Qe("img", {
|
|
@@ -32715,7 +32730,7 @@ const xf = /* @__PURE__ */ vf(wf), Xo = (l) => {
|
|
|
32715
32730
|
Ue(cn, { class: "dialog-header text-center" }, {
|
|
32716
32731
|
default: Pe(() => [
|
|
32717
32732
|
Qe("div", Vf, [
|
|
32718
|
-
Ue(
|
|
32733
|
+
Ue(It, {
|
|
32719
32734
|
name: i.icon,
|
|
32720
32735
|
color: i.color,
|
|
32721
32736
|
size: "lg",
|
|
@@ -32768,7 +32783,7 @@ function Yf(l = "sticky-filters-target") {
|
|
|
32768
32783
|
const I = xe(!1), t = () => {
|
|
32769
32784
|
document.getElementById(l) && (I.value = !0);
|
|
32770
32785
|
};
|
|
32771
|
-
return
|
|
32786
|
+
return Vt(() => {
|
|
32772
32787
|
t();
|
|
32773
32788
|
}), {
|
|
32774
32789
|
isTargetMounted: I,
|
|
@@ -32814,7 +32829,7 @@ const Qf = { class: "q-pa-md" }, Kf = { key: 1 }, _h = /* @__PURE__ */ Lt({
|
|
|
32814
32829
|
},
|
|
32815
32830
|
setup(l) {
|
|
32816
32831
|
return (I, t) => (Ce(), nt(En, {
|
|
32817
|
-
class:
|
|
32832
|
+
class: Wt([
|
|
32818
32833
|
"selfee-card",
|
|
32819
32834
|
`selfee-card--${I.colorScheme}`,
|
|
32820
32835
|
`selfee-card--${I.shadowIntensity}`,
|
|
@@ -32829,7 +32844,7 @@ const Qf = { class: "q-pa-md" }, Kf = { key: 1 }, _h = /* @__PURE__ */ Lt({
|
|
|
32829
32844
|
default: Pe(() => [
|
|
32830
32845
|
I.showHeader || I.$slots.header ? (Ce(), nt(cn, {
|
|
32831
32846
|
key: 0,
|
|
32832
|
-
class:
|
|
32847
|
+
class: Wt([
|
|
32833
32848
|
"selfee-card__header",
|
|
32834
32849
|
`selfee-card__header--${I.colorScheme}`,
|
|
32835
32850
|
{ "selfee-card__header--dense": I.dense }
|
|
@@ -32839,18 +32854,18 @@ const Qf = { class: "q-pa-md" }, Kf = { key: 1 }, _h = /* @__PURE__ */ Lt({
|
|
|
32839
32854
|
Kt(I.$slots, "header", {}, () => [
|
|
32840
32855
|
I.title ? (Ce(), lt("div", {
|
|
32841
32856
|
key: 0,
|
|
32842
|
-
class:
|
|
32857
|
+
class: Wt(["selfee-card__title", { "text-center": I.centerTitle }])
|
|
32843
32858
|
}, _t(I.title), 3)) : gt("", !0),
|
|
32844
32859
|
I.subtitle ? (Ce(), lt("div", {
|
|
32845
32860
|
key: 1,
|
|
32846
|
-
class:
|
|
32861
|
+
class: Wt(["selfee-card__subtitle q-mt-xs", { "text-center": I.centerTitle }])
|
|
32847
32862
|
}, _t(I.subtitle), 3)) : gt("", !0)
|
|
32848
32863
|
], !0)
|
|
32849
32864
|
]),
|
|
32850
32865
|
_: 3
|
|
32851
32866
|
}, 8, ["class"])) : gt("", !0),
|
|
32852
32867
|
Ue(cn, {
|
|
32853
|
-
class:
|
|
32868
|
+
class: Wt([
|
|
32854
32869
|
"selfee-card__content",
|
|
32855
32870
|
{ "selfee-card__content--no-padding": I.noPadding },
|
|
32856
32871
|
{ "selfee-card__content--dense": I.dense },
|
|
@@ -32862,10 +32877,10 @@ const Qf = { class: "q-pa-md" }, Kf = { key: 1 }, _h = /* @__PURE__ */ Lt({
|
|
|
32862
32877
|
]),
|
|
32863
32878
|
_: 3
|
|
32864
32879
|
}, 8, ["class"]),
|
|
32865
|
-
I.$slots.actions ? (Ce(), lt(
|
|
32880
|
+
I.$slots.actions ? (Ce(), lt(Ut, { key: 1 }, [
|
|
32866
32881
|
Ue(xn),
|
|
32867
32882
|
Ue(Ds, {
|
|
32868
|
-
class:
|
|
32883
|
+
class: Wt([
|
|
32869
32884
|
"selfee-card__actions",
|
|
32870
32885
|
{ "selfee-card__actions--dense": I.dense },
|
|
32871
32886
|
{ "selfee-card__actions--center": I.centerActions }
|
|
@@ -32943,10 +32958,10 @@ const $f = { class: "filters-controls" }, ed = { class: "visible-filters" }, td
|
|
|
32943
32958
|
b("reset");
|
|
32944
32959
|
}
|
|
32945
32960
|
return (u, a) => (Ce(), lt("div", {
|
|
32946
|
-
class:
|
|
32961
|
+
class: Wt(["smart-filters", u.containerClass])
|
|
32947
32962
|
}, [
|
|
32948
32963
|
Qe("div", {
|
|
32949
|
-
class:
|
|
32964
|
+
class: Wt(["main-row", u.rowClass])
|
|
32950
32965
|
}, [
|
|
32951
32966
|
Qe("div", $f, [
|
|
32952
32967
|
o.value ? (Ce(), nt(St, {
|
|
@@ -33001,7 +33016,7 @@ const $f = { class: "filters-controls" }, ed = { class: "visible-filters" }, td
|
|
|
33001
33016
|
default: Pe(() => [
|
|
33002
33017
|
Ue(Jf, null, {
|
|
33003
33018
|
default: Pe(() => [
|
|
33004
|
-
Ue(
|
|
33019
|
+
Ue(It, {
|
|
33005
33020
|
name: "filter_list",
|
|
33006
33021
|
class: "q-mr-sm"
|
|
33007
33022
|
}),
|
|
@@ -33090,8 +33105,8 @@ const $f = { class: "filters-controls" }, ed = { class: "visible-filters" }, td
|
|
|
33090
33105
|
from: i.value.from,
|
|
33091
33106
|
to: i.value.to
|
|
33092
33107
|
}));
|
|
33093
|
-
|
|
33094
|
-
await
|
|
33108
|
+
Vt(async () => {
|
|
33109
|
+
await Rt(), o.value = !0, e(), o.value = !1;
|
|
33095
33110
|
});
|
|
33096
33111
|
function e() {
|
|
33097
33112
|
if (r()) {
|
|
@@ -33340,7 +33355,7 @@ const $f = { class: "filters-controls" }, ed = { class: "visible-filters" }, td
|
|
|
33340
33355
|
if (i.sortable === !0) {
|
|
33341
33356
|
const r = i.align === "right" ? "unshift" : "push";
|
|
33342
33357
|
o = us(I.default, []), o[r](
|
|
33343
|
-
ie(
|
|
33358
|
+
ie(It, {
|
|
33344
33359
|
class: i.__iconClass,
|
|
33345
33360
|
name: m.iconSet.table.arrowUp
|
|
33346
33361
|
})
|
|
@@ -33561,7 +33576,7 @@ const ld = {
|
|
|
33561
33576
|
}
|
|
33562
33577
|
return as(() => {
|
|
33563
33578
|
o();
|
|
33564
|
-
}),
|
|
33579
|
+
}), Vt(() => {
|
|
33565
33580
|
h();
|
|
33566
33581
|
}), An(() => {
|
|
33567
33582
|
h();
|
|
@@ -33689,7 +33704,7 @@ function md() {
|
|
|
33689
33704
|
}
|
|
33690
33705
|
return as(() => {
|
|
33691
33706
|
m = document.createElement("span");
|
|
33692
|
-
}),
|
|
33707
|
+
}), Vt(() => {
|
|
33693
33708
|
I.fullscreen === !0 && n();
|
|
33694
33709
|
}), jt(e), Object.assign(b, {
|
|
33695
33710
|
toggleFullscreen: o,
|
|
@@ -33760,7 +33775,7 @@ function wd(l, I) {
|
|
|
33760
33775
|
return ze(
|
|
33761
33776
|
() => l.filter,
|
|
33762
33777
|
() => {
|
|
33763
|
-
|
|
33778
|
+
Rt(() => {
|
|
33764
33779
|
I({ page: 1 }, !0);
|
|
33765
33780
|
});
|
|
33766
33781
|
},
|
|
@@ -33803,7 +33818,7 @@ function _d(l, I) {
|
|
|
33803
33818
|
});
|
|
33804
33819
|
}
|
|
33805
33820
|
function n(r = {}) {
|
|
33806
|
-
|
|
33821
|
+
Rt(() => {
|
|
33807
33822
|
b("request", {
|
|
33808
33823
|
pagination: r.pagination || c.value,
|
|
33809
33824
|
filter: r.filter || t.filter,
|
|
@@ -34435,7 +34450,7 @@ const Od = ot({
|
|
|
34435
34450
|
if (oe.value === !0) {
|
|
34436
34451
|
if (l.hideNoData === !0) return;
|
|
34437
34452
|
const Oe = l.loading === !0 ? l.loadingLabel || m.lang.table.loading : l.filter ? l.noResultsLabel || m.lang.table.noResults : l.noDataLabel || m.lang.table.noData, De = I["no-data"], Re = De !== void 0 ? [De({ message: Oe, icon: m.iconSet.table.warning, filter: l.filter })] : [
|
|
34438
|
-
ie(
|
|
34453
|
+
ie(It, {
|
|
34439
34454
|
class: "q-table__bottom-nodata-icon",
|
|
34440
34455
|
name: m.iconSet.table.warning
|
|
34441
34456
|
}),
|
|
@@ -35075,7 +35090,7 @@ const zd = {
|
|
|
35075
35090
|
m("update:selected", $), m("selection-change", $);
|
|
35076
35091
|
},
|
|
35077
35092
|
{ deep: !0 }
|
|
35078
|
-
),
|
|
35093
|
+
), Vt(async () => {
|
|
35079
35094
|
if (b.useBuiltInPagination && k) {
|
|
35080
35095
|
try {
|
|
35081
35096
|
const $ = localStorage.getItem(b.persistKey || "table-pagination");
|
|
@@ -35270,7 +35285,7 @@ const zd = {
|
|
|
35270
35285
|
};
|
|
35271
35286
|
},
|
|
35272
35287
|
expandRow: ($) => ee($)
|
|
35273
|
-
}), ($, se) => (Ce(), lt(
|
|
35288
|
+
}), ($, se) => (Ce(), lt(Ut, null, [
|
|
35274
35289
|
i.value.length > 0 ? (Ce(), lt("div", zd, [
|
|
35275
35290
|
Qe("div", Vd, [
|
|
35276
35291
|
Ue(ns, {
|
|
@@ -35306,7 +35321,7 @@ const zd = {
|
|
|
35306
35321
|
], -1)),
|
|
35307
35322
|
Qe("div", Yd, [
|
|
35308
35323
|
Qe("div", Qd, [
|
|
35309
|
-
(Ce(!0), lt(
|
|
35324
|
+
(Ce(!0), lt(Ut, null, Gt($.columns.filter((ae) => !ae.isSelectionColumn), (ae) => (Ce(), nt(ko, {
|
|
35310
35325
|
key: ae.name,
|
|
35311
35326
|
clickable: "",
|
|
35312
35327
|
color: wt(p)(ae.name) ? "primary" : "grey-5",
|
|
@@ -35387,7 +35402,7 @@ const zd = {
|
|
|
35387
35402
|
"auto-width": "",
|
|
35388
35403
|
class: "expand-column"
|
|
35389
35404
|
})) : gt("", !0),
|
|
35390
|
-
(Ce(!0), lt(
|
|
35405
|
+
(Ce(!0), lt(Ut, null, Gt(ae.cols.filter((ue) => !ue.isSelectionColumn), (ue) => (Ce(), nt(yn, {
|
|
35391
35406
|
key: ue.name,
|
|
35392
35407
|
props: ae,
|
|
35393
35408
|
class: "column-header",
|
|
@@ -35398,19 +35413,19 @@ const zd = {
|
|
|
35398
35413
|
Qe("span", Xd, _t(ue.label), 1),
|
|
35399
35414
|
ue.sortable ? (Ce(), lt("div", {
|
|
35400
35415
|
key: 0,
|
|
35401
|
-
class:
|
|
35416
|
+
class: Wt(["sort-indicator", { active: me(ue.name).direction !== null }])
|
|
35402
35417
|
}, [
|
|
35403
|
-
me(ue.name).direction === null ? (Ce(), nt(
|
|
35418
|
+
me(ue.name).direction === null ? (Ce(), nt(It, {
|
|
35404
35419
|
key: 0,
|
|
35405
35420
|
name: "unfold_more",
|
|
35406
35421
|
size: "16px",
|
|
35407
35422
|
class: "q-ml-xs sort-hover-icon"
|
|
35408
|
-
})) : me(ue.name).direction === "asc" ? (Ce(), nt(
|
|
35423
|
+
})) : me(ue.name).direction === "asc" ? (Ce(), nt(It, {
|
|
35409
35424
|
key: 1,
|
|
35410
35425
|
name: "arrow_upward",
|
|
35411
35426
|
size: "16px",
|
|
35412
35427
|
class: "q-ml-xs sort-active-icon"
|
|
35413
|
-
})) : me(ue.name).direction === "desc" ? (Ce(), nt(
|
|
35428
|
+
})) : me(ue.name).direction === "desc" ? (Ce(), nt(It, {
|
|
35414
35429
|
key: 2,
|
|
35415
35430
|
name: "arrow_downward",
|
|
35416
35431
|
size: "16px",
|
|
@@ -35418,7 +35433,7 @@ const zd = {
|
|
|
35418
35433
|
})) : gt("", !0),
|
|
35419
35434
|
me(ue.name).order > 0 ? (Ce(), lt("span", {
|
|
35420
35435
|
key: 3,
|
|
35421
|
-
class:
|
|
35436
|
+
class: Wt(["sort-order-badge", { "two-digits": me(ue.name).order > 9 }])
|
|
35422
35437
|
}, _t(me(ue.name).order), 3)) : gt("", !0)
|
|
35423
35438
|
], 2)) : gt("", !0),
|
|
35424
35439
|
$.showColumnToggle ? (Ce(), nt(St, {
|
|
@@ -35461,11 +35476,11 @@ const zd = {
|
|
|
35461
35476
|
}, 1032, ["props"])
|
|
35462
35477
|
]),
|
|
35463
35478
|
body: Pe((ae) => [
|
|
35464
|
-
$.showSkeleton ? (Ce(), lt(
|
|
35479
|
+
$.showSkeleton ? (Ce(), lt(Ut, { key: 0 }, Gt(5, (ue) => Ue(Kn, {
|
|
35465
35480
|
key: `skeleton-${ue}`
|
|
35466
35481
|
}, {
|
|
35467
35482
|
default: Pe(() => [
|
|
35468
|
-
(Ce(!0), lt(
|
|
35483
|
+
(Ce(!0), lt(Ut, null, Gt(E.value.filter((be) => !be.isSelectionColumn), (be) => (Ce(), nt(qi, {
|
|
35469
35484
|
key: be.name
|
|
35470
35485
|
}, {
|
|
35471
35486
|
default: Pe(() => [
|
|
@@ -35485,7 +35500,7 @@ const zd = {
|
|
|
35485
35500
|
key: 1,
|
|
35486
35501
|
"data-cy": `row-${ae.row[$.rowKey]}`,
|
|
35487
35502
|
props: ae,
|
|
35488
|
-
class:
|
|
35503
|
+
class: Wt([
|
|
35489
35504
|
{ "bg-grey-3": ae.row.archived },
|
|
35490
35505
|
Y(ae.row),
|
|
35491
35506
|
v(ae.row) ? "selected-row" : ""
|
|
@@ -35521,7 +35536,7 @@ const zd = {
|
|
|
35521
35536
|
}, null, 8, ["data-cy", "icon", "onClick"])) : gt("", !0)
|
|
35522
35537
|
], !0)
|
|
35523
35538
|
])) : gt("", !0),
|
|
35524
|
-
(Ce(!0), lt(
|
|
35539
|
+
(Ce(!0), lt(Ut, null, Gt(ae.cols.filter((ue) => !ue.isSelectionColumn), (ue) => (Ce(), lt("td", {
|
|
35525
35540
|
key: ue.name,
|
|
35526
35541
|
onClick: jr((be) => Q(ae.row, ue.name), ["stop"]),
|
|
35527
35542
|
class: "data-cell"
|
|
@@ -35540,14 +35555,14 @@ const zd = {
|
|
|
35540
35555
|
rounded: wt(fr)(ae.row, ue).badgeConfig?.rounded,
|
|
35541
35556
|
size: wt(fr)(ae.row, ue).badgeConfig?.size,
|
|
35542
35557
|
icon: wt(fr)(ae.row, ue).badgeConfig?.icon,
|
|
35543
|
-
class:
|
|
35558
|
+
class: Wt(wt(fr)(ae.row, ue).badgeConfig?.class)
|
|
35544
35559
|
}, {
|
|
35545
35560
|
default: Pe(() => [
|
|
35546
35561
|
lr(_t(wt(fr)(ae.row, ue).badgeConfig?.label), 1)
|
|
35547
35562
|
]),
|
|
35548
35563
|
_: 2
|
|
35549
35564
|
}, 1032, ["color", "outline", "rounded", "size", "icon", "class"])) : (Ce(), lt("span", eh, _t(wt(fr)(ae.row, ue).value), 1)),
|
|
35550
|
-
(Ce(!0), lt(
|
|
35565
|
+
(Ce(!0), lt(Ut, null, Gt(O(ae.row, ue.name), (be) => (Ce(), lt(Ut, {
|
|
35551
35566
|
key: be.id
|
|
35552
35567
|
}, [
|
|
35553
35568
|
be.isButton ? (Ce(), nt(St, er({
|
|
@@ -35560,7 +35575,7 @@ const zd = {
|
|
|
35560
35575
|
}, { ref_for: !0 }, be.buttonProps || {}, {
|
|
35561
35576
|
"data-cy": wt(Jn)(be, ae.row, $.rowKey),
|
|
35562
35577
|
onClick: jr((Me) => X(be, ae.row), ["stop"])
|
|
35563
|
-
}), null, 16, ["color", "size", "class", "disabled", "label", "data-cy", "onClick"])) : (Ce(), nt(
|
|
35578
|
+
}), null, 16, ["color", "size", "class", "disabled", "label", "data-cy", "onClick"])) : (Ce(), nt(It, {
|
|
35564
35579
|
key: 1,
|
|
35565
35580
|
class: "cursor-pointer q-ml-sm",
|
|
35566
35581
|
name: be.icon,
|
|
@@ -35584,10 +35599,10 @@ const zd = {
|
|
|
35584
35599
|
], !0)
|
|
35585
35600
|
], 8, Zd))), 128)),
|
|
35586
35601
|
Ue(qi, {
|
|
35587
|
-
class:
|
|
35602
|
+
class: Wt(["row items-center justify-center no-wrap actions-cell", Y(ae.row)])
|
|
35588
35603
|
}, {
|
|
35589
35604
|
default: Pe(() => [
|
|
35590
|
-
(Ce(!0), lt(
|
|
35605
|
+
(Ce(!0), lt(Ut, null, Gt(H(ae.row), (ue) => (Ce(), lt(Ut, {
|
|
35591
35606
|
key: ue.id
|
|
35592
35607
|
}, [
|
|
35593
35608
|
ue.isButton ? (Ce(), nt(St, er({
|
|
@@ -35600,7 +35615,7 @@ const zd = {
|
|
|
35600
35615
|
}, { ref_for: !0 }, ue.buttonProps || {}, {
|
|
35601
35616
|
"data-cy": wt(Jn)(ue, ae.row, $.rowKey),
|
|
35602
35617
|
onClick: jr((be) => X(ue, ae.row), ["stop"])
|
|
35603
|
-
}), null, 16, ["color", "size", "class", "disabled", "label", "data-cy", "onClick"])) : (Ce(), nt(
|
|
35618
|
+
}), null, 16, ["color", "size", "class", "disabled", "label", "data-cy", "onClick"])) : (Ce(), nt(It, {
|
|
35604
35619
|
key: 1,
|
|
35605
35620
|
class: "cursor-pointer q-mr-sm",
|
|
35606
35621
|
name: ue.icon,
|