@anzusystems/common-admin 1.47.0-beta.dev-1782072279 → 1.47.0-beta.dev-1782072289
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/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CfOzQkN3.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CAdhbUGQ.mjs} +350 -344
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CAdhbUGQ.mjs.map +1 -0
- package/dist/common-admin.js +3 -3
- package/dist/labs.js +2 -2
- package/dist/{webfontloader-DqfwVp99.mjs → webfontloader-D1u1X_VL.mjs} +2 -2
- package/dist/{webfontloader-DqfwVp99.mjs.map → webfontloader-D1u1X_VL.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CfOzQkN3.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ee, openBlock as $, createBlock as G, withCtx as E, createVNode as S, createElementBlock as ie, normalizeClass as Ze, toDisplayString as
|
|
1
|
+
import { defineComponent as Ee, openBlock as $, createBlock as G, withCtx as E, createVNode as S, createElementBlock as ie, normalizeClass as Ze, toDisplayString as le, createCommentVNode as ue, renderSlot as he, createElementVNode as De, isProxy as Hr, toRaw as Pa, isRef as La, unref as O, computed as P, Fragment as Ye, normalizeStyle as zr, createTextVNode as fe, shallowRef as Ta, watch as $e, ref as N, reactive as Ht, inject as se, createSlots as zt, withDirectives as zn, onMounted as Io, withModifiers as ge, onUnmounted as jr, TransitionGroup as qr, mergeProps as Ne, isVNode as Kr, useModel as tt, useTemplateRef as At, nextTick as qe, withKeys as xa, vModelText as rl, mergeModels as Ke, getCurrentInstance as en, resolveComponent as dn, resolveDynamicComponent as Ll, renderList as Ut, toValue as Co, toRef as Wr, onBeforeUnmount as Fo, provide as fn, vShow as Gr, useSlots as Xr, shallowReactive as Zr, normalizeProps as il } from "vue";
|
|
2
2
|
import { useEventBus as ct, tryOnBeforeUnmount as Jr, watchDebounced as Va, useResizeObserver as Qr, watchThrottled as ei, defaultDocument as ti, unrefElement as ni, tryOnMounted as ai, tryOnScopeDispose as oi, useElementSize as li, useMediaQuery as ri } from "@vueuse/core";
|
|
3
3
|
import { useI18n as Oe, createI18n as ii } from "vue-i18n";
|
|
4
4
|
import { VAutocomplete as Kn } from "vuetify/components/VAutocomplete";
|
|
@@ -45,9 +45,9 @@ const Ai = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ Ee({
|
|
|
45
45
|
e.title.length ? ($(), ie("h4", {
|
|
46
46
|
key: 0,
|
|
47
47
|
class: Ze(e.titleClass)
|
|
48
|
-
},
|
|
48
|
+
}, le(e.title), 3)) : ue("", !0),
|
|
49
49
|
he(n.$slots, "default", {}, () => [
|
|
50
|
-
De("span", Ai,
|
|
50
|
+
De("span", Ai, le(e.value), 1)
|
|
51
51
|
])
|
|
52
52
|
]),
|
|
53
53
|
_: 3
|
|
@@ -61,10 +61,10 @@ const Ai = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ Ee({
|
|
|
61
61
|
for (const [a, l] of n)
|
|
62
62
|
t[a] = l;
|
|
63
63
|
return t;
|
|
64
|
-
}, M = (e) => typeof e > "u",
|
|
64
|
+
}, M = (e) => typeof e > "u", Fe = (e) => !M(e), ne = (e) => e === null, mn = (e) => typeof e == "number", He = (e) => typeof e == "string", Se = (e) => Array.isArray(e), Gf = (e) => typeof e == "function", ut = (e) => typeof e == "boolean", Xf = (e) => He(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), Zf = (e) => {
|
|
65
65
|
const n = parseFloat(e);
|
|
66
66
|
return !isNaN(e) && (n | 0) === n;
|
|
67
|
-
}, Zn = (e) => typeof e == "object" && !
|
|
67
|
+
}, Zn = (e) => typeof e == "object" && !Se(e) && !ne(e), Ln = (e) => Zn(e) ? Object.keys(e).length === 0 : !1, So = (e) => Se(e) && e.length === 0, jl = (e) => ne(e) || M(e) || e === "" || e === 0 || So(e) || Ln(e), _e = (e) => {
|
|
68
68
|
if (typeof structuredClone == "function")
|
|
69
69
|
try {
|
|
70
70
|
return Hr(e) ? structuredClone(Pa(e)) : La(e) ? structuredClone(O(e)) : structuredClone(e);
|
|
@@ -145,13 +145,13 @@ const Ai = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ Ee({
|
|
|
145
145
|
De("div", {
|
|
146
146
|
class: "d-inline-flex text-white font-weight-light",
|
|
147
147
|
style: zr({ fontSize: a.value })
|
|
148
|
-
},
|
|
148
|
+
}, le(l.value), 5),
|
|
149
149
|
e.tooltip ? ($(), G(Qe, {
|
|
150
150
|
key: 0,
|
|
151
151
|
activator: "parent"
|
|
152
152
|
}, {
|
|
153
153
|
default: E(() => [
|
|
154
|
-
fe(
|
|
154
|
+
fe(le(e.tooltip), 1)
|
|
155
155
|
]),
|
|
156
156
|
_: 1
|
|
157
157
|
})) : ue("", !0)
|
|
@@ -177,7 +177,7 @@ const Ai = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ Ee({
|
|
|
177
177
|
if (n.isModerator && (s = o("common.collab.moderator") + ": "), i.value)
|
|
178
178
|
return i.value.person.fullName.length ? s + i.value.person.fullName : s + i.value.email.split("@")[0];
|
|
179
179
|
});
|
|
180
|
-
return
|
|
180
|
+
return $e(
|
|
181
181
|
i,
|
|
182
182
|
async (s) => {
|
|
183
183
|
a.value || M(s) || !s._loaded || (t.value = s, a.value = !0);
|
|
@@ -374,7 +374,7 @@ function za(e, n, t = !1) {
|
|
|
374
374
|
}, x = (V, F) => {
|
|
375
375
|
V.room !== e || V.field !== n || M(F) || M(D.value) || D.value(F);
|
|
376
376
|
}, R = (V) => {
|
|
377
|
-
V.room === e &&
|
|
377
|
+
V.room === e && Fe(m.value) && m.value();
|
|
378
378
|
}, A = (V) => {
|
|
379
379
|
c.value = V, f.value = u.on(p);
|
|
380
380
|
}, b = (V) => {
|
|
@@ -387,7 +387,7 @@ function za(e, n, t = !1) {
|
|
|
387
387
|
);
|
|
388
388
|
};
|
|
389
389
|
Jr(() => {
|
|
390
|
-
t || (
|
|
390
|
+
t || (Fe(f.value) && f.value(), Fe(h.value) && h.value(), Fe(d.value) && d.value());
|
|
391
391
|
});
|
|
392
392
|
const j = P(() => {
|
|
393
393
|
const V = i.get(e);
|
|
@@ -518,7 +518,7 @@ const Qi = {
|
|
|
518
518
|
}
|
|
519
519
|
), s = N((A) => {
|
|
520
520
|
}), u = N(null);
|
|
521
|
-
if (i.value.enabled &&
|
|
521
|
+
if (i.value.enabled && Fe(a.collab)) {
|
|
522
522
|
const {
|
|
523
523
|
releaseCollabFieldLock: A,
|
|
524
524
|
acquireCollabFieldLock: b,
|
|
@@ -526,7 +526,7 @@ const Qi = {
|
|
|
526
526
|
addCollabGatheringBufferDataListener: j,
|
|
527
527
|
lockedByUser: I
|
|
528
528
|
} = za(a.collab.room, a.collab.field);
|
|
529
|
-
r.value = A, s.value = b,
|
|
529
|
+
r.value = A, s.value = b, $e(
|
|
530
530
|
I,
|
|
531
531
|
(L) => {
|
|
532
532
|
u.value = L;
|
|
@@ -544,12 +544,12 @@ const Qi = {
|
|
|
544
544
|
l("blur", a.modelValue), a.v?.$touch(), r.value(a.modelValue);
|
|
545
545
|
}, v = () => {
|
|
546
546
|
l("focus", a.modelValue), s.value();
|
|
547
|
-
}, d = P(() =>
|
|
548
|
-
if (
|
|
547
|
+
}, d = P(() => Fe(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((A) => A.$message).join(" ")] : []), m = P(() => {
|
|
548
|
+
if (Fe(a.label)) return a.label;
|
|
549
549
|
if (M(c) || M(g) || M(a.v?.$path)) return "";
|
|
550
550
|
const { end: A } = vn(a.v?.$path, ".");
|
|
551
551
|
return f(c + "." + g + ".model." + A);
|
|
552
|
-
}), p = P(() =>
|
|
552
|
+
}), p = P(() => Fe(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), x = P(() => Fe(a.disabled) ? a.disabled : !!u.value);
|
|
553
553
|
return n({
|
|
554
554
|
focus: () => {
|
|
555
555
|
o.value?.focus();
|
|
@@ -579,7 +579,7 @@ const Qi = {
|
|
|
579
579
|
e.hideLabel ? void 0 : {
|
|
580
580
|
name: "label",
|
|
581
581
|
fn: E(() => [
|
|
582
|
-
fe(
|
|
582
|
+
fe(le(m.value), 1),
|
|
583
583
|
p.value ? ($(), ie("span", Qi)) : ue("", !0)
|
|
584
584
|
]),
|
|
585
585
|
key: "0"
|
|
@@ -676,13 +676,13 @@ function xm(e, n, t = void 0, a = void 0, l = !1, o = void 0, i = void 0, r = vo
|
|
|
676
676
|
const m = localStorage.getItem(s);
|
|
677
677
|
if (!m) return;
|
|
678
678
|
const p = JSON.parse(m);
|
|
679
|
-
Zn(p) &&
|
|
679
|
+
Zn(p) && Se(p.hidden) && (n.value = p.hidden);
|
|
680
680
|
}, d = (m) => {
|
|
681
681
|
!s || !localStorage || localStorage.setItem(s, JSON.stringify({ hidden: m }));
|
|
682
682
|
};
|
|
683
683
|
return Io(() => {
|
|
684
684
|
v();
|
|
685
|
-
}),
|
|
685
|
+
}), $e(n, (m) => {
|
|
686
686
|
d(m);
|
|
687
687
|
}), {
|
|
688
688
|
columnsAll: g,
|
|
@@ -1364,11 +1364,11 @@ function _s() {
|
|
|
1364
1364
|
return this.$d.getTime();
|
|
1365
1365
|
}, w.startOf = function(y, T) {
|
|
1366
1366
|
var _ = this, U = !!z.u(T) || T, X = z.p(y), ce = function(te, xe) {
|
|
1367
|
-
var
|
|
1368
|
-
return U ?
|
|
1367
|
+
var oe = z.w(_.$u ? Date.UTC(_.$y, xe, te) : new Date(_.$y, xe, te), _);
|
|
1368
|
+
return U ? oe : oe.endOf(u);
|
|
1369
1369
|
}, q = function(te, xe) {
|
|
1370
1370
|
return z.w(_.toDate()[te].apply(_.toDate("s"), (U ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(xe)), _);
|
|
1371
|
-
}, H = this.$W, ee = this.$M,
|
|
1371
|
+
}, H = this.$W, ee = this.$M, ae = this.$D, K = "set" + (this.$u ? "UTC" : "");
|
|
1372
1372
|
switch (X) {
|
|
1373
1373
|
case h:
|
|
1374
1374
|
return U ? ce(1, 0) : ce(31, 11);
|
|
@@ -1376,7 +1376,7 @@ function _s() {
|
|
|
1376
1376
|
return U ? ce(1, ee) : ce(0, ee + 1);
|
|
1377
1377
|
case f:
|
|
1378
1378
|
var re = this.$locale().weekStart || 0, J = (H < re ? H + 7 : H) - re;
|
|
1379
|
-
return ce(U ?
|
|
1379
|
+
return ce(U ? ae - J : ae + (6 - J), ee);
|
|
1380
1380
|
case u:
|
|
1381
1381
|
case D:
|
|
1382
1382
|
return q(K + "Hours", 0);
|
|
@@ -1406,8 +1406,8 @@ function _s() {
|
|
|
1406
1406
|
var _, U = this;
|
|
1407
1407
|
y = Number(y);
|
|
1408
1408
|
var X = z.p(T), ce = function(ee) {
|
|
1409
|
-
var
|
|
1410
|
-
return z.w(
|
|
1409
|
+
var ae = L(U);
|
|
1410
|
+
return z.w(ae.date(ae.date() + Math.round(ee * y)), U);
|
|
1411
1411
|
};
|
|
1412
1412
|
if (X === c) return this.set(c, this.$M + y);
|
|
1413
1413
|
if (X === h) return this.set(h, this.$y + y);
|
|
@@ -1420,16 +1420,16 @@ function _s() {
|
|
|
1420
1420
|
}, w.format = function(y) {
|
|
1421
1421
|
var T = this, _ = this.$locale();
|
|
1422
1422
|
if (!this.isValid()) return _.invalidDate || v;
|
|
1423
|
-
var U = y || "YYYY-MM-DDTHH:mm:ssZ", X = z.z(this), ce = this.$H, q = this.$m, H = this.$M, ee = _.weekdays,
|
|
1424
|
-
return xe && (xe[
|
|
1423
|
+
var U = y || "YYYY-MM-DDTHH:mm:ssZ", X = z.z(this), ce = this.$H, q = this.$m, H = this.$M, ee = _.weekdays, ae = _.months, K = _.meridiem, re = function(xe, oe, de, be) {
|
|
1424
|
+
return xe && (xe[oe] || xe(T, U)) || de[oe].slice(0, be);
|
|
1425
1425
|
}, J = function(xe) {
|
|
1426
1426
|
return z.s(ce % 12 || 12, xe, "0");
|
|
1427
|
-
}, te = K || function(xe,
|
|
1427
|
+
}, te = K || function(xe, oe, de) {
|
|
1428
1428
|
var be = xe < 12 ? "AM" : "PM";
|
|
1429
1429
|
return de ? be.toLowerCase() : be;
|
|
1430
1430
|
};
|
|
1431
|
-
return U.replace(m, (function(xe,
|
|
1432
|
-
return
|
|
1431
|
+
return U.replace(m, (function(xe, oe) {
|
|
1432
|
+
return oe || (function(de) {
|
|
1433
1433
|
switch (de) {
|
|
1434
1434
|
case "YY":
|
|
1435
1435
|
return String(T.$y).slice(-2);
|
|
@@ -1440,9 +1440,9 @@ function _s() {
|
|
|
1440
1440
|
case "MM":
|
|
1441
1441
|
return z.s(H + 1, 2, "0");
|
|
1442
1442
|
case "MMM":
|
|
1443
|
-
return re(_.monthsShort, H,
|
|
1443
|
+
return re(_.monthsShort, H, ae, 3);
|
|
1444
1444
|
case "MMMM":
|
|
1445
|
-
return re(
|
|
1445
|
+
return re(ae, H);
|
|
1446
1446
|
case "D":
|
|
1447
1447
|
return T.$D;
|
|
1448
1448
|
case "DD":
|
|
@@ -1486,18 +1486,18 @@ function _s() {
|
|
|
1486
1486
|
}, w.utcOffset = function() {
|
|
1487
1487
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1488
1488
|
}, w.diff = function(y, T, _) {
|
|
1489
|
-
var U, X = this, ce = z.p(T), q = L(y), H = (q.utcOffset() - this.utcOffset()) * a, ee = this - q,
|
|
1489
|
+
var U, X = this, ce = z.p(T), q = L(y), H = (q.utcOffset() - this.utcOffset()) * a, ee = this - q, ae = function() {
|
|
1490
1490
|
return z.m(X, q);
|
|
1491
1491
|
};
|
|
1492
1492
|
switch (ce) {
|
|
1493
1493
|
case h:
|
|
1494
|
-
U =
|
|
1494
|
+
U = ae() / 12;
|
|
1495
1495
|
break;
|
|
1496
1496
|
case c:
|
|
1497
|
-
U =
|
|
1497
|
+
U = ae();
|
|
1498
1498
|
break;
|
|
1499
1499
|
case g:
|
|
1500
|
-
U =
|
|
1500
|
+
U = ae() / 3;
|
|
1501
1501
|
break;
|
|
1502
1502
|
case f:
|
|
1503
1503
|
U = (ee - H) / 6048e5;
|
|
@@ -1551,7 +1551,7 @@ function _s() {
|
|
|
1551
1551
|
})(ba)), ba.exports;
|
|
1552
1552
|
}
|
|
1553
1553
|
var Os = _s();
|
|
1554
|
-
const
|
|
1554
|
+
const Ce = /* @__PURE__ */ No(Os);
|
|
1555
1555
|
var wa = { exports: {} }, Rs = wa.exports, bl;
|
|
1556
1556
|
function Ps() {
|
|
1557
1557
|
return bl || (bl = 1, (function(e, n) {
|
|
@@ -1729,10 +1729,10 @@ function Ns() {
|
|
|
1729
1729
|
z && (F = j[2]), s = this.$locale(), !L && F && (s = p.Ls[F]), this.$d = (function(T, _, U, X) {
|
|
1730
1730
|
try {
|
|
1731
1731
|
if (["x", "X"].indexOf(_) > -1) return new Date((_ === "X" ? 1e3 : 1) * T);
|
|
1732
|
-
var ce = v(_)(T), q = ce.year, H = ce.month, ee = ce.day,
|
|
1733
|
-
q && !H || (Re = H > 0 ? H - 1 :
|
|
1734
|
-
var Bt, Q =
|
|
1735
|
-
return te ? new Date(Date.UTC(be, Re, de, Q,
|
|
1732
|
+
var ce = v(_)(T), q = ce.year, H = ce.month, ee = ce.day, ae = ce.hours, K = ce.minutes, re = ce.seconds, J = ce.milliseconds, te = ce.zone, xe = ce.week, oe = /* @__PURE__ */ new Date(), de = ee || (q || H ? 1 : oe.getDate()), be = q || oe.getFullYear(), Re = 0;
|
|
1733
|
+
q && !H || (Re = H > 0 ? H - 1 : oe.getMonth());
|
|
1734
|
+
var Bt, Q = ae || 0, we = K || 0, Ae = re || 0, Be = J || 0;
|
|
1735
|
+
return te ? new Date(Date.UTC(be, Re, de, Q, we, Ae, Be + 60 * te.offset * 1e3)) : U ? new Date(Date.UTC(be, Re, de, Q, we, Ae, Be)) : (Bt = new Date(be, Re, de, Q, we, Ae, Be), xe && (Bt = X(Bt).week(xe).toDate()), Bt);
|
|
1736
1736
|
} catch {
|
|
1737
1737
|
return /* @__PURE__ */ new Date("");
|
|
1738
1738
|
}
|
|
@@ -1754,16 +1754,16 @@ function Ns() {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
var Us = Ns();
|
|
1756
1756
|
const nr = /* @__PURE__ */ No(Us);
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
const Yt = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000000Z", qa = "2100-01-01T00:00:00.000000Z", Fm = () =>
|
|
1757
|
+
Ce.extend(tr);
|
|
1758
|
+
Ce.extend(nr);
|
|
1759
|
+
const Yt = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000000Z", qa = "2100-01-01T00:00:00.000000Z", Fm = () => Ce().utc().toDate(), Ys = (e) => Ce(e).toDate(), Bm = () => ql(Ce().utc().unix()), qn = (e = !0, n = !1) => e && !n ? Ce().utc().format("YYYY-MM-DDTHH:mm:ss") + Yt : e && n ? Ce().utc().format("YYYY-MM-DDTHH:mm:00") + Yt : !e && n ? Ce().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : Ce().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", _m = (e = 0) => e === 0 ? Ce().startOf("day").utc().format($a) + Yt : Ce().add(e, "days").startOf("day").utc().format($a) + Yt, Om = (e = 0) => e === 0 ? Ce().endOf("day").utc().format($a) + Yt : Ce().add(e, "days").endOf("day").utc().format($a) + Yt, Hs = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? Ce(n).add(e, "minutes").toDate() : e < 0 ? Ce(n).subtract(Math.abs(e), "minutes").toDate() : n), Do = (e, n = Yt) => Ce(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, Rm = () => Ce().utc().format("YYYY"), _n = (e, n = "", t = !1) => e === qa || e === ja || e === "" || ne(e) || M(e) ? n : Ce(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Pm = (e, n = "", t = !1) => {
|
|
1760
1760
|
if (e === qa || e === ja || e === "" || ne(e) || M(e))
|
|
1761
1761
|
return n;
|
|
1762
1762
|
let a = !0, l = !0;
|
|
1763
|
-
const o =
|
|
1764
|
-
return i.format("YYYY") === o.format("YYYY") && (a = !1), i.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (l = !1), !a && !l ?
|
|
1765
|
-
}, Lm = (e, n = "") => e === qa || e === ja || e === "" || ne(e) || M(e) ? n :
|
|
1766
|
-
const a =
|
|
1763
|
+
const o = Ce(e), i = Ce();
|
|
1764
|
+
return i.format("YYYY") === o.format("YYYY") && (a = !1), i.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (l = !1), !a && !l ? Ce(o).format(t ? "H:mm:ss" : "H:mm") : a ? Ce(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : Ce(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
|
|
1765
|
+
}, Lm = (e, n = "") => e === qa || e === ja || e === "" || ne(e) || M(e) ? n : Ce(e).format("DD.MM.YYYY"), Vm = (e, n = "") => e === qa || e === ja || e === "" || ne(e) || M(e) ? n : Ce(e).format("HH:mm"), Nm = (e, n, t = "ms") => {
|
|
1766
|
+
const a = Ce(e), l = Ce(n);
|
|
1767
1767
|
return a.diff(l, t);
|
|
1768
1768
|
}, io = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), zs = (e, n, t = 0, a = !1) => {
|
|
1769
1769
|
const l = new Date(e);
|
|
@@ -1797,7 +1797,7 @@ const Yt = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000
|
|
|
1797
1797
|
onClick: l
|
|
1798
1798
|
}, {
|
|
1799
1799
|
default: E(() => [
|
|
1800
|
-
fe(
|
|
1800
|
+
fe(le(O(a)(e.buttonT)), 1)
|
|
1801
1801
|
]),
|
|
1802
1802
|
_: 1
|
|
1803
1803
|
}, 8, ["class", "data-cy", "variant"]));
|
|
@@ -1831,7 +1831,7 @@ const Yt = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000
|
|
|
1831
1831
|
location: "bottom"
|
|
1832
1832
|
}, {
|
|
1833
1833
|
default: E(() => [
|
|
1834
|
-
fe(
|
|
1834
|
+
fe(le(O(l)(e.tooltipT)), 1)
|
|
1835
1835
|
]),
|
|
1836
1836
|
_: 1
|
|
1837
1837
|
})
|
|
@@ -2109,7 +2109,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2109
2109
|
}, R = () => {
|
|
2110
2110
|
r.value?.focus();
|
|
2111
2111
|
};
|
|
2112
|
-
return
|
|
2112
|
+
return $e([o, i], ([A, b], [B, j]) => {
|
|
2113
2113
|
if (A === B && b === j) return;
|
|
2114
2114
|
const I = parseInt(
|
|
2115
2115
|
A ?? (l.value ? l.value.hours.toString() : "12")
|
|
@@ -2231,7 +2231,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2231
2231
|
emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose", "afterClear"],
|
|
2232
2232
|
setup(e, { emit: n }) {
|
|
2233
2233
|
const t = e, a = n;
|
|
2234
|
-
|
|
2234
|
+
Ce.extend(tr), Ce.extend(nr);
|
|
2235
2235
|
const l = N(!1), o = N(0), i = N(0), r = At("timePickerInstance"), s = At("inputInstance"), u = At("confirmRefButton"), f = N(""), c = N(null), g = N(null), h = N(null), { t: D } = Oe(), v = P(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: d } = Uo(), m = P(() => ({
|
|
2236
2236
|
textFieldValue: {
|
|
2237
2237
|
required: d(t.required)
|
|
@@ -2241,7 +2241,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2241
2241
|
}, A = (T) => {
|
|
2242
2242
|
ne(T) || ((ne(g.value) || T.hour() !== g.value.hours || T.minute() !== g.value.minutes) && (g.value = { hours: T.hour(), minutes: T.minute() }), (ne(c.value) || T.year() !== c.value.getFullYear() || T.month() !== c.value.getMonth() || T.date() !== c.value.getDate()) && (c.value = T.toDate()));
|
|
2243
2243
|
};
|
|
2244
|
-
|
|
2244
|
+
$e(
|
|
2245
2245
|
() => t.modelValue,
|
|
2246
2246
|
(T, _) => {
|
|
2247
2247
|
if (T !== _) {
|
|
@@ -2249,16 +2249,16 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2249
2249
|
h.value = null;
|
|
2250
2250
|
return;
|
|
2251
2251
|
}
|
|
2252
|
-
t.lastMinuteMoment ? h.value =
|
|
2252
|
+
t.lastMinuteMoment ? h.value = Ce(T, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(999) : h.value = Ce(T, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(0);
|
|
2253
2253
|
}
|
|
2254
2254
|
},
|
|
2255
2255
|
{ immediate: !0 }
|
|
2256
2256
|
);
|
|
2257
2257
|
const b = (T, _) => ne(T) ? _ : _.set("date", T.getDate()).set("month", T.getMonth()).set("year", T.getFullYear()), B = (T, _) => ne(T) ? _ : _.set("hour", T.hours).set("minute", T.minutes);
|
|
2258
|
-
|
|
2258
|
+
$e([g, c], ([T, _]) => {
|
|
2259
2259
|
let U = null;
|
|
2260
|
-
ne(h.value) ? ne(t.modelValue) ? t.lastMinuteMoment ? U =
|
|
2261
|
-
}),
|
|
2260
|
+
ne(h.value) ? ne(t.modelValue) ? t.lastMinuteMoment ? U = Ce().hour(0).minute(0).second(59).millisecond(999) : U = Ce().hour(0).minute(0).second(0).millisecond(0) : U = Ce(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : U = h.value, U = B(T, U), U = b(_, U), !U.isSame(Pa(h.value)) && (h.value = U);
|
|
2261
|
+
}), $e(
|
|
2262
2262
|
h,
|
|
2263
2263
|
(T) => {
|
|
2264
2264
|
if (ne(T)) {
|
|
@@ -2269,26 +2269,26 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2269
2269
|
f.value = T.format(x.value), A(T), R(_);
|
|
2270
2270
|
},
|
|
2271
2271
|
{ immediate: !0 }
|
|
2272
|
-
),
|
|
2272
|
+
), $e(l, (T) => {
|
|
2273
2273
|
if (T) {
|
|
2274
|
-
I(), ne(h.value) && (ne(t.defaultValue) || M(t.defaultValue)) && (t.lastMinuteMoment ? h.value =
|
|
2274
|
+
I(), ne(h.value) && (ne(t.defaultValue) || M(t.defaultValue)) && (t.lastMinuteMoment ? h.value = Ce().second(59).millisecond(999) : h.value = Ce().second(0).millisecond(0)), qe(() => {
|
|
2275
2275
|
o.value++;
|
|
2276
2276
|
}), a("onOpen");
|
|
2277
2277
|
return;
|
|
2278
2278
|
}
|
|
2279
2279
|
a("onClose");
|
|
2280
2280
|
});
|
|
2281
|
-
const j = P(() =>
|
|
2281
|
+
const j = P(() => Fe(t.errorMessages) ? t.errorMessages : p.value.textFieldValue.$errors.length ? [p.value.textFieldValue.$errors.map((T) => T.$message).join(" ")] : []), I = () => {
|
|
2282
2282
|
const T = f.value.replace(/[^\s\d.:]/g, "").trim();
|
|
2283
2283
|
if (T.length === 0 && !t.required) {
|
|
2284
|
-
!ne(t.defaultValue) && !M(t.defaultValue) ? h.value =
|
|
2284
|
+
!ne(t.defaultValue) && !M(t.defaultValue) ? h.value = Ce(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : h.value = null, a("blur");
|
|
2285
2285
|
return;
|
|
2286
2286
|
}
|
|
2287
|
-
const _ =
|
|
2287
|
+
const _ = Ce(T, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
|
|
2288
2288
|
if (_.isValid()) {
|
|
2289
2289
|
let U = 0;
|
|
2290
2290
|
if (!ne(t.modelValue)) {
|
|
2291
|
-
const X =
|
|
2291
|
+
const X = Ce(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
|
|
2292
2292
|
X.isValid() && (U = X.second());
|
|
2293
2293
|
}
|
|
2294
2294
|
h.value = _.second(U), p.value.textFieldValue.$touch(), a("blur");
|
|
@@ -2300,7 +2300,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2300
2300
|
h.value = null, c.value = null, g.value = null, a("afterClear");
|
|
2301
2301
|
return;
|
|
2302
2302
|
}
|
|
2303
|
-
h.value =
|
|
2303
|
+
h.value = Ce(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
|
|
2304
2304
|
}, z = () => {
|
|
2305
2305
|
l.value = !1, s.value?.focus(), s.value?.blur(), a("onClose"), a("blur");
|
|
2306
2306
|
}, V = () => {
|
|
@@ -2312,7 +2312,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2312
2312
|
}, w = () => {
|
|
2313
2313
|
r.value?.focusHour();
|
|
2314
2314
|
}, y = () => {
|
|
2315
|
-
t.lastMinuteMoment ? h.value =
|
|
2315
|
+
t.lastMinuteMoment ? h.value = Ce().second(59).millisecond(999) : h.value = Ce().second(0).millisecond(0), qe(() => {
|
|
2316
2316
|
o.value++, i.value++;
|
|
2317
2317
|
});
|
|
2318
2318
|
};
|
|
@@ -2398,7 +2398,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2398
2398
|
class: "a-datetime-picker__bottom-button",
|
|
2399
2399
|
tabindex: "8",
|
|
2400
2400
|
onClick: y
|
|
2401
|
-
},
|
|
2401
|
+
}, le(O(D)("common.time.now")), 1),
|
|
2402
2402
|
De("button", {
|
|
2403
2403
|
ref_key: "confirmRefButton",
|
|
2404
2404
|
ref: u,
|
|
@@ -2406,7 +2406,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2406
2406
|
class: "a-datetime-picker__bottom-button",
|
|
2407
2407
|
tabindex: "7",
|
|
2408
2408
|
onClick: ge(z, ["stop"])
|
|
2409
|
-
},
|
|
2409
|
+
}, le(O(D)("common.button.confirm")), 513)
|
|
2410
2410
|
])
|
|
2411
2411
|
]),
|
|
2412
2412
|
_: 1
|
|
@@ -2423,7 +2423,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2423
2423
|
e.hideLabel ? void 0 : {
|
|
2424
2424
|
name: "label",
|
|
2425
2425
|
fn: E(() => [
|
|
2426
|
-
fe(
|
|
2426
|
+
fe(le(e.label), 1),
|
|
2427
2427
|
e.required ? ($(), ie("span", Au)) : ue("", !0)
|
|
2428
2428
|
]),
|
|
2429
2429
|
key: "0"
|
|
@@ -2456,9 +2456,9 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2456
2456
|
}), r = N((B) => {
|
|
2457
2457
|
}), s = N(() => {
|
|
2458
2458
|
}), u = N(null);
|
|
2459
|
-
if (o.value.enabled &&
|
|
2459
|
+
if (o.value.enabled && Fe(t.collab)) {
|
|
2460
2460
|
const { releaseCollabFieldLock: B, changeCollabFieldData: j, acquireCollabFieldLock: I, lockedByUser: L } = za(t.collab.room, t.collab.field);
|
|
2461
|
-
i.value = B, r.value = j, s.value = I,
|
|
2461
|
+
i.value = B, r.value = j, s.value = I, $e(
|
|
2462
2462
|
L,
|
|
2463
2463
|
(z) => {
|
|
2464
2464
|
u.value = z;
|
|
@@ -2474,13 +2474,13 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2474
2474
|
c.value = !1, a("blur", M(t.modelValue) ? null : t.modelValue), t.v?.$touch(), f.value === !1 && i.value(t.modelValue);
|
|
2475
2475
|
}, p = () => {
|
|
2476
2476
|
c.value = !0, a("focus", t.modelValue), s.value();
|
|
2477
|
-
}, x = P(() =>
|
|
2478
|
-
if (
|
|
2477
|
+
}, x = P(() => Fe(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((B) => B.$message).join(" ")] : []), R = P(() => {
|
|
2478
|
+
if (Fe(t.label)) return t.label;
|
|
2479
2479
|
if (M(v) || M(d) || M(t.v?.$path)) return "";
|
|
2480
2480
|
const { end: B } = vn(t.v?.$path, ".");
|
|
2481
2481
|
return D(v + "." + d + ".model." + B);
|
|
2482
|
-
}), A = P(() =>
|
|
2483
|
-
return
|
|
2482
|
+
}), A = P(() => Fe(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), b = P(() => Fe(t.disabled) ? t.disabled : !!u.value);
|
|
2483
|
+
return $e(l, (B, j) => {
|
|
2484
2484
|
B !== j && o.value.enabled && (c.value || f.value) && r.value(B);
|
|
2485
2485
|
}), (B, j) => ($(), G(lr, Ne({
|
|
2486
2486
|
modelValue: l.value,
|
|
@@ -2524,12 +2524,12 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2524
2524
|
const t = e, a = n, { collabOptions: l } = bn(), o = N((h) => {
|
|
2525
2525
|
}), i = N(() => {
|
|
2526
2526
|
}), r = N(null);
|
|
2527
|
-
if (l.value.enabled &&
|
|
2527
|
+
if (l.value.enabled && Fe(t.collab)) {
|
|
2528
2528
|
const { releaseCollabFieldLock: h, acquireCollabFieldLock: D, lockedByUser: v } = za(
|
|
2529
2529
|
t.collab.room,
|
|
2530
2530
|
t.collab.field
|
|
2531
2531
|
);
|
|
2532
|
-
o.value = h, i.value = D,
|
|
2532
|
+
o.value = h, i.value = D, $e(
|
|
2533
2533
|
v,
|
|
2534
2534
|
(d) => {
|
|
2535
2535
|
r.value = d;
|
|
@@ -2547,7 +2547,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2547
2547
|
a("blur", t.modelValue), o.value(t.modelValue);
|
|
2548
2548
|
}, c = () => {
|
|
2549
2549
|
a("focus", t.modelValue), i.value();
|
|
2550
|
-
}, g = P(() =>
|
|
2550
|
+
}, g = P(() => Fe(t.disabled) ? t.disabled : !!r.value);
|
|
2551
2551
|
return (h, D) => ($(), G(Si, {
|
|
2552
2552
|
"data-cy": e.dataCy,
|
|
2553
2553
|
"model-value": e.modelValue,
|
|
@@ -2560,7 +2560,7 @@ const bu = { class: "a-datetime-picker-time" }, wu = { class: "a-datetime-picker
|
|
|
2560
2560
|
e.hideLabel ? void 0 : {
|
|
2561
2561
|
name: "label",
|
|
2562
2562
|
fn: E(() => [
|
|
2563
|
-
fe(
|
|
2563
|
+
fe(le(e.label), 1)
|
|
2564
2564
|
]),
|
|
2565
2565
|
key: "0"
|
|
2566
2566
|
},
|
|
@@ -2621,7 +2621,7 @@ function Bu(e, n, t) {
|
|
|
2621
2621
|
apiName: Tt(r.apiName, r.name),
|
|
2622
2622
|
clearable: Tt(r.clearable, !0),
|
|
2623
2623
|
mandatory: Tt(r.mandatory, !1),
|
|
2624
|
-
multiple:
|
|
2624
|
+
multiple: Se(u),
|
|
2625
2625
|
advanced: Tt(r.advanced, !1),
|
|
2626
2626
|
related: Tt(r.related, void 0),
|
|
2627
2627
|
exclude: Tt(r.exclude, !1),
|
|
@@ -2667,7 +2667,7 @@ function wt() {
|
|
|
2667
2667
|
}
|
|
2668
2668
|
if (f.type === "timeInterval" && f.related)
|
|
2669
2669
|
r[o] = f.default, r[f.related] = s.fields[f.related].default;
|
|
2670
|
-
else if (
|
|
2670
|
+
else if (Se(r[o]) && r[o].length > 0) {
|
|
2671
2671
|
const g = r[o].findIndex(
|
|
2672
2672
|
(D) => D === i
|
|
2673
2673
|
), h = [...Pa(r[o])];
|
|
@@ -2709,7 +2709,7 @@ function rr(e, n, t = {}) {
|
|
|
2709
2709
|
const R = new URLSearchParams();
|
|
2710
2710
|
for (const A in m) {
|
|
2711
2711
|
const b = m[A];
|
|
2712
|
-
M(b) || ne(b) ||
|
|
2712
|
+
M(b) || ne(b) || Se(b) && So(b) || Zn(b) && Ln(b) || He(b) && b.length === 0 || (Se(b) ? R.set(A, b.join(",")) : R.set(A, String(b)));
|
|
2713
2713
|
}
|
|
2714
2714
|
return x && p.value.sortBy && R.set(co, `${p.value.sortBy.key},${p.value.sortBy.order}`), R.size === 0 ? "" : R.toString() + l;
|
|
2715
2715
|
}, s = (m) => {
|
|
@@ -2902,9 +2902,9 @@ function Pu() {
|
|
|
2902
2902
|
};
|
|
2903
2903
|
}
|
|
2904
2904
|
return null;
|
|
2905
|
-
}, r = (c, g) => ne(c) ? g.mandatory && !g.exclude && !M(g.default) ?
|
|
2906
|
-
|
|
2907
|
-
) : null : encodeURIComponent(c) :
|
|
2905
|
+
}, r = (c, g) => ne(c) ? g.mandatory && !g.exclude && !M(g.default) ? Se(g.default) ? g.default.join(",") : g.default : null : He(c) ? c.length === 0 ? g.mandatory && !g.exclude && !M(g.default) && !ne(g.default) ? encodeURIComponent(
|
|
2906
|
+
Se(g.default) ? g.default.join(",") : g.default
|
|
2907
|
+
) : null : encodeURIComponent(c) : Se(c) ? c.length === 0 ? g.mandatory && !g.exclude && Se(g.default) ? g.default.map((h) => He(h) ? encodeURIComponent(h) : h).join(",") : null : c.map((h) => He(h) ? encodeURIComponent(h) : h).join(",") : mn(c) || ut(c) ? c : null, s = (c, g) => {
|
|
2908
2908
|
e.value.push(c + "=" + g);
|
|
2909
2909
|
};
|
|
2910
2910
|
return {
|
|
@@ -2977,7 +2977,7 @@ const Lu = (e) => Zn(e) && Object.hasOwn(e, "totalCount"), Vu = (e) => Zn(e) &&
|
|
|
2977
2977
|
forceElastic: m = !1
|
|
2978
2978
|
} = D;
|
|
2979
2979
|
try {
|
|
2980
|
-
const p = h.general.elastic || m ? "/search" : "", x =
|
|
2980
|
+
const p = h.general.elastic || m ? "/search" : "", x = Fe(d) ? d : o, R = Fe(v) ? v : l;
|
|
2981
2981
|
if (M(R)) throw new Error("Url template is undefined");
|
|
2982
2982
|
const A = (M(x) ? R : na(R, x)) + p + Nu(c, g, h), b = await n().get(A, {
|
|
2983
2983
|
...i,
|
|
@@ -3152,7 +3152,7 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3152
3152
|
o.value.set(t.name, [{ title: s.value, value: s.value }]);
|
|
3153
3153
|
}
|
|
3154
3154
|
};
|
|
3155
|
-
return
|
|
3155
|
+
return $e(
|
|
3156
3156
|
() => r[t.name],
|
|
3157
3157
|
(d, m) => {
|
|
3158
3158
|
d === m || ut(d) || v();
|
|
@@ -3203,28 +3203,28 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3203
3203
|
ne(g) ? null : g.key,
|
|
3204
3204
|
g?.order
|
|
3205
3205
|
), B = N([]), j = N([]), I = N(!0), L = N(!1), z = P(() => {
|
|
3206
|
-
const
|
|
3206
|
+
const oe = /* @__PURE__ */ new Map(), de = (be) => {
|
|
3207
3207
|
be.forEach((Re) => {
|
|
3208
|
-
|
|
3208
|
+
oe.set(Re.value, {
|
|
3209
3209
|
value: Re.value,
|
|
3210
3210
|
title: Re.title,
|
|
3211
3211
|
subtitle: Re.subtitle
|
|
3212
3212
|
});
|
|
3213
3213
|
});
|
|
3214
3214
|
};
|
|
3215
|
-
return de(j.value), de(B.value), Array.from(
|
|
3216
|
-
}), V = N(!1), F = (
|
|
3217
|
-
j.value = [], D.value =
|
|
3218
|
-
}, k = (
|
|
3215
|
+
return de(j.value), de(B.value), Array.from(oe.values());
|
|
3216
|
+
}), V = N(!1), F = (oe) => {
|
|
3217
|
+
j.value = [], D.value = Se(oe) ? [] : null, m.value = Se(oe) ? [] : null, xe(D.value);
|
|
3218
|
+
}, k = (oe) => {
|
|
3219
3219
|
const de = (be) => z.value.find((Re) => Re.value === be) ?? { title: `${be}`, value: be };
|
|
3220
|
-
return
|
|
3221
|
-
}, w = async (
|
|
3220
|
+
return Se(oe) ? oe.map(de) : de(oe);
|
|
3221
|
+
}, w = async (oe) => {
|
|
3222
3222
|
V.value = !0;
|
|
3223
3223
|
try {
|
|
3224
|
-
const de =
|
|
3224
|
+
const de = Se(oe) ? oe : [oe];
|
|
3225
3225
|
try {
|
|
3226
3226
|
j.value = await t.fetchItemsByIds(de);
|
|
3227
|
-
const be = k(
|
|
3227
|
+
const be = k(oe);
|
|
3228
3228
|
D.value = be, m.value = be, xe(D.value);
|
|
3229
3229
|
} catch (be) {
|
|
3230
3230
|
y(be);
|
|
@@ -3233,8 +3233,8 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3233
3233
|
} finally {
|
|
3234
3234
|
V.value = !1;
|
|
3235
3235
|
}
|
|
3236
|
-
}, { showErrorsDefault: y } = Tn(), T = async (
|
|
3237
|
-
V.value = !0, u[c] =
|
|
3236
|
+
}, { showErrorsDefault: y } = Tn(), T = async (oe, de) => {
|
|
3237
|
+
V.value = !0, u[c] = oe;
|
|
3238
3238
|
try {
|
|
3239
3239
|
const be = await t.fetchItems(b, u, s);
|
|
3240
3240
|
de === p.value && (B.value = be);
|
|
@@ -3243,12 +3243,14 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3243
3243
|
} finally {
|
|
3244
3244
|
V.value = !1;
|
|
3245
3245
|
}
|
|
3246
|
-
}, _ = async (
|
|
3247
|
-
if (!(t.prefetch === !1 || t.prefetch !==
|
|
3246
|
+
}, _ = async (oe) => {
|
|
3247
|
+
if (!(t.prefetch === !1 || t.prefetch !== oe) && !V.value && !L.value) {
|
|
3248
3248
|
V.value = !0;
|
|
3249
3249
|
try {
|
|
3250
3250
|
const de = await t.fetchItems(b, u, s);
|
|
3251
3251
|
p.value === 0 && (B.value = de), L.value = !0;
|
|
3252
|
+
} catch (de) {
|
|
3253
|
+
y(de);
|
|
3252
3254
|
} finally {
|
|
3253
3255
|
V.value = !1;
|
|
3254
3256
|
}
|
|
@@ -3260,27 +3262,27 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3260
3262
|
}, ce = P(() => {
|
|
3261
3263
|
if (!h.value.multiple && j.value[0])
|
|
3262
3264
|
return j.value[0].title;
|
|
3263
|
-
}), q = (
|
|
3264
|
-
!h.value.multiple && !d.value &&
|
|
3265
|
+
}), q = (oe) => {
|
|
3266
|
+
!h.value.multiple && !d.value && oe.length === 0 || ce.value !== oe && (v.value = oe);
|
|
3265
3267
|
}, { clearOne: H } = wt(), ee = () => {
|
|
3266
3268
|
H(t.name, r, i), o.value.delete(t.name);
|
|
3267
|
-
},
|
|
3269
|
+
}, ae = async () => {
|
|
3268
3270
|
try {
|
|
3269
3271
|
B.value = await t.fetchItems(b, u, s);
|
|
3270
|
-
} catch (
|
|
3271
|
-
y(
|
|
3272
|
+
} catch (oe) {
|
|
3273
|
+
y(oe);
|
|
3272
3274
|
}
|
|
3273
3275
|
ee();
|
|
3274
3276
|
};
|
|
3275
3277
|
Va(
|
|
3276
3278
|
v,
|
|
3277
|
-
(
|
|
3278
|
-
if (
|
|
3279
|
-
if (
|
|
3279
|
+
(oe, de) => {
|
|
3280
|
+
if (oe !== de && !(oe.length > 0 && oe.length < t.minSearchChars)) {
|
|
3281
|
+
if (oe.length === 0 && t.prefetch === !1) {
|
|
3280
3282
|
B.value = [];
|
|
3281
3283
|
return;
|
|
3282
3284
|
}
|
|
3283
|
-
p.value++, T(
|
|
3285
|
+
p.value++, T(oe, p.value);
|
|
3284
3286
|
}
|
|
3285
3287
|
},
|
|
3286
3288
|
{ debounce: Ku }
|
|
@@ -3292,29 +3294,29 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3292
3294
|
return "$vuetify.loading";
|
|
3293
3295
|
if (B.value.length === 0 && v.value.length < t.minSearchChars)
|
|
3294
3296
|
return M(t.minSearchText) ? x("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
|
|
3295
|
-
}), te = (
|
|
3297
|
+
}), te = (oe) => {
|
|
3296
3298
|
i.touched = !0;
|
|
3297
3299
|
let de = null;
|
|
3298
|
-
|
|
3299
|
-
}, xe = (
|
|
3300
|
-
if (o.value.delete(t.name),
|
|
3300
|
+
Se(oe) ? de = oe.map((be) => be.value) : ne(oe) || (de = oe.value), r[t.name] = de, a("change");
|
|
3301
|
+
}, xe = (oe) => {
|
|
3302
|
+
if (o.value.delete(t.name), Se(oe) && oe.length === 0 || ne(oe)) {
|
|
3301
3303
|
o.value.delete(t.name);
|
|
3302
3304
|
return;
|
|
3303
3305
|
}
|
|
3304
|
-
if (
|
|
3306
|
+
if (Se(oe)) {
|
|
3305
3307
|
o.value.set(
|
|
3306
3308
|
t.name,
|
|
3307
|
-
|
|
3309
|
+
oe.map((de) => ({ title: de.title, value: de.value }))
|
|
3308
3310
|
);
|
|
3309
3311
|
return;
|
|
3310
3312
|
}
|
|
3311
|
-
o.value.set(t.name, [{ title:
|
|
3313
|
+
o.value.set(t.name, [{ title: oe.title, value: oe.value }]);
|
|
3312
3314
|
};
|
|
3313
|
-
return
|
|
3315
|
+
return $e(
|
|
3314
3316
|
() => r[t.name],
|
|
3315
|
-
async (
|
|
3316
|
-
if (
|
|
3317
|
-
const be =
|
|
3317
|
+
async (oe, de) => {
|
|
3318
|
+
if (oe === de || ut(oe)) return;
|
|
3319
|
+
const be = oe;
|
|
3318
3320
|
if (I.value && (I.value = !1, await K()), jl(be)) {
|
|
3319
3321
|
F(be), M(de) || (p.value++, await T("", p.value));
|
|
3320
3322
|
return;
|
|
@@ -3322,7 +3324,7 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3322
3324
|
await w(be);
|
|
3323
3325
|
},
|
|
3324
3326
|
{ immediate: !0 }
|
|
3325
|
-
), (
|
|
3327
|
+
), (oe, de) => ($(), G(Kn, {
|
|
3326
3328
|
modelValue: D.value,
|
|
3327
3329
|
"onUpdate:modelValue": [
|
|
3328
3330
|
de[0] || (de[0] = (be) => D.value = be),
|
|
@@ -3344,7 +3346,7 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3344
3346
|
onBlur: R,
|
|
3345
3347
|
onFocus: U,
|
|
3346
3348
|
onMouseenter: X,
|
|
3347
|
-
"onClick:clear":
|
|
3349
|
+
"onClick:clear": ae
|
|
3348
3350
|
}, zt({
|
|
3349
3351
|
item: E(({ props: be, internalItem: Re }) => [
|
|
3350
3352
|
S(ot, Ne(be, {
|
|
@@ -3360,8 +3362,8 @@ const jm = (e, n = {}, t, a = {}, l, o, i = {}) => new Promise((r, s) => {
|
|
|
3360
3362
|
disabled: Re.props.disabled
|
|
3361
3363
|
}, {
|
|
3362
3364
|
default: E(() => [
|
|
3363
|
-
fe(
|
|
3364
|
-
Re.raw.subtitle ? ($(), ie("span", qu, " (" +
|
|
3365
|
+
fe(le(Re.raw.title) + " ", 1),
|
|
3366
|
+
Re.raw.subtitle ? ($(), ie("span", qu, " (" + le(Re.raw.subtitle) + ") ", 1)) : ue("", !0)
|
|
3365
3367
|
]),
|
|
3366
3368
|
_: 2
|
|
3367
3369
|
}, 1032, ["closable", "text", "disabled"])
|
|
@@ -3448,7 +3450,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3448
3450
|
return [].concat(re);
|
|
3449
3451
|
}, V = async (K) => {
|
|
3450
3452
|
let re = 1, J = [];
|
|
3451
|
-
return
|
|
3453
|
+
return Se(K) ? (re = K.length, J = z(K)) : J = z([K]), b.value = J, J.length === re;
|
|
3452
3454
|
}, F = N(!1), k = () => {
|
|
3453
3455
|
clearTimeout(D.value), D.value = void 0;
|
|
3454
3456
|
}, w = async () => {
|
|
@@ -3475,7 +3477,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3475
3477
|
}, X = (K) => {
|
|
3476
3478
|
i.touched = !0;
|
|
3477
3479
|
let re = null;
|
|
3478
|
-
|
|
3480
|
+
Se(K) ? re = K.map((J) => J.value) : ne(K) || (re = K.value), r[t.name] = re, a("change");
|
|
3479
3481
|
}, ce = async () => {
|
|
3480
3482
|
try {
|
|
3481
3483
|
A.value = await t.fetchItemsMinimal(
|
|
@@ -3489,12 +3491,12 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3489
3491
|
ee();
|
|
3490
3492
|
}, q = P(() => M(t.placeholder) ? m.value.variant === "startsWith" ? d("common.model.filterPlaceholder.startsWith") : m.value.variant === "eq" ? d("common.model.filterPlaceholder.eq") : m.value.variant === "search" ? d("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: H } = wt(), ee = () => {
|
|
3491
3493
|
H(t.name, r, i), o.value.delete(t.name);
|
|
3492
|
-
},
|
|
3493
|
-
if (o.value.delete(t.name),
|
|
3494
|
+
}, ae = (K) => {
|
|
3495
|
+
if (o.value.delete(t.name), Se(K) && K.length === 0 || ne(K)) {
|
|
3494
3496
|
o.value.delete(t.name);
|
|
3495
3497
|
return;
|
|
3496
3498
|
}
|
|
3497
|
-
if (
|
|
3499
|
+
if (Se(K)) {
|
|
3498
3500
|
o.value.set(
|
|
3499
3501
|
t.name,
|
|
3500
3502
|
K.map((re) => ({ title: re.title, value: re.value }))
|
|
@@ -3503,12 +3505,12 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3503
3505
|
}
|
|
3504
3506
|
o.value.set(t.name, [{ title: K.title, value: K.value }]);
|
|
3505
3507
|
};
|
|
3506
|
-
return
|
|
3508
|
+
return $e(
|
|
3507
3509
|
() => r[t.name],
|
|
3508
3510
|
async (K, re) => {
|
|
3509
3511
|
if (K === re || ut(K)) return;
|
|
3510
|
-
if (ne(K) || M(K) ||
|
|
3511
|
-
if (b.value = [], m.value.multiple ? c.value = [] : c.value = null,
|
|
3512
|
+
if (ne(K) || M(K) || Se(K) && K.length === 0) {
|
|
3513
|
+
if (b.value = [], m.value.multiple ? c.value = [] : c.value = null, ae(c.value), F.value === !0 || Wu(t.prefetch, ["hover", "focus", !1])) return;
|
|
3512
3514
|
D.value = setTimeout(() => {
|
|
3513
3515
|
w();
|
|
3514
3516
|
}, 3e3);
|
|
@@ -3518,10 +3520,10 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3518
3520
|
c.value = b.value.map((te) => ({
|
|
3519
3521
|
title: te.title,
|
|
3520
3522
|
value: te.value
|
|
3521
|
-
})),
|
|
3523
|
+
})), ae(c.value);
|
|
3522
3524
|
return;
|
|
3523
3525
|
}
|
|
3524
|
-
if (
|
|
3526
|
+
if (Se(K)) {
|
|
3525
3527
|
j.value = !0;
|
|
3526
3528
|
try {
|
|
3527
3529
|
b.value = await t.fetchItemsMinimalByIds(
|
|
@@ -3529,7 +3531,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3529
3531
|
), c.value = b.value.map((te) => ({
|
|
3530
3532
|
title: te.title,
|
|
3531
3533
|
value: te.value
|
|
3532
|
-
})),
|
|
3534
|
+
})), ae(c.value);
|
|
3533
3535
|
} catch (te) {
|
|
3534
3536
|
I(te);
|
|
3535
3537
|
} finally {
|
|
@@ -3542,7 +3544,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3542
3544
|
b.value = await t.fetchItemsMinimalByIds([K]), c.value = b.value.map((te) => ({
|
|
3543
3545
|
title: te.title,
|
|
3544
3546
|
value: te.value
|
|
3545
|
-
}))[0],
|
|
3547
|
+
}))[0], ae(c.value);
|
|
3546
3548
|
} catch (te) {
|
|
3547
3549
|
I(te);
|
|
3548
3550
|
} finally {
|
|
@@ -3632,8 +3634,8 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3632
3634
|
}), f = P(() => i.fields[t.name]), { t: c } = Oe(), g = P(() => f.value.titleT ? c(f.value.titleT) : void 0), { clearOne: h } = wt(), D = () => {
|
|
3633
3635
|
h(t.name, r, i), o.value.delete(t.name);
|
|
3634
3636
|
}, v = (d) => {
|
|
3635
|
-
if (
|
|
3636
|
-
if (
|
|
3637
|
+
if (Se(d) && d.length === 0) return;
|
|
3638
|
+
if (Se(d)) {
|
|
3637
3639
|
o.value.set(
|
|
3638
3640
|
t.name,
|
|
3639
3641
|
d.map((p) => {
|
|
@@ -3648,7 +3650,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3648
3650
|
{ title: m.title, value: m.value }
|
|
3649
3651
|
]);
|
|
3650
3652
|
};
|
|
3651
|
-
return
|
|
3653
|
+
return $e(
|
|
3652
3654
|
() => r[t.name],
|
|
3653
3655
|
(d, m) => {
|
|
3654
3656
|
d === m || ut(d) || v(d);
|
|
@@ -3711,7 +3713,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3711
3713
|
}, j = () => {
|
|
3712
3714
|
x(t.nameFrom, r, i), x(t.nameUntil, r, i), o.value.delete(t.nameFrom);
|
|
3713
3715
|
}, I = (V) => {
|
|
3714
|
-
if (
|
|
3716
|
+
if (Se(V) || ut(V)) return;
|
|
3715
3717
|
if (ne(V) || M(V)) {
|
|
3716
3718
|
o.value.delete(t.nameFrom);
|
|
3717
3719
|
return;
|
|
@@ -3731,10 +3733,10 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3731
3733
|
}, L = (V = !1) => {
|
|
3732
3734
|
v.value.$reset(), V && (h.value.from = null, h.value.until = qn()), g.value = !0;
|
|
3733
3735
|
};
|
|
3734
|
-
|
|
3736
|
+
$e(
|
|
3735
3737
|
s,
|
|
3736
3738
|
(V) => {
|
|
3737
|
-
if (
|
|
3739
|
+
if (Se(V) || ut(V)) return;
|
|
3738
3740
|
if (D.value = !1, M(V) || ne(V)) {
|
|
3739
3741
|
c.value = null;
|
|
3740
3742
|
return;
|
|
@@ -3743,7 +3745,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3743
3745
|
!F && io(s.value) && io(k) && (c.value = St.Custom, h.value.from = s.value, h.value.until = k, D.value = !0), F && (c.value = F.value);
|
|
3744
3746
|
},
|
|
3745
3747
|
{ immediate: !0 }
|
|
3746
|
-
),
|
|
3748
|
+
), $e(
|
|
3747
3749
|
[() => r[t.nameFrom], () => r[t.nameUntil]],
|
|
3748
3750
|
([V, F], [k, w]) => {
|
|
3749
3751
|
V === k && F === w || I(V);
|
|
@@ -3807,7 +3809,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3807
3809
|
S(Oo, { onOnCancel: B }, {
|
|
3808
3810
|
default: E(() => [
|
|
3809
3811
|
he(V.$slots, "title", {}, () => [
|
|
3810
|
-
fe(
|
|
3812
|
+
fe(le(p.value), 1)
|
|
3811
3813
|
], !0)
|
|
3812
3814
|
]),
|
|
3813
3815
|
_: 3
|
|
@@ -3849,7 +3851,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3849
3851
|
onClick: ge(B, ["stop"])
|
|
3850
3852
|
}, {
|
|
3851
3853
|
default: E(() => [
|
|
3852
|
-
fe(
|
|
3854
|
+
fe(le(O(m)("common.button.cancel")), 1)
|
|
3853
3855
|
]),
|
|
3854
3856
|
_: 1
|
|
3855
3857
|
}),
|
|
@@ -3858,7 +3860,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3858
3860
|
onClick: ge(b, ["stop"])
|
|
3859
3861
|
}, {
|
|
3860
3862
|
default: E(() => [
|
|
3861
|
-
fe(
|
|
3863
|
+
fe(le(O(m)("common.button.confirm")), 1)
|
|
3862
3864
|
]),
|
|
3863
3865
|
_: 1
|
|
3864
3866
|
})
|
|
@@ -3881,7 +3883,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3881
3883
|
},
|
|
3882
3884
|
setup(e) {
|
|
3883
3885
|
const n = e;
|
|
3884
|
-
return (t, a) => ($(), ie("div", null,
|
|
3886
|
+
return (t, a) => ($(), ie("div", null, le(n.name), 1));
|
|
3885
3887
|
}
|
|
3886
3888
|
}), Xu = /* @__PURE__ */ Ee({
|
|
3887
3889
|
__name: "AFilterDatetimePicker",
|
|
@@ -3957,7 +3959,7 @@ const Km = /* @__PURE__ */ Ee({
|
|
|
3957
3959
|
o.value.set(t.name, [{ title: s.value, value: s.value }]);
|
|
3958
3960
|
}
|
|
3959
3961
|
};
|
|
3960
|
-
return
|
|
3962
|
+
return $e(
|
|
3961
3963
|
() => r[t.name],
|
|
3962
3964
|
(d, m) => {
|
|
3963
3965
|
d === m || ut(d) || v();
|
|
@@ -4108,7 +4110,7 @@ const Ia = {
|
|
|
4108
4110
|
u = new AbortController();
|
|
4109
4111
|
const h = g.urlTemplate, D = g.urlParams, v = g.object;
|
|
4110
4112
|
try {
|
|
4111
|
-
const d = { method: t }, m =
|
|
4113
|
+
const d = { method: t }, m = Fe(D) ? D : i, p = Fe(h) ? h : o;
|
|
4112
4114
|
if (M(p)) throw new Error("Url template is undefined");
|
|
4113
4115
|
d.url = p, p !== "" && !M(m) && (d.url = na(p, m)), ne(v) || (d.data = JSON.stringify(v));
|
|
4114
4116
|
const x = await n().request({
|
|
@@ -4215,7 +4217,7 @@ const nc = { key: 0 }, ac = 32, fr = /* @__PURE__ */ Ee({
|
|
|
4215
4217
|
), u.value = !1;
|
|
4216
4218
|
}, { deserializeFilters: m } = rr(i, o), p = (b) => {
|
|
4217
4219
|
const B = b.data;
|
|
4218
|
-
|
|
4220
|
+
Fe(B.datatableHiddenColumns) && Fe(l.value) && (l.value = B.datatableHiddenColumns), Fe(B.sortBy) && (r.value = {
|
|
4219
4221
|
...r.value,
|
|
4220
4222
|
sortBy: { key: B.sortBy.key, order: B.sortBy.order }
|
|
4221
4223
|
});
|
|
@@ -4273,7 +4275,7 @@ const nc = { key: 0 }, ac = 32, fr = /* @__PURE__ */ Ee({
|
|
|
4273
4275
|
hidden: R.value.slice(b)
|
|
4274
4276
|
};
|
|
4275
4277
|
});
|
|
4276
|
-
return
|
|
4278
|
+
return $e([u, () => R.value.length], ([b]) => {
|
|
4277
4279
|
b === !0 || ne(f.value) || (c.value = f.value.clientWidth, qe(() => {
|
|
4278
4280
|
x(c.value);
|
|
4279
4281
|
}));
|
|
@@ -4297,7 +4299,7 @@ const nc = { key: 0 }, ac = 32, fr = /* @__PURE__ */ Ee({
|
|
|
4297
4299
|
onClick: (I) => p(j)
|
|
4298
4300
|
}, {
|
|
4299
4301
|
default: E(() => [
|
|
4300
|
-
fe(
|
|
4302
|
+
fe(le(j.customName), 1)
|
|
4301
4303
|
]),
|
|
4302
4304
|
_: 2
|
|
4303
4305
|
}, 1032, ["onClick"])
|
|
@@ -4324,7 +4326,7 @@ const nc = { key: 0 }, ac = 32, fr = /* @__PURE__ */ Ee({
|
|
|
4324
4326
|
default: E(() => [
|
|
4325
4327
|
S(Wt, null, {
|
|
4326
4328
|
default: E(() => [
|
|
4327
|
-
fe(
|
|
4329
|
+
fe(le(j.customName), 1)
|
|
4328
4330
|
]),
|
|
4329
4331
|
_: 2
|
|
4330
4332
|
}, 1024)
|
|
@@ -4428,10 +4430,10 @@ var Ft = Mt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), oa = Mt(/E
|
|
|
4428
4430
|
capture: !1,
|
|
4429
4431
|
passive: !1
|
|
4430
4432
|
};
|
|
4431
|
-
function
|
|
4433
|
+
function Ie(e, n, t) {
|
|
4432
4434
|
e.addEventListener(n, t, !Ft && vr);
|
|
4433
4435
|
}
|
|
4434
|
-
function
|
|
4436
|
+
function Me(e, n, t) {
|
|
4435
4437
|
e.removeEventListener(n, t, !Ft && vr);
|
|
4436
4438
|
}
|
|
4437
4439
|
function Fa(e, n) {
|
|
@@ -4947,7 +4949,7 @@ function pe(e, n) {
|
|
|
4947
4949
|
kr(n);
|
|
4948
4950
|
for (var l in this)
|
|
4949
4951
|
l.charAt(0) === "_" && typeof this[l] == "function" && (this[l] = this[l].bind(this));
|
|
4950
|
-
this.nativeDraggable = n.forceFallback ? !1 : yc, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ?
|
|
4952
|
+
this.nativeDraggable = n.forceFallback ? !1 : yc, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? Ie(e, "pointerdown", this._onTapStart) : (Ie(e, "mousedown", this._onTapStart), Ie(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Ie(e, "dragover", this), Ie(e, "dragenter", this)), _a.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), It(this, mc());
|
|
4951
4953
|
}
|
|
4952
4954
|
pe.prototype = /** @lends Sortable.prototype */
|
|
4953
4955
|
{
|
|
@@ -5018,14 +5020,14 @@ pe.prototype = /** @lends Sortable.prototype */
|
|
|
5018
5020
|
}), it(Z, i.chosenClass, !0);
|
|
5019
5021
|
}, i.ignore.split(",").forEach(function(f) {
|
|
5020
5022
|
hr(Z, f.trim(), go);
|
|
5021
|
-
}),
|
|
5023
|
+
}), Ie(r, "dragover", Kt), Ie(r, "mousemove", Kt), Ie(r, "touchmove", Kt), i.supportPointer ? (Ie(r, "pointerup", l._onDrop), !this.nativeDraggable && Ie(r, "pointercancel", l._onDrop)) : (Ie(r, "mouseup", l._onDrop), Ie(r, "touchend", l._onDrop), Ie(r, "touchcancel", l._onDrop)), Al && this.nativeDraggable && (this.options.touchStartThreshold = 4, Z.draggable = !0), at("delayStart", this, {
|
|
5022
5024
|
evt: n
|
|
5023
5025
|
}), i.delay && (!i.delayOnTouchOnly || t) && (!this.nativeDraggable || !(oa || Ft))) {
|
|
5024
5026
|
if (pe.eventCanceled) {
|
|
5025
5027
|
this._onDrop();
|
|
5026
5028
|
return;
|
|
5027
5029
|
}
|
|
5028
|
-
i.supportPointer ? (
|
|
5030
|
+
i.supportPointer ? (Ie(r, "pointerup", l._disableDelayedDrag), Ie(r, "pointercancel", l._disableDelayedDrag)) : (Ie(r, "mouseup", l._disableDelayedDrag), Ie(r, "touchend", l._disableDelayedDrag), Ie(r, "touchcancel", l._disableDelayedDrag)), Ie(r, "mousemove", l._delayedDragTouchMoveHandler), Ie(r, "touchmove", l._delayedDragTouchMoveHandler), i.supportPointer && Ie(r, "pointermove", l._delayedDragTouchMoveHandler), l._dragStartTimer = setTimeout(s, i.delay);
|
|
5029
5031
|
} else
|
|
5030
5032
|
s();
|
|
5031
5033
|
}
|
|
@@ -5039,10 +5041,10 @@ pe.prototype = /** @lends Sortable.prototype */
|
|
|
5039
5041
|
},
|
|
5040
5042
|
_disableDelayedDragEvents: function() {
|
|
5041
5043
|
var n = this.el.ownerDocument;
|
|
5042
|
-
|
|
5044
|
+
Me(n, "mouseup", this._disableDelayedDrag), Me(n, "touchend", this._disableDelayedDrag), Me(n, "touchcancel", this._disableDelayedDrag), Me(n, "pointerup", this._disableDelayedDrag), Me(n, "pointercancel", this._disableDelayedDrag), Me(n, "mousemove", this._delayedDragTouchMoveHandler), Me(n, "touchmove", this._delayedDragTouchMoveHandler), Me(n, "pointermove", this._delayedDragTouchMoveHandler);
|
|
5043
5045
|
},
|
|
5044
5046
|
_triggerDragStart: function(n, t) {
|
|
5045
|
-
t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ?
|
|
5047
|
+
t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? Ie(document, "pointermove", this._onTouchMove) : t ? Ie(document, "touchmove", this._onTouchMove) : Ie(document, "mousemove", this._onTouchMove) : (Ie(Z, "dragend", this), Ie(Le, "dragstart", this._onDragStart));
|
|
5046
5048
|
try {
|
|
5047
5049
|
document.selection ? Da(function() {
|
|
5048
5050
|
document.selection.empty();
|
|
@@ -5054,7 +5056,7 @@ pe.prototype = /** @lends Sortable.prototype */
|
|
|
5054
5056
|
if (rn = !1, Le && Z) {
|
|
5055
5057
|
at("dragStarted", this, {
|
|
5056
5058
|
evt: t
|
|
5057
|
-
}), this.nativeDraggable &&
|
|
5059
|
+
}), this.nativeDraggable && Ie(document, "dragover", Cc);
|
|
5058
5060
|
var a = this.options;
|
|
5059
5061
|
!n && it(Z, a.dragClass, !1), it(Z, a.ghostClass, !0), pe.active = this, n && this._appendGhost(), et({
|
|
5060
5062
|
sortable: this,
|
|
@@ -5133,7 +5135,7 @@ pe.prototype = /** @lends Sortable.prototype */
|
|
|
5133
5135
|
sortable: a,
|
|
5134
5136
|
name: "clone"
|
|
5135
5137
|
}));
|
|
5136
|
-
}), !t && it(Z, o.dragClass, !0), t ? (Ba = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (
|
|
5138
|
+
}), !t && it(Z, o.dragClass, !0), t ? (Ba = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (Me(document, "mouseup", a._onDrop), Me(document, "touchend", a._onDrop), Me(document, "touchcancel", a._onDrop), l && (l.effectAllowed = "move", o.setData && o.setData.call(a, l, Z)), Ie(document, "drop", a), ve(Z, "transform", "translateZ(0)")), rn = !0, a._dragStartId = Da(a._dragStarted.bind(a, t, n)), Ie(document, "selectstart", a), On = !0, window.getSelection().removeAllRanges(), Vn && ve(document.body, "user-select", "none");
|
|
5137
5139
|
},
|
|
5138
5140
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
5139
5141
|
_onDragOver: function(n) {
|
|
@@ -5223,11 +5225,11 @@ pe.prototype = /** @lends Sortable.prototype */
|
|
|
5223
5225
|
},
|
|
5224
5226
|
_ignoreWhileAnimating: null,
|
|
5225
5227
|
_offMoveEvents: function() {
|
|
5226
|
-
|
|
5228
|
+
Me(document, "mousemove", this._onTouchMove), Me(document, "touchmove", this._onTouchMove), Me(document, "pointermove", this._onTouchMove), Me(document, "dragover", Kt), Me(document, "mousemove", Kt), Me(document, "touchmove", Kt);
|
|
5227
5229
|
},
|
|
5228
5230
|
_offUpEvents: function() {
|
|
5229
5231
|
var n = this.el.ownerDocument;
|
|
5230
|
-
|
|
5232
|
+
Me(n, "mouseup", this._onDrop), Me(n, "touchend", this._onDrop), Me(n, "pointerup", this._onDrop), Me(n, "pointercancel", this._onDrop), Me(n, "touchcancel", this._onDrop), Me(document, "selectstart", this);
|
|
5231
5233
|
},
|
|
5232
5234
|
_onDrop: function(n) {
|
|
5233
5235
|
var t = this.el, a = this.options;
|
|
@@ -5237,7 +5239,7 @@ pe.prototype = /** @lends Sortable.prototype */
|
|
|
5237
5239
|
this._nulling();
|
|
5238
5240
|
return;
|
|
5239
5241
|
}
|
|
5240
|
-
rn = !1, ha = !1, Hn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ao(this.cloneId), Ao(this._dragStartId), this.nativeDraggable && (
|
|
5242
|
+
rn = !1, ha = !1, Hn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ao(this.cloneId), Ao(this._dragStartId), this.nativeDraggable && (Me(document, "drop", this), Me(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Vn && ve(document.body, "user-select", ""), ve(Z, "transform", ""), n && (On && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), ye && ye.parentNode && ye.parentNode.removeChild(ye), (Le === Ue || Xe && Xe.lastPutMode !== "clone") && Ve && Ve.parentNode && Ve.parentNode.removeChild(Ve), Z && (this.nativeDraggable && Me(Z, "dragend", this), go(Z), Z.style["will-change"] = "", On && !rn && it(Z, Xe ? Xe.options.ghostClass : this.options.ghostClass, !1), it(Z, this.options.chosenClass, !1), et({
|
|
5241
5243
|
sortable: this,
|
|
5242
5244
|
name: "unchoose",
|
|
5243
5245
|
toEl: Ue,
|
|
@@ -5362,7 +5364,7 @@ pe.prototype = /** @lends Sortable.prototype */
|
|
|
5362
5364
|
destroy: function() {
|
|
5363
5365
|
at("destroy", this);
|
|
5364
5366
|
var n = this.el;
|
|
5365
|
-
n[lt] = null,
|
|
5367
|
+
n[lt] = null, Me(n, "mousedown", this._onTapStart), Me(n, "touchstart", this._onTapStart), Me(n, "pointerdown", this._onTapStart), this.nativeDraggable && (Me(n, "dragover", this), Me(n, "dragenter", this)), Array.prototype.forEach.call(n.querySelectorAll("[draggable]"), function(t) {
|
|
5366
5368
|
t.removeAttribute("draggable");
|
|
5367
5369
|
}), this._onDrop(), this._disableDelayedDragEvents(), _a.splice(_a.indexOf(this.el), 1), this.el = n = null;
|
|
5368
5370
|
},
|
|
@@ -5441,12 +5443,12 @@ function Da(e) {
|
|
|
5441
5443
|
function Ao(e) {
|
|
5442
5444
|
return clearTimeout(e);
|
|
5443
5445
|
}
|
|
5444
|
-
Xa &&
|
|
5446
|
+
Xa && Ie(document, "touchmove", function(e) {
|
|
5445
5447
|
(pe.active || rn) && e.cancelable && e.preventDefault();
|
|
5446
5448
|
});
|
|
5447
5449
|
pe.utils = {
|
|
5448
|
-
on:
|
|
5449
|
-
off:
|
|
5450
|
+
on: Ie,
|
|
5451
|
+
off: Me,
|
|
5450
5452
|
css: ve,
|
|
5451
5453
|
find: hr,
|
|
5452
5454
|
is: function(n, t) {
|
|
@@ -5496,14 +5498,14 @@ function $c() {
|
|
|
5496
5498
|
return e.prototype = {
|
|
5497
5499
|
dragStarted: function(t) {
|
|
5498
5500
|
var a = t.originalEvent;
|
|
5499
|
-
this.sortable.nativeDraggable ?
|
|
5501
|
+
this.sortable.nativeDraggable ? Ie(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? Ie(document, "pointermove", this._handleFallbackAutoScroll) : a.touches ? Ie(document, "touchmove", this._handleFallbackAutoScroll) : Ie(document, "mousemove", this._handleFallbackAutoScroll);
|
|
5500
5502
|
},
|
|
5501
5503
|
dragOverCompleted: function(t) {
|
|
5502
5504
|
var a = t.originalEvent;
|
|
5503
5505
|
!this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
|
|
5504
5506
|
},
|
|
5505
5507
|
drop: function() {
|
|
5506
|
-
this.sortable.nativeDraggable ?
|
|
5508
|
+
this.sortable.nativeDraggable ? Me(document, "dragover", this._handleAutoScroll) : (Me(document, "pointermove", this._handleFallbackAutoScroll), Me(document, "touchmove", this._handleFallbackAutoScroll), Me(document, "mousemove", this._handleFallbackAutoScroll)), Ol(), Ea(), fc();
|
|
5507
5509
|
},
|
|
5508
5510
|
nulling: function() {
|
|
5509
5511
|
Ra = Mo = Rn = $o = Pn = yo = bo = null, ze.length = 0;
|
|
@@ -5627,7 +5629,7 @@ function xr(e, n, t = {}) {
|
|
|
5627
5629
|
else return a?.option(v);
|
|
5628
5630
|
};
|
|
5629
5631
|
let h;
|
|
5630
|
-
o && typeof e != "string" ? h =
|
|
5632
|
+
o && typeof e != "string" ? h = $e(s, (v) => {
|
|
5631
5633
|
u(), v && f(v);
|
|
5632
5634
|
}, {
|
|
5633
5635
|
immediate: !0,
|
|
@@ -5888,12 +5890,12 @@ const jc = "a-sortable-", qc = ["id"], Kc = { key: 1 }, Wc = { class: "a-sortabl
|
|
|
5888
5890
|
R();
|
|
5889
5891
|
}), qe(() => {
|
|
5890
5892
|
j.value = document.querySelector("#" + c.value), h();
|
|
5891
|
-
}),
|
|
5893
|
+
}), $e(
|
|
5892
5894
|
() => a.disableDraggable,
|
|
5893
5895
|
async (y) => {
|
|
5894
5896
|
R(), y === !1 && h();
|
|
5895
5897
|
}
|
|
5896
|
-
),
|
|
5898
|
+
), $e(
|
|
5897
5899
|
() => a.dirty,
|
|
5898
5900
|
(y) => {
|
|
5899
5901
|
d.value = y;
|
|
@@ -6076,7 +6078,7 @@ const jc = "a-sortable-", qc = ["id"], Kc = { key: 1 }, Wc = { class: "a-sortabl
|
|
|
6076
6078
|
onClick: ge(f, ["stop"])
|
|
6077
6079
|
}, {
|
|
6078
6080
|
default: E(() => [
|
|
6079
|
-
fe(
|
|
6081
|
+
fe(le(O(i)(e.addLastButtonT)), 1)
|
|
6080
6082
|
]),
|
|
6081
6083
|
_: 1
|
|
6082
6084
|
})) : ue("", !0)
|
|
@@ -6093,7 +6095,7 @@ const jc = "a-sortable-", qc = ["id"], Kc = { key: 1 }, Wc = { class: "a-sortabl
|
|
|
6093
6095
|
onOnCancel: T[0] || (T[0] = (X) => x.value = !1)
|
|
6094
6096
|
}, {
|
|
6095
6097
|
default: E(() => [
|
|
6096
|
-
fe(
|
|
6098
|
+
fe(le(O(i)("common.system.modal.confirmDelete")), 1)
|
|
6097
6099
|
]),
|
|
6098
6100
|
_: 1
|
|
6099
6101
|
}),
|
|
@@ -6104,7 +6106,7 @@ const jc = "a-sortable-", qc = ["id"], Kc = { key: 1 }, Wc = { class: "a-sortabl
|
|
|
6104
6106
|
onClick: T[1] || (T[1] = ge((X) => x.value = !1, ["stop"]))
|
|
6105
6107
|
}, {
|
|
6106
6108
|
default: E(() => [
|
|
6107
|
-
fe(
|
|
6109
|
+
fe(le(O(i)("common.button.cancel")), 1)
|
|
6108
6110
|
]),
|
|
6109
6111
|
_: 1
|
|
6110
6112
|
}),
|
|
@@ -6112,7 +6114,7 @@ const jc = "a-sortable-", qc = ["id"], Kc = { key: 1 }, Wc = { class: "a-sortabl
|
|
|
6112
6114
|
onClick: ge(O(b), ["stop"])
|
|
6113
6115
|
}, {
|
|
6114
6116
|
default: E(() => [
|
|
6115
|
-
fe(
|
|
6117
|
+
fe(le(O(i)("common.button.delete")), 1)
|
|
6116
6118
|
]),
|
|
6117
6119
|
_: 1
|
|
6118
6120
|
}, 8, ["onClick"])
|
|
@@ -6262,7 +6264,7 @@ const Qc = {
|
|
|
6262
6264
|
}
|
|
6263
6265
|
}, H = At("inputRef"), ee = async (J) => {
|
|
6264
6266
|
v.value = { id: J.raw.id, customName: J.raw.customName }, await qe(), H.value?.focus();
|
|
6265
|
-
},
|
|
6267
|
+
}, ae = async (J) => {
|
|
6266
6268
|
if (ne(v.value)) return;
|
|
6267
6269
|
g.value = !0;
|
|
6268
6270
|
const te = _e(J.raw);
|
|
@@ -6294,10 +6296,10 @@ const Qc = {
|
|
|
6294
6296
|
g.value = !1;
|
|
6295
6297
|
}
|
|
6296
6298
|
};
|
|
6297
|
-
return
|
|
6299
|
+
return $e(r, () => {
|
|
6298
6300
|
h.value = !1, r.value === "manage" && re();
|
|
6299
6301
|
}), (J, te) => {
|
|
6300
|
-
const xe = dn("ABtnTertiary"),
|
|
6302
|
+
const xe = dn("ABtnTertiary"), oe = dn("ABtnPrimary");
|
|
6301
6303
|
return $(), G(Gn, {
|
|
6302
6304
|
"model-value": !0,
|
|
6303
6305
|
width: 500
|
|
@@ -6309,7 +6311,7 @@ const Qc = {
|
|
|
6309
6311
|
onOnCancel: te[0] || (te[0] = (de) => a("onClose"))
|
|
6310
6312
|
}, {
|
|
6311
6313
|
default: E(() => [
|
|
6312
|
-
fe(
|
|
6314
|
+
fe(le(O(V)("common.filter.bookmark.title")), 1)
|
|
6313
6315
|
]),
|
|
6314
6316
|
_: 1
|
|
6315
6317
|
}),
|
|
@@ -6323,13 +6325,13 @@ const Qc = {
|
|
|
6323
6325
|
default: E(() => [
|
|
6324
6326
|
S(sl, { value: "add" }, {
|
|
6325
6327
|
default: E(() => [
|
|
6326
|
-
fe(
|
|
6328
|
+
fe(le(O(V)("common.filter.bookmark.add")), 1)
|
|
6327
6329
|
]),
|
|
6328
6330
|
_: 1
|
|
6329
6331
|
}),
|
|
6330
6332
|
S(sl, { value: "manage" }, {
|
|
6331
6333
|
default: E(() => [
|
|
6332
|
-
fe(
|
|
6334
|
+
fe(le(O(V)("common.filter.bookmark.manage")), 1)
|
|
6333
6335
|
]),
|
|
6334
6336
|
_: 1
|
|
6335
6337
|
})
|
|
@@ -6399,7 +6401,7 @@ const Qc = {
|
|
|
6399
6401
|
"onUpdate:modelValue": te[5] || (te[5] = (be) => v.value.customName = be),
|
|
6400
6402
|
"hide-details": "auto",
|
|
6401
6403
|
v: O(A)
|
|
6402
|
-
}, null, 8, ["modelValue", "v"])) : ($(), ie("div", nd,
|
|
6404
|
+
}, null, 8, ["modelValue", "v"])) : ($(), ie("div", nd, le(de.raw.customName), 1))
|
|
6403
6405
|
]),
|
|
6404
6406
|
_: 2
|
|
6405
6407
|
}, [
|
|
@@ -6412,7 +6414,7 @@ const Qc = {
|
|
|
6412
6414
|
size: "x-small",
|
|
6413
6415
|
variant: "text",
|
|
6414
6416
|
class: "mx-1",
|
|
6415
|
-
onClick: ge((be) =>
|
|
6417
|
+
onClick: ge((be) => ae(de), ["stop"])
|
|
6416
6418
|
}, {
|
|
6417
6419
|
default: E(() => [
|
|
6418
6420
|
S(ke, { icon: "mdi-check" }),
|
|
@@ -6458,17 +6460,17 @@ const Qc = {
|
|
|
6458
6460
|
onClick: te[8] || (te[8] = ge((de) => a("onClose"), ["stop"]))
|
|
6459
6461
|
}, {
|
|
6460
6462
|
default: E(() => [
|
|
6461
|
-
fe(
|
|
6463
|
+
fe(le(O(V)("common.button.cancel")), 1)
|
|
6462
6464
|
]),
|
|
6463
6465
|
_: 1
|
|
6464
6466
|
}),
|
|
6465
|
-
S(
|
|
6467
|
+
S(oe, {
|
|
6466
6468
|
"data-cy": "button-confirm",
|
|
6467
6469
|
loading: c.value,
|
|
6468
6470
|
onClick: ge(ce, ["stop"])
|
|
6469
6471
|
}, {
|
|
6470
6472
|
default: E(() => [
|
|
6471
|
-
fe(
|
|
6473
|
+
fe(le(r.value === "add" ? O(V)("common.button.add") : O(V)("common.filter.bookmark.saveBookmarkOrder")), 1)
|
|
6472
6474
|
]),
|
|
6473
6475
|
_: 1
|
|
6474
6476
|
}, 8, ["loading"])
|
|
@@ -6522,7 +6524,7 @@ const Qc = {
|
|
|
6522
6524
|
location: "bottom"
|
|
6523
6525
|
}, {
|
|
6524
6526
|
default: E(() => [
|
|
6525
|
-
fe(
|
|
6527
|
+
fe(le(O(a)(e.tooltipT)), 1)
|
|
6526
6528
|
]),
|
|
6527
6529
|
_: 1
|
|
6528
6530
|
})
|
|
@@ -6599,10 +6601,10 @@ const Qc = {
|
|
|
6599
6601
|
he(x.$slots, "bookmarks", {}, () => [
|
|
6600
6602
|
S(Zt, { density: "compact" }, {
|
|
6601
6603
|
default: E(() => [
|
|
6602
|
-
e.store && e.userId && O(
|
|
6604
|
+
e.store && e.userId && O(Fe)(e.client) ? ($(), G(xt, { key: 0 }, {
|
|
6603
6605
|
default: E(() => [
|
|
6604
6606
|
De("div", rd, [
|
|
6605
|
-
u.value.system && u.value.subject && e.userId && O(
|
|
6607
|
+
u.value.system && u.value.subject && e.userId && O(Fe)(e.client) ? ($(), G(fr, {
|
|
6606
6608
|
key: 0,
|
|
6607
6609
|
"datatable-hidden-columns": o.value,
|
|
6608
6610
|
"onUpdate:datatableHiddenColumns": R[0] || (R[0] = (A) => o.value = A),
|
|
@@ -6649,7 +6651,7 @@ const Qc = {
|
|
|
6649
6651
|
he(x.$slots, "buttons", {}, () => [
|
|
6650
6652
|
S(ar, { touched: m.value }, null, 8, ["touched"]),
|
|
6651
6653
|
S(or, { onReset: d }),
|
|
6652
|
-
u.value.system && u.value.subject && e.userId && O(
|
|
6654
|
+
u.value.system && u.value.subject && e.userId && O(Fe)(e.client) ? ($(), G($r, {
|
|
6653
6655
|
key: 0,
|
|
6654
6656
|
client: e.client,
|
|
6655
6657
|
user: e.userId,
|
|
@@ -6754,7 +6756,7 @@ const Qc = {
|
|
|
6754
6756
|
}
|
|
6755
6757
|
}, z = P(() => {
|
|
6756
6758
|
const k = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map();
|
|
6757
|
-
return
|
|
6759
|
+
return Se(D.value) ? D.value.forEach((y) => {
|
|
6758
6760
|
k.set(y, "");
|
|
6759
6761
|
}) : D.value && k.set(D.value, ""), i.value.forEach((y) => {
|
|
6760
6762
|
k.set(y[t.itemValue], y[t.itemTitle]), w.set(y[t.itemValue], _e(y));
|
|
@@ -6775,14 +6777,14 @@ const Qc = {
|
|
|
6775
6777
|
y !== w && (L(y), a("searchChangeDebounced", y));
|
|
6776
6778
|
},
|
|
6777
6779
|
{ debounce: 300 }
|
|
6778
|
-
),
|
|
6780
|
+
), $e(l, (k, w) => {
|
|
6779
6781
|
k !== w && a("searchChange", k);
|
|
6780
|
-
}),
|
|
6782
|
+
}), $e(
|
|
6781
6783
|
D,
|
|
6782
6784
|
async (k) => {
|
|
6783
|
-
if (ne(k) || M(k) ||
|
|
6785
|
+
if (ne(k) || M(k) || Se(k) && k.length === 0)
|
|
6784
6786
|
return;
|
|
6785
|
-
const w =
|
|
6787
|
+
const w = Se(k) ? k : [k], y = new Set(w);
|
|
6786
6788
|
await V(y), y.size > 0 && (c(Array.from(y)), f());
|
|
6787
6789
|
},
|
|
6788
6790
|
{ immediate: !0 }
|
|
@@ -6808,7 +6810,7 @@ const Qc = {
|
|
|
6808
6810
|
e.hideLabel ? ue("", !0) : ($(), ie("span", {
|
|
6809
6811
|
key: j.value + ""
|
|
6810
6812
|
}, [
|
|
6811
|
-
fe(
|
|
6813
|
+
fe(le(B.value) + " ", 1),
|
|
6812
6814
|
j.value ? ($(), ie("span", sd)) : ue("", !0)
|
|
6813
6815
|
]))
|
|
6814
6816
|
]),
|
|
@@ -6869,7 +6871,7 @@ const Qc = {
|
|
|
6869
6871
|
location: "bottom"
|
|
6870
6872
|
}, {
|
|
6871
6873
|
default: E(() => [
|
|
6872
|
-
fe(
|
|
6874
|
+
fe(le(O(o)(e.tooltipT)), 1)
|
|
6873
6875
|
]),
|
|
6874
6876
|
_: 1
|
|
6875
6877
|
})
|
|
@@ -6900,7 +6902,7 @@ const Qc = {
|
|
|
6900
6902
|
key: g.name,
|
|
6901
6903
|
class: "a-selected-filters"
|
|
6902
6904
|
}, [
|
|
6903
|
-
De("div", cd,
|
|
6905
|
+
De("div", cd, le(g.title) + ": ", 1),
|
|
6904
6906
|
($(!0), ie(Ye, null, Ut(g.options, (h) => ($(), ie("div", {
|
|
6905
6907
|
key: h.value,
|
|
6906
6908
|
class: "a-selected-filters__chips"
|
|
@@ -6919,7 +6921,7 @@ const Qc = {
|
|
|
6919
6921
|
})
|
|
6920
6922
|
]),
|
|
6921
6923
|
default: E(() => [
|
|
6922
|
-
fe(" " +
|
|
6924
|
+
fe(" " + le(h.title), 1)
|
|
6923
6925
|
]),
|
|
6924
6926
|
_: 2
|
|
6925
6927
|
}, 1032, ["onClick:close"])) : ($(), G(Qt, {
|
|
@@ -6928,7 +6930,7 @@ const Qc = {
|
|
|
6928
6930
|
class: "a-selected-filters__chip"
|
|
6929
6931
|
}, {
|
|
6930
6932
|
default: E(() => [
|
|
6931
|
-
fe(
|
|
6933
|
+
fe(le(h.title), 1)
|
|
6932
6934
|
]),
|
|
6933
6935
|
_: 2
|
|
6934
6936
|
}, 1024))
|
|
@@ -7008,11 +7010,11 @@ const Qc = {
|
|
|
7008
7010
|
})) : ue("", !0),
|
|
7009
7011
|
S(Zt, { density: "compact" }, {
|
|
7010
7012
|
default: E(() => [
|
|
7011
|
-
e.store && e.userId && O(
|
|
7013
|
+
e.store && e.userId && O(Fe)(e.client) ? ($(), G(xt, { key: 0 }, {
|
|
7012
7014
|
default: E(() => [
|
|
7013
7015
|
he(R.$slots, "bookmarks", {}, () => [
|
|
7014
7016
|
De("div", fd, [
|
|
7015
|
-
u.value.system && u.value.subject && e.userId && O(
|
|
7017
|
+
u.value.system && u.value.subject && e.userId && O(Fe)(e.client) ? ($(), G(fr, {
|
|
7016
7018
|
key: 0,
|
|
7017
7019
|
"datatable-hidden-columns": o.value,
|
|
7018
7020
|
"onUpdate:datatableHiddenColumns": A[0] || (A[0] = (b) => o.value = b),
|
|
@@ -7067,7 +7069,7 @@ const Qc = {
|
|
|
7067
7069
|
he(R.$slots, "buttons", {}, () => [
|
|
7068
7070
|
S(ar, { touched: p.value }, null, 8, ["touched"]),
|
|
7069
7071
|
S(or, { onReset: d }),
|
|
7070
|
-
u.value.system && u.value.subject && e.userId && O(
|
|
7072
|
+
u.value.system && u.value.subject && e.userId && O(Fe)(e.client) ? ($(), G($r, {
|
|
7071
7073
|
key: 0,
|
|
7072
7074
|
client: e.client,
|
|
7073
7075
|
user: e.userId,
|
|
@@ -7149,7 +7151,7 @@ function yd(e) {
|
|
|
7149
7151
|
n.value = v, u(v);
|
|
7150
7152
|
}
|
|
7151
7153
|
let c = [...a.value];
|
|
7152
|
-
|
|
7154
|
+
$e(a, (v) => {
|
|
7153
7155
|
if (n.value === null) {
|
|
7154
7156
|
c = [...v];
|
|
7155
7157
|
return;
|
|
@@ -7164,7 +7166,7 @@ function yd(e) {
|
|
|
7164
7166
|
}
|
|
7165
7167
|
const d = c.indexOf(n.value), m = Math.min(Math.max(d, 0), v.length - 1);
|
|
7166
7168
|
f(v[m]), c = [...v];
|
|
7167
|
-
}),
|
|
7169
|
+
}), $e(a, (v) => {
|
|
7168
7170
|
t.value !== null && !v.includes(t.value) && (t.value = null);
|
|
7169
7171
|
});
|
|
7170
7172
|
function g() {
|
|
@@ -7259,7 +7261,7 @@ function Sd(e) {
|
|
|
7259
7261
|
for (const ee of q) H.set(t(ee), u(ee));
|
|
7260
7262
|
f.value = H, c.value = q.map((ee) => _e(ee));
|
|
7261
7263
|
};
|
|
7262
|
-
|
|
7264
|
+
$e(
|
|
7263
7265
|
s,
|
|
7264
7266
|
() => {
|
|
7265
7267
|
const q = /* @__PURE__ */ new Map();
|
|
@@ -7270,8 +7272,8 @@ function Sd(e) {
|
|
|
7270
7272
|
), g(e.get());
|
|
7271
7273
|
const h = N(/* @__PURE__ */ new Set()), D = N([]), v = N(!1), d = Ht(/* @__PURE__ */ new Map()), m = (q, H) => {
|
|
7272
7274
|
if (e.isDirty) {
|
|
7273
|
-
const
|
|
7274
|
-
return e.isDirty(q,
|
|
7275
|
+
const ae = c.value.find((K) => t(K) === H);
|
|
7276
|
+
return e.isDirty(q, ae);
|
|
7275
7277
|
}
|
|
7276
7278
|
const ee = f.value.get(H);
|
|
7277
7279
|
return ee === void 0 || ee !== u(q) ? !0 : h.value.has(H);
|
|
@@ -7288,8 +7290,8 @@ function Sd(e) {
|
|
|
7288
7290
|
const ee = d.get(H);
|
|
7289
7291
|
if (ee) return { invalid: !ee(), warning: !1 };
|
|
7290
7292
|
if (!e.validate) return { invalid: !1, warning: !1 };
|
|
7291
|
-
const
|
|
7292
|
-
return typeof
|
|
7293
|
+
const ae = e.validate(q);
|
|
7294
|
+
return typeof ae == "boolean" ? { invalid: !ae, warning: !1 } : { invalid: !ae.valid, warning: ae.valid && ae.state === "warning" };
|
|
7293
7295
|
}, b = P(() => {
|
|
7294
7296
|
const q = /* @__PURE__ */ new Set();
|
|
7295
7297
|
for (const H of e.get()) {
|
|
@@ -7298,24 +7300,24 @@ function Sd(e) {
|
|
|
7298
7300
|
}
|
|
7299
7301
|
return q;
|
|
7300
7302
|
}), B = P(() => b.value.size > 0), j = (q, H) => {
|
|
7301
|
-
const { invalid: ee, warning:
|
|
7302
|
-
return ee ? x(H) || v.value ? "invalid" : null :
|
|
7303
|
+
const { invalid: ee, warning: ae } = A(q, H);
|
|
7304
|
+
return ee ? x(H) || v.value ? "invalid" : null : ae ? "warning" : null;
|
|
7303
7305
|
}, I = () => (v.value = !0, b.value.size === 0), L = (q) => l ? bd(q, { positionField: o, positionMultiplier: i }) : q, z = (q) => e.set(L(q)), V = () => e.payload ? e.payload(e.get()) : L(e.get()), F = () => {
|
|
7304
7306
|
const q = [], H = [], ee = [];
|
|
7305
|
-
for (const
|
|
7306
|
-
const K = t(
|
|
7307
|
-
re === void 0 ? q.push(
|
|
7307
|
+
for (const ae of e.get()) {
|
|
7308
|
+
const K = t(ae), re = f.value.get(K);
|
|
7309
|
+
re === void 0 ? q.push(ae) : re !== u(ae) && H.push(ae), h.value.has(K) && ee.push(ae);
|
|
7308
7310
|
}
|
|
7309
7311
|
return { added: q, updated: H, moved: ee, deleted: [...D.value], reparented: [] };
|
|
7310
7312
|
}, k = (q) => {
|
|
7311
|
-
const H = q ?? e.get(),
|
|
7313
|
+
const H = q ?? e.get(), ae = (e.normalizeSaved ? e.normalizeSaved(H) : H).map((K) => {
|
|
7312
7314
|
const re = e.commitKey ? e.commitKey(
|
|
7313
7315
|
K,
|
|
7314
7316
|
c.value.find((J) => t(J) === t(K))
|
|
7315
7317
|
) : t(K);
|
|
7316
7318
|
return re == null && n ? { ...K, [n]: Cd() } : K;
|
|
7317
7319
|
});
|
|
7318
|
-
e.set(
|
|
7320
|
+
e.set(ae), g(ae), h.value = /* @__PURE__ */ new Set(), D.value = [], v.value = !1;
|
|
7319
7321
|
}, w = (q) => {
|
|
7320
7322
|
e.set(q ?? c.value.map((H) => _e(H))), h.value = /* @__PURE__ */ new Set(), D.value = [], v.value = !1;
|
|
7321
7323
|
}, y = (q, H) => q.findIndex((ee) => t(ee) === H);
|
|
@@ -7334,31 +7336,31 @@ function Sd(e) {
|
|
|
7334
7336
|
addItem: (q, H) => {
|
|
7335
7337
|
const ee = q ?? e.factory?.();
|
|
7336
7338
|
if (ee === void 0) return;
|
|
7337
|
-
const
|
|
7338
|
-
let K =
|
|
7339
|
+
const ae = [...e.get()];
|
|
7340
|
+
let K = ae.length;
|
|
7339
7341
|
if (H?.afterId !== void 0) {
|
|
7340
|
-
const re = y(
|
|
7341
|
-
K = re === -1 ?
|
|
7342
|
-
} else H?.index !== void 0 && (K = Math.max(0, Math.min(H.index,
|
|
7343
|
-
|
|
7342
|
+
const re = y(ae, H.afterId);
|
|
7343
|
+
K = re === -1 ? ae.length : re + 1;
|
|
7344
|
+
} else H?.index !== void 0 && (K = Math.max(0, Math.min(H.index, ae.length)));
|
|
7345
|
+
ae.splice(K, 0, ee), z(ae);
|
|
7344
7346
|
},
|
|
7345
7347
|
updateItem: (q, H) => {
|
|
7346
|
-
const ee = [...e.get()],
|
|
7347
|
-
if (
|
|
7348
|
-
const K = ee[
|
|
7349
|
-
ee[
|
|
7348
|
+
const ee = [...e.get()], ae = y(ee, q);
|
|
7349
|
+
if (ae === -1) return;
|
|
7350
|
+
const K = ee[ae], re = typeof H == "function" ? H(K) : { ...K, ...H };
|
|
7351
|
+
ee[ae] = re, z(ee);
|
|
7350
7352
|
},
|
|
7351
7353
|
deleteItem: (q) => {
|
|
7352
7354
|
const H = [...e.get()], ee = y(H, q);
|
|
7353
7355
|
if (ee === -1) return;
|
|
7354
|
-
const [
|
|
7355
|
-
f.value.has(q) && (D.value = [...D.value,
|
|
7356
|
+
const [ae] = H.splice(ee, 1);
|
|
7357
|
+
f.value.has(q) && (D.value = [...D.value, ae]), h.value.delete(q), z(H);
|
|
7356
7358
|
},
|
|
7357
7359
|
moveItem: (q, H) => {
|
|
7358
7360
|
const ee = [...e.get()];
|
|
7359
7361
|
if (q < 0 || q >= ee.length || H < 0 || H >= ee.length || q === H) return;
|
|
7360
|
-
const [
|
|
7361
|
-
ee.splice(H, 0,
|
|
7362
|
+
const [ae] = ee.splice(q, 1);
|
|
7363
|
+
ee.splice(H, 0, ae), h.value.add(t(ae)), z(ee);
|
|
7362
7364
|
},
|
|
7363
7365
|
registerValidity: (q, H) => (d.set(q, H), () => d.delete(q))
|
|
7364
7366
|
};
|
|
@@ -7452,7 +7454,7 @@ function xd(e) {
|
|
|
7452
7454
|
}, u = () => {
|
|
7453
7455
|
a.value = !0;
|
|
7454
7456
|
};
|
|
7455
|
-
return
|
|
7457
|
+
return $e(e.watchKeys, (f, c) => {
|
|
7456
7458
|
if (!a.value) return;
|
|
7457
7459
|
a.value = !1;
|
|
7458
7460
|
const g = new Set(c ?? []), h = f.find((v) => !g.has(v));
|
|
@@ -7506,7 +7508,7 @@ function Md(e) {
|
|
|
7506
7508
|
}
|
|
7507
7509
|
e.snapshot.value = null, e.mode.value = "view", e.onApplyEnd?.(), e.emit.reorderApplied(c), e.emit.reorderEnd();
|
|
7508
7510
|
};
|
|
7509
|
-
return
|
|
7511
|
+
return $e(e.mode, (c, g) => {
|
|
7510
7512
|
c === "reorder" && g !== "reorder" && (!r() && !e.snapshot.value && (e.snapshot.value = e.cloneModel(e.modelValue.value)), e.movedKeys.value = /* @__PURE__ */ new Set(), e.onExternalEnter?.()), c === "view" && g === "reorder" && (e.snapshot.value ? (e.snapshot.value = null, e.movedKeys.value = /* @__PURE__ */ new Set(), t.value = null, n.value = !1) : r() && (e.movedKeys.value = /* @__PURE__ */ new Set(), t.value = null, n.value = !1));
|
|
7511
7513
|
}), {
|
|
7512
7514
|
applying: n,
|
|
@@ -7546,13 +7548,13 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7546
7548
|
default: E(() => [
|
|
7547
7549
|
S(Vl, { class: "text-headline-small" }, {
|
|
7548
7550
|
default: E(() => [
|
|
7549
|
-
fe(
|
|
7551
|
+
fe(le(e.title), 1)
|
|
7550
7552
|
]),
|
|
7551
7553
|
_: 1
|
|
7552
7554
|
}),
|
|
7553
7555
|
S(Na, null, {
|
|
7554
7556
|
default: E(() => [
|
|
7555
|
-
fe(
|
|
7557
|
+
fe(le(e.text) + " ", 1),
|
|
7556
7558
|
e.error ? ($(), G(zl, {
|
|
7557
7559
|
key: 0,
|
|
7558
7560
|
type: "error",
|
|
@@ -7561,7 +7563,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7561
7563
|
class: "mt-3"
|
|
7562
7564
|
}, {
|
|
7563
7565
|
default: E(() => [
|
|
7564
|
-
fe(
|
|
7566
|
+
fe(le(e.error), 1)
|
|
7565
7567
|
]),
|
|
7566
7568
|
_: 1
|
|
7567
7569
|
})) : ue("", !0)
|
|
@@ -7577,7 +7579,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7577
7579
|
onClick: a[0] || (a[0] = (l) => t.$emit("cancel"))
|
|
7578
7580
|
}, {
|
|
7579
7581
|
default: E(() => [
|
|
7580
|
-
fe(
|
|
7582
|
+
fe(le(e.cancelLabel), 1)
|
|
7581
7583
|
]),
|
|
7582
7584
|
_: 1
|
|
7583
7585
|
}, 8, ["disabled"]),
|
|
@@ -7589,7 +7591,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7589
7591
|
onClick: a[1] || (a[1] = (l) => t.$emit("confirm"))
|
|
7590
7592
|
}, {
|
|
7591
7593
|
default: E(() => [
|
|
7592
|
-
fe(
|
|
7594
|
+
fe(le(e.confirmLabel), 1)
|
|
7593
7595
|
]),
|
|
7594
7596
|
_: 1
|
|
7595
7597
|
}, 8, ["loading", "disabled"])
|
|
@@ -7619,7 +7621,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7619
7621
|
emits: /* @__PURE__ */ Ke(["confirm"], ["update:modelValue"]),
|
|
7620
7622
|
setup(e, { emit: n }) {
|
|
7621
7623
|
const t = e, a = n, l = tt(e, "modelValue"), { t: o } = Oe(), i = N(t.currentIndex + 1);
|
|
7622
|
-
|
|
7624
|
+
$e(l, (c) => {
|
|
7623
7625
|
c && (i.value = t.currentIndex + 1);
|
|
7624
7626
|
});
|
|
7625
7627
|
const r = P(() => Math.max(t.total, 1)), s = P(
|
|
@@ -7642,13 +7644,13 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7642
7644
|
default: E(() => [
|
|
7643
7645
|
S(Vl, null, {
|
|
7644
7646
|
default: E(() => [
|
|
7645
|
-
fe(
|
|
7647
|
+
fe(le(O(o)("common.sortable.moveToPosition.title")), 1)
|
|
7646
7648
|
]),
|
|
7647
7649
|
_: 1
|
|
7648
7650
|
}),
|
|
7649
7651
|
S(Na, null, {
|
|
7650
7652
|
default: E(() => [
|
|
7651
|
-
e.itemLabel ? ($(), ie("p", Id,
|
|
7653
|
+
e.itemLabel ? ($(), ie("p", Id, le(O(o)("common.sortable.moveToPosition.itemDescription", { label: e.itemLabel })), 1)) : ue("", !0),
|
|
7652
7654
|
S(Xn, {
|
|
7653
7655
|
modelValue: i.value,
|
|
7654
7656
|
"onUpdate:modelValue": g[0] || (g[0] = (h) => i.value = h),
|
|
@@ -7678,7 +7680,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7678
7680
|
onClick: f
|
|
7679
7681
|
}, {
|
|
7680
7682
|
default: E(() => [
|
|
7681
|
-
fe(
|
|
7683
|
+
fe(le(O(o)("common.sortable.reorderCancel")), 1)
|
|
7682
7684
|
]),
|
|
7683
7685
|
_: 1
|
|
7684
7686
|
}),
|
|
@@ -7689,7 +7691,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7689
7691
|
onClick: u
|
|
7690
7692
|
}, {
|
|
7691
7693
|
default: E(() => [
|
|
7692
|
-
fe(
|
|
7694
|
+
fe(le(O(o)("common.sortable.moveToPosition.confirm")), 1)
|
|
7693
7695
|
]),
|
|
7694
7696
|
_: 1
|
|
7695
7697
|
}, 8, ["disabled"])
|
|
@@ -7714,7 +7716,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7714
7716
|
setup(e) {
|
|
7715
7717
|
const { t: n } = Oe();
|
|
7716
7718
|
return (t, a) => ($(), ie("div", Bd, [
|
|
7717
|
-
De("h3", _d,
|
|
7719
|
+
De("h3", _d, le(e.title), 1),
|
|
7718
7720
|
e.addLabel && e.canAdd ? ($(), G(Te, {
|
|
7719
7721
|
key: 0,
|
|
7720
7722
|
color: "primary",
|
|
@@ -7723,7 +7725,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7723
7725
|
onClick: a[0] || (a[0] = (l) => t.$emit("add"))
|
|
7724
7726
|
}, {
|
|
7725
7727
|
default: E(() => [
|
|
7726
|
-
fe(
|
|
7728
|
+
fe(le(e.addLabel || O(n)("common.sortable.addFirst")), 1)
|
|
7727
7729
|
]),
|
|
7728
7730
|
_: 1
|
|
7729
7731
|
})) : ue("", !0)
|
|
@@ -7754,7 +7756,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7754
7756
|
color: "warning",
|
|
7755
7757
|
size: "18"
|
|
7756
7758
|
})) : ue("", !0),
|
|
7757
|
-
e.error ? ($(), ie("span", Pd,
|
|
7759
|
+
e.error ? ($(), ie("span", Pd, le(e.error), 1)) : e.hasPendingChanges ? ($(), ie("span", Ld, le(O(n)("common.sortable.pendingChanges", { count: e.pendingCount })), 1)) : ($(), ie("span", Vd, le(O(n)("common.sortable.noPendingChanges")), 1))
|
|
7758
7760
|
]));
|
|
7759
7761
|
}
|
|
7760
7762
|
}), Ud = ["title"], Yd = /* @__PURE__ */ Ee({
|
|
@@ -7774,7 +7776,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7774
7776
|
size: "12"
|
|
7775
7777
|
}),
|
|
7776
7778
|
e.dotOnly ? ue("", !0) : ($(), ie(Ye, { key: 0 }, [
|
|
7777
|
-
fe(
|
|
7779
|
+
fe(le(e.label ?? O(n)("common.sortable.unsaved")), 1)
|
|
7778
7780
|
], 64))
|
|
7779
7781
|
], 10, Ud));
|
|
7780
7782
|
}
|
|
@@ -7919,7 +7921,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7919
7921
|
movedCount: q,
|
|
7920
7922
|
reorderMode: H,
|
|
7921
7923
|
enterReorderMode: ee,
|
|
7922
|
-
cancelReorderMode:
|
|
7924
|
+
cancelReorderMode: ae,
|
|
7923
7925
|
applyReorder: K
|
|
7924
7926
|
} = Md({
|
|
7925
7927
|
mode: i,
|
|
@@ -7975,7 +7977,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7975
7977
|
if (C.hasChanges.value) return !0;
|
|
7976
7978
|
}
|
|
7977
7979
|
return !1;
|
|
7978
|
-
}), xe = P(() => w.value && a.showAddButton && !H.value),
|
|
7980
|
+
}), xe = P(() => w.value && a.showAddButton && !H.value), oe = P(
|
|
7979
7981
|
() => w.value && (H.value || a.chips) && !c.value && !a.disableDrag
|
|
7980
7982
|
), de = P(
|
|
7981
7983
|
() => a.addLabel ? r(a.addLabel) : r("common.sortable.add")
|
|
@@ -7985,7 +7987,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
7985
7987
|
() => a.deleteConfirmText ?? r("common.sortable.deleteConfirmText")
|
|
7986
7988
|
), Q = P(
|
|
7987
7989
|
() => !a.chips && !a.embedded && a.showReorderToggle && !H.value && o.value.length > 0
|
|
7988
|
-
),
|
|
7990
|
+
), we = P(() => !!a.title && f.value), Ae = P(
|
|
7989
7991
|
() => !!(a.title || s.header || s["reorder-toggle"] || Q.value || H.value && !a.embedded)
|
|
7990
7992
|
), Be = P(
|
|
7991
7993
|
() => !!(a.title || s.header || s["reorder-toggle"] || s["view-body"])
|
|
@@ -8047,7 +8049,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8047
8049
|
const W = We(C);
|
|
8048
8050
|
W && to(W.index);
|
|
8049
8051
|
},
|
|
8050
|
-
onCancelReorder: () =>
|
|
8052
|
+
onCancelReorder: () => ae()
|
|
8051
8053
|
}), Za = N(!1), an = Ta(null), Fr = P(
|
|
8052
8054
|
() => an.value ? Ko(an.value.raw) : ""
|
|
8053
8055
|
), Br = (C) => {
|
|
@@ -8074,7 +8076,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8074
8076
|
ghostClass: zd,
|
|
8075
8077
|
chosenClass: jd,
|
|
8076
8078
|
dragClass: qd,
|
|
8077
|
-
disabled: !
|
|
8079
|
+
disabled: !oe.value,
|
|
8078
8080
|
// Own `onUpdate` REPLACES vueuse's default array-move, which moved the array
|
|
8079
8081
|
// and renumbered positions in separate `nextTick`s — a gap that let a
|
|
8080
8082
|
// consumer's "sort by position" watch re-sort on stale positions and revert
|
|
@@ -8092,7 +8094,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8092
8094
|
}
|
|
8093
8095
|
}
|
|
8094
8096
|
});
|
|
8095
|
-
|
|
8097
|
+
$e(oe, (W) => {
|
|
8096
8098
|
C.option("disabled", !W);
|
|
8097
8099
|
});
|
|
8098
8100
|
}
|
|
@@ -8217,7 +8219,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8217
8219
|
update: (Y) => g.updateItem(C, Y)
|
|
8218
8220
|
}, An.set(C, W)), W;
|
|
8219
8221
|
};
|
|
8220
|
-
|
|
8222
|
+
$e(
|
|
8221
8223
|
() => jt.value,
|
|
8222
8224
|
(C) => {
|
|
8223
8225
|
if (An.size === 0) return;
|
|
@@ -8250,7 +8252,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8250
8252
|
error: X.value,
|
|
8251
8253
|
actions: {
|
|
8252
8254
|
apply: K,
|
|
8253
|
-
cancel:
|
|
8255
|
+
cancel: ae
|
|
8254
8256
|
}
|
|
8255
8257
|
})), Jo = P(() => ({
|
|
8256
8258
|
mode: i.value,
|
|
@@ -8258,7 +8260,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8258
8260
|
hasPendingChanges: te.value,
|
|
8259
8261
|
actions: {
|
|
8260
8262
|
enterReorderMode: ee,
|
|
8261
|
-
exitReorderMode:
|
|
8263
|
+
exitReorderMode: ae
|
|
8262
8264
|
}
|
|
8263
8265
|
}));
|
|
8264
8266
|
return Ed(
|
|
@@ -8274,7 +8276,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8274
8276
|
W && L(W);
|
|
8275
8277
|
}),
|
|
8276
8278
|
enterReorderMode: ee,
|
|
8277
|
-
cancelReorderMode:
|
|
8279
|
+
cancelReorderMode: ae,
|
|
8278
8280
|
applyReorder: K
|
|
8279
8281
|
}), (C, W) => ($(), ie("div", {
|
|
8280
8282
|
ref_key: "rootEl",
|
|
@@ -8286,17 +8288,17 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8286
8288
|
"a-sortable-list-editor--readonly": e.readonly,
|
|
8287
8289
|
"a-sortable-list-editor--disabled": e.disabled,
|
|
8288
8290
|
"a-sortable-list-editor--touch": O(c),
|
|
8289
|
-
"a-sortable-list-editor--drag-enabled":
|
|
8291
|
+
"a-sortable-list-editor--drag-enabled": oe.value,
|
|
8290
8292
|
"a-sortable-list-editor--chips": e.chips,
|
|
8291
8293
|
"a-sortable-list-editor--embedded": e.embedded,
|
|
8292
|
-
"a-sortable-list-editor--header-floating": !e.embedded && !e.chips && !Be.value &&
|
|
8294
|
+
"a-sortable-list-editor--header-floating": !e.embedded && !e.chips && !Be.value && Ae.value
|
|
8293
8295
|
}
|
|
8294
8296
|
]])
|
|
8295
8297
|
}, [
|
|
8296
8298
|
De("div", Kd, [
|
|
8297
|
-
|
|
8299
|
+
Ae.value ? ($(), ie("div", Wd, [
|
|
8298
8300
|
he(C.$slots, "header", Ne({ title: e.title }, Jo.value), () => [
|
|
8299
|
-
e.title ? ($(), ie("h3", Gd,
|
|
8301
|
+
e.title ? ($(), ie("h3", Gd, le(e.title), 1)) : ue("", !0),
|
|
8300
8302
|
De("div", Xd, [
|
|
8301
8303
|
O(H) && !e.embedded ? he(C.$slots, "reorder-toolbar", il(Ne({ key: 0 }, Yr.value)), () => [
|
|
8302
8304
|
S(Nd, {
|
|
@@ -8309,10 +8311,10 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8309
8311
|
variant: "text",
|
|
8310
8312
|
size: "small",
|
|
8311
8313
|
disabled: O(U),
|
|
8312
|
-
onClick: O(
|
|
8314
|
+
onClick: O(ae)
|
|
8313
8315
|
}, {
|
|
8314
8316
|
default: E(() => [
|
|
8315
|
-
fe(
|
|
8317
|
+
fe(le(O(r)("common.sortable.reorderCancel")), 1)
|
|
8316
8318
|
]),
|
|
8317
8319
|
_: 1
|
|
8318
8320
|
}, 8, ["disabled", "onClick"]),
|
|
@@ -8326,12 +8328,12 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8326
8328
|
onClick: O(K)
|
|
8327
8329
|
}, {
|
|
8328
8330
|
default: E(() => [
|
|
8329
|
-
fe(
|
|
8331
|
+
fe(le(O(r)("common.sortable.reorderApply")), 1)
|
|
8330
8332
|
]),
|
|
8331
8333
|
_: 1
|
|
8332
8334
|
}, 8, ["loading", "disabled", "onClick"])
|
|
8333
8335
|
]) : Q.value ? he(C.$slots, "reorder-toggle", il(Ne({ key: 1 }, Jo.value)), () => [
|
|
8334
|
-
|
|
8336
|
+
we.value ? ($(), G(Te, {
|
|
8335
8337
|
key: 0,
|
|
8336
8338
|
variant: "tonal",
|
|
8337
8339
|
color: "primary",
|
|
@@ -8362,7 +8364,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8362
8364
|
onClick: O(ee)
|
|
8363
8365
|
}, {
|
|
8364
8366
|
default: E(() => [
|
|
8365
|
-
fe(
|
|
8367
|
+
fe(le(O(r)("common.sortable.reorder")), 1)
|
|
8366
8368
|
]),
|
|
8367
8369
|
_: 1
|
|
8368
8370
|
}, 8, ["disabled", "onClick"]))
|
|
@@ -8384,7 +8386,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8384
8386
|
border: "start"
|
|
8385
8387
|
}, {
|
|
8386
8388
|
default: E(() => [
|
|
8387
|
-
fe(
|
|
8389
|
+
fe(le(e.error), 1)
|
|
8388
8390
|
]),
|
|
8389
8391
|
_: 1
|
|
8390
8392
|
})
|
|
@@ -8435,10 +8437,10 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8435
8437
|
class: "a-le-row-header",
|
|
8436
8438
|
onClick: (me) => Or(Y)
|
|
8437
8439
|
}, [
|
|
8438
|
-
|
|
8440
|
+
oe.value ? ($(), G(Hd, { key: 0 })) : ue("", !0),
|
|
8439
8441
|
De("div", af, [
|
|
8440
8442
|
he(C.$slots, "item-compact", Ne({ ref_for: !0 }, Rt(Y)), () => [
|
|
8441
|
-
De("span", of,
|
|
8443
|
+
De("span", of, le(Ko(Y.raw)), 1)
|
|
8442
8444
|
]),
|
|
8443
8445
|
Y.unsaved ? ($(), G(Yd, {
|
|
8444
8446
|
key: 0,
|
|
@@ -8447,7 +8449,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8447
8449
|
]),
|
|
8448
8450
|
!e.chips && !O(H) ? ($(), ie("div", lf, [
|
|
8449
8451
|
he(C.$slots, "item-status", Ne({ ref_for: !0 }, Rt(Y)), () => [
|
|
8450
|
-
e.statusField && Y.raw[e.statusField] != null && Y.raw[e.statusField] !== "" ? ($(), ie("span", rf,
|
|
8452
|
+
e.statusField && Y.raw[e.statusField] != null && Y.raw[e.statusField] !== "" ? ($(), ie("span", rf, le(Y.raw[e.statusField]), 1)) : ue("", !0)
|
|
8451
8453
|
])
|
|
8452
8454
|
])) : ue("", !0),
|
|
8453
8455
|
De("div", sf, [
|
|
@@ -8586,7 +8588,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8586
8588
|
default: E(() => [
|
|
8587
8589
|
S(Wt, null, {
|
|
8588
8590
|
default: E(() => [
|
|
8589
|
-
fe(
|
|
8591
|
+
fe(le(O(r)("common.sortable.moveToTop")), 1)
|
|
8590
8592
|
]),
|
|
8591
8593
|
_: 1
|
|
8592
8594
|
})
|
|
@@ -8603,7 +8605,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8603
8605
|
default: E(() => [
|
|
8604
8606
|
S(Wt, null, {
|
|
8605
8607
|
default: E(() => [
|
|
8606
|
-
fe(
|
|
8608
|
+
fe(le(O(r)("common.sortable.moveToBottom")), 1)
|
|
8607
8609
|
]),
|
|
8608
8610
|
_: 1
|
|
8609
8611
|
})
|
|
@@ -8620,7 +8622,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8620
8622
|
default: E(() => [
|
|
8621
8623
|
S(Wt, null, {
|
|
8622
8624
|
default: E(() => [
|
|
8623
|
-
fe(
|
|
8625
|
+
fe(le(O(r)("common.sortable.moveToPosition.action")), 1)
|
|
8624
8626
|
]),
|
|
8625
8627
|
_: 1
|
|
8626
8628
|
})
|
|
@@ -8637,7 +8639,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8637
8639
|
default: E(() => [
|
|
8638
8640
|
S(Wt, null, {
|
|
8639
8641
|
default: E(() => [
|
|
8640
|
-
fe(
|
|
8642
|
+
fe(le(O(r)("common.sortable.addAfter")), 1)
|
|
8641
8643
|
]),
|
|
8642
8644
|
_: 1
|
|
8643
8645
|
})
|
|
@@ -8654,7 +8656,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8654
8656
|
default: E(() => [
|
|
8655
8657
|
S(Wt, null, {
|
|
8656
8658
|
default: E(() => [
|
|
8657
|
-
fe(
|
|
8659
|
+
fe(le(O(r)("common.sortable.delete")), 1)
|
|
8658
8660
|
]),
|
|
8659
8661
|
_: 1
|
|
8660
8662
|
})
|
|
@@ -8748,7 +8750,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8748
8750
|
default: E(() => [
|
|
8749
8751
|
S(Wt, null, {
|
|
8750
8752
|
default: E(() => [
|
|
8751
|
-
fe(
|
|
8753
|
+
fe(le(O(r)("common.sortable.addAfter")), 1)
|
|
8752
8754
|
]),
|
|
8753
8755
|
_: 1
|
|
8754
8756
|
})
|
|
@@ -8783,7 +8785,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8783
8785
|
onClick: ge((me) => Zo(Y), ["stop"])
|
|
8784
8786
|
}, {
|
|
8785
8787
|
default: E(() => [
|
|
8786
|
-
fe(
|
|
8788
|
+
fe(le(O(r)("common.button.cancel")), 1)
|
|
8787
8789
|
]),
|
|
8788
8790
|
_: 1
|
|
8789
8791
|
}, 8, ["disabled", "onClick"]),
|
|
@@ -8795,7 +8797,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8795
8797
|
onClick: ge((me) => Xo(Y), ["stop"])
|
|
8796
8798
|
}, {
|
|
8797
8799
|
default: E(() => [
|
|
8798
|
-
fe(
|
|
8800
|
+
fe(le(O(r)("common.button.save")), 1)
|
|
8799
8801
|
]),
|
|
8800
8802
|
_: 1
|
|
8801
8803
|
}, 8, ["disabled", "onClick"])
|
|
@@ -8825,7 +8827,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8825
8827
|
icon: "mdi-plus",
|
|
8826
8828
|
size: "18"
|
|
8827
8829
|
}),
|
|
8828
|
-
De("span", null,
|
|
8830
|
+
De("span", null, le(de.value), 1)
|
|
8829
8831
|
])
|
|
8830
8832
|
]) : ue("", !0)
|
|
8831
8833
|
]),
|
|
@@ -8849,7 +8851,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8849
8851
|
onConfirm: O(Vr),
|
|
8850
8852
|
onCancel: O(Nr)
|
|
8851
8853
|
}, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
|
|
8852
|
-
De("div", vf,
|
|
8854
|
+
De("div", vf, le(O(nn).grabbedKey.value !== null ? O(r)("common.sortable.keyboardGrab.status", {
|
|
8853
8855
|
n: O(nn).grabbedIndex.value + 1,
|
|
8854
8856
|
total: O(nn).totalCount.value
|
|
8855
8857
|
}) : ""), 1)
|
|
@@ -8909,23 +8911,23 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8909
8911
|
);
|
|
8910
8912
|
const f = tt(e, "modelValue", {
|
|
8911
8913
|
set(Q) {
|
|
8912
|
-
return
|
|
8914
|
+
return Se(Q) ? _e(Q) : Q;
|
|
8913
8915
|
}
|
|
8914
8916
|
}), c = tt(
|
|
8915
8917
|
e,
|
|
8916
8918
|
"selected",
|
|
8917
8919
|
{
|
|
8918
8920
|
set(Q) {
|
|
8919
|
-
return
|
|
8921
|
+
return Se(Q) ? _e(Q) : Q;
|
|
8920
8922
|
}
|
|
8921
8923
|
}
|
|
8922
8924
|
), { collabOptions: g } = bn(), h = N((Q) => {
|
|
8923
8925
|
}), D = N((Q) => {
|
|
8924
8926
|
}), v = N(() => {
|
|
8925
8927
|
}), d = N(null);
|
|
8926
|
-
if (g.value.enabled &&
|
|
8927
|
-
const { releaseCollabFieldLock: Q, changeCollabFieldData:
|
|
8928
|
-
h.value = Q, D.value =
|
|
8928
|
+
if (g.value.enabled && Fe(a.collab)) {
|
|
8929
|
+
const { releaseCollabFieldLock: Q, changeCollabFieldData: we, acquireCollabFieldLock: Ae, lockedByUser: Be } = za(a.collab.room, a.collab.field);
|
|
8930
|
+
h.value = Q, D.value = we, v.value = Ae, $e(
|
|
8929
8931
|
Be,
|
|
8930
8932
|
(_t) => {
|
|
8931
8933
|
d.value = _t;
|
|
@@ -8935,17 +8937,17 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8935
8937
|
}
|
|
8936
8938
|
const m = N(""), p = N(!1), x = N(null), R = N(0), { t: A } = Oe(), b = se(Ua, void 0), B = se(Ya, void 0), j = () => {
|
|
8937
8939
|
p.value = !1, l("blur", f.value), a.v?.$touch(), h.value(f.value);
|
|
8938
|
-
}, I = P(() =>
|
|
8939
|
-
if (
|
|
8940
|
+
}, I = P(() => Fe(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((Q) => Q.$message) : []), L = P(() => {
|
|
8941
|
+
if (Fe(a.label)) return a.label;
|
|
8940
8942
|
if (M(b) || M(B) || M(a.v?.$path)) return "";
|
|
8941
8943
|
const { end: Q } = vn(a.v?.$path, ".");
|
|
8942
8944
|
return A(b + "." + B + ".model." + Q);
|
|
8943
|
-
}), z = P(() =>
|
|
8945
|
+
}), z = P(() => Fe(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), V = P(() => Fe(a.disabled) ? a.disabled : !!d.value), { pagination: F } = pn(
|
|
8944
8946
|
ne(u) ? null : u.key,
|
|
8945
8947
|
u?.order
|
|
8946
8948
|
), k = N([]), w = N([]), y = N(!0), T = N(!1), _ = P(() => {
|
|
8947
|
-
const Q = /* @__PURE__ */ new Map(),
|
|
8948
|
-
|
|
8949
|
+
const Q = /* @__PURE__ */ new Map(), we = (Ae) => {
|
|
8950
|
+
Ae.forEach((Be) => {
|
|
8949
8951
|
Q.set(Be.value, {
|
|
8950
8952
|
value: Be.value,
|
|
8951
8953
|
title: Be.title,
|
|
@@ -8953,54 +8955,58 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
8953
8955
|
});
|
|
8954
8956
|
});
|
|
8955
8957
|
};
|
|
8956
|
-
return
|
|
8958
|
+
return we(w.value), we(k.value), Array.from(Q.values());
|
|
8957
8959
|
}), U = N(!1), X = P(() => U.value ? !0 : a.loading), ce = (Q) => {
|
|
8958
|
-
w.value = [], c.value =
|
|
8960
|
+
w.value = [], c.value = Se(Q) ? [] : null, x.value = Se(Q) ? [] : null;
|
|
8959
8961
|
}, q = (Q) => {
|
|
8960
|
-
const
|
|
8961
|
-
return
|
|
8962
|
+
const we = (Ae) => _.value.find((Be) => Be.value === Ae) ?? { title: `${Ae}`, value: Ae };
|
|
8963
|
+
return Se(Q) ? Q.map(we) : we(Q);
|
|
8962
8964
|
}, H = async (Q) => {
|
|
8963
8965
|
U.value = !0;
|
|
8964
8966
|
try {
|
|
8965
|
-
const
|
|
8966
|
-
w.value = await a.fetchItemsByIds(
|
|
8967
|
-
const
|
|
8968
|
-
return c.value =
|
|
8967
|
+
const we = Se(Q) ? Q : [Q];
|
|
8968
|
+
w.value = await a.fetchItemsByIds(we);
|
|
8969
|
+
const Ae = q(Q);
|
|
8970
|
+
return c.value = Ae, x.value = Ae, w.value;
|
|
8971
|
+
} catch (we) {
|
|
8972
|
+
ae(we);
|
|
8969
8973
|
} finally {
|
|
8970
8974
|
U.value = !1;
|
|
8971
8975
|
}
|
|
8972
|
-
}, ee = async (Q,
|
|
8973
|
-
const
|
|
8976
|
+
}, ee = async (Q, we = !1) => {
|
|
8977
|
+
const Ae = Se(Q) ? Q : [Q];
|
|
8974
8978
|
U.value = !0;
|
|
8975
8979
|
try {
|
|
8976
|
-
const Be = await a.fetchItemsByIds(
|
|
8977
|
-
if (
|
|
8980
|
+
const Be = await a.fetchItemsByIds(Ae);
|
|
8981
|
+
if (Se(Be) && Be.length > 0) {
|
|
8978
8982
|
if (w.value = Be, a.multiple) {
|
|
8979
8983
|
const _t = Be.map((Ot) => Ot.value);
|
|
8980
|
-
return f.value = _t,
|
|
8984
|
+
return f.value = _t, we && await re("force", _t), U.value = !1, !0;
|
|
8981
8985
|
}
|
|
8982
|
-
return f.value = Be[0].value,
|
|
8986
|
+
return f.value = Be[0].value, we && await re("force", Be[0].value), U.value = !1, !0;
|
|
8983
8987
|
}
|
|
8984
8988
|
return U.value = !1, !1;
|
|
8985
8989
|
} catch (Be) {
|
|
8986
|
-
|
|
8990
|
+
ae(Be);
|
|
8987
8991
|
}
|
|
8988
|
-
}, { showErrorsDefault:
|
|
8992
|
+
}, { showErrorsDefault: ae } = Tn(), K = async (Q, we) => {
|
|
8989
8993
|
U.value = !0, i[s] = Q;
|
|
8990
8994
|
try {
|
|
8991
|
-
const
|
|
8992
|
-
|
|
8993
|
-
} catch (
|
|
8994
|
-
|
|
8995
|
+
const Ae = await a.fetchItems(F, i, o);
|
|
8996
|
+
we === R.value && (k.value = Ae);
|
|
8997
|
+
} catch (Ae) {
|
|
8998
|
+
ae(Ae);
|
|
8995
8999
|
} finally {
|
|
8996
9000
|
U.value = !1;
|
|
8997
9001
|
}
|
|
8998
|
-
}, re = async (Q,
|
|
9002
|
+
}, re = async (Q, we) => {
|
|
8999
9003
|
if (!U.value && !(Q !== "force" && (a.prefetch === !1 || a.prefetch !== Q || T.value))) {
|
|
9000
9004
|
U.value = !0;
|
|
9001
9005
|
try {
|
|
9002
|
-
const
|
|
9003
|
-
R.value === 0 && (k.value =
|
|
9006
|
+
const Ae = await a.fetchItems(F, i, o);
|
|
9007
|
+
R.value === 0 && (k.value = Ae, !a.disableAutoSingleSelect && Q === "mounted" && Ae.length === 1 && (ne(we) || M(we) || Se(we) && we.length === 0) && (f.value = a.multiple ? [Ae[0].value] : Ae[0].value)), T.value = !0;
|
|
9008
|
+
} catch (Ae) {
|
|
9009
|
+
ae(Ae);
|
|
9004
9010
|
} finally {
|
|
9005
9011
|
U.value = !1;
|
|
9006
9012
|
}
|
|
@@ -9012,13 +9018,13 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
9012
9018
|
}, xe = P(() => {
|
|
9013
9019
|
if (!a.multiple && w.value[0])
|
|
9014
9020
|
return w.value[0].title;
|
|
9015
|
-
}),
|
|
9021
|
+
}), oe = (Q) => {
|
|
9016
9022
|
!a.multiple && !p.value && Q.length === 0 || xe.value !== Q && (m.value = Q);
|
|
9017
9023
|
}, de = async () => {
|
|
9018
9024
|
try {
|
|
9019
9025
|
k.value = await a.fetchItems(F, i, o);
|
|
9020
9026
|
} catch (Q) {
|
|
9021
|
-
|
|
9027
|
+
ae(Q);
|
|
9022
9028
|
}
|
|
9023
9029
|
if (a.multiple) {
|
|
9024
9030
|
f.value = [];
|
|
@@ -9026,16 +9032,16 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
9026
9032
|
}
|
|
9027
9033
|
f.value = null;
|
|
9028
9034
|
}, be = (Q) => {
|
|
9029
|
-
if (
|
|
9030
|
-
f.value = f.value.filter((
|
|
9035
|
+
if (Se(f.value)) {
|
|
9036
|
+
f.value = f.value.filter((we) => we !== Q.value);
|
|
9031
9037
|
return;
|
|
9032
9038
|
}
|
|
9033
9039
|
Q.value === f.value && a.clearable && (f.value = null);
|
|
9034
9040
|
};
|
|
9035
9041
|
Va(
|
|
9036
9042
|
m,
|
|
9037
|
-
(Q,
|
|
9038
|
-
if (Q !==
|
|
9043
|
+
(Q, we) => {
|
|
9044
|
+
if (Q !== we && !(Q.length > 0 && Q.length < a.minSearchChars)) {
|
|
9039
9045
|
if (Q.length === 0 && a.prefetch === !1) {
|
|
9040
9046
|
k.value = [];
|
|
9041
9047
|
return;
|
|
@@ -9044,30 +9050,30 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
9044
9050
|
}
|
|
9045
9051
|
},
|
|
9046
9052
|
{ debounce: gf }
|
|
9047
|
-
),
|
|
9048
|
-
Q !==
|
|
9053
|
+
), $e(m, (Q, we) => {
|
|
9054
|
+
Q !== we && l("searchChange", Q);
|
|
9049
9055
|
});
|
|
9050
9056
|
const Re = (Q) => {
|
|
9051
|
-
const
|
|
9052
|
-
if (c.value =
|
|
9057
|
+
const we = _e(Q);
|
|
9058
|
+
if (c.value = we, ne(we) || M(we)) {
|
|
9053
9059
|
f.value = null;
|
|
9054
9060
|
return;
|
|
9055
9061
|
}
|
|
9056
|
-
if (
|
|
9057
|
-
f.value =
|
|
9062
|
+
if (Se(we)) {
|
|
9063
|
+
f.value = we.map((Ae) => Ae.value);
|
|
9058
9064
|
return;
|
|
9059
9065
|
}
|
|
9060
|
-
f.value =
|
|
9066
|
+
f.value = we.value;
|
|
9061
9067
|
}, Bt = P(() => {
|
|
9062
9068
|
if (U.value)
|
|
9063
9069
|
return "$vuetify.loading";
|
|
9064
9070
|
if (k.value.length === 0 && m.value.length < a.minSearchChars)
|
|
9065
9071
|
return M(a.minSearchText) ? A("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
|
|
9066
9072
|
});
|
|
9067
|
-
return
|
|
9073
|
+
return $e(
|
|
9068
9074
|
f,
|
|
9069
|
-
async (Q,
|
|
9070
|
-
if (Q !==
|
|
9075
|
+
async (Q, we) => {
|
|
9076
|
+
if (Q !== we) {
|
|
9071
9077
|
if (y.value && (y.value = !1, await re("mounted", Q)), g.value.enabled && p.value && D.value(Q), jl(Q)) {
|
|
9072
9078
|
ce(Q);
|
|
9073
9079
|
return;
|
|
@@ -9078,7 +9084,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
9078
9084
|
{ immediate: !0 }
|
|
9079
9085
|
), n({
|
|
9080
9086
|
tryLoadModelValue: ee
|
|
9081
|
-
}), (Q,
|
|
9087
|
+
}), (Q, we) => ($(), G(Kn, {
|
|
9082
9088
|
"model-value": x.value,
|
|
9083
9089
|
items: _.value,
|
|
9084
9090
|
"no-filter": "",
|
|
@@ -9095,30 +9101,30 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
9095
9101
|
autocomplete: "off",
|
|
9096
9102
|
"hide-selected": e.closableChips,
|
|
9097
9103
|
"closable-chips": e.closableChips && !X.value && !V.value && !e.readonly,
|
|
9098
|
-
"onUpdate:search":
|
|
9104
|
+
"onUpdate:search": oe,
|
|
9099
9105
|
"onUpdate:modelValue": Re,
|
|
9100
9106
|
onBlur: j,
|
|
9101
9107
|
onFocus: J,
|
|
9102
9108
|
onMouseenter: te,
|
|
9103
9109
|
"onClick:clear": de
|
|
9104
9110
|
}, zt({
|
|
9105
|
-
item: E(({ props:
|
|
9106
|
-
S(ot, Ne(
|
|
9111
|
+
item: E(({ props: Ae, internalItem: Be }) => [
|
|
9112
|
+
S(ot, Ne(Ae, {
|
|
9107
9113
|
title: Be.raw.title,
|
|
9108
9114
|
subtitle: Be.raw.subtitle
|
|
9109
9115
|
}), null, 16, ["title", "subtitle"])
|
|
9110
9116
|
]),
|
|
9111
|
-
chip: E(({ props:
|
|
9117
|
+
chip: E(({ props: Ae, internalItem: Be }) => [
|
|
9112
9118
|
S(Qt, {
|
|
9113
|
-
closable:
|
|
9119
|
+
closable: Ae.closable,
|
|
9114
9120
|
size: "small",
|
|
9115
9121
|
text: `${Be.title} (${Be.raw.subtitle})`,
|
|
9116
9122
|
disabled: Be.props.disabled,
|
|
9117
9123
|
"onClick:close": (_t) => be(Be.raw)
|
|
9118
9124
|
}, {
|
|
9119
9125
|
default: E(() => [
|
|
9120
|
-
fe(
|
|
9121
|
-
Be.raw.subtitle ? ($(), ie("span", pf, " (" +
|
|
9126
|
+
fe(le(Be.raw.title) + " ", 1),
|
|
9127
|
+
Be.raw.subtitle ? ($(), ie("span", pf, " (" + le(Be.raw.subtitle) + ") ", 1)) : ue("", !0)
|
|
9122
9128
|
]),
|
|
9123
9129
|
_: 2
|
|
9124
9130
|
}, 1032, ["closable", "text", "disabled", "onClick:close"])
|
|
@@ -9127,7 +9133,7 @@ const $d = /* @__PURE__ */ Ee({
|
|
|
9127
9133
|
e.hideLabel ? ue("", !0) : ($(), ie("span", {
|
|
9128
9134
|
key: z.value + ""
|
|
9129
9135
|
}, [
|
|
9130
|
-
fe(
|
|
9136
|
+
fe(le(L.value) + " ", 1),
|
|
9131
9137
|
z.value ? ($(), ie("span", hf)) : ue("", !0)
|
|
9132
9138
|
]))
|
|
9133
9139
|
]),
|
|
@@ -9246,7 +9252,7 @@ export {
|
|
|
9246
9252
|
Em as at,
|
|
9247
9253
|
wt as au,
|
|
9248
9254
|
No as av,
|
|
9249
|
-
|
|
9255
|
+
Ce as aw,
|
|
9250
9256
|
Tm as ax,
|
|
9251
9257
|
Ga as ay,
|
|
9252
9258
|
Wa as az,
|
|
@@ -9355,14 +9361,14 @@ export {
|
|
|
9355
9361
|
mn as f,
|
|
9356
9362
|
_e as g,
|
|
9357
9363
|
ne as h,
|
|
9358
|
-
|
|
9364
|
+
Fe as i,
|
|
9359
9365
|
$t as j,
|
|
9360
9366
|
km as k,
|
|
9361
9367
|
Oo as l,
|
|
9362
9368
|
Tn as m,
|
|
9363
9369
|
_n as n,
|
|
9364
9370
|
Xt as o,
|
|
9365
|
-
|
|
9371
|
+
Se as p,
|
|
9366
9372
|
Zn as q,
|
|
9367
9373
|
Ln as r,
|
|
9368
9374
|
vn as s,
|
|
@@ -9374,4 +9380,4 @@ export {
|
|
|
9374
9380
|
jl as y,
|
|
9375
9381
|
ql as z
|
|
9376
9382
|
};
|
|
9377
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
9383
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CAdhbUGQ.mjs.map
|