@anzusystems/common-admin 1.47.0-beta.dev-1777971796 → 1.47.0-beta.dev-1778743735
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-CfAKR0IJ.mjs} +97 -90
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-1FJ-5Ucu.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CfAKR0IJ.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 +18 -12
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-Qc8W7Rge.mjs → webfontloader-CUU4k6zM.mjs} +2 -2
- package/dist/{webfontloader-Qc8W7Rge.mjs.map → webfontloader-CUU4k6zM.mjs.map} +1 -1
- package/package.json +7 -7
- 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,12 @@ 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(), n.source && s.value.size === 0) {
|
|
7212
|
+
const f = xe(n.source, () => {
|
|
7213
|
+
r(), s.value.size > 0 && f();
|
|
7214
|
+
});
|
|
7215
|
+
}
|
|
7216
|
+
return {
|
|
7212
7217
|
dirtyBaseline: s,
|
|
7213
7218
|
captureDirtyBaseline: r,
|
|
7214
7219
|
rebaselineKey: i,
|
|
@@ -7268,7 +7273,7 @@ function Fd(e) {
|
|
|
7268
7273
|
}, u = () => {
|
|
7269
7274
|
a.value = !0;
|
|
7270
7275
|
};
|
|
7271
|
-
return
|
|
7276
|
+
return xe(e.watchKeys, (f, c) => {
|
|
7272
7277
|
if (!a.value) return;
|
|
7273
7278
|
a.value = !1;
|
|
7274
7279
|
const h = new Set(c ?? []), p = f.find((g) => !h.has(g));
|
|
@@ -7316,7 +7321,7 @@ function _d(e) {
|
|
|
7316
7321
|
}
|
|
7317
7322
|
e.snapshot.value = null, e.mode.value = "view", e.onApplyEnd?.(), e.emit.reorderApplied(c), e.emit.reorderEnd();
|
|
7318
7323
|
};
|
|
7319
|
-
return
|
|
7324
|
+
return xe(e.mode, (c, h) => {
|
|
7320
7325
|
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
7326
|
}), {
|
|
7322
7327
|
applying: n,
|
|
@@ -7381,7 +7386,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7381
7386
|
S(jn, null, {
|
|
7382
7387
|
default: D(() => [
|
|
7383
7388
|
S(mn),
|
|
7384
|
-
S(
|
|
7389
|
+
S(Ae, {
|
|
7385
7390
|
variant: "text",
|
|
7386
7391
|
disabled: e.inFlight,
|
|
7387
7392
|
onClick: a[0] || (a[0] = (l) => t.$emit("cancel"))
|
|
@@ -7391,7 +7396,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7391
7396
|
]),
|
|
7392
7397
|
_: 1
|
|
7393
7398
|
}, 8, ["disabled"]),
|
|
7394
|
-
S(
|
|
7399
|
+
S(Ae, {
|
|
7395
7400
|
color: "error",
|
|
7396
7401
|
variant: "flat",
|
|
7397
7402
|
loading: e.inFlight,
|
|
@@ -7429,7 +7434,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7429
7434
|
emits: /* @__PURE__ */ Qe(["confirm"], ["update:modelValue"]),
|
|
7430
7435
|
setup(e, { emit: n }) {
|
|
7431
7436
|
const t = e, a = n, l = it(e, "modelValue"), { t: o } = Oe(), s = N(t.currentIndex + 1);
|
|
7432
|
-
|
|
7437
|
+
xe(l, (c) => {
|
|
7433
7438
|
c && (s.value = t.currentIndex + 1);
|
|
7434
7439
|
});
|
|
7435
7440
|
const r = P(() => Math.max(t.total, 1)), i = P(
|
|
@@ -7483,7 +7488,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7483
7488
|
S(jn, null, {
|
|
7484
7489
|
default: D(() => [
|
|
7485
7490
|
S(mn),
|
|
7486
|
-
S(
|
|
7491
|
+
S(Ae, {
|
|
7487
7492
|
variant: "text",
|
|
7488
7493
|
onClick: f
|
|
7489
7494
|
}, {
|
|
@@ -7492,7 +7497,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7492
7497
|
]),
|
|
7493
7498
|
_: 1
|
|
7494
7499
|
}),
|
|
7495
|
-
S(
|
|
7500
|
+
S(Ae, {
|
|
7496
7501
|
color: "primary",
|
|
7497
7502
|
variant: "elevated",
|
|
7498
7503
|
disabled: i.value,
|
|
@@ -7527,7 +7532,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7527
7532
|
return (t, a) => (I(), ne("div", Pd, [
|
|
7528
7533
|
ye("h3", Ld, Q(e.title), 1),
|
|
7529
7534
|
ye("p", Vd, Q(e.text), 1),
|
|
7530
|
-
e.addLabel && e.canAdd ? (I(), W(
|
|
7535
|
+
e.addLabel && e.canAdd ? (I(), W(Ae, {
|
|
7531
7536
|
key: 0,
|
|
7532
7537
|
color: "primary",
|
|
7533
7538
|
variant: "flat",
|
|
@@ -7689,7 +7694,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7689
7694
|
key: y[a.keyField],
|
|
7690
7695
|
data: y
|
|
7691
7696
|
})),
|
|
7692
|
-
{ excludeFields: [a.positionField] }
|
|
7697
|
+
{ excludeFields: [a.positionField], source: o }
|
|
7693
7698
|
), v = N(/* @__PURE__ */ new Set()), C = () => {
|
|
7694
7699
|
g(), v.value = /* @__PURE__ */ new Set();
|
|
7695
7700
|
}, $ = ka(null), x = At("rowsContainer"), b = P(() => !a.chips && !!i.item), O = P(() => !a.chips && !!i["item-readonly"]), {
|
|
@@ -7781,7 +7786,9 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7781
7786
|
return !1;
|
|
7782
7787
|
}), ee = P(() => w.value && a.showAddButton && !me.value), le = P(
|
|
7783
7788
|
() => (me.value || a.chips) && !h.value && !a.disableDrag
|
|
7784
|
-
), ve = P(
|
|
7789
|
+
), ve = P(
|
|
7790
|
+
() => a.addLabel ? r(a.addLabel) : r("common.sortable.add")
|
|
7791
|
+
), Re = P(() => a.emptyTitle ?? r("common.sortable.emptyTitle")), _t = P(() => a.emptyText ?? r("common.sortable.emptyText")), Z = P(
|
|
7785
7792
|
() => a.deleteConfirmTitle ?? r("common.sortable.deleteConfirmTitle")
|
|
7786
7793
|
), Ce = P(
|
|
7787
7794
|
() => a.deleteConfirmText ?? r("common.sortable.deleteConfirmText")
|
|
@@ -7899,7 +7906,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7899
7906
|
a.updatePosition && (o.value = p.recalculatePositions(o.value));
|
|
7900
7907
|
}
|
|
7901
7908
|
});
|
|
7902
|
-
|
|
7909
|
+
xe(le, (j) => {
|
|
7903
7910
|
y.option("disabled", !j);
|
|
7904
7911
|
});
|
|
7905
7912
|
}
|
|
@@ -7925,7 +7932,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7925
7932
|
k.value.add(j);
|
|
7926
7933
|
}
|
|
7927
7934
|
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
|
|
7935
|
+
}, 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
7936
|
if (Jo(y)) {
|
|
7930
7937
|
if (y.editing || y.expanded) {
|
|
7931
7938
|
sa(y);
|
|
@@ -7944,7 +7951,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
7944
7951
|
onDeleteConfirm: (y) => a.onDeleteConfirm ? a.onDeleteConfirm(y) : !0,
|
|
7945
7952
|
onDelete: (y) => a.onDelete?.(y),
|
|
7946
7953
|
onDeleted: (y) => {
|
|
7947
|
-
|
|
7954
|
+
H.value.delete(y.key), M.value.delete(y.key), k.value.delete(y.key), l("deleted", y);
|
|
7948
7955
|
},
|
|
7949
7956
|
disableDeleteConfirm: () => a.disableDeleteConfirm || a.chips
|
|
7950
7957
|
}), ra = async (y) => {
|
|
@@ -8024,7 +8031,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8024
8031
|
update: (Y) => p.updateItem(y, Y)
|
|
8025
8032
|
}, Sn.set(y, j)), j;
|
|
8026
8033
|
};
|
|
8027
|
-
|
|
8034
|
+
xe(
|
|
8028
8035
|
() => Bt.value,
|
|
8029
8036
|
(y) => {
|
|
8030
8037
|
if (Sn.size === 0) return;
|
|
@@ -8125,7 +8132,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8125
8132
|
"pending-count": J.value,
|
|
8126
8133
|
error: _(oe)
|
|
8127
8134
|
}, null, 8, ["class", "has-pending-changes", "pending-count", "error"]),
|
|
8128
|
-
S(
|
|
8135
|
+
S(Ae, {
|
|
8129
8136
|
variant: "text",
|
|
8130
8137
|
size: "small",
|
|
8131
8138
|
disabled: _(K),
|
|
@@ -8136,7 +8143,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8136
8143
|
]),
|
|
8137
8144
|
_: 1
|
|
8138
8145
|
}, 8, ["disabled", "onClick"]),
|
|
8139
|
-
S(
|
|
8146
|
+
S(Ae, {
|
|
8140
8147
|
color: "primary",
|
|
8141
8148
|
variant: "flat",
|
|
8142
8149
|
size: "small",
|
|
@@ -8151,7 +8158,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8151
8158
|
_: 1
|
|
8152
8159
|
}, 8, ["loading", "disabled", "onClick"])
|
|
8153
8160
|
]) : $e.value ? he(y.$slots, "reorder-toggle", ul(Ue({ key: 1 }, tl.value)), () => [
|
|
8154
|
-
Fe.value ? (I(), W(
|
|
8161
|
+
Fe.value ? (I(), W(Ae, {
|
|
8155
8162
|
key: 0,
|
|
8156
8163
|
variant: "tonal",
|
|
8157
8164
|
color: "primary",
|
|
@@ -8172,7 +8179,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8172
8179
|
}, null, 8, ["text"])
|
|
8173
8180
|
]),
|
|
8174
8181
|
_: 1
|
|
8175
|
-
}, 8, ["disabled", "onClick"])) : (I(), W(
|
|
8182
|
+
}, 8, ["disabled", "onClick"])) : (I(), W(Ae, {
|
|
8176
8183
|
key: 1,
|
|
8177
8184
|
variant: "tonal",
|
|
8178
8185
|
color: "primary",
|
|
@@ -8270,7 +8277,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8270
8277
|
])) : re("", !0),
|
|
8271
8278
|
ye("div", mf, [
|
|
8272
8279
|
he(y.$slots, "item-actions", Ue({ ref_for: !0 }, Ot(Y)), () => [
|
|
8273
|
-
e.chips && e.showDeleteButton && w.value ? (I(), W(
|
|
8280
|
+
e.chips && e.showDeleteButton && w.value ? (I(), W(Ae, {
|
|
8274
8281
|
key: 0,
|
|
8275
8282
|
icon: "",
|
|
8276
8283
|
size: "x-small",
|
|
@@ -8288,7 +8295,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8288
8295
|
]),
|
|
8289
8296
|
_: 1
|
|
8290
8297
|
}, 8, ["onClick"])) : _(me) ? (I(), ne(qe, { key: 1 }, [
|
|
8291
|
-
S(
|
|
8298
|
+
S(Ae, {
|
|
8292
8299
|
icon: "",
|
|
8293
8300
|
size: "small",
|
|
8294
8301
|
variant: "text",
|
|
@@ -8310,7 +8317,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8310
8317
|
]),
|
|
8311
8318
|
_: 1
|
|
8312
8319
|
}, 8, ["disabled", "onClick"]),
|
|
8313
|
-
S(
|
|
8320
|
+
S(Ae, {
|
|
8314
8321
|
icon: "",
|
|
8315
8322
|
size: "small",
|
|
8316
8323
|
variant: "text",
|
|
@@ -8332,7 +8339,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8332
8339
|
]),
|
|
8333
8340
|
_: 1
|
|
8334
8341
|
}, 8, ["disabled", "onClick"]),
|
|
8335
|
-
S(
|
|
8342
|
+
S(Ae, {
|
|
8336
8343
|
icon: "",
|
|
8337
8344
|
size: "small",
|
|
8338
8345
|
variant: "text",
|
|
@@ -8449,7 +8456,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8449
8456
|
_: 2
|
|
8450
8457
|
}, 1024)
|
|
8451
8458
|
], 64)) : (I(), ne(qe, { key: 2 }, [
|
|
8452
|
-
e.showEditButton && w.value ? (I(), W(
|
|
8459
|
+
e.showEditButton && w.value ? (I(), W(Ae, {
|
|
8453
8460
|
key: 0,
|
|
8454
8461
|
icon: "",
|
|
8455
8462
|
size: "small",
|
|
@@ -8472,7 +8479,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8472
8479
|
]),
|
|
8473
8480
|
_: 1
|
|
8474
8481
|
}, 8, ["onClick"])) : re("", !0),
|
|
8475
|
-
e.showDeleteButton && w.value ? (I(), W(
|
|
8482
|
+
e.showDeleteButton && w.value ? (I(), W(Ae, {
|
|
8476
8483
|
key: 1,
|
|
8477
8484
|
icon: "",
|
|
8478
8485
|
size: "small",
|
|
@@ -8494,7 +8501,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8494
8501
|
]),
|
|
8495
8502
|
_: 1
|
|
8496
8503
|
}, 8, ["onClick"])) : re("", !0),
|
|
8497
|
-
e.showAddAfterAction && w.value ? (I(), W(
|
|
8504
|
+
e.showAddAfterAction && w.value ? (I(), W(Ae, {
|
|
8498
8505
|
key: 2,
|
|
8499
8506
|
icon: "",
|
|
8500
8507
|
size: "small",
|
|
@@ -8555,7 +8562,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8555
8562
|
he(y.$slots, "item-footer", Ue({ ref_for: !0 }, Ot(Y)), () => [
|
|
8556
8563
|
Or.value && !_(me) ? (I(), ne("div", hf, [
|
|
8557
8564
|
j[2] || (j[2] = ye("div", { class: "a-le-row-footer-spacer" }, null, -1)),
|
|
8558
|
-
S(
|
|
8565
|
+
S(Ae, {
|
|
8559
8566
|
variant: "text",
|
|
8560
8567
|
disabled: Y.loading,
|
|
8561
8568
|
onClick: fe((ge) => el(Y), ["stop"])
|
|
@@ -8565,7 +8572,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8565
8572
|
]),
|
|
8566
8573
|
_: 1
|
|
8567
8574
|
}, 8, ["disabled", "onClick"]),
|
|
8568
|
-
S(
|
|
8575
|
+
S(Ae, {
|
|
8569
8576
|
color: "primary",
|
|
8570
8577
|
variant: "flat",
|
|
8571
8578
|
"prepend-icon": "mdi-check",
|
|
@@ -8579,7 +8586,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8579
8586
|
}, 8, ["disabled", "onClick"])
|
|
8580
8587
|
])) : re("", !0)
|
|
8581
8588
|
])
|
|
8582
|
-
], 64)) : Y.expanded && (e.allowEditInReorder || !_(me))
|
|
8589
|
+
], 64)) : y.$slots["item-readonly"] && (e.readonly || Y.expanded) && (e.allowEditInReorder || !_(me)) ? (I(), ne("div", gf, [
|
|
8583
8590
|
ye("div", bf, [
|
|
8584
8591
|
he(y.$slots, "item-readonly", Ue({ ref_for: !0 }, Ot(Y)))
|
|
8585
8592
|
])
|
|
@@ -8703,7 +8710,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8703
8710
|
}), m = N(null);
|
|
8704
8711
|
if (h.value.enabled && Ie(a.collab)) {
|
|
8705
8712
|
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,
|
|
8713
|
+
p.value = Z, k.value = Ce, g.value = $e, xe(
|
|
8707
8714
|
Fe,
|
|
8708
8715
|
(Et) => {
|
|
8709
8716
|
m.value = Et;
|
|
@@ -8822,7 +8829,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8822
8829
|
}
|
|
8823
8830
|
},
|
|
8824
8831
|
{ debounce: Sf }
|
|
8825
|
-
),
|
|
8832
|
+
), xe(d, (Z, Ce) => {
|
|
8826
8833
|
Z !== Ce && l("searchChange", Z);
|
|
8827
8834
|
});
|
|
8828
8835
|
const Re = (Z) => {
|
|
@@ -8842,7 +8849,7 @@ const Bd = /* @__PURE__ */ Ee({
|
|
|
8842
8849
|
if (R.value.length === 0 && d.value.length < a.minSearchChars)
|
|
8843
8850
|
return A(a.minSearchText) ? x("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
|
|
8844
8851
|
});
|
|
8845
|
-
return
|
|
8852
|
+
return xe(
|
|
8846
8853
|
f,
|
|
8847
8854
|
async (Z, Ce) => {
|
|
8848
8855
|
if (Z !== Ce) {
|
|
@@ -9147,4 +9154,4 @@ export {
|
|
|
9147
9154
|
Wl as y,
|
|
9148
9155
|
Gl as z
|
|
9149
9156
|
};
|
|
9150
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
9157
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CfAKR0IJ.mjs.map
|