@anzusystems/common-admin 1.47.0-beta.dev-1784059878 → 1.47.0-beta.dev-1784059879
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-CrLaAIyG.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs} +244 -241
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CrLaAIyG.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs.map} +1 -1
- package/dist/common-admin.js +8276 -8322
- package/dist/common-admin.js.map +1 -1
- package/dist/{index-CrkgIkZh.mjs → index-2jGSo7Ju.mjs} +5008 -5085
- package/dist/index-2jGSo7Ju.mjs.map +1 -0
- package/dist/labs.js +2 -2
- package/dist/{webfontloader-BaZHb4M7.mjs → webfontloader-CZqOgyx0.mjs} +2 -2
- package/dist/{webfontloader-BaZHb4M7.mjs.map → webfontloader-CZqOgyx0.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/index-CrkgIkZh.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Re, openBlock as _, createBlock as te, withCtx as M, createVNode as x, createElementBlock as de, normalizeClass as rt, toDisplayString as ie, createCommentVNode as ve, renderSlot as ke, createElementVNode as Ie, isProxy as ps, toRaw as aa, isRef as Za, unref as L, computed as R, Fragment as We, normalizeStyle as gs, createTextVNode as ge, shallowRef as oa, watch as _e, ref as U, reactive as
|
|
1
|
+
import { defineComponent as Re, openBlock as _, createBlock as te, withCtx as M, createVNode as x, createElementBlock as de, normalizeClass as rt, toDisplayString as ie, createCommentVNode as ve, renderSlot as ke, createElementVNode as Ie, isProxy as ps, toRaw as aa, isRef as Za, unref as L, computed as R, Fragment as We, normalizeStyle as gs, createTextVNode as ge, shallowRef as oa, watch as _e, ref as U, reactive as Kt, inject as me, createSlots as nn, withDirectives as la, onMounted as Ko, withModifiers as De, onUnmounted as ys, TransitionGroup as bs, mergeProps as Xe, isVNode as ws, useModel as ct, useTemplateRef as zt, nextTick as Ze, withKeys as Ya, vModelText as kl, mergeModels as tt, getCurrentInstance as $t, resolveComponent as Dn, resolveDynamicComponent as or, renderList as en, toValue as En, toRef as Cs, onBeforeUnmount as ua, provide as fn, vShow as Ss, effectScope as bo, getCurrentScope as ks, onScopeDispose as Ds, useSlots as Es, shallowReactive as xs, normalizeProps as Dl, guardReactiveProps as El } from "vue";
|
|
2
2
|
import { useEventBus as bt, tryOnBeforeUnmount as Ts, watchDebounced as Ja, useResizeObserver as As, watchThrottled as Ms, defaultDocument as Is, unrefElement as xl, tryOnMounted as $s, tryOnScopeDispose as Fs, useElementSize as Bs, useMediaQuery as lr } from "@vueuse/core";
|
|
3
3
|
import { useI18n as Ye, createI18n as Os } from "vue-i18n";
|
|
4
4
|
import { VAutocomplete as ca } from "vuetify/components/VAutocomplete";
|
|
@@ -6,7 +6,7 @@ import { VChip as mn } from "vuetify/components/VChip";
|
|
|
6
6
|
import { VListItem as mt, VList as za, VListItemTitle as rn } from "vuetify/components/VList";
|
|
7
7
|
import { VCard as In, VCardText as Qa, VCardActions as da, VCardTitle as rr } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as fa } from "vuetify/components/VDialog";
|
|
9
|
-
import { VRow as cn, VCol as
|
|
9
|
+
import { VRow as cn, VCol as Yt, VSpacer as $n } from "vuetify/components/VGrid";
|
|
10
10
|
import { VSelect as sr } from "vuetify/components/VSelect";
|
|
11
11
|
import { VTextarea as _s } from "vuetify/components/VTextarea";
|
|
12
12
|
import { VForm as ir } from "vuetify/components/VForm";
|
|
@@ -39,7 +39,7 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
39
39
|
setup(e) {
|
|
40
40
|
return (n, t) => (_(), te(cn, { "data-cy": e.dataCy }, {
|
|
41
41
|
default: M(() => [
|
|
42
|
-
x(
|
|
42
|
+
x(Yt, null, {
|
|
43
43
|
default: M(() => [
|
|
44
44
|
e.title.length ? (_(), de("h4", {
|
|
45
45
|
key: 0,
|
|
@@ -337,9 +337,9 @@ function Fn() {
|
|
|
337
337
|
collabOptions: Lo
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
const $l = U(!0), wi = U(), Ci =
|
|
340
|
+
const $l = U(!0), wi = U(), Ci = Kt(/* @__PURE__ */ new Map());
|
|
341
341
|
let Si = 0;
|
|
342
|
-
const Fl = /* @__PURE__ */ new Map(), ki =
|
|
342
|
+
const Fl = /* @__PURE__ */ new Map(), ki = Kt(/* @__PURE__ */ new Map()), Co = Kt(
|
|
343
343
|
/* @__PURE__ */ new Map()
|
|
344
344
|
);
|
|
345
345
|
function Di() {
|
|
@@ -632,7 +632,7 @@ const xi = {
|
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
634
|
function Ai(e = "id", n = !0) {
|
|
635
|
-
return
|
|
635
|
+
return Kt({
|
|
636
636
|
sortBy: e,
|
|
637
637
|
descending: n,
|
|
638
638
|
page: 1,
|
|
@@ -648,7 +648,7 @@ function sv(e) {
|
|
|
648
648
|
showPagination: R(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
|
-
const Mi = ["createdAt", "modifiedAt"], iv = "_score", uv = "id", cv = "score_date", dv = "score_best",
|
|
651
|
+
const Mi = ["createdAt", "modifiedAt"], iv = "_score", uv = "id", cv = "score_date", dv = "score_best", jt = {
|
|
652
652
|
Asc: "asc",
|
|
653
653
|
Desc: "desc"
|
|
654
654
|
}, Ii = {
|
|
@@ -675,7 +675,7 @@ function fv(e, n, t = void 0, a = void 0, l = !1, o = void 0, r = void 0, s = vo
|
|
|
675
675
|
d.sortBy = null;
|
|
676
676
|
return;
|
|
677
677
|
}
|
|
678
|
-
d.sortBy = m.key, d.descending = m.order ===
|
|
678
|
+
d.sortBy = m.key, d.descending = m.order === jt.Desc;
|
|
679
679
|
}, p = () => {
|
|
680
680
|
if (!i || !localStorage) return;
|
|
681
681
|
const m = localStorage.getItem(i);
|
|
@@ -2047,15 +2047,15 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2047
2047
|
), r = U(
|
|
2048
2048
|
// eslint-disable-next-line vue/no-ref-object-reactivity-loss
|
|
2049
2049
|
l.value ? String(l.value.minutes).padStart(2, "0") : "00"
|
|
2050
|
-
), s =
|
|
2050
|
+
), s = zt("hoursRefInput"), i = zt("minutesRefInput"), u = R({
|
|
2051
2051
|
get: () => o.value,
|
|
2052
2052
|
set: (A) => {
|
|
2053
2053
|
let k = String(A).replace(/[^0-9]/g, "");
|
|
2054
2054
|
if (k && parseInt(k) > 23) {
|
|
2055
|
-
o.value = "23",
|
|
2055
|
+
o.value = "23", Ze(() => i.value?.focus());
|
|
2056
2056
|
return;
|
|
2057
2057
|
}
|
|
2058
|
-
k.length > 2 && (k = k.slice(0, 2)), o.value = k, k.length === 2 &&
|
|
2058
|
+
k.length > 2 && (k = k.slice(0, 2)), o.value = k, k.length === 2 && Ze(() => i.value?.focus());
|
|
2059
2059
|
}
|
|
2060
2060
|
}), c = R({
|
|
2061
2061
|
get: () => r.value,
|
|
@@ -2069,7 +2069,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2069
2069
|
}
|
|
2070
2070
|
}), d = async (A) => {
|
|
2071
2071
|
const k = A.target;
|
|
2072
|
-
await
|
|
2072
|
+
await Ze(), k?.select();
|
|
2073
2073
|
}, C = () => {
|
|
2074
2074
|
const A = parseInt(o.value || "0");
|
|
2075
2075
|
o.value = A >= 0 && A <= 23 ? String(A).padStart(2, "0") : "00";
|
|
@@ -2240,7 +2240,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2240
2240
|
setup(e, { emit: n }) {
|
|
2241
2241
|
const t = e, a = n;
|
|
2242
2242
|
Me.extend(Sr), Me.extend(kr);
|
|
2243
|
-
const l = U(!1), o = U(0), r = U(0), s =
|
|
2243
|
+
const l = U(!1), o = U(0), r = U(0), s = zt("timePickerInstance"), i = zt("inputInstance"), u = zt("confirmRefButton"), c = U(""), d = U(null), C = U(null), y = U(null), { t: E } = Ye(), p = R(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: f } = nl(), m = R(() => ({
|
|
2244
2244
|
textFieldValue: {
|
|
2245
2245
|
required: f(t.required)
|
|
2246
2246
|
}
|
|
@@ -2279,7 +2279,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2279
2279
|
{ immediate: !0 }
|
|
2280
2280
|
), _e(l, (w) => {
|
|
2281
2281
|
if (w) {
|
|
2282
|
-
I(), se(y.value) && (se(t.defaultValue) || F(t.defaultValue)) && (t.lastMinuteMoment ? y.value = Me().second(59).millisecond(999) : y.value = Me().second(0).millisecond(0)),
|
|
2282
|
+
I(), se(y.value) && (se(t.defaultValue) || F(t.defaultValue)) && (t.lastMinuteMoment ? y.value = Me().second(59).millisecond(999) : y.value = Me().second(0).millisecond(0)), Ze(() => {
|
|
2283
2283
|
o.value++;
|
|
2284
2284
|
}), a("onOpen");
|
|
2285
2285
|
return;
|
|
@@ -2321,7 +2321,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2321
2321
|
}, h = () => {
|
|
2322
2322
|
s.value?.focusHour();
|
|
2323
2323
|
}, v = () => {
|
|
2324
|
-
t.lastMinuteMoment ? y.value = Me().second(59).millisecond(999) : y.value = Me().second(0).millisecond(0),
|
|
2324
|
+
t.lastMinuteMoment ? y.value = Me().second(59).millisecond(999) : y.value = Me().second(0).millisecond(0), Ze(() => {
|
|
2325
2325
|
o.value++, r.value++;
|
|
2326
2326
|
});
|
|
2327
2327
|
};
|
|
@@ -2610,7 +2610,7 @@ const To = "_sort", oc = {
|
|
|
2610
2610
|
xl: void 0
|
|
2611
2611
|
};
|
|
2612
2612
|
function lc(e) {
|
|
2613
|
-
return
|
|
2613
|
+
return Kt(
|
|
2614
2614
|
e.reduce((n, t) => ({
|
|
2615
2615
|
...n,
|
|
2616
2616
|
[t.name]: Ee(t.default)
|
|
@@ -2625,18 +2625,18 @@ function rc(e, n, t) {
|
|
|
2625
2625
|
...r,
|
|
2626
2626
|
[i]: {
|
|
2627
2627
|
name: i,
|
|
2628
|
-
variant:
|
|
2629
|
-
type:
|
|
2628
|
+
variant: Ut(s.variant, "eq"),
|
|
2629
|
+
type: Ut(s.type, "custom"),
|
|
2630
2630
|
titleT: s.titleT ?? (t?.system && t?.subject && s.name ? `${t.system}.${t.subject}.filter.${s.name}` : void 0),
|
|
2631
|
-
apiName:
|
|
2632
|
-
clearable:
|
|
2633
|
-
mandatory:
|
|
2631
|
+
apiName: Ut(s.apiName, s.name),
|
|
2632
|
+
clearable: Ut(s.clearable, !0),
|
|
2633
|
+
mandatory: Ut(s.mandatory, !1),
|
|
2634
2634
|
multiple: $e(u),
|
|
2635
|
-
advanced:
|
|
2636
|
-
related:
|
|
2637
|
-
exclude:
|
|
2635
|
+
advanced: Ut(s.advanced, !1),
|
|
2636
|
+
related: Ut(s.related, void 0),
|
|
2637
|
+
exclude: Ut(s.exclude, !1),
|
|
2638
2638
|
default: u,
|
|
2639
|
-
render: { ...oc, ...
|
|
2639
|
+
render: { ...oc, ...Ut(s.render, {}) }
|
|
2640
2640
|
}
|
|
2641
2641
|
};
|
|
2642
2642
|
},
|
|
@@ -2649,7 +2649,7 @@ function rc(e, n, t) {
|
|
|
2649
2649
|
...t
|
|
2650
2650
|
};
|
|
2651
2651
|
return l.elastic && (l.simpleFilters = !0), {
|
|
2652
|
-
filterConfig:
|
|
2652
|
+
filterConfig: Kt({
|
|
2653
2653
|
general: l,
|
|
2654
2654
|
touched: !1,
|
|
2655
2655
|
fields: a
|
|
@@ -2657,7 +2657,7 @@ function rc(e, n, t) {
|
|
|
2657
2657
|
filterData: n
|
|
2658
2658
|
};
|
|
2659
2659
|
}
|
|
2660
|
-
function
|
|
2660
|
+
function Ut(e, n) {
|
|
2661
2661
|
return F(e) ? n : e;
|
|
2662
2662
|
}
|
|
2663
2663
|
function Bt() {
|
|
@@ -2738,7 +2738,7 @@ function Tr(e, n, t = {}) {
|
|
|
2738
2738
|
const A = g.get(To);
|
|
2739
2739
|
if (A) {
|
|
2740
2740
|
const [k, $] = A.split(",");
|
|
2741
|
-
k && ($ ===
|
|
2741
|
+
k && ($ === jt.Asc || $ === jt.Desc) && (P = { key: k, order: $ }), g.delete(To);
|
|
2742
2742
|
}
|
|
2743
2743
|
for (const [k, $] of g.entries()) {
|
|
2744
2744
|
const H = n.fields[k];
|
|
@@ -2886,7 +2886,7 @@ function cc() {
|
|
|
2886
2886
|
}, t = (d, C) => {
|
|
2887
2887
|
i("offset", Math.max(0, (d - 1) * C));
|
|
2888
2888
|
}, a = (d, C) => {
|
|
2889
|
-
!se(d) && d.length > 0 && i("order[" + d + "]", C ?
|
|
2889
|
+
!se(d) && d.length > 0 && i("order[" + d + "]", C ? jt.Desc : jt.Asc);
|
|
2890
2890
|
}, l = (d) => yt(d) ? d ? "1" : "0" : d, o = (d, C, y) => {
|
|
2891
2891
|
Ge(y) && y.length === 0 || e.value.push("filter_" + d + "[" + C + "]=" + l(y));
|
|
2892
2892
|
}, r = (d, C, y, E, p, f) => {
|
|
@@ -2966,7 +2966,7 @@ function cc() {
|
|
|
2966
2966
|
}
|
|
2967
2967
|
const dc = (e) => va(e) && Object.hasOwn(e, "totalCount"), fc = (e) => va(e) && Object.hasOwn(e, "hasNextPage"), mc = (e, n, t) => {
|
|
2968
2968
|
const { querySetLimit: a, querySetOffset: l, querySetOrder: o, queryBuild: r, querySetFilters: s } = cc();
|
|
2969
|
-
return a(e.value.rowsPerPage), l(e.value.page, e.value.rowsPerPage), e.value.sortBy && o(e.value.sortBy.key, e.value.sortBy.order ===
|
|
2969
|
+
return a(e.value.rowsPerPage), l(e.value.page, e.value.rowsPerPage), e.value.sortBy && o(e.value.sortBy.key, e.value.sortBy.order === jt.Desc), s(n, t), r();
|
|
2970
2970
|
}, vc = (e) => {
|
|
2971
2971
|
const {
|
|
2972
2972
|
client: n,
|
|
@@ -3025,7 +3025,7 @@ const dc = (e) => va(e) && Object.hasOwn(e, "totalCount"), fc = (e) => va(e) &&
|
|
|
3025
3025
|
}, hc = () => ({
|
|
3026
3026
|
rowsPerPage: 25
|
|
3027
3027
|
});
|
|
3028
|
-
function An(e, n =
|
|
3028
|
+
function An(e, n = jt.Desc, t = {}, a) {
|
|
3029
3029
|
const l = { ...hc(), ...t }, o = a ?? U({
|
|
3030
3030
|
sortBy: se(e) ? null : { key: e, order: n },
|
|
3031
3031
|
page: 1,
|
|
@@ -3706,7 +3706,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3706
3706
|
return s[t.nameFrom];
|
|
3707
3707
|
},
|
|
3708
3708
|
set(V) {
|
|
3709
|
-
s[t.nameFrom] = V, I(V), r.touched = !0,
|
|
3709
|
+
s[t.nameFrom] = V, I(V), r.touched = !0, Ze(() => {
|
|
3710
3710
|
a("change");
|
|
3711
3711
|
});
|
|
3712
3712
|
}
|
|
@@ -4061,7 +4061,7 @@ const ja = {
|
|
|
4061
4061
|
if (g)
|
|
4062
4062
|
return g.lastUsed = d, g.items;
|
|
4063
4063
|
}
|
|
4064
|
-
const { pagination: C } = An("position",
|
|
4064
|
+
const { pagination: C } = An("position", jt.Asc, {
|
|
4065
4065
|
rowsPerPage: Vo
|
|
4066
4066
|
}), { start: y, end: E } = Tn(
|
|
4067
4067
|
s.systemResource,
|
|
@@ -4079,7 +4079,7 @@ const ja = {
|
|
|
4079
4079
|
}
|
|
4080
4080
|
async function o(s, i) {
|
|
4081
4081
|
n.value = !1;
|
|
4082
|
-
const { pagination: u } = An("position",
|
|
4082
|
+
const { pagination: u } = An("position", jt.Asc, {
|
|
4083
4083
|
rowsPerPage: Vo + 1
|
|
4084
4084
|
}), { start: c, end: d } = Tn(
|
|
4085
4085
|
s.systemResource,
|
|
@@ -4218,7 +4218,7 @@ const Mc = { key: 0 }, Ic = 32, Br = /* @__PURE__ */ Re({
|
|
|
4218
4218
|
const t = e, a = n, l = ct(e, "datatableHiddenColumns"), o = me(ht), r = me(Ct), s = me(Ar), i = me(Dt);
|
|
4219
4219
|
if (F(s) || F(o) || F(r) || F(i))
|
|
4220
4220
|
throw new Error("Incorrect provide/inject config.");
|
|
4221
|
-
const u = U(!1), c =
|
|
4221
|
+
const u = U(!1), c = zt("toolbar"), d = U(300), C = U(1e3), y = $r(), { useFetchUserAdminConfigList: E } = Fr(t.client, t.system), p = t.system + "_" + t.subject, f = async (k = !1) => {
|
|
4222
4222
|
u.value = !0, await y.getBookmarks(
|
|
4223
4223
|
{
|
|
4224
4224
|
user: t.userId,
|
|
@@ -4259,7 +4259,7 @@ const Mc = { key: 0 }, Ic = 32, Br = /* @__PURE__ */ Re({
|
|
|
4259
4259
|
}, T = async (k) => {
|
|
4260
4260
|
const $ = c.value;
|
|
4261
4261
|
if (se($)) return;
|
|
4262
|
-
C.value = 1e3, await
|
|
4262
|
+
C.value = 1e3, await Ze();
|
|
4263
4263
|
let H = 0, I = 0;
|
|
4264
4264
|
for (let N = 0; N < $.children.length; N++) {
|
|
4265
4265
|
const V = $.children[N].offsetWidth;
|
|
@@ -4289,7 +4289,7 @@ const Mc = { key: 0 }, Ic = 32, Br = /* @__PURE__ */ Re({
|
|
|
4289
4289
|
};
|
|
4290
4290
|
});
|
|
4291
4291
|
return _e([u, () => P.value.length], ([k]) => {
|
|
4292
|
-
k === !0 || se(c.value) || (d.value = c.value.clientWidth,
|
|
4292
|
+
k === !0 || se(c.value) || (d.value = c.value.clientWidth, Ze(() => {
|
|
4293
4293
|
T(d.value);
|
|
4294
4294
|
}));
|
|
4295
4295
|
}), Ko(() => {
|
|
@@ -4364,14 +4364,14 @@ function $c(e, n, t) {
|
|
|
4364
4364
|
writable: !0
|
|
4365
4365
|
}) : e[n] = t, e;
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4368
|
-
return
|
|
4367
|
+
function qt() {
|
|
4368
|
+
return qt = Object.assign ? Object.assign.bind() : function(e) {
|
|
4369
4369
|
for (var n = 1; n < arguments.length; n++) {
|
|
4370
4370
|
var t = arguments[n];
|
|
4371
4371
|
for (var a in t) ({}).hasOwnProperty.call(t, a) && (e[a] = t[a]);
|
|
4372
4372
|
}
|
|
4373
4373
|
return e;
|
|
4374
|
-
},
|
|
4374
|
+
}, qt.apply(null, arguments);
|
|
4375
4375
|
}
|
|
4376
4376
|
function Kl(e, n) {
|
|
4377
4377
|
var t = Object.keys(e);
|
|
@@ -4435,19 +4435,19 @@ function Uo(e) {
|
|
|
4435
4435
|
}, Uo(e);
|
|
4436
4436
|
}
|
|
4437
4437
|
var Rc = "1.15.7";
|
|
4438
|
-
function
|
|
4438
|
+
function Ht(e) {
|
|
4439
4439
|
if (typeof window < "u" && window.navigator)
|
|
4440
4440
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
4441
4441
|
}
|
|
4442
|
-
var
|
|
4442
|
+
var Wt = Ht(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ca = Ht(/Edge/i), Wl = Ht(/firefox/i), Jn = Ht(/safari/i) && !Ht(/chrome/i) && !Ht(/android/i), al = Ht(/iP(ad|od|hone)/i), Or = Ht(/chrome/i) && Ht(/android/i), _r = {
|
|
4443
4443
|
capture: !1,
|
|
4444
4444
|
passive: !1
|
|
4445
4445
|
};
|
|
4446
4446
|
function Ve(e, n, t) {
|
|
4447
|
-
e.addEventListener(n, t, !
|
|
4447
|
+
e.addEventListener(n, t, !Wt && _r);
|
|
4448
4448
|
}
|
|
4449
4449
|
function Ne(e, n, t) {
|
|
4450
|
-
e.removeEventListener(n, t, !
|
|
4450
|
+
e.removeEventListener(n, t, !Wt && _r);
|
|
4451
4451
|
}
|
|
4452
4452
|
function qa(e, n) {
|
|
4453
4453
|
if (n) {
|
|
@@ -4523,10 +4523,10 @@ function Rt() {
|
|
|
4523
4523
|
var e = document.scrollingElement;
|
|
4524
4524
|
return e || document.documentElement;
|
|
4525
4525
|
}
|
|
4526
|
-
function
|
|
4526
|
+
function Qe(e, n, t, a, l) {
|
|
4527
4527
|
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
4528
4528
|
var o, r, s, i, u, c, d;
|
|
4529
|
-
if (e !== window && e.parentNode && e !== Rt() ? (o = e.getBoundingClientRect(), r = o.top, s = o.left, i = o.bottom, u = o.right, c = o.height, d = o.width) : (r = 0, s = 0, i = window.innerHeight, u = window.innerWidth, c = window.innerHeight, d = window.innerWidth), (n || t) && e !== window && (l = l || e.parentNode, !
|
|
4529
|
+
if (e !== window && e.parentNode && e !== Rt() ? (o = e.getBoundingClientRect(), r = o.top, s = o.left, i = o.bottom, u = o.right, c = o.height, d = o.width) : (r = 0, s = 0, i = window.innerHeight, u = window.innerWidth, c = window.innerHeight, d = window.innerWidth), (n || t) && e !== window && (l = l || e.parentNode, !Wt))
|
|
4530
4530
|
do
|
|
4531
4531
|
if (l && l.getBoundingClientRect && (be(l, "transform") !== "none" || t && be(l, "position") !== "static")) {
|
|
4532
4532
|
var C = l.getBoundingClientRect();
|
|
@@ -4549,8 +4549,8 @@ function Je(e, n, t, a, l) {
|
|
|
4549
4549
|
}
|
|
4550
4550
|
}
|
|
4551
4551
|
function Xl(e, n, t) {
|
|
4552
|
-
for (var a = Qt(e, !0), l =
|
|
4553
|
-
var o =
|
|
4552
|
+
for (var a = Qt(e, !0), l = Qe(e)[n]; a; ) {
|
|
4553
|
+
var o = Qe(a)[t], r = void 0;
|
|
4554
4554
|
if (r = l >= o, !r) return a;
|
|
4555
4555
|
if (a === Rt()) break;
|
|
4556
4556
|
a = Qt(a, !1);
|
|
@@ -4648,7 +4648,7 @@ function Ur(e, n, t) {
|
|
|
4648
4648
|
return Array.from(e.children).forEach(function(l) {
|
|
4649
4649
|
var o, r, s, i;
|
|
4650
4650
|
if (!(!It(l, n.draggable, e, !1) || l.animated || l === t)) {
|
|
4651
|
-
var u =
|
|
4651
|
+
var u = Qe(l);
|
|
4652
4652
|
a.left = Math.min((o = a.left) !== null && o !== void 0 ? o : 1 / 0, u.left), a.top = Math.min((r = a.top) !== null && r !== void 0 ? r : 1 / 0, u.top), a.right = Math.max((s = a.right) !== null && s !== void 0 ? s : -1 / 0, u.right), a.bottom = Math.max((i = a.bottom) !== null && i !== void 0 ? i : -1 / 0, u.bottom);
|
|
4653
4653
|
}
|
|
4654
4654
|
}), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
@@ -4664,7 +4664,7 @@ function Vc() {
|
|
|
4664
4664
|
if (!(be(l, "display") === "none" || l === we.ghost)) {
|
|
4665
4665
|
e.push({
|
|
4666
4666
|
target: l,
|
|
4667
|
-
rect:
|
|
4667
|
+
rect: Qe(l)
|
|
4668
4668
|
});
|
|
4669
4669
|
var o = Pt({}, e[e.length - 1].rect);
|
|
4670
4670
|
if (l.thisAnimationDuration) {
|
|
@@ -4692,7 +4692,7 @@ function Vc() {
|
|
|
4692
4692
|
}
|
|
4693
4693
|
var o = !1, r = 0;
|
|
4694
4694
|
e.forEach(function(s) {
|
|
4695
|
-
var i = 0, u = s.target, c = u.fromRect, d =
|
|
4695
|
+
var i = 0, u = s.target, c = u.fromRect, d = Qe(u), C = u.prevFromRect, y = u.prevToRect, E = s.rect, p = kn(u, !0);
|
|
4696
4696
|
p && (d.top -= p.f, d.left -= p.e), u.toRect = d, u.thisAnimationDuration && Ao(C, d) && !Ao(c, d) && // Make sure animatingRect is on line between toRect & fromRect
|
|
4697
4697
|
(E.top - d.top) / (E.left - d.left) === (c.top - d.top) / (c.left - d.left) && (i = Yc(E, C, y, l.options)), Ao(d, c) || (u.prevFromRect = c, u.prevToRect = d, i || (i = l.options.animation), l.animate(u, E, d, i)), i && (o = !0, r = Math.max(r, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
4698
4698
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
@@ -4748,7 +4748,7 @@ var yn = [], Mo = {
|
|
|
4748
4748
|
var i = s.pluginName;
|
|
4749
4749
|
if (!(!n.options[i] && !s.initializeByDefault)) {
|
|
4750
4750
|
var u = new s(n, t, n.options);
|
|
4751
|
-
u.sortable = n, u.options = n.options, n[i] = u,
|
|
4751
|
+
u.sortable = n, u.options = n.options, n[i] = u, qt(a, u.defaults);
|
|
4752
4752
|
}
|
|
4753
4753
|
});
|
|
4754
4754
|
for (var o in n.options)
|
|
@@ -4760,7 +4760,7 @@ var yn = [], Mo = {
|
|
|
4760
4760
|
getEventProperties: function(n, t) {
|
|
4761
4761
|
var a = {};
|
|
4762
4762
|
return yn.forEach(function(l) {
|
|
4763
|
-
typeof l.eventProperties == "function" &&
|
|
4763
|
+
typeof l.eventProperties == "function" && qt(a, l.eventProperties.call(t[l.pluginName], n));
|
|
4764
4764
|
}), a;
|
|
4765
4765
|
},
|
|
4766
4766
|
modifyOption: function(n, t, a) {
|
|
@@ -4774,7 +4774,7 @@ function zc(e) {
|
|
|
4774
4774
|
var n = e.sortable, t = e.rootEl, a = e.name, l = e.targetEl, o = e.cloneEl, r = e.toEl, s = e.fromEl, i = e.oldIndex, u = e.newIndex, c = e.oldDraggableIndex, d = e.newDraggableIndex, C = e.originalEvent, y = e.putSortable, E = e.extraEventProperties;
|
|
4775
4775
|
if (n = n || t && t[vt], !!n) {
|
|
4776
4776
|
var p, f = n.options, m = "on" + a.charAt(0).toUpperCase() + a.substr(1);
|
|
4777
|
-
window.CustomEvent && !
|
|
4777
|
+
window.CustomEvent && !Wt && !Ca ? p = new CustomEvent(a, {
|
|
4778
4778
|
bubbles: !0,
|
|
4779
4779
|
cancelable: !0
|
|
4780
4780
|
}) : (p = document.createEvent("Event"), p.initEvent(a, !0, !0)), p.to = r || t, p.from = s || t, p.item = l || t, p.clone = o, p.oldIndex = i, p.newIndex = u, p.oldDraggableIndex = c, p.newDraggableIndex = d, p.originalEvent = C, p.pullMode = y ? y.lastPutMode : void 0;
|
|
@@ -4832,15 +4832,15 @@ function ut(e) {
|
|
|
4832
4832
|
newDraggableIndex: Zt
|
|
4833
4833
|
}, e));
|
|
4834
4834
|
}
|
|
4835
|
-
var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa = [], on, Mt, Io, $o, Jl, Ql, Wn, bn, ta, na = !1, Fa = !1, Na, st, Fo = [], Yo = !1, Ga = [], uo = typeof document < "u", Ba = al, er = Ca ||
|
|
4835
|
+
var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa = [], on, Mt, Io, $o, Jl, Ql, Wn, bn, ta, na = !1, Fa = !1, Na, st, Fo = [], Yo = !1, Ga = [], uo = typeof document < "u", Ba = al, er = Ca || Wt ? "cssFloat" : "float", jc = uo && !Or && !al && "draggable" in document.createElement("div"), Yr = (function() {
|
|
4836
4836
|
if (uo) {
|
|
4837
|
-
if (
|
|
4837
|
+
if (Wt)
|
|
4838
4838
|
return !1;
|
|
4839
4839
|
var e = document.createElement("x");
|
|
4840
4840
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
4841
4841
|
}
|
|
4842
4842
|
})(), zr = function(n, t) {
|
|
4843
|
-
var a = be(n), l = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = Mn(n, 0, t), r = Mn(n, 1, t), s = o && be(o), i = r && be(r), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) +
|
|
4843
|
+
var a = be(n), l = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = Mn(n, 0, t), r = Mn(n, 1, t), s = o && be(o), i = r && be(r), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Qe(o).width, c = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + Qe(r).width;
|
|
4844
4844
|
if (a.display === "flex")
|
|
4845
4845
|
return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
4846
4846
|
if (a.display === "grid")
|
|
@@ -4858,7 +4858,7 @@ var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa
|
|
|
4858
4858
|
return Wa.some(function(l) {
|
|
4859
4859
|
var o = l[vt].options.emptyInsertThreshold;
|
|
4860
4860
|
if (!(!o || ol(l))) {
|
|
4861
|
-
var r =
|
|
4861
|
+
var r = Qe(l), s = n >= r.left - o && n <= r.right + o, i = t >= r.top - o && t <= r.bottom + o;
|
|
4862
4862
|
if (s && i)
|
|
4863
4863
|
return a = l;
|
|
4864
4864
|
}
|
|
@@ -4909,7 +4909,7 @@ var ln = function(n) {
|
|
|
4909
4909
|
function we(e, n) {
|
|
4910
4910
|
if (!(e && e.nodeType && e.nodeType === 1))
|
|
4911
4911
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
|
|
4912
|
-
this.el = e, this.options = n =
|
|
4912
|
+
this.el = e, this.options = n = qt({}, n), e[vt] = this;
|
|
4913
4913
|
var t = {
|
|
4914
4914
|
group: null,
|
|
4915
4915
|
sort: !0,
|
|
@@ -4962,7 +4962,7 @@ function we(e, n) {
|
|
|
4962
4962
|
Hr(n);
|
|
4963
4963
|
for (var l in this)
|
|
4964
4964
|
l.charAt(0) === "_" && typeof this[l] == "function" && (this[l] = this[l].bind(this));
|
|
4965
|
-
this.nativeDraggable = n.forceFallback ? !1 : jc, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? Ve(e, "pointerdown", this._onTapStart) : (Ve(e, "mousedown", this._onTapStart), Ve(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Ve(e, "dragover", this), Ve(e, "dragenter", this)), Wa.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []),
|
|
4965
|
+
this.nativeDraggable = n.forceFallback ? !1 : jc, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? Ve(e, "pointerdown", this._onTapStart) : (Ve(e, "mousedown", this._onTapStart), Ve(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Ve(e, "dragover", this), Ve(e, "dragenter", this)), Wa.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), qt(this, Vc());
|
|
4966
4966
|
}
|
|
4967
4967
|
we.prototype = /** @lends Sortable.prototype */
|
|
4968
4968
|
{
|
|
@@ -5014,7 +5014,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5014
5014
|
_prepareDragStart: function(n, t, a) {
|
|
5015
5015
|
var l = this, o = l.el, r = l.options, s = o.ownerDocument, i;
|
|
5016
5016
|
if (a && !ae && a.parentNode === o) {
|
|
5017
|
-
var u =
|
|
5017
|
+
var u = Qe(a);
|
|
5018
5018
|
if (je = o, ae = a, Ke = ae.parentNode, sn = ae.nextSibling, La = a, $a = r.group, we.dragged = ae, on = {
|
|
5019
5019
|
target: ae,
|
|
5020
5020
|
clientX: (t || n).clientX,
|
|
@@ -5035,7 +5035,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5035
5035
|
Pr(ae, c.trim(), Bo);
|
|
5036
5036
|
}), Ve(s, "dragover", ln), Ve(s, "mousemove", ln), Ve(s, "touchmove", ln), r.supportPointer ? (Ve(s, "pointerup", l._onDrop), !this.nativeDraggable && Ve(s, "pointercancel", l._onDrop)) : (Ve(s, "mouseup", l._onDrop), Ve(s, "touchend", l._onDrop), Ve(s, "touchcancel", l._onDrop)), Wl && this.nativeDraggable && (this.options.touchStartThreshold = 4, ae.draggable = !0), ft("delayStart", this, {
|
|
5037
5037
|
evt: n
|
|
5038
|
-
}), r.delay && (!r.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ca ||
|
|
5038
|
+
}), r.delay && (!r.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ca || Wt))) {
|
|
5039
5039
|
if (we.eventCanceled) {
|
|
5040
5040
|
this._onDrop();
|
|
5041
5041
|
return;
|
|
@@ -5126,7 +5126,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5126
5126
|
},
|
|
5127
5127
|
_appendGhost: function() {
|
|
5128
5128
|
if (!Te) {
|
|
5129
|
-
var n = this.options.fallbackOnBody ? document.body : je, t =
|
|
5129
|
+
var n = this.options.fallbackOnBody ? document.body : je, t = Qe(ae, !0, Ba, !0, n), a = this.options;
|
|
5130
5130
|
if (Ba) {
|
|
5131
5131
|
for (st = n; be(st, "position") === "static" && be(st, "transform") === "none" && st !== document; )
|
|
5132
5132
|
st = st.parentNode;
|
|
@@ -5167,7 +5167,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5167
5167
|
target: a,
|
|
5168
5168
|
completed: g,
|
|
5169
5169
|
onMove: function(J, le) {
|
|
5170
|
-
return Oa(je, t, ae, l, J,
|
|
5170
|
+
return Oa(je, t, ae, l, J, Qe(J), n, le);
|
|
5171
5171
|
},
|
|
5172
5172
|
changed: T
|
|
5173
5173
|
}, B));
|
|
@@ -5196,23 +5196,23 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5196
5196
|
if (ae.contains(n.target) || a.animated && a.animatingX && a.animatingY || E._ignoreWhileAnimating === a)
|
|
5197
5197
|
return g(!1);
|
|
5198
5198
|
if (Ka = !1, u && !s.disabled && (c ? d || (r = Ke !== je) : lt === this || (this.lastPutMode = $a.checkPull(this, u, ae, n)) && i.checkPut(this, u, ae, n))) {
|
|
5199
|
-
if (y = this._getDirection(n, a) === "vertical", l =
|
|
5199
|
+
if (y = this._getDirection(n, a) === "vertical", l = Qe(ae), f("dragOverValid"), we.eventCanceled) return p;
|
|
5200
5200
|
if (r)
|
|
5201
5201
|
return Ke = je, m(), this._hideClone(), f("revert"), we.eventCanceled || (sn ? je.insertBefore(ae, sn) : je.appendChild(ae)), g(!0);
|
|
5202
5202
|
var P = ol(t, s.draggable);
|
|
5203
5203
|
if (!P || Jc(n, y, this) && !P.animated) {
|
|
5204
5204
|
if (P === ae)
|
|
5205
5205
|
return g(!1);
|
|
5206
|
-
if (P && t === n.target && (a = P), a && (o =
|
|
5206
|
+
if (P && t === n.target && (a = P), a && (o = Qe(a)), Oa(je, t, ae, l, a, o, n, !!a) !== !1)
|
|
5207
5207
|
return m(), P && P.nextSibling ? t.insertBefore(ae, P.nextSibling) : t.appendChild(ae), Ke = t, T(), g(!0);
|
|
5208
5208
|
} else if (P && Zc(n, y, this)) {
|
|
5209
5209
|
var A = Mn(t, 0, s, !0);
|
|
5210
5210
|
if (A === ae)
|
|
5211
5211
|
return g(!1);
|
|
5212
|
-
if (a = A, o =
|
|
5212
|
+
if (a = A, o = Qe(a), Oa(je, t, ae, l, a, o, n, !1) !== !1)
|
|
5213
5213
|
return m(), t.insertBefore(ae, A), Ke = t, T(), g(!0);
|
|
5214
5214
|
} else if (a.parentNode === t) {
|
|
5215
|
-
o =
|
|
5215
|
+
o = Qe(a);
|
|
5216
5216
|
var k = 0, $, H = ae.parentNode !== t, I = !qc(ae.animated && ae.toRect || l, a.animated && a.toRect || o, y), N = y ? "top" : "left", K = Xl(a, "top", "top") || Xl(ae, "top", "top"), V = K ? K.scrollTop : void 0;
|
|
5217
5217
|
bn !== a && ($ = o[N], na = !1, Fa = !I && s.invertSwap || H), k = Qc(n, a, o, y, I ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Fa, bn === a);
|
|
5218
5218
|
var O;
|
|
@@ -5229,7 +5229,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5229
5229
|
v = k === 1;
|
|
5230
5230
|
var w = Oa(je, t, ae, l, a, o, n, v);
|
|
5231
5231
|
if (w !== !1)
|
|
5232
|
-
return (w === 1 || w === -1) && (v = w === 1), Yo = !0, setTimeout(Xc, 30), m(), v && !h ? t.appendChild(ae) : a.parentNode.insertBefore(ae, v ? h : a), K && Nr(K, 0, V - K.scrollTop), Ke = ae.parentNode, $ !== void 0 && !Fa && (Na = Math.abs($ -
|
|
5232
|
+
return (w === 1 || w === -1) && (v = w === 1), Yo = !0, setTimeout(Xc, 30), m(), v && !h ? t.appendChild(ae) : a.parentNode.insertBefore(ae, v ? h : a), K && Nr(K, 0, V - K.scrollTop), Ke = ae.parentNode, $ !== void 0 && !Fa && (Na = Math.abs($ - Qe(a)[N])), T(), g(!0);
|
|
5233
5233
|
}
|
|
5234
5234
|
if (t.contains(ae))
|
|
5235
5235
|
return g(!1);
|
|
@@ -5403,10 +5403,10 @@ function Gc(e) {
|
|
|
5403
5403
|
}
|
|
5404
5404
|
function Oa(e, n, t, a, l, o, r, s) {
|
|
5405
5405
|
var i, u = e[vt], c = u.options.onMove, d;
|
|
5406
|
-
return window.CustomEvent && !
|
|
5406
|
+
return window.CustomEvent && !Wt && !Ca ? i = new CustomEvent("move", {
|
|
5407
5407
|
bubbles: !0,
|
|
5408
5408
|
cancelable: !0
|
|
5409
|
-
}) : (i = document.createEvent("Event"), i.initEvent("move", !0, !0)), i.to = n, i.from = e, i.dragged = t, i.draggedRect = a, i.related = l || n, i.relatedRect = o ||
|
|
5409
|
+
}) : (i = document.createEvent("Event"), i.initEvent("move", !0, !0)), i.to = n, i.from = e, i.dragged = t, i.draggedRect = a, i.related = l || n, i.relatedRect = o || Qe(n), i.willInsertAfter = s, i.originalEvent = r, e.dispatchEvent(i), c && (d = c.call(u, i, r)), d;
|
|
5410
5410
|
}
|
|
5411
5411
|
function Bo(e) {
|
|
5412
5412
|
e.draggable = !1;
|
|
@@ -5415,11 +5415,11 @@ function Xc() {
|
|
|
5415
5415
|
Yo = !1;
|
|
5416
5416
|
}
|
|
5417
5417
|
function Zc(e, n, t) {
|
|
5418
|
-
var a =
|
|
5418
|
+
var a = Qe(Mn(t.el, 0, t.options, !0)), l = Ur(t.el, t.options, Te), o = 10;
|
|
5419
5419
|
return n ? e.clientX < l.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < l.top - o || e.clientY < a.bottom && e.clientX < a.left;
|
|
5420
5420
|
}
|
|
5421
5421
|
function Jc(e, n, t) {
|
|
5422
|
-
var a =
|
|
5422
|
+
var a = Qe(ol(t.el, t.options.draggable)), l = Ur(t.el, t.options, Te), o = 10;
|
|
5423
5423
|
return n ? e.clientX > l.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > l.bottom + o || e.clientX > a.right && e.clientY > a.top;
|
|
5424
5424
|
}
|
|
5425
5425
|
function Qc(e, n, t, a, l, o, r, s) {
|
|
@@ -5495,7 +5495,7 @@ we.create = function(e, n) {
|
|
|
5495
5495
|
return new we(e, n);
|
|
5496
5496
|
};
|
|
5497
5497
|
we.version = Rc;
|
|
5498
|
-
var
|
|
5498
|
+
var Je = [], Gn, Ho, jo = !1, Oo, _o, Xa, Xn;
|
|
5499
5499
|
function ad() {
|
|
5500
5500
|
function e() {
|
|
5501
5501
|
this.defaults = {
|
|
@@ -5521,14 +5521,14 @@ function ad() {
|
|
|
5521
5521
|
this.sortable.nativeDraggable ? Ne(document, "dragover", this._handleAutoScroll) : (Ne(document, "pointermove", this._handleFallbackAutoScroll), Ne(document, "touchmove", this._handleFallbackAutoScroll), Ne(document, "mousemove", this._handleFallbackAutoScroll)), tr(), Ua(), Nc();
|
|
5522
5522
|
},
|
|
5523
5523
|
nulling: function() {
|
|
5524
|
-
Xa = Ho = Gn = jo = Xn = Oo = _o = null,
|
|
5524
|
+
Xa = Ho = Gn = jo = Xn = Oo = _o = null, Je.length = 0;
|
|
5525
5525
|
},
|
|
5526
5526
|
_handleFallbackAutoScroll: function(t) {
|
|
5527
5527
|
this._handleAutoScroll(t, !0);
|
|
5528
5528
|
},
|
|
5529
5529
|
_handleAutoScroll: function(t, a) {
|
|
5530
5530
|
var l = this, o = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, s = document.elementFromPoint(o, r);
|
|
5531
|
-
if (Xa = t, a || this.options.forceAutoScrollFallback || Ca ||
|
|
5531
|
+
if (Xa = t, a || this.options.forceAutoScrollFallback || Ca || Wt || Jn) {
|
|
5532
5532
|
Ro(t, this.options, s, a);
|
|
5533
5533
|
var i = Qt(s, !0);
|
|
5534
5534
|
jo && (!Xn || o !== Oo || r !== _o) && (Xn && tr(), Xn = setInterval(function() {
|
|
@@ -5543,15 +5543,15 @@ function ad() {
|
|
|
5543
5543
|
Ro(t, this.options, Qt(s, !1), !1);
|
|
5544
5544
|
}
|
|
5545
5545
|
}
|
|
5546
|
-
},
|
|
5546
|
+
}, qt(e, {
|
|
5547
5547
|
pluginName: "scroll",
|
|
5548
5548
|
initializeByDefault: !0
|
|
5549
5549
|
});
|
|
5550
5550
|
}
|
|
5551
5551
|
function Ua() {
|
|
5552
|
-
|
|
5552
|
+
Je.forEach(function(e) {
|
|
5553
5553
|
clearInterval(e.pid);
|
|
5554
|
-
}),
|
|
5554
|
+
}), Je = [];
|
|
5555
5555
|
}
|
|
5556
5556
|
function tr() {
|
|
5557
5557
|
clearInterval(Xn);
|
|
@@ -5562,16 +5562,16 @@ var Ro = Lr(function(e, n, t, a) {
|
|
|
5562
5562
|
Ho !== t && (Ho = t, Ua(), Gn = n.scroll, c = n.scrollFn, Gn === !0 && (Gn = Qt(t, !0)));
|
|
5563
5563
|
var d = 0, C = Gn;
|
|
5564
5564
|
do {
|
|
5565
|
-
var y = C, E =
|
|
5565
|
+
var y = C, E = Qe(y), p = E.top, f = E.bottom, m = E.left, g = E.right, T = E.width, P = E.height, A = void 0, k = void 0, $ = y.scrollWidth, H = y.scrollHeight, I = be(y), N = y.scrollLeft, K = y.scrollTop;
|
|
5566
5566
|
y === i ? (A = T < $ && (I.overflowX === "auto" || I.overflowX === "scroll" || I.overflowX === "visible"), k = P < H && (I.overflowY === "auto" || I.overflowY === "scroll" || I.overflowY === "visible")) : (A = T < $ && (I.overflowX === "auto" || I.overflowX === "scroll"), k = P < H && (I.overflowY === "auto" || I.overflowY === "scroll"));
|
|
5567
5567
|
var V = A && (Math.abs(g - l) <= r && N + T < $) - (Math.abs(m - l) <= r && !!N), O = k && (Math.abs(f - o) <= r && K + P < H) - (Math.abs(p - o) <= r && !!K);
|
|
5568
|
-
if (!
|
|
5568
|
+
if (!Je[d])
|
|
5569
5569
|
for (var b = 0; b <= d; b++)
|
|
5570
|
-
|
|
5571
|
-
(
|
|
5570
|
+
Je[b] || (Je[b] = {});
|
|
5571
|
+
(Je[d].vx != V || Je[d].vy != O || Je[d].el !== y) && (Je[d].el = y, Je[d].vx = V, Je[d].vy = O, clearInterval(Je[d].pid), (V != 0 || O != 0) && (u = !0, Je[d].pid = setInterval((function() {
|
|
5572
5572
|
a && this.layer === 0 && we.active._onTouchMove(Xa);
|
|
5573
|
-
var h =
|
|
5574
|
-
typeof c == "function" && c.call(we.dragged.parentNode[vt], v, h, e, Xa,
|
|
5573
|
+
var h = Je[this.layer].vy ? Je[this.layer].vy * s : 0, v = Je[this.layer].vx ? Je[this.layer].vx * s : 0;
|
|
5574
|
+
typeof c == "function" && c.call(we.dragged.parentNode[vt], v, h, e, Xa, Je[this.layer].el) !== "continue" || Nr(Je[this.layer].el, v, h);
|
|
5575
5575
|
}).bind({
|
|
5576
5576
|
layer: d
|
|
5577
5577
|
}), 24))), d++;
|
|
@@ -5606,7 +5606,7 @@ ll.prototype = {
|
|
|
5606
5606
|
},
|
|
5607
5607
|
drop: Kr
|
|
5608
5608
|
};
|
|
5609
|
-
|
|
5609
|
+
qt(ll, {
|
|
5610
5610
|
pluginName: "revertOnSpill"
|
|
5611
5611
|
});
|
|
5612
5612
|
function rl() {
|
|
@@ -5618,7 +5618,7 @@ rl.prototype = {
|
|
|
5618
5618
|
},
|
|
5619
5619
|
drop: Kr
|
|
5620
5620
|
};
|
|
5621
|
-
|
|
5621
|
+
qt(rl, {
|
|
5622
5622
|
pluginName: "removeOnSpill"
|
|
5623
5623
|
});
|
|
5624
5624
|
we.mount(new ad());
|
|
@@ -5671,7 +5671,7 @@ function rd(e, n, t, a = null) {
|
|
|
5671
5671
|
const l = Za(e), o = l ? [...En(e)] : En(e);
|
|
5672
5672
|
if (t >= 0 && t < o.length) {
|
|
5673
5673
|
const r = o.splice(n, 1)[0];
|
|
5674
|
-
|
|
5674
|
+
Ze(() => {
|
|
5675
5675
|
o.splice(t, 0, r), l && (e.value = o);
|
|
5676
5676
|
});
|
|
5677
5677
|
}
|
|
@@ -5735,7 +5735,7 @@ function gd(e, n, t, a) {
|
|
|
5735
5735
|
};
|
|
5736
5736
|
}
|
|
5737
5737
|
const C = R(() => e.value.map((O, b) => d(O, b))), y = (O = void 0) => {
|
|
5738
|
-
u.value++, F(O) || a("update:modelValue", O),
|
|
5738
|
+
u.value++, F(O) || a("update:modelValue", O), Ze(() => {
|
|
5739
5739
|
n();
|
|
5740
5740
|
});
|
|
5741
5741
|
}, E = (O) => {
|
|
@@ -5901,7 +5901,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5901
5901
|
} = gd(o, y, a, l);
|
|
5902
5902
|
return ua(() => {
|
|
5903
5903
|
P();
|
|
5904
|
-
}),
|
|
5904
|
+
}), Ze(() => {
|
|
5905
5905
|
H.value = document.querySelector("#" + d.value), y();
|
|
5906
5906
|
}), _e(
|
|
5907
5907
|
() => a.disableDraggable,
|
|
@@ -6275,8 +6275,8 @@ const xd = {
|
|
|
6275
6275
|
} finally {
|
|
6276
6276
|
C.value = !1;
|
|
6277
6277
|
}
|
|
6278
|
-
}, re =
|
|
6279
|
-
p.value = { id: Z.raw.id, customName: Z.raw.customName }, await
|
|
6278
|
+
}, re = zt("inputRef"), Se = async (Z) => {
|
|
6279
|
+
p.value = { id: Z.raw.id, customName: Z.raw.customName }, await Ze(), re.value?.focus();
|
|
6280
6280
|
}, Ce = async (Z) => {
|
|
6281
6281
|
if (se(p.value)) return;
|
|
6282
6282
|
C.value = !0;
|
|
@@ -6590,15 +6590,15 @@ const xd = {
|
|
|
6590
6590
|
const d = U(/* @__PURE__ */ new Map());
|
|
6591
6591
|
fn(Dt, d);
|
|
6592
6592
|
const C = () => {
|
|
6593
|
-
c.value++,
|
|
6593
|
+
c.value++, Ze(() => {
|
|
6594
6594
|
l("submit"), r();
|
|
6595
6595
|
});
|
|
6596
6596
|
}, { clearAll: y, clearAllFilterSelected: E } = Bt(), p = () => {
|
|
6597
|
-
|
|
6597
|
+
Ze(() => {
|
|
6598
6598
|
c.value++, l("bookmarkLoadAfter"), r();
|
|
6599
6599
|
});
|
|
6600
6600
|
}, f = () => {
|
|
6601
|
-
y(i, s), E(i, s, d),
|
|
6601
|
+
y(i, s), E(i, s, d), Ze(() => {
|
|
6602
6602
|
c.value++, l("reset"), r();
|
|
6603
6603
|
});
|
|
6604
6604
|
}, m = R(() => s.touched), g = R(() => Object.entries(s.fields).filter(([, T]) => !T.render.skip).map(([T]) => T));
|
|
@@ -6614,7 +6614,7 @@ const xd = {
|
|
|
6614
6614
|
ke(T.$slots, "bookmarks", {}, () => [
|
|
6615
6615
|
x(cn, { density: "compact" }, {
|
|
6616
6616
|
default: M(() => [
|
|
6617
|
-
e.store && e.userId && L(Ue)(e.client) ? (_(), te(
|
|
6617
|
+
e.store && e.userId && L(Ue)(e.client) ? (_(), te(Yt, { key: 0 }, {
|
|
6618
6618
|
default: M(() => [
|
|
6619
6619
|
Ie("div", Bd, [
|
|
6620
6620
|
u.value.system && u.value.subject && e.userId && L(Ue)(e.client) ? (_(), te(Br, {
|
|
@@ -6638,7 +6638,7 @@ const xd = {
|
|
|
6638
6638
|
ke(T.$slots, "detail", {}, () => [
|
|
6639
6639
|
x(cn, null, {
|
|
6640
6640
|
default: M(() => [
|
|
6641
|
-
(_(!0), de(We, null, en(g.value, (A) => (_(), te(
|
|
6641
|
+
(_(!0), de(We, null, en(g.value, (A) => (_(), te(Yt, {
|
|
6642
6642
|
key: A,
|
|
6643
6643
|
cols: L(s).fields[A].render.xs || 12,
|
|
6644
6644
|
sm: L(s).fields[A].render.sm || 12,
|
|
@@ -6985,15 +6985,15 @@ const xd = {
|
|
|
6985
6985
|
const d = U(/* @__PURE__ */ new Map());
|
|
6986
6986
|
fn(Dt, d);
|
|
6987
6987
|
const C = () => {
|
|
6988
|
-
c.value++,
|
|
6988
|
+
c.value++, Ze(() => {
|
|
6989
6989
|
l("submit");
|
|
6990
6990
|
});
|
|
6991
6991
|
}, { clearAll: y, clearAllFilterSelected: E } = Bt(), p = () => {
|
|
6992
|
-
|
|
6992
|
+
Ze(() => {
|
|
6993
6993
|
c.value++, l("bookmarkLoadAfter");
|
|
6994
6994
|
});
|
|
6995
6995
|
}, f = () => {
|
|
6996
|
-
y(i, s), E(i, s, d),
|
|
6996
|
+
y(i, s), E(i, s, d), Ze(() => {
|
|
6997
6997
|
c.value++, l("reset");
|
|
6998
6998
|
});
|
|
6999
6999
|
}, m = () => {
|
|
@@ -7012,7 +7012,7 @@ const xd = {
|
|
|
7012
7012
|
density: "comfortable"
|
|
7013
7013
|
}, {
|
|
7014
7014
|
default: M(() => [
|
|
7015
|
-
x(
|
|
7015
|
+
x(Yt, null, {
|
|
7016
7016
|
default: M(() => [
|
|
7017
7017
|
ke(P.$slots, "top")
|
|
7018
7018
|
]),
|
|
@@ -7023,7 +7023,7 @@ const xd = {
|
|
|
7023
7023
|
})) : ve("", !0),
|
|
7024
7024
|
x(cn, { density: "compact" }, {
|
|
7025
7025
|
default: M(() => [
|
|
7026
|
-
e.store && e.userId && L(Ue)(e.client) ? (_(), te(
|
|
7026
|
+
e.store && e.userId && L(Ue)(e.client) ? (_(), te(Yt, { key: 0 }, {
|
|
7027
7027
|
default: M(() => [
|
|
7028
7028
|
ke(P.$slots, "bookmarks", {}, () => [
|
|
7029
7029
|
Ie("div", Nd, [
|
|
@@ -7050,7 +7050,7 @@ const xd = {
|
|
|
7050
7050
|
density: "comfortable"
|
|
7051
7051
|
}, {
|
|
7052
7052
|
default: M(() => [
|
|
7053
|
-
e.hideMore ? ve("", !0) : (_(), te(
|
|
7053
|
+
e.hideMore ? ve("", !0) : (_(), te(Yt, {
|
|
7054
7054
|
key: 0,
|
|
7055
7055
|
cols: "auto"
|
|
7056
7056
|
}, {
|
|
@@ -7062,7 +7062,7 @@ const xd = {
|
|
|
7062
7062
|
]),
|
|
7063
7063
|
_: 1
|
|
7064
7064
|
})),
|
|
7065
|
-
x(
|
|
7065
|
+
x(Yt, null, {
|
|
7066
7066
|
default: M(() => [
|
|
7067
7067
|
Ie("div", Vd, [
|
|
7068
7068
|
Ie("div", Ud, [
|
|
@@ -7073,7 +7073,7 @@ const xd = {
|
|
|
7073
7073
|
]),
|
|
7074
7074
|
_: 3
|
|
7075
7075
|
}),
|
|
7076
|
-
e.hideButtons ? ve("", !0) : (_(), te(
|
|
7076
|
+
e.hideButtons ? ve("", !0) : (_(), te(Yt, {
|
|
7077
7077
|
key: 1,
|
|
7078
7078
|
class: "text-right",
|
|
7079
7079
|
cols: "auto"
|
|
@@ -7106,7 +7106,7 @@ const xd = {
|
|
|
7106
7106
|
ke(P.$slots, "detail", {}, () => [
|
|
7107
7107
|
x(cn, null, {
|
|
7108
7108
|
default: M(() => [
|
|
7109
|
-
(_(!0), de(We, null, en(T.value, (k) => (_(), te(
|
|
7109
|
+
(_(!0), de(We, null, en(T.value, (k) => (_(), te(Yt, {
|
|
7110
7110
|
key: k,
|
|
7111
7111
|
cols: L(s).fields[k].render.xs || 12,
|
|
7112
7112
|
sm: L(s).fields[k].render.sm || 6,
|
|
@@ -7316,7 +7316,7 @@ function Jr(e) {
|
|
|
7316
7316
|
}), changed: W };
|
|
7317
7317
|
})(e.get());
|
|
7318
7318
|
m.changed && e.set(m.rows), p(m.rows);
|
|
7319
|
-
const g = U(/* @__PURE__ */ new Set()), T = U([]), P = U(!1), A =
|
|
7319
|
+
const g = U(/* @__PURE__ */ new Set()), T = U([]), P = U(!1), A = Kt(/* @__PURE__ */ new Map()), k = (z, W) => {
|
|
7320
7320
|
if (e.isDirty) {
|
|
7321
7321
|
const Y = E.value.find((oe) => t(oe) === W);
|
|
7322
7322
|
return e.isDirty(z, Y);
|
|
@@ -7689,7 +7689,7 @@ function af(e) {
|
|
|
7689
7689
|
},
|
|
7690
7690
|
{ flush: "sync" }
|
|
7691
7691
|
);
|
|
7692
|
-
const P = U(!1), A =
|
|
7692
|
+
const P = U(!1), A = Kt(/* @__PURE__ */ new Map()), k = (Q, ce, xe) => {
|
|
7693
7693
|
if (e.isDirty) {
|
|
7694
7694
|
const Ae = K(ce);
|
|
7695
7695
|
return e.isDirty(Q.data, Ae);
|
|
@@ -7786,16 +7786,16 @@ function af(e) {
|
|
|
7786
7786
|
const Q = [], ce = [], xe = [], Le = [], Ae = re(), ze = /* @__PURE__ */ new Map();
|
|
7787
7787
|
for (const at of Ae) ze.set(t(at), at);
|
|
7788
7788
|
Xt(e.get(), (at) => {
|
|
7789
|
-
const
|
|
7790
|
-
if (xt === void 0 ? Q.push(an) : xt !== E(at.data) && ce.push(an), xt !== void 0 && at.meta.dirty && xt === E(at.data) && xe.push(an), f.value.has(
|
|
7791
|
-
const hn = f.value.get(
|
|
7789
|
+
const Vt = t(at.data), an = ze.get(Vt) ?? at.data, xt = p.value.get(Vt);
|
|
7790
|
+
if (xt === void 0 ? Q.push(an) : xt !== E(at.data) && ce.push(an), xt !== void 0 && at.meta.dirty && xt === E(at.data) && xe.push(an), f.value.has(Vt)) {
|
|
7791
|
+
const hn = f.value.get(Vt) ?? null, Ot = an[i];
|
|
7792
7792
|
(hn ?? null) !== (Ot ?? null) && Le.push(an);
|
|
7793
7793
|
}
|
|
7794
7794
|
});
|
|
7795
7795
|
const nt = [];
|
|
7796
7796
|
for (const at of I.value) {
|
|
7797
|
-
const
|
|
7798
|
-
|
|
7797
|
+
const Vt = K(at);
|
|
7798
|
+
Vt !== void 0 && nt.push(Vt);
|
|
7799
7799
|
}
|
|
7800
7800
|
return { added: Q, updated: ce, moved: xe, deleted: nt, reparented: Le };
|
|
7801
7801
|
},
|
|
@@ -7960,7 +7960,7 @@ function sf(e, n) {
|
|
|
7960
7960
|
}
|
|
7961
7961
|
const ts = /* @__PURE__ */ Symbol("unsaved.sections");
|
|
7962
7962
|
function uf() {
|
|
7963
|
-
const e =
|
|
7963
|
+
const e = Kt(/* @__PURE__ */ new Map()), n = R(() => {
|
|
7964
7964
|
const t = [];
|
|
7965
7965
|
for (const a of e.values())
|
|
7966
7966
|
for (const l of a.value)
|
|
@@ -8048,8 +8048,8 @@ function ff(e) {
|
|
|
8048
8048
|
const C = new Set(d ?? []), y = c.find((p) => !C.has(p));
|
|
8049
8049
|
if (y === void 0 || !e.isInlineEdit.value) return;
|
|
8050
8050
|
const E = e.findEntry(y);
|
|
8051
|
-
E && (t.value.has(y) || t.value.set(y, Ee(E.data)), n.value.add(y), e.afterAutoOpen?.(y),
|
|
8052
|
-
|
|
8051
|
+
E && (t.value.has(y) || t.value.set(y, Ee(E.data)), n.value.add(y), e.afterAutoOpen?.(y), Ze(() => {
|
|
8052
|
+
Ze(() => {
|
|
8053
8053
|
e.rowsContainer.value?.querySelector(
|
|
8054
8054
|
`${e.rowSelector}[data-id="${CSS.escape(String(y))}"]`
|
|
8055
8055
|
)?.scrollIntoView({ block: "center", behavior: "smooth" });
|
|
@@ -8483,7 +8483,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8483
8483
|
}),
|
|
8484
8484
|
emits: /* @__PURE__ */ tt(["edit", "deleted", "close", "item-saved", "item-expand", "reorder-start", "reorder-cancel", "reorder-applied", "reorder-apply-error", "reorder-end"], ["update:modelValue", "update:mode"]),
|
|
8485
8485
|
setup(e, { expose: n, emit: t }) {
|
|
8486
|
-
const a = e, l = t, o = ct(e, "modelValue"), r = ct(e, "mode"), { t: s } = Ye(), i = Es(), u =
|
|
8486
|
+
const a = e, l = t, o = ct(e, "modelValue"), r = ct(e, "mode"), { t: s } = Ye(), i = Es(), u = zt("rootEl"), { isNarrow: c } = zd(u), d = Hd(), C = jd(), y = {
|
|
8487
8487
|
get: () => o.value,
|
|
8488
8488
|
set: (S) => o.value = S,
|
|
8489
8489
|
factory: a.factory,
|
|
@@ -8507,7 +8507,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8507
8507
|
() => m.retainOwners(P.value.map((S) => S.key)),
|
|
8508
8508
|
{ flush: "post" }
|
|
8509
8509
|
);
|
|
8510
|
-
const A = U(/* @__PURE__ */ new Set()), k = U(/* @__PURE__ */ new Set()), $ = U(/* @__PURE__ */ new Set()), H = U(/* @__PURE__ */ new Set()), I = U(/* @__PURE__ */ new Set()), N = U(/* @__PURE__ */ new Set()), K = oa(null), V =
|
|
8510
|
+
const A = U(/* @__PURE__ */ new Set()), k = U(/* @__PURE__ */ new Set()), $ = U(/* @__PURE__ */ new Set()), H = U(/* @__PURE__ */ new Set()), I = U(/* @__PURE__ */ new Set()), N = U(/* @__PURE__ */ new Set()), K = oa(null), V = zt("rowsContainer"), O = R(() => !a.chips && !!i.item), b = R(() => !a.chips && !!i["item-readonly"]), {
|
|
8511
8511
|
editingKeys: h,
|
|
8512
8512
|
editingSnapshots: v,
|
|
8513
8513
|
clearEditing: w,
|
|
@@ -8624,7 +8624,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8624
8624
|
S.register(G, pe, Be, () => fo()), ua(() => S.unregister(G));
|
|
8625
8625
|
}
|
|
8626
8626
|
}
|
|
8627
|
-
const Et = R(() => re.value && a.showAddButton && !X.value),
|
|
8627
|
+
const Et = R(() => re.value && a.showAddButton && !X.value), Nt = R(
|
|
8628
8628
|
() => re.value && (X.value || a.chips) && !d.value && !a.disableDrag
|
|
8629
8629
|
), co = R(
|
|
8630
8630
|
() => a.addLabel ? s(a.addLabel) : s("common.sortable.add")
|
|
@@ -8636,7 +8636,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8636
8636
|
() => !a.chips && !a.embedded && a.showReorderToggle && !X.value && o.value.length > 0
|
|
8637
8637
|
), Ae = R(() => !!a.title && c.value), ze = p.unsavedCount, nt = R(() => !a.readonly && ze.value > 0), at = R(
|
|
8638
8638
|
() => !!(a.title || i.header || i["reorder-toggle"] || Le.value || X.value && !a.embedded || !X.value && nt.value)
|
|
8639
|
-
),
|
|
8639
|
+
), Vt = R(
|
|
8640
8640
|
() => !!(a.title || i.header || i["reorder-toggle"] || i["view-body"])
|
|
8641
8641
|
), an = R(() => !!a.onItemSave), xt = (S) => {
|
|
8642
8642
|
k.value.add(S), N.value.add(S);
|
|
@@ -8738,7 +8738,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8738
8738
|
ghostClass: If,
|
|
8739
8739
|
chosenClass: $f,
|
|
8740
8740
|
dragClass: Ff,
|
|
8741
|
-
disabled: !
|
|
8741
|
+
disabled: !Nt.value,
|
|
8742
8742
|
// Own `onUpdate` REPLACES vueuse's default array-move, which moved the array
|
|
8743
8743
|
// and renumbered positions in separate `nextTick`s — a gap that let a
|
|
8744
8744
|
// consumer's "sort by position" watch re-sort on stale positions and revert
|
|
@@ -8756,9 +8756,13 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8756
8756
|
}
|
|
8757
8757
|
}
|
|
8758
8758
|
});
|
|
8759
|
-
_e(
|
|
8760
|
-
|
|
8761
|
-
|
|
8759
|
+
_e(
|
|
8760
|
+
[Nt, V],
|
|
8761
|
+
async () => {
|
|
8762
|
+
await Ze(), ss.option("disabled", !Nt.value);
|
|
8763
|
+
},
|
|
8764
|
+
{ flush: "post" }
|
|
8765
|
+
);
|
|
8762
8766
|
const Vn = () => {
|
|
8763
8767
|
Et.value && (le(), p.addItem(void 0, void 0));
|
|
8764
8768
|
}, vo = (S) => {
|
|
@@ -8968,10 +8972,10 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8968
8972
|
"a-sortable-list-editor--readonly": e.readonly,
|
|
8969
8973
|
"a-sortable-list-editor--disabled": e.disabled,
|
|
8970
8974
|
"a-sortable-list-editor--touch": L(d),
|
|
8971
|
-
"a-sortable-list-editor--drag-enabled":
|
|
8975
|
+
"a-sortable-list-editor--drag-enabled": Nt.value,
|
|
8972
8976
|
"a-sortable-list-editor--chips": e.chips,
|
|
8973
8977
|
"a-sortable-list-editor--embedded": e.embedded,
|
|
8974
|
-
"a-sortable-list-editor--header-floating": !e.embedded && !e.chips && !
|
|
8978
|
+
"a-sortable-list-editor--header-floating": !e.embedded && !e.chips && !Vt.value && at.value
|
|
8975
8979
|
}
|
|
8976
8980
|
]])
|
|
8977
8981
|
}, [
|
|
@@ -9125,7 +9129,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9125
9129
|
class: "a-le-row-header",
|
|
9126
9130
|
onClick: (ye) => is(q)
|
|
9127
9131
|
}, [
|
|
9128
|
-
|
|
9132
|
+
Nt.value ? (_(), te(Mf, { key: 0 })) : ve("", !0),
|
|
9129
9133
|
Ie("div", Hf, [
|
|
9130
9134
|
ke(S.$slots, "item-compact", Xe({ ref_for: !0 }, Gt(q)), () => [
|
|
9131
9135
|
Ie("span", jf, ie(ul(q.raw)), 1)
|
|
@@ -9143,7 +9147,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9143
9147
|
Ie("div", Wf, [
|
|
9144
9148
|
ke(S.$slots, "item-actions", Xe({ ref_for: !0 }, Gt(q)), () => [
|
|
9145
9149
|
e.chips && re.value ? (_(), de(We, { key: 0 }, [
|
|
9146
|
-
(!
|
|
9150
|
+
(!Nt.value || L(C)) && !e.disableReorder ? (_(), de(We, { key: 0 }, [
|
|
9147
9151
|
x(Pe, {
|
|
9148
9152
|
icon: "",
|
|
9149
9153
|
size: "x-small",
|
|
@@ -9668,7 +9672,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9668
9672
|
const Be = await a.fetchItemsByIds(pe);
|
|
9669
9673
|
if ($e(Be) && Be.length > 0) {
|
|
9670
9674
|
if (h.value = Be, a.multiple) {
|
|
9671
|
-
const Et = Be.map((
|
|
9675
|
+
const Et = Be.map((Nt) => Nt.value);
|
|
9672
9676
|
return c.value = Et, oe && await he("force", Et), B.value = !1, !0;
|
|
9673
9677
|
}
|
|
9674
9678
|
return c.value = Be[0].value, oe && await he("force", Be[0].value), B.value = !1, !0;
|
|
@@ -9880,7 +9884,7 @@ export {
|
|
|
9880
9884
|
nv as Z,
|
|
9881
9885
|
Go as _,
|
|
9882
9886
|
ao as a,
|
|
9883
|
-
|
|
9887
|
+
Mr as a$,
|
|
9884
9888
|
Ei as a0,
|
|
9885
9889
|
ac as a1,
|
|
9886
9890
|
He as a2,
|
|
@@ -9917,7 +9921,7 @@ export {
|
|
|
9917
9921
|
yd as aX,
|
|
9918
9922
|
Wr as aY,
|
|
9919
9923
|
Nv as aZ,
|
|
9920
|
-
|
|
9924
|
+
Yv as a_,
|
|
9921
9925
|
ha as aa,
|
|
9922
9926
|
On as ab,
|
|
9923
9927
|
pa as ac,
|
|
@@ -9945,122 +9949,121 @@ export {
|
|
|
9945
9949
|
Bt as ay,
|
|
9946
9950
|
tl as az,
|
|
9947
9951
|
jn as b,
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
9952
|
+
rf as b$,
|
|
9953
|
+
fv as b0,
|
|
9954
|
+
wr as b1,
|
|
9955
|
+
Ki as b2,
|
|
9956
|
+
Yi as b3,
|
|
9957
|
+
Nm as b4,
|
|
9958
|
+
mv as b5,
|
|
9959
|
+
rv as b6,
|
|
9960
|
+
pi as b7,
|
|
9961
|
+
yi as b8,
|
|
9962
|
+
Il as b9,
|
|
9963
|
+
ou as bA,
|
|
9964
|
+
tu as bB,
|
|
9965
|
+
Ji as bC,
|
|
9966
|
+
Cc as bD,
|
|
9967
|
+
Av as bE,
|
|
9968
|
+
xv as bF,
|
|
9969
|
+
Ti as bG,
|
|
9970
|
+
zm as bH,
|
|
9971
|
+
Ym as bI,
|
|
9972
|
+
hr as bJ,
|
|
9973
|
+
Lm as bK,
|
|
9974
|
+
Vm as bL,
|
|
9975
|
+
ti as bM,
|
|
9976
|
+
Um as bN,
|
|
9977
|
+
Dv as bO,
|
|
9978
|
+
yv as bP,
|
|
9979
|
+
pr as bQ,
|
|
9980
|
+
tv as bR,
|
|
9981
|
+
sv as bS,
|
|
9982
|
+
Cv as bT,
|
|
9983
|
+
Lt as bU,
|
|
9984
|
+
Dt as bV,
|
|
9985
|
+
Ar as bW,
|
|
9986
|
+
cc as bX,
|
|
9987
|
+
mc as bY,
|
|
9988
|
+
Mi as bZ,
|
|
9989
|
+
pc as b_,
|
|
9990
|
+
Ma as ba,
|
|
9991
|
+
Ml as bb,
|
|
9992
|
+
bu as bc,
|
|
9993
|
+
zv as bd,
|
|
9994
|
+
Yl as be,
|
|
9995
|
+
Dd as bf,
|
|
9996
|
+
gr as bg,
|
|
9997
|
+
av as bh,
|
|
9998
|
+
lo as bi,
|
|
9999
|
+
oo as bj,
|
|
10000
|
+
vv as bk,
|
|
10001
|
+
ji as bl,
|
|
10002
|
+
pv as bm,
|
|
10003
|
+
hv as bn,
|
|
10004
|
+
Zo as bo,
|
|
10005
|
+
Ev as bp,
|
|
10006
|
+
pu as bq,
|
|
10007
|
+
gv as br,
|
|
10008
|
+
kv as bs,
|
|
10009
|
+
wv as bt,
|
|
10010
|
+
Sv as bu,
|
|
10011
|
+
bv,
|
|
10012
|
+
hu as bw,
|
|
10013
|
+
No as bx,
|
|
10014
|
+
_v as by,
|
|
10015
|
+
Gi as bz,
|
|
10012
10016
|
to as c,
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
-
|
|
10028
|
-
|
|
10029
|
-
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
Ec as cz,
|
|
10017
|
+
Jr as c0,
|
|
10018
|
+
lf as c1,
|
|
10019
|
+
ff as c2,
|
|
10020
|
+
qd as c3,
|
|
10021
|
+
df as c4,
|
|
10022
|
+
cf as c5,
|
|
10023
|
+
vf as c6,
|
|
10024
|
+
Cf as c7,
|
|
10025
|
+
Af as c8,
|
|
10026
|
+
pf as c9,
|
|
10027
|
+
qo as cA,
|
|
10028
|
+
Kd as cB,
|
|
10029
|
+
Wd as cC,
|
|
10030
|
+
Yn as cD,
|
|
10031
|
+
tf as cE,
|
|
10032
|
+
Fr as cF,
|
|
10033
|
+
Ed as cG,
|
|
10034
|
+
sf as ca,
|
|
10035
|
+
mf as cb,
|
|
10036
|
+
Mf as cc,
|
|
10037
|
+
zd as cd,
|
|
10038
|
+
Hd as ce,
|
|
10039
|
+
Vv as cf,
|
|
10040
|
+
af as cg,
|
|
10041
|
+
hf as ch,
|
|
10042
|
+
xf as ci,
|
|
10043
|
+
yf as cj,
|
|
10044
|
+
Ff as ck,
|
|
10045
|
+
$f as cl,
|
|
10046
|
+
If as cm,
|
|
10047
|
+
Uv as cn,
|
|
10048
|
+
Gd as co,
|
|
10049
|
+
kc as cp,
|
|
10050
|
+
Dc as cq,
|
|
10051
|
+
Ld as cr,
|
|
10052
|
+
sl as cs,
|
|
10053
|
+
ar as ct,
|
|
10054
|
+
_t as cu,
|
|
10055
|
+
dn as cv,
|
|
10056
|
+
xc as cw,
|
|
10057
|
+
ja as cx,
|
|
10058
|
+
Ec as cy,
|
|
10059
|
+
Qr as cz,
|
|
10057
10060
|
F as d,
|
|
10058
10061
|
no as e,
|
|
10059
10062
|
xn as f,
|
|
10060
10063
|
Ee as g,
|
|
10061
10064
|
se as h,
|
|
10062
10065
|
Ue as i,
|
|
10063
|
-
|
|
10066
|
+
jt as j,
|
|
10064
10067
|
iv as k,
|
|
10065
10068
|
Xo as l,
|
|
10066
10069
|
Nn as m,
|
|
@@ -10078,4 +10081,4 @@ export {
|
|
|
10078
10081
|
fr as y,
|
|
10079
10082
|
mr as z
|
|
10080
10083
|
};
|
|
10081
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
10084
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs.map
|