@anzusystems/common-admin 1.47.0-beta.dev-1782072599 → 1.47.0-beta.dev-1782072699
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-WyveKd3t.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-B6NCzDJh.mjs} +3035 -3022
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-WyveKd3t.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-B6NCzDJh.mjs.map} +1 -1
- package/dist/common-admin.css +1 -1
- package/dist/common-admin.js +4 -4
- package/dist/{index-BYHpjbRs.mjs → index-s8v2xi94.mjs} +3231 -3218
- package/dist/index-s8v2xi94.mjs.map +1 -0
- package/dist/labs.js +261 -257
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-DdOo7WIX.mjs → webfontloader-ChH7vwIp.mjs} +2 -2
- package/dist/{webfontloader-DdOo7WIX.mjs.map → webfontloader-ChH7vwIp.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/index-BYHpjbRs.mjs.map +0 -1
package/dist/labs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aG as Ka, aH as Ba, d as Ie, bT as Ra, bU as La, bV as An, j as Ze, k as Va, a1 as Ma, h as kt, i as Bt, aj as In, ak as Pn, al as Dn, am as En, ag as Rt, a_ as $n, aa as Tn, ab as Fn, ac as Kn, ad as Bn, an as Rn, ao as Ln, ae as Vn, af as Mn, bW as zn, bX as Nn, be as On, bY as za, as as Un, bZ as Qt, ap as Na, aq as Oa, aV as Ua, b2 as ja, ar as qa, E as Ha, a8 as Ga, a2 as Ja, b_ as Wa, q as Xa, p as Ya, x as Qa, a7 as Za, aI as _a, m as jn, b$ as eo, l as to, c0 as no, c1 as qn, c2 as Hn, c3 as Gn, c4 as Jn, c5 as Wn, c6 as Xn, c7 as Yn, c8 as Qn, c9 as Zn, g as Be, ca as ao, cb as oo, _ as _n, cc as lo, cd as io, ce as so, cf as ro, cg as co, aU as uo, ch as fo, ci as vo, cj as mo, z as yo, ck as ho, cl as go } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { aE as Gi, cm as Ji, cn as Wi, aA as Xi, aB as Yi, aD as Qi, aF as Zi, aC as _i, aS as es, aJ as ts, bb as ns, aO as as, aX as os, ay as ls, az as is, co as ss, cp as rs, cq as ds, cr as cs, cs as us, ct as fs, ai as vs, ah as ms, cu as ys, cv as hs, cw as gs, cx as ps, cy as bs } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { defineComponent as _e, inject as mt, provide as _t, ref as de, openBlock as x, createBlock as te, withModifiers as fe, withCtx as u, renderSlot as
|
|
1
|
+
import { aG as Ka, aH as Ba, d as Ie, bT as Ra, bU as La, bV as An, j as Ze, k as Va, a1 as Ma, h as kt, i as Bt, aj as In, ak as Pn, al as Dn, am as En, ag as Rt, a_ as $n, aa as Tn, ab as Fn, ac as Kn, ad as Bn, an as Rn, ao as Ln, ae as Vn, af as Mn, bW as zn, bX as Nn, be as On, bY as za, as as Un, bZ as Qt, ap as Na, aq as Oa, aV as Ua, b2 as ja, ar as qa, E as Ha, a8 as Ga, a2 as Ja, b_ as Wa, q as Xa, p as Ya, x as Qa, a7 as Za, aI as _a, m as jn, b$ as eo, l as to, c0 as no, c1 as qn, c2 as Hn, c3 as Gn, c4 as Jn, c5 as Wn, c6 as Xn, c7 as Yn, c8 as Qn, c9 as Zn, g as Be, ca as ao, cb as oo, _ as _n, cc as lo, cd as io, ce as so, cf as ro, cg as co, aU as uo, ch as fo, ci as vo, cj as mo, z as yo, ck as ho, cl as go } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-B6NCzDJh.mjs";
|
|
2
|
+
import { aE as Gi, cm as Ji, cn as Wi, aA as Xi, aB as Yi, aD as Qi, aF as Zi, aC as _i, aS as es, aJ as ts, bb as ns, aO as as, aX as os, ay as ls, az as is, co as ss, cp as rs, cq as ds, cr as cs, cs as us, ct as fs, ai as vs, ah as ms, cu as ys, cv as hs, cw as gs, cx as ps, cy as bs } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-B6NCzDJh.mjs";
|
|
3
|
+
import { defineComponent as _e, inject as mt, provide as _t, ref as de, openBlock as x, createBlock as te, withModifiers as fe, withCtx as u, renderSlot as U, useModel as yt, computed as S, watch as $e, createElementBlock as N, createElementVNode as O, toDisplayString as V, unref as y, createVNode as r, createTextVNode as Q, Fragment as xe, renderList as st, normalizeClass as Ue, mergeModels as We, createCommentVNode as _, onMounted as en, toRaw as pn, resolveComponent as bn, mergeProps as ve, withDirectives as po, vShow as bo, useSlots as ea, useTemplateRef as Lt, isRef as ta, toValue as ko, reactive as wo, normalizeProps as Je, guardReactiveProps as at, normalizeStyle as wt, shallowRef as Zt, nextTick as Qe, onBeforeUnmount as tn, getCurrentInstance as na } from "vue";
|
|
4
4
|
import { VForm as Co } from "vuetify/components/VForm";
|
|
5
5
|
import { useI18n as lt } from "vue-i18n";
|
|
6
6
|
import { VBtn as se } from "vuetify/components/VBtn";
|
|
@@ -41,7 +41,7 @@ const $i = /* @__PURE__ */ _e({
|
|
|
41
41
|
onSubmit: fe(m, ["prevent"])
|
|
42
42
|
}, {
|
|
43
43
|
default: u(() => [
|
|
44
|
-
|
|
44
|
+
U(w.$slots, "default")
|
|
45
45
|
]),
|
|
46
46
|
_: 3
|
|
47
47
|
}, 8, ["name"]));
|
|
@@ -133,7 +133,7 @@ const $i = /* @__PURE__ */ _e({
|
|
|
133
133
|
},
|
|
134
134
|
{ immediate: !0 }
|
|
135
135
|
), (g, z) => (x(), N("div", Eo, [
|
|
136
|
-
|
|
136
|
+
O("div", $o, V(y(w)("common.system.datatable.ordering.title")) + ": ", 1),
|
|
137
137
|
r(se, {
|
|
138
138
|
variant: "text",
|
|
139
139
|
rounded: "xl",
|
|
@@ -245,8 +245,8 @@ const $i = /* @__PURE__ */ _e({
|
|
|
245
245
|
_: 1
|
|
246
246
|
}, 8, ["modelValue"])
|
|
247
247
|
])),
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
O("div", Ko, V(D.value) + " - " + V(b.value) + " " + V(y(i)("common.system.datatable.from")) + " " + V(j.value), 1),
|
|
249
|
+
O("div", Bo, [
|
|
250
250
|
r(se, {
|
|
251
251
|
disabled: c.value,
|
|
252
252
|
icon: "mdi-page-first",
|
|
@@ -262,10 +262,10 @@ const $i = /* @__PURE__ */ _e({
|
|
|
262
262
|
onClick: fe(y(z), ["stop"])
|
|
263
263
|
}, null, 8, ["disabled", "onClick"])
|
|
264
264
|
]),
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
O("div", Ro, [
|
|
266
|
+
O("span", null, V(y(n).page), 1)
|
|
267
267
|
]),
|
|
268
|
-
|
|
268
|
+
O("div", Lo, [
|
|
269
269
|
r(se, {
|
|
270
270
|
disabled: I.value,
|
|
271
271
|
icon: "mdi-chevron-right",
|
|
@@ -601,7 +601,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
601
601
|
}), (P, Y) => {
|
|
602
602
|
const ce = bn("ABtnSecondary"), ne = bn("ABtnPrimary");
|
|
603
603
|
return x(), N(xe, null, [
|
|
604
|
-
|
|
604
|
+
U(P.$slots, "activator", {
|
|
605
605
|
props: { onClick: fe(() => g(), ["stop"]) }
|
|
606
606
|
}),
|
|
607
607
|
r(an, ve(P.$attrs, {
|
|
@@ -621,7 +621,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
621
621
|
onOnCancel: q
|
|
622
622
|
}, {
|
|
623
623
|
default: u(() => [
|
|
624
|
-
|
|
624
|
+
U(P.$slots, "title", {}, () => [
|
|
625
625
|
Q(V(y(I)(e.dialogTitleT)), 1)
|
|
626
626
|
])
|
|
627
627
|
]),
|
|
@@ -635,10 +635,10 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
635
635
|
class: "system-border-b subject-select__second-bar"
|
|
636
636
|
}, {
|
|
637
637
|
default: u(() => [
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
638
|
+
U(P.$slots, "second-bar", {}, () => [
|
|
639
|
+
O("div", Uo, [
|
|
640
|
+
O("div", jo, [
|
|
641
|
+
O("div", qo, [
|
|
642
642
|
r(se, {
|
|
643
643
|
icon: "",
|
|
644
644
|
width: 30,
|
|
@@ -662,10 +662,10 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
662
662
|
]),
|
|
663
663
|
_: 1
|
|
664
664
|
}),
|
|
665
|
-
|
|
665
|
+
U(P.$slots, "second-bar-left")
|
|
666
666
|
]),
|
|
667
|
-
|
|
668
|
-
|
|
667
|
+
O("div", Ho, [
|
|
668
|
+
U(P.$slots, "second-bar-right")
|
|
669
669
|
])
|
|
670
670
|
])
|
|
671
671
|
])
|
|
@@ -673,16 +673,16 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
673
673
|
]),
|
|
674
674
|
_: 3
|
|
675
675
|
}),
|
|
676
|
-
|
|
676
|
+
O("div", {
|
|
677
677
|
class: Ue(["subject-select__main", { "subject-select__main--sidebar-active": c.value }])
|
|
678
678
|
}, [
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
679
|
+
O("div", Go, [
|
|
680
|
+
O("div", Jo, [
|
|
681
|
+
U(P.$slots, "filter")
|
|
682
682
|
])
|
|
683
683
|
]),
|
|
684
|
-
|
|
685
|
-
|
|
684
|
+
O("div", Wo, [
|
|
685
|
+
U(P.$slots, "content"),
|
|
686
686
|
e.paginationMode === "more" ? (x(), N("div", Xo, [
|
|
687
687
|
po((x(), te(ce, {
|
|
688
688
|
loading: e.loading,
|
|
@@ -690,7 +690,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
690
690
|
onClick: X
|
|
691
691
|
}, {
|
|
692
692
|
default: u(() => [
|
|
693
|
-
|
|
693
|
+
U(P.$slots, "button-confirm-title", {}, () => [
|
|
694
694
|
Q(V(y(I)("common.button.loadMore")), 1)
|
|
695
695
|
])
|
|
696
696
|
]),
|
|
@@ -712,7 +712,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
712
712
|
}, null, 8, ["modelValue"]))
|
|
713
713
|
])
|
|
714
714
|
], 2),
|
|
715
|
-
|
|
715
|
+
O("div", Yo, [
|
|
716
716
|
e.minCount === e.maxCount ? (x(), N("div", Qo, V(y(I)("common.subjectSelect.texts.pickExactCount", {
|
|
717
717
|
count: e.minCount,
|
|
718
718
|
selected: j.value
|
|
@@ -727,7 +727,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
727
727
|
onClick: fe(B, ["stop"])
|
|
728
728
|
}, {
|
|
729
729
|
default: u(() => [
|
|
730
|
-
|
|
730
|
+
U(P.$slots, "button-confirm-title", {}, () => [
|
|
731
731
|
Q(V(y(I)("common.button.confirm")), 1)
|
|
732
732
|
])
|
|
733
733
|
]),
|
|
@@ -1052,13 +1052,13 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
1052
1052
|
}
|
|
1053
1053
|
]])
|
|
1054
1054
|
}, [
|
|
1055
|
-
|
|
1055
|
+
O("div", {
|
|
1056
1056
|
ref_key: "rowsContainer",
|
|
1057
1057
|
ref: s,
|
|
1058
1058
|
class: "a-le-card"
|
|
1059
1059
|
}, [
|
|
1060
1060
|
ee.value ? (x(), N("div", _o, [
|
|
1061
|
-
|
|
1061
|
+
U(a.$slots, "header", { title: e.title }, () => [
|
|
1062
1062
|
e.title ? (x(), N("h3", el, V(e.title), 1)) : _("", !0)
|
|
1063
1063
|
])
|
|
1064
1064
|
])) : _("", !0),
|
|
@@ -1081,7 +1081,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
1081
1081
|
_: 1
|
|
1082
1082
|
})
|
|
1083
1083
|
])) : Se.value ? (x(), N("div", al, [
|
|
1084
|
-
|
|
1084
|
+
U(a.$slots, "empty", {
|
|
1085
1085
|
readonly: e.readonly,
|
|
1086
1086
|
disabled: e.disabled,
|
|
1087
1087
|
actions: { add: Pe }
|
|
@@ -1095,203 +1095,207 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
1095
1095
|
])
|
|
1096
1096
|
])) : (x(!0), N(xe, { key: 4 }, st(me.value, (p) => (x(), N("div", {
|
|
1097
1097
|
key: String(p.key),
|
|
1098
|
-
"
|
|
1099
|
-
role: "listitem",
|
|
1100
|
-
tabindex: y(Le).rowTabindex(p.key),
|
|
1101
|
-
class: Ue(["a-le-row", {
|
|
1102
|
-
"a-le-row--two-rows": e.twoRows === "always",
|
|
1103
|
-
"a-le-row--editing": p.editing,
|
|
1104
|
-
"a-le-row--expanded": p.expanded,
|
|
1105
|
-
"a-le-row--unsaved": p.unsaved,
|
|
1106
|
-
"a-le-row--clickable": et(p),
|
|
1107
|
-
[`a-le-row--validation-${p.validationState}`]: p.validationState !== null
|
|
1108
|
-
}]),
|
|
1109
|
-
onKeydown: (he) => y(Le).handleKeydown(p.key, he)
|
|
1098
|
+
class: "a-le-row-wrapper"
|
|
1110
1099
|
}, [
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1100
|
+
U(a.$slots, "before-item", ve({ ref_for: !0 }, be(p))),
|
|
1101
|
+
O("div", {
|
|
1102
|
+
"data-id": String(p.key),
|
|
1103
|
+
role: "listitem",
|
|
1104
|
+
tabindex: y(Le).rowTabindex(p.key),
|
|
1105
|
+
class: Ue(["a-le-row", {
|
|
1106
|
+
"a-le-row--two-rows": e.twoRows === "always",
|
|
1107
|
+
"a-le-row--editing": p.editing,
|
|
1108
|
+
"a-le-row--expanded": p.expanded,
|
|
1109
|
+
"a-le-row--unsaved": p.unsaved,
|
|
1110
|
+
"a-le-row--clickable": et(p),
|
|
1111
|
+
[`a-le-row--validation-${p.validationState}`]: p.validationState !== null
|
|
1112
|
+
}]),
|
|
1113
|
+
onKeydown: (he) => y(Le).handleKeydown(p.key, he)
|
|
1115
1114
|
}, [
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
e.chips ? _("", !0) : (x(), N("div", rl, [
|
|
1126
|
-
O(a.$slots, "item-status", ve({ ref_for: !0 }, be(p)), () => [
|
|
1127
|
-
e.statusField && p.raw[e.statusField] != null && p.raw[e.statusField] !== "" ? (x(), N("span", dl, V(p.raw[e.statusField]), 1)) : _("", !0)
|
|
1128
|
-
])
|
|
1129
|
-
])),
|
|
1130
|
-
U("div", cl, [
|
|
1131
|
-
O(a.$slots, "item-actions", ve({ ref_for: !0 }, be(p)), () => [
|
|
1132
|
-
e.chips && e.showDeleteButton && K.value ? (x(), te(se, {
|
|
1115
|
+
O("div", {
|
|
1116
|
+
class: "a-le-row-header",
|
|
1117
|
+
onClick: (he) => Me(p)
|
|
1118
|
+
}, [
|
|
1119
|
+
O("div", il, [
|
|
1120
|
+
U(a.$slots, "item-compact", ve({ ref_for: !0 }, be(p)), () => [
|
|
1121
|
+
O("span", sl, V(Ge(p.raw)), 1)
|
|
1122
|
+
]),
|
|
1123
|
+
p.unsaved ? (x(), te(Yn, {
|
|
1133
1124
|
key: 0,
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
size: "14"
|
|
1146
|
-
})
|
|
1147
|
-
]),
|
|
1148
|
-
_: 1
|
|
1149
|
-
}, 8, ["onClick"])) : (x(), N(xe, { key: 1 }, [
|
|
1150
|
-
e.showEditButton && K.value && !e.defaultExpanded ? (x(), te(se, {
|
|
1125
|
+
"dot-only": e.chips
|
|
1126
|
+
}, null, 8, ["dot-only"])) : _("", !0)
|
|
1127
|
+
]),
|
|
1128
|
+
e.chips ? _("", !0) : (x(), N("div", rl, [
|
|
1129
|
+
U(a.$slots, "item-status", ve({ ref_for: !0 }, be(p)), () => [
|
|
1130
|
+
e.statusField && p.raw[e.statusField] != null && p.raw[e.statusField] !== "" ? (x(), N("span", dl, V(p.raw[e.statusField]), 1)) : _("", !0)
|
|
1131
|
+
])
|
|
1132
|
+
])),
|
|
1133
|
+
O("div", cl, [
|
|
1134
|
+
U(a.$slots, "item-actions", ve({ ref_for: !0 }, be(p)), () => [
|
|
1135
|
+
e.chips && e.showDeleteButton && K.value ? (x(), te(se, {
|
|
1151
1136
|
key: 0,
|
|
1152
1137
|
icon: "",
|
|
1153
|
-
size: "small",
|
|
1154
|
-
variant: "
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
class: "
|
|
1158
|
-
onClick: fe((he) =>
|
|
1138
|
+
size: "x-small",
|
|
1139
|
+
variant: "text",
|
|
1140
|
+
density: "compact",
|
|
1141
|
+
active: !1,
|
|
1142
|
+
class: "a-le-action a-le-action--chip-close",
|
|
1143
|
+
onClick: fe((he) => G(p), ["stop"])
|
|
1159
1144
|
}, {
|
|
1160
1145
|
default: u(() => [
|
|
1161
1146
|
r(re, {
|
|
1162
|
-
icon: "mdi-
|
|
1163
|
-
size: "
|
|
1164
|
-
})
|
|
1165
|
-
r(qe, {
|
|
1166
|
-
activator: "parent",
|
|
1167
|
-
location: "bottom",
|
|
1168
|
-
text: y(w)("common.sortable.edit")
|
|
1169
|
-
}, null, 8, ["text"])
|
|
1147
|
+
icon: "mdi-close",
|
|
1148
|
+
size: "14"
|
|
1149
|
+
})
|
|
1170
1150
|
]),
|
|
1171
1151
|
_: 1
|
|
1172
|
-
}, 8, ["onClick"])) :
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1152
|
+
}, 8, ["onClick"])) : (x(), N(xe, { key: 1 }, [
|
|
1153
|
+
e.showEditButton && K.value && !e.defaultExpanded ? (x(), te(se, {
|
|
1154
|
+
key: 0,
|
|
1155
|
+
icon: "",
|
|
1156
|
+
size: "small",
|
|
1157
|
+
variant: "tonal",
|
|
1158
|
+
color: "primary",
|
|
1159
|
+
density: "comfortable",
|
|
1160
|
+
class: "mx-1 a-le-action a-le-action--edit",
|
|
1161
|
+
onClick: fe((he) => Oe(p), ["stop"])
|
|
1162
|
+
}, {
|
|
1163
|
+
default: u(() => [
|
|
1164
|
+
r(re, {
|
|
1165
|
+
icon: "mdi-pencil-outline",
|
|
1166
|
+
size: "18"
|
|
1167
|
+
}),
|
|
1168
|
+
r(qe, {
|
|
1169
|
+
activator: "parent",
|
|
1170
|
+
location: "bottom",
|
|
1171
|
+
text: y(w)("common.sortable.edit")
|
|
1172
|
+
}, null, 8, ["text"])
|
|
1173
|
+
]),
|
|
1174
|
+
_: 1
|
|
1175
|
+
}, 8, ["onClick"])) : _("", !0),
|
|
1176
|
+
e.showDeleteButton && K.value ? (x(), te(se, {
|
|
1177
|
+
key: 1,
|
|
1178
|
+
icon: "",
|
|
1179
|
+
size: "small",
|
|
1180
|
+
variant: "text",
|
|
1181
|
+
density: "comfortable",
|
|
1182
|
+
class: "mx-1 a-le-action a-le-action--delete",
|
|
1183
|
+
onClick: fe((he) => G(p), ["stop"])
|
|
1184
|
+
}, {
|
|
1185
|
+
default: u(() => [
|
|
1186
|
+
r(re, {
|
|
1187
|
+
icon: "mdi-trash-can-outline",
|
|
1188
|
+
size: "18"
|
|
1189
|
+
}),
|
|
1190
|
+
r(qe, {
|
|
1191
|
+
activator: "parent",
|
|
1192
|
+
location: "bottom",
|
|
1193
|
+
text: y(w)("common.sortable.delete")
|
|
1194
|
+
}, null, 8, ["text"])
|
|
1195
|
+
]),
|
|
1196
|
+
_: 1
|
|
1197
|
+
}, 8, ["onClick"])) : _("", !0),
|
|
1198
|
+
e.showAddAfterAction && K.value ? (x(), te(se, {
|
|
1199
|
+
key: 2,
|
|
1200
|
+
icon: "",
|
|
1201
|
+
size: "small",
|
|
1202
|
+
variant: "text",
|
|
1203
|
+
density: "comfortable",
|
|
1204
|
+
active: !1,
|
|
1205
|
+
class: "mx-1 a-le-action a-le-action--menu"
|
|
1206
|
+
}, {
|
|
1207
|
+
default: u(() => [
|
|
1208
|
+
r(re, {
|
|
1209
|
+
icon: "mdi-dots-vertical",
|
|
1210
|
+
size: "18"
|
|
1211
|
+
}),
|
|
1212
|
+
r(qe, {
|
|
1213
|
+
activator: "parent",
|
|
1214
|
+
location: "bottom",
|
|
1215
|
+
text: y(w)("common.sortable.more")
|
|
1216
|
+
}, null, 8, ["text"]),
|
|
1217
|
+
r(Vt, { activator: "parent" }, {
|
|
1218
|
+
default: u(() => [
|
|
1219
|
+
r(Ct, { density: "compact" }, {
|
|
1220
|
+
default: u(() => [
|
|
1221
|
+
r(je, {
|
|
1222
|
+
onClick: (he) => Ae(p)
|
|
1223
|
+
}, {
|
|
1224
|
+
prepend: u(() => [
|
|
1225
|
+
r(re, { icon: "mdi-plus" })
|
|
1226
|
+
]),
|
|
1227
|
+
default: u(() => [
|
|
1228
|
+
r(He, null, {
|
|
1229
|
+
default: u(() => [
|
|
1230
|
+
Q(V(y(w)("common.sortable.addAfter")), 1)
|
|
1231
|
+
]),
|
|
1232
|
+
_: 1
|
|
1233
|
+
})
|
|
1234
|
+
]),
|
|
1235
|
+
_: 1
|
|
1236
|
+
}, 8, ["onClick"])
|
|
1237
|
+
]),
|
|
1238
|
+
_: 2
|
|
1239
|
+
}, 1024)
|
|
1240
|
+
]),
|
|
1241
|
+
_: 2
|
|
1242
|
+
}, 1024)
|
|
1243
|
+
]),
|
|
1244
|
+
_: 2
|
|
1245
|
+
}, 1024)) : _("", !0)
|
|
1246
|
+
], 64))
|
|
1247
|
+
])
|
|
1248
|
+
])
|
|
1249
|
+
], 8, ll),
|
|
1250
|
+
(p.editing || e.defaultExpanded) && a.$slots.item ? (x(), N(xe, { key: 0 }, [
|
|
1251
|
+
O("div", ul, [
|
|
1252
|
+
O("div", fl, [
|
|
1253
|
+
U(a.$slots, "item", ve({ ref_for: !0 }, be(p)))
|
|
1254
|
+
])
|
|
1255
|
+
]),
|
|
1256
|
+
U(a.$slots, "item-footer", ve({ ref_for: !0 }, be(p)), () => [
|
|
1257
|
+
ue.value && !e.defaultExpanded ? (x(), N("div", vl, [
|
|
1258
|
+
H[1] || (H[1] = O("div", { class: "a-le-row-footer-spacer" }, null, -1)),
|
|
1259
|
+
r(se, {
|
|
1177
1260
|
variant: "text",
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
onClick: fe((he) => G(p), ["stop"])
|
|
1261
|
+
disabled: p.loading,
|
|
1262
|
+
onClick: fe((he) => Z(p), ["stop"])
|
|
1181
1263
|
}, {
|
|
1182
1264
|
default: u(() => [
|
|
1183
|
-
|
|
1184
|
-
icon: "mdi-trash-can-outline",
|
|
1185
|
-
size: "18"
|
|
1186
|
-
}),
|
|
1187
|
-
r(qe, {
|
|
1188
|
-
activator: "parent",
|
|
1189
|
-
location: "bottom",
|
|
1190
|
-
text: y(w)("common.sortable.delete")
|
|
1191
|
-
}, null, 8, ["text"])
|
|
1265
|
+
Q(V(y(w)("common.button.cancel")), 1)
|
|
1192
1266
|
]),
|
|
1193
1267
|
_: 1
|
|
1194
|
-
}, 8, ["
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
active: !1,
|
|
1202
|
-
class: "mx-1 a-le-action a-le-action--menu"
|
|
1268
|
+
}, 8, ["disabled", "onClick"]),
|
|
1269
|
+
r(se, {
|
|
1270
|
+
color: "primary",
|
|
1271
|
+
variant: "flat",
|
|
1272
|
+
"prepend-icon": "mdi-check",
|
|
1273
|
+
disabled: p.loading,
|
|
1274
|
+
onClick: fe((he) => W(p), ["stop"])
|
|
1203
1275
|
}, {
|
|
1204
1276
|
default: u(() => [
|
|
1205
|
-
|
|
1206
|
-
icon: "mdi-dots-vertical",
|
|
1207
|
-
size: "18"
|
|
1208
|
-
}),
|
|
1209
|
-
r(qe, {
|
|
1210
|
-
activator: "parent",
|
|
1211
|
-
location: "bottom",
|
|
1212
|
-
text: y(w)("common.sortable.more")
|
|
1213
|
-
}, null, 8, ["text"]),
|
|
1214
|
-
r(Vt, { activator: "parent" }, {
|
|
1215
|
-
default: u(() => [
|
|
1216
|
-
r(Ct, { density: "compact" }, {
|
|
1217
|
-
default: u(() => [
|
|
1218
|
-
r(je, {
|
|
1219
|
-
onClick: (he) => Ae(p)
|
|
1220
|
-
}, {
|
|
1221
|
-
prepend: u(() => [
|
|
1222
|
-
r(re, { icon: "mdi-plus" })
|
|
1223
|
-
]),
|
|
1224
|
-
default: u(() => [
|
|
1225
|
-
r(He, null, {
|
|
1226
|
-
default: u(() => [
|
|
1227
|
-
Q(V(y(w)("common.sortable.addAfter")), 1)
|
|
1228
|
-
]),
|
|
1229
|
-
_: 1
|
|
1230
|
-
})
|
|
1231
|
-
]),
|
|
1232
|
-
_: 1
|
|
1233
|
-
}, 8, ["onClick"])
|
|
1234
|
-
]),
|
|
1235
|
-
_: 2
|
|
1236
|
-
}, 1024)
|
|
1237
|
-
]),
|
|
1238
|
-
_: 2
|
|
1239
|
-
}, 1024)
|
|
1277
|
+
Q(V(y(w)("common.button.save")), 1)
|
|
1240
1278
|
]),
|
|
1241
|
-
_:
|
|
1242
|
-
},
|
|
1243
|
-
],
|
|
1279
|
+
_: 1
|
|
1280
|
+
}, 8, ["disabled", "onClick"])
|
|
1281
|
+
])) : _("", !0)
|
|
1244
1282
|
])
|
|
1245
|
-
])
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
U("div", ul, [
|
|
1249
|
-
U("div", fl, [
|
|
1250
|
-
O(a.$slots, "item", ve({ ref_for: !0 }, be(p)))
|
|
1283
|
+
], 64)) : a.$slots["item-readonly"] && (e.readonly || p.expanded) ? (x(), N("div", ml, [
|
|
1284
|
+
O("div", yl, [
|
|
1285
|
+
U(a.$slots, "item-readonly", ve({ ref_for: !0 }, be(p)))
|
|
1251
1286
|
])
|
|
1252
|
-
]),
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
variant: "text",
|
|
1258
|
-
disabled: p.loading,
|
|
1259
|
-
onClick: fe((he) => Z(p), ["stop"])
|
|
1260
|
-
}, {
|
|
1261
|
-
default: u(() => [
|
|
1262
|
-
Q(V(y(w)("common.button.cancel")), 1)
|
|
1263
|
-
]),
|
|
1264
|
-
_: 1
|
|
1265
|
-
}, 8, ["disabled", "onClick"]),
|
|
1266
|
-
r(se, {
|
|
1267
|
-
color: "primary",
|
|
1268
|
-
variant: "flat",
|
|
1269
|
-
"prepend-icon": "mdi-check",
|
|
1270
|
-
disabled: p.loading,
|
|
1271
|
-
onClick: fe((he) => W(p), ["stop"])
|
|
1272
|
-
}, {
|
|
1273
|
-
default: u(() => [
|
|
1274
|
-
Q(V(y(w)("common.button.save")), 1)
|
|
1275
|
-
]),
|
|
1276
|
-
_: 1
|
|
1277
|
-
}, 8, ["disabled", "onClick"])
|
|
1278
|
-
])) : _("", !0)
|
|
1279
|
-
])
|
|
1280
|
-
], 64)) : a.$slots["item-readonly"] && (e.readonly || p.expanded) ? (x(), N("div", ml, [
|
|
1281
|
-
U("div", yl, [
|
|
1282
|
-
O(a.$slots, "item-readonly", ve({ ref_for: !0 }, be(p)))
|
|
1283
|
-
])
|
|
1284
|
-
])) : _("", !0),
|
|
1285
|
-
O(a.$slots, "after-item", ve({ ref_for: !0 }, be(p)))
|
|
1286
|
-
], 42, ol))), 128)),
|
|
1287
|
-
J.value && !e.loading && !e.error && !Se.value ? O(a.$slots, "add-button", {
|
|
1287
|
+
])) : _("", !0)
|
|
1288
|
+
], 42, ol),
|
|
1289
|
+
U(a.$slots, "after-item", ve({ ref_for: !0 }, be(p)))
|
|
1290
|
+
]))), 128)),
|
|
1291
|
+
J.value && !e.loading && !e.error && !Se.value ? U(a.$slots, "add-button", {
|
|
1288
1292
|
key: 5,
|
|
1289
1293
|
readonly: e.readonly,
|
|
1290
1294
|
disabled: e.disabled,
|
|
1291
1295
|
props: { onClick: Pe },
|
|
1292
1296
|
actions: { add: Pe }
|
|
1293
1297
|
}, () => [
|
|
1294
|
-
|
|
1298
|
+
O("button", {
|
|
1295
1299
|
type: "button",
|
|
1296
1300
|
class: "a-le-row-add",
|
|
1297
1301
|
onClick: Pe
|
|
@@ -1300,7 +1304,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
1300
1304
|
icon: "mdi-plus",
|
|
1301
1305
|
size: "18"
|
|
1302
1306
|
}),
|
|
1303
|
-
|
|
1307
|
+
O("span", null, V($.value), 1)
|
|
1304
1308
|
])
|
|
1305
1309
|
]) : _("", !0)
|
|
1306
1310
|
], 512),
|
|
@@ -1316,7 +1320,7 @@ const Uo = { class: "d-flex flex-column w-100 px-1 align-center" }, jo = { class
|
|
|
1316
1320
|
onConfirm: y(A),
|
|
1317
1321
|
onCancel: y(L)
|
|
1318
1322
|
}, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
|
|
1319
|
-
|
|
1323
|
+
O("div", hl, V(y(Le).grabbedKey.value !== null ? y(w)("common.sortable.keyboardGrab.status", {
|
|
1320
1324
|
n: y(Le).grabbedIndex.value + 1,
|
|
1321
1325
|
total: y(Le).totalCount.value
|
|
1322
1326
|
}) : ""), 1)
|
|
@@ -1840,7 +1844,8 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
1840
1844
|
tabindex: e.context.keyboardNav ? e.context.keyboardNav.rowTabindex(e.vi.key) : void 0,
|
|
1841
1845
|
onKeydown: c[17] || (c[17] = (h) => e.context.keyboardNav ? e.context.keyboardNav.handleKeydown(e.vi.key, h) : void 0)
|
|
1842
1846
|
}, [
|
|
1843
|
-
U("
|
|
1847
|
+
U(b.$slots, "before-item", Je(at(w()))),
|
|
1848
|
+
O("div", {
|
|
1844
1849
|
class: Ue([
|
|
1845
1850
|
"a-le-row",
|
|
1846
1851
|
e.vi.depth > 0 ? "a-le-row--child" : null,
|
|
@@ -1861,8 +1866,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
1861
1866
|
"--parent-anchor": e.vi.parentKey !== null ? i(e.vi.parentKey) : "none"
|
|
1862
1867
|
})
|
|
1863
1868
|
}, [
|
|
1864
|
-
O(
|
|
1865
|
-
U("div", {
|
|
1869
|
+
O("div", {
|
|
1866
1870
|
class: "a-le-row-header",
|
|
1867
1871
|
onClick: c[14] || (c[14] = (h) => e.callbacks.onRowClick(e.vi))
|
|
1868
1872
|
}, [
|
|
@@ -1883,11 +1887,11 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
1883
1887
|
"aria-label": e.vi.childrenExpanded ? y(n)("common.sortable.close") : y(n)("common.sortable.edit"),
|
|
1884
1888
|
onClick: c[0] || (c[0] = fe((h) => e.vi.hasChildren && e.callbacks.onChevronClick(e.vi), ["stop"]))
|
|
1885
1889
|
}, [...c[18] || (c[18] = [
|
|
1886
|
-
|
|
1890
|
+
O("span", { class: "a-nested-list-editor__tree-toggle-caret" }, null, -1)
|
|
1887
1891
|
])], 10, Pl)) : e.context.showExpandToggle ? (x(), N("span", Dl)) : _("", !0),
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1892
|
+
O("div", El, [
|
|
1893
|
+
U(b.$slots, "item-compact", Je(at(w())), () => [
|
|
1894
|
+
O("span", $l, V(e.context.resolveCompactText(e.vi.raw, e.vi.key)), 1)
|
|
1891
1895
|
]),
|
|
1892
1896
|
e.vi.hasChildren ? (x(), N("span", Tl, [
|
|
1893
1897
|
r(re, {
|
|
@@ -1899,12 +1903,12 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
1899
1903
|
e.vi.unsaved ? (x(), te(Yn, { key: 1 })) : _("", !0)
|
|
1900
1904
|
]),
|
|
1901
1905
|
e.context.reorderMode ? _("", !0) : (x(), N("div", Fl, [
|
|
1902
|
-
|
|
1906
|
+
U(b.$slots, "item-status", Je(at(w())), () => [
|
|
1903
1907
|
e.context.statusField && e.vi.raw[e.context.statusField] != null && e.vi.raw[e.context.statusField] !== "" ? (x(), N("span", Kl, V(e.vi.raw[e.context.statusField]), 1)) : _("", !0)
|
|
1904
1908
|
])
|
|
1905
1909
|
])),
|
|
1906
|
-
|
|
1907
|
-
|
|
1910
|
+
O("div", Bl, [
|
|
1911
|
+
U(b.$slots, "item-actions", Je(at(w())), () => [
|
|
1908
1912
|
e.context.reorderMode ? (x(), N(xe, { key: 0 }, [
|
|
1909
1913
|
r(se, {
|
|
1910
1914
|
icon: "",
|
|
@@ -2220,14 +2224,14 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
2220
2224
|
])
|
|
2221
2225
|
]),
|
|
2222
2226
|
e.vi.editing && !e.context.reorderMode && b.$slots.item ? (x(), N(xe, { key: 0 }, [
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2227
|
+
O("div", Rl, [
|
|
2228
|
+
O("div", Ll, [
|
|
2229
|
+
U(b.$slots, "item", Je(at(w())))
|
|
2226
2230
|
])
|
|
2227
2231
|
]),
|
|
2228
|
-
|
|
2232
|
+
U(b.$slots, "item-footer", Je(at(w())), () => [
|
|
2229
2233
|
e.context.showInlineSaveFooter ? (x(), N("div", Vl, [
|
|
2230
|
-
c[19] || (c[19] =
|
|
2234
|
+
c[19] || (c[19] = O("div", { class: "a-le-row-footer-spacer" }, null, -1)),
|
|
2231
2235
|
r(se, {
|
|
2232
2236
|
variant: "text",
|
|
2233
2237
|
disabled: e.vi.loading,
|
|
@@ -2253,18 +2257,18 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
2253
2257
|
])) : _("", !0)
|
|
2254
2258
|
])
|
|
2255
2259
|
], 64)) : b.$slots["item-readonly"] && (e.context.readonly || e.vi.expanded) && !e.context.reorderMode ? (x(), N("div", Ml, [
|
|
2256
|
-
|
|
2257
|
-
|
|
2260
|
+
O("div", zl, [
|
|
2261
|
+
U(b.$slots, "item-readonly", Je(at(w())))
|
|
2258
2262
|
])
|
|
2259
|
-
])) : _("", !0)
|
|
2260
|
-
O(b.$slots, "after-item", Je(at(w())))
|
|
2263
|
+
])) : _("", !0)
|
|
2261
2264
|
], 6),
|
|
2265
|
+
U(b.$slots, "after-item", Je(at(w()))),
|
|
2262
2266
|
e.vi.hasChildren && e.vi.childrenExpanded ? (x(), N("div", {
|
|
2263
2267
|
key: 0,
|
|
2264
2268
|
class: "a-nested-list-editor__children",
|
|
2265
2269
|
style: wt({ "--parent-depth": e.vi.depth })
|
|
2266
2270
|
}, [
|
|
2267
|
-
|
|
2271
|
+
O("div", {
|
|
2268
2272
|
class: Ue([Ol]),
|
|
2269
2273
|
"data-parent-id": String(e.vi.key)
|
|
2270
2274
|
}, [
|
|
@@ -2277,28 +2281,28 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
2277
2281
|
callbacks: e.callbacks
|
|
2278
2282
|
}, {
|
|
2279
2283
|
item: u((I) => [
|
|
2280
|
-
|
|
2284
|
+
U(b.$slots, "item", ve({ ref_for: !0 }, I))
|
|
2281
2285
|
]),
|
|
2282
2286
|
"item-compact": u((I) => [
|
|
2283
|
-
|
|
2287
|
+
U(b.$slots, "item-compact", ve({ ref_for: !0 }, I))
|
|
2284
2288
|
]),
|
|
2285
2289
|
"item-readonly": u((I) => [
|
|
2286
|
-
|
|
2290
|
+
U(b.$slots, "item-readonly", ve({ ref_for: !0 }, I))
|
|
2287
2291
|
]),
|
|
2288
2292
|
"item-status": u((I) => [
|
|
2289
|
-
|
|
2293
|
+
U(b.$slots, "item-status", ve({ ref_for: !0 }, I))
|
|
2290
2294
|
]),
|
|
2291
2295
|
"item-footer": u((I) => [
|
|
2292
|
-
|
|
2296
|
+
U(b.$slots, "item-footer", ve({ ref_for: !0 }, I))
|
|
2293
2297
|
]),
|
|
2294
2298
|
"item-actions": u((I) => [
|
|
2295
|
-
|
|
2299
|
+
U(b.$slots, "item-actions", ve({ ref_for: !0 }, I))
|
|
2296
2300
|
]),
|
|
2297
2301
|
"before-item": u((I) => [
|
|
2298
|
-
|
|
2302
|
+
U(b.$slots, "before-item", ve({ ref_for: !0 }, I))
|
|
2299
2303
|
]),
|
|
2300
2304
|
"after-item": u((I) => [
|
|
2301
|
-
|
|
2305
|
+
U(b.$slots, "after-item", ve({ ref_for: !0 }, I))
|
|
2302
2306
|
]),
|
|
2303
2307
|
_: 3
|
|
2304
2308
|
}, 8, ["vi", "view-items", "drag-state", "context", "callbacks"]))), 128))
|
|
@@ -2429,8 +2433,8 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
2429
2433
|
density: "compact"
|
|
2430
2434
|
}, {
|
|
2431
2435
|
default: u(() => [
|
|
2432
|
-
|
|
2433
|
-
|
|
2436
|
+
O("strong", null, V(y(m)("common.sortable.changeParent.noTargetsTitle")), 1),
|
|
2437
|
+
O("div", null, V(y(m)("common.sortable.changeParent.noTargetsText")), 1)
|
|
2434
2438
|
]),
|
|
2435
2439
|
_: 1
|
|
2436
2440
|
})
|
|
@@ -2483,7 +2487,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
2483
2487
|
class: "pt-0"
|
|
2484
2488
|
}, {
|
|
2485
2489
|
default: u(() => [
|
|
2486
|
-
|
|
2490
|
+
O("div", jl, V(y(m)("common.sortable.changeParent.placementHeading", {
|
|
2487
2491
|
label: M.value?.label ?? ""
|
|
2488
2492
|
})), 1),
|
|
2489
2493
|
r(Po, {
|
|
@@ -3279,12 +3283,12 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3279
3283
|
}
|
|
3280
3284
|
]])
|
|
3281
3285
|
}, [
|
|
3282
|
-
|
|
3286
|
+
O("div", Gl, [
|
|
3283
3287
|
p.value ? (x(), N("div", Jl, [
|
|
3284
|
-
|
|
3288
|
+
U(t.$slots, "header", ve({ title: e.title }, hn.value), () => [
|
|
3285
3289
|
e.title ? (x(), N("h3", Wl, V(e.title), 1)) : _("", !0),
|
|
3286
|
-
|
|
3287
|
-
y(Me) ?
|
|
3290
|
+
O("div", Xl, [
|
|
3291
|
+
y(Me) ? U(t.$slots, "reorder-toolbar", Je(ve({ key: 0 }, pa.value)), () => [
|
|
3288
3292
|
r(ro, {
|
|
3289
3293
|
class: Ue({ "a-le-toolbar-status--pending": y(Ve) }),
|
|
3290
3294
|
"has-pending-changes": y(Ve),
|
|
@@ -3350,7 +3354,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3350
3354
|
]),
|
|
3351
3355
|
_: 1
|
|
3352
3356
|
}, 8, ["prepend-icon"])) : _("", !0),
|
|
3353
|
-
pe.value ?
|
|
3357
|
+
pe.value ? U(t.$slots, "reorder-toggle", Je(ve({ key: 2 }, hn.value)), () => [
|
|
3354
3358
|
Ce.value ? (x(), te(se, {
|
|
3355
3359
|
key: 0,
|
|
3356
3360
|
variant: "tonal",
|
|
@@ -3410,7 +3414,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3410
3414
|
_: 1
|
|
3411
3415
|
})
|
|
3412
3416
|
])) : Re.value ? (x(), N("div", Zl, [
|
|
3413
|
-
|
|
3417
|
+
U(t.$slots, "empty", {
|
|
3414
3418
|
readonly: e.readonly,
|
|
3415
3419
|
disabled: e.disabled,
|
|
3416
3420
|
actions: { add: ht }
|
|
@@ -3428,7 +3432,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3428
3432
|
ref: v,
|
|
3429
3433
|
class: Ue(["a-nested-list-editor__rows", { "a-nested-list-editor__rows--dragging": Te.value !== null }])
|
|
3430
3434
|
}, [
|
|
3431
|
-
|
|
3435
|
+
O("div", {
|
|
3432
3436
|
class: Ue([wn, "a-nested-list-editor__group--root"]),
|
|
3433
3437
|
"data-parent-id": ""
|
|
3434
3438
|
}, [
|
|
@@ -3441,28 +3445,28 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3441
3445
|
callbacks: Ia
|
|
3442
3446
|
}, {
|
|
3443
3447
|
item: u((R) => [
|
|
3444
|
-
|
|
3448
|
+
U(t.$slots, "item", ve({ ref_for: !0 }, R))
|
|
3445
3449
|
]),
|
|
3446
3450
|
"item-compact": u((R) => [
|
|
3447
|
-
|
|
3451
|
+
U(t.$slots, "item-compact", ve({ ref_for: !0 }, R))
|
|
3448
3452
|
]),
|
|
3449
3453
|
"item-readonly": u((R) => [
|
|
3450
|
-
|
|
3454
|
+
U(t.$slots, "item-readonly", ve({ ref_for: !0 }, R))
|
|
3451
3455
|
]),
|
|
3452
3456
|
"item-status": u((R) => [
|
|
3453
|
-
|
|
3457
|
+
U(t.$slots, "item-status", ve({ ref_for: !0 }, R))
|
|
3454
3458
|
]),
|
|
3455
3459
|
"item-footer": u((R) => [
|
|
3456
|
-
|
|
3460
|
+
U(t.$slots, "item-footer", ve({ ref_for: !0 }, R))
|
|
3457
3461
|
]),
|
|
3458
3462
|
"item-actions": u((R) => [
|
|
3459
|
-
|
|
3463
|
+
U(t.$slots, "item-actions", ve({ ref_for: !0 }, R))
|
|
3460
3464
|
]),
|
|
3461
3465
|
"before-item": u((R) => [
|
|
3462
|
-
|
|
3466
|
+
U(t.$slots, "before-item", ve({ ref_for: !0 }, R))
|
|
3463
3467
|
]),
|
|
3464
3468
|
"after-item": u((R) => [
|
|
3465
|
-
|
|
3469
|
+
U(t.$slots, "after-item", ve({ ref_for: !0 }, R))
|
|
3466
3470
|
]),
|
|
3467
3471
|
_: 3
|
|
3468
3472
|
}, 8, ["vi", "view-items", "drag-state", "context"]))), 128))
|
|
@@ -3477,7 +3481,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3477
3481
|
height: `${nt.value.connector.height}px`
|
|
3478
3482
|
})
|
|
3479
3483
|
}, null, 4)) : _("", !0),
|
|
3480
|
-
|
|
3484
|
+
O("div", {
|
|
3481
3485
|
class: "a-nested-list-editor__drop-line",
|
|
3482
3486
|
style: wt({
|
|
3483
3487
|
top: `${nt.value.line.top}px`,
|
|
@@ -3485,18 +3489,18 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3485
3489
|
right: `${nt.value.line.right}px`
|
|
3486
3490
|
})
|
|
3487
3491
|
}, [...d[3] || (d[3] = [
|
|
3488
|
-
|
|
3492
|
+
O("span", { class: "a-nested-list-editor__drop-line-dot" }, null, -1)
|
|
3489
3493
|
])], 4)
|
|
3490
3494
|
], 64)) : _("", !0)
|
|
3491
3495
|
], 2)),
|
|
3492
|
-
dt.value && !e.loading && !e.error && !Re.value ?
|
|
3496
|
+
dt.value && !e.loading && !e.error && !Re.value ? U(t.$slots, "add-button", {
|
|
3493
3497
|
key: 5,
|
|
3494
3498
|
readonly: e.readonly,
|
|
3495
3499
|
disabled: e.disabled,
|
|
3496
3500
|
props: { onClick: ht },
|
|
3497
3501
|
actions: { add: ht }
|
|
3498
3502
|
}, () => [
|
|
3499
|
-
|
|
3503
|
+
O("button", {
|
|
3500
3504
|
type: "button",
|
|
3501
3505
|
class: "a-le-row-add",
|
|
3502
3506
|
onClick: ht
|
|
@@ -3505,7 +3509,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3505
3509
|
icon: "mdi-plus",
|
|
3506
3510
|
size: "18"
|
|
3507
3511
|
}),
|
|
3508
|
-
|
|
3512
|
+
O("span", null, V(L.value), 1)
|
|
3509
3513
|
])
|
|
3510
3514
|
]) : _("", !0)
|
|
3511
3515
|
]),
|
|
@@ -3540,7 +3544,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3540
3544
|
onConfirm: y(ma),
|
|
3541
3545
|
onCancel: y(ya)
|
|
3542
3546
|
}, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
|
|
3543
|
-
|
|
3547
|
+
O("div", _l, V(y(It).grabbedKey.value !== null ? y(D)("common.sortable.keyboardGrab.status", {
|
|
3544
3548
|
n: y(It).grabbedIndex.value + 1,
|
|
3545
3549
|
total: y(It).totalCount.value
|
|
3546
3550
|
}) : ""), 1)
|
|
@@ -3586,7 +3590,7 @@ const Mt = (e, k) => e.find((l) => l.key === k) ?? null, ra = (e, k, l) => {
|
|
|
3586
3590
|
Q(V(e.body), 1)
|
|
3587
3591
|
], 64)) : e.dirtyLabels.length ? (x(), N(xe, { key: 1 }, [
|
|
3588
3592
|
Q(V(y(i)("common.sortable.unsavedChanges.sectionsIntro")) + " ", 1),
|
|
3589
|
-
|
|
3593
|
+
O("ul", ti, [
|
|
3590
3594
|
(x(!0), N(xe, null, st(e.dirtyLabels, (c, h) => (x(), N("li", { key: h }, V(c), 1))), 128))
|
|
3591
3595
|
]),
|
|
3592
3596
|
Q(" " + V(y(i)("common.sortable.unsavedChanges.leaveQuestion")), 1)
|