sprintify-ui 0.10.61 → 0.10.63
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/sprintify-ui.es.js +617 -577
- package/dist/types/components/BaseDataTable.vue.d.ts +30 -0
- package/dist/types/utils/deepIncludes.d.ts +14 -0
- package/package.json +1 -1
- package/src/components/BaseDataIterator.vue +2 -10
- package/src/components/BaseDataTable.vue +9 -0
- package/src/utils/deepIncludes.ts +77 -0
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -13231,7 +13231,7 @@ function K0(t) {
|
|
|
13231
13231
|
function G0(t, n = "data:application/octet-stream") {
|
|
13232
13232
|
return t.match(/^data:.*\/.*;base64,/) || (t = `${n};base64,${t}`), t;
|
|
13233
13233
|
}
|
|
13234
|
-
async function
|
|
13234
|
+
async function jS(t, n = "data:application/octet-stream") {
|
|
13235
13235
|
return t = G0(t, n), (await fetch(t)).blob();
|
|
13236
13236
|
}
|
|
13237
13237
|
class Lc {
|
|
@@ -14981,16 +14981,51 @@ const Sa = /* @__PURE__ */ Wa(dy), fy = { class: "flex grow items-center justify
|
|
|
14981
14981
|
_: 3
|
|
14982
14982
|
}));
|
|
14983
14983
|
}
|
|
14984
|
-
})
|
|
14984
|
+
});
|
|
14985
|
+
function Ly(t, n, e = {}) {
|
|
14986
|
+
const o = n.toLowerCase(), {
|
|
14987
|
+
maxDepth: r = 3,
|
|
14988
|
+
maxCharsPerItem: a = 3e3,
|
|
14989
|
+
maxArray: l = 64,
|
|
14990
|
+
cache: s
|
|
14991
|
+
} = e;
|
|
14992
|
+
let u = 0;
|
|
14993
|
+
const d = /* @__PURE__ */ new WeakSet(), f = (m) => (u += m.length, m.toLowerCase().includes(o) || u >= a), p = (m, y) => {
|
|
14994
|
+
if (m == null || u >= a) return !1;
|
|
14995
|
+
const v = typeof m;
|
|
14996
|
+
if (v === "string") return f(m);
|
|
14997
|
+
if (v === "number" || v === "boolean") return f(String(m));
|
|
14998
|
+
if (v === "bigint") return f(m.toString());
|
|
14999
|
+
if (v === "symbol" || v === "function") return !1;
|
|
15000
|
+
if (v === "object") {
|
|
15001
|
+
if (d.has(m)) return !1;
|
|
15002
|
+
if (d.add(m), s && s.has(m))
|
|
15003
|
+
return f(s.get(m));
|
|
15004
|
+
if (y >= r) return !1;
|
|
15005
|
+
if (Array.isArray(m)) {
|
|
15006
|
+
const h = Math.min(m.length, l);
|
|
15007
|
+
for (let g = 0; g < h; g++)
|
|
15008
|
+
if (p(m[g], y + 1)) return !0;
|
|
15009
|
+
return !1;
|
|
15010
|
+
}
|
|
15011
|
+
for (const h in m)
|
|
15012
|
+
if (f(h) || p(m[h], y + 1)) return !0;
|
|
15013
|
+
return !1;
|
|
15014
|
+
}
|
|
15015
|
+
return !1;
|
|
15016
|
+
};
|
|
15017
|
+
return p(t, 0);
|
|
15018
|
+
}
|
|
15019
|
+
const Fy = {
|
|
14985
15020
|
key: 0,
|
|
14986
15021
|
class: "grow min-w-0"
|
|
14987
|
-
},
|
|
15022
|
+
}, Py = {
|
|
14988
15023
|
key: 1,
|
|
14989
15024
|
class: "mt-4"
|
|
14990
|
-
},
|
|
15025
|
+
}, Ny = { class: "text-center text-sm text-slate-500 sm:text-right [&>b]:font-medium [&>b]:text-slate-600" }, Vy = {
|
|
14991
15026
|
key: 2,
|
|
14992
15027
|
class: "mt-4"
|
|
14993
|
-
},
|
|
15028
|
+
}, jy = {
|
|
14994
15029
|
page: 1,
|
|
14995
15030
|
search: "",
|
|
14996
15031
|
sort: "",
|
|
@@ -15027,7 +15062,7 @@ const Sa = /* @__PURE__ */ Wa(dy), fy = { class: "flex grow items-center justify
|
|
|
15027
15062
|
*/
|
|
15028
15063
|
defaultQuery: {
|
|
15029
15064
|
default: function() {
|
|
15030
|
-
return
|
|
15065
|
+
return jy;
|
|
15031
15066
|
},
|
|
15032
15067
|
type: Object
|
|
15033
15068
|
},
|
|
@@ -15270,10 +15305,7 @@ const Sa = /* @__PURE__ */ Wa(dy), fy = { class: "flex grow items-center justify
|
|
|
15270
15305
|
})
|
|
15271
15306
|
), gt = w(() => u.value == a ? we.value : It(wt(we.value)));
|
|
15272
15307
|
function Tt(he) {
|
|
15273
|
-
|
|
15274
|
-
return [];
|
|
15275
|
-
const ce = Et.value.toLowerCase();
|
|
15276
|
-
return o.search ? o.search(he, Et.value) : he == null ? void 0 : he.filter((ve) => Object.values(ve).some((de) => typeof de == "string" ? de.toLowerCase().includes(ce) : !1));
|
|
15308
|
+
return he ? o.search ? o.search(he, Et.value) : he.filter((ce) => Ly(ce, Et.value)) : [];
|
|
15277
15309
|
}
|
|
15278
15310
|
function wt(he) {
|
|
15279
15311
|
return he ? !ut.value || !ct.value ? he : ct.value == "asc" ? Wi(he, ut.value) : Wi(he, ut.value).reverse() : [];
|
|
@@ -15350,7 +15382,7 @@ const Sa = /* @__PURE__ */ Wa(dy), fy = { class: "flex grow items-center justify
|
|
|
15350
15382
|
"mb-4": c(v).size.value == "md"
|
|
15351
15383
|
}])
|
|
15352
15384
|
}, [
|
|
15353
|
-
t.searchable ? (b(), z("div",
|
|
15385
|
+
t.searchable ? (b(), z("div", Fy, [
|
|
15354
15386
|
Q(ln, {
|
|
15355
15387
|
modelValue: c(S),
|
|
15356
15388
|
"onUpdate:modelValue": [
|
|
@@ -15425,8 +15457,8 @@ const Sa = /* @__PURE__ */ Wa(dy), fy = { class: "flex grow items-center justify
|
|
|
15425
15457
|
onSortChange: ie,
|
|
15426
15458
|
onPageChange: De
|
|
15427
15459
|
}),
|
|
15428
|
-
c(Oe) ? (b(), z("div",
|
|
15429
|
-
B("p",
|
|
15460
|
+
c(Oe) ? (b(), z("div", Py, [
|
|
15461
|
+
B("p", Ny, [
|
|
15430
15462
|
Ot(le(c(ye)("sui.pagination_detail_1")) + " ", 1),
|
|
15431
15463
|
B("b", null, le(c(j)), 1),
|
|
15432
15464
|
ce[4] || (ce[4] = Ot(" - ")),
|
|
@@ -15435,7 +15467,7 @@ const Sa = /* @__PURE__ */ Wa(dy), fy = { class: "flex grow items-center justify
|
|
|
15435
15467
|
B("b", null, le(c(Oe).total), 1)
|
|
15436
15468
|
])
|
|
15437
15469
|
])) : Z("", !0),
|
|
15438
|
-
c(Oe) ? (b(), z("div",
|
|
15470
|
+
c(Oe) ? (b(), z("div", Vy, [
|
|
15439
15471
|
Q(Hc, {
|
|
15440
15472
|
"model-value": c(ne),
|
|
15441
15473
|
"last-page": c(it),
|
|
@@ -15646,7 +15678,7 @@ const Sa = /* @__PURE__ */ Wa(dy), fy = { class: "flex grow items-center justify
|
|
|
15646
15678
|
return st("span", { "data-id": this.newKey }, this.label);
|
|
15647
15679
|
}
|
|
15648
15680
|
});
|
|
15649
|
-
function
|
|
15681
|
+
function Hy(t) {
|
|
15650
15682
|
const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
15651
15683
|
let e = "";
|
|
15652
15684
|
for (let o = 0; o < t; o++)
|
|
@@ -15673,7 +15705,7 @@ function Ln(t) {
|
|
|
15673
15705
|
for (var n = 1; n < arguments.length; n++) {
|
|
15674
15706
|
var e = arguments[n] != null ? arguments[n] : {};
|
|
15675
15707
|
n % 2 ? Ts(Object(e), !0).forEach(function(o) {
|
|
15676
|
-
|
|
15708
|
+
qy(t, o, e[o]);
|
|
15677
15709
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : Ts(Object(e)).forEach(function(o) {
|
|
15678
15710
|
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(e, o));
|
|
15679
15711
|
});
|
|
@@ -15688,7 +15720,7 @@ function ia(t) {
|
|
|
15688
15720
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
15689
15721
|
}, ia(t);
|
|
15690
15722
|
}
|
|
15691
|
-
function
|
|
15723
|
+
function qy(t, n, e) {
|
|
15692
15724
|
return n in t ? Object.defineProperty(t, n, {
|
|
15693
15725
|
value: e,
|
|
15694
15726
|
enumerable: !0,
|
|
@@ -15706,16 +15738,16 @@ function Hn() {
|
|
|
15706
15738
|
return t;
|
|
15707
15739
|
}, Hn.apply(this, arguments);
|
|
15708
15740
|
}
|
|
15709
|
-
function
|
|
15741
|
+
function Wy(t, n) {
|
|
15710
15742
|
if (t == null) return {};
|
|
15711
15743
|
var e = {}, o = Object.keys(t), r, a;
|
|
15712
15744
|
for (a = 0; a < o.length; a++)
|
|
15713
15745
|
r = o[a], !(n.indexOf(r) >= 0) && (e[r] = t[r]);
|
|
15714
15746
|
return e;
|
|
15715
15747
|
}
|
|
15716
|
-
function
|
|
15748
|
+
function Uy(t, n) {
|
|
15717
15749
|
if (t == null) return {};
|
|
15718
|
-
var e =
|
|
15750
|
+
var e = Wy(t, n), o, r;
|
|
15719
15751
|
if (Object.getOwnPropertySymbols) {
|
|
15720
15752
|
var a = Object.getOwnPropertySymbols(t);
|
|
15721
15753
|
for (r = 0; r < a.length; r++)
|
|
@@ -15723,7 +15755,7 @@ function Wy(t, n) {
|
|
|
15723
15755
|
}
|
|
15724
15756
|
return e;
|
|
15725
15757
|
}
|
|
15726
|
-
var
|
|
15758
|
+
var Yy = "1.15.6";
|
|
15727
15759
|
function Nn(t) {
|
|
15728
15760
|
if (typeof window < "u" && window.navigator)
|
|
15729
15761
|
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
@@ -15879,7 +15911,7 @@ function Ls(t) {
|
|
|
15879
15911
|
} while (t !== o && (t = t.parentNode));
|
|
15880
15912
|
return [n, e];
|
|
15881
15913
|
}
|
|
15882
|
-
function
|
|
15914
|
+
function Ky(t, n) {
|
|
15883
15915
|
for (var e in t)
|
|
15884
15916
|
if (t.hasOwnProperty(e)) {
|
|
15885
15917
|
for (var o in n)
|
|
@@ -15902,7 +15934,7 @@ function Qn(t, n) {
|
|
|
15902
15934
|
while (e = e.parentNode);
|
|
15903
15935
|
return zn();
|
|
15904
15936
|
}
|
|
15905
|
-
function
|
|
15937
|
+
function Gy(t, n) {
|
|
15906
15938
|
if (t && n)
|
|
15907
15939
|
for (var e in n)
|
|
15908
15940
|
n.hasOwnProperty(e) && (t[e] = n[e]);
|
|
@@ -15922,7 +15954,7 @@ function Zc(t, n) {
|
|
|
15922
15954
|
}
|
|
15923
15955
|
};
|
|
15924
15956
|
}
|
|
15925
|
-
function
|
|
15957
|
+
function Xy() {
|
|
15926
15958
|
clearTimeout(pr), pr = void 0;
|
|
15927
15959
|
}
|
|
15928
15960
|
function Qc(t, n, e) {
|
|
@@ -15943,7 +15975,7 @@ function ed(t, n, e) {
|
|
|
15943
15975
|
}), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
|
|
15944
15976
|
}
|
|
15945
15977
|
var rn = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
15946
|
-
function
|
|
15978
|
+
function Zy() {
|
|
15947
15979
|
var t = [], n;
|
|
15948
15980
|
return {
|
|
15949
15981
|
captureAnimationState: function() {
|
|
@@ -15969,7 +16001,7 @@ function Xy() {
|
|
|
15969
16001
|
t.push(o);
|
|
15970
16002
|
},
|
|
15971
16003
|
removeAnimationState: function(o) {
|
|
15972
|
-
t.splice(
|
|
16004
|
+
t.splice(Ky(t, {
|
|
15973
16005
|
target: o
|
|
15974
16006
|
}), 1);
|
|
15975
16007
|
},
|
|
@@ -15983,7 +16015,7 @@ function Xy() {
|
|
|
15983
16015
|
t.forEach(function(s) {
|
|
15984
16016
|
var u = 0, d = s.target, f = d.fromRect, p = Lt(d), m = d.prevFromRect, y = d.prevToRect, v = s.rect, h = Oo(d, !0);
|
|
15985
16017
|
h && (p.top -= h.f, p.left -= h.e), d.toRect = p, d.thisAnimationDuration && fl(m, p) && !fl(f, p) && // Make sure animatingRect is on line between toRect & fromRect
|
|
15986
|
-
(v.top - p.top) / (v.left - p.left) === (f.top - p.top) / (f.left - p.left) && (u =
|
|
16018
|
+
(v.top - p.top) / (v.left - p.left) === (f.top - p.top) / (f.left - p.left) && (u = Jy(v, m, y, r.options)), fl(p, f) || (d.prevFromRect = f, d.prevToRect = p, u || (u = r.options.animation), r.animate(d, v, p, u)), u && (a = !0, l = Math.max(l, u), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
|
|
15987
16019
|
d.animationTime = 0, d.prevFromRect = null, d.fromRect = null, d.prevToRect = null, d.thisAnimationDuration = null;
|
|
15988
16020
|
}, u), d.thisAnimationDuration = u);
|
|
15989
16021
|
}), clearTimeout(n), a ? n = setTimeout(function() {
|
|
@@ -15994,17 +16026,17 @@ function Xy() {
|
|
|
15994
16026
|
if (l) {
|
|
15995
16027
|
Ge(o, "transition", ""), Ge(o, "transform", "");
|
|
15996
16028
|
var s = Oo(this.el), u = s && s.a, d = s && s.d, f = (r.left - a.left) / (u || 1), p = (r.top - a.top) / (d || 1);
|
|
15997
|
-
o.animatingX = !!f, o.animatingY = !!p, Ge(o, "transform", "translate3d(" + f + "px," + p + "px,0)"), this.forRepaintDummy =
|
|
16029
|
+
o.animatingX = !!f, o.animatingY = !!p, Ge(o, "transform", "translate3d(" + f + "px," + p + "px,0)"), this.forRepaintDummy = Qy(o), Ge(o, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), Ge(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
|
|
15998
16030
|
Ge(o, "transition", ""), Ge(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
|
|
15999
16031
|
}, l);
|
|
16000
16032
|
}
|
|
16001
16033
|
}
|
|
16002
16034
|
};
|
|
16003
16035
|
}
|
|
16004
|
-
function
|
|
16036
|
+
function Qy(t) {
|
|
16005
16037
|
return t.offsetWidth;
|
|
16006
16038
|
}
|
|
16007
|
-
function
|
|
16039
|
+
function Jy(t, n, e, o) {
|
|
16008
16040
|
return Math.sqrt(Math.pow(n.top - t.top, 2) + Math.pow(n.left - t.left, 2)) / Math.sqrt(Math.pow(n.top - e.top, 2) + Math.pow(n.left - e.left, 2)) * o.animation;
|
|
16009
16041
|
}
|
|
16010
16042
|
var Bo = [], pl = {
|
|
@@ -16059,7 +16091,7 @@ var Bo = [], pl = {
|
|
|
16059
16091
|
}), r;
|
|
16060
16092
|
}
|
|
16061
16093
|
};
|
|
16062
|
-
function
|
|
16094
|
+
function eb(t) {
|
|
16063
16095
|
var n = t.sortable, e = t.rootEl, o = t.name, r = t.targetEl, a = t.cloneEl, l = t.toEl, s = t.fromEl, u = t.oldIndex, d = t.newIndex, f = t.oldDraggableIndex, p = t.newDraggableIndex, m = t.originalEvent, y = t.putSortable, v = t.extraEventProperties;
|
|
16064
16096
|
if (n = n || e && e[rn], !!n) {
|
|
16065
16097
|
var h, g = n.options, k = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
@@ -16073,8 +16105,8 @@ function Jy(t) {
|
|
|
16073
16105
|
e && e.dispatchEvent(h), g[k] && g[k].call(n, h);
|
|
16074
16106
|
}
|
|
16075
16107
|
}
|
|
16076
|
-
var
|
|
16077
|
-
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, a =
|
|
16108
|
+
var tb = ["evt"], nn = function(n, e) {
|
|
16109
|
+
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, a = Uy(o, tb);
|
|
16078
16110
|
Fr.pluginEvent.bind(Xe)(n, e, Ln({
|
|
16079
16111
|
dragEl: Me,
|
|
16080
16112
|
parentEl: At,
|
|
@@ -16110,7 +16142,7 @@ var eb = ["evt"], nn = function(n, e) {
|
|
|
16110
16142
|
}, a));
|
|
16111
16143
|
};
|
|
16112
16144
|
function tn(t) {
|
|
16113
|
-
|
|
16145
|
+
eb(Ln({
|
|
16114
16146
|
putSortable: Yt,
|
|
16115
16147
|
cloneEl: $t,
|
|
16116
16148
|
targetEl: Me,
|
|
@@ -16121,7 +16153,7 @@ function tn(t) {
|
|
|
16121
16153
|
newDraggableIndex: Gn
|
|
16122
16154
|
}, t));
|
|
16123
16155
|
}
|
|
16124
|
-
var Me, At, Je, Bt, uo, sa, $t, Xn, Io, hn, mr, Gn, Kr, Yt, _o = !1, Ea = !1, Ba = [], lo, En, ml, hl, Fs, Ps, rr, Mo, hr, gr = !1, Gr = !1, ua, Xt, gl = [], jl = !1, Ma = [], Qa = typeof document < "u", Xr = Di, Ns = Lr || qn ? "cssFloat" : "float",
|
|
16156
|
+
var Me, At, Je, Bt, uo, sa, $t, Xn, Io, hn, mr, Gn, Kr, Yt, _o = !1, Ea = !1, Ba = [], lo, En, ml, hl, Fs, Ps, rr, Mo, hr, gr = !1, Gr = !1, ua, Xt, gl = [], jl = !1, Ma = [], Qa = typeof document < "u", Xr = Di, Ns = Lr || qn ? "cssFloat" : "float", nb = Qa && !Yc && !Di && "draggable" in document.createElement("div"), td = function() {
|
|
16125
16157
|
if (Qa) {
|
|
16126
16158
|
if (qn)
|
|
16127
16159
|
return !1;
|
|
@@ -16139,10 +16171,10 @@ var Me, At, Je, Bt, uo, sa, $t, Xn, Io, hn, mr, Gn, Kr, Yt, _o = !1, Ea = !1, Ba
|
|
|
16139
16171
|
return l && (u.clear === "both" || u.clear === p) ? "vertical" : "horizontal";
|
|
16140
16172
|
}
|
|
16141
16173
|
return a && (s.display === "block" || s.display === "flex" || s.display === "table" || s.display === "grid" || d >= r && o[Ns] === "none" || l && o[Ns] === "none" && d + f > r) ? "vertical" : "horizontal";
|
|
16142
|
-
},
|
|
16174
|
+
}, ob = function(n, e, o) {
|
|
16143
16175
|
var r = o ? n.left : n.top, a = o ? n.right : n.bottom, l = o ? n.width : n.height, s = o ? e.left : e.top, u = o ? e.right : e.bottom, d = o ? e.width : e.height;
|
|
16144
16176
|
return r === s || a === u || r + l / 2 === s + d / 2;
|
|
16145
|
-
},
|
|
16177
|
+
}, rb = function(n, e) {
|
|
16146
16178
|
var o;
|
|
16147
16179
|
return Ba.some(function(r) {
|
|
16148
16180
|
var a = r[rn].options.emptyInsertThreshold;
|
|
@@ -16184,7 +16216,7 @@ Qa && !Yc && document.addEventListener("click", function(t) {
|
|
|
16184
16216
|
var io = function(n) {
|
|
16185
16217
|
if (Me) {
|
|
16186
16218
|
n = n.touches ? n.touches[0] : n;
|
|
16187
|
-
var e =
|
|
16219
|
+
var e = rb(n.clientX, n.clientY);
|
|
16188
16220
|
if (e) {
|
|
16189
16221
|
var o = {};
|
|
16190
16222
|
for (var r in n)
|
|
@@ -16192,7 +16224,7 @@ var io = function(n) {
|
|
|
16192
16224
|
o.target = o.rootEl = e, o.preventDefault = void 0, o.stopPropagation = void 0, e[rn]._onDragOver(o);
|
|
16193
16225
|
}
|
|
16194
16226
|
}
|
|
16195
|
-
},
|
|
16227
|
+
}, ab = function(n) {
|
|
16196
16228
|
Me && Me.parentNode[rn]._isOutsideThisEl(n.target);
|
|
16197
16229
|
};
|
|
16198
16230
|
function Xe(t, n) {
|
|
@@ -16251,7 +16283,7 @@ function Xe(t, n) {
|
|
|
16251
16283
|
od(n);
|
|
16252
16284
|
for (var r in this)
|
|
16253
16285
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
16254
|
-
this.nativeDraggable = n.forceFallback ? !1 :
|
|
16286
|
+
this.nativeDraggable = n.forceFallback ? !1 : nb, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? lt(t, "pointerdown", this._onTapStart) : (lt(t, "mousedown", this._onTapStart), lt(t, "touchstart", this._onTapStart)), this.nativeDraggable && (lt(t, "dragover", this), lt(t, "dragenter", this)), Ba.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), Hn(this, Zy());
|
|
16255
16287
|
}
|
|
16256
16288
|
Xe.prototype = /** @lends Sortable.prototype */
|
|
16257
16289
|
{
|
|
@@ -16265,7 +16297,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16265
16297
|
_onTapStart: function(n) {
|
|
16266
16298
|
if (n.cancelable) {
|
|
16267
16299
|
var e = this, o = this.el, r = this.options, a = r.preventOnFilter, l = n.type, s = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, u = (s || n).target, d = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || u, f = r.filter;
|
|
16268
|
-
if (
|
|
16300
|
+
if (pb(o), !Me && !(/mousedown|pointerdown/.test(l) && n.button !== 0 || r.disabled) && !d.isContentEditable && !(!this.nativeDraggable && fr && u && u.tagName.toUpperCase() === "SELECT") && (u = Bn(u, r.draggable, o, !1), !(u && u.animated) && sa !== u)) {
|
|
16269
16301
|
if (Io = xn(u), mr = xn(u, r.draggable), typeof f == "function") {
|
|
16270
16302
|
if (f.call(this, n, u, this)) {
|
|
16271
16303
|
tn({
|
|
@@ -16358,7 +16390,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16358
16390
|
if (_o = !1, Bt && Me) {
|
|
16359
16391
|
nn("dragStarted", this, {
|
|
16360
16392
|
evt: e
|
|
16361
|
-
}), this.nativeDraggable && lt(document, "dragover",
|
|
16393
|
+
}), this.nativeDraggable && lt(document, "dragover", ab);
|
|
16362
16394
|
var o = this.options;
|
|
16363
16395
|
!n && pn(Me, o.dragClass, !1), pn(Me, o.ghostClass, !0), Xe.active = this, n && this._appendGhost(), tn({
|
|
16364
16396
|
sortable: this,
|
|
@@ -16489,12 +16521,12 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16489
16521
|
if (l)
|
|
16490
16522
|
return At = Bt, k(), this._hideClone(), g("revert"), Xe.eventCanceled || (uo ? Bt.insertBefore(Me, uo) : Bt.appendChild(Me)), I(!0);
|
|
16491
16523
|
var S = Ai(e, s.draggable);
|
|
16492
|
-
if (!S ||
|
|
16524
|
+
if (!S || ub(n, y, this) && !S.animated) {
|
|
16493
16525
|
if (S === Me)
|
|
16494
16526
|
return I(!1);
|
|
16495
16527
|
if (S && e === n.target && (o = S), o && (a = Lt(o)), Zr(Bt, e, Me, r, o, a, n, !!o) !== !1)
|
|
16496
16528
|
return k(), S && S.nextSibling ? e.insertBefore(Me, S.nextSibling) : e.appendChild(Me), At = e, i(), I(!0);
|
|
16497
|
-
} else if (S &&
|
|
16529
|
+
} else if (S && sb(n, y, this)) {
|
|
16498
16530
|
var R = Ho(e, 0, s, !0);
|
|
16499
16531
|
if (R === Me)
|
|
16500
16532
|
return I(!1);
|
|
@@ -16502,8 +16534,8 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16502
16534
|
return k(), e.insertBefore(Me, R), At = e, i(), I(!0);
|
|
16503
16535
|
} else if (o.parentNode === e) {
|
|
16504
16536
|
a = Lt(o);
|
|
16505
|
-
var E = 0, _, x = Me.parentNode !== e, C = !
|
|
16506
|
-
Mo !== o && (_ = a[M], gr = !1, Gr = !C && s.invertSwap || x), E =
|
|
16537
|
+
var E = 0, _, x = Me.parentNode !== e, C = !ob(Me.animated && Me.toRect || r, o.animated && o.toRect || a, y), M = y ? "top" : "left", O = Rs(o, "top", "top") || Rs(Me, "top", "top"), F = O ? O.scrollTop : void 0;
|
|
16538
|
+
Mo !== o && (_ = a[M], gr = !1, Gr = !C && s.invertSwap || x), E = cb(n, o, a, y, C ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Gr, Mo === o);
|
|
16507
16539
|
var X;
|
|
16508
16540
|
if (E !== 0) {
|
|
16509
16541
|
var J = xn(Me);
|
|
@@ -16518,7 +16550,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16518
16550
|
G = E === 1;
|
|
16519
16551
|
var ge = Zr(Bt, e, Me, r, o, a, n, G);
|
|
16520
16552
|
if (ge !== !1)
|
|
16521
|
-
return (ge === 1 || ge === -1) && (G = ge === 1), jl = !0, setTimeout(
|
|
16553
|
+
return (ge === 1 || ge === -1) && (G = ge === 1), jl = !0, setTimeout(ib, 30), k(), G && !re ? e.appendChild(Me) : o.parentNode.insertBefore(Me, G ? re : o), O && Qc(O, 0, F - O.scrollTop), At = Me.parentNode, _ !== void 0 && !Gr && (ua = Math.abs(_ - Lt(o)[M])), i(), I(!0);
|
|
16522
16554
|
}
|
|
16523
16555
|
if (e.contains(Me))
|
|
16524
16556
|
return I(!1);
|
|
@@ -16600,7 +16632,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16600
16632
|
break;
|
|
16601
16633
|
case "dragenter":
|
|
16602
16634
|
case "dragover":
|
|
16603
|
-
Me && (this._onDragOver(n),
|
|
16635
|
+
Me && (this._onDragOver(n), lb(n));
|
|
16604
16636
|
break;
|
|
16605
16637
|
case "selectstart":
|
|
16606
16638
|
n.preventDefault();
|
|
@@ -16613,7 +16645,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16613
16645
|
*/
|
|
16614
16646
|
toArray: function() {
|
|
16615
16647
|
for (var n = [], e, o = this.el.children, r = 0, a = o.length, l = this.options; r < a; r++)
|
|
16616
|
-
e = o[r], Bn(e, l.draggable, this.el, !1) && n.push(e.getAttribute(l.dataIdAttr) ||
|
|
16648
|
+
e = o[r], Bn(e, l.draggable, this.el, !1) && n.push(e.getAttribute(l.dataIdAttr) || fb(e));
|
|
16617
16649
|
return n;
|
|
16618
16650
|
},
|
|
16619
16651
|
/**
|
|
@@ -16685,7 +16717,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
16685
16717
|
}
|
|
16686
16718
|
}
|
|
16687
16719
|
};
|
|
16688
|
-
function
|
|
16720
|
+
function lb(t) {
|
|
16689
16721
|
t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
|
|
16690
16722
|
}
|
|
16691
16723
|
function Zr(t, n, e, o, r, a, l, s) {
|
|
@@ -16698,18 +16730,18 @@ function Zr(t, n, e, o, r, a, l, s) {
|
|
|
16698
16730
|
function vl(t) {
|
|
16699
16731
|
t.draggable = !1;
|
|
16700
16732
|
}
|
|
16701
|
-
function
|
|
16733
|
+
function ib() {
|
|
16702
16734
|
jl = !1;
|
|
16703
16735
|
}
|
|
16704
|
-
function
|
|
16736
|
+
function sb(t, n, e) {
|
|
16705
16737
|
var o = Lt(Ho(e.el, 0, e.options, !0)), r = ed(e.el, e.options, Je), a = 10;
|
|
16706
16738
|
return n ? t.clientX < r.left - a || t.clientY < o.top && t.clientX < o.right : t.clientY < r.top - a || t.clientY < o.bottom && t.clientX < o.left;
|
|
16707
16739
|
}
|
|
16708
|
-
function
|
|
16740
|
+
function ub(t, n, e) {
|
|
16709
16741
|
var o = Lt(Ai(e.el, e.options.draggable)), r = ed(e.el, e.options, Je), a = 10;
|
|
16710
16742
|
return n ? t.clientX > r.right + a || t.clientY > o.bottom && t.clientX > o.left : t.clientY > r.bottom + a || t.clientX > o.right && t.clientY > o.top;
|
|
16711
16743
|
}
|
|
16712
|
-
function
|
|
16744
|
+
function cb(t, n, e, o, r, a, l, s) {
|
|
16713
16745
|
var u = o ? t.clientY : t.clientX, d = o ? e.height : e.width, f = o ? e.top : e.left, p = o ? e.bottom : e.right, m = !1;
|
|
16714
16746
|
if (!l) {
|
|
16715
16747
|
if (s && ua < d * r) {
|
|
@@ -16718,19 +16750,19 @@ function ub(t, n, e, o, r, a, l, s) {
|
|
|
16718
16750
|
else if (hr === 1 ? u < f + ua : u > p - ua)
|
|
16719
16751
|
return -hr;
|
|
16720
16752
|
} else if (u > f + d * (1 - r) / 2 && u < p - d * (1 - r) / 2)
|
|
16721
|
-
return
|
|
16753
|
+
return db(n);
|
|
16722
16754
|
}
|
|
16723
16755
|
return m = m || l, m && (u < f + d * a / 2 || u > p - d * a / 2) ? u > f + d / 2 ? 1 : -1 : 0;
|
|
16724
16756
|
}
|
|
16725
|
-
function
|
|
16757
|
+
function db(t) {
|
|
16726
16758
|
return xn(Me) < xn(t) ? 1 : -1;
|
|
16727
16759
|
}
|
|
16728
|
-
function
|
|
16760
|
+
function fb(t) {
|
|
16729
16761
|
for (var n = t.tagName + t.className + t.src + t.href + t.textContent, e = n.length, o = 0; e--; )
|
|
16730
16762
|
o += n.charCodeAt(e);
|
|
16731
16763
|
return o.toString(36);
|
|
16732
16764
|
}
|
|
16733
|
-
function
|
|
16765
|
+
function pb(t) {
|
|
16734
16766
|
Ma.length = 0;
|
|
16735
16767
|
for (var n = t.getElementsByTagName("input"), e = n.length; e--; ) {
|
|
16736
16768
|
var o = n[e];
|
|
@@ -16754,7 +16786,7 @@ Xe.utils = {
|
|
|
16754
16786
|
is: function(n, e) {
|
|
16755
16787
|
return !!Bn(n, e, n, !1);
|
|
16756
16788
|
},
|
|
16757
|
-
extend:
|
|
16789
|
+
extend: Gy,
|
|
16758
16790
|
throttle: Zc,
|
|
16759
16791
|
closest: Bn,
|
|
16760
16792
|
toggleClass: pn,
|
|
@@ -16781,9 +16813,9 @@ Xe.mount = function() {
|
|
|
16781
16813
|
Xe.create = function(t, n) {
|
|
16782
16814
|
return new Xe(t, n);
|
|
16783
16815
|
};
|
|
16784
|
-
Xe.version =
|
|
16816
|
+
Xe.version = Yy;
|
|
16785
16817
|
var Rt = [], ar, ql, Wl = !1, yl, bl, _a, lr;
|
|
16786
|
-
function
|
|
16818
|
+
function mb() {
|
|
16787
16819
|
function t() {
|
|
16788
16820
|
this.defaults = {
|
|
16789
16821
|
scroll: !0,
|
|
@@ -16805,7 +16837,7 @@ function pb() {
|
|
|
16805
16837
|
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
16806
16838
|
},
|
|
16807
16839
|
drop: function() {
|
|
16808
|
-
this.sortable.nativeDraggable ? at(document, "dragover", this._handleAutoScroll) : (at(document, "pointermove", this._handleFallbackAutoScroll), at(document, "touchmove", this._handleFallbackAutoScroll), at(document, "mousemove", this._handleFallbackAutoScroll)), Vs(), da(),
|
|
16840
|
+
this.sortable.nativeDraggable ? at(document, "dragover", this._handleAutoScroll) : (at(document, "pointermove", this._handleFallbackAutoScroll), at(document, "touchmove", this._handleFallbackAutoScroll), at(document, "mousemove", this._handleFallbackAutoScroll)), Vs(), da(), Xy();
|
|
16809
16841
|
},
|
|
16810
16842
|
nulling: function() {
|
|
16811
16843
|
_a = ql = ar = Wl = lr = yl = bl = null, Rt.length = 0;
|
|
@@ -16908,7 +16940,7 @@ zi.prototype = {
|
|
|
16908
16940
|
Hn(zi, {
|
|
16909
16941
|
pluginName: "removeOnSpill"
|
|
16910
16942
|
});
|
|
16911
|
-
Xe.mount(new
|
|
16943
|
+
Xe.mount(new mb());
|
|
16912
16944
|
Xe.mount(zi, Ti);
|
|
16913
16945
|
const Pr = /* @__PURE__ */ te({
|
|
16914
16946
|
__name: "BaseDraggable",
|
|
@@ -16923,7 +16955,7 @@ const Pr = /* @__PURE__ */ te({
|
|
|
16923
16955
|
setup(t, { emit: n }) {
|
|
16924
16956
|
const e = t, o = n, r = P(null);
|
|
16925
16957
|
function a(f) {
|
|
16926
|
-
return f[e.itemKey] ??
|
|
16958
|
+
return f[e.itemKey] ?? Hy(32);
|
|
16927
16959
|
}
|
|
16928
16960
|
let l = null;
|
|
16929
16961
|
Ze(() => {
|
|
@@ -16980,7 +17012,7 @@ const Pr = /* @__PURE__ */ te({
|
|
|
16980
17012
|
_: 3
|
|
16981
17013
|
}, 512));
|
|
16982
17014
|
}
|
|
16983
|
-
}), Ia = "sprintify_ui_actions",
|
|
17015
|
+
}), Ia = "sprintify_ui_actions", hb = { class: "-mx-4 -my-2" }, gb = { class: "px-4 w-full" }, vb = { class: "flex items-center border-t" }, yb = { class: "grow py-1.5 pr-4" }, bb = ["checked", "disabled", "value", "onChange"], wb = /* @__PURE__ */ te({
|
|
16984
17016
|
__name: "BaseDataIteratorSectionColumns",
|
|
16985
17017
|
props: {
|
|
16986
17018
|
table: {
|
|
@@ -17021,8 +17053,8 @@ const Pr = /* @__PURE__ */ te({
|
|
|
17021
17053
|
function f(p) {
|
|
17022
17054
|
o("update:columnOrder", p.map((m) => m.newKey));
|
|
17023
17055
|
}
|
|
17024
|
-
return (p, m) => (b(), z("div",
|
|
17025
|
-
B("div",
|
|
17056
|
+
return (p, m) => (b(), z("div", hb, [
|
|
17057
|
+
B("div", gb, [
|
|
17026
17058
|
Q(ln, {
|
|
17027
17059
|
modelValue: c(l),
|
|
17028
17060
|
"onUpdate:modelValue": m[0] || (m[0] = (y) => Mn(l) ? l.value = y : null),
|
|
@@ -17040,7 +17072,7 @@ const Pr = /* @__PURE__ */ te({
|
|
|
17040
17072
|
"onUpdate:modelValue": f
|
|
17041
17073
|
}, {
|
|
17042
17074
|
item: K(({ element: y }) => [
|
|
17043
|
-
B("div",
|
|
17075
|
+
B("div", vb, [
|
|
17044
17076
|
B("div", {
|
|
17045
17077
|
class: H(["handle shrink-0 relative py-1 pl-4 pr-1 -left-1", [c(u) ? "cursor-not-allowed opacity-50" : "cursor-move"]])
|
|
17046
17078
|
}, [
|
|
@@ -17049,7 +17081,7 @@ const Pr = /* @__PURE__ */ te({
|
|
|
17049
17081
|
class: "text-slate-400 w-5 h-5"
|
|
17050
17082
|
})
|
|
17051
17083
|
], 2),
|
|
17052
|
-
B("div",
|
|
17084
|
+
B("div", yb, [
|
|
17053
17085
|
B("label", {
|
|
17054
17086
|
class: H(["flex items-center gap-1", [y.toggle ? "cursor-pointer" : "cursor-not-allowed"]])
|
|
17055
17087
|
}, [
|
|
@@ -17060,7 +17092,7 @@ const Pr = /* @__PURE__ */ te({
|
|
|
17060
17092
|
class: H(["mr-2 shrink-0 h-3.5 w-3.5 rounded focus:ring-1 focus:ring-primary-300 focus:ring-offset-1", [y.toggle ? "cursor-pointer" : "cursor-not-allowed border-slate-300 bg-slate-100"]]),
|
|
17061
17093
|
value: y.newKey,
|
|
17062
17094
|
onChange: (v) => d(v, y.newKey)
|
|
17063
|
-
}, null, 42,
|
|
17095
|
+
}, null, 42, bb),
|
|
17064
17096
|
B("span", {
|
|
17065
17097
|
class: H(["text-xs grow leading-tight", [y.toggle ? "text-slate-700" : "text-slate-400"]])
|
|
17066
17098
|
}, le(y.label), 3)
|
|
@@ -17072,7 +17104,7 @@ const Pr = /* @__PURE__ */ te({
|
|
|
17072
17104
|
}, 8, ["model-value", "disabled"])
|
|
17073
17105
|
]));
|
|
17074
17106
|
}
|
|
17075
|
-
}),
|
|
17107
|
+
}), xb = /* @__PURE__ */ te({
|
|
17076
17108
|
__name: "BaseDataTableRowAction",
|
|
17077
17109
|
props: {
|
|
17078
17110
|
row: {},
|
|
@@ -17120,7 +17152,7 @@ const Pr = /* @__PURE__ */ te({
|
|
|
17120
17152
|
disabled: a.rowAction.disabled && a.rowAction.disabled(a.row)
|
|
17121
17153
|
}, null, 8, ["as", "to", "size", "icon", "tooltip", "disabled"])) : Z("", !0);
|
|
17122
17154
|
}
|
|
17123
|
-
}),
|
|
17155
|
+
}), kb = te({
|
|
17124
17156
|
name: "SlotComponent",
|
|
17125
17157
|
props: {
|
|
17126
17158
|
component: {
|
|
@@ -17146,20 +17178,20 @@ const Pr = /* @__PURE__ */ te({
|
|
|
17146
17178
|
const n = t[this.name](this.props);
|
|
17147
17179
|
return st(this.tag, {}, n);
|
|
17148
17180
|
}
|
|
17149
|
-
}),
|
|
17181
|
+
}), Sb = te({}), Cb = {
|
|
17150
17182
|
class: "base-spinner-large h-20 w-20",
|
|
17151
17183
|
viewBox: "0 0 66 66",
|
|
17152
17184
|
xmlns: "http://www.w3.org/2000/svg"
|
|
17153
17185
|
};
|
|
17154
|
-
function
|
|
17155
|
-
return b(), z("svg",
|
|
17186
|
+
function Eb(t, n, e, o, r, a) {
|
|
17187
|
+
return b(), z("svg", Cb, n[0] || (n[0] = [
|
|
17156
17188
|
ru('<circle class="path" fill="transparent" stroke-width="2" cx="33" cy="33" r="30" stroke="url(#gradient)"></circle><linearGradient id="gradient"><stop offset="50%" stop-color="#2563eb" stop-opacity="1"></stop><stop offset="65%" stop-color="#2563eb" stop-opacity=".5"></stop><stop offset="100%" stop-color="#2563eb" stop-opacity="0"></stop></linearGradient>', 2)
|
|
17157
17189
|
]));
|
|
17158
17190
|
}
|
|
17159
|
-
const id = /* @__PURE__ */ Yo(
|
|
17191
|
+
const id = /* @__PURE__ */ Yo(Sb, [["render", Eb]]), Bb = { class: "relative max-w-full" }, Mb = {
|
|
17160
17192
|
key: 0,
|
|
17161
17193
|
class: "absolute inset-0 z-[1] flex h-full w-full items-start justify-center"
|
|
17162
|
-
},
|
|
17194
|
+
}, _b = { class: "pt-20" }, sd = /* @__PURE__ */ te({
|
|
17163
17195
|
inheritAttrs: !1,
|
|
17164
17196
|
__name: "BaseTable",
|
|
17165
17197
|
props: {
|
|
@@ -17194,7 +17226,7 @@ const id = /* @__PURE__ */ Yo(kb, [["render", Cb]]), Eb = { class: "relative max
|
|
|
17194
17226
|
}
|
|
17195
17227
|
return qe("table:props", w(() => e)), qe("table:horizontalScrolling", w(() => r.value)), qe("table:virtualScrollingDefaultRowHeight", w(() => u.value)), qe("table:setVirtualScrollingDefaultRowHeight", d), n({
|
|
17196
17228
|
scrollTop: s
|
|
17197
|
-
}), (f, p) => (b(), z("div",
|
|
17229
|
+
}), (f, p) => (b(), z("div", Bb, [
|
|
17198
17230
|
B("div", {
|
|
17199
17231
|
ref_key: "scrollableRef",
|
|
17200
17232
|
ref: a,
|
|
@@ -17218,9 +17250,9 @@ const id = /* @__PURE__ */ Yo(kb, [["render", Cb]]), Eb = { class: "relative max
|
|
|
17218
17250
|
"leave-to-class": "opacity-0"
|
|
17219
17251
|
}, {
|
|
17220
17252
|
default: K(() => [
|
|
17221
|
-
f.loading ? (b(), z("div",
|
|
17253
|
+
f.loading ? (b(), z("div", Mb, [
|
|
17222
17254
|
p[0] || (p[0] = B("div", { class: "absolute h-full w-full bg-white bg-opacity-60" }, null, -1)),
|
|
17223
|
-
B("div",
|
|
17255
|
+
B("div", _b, [
|
|
17224
17256
|
Q(id, { class: "h-10 w-10 text-blue-500" })
|
|
17225
17257
|
])
|
|
17226
17258
|
])) : Z("", !0)
|
|
@@ -17255,13 +17287,13 @@ const id = /* @__PURE__ */ Yo(kb, [["render", Cb]]), Eb = { class: "relative max
|
|
|
17255
17287
|
}
|
|
17256
17288
|
});
|
|
17257
17289
|
function Oi(t) {
|
|
17258
|
-
const n = "align-top", e =
|
|
17290
|
+
const n = "align-top", e = Ib(t.size ?? "md");
|
|
17259
17291
|
return [n, e].join(" ");
|
|
17260
17292
|
}
|
|
17261
|
-
function
|
|
17293
|
+
function Ib(t) {
|
|
17262
17294
|
return t == "none" ? "" : t == "xs" ? "px-1 py-0.5" : t == "sm" ? "px-2 py-1" : t == "md" ? "px-2 py-2" : t == "lg" ? "px-4 py-3" : t == "xl" ? "px-6 py-4" : "";
|
|
17263
17295
|
}
|
|
17264
|
-
const
|
|
17296
|
+
const $b = ["align", "colspan"], Db = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
17265
17297
|
inheritAttrs: !1,
|
|
17266
17298
|
__name: "BaseTableHeader",
|
|
17267
17299
|
props: {
|
|
@@ -17322,7 +17354,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17322
17354
|
onClick: s
|
|
17323
17355
|
}, [
|
|
17324
17356
|
ue(v.$slots, "default")
|
|
17325
|
-
], 14,
|
|
17357
|
+
], 14, $b),
|
|
17326
17358
|
v.tooltip ? (b(), ee(bn, {
|
|
17327
17359
|
key: 0,
|
|
17328
17360
|
to: "body"
|
|
@@ -17346,7 +17378,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17346
17378
|
B("div", {
|
|
17347
17379
|
class: "text-xs max-w-xs leading-snug rounded-md pt-1.5 pb-2 px-3 bg-slate-900 text-white",
|
|
17348
17380
|
innerHTML: v.tooltip
|
|
17349
|
-
}, null, 8,
|
|
17381
|
+
}, null, 8, Db)
|
|
17350
17382
|
]) : Z("", !0)
|
|
17351
17383
|
]),
|
|
17352
17384
|
_: 3
|
|
@@ -17445,7 +17477,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17445
17477
|
}, " . ", 2))
|
|
17446
17478
|
], 38));
|
|
17447
17479
|
}
|
|
17448
|
-
}),
|
|
17480
|
+
}), Ab = ["align", "colspan", "title"], Tb = ["href", "target"], fa = /* @__PURE__ */ te({
|
|
17449
17481
|
inheritAttrs: !1,
|
|
17450
17482
|
__name: "BaseTableCell",
|
|
17451
17483
|
props: {
|
|
@@ -17525,7 +17557,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17525
17557
|
target: c(v).target,
|
|
17526
17558
|
tabindex: "0",
|
|
17527
17559
|
class: "absolute inset-0 focus:outline-none"
|
|
17528
|
-
}, null, 8,
|
|
17560
|
+
}, null, 8, Tb)) : Z("", !0),
|
|
17529
17561
|
c(v).to ? (b(), ee(c(lf), {
|
|
17530
17562
|
key: 1,
|
|
17531
17563
|
to: c(v).to,
|
|
@@ -17533,19 +17565,19 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17533
17565
|
class: "absolute inset-0 focus:outline-none"
|
|
17534
17566
|
}, null, 8, ["to"])) : Z("", !0),
|
|
17535
17567
|
ue(E.$slots, "default", { hover: c(k) })
|
|
17536
|
-
], 46,
|
|
17568
|
+
], 46, Ab));
|
|
17537
17569
|
}
|
|
17538
|
-
}),
|
|
17570
|
+
}), zb = { class: "flex gap-4" }, Ob = {
|
|
17539
17571
|
key: 0,
|
|
17540
17572
|
class: "flex h-5 w-5 shrink-0 grow-0"
|
|
17541
|
-
},
|
|
17573
|
+
}, Rb = ["checked", "disabled"], Lb = ["onClick"], Fb = ["innerHTML"], Pb = {
|
|
17542
17574
|
width: "11",
|
|
17543
17575
|
height: "11",
|
|
17544
17576
|
viewBox: "0 0 11 11",
|
|
17545
17577
|
fill: "none",
|
|
17546
17578
|
class: "block",
|
|
17547
17579
|
xmlns: "http://www.w3.org/2000/svg"
|
|
17548
|
-
},
|
|
17580
|
+
}, Nb = ["opacity"], Vb = ["opacity"], jb = ["onClick"], Hb = ["onClick"], qb = ["disabled", "checked"], js = "disabled:bg-slate-100 group-hover:shadow-md disabled:border-slate-300 disabled:cursor-not-allowed duration-300 cursor-pointer focus:ring-blue-300 border border-slate-300 shadow h-[18px] w-[18px] rounded", Wb = /* @__PURE__ */ te({
|
|
17549
17581
|
name: "BaseDataTableTemplate",
|
|
17550
17582
|
inheritAttrs: !1,
|
|
17551
17583
|
__name: "BaseDataTableTemplate",
|
|
@@ -17868,9 +17900,9 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17868
17900
|
class: "bg-slate-50"
|
|
17869
17901
|
}, {
|
|
17870
17902
|
default: K(() => [
|
|
17871
|
-
B("div",
|
|
17903
|
+
B("div", zb, [
|
|
17872
17904
|
fe == 0 ? (b(), z(Ae, { key: 0 }, [
|
|
17873
|
-
c(h) ? (b(), z("div",
|
|
17905
|
+
c(h) ? (b(), z("div", Ob)) : Z("", !0),
|
|
17874
17906
|
t.checkable ? (b(), z("div", {
|
|
17875
17907
|
key: 1,
|
|
17876
17908
|
class: "flex items-center cursor-pointer",
|
|
@@ -17882,7 +17914,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17882
17914
|
checked: c(i),
|
|
17883
17915
|
disabled: c(I),
|
|
17884
17916
|
class: H(js)
|
|
17885
|
-
}, null, 8,
|
|
17917
|
+
}, null, 8, Rb)
|
|
17886
17918
|
])) : Z("", !0)
|
|
17887
17919
|
], 64)) : Z("", !0),
|
|
17888
17920
|
B("button", {
|
|
@@ -17899,27 +17931,27 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17899
17931
|
"text-xs": t.size == "md"
|
|
17900
17932
|
}]),
|
|
17901
17933
|
innerHTML: Be.label
|
|
17902
|
-
}, null, 10,
|
|
17934
|
+
}, null, 10, Fb),
|
|
17903
17935
|
Be.sortable ? (b(), z("div", {
|
|
17904
17936
|
key: 0,
|
|
17905
17937
|
class: H(["h-4 relative top-0.5", [
|
|
17906
17938
|
u.value === Be ? "" : "opacity-0 duration-200 group-hover:opacity-100"
|
|
17907
17939
|
]])
|
|
17908
17940
|
}, [
|
|
17909
|
-
(b(), z("svg",
|
|
17941
|
+
(b(), z("svg", Pb, [
|
|
17910
17942
|
B("path", {
|
|
17911
17943
|
opacity: d.value ? "1" : "0.5",
|
|
17912
17944
|
d: "M4.88471 0.366233C5.00079 0.250125 5.1386 0.158021 5.29028 0.0951819C5.44196 0.0323429 5.60453 0 5.76871 0C5.93289 0 6.09546 0.0323429 6.24714 0.0951819C6.39882 0.158021 6.53663 0.250125 6.65271 0.366233L9.29871 3.01323C9.43119 3.15541 9.50331 3.34345 9.49988 3.53776C9.49646 3.73206 9.41774 3.91744 9.28033 4.05485C9.14292 4.19227 8.95753 4.27098 8.76323 4.27441C8.56893 4.27784 8.38088 4.20571 8.23871 4.07323L5.76871 1.60323L3.29871 4.07323C3.23005 4.14692 3.14725 4.20602 3.05525 4.24701C2.96325 4.28801 2.86393 4.31005 2.76323 4.31182C2.66253 4.3136 2.5625 4.29508 2.46911 4.25736C2.37572 4.21963 2.29089 4.16349 2.21967 4.09227C2.14845 4.02105 2.09231 3.93622 2.05459 3.84283C2.01686 3.74944 1.99834 3.64941 2.00012 3.54871C2.00189 3.44801 2.02394 3.34869 2.06493 3.25669C2.10592 3.1647 2.16502 3.08189 2.23871 3.01323L4.88471 0.366233Z",
|
|
17913
17945
|
fill: "black"
|
|
17914
|
-
}, null, 8,
|
|
17946
|
+
}, null, 8, Nb),
|
|
17915
17947
|
B("path", {
|
|
17916
17948
|
opacity: d.value ? "0.5" : "1",
|
|
17917
17949
|
d: "M4.84729 10.6083C4.96337 10.7244 5.10118 10.8165 5.25286 10.8793C5.40454 10.9422 5.56711 10.9745 5.73129 10.9745C5.89547 10.9745 6.05804 10.9422 6.20972 10.8793C6.3614 10.8165 6.49921 10.7244 6.61529 10.6083L9.26129 7.96129C9.39377 7.81912 9.4659 7.63107 9.46247 7.43677C9.45904 7.24247 9.38033 7.05708 9.24291 6.91967C9.1055 6.78226 8.92011 6.70354 8.72581 6.70012C8.53151 6.69669 8.34347 6.76881 8.20129 6.90129L5.73129 9.37129L3.26129 6.90129C3.11912 6.76881 2.93107 6.69669 2.73677 6.70012C2.54247 6.70354 2.35708 6.78226 2.21967 6.91967C2.08226 7.05708 2.00355 7.24247 2.00012 7.43677C1.99669 7.63107 2.06881 7.81912 2.20129 7.96129L4.84729 10.6083Z",
|
|
17918
17950
|
fill: "black"
|
|
17919
|
-
}, null, 8,
|
|
17951
|
+
}, null, 8, Vb)
|
|
17920
17952
|
]))
|
|
17921
17953
|
], 2)) : Z("", !0)
|
|
17922
|
-
], 10,
|
|
17954
|
+
], 10, Lb)
|
|
17923
17955
|
])
|
|
17924
17956
|
]),
|
|
17925
17957
|
_: 2
|
|
@@ -17970,7 +18002,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17970
18002
|
"rotate-180": J(Be)
|
|
17971
18003
|
}])
|
|
17972
18004
|
}, null, 8, ["class"])) : Z("", !0)
|
|
17973
|
-
], 8,
|
|
18005
|
+
], 8, jb)) : Z("", !0),
|
|
17974
18006
|
t.checkable ? (b(), z("div", {
|
|
17975
18007
|
key: 1,
|
|
17976
18008
|
class: "relative z-[1] || flex items-center group cursor-pointer bg-white",
|
|
@@ -17982,10 +18014,10 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
17982
18014
|
disabled: !t.isRowCheckable(Be),
|
|
17983
18015
|
checked: k(Be),
|
|
17984
18016
|
class: H(js)
|
|
17985
|
-
}, null, 8,
|
|
17986
|
-
], 8,
|
|
18017
|
+
}, null, 8, qb)
|
|
18018
|
+
], 8, Hb)) : Z("", !0)
|
|
17987
18019
|
], 64)) : Z("", !0),
|
|
17988
|
-
Q(c(
|
|
18020
|
+
Q(c(kb), {
|
|
17989
18021
|
component: D,
|
|
17990
18022
|
scoped: "",
|
|
17991
18023
|
name: "default",
|
|
@@ -18038,10 +18070,10 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18038
18070
|
], 4);
|
|
18039
18071
|
};
|
|
18040
18072
|
}
|
|
18041
|
-
}),
|
|
18073
|
+
}), Ub = { key: 0 }, Yb = { class: "flex items-center justify-between border-b border-slate-200 bg-slate-50 py-2 pl-3 pr-2 text-sm" }, Kb = { class: "mr-3 text-slate-500" }, Gb = { class: "flex justify-end gap-1 text-right w-full" }, Xb = { class: "btn-group" }, Zb = {
|
|
18042
18074
|
key: 0,
|
|
18043
18075
|
class: "flex items-center justify-center py-16"
|
|
18044
|
-
},
|
|
18076
|
+
}, Qb = { class: "flex flex-col items-center justify-center" }, Jb = { class: "mt-3 text-center text-sm text-slate-600" }, e1 = { key: 1 }, t1 = { class: "flex items-center justify-center py-16" }, n1 = { class: "flex flex-col items-center" }, o1 = { class: "mt-3 text-center text-sm text-slate-600" }, Hs = "base_data_table.", r1 = /* @__PURE__ */ te({
|
|
18045
18077
|
__name: "BaseDataTable",
|
|
18046
18078
|
props: {
|
|
18047
18079
|
/**
|
|
@@ -18304,6 +18336,13 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18304
18336
|
default() {
|
|
18305
18337
|
return window.location.pathname;
|
|
18306
18338
|
}
|
|
18339
|
+
},
|
|
18340
|
+
/**
|
|
18341
|
+
* Function to search local data
|
|
18342
|
+
*/
|
|
18343
|
+
search: {
|
|
18344
|
+
default: void 0,
|
|
18345
|
+
type: Function
|
|
18307
18346
|
}
|
|
18308
18347
|
},
|
|
18309
18348
|
emits: [
|
|
@@ -18482,6 +18521,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18482
18521
|
sections: c(re),
|
|
18483
18522
|
"scroll-top-on-fetch": t.maxHeight ? !1 : t.scrollTopOnFetch,
|
|
18484
18523
|
"filters-position": t.filtersPosition,
|
|
18524
|
+
search: t.search,
|
|
18485
18525
|
onFetch: be,
|
|
18486
18526
|
onWillScrollTop: ge
|
|
18487
18527
|
}, au({
|
|
@@ -18493,10 +18533,10 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18493
18533
|
default: K(() => {
|
|
18494
18534
|
var Se;
|
|
18495
18535
|
return [
|
|
18496
|
-
c(X).length ? (b(), z("div",
|
|
18497
|
-
B("div",
|
|
18536
|
+
c(X).length ? (b(), z("div", Ub, [
|
|
18537
|
+
B("div", Yb, [
|
|
18498
18538
|
B("div", null, [
|
|
18499
|
-
B("span",
|
|
18539
|
+
B("span", Kb, le(c(ye)("sui.x_rows_selected", {
|
|
18500
18540
|
count: c(X).length
|
|
18501
18541
|
})) + ".", 1),
|
|
18502
18542
|
B("button", {
|
|
@@ -18513,7 +18553,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18513
18553
|
}, null, 8, ["actions"])) : Z("", !0)
|
|
18514
18554
|
])
|
|
18515
18555
|
])) : Z("", !0),
|
|
18516
|
-
Q(
|
|
18556
|
+
Q(Wb, {
|
|
18517
18557
|
ref_key: "table",
|
|
18518
18558
|
ref: l,
|
|
18519
18559
|
"checked-rows": c(X),
|
|
@@ -18550,9 +18590,9 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18550
18590
|
class: "overflow-hidden"
|
|
18551
18591
|
}, {
|
|
18552
18592
|
default: K(({ row: Ee }) => [
|
|
18553
|
-
B("div",
|
|
18554
|
-
B("div",
|
|
18555
|
-
(b(!0), z(Ae, null, We(c(M), (Be) => (b(), ee(
|
|
18593
|
+
B("div", Gb, [
|
|
18594
|
+
B("div", Xb, [
|
|
18595
|
+
(b(!0), z(Ae, null, We(c(M), (Be) => (b(), ee(xb, {
|
|
18556
18596
|
key: Be.icon,
|
|
18557
18597
|
row: Ee,
|
|
18558
18598
|
"row-action": Be,
|
|
@@ -18585,20 +18625,20 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18585
18625
|
ue(ie.$slots, "checkedHeader", ft(pt(Ee)))
|
|
18586
18626
|
]),
|
|
18587
18627
|
empty: K(() => [
|
|
18588
|
-
oe.error ? (b(), z("div",
|
|
18589
|
-
B("div",
|
|
18628
|
+
oe.error ? (b(), z("div", Zb, [
|
|
18629
|
+
B("div", Qb, [
|
|
18590
18630
|
Q(c(Ye), {
|
|
18591
18631
|
icon: "heroicons:x-circle",
|
|
18592
18632
|
class: "h-10 w-10 text-red-600"
|
|
18593
18633
|
}),
|
|
18594
|
-
B("p",
|
|
18634
|
+
B("p", Jb, le(c(ye)("sui.whoops")), 1)
|
|
18595
18635
|
])
|
|
18596
|
-
])) : oe.firstLoad ? (b(), z("div",
|
|
18636
|
+
])) : oe.firstLoad ? (b(), z("div", e1, [
|
|
18597
18637
|
ue(ie.$slots, "empty", {}, () => [
|
|
18598
|
-
B("div",
|
|
18599
|
-
B("div",
|
|
18638
|
+
B("div", t1, [
|
|
18639
|
+
B("div", n1, [
|
|
18600
18640
|
Q(Bi, { class: "w-24" }),
|
|
18601
|
-
B("p",
|
|
18641
|
+
B("p", o1, le(c(ye)("sui.nothing_found")), 1)
|
|
18602
18642
|
])
|
|
18603
18643
|
])
|
|
18604
18644
|
])
|
|
@@ -18634,7 +18674,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18634
18674
|
t.toggleable ? {
|
|
18635
18675
|
name: "columns",
|
|
18636
18676
|
fn: K(() => [
|
|
18637
|
-
Q(
|
|
18677
|
+
Q(wb, {
|
|
18638
18678
|
table: c(l),
|
|
18639
18679
|
"visible-columns": c(i),
|
|
18640
18680
|
"column-order": c(E),
|
|
@@ -18650,7 +18690,7 @@ const Ib = ["align", "colspan"], $b = ["innerHTML"], cd = /* @__PURE__ */ te({
|
|
|
18650
18690
|
ue(ie.$slots, oe.name)
|
|
18651
18691
|
])
|
|
18652
18692
|
}))
|
|
18653
|
-
]), 1032, ["items", "per-page", "url", "url-query", "default-query", "searchable", "actions", "history-mode", "layout", "size", "sections", "scroll-top-on-fetch", "filters-position"]));
|
|
18693
|
+
]), 1032, ["items", "per-page", "url", "url-query", "default-query", "searchable", "actions", "history-mode", "layout", "size", "sections", "scroll-top-on-fetch", "filters-position", "search"]));
|
|
18654
18694
|
}
|
|
18655
18695
|
});
|
|
18656
18696
|
var xl = [
|
|
@@ -18855,7 +18895,7 @@ function fn(t) {
|
|
|
18855
18895
|
var Sl = function() {
|
|
18856
18896
|
}, $a = function(t, n, e) {
|
|
18857
18897
|
return e.months[n ? "shorthand" : "longhand"][t];
|
|
18858
|
-
},
|
|
18898
|
+
}, a1 = {
|
|
18859
18899
|
D: Sl,
|
|
18860
18900
|
F: function(t, n, e) {
|
|
18861
18901
|
t.setMonth(e.months.longhand.indexOf(n));
|
|
@@ -19046,7 +19086,7 @@ var Sl = function() {
|
|
|
19046
19086
|
I += fo[i];
|
|
19047
19087
|
var E = new RegExp(I).exec(a);
|
|
19048
19088
|
E && (v = !0) && h[i !== "Y" ? "push" : "unshift"]({
|
|
19049
|
-
fn:
|
|
19089
|
+
fn: a1[i],
|
|
19050
19090
|
val: E[++k]
|
|
19051
19091
|
});
|
|
19052
19092
|
} else S || (I += ".");
|
|
@@ -19068,14 +19108,14 @@ var Sl = function() {
|
|
|
19068
19108
|
function mn(t, n, e) {
|
|
19069
19109
|
return e === void 0 && (e = !0), e !== !1 ? new Date(t.getTime()).setHours(0, 0, 0, 0) - new Date(n.getTime()).setHours(0, 0, 0, 0) : t.getTime() - n.getTime();
|
|
19070
19110
|
}
|
|
19071
|
-
var
|
|
19111
|
+
var l1 = function(t, n, e) {
|
|
19072
19112
|
return t > Math.min(n, e) && t < Math.max(n, e);
|
|
19073
19113
|
}, Cl = function(t, n, e) {
|
|
19074
19114
|
return t * 3600 + n * 60 + e;
|
|
19075
|
-
},
|
|
19115
|
+
}, i1 = function(t) {
|
|
19076
19116
|
var n = Math.floor(t / 3600), e = (t - n * 3600) / 60;
|
|
19077
19117
|
return [n, e, t - n * 3600 - e * 60];
|
|
19078
|
-
},
|
|
19118
|
+
}, s1 = {
|
|
19079
19119
|
DAY: 864e5
|
|
19080
19120
|
};
|
|
19081
19121
|
function El(t) {
|
|
@@ -19119,8 +19159,8 @@ var Zt = function() {
|
|
|
19119
19159
|
for (var a = arguments[n], l = 0, s = a.length; l < s; l++, r++)
|
|
19120
19160
|
o[r] = a[l];
|
|
19121
19161
|
return o;
|
|
19122
|
-
},
|
|
19123
|
-
function
|
|
19162
|
+
}, u1 = 300;
|
|
19163
|
+
function c1(t, n) {
|
|
19124
19164
|
var e = {
|
|
19125
19165
|
config: Zt(Zt({}, Ro), Ft.defaultConfig),
|
|
19126
19166
|
l10n: Sr
|
|
@@ -19183,7 +19223,7 @@ function u1(t, n) {
|
|
|
19183
19223
|
if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
|
|
19184
19224
|
var ze = Cl(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), et = Cl(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), He = Cl(L, N, Y);
|
|
19185
19225
|
if (He > et && He < ze) {
|
|
19186
|
-
var rt =
|
|
19226
|
+
var rt = i1(ze);
|
|
19187
19227
|
L = rt[0], N = rt[1], Y = rt[2];
|
|
19188
19228
|
}
|
|
19189
19229
|
} else {
|
|
@@ -19238,7 +19278,7 @@ function u1(t, n) {
|
|
|
19238
19278
|
return;
|
|
19239
19279
|
}
|
|
19240
19280
|
var L = qs(me, 50);
|
|
19241
|
-
if (e._debouncedChange = qs(g,
|
|
19281
|
+
if (e._debouncedChange = qs(g, u1), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && h(e.daysContainer, "mouseover", function(Y) {
|
|
19242
19282
|
e.config.mode === "range" && ne(fn(Y));
|
|
19243
19283
|
}), h(e._input, "keydown", V), e.calendarContainer !== void 0 && h(e.calendarContainer, "keydown", V), !e.config.inline && !e.config.static && h(window, "resize", L), window.ontouchstart !== void 0 ? h(window.document, "touchstart", Ee) : h(window.document, "mousedown", Ee), h(window.document, "focus", Ee, { capture: !0 }), e.config.clickOpens === !0 && (h(e._input, "focus", e.open), h(e._input, "click", e.open)), e.daysContainer !== void 0 && (h(e.monthNav, "click", ot), h(e.monthNav, ["keyup", "increment"], v), h(e.daysContainer, "click", Vt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
|
|
19244
19284
|
var N = function(Y) {
|
|
@@ -19619,7 +19659,7 @@ function u1(t, n) {
|
|
|
19619
19659
|
}
|
|
19620
19660
|
function ne(L, N) {
|
|
19621
19661
|
if (N === void 0 && (N = "flatpickr-day"), !(e.selectedDates.length !== 1 || L && (!L.classList.contains(N) || L.classList.contains("flatpickr-disabled")))) {
|
|
19622
|
-
for (var Y = L ? L.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), se = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), Ce = Math.min(Y, e.selectedDates[0].getTime()), ze = Math.max(Y, e.selectedDates[0].getTime()), et = !1, He = 0, rt = 0, Fe = Ce; Fe < ze; Fe +=
|
|
19662
|
+
for (var Y = L ? L.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), se = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), Ce = Math.min(Y, e.selectedDates[0].getTime()), ze = Math.max(Y, e.selectedDates[0].getTime()), et = !1, He = 0, rt = 0, Fe = Ce; Fe < ze; Fe += s1.DAY)
|
|
19623
19663
|
fe(new Date(Fe), !0) || (et = et || Fe > Ce && Fe < ze, Fe < se && (!He || Fe > He) ? He = Fe : Fe > se && (!rt || Fe < rt) && (rt = Fe));
|
|
19624
19664
|
var Qe = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + N));
|
|
19625
19665
|
Qe.forEach(function(yt) {
|
|
@@ -19633,7 +19673,7 @@ function u1(t, n) {
|
|
|
19633
19673
|
return;
|
|
19634
19674
|
["startRange", "inRange", "endRange", "notAllowed"].forEach(function(Co) {
|
|
19635
19675
|
yt.classList.remove(Co);
|
|
19636
|
-
}), L !== void 0 && (L.classList.add(Y <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), se < Y && cn === se ? yt.classList.add("startRange") : se > Y && cn === se && yt.classList.add("endRange"), cn >= He && (rt === 0 || cn <= rt) &&
|
|
19676
|
+
}), L !== void 0 && (L.classList.add(Y <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), se < Y && cn === se ? yt.classList.add("startRange") : se > Y && cn === se && yt.classList.add("endRange"), cn >= He && (rt === 0 || cn <= rt) && l1(cn, se, Y) && yt.classList.add("inRange"));
|
|
19637
19677
|
});
|
|
19638
19678
|
}
|
|
19639
19679
|
}
|
|
@@ -20001,7 +20041,7 @@ function Lo(t, n) {
|
|
|
20001
20041
|
try {
|
|
20002
20042
|
if (a.getAttribute("data-fp-omit") !== null)
|
|
20003
20043
|
continue;
|
|
20004
|
-
a._flatpickr !== void 0 && (a._flatpickr.destroy(), a._flatpickr = void 0), a._flatpickr =
|
|
20044
|
+
a._flatpickr !== void 0 && (a._flatpickr.destroy(), a._flatpickr = void 0), a._flatpickr = c1(a, n || {}), o.push(a._flatpickr);
|
|
20005
20045
|
} catch (l) {
|
|
20006
20046
|
console.error(l);
|
|
20007
20047
|
}
|
|
@@ -20102,7 +20142,7 @@ var Yl = { exports: {} };
|
|
|
20102
20142
|
e.French = r, e.default = a, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
20103
20143
|
});
|
|
20104
20144
|
})(Yl, Yl.exports);
|
|
20105
|
-
var
|
|
20145
|
+
var d1 = Yl.exports, Kl = { exports: {} };
|
|
20106
20146
|
(function(t, n) {
|
|
20107
20147
|
(function(e, o) {
|
|
20108
20148
|
o(n);
|
|
@@ -20181,8 +20221,8 @@ var c1 = Yl.exports, Kl = { exports: {} };
|
|
|
20181
20221
|
e.default = o, e.english = o, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
20182
20222
|
});
|
|
20183
20223
|
})(Kl, Kl.exports);
|
|
20184
|
-
var
|
|
20185
|
-
const
|
|
20224
|
+
var f1 = Kl.exports;
|
|
20225
|
+
const p1 = ["disabled", "placeholder"], m1 = /* @__PURE__ */ te({
|
|
20186
20226
|
__name: "BaseDatePicker",
|
|
20187
20227
|
props: {
|
|
20188
20228
|
modelValue: { default: null },
|
|
@@ -20234,7 +20274,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20234
20274
|
function m(x) {
|
|
20235
20275
|
return p(f(x));
|
|
20236
20276
|
}
|
|
20237
|
-
const y = w(() => jo().locale == "fr" ?
|
|
20277
|
+
const y = w(() => jo().locale == "fr" ? d1.French : f1.english), v = P(null);
|
|
20238
20278
|
let h = null;
|
|
20239
20279
|
const g = w(() => ({
|
|
20240
20280
|
enableTime: e.enableTime,
|
|
@@ -20381,7 +20421,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20381
20421
|
disabled: x.disabled,
|
|
20382
20422
|
class: H(["w-full", c(S)]),
|
|
20383
20423
|
placeholder: c(ye)("sui.click_or_select_date")
|
|
20384
|
-
}, null, 10,
|
|
20424
|
+
}, null, 10, p1),
|
|
20385
20425
|
c(u) && !x.disabled && x.showInput && x.showRemoveButton ? (b(), z("div", {
|
|
20386
20426
|
key: 1,
|
|
20387
20427
|
class: H(c(E))
|
|
@@ -20399,7 +20439,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20399
20439
|
], 2)) : Z("", !0)
|
|
20400
20440
|
], 2));
|
|
20401
20441
|
}
|
|
20402
|
-
}),
|
|
20442
|
+
}), h1 = ["value"], g1 = ["value"], v1 = ["value"], y1 = ["disabled"], b1 = /* @__PURE__ */ te({
|
|
20403
20443
|
__name: "BaseDateSelect",
|
|
20404
20444
|
props: {
|
|
20405
20445
|
modelValue: {
|
|
@@ -20511,7 +20551,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20511
20551
|
(b(!0), z(Ae, null, We(c(u), (I) => (b(), z("option", {
|
|
20512
20552
|
key: I,
|
|
20513
20553
|
value: I
|
|
20514
|
-
}, le(I), 9,
|
|
20554
|
+
}, le(I), 9, h1))), 128))
|
|
20515
20555
|
]),
|
|
20516
20556
|
_: 1
|
|
20517
20557
|
}, 8, ["modelValue", "disabled", "required", "has-error", "placeholder", "size"]),
|
|
@@ -20533,7 +20573,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20533
20573
|
(b(!0), z(Ae, null, We(c(d), (I, i) => (b(), z("option", {
|
|
20534
20574
|
key: I,
|
|
20535
20575
|
value: i + 1
|
|
20536
|
-
}, le(I), 9,
|
|
20576
|
+
}, le(I), 9, g1))), 128))
|
|
20537
20577
|
]),
|
|
20538
20578
|
_: 1
|
|
20539
20579
|
}, 8, ["modelValue", "disabled", "required", "has-error", "placeholder", "size"]),
|
|
@@ -20554,7 +20594,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20554
20594
|
(b(!0), z(Ae, null, We(c(f), (I) => (b(), z("option", {
|
|
20555
20595
|
key: I,
|
|
20556
20596
|
value: I
|
|
20557
|
-
}, le(I), 9,
|
|
20597
|
+
}, le(I), 9, v1))), 128))
|
|
20558
20598
|
]),
|
|
20559
20599
|
_: 1
|
|
20560
20600
|
}, 8, ["modelValue", "disabled", "required", "has-error", "placeholder", "size"])
|
|
@@ -20571,16 +20611,16 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20571
20611
|
onClick: k[6] || (k[6] = (I) => y())
|
|
20572
20612
|
}, [
|
|
20573
20613
|
B("span", null, le(c(ye)("sui.clear")), 1)
|
|
20574
|
-
], 10,
|
|
20614
|
+
], 10, y1)) : Z("", !0)
|
|
20575
20615
|
]));
|
|
20576
20616
|
}
|
|
20577
|
-
}),
|
|
20617
|
+
}), w1 = { class: "" }, x1 = { class: "divide-y divide-slate-200" }, k1 = /* @__PURE__ */ te({
|
|
20578
20618
|
__name: "BaseDescriptionList",
|
|
20579
20619
|
setup(t) {
|
|
20580
20620
|
return (n, e) => (b(), ee(Rr, null, {
|
|
20581
20621
|
default: K(() => [
|
|
20582
|
-
B("div",
|
|
20583
|
-
B("dl",
|
|
20622
|
+
B("div", w1, [
|
|
20623
|
+
B("dl", x1, [
|
|
20584
20624
|
ue(n.$slots, "default")
|
|
20585
20625
|
])
|
|
20586
20626
|
])
|
|
@@ -20588,7 +20628,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20588
20628
|
_: 3
|
|
20589
20629
|
}));
|
|
20590
20630
|
}
|
|
20591
|
-
}),
|
|
20631
|
+
}), S1 = { class: "text-sm font-medium leading-tight text-slate-500" }, Us = 800, C1 = /* @__PURE__ */ te({
|
|
20592
20632
|
__name: "BaseDescriptionListItem",
|
|
20593
20633
|
setup(t) {
|
|
20594
20634
|
const n = P(null), e = P(Us), o = w(() => e.value < cr.sm);
|
|
@@ -20606,7 +20646,7 @@ const f1 = ["disabled", "placeholder"], p1 = /* @__PURE__ */ te({
|
|
|
20606
20646
|
"grid grid-cols-3 gap-4 py-5 px-6": !c(o)
|
|
20607
20647
|
})
|
|
20608
20648
|
}, [
|
|
20609
|
-
B("dt",
|
|
20649
|
+
B("dt", S1, [
|
|
20610
20650
|
ue(a.$slots, "left")
|
|
20611
20651
|
]),
|
|
20612
20652
|
B("dd", {
|
|
@@ -22016,8 +22056,8 @@ var md = { exports: {} };
|
|
|
22016
22056
|
t.exports ? t.exports = I : this.humanizeDuration = I;
|
|
22017
22057
|
})();
|
|
22018
22058
|
})(md);
|
|
22019
|
-
var
|
|
22020
|
-
const
|
|
22059
|
+
var E1 = md.exports;
|
|
22060
|
+
const B1 = /* @__PURE__ */ Wa(E1), M1 = { class: "text-xs text-slate-600" }, hd = /* @__PURE__ */ te({
|
|
22021
22061
|
__name: "BaseDisplayRelativeTime",
|
|
22022
22062
|
props: {
|
|
22023
22063
|
value: {
|
|
@@ -22055,7 +22095,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22055
22095
|
const u = s(), d = setInterval(() => {
|
|
22056
22096
|
r.value = zt.now().toSeconds();
|
|
22057
22097
|
}, u), f = w(() => {
|
|
22058
|
-
const p = l(), m =
|
|
22098
|
+
const p = l(), m = B1(p, {
|
|
22059
22099
|
language: jo().locale,
|
|
22060
22100
|
round: !0,
|
|
22061
22101
|
largest: 1
|
|
@@ -22075,7 +22115,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22075
22115
|
}, {
|
|
22076
22116
|
default: K(() => [
|
|
22077
22117
|
ue(p.$slots, "default", { readableDate: c(f) }, () => [
|
|
22078
|
-
B("span",
|
|
22118
|
+
B("span", M1, le(c(f)), 1)
|
|
22079
22119
|
])
|
|
22080
22120
|
]),
|
|
22081
22121
|
_: 3
|
|
@@ -22084,7 +22124,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22084
22124
|
_: 3
|
|
22085
22125
|
}, 8, ["visible", "text"]));
|
|
22086
22126
|
}
|
|
22087
|
-
}),
|
|
22127
|
+
}), _1 = { key: 0 }, Ri = /* @__PURE__ */ te({
|
|
22088
22128
|
__name: "BaseDropdown",
|
|
22089
22129
|
props: {
|
|
22090
22130
|
animated: {
|
|
@@ -22135,7 +22175,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22135
22175
|
"leave-to-class": "transform scale-95 opacity-0"
|
|
22136
22176
|
}, {
|
|
22137
22177
|
default: K(() => [
|
|
22138
|
-
u || t.keepAlive ? (b(), z("div",
|
|
22178
|
+
u || t.keepAlive ? (b(), z("div", _1, [
|
|
22139
22179
|
Kt(Q(c(Wp), { static: "" }, {
|
|
22140
22180
|
default: K(({ close: d }) => [
|
|
22141
22181
|
ue(l.$slots, "dropdown", {
|
|
@@ -22157,7 +22197,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22157
22197
|
_: 3
|
|
22158
22198
|
}));
|
|
22159
22199
|
}
|
|
22160
|
-
}),
|
|
22200
|
+
}), I1 = ["title"], $1 = ["onClick"], D1 = ["value", "placeholder", "disabled"], Ja = /* @__PURE__ */ te({
|
|
22161
22201
|
__name: "BaseTagAutocomplete",
|
|
22162
22202
|
props: {
|
|
22163
22203
|
modelValue: {
|
|
@@ -22434,13 +22474,13 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22434
22474
|
B("div", {
|
|
22435
22475
|
title: ne.label,
|
|
22436
22476
|
class: "truncate"
|
|
22437
|
-
}, le(ne.label), 9,
|
|
22477
|
+
}, le(ne.label), 9, I1),
|
|
22438
22478
|
B("button", {
|
|
22439
22479
|
type: "button",
|
|
22440
22480
|
tabindex: "-1",
|
|
22441
22481
|
class: H(c(D)),
|
|
22442
22482
|
onClick: (me) => De(ne)
|
|
22443
|
-
}, " ✕ ", 10,
|
|
22483
|
+
}, " ✕ ", 10, $1)
|
|
22444
22484
|
], 2))), 128))
|
|
22445
22485
|
]),
|
|
22446
22486
|
B("input", {
|
|
@@ -22455,7 +22495,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22455
22495
|
onFocus: M,
|
|
22456
22496
|
onInput: F,
|
|
22457
22497
|
onKeydown: X
|
|
22458
|
-
}, null, 42,
|
|
22498
|
+
}, null, 42, D1)
|
|
22459
22499
|
], 2),
|
|
22460
22500
|
(b(), ee(bn, {
|
|
22461
22501
|
to: "body",
|
|
@@ -22498,7 +22538,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22498
22538
|
], 8, ["disabled"]))
|
|
22499
22539
|
], 512));
|
|
22500
22540
|
}
|
|
22501
|
-
}),
|
|
22541
|
+
}), A1 = {
|
|
22502
22542
|
key: 0,
|
|
22503
22543
|
class: "flex h-[80px] items-center justify-center px-3 text-center text-base leading-tight text-slate-600"
|
|
22504
22544
|
}, Li = /* @__PURE__ */ te({
|
|
@@ -22637,13 +22677,13 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22637
22677
|
]),
|
|
22638
22678
|
empty: K((E) => [
|
|
22639
22679
|
ue(S.$slots, "empty", Mt(E, { firstSearch: c(s) }), () => [
|
|
22640
|
-
c(s) ? (b(), z("div",
|
|
22680
|
+
c(s) ? (b(), z("div", A1, le(c(ye)("sui.nothing_found")), 1)) : Z("", !0)
|
|
22641
22681
|
])
|
|
22642
22682
|
]),
|
|
22643
22683
|
_: 3
|
|
22644
22684
|
}, 8, ["loading", "loading-bottom", "model-value", "disabled", "placeholder", "options", "value-key", "label-key", "has-error", "max", "focus-on-mount", "onScrollBottom"]));
|
|
22645
22685
|
}
|
|
22646
|
-
}),
|
|
22686
|
+
}), T1 = { class: "inline-block w-[320px] input-rounded bg-white shadow-2xl" }, z1 = { class: "flex grow items-center" }, O1 = { class: "shrink-0" }, R1 = /* @__PURE__ */ te({
|
|
22647
22687
|
__name: "BaseDropdownAutocomplete",
|
|
22648
22688
|
props: {
|
|
22649
22689
|
modelValue: {
|
|
@@ -22738,7 +22778,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22738
22778
|
ue(p.$slots, "button", Mt(v, { newValue: c(l) }))
|
|
22739
22779
|
]),
|
|
22740
22780
|
dropdown: K(({ close: v }) => [
|
|
22741
|
-
B("div",
|
|
22781
|
+
B("div", T1, [
|
|
22742
22782
|
(b(), ee(sn(c(r)), Mt({
|
|
22743
22783
|
ref_key: "autocomplete",
|
|
22744
22784
|
ref: a,
|
|
@@ -22758,10 +22798,10 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22758
22798
|
B("div", {
|
|
22759
22799
|
class: H([[h.active ? "bg-slate-100" : "bg-white"], "mb-px flex items-center input-rounded px-1 py-1"])
|
|
22760
22800
|
}, [
|
|
22761
|
-
B("div",
|
|
22801
|
+
B("div", z1, [
|
|
22762
22802
|
ue(p.$slots, "option", Mt(h, { size: t.size }))
|
|
22763
22803
|
]),
|
|
22764
|
-
B("div",
|
|
22804
|
+
B("div", O1, [
|
|
22765
22805
|
(h.selected ?? !1) || h.value == null && c(l) == null ? (b(), ee(y, {
|
|
22766
22806
|
key: 0,
|
|
22767
22807
|
icon: "mdi:check",
|
|
@@ -22778,7 +22818,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22778
22818
|
}, 8, ["placement"]);
|
|
22779
22819
|
};
|
|
22780
22820
|
}
|
|
22781
|
-
}),
|
|
22821
|
+
}), L1 = ["data-name"], F1 = { class: "space-y-2" }, P1 = /* @__PURE__ */ te({
|
|
22782
22822
|
__name: "BaseFieldI18n",
|
|
22783
22823
|
props: {
|
|
22784
22824
|
modelValue: {
|
|
@@ -22857,7 +22897,7 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22857
22897
|
}
|
|
22858
22898
|
const p = w(() => l(r.value));
|
|
22859
22899
|
return (m, y) => (b(), z("div", { "data-name": c(r) }, [
|
|
22860
|
-
B("div",
|
|
22900
|
+
B("div", F1, [
|
|
22861
22901
|
(b(!0), z(Ae, null, We(c(s), (v, h) => (b(), z("div", { key: h }, [
|
|
22862
22902
|
Q(Dn, {
|
|
22863
22903
|
name: `${c(r)}.${h}`,
|
|
@@ -22898,17 +22938,17 @@ const E1 = /* @__PURE__ */ Wa(C1), B1 = { class: "text-xs text-slate-600" }, hd
|
|
|
22898
22938
|
]),
|
|
22899
22939
|
_: 1
|
|
22900
22940
|
})) : Z("", !0)
|
|
22901
|
-
], 8,
|
|
22941
|
+
], 8, L1));
|
|
22902
22942
|
}
|
|
22903
22943
|
});
|
|
22904
|
-
function
|
|
22944
|
+
function N1(t, n) {
|
|
22905
22945
|
return !(t.size > n);
|
|
22906
22946
|
}
|
|
22907
|
-
function
|
|
22947
|
+
function V1(t, n) {
|
|
22908
22948
|
let e = t.type.split("/").pop();
|
|
22909
22949
|
return t instanceof File && (e = t.name.split(".").pop()), !(e && n && n.length && !n.includes(e));
|
|
22910
22950
|
}
|
|
22911
|
-
const
|
|
22951
|
+
const j1 = ["disabled"], H1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
22912
22952
|
__name: "BaseFilePicker",
|
|
22913
22953
|
props: {
|
|
22914
22954
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -22961,7 +23001,7 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
22961
23001
|
}
|
|
22962
23002
|
}
|
|
22963
23003
|
function m(y) {
|
|
22964
|
-
return
|
|
23004
|
+
return N1(y, e.maxSize) ? V1(y, e.acceptedExtensions) ? !0 : (r.push({
|
|
22965
23005
|
color: "danger",
|
|
22966
23006
|
title: ye("sui.error"),
|
|
22967
23007
|
text: ye("sui.the_file_type_is_invalid") + " " + ye("sui.file_must_be_of_type") + " " + U0(e.acceptedExtensions, ye("sui.or")) + "."
|
|
@@ -22991,7 +23031,7 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
22991
23031
|
dragging: c(l),
|
|
22992
23032
|
disabled: y.disabled
|
|
22993
23033
|
})
|
|
22994
|
-
], 42,
|
|
23034
|
+
], 42, j1),
|
|
22995
23035
|
B("input", {
|
|
22996
23036
|
ref_key: "input",
|
|
22997
23037
|
ref: s,
|
|
@@ -23000,7 +23040,7 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
23000
23040
|
multiple: y.multiple,
|
|
23001
23041
|
hidden: "true",
|
|
23002
23042
|
onChange: d
|
|
23003
|
-
}, null, 40,
|
|
23043
|
+
}, null, 40, H1)
|
|
23004
23044
|
], 64));
|
|
23005
23045
|
}
|
|
23006
23046
|
}), gd = /* @__PURE__ */ te({
|
|
@@ -23076,7 +23116,7 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
23076
23116
|
_: 3
|
|
23077
23117
|
}, 8, ["tw-button", "disabled", "max-size", "accepted-extensions"]));
|
|
23078
23118
|
}
|
|
23079
|
-
}),
|
|
23119
|
+
}), q1 = {
|
|
23080
23120
|
key: 0,
|
|
23081
23121
|
class: "absolute inset-0 flex h-full w-full items-center justify-center"
|
|
23082
23122
|
}, Pi = /* @__PURE__ */ te({
|
|
@@ -23148,7 +23188,7 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
23148
23188
|
"leave-to-class": "opacity-0"
|
|
23149
23189
|
}, {
|
|
23150
23190
|
default: K(() => [
|
|
23151
|
-
c(o) ? (b(), z("div",
|
|
23191
|
+
c(o) ? (b(), z("div", q1, [
|
|
23152
23192
|
B("div", {
|
|
23153
23193
|
class: H(c(Ke)("absolute h-full w-full bg-white", t.twBackdrop))
|
|
23154
23194
|
}, null, 2),
|
|
@@ -23164,7 +23204,7 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
23164
23204
|
_: 1
|
|
23165
23205
|
}, 8, ["enter-active-class", "leave-active-class"]));
|
|
23166
23206
|
}
|
|
23167
|
-
}),
|
|
23207
|
+
}), W1 = { class: "relative" }, vd = /* @__PURE__ */ te({
|
|
23168
23208
|
__name: "BaseFileUploader",
|
|
23169
23209
|
props: {
|
|
23170
23210
|
component: { default: "BaseFilePicker" },
|
|
@@ -23237,7 +23277,7 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
23237
23277
|
}, v.mime_type.includes("image") ? g.readAsDataURL(p) : h(v);
|
|
23238
23278
|
});
|
|
23239
23279
|
}
|
|
23240
|
-
return (p, m) => (b(), z("div",
|
|
23280
|
+
return (p, m) => (b(), z("div", W1, [
|
|
23241
23281
|
(b(), ee(sn(c(l)), Mt(c(s), { onSelect: d }), {
|
|
23242
23282
|
default: K((y) => [
|
|
23243
23283
|
ue(p.$slots, "default", Mt({
|
|
@@ -23263,10 +23303,10 @@ const V1 = ["disabled"], j1 = ["accept", "multiple"], Fi = /* @__PURE__ */ te({
|
|
|
23263
23303
|
function Ni(t) {
|
|
23264
23304
|
return t === void 0;
|
|
23265
23305
|
}
|
|
23266
|
-
function
|
|
23306
|
+
function U1(t) {
|
|
23267
23307
|
return t === null;
|
|
23268
23308
|
}
|
|
23269
|
-
function
|
|
23309
|
+
function Y1(t) {
|
|
23270
23310
|
return typeof t == "boolean";
|
|
23271
23311
|
}
|
|
23272
23312
|
function Da(t) {
|
|
@@ -23275,13 +23315,13 @@ function Da(t) {
|
|
|
23275
23315
|
function Ys(t) {
|
|
23276
23316
|
return Array.isArray(t);
|
|
23277
23317
|
}
|
|
23278
|
-
function
|
|
23318
|
+
function K1(t) {
|
|
23279
23319
|
return t instanceof Date;
|
|
23280
23320
|
}
|
|
23281
23321
|
function yd(t, n) {
|
|
23282
23322
|
return n ? Da(t) && !Ni(t.uri) : Da(t) && typeof t.size == "number" && typeof t.type == "string" && typeof t.slice == "function";
|
|
23283
23323
|
}
|
|
23284
|
-
function
|
|
23324
|
+
function G1(t, n) {
|
|
23285
23325
|
return yd(t, n) && typeof t.name == "string" && (Da(t.lastModifiedDate) || typeof t.lastModified == "number");
|
|
23286
23326
|
}
|
|
23287
23327
|
function so(t) {
|
|
@@ -23292,10 +23332,10 @@ function Gl(t, n, e, o) {
|
|
|
23292
23332
|
n.noAttributesWithArrayNotation
|
|
23293
23333
|
), n.noFilesWithArrayNotation = so(n.noFilesWithArrayNotation), n.dotsForObjectNotation = so(n.dotsForObjectNotation);
|
|
23294
23334
|
const r = typeof e.getParts == "function";
|
|
23295
|
-
return Ni(t) || (
|
|
23335
|
+
return Ni(t) || (U1(t) ? n.nullsAsUndefineds || e.append(o, "") : Y1(t) ? n.booleansAsIntegers ? e.append(o, t ? 1 : 0) : e.append(o, t) : Ys(t) ? t.length ? t.forEach((a, l) => {
|
|
23296
23336
|
let s = o + "[" + (n.indices ? l : "") + "]";
|
|
23297
|
-
(n.noAttributesWithArrayNotation || n.noFilesWithArrayNotation &&
|
|
23298
|
-
}) : n.allowEmptyArrays && e.append(n.noAttributesWithArrayNotation ? o : o + "[]", "") :
|
|
23337
|
+
(n.noAttributesWithArrayNotation || n.noFilesWithArrayNotation && G1(a, r)) && (s = o), Gl(a, n, e, s);
|
|
23338
|
+
}) : n.allowEmptyArrays && e.append(n.noAttributesWithArrayNotation ? o : o + "[]", "") : K1(t) ? e.append(o, t.toISOString()) : Da(t) && !yd(t, r) ? Object.keys(t).forEach((a) => {
|
|
23299
23339
|
const l = t[a];
|
|
23300
23340
|
if (Ys(l))
|
|
23301
23341
|
for (; a.length > 2 && a.lastIndexOf("[]") === a.length - 2; )
|
|
@@ -23304,10 +23344,10 @@ function Gl(t, n, e, o) {
|
|
|
23304
23344
|
Gl(l, n, e, s);
|
|
23305
23345
|
}) : e.append(o, t)), e;
|
|
23306
23346
|
}
|
|
23307
|
-
var
|
|
23347
|
+
var X1 = {
|
|
23308
23348
|
serialize: Gl
|
|
23309
23349
|
}, pa = /* @__PURE__ */ ((t) => (t.post = "post", t.put = "put", t.patch = "patch", t))(pa || {}), Xl = /* @__PURE__ */ ((t) => (t.json = "json", t.formData = "formData", t))(Xl || {});
|
|
23310
|
-
const
|
|
23350
|
+
const Z1 = { class: "absolute z-[1] inset-0 flex h-full w-full items-center justify-center" }, Q1 = /* @__PURE__ */ te({
|
|
23311
23351
|
__name: "BaseForm",
|
|
23312
23352
|
props: {
|
|
23313
23353
|
url: {
|
|
@@ -23400,7 +23440,7 @@ const X1 = { class: "absolute z-[1] inset-0 flex h-full w-full items-center just
|
|
|
23400
23440
|
re();
|
|
23401
23441
|
}), await ht();
|
|
23402
23442
|
let F = r.method, X = r.data, J = { "Content-Type": "application/json" };
|
|
23403
|
-
r.format == "formData" && (F = pa.post, X =
|
|
23443
|
+
r.format == "formData" && (F = pa.post, X = X1.serialize(r.data, {
|
|
23404
23444
|
nullsAsUndefineds: !1,
|
|
23405
23445
|
booleansAsIntegers: !0,
|
|
23406
23446
|
allowEmptyArrays: !0
|
|
@@ -23495,7 +23535,7 @@ const X1 = { class: "absolute z-[1] inset-0 flex h-full w-full items-center just
|
|
|
23495
23535
|
}, {
|
|
23496
23536
|
default: K(() => [
|
|
23497
23537
|
c(s) && t.showLoadingMask ? ue(F.$slots, "loading", { key: 0 }, () => [
|
|
23498
|
-
B("div",
|
|
23538
|
+
B("div", Z1, [
|
|
23499
23539
|
B("div", {
|
|
23500
23540
|
class: H(["absolute inset-0 h-full w-full", c(Ke)("bg-white opacity-80", t.twLoadingMask)])
|
|
23501
23541
|
}, null, 2),
|
|
@@ -23516,7 +23556,7 @@ const X1 = { class: "absolute z-[1] inset-0 flex h-full w-full items-center just
|
|
|
23516
23556
|
], 544));
|
|
23517
23557
|
}
|
|
23518
23558
|
});
|
|
23519
|
-
class
|
|
23559
|
+
class J1 {
|
|
23520
23560
|
constructor(n, e, o) {
|
|
23521
23561
|
dn(this, "minWidth");
|
|
23522
23562
|
dn(this, "width");
|
|
@@ -23641,7 +23681,7 @@ class Q1 {
|
|
|
23641
23681
|
return this.max.diff(this.min, "months").months > 5 ? n : this.max.diff(this.min, "months").months > 3 ? e : this.max.diff(this.min, "days").days > 3 ? o : r;
|
|
23642
23682
|
}
|
|
23643
23683
|
}
|
|
23644
|
-
class
|
|
23684
|
+
class ew {
|
|
23645
23685
|
constructor(n) {
|
|
23646
23686
|
dn(this, "rows");
|
|
23647
23687
|
dn(this, "config");
|
|
@@ -23650,7 +23690,7 @@ class J1 {
|
|
|
23650
23690
|
handle() {
|
|
23651
23691
|
const n = this.formatGanttRows();
|
|
23652
23692
|
let { min: e, max: o } = this.getMinMax(n);
|
|
23653
|
-
const r = new
|
|
23693
|
+
const r = new J1(this.config.minWidth, e, o).handle();
|
|
23654
23694
|
e = r.min, o = r.max;
|
|
23655
23695
|
const a = r.millisecondToPixel;
|
|
23656
23696
|
n.forEach((u) => {
|
|
@@ -23713,16 +23753,16 @@ class J1 {
|
|
|
23713
23753
|
return { min: s, max: u };
|
|
23714
23754
|
}
|
|
23715
23755
|
}
|
|
23716
|
-
const
|
|
23756
|
+
const tw = ["onClick"], nw = { class: "px-2 flex items-center" }, ow = { class: "font-semibold text-sm" }, rw = ["view-box", "width"], aw = ["x", "text-anchor"], lw = ["x1", "x2", "stroke"], iw = ["transform"], sw = ["x"], uw = ["x1", "x2", "stroke"], cw = {
|
|
23717
23757
|
key: 0,
|
|
23718
23758
|
class: "absolute top-0 left-0 inline-flex",
|
|
23719
23759
|
style: {
|
|
23720
23760
|
zIndex: 1
|
|
23721
23761
|
}
|
|
23722
|
-
},
|
|
23762
|
+
}, dw = { class: "text-xs font-semibold pt-[3px] bg-white px-2" }, fw = ["title", "onClick"], pw = {
|
|
23723
23763
|
class: "text-white text-xs font-medium px-2 py-1 truncate",
|
|
23724
23764
|
style: { "text-shadow": "0.5px 0.5px rgba(0,0,0,0.1)" }
|
|
23725
|
-
},
|
|
23765
|
+
}, mw = ["view-box", "width", "height"], hw = ["x1", "x2", "y2"], gw = ["x1", "x2", "y2", "opacity"], vw = ["view-box", "width", "height"], yw = ["x1", "x2", "y2"], bw = 120, Yn = 40, ww = /* @__PURE__ */ te({
|
|
23726
23766
|
__name: "BaseGantt",
|
|
23727
23767
|
props: {
|
|
23728
23768
|
rows: {},
|
|
@@ -23744,7 +23784,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23744
23784
|
includeToday: n.includeToday
|
|
23745
23785
|
}));
|
|
23746
23786
|
function m() {
|
|
23747
|
-
const k = new
|
|
23787
|
+
const k = new ew(p.value).handle();
|
|
23748
23788
|
a.value = k.width, l.value = k.height, s.value = k.rows, u.value = k.groups, d.value = k.ticks, f.value = k.nowLine, ht(() => {
|
|
23749
23789
|
if (f.value && r.value) {
|
|
23750
23790
|
const I = f.value.x + o.width.value / 2;
|
|
@@ -23776,7 +23816,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23776
23816
|
}, [
|
|
23777
23817
|
B("div", {
|
|
23778
23818
|
class: "border-r border-slate-300 relative shrink-0",
|
|
23779
|
-
style: je({ minWidth: `${
|
|
23819
|
+
style: je({ minWidth: `${bw}px` })
|
|
23780
23820
|
}, [
|
|
23781
23821
|
B("div", {
|
|
23782
23822
|
style: je({
|
|
@@ -23800,11 +23840,11 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23800
23840
|
onClick: (S) => k.$emit("row:click", i)
|
|
23801
23841
|
}, [
|
|
23802
23842
|
ue(k.$slots, "sidebarItem", { row: i }, () => [
|
|
23803
|
-
B("div",
|
|
23804
|
-
B("p",
|
|
23843
|
+
B("div", nw, [
|
|
23844
|
+
B("p", ow, le(i.name), 1)
|
|
23805
23845
|
])
|
|
23806
23846
|
])
|
|
23807
|
-
], 12,
|
|
23847
|
+
], 12, tw))), 128))
|
|
23808
23848
|
], 4)
|
|
23809
23849
|
], 4),
|
|
23810
23850
|
B("div", {
|
|
@@ -23835,14 +23875,14 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23835
23875
|
class: "text-[12px] font-semibold text-slate-900",
|
|
23836
23876
|
fill: "currentColor",
|
|
23837
23877
|
"text-anchor": i.labelTextAnchor
|
|
23838
|
-
}, le(i.label), 9,
|
|
23878
|
+
}, le(i.label), 9, aw),
|
|
23839
23879
|
B("line", {
|
|
23840
23880
|
x1: i.x + i.width,
|
|
23841
23881
|
x2: i.x + i.width,
|
|
23842
23882
|
y1: 0,
|
|
23843
23883
|
y2: Yn,
|
|
23844
23884
|
stroke: c(na.slate)[300]
|
|
23845
|
-
}, null, 8,
|
|
23885
|
+
}, null, 8, lw)
|
|
23846
23886
|
]))), 128)),
|
|
23847
23887
|
(b(!0), z(Ae, null, We(c(d), (i) => (b(), z("g", {
|
|
23848
23888
|
key: i.x,
|
|
@@ -23854,7 +23894,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23854
23894
|
class: "text-[11px] text-slate-500",
|
|
23855
23895
|
fill: "currentColor",
|
|
23856
23896
|
"text-anchor": "middle"
|
|
23857
|
-
}, le(i.label), 9,
|
|
23897
|
+
}, le(i.label), 9, sw),
|
|
23858
23898
|
i.align == "middle" ? (b(), z("line", {
|
|
23859
23899
|
key: 0,
|
|
23860
23900
|
x1: i.width - i.width,
|
|
@@ -23862,12 +23902,12 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23862
23902
|
y1: 24,
|
|
23863
23903
|
y2: Yn,
|
|
23864
23904
|
stroke: i.thick ? c(na.slate)[400] : c(na.slate)[300]
|
|
23865
|
-
}, null, 8,
|
|
23866
|
-
], 8,
|
|
23867
|
-
], 8,
|
|
23905
|
+
}, null, 8, uw)) : Z("", !0)
|
|
23906
|
+
], 8, iw))), 128))
|
|
23907
|
+
], 8, rw))
|
|
23868
23908
|
], 4),
|
|
23869
|
-
c(g) ? (b(), z("div",
|
|
23870
|
-
B("div",
|
|
23909
|
+
c(g) ? (b(), z("div", cw, [
|
|
23910
|
+
B("div", dw, le(c(g).label), 1),
|
|
23871
23911
|
I[0] || (I[0] = B("div", { class: "bg-gradient-to-r from-white to-transparent w-20" }, null, -1))
|
|
23872
23912
|
])) : Z("", !0),
|
|
23873
23913
|
B("ul", {
|
|
@@ -23902,10 +23942,10 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23902
23942
|
}),
|
|
23903
23943
|
class: "flex w-full h-full items-center rounded hover:opacity-80 duration-200"
|
|
23904
23944
|
}, [
|
|
23905
|
-
B("p",
|
|
23945
|
+
B("p", pw, le(S.name), 1)
|
|
23906
23946
|
], 4)
|
|
23907
23947
|
])
|
|
23908
|
-
], 12,
|
|
23948
|
+
], 12, fw))), 128))
|
|
23909
23949
|
], 4))), 128))
|
|
23910
23950
|
], 512),
|
|
23911
23951
|
B("div", {
|
|
@@ -23932,7 +23972,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23932
23972
|
y2: c(l),
|
|
23933
23973
|
stroke: "black",
|
|
23934
23974
|
opacity: 0.2
|
|
23935
|
-
}, null, 8,
|
|
23975
|
+
}, null, 8, hw)
|
|
23936
23976
|
]))), 128)),
|
|
23937
23977
|
(b(!0), z(Ae, null, We(c(d), (i) => (b(), z("g", {
|
|
23938
23978
|
key: i.x
|
|
@@ -23944,9 +23984,9 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23944
23984
|
y2: c(l),
|
|
23945
23985
|
stroke: "black",
|
|
23946
23986
|
opacity: i.thick ? 0.2 : 0.05
|
|
23947
|
-
}, null, 8,
|
|
23987
|
+
}, null, 8, gw)
|
|
23948
23988
|
]))), 128))
|
|
23949
|
-
], 8,
|
|
23989
|
+
], 8, mw))
|
|
23950
23990
|
], 4),
|
|
23951
23991
|
c(f) ? (b(), z("div", {
|
|
23952
23992
|
key: 1,
|
|
@@ -23971,13 +24011,13 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
23971
24011
|
stroke: "red",
|
|
23972
24012
|
"stroke-width": "2",
|
|
23973
24013
|
style: { filter: "drop-shadow(0px 0px 2px rgb(0 0 0 / 0.1))" }
|
|
23974
|
-
}, null, 8,
|
|
23975
|
-
], 8,
|
|
24014
|
+
}, null, 8, yw)
|
|
24015
|
+
], 8, vw))
|
|
23976
24016
|
], 4)) : Z("", !0)
|
|
23977
24017
|
], 512)
|
|
23978
24018
|
], 4));
|
|
23979
24019
|
}
|
|
23980
|
-
}),
|
|
24020
|
+
}), xw = /* @__PURE__ */ te({
|
|
23981
24021
|
__name: "BaseHasMany",
|
|
23982
24022
|
props: {
|
|
23983
24023
|
modelValue: {
|
|
@@ -24087,7 +24127,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24087
24127
|
_: 3
|
|
24088
24128
|
}, 8, ["model-value", "options", "disabled", "name", "placeholder", "required", "value-key", "label-key", "size", "has-error", "max"]));
|
|
24089
24129
|
}
|
|
24090
|
-
}),
|
|
24130
|
+
}), kw = /* @__PURE__ */ te({
|
|
24091
24131
|
__name: "BaseHasManyFetch",
|
|
24092
24132
|
props: {
|
|
24093
24133
|
modelValue: {
|
|
@@ -24233,10 +24273,10 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24233
24273
|
_: 3
|
|
24234
24274
|
}, 8, ["model-value", "url", "disabled", "placeholder", "required", "value-key", "label-key", "has-error", "query-key", "max"]));
|
|
24235
24275
|
}
|
|
24236
|
-
}),
|
|
24276
|
+
}), Sw = { class: "lg:flex lg:items-top lg:justify-between" }, Cw = { class: "min-w-0 flex-1" }, Ew = { class: "flex flex-col xs:flex-row xs:flex-wrap xs:items-center" }, Bw = { class: "order-2 font-bold text-slate-900 xs:order-1 mr-3 truncate text-3xl tracking-tight" }, Mw = {
|
|
24237
24277
|
key: 0,
|
|
24238
24278
|
class: "order-1 mb-1 xs:order-2 xs:mb-0"
|
|
24239
|
-
},
|
|
24279
|
+
}, _w = { class: "text-sm text-slate-600" }, Iw = { class: "mt-3 lg:mt-0 mb-2 lg:mb-0" }, $w = /* @__PURE__ */ te({
|
|
24240
24280
|
__name: "BaseHeader",
|
|
24241
24281
|
props: {
|
|
24242
24282
|
title: {},
|
|
@@ -24264,11 +24304,11 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24264
24304
|
breadcrumbs: a.breadcrumbs,
|
|
24265
24305
|
class: "mb-1"
|
|
24266
24306
|
}, null, 8, ["breadcrumbs"])) : Z("", !0),
|
|
24267
|
-
B("div",
|
|
24268
|
-
B("div",
|
|
24269
|
-
B("div",
|
|
24270
|
-
B("h1",
|
|
24271
|
-
a.badge ? (b(), z("div",
|
|
24307
|
+
B("div", Sw, [
|
|
24308
|
+
B("div", Cw, [
|
|
24309
|
+
B("div", Ew, [
|
|
24310
|
+
B("h1", Bw, le(a.title), 1),
|
|
24311
|
+
a.badge ? (b(), z("div", Mw, [
|
|
24272
24312
|
Q($i, Mt(a.badge, { class: "relative xs:-bottom-[2px]" }), {
|
|
24273
24313
|
default: K(() => {
|
|
24274
24314
|
var s;
|
|
@@ -24310,7 +24350,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24310
24350
|
class: "h-4 w-4 shrink-0 text-slate-600",
|
|
24311
24351
|
"aria-hidden": "true"
|
|
24312
24352
|
}, null, 8, ["icon"])) : Z("", !0),
|
|
24313
|
-
B("span",
|
|
24353
|
+
B("span", _w, le(s.label), 1)
|
|
24314
24354
|
]),
|
|
24315
24355
|
_: 2
|
|
24316
24356
|
}, 1032, ["to"]))
|
|
@@ -24319,7 +24359,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24319
24359
|
}, 1032, ["visible", "text"]))), 128))
|
|
24320
24360
|
], 2)) : Z("", !0)
|
|
24321
24361
|
]),
|
|
24322
|
-
B("div",
|
|
24362
|
+
B("div", Iw, [
|
|
24323
24363
|
B("div", {
|
|
24324
24364
|
class: H({
|
|
24325
24365
|
"lg:mt-0 lg:ml-4": !c(r)
|
|
@@ -24336,7 +24376,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24336
24376
|
])
|
|
24337
24377
|
], 512));
|
|
24338
24378
|
}
|
|
24339
|
-
}),
|
|
24379
|
+
}), Dw = { class: "flex w-full min-w-0 overflow-hidden px-2 py-2" }, Aw = ["value"], Tw = ["placeholder"], zw = { class: "flex flex-wrap" }, Ow = ["data-icon", "onClick"], Rw = /* @__PURE__ */ te({
|
|
24340
24380
|
__name: "BaseIconPicker",
|
|
24341
24381
|
props: {
|
|
24342
24382
|
modelValue: { default: null },
|
|
@@ -24396,7 +24436,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24396
24436
|
maxWidth: i.maxWidth
|
|
24397
24437
|
})
|
|
24398
24438
|
}, [
|
|
24399
|
-
B("div",
|
|
24439
|
+
B("div", Dw, [
|
|
24400
24440
|
Kt(B("select", {
|
|
24401
24441
|
"onUpdate:modelValue": S[0] || (S[0] = (R) => Mn(u) ? u.value = R : null),
|
|
24402
24442
|
class: "max-w-[150px] shrink-0 rounded-l border-r-0 border-slate-300 py-1.5 pl-2 pr-6 focus:border-slate-300 focus:outline-none focus:ring-0 sm:text-sm",
|
|
@@ -24405,7 +24445,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24405
24445
|
(b(!0), z(Ae, null, We(c(l), (R, E) => (b(), z("option", {
|
|
24406
24446
|
key: E,
|
|
24407
24447
|
value: E
|
|
24408
|
-
}, le(R), 9,
|
|
24448
|
+
}, le(R), 9, Aw))), 128))
|
|
24409
24449
|
], 544), [
|
|
24410
24450
|
[qd, c(u)]
|
|
24411
24451
|
]),
|
|
@@ -24414,7 +24454,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24414
24454
|
type: "text",
|
|
24415
24455
|
placeholder: c(ye)("sui.search") + "...",
|
|
24416
24456
|
class: "min-w-[40px] grow rounded-r border-slate-300 py-0 px-2 focus:border-blue-500 focus:ring-2 focus:ring-blue-300 sm:text-sm"
|
|
24417
|
-
}, null, 8,
|
|
24457
|
+
}, null, 8, Tw), [
|
|
24418
24458
|
[ha, c(y)]
|
|
24419
24459
|
])
|
|
24420
24460
|
]),
|
|
@@ -24423,7 +24463,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24423
24463
|
ref: f,
|
|
24424
24464
|
class: "h-44 overflow-y-auto px-2 pb-2"
|
|
24425
24465
|
}, [
|
|
24426
|
-
B("ul",
|
|
24466
|
+
B("ul", zw, [
|
|
24427
24467
|
(b(!0), z(Ae, null, We(c(v), (R) => (b(), z("li", { key: R }, [
|
|
24428
24468
|
B("button", {
|
|
24429
24469
|
type: "button",
|
|
@@ -24434,13 +24474,13 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24434
24474
|
onClick: (E) => r(R)
|
|
24435
24475
|
}, [
|
|
24436
24476
|
Q(c(Ye), { icon: R }, null, 8, ["icon"])
|
|
24437
|
-
], 10,
|
|
24477
|
+
], 10, Ow)
|
|
24438
24478
|
]))), 128))
|
|
24439
24479
|
])
|
|
24440
24480
|
], 512)
|
|
24441
24481
|
], 4));
|
|
24442
24482
|
}
|
|
24443
|
-
}),
|
|
24483
|
+
}), Lw = /* @__PURE__ */ te({
|
|
24444
24484
|
__name: "BaseInputPercent",
|
|
24445
24485
|
props: {
|
|
24446
24486
|
/**
|
|
@@ -24548,16 +24588,16 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24548
24588
|
"onUpdate:modelValue": d
|
|
24549
24589
|
}, null, 8, ["model-value", "required", "prevent-submit", "name", "step", "placeholder", "disabled", "icon-left", "has-error", "min", "max"]));
|
|
24550
24590
|
}
|
|
24551
|
-
}),
|
|
24591
|
+
}), Fw = { class: "flex items-center gap-1" }, Pw = {
|
|
24552
24592
|
key: 1,
|
|
24553
24593
|
class: "font-semibold"
|
|
24554
|
-
},
|
|
24594
|
+
}, Nw = { key: 2 }, Vw = {
|
|
24555
24595
|
key: 3,
|
|
24556
24596
|
class: "opacity-50"
|
|
24557
|
-
},
|
|
24597
|
+
}, jw = {
|
|
24558
24598
|
key: 0,
|
|
24559
24599
|
class: "pl-3"
|
|
24560
|
-
},
|
|
24600
|
+
}, Hw = /* @__PURE__ */ te({
|
|
24561
24601
|
__name: "BaseJsonReaderItem",
|
|
24562
24602
|
props: {
|
|
24563
24603
|
modelValue: {},
|
|
@@ -24602,7 +24642,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24602
24642
|
return (u, d) => {
|
|
24603
24643
|
const f = St("BaseIcon"), p = St("BaseJsonReaderItem", !0);
|
|
24604
24644
|
return b(), z("li", null, [
|
|
24605
|
-
B("p",
|
|
24645
|
+
B("p", Fw, [
|
|
24606
24646
|
u.variant == "collapse" ? (b(), z("button", {
|
|
24607
24647
|
key: 0,
|
|
24608
24648
|
type: "button",
|
|
@@ -24617,8 +24657,8 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24617
24657
|
B("span", {
|
|
24618
24658
|
class: H([typeof u.label == "number" ? "" : "font-semibold"])
|
|
24619
24659
|
}, le(u.label), 3),
|
|
24620
|
-
c(a) ? (b(), z("span",
|
|
24621
|
-
c(a) ? (b(), z("span",
|
|
24660
|
+
c(a) ? (b(), z("span", Pw, ":")) : Z("", !0),
|
|
24661
|
+
c(a) ? (b(), z("span", Nw, le(u.modelValue), 1)) : (b(), z("span", Vw, [
|
|
24622
24662
|
d[0] || (d[0] = Ot("{")),
|
|
24623
24663
|
(b(), z(Ae, { key: 0 }, [
|
|
24624
24664
|
Ot(le(c(r)), 1)
|
|
@@ -24626,7 +24666,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24626
24666
|
d[1] || (d[1] = Ot("}"))
|
|
24627
24667
|
]))
|
|
24628
24668
|
]),
|
|
24629
|
-
c(l) ? Kt((b(), z("ul",
|
|
24669
|
+
c(l) ? Kt((b(), z("ul", jw, [
|
|
24630
24670
|
(b(!0), z(Ae, null, We(u.modelValue, (m, y) => (b(), ee(p, {
|
|
24631
24671
|
key: y,
|
|
24632
24672
|
label: y,
|
|
@@ -24640,7 +24680,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24640
24680
|
]);
|
|
24641
24681
|
};
|
|
24642
24682
|
}
|
|
24643
|
-
}),
|
|
24683
|
+
}), qw = /* @__PURE__ */ te({
|
|
24644
24684
|
inheritAttrs: !1,
|
|
24645
24685
|
__name: "BaseJsonReader",
|
|
24646
24686
|
props: {
|
|
@@ -24662,7 +24702,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24662
24702
|
class: H(c(e))
|
|
24663
24703
|
}, [
|
|
24664
24704
|
B("ul", null, [
|
|
24665
|
-
(b(!0), z(Ae, null, We(o.modelValue, (a, l) => (b(), ee(
|
|
24705
|
+
(b(!0), z(Ae, null, We(o.modelValue, (a, l) => (b(), ee(Hw, {
|
|
24666
24706
|
key: l,
|
|
24667
24707
|
size: o.size,
|
|
24668
24708
|
label: l,
|
|
@@ -24672,7 +24712,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24672
24712
|
])
|
|
24673
24713
|
], 2));
|
|
24674
24714
|
}
|
|
24675
|
-
}), Ks = "mount",
|
|
24715
|
+
}), Ks = "mount", Ww = "intersection", Uw = /* @__PURE__ */ te({
|
|
24676
24716
|
__name: "BaseLazy",
|
|
24677
24717
|
props: {
|
|
24678
24718
|
delay: { default: 200 },
|
|
@@ -24682,7 +24722,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24682
24722
|
setup(t) {
|
|
24683
24723
|
const n = P(null), e = t, o = P(!1), r = P(!1);
|
|
24684
24724
|
let a = 0;
|
|
24685
|
-
e.trigger ===
|
|
24725
|
+
e.trigger === Ww ? (rf(
|
|
24686
24726
|
n,
|
|
24687
24727
|
(u) => o.value = u[0].isIntersecting,
|
|
24688
24728
|
e.intersectionConfig
|
|
@@ -24709,10 +24749,10 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24709
24749
|
c(s) ? ue(u.$slots, "default", { key: 0 }) : ue(u.$slots, "preview", { key: 1 })
|
|
24710
24750
|
], 512));
|
|
24711
24751
|
}
|
|
24712
|
-
}),
|
|
24752
|
+
}), Yw = ["src", "alt"], Kw = ["src", "alt"], Gw = {
|
|
24713
24753
|
key: 2,
|
|
24714
24754
|
class: "flex h-full w-full items-center justify-center bg-slate-100"
|
|
24715
|
-
},
|
|
24755
|
+
}, Xw = {
|
|
24716
24756
|
key: 3,
|
|
24717
24757
|
class: "text-xs font-semibold uppercase leading-tight text-slate-600"
|
|
24718
24758
|
}, Vi = /* @__PURE__ */ te({
|
|
@@ -24750,12 +24790,12 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24750
24790
|
src: c(a),
|
|
24751
24791
|
class: "h-full w-full bg-black object-contain object-center",
|
|
24752
24792
|
alt: c(e)
|
|
24753
|
-
}, null, 8,
|
|
24793
|
+
}, null, 8, Yw)) : c(o) == "image" && "data_url" in t.media && t.previewImage ? (b(), z("img", {
|
|
24754
24794
|
key: 1,
|
|
24755
24795
|
src: t.media.data_url,
|
|
24756
24796
|
class: "h-full w-full bg-black object-contain object-center",
|
|
24757
24797
|
alt: c(e)
|
|
24758
|
-
}, null, 8,
|
|
24798
|
+
}, null, 8, Kw)) : (b(), z("div", Gw, [
|
|
24759
24799
|
c(r) == "pdf" ? (b(), ee(c(Ye), {
|
|
24760
24800
|
key: 0,
|
|
24761
24801
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
@@ -24768,7 +24808,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24768
24808
|
key: 2,
|
|
24769
24809
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
24770
24810
|
icon: "heroicons-solid:music-note"
|
|
24771
|
-
})) : c(u) > 50 ? (b(), z("span",
|
|
24811
|
+
})) : c(u) > 50 ? (b(), z("span", Xw, le(c(r)), 1)) : (b(), ee(c(Ye), {
|
|
24772
24812
|
key: 4,
|
|
24773
24813
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
24774
24814
|
icon: "heroicons-solid:paper-clip"
|
|
@@ -24778,10 +24818,10 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24778
24818
|
_: 1
|
|
24779
24819
|
}, 8, ["href", "class"]));
|
|
24780
24820
|
}
|
|
24781
|
-
}),
|
|
24821
|
+
}), Zw = { class: "rounded bg-white shadow" }, Qw = { class: "relative flex" }, Jw = { class: "shrink-0" }, ex = { class: "overflow-hidden text-left leading-tight" }, tx = { class: "mb-px grow truncate text-[13px] font-medium" }, nx = { class: "shrink-0 text-[10px] text-slate-400" }, ox = {
|
|
24782
24822
|
key: 0,
|
|
24783
24823
|
class: "shrink-0 p-0.5"
|
|
24784
|
-
},
|
|
24824
|
+
}, rx = /* @__PURE__ */ te({
|
|
24785
24825
|
__name: "BaseMediaItem",
|
|
24786
24826
|
props: {
|
|
24787
24827
|
media: {
|
|
@@ -24796,9 +24836,9 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24796
24836
|
emits: ["remove"],
|
|
24797
24837
|
setup(t) {
|
|
24798
24838
|
const n = t, e = w(() => n.media.file_name), o = w(() => Za(n.media.size)), r = w(() => "url" in n.media ? n.media.url : null);
|
|
24799
|
-
return (a, l) => (b(), z("div",
|
|
24800
|
-
B("div",
|
|
24801
|
-
B("div",
|
|
24839
|
+
return (a, l) => (b(), z("div", Zw, [
|
|
24840
|
+
B("div", Qw, [
|
|
24841
|
+
B("div", Jw, [
|
|
24802
24842
|
Q(Vi, {
|
|
24803
24843
|
class: "h-12 w-12 rounded-l",
|
|
24804
24844
|
media: t.media
|
|
@@ -24810,14 +24850,14 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24810
24850
|
class: "flex grow items-center overflow-hidden px-3"
|
|
24811
24851
|
}, {
|
|
24812
24852
|
default: K(() => [
|
|
24813
|
-
B("div",
|
|
24814
|
-
B("p",
|
|
24815
|
-
B("p",
|
|
24853
|
+
B("div", ex, [
|
|
24854
|
+
B("p", tx, le(c(e)), 1),
|
|
24855
|
+
B("p", nx, le(c(o)), 1)
|
|
24816
24856
|
])
|
|
24817
24857
|
]),
|
|
24818
24858
|
_: 1
|
|
24819
24859
|
}, 8, ["href"])),
|
|
24820
|
-
t.showRemove ? (b(), z("div",
|
|
24860
|
+
t.showRemove ? (b(), z("div", ox, [
|
|
24821
24861
|
B("button", {
|
|
24822
24862
|
type: "button",
|
|
24823
24863
|
class: "rounded-full bg-white p-1 text-slate-400 hover:bg-slate-100",
|
|
@@ -24832,22 +24872,22 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24832
24872
|
])
|
|
24833
24873
|
]));
|
|
24834
24874
|
}
|
|
24835
|
-
}),
|
|
24875
|
+
}), ax = { class: "mr-2 shrink-0" }, lx = { class: "flex grow items-center gap-3 overflow-hidden" }, ix = {
|
|
24836
24876
|
key: 0,
|
|
24837
24877
|
class: "flex grow items-center overflow-hidden"
|
|
24838
|
-
},
|
|
24878
|
+
}, sx = ["disabled"], ux = {
|
|
24839
24879
|
key: 0,
|
|
24840
24880
|
class: "text-center opacity-0 group-hover:opacity-100"
|
|
24841
|
-
},
|
|
24881
|
+
}, cx = {
|
|
24842
24882
|
key: 1,
|
|
24843
24883
|
class: "flex grow items-center py-1"
|
|
24844
|
-
},
|
|
24884
|
+
}, dx = ["value", "onKeydown"], fx = { class: "flex shrink-0 items-center" }, px = { class: "flex shrink-0 gap-2" }, mx = ["disabled"], hx = {
|
|
24845
24885
|
key: 1,
|
|
24846
24886
|
class: "inline"
|
|
24847
|
-
},
|
|
24887
|
+
}, gx = ["href"], vx = {
|
|
24848
24888
|
key: 1,
|
|
24849
24889
|
class: "inline"
|
|
24850
|
-
},
|
|
24890
|
+
}, yx = /* @__PURE__ */ te({
|
|
24851
24891
|
__name: "BaseMediaListItem",
|
|
24852
24892
|
props: {
|
|
24853
24893
|
media: {
|
|
@@ -24901,14 +24941,14 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24901
24941
|
class: "text-slate-400 w-5 h-5"
|
|
24902
24942
|
})
|
|
24903
24943
|
], 2)) : Z("", !0),
|
|
24904
|
-
B("div",
|
|
24944
|
+
B("div", ax, [
|
|
24905
24945
|
Q(c(Ye), {
|
|
24906
24946
|
icon: "heroicons-solid:paper-clip",
|
|
24907
24947
|
class: H(["shrink-0 text-slate-400", [c(l) ? "w-4 h-4" : "h-5 w-5"]])
|
|
24908
24948
|
}, null, 8, ["class"])
|
|
24909
24949
|
]),
|
|
24910
|
-
B("div",
|
|
24911
|
-
c(u) == "show" ? (b(), z("div",
|
|
24950
|
+
B("div", lx, [
|
|
24951
|
+
c(u) == "show" ? (b(), z("div", ix, [
|
|
24912
24952
|
B("button", {
|
|
24913
24953
|
type: "button",
|
|
24914
24954
|
disabled: t.disabled,
|
|
@@ -24918,14 +24958,14 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24918
24958
|
B("span", {
|
|
24919
24959
|
class: H(["mr-2 truncate", [(c(l), "text-sm")]])
|
|
24920
24960
|
}, le(c(f)), 3),
|
|
24921
|
-
t.disabled ? Z("", !0) : (b(), z("div",
|
|
24961
|
+
t.disabled ? Z("", !0) : (b(), z("div", ux, [
|
|
24922
24962
|
Q(c(Ye), {
|
|
24923
24963
|
icon: "heroicons-solid:pencil",
|
|
24924
24964
|
class: H(["shrink-0 text-slate-400", [c(l) ? "w-4 h-4" : "h-5 w-5"]])
|
|
24925
24965
|
}, null, 8, ["class"])
|
|
24926
24966
|
]))
|
|
24927
|
-
], 8,
|
|
24928
|
-
])) : (b(), z("div",
|
|
24967
|
+
], 8, sx)
|
|
24968
|
+
])) : (b(), z("div", cx, [
|
|
24929
24969
|
B("input", {
|
|
24930
24970
|
ref_key: "inputRef",
|
|
24931
24971
|
ref: m,
|
|
@@ -24937,8 +24977,8 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24937
24977
|
ma(an(v, ["prevent"]), ["enter"]),
|
|
24938
24978
|
g[1] || (g[1] = ma(an((k) => u.value = "show", ["prevent"]), ["escape"]))
|
|
24939
24979
|
]
|
|
24940
|
-
}, null, 42,
|
|
24941
|
-
B("div",
|
|
24980
|
+
}, null, 42, dx),
|
|
24981
|
+
B("div", fx, [
|
|
24942
24982
|
B("button", {
|
|
24943
24983
|
type: "button",
|
|
24944
24984
|
class: H(["h-10 shrink-0 pr-2 pl-3 text-blue-600", [(c(l), "text-sm")]]),
|
|
@@ -24946,7 +24986,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24946
24986
|
}, le(c(ye)("sui.save")), 3)
|
|
24947
24987
|
])
|
|
24948
24988
|
])),
|
|
24949
|
-
B("div",
|
|
24989
|
+
B("div", px, [
|
|
24950
24990
|
t.showRemove ? (b(), z("button", {
|
|
24951
24991
|
key: 0,
|
|
24952
24992
|
type: "button",
|
|
@@ -24958,8 +24998,8 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24958
24998
|
key: 0,
|
|
24959
24999
|
icon: "heroicons-solid:x",
|
|
24960
25000
|
class: H(["shrink-0 text-slate-400", [c(l) ? "w-4 h-4" : "h-5 w-5"]])
|
|
24961
|
-
}, null, 8, ["class"])) : (b(), z("span",
|
|
24962
|
-
], 8,
|
|
25001
|
+
}, null, 8, ["class"])) : (b(), z("span", hx, le(c(ye)("sui.delete")), 1))
|
|
25002
|
+
], 8, mx)) : Z("", !0),
|
|
24963
25003
|
c(p) ? (b(), z("a", {
|
|
24964
25004
|
key: 1,
|
|
24965
25005
|
href: c(p),
|
|
@@ -24970,13 +25010,13 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
24970
25010
|
key: 0,
|
|
24971
25011
|
icon: "heroicons-solid:download",
|
|
24972
25012
|
class: H(["shrink-0 text-slate-400", [c(l) ? "w-4 h-4" : "h-5 w-5"]])
|
|
24973
|
-
}, null, 8, ["class"])) : (b(), z("span",
|
|
24974
|
-
], 8,
|
|
25013
|
+
}, null, 8, ["class"])) : (b(), z("span", vx, le(c(ye)("sui.download")), 1))
|
|
25014
|
+
], 8, gx)) : Z("", !0)
|
|
24975
25015
|
])
|
|
24976
25016
|
])
|
|
24977
25017
|
], 2));
|
|
24978
25018
|
}
|
|
24979
|
-
}),
|
|
25019
|
+
}), bx = { class: "border-b border-slate-200" }, wx = /* @__PURE__ */ te({
|
|
24980
25020
|
__name: "BaseMediaList",
|
|
24981
25021
|
props: {
|
|
24982
25022
|
modelValue: {
|
|
@@ -25015,8 +25055,8 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25015
25055
|
"onUpdate:modelValue": a
|
|
25016
25056
|
}, {
|
|
25017
25057
|
item: K(({ element: u, index: d }) => [
|
|
25018
|
-
B("div",
|
|
25019
|
-
Q(
|
|
25058
|
+
B("div", bx, [
|
|
25059
|
+
Q(yx, {
|
|
25020
25060
|
media: u,
|
|
25021
25061
|
"show-remove": t.showRemove,
|
|
25022
25062
|
draggable: t.draggable,
|
|
@@ -25029,7 +25069,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25029
25069
|
_: 1
|
|
25030
25070
|
}, 8, ["model-value", "disabled"]));
|
|
25031
25071
|
}
|
|
25032
|
-
}),
|
|
25072
|
+
}), xx = ["src"], kx = { class: "absolute -top-2 -right-2 flex gap-1" }, Sx = ["href"], Cx = ["disabled"], Ex = /* @__PURE__ */ te({
|
|
25033
25073
|
__name: "BaseMediaPicturesItem",
|
|
25034
25074
|
props: {
|
|
25035
25075
|
media: {
|
|
@@ -25072,8 +25112,8 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25072
25112
|
height: t.size + "px"
|
|
25073
25113
|
}),
|
|
25074
25114
|
class: "overflow-hidden rounded-lg object-cover"
|
|
25075
|
-
}, null, 12,
|
|
25076
|
-
B("div",
|
|
25115
|
+
}, null, 12, xx),
|
|
25116
|
+
B("div", kx, [
|
|
25077
25117
|
c(o) ? (b(), z("a", {
|
|
25078
25118
|
key: 0,
|
|
25079
25119
|
href: c(o),
|
|
@@ -25084,7 +25124,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25084
25124
|
class: "h-4 w-4",
|
|
25085
25125
|
icon: "mdi:download"
|
|
25086
25126
|
})
|
|
25087
|
-
], 8,
|
|
25127
|
+
], 8, Sx)) : Z("", !0),
|
|
25088
25128
|
t.showRemove ? (b(), z("button", {
|
|
25089
25129
|
key: 1,
|
|
25090
25130
|
type: "button",
|
|
@@ -25096,11 +25136,11 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25096
25136
|
class: "h-4 w-4",
|
|
25097
25137
|
icon: "mdi:close"
|
|
25098
25138
|
})
|
|
25099
|
-
], 8,
|
|
25139
|
+
], 8, Cx)) : Z("", !0)
|
|
25100
25140
|
])
|
|
25101
25141
|
], 6));
|
|
25102
25142
|
}
|
|
25103
|
-
}),
|
|
25143
|
+
}), Bx = /* @__PURE__ */ te({
|
|
25104
25144
|
__name: "BaseMediaPictures",
|
|
25105
25145
|
props: {
|
|
25106
25146
|
modelValue: {
|
|
@@ -25140,7 +25180,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25140
25180
|
}, {
|
|
25141
25181
|
item: K(({ element: s, index: u }) => [
|
|
25142
25182
|
B("div", null, [
|
|
25143
|
-
Q(
|
|
25183
|
+
Q(Ex, {
|
|
25144
25184
|
media: s,
|
|
25145
25185
|
"show-remove": t.showRemove,
|
|
25146
25186
|
draggable: t.draggable,
|
|
@@ -25153,13 +25193,13 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25153
25193
|
_: 1
|
|
25154
25194
|
}, 8, ["model-value", "disabled"]));
|
|
25155
25195
|
}
|
|
25156
|
-
}),
|
|
25196
|
+
}), Mx = { class: "relative overflow-hidden rounded bg-white shadow ring-1 ring-black ring-opacity-10" }, _x = {
|
|
25157
25197
|
key: 0,
|
|
25158
25198
|
class: "handle flex shrink-0 cursor-move items-center justify-center border-r border-slate-300 bg-slate-200 px-1"
|
|
25159
|
-
},
|
|
25199
|
+
}, Ix = { class: "shrink-0" }, $x = { class: "overflow-hidden text-left leading-tight" }, Dx = { class: "mb-px grow truncate text-[13px] font-medium" }, Ax = { class: "shrink-0 text-[10px] text-slate-400" }, Tx = {
|
|
25160
25200
|
key: 0,
|
|
25161
25201
|
class: "absolute top-px right-px"
|
|
25162
|
-
},
|
|
25202
|
+
}, zx = /* @__PURE__ */ te({
|
|
25163
25203
|
__name: "BaseMediaGalleryItem",
|
|
25164
25204
|
props: {
|
|
25165
25205
|
media: {
|
|
@@ -25182,16 +25222,16 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25182
25222
|
emits: ["remove"],
|
|
25183
25223
|
setup(t) {
|
|
25184
25224
|
const n = t, e = w(() => n.media.file_name), o = w(() => Za(n.media.size)), r = w(() => "url" in n.media ? n.media.url : null);
|
|
25185
|
-
return (a, l) => (b(), z("div",
|
|
25225
|
+
return (a, l) => (b(), z("div", Mx, [
|
|
25186
25226
|
B("div", {
|
|
25187
25227
|
class: H(["flex", {
|
|
25188
25228
|
"pr-4": t.draggable
|
|
25189
25229
|
}])
|
|
25190
25230
|
}, [
|
|
25191
|
-
t.draggable && !t.disabled ? (b(), z("div",
|
|
25231
|
+
t.draggable && !t.disabled ? (b(), z("div", _x, [
|
|
25192
25232
|
Q(c(Ye), { icon: "mdi:drag" })
|
|
25193
25233
|
])) : Z("", !0),
|
|
25194
|
-
B("div",
|
|
25234
|
+
B("div", Ix, [
|
|
25195
25235
|
Q(Vi, {
|
|
25196
25236
|
class: "h-12 w-12",
|
|
25197
25237
|
media: t.media
|
|
@@ -25203,15 +25243,15 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25203
25243
|
class: "flex grow items-center overflow-hidden px-3"
|
|
25204
25244
|
}, {
|
|
25205
25245
|
default: K(() => [
|
|
25206
|
-
B("div",
|
|
25207
|
-
B("p",
|
|
25208
|
-
B("p",
|
|
25246
|
+
B("div", $x, [
|
|
25247
|
+
B("p", Dx, le(c(e)), 1),
|
|
25248
|
+
B("p", Ax, le(c(o)), 1)
|
|
25209
25249
|
])
|
|
25210
25250
|
]),
|
|
25211
25251
|
_: 1
|
|
25212
25252
|
}, 8, ["href"]))
|
|
25213
25253
|
], 2),
|
|
25214
|
-
t.showRemove ? (b(), z("div",
|
|
25254
|
+
t.showRemove ? (b(), z("div", Tx, [
|
|
25215
25255
|
B("button", {
|
|
25216
25256
|
type: "button",
|
|
25217
25257
|
class: "rounded-full bg-white p-1 text-slate-500 hover:bg-slate-100",
|
|
@@ -25225,7 +25265,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25225
25265
|
])) : Z("", !0)
|
|
25226
25266
|
]));
|
|
25227
25267
|
}
|
|
25228
|
-
}),
|
|
25268
|
+
}), Ox = /* @__PURE__ */ te({
|
|
25229
25269
|
__name: "BaseMediaGallery",
|
|
25230
25270
|
props: {
|
|
25231
25271
|
modelValue: {
|
|
@@ -25287,7 +25327,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25287
25327
|
style: je({ width: c(a) }),
|
|
25288
25328
|
class: "p-1"
|
|
25289
25329
|
}, [
|
|
25290
|
-
Q(
|
|
25330
|
+
Q(zx, {
|
|
25291
25331
|
media: f,
|
|
25292
25332
|
"show-remove": !t.disabled,
|
|
25293
25333
|
disabled: t.disabled,
|
|
@@ -25305,10 +25345,10 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25305
25345
|
}, 8, ["model-value", "disabled"])
|
|
25306
25346
|
], 512));
|
|
25307
25347
|
}
|
|
25308
|
-
}),
|
|
25348
|
+
}), Rx = { class: "text-center" }, Lx = { class: "mb-0 text-sm font-medium leading-tight" }, Fx = { class: "mt-1 text-xs leading-tight text-slate-500" }, Px = { key: 0 }, Nx = {
|
|
25309
25349
|
key: 0,
|
|
25310
25350
|
class: "mt-5"
|
|
25311
|
-
},
|
|
25351
|
+
}, Vx = /* @__PURE__ */ te({
|
|
25312
25352
|
__name: "BaseMediaLibrary",
|
|
25313
25353
|
props: {
|
|
25314
25354
|
modelValue: {
|
|
@@ -25487,10 +25527,10 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25487
25527
|
icon: "heroicons:arrow-up-on-square",
|
|
25488
25528
|
class: "mx-auto mb-3 h-6 w-6 text-slate-500"
|
|
25489
25529
|
}),
|
|
25490
|
-
B("div",
|
|
25491
|
-
B("p",
|
|
25492
|
-
B("div",
|
|
25493
|
-
c(m) ? (b(), z("p",
|
|
25530
|
+
B("div", Rx, [
|
|
25531
|
+
B("p", Lx, le(c(ye)("sui.drop_or_click_to_upload")), 1),
|
|
25532
|
+
B("div", Fx, [
|
|
25533
|
+
c(m) ? (b(), z("p", Px, le(c(m)), 1)) : Z("", !0),
|
|
25494
25534
|
B("p", null, le(c(y)), 1)
|
|
25495
25535
|
])
|
|
25496
25536
|
])
|
|
@@ -25500,7 +25540,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25500
25540
|
]),
|
|
25501
25541
|
_: 3
|
|
25502
25542
|
}, 8, ["component", "max-size", "disabled", "accept", "accepted-extensions", "url", "multiple", "cropper"]),
|
|
25503
|
-
c(f).length ? (b(), z("div",
|
|
25543
|
+
c(f).length ? (b(), z("div", Nx, [
|
|
25504
25544
|
ue(_.$slots, "list", {
|
|
25505
25545
|
modelValue: c(f),
|
|
25506
25546
|
disabled: c(g),
|
|
@@ -25508,19 +25548,19 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25508
25548
|
remove: k,
|
|
25509
25549
|
"onUpdate:modelValue": i
|
|
25510
25550
|
}, () => [
|
|
25511
|
-
t.layout == "images" ? (b(), ee(
|
|
25551
|
+
t.layout == "images" ? (b(), ee(Bx, Mt({ key: 0 }, t.listProps, {
|
|
25512
25552
|
"model-value": c(f),
|
|
25513
25553
|
disabled: c(g),
|
|
25514
25554
|
draggable: t.draggable,
|
|
25515
25555
|
"onUpdate:modelValue": i,
|
|
25516
25556
|
onRemove: x[0] || (x[0] = (C) => k(C))
|
|
25517
|
-
}), null, 16, ["model-value", "disabled", "draggable"])) : t.layout == "list" ? (b(), ee(
|
|
25557
|
+
}), null, 16, ["model-value", "disabled", "draggable"])) : t.layout == "list" ? (b(), ee(wx, Mt({ key: 1 }, t.listProps, {
|
|
25518
25558
|
"model-value": c(f),
|
|
25519
25559
|
disabled: c(g),
|
|
25520
25560
|
draggable: t.draggable,
|
|
25521
25561
|
"onUpdate:modelValue": i,
|
|
25522
25562
|
onRemove: x[1] || (x[1] = (C) => k(C))
|
|
25523
|
-
}), null, 16, ["model-value", "disabled", "draggable"])) : t.layout == "gallery" ? (b(), ee(
|
|
25563
|
+
}), null, 16, ["model-value", "disabled", "draggable"])) : t.layout == "gallery" ? (b(), ee(Ox, Mt({ key: 2 }, t.listProps, {
|
|
25524
25564
|
"model-value": c(f),
|
|
25525
25565
|
disabled: c(g),
|
|
25526
25566
|
draggable: t.draggable,
|
|
@@ -25531,7 +25571,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25531
25571
|
])) : Z("", !0)
|
|
25532
25572
|
]));
|
|
25533
25573
|
}
|
|
25534
|
-
}),
|
|
25574
|
+
}), jx = { class: "grow flex" }, Hx = {
|
|
25535
25575
|
key: 0,
|
|
25536
25576
|
class: "-mr-2 flex items-center"
|
|
25537
25577
|
}, bd = /* @__PURE__ */ te({
|
|
@@ -25599,14 +25639,14 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25599
25639
|
}),
|
|
25600
25640
|
class: "flex justify-between"
|
|
25601
25641
|
}, [
|
|
25602
|
-
B("div",
|
|
25642
|
+
B("div", jx, [
|
|
25603
25643
|
ue(v.$slots, "navbar", {
|
|
25604
25644
|
mobile: c(o),
|
|
25605
25645
|
dark: t.dark,
|
|
25606
25646
|
height: c(r)
|
|
25607
25647
|
})
|
|
25608
25648
|
]),
|
|
25609
|
-
c(o) ? (b(), z("div",
|
|
25649
|
+
c(o) ? (b(), z("div", Hx, [
|
|
25610
25650
|
B("button", {
|
|
25611
25651
|
type: "button",
|
|
25612
25652
|
class: H(["inline-flex items-center justify-center rounded-md p-2 focus:outline-none focus:ring-2 focus:ring-offset-2", [
|
|
@@ -25645,7 +25685,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25645
25685
|
], 2)) : Z("", !0)
|
|
25646
25686
|
], 6));
|
|
25647
25687
|
}
|
|
25648
|
-
}),
|
|
25688
|
+
}), qx = {
|
|
25649
25689
|
key: 1,
|
|
25650
25690
|
class: "relative -top-px ml-[5px]"
|
|
25651
25691
|
}, wd = /* @__PURE__ */ te({
|
|
@@ -25707,7 +25747,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25707
25747
|
B("div", {
|
|
25708
25748
|
class: H([c(a), "text-base"])
|
|
25709
25749
|
}, le(t.label), 3),
|
|
25710
|
-
t.count ? (b(), z("div",
|
|
25750
|
+
t.count ? (b(), z("div", qx, [
|
|
25711
25751
|
Q(vo, {
|
|
25712
25752
|
size: t.size,
|
|
25713
25753
|
count: t.count,
|
|
@@ -25718,7 +25758,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25718
25758
|
], 2)
|
|
25719
25759
|
], 2));
|
|
25720
25760
|
}
|
|
25721
|
-
}),
|
|
25761
|
+
}), Wx = { class: "flex group relative" }, Ux = { class: "space-y-px" }, Yx = {
|
|
25722
25762
|
key: 0,
|
|
25723
25763
|
class: "-mx-1 my-1 flex h-px bg-slate-200"
|
|
25724
25764
|
}, xd = /* @__PURE__ */ te({
|
|
@@ -25755,7 +25795,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25755
25795
|
"group-hover:visible group-hover:opacity-100 group-hover:translate-y-0",
|
|
25756
25796
|
e.twDropdown
|
|
25757
25797
|
));
|
|
25758
|
-
return (d, f) => (b(), z("div",
|
|
25798
|
+
return (d, f) => (b(), z("div", Wx, [
|
|
25759
25799
|
Q(Jn, {
|
|
25760
25800
|
item: t.item,
|
|
25761
25801
|
class: "flex w-full",
|
|
@@ -25781,13 +25821,13 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25781
25821
|
top: `${c(o) - 3}px`
|
|
25782
25822
|
})
|
|
25783
25823
|
}, [
|
|
25784
|
-
B("div",
|
|
25824
|
+
B("div", Ux, [
|
|
25785
25825
|
(b(!0), z(Ae, null, We(t.item.actions, (p) => {
|
|
25786
25826
|
var m;
|
|
25787
25827
|
return b(), z("div", {
|
|
25788
25828
|
key: p.label
|
|
25789
25829
|
}, [
|
|
25790
|
-
(m = p.meta) != null && m.line ? (b(), z("div",
|
|
25830
|
+
(m = p.meta) != null && m.line ? (b(), z("div", Yx)) : (b(), ee(Jn, {
|
|
25791
25831
|
key: 1,
|
|
25792
25832
|
item: p
|
|
25793
25833
|
}, {
|
|
@@ -25808,10 +25848,10 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25808
25848
|
], 6)) : Z("", !0)
|
|
25809
25849
|
]));
|
|
25810
25850
|
}
|
|
25811
|
-
}),
|
|
25851
|
+
}), Kx = { key: 1 }, Gx = {
|
|
25812
25852
|
key: 0,
|
|
25813
25853
|
class: "relative -top-px ml-[5px]"
|
|
25814
|
-
},
|
|
25854
|
+
}, Xx = /* @__PURE__ */ te({
|
|
25815
25855
|
__name: "BaseNavbarSideItemContent",
|
|
25816
25856
|
props: {
|
|
25817
25857
|
label: {
|
|
@@ -25862,9 +25902,9 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25862
25902
|
icon: t.icon,
|
|
25863
25903
|
class: H(c(o))
|
|
25864
25904
|
}, null, 8, ["icon", "class"])) : Z("", !0),
|
|
25865
|
-
t.collapsed ? Z("", !0) : (b(), z("span",
|
|
25905
|
+
t.collapsed ? Z("", !0) : (b(), z("span", Kx, le(t.label), 1))
|
|
25866
25906
|
], 2),
|
|
25867
|
-
t.count && !t.collapsed ? (b(), z("div",
|
|
25907
|
+
t.count && !t.collapsed ? (b(), z("div", Gx, [
|
|
25868
25908
|
Q(vo, {
|
|
25869
25909
|
size: t.size,
|
|
25870
25910
|
count: t.count,
|
|
@@ -25874,13 +25914,13 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25874
25914
|
])) : Z("", !0)
|
|
25875
25915
|
], 2));
|
|
25876
25916
|
}
|
|
25877
|
-
}),
|
|
25917
|
+
}), Zx = {
|
|
25878
25918
|
key: 0,
|
|
25879
25919
|
class: "bg-white shadow-lg py-2 ring-1 ring-black ring-opacity-10 rounded-r-md w-[180px]"
|
|
25880
|
-
},
|
|
25920
|
+
}, Qx = { class: "flex justify-between gap-2 items-center w-full" }, Jx = {
|
|
25881
25921
|
key: 1,
|
|
25882
25922
|
class: "bg-slate-900 text-white rounded shadow-lg px-2 py-1.5 text-xs"
|
|
25883
|
-
},
|
|
25923
|
+
}, ek = {
|
|
25884
25924
|
key: 0,
|
|
25885
25925
|
class: "mt-1 sm:mt-2 mb-3"
|
|
25886
25926
|
}, Cr = /* @__PURE__ */ te({
|
|
@@ -25940,7 +25980,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25940
25980
|
onClick: a
|
|
25941
25981
|
}, {
|
|
25942
25982
|
default: K(({ active: y }) => [
|
|
25943
|
-
Q(
|
|
25983
|
+
Q(Xx, {
|
|
25944
25984
|
label: t.item.label,
|
|
25945
25985
|
icon: t.item.icon,
|
|
25946
25986
|
active: y,
|
|
@@ -25959,7 +25999,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25959
25999
|
t.collapsed ? {
|
|
25960
26000
|
name: "tooltip",
|
|
25961
26001
|
fn: K(() => [
|
|
25962
|
-
c(l) ? (b(), z("div",
|
|
26002
|
+
c(l) ? (b(), z("div", Zx, [
|
|
25963
26003
|
(b(!0), z(Ae, null, We(t.item.actions, (m) => (b(), z("div", {
|
|
25964
26004
|
key: m.label
|
|
25965
26005
|
}, [
|
|
@@ -25968,7 +26008,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25968
26008
|
class: "flex gap-1 items-center px-4 py-1.5 hover:bg-slate-100"
|
|
25969
26009
|
}, {
|
|
25970
26010
|
default: K(({ active: y }) => [
|
|
25971
|
-
B("div",
|
|
26011
|
+
B("div", Qx, [
|
|
25972
26012
|
B("div", {
|
|
25973
26013
|
class: H(["text-sm text-slate-600 hover:text-slate-950", { "font-medium": y }])
|
|
25974
26014
|
}, le(m.label), 3),
|
|
@@ -25982,14 +26022,14 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
25982
26022
|
_: 2
|
|
25983
26023
|
}, 1032, ["item"])
|
|
25984
26024
|
]))), 128))
|
|
25985
|
-
])) : (b(), z("div",
|
|
26025
|
+
])) : (b(), z("div", Jx, [
|
|
25986
26026
|
B("span", null, le(t.item.label), 1)
|
|
25987
26027
|
]))
|
|
25988
26028
|
]),
|
|
25989
26029
|
key: "0"
|
|
25990
26030
|
} : void 0
|
|
25991
26031
|
]), 1032, ["visible", "interactive", "offset"]),
|
|
25992
|
-
!t.collapsed && c(l) && c(u) ? (b(), z("div",
|
|
26032
|
+
!t.collapsed && c(l) && c(u) ? (b(), z("div", ek, [
|
|
25993
26033
|
(b(!0), z(Ae, null, We(t.item.actions, (m) => (b(), z("div", {
|
|
25994
26034
|
key: m.label
|
|
25995
26035
|
}, [
|
|
@@ -26014,7 +26054,7 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
26014
26054
|
])) : Z("", !0)
|
|
26015
26055
|
]));
|
|
26016
26056
|
}
|
|
26017
|
-
}),
|
|
26057
|
+
}), tk = te({
|
|
26018
26058
|
props: {
|
|
26019
26059
|
title: {
|
|
26020
26060
|
required: !0,
|
|
@@ -26029,24 +26069,24 @@ const ew = ["onClick"], tw = { class: "px-2 flex items-center" }, nw = { class:
|
|
|
26029
26069
|
type: Boolean
|
|
26030
26070
|
}
|
|
26031
26071
|
}
|
|
26032
|
-
}),
|
|
26072
|
+
}), nk = { class: "px-4 md:col-span-1 md:px-0" }, ok = { class: "text-base font-semibold leading-6 text-slate-900" }, rk = {
|
|
26033
26073
|
key: 0,
|
|
26034
26074
|
class: "mt-1 text-sm leading-normal opacity-50"
|
|
26035
|
-
},
|
|
26036
|
-
function
|
|
26075
|
+
}, ak = { class: "mt-5 md:col-span-2 md:mt-0" };
|
|
26076
|
+
function lk(t, n, e, o, r, a) {
|
|
26037
26077
|
return b(), z("div", {
|
|
26038
26078
|
class: H(["pb-8 md:grid md:grid-cols-3 md:gap-8", [t.bordered ? "mb-8 border-b border-slate-300" : ""]])
|
|
26039
26079
|
}, [
|
|
26040
|
-
B("div",
|
|
26041
|
-
B("h3",
|
|
26042
|
-
t.description ? (b(), z("p",
|
|
26080
|
+
B("div", nk, [
|
|
26081
|
+
B("h3", ok, le(t.title), 1),
|
|
26082
|
+
t.description ? (b(), z("p", rk, le(t.description), 1)) : Z("", !0)
|
|
26043
26083
|
]),
|
|
26044
|
-
B("div",
|
|
26084
|
+
B("div", ak, [
|
|
26045
26085
|
ue(t.$slots, "default")
|
|
26046
26086
|
])
|
|
26047
26087
|
], 2);
|
|
26048
26088
|
}
|
|
26049
|
-
const
|
|
26089
|
+
const ik = /* @__PURE__ */ Yo(tk, [["render", lk]]), sk = te({
|
|
26050
26090
|
props: {
|
|
26051
26091
|
radius: {
|
|
26052
26092
|
default: 10,
|
|
@@ -26082,8 +26122,8 @@ const lk = /* @__PURE__ */ Yo(ek, [["render", ak]]), ik = te({
|
|
|
26082
26122
|
};
|
|
26083
26123
|
}
|
|
26084
26124
|
}
|
|
26085
|
-
}),
|
|
26086
|
-
function
|
|
26125
|
+
}), uk = ["height", "width"], ck = ["stroke-width", "r", "cx", "cy"], dk = ["stroke-dasharray", "stroke-width", "r", "cx", "cy"], fk = ["x", "y"];
|
|
26126
|
+
function pk(t, n, e, o, r, a) {
|
|
26087
26127
|
return b(), z("svg", {
|
|
26088
26128
|
height: t.radius * 2,
|
|
26089
26129
|
width: t.radius * 2
|
|
@@ -26097,7 +26137,7 @@ function fk(t, n, e, o, r, a) {
|
|
|
26097
26137
|
cx: t.radius,
|
|
26098
26138
|
cy: t.radius,
|
|
26099
26139
|
style: je(t.circleStyle)
|
|
26100
|
-
}, null, 12,
|
|
26140
|
+
}, null, 12, ck),
|
|
26101
26141
|
B("circle", {
|
|
26102
26142
|
stroke: "currentColor",
|
|
26103
26143
|
"stroke-dasharray": `${t.circumference} ${t.circumference}`,
|
|
@@ -26107,17 +26147,17 @@ function fk(t, n, e, o, r, a) {
|
|
|
26107
26147
|
r: t.normalizedRadius,
|
|
26108
26148
|
cx: t.radius,
|
|
26109
26149
|
cy: t.radius
|
|
26110
|
-
}, null, 12,
|
|
26150
|
+
}, null, 12, dk),
|
|
26111
26151
|
B("text", {
|
|
26112
26152
|
"text-anchor": "middle",
|
|
26113
26153
|
"alignment-baseline": "middle",
|
|
26114
26154
|
x: t.radius,
|
|
26115
26155
|
y: t.radius + t.fontSize / 10,
|
|
26116
26156
|
style: je({ fontSize: t.fontSize + "px", fontWeight: 600 })
|
|
26117
|
-
}, le(Math.round(t.progress * 100)) + "% ", 13,
|
|
26118
|
-
], 8,
|
|
26157
|
+
}, le(Math.round(t.progress * 100)) + "% ", 13, fk)
|
|
26158
|
+
], 8, uk);
|
|
26119
26159
|
}
|
|
26120
|
-
const
|
|
26160
|
+
const mk = /* @__PURE__ */ Yo(sk, [["render", pk]]), hk = { class: "space-y-3" }, gk = ["for"], vk = ["id", "name", "checked", "required", "disabled", "value", "onInput"], yk = { class: "text-sm" }, bk = /* @__PURE__ */ te({
|
|
26121
26161
|
__name: "BaseRadioGroup",
|
|
26122
26162
|
props: {
|
|
26123
26163
|
modelValue: {
|
|
@@ -26179,7 +26219,7 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26179
26219
|
option: p
|
|
26180
26220
|
})));
|
|
26181
26221
|
return (p, m) => (b(), z("div", null, [
|
|
26182
|
-
B("ul",
|
|
26222
|
+
B("ul", hk, [
|
|
26183
26223
|
(b(!0), z(Ae, null, We(c(f), (y) => (b(), z("li", {
|
|
26184
26224
|
key: y.value ? y.value : "null"
|
|
26185
26225
|
}, [
|
|
@@ -26197,16 +26237,16 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26197
26237
|
value: y.value,
|
|
26198
26238
|
class: H(t.twInput),
|
|
26199
26239
|
onInput: (v) => c(u)(y.value)
|
|
26200
|
-
}, null, 42,
|
|
26240
|
+
}, null, 42, vk),
|
|
26201
26241
|
ue(p.$slots, "option", { option: y }, () => [
|
|
26202
|
-
B("span",
|
|
26242
|
+
B("span", yk, le(y.label), 1)
|
|
26203
26243
|
])
|
|
26204
|
-
], 10,
|
|
26244
|
+
], 10, gk)
|
|
26205
26245
|
]))), 128))
|
|
26206
26246
|
])
|
|
26207
26247
|
]));
|
|
26208
26248
|
}
|
|
26209
|
-
}),
|
|
26249
|
+
}), wk = { class: "text-base font-medium" }, xk = /* @__PURE__ */ te({
|
|
26210
26250
|
__name: "BaseReadMore",
|
|
26211
26251
|
props: {
|
|
26212
26252
|
maxLines: {
|
|
@@ -26253,11 +26293,11 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26253
26293
|
class: "mt-1 inline appearance-none border-b border-dashed border-slate-400 bg-transparent px-0.5 py-0 text-slate-900 hover:text-slate-600",
|
|
26254
26294
|
onClick: u[0] || (u[0] = (d) => o.value = !0)
|
|
26255
26295
|
}, [
|
|
26256
|
-
B("span",
|
|
26296
|
+
B("span", wk, le(c(ye)("sui.read_more")), 1)
|
|
26257
26297
|
])) : Z("", !0)
|
|
26258
26298
|
]));
|
|
26259
26299
|
}
|
|
26260
|
-
}),
|
|
26300
|
+
}), kk = /* @__PURE__ */ te({
|
|
26261
26301
|
__name: "BaseRichText",
|
|
26262
26302
|
props: {
|
|
26263
26303
|
modelValue: {},
|
|
@@ -26314,13 +26354,13 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26314
26354
|
}, null, 8, ["model-value", "editor", "size", "toolbar", "placeholder", "disabled", "required", "name", "onUpdate:modelValue"])
|
|
26315
26355
|
], 2));
|
|
26316
26356
|
}
|
|
26317
|
-
}),
|
|
26357
|
+
}), Sk = { class: "whitespace-pre-line p-4" }, Ck = { class: "text-md font-semibold" }, Ek = {
|
|
26318
26358
|
key: 0,
|
|
26319
26359
|
class: "mt-1 mb-3 whitespace-pre-line text-sm text-slate-500 line-clamp-2"
|
|
26320
|
-
},
|
|
26360
|
+
}, Bk = {
|
|
26321
26361
|
key: 1,
|
|
26322
26362
|
class: "flex items-center justify-start text-sm font-medium"
|
|
26323
|
-
},
|
|
26363
|
+
}, Mk = { class: "mr-1 leading-none" }, _k = /* @__PURE__ */ te({
|
|
26324
26364
|
__name: "BaseShortcut",
|
|
26325
26365
|
props: {
|
|
26326
26366
|
to: {
|
|
@@ -26380,7 +26420,7 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26380
26420
|
class: "block w-full"
|
|
26381
26421
|
}, {
|
|
26382
26422
|
default: K(() => [
|
|
26383
|
-
B("section",
|
|
26423
|
+
B("section", Sk, [
|
|
26384
26424
|
B("div", {
|
|
26385
26425
|
class: "mb-2.5 inline-flex items-center rounded p-2",
|
|
26386
26426
|
style: je(c(e))
|
|
@@ -26391,10 +26431,10 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26391
26431
|
class: H(c(o))
|
|
26392
26432
|
}, null, 8, ["icon", "class"])) : Z("", !0)
|
|
26393
26433
|
], 4),
|
|
26394
|
-
B("div",
|
|
26395
|
-
t.description ? (b(), z("div",
|
|
26396
|
-
t.linkText ? (b(), z("div",
|
|
26397
|
-
B("div",
|
|
26434
|
+
B("div", Ck, le(t.title), 1),
|
|
26435
|
+
t.description ? (b(), z("div", Ek, le(t.description), 1)) : Z("", !0),
|
|
26436
|
+
t.linkText ? (b(), z("div", Bk, [
|
|
26437
|
+
B("div", Mk, le(t.linkText), 1),
|
|
26398
26438
|
B("div", null, [
|
|
26399
26439
|
Q(c(Ye), {
|
|
26400
26440
|
icon: "heroicons:arrow-right-20-solid",
|
|
@@ -26410,13 +26450,13 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26410
26450
|
_: 1
|
|
26411
26451
|
}));
|
|
26412
26452
|
}
|
|
26413
|
-
}),
|
|
26453
|
+
}), Ik = {
|
|
26414
26454
|
"aria-label": "Sidebar",
|
|
26415
26455
|
class: "relative"
|
|
26416
|
-
},
|
|
26456
|
+
}, $k = {
|
|
26417
26457
|
class: "relative overflow-x-auto overflow-y-hidden",
|
|
26418
26458
|
"data-scroll-lock-scrollable": ""
|
|
26419
|
-
},
|
|
26459
|
+
}, Dk = { class: "space-y-0" }, Ak = /* @__PURE__ */ te({
|
|
26420
26460
|
__name: "BaseSideNavigation",
|
|
26421
26461
|
props: {
|
|
26422
26462
|
size: { default: "md" }
|
|
@@ -26426,16 +26466,16 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26426
26466
|
return qe(
|
|
26427
26467
|
"sideNavigation:size",
|
|
26428
26468
|
w(() => n.size)
|
|
26429
|
-
), (e, o) => (b(), z("nav",
|
|
26469
|
+
), (e, o) => (b(), z("nav", Ik, [
|
|
26430
26470
|
o[0] || (o[0] = B("div", { class: "absolute bottom-0 left-0 h-full w-px bg-slate-300" }, null, -1)),
|
|
26431
|
-
B("div",
|
|
26432
|
-
B("div",
|
|
26471
|
+
B("div", $k, [
|
|
26472
|
+
B("div", Dk, [
|
|
26433
26473
|
ue(e.$slots, "default")
|
|
26434
26474
|
])
|
|
26435
26475
|
])
|
|
26436
26476
|
]));
|
|
26437
26477
|
}
|
|
26438
|
-
}),
|
|
26478
|
+
}), Tk = ["href", "disabled", "onClick"], zk = /* @__PURE__ */ te({
|
|
26439
26479
|
__name: "BaseSideNavigationItem",
|
|
26440
26480
|
props: {
|
|
26441
26481
|
to: {},
|
|
@@ -26510,13 +26550,13 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26510
26550
|
active: r(m, y)
|
|
26511
26551
|
})
|
|
26512
26552
|
], 2)
|
|
26513
|
-
], 10,
|
|
26553
|
+
], 10, Tk)
|
|
26514
26554
|
]),
|
|
26515
26555
|
_: 3
|
|
26516
26556
|
}, 8, ["to"]);
|
|
26517
26557
|
};
|
|
26518
26558
|
}
|
|
26519
|
-
}),
|
|
26559
|
+
}), Ok = te({
|
|
26520
26560
|
components: { BaseIcon: Ye },
|
|
26521
26561
|
props: {
|
|
26522
26562
|
label: {
|
|
@@ -26554,36 +26594,36 @@ const pk = /* @__PURE__ */ Yo(ik, [["render", fk]]), mk = { class: "space-y-3" }
|
|
|
26554
26594
|
return "items-center";
|
|
26555
26595
|
}
|
|
26556
26596
|
}
|
|
26557
|
-
}),
|
|
26558
|
-
function
|
|
26597
|
+
}), Rk = { class: "mb-1 text-sm font-medium" }, Lk = { class: "flex items-center mb-1" }, Fk = { class: "text-2xl font-semibold leading-tight" }, Pk = { key: 0 }, Nk = { class: "text-xs font-medium" }, Vk = { class: "text-xs text-slate-500" };
|
|
26598
|
+
function jk(t, n, e, o, r, a) {
|
|
26559
26599
|
const l = St("BaseIcon");
|
|
26560
26600
|
return b(), z("section", null, [
|
|
26561
|
-
B("header",
|
|
26562
|
-
B("div",
|
|
26563
|
-
B("div",
|
|
26601
|
+
B("header", Rk, le(t.label), 1),
|
|
26602
|
+
B("div", Lk, [
|
|
26603
|
+
B("div", Fk, le(t.primaryValue), 1),
|
|
26564
26604
|
t.secondaryValue ? (b(), z("div", {
|
|
26565
26605
|
key: 0,
|
|
26566
26606
|
class: H(["ml-2 flex rounded-full px-1.5", [t.backgroundClass, t.textClass, t.centerClass]])
|
|
26567
26607
|
}, [
|
|
26568
|
-
t.trend ? (b(), z("div",
|
|
26608
|
+
t.trend ? (b(), z("div", Pk, [
|
|
26569
26609
|
Q(l, {
|
|
26570
26610
|
icon: t.icon,
|
|
26571
26611
|
class: "w-3 h-3"
|
|
26572
26612
|
}, null, 8, ["icon"])
|
|
26573
26613
|
])) : Z("", !0),
|
|
26574
|
-
B("div",
|
|
26614
|
+
B("div", Nk, le(t.secondaryValue), 1)
|
|
26575
26615
|
], 2)) : Z("", !0)
|
|
26576
26616
|
]),
|
|
26577
|
-
B("footer",
|
|
26617
|
+
B("footer", Vk, le(t.caption), 1)
|
|
26578
26618
|
]);
|
|
26579
26619
|
}
|
|
26580
|
-
const
|
|
26620
|
+
const Hk = /* @__PURE__ */ Yo(Ok, [["render", jk]]), qk = { class: "flex-shrink-0" }, Wk = { class: "flex h-10 w-10 items-center justify-center rounded-full bg-indigo-600" }, Uk = { class: "mt-0.5 ml-4 flex min-w-0 flex-col items-start" }, Yk = { class: "mb-0.5 text-left text-sm font-medium leading-tight" }, Kk = {
|
|
26581
26621
|
key: 0,
|
|
26582
26622
|
class: "text-left text-sm font-normal leading-snug text-slate-500"
|
|
26583
|
-
},
|
|
26623
|
+
}, Gk = { class: "flex-shrink-0" }, Xk = { class: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-indigo-600" }, Zk = { class: "text-indigo-600" }, Qk = { class: "mt-0.5 ml-4 flex min-w-0 flex-col items-start" }, Jk = { class: "mb-0.5 text-left text-sm font-medium leading-tight text-indigo-600" }, e2 = {
|
|
26584
26624
|
key: 0,
|
|
26585
26625
|
class: "text-left text-sm font-normal leading-snug text-slate-500"
|
|
26586
|
-
},
|
|
26626
|
+
}, t2 = { class: "flex-shrink-0" }, n2 = { class: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-slate-300" }, o2 = { class: "text-slate-500" }, r2 = { class: "mt-0.5 ml-4 flex min-w-0 flex-col items-start" }, a2 = { class: "mb-0.5 text-left text-sm font-medium leading-tight text-slate-600" }, l2 = {
|
|
26587
26627
|
key: 0,
|
|
26588
26628
|
class: "text-left text-sm font-normal leading-snug text-slate-500"
|
|
26589
26629
|
}, kd = /* @__PURE__ */ te({
|
|
@@ -26629,8 +26669,8 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26629
26669
|
"flex items-start px-6 py-5 text-sm font-medium"
|
|
26630
26670
|
])
|
|
26631
26671
|
}, [
|
|
26632
|
-
B("span",
|
|
26633
|
-
B("span",
|
|
26672
|
+
B("span", qk, [
|
|
26673
|
+
B("span", Wk, [
|
|
26634
26674
|
Q(c(Ye), {
|
|
26635
26675
|
icon: "mdi-check",
|
|
26636
26676
|
class: "h-6 w-6 text-white",
|
|
@@ -26638,9 +26678,9 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26638
26678
|
})
|
|
26639
26679
|
])
|
|
26640
26680
|
]),
|
|
26641
|
-
B("span",
|
|
26642
|
-
B("span",
|
|
26643
|
-
t.description ? (b(), z("span",
|
|
26681
|
+
B("span", Uk, [
|
|
26682
|
+
B("span", Yk, le(t.title), 1),
|
|
26683
|
+
t.description ? (b(), z("span", Kk, le(t.description), 1)) : Z("", !0)
|
|
26644
26684
|
])
|
|
26645
26685
|
], 2)
|
|
26646
26686
|
])) : t.status === "current" ? (b(), z("button", {
|
|
@@ -26659,14 +26699,14 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26659
26699
|
"flex items-start px-6 py-5 text-sm font-medium"
|
|
26660
26700
|
])
|
|
26661
26701
|
}, [
|
|
26662
|
-
B("span",
|
|
26663
|
-
B("span",
|
|
26664
|
-
B("span",
|
|
26702
|
+
B("span", Gk, [
|
|
26703
|
+
B("span", Xk, [
|
|
26704
|
+
B("span", Zk, le(t.stepNumber), 1)
|
|
26665
26705
|
])
|
|
26666
26706
|
]),
|
|
26667
|
-
B("span",
|
|
26668
|
-
B("span",
|
|
26669
|
-
t.description ? (b(), z("span",
|
|
26707
|
+
B("span", Qk, [
|
|
26708
|
+
B("span", Jk, le(t.title), 1),
|
|
26709
|
+
t.description ? (b(), z("span", e2, le(t.description), 1)) : Z("", !0)
|
|
26670
26710
|
])
|
|
26671
26711
|
], 2)
|
|
26672
26712
|
])) : t.status == "pending" ? (b(), z("button", {
|
|
@@ -26685,29 +26725,29 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26685
26725
|
"flex items-start px-6 py-5 text-sm font-medium"
|
|
26686
26726
|
])
|
|
26687
26727
|
}, [
|
|
26688
|
-
B("span",
|
|
26689
|
-
B("span",
|
|
26690
|
-
B("span",
|
|
26728
|
+
B("span", t2, [
|
|
26729
|
+
B("span", n2, [
|
|
26730
|
+
B("span", o2, le(t.stepNumber), 1)
|
|
26691
26731
|
])
|
|
26692
26732
|
]),
|
|
26693
|
-
B("span",
|
|
26694
|
-
B("span",
|
|
26695
|
-
t.description ? (b(), z("span",
|
|
26733
|
+
B("span", r2, [
|
|
26734
|
+
B("span", a2, le(t.title), 1),
|
|
26735
|
+
t.description ? (b(), z("span", l2, le(t.description), 1)) : Z("", !0)
|
|
26696
26736
|
])
|
|
26697
26737
|
], 2)
|
|
26698
26738
|
])) : Z("", !0);
|
|
26699
26739
|
}
|
|
26700
|
-
}),
|
|
26740
|
+
}), i2 = { class: "lg:border-t lg:border-b lg:border-gray-200" }, s2 = {
|
|
26701
26741
|
class: "px-4 mx-auto max-w-7xl sm:px-6 lg:px-8",
|
|
26702
26742
|
"aria-label": "Progress"
|
|
26703
|
-
},
|
|
26743
|
+
}, u2 = {
|
|
26704
26744
|
role: "list",
|
|
26705
26745
|
class: "overflow-hidden rounded-md lg:flex lg:rounded-none lg:border-l lg:border-r lg:border-gray-200"
|
|
26706
|
-
},
|
|
26746
|
+
}, c2 = {
|
|
26707
26747
|
key: 0,
|
|
26708
26748
|
class: "absolute inset-0 top-0 left-0 hidden w-3 lg:block",
|
|
26709
26749
|
"aria-hidden": "true"
|
|
26710
|
-
},
|
|
26750
|
+
}, d2 = /* @__PURE__ */ te({
|
|
26711
26751
|
__name: "BaseStepper",
|
|
26712
26752
|
props: {
|
|
26713
26753
|
items: {
|
|
@@ -26717,9 +26757,9 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26717
26757
|
},
|
|
26718
26758
|
emits: ["click"],
|
|
26719
26759
|
setup(t) {
|
|
26720
|
-
return (n, e) => (b(), z("div",
|
|
26721
|
-
B("nav",
|
|
26722
|
-
B("ol",
|
|
26760
|
+
return (n, e) => (b(), z("div", i2, [
|
|
26761
|
+
B("nav", s2, [
|
|
26762
|
+
B("ol", u2, [
|
|
26723
26763
|
(b(!0), z(Ae, null, We(t.items, (o, r) => (b(), z("li", {
|
|
26724
26764
|
key: r,
|
|
26725
26765
|
class: "relative overflow-hidden lg:flex-1"
|
|
@@ -26739,7 +26779,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26739
26779
|
index: r,
|
|
26740
26780
|
onClick: (a) => n.$emit("click", r)
|
|
26741
26781
|
}, null, 8, ["title", "description", "step-number", "status", "index", "onClick"]),
|
|
26742
|
-
r !== 0 ? (b(), z("div",
|
|
26782
|
+
r !== 0 ? (b(), z("div", c2, e[0] || (e[0] = [
|
|
26743
26783
|
B("svg", {
|
|
26744
26784
|
class: "w-full h-full text-gray-300",
|
|
26745
26785
|
viewBox: "0 0 12 82",
|
|
@@ -26759,7 +26799,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26759
26799
|
])
|
|
26760
26800
|
]));
|
|
26761
26801
|
}
|
|
26762
|
-
}),
|
|
26802
|
+
}), f2 = { class: "inline-flex items-center space-x-3" }, p2 = /* @__PURE__ */ te({
|
|
26763
26803
|
__name: "BaseSwitch",
|
|
26764
26804
|
props: {
|
|
26765
26805
|
modelValue: {
|
|
@@ -26814,7 +26854,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26814
26854
|
const I = St("BaseIcon");
|
|
26815
26855
|
return b(), ee(c(Kp), null, {
|
|
26816
26856
|
default: K(() => [
|
|
26817
|
-
B("div",
|
|
26857
|
+
B("div", f2, [
|
|
26818
26858
|
Q(c(Gp), {
|
|
26819
26859
|
"model-value": c(a),
|
|
26820
26860
|
class: H([
|
|
@@ -26865,7 +26905,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26865
26905
|
});
|
|
26866
26906
|
};
|
|
26867
26907
|
}
|
|
26868
|
-
}),
|
|
26908
|
+
}), m2 = { class: "relative" }, h2 = { class: "max-w-4xl" }, g2 = {
|
|
26869
26909
|
key: 0,
|
|
26870
26910
|
class: "absolute top-0 right-0 p-3"
|
|
26871
26911
|
}, ji = /* @__PURE__ */ te({
|
|
@@ -26897,7 +26937,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26897
26937
|
const a = w(() => e.to ? "RouterLink" : e.action ? "button" : "div"), l = w(() => e.color == "info" ? "bg-blue-500 text-white" : e.color == "success" ? "bg-green-600 text-white" : e.color == "danger" ? "bg-red-600 text-white" : e.color == "warning" ? "bg-yellow-400 text-yellow-900" : "bg-slate-900 text-white");
|
|
26898
26938
|
return (s, u) => {
|
|
26899
26939
|
const d = St("BaseIcon");
|
|
26900
|
-
return b(), z("div",
|
|
26940
|
+
return b(), z("div", m2, [
|
|
26901
26941
|
(b(), ee(sn(c(a)), {
|
|
26902
26942
|
type: c(a) == "button" ? "button" : void 0,
|
|
26903
26943
|
to: c(a) == "RouterLink" ? t.to : void 0,
|
|
@@ -26908,14 +26948,14 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26908
26948
|
B("div", {
|
|
26909
26949
|
class: H(["py-4 text-sm leading-tight", [t.closable ? "pr-10 pl-3" : "px-3"]])
|
|
26910
26950
|
}, [
|
|
26911
|
-
B("div",
|
|
26951
|
+
B("div", h2, [
|
|
26912
26952
|
ue(s.$slots, "default")
|
|
26913
26953
|
])
|
|
26914
26954
|
], 2)
|
|
26915
26955
|
]),
|
|
26916
26956
|
_: 3
|
|
26917
26957
|
}, 8, ["type", "to", "class"])),
|
|
26918
|
-
t.closable ? (b(), z("div",
|
|
26958
|
+
t.closable ? (b(), z("div", g2, [
|
|
26919
26959
|
B("button", {
|
|
26920
26960
|
type: "button",
|
|
26921
26961
|
class: "rounded-full bg-black bg-opacity-50 p-1 text-white",
|
|
@@ -26927,7 +26967,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
26927
26967
|
]);
|
|
26928
26968
|
};
|
|
26929
26969
|
}
|
|
26930
|
-
}),
|
|
26970
|
+
}), v2 = { class: "base-tabs relative" }, y2 = { class: "flex text-center" }, b2 = /* @__PURE__ */ te({
|
|
26931
26971
|
__name: "BaseTabs",
|
|
26932
26972
|
props: {
|
|
26933
26973
|
modelValue: { default: null },
|
|
@@ -27023,7 +27063,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27023
27063
|
}
|
|
27024
27064
|
) : (f.value.style.transform = I, f.value.style.width = i);
|
|
27025
27065
|
}
|
|
27026
|
-
return (m, y) => (b(), z("div",
|
|
27066
|
+
return (m, y) => (b(), z("div", v2, [
|
|
27027
27067
|
y[0] || (y[0] = B("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1)),
|
|
27028
27068
|
B("div", {
|
|
27029
27069
|
ref_key: "scrollable",
|
|
@@ -27036,7 +27076,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27036
27076
|
}]),
|
|
27037
27077
|
"data-scroll-lock-scrollable": ""
|
|
27038
27078
|
}, [
|
|
27039
|
-
B("ul",
|
|
27079
|
+
B("ul", y2, [
|
|
27040
27080
|
B("div", {
|
|
27041
27081
|
ref_key: "lineRef",
|
|
27042
27082
|
ref: f,
|
|
@@ -27048,7 +27088,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27048
27088
|
], 2)
|
|
27049
27089
|
]));
|
|
27050
27090
|
}
|
|
27051
|
-
}),
|
|
27091
|
+
}), w2 = ["href", "disabled", "onClick"], x2 = { class: "relative flex py-1" }, k2 = { class: "base-tab-item-slot" }, S2 = ["disabled"], C2 = { class: "relative flex py-1" }, E2 = { class: "base-tab-item-slot" }, B2 = /* @__PURE__ */ te({
|
|
27052
27092
|
__name: "BaseTabItem",
|
|
27053
27093
|
props: {
|
|
27054
27094
|
id: { default: void 0 },
|
|
@@ -27126,21 +27166,21 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27126
27166
|
]]),
|
|
27127
27167
|
onClick: an((_) => s(S), ["prevent"])
|
|
27128
27168
|
}, [
|
|
27129
|
-
B("div",
|
|
27169
|
+
B("div", x2, [
|
|
27130
27170
|
B("div", {
|
|
27131
27171
|
class: H([
|
|
27132
27172
|
"whitespace-nowrap rounded-md group-hover:bg-black group-hover:bg-opacity-5",
|
|
27133
27173
|
c(h)
|
|
27134
27174
|
])
|
|
27135
27175
|
}, [
|
|
27136
|
-
B("div",
|
|
27176
|
+
B("div", k2, [
|
|
27137
27177
|
ue(g.$slots, "default", {
|
|
27138
27178
|
active: u(R, E)
|
|
27139
27179
|
})
|
|
27140
27180
|
])
|
|
27141
27181
|
], 2)
|
|
27142
27182
|
])
|
|
27143
|
-
], 10,
|
|
27183
|
+
], 10, w2)
|
|
27144
27184
|
]),
|
|
27145
27185
|
_: 3
|
|
27146
27186
|
}, 8, ["to"])) : (b(), z("button", {
|
|
@@ -27153,23 +27193,23 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27153
27193
|
]]),
|
|
27154
27194
|
onClick: k[0] || (k[0] = (i) => s())
|
|
27155
27195
|
}, [
|
|
27156
|
-
B("div",
|
|
27196
|
+
B("div", C2, [
|
|
27157
27197
|
B("div", {
|
|
27158
27198
|
class: H([
|
|
27159
27199
|
"whitespace-nowrap rounded-md group-hover:bg-black group-hover:bg-opacity-5",
|
|
27160
27200
|
c(h)
|
|
27161
27201
|
])
|
|
27162
27202
|
}, [
|
|
27163
|
-
B("div",
|
|
27203
|
+
B("div", E2, [
|
|
27164
27204
|
ue(g.$slots, "default")
|
|
27165
27205
|
])
|
|
27166
27206
|
], 2)
|
|
27167
27207
|
])
|
|
27168
|
-
], 10,
|
|
27208
|
+
], 10, S2))
|
|
27169
27209
|
], 512);
|
|
27170
27210
|
};
|
|
27171
27211
|
}
|
|
27172
|
-
}),
|
|
27212
|
+
}), M2 = ["value", "name", "placeholder", "disabled", "required", "rows"], Gs = "1 / 1 / 2 / 2", _2 = "attr(data-replicated-value) ' '", I2 = /* @__PURE__ */ te({
|
|
27173
27213
|
__name: "BaseTextareaAutoresize",
|
|
27174
27214
|
props: {
|
|
27175
27215
|
modelValue: {
|
|
@@ -27294,24 +27334,24 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27294
27334
|
onKeyup: v,
|
|
27295
27335
|
onKeydown: y,
|
|
27296
27336
|
onFocus: h
|
|
27297
|
-
}, null, 46,
|
|
27337
|
+
}, null, 46, M2),
|
|
27298
27338
|
B("div", {
|
|
27299
27339
|
class: H(["invisible whitespace-pre-wrap", c(g)]),
|
|
27300
27340
|
style: je({
|
|
27301
|
-
content:
|
|
27341
|
+
content: _2,
|
|
27302
27342
|
maxHeight: t.maxHeight + "px",
|
|
27303
27343
|
gridArea: Gs
|
|
27304
27344
|
})
|
|
27305
27345
|
}, le(t.modelValue) + " " + le(" "), 7)
|
|
27306
27346
|
], 4));
|
|
27307
27347
|
}
|
|
27308
|
-
}),
|
|
27348
|
+
}), $2 = { class: "relative group flex space-x-3" }, D2 = { class: "text-sm leading-tight text-slate-900" }, A2 = {
|
|
27309
27349
|
key: 0,
|
|
27310
27350
|
class: "mt-1 text-xs leading-tight text-slate-500"
|
|
27311
|
-
},
|
|
27351
|
+
}, T2 = { class: "empty:hidden" }, z2 = {
|
|
27312
27352
|
key: 0,
|
|
27313
27353
|
class: "whitespace-nowrap text-right text-xs text-slate-500"
|
|
27314
|
-
},
|
|
27354
|
+
}, O2 = ["datetime"], Sd = /* @__PURE__ */ te({
|
|
27315
27355
|
__name: "BaseTimelineItem",
|
|
27316
27356
|
props: {
|
|
27317
27357
|
item: {
|
|
@@ -27330,7 +27370,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27330
27370
|
borderStyle: "solid"
|
|
27331
27371
|
};
|
|
27332
27372
|
});
|
|
27333
|
-
return (o, r) => (b(), z("div",
|
|
27373
|
+
return (o, r) => (b(), z("div", $2, [
|
|
27334
27374
|
B("div", null, [
|
|
27335
27375
|
B("span", {
|
|
27336
27376
|
class: H([
|
|
@@ -27349,9 +27389,9 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27349
27389
|
class: H(["flex min-w-0 flex-1 justify-between space-x-4", { "pt-1.5": !t.item.description }])
|
|
27350
27390
|
}, [
|
|
27351
27391
|
B("div", null, [
|
|
27352
|
-
B("p",
|
|
27353
|
-
t.item.description ? (b(), z("p",
|
|
27354
|
-
B("p",
|
|
27392
|
+
B("p", D2, le(t.item.title), 1),
|
|
27393
|
+
t.item.description ? (b(), z("p", A2, le(t.item.description), 1)) : Z("", !0),
|
|
27394
|
+
B("p", T2, [
|
|
27355
27395
|
t.item.onEdit ? (b(), z("button", {
|
|
27356
27396
|
key: 0,
|
|
27357
27397
|
type: "button",
|
|
@@ -27368,22 +27408,22 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27368
27408
|
}, le(c(ye)("sui.delete")), 1)) : Z("", !0)
|
|
27369
27409
|
])
|
|
27370
27410
|
]),
|
|
27371
|
-
t.item.date ? (b(), z("div",
|
|
27411
|
+
t.item.date ? (b(), z("div", z2, [
|
|
27372
27412
|
B("time", {
|
|
27373
27413
|
datetime: t.item.date
|
|
27374
|
-
}, le(t.item.date), 9,
|
|
27414
|
+
}, le(t.item.date), 9, O2)
|
|
27375
27415
|
])) : Z("", !0)
|
|
27376
27416
|
], 2)
|
|
27377
27417
|
]));
|
|
27378
27418
|
}
|
|
27379
|
-
}),
|
|
27419
|
+
}), R2 = { class: "flow-root" }, L2 = {
|
|
27380
27420
|
role: "list",
|
|
27381
27421
|
class: "-mb-8"
|
|
27382
|
-
},
|
|
27422
|
+
}, F2 = {
|
|
27383
27423
|
key: 0,
|
|
27384
27424
|
class: "absolute top-4 left-4 -ml-px h-full w-0.5 bg-slate-300",
|
|
27385
27425
|
"aria-hidden": "true"
|
|
27386
|
-
},
|
|
27426
|
+
}, P2 = /* @__PURE__ */ te({
|
|
27387
27427
|
__name: "BaseTimeline",
|
|
27388
27428
|
props: {
|
|
27389
27429
|
items: {
|
|
@@ -27392,20 +27432,20 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27392
27432
|
}
|
|
27393
27433
|
},
|
|
27394
27434
|
setup(t) {
|
|
27395
|
-
return (n, e) => (b(), z("div",
|
|
27396
|
-
B("ul",
|
|
27435
|
+
return (n, e) => (b(), z("div", R2, [
|
|
27436
|
+
B("ul", L2, [
|
|
27397
27437
|
(b(!0), z(Ae, null, We(t.items, (o, r) => (b(), z("li", { key: r }, [
|
|
27398
27438
|
B("div", {
|
|
27399
27439
|
class: H(["relative", [!o.onEdit && !o.onDelete ? "pb-8" : "pb-3"]])
|
|
27400
27440
|
}, [
|
|
27401
|
-
r != t.items.length - 1 ? (b(), z("span",
|
|
27441
|
+
r != t.items.length - 1 ? (b(), z("span", F2)) : Z("", !0),
|
|
27402
27442
|
Q(Sd, { item: o }, null, 8, ["item"])
|
|
27403
27443
|
], 2)
|
|
27404
27444
|
]))), 128))
|
|
27405
27445
|
])
|
|
27406
27446
|
]));
|
|
27407
27447
|
}
|
|
27408
|
-
}),
|
|
27448
|
+
}), N2 = ["onMouseenter", "onClick"], Bl = /* @__PURE__ */ te({
|
|
27409
27449
|
__name: "BaseScrollColumn",
|
|
27410
27450
|
props: {
|
|
27411
27451
|
value: {
|
|
@@ -27462,9 +27502,9 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27462
27502
|
onMouseenter: (h) => r.value = `${t.type}-${v}`,
|
|
27463
27503
|
onMouseleave: y[0] || (y[0] = (h) => r.value = null),
|
|
27464
27504
|
onClick: (h) => f(`${t.type}-${v}`, t.type, v)
|
|
27465
|
-
}, le(v), 43,
|
|
27505
|
+
}, le(v), 43, N2))), 128));
|
|
27466
27506
|
}
|
|
27467
|
-
}),
|
|
27507
|
+
}), V2 = { class: "relative" }, j2 = ["name", "disabled", "placeholder"], H2 = { class: "inline-block w-[200px] overflow-hidden input-rounded ring-1 ring-black ring-opacity-10 bg-white py-2 shadow-2xl" }, q2 = { class: "text-sm font-normal" }, W2 = { class: "flex base-time-picker" }, U2 = { class: "flex justify-between items-center pt-2 mt-1 px-2 border-t" }, Y2 = ["onClick"], K2 = ["onClick"], G2 = /* @__PURE__ */ te({
|
|
27468
27508
|
__name: "BaseTimePicker",
|
|
27469
27509
|
props: {
|
|
27470
27510
|
modelValue: {
|
|
@@ -27603,7 +27643,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27603
27643
|
placement: "bottom-end"
|
|
27604
27644
|
}, {
|
|
27605
27645
|
button: K(() => [
|
|
27606
|
-
B("div",
|
|
27646
|
+
B("div", V2, [
|
|
27607
27647
|
B("div", {
|
|
27608
27648
|
class: H(c(m))
|
|
27609
27649
|
}, [
|
|
@@ -27619,7 +27659,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27619
27659
|
disabled: t.disabled,
|
|
27620
27660
|
class: H(["w-full block", c(f)]),
|
|
27621
27661
|
placeholder: t.placeholder
|
|
27622
|
-
}, null, 10,
|
|
27662
|
+
}, null, 10, j2), [
|
|
27623
27663
|
[ha, c(d)]
|
|
27624
27664
|
]),
|
|
27625
27665
|
c(d) && !t.disabled ? (b(), z("div", {
|
|
@@ -27640,9 +27680,9 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27640
27680
|
])
|
|
27641
27681
|
]),
|
|
27642
27682
|
dropdown: K(({ close: re }) => [
|
|
27643
|
-
B("div",
|
|
27644
|
-
B("div",
|
|
27645
|
-
B("div",
|
|
27683
|
+
B("div", H2, [
|
|
27684
|
+
B("div", q2, [
|
|
27685
|
+
B("div", W2, [
|
|
27646
27686
|
B("div", {
|
|
27647
27687
|
ref_key: "hoursContainer",
|
|
27648
27688
|
ref: h,
|
|
@@ -27690,15 +27730,15 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27690
27730
|
J[4] || (J[4] = B("div", { class: "h-40" }, null, -1))
|
|
27691
27731
|
], 512))
|
|
27692
27732
|
]),
|
|
27693
|
-
B("div",
|
|
27733
|
+
B("div", U2, [
|
|
27694
27734
|
B("button", {
|
|
27695
27735
|
class: "btn btn-slate btn-sm block",
|
|
27696
27736
|
onClick: (G) => O(re)
|
|
27697
|
-
}, le(c(ye)("sui.now")), 9,
|
|
27737
|
+
}, le(c(ye)("sui.now")), 9, Y2),
|
|
27698
27738
|
B("button", {
|
|
27699
27739
|
class: "btn btn-primary btn-sm block",
|
|
27700
27740
|
onClick: (G) => M(re)
|
|
27701
|
-
}, le(c(ye)("sui.ok")), 9,
|
|
27741
|
+
}, le(c(ye)("sui.ok")), 9, K2)
|
|
27702
27742
|
])
|
|
27703
27743
|
])
|
|
27704
27744
|
])
|
|
@@ -27706,7 +27746,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27706
27746
|
_: 1
|
|
27707
27747
|
}));
|
|
27708
27748
|
}
|
|
27709
|
-
}),
|
|
27749
|
+
}), X2 = ["pattern", "value", "onInput", "onPaste", "onKeydown"], Z2 = /* @__PURE__ */ te({
|
|
27710
27750
|
__name: "BaseUniqueCode",
|
|
27711
27751
|
props: {
|
|
27712
27752
|
modelValue: {
|
|
@@ -27793,7 +27833,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27793
27833
|
onInput: (k) => f(g, k),
|
|
27794
27834
|
onPaste: (k) => y(g, k),
|
|
27795
27835
|
onKeydown: (k) => p(g, k)
|
|
27796
|
-
}, null, 40,
|
|
27836
|
+
}, null, 40, X2))), 128))
|
|
27797
27837
|
]));
|
|
27798
27838
|
}
|
|
27799
27839
|
}), Cd = Aa("systemAlerts", {
|
|
@@ -27868,7 +27908,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27868
27908
|
])
|
|
27869
27909
|
], 64));
|
|
27870
27910
|
}
|
|
27871
|
-
}),
|
|
27911
|
+
}), Q2 = ["innerHTML"], Xs = /* @__PURE__ */ te({
|
|
27872
27912
|
__name: "BaseLayoutNotificationItemContent",
|
|
27873
27913
|
props: {
|
|
27874
27914
|
active: { type: Boolean },
|
|
@@ -27882,7 +27922,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27882
27922
|
B("div", {
|
|
27883
27923
|
class: H(["text-sm leading-tight", c(e)]),
|
|
27884
27924
|
innerHTML: o.notification.text
|
|
27885
|
-
}, null, 10,
|
|
27925
|
+
}, null, 10, Q2),
|
|
27886
27926
|
o.notification.created_at ? (b(), ee(hd, {
|
|
27887
27927
|
key: 0,
|
|
27888
27928
|
value: o.notification.created_at
|
|
@@ -27896,7 +27936,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27896
27936
|
}, 8, ["value"])) : Z("", !0)
|
|
27897
27937
|
], 2));
|
|
27898
27938
|
}
|
|
27899
|
-
}),
|
|
27939
|
+
}), J2 = { key: 1 }, eS = /* @__PURE__ */ te({
|
|
27900
27940
|
__name: "BaseLayoutNotificationItem",
|
|
27901
27941
|
props: {
|
|
27902
27942
|
notification: {
|
|
@@ -27928,7 +27968,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27928
27968
|
}, 1032, ["to", "onMouseup"])
|
|
27929
27969
|
]),
|
|
27930
27970
|
_: 1
|
|
27931
|
-
})) : (b(), z("div",
|
|
27971
|
+
})) : (b(), z("div", J2, [
|
|
27932
27972
|
Q(c(To), {
|
|
27933
27973
|
as: "button",
|
|
27934
27974
|
class: "w-full text-left"
|
|
@@ -27945,10 +27985,10 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
27945
27985
|
]));
|
|
27946
27986
|
};
|
|
27947
27987
|
}
|
|
27948
|
-
}),
|
|
27988
|
+
}), tS = {
|
|
27949
27989
|
key: 0,
|
|
27950
27990
|
class: "flex items-center justify-center p-6"
|
|
27951
|
-
},
|
|
27991
|
+
}, nS = { class: "" }, oS = { class: "text-center text-sm text-slate-700" }, rS = {
|
|
27952
27992
|
key: 1,
|
|
27953
27993
|
class: "mt-1 border-t border-slate-200 pt-1"
|
|
27954
27994
|
}, Bd = /* @__PURE__ */ te({
|
|
@@ -28008,21 +28048,21 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28008
28048
|
], 2)
|
|
28009
28049
|
]),
|
|
28010
28050
|
items: K(() => [
|
|
28011
|
-
(b(!0), z(Ae, null, We(t.notificationsConfig.items.slice(0, 4), (v) => (b(), ee(
|
|
28051
|
+
(b(!0), z(Ae, null, We(t.notificationsConfig.items.slice(0, 4), (v) => (b(), ee(eS, {
|
|
28012
28052
|
key: v.id + "link",
|
|
28013
28053
|
notification: v,
|
|
28014
28054
|
onClick: s
|
|
28015
28055
|
}, null, 8, ["notification"]))), 128)),
|
|
28016
|
-
t.notificationsConfig.items.length == 0 ? (b(), z("div",
|
|
28017
|
-
B("div",
|
|
28056
|
+
t.notificationsConfig.items.length == 0 ? (b(), z("div", tS, [
|
|
28057
|
+
B("div", nS, [
|
|
28018
28058
|
Q(c(Ye), {
|
|
28019
28059
|
icon: "heroicons:inbox-stack",
|
|
28020
28060
|
class: "mx-auto mb-2 h-8 w-8 text-slate-400"
|
|
28021
28061
|
}),
|
|
28022
|
-
B("p",
|
|
28062
|
+
B("p", oS, le(c(ye)("sui.notifications_empty")), 1)
|
|
28023
28063
|
])
|
|
28024
28064
|
])) : Z("", !0),
|
|
28025
|
-
t.notificationsConfig.footerTo ? (b(), z("div",
|
|
28065
|
+
t.notificationsConfig.footerTo ? (b(), z("div", rS, [
|
|
28026
28066
|
Q(c(To), null, {
|
|
28027
28067
|
default: K(({ active: v, close: h }) => [
|
|
28028
28068
|
Q(y, {
|
|
@@ -28045,7 +28085,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28045
28085
|
}, 8, ["width"]);
|
|
28046
28086
|
};
|
|
28047
28087
|
}
|
|
28048
|
-
}),
|
|
28088
|
+
}), aS = { class: "flex w-full justify-between" }, lS = { class: "flex grow" }, iS = ["src", "alt"], sS = { class: "space-y-0.5 p-2" }, uS = { class: "p-2 pb-6" }, cS = { class: "mt-4 space-y-1" }, dS = /* @__PURE__ */ te({
|
|
28049
28089
|
__name: "BaseLayoutStackedConfigurable",
|
|
28050
28090
|
props: {
|
|
28051
28091
|
appName: {
|
|
@@ -28106,8 +28146,8 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28106
28146
|
navbar: t.navbar
|
|
28107
28147
|
}, {
|
|
28108
28148
|
navbar: K(({ mobile: u }) => [
|
|
28109
|
-
B("div",
|
|
28110
|
-
B("div",
|
|
28149
|
+
B("div", aS, [
|
|
28150
|
+
B("div", lS, [
|
|
28111
28151
|
t.logoUrl ? (b(), ee(s, {
|
|
28112
28152
|
key: 0,
|
|
28113
28153
|
to: t.logoTo,
|
|
@@ -28122,7 +28162,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28122
28162
|
class: "block h-8 w-auto",
|
|
28123
28163
|
src: t.logoUrl,
|
|
28124
28164
|
alt: t.appName
|
|
28125
|
-
}, null, 8,
|
|
28165
|
+
}, null, 8, iS)
|
|
28126
28166
|
]),
|
|
28127
28167
|
_: 1
|
|
28128
28168
|
}, 8, ["to", "class"])) : Z("", !0),
|
|
@@ -28175,7 +28215,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28175
28215
|
])
|
|
28176
28216
|
]),
|
|
28177
28217
|
mobile: K(() => [
|
|
28178
|
-
B("div",
|
|
28218
|
+
B("div", sS, [
|
|
28179
28219
|
(b(!0), z(Ae, null, We(t.menu, (u) => (b(), ee(Cr, {
|
|
28180
28220
|
key: u.label,
|
|
28181
28221
|
item: u,
|
|
@@ -28186,14 +28226,14 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28186
28226
|
B("hr", {
|
|
28187
28227
|
class: H(["mb-4 mt-2", [t.dark ? "border-slate-700" : "border-slate-200"]])
|
|
28188
28228
|
}, null, 2),
|
|
28189
|
-
B("div",
|
|
28229
|
+
B("div", uS, [
|
|
28190
28230
|
Q(kr, {
|
|
28191
28231
|
user: t.user,
|
|
28192
28232
|
"show-details": "",
|
|
28193
28233
|
size: "base",
|
|
28194
28234
|
class: H(["px-3", t.dark ? "text-white" : ""])
|
|
28195
28235
|
}, null, 8, ["user", "class"]),
|
|
28196
|
-
B("div",
|
|
28236
|
+
B("div", cS, [
|
|
28197
28237
|
(b(!0), z(Ae, null, We(t.userMenu, (u) => (b(), ee(Cr, {
|
|
28198
28238
|
key: u.label,
|
|
28199
28239
|
item: u,
|
|
@@ -28210,10 +28250,10 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28210
28250
|
}, 8, ["size", "dark", "navbar"]);
|
|
28211
28251
|
};
|
|
28212
28252
|
}
|
|
28213
|
-
}),
|
|
28253
|
+
}), fS = { class: "min-h-full" }, pS = { class: "fixed inset-0 z-40 flex" }, mS = { class: "absolute top-0 right-0 pt-2 -mr-12" }, hS = ["src", "alt"], gS = {
|
|
28214
28254
|
"data-scroll-lock-scrollable": "",
|
|
28215
28255
|
class: "flex-1 h-0 mt-5 overflow-y-auto"
|
|
28216
|
-
},
|
|
28256
|
+
}, vS = { class: "sticky top-0 left-0 z-10 shadow shrink-0 || print:hidden" }, yS = { class: "flex flex-1" }, bS = { class: "relative flex-1 min-h-full" }, wS = ["src", "alt"], xS = { class: "flex flex-1" }, kS = { class: "flex-1" }, SS = "base_layout_sidebar.", Md = /* @__PURE__ */ te({
|
|
28217
28257
|
__name: "BaseLayoutSidebar",
|
|
28218
28258
|
props: {
|
|
28219
28259
|
appName: {
|
|
@@ -28248,7 +28288,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28248
28288
|
function s() {
|
|
28249
28289
|
r.value = !1;
|
|
28250
28290
|
}
|
|
28251
|
-
const u = mt.settingsStorage, d = `${
|
|
28291
|
+
const u = mt.settingsStorage, d = `${SS}.collapsed`, f = P(!1);
|
|
28252
28292
|
Ze(async () => {
|
|
28253
28293
|
f.value = await u.get(d) == 1;
|
|
28254
28294
|
});
|
|
@@ -28258,7 +28298,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28258
28298
|
const m = w(() => n.size === "xs" ? 50 : n.size === "sm" ? 54 : 64);
|
|
28259
28299
|
return qe("toggleMenu", a), qe("openMenu", l), qe("closeMenu", s), (y, v) => {
|
|
28260
28300
|
const h = St("RouterLink");
|
|
28261
|
-
return b(), z("div",
|
|
28301
|
+
return b(), z("div", fS, [
|
|
28262
28302
|
Q(c(Hu), {
|
|
28263
28303
|
as: "template",
|
|
28264
28304
|
show: r.value
|
|
@@ -28284,7 +28324,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28284
28324
|
])),
|
|
28285
28325
|
_: 1
|
|
28286
28326
|
}),
|
|
28287
|
-
B("div",
|
|
28327
|
+
B("div", pS, [
|
|
28288
28328
|
Q(c(ta), {
|
|
28289
28329
|
as: "template",
|
|
28290
28330
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -28309,7 +28349,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28309
28349
|
"leave-to": "opacity-0"
|
|
28310
28350
|
}, {
|
|
28311
28351
|
default: K(() => [
|
|
28312
|
-
B("div",
|
|
28352
|
+
B("div", mS, [
|
|
28313
28353
|
B("button", {
|
|
28314
28354
|
type: "button",
|
|
28315
28355
|
class: "flex items-center justify-center w-10 h-10 ml-1 rounded-full",
|
|
@@ -28336,11 +28376,11 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28336
28376
|
class: "block w-auto h-8",
|
|
28337
28377
|
src: t.logoUrl,
|
|
28338
28378
|
alt: t.appName
|
|
28339
|
-
}, null, 8,
|
|
28379
|
+
}, null, 8, hS)
|
|
28340
28380
|
]),
|
|
28341
28381
|
_: 1
|
|
28342
28382
|
}, 8, ["to"]),
|
|
28343
|
-
B("div",
|
|
28383
|
+
B("div", gS, [
|
|
28344
28384
|
B("nav", null, [
|
|
28345
28385
|
ue(y.$slots, "menu")
|
|
28346
28386
|
])
|
|
@@ -28365,7 +28405,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28365
28405
|
B("div", {
|
|
28366
28406
|
class: H(["flex flex-col min-h-full || xl:print:pl-0", [f.value ? "xl:pl-14" : "xl:pl-64"]])
|
|
28367
28407
|
}, [
|
|
28368
|
-
B("div",
|
|
28408
|
+
B("div", vS, [
|
|
28369
28409
|
(b(!0), z(Ae, null, We(c(o), (g) => (b(), ee(ji, {
|
|
28370
28410
|
key: g.id,
|
|
28371
28411
|
color: g.color,
|
|
@@ -28395,12 +28435,12 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28395
28435
|
"aria-hidden": "true"
|
|
28396
28436
|
})
|
|
28397
28437
|
]),
|
|
28398
|
-
B("div",
|
|
28438
|
+
B("div", yS, [
|
|
28399
28439
|
ue(y.$slots, "navbar")
|
|
28400
28440
|
])
|
|
28401
28441
|
], 4)
|
|
28402
28442
|
]),
|
|
28403
|
-
B("main",
|
|
28443
|
+
B("main", bS, [
|
|
28404
28444
|
ue(y.$slots, "default")
|
|
28405
28445
|
])
|
|
28406
28446
|
], 2),
|
|
@@ -28426,7 +28466,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28426
28466
|
class: "block w-auto h-8",
|
|
28427
28467
|
src: t.logoUrl,
|
|
28428
28468
|
alt: t.appName
|
|
28429
|
-
}, null, 8,
|
|
28469
|
+
}, null, 8, wS)
|
|
28430
28470
|
]),
|
|
28431
28471
|
_: 1
|
|
28432
28472
|
}, 8, ["to"])),
|
|
@@ -28444,8 +28484,8 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28444
28484
|
})
|
|
28445
28485
|
], 2)
|
|
28446
28486
|
], 6),
|
|
28447
|
-
B("div",
|
|
28448
|
-
B("nav",
|
|
28487
|
+
B("div", xS, [
|
|
28488
|
+
B("nav", kS, [
|
|
28449
28489
|
ue(y.$slots, "menu", { collapsed: f.value })
|
|
28450
28490
|
])
|
|
28451
28491
|
])
|
|
@@ -28454,10 +28494,10 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28454
28494
|
]);
|
|
28455
28495
|
};
|
|
28456
28496
|
}
|
|
28457
|
-
}),
|
|
28497
|
+
}), CS = {
|
|
28458
28498
|
key: 1,
|
|
28459
28499
|
class: "px-4"
|
|
28460
|
-
},
|
|
28500
|
+
}, ES = { class: "flex flex-1 justify-between px-4" }, BS = { class: "flex grow" }, MS = { class: "ml-4 flex items-center md:ml-6" }, _S = /* @__PURE__ */ te({
|
|
28461
28501
|
__name: "BaseLayoutSidebarConfigurable",
|
|
28462
28502
|
props: {
|
|
28463
28503
|
appName: {
|
|
@@ -28529,7 +28569,7 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28529
28569
|
f.label && !f.href && !f.to && !f.action ? (b(), z("div", {
|
|
28530
28570
|
key: f.label
|
|
28531
28571
|
}, [
|
|
28532
|
-
d ? (b(), z("div",
|
|
28572
|
+
d ? (b(), z("div", CS, u[0] || (u[0] = [
|
|
28533
28573
|
B("hr", { class: "my-2 border-slate-600" }, null, -1)
|
|
28534
28574
|
]))) : (b(), z("h2", {
|
|
28535
28575
|
key: 0,
|
|
@@ -28562,11 +28602,11 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28562
28602
|
], 2)
|
|
28563
28603
|
]),
|
|
28564
28604
|
navbar: K(() => [
|
|
28565
|
-
B("div",
|
|
28566
|
-
B("div",
|
|
28605
|
+
B("div", ES, [
|
|
28606
|
+
B("div", BS, [
|
|
28567
28607
|
ue(s.$slots, "navbar")
|
|
28568
28608
|
]),
|
|
28569
|
-
B("div",
|
|
28609
|
+
B("div", MS, [
|
|
28570
28610
|
t.notifications ? (b(), ee(Bd, {
|
|
28571
28611
|
key: 0,
|
|
28572
28612
|
"notifications-config": t.notifications,
|
|
@@ -28641,41 +28681,41 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28641
28681
|
BaseCropper: Fc,
|
|
28642
28682
|
BaseCropperModal: Vc,
|
|
28643
28683
|
BaseDataIterator: Wc,
|
|
28644
|
-
BaseDataTable:
|
|
28645
|
-
BaseDatePicker:
|
|
28646
|
-
BaseDateSelect:
|
|
28647
|
-
BaseDescriptionList:
|
|
28648
|
-
BaseDescriptionListItem:
|
|
28684
|
+
BaseDataTable: r1,
|
|
28685
|
+
BaseDatePicker: m1,
|
|
28686
|
+
BaseDateSelect: b1,
|
|
28687
|
+
BaseDescriptionList: k1,
|
|
28688
|
+
BaseDescriptionListItem: C1,
|
|
28649
28689
|
BaseDialog: Ec,
|
|
28650
28690
|
BaseDisplayRelativeTime: hd,
|
|
28651
28691
|
BaseDraggable: Pr,
|
|
28652
28692
|
BaseDropdown: Ri,
|
|
28653
|
-
BaseDropdownAutocomplete:
|
|
28693
|
+
BaseDropdownAutocomplete: R1,
|
|
28654
28694
|
BaseEmptyState: Bi,
|
|
28655
28695
|
BaseField: Dn,
|
|
28656
|
-
BaseFieldI18n:
|
|
28696
|
+
BaseFieldI18n: P1,
|
|
28657
28697
|
BaseFilePicker: Fi,
|
|
28658
28698
|
BaseFilePickerCrop: gd,
|
|
28659
28699
|
BaseFileUploader: vd,
|
|
28660
|
-
BaseForm:
|
|
28661
|
-
BaseGantt:
|
|
28662
|
-
BaseHasMany:
|
|
28663
|
-
BaseHasManyFetch:
|
|
28664
|
-
BaseHeader:
|
|
28700
|
+
BaseForm: Q1,
|
|
28701
|
+
BaseGantt: ww,
|
|
28702
|
+
BaseHasMany: xw,
|
|
28703
|
+
BaseHasManyFetch: kw,
|
|
28704
|
+
BaseHeader: $w,
|
|
28665
28705
|
BaseIcon: Ye,
|
|
28666
|
-
BaseIconPicker:
|
|
28706
|
+
BaseIconPicker: Rw,
|
|
28667
28707
|
BaseInput: ln,
|
|
28668
28708
|
BaseInputLabel: wc,
|
|
28669
|
-
BaseInputPercent:
|
|
28670
|
-
BaseJsonReader:
|
|
28709
|
+
BaseInputPercent: Lw,
|
|
28710
|
+
BaseJsonReader: qw,
|
|
28671
28711
|
BaseLayoutSidebar: Md,
|
|
28672
|
-
BaseLayoutSidebarConfigurable:
|
|
28712
|
+
BaseLayoutSidebarConfigurable: _S,
|
|
28673
28713
|
BaseLayoutStacked: Ed,
|
|
28674
|
-
BaseLayoutStackedConfigurable:
|
|
28675
|
-
BaseLazy:
|
|
28714
|
+
BaseLayoutStackedConfigurable: dS,
|
|
28715
|
+
BaseLazy: Uw,
|
|
28676
28716
|
BaseLoadingCover: Pi,
|
|
28677
|
-
BaseMediaItem:
|
|
28678
|
-
BaseMediaLibrary:
|
|
28717
|
+
BaseMediaItem: rx,
|
|
28718
|
+
BaseMediaLibrary: Vx,
|
|
28679
28719
|
BaseMediaPreview: Vi,
|
|
28680
28720
|
BaseMenu: ko,
|
|
28681
28721
|
BaseMenuItem: sr,
|
|
@@ -28686,23 +28726,23 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28686
28726
|
BaseNavbarItemContent: wd,
|
|
28687
28727
|
BaseNavbarSideItem: Cr,
|
|
28688
28728
|
BasePagination: Hc,
|
|
28689
|
-
BasePanel:
|
|
28729
|
+
BasePanel: ik,
|
|
28690
28730
|
BasePassword: Cc,
|
|
28691
|
-
BaseProgressCircle:
|
|
28692
|
-
BaseRadioGroup:
|
|
28693
|
-
BaseReadMore:
|
|
28694
|
-
BaseRichText:
|
|
28731
|
+
BaseProgressCircle: mk,
|
|
28732
|
+
BaseRadioGroup: bk,
|
|
28733
|
+
BaseReadMore: xk,
|
|
28734
|
+
BaseRichText: kk,
|
|
28695
28735
|
BaseSelect: go,
|
|
28696
|
-
BaseShortcut:
|
|
28697
|
-
BaseSideNavigation:
|
|
28698
|
-
BaseSideNavigationItem:
|
|
28736
|
+
BaseShortcut: _k,
|
|
28737
|
+
BaseSideNavigation: Ak,
|
|
28738
|
+
BaseSideNavigationItem: zk,
|
|
28699
28739
|
BaseSkeleton: la,
|
|
28700
|
-
BaseStatistic:
|
|
28701
|
-
BaseStepper:
|
|
28740
|
+
BaseStatistic: Hk,
|
|
28741
|
+
BaseStepper: d2,
|
|
28702
28742
|
BaseStepperItem: kd,
|
|
28703
|
-
BaseSwitch:
|
|
28743
|
+
BaseSwitch: p2,
|
|
28704
28744
|
BaseSystemAlert: ji,
|
|
28705
|
-
BaseTabItem:
|
|
28745
|
+
BaseTabItem: B2,
|
|
28706
28746
|
BaseTable: sd,
|
|
28707
28747
|
BaseTableBody: dd,
|
|
28708
28748
|
BaseTableCell: fa,
|
|
@@ -28710,18 +28750,18 @@ const jk = /* @__PURE__ */ Yo(zk, [["render", Vk]]), Hk = { class: "flex-shrink-
|
|
|
28710
28750
|
BaseTableHead: ud,
|
|
28711
28751
|
BaseTableHeader: cd,
|
|
28712
28752
|
BaseTableRow: ir,
|
|
28713
|
-
BaseTabs:
|
|
28753
|
+
BaseTabs: b2,
|
|
28714
28754
|
BaseTagAutocomplete: Ja,
|
|
28715
28755
|
BaseTagAutocompleteFetch: Li,
|
|
28716
28756
|
BaseTextarea: xa,
|
|
28717
|
-
BaseTextareaAutoresize:
|
|
28718
|
-
BaseTimePicker:
|
|
28719
|
-
BaseTimeline:
|
|
28757
|
+
BaseTextareaAutoresize: I2,
|
|
28758
|
+
BaseTimePicker: G2,
|
|
28759
|
+
BaseTimeline: P2,
|
|
28720
28760
|
BaseTimelineItem: Sd,
|
|
28721
28761
|
BaseTooltip: Uo,
|
|
28722
|
-
BaseUniqueCode:
|
|
28762
|
+
BaseUniqueCode: Z2
|
|
28723
28763
|
}, Symbol.toStringTag, { value: "Module" })), Qs = "sui.";
|
|
28724
|
-
class
|
|
28764
|
+
class IS {
|
|
28725
28765
|
constructor(n, e) {
|
|
28726
28766
|
dn(this, "getFunction");
|
|
28727
28767
|
dn(this, "setFunction");
|
|
@@ -28735,10 +28775,10 @@ class _S {
|
|
|
28735
28775
|
return this.setFunction(n, e);
|
|
28736
28776
|
}
|
|
28737
28777
|
}
|
|
28738
|
-
const
|
|
28778
|
+
const $S = 100, HS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28739
28779
|
__proto__: null,
|
|
28740
|
-
MAGIC_NUM:
|
|
28741
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
28780
|
+
MAGIC_NUM: $S
|
|
28781
|
+
}, Symbol.toStringTag, { value: "Module" })), qS = { en: kc, fr: Sc }, mt = {
|
|
28742
28782
|
http: Ud.create(),
|
|
28743
28783
|
locales: {
|
|
28744
28784
|
en: "English",
|
|
@@ -28758,14 +28798,14 @@ const IS = 100, jS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
|
|
|
28758
28798
|
//comma: true,
|
|
28759
28799
|
});
|
|
28760
28800
|
},
|
|
28761
|
-
settingsStorage: new
|
|
28801
|
+
settingsStorage: new IS(),
|
|
28762
28802
|
countries: [],
|
|
28763
28803
|
regions: [],
|
|
28764
28804
|
props: {
|
|
28765
28805
|
size: "md"
|
|
28766
28806
|
}
|
|
28767
28807
|
};
|
|
28768
|
-
function
|
|
28808
|
+
function DS(t, n) {
|
|
28769
28809
|
for (const e in Zs)
|
|
28770
28810
|
t.component(e, Zs[e]);
|
|
28771
28811
|
n != null && n.http && (mt.http = n.http), n != null && n.locales && (mt.locales = n.locales), n != null && n.upload_url && (mt.upload_url = n.upload_url), n != null && n.formatQueryString && (mt.formatQueryString = n.formatQueryString), n != null && n.parseQueryString && (mt.parseQueryString = n.parseQueryString), n != null && n.settingsStorage && (mt.settingsStorage = n.settingsStorage), n != null && n.countries && (mt.countries = n.countries), n != null && n.regions && (mt.regions = n.regions), n != null && n.props && (mt.props = n.props), t.config.globalProperties.$i18n && Ue(
|
|
@@ -28776,7 +28816,7 @@ function $S(t, n) {
|
|
|
28776
28816
|
{ immediate: !0 }
|
|
28777
28817
|
);
|
|
28778
28818
|
}
|
|
28779
|
-
const
|
|
28819
|
+
const WS = { install: DS };
|
|
28780
28820
|
export {
|
|
28781
28821
|
vi as BaseActionButtons,
|
|
28782
28822
|
Jn as BaseActionItem,
|
|
@@ -28808,41 +28848,41 @@ export {
|
|
|
28808
28848
|
Fc as BaseCropper,
|
|
28809
28849
|
Vc as BaseCropperModal,
|
|
28810
28850
|
Wc as BaseDataIterator,
|
|
28811
|
-
|
|
28812
|
-
|
|
28813
|
-
|
|
28814
|
-
|
|
28815
|
-
|
|
28851
|
+
r1 as BaseDataTable,
|
|
28852
|
+
m1 as BaseDatePicker,
|
|
28853
|
+
b1 as BaseDateSelect,
|
|
28854
|
+
k1 as BaseDescriptionList,
|
|
28855
|
+
C1 as BaseDescriptionListItem,
|
|
28816
28856
|
Ec as BaseDialog,
|
|
28817
28857
|
hd as BaseDisplayRelativeTime,
|
|
28818
28858
|
Pr as BaseDraggable,
|
|
28819
28859
|
Ri as BaseDropdown,
|
|
28820
|
-
|
|
28860
|
+
R1 as BaseDropdownAutocomplete,
|
|
28821
28861
|
Bi as BaseEmptyState,
|
|
28822
28862
|
Dn as BaseField,
|
|
28823
|
-
|
|
28863
|
+
P1 as BaseFieldI18n,
|
|
28824
28864
|
Fi as BaseFilePicker,
|
|
28825
28865
|
gd as BaseFilePickerCrop,
|
|
28826
28866
|
vd as BaseFileUploader,
|
|
28827
|
-
|
|
28828
|
-
|
|
28829
|
-
|
|
28830
|
-
|
|
28831
|
-
|
|
28867
|
+
Q1 as BaseForm,
|
|
28868
|
+
ww as BaseGantt,
|
|
28869
|
+
xw as BaseHasMany,
|
|
28870
|
+
kw as BaseHasManyFetch,
|
|
28871
|
+
$w as BaseHeader,
|
|
28832
28872
|
Ye as BaseIcon,
|
|
28833
|
-
|
|
28873
|
+
Rw as BaseIconPicker,
|
|
28834
28874
|
ln as BaseInput,
|
|
28835
28875
|
wc as BaseInputLabel,
|
|
28836
|
-
|
|
28837
|
-
|
|
28876
|
+
Lw as BaseInputPercent,
|
|
28877
|
+
qw as BaseJsonReader,
|
|
28838
28878
|
Md as BaseLayoutSidebar,
|
|
28839
|
-
|
|
28879
|
+
_S as BaseLayoutSidebarConfigurable,
|
|
28840
28880
|
Ed as BaseLayoutStacked,
|
|
28841
|
-
|
|
28842
|
-
|
|
28881
|
+
dS as BaseLayoutStackedConfigurable,
|
|
28882
|
+
Uw as BaseLazy,
|
|
28843
28883
|
Pi as BaseLoadingCover,
|
|
28844
|
-
|
|
28845
|
-
|
|
28884
|
+
rx as BaseMediaItem,
|
|
28885
|
+
Vx as BaseMediaLibrary,
|
|
28846
28886
|
Vi as BaseMediaPreview,
|
|
28847
28887
|
ko as BaseMenu,
|
|
28848
28888
|
sr as BaseMenuItem,
|
|
@@ -28853,23 +28893,23 @@ export {
|
|
|
28853
28893
|
wd as BaseNavbarItemContent,
|
|
28854
28894
|
Cr as BaseNavbarSideItem,
|
|
28855
28895
|
Hc as BasePagination,
|
|
28856
|
-
|
|
28896
|
+
ik as BasePanel,
|
|
28857
28897
|
Cc as BasePassword,
|
|
28858
|
-
|
|
28859
|
-
|
|
28860
|
-
|
|
28861
|
-
|
|
28898
|
+
mk as BaseProgressCircle,
|
|
28899
|
+
bk as BaseRadioGroup,
|
|
28900
|
+
xk as BaseReadMore,
|
|
28901
|
+
kk as BaseRichText,
|
|
28862
28902
|
go as BaseSelect,
|
|
28863
|
-
|
|
28864
|
-
|
|
28865
|
-
|
|
28903
|
+
_k as BaseShortcut,
|
|
28904
|
+
Ak as BaseSideNavigation,
|
|
28905
|
+
zk as BaseSideNavigationItem,
|
|
28866
28906
|
la as BaseSkeleton,
|
|
28867
|
-
|
|
28868
|
-
|
|
28907
|
+
Hk as BaseStatistic,
|
|
28908
|
+
d2 as BaseStepper,
|
|
28869
28909
|
kd as BaseStepperItem,
|
|
28870
|
-
|
|
28910
|
+
p2 as BaseSwitch,
|
|
28871
28911
|
ji as BaseSystemAlert,
|
|
28872
|
-
|
|
28912
|
+
B2 as BaseTabItem,
|
|
28873
28913
|
sd as BaseTable,
|
|
28874
28914
|
dd as BaseTableBody,
|
|
28875
28915
|
fa as BaseTableCell,
|
|
@@ -28877,27 +28917,27 @@ export {
|
|
|
28877
28917
|
ud as BaseTableHead,
|
|
28878
28918
|
cd as BaseTableHeader,
|
|
28879
28919
|
ir as BaseTableRow,
|
|
28880
|
-
|
|
28920
|
+
b2 as BaseTabs,
|
|
28881
28921
|
Ja as BaseTagAutocomplete,
|
|
28882
28922
|
Li as BaseTagAutocompleteFetch,
|
|
28883
28923
|
xa as BaseTextarea,
|
|
28884
|
-
|
|
28885
|
-
|
|
28886
|
-
|
|
28924
|
+
I2 as BaseTextareaAutoresize,
|
|
28925
|
+
G2 as BaseTimePicker,
|
|
28926
|
+
P2 as BaseTimeline,
|
|
28887
28927
|
Sd as BaseTimelineItem,
|
|
28888
28928
|
Uo as BaseTooltip,
|
|
28889
|
-
|
|
28890
|
-
|
|
28891
|
-
|
|
28892
|
-
|
|
28929
|
+
Z2 as BaseUniqueCode,
|
|
28930
|
+
HS as MyConstants,
|
|
28931
|
+
IS as SettingsStorage,
|
|
28932
|
+
jS as base64ToBlob,
|
|
28893
28933
|
K0 as blobToBase64,
|
|
28894
28934
|
mt as config,
|
|
28895
|
-
|
|
28935
|
+
WS as default,
|
|
28896
28936
|
Ci as disableScroll,
|
|
28897
28937
|
Ei as enableScroll,
|
|
28898
28938
|
Za as fileSizeFormat,
|
|
28899
28939
|
Or as getColorConfig,
|
|
28900
|
-
|
|
28940
|
+
qS as messages,
|
|
28901
28941
|
Y0 as resizeImageFromURI,
|
|
28902
28942
|
U0 as toHumanList,
|
|
28903
28943
|
$c as useClickOutside,
|