@anzusystems/common-admin 1.47.0-beta.dev-1777971796 → 1.47.0-beta.dev-1777971797
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-1FJ-5Ucu.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs} +99 -89
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-1FJ-5Ucu.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs.map} +1 -1
- package/dist/common-admin.js +4 -4
- package/dist/{index-IOlOPejE.mjs → index-BYrVH8OR.mjs} +5605 -5534
- package/dist/index-BYrVH8OR.mjs.map +1 -0
- package/dist/labs.js +15 -10
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-Qc8W7Rge.mjs → webfontloader-CMEOWFcG.mjs} +2 -2
- package/dist/{webfontloader-Qc8W7Rge.mjs.map → webfontloader-CMEOWFcG.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/index-IOlOPejE.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ee, openBlock as I, createBlock as W, withCtx as D, createVNode as S, createElementBlock as ne, normalizeClass as Je, toDisplayString as Q, createCommentVNode as re, renderSlot as he, createElementVNode as ye, isProxy as Qr, toRaw as Ba, isRef as Oa, unref as _, computed as P, Fragment as qe, normalizeStyle as es, createTextVNode as ie, shallowRef as ka, watch as
|
|
1
|
+
import { defineComponent as Ee, openBlock as I, createBlock as W, withCtx as D, createVNode as S, createElementBlock as ne, normalizeClass as Je, toDisplayString as Q, createCommentVNode as re, renderSlot as he, createElementVNode as ye, isProxy as Qr, toRaw as Ba, isRef as Oa, unref as _, computed as P, Fragment as qe, normalizeStyle as es, createTextVNode as ie, shallowRef as ka, watch as xe, ref as N, reactive as Gt, inject as ae, createSlots as Xt, withDirectives as Vn, onMounted as Mo, withModifiers as fe, onUnmounted as ts, TransitionGroup as ns, mergeProps as Ue, isVNode as as, useModel as it, useTemplateRef as At, nextTick as je, withKeys as Da, vModelText as sl, mergeModels as Qe, getCurrentInstance as zn, resolveComponent as rn, resolveDynamicComponent as Ul, renderList as Vt, toValue as il, toRef as os, onBeforeUnmount as Io, provide as sn, vShow as ls, useSlots as rs, shallowReactive as ss, normalizeProps as ul } from "vue";
|
|
2
2
|
import { useEventBus as ct, tryOnBeforeUnmount as is, watchDebounced as $o, useResizeObserver as us, watchThrottled as cs, defaultDocument as ds, unrefElement as cl, tryOnMounted as fs, tryOnScopeDispose as ms, useElementSize as vs } from "@vueuse/core";
|
|
3
3
|
import { useI18n as Oe, createI18n as ps } from "vue-i18n";
|
|
4
4
|
import { VAutocomplete as Ra } from "vuetify/components/VAutocomplete";
|
|
@@ -10,7 +10,7 @@ import { VRow as Kt, VCol as Tt, VSpacer as mn } from "vuetify/components/VGrid"
|
|
|
10
10
|
import { VSelect as Hl } from "vuetify/components/VSelect";
|
|
11
11
|
import { VTextarea as hs } from "vuetify/components/VTextarea";
|
|
12
12
|
import { VForm as zl } from "vuetify/components/VForm";
|
|
13
|
-
import { VBtn as
|
|
13
|
+
import { VBtn as Ae } from "vuetify/components/VBtn";
|
|
14
14
|
import { VIcon as we } from "vuetify/components/VIcon";
|
|
15
15
|
import { VTooltip as Ze } from "vuetify/components/VTooltip";
|
|
16
16
|
import { VTextField as Kn } from "vuetify/components/VTextField";
|
|
@@ -177,7 +177,7 @@ const Rs = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
|
|
|
177
177
|
if (n.isModerator && (i = o("common.collab.moderator") + ": "), s.value)
|
|
178
178
|
return s.value.person.fullName.length ? i + s.value.person.fullName : i + s.value.email.split("@")[0];
|
|
179
179
|
});
|
|
180
|
-
return
|
|
180
|
+
return xe(
|
|
181
181
|
s,
|
|
182
182
|
async (i) => {
|
|
183
183
|
a.value || A(i) || !i._loaded || (t.value = i, a.value = !0);
|
|
@@ -526,7 +526,7 @@ const si = {
|
|
|
526
526
|
addCollabGatheringBufferDataListener: H,
|
|
527
527
|
lockedByUser: M
|
|
528
528
|
} = Va(a.collab.room, a.collab.field);
|
|
529
|
-
r.value = x, i.value = b,
|
|
529
|
+
r.value = x, i.value = b, xe(
|
|
530
530
|
M,
|
|
531
531
|
(L) => {
|
|
532
532
|
u.value = L;
|
|
@@ -682,7 +682,7 @@ function Fm(e, n, t = void 0, a = void 0, l = !1, o = void 0, s = void 0, r = vo
|
|
|
682
682
|
};
|
|
683
683
|
return Mo(() => {
|
|
684
684
|
g();
|
|
685
|
-
}),
|
|
685
|
+
}), xe(n, (d) => {
|
|
686
686
|
m(d);
|
|
687
687
|
}), {
|
|
688
688
|
columnsAll: h,
|
|
@@ -711,7 +711,7 @@ const Ro = /* @__PURE__ */ Ee({
|
|
|
711
711
|
_: 3
|
|
712
712
|
}),
|
|
713
713
|
S(mn),
|
|
714
|
-
S(
|
|
714
|
+
S(Ae, {
|
|
715
715
|
class: "ml-2",
|
|
716
716
|
icon: "mdi-close",
|
|
717
717
|
size: "small",
|
|
@@ -1788,7 +1788,7 @@ const Nt = ".000000Z", Ta = "YYYY-MM-DDTHH:mm:ss", Na = "1970-01-01T00:00:00.000
|
|
|
1788
1788
|
const t = n, { t: a } = Oe(), l = (o) => {
|
|
1789
1789
|
Ya(o), t("submit");
|
|
1790
1790
|
};
|
|
1791
|
-
return (o, s) => (I(), W(
|
|
1791
|
+
return (o, s) => (I(), W(Ae, {
|
|
1792
1792
|
class: Je(e.buttonClass),
|
|
1793
1793
|
"data-cy": e.dataCy,
|
|
1794
1794
|
color: "primary",
|
|
@@ -1814,7 +1814,7 @@ const Nt = ".000000Z", Ta = "YYYY-MM-DDTHH:mm:ss", Na = "1970-01-01T00:00:00.000
|
|
|
1814
1814
|
const t = n, a = (o) => {
|
|
1815
1815
|
Ya(o), t("reset");
|
|
1816
1816
|
}, { t: l } = Oe();
|
|
1817
|
-
return (o, s) => (I(), W(
|
|
1817
|
+
return (o, s) => (I(), W(Ae, {
|
|
1818
1818
|
class: Je([e.buttonClass, "text-medium-emphasis px-2"]),
|
|
1819
1819
|
"data-cy": e.dataCy,
|
|
1820
1820
|
"min-width": "36px",
|
|
@@ -2109,7 +2109,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2109
2109
|
}, $ = () => {
|
|
2110
2110
|
r.value?.focus();
|
|
2111
2111
|
};
|
|
2112
|
-
return
|
|
2112
|
+
return xe([o, s], ([x, b], [O, H]) => {
|
|
2113
2113
|
if (x === O && b === H) return;
|
|
2114
2114
|
const M = parseInt(
|
|
2115
2115
|
x ?? (l.value ? l.value.hours.toString() : "12")
|
|
@@ -2138,7 +2138,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2138
2138
|
[sl, u.value]
|
|
2139
2139
|
]),
|
|
2140
2140
|
ye("div", Mu, [
|
|
2141
|
-
S(
|
|
2141
|
+
S(Ae, {
|
|
2142
2142
|
tabindex: "-1",
|
|
2143
2143
|
variant: "text",
|
|
2144
2144
|
class: "a-datetime-picker-time__arrow-up",
|
|
@@ -2149,7 +2149,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2149
2149
|
]),
|
|
2150
2150
|
_: 1
|
|
2151
2151
|
}),
|
|
2152
|
-
S(
|
|
2152
|
+
S(Ae, {
|
|
2153
2153
|
tabindex: "-1",
|
|
2154
2154
|
variant: "text",
|
|
2155
2155
|
class: "a-datetime-picker-time__arrow-down",
|
|
@@ -2181,7 +2181,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2181
2181
|
[sl, f.value]
|
|
2182
2182
|
]),
|
|
2183
2183
|
ye("div", $u, [
|
|
2184
|
-
S(
|
|
2184
|
+
S(Ae, {
|
|
2185
2185
|
tabindex: "-1",
|
|
2186
2186
|
variant: "text",
|
|
2187
2187
|
class: "a-datetime-picker-time__arrow-up",
|
|
@@ -2192,7 +2192,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2192
2192
|
]),
|
|
2193
2193
|
_: 1
|
|
2194
2194
|
}),
|
|
2195
|
-
S(
|
|
2195
|
+
S(Ae, {
|
|
2196
2196
|
tabindex: "-1",
|
|
2197
2197
|
variant: "text",
|
|
2198
2198
|
class: "a-datetime-picker-time__arrow-down",
|
|
@@ -2241,7 +2241,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2241
2241
|
}, x = (E) => {
|
|
2242
2242
|
te(E) || ((te(h.value) || E.hour() !== h.value.hours || E.minute() !== h.value.minutes) && (h.value = { hours: E.hour(), minutes: E.minute() }), (te(c.value) || E.year() !== c.value.getFullYear() || E.month() !== c.value.getMonth() || E.date() !== c.value.getDate()) && (c.value = E.toDate()));
|
|
2243
2243
|
};
|
|
2244
|
-
|
|
2244
|
+
xe(
|
|
2245
2245
|
() => t.modelValue,
|
|
2246
2246
|
(E, B) => {
|
|
2247
2247
|
if (E !== B) {
|
|
@@ -2255,10 +2255,10 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2255
2255
|
{ immediate: !0 }
|
|
2256
2256
|
);
|
|
2257
2257
|
const b = (E, B) => te(E) ? B : B.set("date", E.getDate()).set("month", E.getMonth()).set("year", E.getFullYear()), O = (E, B) => te(E) ? B : B.set("hour", E.hours).set("minute", E.minutes);
|
|
2258
|
-
|
|
2258
|
+
xe([h, c], ([E, B]) => {
|
|
2259
2259
|
let U = null;
|
|
2260
2260
|
te(p.value) ? te(t.modelValue) ? t.lastMinuteMoment ? U = be().hour(0).minute(0).second(59).millisecond(999) : U = be().hour(0).minute(0).second(0).millisecond(0) : U = be(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : U = p.value, U = O(E, U), U = b(B, U), !U.isSame(Ba(p.value)) && (p.value = U);
|
|
2261
|
-
}),
|
|
2261
|
+
}), xe(
|
|
2262
2262
|
p,
|
|
2263
2263
|
(E) => {
|
|
2264
2264
|
if (te(E)) {
|
|
@@ -2269,7 +2269,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2269
2269
|
f.value = E.format(C.value), x(E), $(B);
|
|
2270
2270
|
},
|
|
2271
2271
|
{ immediate: !0 }
|
|
2272
|
-
),
|
|
2272
|
+
), xe(l, (E) => {
|
|
2273
2273
|
if (E) {
|
|
2274
2274
|
M(), te(p.value) && (te(t.defaultValue) || A(t.defaultValue)) && (t.lastMinuteMoment ? p.value = be().second(59).millisecond(999) : p.value = be().second(0).millisecond(0)), je(() => {
|
|
2275
2275
|
o.value++;
|
|
@@ -2357,7 +2357,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2357
2357
|
default: D(() => [
|
|
2358
2358
|
l.value ? (I(), W(fn, { key: 0 }, {
|
|
2359
2359
|
default: D(() => [
|
|
2360
|
-
Vn((I(), W(
|
|
2360
|
+
Vn((I(), W(Ae, {
|
|
2361
2361
|
icon: "",
|
|
2362
2362
|
variant: "text",
|
|
2363
2363
|
width: 36,
|
|
@@ -2458,7 +2458,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2458
2458
|
}), u = N(null);
|
|
2459
2459
|
if (o.value.enabled && Ie(t.collab)) {
|
|
2460
2460
|
const { releaseCollabFieldLock: O, changeCollabFieldData: H, acquireCollabFieldLock: M, lockedByUser: L } = Va(t.collab.room, t.collab.field);
|
|
2461
|
-
s.value = O, r.value = H, i.value = M,
|
|
2461
|
+
s.value = O, r.value = H, i.value = M, xe(
|
|
2462
2462
|
L,
|
|
2463
2463
|
(z) => {
|
|
2464
2464
|
u.value = z;
|
|
@@ -2480,7 +2480,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2480
2480
|
const { end: O } = Un(t.v?.$path, ".");
|
|
2481
2481
|
return k(g + "." + m + ".model." + O);
|
|
2482
2482
|
}), x = P(() => Ie(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), b = P(() => Ie(t.disabled) ? t.disabled : !!u.value);
|
|
2483
|
-
return
|
|
2483
|
+
return xe(l, (O, H) => {
|
|
2484
2484
|
O !== H && o.value.enabled && (c.value || f.value) && r.value(O);
|
|
2485
2485
|
}), (O, H) => (I(), W(ir, Ue({
|
|
2486
2486
|
modelValue: l.value,
|
|
@@ -2529,7 +2529,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
|
|
|
2529
2529
|
t.collab.room,
|
|
2530
2530
|
t.collab.field
|
|
2531
2531
|
);
|
|
2532
|
-
o.value = p, s.value = k,
|
|
2532
|
+
o.value = p, s.value = k, xe(
|
|
2533
2533
|
g,
|
|
2534
2534
|
(m) => {
|
|
2535
2535
|
r.value = m;
|
|
@@ -3152,7 +3152,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
|
|
|
3152
3152
|
o.value.set(t.name, [{ title: i.value, value: i.value }]);
|
|
3153
3153
|
}
|
|
3154
3154
|
};
|
|
3155
|
-
return
|
|
3155
|
+
return xe(
|
|
3156
3156
|
() => r[t.name],
|
|
3157
3157
|
(m, d) => {
|
|
3158
3158
|
m === d || ut(m) || g();
|
|
@@ -3310,7 +3310,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
|
|
|
3310
3310
|
}
|
|
3311
3311
|
o.value.set(t.name, [{ title: ee.title, value: ee.value }]);
|
|
3312
3312
|
};
|
|
3313
|
-
return
|
|
3313
|
+
return xe(
|
|
3314
3314
|
() => r[t.name],
|
|
3315
3315
|
async (ee, le) => {
|
|
3316
3316
|
if (ee === le || ut(ee)) return;
|
|
@@ -3503,7 +3503,7 @@ const Jm = /* @__PURE__ */ Ee({
|
|
|
3503
3503
|
}
|
|
3504
3504
|
o.value.set(t.name, [{ title: X.title, value: X.value }]);
|
|
3505
3505
|
};
|
|
3506
|
-
return
|
|
3506
|
+
return xe(
|
|
3507
3507
|
() => r[t.name],
|
|
3508
3508
|
async (X, se) => {
|
|
3509
3509
|
if (X === se || ut(X)) return;
|
|
@@ -3648,7 +3648,7 @@ const Jm = /* @__PURE__ */ Ee({
|
|
|
3648
3648
|
{ title: d.title, value: d.value }
|
|
3649
3649
|
]);
|
|
3650
3650
|
};
|
|
3651
|
-
return
|
|
3651
|
+
return xe(
|
|
3652
3652
|
() => r[t.name],
|
|
3653
3653
|
(m, d) => {
|
|
3654
3654
|
m === d || ut(m) || g(m);
|
|
@@ -3731,7 +3731,7 @@ const Jm = /* @__PURE__ */ Ee({
|
|
|
3731
3731
|
}, L = (V = !1) => {
|
|
3732
3732
|
g.value.$reset(), V && (p.value.from = null, p.value.until = Yn()), h.value = !0;
|
|
3733
3733
|
};
|
|
3734
|
-
|
|
3734
|
+
xe(
|
|
3735
3735
|
i,
|
|
3736
3736
|
(V) => {
|
|
3737
3737
|
if (Se(V) || ut(V)) return;
|
|
@@ -3743,7 +3743,7 @@ const Jm = /* @__PURE__ */ Ee({
|
|
|
3743
3743
|
!F && lo(i.value) && lo(R) && (c.value = wt.Custom, p.value.from = i.value, p.value.until = R, k.value = !0), F && (c.value = F.value);
|
|
3744
3744
|
},
|
|
3745
3745
|
{ immediate: !0 }
|
|
3746
|
-
),
|
|
3746
|
+
), xe(
|
|
3747
3747
|
[() => r[t.nameFrom], () => r[t.nameUntil]],
|
|
3748
3748
|
([V, F], [R, T]) => {
|
|
3749
3749
|
V === R && F === T || M(V);
|
|
@@ -3957,7 +3957,7 @@ const Jm = /* @__PURE__ */ Ee({
|
|
|
3957
3957
|
o.value.set(t.name, [{ title: i.value, value: i.value }]);
|
|
3958
3958
|
}
|
|
3959
3959
|
};
|
|
3960
|
-
return
|
|
3960
|
+
return xe(
|
|
3961
3961
|
() => r[t.name],
|
|
3962
3962
|
(m, d) => {
|
|
3963
3963
|
m === d || ut(m) || g();
|
|
@@ -4273,7 +4273,7 @@ const cc = { key: 0 }, dc = 32, pr = /* @__PURE__ */ Ee({
|
|
|
4273
4273
|
hidden: $.value.slice(b)
|
|
4274
4274
|
};
|
|
4275
4275
|
});
|
|
4276
|
-
return
|
|
4276
|
+
return xe([u, () => $.value.length], ([b]) => {
|
|
4277
4277
|
b === !0 || te(f.value) || (c.value = f.value.clientWidth, je(() => {
|
|
4278
4278
|
C(c.value);
|
|
4279
4279
|
}));
|
|
@@ -4289,7 +4289,7 @@ const cc = { key: 0 }, dc = 32, pr = /* @__PURE__ */ Ee({
|
|
|
4289
4289
|
key: H.id,
|
|
4290
4290
|
class: "white-space-nowrap"
|
|
4291
4291
|
}, [
|
|
4292
|
-
S(
|
|
4292
|
+
S(Ae, {
|
|
4293
4293
|
variant: "text",
|
|
4294
4294
|
"prepend-icon": "mdi-bookmark-outline",
|
|
4295
4295
|
size: "small",
|
|
@@ -4307,7 +4307,7 @@ const cc = { key: 0 }, dc = 32, pr = /* @__PURE__ */ Ee({
|
|
|
4307
4307
|
location: "bottom"
|
|
4308
4308
|
}, {
|
|
4309
4309
|
activator: D(({ props: H }) => [
|
|
4310
|
-
S(
|
|
4310
|
+
S(Ae, Ue({
|
|
4311
4311
|
icon: "mdi-menu-down",
|
|
4312
4312
|
size: "x-small",
|
|
4313
4313
|
width: 28,
|
|
@@ -4431,7 +4431,7 @@ var Ft = Mt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), na = Mt(/E
|
|
|
4431
4431
|
function Me(e, n, t) {
|
|
4432
4432
|
e.addEventListener(n, t, !Ft && gr);
|
|
4433
4433
|
}
|
|
4434
|
-
function
|
|
4434
|
+
function Te(e, n, t) {
|
|
4435
4435
|
e.removeEventListener(n, t, !Ft && gr);
|
|
4436
4436
|
}
|
|
4437
4437
|
function Ma(e, n) {
|
|
@@ -5039,7 +5039,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
5039
5039
|
},
|
|
5040
5040
|
_disableDelayedDragEvents: function() {
|
|
5041
5041
|
var n = this.el.ownerDocument;
|
|
5042
|
-
|
|
5042
|
+
Te(n, "mouseup", this._disableDelayedDrag), Te(n, "touchend", this._disableDelayedDrag), Te(n, "touchcancel", this._disableDelayedDrag), Te(n, "pointerup", this._disableDelayedDrag), Te(n, "pointercancel", this._disableDelayedDrag), Te(n, "mousemove", this._delayedDragTouchMoveHandler), Te(n, "touchmove", this._delayedDragTouchMoveHandler), Te(n, "pointermove", this._delayedDragTouchMoveHandler);
|
|
5043
5043
|
},
|
|
5044
5044
|
_triggerDragStart: function(n, t) {
|
|
5045
5045
|
t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? Me(document, "pointermove", this._onTouchMove) : t ? Me(document, "touchmove", this._onTouchMove) : Me(document, "mousemove", this._onTouchMove) : (Me(G, "dragend", this), Me(Le, "dragstart", this._onDragStart));
|
|
@@ -5133,7 +5133,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
5133
5133
|
sortable: a,
|
|
5134
5134
|
name: "clone"
|
|
5135
5135
|
}));
|
|
5136
|
-
}), !t && lt(G, o.dragClass, !0), t ? (Ia = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (
|
|
5136
|
+
}), !t && lt(G, o.dragClass, !0), t ? (Ia = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (Te(document, "mouseup", a._onDrop), Te(document, "touchend", a._onDrop), Te(document, "touchcancel", a._onDrop), l && (l.effectAllowed = "move", o.setData && o.setData.call(a, l, G)), Me(document, "drop", a), ue(G, "transform", "translateZ(0)")), nn = !0, a._dragStartId = wa(a._dragStarted.bind(a, t, n)), Me(document, "selectstart", a), In = !0, window.getSelection().removeAllRanges(), Bn && ue(document.body, "user-select", "none");
|
|
5137
5137
|
},
|
|
5138
5138
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
5139
5139
|
_onDragOver: function(n) {
|
|
@@ -5223,11 +5223,11 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
5223
5223
|
},
|
|
5224
5224
|
_ignoreWhileAnimating: null,
|
|
5225
5225
|
_offMoveEvents: function() {
|
|
5226
|
-
|
|
5226
|
+
Te(document, "mousemove", this._onTouchMove), Te(document, "touchmove", this._onTouchMove), Te(document, "pointermove", this._onTouchMove), Te(document, "dragover", Ht), Te(document, "mousemove", Ht), Te(document, "touchmove", Ht);
|
|
5227
5227
|
},
|
|
5228
5228
|
_offUpEvents: function() {
|
|
5229
5229
|
var n = this.el.ownerDocument;
|
|
5230
|
-
|
|
5230
|
+
Te(n, "mouseup", this._onDrop), Te(n, "touchend", this._onDrop), Te(n, "pointerup", this._onDrop), Te(n, "pointercancel", this._onDrop), Te(n, "touchcancel", this._onDrop), Te(document, "selectstart", this);
|
|
5231
5231
|
},
|
|
5232
5232
|
_onDrop: function(n) {
|
|
5233
5233
|
var t = this.el, a = this.options;
|
|
@@ -5237,7 +5237,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
5237
5237
|
this._nulling();
|
|
5238
5238
|
return;
|
|
5239
5239
|
}
|
|
5240
|
-
nn = !1, ma = !1, Ln = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), xo(this.cloneId), xo(this._dragStartId), this.nativeDraggable && (
|
|
5240
|
+
nn = !1, ma = !1, Ln = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), xo(this.cloneId), xo(this._dragStartId), this.nativeDraggable && (Te(document, "drop", this), Te(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Bn && ue(document.body, "user-select", ""), ue(G, "transform", ""), n && (In && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), pe && pe.parentNode && pe.parentNode.removeChild(pe), (Le === Ne || Ge && Ge.lastPutMode !== "clone") && Ve && Ve.parentNode && Ve.parentNode.removeChild(Ve), G && (this.nativeDraggable && Te(G, "dragend", this), po(G), G.style["will-change"] = "", In && !nn && lt(G, Ge ? Ge.options.ghostClass : this.options.ghostClass, !1), lt(G, this.options.chosenClass, !1), et({
|
|
5241
5241
|
sortable: this,
|
|
5242
5242
|
name: "unchoose",
|
|
5243
5243
|
toEl: Ne,
|
|
@@ -5362,7 +5362,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
5362
5362
|
destroy: function() {
|
|
5363
5363
|
tt("destroy", this);
|
|
5364
5364
|
var n = this.el;
|
|
5365
|
-
n[nt] = null,
|
|
5365
|
+
n[nt] = null, Te(n, "mousedown", this._onTapStart), Te(n, "touchstart", this._onTapStart), Te(n, "pointerdown", this._onTapStart), this.nativeDraggable && (Te(n, "dragover", this), Te(n, "dragenter", this)), Array.prototype.forEach.call(n.querySelectorAll("[draggable]"), function(t) {
|
|
5366
5366
|
t.removeAttribute("draggable");
|
|
5367
5367
|
}), this._onDrop(), this._disableDelayedDragEvents(), $a.splice($a.indexOf(this.el), 1), this.el = n = null;
|
|
5368
5368
|
},
|
|
@@ -5446,7 +5446,7 @@ Ha && Me(document, "touchmove", function(e) {
|
|
|
5446
5446
|
});
|
|
5447
5447
|
ce.utils = {
|
|
5448
5448
|
on: Me,
|
|
5449
|
-
off:
|
|
5449
|
+
off: Te,
|
|
5450
5450
|
css: ue,
|
|
5451
5451
|
find: yr,
|
|
5452
5452
|
is: function(n, t) {
|
|
@@ -5503,7 +5503,7 @@ function Lc() {
|
|
|
5503
5503
|
!this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
|
|
5504
5504
|
},
|
|
5505
5505
|
drop: function() {
|
|
5506
|
-
this.sortable.nativeDraggable ?
|
|
5506
|
+
this.sortable.nativeDraggable ? Te(document, "dragover", this._handleAutoScroll) : (Te(document, "pointermove", this._handleFallbackAutoScroll), Te(document, "touchmove", this._handleFallbackAutoScroll), Te(document, "mousemove", this._handleFallbackAutoScroll)), Ll(), Sa(), Cc();
|
|
5507
5507
|
},
|
|
5508
5508
|
nulling: function() {
|
|
5509
5509
|
_a = To = $n = Ao = Fn = ho = go = null, He.length = 0;
|
|
@@ -5627,7 +5627,7 @@ function Ir(e, n, t = {}) {
|
|
|
5627
5627
|
else return a?.option(k);
|
|
5628
5628
|
};
|
|
5629
5629
|
let h;
|
|
5630
|
-
o && typeof e != "string" ? h =
|
|
5630
|
+
o && typeof e != "string" ? h = xe(() => cl(e), (k) => {
|
|
5631
5631
|
i(), k && u(k);
|
|
5632
5632
|
}, {
|
|
5633
5633
|
immediate: !0,
|
|
@@ -5888,12 +5888,12 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
|
|
|
5888
5888
|
$();
|
|
5889
5889
|
}), je(() => {
|
|
5890
5890
|
H.value = document.querySelector("#" + c.value), p();
|
|
5891
|
-
}),
|
|
5891
|
+
}), xe(
|
|
5892
5892
|
() => a.disableDraggable,
|
|
5893
5893
|
async (w) => {
|
|
5894
5894
|
$(), w === !1 && p();
|
|
5895
5895
|
}
|
|
5896
|
-
),
|
|
5896
|
+
), xe(
|
|
5897
5897
|
() => a.dirty,
|
|
5898
5898
|
(w) => {
|
|
5899
5899
|
m.value = w;
|
|
@@ -5982,7 +5982,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
|
|
|
5982
5982
|
class: Je(["a-sortable-widget__buttons", { "a-sortable-widget__buttons--permanent": e.permanentButtons }])
|
|
5983
5983
|
}, [
|
|
5984
5984
|
he(w.$slots, "item-buttons", { item: K }, () => [
|
|
5985
|
-
e.showEditButton ? (I(), W(
|
|
5985
|
+
e.showEditButton ? (I(), W(Ae, {
|
|
5986
5986
|
key: 0,
|
|
5987
5987
|
icon: "",
|
|
5988
5988
|
size: "x-small",
|
|
@@ -6000,7 +6000,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
|
|
|
6000
6000
|
]),
|
|
6001
6001
|
_: 1
|
|
6002
6002
|
}, 8, ["onClick"])) : re("", !0),
|
|
6003
|
-
e.showDeleteButton ? (I(), W(
|
|
6003
|
+
e.showDeleteButton ? (I(), W(Ae, {
|
|
6004
6004
|
key: 1,
|
|
6005
6005
|
icon: "",
|
|
6006
6006
|
size: "x-small",
|
|
@@ -6019,7 +6019,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
|
|
|
6019
6019
|
_: 1
|
|
6020
6020
|
}, 8, ["onClick"])) : re("", !0),
|
|
6021
6021
|
he(w.$slots, "buttons", { item: K }),
|
|
6022
|
-
e.showAddAfterButton ? (I(), W(
|
|
6022
|
+
e.showAddAfterButton ? (I(), W(Ae, {
|
|
6023
6023
|
key: 2,
|
|
6024
6024
|
icon: "",
|
|
6025
6025
|
size: "x-small",
|
|
@@ -6068,7 +6068,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
|
|
|
6068
6068
|
he(w.$slots, "add-last-activator", {
|
|
6069
6069
|
props: { onClick: fe(() => f(), ["stop"]) }
|
|
6070
6070
|
}, () => [
|
|
6071
|
-
e.showAddLastButton ? (I(), W(
|
|
6071
|
+
e.showAddLastButton ? (I(), W(Ae, {
|
|
6072
6072
|
key: 0,
|
|
6073
6073
|
size: "small",
|
|
6074
6074
|
"prepend-icon": "mdi-plus",
|
|
@@ -6294,7 +6294,7 @@ const sd = {
|
|
|
6294
6294
|
h.value = !1;
|
|
6295
6295
|
}
|
|
6296
6296
|
};
|
|
6297
|
-
return
|
|
6297
|
+
return xe(r, () => {
|
|
6298
6298
|
p.value = !1, r.value === "manage" && se();
|
|
6299
6299
|
}), (q, J) => {
|
|
6300
6300
|
const De = rn("ABtnTertiary"), ee = rn("ABtnPrimary");
|
|
@@ -6407,7 +6407,7 @@ const sd = {
|
|
|
6407
6407
|
name: "item-buttons",
|
|
6408
6408
|
fn: D(({ item: le }) => [
|
|
6409
6409
|
g.value && g.value.id === le.raw.id ? (I(), ne("div", dd, [
|
|
6410
|
-
S(
|
|
6410
|
+
S(Ae, {
|
|
6411
6411
|
icon: "",
|
|
6412
6412
|
size: "x-small",
|
|
6413
6413
|
variant: "text",
|
|
@@ -6424,7 +6424,7 @@ const sd = {
|
|
|
6424
6424
|
]),
|
|
6425
6425
|
_: 1
|
|
6426
6426
|
}, 8, ["onClick"]),
|
|
6427
|
-
S(
|
|
6427
|
+
S(Ae, {
|
|
6428
6428
|
icon: "",
|
|
6429
6429
|
size: "x-small",
|
|
6430
6430
|
variant: "text",
|
|
@@ -6505,7 +6505,7 @@ const sd = {
|
|
|
6505
6505
|
Ya(l), n.value = !0;
|
|
6506
6506
|
}, { t: a } = Oe();
|
|
6507
6507
|
return (l, o) => (I(), ne(qe, null, [
|
|
6508
|
-
S(
|
|
6508
|
+
S(Ae, {
|
|
6509
6509
|
class: Je([e.buttonClass, "text-medium-emphasis px-2"]),
|
|
6510
6510
|
"data-cy": e.dataCy,
|
|
6511
6511
|
"min-width": "36px",
|
|
@@ -6675,7 +6675,7 @@ const sd = {
|
|
|
6675
6675
|
const t = n, a = N(!1), l = (s) => {
|
|
6676
6676
|
Ya(s), a.value = !a.value, t("advancedFilter");
|
|
6677
6677
|
}, { t: o } = Oe();
|
|
6678
|
-
return (s, r) => (I(), W(
|
|
6678
|
+
return (s, r) => (I(), W(Ae, {
|
|
6679
6679
|
class: Je(e.buttonClass),
|
|
6680
6680
|
"data-cy": e.dataCy,
|
|
6681
6681
|
icon: "",
|
|
@@ -6966,7 +6966,7 @@ function Dd(e) {
|
|
|
6966
6966
|
n.value = g, u(g);
|
|
6967
6967
|
}
|
|
6968
6968
|
let c = [...a.value];
|
|
6969
|
-
|
|
6969
|
+
xe(a, (g) => {
|
|
6970
6970
|
if (n.value === null) {
|
|
6971
6971
|
c = [...g];
|
|
6972
6972
|
return;
|
|
@@ -6981,7 +6981,7 @@ function Dd(e) {
|
|
|
6981
6981
|
}
|
|
6982
6982
|
const m = c.indexOf(n.value), d = Math.min(Math.max(m, 0), g.length - 1);
|
|
6983
6983
|
f(g[d]), c = [...g];
|
|
6984
|
-
}),
|
|
6984
|
+
}), xe(a, (g) => {
|
|
6985
6985
|
t.value !== null && !g.includes(t.value) && (t.value = null);
|
|
6986
6986
|
});
|
|
6987
6987
|
function h() {
|
|
@@ -7067,7 +7067,7 @@ function lv(e) {
|
|
|
7067
7067
|
return typeof l == "function" ? l() : l.value;
|
|
7068
7068
|
});
|
|
7069
7069
|
let a = null;
|
|
7070
|
-
|
|
7070
|
+
xe(
|
|
7071
7071
|
e.key,
|
|
7072
7072
|
(l) => {
|
|
7073
7073
|
a !== null && a !== l && n.unregister(a), n.register(l, t), a = l;
|
|
@@ -7167,13 +7167,13 @@ function Td(e, n, t) {
|
|
|
7167
7167
|
const Ad = (e, n) => e.size === n.size && [...e].every((t) => n.has(t));
|
|
7168
7168
|
function Md(e) {
|
|
7169
7169
|
let n = !1;
|
|
7170
|
-
|
|
7170
|
+
xe(
|
|
7171
7171
|
e.internalUnsavedKeys,
|
|
7172
7172
|
(o) => {
|
|
7173
7173
|
Ad(e.unsavedKeysModel.value, o) || (n = !0, e.unsavedKeysModel.value = new Set(o));
|
|
7174
7174
|
},
|
|
7175
7175
|
{ immediate: !0 }
|
|
7176
|
-
),
|
|
7176
|
+
), xe(e.unsavedKeysModel, (o) => {
|
|
7177
7177
|
if (n) {
|
|
7178
7178
|
n = !1;
|
|
7179
7179
|
return;
|
|
@@ -7208,7 +7208,15 @@ function Id(e, n = {}) {
|
|
|
7208
7208
|
const h = s.value.get(f);
|
|
7209
7209
|
return h === void 0 ? !0 : h !== o(c);
|
|
7210
7210
|
};
|
|
7211
|
-
|
|
7211
|
+
if (r(), s.value.size === 0) {
|
|
7212
|
+
const f = xe(
|
|
7213
|
+
() => e().length,
|
|
7214
|
+
(c) => {
|
|
7215
|
+
c > 0 && (r(), f());
|
|
7216
|
+
}
|
|
7217
|
+
);
|
|
7218
|
+
}
|
|
7219
|
+
return {
|
|
7212
7220
|
dirtyBaseline: s,
|
|
7213
7221
|
captureDirtyBaseline: r,
|
|
7214
7222
|
rebaselineKey: i,
|
|
@@ -7268,7 +7276,7 @@ function Fd(e) {
|
|
|
7268
7276
|
}, u = () => {
|
|
7269
7277
|
a.value = !0;
|
|
7270
7278
|
};
|
|
7271
|
-
return
|
|
7279
|
+
return xe(e.watchKeys, (f, c) => {
|
|
7272
7280
|
if (!a.value) return;
|
|
7273
7281
|
a.value = !1;
|
|
7274
7282
|
const h = new Set(c ?? []), p = f.find((g) => !h.has(g));
|
|
@@ -7316,7 +7324,7 @@ function _d(e) {
|
|
|
7316
7324
|
}
|
|
7317
7325
|
e.snapshot.value = null, e.mode.value = "view", e.onApplyEnd?.(), e.emit.reorderApplied(c), e.emit.reorderEnd();
|
|
7318
7326
|
};
|
|
7319
|
-
return
|
|
7327
|
+
return xe(e.mode, (c, h) => {
|
|
7320
7328
|
c === "reorder" && h !== "reorder" && (!r() && !e.snapshot.value && (e.snapshot.value = e.cloneModel(e.modelValue.value)), e.movedKeys.value = /* @__PURE__ */ new Set(), e.onExternalEnter?.()), c === "view" && h === "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));
|
|
7321
7329
|
}), {
|
|
7322
7330
|
applying: n,
|
|
@@ -7381,7 +7389,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7381
7389
|
S(jn, null, {
|
|
7382
7390
|
default: D(() => [
|
|
7383
7391
|
S(mn),
|
|
7384
|
-
S(
|
|
7392
|
+
S(Ae, {
|
|
7385
7393
|
variant: "text",
|
|
7386
7394
|
disabled: e.inFlight,
|
|
7387
7395
|
onClick: a[0] || (a[0] = (l) => t.$emit("cancel"))
|
|
@@ -7391,7 +7399,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7391
7399
|
]),
|
|
7392
7400
|
_: 1
|
|
7393
7401
|
}, 8, ["disabled"]),
|
|
7394
|
-
S(
|
|
7402
|
+
S(Ae, {
|
|
7395
7403
|
color: "error",
|
|
7396
7404
|
variant: "flat",
|
|
7397
7405
|
loading: e.inFlight,
|
|
@@ -7429,7 +7437,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7429
7437
|
emits: /* @__PURE__ */ Qe(["confirm"], ["update:modelValue"]),
|
|
7430
7438
|
setup(e, { emit: n }) {
|
|
7431
7439
|
const t = e, a = n, l = it(e, "modelValue"), { t: o } = Oe(), s = N(t.currentIndex + 1);
|
|
7432
|
-
|
|
7440
|
+
xe(l, (c) => {
|
|
7433
7441
|
c && (s.value = t.currentIndex + 1);
|
|
7434
7442
|
});
|
|
7435
7443
|
const r = P(() => Math.max(t.total, 1)), i = P(
|
|
@@ -7483,7 +7491,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7483
7491
|
S(jn, null, {
|
|
7484
7492
|
default: D(() => [
|
|
7485
7493
|
S(mn),
|
|
7486
|
-
S(
|
|
7494
|
+
S(Ae, {
|
|
7487
7495
|
variant: "text",
|
|
7488
7496
|
onClick: f
|
|
7489
7497
|
}, {
|
|
@@ -7492,7 +7500,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7492
7500
|
]),
|
|
7493
7501
|
_: 1
|
|
7494
7502
|
}),
|
|
7495
|
-
S(
|
|
7503
|
+
S(Ae, {
|
|
7496
7504
|
color: "primary",
|
|
7497
7505
|
variant: "elevated",
|
|
7498
7506
|
disabled: i.value,
|
|
@@ -7527,7 +7535,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7527
7535
|
return (t, a) => (I(), ne("div", Pd, [
|
|
7528
7536
|
ye("h3", Ld, Q(e.title), 1),
|
|
7529
7537
|
ye("p", Vd, Q(e.text), 1),
|
|
7530
|
-
e.addLabel && e.canAdd ? (I(), W(
|
|
7538
|
+
e.addLabel && e.canAdd ? (I(), W(Ae, {
|
|
7531
7539
|
key: 0,
|
|
7532
7540
|
color: "primary",
|
|
7533
7541
|
variant: "flat",
|
|
@@ -7781,7 +7789,9 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7781
7789
|
return !1;
|
|
7782
7790
|
}), ee = P(() => w.value && a.showAddButton && !me.value), le = P(
|
|
7783
7791
|
() => (me.value || a.chips) && !h.value && !a.disableDrag
|
|
7784
|
-
), ve = P(
|
|
7792
|
+
), ve = P(
|
|
7793
|
+
() => a.addLabel ? r(a.addLabel) : r("common.sortable.add")
|
|
7794
|
+
), Re = P(() => a.emptyTitle ?? r("common.sortable.emptyTitle")), _t = P(() => a.emptyText ?? r("common.sortable.emptyText")), Z = P(
|
|
7785
7795
|
() => a.deleteConfirmTitle ?? r("common.sortable.deleteConfirmTitle")
|
|
7786
7796
|
), Ce = P(
|
|
7787
7797
|
() => a.deleteConfirmText ?? r("common.sortable.deleteConfirmText")
|
|
@@ -7899,7 +7909,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7899
7909
|
a.updatePosition && (o.value = p.recalculatePositions(o.value));
|
|
7900
7910
|
}
|
|
7901
7911
|
});
|
|
7902
|
-
|
|
7912
|
+
xe(le, (j) => {
|
|
7903
7913
|
y.option("disabled", !j);
|
|
7904
7914
|
});
|
|
7905
7915
|
}
|
|
@@ -7925,7 +7935,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7925
7935
|
k.value.add(j);
|
|
7926
7936
|
}
|
|
7927
7937
|
l("item-expand", y, !Y);
|
|
7928
|
-
}, Jo = (y) => a.chips || a.disableRowClick || a.disabled || a.loading || me.value && !a.allowEditInReorder ? !1 : !!(y.editing || y.expanded || !a.readonly && a.showEditButton
|
|
7938
|
+
}, Jo = (y) => a.chips || a.disableRowClick || a.disabled || a.loading || me.value && !a.allowEditInReorder ? !1 : !!(y.editing || y.expanded || !a.readonly && a.showEditButton), Nr = (y) => {
|
|
7929
7939
|
if (Jo(y)) {
|
|
7930
7940
|
if (y.editing || y.expanded) {
|
|
7931
7941
|
sa(y);
|
|
@@ -7944,7 +7954,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7944
7954
|
onDeleteConfirm: (y) => a.onDeleteConfirm ? a.onDeleteConfirm(y) : !0,
|
|
7945
7955
|
onDelete: (y) => a.onDelete?.(y),
|
|
7946
7956
|
onDeleted: (y) => {
|
|
7947
|
-
|
|
7957
|
+
H.value.delete(y.key), M.value.delete(y.key), k.value.delete(y.key), l("deleted", y);
|
|
7948
7958
|
},
|
|
7949
7959
|
disableDeleteConfirm: () => a.disableDeleteConfirm || a.chips
|
|
7950
7960
|
}), ra = async (y) => {
|
|
@@ -8024,7 +8034,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8024
8034
|
update: (Y) => p.updateItem(y, Y)
|
|
8025
8035
|
}, Sn.set(y, j)), j;
|
|
8026
8036
|
};
|
|
8027
|
-
|
|
8037
|
+
xe(
|
|
8028
8038
|
() => Bt.value,
|
|
8029
8039
|
(y) => {
|
|
8030
8040
|
if (Sn.size === 0) return;
|
|
@@ -8125,7 +8135,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8125
8135
|
"pending-count": J.value,
|
|
8126
8136
|
error: _(oe)
|
|
8127
8137
|
}, null, 8, ["class", "has-pending-changes", "pending-count", "error"]),
|
|
8128
|
-
S(
|
|
8138
|
+
S(Ae, {
|
|
8129
8139
|
variant: "text",
|
|
8130
8140
|
size: "small",
|
|
8131
8141
|
disabled: _(K),
|
|
@@ -8136,7 +8146,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8136
8146
|
]),
|
|
8137
8147
|
_: 1
|
|
8138
8148
|
}, 8, ["disabled", "onClick"]),
|
|
8139
|
-
S(
|
|
8149
|
+
S(Ae, {
|
|
8140
8150
|
color: "primary",
|
|
8141
8151
|
variant: "flat",
|
|
8142
8152
|
size: "small",
|
|
@@ -8151,7 +8161,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8151
8161
|
_: 1
|
|
8152
8162
|
}, 8, ["loading", "disabled", "onClick"])
|
|
8153
8163
|
]) : $e.value ? he(y.$slots, "reorder-toggle", ul(Ue({ key: 1 }, tl.value)), () => [
|
|
8154
|
-
Fe.value ? (I(), W(
|
|
8164
|
+
Fe.value ? (I(), W(Ae, {
|
|
8155
8165
|
key: 0,
|
|
8156
8166
|
variant: "tonal",
|
|
8157
8167
|
color: "primary",
|
|
@@ -8172,7 +8182,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8172
8182
|
}, null, 8, ["text"])
|
|
8173
8183
|
]),
|
|
8174
8184
|
_: 1
|
|
8175
|
-
}, 8, ["disabled", "onClick"])) : (I(), W(
|
|
8185
|
+
}, 8, ["disabled", "onClick"])) : (I(), W(Ae, {
|
|
8176
8186
|
key: 1,
|
|
8177
8187
|
variant: "tonal",
|
|
8178
8188
|
color: "primary",
|
|
@@ -8270,7 +8280,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8270
8280
|
])) : re("", !0),
|
|
8271
8281
|
ye("div", mf, [
|
|
8272
8282
|
he(y.$slots, "item-actions", Ue({ ref_for: !0 }, Ot(Y)), () => [
|
|
8273
|
-
e.chips && e.showDeleteButton && w.value ? (I(), W(
|
|
8283
|
+
e.chips && e.showDeleteButton && w.value ? (I(), W(Ae, {
|
|
8274
8284
|
key: 0,
|
|
8275
8285
|
icon: "",
|
|
8276
8286
|
size: "x-small",
|
|
@@ -8288,7 +8298,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8288
8298
|
]),
|
|
8289
8299
|
_: 1
|
|
8290
8300
|
}, 8, ["onClick"])) : _(me) ? (I(), ne(qe, { key: 1 }, [
|
|
8291
|
-
S(
|
|
8301
|
+
S(Ae, {
|
|
8292
8302
|
icon: "",
|
|
8293
8303
|
size: "small",
|
|
8294
8304
|
variant: "text",
|
|
@@ -8310,7 +8320,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8310
8320
|
]),
|
|
8311
8321
|
_: 1
|
|
8312
8322
|
}, 8, ["disabled", "onClick"]),
|
|
8313
|
-
S(
|
|
8323
|
+
S(Ae, {
|
|
8314
8324
|
icon: "",
|
|
8315
8325
|
size: "small",
|
|
8316
8326
|
variant: "text",
|
|
@@ -8332,7 +8342,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8332
8342
|
]),
|
|
8333
8343
|
_: 1
|
|
8334
8344
|
}, 8, ["disabled", "onClick"]),
|
|
8335
|
-
S(
|
|
8345
|
+
S(Ae, {
|
|
8336
8346
|
icon: "",
|
|
8337
8347
|
size: "small",
|
|
8338
8348
|
variant: "text",
|
|
@@ -8449,7 +8459,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8449
8459
|
_: 2
|
|
8450
8460
|
}, 1024)
|
|
8451
8461
|
], 64)) : (I(), ne(qe, { key: 2 }, [
|
|
8452
|
-
e.showEditButton && w.value ? (I(), W(
|
|
8462
|
+
e.showEditButton && w.value ? (I(), W(Ae, {
|
|
8453
8463
|
key: 0,
|
|
8454
8464
|
icon: "",
|
|
8455
8465
|
size: "small",
|
|
@@ -8472,7 +8482,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8472
8482
|
]),
|
|
8473
8483
|
_: 1
|
|
8474
8484
|
}, 8, ["onClick"])) : re("", !0),
|
|
8475
|
-
e.showDeleteButton && w.value ? (I(), W(
|
|
8485
|
+
e.showDeleteButton && w.value ? (I(), W(Ae, {
|
|
8476
8486
|
key: 1,
|
|
8477
8487
|
icon: "",
|
|
8478
8488
|
size: "small",
|
|
@@ -8494,7 +8504,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8494
8504
|
]),
|
|
8495
8505
|
_: 1
|
|
8496
8506
|
}, 8, ["onClick"])) : re("", !0),
|
|
8497
|
-
e.showAddAfterAction && w.value ? (I(), W(
|
|
8507
|
+
e.showAddAfterAction && w.value ? (I(), W(Ae, {
|
|
8498
8508
|
key: 2,
|
|
8499
8509
|
icon: "",
|
|
8500
8510
|
size: "small",
|
|
@@ -8555,7 +8565,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8555
8565
|
he(y.$slots, "item-footer", Ue({ ref_for: !0 }, Ot(Y)), () => [
|
|
8556
8566
|
Or.value && !_(me) ? (I(), ne("div", hf, [
|
|
8557
8567
|
j[2] || (j[2] = ye("div", { class: "a-le-row-footer-spacer" }, null, -1)),
|
|
8558
|
-
S(
|
|
8568
|
+
S(Ae, {
|
|
8559
8569
|
variant: "text",
|
|
8560
8570
|
disabled: Y.loading,
|
|
8561
8571
|
onClick: fe((ge) => el(Y), ["stop"])
|
|
@@ -8565,7 +8575,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8565
8575
|
]),
|
|
8566
8576
|
_: 1
|
|
8567
8577
|
}, 8, ["disabled", "onClick"]),
|
|
8568
|
-
S(
|
|
8578
|
+
S(Ae, {
|
|
8569
8579
|
color: "primary",
|
|
8570
8580
|
variant: "flat",
|
|
8571
8581
|
"prepend-icon": "mdi-check",
|
|
@@ -8579,7 +8589,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8579
8589
|
}, 8, ["disabled", "onClick"])
|
|
8580
8590
|
])) : re("", !0)
|
|
8581
8591
|
])
|
|
8582
|
-
], 64)) : Y.expanded && (e.allowEditInReorder || !_(me))
|
|
8592
|
+
], 64)) : y.$slots["item-readonly"] && (e.readonly || Y.expanded) && (e.allowEditInReorder || !_(me)) ? (I(), ne("div", gf, [
|
|
8583
8593
|
ye("div", bf, [
|
|
8584
8594
|
he(y.$slots, "item-readonly", Ue({ ref_for: !0 }, Ot(Y)))
|
|
8585
8595
|
])
|
|
@@ -8703,7 +8713,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8703
8713
|
}), m = N(null);
|
|
8704
8714
|
if (h.value.enabled && Ie(a.collab)) {
|
|
8705
8715
|
const { releaseCollabFieldLock: Z, changeCollabFieldData: Ce, acquireCollabFieldLock: $e, lockedByUser: Fe } = Va(a.collab.room, a.collab.field);
|
|
8706
|
-
p.value = Z, k.value = Ce, g.value = $e,
|
|
8716
|
+
p.value = Z, k.value = Ce, g.value = $e, xe(
|
|
8707
8717
|
Fe,
|
|
8708
8718
|
(Et) => {
|
|
8709
8719
|
m.value = Et;
|
|
@@ -8822,7 +8832,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8822
8832
|
}
|
|
8823
8833
|
},
|
|
8824
8834
|
{ debounce: Sf }
|
|
8825
|
-
),
|
|
8835
|
+
), xe(d, (Z, Ce) => {
|
|
8826
8836
|
Z !== Ce && l("searchChange", Z);
|
|
8827
8837
|
});
|
|
8828
8838
|
const Re = (Z) => {
|
|
@@ -8842,7 +8852,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8842
8852
|
if (R.value.length === 0 && d.value.length < a.minSearchChars)
|
|
8843
8853
|
return A(a.minSearchText) ? x("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
|
|
8844
8854
|
});
|
|
8845
|
-
return
|
|
8855
|
+
return xe(
|
|
8846
8856
|
f,
|
|
8847
8857
|
async (Z, Ce) => {
|
|
8848
8858
|
if (Z !== Ce) {
|
|
@@ -9147,4 +9157,4 @@ export {
|
|
|
9147
9157
|
Wl as y,
|
|
9148
9158
|
Gl as z
|
|
9149
9159
|
};
|
|
9150
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
9160
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs.map
|