@anzusystems/common-admin 1.47.0-beta.dev-1777971796 → 1.47.0-beta.dev-1777971797
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-1FJ-5Ucu.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs} +99 -89
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-1FJ-5Ucu.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs.map} +1 -1
- package/dist/common-admin.js +4 -4
- package/dist/{index-IOlOPejE.mjs → index-BYrVH8OR.mjs} +5605 -5534
- package/dist/index-BYrVH8OR.mjs.map +1 -0
- package/dist/labs.js +15 -10
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-Qc8W7Rge.mjs → webfontloader-CMEOWFcG.mjs} +2 -2
- package/dist/{webfontloader-Qc8W7Rge.mjs.map → webfontloader-CMEOWFcG.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/index-IOlOPejE.mjs.map +0 -1
package/dist/labs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bS as Cn, d as pe, j as Ue, k as Ra, a1 as Ka, h as ft, i as Tt, aj as xn, ak as An, al as Sn, am as Pn, ag as Et, aZ as In, aa as Dn, ab as Tn, ac as En, ad as $n, an as Fn, ao as Bn, ae as Rn, af as Kn, bT as Vn, bU as Ln, bd as Mn, bV as Va, as as zn, bW as Yt, ap as La, aq as Ma, aU as za, b1 as Na, ar as Oa, E as Ua, a8 as ja, a2 as qa, bX as Ga, q as Ha, p as Ja, x as Wa, a7 as Ya, aI as Xa, m as Nn, bY as Qa, l as Za, bZ as _a, b_ as On, b$ as Un, c0 as jn, c1 as qn, c2 as Gn, c3 as Hn, c4 as Jn, c5 as Wn, c6 as Yn, c7 as Xn, g as Ce, c8 as eo, _ as to, c9 as no, ca as ao, cb as oo, cc as lo, aT as io, cd as so, ce as ro, cf as co, z as uo } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { aE as Di, cg as Ti, ch as Ei, aA as $i, aB as Fi, aD as Bi, aF as Ri, aC as Ki, aR as Vi, aJ as Li, ba as Mi, aW as zi, aG as Ni, aH as Oi, ay as Ui, az as ji, ci as qi, cj as Gi, ck as Hi, cl as Ji, cm as Wi, cn as Yi, co as Xi, ai as Qi, ah as Zi, cp as _i, cq as es, cr as ts, cs as ns } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { bS as Cn, d as pe, j as Ue, k as Ra, a1 as Ka, h as ft, i as Tt, aj as xn, ak as An, al as Sn, am as Pn, ag as Et, aZ as In, aa as Dn, ab as Tn, ac as En, ad as $n, an as Fn, ao as Bn, ae as Rn, af as Kn, bT as Vn, bU as Ln, bd as Mn, bV as Va, as as zn, bW as Yt, ap as La, aq as Ma, aU as za, b1 as Na, ar as Oa, E as Ua, a8 as ja, a2 as qa, bX as Ga, q as Ha, p as Ja, x as Wa, a7 as Ya, aI as Xa, m as Nn, bY as Qa, l as Za, bZ as _a, b_ as On, b$ as Un, c0 as jn, c1 as qn, c2 as Gn, c3 as Hn, c4 as Jn, c5 as Wn, c6 as Yn, c7 as Xn, g as Ce, c8 as eo, _ as to, c9 as no, ca as ao, cb as oo, cc as lo, aT as io, cd as so, ce as ro, cf as co, z as uo } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs";
|
|
2
|
+
import { aE as Di, cg as Ti, ch as Ei, aA as $i, aB as Fi, aD as Bi, aF as Ri, aC as Ki, aR as Vi, aJ as Li, ba as Mi, aW as zi, aG as Ni, aH as Oi, ay as Ui, az as ji, ci as qi, cj as Gi, ck as Hi, cl as Ji, cm as Wi, cn as Yi, co as Xi, ai as Qi, ah as Zi, cp as _i, cq as es, cr as ts, cs as ns } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs";
|
|
3
3
|
import { defineComponent as He, useModel as Ge, inject as Qn, computed as k, watch as Pe, openBlock as g, createElementBlock as M, createElementVNode as z, toDisplayString as B, unref as d, createVNode as i, withCtx as s, createTextVNode as J, Fragment as be, renderList as at, createBlock as X, normalizeClass as xe, mergeModels as Ve, createCommentVNode as G, withModifiers as ae, ref as fe, onMounted as Qt, toRaw as yn, provide as fo, resolveComponent as hn, renderSlot as L, mergeProps as oe, withDirectives as mo, vShow as vo, useSlots as Zn, useTemplateRef as $t, isRef as _n, normalizeStyle as mt, normalizeProps as Ke, guardReactiveProps as qe, shallowRef as Xt, nextTick as Oe, onBeforeUnmount as ea, getCurrentInstance as yo } from "vue";
|
|
4
4
|
import { useI18n as Je } from "vue-i18n";
|
|
5
5
|
import { VBtn as ee } from "vuetify/components/VBtn";
|
|
@@ -823,7 +823,9 @@ const Ko = { class: "d-flex flex-column w-100 px-1 align-center" }, Vo = { class
|
|
|
823
823
|
afterAutoOpen: (o) => {
|
|
824
824
|
O.value.delete(o);
|
|
825
825
|
}
|
|
826
|
-
}), re = k(
|
|
826
|
+
}), re = k(
|
|
827
|
+
() => n.addLabel ? h(n.addLabel) : h("common.sortable.add")
|
|
828
|
+
), _ = k(() => n.emptyTitle ?? h("common.sortable.emptyTitle")), ne = k(() => n.emptyText ?? h("common.sortable.emptyText")), $ = k(
|
|
827
829
|
() => n.deleteConfirmTitle ?? h("common.sortable.deleteConfirmTitle")
|
|
828
830
|
), f = k(
|
|
829
831
|
() => n.deleteConfirmText ?? h("common.sortable.deleteConfirmText")
|
|
@@ -896,7 +898,7 @@ const Ko = { class: "d-flex flex-column w-100 px-1 align-center" }, Vo = { class
|
|
|
896
898
|
O.value.add(N);
|
|
897
899
|
}
|
|
898
900
|
y("item-expand", o, !u);
|
|
899
|
-
}, Be = (o) => n.chips || n.disableRowClick || n.disabled || n.loading ? !1 : !!(o.editing || o.expanded || !n.readonly && n.showEditButton
|
|
901
|
+
}, Be = (o) => n.chips || n.disableRowClick || n.disabled || n.loading ? !1 : !!(o.editing || o.expanded || !n.readonly && n.showEditButton), yt = (o) => {
|
|
900
902
|
if (Be(o)) {
|
|
901
903
|
if (o.editing || o.expanded) {
|
|
902
904
|
et(o);
|
|
@@ -915,7 +917,7 @@ const Ko = { class: "d-flex flex-column w-100 px-1 align-center" }, Vo = { class
|
|
|
915
917
|
onDeleteConfirm: (o) => n.onDeleteConfirm ? n.onDeleteConfirm(o) : !0,
|
|
916
918
|
onDelete: (o) => n.onDelete?.(o),
|
|
917
919
|
onDeleted: (o) => {
|
|
918
|
-
|
|
920
|
+
Q.value.delete(o.key), C.value.delete(o.key), O.value.delete(o.key), y("deleted", o);
|
|
919
921
|
},
|
|
920
922
|
disableDeleteConfirm: () => n.disableDeleteConfirm || n.chips
|
|
921
923
|
}), _e = async (o) => {
|
|
@@ -1240,7 +1242,7 @@ const Ko = { class: "d-flex flex-column w-100 px-1 align-center" }, Vo = { class
|
|
|
1240
1242
|
}, 8, ["disabled", "onClick"])
|
|
1241
1243
|
])) : G("", !0)
|
|
1242
1244
|
])
|
|
1243
|
-
], 64)) :
|
|
1245
|
+
], 64)) : o.$slots["item-readonly"] && (t.readonly || u.expanded) ? (g(), M("div", sl, [
|
|
1244
1246
|
z("div", rl, [
|
|
1245
1247
|
L(o.$slots, "item-readonly", oe({ ref_for: !0 }, De(u)))
|
|
1246
1248
|
])
|
|
@@ -2030,7 +2032,7 @@ const Bt = (t, x) => t.find((v) => v.key === x) ?? null, la = (t, x, v) => {
|
|
|
2030
2032
|
}, 8, ["disabled"])
|
|
2031
2033
|
])) : G("", !0)
|
|
2032
2034
|
])
|
|
2033
|
-
], 64)) : t.vi.expanded && !t.context.reorderMode
|
|
2035
|
+
], 64)) : m.$slots["item-readonly"] && (t.context.readonly || t.vi.expanded) && !t.context.reorderMode ? (g(), M("div", Tl, [
|
|
2034
2036
|
z("div", El, [
|
|
2035
2037
|
L(m.$slots, "item-readonly", Ke(qe(h())))
|
|
2036
2038
|
])
|
|
@@ -2532,7 +2534,9 @@ const Bt = (t, x) => t.find((v) => v.key === x) ?? null, la = (t, x, v) => {
|
|
|
2532
2534
|
reorderApplyError: (e) => y("reorder-apply-error", e),
|
|
2533
2535
|
reorderEnd: () => y("reorder-end")
|
|
2534
2536
|
}
|
|
2535
|
-
}), lt = k(() => A.value && n.showAddButton && !ge.value), Ie = k(() => ge.value && !K.value && !n.disableDrag), _e = k(
|
|
2537
|
+
}), lt = k(() => A.value && n.showAddButton && !ge.value), Ie = k(() => ge.value && !K.value && !n.disableDrag), _e = k(
|
|
2538
|
+
() => n.addLabel ? b(n.addLabel) : b("common.sortable.add")
|
|
2539
|
+
), ht = k(() => n.emptyTitle ?? b("common.sortable.emptyTitle")), pt = k(() => n.emptyText ?? b("common.sortable.emptyText")), et = k(
|
|
2536
2540
|
() => n.deleteConfirmTitle ?? b("common.sortable.deleteConfirmTitle")
|
|
2537
2541
|
), Ye = k(
|
|
2538
2542
|
() => n.deleteConfirmText ?? b("common.sortable.deleteConfirmText")
|
|
@@ -2723,7 +2727,7 @@ const Bt = (t, x) => t.find((v) => v.key === x) ?? null, la = (t, x, v) => {
|
|
|
2723
2727
|
if (n.disabled || n.loading) return;
|
|
2724
2728
|
const l = e.key, a = U.value.has(l);
|
|
2725
2729
|
a ? U.value.delete(l) : U.value.add(l), y("item-expand", e, !a);
|
|
2726
|
-
}, rn = (e) => n.disableRowClick || n.disabled || n.loading || ge.value ? !1 : !!(e.editing || e.expanded || !n.readonly && n.showEditButton
|
|
2730
|
+
}, rn = (e) => n.disableRowClick || n.disabled || n.loading || ge.value ? !1 : !!(e.editing || e.expanded || !n.readonly && n.showEditButton), sa = (e) => {
|
|
2727
2731
|
if (rn(e)) {
|
|
2728
2732
|
if (e.editing || e.expanded) {
|
|
2729
2733
|
rt(e);
|
|
@@ -2742,7 +2746,7 @@ const Bt = (t, x) => t.find((v) => v.key === x) ?? null, la = (t, x, v) => {
|
|
|
2742
2746
|
onDeleteConfirm: (e) => n.onDeleteConfirm ? n.onDeleteConfirm(e) : !0,
|
|
2743
2747
|
onDelete: (e) => n.onDelete?.(e),
|
|
2744
2748
|
onDeleted: (e) => {
|
|
2745
|
-
|
|
2749
|
+
q.value.delete(e.key), ce.value.delete(e.key), U.value.delete(e.key), T.value.delete(e.key), y("deleted", e);
|
|
2746
2750
|
},
|
|
2747
2751
|
disableDeleteConfirm: () => n.disableDeleteConfirm
|
|
2748
2752
|
}), dn = async (e) => {
|
|
@@ -2949,6 +2953,7 @@ const Bt = (t, x) => t.find((v) => v.key === x) ?? null, la = (t, x, v) => {
|
|
|
2949
2953
|
E.moveTo(a.key, e, Z) && (Y(a.key), e !== null && T.value.add(e));
|
|
2950
2954
|
}, Ca = k(() => ({
|
|
2951
2955
|
reorderMode: ge.value,
|
|
2956
|
+
readonly: n.readonly,
|
|
2952
2957
|
canInteract: A.value,
|
|
2953
2958
|
dragEnabled: Ie.value,
|
|
2954
2959
|
showExpandToggle: n.showExpandToggle,
|