@open-xamu-co/ui-components-vue 3.1.0-next.8 → 3.1.0-next.9
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/CHANGELOG.md +15 -0
- package/dist/{index-DGrB5TJj.js → index-BtJc7cX1.js} +4 -4
- package/dist/{index-DQNf7V6R.mjs → index-DTG4ktcY.mjs} +215 -207
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugin.js +1 -1
- package/dist/plugin.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as K, renderSlot as U, createCommentVNode as F, unref as d, inject as ke, createBlock as _, openBlock as f, resolveDynamicComponent as ce, mergeProps as M, computed as z, withCtx as $, createElementBlock as w, Fragment as Q, createTextVNode as pe, toDisplayString as V, normalizeProps as Y, guardReactiveProps as te, watch as me, setBlockTracking as va, createElementVNode as S, renderList as de, normalizeClass as X, createVNode as T, ref as W, onErrorCaptured as Er, onMounted as Ft, onBeforeUnmount as lt, withModifiers as
|
|
1
|
+
import { defineComponent as K, renderSlot as U, createCommentVNode as F, unref as d, inject as ke, createBlock as _, openBlock as f, resolveDynamicComponent as ce, mergeProps as M, computed as z, withCtx as $, createElementBlock as w, Fragment as Q, createTextVNode as pe, toDisplayString as V, normalizeProps as Y, guardReactiveProps as te, watch as me, setBlockTracking as va, createElementVNode as S, renderList as de, normalizeClass as X, createVNode as T, ref as W, onErrorCaptured as Er, onMounted as Ft, onBeforeUnmount as lt, withModifiers as be, normalizeStyle as _t, reactive as fn, getCurrentInstance as Et, Teleport as Ir, withDirectives as ta, vShow as aa, Transition as pn, createSlots as Tt, isRef as Lr, onActivated as cn, onDeactivated as mn, resolveComponent as zr, useSlots as Mr } from "vue";
|
|
2
2
|
import { useUtils as ve, toOption as Ie, useI18n as re, useSwal as It, fileMatchesMimeTypes as Vr, standardImageMimeTypes as Dr, renameFile as jr, getBase64FromImageFile as Ur, timeAgo as qr, useOrderProperty as Hr, isPlainValue as Wr, useSortObject as hn, useForm as vn } from "@open-xamu-co/ui-common-helpers";
|
|
3
3
|
import { u as Z, a as le, b as yn } from "./theme-DVpUQx-w.mjs";
|
|
4
4
|
import { eColors as He, eSizes as Ue, eFormType as G, eFormTypeSimple as Ut } from "@open-xamu-co/ui-common-enums";
|
|
@@ -307,7 +307,7 @@ var Zr = {
|
|
|
307
307
|
œ: "oe",
|
|
308
308
|
ʼn: "'n",
|
|
309
309
|
ſ: "s"
|
|
310
|
-
}, Qr = Kr(Zr), gn = typeof global == "object" && global && global.Object === Object && global, Xr = typeof self == "object" && self && self.Object === Object && self,
|
|
310
|
+
}, Qr = Kr(Zr), gn = typeof global == "object" && global && global.Object === Object && global, Xr = typeof self == "object" && self && self.Object === Object && self, we = gn || Xr || Function("return this")(), he = we.Symbol;
|
|
311
311
|
function bn(e, a) {
|
|
312
312
|
for (var t = -1, l = e == null ? 0 : e.length, r = Array(l); ++t < l; )
|
|
313
313
|
r[t] = a(e[t], t, e);
|
|
@@ -603,7 +603,7 @@ function Cn(e) {
|
|
|
603
603
|
var a = Me(e);
|
|
604
604
|
return a == Bl || a == Sl || a == _l || a == Tl;
|
|
605
605
|
}
|
|
606
|
-
var qt =
|
|
606
|
+
var qt = we["__core-js_shared__"], wa = function() {
|
|
607
607
|
var e = /[^.]+$/.exec(qt && qt.keys && qt.keys.IE_PROTO || "");
|
|
608
608
|
return e ? "Symbol(src)_1." + e : "";
|
|
609
609
|
}();
|
|
@@ -640,7 +640,7 @@ function De(e, a) {
|
|
|
640
640
|
var t = Vl(e, a);
|
|
641
641
|
return Ml(t) ? t : void 0;
|
|
642
642
|
}
|
|
643
|
-
var et = De(
|
|
643
|
+
var et = De(we, "Map"), tt = De(Object, "create");
|
|
644
644
|
function Dl() {
|
|
645
645
|
this.__data__ = tt ? tt(null) : {}, this.size = 0;
|
|
646
646
|
}
|
|
@@ -791,7 +791,7 @@ var Bn = Object.prototype, po = Bn.hasOwnProperty, co = Bn.propertyIsEnumerable,
|
|
|
791
791
|
function mo() {
|
|
792
792
|
return !1;
|
|
793
793
|
}
|
|
794
|
-
var Tn = typeof exports == "object" && exports && !exports.nodeType && exports, Ca = Tn && typeof module == "object" && module && !module.nodeType && module, ho = Ca && Ca.exports === Tn, Aa = ho ?
|
|
794
|
+
var Tn = typeof exports == "object" && exports && !exports.nodeType && exports, Ca = Tn && typeof module == "object" && module && !module.nodeType && module, ho = Ca && Ca.exports === Tn, Aa = ho ? we.Buffer : void 0, vo = Aa ? Aa.isBuffer : void 0, kt = vo || mo, yo = 9007199254740991, go = /^(?:0|[1-9]\d*)$/;
|
|
795
795
|
function bo(e, a) {
|
|
796
796
|
var t = typeof e;
|
|
797
797
|
return a = a ?? yo, !!a && (t == "number" || t != "symbol" && go.test(e)) && e > -1 && e % 1 == 0 && e < a;
|
|
@@ -872,7 +872,7 @@ function rs(e) {
|
|
|
872
872
|
function ls(e) {
|
|
873
873
|
return En(e) ? On(e, !0) : rs(e);
|
|
874
874
|
}
|
|
875
|
-
var In = typeof exports == "object" && exports && !exports.nodeType && exports, Ba = In && typeof module == "object" && module && !module.nodeType && module, os = Ba && Ba.exports === In, Sa = os ?
|
|
875
|
+
var In = typeof exports == "object" && exports && !exports.nodeType && exports, Ba = In && typeof module == "object" && module && !module.nodeType && module, os = Ba && Ba.exports === In, Sa = os ? we.Buffer : void 0;
|
|
876
876
|
Sa && Sa.allocUnsafe;
|
|
877
877
|
function ss(e, a) {
|
|
878
878
|
return e.slice();
|
|
@@ -912,7 +912,7 @@ function Ra(e) {
|
|
|
912
912
|
function Dn(e) {
|
|
913
913
|
return Vn(e, ls, ps);
|
|
914
914
|
}
|
|
915
|
-
var Qt = De(
|
|
915
|
+
var Qt = De(we, "DataView"), Xt = De(we, "Promise"), Yt = De(we, "Set"), Jt = De(we, "WeakMap"), ka = "[object Map]", cs = "[object Object]", Pa = "[object Promise]", Oa = "[object Set]", Na = "[object WeakMap]", Fa = "[object DataView]", ms = Ve(Qt), hs = Ve(et), vs = Ve(Xt), ys = Ve(Yt), gs = Ve(Jt), ye = Me;
|
|
916
916
|
(Qt && ye(new Qt(new ArrayBuffer(1))) != Fa || et && ye(new et()) != ka || Xt && ye(Xt.resolve()) != Pa || Yt && ye(new Yt()) != Oa || Jt && ye(new Jt()) != Na) && (ye = function(e) {
|
|
917
917
|
var a = Me(e), t = a == cs ? e.constructor : void 0, l = t ? Ve(t) : "";
|
|
918
918
|
if (l)
|
|
@@ -935,7 +935,7 @@ function $s(e) {
|
|
|
935
935
|
var a = e.length, t = new e.constructor(a);
|
|
936
936
|
return a && typeof e[0] == "string" && ws.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
937
937
|
}
|
|
938
|
-
var Pt =
|
|
938
|
+
var Pt = we.Uint8Array;
|
|
939
939
|
function oa(e) {
|
|
940
940
|
var a = new e.constructor(e.byteLength);
|
|
941
941
|
return new Pt(a).set(new Pt(e)), a;
|
|
@@ -1303,7 +1303,7 @@ function Oe(e) {
|
|
|
1303
1303
|
}) };
|
|
1304
1304
|
});
|
|
1305
1305
|
}
|
|
1306
|
-
const
|
|
1306
|
+
const ge = /* @__PURE__ */ K({
|
|
1307
1307
|
name: "BaseBox",
|
|
1308
1308
|
inheritAttrs: !1,
|
|
1309
1309
|
__name: "Box",
|
|
@@ -1386,7 +1386,7 @@ const we = /* @__PURE__ */ K({
|
|
|
1386
1386
|
class: X(["flx --flxColumn --flx-center", t.$attrs.class])
|
|
1387
1387
|
}, [
|
|
1388
1388
|
S("div", ou, [
|
|
1389
|
-
T(
|
|
1389
|
+
T(ge, M(a, {
|
|
1390
1390
|
el: t.to || t.href ? Pe : void 0,
|
|
1391
1391
|
class: "--width-100",
|
|
1392
1392
|
"with-color": ""
|
|
@@ -1690,7 +1690,7 @@ const ua = /* @__PURE__ */ K({
|
|
|
1690
1690
|
}
|
|
1691
1691
|
});
|
|
1692
1692
|
var Kt = function() {
|
|
1693
|
-
return
|
|
1693
|
+
return we.Date.now();
|
|
1694
1694
|
}, uu = /\s/;
|
|
1695
1695
|
function du(e) {
|
|
1696
1696
|
for (var a = e.length; a-- && uu.test(e.charAt(a)); )
|
|
@@ -1883,7 +1883,7 @@ const wu = {
|
|
|
1883
1883
|
const { target: H } = L;
|
|
1884
1884
|
H.files && (I(L), m(H.files, L));
|
|
1885
1885
|
}
|
|
1886
|
-
return o && (C.value = B()), (L, H) => (f(), _(
|
|
1886
|
+
return o && (C.value = B()), (L, H) => (f(), _(ge, M({
|
|
1887
1887
|
class: "flx --flxColumn --flx-start-stretch --gap-10 --width-100",
|
|
1888
1888
|
button: ""
|
|
1889
1889
|
}, { ...t, theme: v.value.themeValues }), {
|
|
@@ -1898,7 +1898,7 @@ const wu = {
|
|
|
1898
1898
|
class: "avatar --index --bdr flx --flx-center",
|
|
1899
1899
|
tooltip: d(r)("file_delete_files", 1),
|
|
1900
1900
|
"tooltip-position": "bottom",
|
|
1901
|
-
onClick:
|
|
1901
|
+
onClick: be((fe) => d(N)(x), ["prevent"])
|
|
1902
1902
|
}, {
|
|
1903
1903
|
default: $(() => [
|
|
1904
1904
|
S("div", Cu, [
|
|
@@ -1942,7 +1942,7 @@ const wu = {
|
|
|
1942
1942
|
disabled: L.disabled
|
|
1943
1943
|
}, { onChange: D }), {
|
|
1944
1944
|
default: $(({ id: J }) => [
|
|
1945
|
-
O.value ? (f(), _(
|
|
1945
|
+
O.value ? (f(), _(ge, {
|
|
1946
1946
|
key: 1,
|
|
1947
1947
|
class: "flx --flxRow --flx-center",
|
|
1948
1948
|
theme: v.value.themeValues,
|
|
@@ -1955,7 +1955,7 @@ const wu = {
|
|
|
1955
1955
|
]),
|
|
1956
1956
|
_: 1
|
|
1957
1957
|
}, 8, ["theme", "size"])) : (f(), w(Q, { key: 0 }, [
|
|
1958
|
-
P.value.length < g.value ? (f(), _(
|
|
1958
|
+
P.value.length < g.value ? (f(), _(ge, {
|
|
1959
1959
|
key: 0,
|
|
1960
1960
|
for: J,
|
|
1961
1961
|
class: "flx --flxColumn --flx-center --minHeight-90",
|
|
@@ -1986,7 +1986,7 @@ const wu = {
|
|
|
1986
1986
|
])
|
|
1987
1987
|
]),
|
|
1988
1988
|
_: 2
|
|
1989
|
-
}, 1032, ["for", "size", "theme", "transparent"])) : (f(), _(
|
|
1989
|
+
}, 1032, ["for", "size", "theme", "transparent"])) : (f(), _(ge, {
|
|
1990
1990
|
key: 1,
|
|
1991
1991
|
class: "flx --flxRow --flx-center",
|
|
1992
1992
|
theme: v.value.themeValues,
|
|
@@ -1999,7 +1999,7 @@ const wu = {
|
|
|
1999
1999
|
T(ue, {
|
|
2000
2000
|
theme: v.value.themeValues,
|
|
2001
2001
|
"aria-label": d(r)("file_delete_files", g.value),
|
|
2002
|
-
onClick: H[0] || (H[0] =
|
|
2002
|
+
onClick: H[0] || (H[0] = be((x) => b(), ["prevent"]))
|
|
2003
2003
|
}, {
|
|
2004
2004
|
default: $(() => [
|
|
2005
2005
|
pe(V(d(r)("file_delete_files", g.value)), 1)
|
|
@@ -2352,7 +2352,7 @@ const xu = ["for"], ed = {
|
|
|
2352
2352
|
disabled: h.disabled,
|
|
2353
2353
|
"aria-label": d(r)("select_restablish_field"),
|
|
2354
2354
|
title: d(r)("select_restablish_field"),
|
|
2355
|
-
onClick:
|
|
2355
|
+
onClick: be(u, ["prevent"])
|
|
2356
2356
|
}, {
|
|
2357
2357
|
default: $(() => [
|
|
2358
2358
|
T(q, {
|
|
@@ -3207,7 +3207,7 @@ const _d = /* @__PURE__ */ Ze(Ad), Bd = { class: "flx --flxColumn --flx-center -
|
|
|
3207
3207
|
T(se, {
|
|
3208
3208
|
theme: d(i),
|
|
3209
3209
|
"aria-label": C.value.title,
|
|
3210
|
-
onClick: B[0] || (B[0] =
|
|
3210
|
+
onClick: B[0] || (B[0] = be(() => O(), ["stop"]))
|
|
3211
3211
|
}, {
|
|
3212
3212
|
default: $(() => [
|
|
3213
3213
|
T(q, {
|
|
@@ -3272,7 +3272,7 @@ const _d = /* @__PURE__ */ Ze(Ad), Bd = { class: "flx --flxColumn --flx-center -
|
|
|
3272
3272
|
class: X(C.value.btnClass),
|
|
3273
3273
|
"data-dismiss": "modal",
|
|
3274
3274
|
round: ":sm-inv",
|
|
3275
|
-
onClick: B[2] || (B[2] =
|
|
3275
|
+
onClick: B[2] || (B[2] = be(() => O(), ["stop"]))
|
|
3276
3276
|
}, {
|
|
3277
3277
|
default: $(() => [
|
|
3278
3278
|
T(q, {
|
|
@@ -3634,7 +3634,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
3634
3634
|
}), gf = {
|
|
3635
3635
|
key: 1,
|
|
3636
3636
|
class: "flx --flxRow --flx-start-center --gap-10"
|
|
3637
|
-
}, bf = ["title"], wf = ["data-column-name", "data-column"], $f = ["data-column"], Cf = { class: "flx --flxRow --flx-center --gap-10" }, Af = { class: "flx --flxColumn --flx-start-stretch --gap-10" }, _f = { key: 0 }, Bf = { key: 1 }, Sf = { class: "no--hover --width-100" }, Tf = ["colspan"], Rf = { class: "
|
|
3637
|
+
}, bf = ["title"], wf = ["data-column-name", "data-column"], $f = ["data-column"], Cf = { class: "flx --flxRow --flx-center --gap-10" }, Af = { class: "flx --flxColumn --flx-start-stretch --gap-10" }, _f = { key: 0 }, Bf = { key: 1 }, Sf = { class: "no--hover --width-100" }, Tf = ["colspan"], Rf = { class: "no--hover" }, kf = { class: "--sticky --pX-10 --pY-5 --vAlign" }, Pf = { class: "flx --flxRow --flx-end-center --gap-10 --bdr" }, Of = { key: 0 }, Nf = ["colspan"], Ff = { class: "--width-100 --pRight --boxSizing --overflow-hidden" }, Ef = /* @__PURE__ */ K({
|
|
3638
3638
|
name: "TableBody",
|
|
3639
3639
|
inheritAttrs: !1,
|
|
3640
3640
|
__name: "Body",
|
|
@@ -3865,23 +3865,31 @@ const Ar = /* @__PURE__ */ K({
|
|
|
3865
3865
|
S("td", {
|
|
3866
3866
|
colspan: n.propertiesMeta.length + 2
|
|
3867
3867
|
}, [
|
|
3868
|
-
ta(
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3868
|
+
ta(T(ge, {
|
|
3869
|
+
theme: n.theme || d(l),
|
|
3870
|
+
transparent: "",
|
|
3871
|
+
button: "",
|
|
3872
|
+
solid: ""
|
|
3873
|
+
}, {
|
|
3874
|
+
default: $(() => [
|
|
3875
|
+
U(n.$slots, "default", M({ ref_for: !0 }, {
|
|
3876
|
+
node: s,
|
|
3877
|
+
updateNodeAndRefresh: n.updateNodeAndRefresh,
|
|
3878
|
+
cloneNodeAndRefresh: n.cloneNodeAndRefresh,
|
|
3879
|
+
deleteNodeAndRefresh: n.deleteNodeAndRefresh,
|
|
3880
|
+
deleteNodesAndRefresh: n.deleteNodesAndRefresh,
|
|
3881
|
+
show: o.value[c].show
|
|
3882
|
+
}))
|
|
3883
|
+
]),
|
|
3884
|
+
_: 2
|
|
3885
|
+
}, 1032, ["theme"]), [
|
|
3878
3886
|
[aa, o.value[c].show]
|
|
3879
3887
|
])
|
|
3880
3888
|
], 8, Tf)
|
|
3881
3889
|
]),
|
|
3882
|
-
S("tr",
|
|
3883
|
-
S("th",
|
|
3884
|
-
S("div",
|
|
3890
|
+
S("tr", Rf, [
|
|
3891
|
+
S("th", kf, [
|
|
3892
|
+
S("div", Pf, [
|
|
3885
3893
|
T(se, {
|
|
3886
3894
|
theme: n.theme || d(l),
|
|
3887
3895
|
size: n.size,
|
|
@@ -3898,7 +3906,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
3898
3906
|
onClick: () => n.toggleChildren(c)
|
|
3899
3907
|
}, {
|
|
3900
3908
|
default: $(() => [
|
|
3901
|
-
o.value[c].childrenCount >= 1 ? (f(), w("span",
|
|
3909
|
+
o.value[c].childrenCount >= 1 ? (f(), w("span", Of, V(o.value[c].childrenCount), 1)) : F("", !0),
|
|
3902
3910
|
T(q, {
|
|
3903
3911
|
name: "chevron-down",
|
|
3904
3912
|
indicator: ""
|
|
@@ -3931,34 +3939,34 @@ const Ar = /* @__PURE__ */ K({
|
|
|
3931
3939
|
colspan: n.propertiesMeta.length + 1,
|
|
3932
3940
|
class: "--pY-5 --index-1 --pRight"
|
|
3933
3941
|
}, [
|
|
3934
|
-
S("div",
|
|
3942
|
+
S("div", Ff, [
|
|
3935
3943
|
S("hr", {
|
|
3936
3944
|
class: X(`--tm-${d(l)[0]}`)
|
|
3937
3945
|
}, null, 2)
|
|
3938
3946
|
])
|
|
3939
|
-
], 8,
|
|
3947
|
+
], 8, Nf)
|
|
3940
3948
|
])
|
|
3941
3949
|
], 64)) : F("", !0)
|
|
3942
3950
|
], 64))), 128))
|
|
3943
3951
|
], 2)) : F("", !0);
|
|
3944
3952
|
}
|
|
3945
|
-
}),
|
|
3953
|
+
}), If = {
|
|
3946
3954
|
key: 0,
|
|
3947
3955
|
class: "no--hover"
|
|
3948
|
-
},
|
|
3956
|
+
}, Lf = ["colspan"], zf = ["id"], Mf = { class: "no--hover" }, Vf = {
|
|
3949
3957
|
key: 0,
|
|
3950
3958
|
class: "--sticky --pBottom-10"
|
|
3951
|
-
},
|
|
3959
|
+
}, Df = { class: "flx --flxRow --flx-start-center --gap-10 --gap:md --flx" }, jf = { class: "--hidden-full:sm-inv" }, Uf = ["colspan"], qf = {
|
|
3952
3960
|
key: 1,
|
|
3953
3961
|
class: "--sticky --pBottom-10",
|
|
3954
3962
|
colspan: "0",
|
|
3955
3963
|
width: "1px"
|
|
3956
|
-
},
|
|
3964
|
+
}, Hf = { class: "flx --flxRow --flx-end-center --gap-10 --gap:md --flx" }, Wf = { class: "--hidden-full:sm-inv" }, Gf = { class: "flx --flxRow --flx-start-center --gap-10" }, Kf = { key: 1 }, Zf = ["data-column-name", "data-column", "width"], Qf = ["title"], Xf = {
|
|
3957
3965
|
key: 1,
|
|
3958
3966
|
class: "--sticky --txtAlign-center",
|
|
3959
3967
|
"data-column-name": "modify",
|
|
3960
3968
|
"data-column": "modify"
|
|
3961
|
-
},
|
|
3969
|
+
}, Yf = /* @__PURE__ */ K({
|
|
3962
3970
|
name: "TableHead",
|
|
3963
3971
|
inheritAttrs: !1,
|
|
3964
3972
|
__name: "Head",
|
|
@@ -4008,7 +4016,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4008
4016
|
setup(e) {
|
|
4009
4017
|
const a = e, { t } = Z(re), { themeClasses: l, themeValues: r, dangerThemeValues: o } = le(a);
|
|
4010
4018
|
return (n, i) => (f(), w("thead", null, [
|
|
4011
|
-
!n.isReadOnly && n.nodes.length > 1 || n.withDefaultSlot || n.$slots.headActions ? (f(), w("tr",
|
|
4019
|
+
!n.isReadOnly && n.nodes.length > 1 || n.withDefaultSlot || n.$slots.headActions ? (f(), w("tr", If, [
|
|
4012
4020
|
S("td", {
|
|
4013
4021
|
colspan: n.propertiesMeta.length + 2
|
|
4014
4022
|
}, [
|
|
@@ -4017,9 +4025,9 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4017
4025
|
class: X(["tbl tbl-helper", d(l)])
|
|
4018
4026
|
}, [
|
|
4019
4027
|
S("tbody", null, [
|
|
4020
|
-
S("tr",
|
|
4021
|
-
n.withDefaultSlot || n.$slots.headActions ? (f(), w("th",
|
|
4022
|
-
S("div",
|
|
4028
|
+
S("tr", Mf, [
|
|
4029
|
+
n.withDefaultSlot || n.$slots.headActions ? (f(), w("th", Vf, [
|
|
4030
|
+
S("div", Df, [
|
|
4023
4031
|
n.withDefaultSlot && n.nodes.length > 1 && n.nodes.some(n.childrenCount) ? (f(), _(ua, {
|
|
4024
4032
|
key: 0,
|
|
4025
4033
|
theme: n.theme,
|
|
@@ -4031,7 +4039,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4031
4039
|
))
|
|
4032
4040
|
}, {
|
|
4033
4041
|
default: $(() => [
|
|
4034
|
-
S("span",
|
|
4042
|
+
S("span", jf, V(n.openNodesCount === n.selectedNodes.length ? d(t)("table_hide_all") : d(t)("table_show_all")), 1),
|
|
4035
4043
|
T(q, {
|
|
4036
4044
|
class: "--indicator",
|
|
4037
4045
|
name: "chevron-up"
|
|
@@ -4052,9 +4060,9 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4052
4060
|
class: "--pBottom-10",
|
|
4053
4061
|
colspan: n.propertiesMeta.length,
|
|
4054
4062
|
width: "99%"
|
|
4055
|
-
}, null, 8,
|
|
4056
|
-
!n.isReadOnly && n.nodes.length > 1 && n.deleteNode ? (f(), w("th",
|
|
4057
|
-
S("div",
|
|
4063
|
+
}, null, 8, Uf),
|
|
4064
|
+
!n.isReadOnly && n.nodes.length > 1 && n.deleteNode ? (f(), w("th", qf, [
|
|
4065
|
+
S("div", Hf, [
|
|
4058
4066
|
T(ue, {
|
|
4059
4067
|
tooltip: d(t)("table_delete"),
|
|
4060
4068
|
"tooltip-as-text": "",
|
|
@@ -4065,7 +4073,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4065
4073
|
onClick: i[1] || (i[1] = () => n.deleteNodesAndRefresh())
|
|
4066
4074
|
}, {
|
|
4067
4075
|
default: $(() => [
|
|
4068
|
-
S("span",
|
|
4076
|
+
S("span", Wf, V(n.selectedNodesCount === n.selectedNodes.length ? d(t)("delete_all") : d(t)("delete", n.selectedNodesCount)), 1),
|
|
4069
4077
|
T(q, { name: "trash-can" })
|
|
4070
4078
|
]),
|
|
4071
4079
|
_: 1
|
|
@@ -4074,8 +4082,8 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4074
4082
|
])) : F("", !0)
|
|
4075
4083
|
])
|
|
4076
4084
|
])
|
|
4077
|
-
], 10,
|
|
4078
|
-
], 8,
|
|
4085
|
+
], 10, zf)
|
|
4086
|
+
], 8, Lf)
|
|
4079
4087
|
])) : F("", !0),
|
|
4080
4088
|
n.nodes.length ? (f(), w("tr", {
|
|
4081
4089
|
key: 1,
|
|
@@ -4087,7 +4095,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4087
4095
|
"data-column-name": "id",
|
|
4088
4096
|
"data-column": "id"
|
|
4089
4097
|
}, [
|
|
4090
|
-
S("div",
|
|
4098
|
+
S("div", Gf, [
|
|
4091
4099
|
n.isReadOnly ? F("", !0) : (f(), _(it, {
|
|
4092
4100
|
key: 0,
|
|
4093
4101
|
id: n.tableId + "select-all",
|
|
@@ -4121,7 +4129,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4121
4129
|
]),
|
|
4122
4130
|
_: 1,
|
|
4123
4131
|
__: [3]
|
|
4124
|
-
}, 8, ["theme", "tooltip", "size"])) : (f(), w("span",
|
|
4132
|
+
}, 8, ["theme", "tooltip", "size"])) : (f(), w("span", Kf, "#"))
|
|
4125
4133
|
])
|
|
4126
4134
|
], 2)) : F("", !0),
|
|
4127
4135
|
(f(!0), w(Q, null, de(n.propertiesMeta, (s, c) => (f(), w(Q, { key: c }, [
|
|
@@ -4161,16 +4169,16 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4161
4169
|
}, 1032, ["theme", "title", "tooltip", "size", "onClick"])) : (f(), w("span", {
|
|
4162
4170
|
key: 0,
|
|
4163
4171
|
title: s.value
|
|
4164
|
-
}, V(s.alias), 9,
|
|
4165
|
-
], 10,
|
|
4172
|
+
}, V(s.alias), 9, Qf))
|
|
4173
|
+
], 10, Zf))
|
|
4166
4174
|
], 64))), 128)),
|
|
4167
|
-
!n.isReadOnly && (n.updateNode || n.deleteNode || n.cloneNode) ? (f(), w("th",
|
|
4175
|
+
!n.isReadOnly && (n.updateNode || n.deleteNode || n.cloneNode) ? (f(), w("th", Xf, [
|
|
4168
4176
|
S("span", null, V(d(t)("table_modify")), 1)
|
|
4169
4177
|
])) : F("", !0)
|
|
4170
4178
|
], 2)) : F("", !0)
|
|
4171
4179
|
]));
|
|
4172
4180
|
}
|
|
4173
|
-
}),
|
|
4181
|
+
}), Jf = ["id"], xf = { class: "flx --flxRow --flx-center" }, ca = /* @__PURE__ */ K({
|
|
4174
4182
|
name: "TableSimple",
|
|
4175
4183
|
inheritAttrs: !1,
|
|
4176
4184
|
__name: "Simple",
|
|
@@ -4359,7 +4367,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4359
4367
|
id: O.value,
|
|
4360
4368
|
class: X(["tbl --minWidth-100", [{ "--nested": E.nested }, d(i)]])
|
|
4361
4369
|
}, [
|
|
4362
|
-
T(
|
|
4370
|
+
T(Yf, M(y.value, {
|
|
4363
4371
|
"with-default-slot": !!E.$slots.default
|
|
4364
4372
|
}), Tt({ _: 2 }, [
|
|
4365
4373
|
E.$slots.headActions ? {
|
|
@@ -4370,7 +4378,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4370
4378
|
key: "0"
|
|
4371
4379
|
} : void 0
|
|
4372
4380
|
]), 1040, ["with-default-slot"]),
|
|
4373
|
-
T(
|
|
4381
|
+
T(Ef, Y(te(y.value)), Tt({ _: 2 }, [
|
|
4374
4382
|
E.$slots.default ? {
|
|
4375
4383
|
name: "default",
|
|
4376
4384
|
fn: $((L) => [
|
|
@@ -4393,14 +4401,14 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4393
4401
|
key: "2"
|
|
4394
4402
|
} : void 0
|
|
4395
4403
|
]), 1040)
|
|
4396
|
-
], 10,
|
|
4404
|
+
], 10, Jf)
|
|
4397
4405
|
], 2)) : (f(), _(Ge, {
|
|
4398
4406
|
key: 1,
|
|
4399
4407
|
theme: E.theme || d(s),
|
|
4400
4408
|
class: "--width-100"
|
|
4401
4409
|
}, {
|
|
4402
4410
|
default: $(() => [
|
|
4403
|
-
S("div",
|
|
4411
|
+
S("div", xf, [
|
|
4404
4412
|
S("span", null, V(d(r)("nothing_to_show")), 1),
|
|
4405
4413
|
E.refresh ? (f(), _(ie, {
|
|
4406
4414
|
key: 0,
|
|
@@ -4423,13 +4431,13 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4423
4431
|
_: 1
|
|
4424
4432
|
}, 8, ["theme"]));
|
|
4425
4433
|
}
|
|
4426
|
-
}),
|
|
4434
|
+
}), ep = ["title"], tp = { class: "--txtWrap-nowrap" }, ap = {
|
|
4427
4435
|
key: 1,
|
|
4428
4436
|
class: "flx --flxRow --flx-start-center --gap-5"
|
|
4429
|
-
},
|
|
4437
|
+
}, np = { key: 0 }, rp = { key: 2 }, lp = {
|
|
4430
4438
|
key: 0,
|
|
4431
4439
|
class: "flx --flxRow --flx-start-center --gap-5"
|
|
4432
|
-
},
|
|
4440
|
+
}, op = { key: 0 }, sp = { class: "--txtColor-danger" }, ma = /* @__PURE__ */ K({
|
|
4433
4441
|
name: "ValueComplex",
|
|
4434
4442
|
inheritAttrs: !1,
|
|
4435
4443
|
__name: "Complex",
|
|
@@ -4473,7 +4481,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4473
4481
|
}
|
|
4474
4482
|
return (s, c) => (f(), _(Ne, { theme: s.theme }, {
|
|
4475
4483
|
"fallback?": $(() => [
|
|
4476
|
-
S("span",
|
|
4484
|
+
S("span", sp, V(s.value ?? "-"), 1)
|
|
4477
4485
|
]),
|
|
4478
4486
|
default: $(() => [
|
|
4479
4487
|
Array.isArray(s.value) ? (f(), w("div", {
|
|
@@ -4498,7 +4506,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4498
4506
|
_: 1
|
|
4499
4507
|
}, 8, ["theme", "tooltip", "size", "disabled"])) : F("", !0),
|
|
4500
4508
|
s.value.length ? (f(), w(Q, { key: 1 }, [
|
|
4501
|
-
S("div",
|
|
4509
|
+
S("div", tp, [
|
|
4502
4510
|
pe(V(!s.readonly && s.property?.createNode ? "⋅" : "") + " ", 1),
|
|
4503
4511
|
S("b", {
|
|
4504
4512
|
class: X(`--txtColor-${d(t)[0]}`)
|
|
@@ -4535,7 +4543,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4535
4543
|
}, null, 8, ["nodes", "theme", "modal-props", "classes", "clone-node", "update-node", "delete-node"])) : F("", !0)
|
|
4536
4544
|
]),
|
|
4537
4545
|
_: 1
|
|
4538
|
-
}, 16, ["title"])) : (f(), w("div",
|
|
4546
|
+
}, 16, ["title"])) : (f(), w("div", ap, [
|
|
4539
4547
|
(f(!0), w(Q, null, de(s.value, (u, h) => (f(), w(Q, { key: h }, [
|
|
4540
4548
|
T(St, M({ ref_for: !0 }, {
|
|
4541
4549
|
value: u,
|
|
@@ -4547,12 +4555,12 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4547
4555
|
verbose: s.verbose,
|
|
4548
4556
|
size: s.size
|
|
4549
4557
|
}), null, 16),
|
|
4550
|
-
h < s.value.length - 1 ? (f(), w("span",
|
|
4558
|
+
h < s.value.length - 1 ? (f(), w("span", np, "⋅")) : F("", !0)
|
|
4551
4559
|
], 64))), 128))
|
|
4552
4560
|
]))
|
|
4553
|
-
], 64)) : s.property?.createNode ? F("", !0) : (f(), w("span",
|
|
4554
|
-
], 8,
|
|
4555
|
-
Object.keys(s.value).length <= 3 && Object.values(s.value).every((u) => typeof u == "string" && u.length <= 7) ? (f(), w("div",
|
|
4561
|
+
], 64)) : s.property?.createNode ? F("", !0) : (f(), w("span", rp, "-"))
|
|
4562
|
+
], 8, ep)) : typeof s.value == "object" && s.value !== null && Object.keys(s.value).length ? (f(), w(Q, { key: 1 }, [
|
|
4563
|
+
Object.keys(s.value).length <= 3 && Object.values(s.value).every((u) => typeof u == "string" && u.length <= 7) ? (f(), w("div", lp, [
|
|
4556
4564
|
(f(!0), w(Q, null, de(d(hn)(s.value), ([u, h], v) => (f(), w(Q, { key: v }, [
|
|
4557
4565
|
T(St, M({ ref_for: !0 }, {
|
|
4558
4566
|
value: h,
|
|
@@ -4567,7 +4575,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4567
4575
|
verbose: s.verbose,
|
|
4568
4576
|
size: s.size
|
|
4569
4577
|
}), null, 16),
|
|
4570
|
-
v < Object.keys(s.value).length - 1 ? (f(), w("span",
|
|
4578
|
+
v < Object.keys(s.value).length - 1 ? (f(), w("span", op, "⋅")) : F("", !0)
|
|
4571
4579
|
], 64))), 128))
|
|
4572
4580
|
])) : (f(), _(at, M({
|
|
4573
4581
|
key: 1,
|
|
@@ -4632,7 +4640,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4632
4640
|
_: 1
|
|
4633
4641
|
}, 8, ["theme"]));
|
|
4634
4642
|
}
|
|
4635
|
-
}),
|
|
4643
|
+
}), ip = ["title"], _r = /* @__PURE__ */ K({
|
|
4636
4644
|
name: "ValueList",
|
|
4637
4645
|
inheritAttrs: !1,
|
|
4638
4646
|
__name: "List",
|
|
@@ -4663,7 +4671,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4663
4671
|
S("span", {
|
|
4664
4672
|
class: "--txtSize-xs",
|
|
4665
4673
|
title: n.key
|
|
4666
|
-
}, V(n.alias), 9,
|
|
4674
|
+
}, V(n.alias), 9, ip),
|
|
4667
4675
|
T(ma, M({ ref_for: !0 }, {
|
|
4668
4676
|
value: n.value,
|
|
4669
4677
|
node: r.node,
|
|
@@ -4681,7 +4689,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4681
4689
|
]))), 128))
|
|
4682
4690
|
], 2));
|
|
4683
4691
|
}
|
|
4684
|
-
}),
|
|
4692
|
+
}), up = /* @__PURE__ */ K({
|
|
4685
4693
|
name: "BoxAction",
|
|
4686
4694
|
inheritAttrs: !1,
|
|
4687
4695
|
__name: "Action",
|
|
@@ -4722,7 +4730,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4722
4730
|
},
|
|
4723
4731
|
setup(e) {
|
|
4724
4732
|
const a = e, { tooltipAttributes: t } = le(a), { themeClasses: l } = le({ theme: He.LIGHT });
|
|
4725
|
-
return (r, o) => (f(), _(
|
|
4733
|
+
return (r, o) => (f(), _(ge, M({ el: Pe }, { ...r.$attrs, ...a, ...d(t) }, {
|
|
4726
4734
|
"aria-label": r.label,
|
|
4727
4735
|
button: ""
|
|
4728
4736
|
}), {
|
|
@@ -4746,7 +4754,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4746
4754
|
_: 1
|
|
4747
4755
|
}, 16, ["aria-label"]));
|
|
4748
4756
|
}
|
|
4749
|
-
}),
|
|
4757
|
+
}), dp = { class: "flx --flxRow --flx-center" }, fp = { class: "flx --flxRow --flx-center" }, ut = /* @__PURE__ */ K({
|
|
4750
4758
|
name: "LoaderContent",
|
|
4751
4759
|
inheritAttrs: !1,
|
|
4752
4760
|
__name: "Content",
|
|
@@ -4790,7 +4798,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4790
4798
|
class: "--width-100"
|
|
4791
4799
|
}, {
|
|
4792
4800
|
default: $(() => [
|
|
4793
|
-
S("div",
|
|
4801
|
+
S("div", dp, [
|
|
4794
4802
|
S("span", null, V(d(a)("could_not_get_data")), 1),
|
|
4795
4803
|
t.refresh ? (f(), _(ie, {
|
|
4796
4804
|
key: 0,
|
|
@@ -4817,7 +4825,7 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4817
4825
|
class: "--width-100"
|
|
4818
4826
|
}, {
|
|
4819
4827
|
default: $(() => [
|
|
4820
|
-
S("div",
|
|
4828
|
+
S("div", fp, [
|
|
4821
4829
|
S("span", null, V(t.noContentMessage || d(a)("nothing_to_show")), 1),
|
|
4822
4830
|
t.refresh ? (f(), _(ie, {
|
|
4823
4831
|
key: 0,
|
|
@@ -4863,11 +4871,11 @@ const Ar = /* @__PURE__ */ K({
|
|
|
4863
4871
|
}, 8, ["wrap"]));
|
|
4864
4872
|
}
|
|
4865
4873
|
});
|
|
4866
|
-
var
|
|
4867
|
-
function
|
|
4868
|
-
return this.__data__.set(e,
|
|
4874
|
+
var pp = "__lodash_hash_undefined__";
|
|
4875
|
+
function cp(e) {
|
|
4876
|
+
return this.__data__.set(e, pp), this;
|
|
4869
4877
|
}
|
|
4870
|
-
function
|
|
4878
|
+
function mp(e) {
|
|
4871
4879
|
return this.__data__.has(e);
|
|
4872
4880
|
}
|
|
4873
4881
|
function Nt(e) {
|
|
@@ -4875,26 +4883,26 @@ function Nt(e) {
|
|
|
4875
4883
|
for (this.__data__ = new Te(); ++a < t; )
|
|
4876
4884
|
this.add(e[a]);
|
|
4877
4885
|
}
|
|
4878
|
-
Nt.prototype.add = Nt.prototype.push =
|
|
4879
|
-
Nt.prototype.has =
|
|
4880
|
-
function
|
|
4886
|
+
Nt.prototype.add = Nt.prototype.push = cp;
|
|
4887
|
+
Nt.prototype.has = mp;
|
|
4888
|
+
function hp(e, a) {
|
|
4881
4889
|
for (var t = -1, l = e == null ? 0 : e.length; ++t < l; )
|
|
4882
4890
|
if (a(e[t], t, e))
|
|
4883
4891
|
return !0;
|
|
4884
4892
|
return !1;
|
|
4885
4893
|
}
|
|
4886
|
-
function
|
|
4894
|
+
function vp(e, a) {
|
|
4887
4895
|
return e.has(a);
|
|
4888
4896
|
}
|
|
4889
|
-
var
|
|
4897
|
+
var yp = 1, gp = 2;
|
|
4890
4898
|
function Br(e, a, t, l, r, o) {
|
|
4891
|
-
var n = t &
|
|
4899
|
+
var n = t & yp, i = e.length, s = a.length;
|
|
4892
4900
|
if (i != s && !(n && s > i))
|
|
4893
4901
|
return !1;
|
|
4894
4902
|
var c = o.get(e), u = o.get(a);
|
|
4895
4903
|
if (c && u)
|
|
4896
4904
|
return c == a && u == e;
|
|
4897
|
-
var h = -1, v = !0, R = t &
|
|
4905
|
+
var h = -1, v = !0, R = t & gp ? new Nt() : void 0;
|
|
4898
4906
|
for (o.set(e, a), o.set(a, e); ++h < i; ) {
|
|
4899
4907
|
var P = e[h], C = a[h];
|
|
4900
4908
|
if (l)
|
|
@@ -4906,8 +4914,8 @@ function Br(e, a, t, l, r, o) {
|
|
|
4906
4914
|
break;
|
|
4907
4915
|
}
|
|
4908
4916
|
if (R) {
|
|
4909
|
-
if (!
|
|
4910
|
-
if (!
|
|
4917
|
+
if (!hp(a, function(y, A) {
|
|
4918
|
+
if (!vp(R, A) && (P === y || r(P, y, t, l, o)))
|
|
4911
4919
|
return R.push(A);
|
|
4912
4920
|
})) {
|
|
4913
4921
|
v = !1;
|
|
@@ -4920,62 +4928,62 @@ function Br(e, a, t, l, r, o) {
|
|
|
4920
4928
|
}
|
|
4921
4929
|
return o.delete(e), o.delete(a), v;
|
|
4922
4930
|
}
|
|
4923
|
-
function
|
|
4931
|
+
function bp(e) {
|
|
4924
4932
|
var a = -1, t = Array(e.size);
|
|
4925
4933
|
return e.forEach(function(l, r) {
|
|
4926
4934
|
t[++a] = [r, l];
|
|
4927
4935
|
}), t;
|
|
4928
4936
|
}
|
|
4929
|
-
function
|
|
4937
|
+
function wp(e) {
|
|
4930
4938
|
var a = -1, t = Array(e.size);
|
|
4931
4939
|
return e.forEach(function(l) {
|
|
4932
4940
|
t[++a] = l;
|
|
4933
4941
|
}), t;
|
|
4934
4942
|
}
|
|
4935
|
-
var
|
|
4936
|
-
function
|
|
4943
|
+
var $p = 1, Cp = 2, Ap = "[object Boolean]", _p = "[object Date]", Bp = "[object Error]", Sp = "[object Map]", Tp = "[object Number]", Rp = "[object RegExp]", kp = "[object Set]", Pp = "[object String]", Op = "[object Symbol]", Np = "[object ArrayBuffer]", Fp = "[object DataView]", ln = he ? he.prototype : void 0, Zt = ln ? ln.valueOf : void 0;
|
|
4944
|
+
function Ep(e, a, t, l, r, o, n) {
|
|
4937
4945
|
switch (t) {
|
|
4938
|
-
case
|
|
4946
|
+
case Fp:
|
|
4939
4947
|
if (e.byteLength != a.byteLength || e.byteOffset != a.byteOffset)
|
|
4940
4948
|
return !1;
|
|
4941
4949
|
e = e.buffer, a = a.buffer;
|
|
4942
|
-
case
|
|
4950
|
+
case Np:
|
|
4943
4951
|
return !(e.byteLength != a.byteLength || !o(new Pt(e), new Pt(a)));
|
|
4952
|
+
case Ap:
|
|
4944
4953
|
case _p:
|
|
4954
|
+
case Tp:
|
|
4955
|
+
return na(+e, +a);
|
|
4945
4956
|
case Bp:
|
|
4957
|
+
return e.name == a.name && e.message == a.message;
|
|
4946
4958
|
case Rp:
|
|
4947
|
-
|
|
4959
|
+
case Pp:
|
|
4960
|
+
return e == a + "";
|
|
4948
4961
|
case Sp:
|
|
4949
|
-
|
|
4962
|
+
var i = bp;
|
|
4950
4963
|
case kp:
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
case Tp:
|
|
4954
|
-
var i = wp;
|
|
4955
|
-
case Pp:
|
|
4956
|
-
var s = l & Cp;
|
|
4957
|
-
if (i || (i = $p), e.size != a.size && !s)
|
|
4964
|
+
var s = l & $p;
|
|
4965
|
+
if (i || (i = wp), e.size != a.size && !s)
|
|
4958
4966
|
return !1;
|
|
4959
4967
|
var c = n.get(e);
|
|
4960
4968
|
if (c)
|
|
4961
4969
|
return c == a;
|
|
4962
|
-
l |=
|
|
4970
|
+
l |= Cp, n.set(e, a);
|
|
4963
4971
|
var u = Br(i(e), i(a), l, r, o, n);
|
|
4964
4972
|
return n.delete(e), u;
|
|
4965
|
-
case
|
|
4973
|
+
case Op:
|
|
4966
4974
|
if (Zt)
|
|
4967
4975
|
return Zt.call(e) == Zt.call(a);
|
|
4968
4976
|
}
|
|
4969
4977
|
return !1;
|
|
4970
4978
|
}
|
|
4971
|
-
var
|
|
4972
|
-
function
|
|
4973
|
-
var n = t &
|
|
4979
|
+
var Ip = 1, Lp = Object.prototype, zp = Lp.hasOwnProperty;
|
|
4980
|
+
function Mp(e, a, t, l, r, o) {
|
|
4981
|
+
var n = t & Ip, i = Ra(e), s = i.length, c = Ra(a), u = c.length;
|
|
4974
4982
|
if (s != u && !n)
|
|
4975
4983
|
return !1;
|
|
4976
4984
|
for (var h = s; h--; ) {
|
|
4977
4985
|
var v = i[h];
|
|
4978
|
-
if (!(n ? v in a :
|
|
4986
|
+
if (!(n ? v in a : zp.call(a, v)))
|
|
4979
4987
|
return !1;
|
|
4980
4988
|
}
|
|
4981
4989
|
var R = o.get(e), P = o.get(a);
|
|
@@ -5000,8 +5008,8 @@ function Vp(e, a, t, l, r, o) {
|
|
|
5000
5008
|
}
|
|
5001
5009
|
return o.delete(e), o.delete(a), C;
|
|
5002
5010
|
}
|
|
5003
|
-
var
|
|
5004
|
-
function
|
|
5011
|
+
var Vp = 1, on = "[object Arguments]", sn = "[object Array]", At = "[object Object]", Dp = Object.prototype, un = Dp.hasOwnProperty;
|
|
5012
|
+
function jp(e, a, t, l, r, o) {
|
|
5005
5013
|
var n = Ae(e), i = Ae(a), s = n ? sn : ye(e), c = i ? sn : ye(a);
|
|
5006
5014
|
s = s == on ? At : s, c = c == on ? At : c;
|
|
5007
5015
|
var u = s == At, h = c == At, v = s == c;
|
|
@@ -5011,23 +5019,23 @@ function Up(e, a, t, l, r, o) {
|
|
|
5011
5019
|
n = !0, u = !1;
|
|
5012
5020
|
}
|
|
5013
5021
|
if (v && !u)
|
|
5014
|
-
return o || (o = new Ce()), n || Pn(e) ? Br(e, a, t, l, r, o) :
|
|
5015
|
-
if (!(t &
|
|
5022
|
+
return o || (o = new Ce()), n || Pn(e) ? Br(e, a, t, l, r, o) : Ep(e, a, s, t, l, r, o);
|
|
5023
|
+
if (!(t & Vp)) {
|
|
5016
5024
|
var R = u && un.call(e, "__wrapped__"), P = h && un.call(a, "__wrapped__");
|
|
5017
5025
|
if (R || P) {
|
|
5018
5026
|
var C = R ? e.value() : e, O = P ? a.value() : a;
|
|
5019
5027
|
return o || (o = new Ce()), r(C, O, t, l, o);
|
|
5020
5028
|
}
|
|
5021
5029
|
}
|
|
5022
|
-
return v ? (o || (o = new Ce()),
|
|
5030
|
+
return v ? (o || (o = new Ce()), Mp(e, a, t, l, r, o)) : !1;
|
|
5023
5031
|
}
|
|
5024
5032
|
function Sr(e, a, t, l, r) {
|
|
5025
|
-
return e === a ? !0 : e == null || a == null || !_e(e) && !_e(a) ? e !== e && a !== a :
|
|
5033
|
+
return e === a ? !0 : e == null || a == null || !_e(e) && !_e(a) ? e !== e && a !== a : jp(e, a, t, l, Sr, r);
|
|
5026
5034
|
}
|
|
5027
5035
|
function nt(e, a) {
|
|
5028
5036
|
return Sr(e, a);
|
|
5029
5037
|
}
|
|
5030
|
-
function
|
|
5038
|
+
function Up(e, a, t) {
|
|
5031
5039
|
const l = W(null), r = W(null), o = W(!1);
|
|
5032
5040
|
let n;
|
|
5033
5041
|
typeof e == "string" ? typeof a != "object" && a && (n = a) : (n = e, typeof a == "object" && (t = a));
|
|
@@ -5085,7 +5093,7 @@ const rt = /* @__PURE__ */ K({
|
|
|
5085
5093
|
},
|
|
5086
5094
|
emits: ["refresh"],
|
|
5087
5095
|
setup(e, { emit: a }) {
|
|
5088
|
-
const t = e, l = a, { logger: r } = Z(ve), { useFetch: o } = Tr(), { internals: n } = ke("xamu") || {}, i = n?.useAsyncData ??
|
|
5096
|
+
const t = e, l = a, { logger: r } = Z(ve), { useFetch: o } = Tr(), { internals: n } = ke("xamu") || {}, i = n?.useAsyncData ?? Up, s = W(!1), c = W(!1), {
|
|
5089
5097
|
data: u,
|
|
5090
5098
|
pending: h,
|
|
5091
5099
|
error: v,
|
|
@@ -5177,10 +5185,10 @@ const rt = /* @__PURE__ */ K({
|
|
|
5177
5185
|
_: 3
|
|
5178
5186
|
}, 8, ["theme"]));
|
|
5179
5187
|
}
|
|
5180
|
-
}),
|
|
5188
|
+
}), qp = {
|
|
5181
5189
|
key: 0,
|
|
5182
5190
|
class: "flx --flxRow-wrap --flx-center --gap-5 --gap-10:sm --gap:md --width-fit"
|
|
5183
|
-
},
|
|
5191
|
+
}, Hp = { key: 0 }, Wp = { class: "--txtSize-sm" }, Gp = { key: 1 }, Kp = { class: "flx --flxRow-wrap --flx-center --gap-5 --gap:sm" }, Zp = { class: "--hidden-full:sm-inv" }, Qp = { class: "--hidden-full:sm-inv" }, Rr = /* @__PURE__ */ K({
|
|
5184
5192
|
name: "PaginationSimple",
|
|
5185
5193
|
inheritAttrs: !1,
|
|
5186
5194
|
__name: "Simple",
|
|
@@ -5204,12 +5212,12 @@ const rt = /* @__PURE__ */ K({
|
|
|
5204
5212
|
t("update:model-value", { ...l.modelValue, first: s });
|
|
5205
5213
|
}
|
|
5206
5214
|
});
|
|
5207
|
-
return (s, c) => s.currentPage && s.modelValue ? (f(), w("ul",
|
|
5208
|
-
s.modelValue.first ? (f(), w("li",
|
|
5209
|
-
S("p",
|
|
5215
|
+
return (s, c) => s.currentPage && s.modelValue ? (f(), w("ul", qp, [
|
|
5216
|
+
s.modelValue.first ? (f(), w("li", Hp, [
|
|
5217
|
+
S("p", Wp, V(d(o)("pagination_items", s.currentPage.totalCount)) + " ⋅ " + V(d(o)("pagination_pages", Math.ceil(s.currentPage.totalCount / s.modelValue.first))), 1)
|
|
5210
5218
|
])) : F("", !0),
|
|
5211
|
-
!s.hidePageLength && s.currentPage.totalCount > 5 ? (f(), w("li",
|
|
5212
|
-
S("ul",
|
|
5219
|
+
!s.hidePageLength && s.currentPage.totalCount > 5 ? (f(), w("li", Gp, [
|
|
5220
|
+
S("ul", Kp, [
|
|
5213
5221
|
S("li", null, [
|
|
5214
5222
|
T(qe, {
|
|
5215
5223
|
id: "first",
|
|
@@ -5236,7 +5244,7 @@ const rt = /* @__PURE__ */ K({
|
|
|
5236
5244
|
name: "arrow-left",
|
|
5237
5245
|
regular: ""
|
|
5238
5246
|
}),
|
|
5239
|
-
S("span",
|
|
5247
|
+
S("span", Zp, V(d(o)("previous")), 1)
|
|
5240
5248
|
]),
|
|
5241
5249
|
_: 1
|
|
5242
5250
|
}, 8, ["theme", "aria-label", "disabled"])
|
|
@@ -5250,7 +5258,7 @@ const rt = /* @__PURE__ */ K({
|
|
|
5250
5258
|
onClick: c[2] || (c[2] = (u) => s.currentPage && n(s.currentPage.pageInfo?.nextCursor))
|
|
5251
5259
|
}, {
|
|
5252
5260
|
default: $(() => [
|
|
5253
|
-
S("span",
|
|
5261
|
+
S("span", Qp, V(d(o)("next")), 1),
|
|
5254
5262
|
T(q, { name: "arrow-right" }),
|
|
5255
5263
|
T(q, {
|
|
5256
5264
|
name: "arrow-left",
|
|
@@ -5359,10 +5367,10 @@ const rt = /* @__PURE__ */ K({
|
|
|
5359
5367
|
_: 3
|
|
5360
5368
|
}, 16, ["payload", "class"]));
|
|
5361
5369
|
}
|
|
5362
|
-
}),
|
|
5370
|
+
}), Xp = { class: "flx --flxColumn --gap-30" }, Yp = {
|
|
5363
5371
|
key: 0,
|
|
5364
5372
|
class: "flx --flxRow --flx-start-center --gap-10 --gap:md"
|
|
5365
|
-
},
|
|
5373
|
+
}, Jp = { class: "flx --flxRow --flx-start-center --gap-10 --gap:md" }, xp = /* @__PURE__ */ K({
|
|
5366
5374
|
name: "PaginationContentTable",
|
|
5367
5375
|
__name: "ContentTable",
|
|
5368
5376
|
props: {
|
|
@@ -5390,8 +5398,8 @@ const rt = /* @__PURE__ */ K({
|
|
|
5390
5398
|
return (n, i) => (f(), _(Ne, null, {
|
|
5391
5399
|
default: $(() => [
|
|
5392
5400
|
U(n.$slots, "default", Y(te({ hasContent: t.value, refreshData: r }))),
|
|
5393
|
-
S("div",
|
|
5394
|
-
!t.value && n.$slots.headActions ? (f(), w("div",
|
|
5401
|
+
S("div", Xp, [
|
|
5402
|
+
!t.value && n.$slots.headActions ? (f(), w("div", Yp, [
|
|
5395
5403
|
U(n.$slots, "headActions", Y(te({ hasContent: t.value, refreshData: r })))
|
|
5396
5404
|
])) : F("", !0),
|
|
5397
5405
|
T(kr, M({ page: n.page, url: n.url, noContentMessage: n.noContentMessage, preventAutoload: n.preventAutoload, theme: n.theme, client: n.client, defaults: n.defaults }, {
|
|
@@ -5418,7 +5426,7 @@ const rt = /* @__PURE__ */ K({
|
|
|
5418
5426
|
n.$slots.headActions ? {
|
|
5419
5427
|
name: "headActions",
|
|
5420
5428
|
fn: $(() => [
|
|
5421
|
-
S("div",
|
|
5429
|
+
S("div", Jp, [
|
|
5422
5430
|
U(n.$slots, "headActions", Y(te({ hasContent: t.value, refreshData: r })))
|
|
5423
5431
|
])
|
|
5424
5432
|
]),
|
|
@@ -5440,7 +5448,7 @@ const rt = /* @__PURE__ */ K({
|
|
|
5440
5448
|
_: 3
|
|
5441
5449
|
}));
|
|
5442
5450
|
}
|
|
5443
|
-
}),
|
|
5451
|
+
}), ec = {
|
|
5444
5452
|
key: 1,
|
|
5445
5453
|
class: "--txtColor-danger"
|
|
5446
5454
|
}, dn = /* @__PURE__ */ K({
|
|
@@ -5456,9 +5464,9 @@ const rt = /* @__PURE__ */ K({
|
|
|
5456
5464
|
l.value = r?.options?.map(Ie) || [];
|
|
5457
5465
|
}), (r, o) => l.value.length ? U(r.$slots, "default", M({ key: 0 }, { options: l.value }, {
|
|
5458
5466
|
key: l.value.length
|
|
5459
|
-
})) : (f(), w("p",
|
|
5467
|
+
})) : (f(), w("p", ec, V(d(t)("form_required_options")), 1));
|
|
5460
5468
|
}
|
|
5461
|
-
}),
|
|
5469
|
+
}), tc = {
|
|
5462
5470
|
key: 1,
|
|
5463
5471
|
class: "--txtColor-danger"
|
|
5464
5472
|
}, Ye = /* @__PURE__ */ K({
|
|
@@ -5483,7 +5491,7 @@ const rt = /* @__PURE__ */ K({
|
|
|
5483
5491
|
U(r.$slots, "default")
|
|
5484
5492
|
]),
|
|
5485
5493
|
_: 3
|
|
5486
|
-
}, 16)) : (f(), w("p",
|
|
5494
|
+
}, 16)) : (f(), w("p", tc, V(r.values.map((n) => d(t)("form_requires_n_values", n)).join(" or ")), 1));
|
|
5487
5495
|
}
|
|
5488
5496
|
});
|
|
5489
5497
|
function Pr({ input: e }) {
|
|
@@ -5564,10 +5572,10 @@ function Pr({ input: e }) {
|
|
|
5564
5572
|
};
|
|
5565
5573
|
});
|
|
5566
5574
|
}
|
|
5567
|
-
const
|
|
5575
|
+
const ac = { class: "flx --flxRow --flx-start-center --gap-5" }, nc = {
|
|
5568
5576
|
key: 0,
|
|
5569
5577
|
class: "--txtColor-danger --txtSize-sm"
|
|
5570
|
-
},
|
|
5578
|
+
}, rc = { class: "flx --flx-center" }, lc = /* @__PURE__ */ K({
|
|
5571
5579
|
name: "FormInputLoop",
|
|
5572
5580
|
inheritAttrs: !0,
|
|
5573
5581
|
__name: "InputLoop",
|
|
@@ -5586,7 +5594,7 @@ const nc = { class: "flx --flxRow --flx-start-center --gap-5" }, rc = {
|
|
|
5586
5594
|
key: c,
|
|
5587
5595
|
class: "flx --flxColumn --flx-start-stretch --gap-5 --width-100"
|
|
5588
5596
|
}, [
|
|
5589
|
-
S("div",
|
|
5597
|
+
S("div", ac, [
|
|
5590
5598
|
U(n.$slots, "default", M({ ref_for: !0 }, { i: c })),
|
|
5591
5599
|
n.input.multiple && n.input.min < n.input.values.length ? (f(), _(se, {
|
|
5592
5600
|
key: 0,
|
|
@@ -5604,7 +5612,7 @@ const nc = { class: "flx --flxRow --flx-start-center --gap-5" }, rc = {
|
|
|
5604
5612
|
_: 2
|
|
5605
5613
|
}, 1032, ["aria-label", "theme", "disabled", "onClick"])) : F("", !0)
|
|
5606
5614
|
]),
|
|
5607
|
-
d(r)(s.value, n.input.defaults) && !d(l)(s.value, n.input) ? (f(), w("p",
|
|
5615
|
+
d(r)(s.value, n.input.defaults) && !d(l)(s.value, n.input) ? (f(), w("p", nc, V(d(o)()), 1)) : F("", !0)
|
|
5608
5616
|
]))), 128)),
|
|
5609
5617
|
n.input.multiple && n.input.max > n.models.length ? (f(), w(Q, { key: 0 }, [
|
|
5610
5618
|
n.models.length ? (f(), _(ue, {
|
|
@@ -5619,7 +5627,7 @@ const nc = { class: "flx --flxRow --flx-start-center --gap-5" }, rc = {
|
|
|
5619
5627
|
S("span", null, V(d(t)("form_new_value")), 1)
|
|
5620
5628
|
]),
|
|
5621
5629
|
_: 1
|
|
5622
|
-
}, 8, ["theme", "disabled", "size"])) : (f(), _(
|
|
5630
|
+
}, 8, ["theme", "disabled", "size"])) : (f(), _(ge, {
|
|
5623
5631
|
key: 0,
|
|
5624
5632
|
class: "--width-100",
|
|
5625
5633
|
theme: n.theme,
|
|
@@ -5629,7 +5637,7 @@ const nc = { class: "flx --flxRow --flx-start-center --gap-5" }, rc = {
|
|
|
5629
5637
|
transparent: ""
|
|
5630
5638
|
}, {
|
|
5631
5639
|
default: $(() => [
|
|
5632
|
-
S("div",
|
|
5640
|
+
S("div", rc, [
|
|
5633
5641
|
S("span", null, V(d(t)("form_no_values")), 1),
|
|
5634
5642
|
T(ue, {
|
|
5635
5643
|
theme: n.theme,
|
|
@@ -5689,7 +5697,7 @@ function ha() {
|
|
|
5689
5697
|
};
|
|
5690
5698
|
});
|
|
5691
5699
|
}
|
|
5692
|
-
const
|
|
5700
|
+
const oc = /* @__PURE__ */ K({
|
|
5693
5701
|
name: "FormInputCountriesApi",
|
|
5694
5702
|
inheritAttrs: !0,
|
|
5695
5703
|
__name: "InputCountriesAPI",
|
|
@@ -5746,19 +5754,19 @@ const sc = /* @__PURE__ */ K({
|
|
|
5746
5754
|
_: 3
|
|
5747
5755
|
}, 16, ["content"]));
|
|
5748
5756
|
}
|
|
5749
|
-
}),
|
|
5757
|
+
}), sc = { class: "flx --flxColumn --flx-start --gap-5" }, ic = {
|
|
5750
5758
|
key: 0,
|
|
5751
5759
|
class: "flx --flxRow-wrap --flx-start-stretch --flx --gap-5"
|
|
5752
|
-
},
|
|
5760
|
+
}, uc = {
|
|
5753
5761
|
key: 1,
|
|
5754
5762
|
class: "flx --flxRow-wrap --flx-start-stretch --gap-5 --flx"
|
|
5755
|
-
},
|
|
5763
|
+
}, dc = {
|
|
5756
5764
|
key: 0,
|
|
5757
5765
|
class: "--txtSize-sm --txtWeight --txtWrap"
|
|
5758
|
-
},
|
|
5766
|
+
}, fc = {
|
|
5759
5767
|
key: 0,
|
|
5760
5768
|
class: "--txtColor-danger --txtSize-sm"
|
|
5761
|
-
},
|
|
5769
|
+
}, pc = {
|
|
5762
5770
|
key: 1,
|
|
5763
5771
|
class: "--txtColor-danger --txtSize-sm"
|
|
5764
5772
|
}, Or = /* @__PURE__ */ K({
|
|
@@ -5820,7 +5828,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
5820
5828
|
const I = zr("Input", !0);
|
|
5821
5829
|
return f(), _(Ne, { theme: m.theme }, {
|
|
5822
5830
|
default: $(() => [
|
|
5823
|
-
S("div",
|
|
5831
|
+
S("div", sc, [
|
|
5824
5832
|
!m.input.defaults && m.input.type === d(G).CHOICE ? (f(), _(dn, {
|
|
5825
5833
|
key: 0,
|
|
5826
5834
|
input: m.input
|
|
@@ -5845,7 +5853,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
5845
5853
|
invalid: y.value
|
|
5846
5854
|
}, A.value, {
|
|
5847
5855
|
"onUpdate:modelValue": N[1] || (N[1] = (k) => m.$emit("update:model-value", k))
|
|
5848
|
-
}), null, 16, ["theme", "disabled", "file-prefix", "model-value", "invalid"])) : m.input.type !== d(G).HIDDEN ? (f(), _(
|
|
5856
|
+
}), null, 16, ["theme", "disabled", "file-prefix", "model-value", "invalid"])) : m.input.type !== d(G).HIDDEN ? (f(), _(lc, {
|
|
5849
5857
|
key: m.input.options.length + g.value.length,
|
|
5850
5858
|
models: g.value,
|
|
5851
5859
|
input: m.input,
|
|
@@ -5853,7 +5861,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
5853
5861
|
readonly: m.readonly
|
|
5854
5862
|
}, {
|
|
5855
5863
|
default: $(({ i: k }) => [
|
|
5856
|
-
m.input.defaults && m.input.defaults.length >= 2 ? (f(), w("div",
|
|
5864
|
+
m.input.defaults && m.input.defaults.length >= 2 ? (f(), w("div", ic, [
|
|
5857
5865
|
(f(!0), w(Q, null, de(g.value[k].value, (j, E) => (f(), _(I, {
|
|
5858
5866
|
key: [
|
|
5859
5867
|
m.input.options.length,
|
|
@@ -5959,7 +5967,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
5959
5967
|
}), null, 16, ["model-value", "invalid", "theme", "disabled", "placeholder", "onUpdate:modelValue"])
|
|
5960
5968
|
]),
|
|
5961
5969
|
_: 2
|
|
5962
|
-
}, 1040, ["content", "model"])) : m.input.type === d(G).LOCATION ? (f(), _(
|
|
5970
|
+
}, 1040, ["content", "model"])) : m.input.type === d(G).LOCATION ? (f(), _(oc, M({ key: 4 }, { theme: m.theme, states: m.states, countries: m.countries, loading: m.loading, errors: m.errors, refresh: m.refresh }, {
|
|
5963
5971
|
key: `${d(h)}-${v.value.length}-${P.value?.length}`,
|
|
5964
5972
|
model: g.value[k].value
|
|
5965
5973
|
}), {
|
|
@@ -5977,7 +5985,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
5977
5985
|
class: "--width-180:md --flx",
|
|
5978
5986
|
"onUpdate:modelValue": (D) => p(k, 0, D)
|
|
5979
5987
|
}, null, 8, ["model-value", "options", "value", "theme", "disabled", "placeholder", "onUpdate:modelValue"])) : F("", !0),
|
|
5980
|
-
g.value[k].value.length === 3 ? (f(), w("div",
|
|
5988
|
+
g.value[k].value.length === 3 ? (f(), w("div", uc, [
|
|
5981
5989
|
T(Xe, {
|
|
5982
5990
|
"model-value": g.value[k].value[1],
|
|
5983
5991
|
options: P.value || j?.content?.map?.(b),
|
|
@@ -6013,7 +6021,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6013
6021
|
])),
|
|
6014
6022
|
_: 2,
|
|
6015
6023
|
__: [2]
|
|
6016
|
-
}, 1032, ["model"])) : m.input.type === d(G).BOOLEAN ? (f(), _(
|
|
6024
|
+
}, 1032, ["model"])) : m.input.type === d(G).BOOLEAN ? (f(), _(ge, {
|
|
6017
6025
|
key: 6,
|
|
6018
6026
|
el: "label",
|
|
6019
6027
|
class: "--flx --width-100 --txtAlign",
|
|
@@ -6034,7 +6042,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6034
6042
|
"show-placeholder": ""
|
|
6035
6043
|
}), {
|
|
6036
6044
|
default: $(() => [
|
|
6037
|
-
m.input.placeholder ? (f(), w("p",
|
|
6045
|
+
m.input.placeholder ? (f(), w("p", dc, V(d(o)(m.input.placeholder)), 1)) : F("", !0)
|
|
6038
6046
|
]),
|
|
6039
6047
|
_: 2
|
|
6040
6048
|
}, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "theme", "disabled"])
|
|
@@ -6083,7 +6091,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6083
6091
|
_: 1
|
|
6084
6092
|
}, 8, ["models", "input", "theme", "readonly"])) : F("", !0),
|
|
6085
6093
|
O.value ? (f(), w(Q, { key: 3 }, [
|
|
6086
|
-
m.input.required && !C.value ? (f(), w("p",
|
|
6094
|
+
m.input.required && !C.value ? (f(), w("p", fc, V(d(r)("form_required_field")), 1)) : (f(), w("p", pc, V(d(r)("form_invalid_field")), 1))
|
|
6087
6095
|
], 64)) : F("", !0)
|
|
6088
6096
|
])
|
|
6089
6097
|
]),
|
|
@@ -6091,13 +6099,13 @@ const sc = /* @__PURE__ */ K({
|
|
|
6091
6099
|
}, 8, ["theme"]);
|
|
6092
6100
|
};
|
|
6093
6101
|
}
|
|
6094
|
-
}),
|
|
6102
|
+
}), cc = { key: 0 }, mc = {
|
|
6095
6103
|
key: 0,
|
|
6096
6104
|
class: "flx --flxColumn --flx-start-stretch --gap-5"
|
|
6097
|
-
},
|
|
6105
|
+
}, hc = {
|
|
6098
6106
|
key: 0,
|
|
6099
6107
|
class: "--txtSize-sm"
|
|
6100
|
-
},
|
|
6108
|
+
}, vc = { class: "flx --flxRow --flx-center" }, Nr = /* @__PURE__ */ K({
|
|
6101
6109
|
name: "FormSimple",
|
|
6102
6110
|
inheritAttrs: !0,
|
|
6103
6111
|
__name: "Simple",
|
|
@@ -6178,7 +6186,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6178
6186
|
class: "flx --flxColumn --flx-start-stretch --gap-10 --maxWidth-full"
|
|
6179
6187
|
}, {
|
|
6180
6188
|
default: $(() => [
|
|
6181
|
-
y.title ? (f(), w("legend",
|
|
6189
|
+
y.title ? (f(), w("legend", cc, [
|
|
6182
6190
|
S("h4", null, V(y.title) + ":", 1)
|
|
6183
6191
|
])) : F("", !0),
|
|
6184
6192
|
T(Re, {
|
|
@@ -6194,8 +6202,8 @@ const sc = /* @__PURE__ */ K({
|
|
|
6194
6202
|
}, {
|
|
6195
6203
|
default: $(({ content: g, ...p } = {}) => [
|
|
6196
6204
|
(f(!0), w(Q, null, de(P.value, (b, B) => (f(), w(Q, { key: B }, [
|
|
6197
|
-
b && P.value[B] ? (f(), w("div",
|
|
6198
|
-
C(b) ? (f(), w("p",
|
|
6205
|
+
b && P.value[B] ? (f(), w("div", mc, [
|
|
6206
|
+
C(b) ? (f(), w("p", hc, V(C(b)), 1)) : F("", !0),
|
|
6199
6207
|
(f(), _(Or, M({
|
|
6200
6208
|
key: `input-${b.name}-${b.options.length}`
|
|
6201
6209
|
}, { ref_for: !0 }, {
|
|
@@ -6217,7 +6225,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6217
6225
|
]),
|
|
6218
6226
|
_: 1
|
|
6219
6227
|
})) : U(y.$slots, "default", { key: 1 }, () => [
|
|
6220
|
-
T(
|
|
6228
|
+
T(ge, {
|
|
6221
6229
|
class: "--width-100",
|
|
6222
6230
|
theme: y.theme,
|
|
6223
6231
|
button: "",
|
|
@@ -6225,7 +6233,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6225
6233
|
transparent: ""
|
|
6226
6234
|
}, {
|
|
6227
6235
|
default: $(() => [
|
|
6228
|
-
S("div",
|
|
6236
|
+
S("div", vc, [
|
|
6229
6237
|
S("span", null, V(y.emptyMessage || d(r)("nothing_to_show")), 1)
|
|
6230
6238
|
])
|
|
6231
6239
|
]),
|
|
@@ -6236,7 +6244,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6236
6244
|
_: 3
|
|
6237
6245
|
}, 8, ["theme"]));
|
|
6238
6246
|
}
|
|
6239
|
-
}),
|
|
6247
|
+
}), yc = { class: "--txtSize-xs" }, gc = { class: "flx --flxRow-wrap --flx-start-center --width-100 modal-content" }, bc = { class: "flx --flxRow --flx-start-center --flx --gap-5 --gap:md" }, wc = { class: "--hidden-full:sm-inv" }, $c = { class: "--hidden-full:sm-inv" }, Cc = { class: "flx --flxRow-wrap --flx-end-center --gap-5 --gap-10:sm --gap:md" }, Ac = /* @__PURE__ */ K({
|
|
6240
6248
|
name: "FormStages",
|
|
6241
6249
|
inheritAttrs: !0,
|
|
6242
6250
|
__name: "Stages",
|
|
@@ -6338,13 +6346,13 @@ const sc = /* @__PURE__ */ K({
|
|
|
6338
6346
|
}, null, 8, ["model-value", "theme", "invalid", "title", "readonly", "empty-message", "onUpdate:modelValue"]))), 128))
|
|
6339
6347
|
], 2),
|
|
6340
6348
|
!p.hideRequiredDisclaimer || p.$slots.disclaimers ? U(p.$slots, "disclaimers", { key: 0 }, () => [
|
|
6341
|
-
S("p",
|
|
6349
|
+
S("p", yc, V(d(r)("required_verification")), 1)
|
|
6342
6350
|
]) : F("", !0)
|
|
6343
6351
|
], 64)) : F("", !0)
|
|
6344
6352
|
], 2)
|
|
6345
6353
|
], 2)) : F("", !0),
|
|
6346
6354
|
U(p.$slots, "actions", {}, () => [
|
|
6347
|
-
S("div",
|
|
6355
|
+
S("div", gc, [
|
|
6348
6356
|
p.stages?.length ? U(p.$slots, "primary-actions", Y(M({ key: 0 }, {
|
|
6349
6357
|
activeStage: n.value,
|
|
6350
6358
|
stagesLength: p.stages && p.stages.length,
|
|
@@ -6352,13 +6360,13 @@ const sc = /* @__PURE__ */ K({
|
|
|
6352
6360
|
canSubmit: o.value,
|
|
6353
6361
|
submit: d(R)
|
|
6354
6362
|
})), () => [
|
|
6355
|
-
S("div",
|
|
6363
|
+
S("div", bc, [
|
|
6356
6364
|
s.value.length > 1 && n.value ? (f(), _(ie, {
|
|
6357
6365
|
key: "button-back",
|
|
6358
6366
|
theme: p.theme,
|
|
6359
6367
|
"aria-label": d(r)("previous"),
|
|
6360
6368
|
round: ":sm-inv",
|
|
6361
|
-
onClick: b[1] || (b[1] =
|
|
6369
|
+
onClick: b[1] || (b[1] = be((B) => g(n.value - 1), ["prevent"]))
|
|
6362
6370
|
}, {
|
|
6363
6371
|
default: $(() => [
|
|
6364
6372
|
T(q, { name: "arrow-left" }),
|
|
@@ -6366,7 +6374,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6366
6374
|
name: "arrow-left",
|
|
6367
6375
|
regular: ""
|
|
6368
6376
|
}),
|
|
6369
|
-
S("span",
|
|
6377
|
+
S("span", wc, V(d(r)("previous")), 1)
|
|
6370
6378
|
]),
|
|
6371
6379
|
_: 1
|
|
6372
6380
|
}, 8, ["theme", "aria-label"])) : F("", !0),
|
|
@@ -6375,7 +6383,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6375
6383
|
theme: p.theme,
|
|
6376
6384
|
"aria-label": d(r)("send"),
|
|
6377
6385
|
disabled: !o.value,
|
|
6378
|
-
onClick:
|
|
6386
|
+
onClick: be(d(R), ["prevent"])
|
|
6379
6387
|
}, {
|
|
6380
6388
|
default: $(() => [
|
|
6381
6389
|
pe(V(p.submitLabel || d(r)("send")), 1)
|
|
@@ -6387,10 +6395,10 @@ const sc = /* @__PURE__ */ K({
|
|
|
6387
6395
|
theme: p.theme,
|
|
6388
6396
|
"aria-label": d(r)("next"),
|
|
6389
6397
|
round: ":sm-inv",
|
|
6390
|
-
onClick: b[2] || (b[2] =
|
|
6398
|
+
onClick: b[2] || (b[2] = be((B) => g(n.value + 1), ["prevent"]))
|
|
6391
6399
|
}, {
|
|
6392
6400
|
default: $(() => [
|
|
6393
|
-
S("span",
|
|
6401
|
+
S("span", $c, V(d(r)("next")), 1),
|
|
6394
6402
|
T(q, { name: "arrow-right" }),
|
|
6395
6403
|
T(q, {
|
|
6396
6404
|
name: "arrow-right",
|
|
@@ -6408,7 +6416,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6408
6416
|
canSubmit: o.value,
|
|
6409
6417
|
submit: d(R)
|
|
6410
6418
|
})), () => [
|
|
6411
|
-
S("div",
|
|
6419
|
+
S("div", Cc, [
|
|
6412
6420
|
U(p.$slots, "secondary-actions"),
|
|
6413
6421
|
T(se, {
|
|
6414
6422
|
"aria-label": d(r)("clear"),
|
|
@@ -6435,13 +6443,13 @@ const sc = /* @__PURE__ */ K({
|
|
|
6435
6443
|
_: 3
|
|
6436
6444
|
}, 8, ["theme"]));
|
|
6437
6445
|
}
|
|
6438
|
-
}),
|
|
6446
|
+
}), _c = { class: "flx --flxColumn --flx-stretch-center --gap-10 --width-100" }, Bc = {
|
|
6439
6447
|
key: 0,
|
|
6440
6448
|
class: "xamu-slider-controls flx --flxRow --flx-center"
|
|
6441
|
-
},
|
|
6449
|
+
}, Sc = { key: 0 }, Tc = {
|
|
6442
6450
|
key: 0,
|
|
6443
6451
|
class: "--txtSize-sm"
|
|
6444
|
-
},
|
|
6452
|
+
}, Rc = { key: 1 }, kc = /* @__PURE__ */ K({
|
|
6445
6453
|
name: "SliderSimple",
|
|
6446
6454
|
inheritAttrs: !0,
|
|
6447
6455
|
__name: "Simple",
|
|
@@ -6538,7 +6546,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6538
6546
|
onMouseleave: N[3] || (N[3] = (I) => u.value = !1)
|
|
6539
6547
|
}, {
|
|
6540
6548
|
default: $(() => [
|
|
6541
|
-
S("div",
|
|
6549
|
+
S("div", _c, [
|
|
6542
6550
|
S("div", {
|
|
6543
6551
|
ref_key: "sliderContainerRef",
|
|
6544
6552
|
ref: i,
|
|
@@ -6557,13 +6565,13 @@ const sc = /* @__PURE__ */ K({
|
|
|
6557
6565
|
[aa, !o.value]
|
|
6558
6566
|
])
|
|
6559
6567
|
], 2),
|
|
6560
|
-
R.value > 1 && m.controls ? (f(), w("ul",
|
|
6561
|
-
m.controls === "full" ? (f(), w("li",
|
|
6568
|
+
R.value > 1 && m.controls ? (f(), w("ul", Bc, [
|
|
6569
|
+
m.controls === "full" ? (f(), w("li", Sc, [
|
|
6562
6570
|
T(ue, {
|
|
6563
6571
|
"aria-label": d(l)("previous"),
|
|
6564
6572
|
theme: m.theme,
|
|
6565
6573
|
round: "",
|
|
6566
|
-
onClick: N[0] || (N[0] =
|
|
6574
|
+
onClick: N[0] || (N[0] = be((I) => d(B)(!0), ["prevent"]))
|
|
6567
6575
|
}, {
|
|
6568
6576
|
default: $(() => [
|
|
6569
6577
|
T(q, { name: "arrow-left" })
|
|
@@ -6579,10 +6587,10 @@ const sc = /* @__PURE__ */ K({
|
|
|
6579
6587
|
theme: m.theme,
|
|
6580
6588
|
round: "",
|
|
6581
6589
|
title: d(l)("pick"),
|
|
6582
|
-
onClick:
|
|
6590
|
+
onClick: be((k) => d(B)(!1, `slide-${I}`), ["prevent"])
|
|
6583
6591
|
}, {
|
|
6584
6592
|
default: $(() => [
|
|
6585
|
-
m.enumerate ? (f(), w("span",
|
|
6593
|
+
m.enumerate ? (f(), w("span", Tc, V(I), 1)) : (f(), w(Q, { key: 1 }, [
|
|
6586
6594
|
T(q, {
|
|
6587
6595
|
name: "circle",
|
|
6588
6596
|
"force-regular": ""
|
|
@@ -6593,12 +6601,12 @@ const sc = /* @__PURE__ */ K({
|
|
|
6593
6601
|
_: 2
|
|
6594
6602
|
}, 1032, ["id", "active", "size", "theme", "title", "onClick"])
|
|
6595
6603
|
]))), 128)),
|
|
6596
|
-
m.controls === "full" ? (f(), w("li",
|
|
6604
|
+
m.controls === "full" ? (f(), w("li", Rc, [
|
|
6597
6605
|
T(ue, {
|
|
6598
6606
|
"aria-label": d(l)("next"),
|
|
6599
6607
|
theme: m.theme,
|
|
6600
6608
|
round: "",
|
|
6601
|
-
onClick: N[1] || (N[1] =
|
|
6609
|
+
onClick: N[1] || (N[1] = be((I) => d(B)(!1), ["prevent"]))
|
|
6602
6610
|
}, {
|
|
6603
6611
|
default: $(() => [
|
|
6604
6612
|
T(q, { name: "arrow-right" })
|
|
@@ -6612,7 +6620,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6612
6620
|
_: 3
|
|
6613
6621
|
}, 8, ["loading", "theme"]));
|
|
6614
6622
|
}
|
|
6615
|
-
}),
|
|
6623
|
+
}), Pc = { class: "list" }, Oc = ["for"], Nc = /* @__PURE__ */ K({
|
|
6616
6624
|
name: "CollapseSimple",
|
|
6617
6625
|
inheritAttrs: !1,
|
|
6618
6626
|
__name: "Simple",
|
|
@@ -6626,7 +6634,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6626
6634
|
},
|
|
6627
6635
|
setup(e) {
|
|
6628
6636
|
const a = e, { themeValues: t } = le(a);
|
|
6629
|
-
return (l, r) => (f(), w("nav",
|
|
6637
|
+
return (l, r) => (f(), w("nav", Pc, [
|
|
6630
6638
|
l.title ? (f(), _(Ke, M({
|
|
6631
6639
|
key: 0,
|
|
6632
6640
|
type: "checkbox"
|
|
@@ -6641,7 +6649,7 @@ const sc = /* @__PURE__ */ K({
|
|
|
6641
6649
|
name: "angle-down",
|
|
6642
6650
|
size: 20
|
|
6643
6651
|
})
|
|
6644
|
-
], 10,
|
|
6652
|
+
], 10, Oc)
|
|
6645
6653
|
]),
|
|
6646
6654
|
_: 1
|
|
6647
6655
|
}, 16)) : F("", !0),
|
|
@@ -6653,27 +6661,27 @@ const sc = /* @__PURE__ */ K({
|
|
|
6653
6661
|
}))
|
|
6654
6662
|
]));
|
|
6655
6663
|
}
|
|
6656
|
-
}),
|
|
6664
|
+
}), zc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6657
6665
|
__proto__: null,
|
|
6658
6666
|
ActionButton: ue,
|
|
6659
6667
|
ActionButtonLink: ua,
|
|
6660
6668
|
ActionButtonToggle: ie,
|
|
6661
6669
|
ActionLink: se,
|
|
6662
6670
|
BaseAction: Pe,
|
|
6663
|
-
BaseBox:
|
|
6671
|
+
BaseBox: ge,
|
|
6664
6672
|
BaseBrowserOnly: Gr,
|
|
6665
6673
|
BaseErrorBoundary: Ne,
|
|
6666
6674
|
BaseImg: Lt,
|
|
6667
6675
|
BaseInput: Ke,
|
|
6668
6676
|
BaseSelect: Kn,
|
|
6669
6677
|
BaseWrapper: Re,
|
|
6670
|
-
BoxAction:
|
|
6678
|
+
BoxAction: up,
|
|
6671
6679
|
BoxMessage: Ge,
|
|
6672
|
-
Collapse:
|
|
6680
|
+
Collapse: Nc,
|
|
6673
6681
|
Dropdown: Ar,
|
|
6674
6682
|
Form: Nr,
|
|
6675
6683
|
FormInput: Or,
|
|
6676
|
-
FormStages:
|
|
6684
|
+
FormStages: Ac,
|
|
6677
6685
|
Icon: Zn,
|
|
6678
6686
|
IconFa: q,
|
|
6679
6687
|
InputColor: fa,
|
|
@@ -6686,11 +6694,11 @@ const sc = /* @__PURE__ */ K({
|
|
|
6686
6694
|
Modal: at,
|
|
6687
6695
|
Pagination: Rr,
|
|
6688
6696
|
PaginationContent: kr,
|
|
6689
|
-
PaginationContentTable:
|
|
6697
|
+
PaginationContentTable: xp,
|
|
6690
6698
|
Select: qe,
|
|
6691
6699
|
SelectChoice: lr,
|
|
6692
6700
|
SelectFilter: Xe,
|
|
6693
|
-
Slider:
|
|
6701
|
+
Slider: kc,
|
|
6694
6702
|
Table: ca,
|
|
6695
6703
|
Value: St,
|
|
6696
6704
|
ValueComplex: ma,
|
|
@@ -6699,32 +6707,32 @@ const sc = /* @__PURE__ */ K({
|
|
|
6699
6707
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6700
6708
|
export {
|
|
6701
6709
|
ma as A,
|
|
6702
|
-
|
|
6710
|
+
up as B,
|
|
6703
6711
|
Ge as C,
|
|
6704
6712
|
Ot as D,
|
|
6705
6713
|
ut as E,
|
|
6706
6714
|
rt as F,
|
|
6707
6715
|
Rr as G,
|
|
6708
6716
|
kr as H,
|
|
6709
|
-
|
|
6717
|
+
xp as I,
|
|
6710
6718
|
Or as J,
|
|
6711
6719
|
Nr as K,
|
|
6712
|
-
|
|
6720
|
+
Ac as L,
|
|
6713
6721
|
at as M,
|
|
6714
6722
|
Ar as N,
|
|
6715
6723
|
ca as O,
|
|
6716
|
-
|
|
6717
|
-
|
|
6724
|
+
kc as P,
|
|
6725
|
+
Nc as Q,
|
|
6718
6726
|
Gr as _,
|
|
6719
6727
|
Ju as a,
|
|
6720
|
-
|
|
6728
|
+
zc as b,
|
|
6721
6729
|
Cr as c,
|
|
6722
6730
|
Lt as d,
|
|
6723
6731
|
Pe as e,
|
|
6724
6732
|
Ke as f,
|
|
6725
6733
|
Kn as g,
|
|
6726
6734
|
Re as h,
|
|
6727
|
-
|
|
6735
|
+
ge as i,
|
|
6728
6736
|
Ne as j,
|
|
6729
6737
|
Zn as k,
|
|
6730
6738
|
q as l,
|