@anzusystems/common-admin 1.47.0-beta.240 → 1.47.0-beta.241
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/labs.js +202 -199
- package/dist/labs.js.map +1 -1
- package/package.json +1 -1
package/dist/labs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { reactive as Gt, defineComponent as ne, inject as x, computed as E, createBlock as H, openBlock as I, withModifiers as X, mergeProps as De, watch as ue, ref as D, createSlots as It, withCtx as
|
|
1
|
+
import { reactive as Gt, defineComponent as ne, inject as x, computed as E, createBlock as H, openBlock as I, withModifiers as X, mergeProps as De, watch as ue, ref as D, createSlots as It, withCtx as A, createVNode as F, unref as U, mergeModels as $e, useModel as Ne, createElementBlock as J, createCommentVNode as ie, createTextVNode as ee, toDisplayString as V, renderSlot as ae, resolveComponent as ze, Fragment as ye, normalizeClass as Ve, renderList as xe, createElementVNode as le, toRaw as St, resolveDynamicComponent as Ca, useTemplateRef as Qt, nextTick as Ee, onMounted as Yt, provide as tt, withDirectives as Xt, vShow as Zt } from "vue";
|
|
2
2
|
import { useI18n as ce } from "vue-i18n";
|
|
3
|
-
import { g as Le, p as M, d as h, x as se, ay as he, j as me, h as L, t as Mt, q as ea, r as kt, bt as ka, bu as _a, n as We, G as
|
|
3
|
+
import { g as Le, p as M, d as h, x as se, ay as he, j as me, h as L, t as Mt, q as ea, r as kt, bt as ka, bu as _a, n as We, G as Fa, bh as Pt, u as Aa, i as re, a as Sa, S as Ba, c as wa, s as Ta, e as Ia, ao as ta, H as Ge, m as $t, bv as _t, l as Et, o as Re, a5 as qt, _ as Pa, A as aa, f as Bt, bb as $a, b9 as Ea, b8 as Da, bw as Ft, a6 as lt, a7 as ot, a8 as nt, a9 as la, aa as oa, ab as st, ac as Ue, aG as rt, ad as it, ae as ut, af as ct, ag as dt, ah as mt, ai as ft, aj as vt, ak as pt, as as zt, aT as Ht, aU as xa, aH as Ua, br as Oa, B as na, D as sa, aE as ra, k as Ra, al as ja, aw as Na, F as La, aK as Ma, an as qa, a1 as za, bx as Ha } from "./enum-CuskSG-t.mjs";
|
|
4
4
|
import { VSelect as ia } from "vuetify/components/VSelect";
|
|
5
5
|
import { VTextField as ua } from "vuetify/components/VTextField";
|
|
6
6
|
import { watchDebounced as Dt, useResizeObserver as Va, watchThrottled as Ka, useDebounceFn as Wa } from "@vueuse/core";
|
|
@@ -25,7 +25,7 @@ import { VSlideYTransition as Xa } from "vuetify/components/transitions";
|
|
|
25
25
|
import { VBtnToggle as Za } from "vuetify/components/VBtnToggle";
|
|
26
26
|
import { VToolbar as el } from "vuetify/components/VToolbar";
|
|
27
27
|
import { Intersect as tl } from "vuetify/directives";
|
|
28
|
-
const ge = Symbol.for("anzu:FilterDataKey"), ve = Symbol.for("anzu:FilterConfigKey"), jt = Symbol.for("anzu:FilterInnerDataKey"), Nt = Symbol.for("anzu:FilterInnerConfigKey"), _e = Symbol.for("anzu:FilterSubmitResetCounterKey"), be = Symbol.for("anzu:FilterSelectedKey"), gt = Symbol.for("anzu:DatatablePaginationKey"),
|
|
28
|
+
const ge = Symbol.for("anzu:FilterDataKey"), ve = Symbol.for("anzu:FilterConfigKey"), jt = Symbol.for("anzu:FilterInnerDataKey"), Nt = Symbol.for("anzu:FilterInnerConfigKey"), _e = Symbol.for("anzu:FilterSubmitResetCounterKey"), be = Symbol.for("anzu:FilterSelectedKey"), gt = Symbol.for("anzu:DatatablePaginationKey"), At = "_sort", al = {
|
|
29
29
|
skip: !1,
|
|
30
30
|
xs: void 0,
|
|
31
31
|
sm: void 0,
|
|
@@ -83,7 +83,7 @@ function ol(f, m, e) {
|
|
|
83
83
|
function Pe(f, m) {
|
|
84
84
|
return h(f) ? m : f;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Fe() {
|
|
87
87
|
const f = (e, l, y) => {
|
|
88
88
|
y.fields[e]?.clearable && (l[e] = Le(y.fields[e].default));
|
|
89
89
|
};
|
|
@@ -119,7 +119,7 @@ function Lt(f, m, e = {}) {
|
|
|
119
119
|
const B = i[k];
|
|
120
120
|
h(B) || L(B) || M(B) && Mt(B) || ea(B) && kt(B) || se(B) && B.length === 0 || (M(B) ? S.set(k, B.join(",")) : S.set(k, String(B)));
|
|
121
121
|
}
|
|
122
|
-
return _ && w.value.sortBy && S.set(
|
|
122
|
+
return _ && w.value.sortBy && S.set(At, `${w.value.sortBy.key},${w.value.sortBy.order}`), S.size === 0 ? "" : S.toString() + y;
|
|
123
123
|
}, a = (i) => {
|
|
124
124
|
if (!i) return null;
|
|
125
125
|
if (i.startsWith("#") && (i = i.substring(1)), i.endsWith(y))
|
|
@@ -133,10 +133,10 @@ function Lt(f, m, e = {}) {
|
|
|
133
133
|
}
|
|
134
134
|
const w = new URLSearchParams(i), _ = {};
|
|
135
135
|
let S = null;
|
|
136
|
-
const k = w.get(
|
|
136
|
+
const k = w.get(At);
|
|
137
137
|
if (k) {
|
|
138
138
|
const [B, P] = k.split(",");
|
|
139
|
-
B && (P === me.Asc || P === me.Desc) && (S = { key: B, order: P }), w.delete(
|
|
139
|
+
B && (P === me.Asc || P === me.Desc) && (S = { key: B, order: P }), w.delete(At);
|
|
140
140
|
}
|
|
141
141
|
for (const [B, P] of w.entries())
|
|
142
142
|
if (m.fields[B].multiple ?? !1) {
|
|
@@ -225,7 +225,7 @@ const sl = /* @__PURE__ */ ne({
|
|
|
225
225
|
{ value: -1, title: c(e.allT) },
|
|
226
226
|
{ value: 1, title: c(e.trueT) },
|
|
227
227
|
{ value: 0, title: c(e.falseT) }
|
|
228
|
-
]), { clearOne: d } =
|
|
228
|
+
]), { clearOne: d } = Fe(), n = () => {
|
|
229
229
|
d(e.name, t, o), r.value.delete(e.name);
|
|
230
230
|
}, p = () => {
|
|
231
231
|
if (a.value.value === -1) {
|
|
@@ -267,12 +267,12 @@ const sl = /* @__PURE__ */ ne({
|
|
|
267
267
|
set(p) {
|
|
268
268
|
t[e.name] = p, n(), o.touched = !0, l("change");
|
|
269
269
|
}
|
|
270
|
-
}), { t: v } = ce(), c = E(() => o.fields[e.name]), u = E(() => c.value.titleT ? v(c.value.titleT) : void 0), { clearOne: g } =
|
|
270
|
+
}), { t: v } = ce(), c = E(() => o.fields[e.name]), u = E(() => c.value.titleT ? v(c.value.titleT) : void 0), { clearOne: g } = Fe(), d = () => {
|
|
271
271
|
g(e.name, t, o), r.value.delete(e.name);
|
|
272
272
|
}, n = () => {
|
|
273
273
|
!se(a.value) || se(a.value) && a.value.length === 0 || r.value.set(e.name, [{ title: We(a.value), value: a.value }]);
|
|
274
274
|
};
|
|
275
|
-
return (p, s) => (I(), H(
|
|
275
|
+
return (p, s) => (I(), H(Fa, De({
|
|
276
276
|
modelValue: a.value,
|
|
277
277
|
"onUpdate:modelValue": s[0] || (s[0] = (i) => a.value = i),
|
|
278
278
|
"data-cy": p.dataCy,
|
|
@@ -302,7 +302,7 @@ const sl = /* @__PURE__ */ ne({
|
|
|
302
302
|
set(s) {
|
|
303
303
|
t[e.name] = s, o.touched = !0, l("change");
|
|
304
304
|
}
|
|
305
|
-
}), v = E(() => o.fields[e.name]), { t: c } = ce(), u = E(() => v.value.titleT ? c(v.value.titleT) : void 0), g = E(() => h(e.placeholder) ? v.value.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : v.value.variant === "eq" ? c("common.model.filterPlaceholder.eq") : v.value.variant === "search" ? c("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: d } =
|
|
305
|
+
}), v = E(() => o.fields[e.name]), { t: c } = ce(), u = E(() => v.value.titleT ? c(v.value.titleT) : void 0), g = E(() => h(e.placeholder) ? v.value.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : v.value.variant === "eq" ? c("common.model.filterPlaceholder.eq") : v.value.variant === "search" ? c("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: d } = Fe(), n = () => {
|
|
306
306
|
d(e.name, t, o), r.value.delete(e.name);
|
|
307
307
|
}, p = () => {
|
|
308
308
|
!se(a.value) || se(a.value) && a.value.length === 0 || r.value.set(e.name, [{ title: a.value, value: a.value }]);
|
|
@@ -409,7 +409,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
409
409
|
}, de = E(() => {
|
|
410
410
|
if (!s.value.multiple && k.value[0])
|
|
411
411
|
return k.value[0].title;
|
|
412
|
-
}),
|
|
412
|
+
}), Ae = (b) => {
|
|
413
413
|
!s.value.multiple && !g.value && b.length === 0 || de.value !== b && (u.value = b);
|
|
414
414
|
}, Se = (b) => {
|
|
415
415
|
o.touched = !0;
|
|
@@ -417,7 +417,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
417
417
|
M(b) ? T = b.map((O) => O.value) : L(b) || (T = b.value), t[e.name] = T, l("change");
|
|
418
418
|
}, Ce = async () => {
|
|
419
419
|
S.value = await e.fetchItems(_, v, a), Te();
|
|
420
|
-
}, Be = E(() => h(e.placeholder) ? s.value.variant === "startsWith" ? p("common.model.filterPlaceholder.startsWith") : s.value.variant === "eq" ? p("common.model.filterPlaceholder.eq") : s.value.variant === "search" ? p("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: we } =
|
|
420
|
+
}, Be = E(() => h(e.placeholder) ? s.value.variant === "startsWith" ? p("common.model.filterPlaceholder.startsWith") : s.value.variant === "eq" ? p("common.model.filterPlaceholder.eq") : s.value.variant === "search" ? p("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: we } = Fe(), Te = () => {
|
|
421
421
|
we(e.name, t, o), r.value.delete(e.name);
|
|
422
422
|
}, fe = (b) => {
|
|
423
423
|
if (r.value.delete(e.name), M(b) && b.length === 0 || L(b)) {
|
|
@@ -478,14 +478,14 @@ const No = /* @__PURE__ */ ne({
|
|
|
478
478
|
"hide-details": "",
|
|
479
479
|
"return-object": "",
|
|
480
480
|
autocomplete: "off",
|
|
481
|
-
"onUpdate:search":
|
|
481
|
+
"onUpdate:search": Ae,
|
|
482
482
|
onBlur: i,
|
|
483
483
|
onFocus: Y,
|
|
484
484
|
onMouseenter: te,
|
|
485
485
|
"onClick:clear": Ce
|
|
486
486
|
}, It({
|
|
487
|
-
item:
|
|
488
|
-
|
|
487
|
+
item: A(({ props: O, item: K }) => [
|
|
488
|
+
F(Me, De(O, {
|
|
489
489
|
title: K.raw.title,
|
|
490
490
|
subtitle: K.raw.subtitle
|
|
491
491
|
}), null, 16, ["title", "subtitle"])
|
|
@@ -494,8 +494,8 @@ const No = /* @__PURE__ */ ne({
|
|
|
494
494
|
}, [
|
|
495
495
|
P.value ? {
|
|
496
496
|
name: "no-data",
|
|
497
|
-
fn:
|
|
498
|
-
|
|
497
|
+
fn: A(() => [
|
|
498
|
+
F(Me, {
|
|
499
499
|
title: U(p)("$vuetify.loading")
|
|
500
500
|
}, null, 8, ["title"])
|
|
501
501
|
]),
|
|
@@ -557,7 +557,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
557
557
|
set(C) {
|
|
558
558
|
return M(C) ? Le(C) : C;
|
|
559
559
|
}
|
|
560
|
-
}), a = D(null), v = D(0), { collabOptions: c } =
|
|
560
|
+
}), a = D(null), v = D(0), { collabOptions: c } = Aa(), u = D((C) => {
|
|
561
561
|
}), g = D((C) => {
|
|
562
562
|
}), d = D(() => {
|
|
563
563
|
}), n = D(null);
|
|
@@ -588,7 +588,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
588
588
|
}), $.value.forEach((W) => {
|
|
589
589
|
C.set(W.value, { value: W.value, title: W.title, subtitle: W.subtitle });
|
|
590
590
|
}), Array.from(C, ([W, j]) => ({ value: W, title: j.title, subtitle: j.subtitle }));
|
|
591
|
-
}), te = D(!1), de = E(() => te.value ? !0 : e.loading),
|
|
591
|
+
}), te = D(!1), de = E(() => te.value ? !0 : e.loading), Ae = async (C, W) => {
|
|
592
592
|
te.value = !0, r[e.filterByField] = C;
|
|
593
593
|
const j = await e.fetchItems(G, r, y);
|
|
594
594
|
W === v.value && ($.value = j), te.value = !1;
|
|
@@ -624,7 +624,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
624
624
|
Dt(
|
|
625
625
|
p,
|
|
626
626
|
(C, W) => {
|
|
627
|
-
C.length < e.searchMinChars || C !== W && (v.value++,
|
|
627
|
+
C.length < e.searchMinChars || C !== W && (v.value++, Ae(C, v.value), l("searchChangeDebounced", C));
|
|
628
628
|
},
|
|
629
629
|
{ debounce: 300 }
|
|
630
630
|
), ue(p, (C, W) => {
|
|
@@ -698,27 +698,27 @@ const No = /* @__PURE__ */ ne({
|
|
|
698
698
|
onMouseenter: b,
|
|
699
699
|
"onClick:clear": K
|
|
700
700
|
}, It({
|
|
701
|
-
item:
|
|
702
|
-
|
|
701
|
+
item: A(({ props: j, item: oe }) => [
|
|
702
|
+
F(Me, De(j, {
|
|
703
703
|
title: oe.raw.title,
|
|
704
704
|
subtitle: oe.raw.subtitle
|
|
705
705
|
}), null, 16, ["title", "subtitle"])
|
|
706
706
|
]),
|
|
707
|
-
chip:
|
|
708
|
-
|
|
707
|
+
chip: A(({ props: j, item: oe }) => [
|
|
708
|
+
F(xt, {
|
|
709
709
|
closable: j.closable,
|
|
710
710
|
size: "small",
|
|
711
711
|
text: `${oe.title} (${oe.raw.subtitle})`,
|
|
712
712
|
disabled: oe.props.disabled
|
|
713
713
|
}, {
|
|
714
|
-
default:
|
|
714
|
+
default: A(() => [
|
|
715
715
|
ee(V(oe.raw.title) + " ", 1),
|
|
716
716
|
oe.raw.subtitle ? (I(), J("span", cl, " (" + V(oe.raw.subtitle) + ") ", 1)) : ie("", !0)
|
|
717
717
|
]),
|
|
718
718
|
_: 2
|
|
719
719
|
}, 1032, ["closable", "text", "disabled"])
|
|
720
720
|
]),
|
|
721
|
-
label:
|
|
721
|
+
label: A(() => [
|
|
722
722
|
C.hideLabel ? ie("", !0) : (I(), J("span", {
|
|
723
723
|
key: N.value + ""
|
|
724
724
|
}, [
|
|
@@ -730,7 +730,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
730
730
|
}, [
|
|
731
731
|
n.value ? {
|
|
732
732
|
name: "append-inner",
|
|
733
|
-
fn:
|
|
733
|
+
fn: A(() => [
|
|
734
734
|
ae(C.$slots, "locked", { userId: n.value }, () => [
|
|
735
735
|
C.collab ? (I(), H(Ia, {
|
|
736
736
|
key: 0,
|
|
@@ -799,7 +799,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
799
799
|
}, de = E(() => {
|
|
800
800
|
if (!s.value.multiple && k.value[0])
|
|
801
801
|
return k.value[0].title;
|
|
802
|
-
}),
|
|
802
|
+
}), Ae = (b) => {
|
|
803
803
|
!s.value.multiple && !g.value && b.length === 0 || de.value !== b && (u.value = b);
|
|
804
804
|
}, Se = (b) => {
|
|
805
805
|
o.touched = !0;
|
|
@@ -807,7 +807,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
807
807
|
M(b) ? T = b.map((O) => O.value) : L(b) || (T = b.value), t[e.name] = T, l("change");
|
|
808
808
|
}, Ce = async () => {
|
|
809
809
|
S.value = await e.fetchItemsMinimal(_, v, a), Te();
|
|
810
|
-
}, Be = E(() => h(e.placeholder) ? s.value.variant === "startsWith" ? p("common.model.filterPlaceholder.startsWith") : s.value.variant === "eq" ? p("common.model.filterPlaceholder.eq") : s.value.variant === "search" ? p("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: we } =
|
|
810
|
+
}, Be = E(() => h(e.placeholder) ? s.value.variant === "startsWith" ? p("common.model.filterPlaceholder.startsWith") : s.value.variant === "eq" ? p("common.model.filterPlaceholder.eq") : s.value.variant === "search" ? p("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: we } = Fe(), Te = () => {
|
|
811
811
|
we(e.name, t, o), r.value.delete(e.name);
|
|
812
812
|
}, fe = (b) => {
|
|
813
813
|
if (r.value.delete(e.name), M(b) && b.length === 0 || L(b)) {
|
|
@@ -868,29 +868,29 @@ const No = /* @__PURE__ */ ne({
|
|
|
868
868
|
"hide-details": "",
|
|
869
869
|
"return-object": "",
|
|
870
870
|
autocomplete: "off",
|
|
871
|
-
"onUpdate:search":
|
|
871
|
+
"onUpdate:search": Ae,
|
|
872
872
|
onBlur: i,
|
|
873
873
|
onFocus: Y,
|
|
874
874
|
onMouseenter: te,
|
|
875
875
|
"onClick:clear": Ce
|
|
876
876
|
}, {
|
|
877
|
-
item:
|
|
877
|
+
item: A(({ props: O, item: K }) => [
|
|
878
878
|
ae(b.$slots, "item", {
|
|
879
879
|
item: K,
|
|
880
880
|
props: O
|
|
881
881
|
}, () => [
|
|
882
|
-
|
|
882
|
+
F(Me, De(O, {
|
|
883
883
|
title: K.raw.title,
|
|
884
884
|
subtitle: K.raw.subtitle
|
|
885
885
|
}), null, 16, ["title", "subtitle"])
|
|
886
886
|
])
|
|
887
887
|
]),
|
|
888
|
-
chip:
|
|
888
|
+
chip: A(({ props: O, item: K }) => [
|
|
889
889
|
ae(b.$slots, "chip", {
|
|
890
890
|
props: O,
|
|
891
891
|
item: K
|
|
892
892
|
}, () => [
|
|
893
|
-
|
|
893
|
+
F(xt, De(O, {
|
|
894
894
|
text: K.title
|
|
895
895
|
}), null, 16, ["text"])
|
|
896
896
|
])
|
|
@@ -919,7 +919,7 @@ const No = /* @__PURE__ */ ne({
|
|
|
919
919
|
set(s) {
|
|
920
920
|
t[e.name] = s, o.touched = !0, l("change");
|
|
921
921
|
}
|
|
922
|
-
}), v = E(() => o.fields[e.name]), { t: c } = ce(), u = E(() => v.value.titleT ? c(v.value.titleT) : void 0), g = E(() => h(e.placeholder) ? v.value.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : v.value.variant === "eq" ? c("common.model.filterPlaceholder.eq") : v.value.variant === "search" ? c("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: d } =
|
|
922
|
+
}), v = E(() => o.fields[e.name]), { t: c } = ce(), u = E(() => v.value.titleT ? c(v.value.titleT) : void 0), g = E(() => h(e.placeholder) ? v.value.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : v.value.variant === "eq" ? c("common.model.filterPlaceholder.eq") : v.value.variant === "search" ? c("common.model.filterPlaceholder.contains") : "" : e.placeholder), { clearOne: d } = Fe(), n = () => {
|
|
923
923
|
d(e.name, t, o), r.value.delete(e.name);
|
|
924
924
|
}, p = () => {
|
|
925
925
|
if (se(a.value)) {
|
|
@@ -1047,7 +1047,7 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1047
1047
|
}), { timeIntervalOptions: v, getTimeIntervalOption: c } = fl(e.allowed), u = D(null), g = D(!1), d = D({
|
|
1048
1048
|
from: null,
|
|
1049
1049
|
until: Ge()
|
|
1050
|
-
}), n = D(!1), { v$: p } = vl(d), s = E(() => o.fields[e.nameFrom]), { t: i } = ce(), w = E(() => s.value.titleT ? i(s.value.titleT) : void 0), { clearOne: _ } =
|
|
1050
|
+
}), n = D(!1), { v$: p } = vl(d), s = E(() => o.fields[e.nameFrom]), { t: i } = ce(), w = E(() => s.value.titleT ? i(s.value.titleT) : void 0), { clearOne: _ } = Fe(), { showValidationError: S } = $t(), k = () => {
|
|
1051
1051
|
n.value = !1, u.value = null, N();
|
|
1052
1052
|
}, B = () => {
|
|
1053
1053
|
if (p.value.$touch(), p.value.$invalid) {
|
|
@@ -1137,9 +1137,9 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1137
1137
|
autocomplete: "off",
|
|
1138
1138
|
"onClick:clear": X(k, ["stop"])
|
|
1139
1139
|
}, {
|
|
1140
|
-
item:
|
|
1141
|
-
|
|
1142
|
-
onClick: (Se) => G(
|
|
1140
|
+
item: A(({ props: de, item: Ae }) => [
|
|
1141
|
+
F(Me, De(de, {
|
|
1142
|
+
onClick: (Se) => G(Ae)
|
|
1143
1143
|
}), null, 16, ["onClick"])
|
|
1144
1144
|
]),
|
|
1145
1145
|
_: 1
|
|
@@ -1150,22 +1150,22 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1150
1150
|
width: "auto",
|
|
1151
1151
|
"min-width": 360
|
|
1152
1152
|
}, {
|
|
1153
|
-
default:
|
|
1154
|
-
|
|
1155
|
-
default:
|
|
1156
|
-
|
|
1157
|
-
default:
|
|
1153
|
+
default: A(() => [
|
|
1154
|
+
F(Ut, null, {
|
|
1155
|
+
default: A(() => [
|
|
1156
|
+
F(Et, { onOnCancel: P }, {
|
|
1157
|
+
default: A(() => [
|
|
1158
1158
|
ae($.$slots, "title", {}, () => [
|
|
1159
1159
|
ee(V(w.value), 1)
|
|
1160
1160
|
], !0)
|
|
1161
1161
|
]),
|
|
1162
1162
|
_: 3
|
|
1163
1163
|
}),
|
|
1164
|
-
|
|
1165
|
-
default:
|
|
1166
|
-
|
|
1167
|
-
default:
|
|
1168
|
-
|
|
1164
|
+
F(ma, null, {
|
|
1165
|
+
default: A(() => [
|
|
1166
|
+
F(Re, null, {
|
|
1167
|
+
default: A(() => [
|
|
1168
|
+
F(qt, {
|
|
1169
1169
|
modelValue: d.value.from,
|
|
1170
1170
|
"onUpdate:modelValue": R[2] || (R[2] = (de) => d.value.from = de),
|
|
1171
1171
|
v: U(p).dialogData.from,
|
|
@@ -1175,9 +1175,9 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1175
1175
|
]),
|
|
1176
1176
|
_: 1
|
|
1177
1177
|
}),
|
|
1178
|
-
|
|
1179
|
-
default:
|
|
1180
|
-
|
|
1178
|
+
F(Re, null, {
|
|
1179
|
+
default: A(() => [
|
|
1180
|
+
F(qt, {
|
|
1181
1181
|
modelValue: d.value.until,
|
|
1182
1182
|
"onUpdate:modelValue": R[3] || (R[3] = (de) => d.value.until = de),
|
|
1183
1183
|
v: U(p).dialogData.until,
|
|
@@ -1190,23 +1190,23 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1190
1190
|
]),
|
|
1191
1191
|
_: 1
|
|
1192
1192
|
}),
|
|
1193
|
-
|
|
1194
|
-
default:
|
|
1195
|
-
|
|
1196
|
-
|
|
1193
|
+
F(fa, null, {
|
|
1194
|
+
default: A(() => [
|
|
1195
|
+
F(Rt),
|
|
1196
|
+
F(Y, {
|
|
1197
1197
|
"data-cy": "button-cancel",
|
|
1198
1198
|
onClick: X(P, ["stop"])
|
|
1199
1199
|
}, {
|
|
1200
|
-
default:
|
|
1200
|
+
default: A(() => [
|
|
1201
1201
|
ee(V(U(i)("common.button.cancel")), 1)
|
|
1202
1202
|
]),
|
|
1203
1203
|
_: 1
|
|
1204
1204
|
}),
|
|
1205
|
-
|
|
1205
|
+
F(te, {
|
|
1206
1206
|
"data-cy": "button-confirm",
|
|
1207
1207
|
onClick: X(B, ["stop"])
|
|
1208
1208
|
}, {
|
|
1209
|
-
default:
|
|
1209
|
+
default: A(() => [
|
|
1210
1210
|
ee(V(U(i)("common.button.confirm")), 1)
|
|
1211
1211
|
]),
|
|
1212
1212
|
_: 1
|
|
@@ -1243,7 +1243,7 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1243
1243
|
set(p) {
|
|
1244
1244
|
t[e.name] = p, n(), o.touched = !0, l("change");
|
|
1245
1245
|
}
|
|
1246
|
-
}), v = E(() => o.fields[e.name]), { t: c } = ce(), u = E(() => v.value.titleT ? c(v.value.titleT) : void 0), { clearOne: g } =
|
|
1246
|
+
}), v = E(() => o.fields[e.name]), { t: c } = ce(), u = E(() => v.value.titleT ? c(v.value.titleT) : void 0), { clearOne: g } = Fe(), d = () => {
|
|
1247
1247
|
g(e.name, t, o), r.value.delete(e.name);
|
|
1248
1248
|
}, n = () => {
|
|
1249
1249
|
if (M(a.value) && a.value.length === 0) return;
|
|
@@ -1300,13 +1300,13 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1300
1300
|
variant: "text",
|
|
1301
1301
|
onClick: X(y, ["stop"])
|
|
1302
1302
|
}, {
|
|
1303
|
-
default:
|
|
1304
|
-
|
|
1305
|
-
|
|
1303
|
+
default: A(() => [
|
|
1304
|
+
F(He, { icon: "mdi-filter-variant" }),
|
|
1305
|
+
F(Qe, {
|
|
1306
1306
|
activator: "parent",
|
|
1307
1307
|
location: "bottom"
|
|
1308
1308
|
}, {
|
|
1309
|
-
default:
|
|
1309
|
+
default: A(() => [
|
|
1310
1310
|
ee(V(U(r)(o.tooltipT)), 1)
|
|
1311
1311
|
]),
|
|
1312
1312
|
_: 1
|
|
@@ -1356,19 +1356,19 @@ const pl = /* @__PURE__ */ ne({
|
|
|
1356
1356
|
key: u.value,
|
|
1357
1357
|
class: "a-selected-filters__chips"
|
|
1358
1358
|
}, [
|
|
1359
|
-
|
|
1359
|
+
F(xt, {
|
|
1360
1360
|
closable: "",
|
|
1361
1361
|
size: "small",
|
|
1362
1362
|
class: "a-selected-filters__chip",
|
|
1363
1363
|
"onClick:close": X((g) => t(c.name, u.value), ["stop"])
|
|
1364
1364
|
}, {
|
|
1365
|
-
close:
|
|
1366
|
-
|
|
1365
|
+
close: A(() => [
|
|
1366
|
+
F(He, {
|
|
1367
1367
|
size: "16",
|
|
1368
1368
|
icon: "mdi-close-circle"
|
|
1369
1369
|
})
|
|
1370
1370
|
]),
|
|
1371
|
-
default:
|
|
1371
|
+
default: A(() => [
|
|
1372
1372
|
ee(" " + V(u.title), 1)
|
|
1373
1373
|
]),
|
|
1374
1374
|
_: 2
|
|
@@ -1522,11 +1522,11 @@ function _l() {
|
|
|
1522
1522
|
const w = Ge(), _ = $a(w);
|
|
1523
1523
|
switch (s) {
|
|
1524
1524
|
case ke.CurrentMonth:
|
|
1525
|
-
return
|
|
1525
|
+
return Ft(_, "utc", 0, !1);
|
|
1526
1526
|
case ke.LastMonth:
|
|
1527
|
-
return
|
|
1527
|
+
return Ft(_, "utc", -1, !1);
|
|
1528
1528
|
case ke.Last3Months:
|
|
1529
|
-
return
|
|
1529
|
+
return Ft(_, "utc", -2, !0);
|
|
1530
1530
|
default:
|
|
1531
1531
|
if (Bt(s))
|
|
1532
1532
|
return {
|
|
@@ -1672,8 +1672,8 @@ const et = (f, m, e) => {
|
|
|
1672
1672
|
t && t.abort();
|
|
1673
1673
|
}
|
|
1674
1674
|
};
|
|
1675
|
-
}, Jt = "/adm/v1/user-admin-config",
|
|
1676
|
-
function ba(f, m, e =
|
|
1675
|
+
}, Jt = "/adm/v1/user-admin-config", Fl = "userAdminConfig";
|
|
1676
|
+
function ba(f, m, e = Fl, l = Jt) {
|
|
1677
1677
|
return {
|
|
1678
1678
|
useFetchUserAdminConfigList: () => ya(f, m, e, Jt),
|
|
1679
1679
|
fetchUserAdminConfig: (c) => {
|
|
@@ -1698,7 +1698,7 @@ function ba(f, m, e = Al, l = Jt) {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
};
|
|
1700
1700
|
}
|
|
1701
|
-
function
|
|
1701
|
+
function Al() {
|
|
1702
1702
|
return {
|
|
1703
1703
|
createDefaultUserAdminConfig: (m) => ({
|
|
1704
1704
|
id: 0,
|
|
@@ -1764,7 +1764,7 @@ const Sl = {
|
|
|
1764
1764
|
} = (
|
|
1765
1765
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
1766
1766
|
ba(e.client, e.system)
|
|
1767
|
-
), { t: $ } = ce(), { showErrorsDefault: R, showValidationError: Y, showWarningT: te } = $t(), { createDefaultUserAdminConfig: de } =
|
|
1767
|
+
), { t: $ } = ce(), { showErrorsDefault: R, showValidationError: Y, showWarningT: te } = $t(), { createDefaultUserAdminConfig: de } = Al(), Ae = async () => {
|
|
1768
1768
|
u.value = !0;
|
|
1769
1769
|
const z = n.value.map((C) => C.id);
|
|
1770
1770
|
try {
|
|
@@ -1816,7 +1816,7 @@ const Sl = {
|
|
|
1816
1816
|
return;
|
|
1817
1817
|
}
|
|
1818
1818
|
Be();
|
|
1819
|
-
} else t.value === "manage" && n.value.length > 0 &&
|
|
1819
|
+
} else t.value === "manage" && n.value.length > 0 && Ae();
|
|
1820
1820
|
}, Te = async (Z) => {
|
|
1821
1821
|
g.value = !0;
|
|
1822
1822
|
try {
|
|
@@ -1869,33 +1869,33 @@ const Sl = {
|
|
|
1869
1869
|
"model-value": !0,
|
|
1870
1870
|
width: 500
|
|
1871
1871
|
}, {
|
|
1872
|
-
default:
|
|
1873
|
-
|
|
1874
|
-
default:
|
|
1875
|
-
|
|
1872
|
+
default: A(() => [
|
|
1873
|
+
F(Ut, null, {
|
|
1874
|
+
default: A(() => [
|
|
1875
|
+
F(Et, {
|
|
1876
1876
|
onOnCancel: z[0] || (z[0] = (j) => l("onClose"))
|
|
1877
1877
|
}, {
|
|
1878
|
-
default:
|
|
1878
|
+
default: A(() => [
|
|
1879
1879
|
ee(V(U($)("common.filter.bookmark.title")), 1)
|
|
1880
1880
|
]),
|
|
1881
1881
|
_: 1
|
|
1882
1882
|
}),
|
|
1883
|
-
|
|
1884
|
-
default:
|
|
1885
|
-
|
|
1883
|
+
F(ma, { class: "pt-0" }, {
|
|
1884
|
+
default: A(() => [
|
|
1885
|
+
F(Ya, {
|
|
1886
1886
|
modelValue: t.value,
|
|
1887
1887
|
"onUpdate:modelValue": z[1] || (z[1] = (j) => t.value = j),
|
|
1888
1888
|
"fixed-tabs": ""
|
|
1889
1889
|
}, {
|
|
1890
|
-
default:
|
|
1891
|
-
|
|
1892
|
-
default:
|
|
1890
|
+
default: A(() => [
|
|
1891
|
+
F(Vt, { value: "add" }, {
|
|
1892
|
+
default: A(() => [
|
|
1893
1893
|
ee(V(U($)("common.filter.bookmark.add")), 1)
|
|
1894
1894
|
]),
|
|
1895
1895
|
_: 1
|
|
1896
1896
|
}),
|
|
1897
|
-
|
|
1898
|
-
default:
|
|
1897
|
+
F(Vt, { value: "manage" }, {
|
|
1898
|
+
default: A(() => [
|
|
1899
1899
|
ee(V(U($)("common.filter.bookmark.manage")), 1)
|
|
1900
1900
|
]),
|
|
1901
1901
|
_: 1
|
|
@@ -1904,7 +1904,7 @@ const Sl = {
|
|
|
1904
1904
|
_: 1
|
|
1905
1905
|
}, 8, ["modelValue"]),
|
|
1906
1906
|
t.value === "add" ? (I(), J("div", Sl, [
|
|
1907
|
-
|
|
1907
|
+
F(Re, {
|
|
1908
1908
|
title: U($)("common.filter.bookmark.infoSave")
|
|
1909
1909
|
}, null, 8, ["title"]),
|
|
1910
1910
|
d.value ? (I(), H(Re, {
|
|
@@ -1912,9 +1912,9 @@ const Sl = {
|
|
|
1912
1912
|
class: "text-error",
|
|
1913
1913
|
title: U($)("common.filter.bookmark.errorMax")
|
|
1914
1914
|
}, null, 8, ["title"])) : ie("", !0),
|
|
1915
|
-
|
|
1916
|
-
default:
|
|
1917
|
-
|
|
1915
|
+
F(Re, null, {
|
|
1916
|
+
default: A(() => [
|
|
1917
|
+
F(zt, {
|
|
1918
1918
|
modelValue: a.value,
|
|
1919
1919
|
"onUpdate:modelValue": z[2] || (z[2] = (j) => a.value = j),
|
|
1920
1920
|
label: U($)("common.filter.bookmark.name"),
|
|
@@ -1924,9 +1924,9 @@ const Sl = {
|
|
|
1924
1924
|
]),
|
|
1925
1925
|
_: 1
|
|
1926
1926
|
}),
|
|
1927
|
-
|
|
1928
|
-
default:
|
|
1929
|
-
|
|
1927
|
+
F(Re, null, {
|
|
1928
|
+
default: A(() => [
|
|
1929
|
+
F(Ht, {
|
|
1930
1930
|
modelValue: v.value,
|
|
1931
1931
|
"onUpdate:modelValue": z[3] || (z[3] = (j) => v.value = j),
|
|
1932
1932
|
label: U($)("common.filter.bookmark.storeTableColumns")
|
|
@@ -1934,9 +1934,9 @@ const Sl = {
|
|
|
1934
1934
|
]),
|
|
1935
1935
|
_: 1
|
|
1936
1936
|
}),
|
|
1937
|
-
|
|
1938
|
-
default:
|
|
1939
|
-
|
|
1937
|
+
F(Re, null, {
|
|
1938
|
+
default: A(() => [
|
|
1939
|
+
F(Ht, {
|
|
1940
1940
|
modelValue: c.value,
|
|
1941
1941
|
"onUpdate:modelValue": z[4] || (z[4] = (j) => c.value = j),
|
|
1942
1942
|
label: U($)("common.filter.bookmark.storeTableOrder")
|
|
@@ -1946,7 +1946,7 @@ const Sl = {
|
|
|
1946
1946
|
})
|
|
1947
1947
|
])) : t.value === "manage" ? (I(), J("div", Bl, [
|
|
1948
1948
|
g.value ? (I(), J("div", wl, [
|
|
1949
|
-
|
|
1949
|
+
F(Qa, { indeterminate: "" })
|
|
1950
1950
|
])) : (I(), H(xa, {
|
|
1951
1951
|
key: 1,
|
|
1952
1952
|
modelValue: n.value,
|
|
@@ -1957,7 +1957,7 @@ const Sl = {
|
|
|
1957
1957
|
onOnDelete: Te,
|
|
1958
1958
|
onOnEdit: b
|
|
1959
1959
|
}, It({
|
|
1960
|
-
item:
|
|
1960
|
+
item: A(({ item: j }) => [
|
|
1961
1961
|
p.value && p.value.id === j.raw.id ? (I(), H(zt, {
|
|
1962
1962
|
key: 0,
|
|
1963
1963
|
ref_key: "inputRef",
|
|
@@ -1972,18 +1972,18 @@ const Sl = {
|
|
|
1972
1972
|
}, [
|
|
1973
1973
|
U(L)(p.value) ? void 0 : {
|
|
1974
1974
|
name: "item-buttons",
|
|
1975
|
-
fn:
|
|
1975
|
+
fn: A(({ item: j }) => [
|
|
1976
1976
|
p.value && p.value.id === j.raw.id ? (I(), J("div", Il, [
|
|
1977
|
-
|
|
1977
|
+
F(pe, {
|
|
1978
1978
|
icon: "",
|
|
1979
1979
|
size: "x-small",
|
|
1980
1980
|
variant: "text",
|
|
1981
1981
|
class: "mx-1",
|
|
1982
1982
|
onClick: X((oe) => T(j), ["stop"])
|
|
1983
1983
|
}, {
|
|
1984
|
-
default:
|
|
1985
|
-
|
|
1986
|
-
|
|
1984
|
+
default: A(() => [
|
|
1985
|
+
F(He, { icon: "mdi-check" }),
|
|
1986
|
+
F(Qe, {
|
|
1987
1987
|
anchor: "bottom",
|
|
1988
1988
|
activator: "parent",
|
|
1989
1989
|
text: U($)("common.button.confirm")
|
|
@@ -1991,16 +1991,16 @@ const Sl = {
|
|
|
1991
1991
|
]),
|
|
1992
1992
|
_: 2
|
|
1993
1993
|
}, 1032, ["onClick"]),
|
|
1994
|
-
|
|
1994
|
+
F(pe, {
|
|
1995
1995
|
icon: "",
|
|
1996
1996
|
size: "x-small",
|
|
1997
1997
|
variant: "text",
|
|
1998
1998
|
class: "mx-1",
|
|
1999
1999
|
onClick: z[6] || (z[6] = X((oe) => O(), ["stop"]))
|
|
2000
2000
|
}, {
|
|
2001
|
-
default:
|
|
2002
|
-
|
|
2003
|
-
|
|
2001
|
+
default: A(() => [
|
|
2002
|
+
F(He, { icon: "mdi-close" }),
|
|
2003
|
+
F(Qe, {
|
|
2004
2004
|
anchor: "bottom",
|
|
2005
2005
|
activator: "parent",
|
|
2006
2006
|
text: U($)("common.button.cancel")
|
|
@@ -2017,24 +2017,24 @@ const Sl = {
|
|
|
2017
2017
|
]),
|
|
2018
2018
|
_: 1
|
|
2019
2019
|
}),
|
|
2020
|
-
|
|
2021
|
-
default:
|
|
2022
|
-
|
|
2023
|
-
|
|
2020
|
+
F(fa, null, {
|
|
2021
|
+
default: A(() => [
|
|
2022
|
+
F(Rt),
|
|
2023
|
+
F(C, {
|
|
2024
2024
|
"data-cy": "button-cancel",
|
|
2025
2025
|
onClick: z[8] || (z[8] = X((j) => l("onClose"), ["stop"]))
|
|
2026
2026
|
}, {
|
|
2027
|
-
default:
|
|
2027
|
+
default: A(() => [
|
|
2028
2028
|
ee(V(U($)("common.button.cancel")), 1)
|
|
2029
2029
|
]),
|
|
2030
2030
|
_: 1
|
|
2031
2031
|
}),
|
|
2032
|
-
|
|
2032
|
+
F(W, {
|
|
2033
2033
|
"data-cy": "button-confirm",
|
|
2034
2034
|
loading: u.value,
|
|
2035
2035
|
onClick: X(we, ["stop"])
|
|
2036
2036
|
}, {
|
|
2037
|
-
default:
|
|
2037
|
+
default: A(() => [
|
|
2038
2038
|
ee(V(t.value === "add" ? U($)("common.button.add") : U($)("common.filter.bookmark.saveBookmarkOrder")), 1)
|
|
2039
2039
|
]),
|
|
2040
2040
|
_: 1
|
|
@@ -2072,7 +2072,7 @@ const Sl = {
|
|
|
2072
2072
|
aa(y), m.value = !0;
|
|
2073
2073
|
}, { t: l } = ce();
|
|
2074
2074
|
return (y, r) => (I(), J(ye, null, [
|
|
2075
|
-
|
|
2075
|
+
F(pe, {
|
|
2076
2076
|
class: Ve([y.buttonClass, "px-2"]),
|
|
2077
2077
|
"data-cy": y.dataCy,
|
|
2078
2078
|
color: "light",
|
|
@@ -2080,16 +2080,16 @@ const Sl = {
|
|
|
2080
2080
|
variant: "flat",
|
|
2081
2081
|
onClick: X(e, ["stop"])
|
|
2082
2082
|
}, {
|
|
2083
|
-
default:
|
|
2084
|
-
|
|
2083
|
+
default: A(() => [
|
|
2084
|
+
F(He, {
|
|
2085
2085
|
color: "grey darken-1",
|
|
2086
2086
|
icon: "mdi-bookmark-outline"
|
|
2087
2087
|
}),
|
|
2088
|
-
|
|
2088
|
+
F(Qe, {
|
|
2089
2089
|
activator: "parent",
|
|
2090
2090
|
location: "bottom"
|
|
2091
2091
|
}, {
|
|
2092
|
-
default:
|
|
2092
|
+
default: A(() => [
|
|
2093
2093
|
ee(V(U(l)(y.tooltipT)), 1)
|
|
2094
2094
|
]),
|
|
2095
2095
|
_: 1
|
|
@@ -2201,14 +2201,14 @@ const Sl = {
|
|
|
2201
2201
|
key: N.id,
|
|
2202
2202
|
class: "white-space-nowrap"
|
|
2203
2203
|
}, [
|
|
2204
|
-
|
|
2204
|
+
F(pe, {
|
|
2205
2205
|
text: "",
|
|
2206
2206
|
"prepend-icon": "mdi-bookmark-outline",
|
|
2207
2207
|
size: "small",
|
|
2208
2208
|
class: "mr-1 mb-1 bg-grey-lighten-4 text-grey-darken-3",
|
|
2209
2209
|
onClick: (q) => w(N)
|
|
2210
2210
|
}, {
|
|
2211
|
-
default:
|
|
2211
|
+
default: A(() => [
|
|
2212
2212
|
ee(V(N.customName), 1)
|
|
2213
2213
|
]),
|
|
2214
2214
|
_: 2
|
|
@@ -2219,24 +2219,24 @@ const Sl = {
|
|
|
2219
2219
|
bottom: "",
|
|
2220
2220
|
"offset-y": ""
|
|
2221
2221
|
}, {
|
|
2222
|
-
activator:
|
|
2223
|
-
|
|
2222
|
+
activator: A(({ props: N }) => [
|
|
2223
|
+
F(pe, De({
|
|
2224
2224
|
icon: "mdi-menu-down",
|
|
2225
2225
|
size: "x-small",
|
|
2226
2226
|
width: 28,
|
|
2227
2227
|
height: 28
|
|
2228
2228
|
}, N), null, 16)
|
|
2229
2229
|
]),
|
|
2230
|
-
default:
|
|
2231
|
-
|
|
2232
|
-
default:
|
|
2230
|
+
default: A(() => [
|
|
2231
|
+
F(ca, { density: "compact" }, {
|
|
2232
|
+
default: A(() => [
|
|
2233
2233
|
(I(!0), J(ye, null, xe(k.value.hidden, (N) => (I(), H(Me, {
|
|
2234
2234
|
key: N.id,
|
|
2235
2235
|
onClick: (q) => w(N)
|
|
2236
2236
|
}, {
|
|
2237
|
-
default:
|
|
2238
|
-
|
|
2239
|
-
default:
|
|
2237
|
+
default: A(() => [
|
|
2238
|
+
F(da, null, {
|
|
2239
|
+
default: A(() => [
|
|
2240
2240
|
ee(V(N.customName), 1)
|
|
2241
2241
|
]),
|
|
2242
2242
|
_: 2
|
|
@@ -2287,7 +2287,7 @@ const Sl = {
|
|
|
2287
2287
|
u.value++, Ee(() => {
|
|
2288
2288
|
y("submit");
|
|
2289
2289
|
});
|
|
2290
|
-
}, { clearAll: n } =
|
|
2290
|
+
}, { clearAll: n } = Fe(), p = () => {
|
|
2291
2291
|
Ee(() => {
|
|
2292
2292
|
u.value++, y("bookmarkLoadAfter");
|
|
2293
2293
|
});
|
|
@@ -2305,14 +2305,14 @@ const Sl = {
|
|
|
2305
2305
|
name: _.formName,
|
|
2306
2306
|
onSubmit: X(d, ["prevent"])
|
|
2307
2307
|
}, {
|
|
2308
|
-
default:
|
|
2308
|
+
default: A(() => [
|
|
2309
2309
|
_.enableTop ? (I(), H(Je, {
|
|
2310
2310
|
key: 0,
|
|
2311
2311
|
dense: ""
|
|
2312
2312
|
}, {
|
|
2313
|
-
default:
|
|
2314
|
-
|
|
2315
|
-
default:
|
|
2313
|
+
default: A(() => [
|
|
2314
|
+
F(Oe, null, {
|
|
2315
|
+
default: A(() => [
|
|
2316
2316
|
ae(_.$slots, "top")
|
|
2317
2317
|
]),
|
|
2318
2318
|
_: 3
|
|
@@ -2320,10 +2320,10 @@ const Sl = {
|
|
|
2320
2320
|
]),
|
|
2321
2321
|
_: 3
|
|
2322
2322
|
})) : ie("", !0),
|
|
2323
|
-
|
|
2324
|
-
default:
|
|
2323
|
+
F(Je, { dense: "" }, {
|
|
2324
|
+
default: A(() => [
|
|
2325
2325
|
_.store && _.userId && U(re)(_.client) ? (I(), H(Oe, { key: 0 }, {
|
|
2326
|
-
default:
|
|
2326
|
+
default: A(() => [
|
|
2327
2327
|
ae(_.$slots, "bookmarks", {}, () => [
|
|
2328
2328
|
le("div", Ul, [
|
|
2329
2329
|
U(v) && U(c) && _.userId && U(re)(_.client) ? (I(), H(xl, {
|
|
@@ -2344,24 +2344,24 @@ const Sl = {
|
|
|
2344
2344
|
]),
|
|
2345
2345
|
_: 3
|
|
2346
2346
|
}),
|
|
2347
|
-
|
|
2348
|
-
default:
|
|
2349
|
-
|
|
2350
|
-
default:
|
|
2351
|
-
|
|
2347
|
+
F(Je, { dense: "" }, {
|
|
2348
|
+
default: A(() => [
|
|
2349
|
+
F(Oe, { cols: "auto" }, {
|
|
2350
|
+
default: A(() => [
|
|
2351
|
+
F(hl, {
|
|
2352
2352
|
"button-active": o.value,
|
|
2353
2353
|
onAdvancedFilter: i
|
|
2354
2354
|
}, null, 8, ["button-active"])
|
|
2355
2355
|
]),
|
|
2356
2356
|
_: 1
|
|
2357
2357
|
}),
|
|
2358
|
-
|
|
2359
|
-
default:
|
|
2358
|
+
F(Oe, null, {
|
|
2359
|
+
default: A(() => [
|
|
2360
2360
|
le("div", Ol, [
|
|
2361
2361
|
le("div", Rl, [
|
|
2362
2362
|
ae(_.$slots, "search")
|
|
2363
2363
|
]),
|
|
2364
|
-
|
|
2364
|
+
F(yl)
|
|
2365
2365
|
])
|
|
2366
2366
|
]),
|
|
2367
2367
|
_: 3
|
|
@@ -2371,10 +2371,10 @@ const Sl = {
|
|
|
2371
2371
|
class: "text-right",
|
|
2372
2372
|
cols: "auto"
|
|
2373
2373
|
}, {
|
|
2374
|
-
default:
|
|
2374
|
+
default: A(() => [
|
|
2375
2375
|
ae(_.$slots, "buttons", {}, () => [
|
|
2376
|
-
|
|
2377
|
-
|
|
2376
|
+
F(na, { touched: w.value }, null, 8, ["touched"]),
|
|
2377
|
+
F(sa, { onReset: s }),
|
|
2378
2378
|
U(v) && U(c) && _.userId && U(re)(_.client) ? (I(), H($l, {
|
|
2379
2379
|
key: 0,
|
|
2380
2380
|
client: _.client,
|
|
@@ -2391,12 +2391,12 @@ const Sl = {
|
|
|
2391
2391
|
_: 3
|
|
2392
2392
|
}),
|
|
2393
2393
|
le("div", null, [
|
|
2394
|
-
|
|
2395
|
-
default:
|
|
2394
|
+
F(Xa, null, {
|
|
2395
|
+
default: A(() => [
|
|
2396
2396
|
Xt(le("div", jl, [
|
|
2397
2397
|
ae(_.$slots, "detail", {}, () => [
|
|
2398
|
-
|
|
2399
|
-
default:
|
|
2398
|
+
F(Je, null, {
|
|
2399
|
+
default: A(() => [
|
|
2400
2400
|
(I(!0), J(ye, null, xe(U(t).fields, (k) => (I(), H(Oe, {
|
|
2401
2401
|
key: k.name,
|
|
2402
2402
|
cols: k.render.xs || 12,
|
|
@@ -2406,9 +2406,9 @@ const Sl = {
|
|
|
2406
2406
|
xl: k.render.xl || 2,
|
|
2407
2407
|
class: Ve({ "d-none": k.render.skip })
|
|
2408
2408
|
}, {
|
|
2409
|
-
default:
|
|
2409
|
+
default: A(() => [
|
|
2410
2410
|
ae(_.$slots, U(ra)(k.name), { itemConfig: k }, () => [
|
|
2411
|
-
|
|
2411
|
+
F(ha, {
|
|
2412
2412
|
name: k.name
|
|
2413
2413
|
}, null, 8, ["name"])
|
|
2414
2414
|
])
|
|
@@ -2453,7 +2453,7 @@ const Sl = {
|
|
|
2453
2453
|
o.value++, Ee(() => {
|
|
2454
2454
|
l("submit");
|
|
2455
2455
|
});
|
|
2456
|
-
}, { clearAll: v } =
|
|
2456
|
+
}, { clearAll: v } = Fe(), c = () => {
|
|
2457
2457
|
v(r, y), t.value.clear(), Ee(() => {
|
|
2458
2458
|
o.value++, l("reset");
|
|
2459
2459
|
});
|
|
@@ -2465,11 +2465,11 @@ const Sl = {
|
|
|
2465
2465
|
name: g.formName,
|
|
2466
2466
|
onSubmit: X(a, ["prevent"])
|
|
2467
2467
|
}, {
|
|
2468
|
-
default:
|
|
2468
|
+
default: A(() => [
|
|
2469
2469
|
le("div", Nl, [
|
|
2470
2470
|
ae(g.$slots, "detail", {}, () => [
|
|
2471
|
-
|
|
2472
|
-
default:
|
|
2471
|
+
F(Je, null, {
|
|
2472
|
+
default: A(() => [
|
|
2473
2473
|
(I(!0), J(ye, null, xe(U(y).fields, (n) => (I(), H(Oe, {
|
|
2474
2474
|
key: n.name,
|
|
2475
2475
|
cols: n.render.xs || 12,
|
|
@@ -2479,9 +2479,9 @@ const Sl = {
|
|
|
2479
2479
|
xl: n.render.xl || 12,
|
|
2480
2480
|
class: Ve({ "d-none": n.render.skip })
|
|
2481
2481
|
}, {
|
|
2482
|
-
default:
|
|
2482
|
+
default: A(() => [
|
|
2483
2483
|
ae(g.$slots, U(ra)(n.name), { itemConfig: n }, () => [
|
|
2484
|
-
|
|
2484
|
+
F(ha, {
|
|
2485
2485
|
name: n.name
|
|
2486
2486
|
}, null, 8, ["name"])
|
|
2487
2487
|
])
|
|
@@ -2495,8 +2495,8 @@ const Sl = {
|
|
|
2495
2495
|
]),
|
|
2496
2496
|
g.hideButtons ? ie("", !0) : (I(), J("div", Ll, [
|
|
2497
2497
|
ae(g.$slots, "buttons", {}, () => [
|
|
2498
|
-
|
|
2499
|
-
|
|
2498
|
+
F(na, { touched: u.value }, null, 8, ["touched"]),
|
|
2499
|
+
F(sa, { onReset: c })
|
|
2500
2500
|
])
|
|
2501
2501
|
]))
|
|
2502
2502
|
]),
|
|
@@ -2567,34 +2567,34 @@ const Sl = {
|
|
|
2567
2567
|
{ immediate: !0 }
|
|
2568
2568
|
), (n, p) => (I(), J("div", Ml, [
|
|
2569
2569
|
le("div", ql, V(U(o)("common.system.datatable.ordering.title")) + ": ", 1),
|
|
2570
|
-
|
|
2570
|
+
F(pe, {
|
|
2571
2571
|
variant: "text",
|
|
2572
2572
|
rounded: "xl",
|
|
2573
2573
|
size: "small",
|
|
2574
2574
|
"append-icon": "mdi-chevron-down"
|
|
2575
2575
|
}, {
|
|
2576
|
-
default:
|
|
2576
|
+
default: A(() => [
|
|
2577
2577
|
ee(V(c.value) + " ", 1),
|
|
2578
|
-
|
|
2578
|
+
F(va, {
|
|
2579
2579
|
activator: "parent",
|
|
2580
2580
|
location: "bottom",
|
|
2581
2581
|
"close-on-content-click": ""
|
|
2582
2582
|
}, {
|
|
2583
|
-
default:
|
|
2584
|
-
|
|
2583
|
+
default: A(() => [
|
|
2584
|
+
F(ca, {
|
|
2585
2585
|
density: "compact",
|
|
2586
2586
|
class: "pa-0"
|
|
2587
2587
|
}, {
|
|
2588
|
-
default:
|
|
2588
|
+
default: A(() => [
|
|
2589
2589
|
(I(!0), J(ye, null, xe(u.value, (s) => (I(), H(Me, {
|
|
2590
2590
|
key: s.id,
|
|
2591
2591
|
onClick: (i) => g(s)
|
|
2592
2592
|
}, {
|
|
2593
|
-
default:
|
|
2594
|
-
|
|
2593
|
+
default: A(() => [
|
|
2594
|
+
F(da, {
|
|
2595
2595
|
class: Ve({ "font-weight-bold": s.id === y.value })
|
|
2596
2596
|
}, {
|
|
2597
|
-
default:
|
|
2597
|
+
default: A(() => [
|
|
2598
2598
|
ee(V(U(o)(s.titleT)), 1)
|
|
2599
2599
|
]),
|
|
2600
2600
|
_: 2
|
|
@@ -2651,7 +2651,7 @@ const Sl = {
|
|
|
2651
2651
|
return (s, i) => (I(), J("div", zl, [
|
|
2652
2652
|
s.hideRecordsPerPage ? ie("", !0) : (I(), J("div", Hl, [
|
|
2653
2653
|
ee(V(U(y)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
2654
|
-
|
|
2654
|
+
F(Za, {
|
|
2655
2655
|
modelValue: U(l).rowsPerPage,
|
|
2656
2656
|
"onUpdate:modelValue": i[0] || (i[0] = (w) => U(l).rowsPerPage = w),
|
|
2657
2657
|
class: "ml-2",
|
|
@@ -2659,7 +2659,7 @@ const Sl = {
|
|
|
2659
2659
|
mandatory: "",
|
|
2660
2660
|
"data-cy": "table-size"
|
|
2661
2661
|
}, {
|
|
2662
|
-
default:
|
|
2662
|
+
default: A(() => [
|
|
2663
2663
|
(I(!0), J(ye, null, xe(s.itemsPerPageOptions, (w) => (I(), H(pe, {
|
|
2664
2664
|
key: w,
|
|
2665
2665
|
color: w === U(l).rowsPerPage ? "secondary" : "",
|
|
@@ -2668,7 +2668,7 @@ const Sl = {
|
|
|
2668
2668
|
size: "small",
|
|
2669
2669
|
variant: "text"
|
|
2670
2670
|
}, {
|
|
2671
|
-
default:
|
|
2671
|
+
default: A(() => [
|
|
2672
2672
|
ee(V(w), 1)
|
|
2673
2673
|
]),
|
|
2674
2674
|
_: 2
|
|
@@ -2679,14 +2679,14 @@ const Sl = {
|
|
|
2679
2679
|
])),
|
|
2680
2680
|
le("div", Vl, V(o.value) + " - " + V(t.value) + " " + V(U(y)("common.system.datatable.from")) + " " + V(u.value), 1),
|
|
2681
2681
|
le("div", Kl, [
|
|
2682
|
-
|
|
2682
|
+
F(pe, {
|
|
2683
2683
|
disabled: a.value,
|
|
2684
2684
|
icon: "mdi-page-first",
|
|
2685
2685
|
size: "small",
|
|
2686
2686
|
variant: "text",
|
|
2687
2687
|
onClick: X(g, ["stop"])
|
|
2688
2688
|
}, null, 8, ["disabled"]),
|
|
2689
|
-
|
|
2689
|
+
F(pe, {
|
|
2690
2690
|
disabled: a.value,
|
|
2691
2691
|
icon: "mdi-chevron-left",
|
|
2692
2692
|
size: "small",
|
|
@@ -2698,14 +2698,14 @@ const Sl = {
|
|
|
2698
2698
|
le("span", null, V(U(l).page), 1)
|
|
2699
2699
|
]),
|
|
2700
2700
|
le("div", Jl, [
|
|
2701
|
-
|
|
2701
|
+
F(pe, {
|
|
2702
2702
|
disabled: c.value,
|
|
2703
2703
|
icon: "mdi-chevron-right",
|
|
2704
2704
|
size: "small",
|
|
2705
2705
|
variant: "text",
|
|
2706
2706
|
onClick: X(p, ["stop"])
|
|
2707
2707
|
}, null, 8, ["disabled"]),
|
|
2708
|
-
|
|
2708
|
+
F(pe, {
|
|
2709
2709
|
disabled: v.value,
|
|
2710
2710
|
icon: "mdi-page-last",
|
|
2711
2711
|
size: "small",
|
|
@@ -2869,7 +2869,10 @@ function Zl(f, m, e, l, y = {}) {
|
|
|
2869
2869
|
};
|
|
2870
2870
|
}
|
|
2871
2871
|
function Qo(f, m, e, l, y, r, o) {
|
|
2872
|
-
const t = D(!1), a = D([]), v = D([]), c = D(!1), { pagination: u, setSortBy: g, incrementPage: d } = qe(), { resetFilter: n, submitFilter: p } = Lt(r, o
|
|
2872
|
+
const t = D(!1), a = D([]), v = D([]), c = D(!1), { pagination: u, setSortBy: g, incrementPage: d } = qe(), { resetFilter: n, submitFilter: p } = Lt(r, o, {
|
|
2873
|
+
storeFiltersLocalStorage: !1,
|
|
2874
|
+
populateUrlParams: !1
|
|
2875
|
+
}), { showErrorsDefault: s } = $t(), { columnsVisible: i, columnsAll: w, columnsHidden: _ } = Zl(
|
|
2873
2876
|
f,
|
|
2874
2877
|
m,
|
|
2875
2878
|
e,
|
|
@@ -2987,57 +2990,57 @@ const eo = { class: "d-flex flex-column w-100 px-1 align-center" }, to = { class
|
|
|
2987
2990
|
ae(k.$slots, "activator", {
|
|
2988
2991
|
props: { onClick: X(() => g(), ["stop"]) }
|
|
2989
2992
|
}),
|
|
2990
|
-
|
|
2993
|
+
F(Ot, De(k.$attrs, {
|
|
2991
2994
|
"model-value": o.value,
|
|
2992
2995
|
fullscreen: "",
|
|
2993
2996
|
class: "subject-select",
|
|
2994
2997
|
"onUpdate:modelValue": B[1] || (B[1] = (q) => y("update:modelValue", q))
|
|
2995
2998
|
}), {
|
|
2996
|
-
default:
|
|
2999
|
+
default: A(() => [
|
|
2997
3000
|
o.value ? (I(), H(Ut, {
|
|
2998
3001
|
key: 0,
|
|
2999
3002
|
class: "subject-select__card"
|
|
3000
3003
|
}, {
|
|
3001
|
-
default:
|
|
3002
|
-
|
|
3004
|
+
default: A(() => [
|
|
3005
|
+
F(Et, {
|
|
3003
3006
|
class: "subject-select__toolbar system-border-b",
|
|
3004
3007
|
onOnCancel: n
|
|
3005
3008
|
}, {
|
|
3006
|
-
default:
|
|
3009
|
+
default: A(() => [
|
|
3007
3010
|
ae(k.$slots, "title", {}, () => [
|
|
3008
3011
|
ee(V(U(v)(k.dialogTitleT)), 1)
|
|
3009
3012
|
])
|
|
3010
3013
|
]),
|
|
3011
3014
|
_: 3
|
|
3012
3015
|
}),
|
|
3013
|
-
|
|
3016
|
+
F(el, {
|
|
3014
3017
|
density: "compact",
|
|
3015
3018
|
color: "transparent",
|
|
3016
3019
|
height: 46,
|
|
3017
3020
|
elevation: "0",
|
|
3018
3021
|
class: "system-border-b subject-select__second-bar"
|
|
3019
3022
|
}, {
|
|
3020
|
-
default:
|
|
3023
|
+
default: A(() => [
|
|
3021
3024
|
ae(k.$slots, "second-bar", {}, () => [
|
|
3022
3025
|
le("div", eo, [
|
|
3023
3026
|
le("div", to, [
|
|
3024
3027
|
le("div", ao, [
|
|
3025
|
-
|
|
3028
|
+
F(pe, {
|
|
3026
3029
|
icon: "",
|
|
3027
3030
|
width: 30,
|
|
3028
3031
|
height: 30,
|
|
3029
3032
|
onClick: d
|
|
3030
3033
|
}, {
|
|
3031
|
-
default:
|
|
3032
|
-
|
|
3034
|
+
default: A(() => [
|
|
3035
|
+
F(He, {
|
|
3033
3036
|
icon: "mdi-tune",
|
|
3034
3037
|
size: 16
|
|
3035
3038
|
}),
|
|
3036
|
-
|
|
3039
|
+
F(Qe, {
|
|
3037
3040
|
activator: "parent",
|
|
3038
3041
|
location: "bottom"
|
|
3039
3042
|
}, {
|
|
3040
|
-
default:
|
|
3043
|
+
default: A(() => [
|
|
3041
3044
|
ee(V(U(v)("common.subjectSelect.filter.toggle")), 1)
|
|
3042
3045
|
]),
|
|
3043
3046
|
_: 1
|
|
@@ -3072,7 +3075,7 @@ const eo = { class: "d-flex flex-column w-100 px-1 align-center" }, to = { class
|
|
|
3072
3075
|
size: "small",
|
|
3073
3076
|
onClick: s
|
|
3074
3077
|
}, {
|
|
3075
|
-
default:
|
|
3078
|
+
default: A(() => [
|
|
3076
3079
|
ae(k.$slots, "button-confirm-title", {}, () => [
|
|
3077
3080
|
ee(V(U(v)("common.button.loadMore")), 1)
|
|
3078
3081
|
])
|
|
@@ -3101,12 +3104,12 @@ const eo = { class: "d-flex flex-column w-100 px-1 align-center" }, to = { class
|
|
|
3101
3104
|
maxCount: l.maxCount,
|
|
3102
3105
|
selected: c.value
|
|
3103
3106
|
})), 1)),
|
|
3104
|
-
|
|
3105
|
-
|
|
3107
|
+
F(Rt),
|
|
3108
|
+
F(N, {
|
|
3106
3109
|
disabled: u.value,
|
|
3107
3110
|
onClick: X(p, ["stop"])
|
|
3108
3111
|
}, {
|
|
3109
|
-
default:
|
|
3112
|
+
default: A(() => [
|
|
3110
3113
|
ae(k.$slots, "button-confirm-title", {}, () => [
|
|
3111
3114
|
ee(V(U(v)("common.button.confirm")), 1)
|
|
3112
3115
|
])
|