quasar-ui-danx 0.4.24 → 0.4.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/danx.es.js +148 -145
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +1 -1
- package/dist/danx.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ActionTable/Form/Fields/SingleFileField.vue +14 -16
package/dist/danx.es.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
var Y_ = Object.defineProperty;
|
2
2
|
var K_ = (t, e, n) => e in t ? Y_(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
3
3
|
var ae = (t, e, n) => (K_(t, typeof e != "symbol" ? e + "" : e, n), n);
|
4
|
-
import { shallowRef as Ht, getCurrentScope as Q_, onScopeDispose as X_, unref as k, ref as G, computed as M, getCurrentInstance as J_, onMounted as Bt, watch as pe, shallowReactive as Da, isReactive as e1, openBlock as m, createBlock as I, createVNode as O, resolveComponent as z, withCtx as $, defineComponent as
|
4
|
+
import { shallowRef as Ht, getCurrentScope as Q_, onScopeDispose as X_, unref as k, ref as G, computed as M, getCurrentInstance as J_, onMounted as Bt, watch as pe, shallowReactive as Da, isReactive as e1, openBlock as m, createBlock as I, createVNode as O, resolveComponent as z, withCtx as $, defineComponent as ne, createElementBlock as S, createElementVNode as F, normalizeClass as j, renderSlot as V, createTextVNode as H, toDisplayString as P, createCommentVNode as D, mergeProps as Ke, createSlots as Ns, renderList as ge, withKeys as qo, Fragment as W, resolveDirective as t1, withDirectives as Kc, resolveDynamicComponent as Mt, withModifiers as Kt, normalizeStyle as ls, isVNode as n1, isRef as Qc, Transition as $s, TransitionGroup as Xc, useCssVars as r1, useCssModule as Jc, mergeModels as i1, useModel as s1, nextTick as wr, toRefs as o1, onBeforeUnmount as ed, onActivated as l1, onDeactivated as a1, h as Ma, vShow as u1, normalizeProps as c1 } from "vue";
|
5
5
|
import { uid as Fl, QSpinner as td, QTd as Bo, QTh as d1, QBtn as La, QSelect as f1, QSeparator as h1, QTab as _1, QSpinnerBall as qa, QTr as m1, QTable as p1 } from "quasar";
|
6
6
|
const Te = Ht({
|
7
7
|
tinyMceApiKey: "set-api-key-in-danx-options",
|
@@ -10392,7 +10392,7 @@ function Rf(t, e) {
|
|
10392
10392
|
function Er(t) {
|
10393
10393
|
return t.map((e) => String.fromCharCode(e)).join("");
|
10394
10394
|
}
|
10395
|
-
function
|
10395
|
+
function ie() {
|
10396
10396
|
for (let t = 1; t < arguments.length; t++)
|
10397
10397
|
for (const e in arguments[t])
|
10398
10398
|
arguments[0][e] = arguments[t][e];
|
@@ -11061,7 +11061,7 @@ function Uy(t, e) {
|
|
11061
11061
|
throw new Error("Invalid image format");
|
11062
11062
|
}
|
11063
11063
|
function kn(t, e, n) {
|
11064
|
-
return
|
11064
|
+
return ie({}, t, { fileType: { value: e, description: n } });
|
11065
11065
|
}
|
11066
11066
|
const X = {
|
11067
11067
|
ApertureValue: (t) => Math.pow(Math.sqrt(2), t[0] / t[1]).toFixed(2),
|
@@ -11858,7 +11858,7 @@ const X = {
|
|
11858
11858
|
45058: "MPEntry",
|
11859
11859
|
45059: "ImageUIDList",
|
11860
11860
|
45060: "TotalFrames"
|
11861
|
-
}, sc =
|
11861
|
+
}, sc = ie({}, nh, jy), ua = "0th", rh = "1st", ih = "exif", sh = "gps", oh = "interoperability", lh = "mpf", ln = {
|
11862
11862
|
[ua]: sc,
|
11863
11863
|
[rh]: nh,
|
11864
11864
|
[ih]: sc,
|
@@ -12059,13 +12059,13 @@ function ab(t, e, n, r) {
|
|
12059
12059
|
return jr(t, ua, e, ch(t, e, n), n, r);
|
12060
12060
|
}
|
12061
12061
|
function ub(t, e, n, r, i) {
|
12062
|
-
return t[ac] !== void 0 ?
|
12062
|
+
return t[ac] !== void 0 ? ie(t, jr(e, ih, n, n + t[ac].value, r, i)) : t;
|
12063
12063
|
}
|
12064
12064
|
function cb(t, e, n, r, i) {
|
12065
|
-
return t[uc] !== void 0 ?
|
12065
|
+
return t[uc] !== void 0 ? ie(t, jr(e, sh, n, n + t[uc].value, r, i)) : t;
|
12066
12066
|
}
|
12067
12067
|
function db(t, e, n, r, i) {
|
12068
|
-
return t[cc] !== void 0 ?
|
12068
|
+
return t[cc] !== void 0 ? ie(t, jr(e, oh, n, n + t[cc].value, r, i)) : t;
|
12069
12069
|
}
|
12070
12070
|
const fb = {
|
12071
12071
|
read: hb
|
@@ -12863,7 +12863,7 @@ function Zi(t, e) {
|
|
12863
12863
|
const { doc: n, raw: r } = mv(e);
|
12864
12864
|
t._raw = (t._raw || "") + r;
|
12865
12865
|
const i = ph(n);
|
12866
|
-
return
|
12866
|
+
return ie(t, yh(gh(i, !0))), !0;
|
12867
12867
|
} catch {
|
12868
12868
|
return !1;
|
12869
12869
|
}
|
@@ -12939,7 +12939,7 @@ function yh(t) {
|
|
12939
12939
|
for (const n in t) {
|
12940
12940
|
let r = t[n];
|
12941
12941
|
Array.isArray(r) || (r = [r]), r.forEach((i) => {
|
12942
|
-
|
12942
|
+
ie(e, ca(i.attributes)), typeof i.value == "object" && ie(e, bh(i.value));
|
12943
12943
|
});
|
12944
12944
|
}
|
12945
12945
|
return e;
|
@@ -13017,7 +13017,7 @@ function vh(t) {
|
|
13017
13017
|
}
|
13018
13018
|
function wh(t, e) {
|
13019
13019
|
const n = fi(t);
|
13020
|
-
t.value["rdf:Description"] !== void 0 && (t = t.value["rdf:Description"]),
|
13020
|
+
t.value["rdf:Description"] !== void 0 && (t = t.value["rdf:Description"]), ie(n, fi(t), Nv(t));
|
13021
13021
|
const r = $v(t);
|
13022
13022
|
return {
|
13023
13023
|
value: r,
|
@@ -13048,7 +13048,7 @@ function Sh(t, e) {
|
|
13048
13048
|
value: {},
|
13049
13049
|
attributes: {}
|
13050
13050
|
};
|
13051
|
-
return t.value["rdf:Description"] !== void 0 && (
|
13051
|
+
return t.value["rdf:Description"] !== void 0 && (ie(n.value, ca(t.value["rdf:Description"].attributes)), ie(n.attributes, fi(t)), t = t.value["rdf:Description"]), ie(n.value, bh(t.value)), n.description = Xt(n.value, e), n;
|
13052
13052
|
}
|
13053
13053
|
function kh(t) {
|
13054
13054
|
return Object.keys(t.value).length === 0 && t.attributes["xml:lang"] === void 0 && t.attributes["rdf:resource"] === void 0;
|
@@ -13983,27 +13983,27 @@ function $h(t, { expanded: e = !1, async: n = !1, includeUnknown: r = !1 } = { e
|
|
13983
13983
|
if (m2(a)) {
|
13984
13984
|
i = !0;
|
13985
13985
|
const w = vb.read(t, a);
|
13986
|
-
e ? s.file = w : s =
|
13986
|
+
e ? s.file = w : s = ie({}, s, w);
|
13987
13987
|
}
|
13988
13988
|
if (p2(u)) {
|
13989
13989
|
i = !0;
|
13990
13990
|
const w = Ab.read(t, u);
|
13991
|
-
e ? s.jfif = w : s =
|
13991
|
+
e ? s.jfif = w : s = ie({}, s, w);
|
13992
13992
|
}
|
13993
13993
|
if (g2(c)) {
|
13994
13994
|
i = !0;
|
13995
13995
|
const w = dh.read(t, c, r);
|
13996
|
-
if (w.Thumbnail && (s.Thumbnail = w.Thumbnail, delete w.Thumbnail), e ? (s.exif = w, y2(s)) : s =
|
13996
|
+
if (w.Thumbnail && (s.Thumbnail = w.Thumbnail, delete w.Thumbnail), e ? (s.exif = w, y2(s)) : s = ie({}, s, w), w["IPTC-NAA"] && !xc(d)) {
|
13997
13997
|
const C = al.read(w["IPTC-NAA"].value, 0, r);
|
13998
|
-
e ? s.iptc = C : s =
|
13998
|
+
e ? s.iptc = C : s = ie({}, s, C);
|
13999
13999
|
}
|
14000
14000
|
if (w.ApplicationNotes && !Sc(f)) {
|
14001
14001
|
const C = _c.read(Er(w.ApplicationNotes.value));
|
14002
|
-
e ? s.xmp = C : (delete C._raw, s =
|
14002
|
+
e ? s.xmp = C : (delete C._raw, s = ie({}, s, C));
|
14003
14003
|
}
|
14004
14004
|
if (w.ImageSourceData) {
|
14005
14005
|
const C = Rv.read(w.PhotoshopSettings.value, r);
|
14006
|
-
e ? s.photoshop = C : s =
|
14006
|
+
e ? s.photoshop = C : s = ie({}, s, C);
|
14007
14007
|
}
|
14008
14008
|
if (w.ICC_Profile && !kc(h)) {
|
14009
14009
|
const C = yc.read(
|
@@ -14015,18 +14015,18 @@ function $h(t, { expanded: e = !1, async: n = !1, includeUnknown: r = !1 } = { e
|
|
14015
14015
|
chunksTotal: 1
|
14016
14016
|
}]
|
14017
14017
|
);
|
14018
|
-
e ? s.icc = C : s =
|
14018
|
+
e ? s.icc = C : s = ie({}, s, C);
|
14019
14019
|
}
|
14020
14020
|
}
|
14021
14021
|
if (xc(d)) {
|
14022
14022
|
i = !0;
|
14023
14023
|
const w = al.read(t, d, r);
|
14024
|
-
e ? s.iptc = w : s =
|
14024
|
+
e ? s.iptc = w : s = ie({}, s, w);
|
14025
14025
|
}
|
14026
14026
|
if (Sc(f)) {
|
14027
14027
|
i = !0;
|
14028
14028
|
const w = _c.read(t, f);
|
14029
|
-
e ? s.xmp = w : (delete w._raw, s =
|
14029
|
+
e ? s.xmp = w : (delete w._raw, s = ie({}, s, w));
|
14030
14030
|
}
|
14031
14031
|
if (kc(h)) {
|
14032
14032
|
i = !0;
|
@@ -14036,12 +14036,12 @@ function $h(t, { expanded: e = !1, async: n = !1, includeUnknown: r = !1 } = { e
|
|
14036
14036
|
if (b2(g)) {
|
14037
14037
|
i = !0;
|
14038
14038
|
const w = fb.read(t, g, r);
|
14039
|
-
e ? s.mpf = w : s =
|
14039
|
+
e ? s.mpf = w : s = ie({}, s, w);
|
14040
14040
|
}
|
14041
14041
|
if (v2(_)) {
|
14042
14042
|
i = !0;
|
14043
14043
|
const w = aw.read(t, _);
|
14044
|
-
e ? (s.png = s.png ?
|
14044
|
+
e ? (s.png = s.png ? ie({}, s.png, w) : w, s.pngFile = w) : s = ie({}, s, w);
|
14045
14045
|
}
|
14046
14046
|
if (w2(p)) {
|
14047
14047
|
i = !0;
|
@@ -14051,17 +14051,17 @@ function $h(t, { expanded: e = !1, async: n = !1, includeUnknown: r = !1 } = { e
|
|
14051
14051
|
if (x2(x)) {
|
14052
14052
|
i = !0;
|
14053
14053
|
const w = Fw.read(t, x);
|
14054
|
-
e ? s.png = s.png ?
|
14054
|
+
e ? s.png = s.png ? ie({}, s.png, w) : w : s = ie({}, s, w);
|
14055
14055
|
}
|
14056
14056
|
if (S2(y)) {
|
14057
14057
|
i = !0;
|
14058
14058
|
const w = Lw.read(t, y);
|
14059
|
-
e ? s.riff = s.riff ?
|
14059
|
+
e ? s.riff = s.riff ? ie({}, s.riff, w) : w : s = ie({}, s, w);
|
14060
14060
|
}
|
14061
14061
|
if (k2(b)) {
|
14062
14062
|
i = !0;
|
14063
14063
|
const w = Vw.read(t, b);
|
14064
|
-
e ? s.gif = s.gif ?
|
14064
|
+
e ? s.gif = s.gif ? ie({}, s.gif, w) : w : s = ie({}, s, w);
|
14065
14065
|
}
|
14066
14066
|
const T = Xw.get(t, s.Thumbnail, c);
|
14067
14067
|
if (T ? (i = !0, s.Thumbnail = T) : delete s.Thumbnail, l && (e ? (s.file || (s.file = {}), s.file.FileType = l) : s.FileType = l, i = !0), !i)
|
@@ -14070,17 +14070,17 @@ function $h(t, { expanded: e = !1, async: n = !1, includeUnknown: r = !1 } = { e
|
|
14070
14070
|
return Promise.all(o).then(() => s);
|
14071
14071
|
return s;
|
14072
14072
|
function E(w) {
|
14073
|
-
e ? s.icc = w : s =
|
14073
|
+
e ? s.icc = w : s = ie({}, s, w);
|
14074
14074
|
}
|
14075
14075
|
function v(w) {
|
14076
14076
|
if (e) {
|
14077
14077
|
for (const C of ["exif", "iptc"]) {
|
14078
14078
|
const A = `__${C}`;
|
14079
|
-
w[A] && (s[C] = s[C] ?
|
14079
|
+
w[A] && (s[C] = s[C] ? ie({}, s.exif, w[A]) : w[A], delete w[A]);
|
14080
14080
|
}
|
14081
|
-
s.png = s.png ?
|
14081
|
+
s.png = s.png ? ie({}, s.png, w) : w, s.pngText = s.pngText ? ie({}, s.png, w) : w;
|
14082
14082
|
} else
|
14083
|
-
s =
|
14083
|
+
s = ie(
|
14084
14084
|
{},
|
14085
14085
|
s,
|
14086
14086
|
w.__exif ? w.__exif : {},
|
@@ -14749,7 +14749,7 @@ const D2 = {
|
|
14749
14749
|
}, 8, ["loading"]);
|
14750
14750
|
};
|
14751
14751
|
}
|
14752
|
-
}, M2 = /* @__PURE__ */
|
14752
|
+
}, M2 = /* @__PURE__ */ ne({
|
14753
14753
|
__name: "RefreshButton",
|
14754
14754
|
props: {
|
14755
14755
|
loading: { type: Boolean }
|
@@ -15219,7 +15219,7 @@ function rS(t, e) {
|
|
15219
15219
|
const iS = { class: "flex-grow" }, sS = {
|
15220
15220
|
key: 1,
|
15221
15221
|
class: "dx-dialog-subtitle"
|
15222
|
-
}, oS = { class: "flex dx-dialog-actions" }, _l = /* @__PURE__ */
|
15222
|
+
}, oS = { class: "flex dx-dialog-actions" }, _l = /* @__PURE__ */ ne({
|
15223
15223
|
__name: "DialogLayout",
|
15224
15224
|
props: {
|
15225
15225
|
modelValue: { type: [String, Boolean, Object] },
|
@@ -15312,7 +15312,7 @@ const iS = { class: "flex-grow" }, sS = {
|
|
15312
15312
|
}), lS = { class: "dx-dialog-button-cancel" }, aS = {
|
15313
15313
|
key: 0,
|
15314
15314
|
class: "dx-dialog-button-confirm"
|
15315
|
-
}, hi = /* @__PURE__ */
|
15315
|
+
}, hi = /* @__PURE__ */ ne({
|
15316
15316
|
__name: "ConfirmDialog",
|
15317
15317
|
props: {
|
15318
15318
|
disabled: { type: Boolean },
|
@@ -15389,7 +15389,7 @@ const iS = { class: "flex-grow" }, sS = {
|
|
15389
15389
|
]), 1040);
|
15390
15390
|
};
|
15391
15391
|
}
|
15392
|
-
}), n8 = /* @__PURE__ */
|
15392
|
+
}), n8 = /* @__PURE__ */ ne({
|
15393
15393
|
__name: "ConfirmActionDialog",
|
15394
15394
|
props: {
|
15395
15395
|
action: {},
|
@@ -15988,7 +15988,7 @@ const iS = { class: "flex-grow" }, sS = {
|
|
15988
15988
|
}, JS = { class: "absolute-full flex items-center flex-nowrap text-[.7rem] text-slate-200 justify-start px-1" }, ek = { class: "absolute top-1 right-1 flex items-center justify-between space-x-1" }, tk = {
|
15989
15989
|
key: 0,
|
15990
15990
|
class: "font-bold text-[1rem] leading-[1.2rem]"
|
15991
|
-
}, nk = /* @__PURE__ */
|
15991
|
+
}, nk = /* @__PURE__ */ ne({
|
15992
15992
|
__name: "FilePreview",
|
15993
15993
|
props: {
|
15994
15994
|
src: { default: "" },
|
@@ -16702,7 +16702,7 @@ const iS = { class: "flex-grow" }, sS = {
|
|
16702
16702
|
], 6);
|
16703
16703
|
};
|
16704
16704
|
}
|
16705
|
-
}, jk = /* @__PURE__ */
|
16705
|
+
}, jk = /* @__PURE__ */ ne({
|
16706
16706
|
__name: "ContentDrawer",
|
16707
16707
|
props: {
|
16708
16708
|
show: { type: Boolean, default: !1 },
|
@@ -17086,7 +17086,7 @@ const Ir = Rh, hT = {
|
|
17086
17086
|
onAction: s[1] || (s[1] = (o) => i.$emit("action", o))
|
17087
17087
|
}), null, 16));
|
17088
17088
|
}
|
17089
|
-
}, mT = ["href"], pT = /* @__PURE__ */
|
17089
|
+
}, mT = ["href"], pT = /* @__PURE__ */ ne({
|
17090
17090
|
__name: "PopoverMenu",
|
17091
17091
|
props: {
|
17092
17092
|
items: {},
|
@@ -17334,7 +17334,7 @@ const h8 = /* @__PURE__ */ Rt(wT, [["render", xT]]), ST = {
|
|
17334
17334
|
_: 3
|
17335
17335
|
}, 8, ["name"]));
|
17336
17336
|
}
|
17337
|
-
}, _8 = /* @__PURE__ */
|
17337
|
+
}, _8 = /* @__PURE__ */ ne({
|
17338
17338
|
__name: "MaxHeightTransition",
|
17339
17339
|
props: {
|
17340
17340
|
maxHeight: {}
|
@@ -17894,7 +17894,7 @@ var lt = {
|
|
17894
17894
|
}, d;
|
17895
17895
|
}(), Nr = function() {
|
17896
17896
|
return !gi && it.wake();
|
17897
|
-
},
|
17897
|
+
}, se = {}, YT = /^[\d.\-M][\d.\-,\s]/, KT = /["']/g, QT = function(e) {
|
17898
17898
|
for (var n = {}, r = e.substr(1, e.length - 3).split(":"), i = r[0], s = 1, o = r.length, l, a, u; s < o; s++)
|
17899
17899
|
a = r[s], l = s !== o - 1 ? a.lastIndexOf(",") : a.length, u = a.substr(0, l), n[i] = isNaN(u) ? u.replace(KT, "").trim() : +u, i = a.substr(l + 1).trim();
|
17900
17900
|
return n;
|
@@ -17902,8 +17902,8 @@ var lt = {
|
|
17902
17902
|
var n = e.indexOf("(") + 1, r = e.indexOf(")"), i = e.indexOf("(", n);
|
17903
17903
|
return e.substring(n, ~i && i < r ? e.indexOf(")", r + 1) : r);
|
17904
17904
|
}, JT = function(e) {
|
17905
|
-
var n = (e + "").split("("), r =
|
17906
|
-
return r && n.length > 1 && r.config ? r.config.apply(null, ~e.indexOf("{") ? [QT(n[1])] : XT(e).split(",").map(Jh)) :
|
17905
|
+
var n = (e + "").split("("), r = se[n[0]];
|
17906
|
+
return r && n.length > 1 && r.config ? r.config.apply(null, ~e.indexOf("{") ? [QT(n[1])] : XT(e).split(",").map(Jh)) : se._CE && YT.test(e) ? se._CE("", e) : r;
|
17907
17907
|
}, g_ = function(e) {
|
17908
17908
|
return function(n) {
|
17909
17909
|
return 1 - e(1 - n);
|
@@ -17912,7 +17912,7 @@ var lt = {
|
|
17912
17912
|
for (var r = e._first, i; r; )
|
17913
17913
|
r instanceof We ? t(r, n) : r.vars.yoyoEase && (!r._yoyo || !r._repeat) && r._yoyo !== n && (r.timeline ? t(r.timeline, n) : (i = r._ease, r._ease = r._yEase, r._yEase = i, r._yoyo = n)), r = r._next;
|
17914
17914
|
}, Un = function(e, n) {
|
17915
|
-
return e && (xe(e) ? e :
|
17915
|
+
return e && (xe(e) ? e : se[e] || JT(e)) || n;
|
17916
17916
|
}, Kn = function(e, n, r, i) {
|
17917
17917
|
r === void 0 && (r = function(a) {
|
17918
17918
|
return 1 - n(1 - a);
|
@@ -17925,9 +17925,9 @@ var lt = {
|
|
17925
17925
|
easeInOut: i
|
17926
17926
|
}, o;
|
17927
17927
|
return Je(e, function(l) {
|
17928
|
-
|
17928
|
+
se[l] = ut[l] = s, se[o = l.toLowerCase()] = r;
|
17929
17929
|
for (var a in s)
|
17930
|
-
|
17930
|
+
se[o + (a === "easeIn" ? ".in" : a === "easeOut" ? ".out" : ".inOut")] = se[l + "." + a] = s[a];
|
17931
17931
|
}), s;
|
17932
17932
|
}, b_ = function(e) {
|
17933
17933
|
return function(n) {
|
@@ -17965,7 +17965,7 @@ Je("Linear,Quad,Cubic,Quart,Quint,Strong", function(t, e) {
|
|
17965
17965
|
return r < 0.5 ? Math.pow(r * 2, n) / 2 : 1 - Math.pow((1 - r) * 2, n) / 2;
|
17966
17966
|
});
|
17967
17967
|
});
|
17968
|
-
|
17968
|
+
se.Linear.easeNone = se.none = se.Linear.easeIn;
|
17969
17969
|
Kn("Elastic", Ao("in"), Ao("out"), Ao());
|
17970
17970
|
(function(t, e) {
|
17971
17971
|
var n = 1 / e, r = 2 * n, i = 2.5 * n, s = function(l) {
|
@@ -17985,7 +17985,7 @@ Kn("Sine", function(t) {
|
|
17985
17985
|
return t === 1 ? 1 : -CT(t * kT) + 1;
|
17986
17986
|
});
|
17987
17987
|
Kn("Back", Fo("in"), Fo("out"), Fo());
|
17988
|
-
|
17988
|
+
se.SteppedEase = se.steps = ut.SteppedEase = {
|
17989
17989
|
config: function(e, n) {
|
17990
17990
|
e === void 0 && (e = 1);
|
17991
17991
|
var r = 1 / e, i = e + (n ? 0 : 1), s = n ? 1 : 0, o = 1 - fe;
|
@@ -17994,7 +17994,7 @@ ie.SteppedEase = ie.steps = ut.SteppedEase = {
|
|
17994
17994
|
};
|
17995
17995
|
}
|
17996
17996
|
};
|
17997
|
-
Or.ease =
|
17997
|
+
Or.ease = se["quad.out"];
|
17998
17998
|
Je("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(t) {
|
17999
17999
|
return va += t + "," + t + "Params,";
|
18000
18000
|
});
|
@@ -18458,7 +18458,7 @@ var Ae = /* @__PURE__ */ function(t) {
|
|
18458
18458
|
for (C in f)
|
18459
18459
|
~x_.indexOf(C) && (L || (L = {}), L[C] = f[C]);
|
18460
18460
|
for (E = 0; E < w; E++)
|
18461
|
-
v = ks(i, S_), v.stagger = 0, x && (v.yoyoEase = x), L && Hn(v, L), A = b[E], v.duration = +li(u, Gt(l), E, A, b), v.delay = (+li(c, Gt(l), E, A, b) || 0) - l._delay, !f && w === 1 && v.delay && (l._delay = c = v.delay, l._start += c, v.delay = 0), T.to(A, v, N ? N(E, A, b) : 0), T._ease =
|
18461
|
+
v = ks(i, S_), v.stagger = 0, x && (v.yoyoEase = x), L && Hn(v, L), A = b[E], v.duration = +li(u, Gt(l), E, A, b), v.delay = (+li(c, Gt(l), E, A, b) || 0) - l._delay, !f && w === 1 && v.delay && (l._delay = c = v.delay, l._start += c, v.delay = 0), T.to(A, v, N ? N(E, A, b) : 0), T._ease = se.none;
|
18462
18462
|
T.duration() ? u = c = 0 : l.timeline = 0;
|
18463
18463
|
} else if (g) {
|
18464
18464
|
si(xt(T.vars.defaults, {
|
@@ -18808,10 +18808,10 @@ var jn = [], os = {}, d3 = [], Pc = 0, f3 = 0, No = function(e) {
|
|
18808
18808
|
});
|
18809
18809
|
},
|
18810
18810
|
registerEase: function(e, n) {
|
18811
|
-
|
18811
|
+
se[e] = Un(n);
|
18812
18812
|
},
|
18813
18813
|
parseEase: function(e, n) {
|
18814
|
-
return arguments.length ? Un(e, n) :
|
18814
|
+
return arguments.length ? Un(e, n) : se;
|
18815
18815
|
},
|
18816
18816
|
getById: function(e) {
|
18817
18817
|
return ye.getById(e);
|
@@ -18946,24 +18946,24 @@ var _3 = function(e, n) {
|
|
18946
18946
|
Ae.version = We.version = nt.version = "3.12.5";
|
18947
18947
|
Wh = 1;
|
18948
18948
|
pa() && Nr();
|
18949
|
-
|
18950
|
-
|
18951
|
-
|
18952
|
-
|
18953
|
-
|
18954
|
-
|
18955
|
-
|
18956
|
-
|
18957
|
-
|
18958
|
-
|
18959
|
-
|
18960
|
-
|
18961
|
-
|
18962
|
-
|
18963
|
-
|
18964
|
-
|
18965
|
-
|
18966
|
-
|
18949
|
+
se.Power0;
|
18950
|
+
se.Power1;
|
18951
|
+
se.Power2;
|
18952
|
+
se.Power3;
|
18953
|
+
se.Power4;
|
18954
|
+
se.Linear;
|
18955
|
+
se.Quad;
|
18956
|
+
se.Cubic;
|
18957
|
+
se.Quart;
|
18958
|
+
se.Quint;
|
18959
|
+
se.Strong;
|
18960
|
+
se.Elastic;
|
18961
|
+
se.Back;
|
18962
|
+
se.SteppedEase;
|
18963
|
+
se.Bounce;
|
18964
|
+
se.Sine;
|
18965
|
+
se.Expo;
|
18966
|
+
se.Circ;
|
18967
18967
|
/*!
|
18968
18968
|
* CSSPlugin 3.12.5
|
18969
18969
|
* https://gsap.com
|
@@ -19449,7 +19449,7 @@ const p8 = {
|
|
19449
19449
|
_: 3
|
19450
19450
|
}, 512));
|
19451
19451
|
}
|
19452
|
-
}, R_ = /* @__PURE__ */
|
19452
|
+
}, R_ = /* @__PURE__ */ ne({
|
19453
19453
|
__name: "ActionMenu",
|
19454
19454
|
props: {
|
19455
19455
|
actions: {},
|
@@ -19479,7 +19479,7 @@ const p8 = {
|
|
19479
19479
|
}), q3 = {
|
19480
19480
|
key: 0,
|
19481
19481
|
class: "flex-grow overflow-hidden"
|
19482
|
-
}, B3 = /* @__PURE__ */
|
19482
|
+
}, B3 = /* @__PURE__ */ ne({
|
19483
19483
|
__name: "ActionTableColumn",
|
19484
19484
|
props: {
|
19485
19485
|
rowProps: {
|
@@ -19953,7 +19953,7 @@ const j3 = { class: "flex items-center" }, V3 = { key: 0 }, z3 = { class: "flex-
|
|
19953
19953
|
])
|
19954
19954
|
], 32));
|
19955
19955
|
}
|
19956
|
-
}, H3 = /* @__PURE__ */
|
19956
|
+
}, H3 = /* @__PURE__ */ ne({
|
19957
19957
|
__name: "ActionTableHeaderColumn",
|
19958
19958
|
props: {
|
19959
19959
|
modelValue: {
|
@@ -20853,7 +20853,7 @@ const j3 = { class: "flex items-center" }, V3 = { key: 0 }, z3 = { class: "flex-
|
|
20853
20853
|
}, tE = {
|
20854
20854
|
key: 0,
|
20855
20855
|
class: "dx-field-required"
|
20856
|
-
}, tn = /* @__PURE__ */
|
20856
|
+
}, tn = /* @__PURE__ */ ne({
|
20857
20857
|
__name: "FieldLabel",
|
20858
20858
|
props: {
|
20859
20859
|
label: {},
|
@@ -20872,7 +20872,7 @@ const j3 = { class: "flex items-center" }, V3 = { key: 0 }, z3 = { class: "flex-
|
|
20872
20872
|
e.required ? (m(), S("span", tE, P(e.requiredLabel || "*"), 1)) : D("", !0)
|
20873
20873
|
]));
|
20874
20874
|
}
|
20875
|
-
}), j_ = /* @__PURE__ */
|
20875
|
+
}), j_ = /* @__PURE__ */ ne({
|
20876
20876
|
__name: "BooleanField",
|
20877
20877
|
props: {
|
20878
20878
|
label: {
|
@@ -21368,7 +21368,7 @@ const wE = { render: vE }, xE = {
|
|
21368
21368
|
function TE(t, e) {
|
21369
21369
|
return m(), S("svg", xE, [...kE]);
|
21370
21370
|
}
|
21371
|
-
const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @__PURE__ */
|
21371
|
+
const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @__PURE__ */ ne({
|
21372
21372
|
__name: "EditOnClickTextField",
|
21373
21373
|
props: /* @__PURE__ */ i1({
|
21374
21374
|
class: { default: "hover:bg-slate-300" },
|
@@ -21527,7 +21527,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
21527
21527
|
]);
|
21528
21528
|
};
|
21529
21529
|
}
|
21530
|
-
}, $E = /* @__PURE__ */
|
21530
|
+
}, $E = /* @__PURE__ */ ne({
|
21531
21531
|
__name: "MaxLengthCounter",
|
21532
21532
|
props: {
|
21533
21533
|
length: {},
|
@@ -21542,7 +21542,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
21542
21542
|
}), PE = { class: "dx-text-field" }, DE = {
|
21543
21543
|
key: 1,
|
21544
21544
|
class: "dx-text-field-readonly-value"
|
21545
|
-
}, Os = /* @__PURE__ */
|
21545
|
+
}, Os = /* @__PURE__ */ ne({
|
21546
21546
|
__name: "TextField",
|
21547
21547
|
props: {
|
21548
21548
|
modelValue: { default: "" },
|
@@ -21621,7 +21621,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
21621
21621
|
]);
|
21622
21622
|
};
|
21623
21623
|
}
|
21624
|
-
}), As = /* @__PURE__ */
|
21624
|
+
}), As = /* @__PURE__ */ ne({
|
21625
21625
|
__name: "NumberField",
|
21626
21626
|
props: {
|
21627
21627
|
precision: { default: 2 },
|
@@ -21679,7 +21679,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
21679
21679
|
"onUpdate:modelValue": l
|
21680
21680
|
}), null, 16, ["model-value"]));
|
21681
21681
|
}
|
21682
|
-
}), ME = /* @__PURE__ */
|
21682
|
+
}), ME = /* @__PURE__ */ ne({
|
21683
21683
|
__name: "IntegerField",
|
21684
21684
|
props: {
|
21685
21685
|
precision: {},
|
@@ -21713,7 +21713,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
21713
21713
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => e.$emit("update:model-value", r))
|
21714
21714
|
}), null, 16, ["model-value"]));
|
21715
21715
|
}
|
21716
|
-
}), LE = { class: "text-xs font-bold" }, qE = ["href"], BE = ["href"], T8 = /* @__PURE__ */
|
21716
|
+
}), LE = { class: "text-xs font-bold" }, qE = ["href"], BE = ["href"], T8 = /* @__PURE__ */ ne({
|
21717
21717
|
__name: "LabelValueBlock",
|
21718
21718
|
props: {
|
21719
21719
|
label: {},
|
@@ -21775,7 +21775,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
21775
21775
|
}, jE = /* @__PURE__ */ F("div", { class: "mt-1 text-center" }, " Add ", -1), VE = {
|
21776
21776
|
key: 1,
|
21777
21777
|
class: "p-1"
|
21778
|
-
}, zE = /* @__PURE__ */
|
21778
|
+
}, zE = /* @__PURE__ */ ne({
|
21779
21779
|
__name: "MultiFileField",
|
21780
21780
|
props: {
|
21781
21781
|
modelValue: {},
|
@@ -21848,7 +21848,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
21848
21848
|
])
|
21849
21849
|
], 34));
|
21850
21850
|
}
|
21851
|
-
}), Fs = /* @__PURE__ */
|
21851
|
+
}), Fs = /* @__PURE__ */ ne({
|
21852
21852
|
__name: "SelectField",
|
21853
21853
|
props: {
|
21854
21854
|
modelValue: { default: void 0 },
|
@@ -22376,7 +22376,7 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
22376
22376
|
}, KE = {
|
22377
22377
|
key: 0,
|
22378
22378
|
class: "text-zinc-500"
|
22379
|
-
}, QE = { key: 1 }, XE = { class: "text-xs text-zinc-500" }, JE = /* @__PURE__ */
|
22379
|
+
}, QE = { key: 1 }, XE = { class: "text-xs text-zinc-500" }, JE = /* @__PURE__ */ ne({
|
22380
22380
|
__name: "SelectWithChildrenField",
|
22381
22381
|
props: {
|
22382
22382
|
modelValue: { default: () => [] },
|
@@ -22436,25 +22436,20 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
22436
22436
|
};
|
22437
22437
|
}
|
22438
22438
|
}), e4 = {
|
22439
|
-
key:
|
22439
|
+
key: 1,
|
22440
22440
|
class: "text-sm mt-2"
|
22441
22441
|
}, t4 = {
|
22442
|
-
key:
|
22442
|
+
key: 3,
|
22443
22443
|
class: "py-1"
|
22444
|
-
}, n4 = {
|
22444
|
+
}, n4 = /* @__PURE__ */ ne({
|
22445
22445
|
__name: "SingleFileField",
|
22446
22446
|
props: {
|
22447
|
-
modelValue: {
|
22448
|
-
|
22449
|
-
|
22450
|
-
},
|
22451
|
-
|
22452
|
-
|
22453
|
-
required: !0
|
22454
|
-
},
|
22455
|
-
showName: Boolean,
|
22456
|
-
disable: Boolean,
|
22457
|
-
readonly: Boolean
|
22447
|
+
modelValue: {},
|
22448
|
+
label: {},
|
22449
|
+
name: {},
|
22450
|
+
showName: { type: Boolean },
|
22451
|
+
disable: { type: Boolean },
|
22452
|
+
readonly: { type: Boolean }
|
22458
22453
|
},
|
22459
22454
|
emits: ["update:model-value"],
|
22460
22455
|
setup(t, { emit: e }) {
|
@@ -22462,17 +22457,23 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
22462
22457
|
return i(() => n("update:model-value", l.value)), Bt(() => {
|
22463
22458
|
r.modelValue && (l.value = r.modelValue);
|
22464
22459
|
}), (u, c) => (m(), S("div", {
|
22465
|
-
class: j(["max-w-full relative overflow-auto", { "p-4 border rounded border-gray-300 text-center": !
|
22460
|
+
class: j(["max-w-full relative overflow-auto", { "p-4 border rounded border-gray-300 text-center": !u.readonly }]),
|
22466
22461
|
onDragover: c[4] || (c[4] = Kt(() => {
|
22467
22462
|
}, ["prevent"])),
|
22468
|
-
onDrop: c[5] || (c[5] = Kt(
|
22463
|
+
onDrop: c[5] || (c[5] = Kt(
|
22464
|
+
//@ts-ignore
|
22465
|
+
(...d) => k(s) && k(s)(...d),
|
22466
|
+
["prevent"]
|
22467
|
+
))
|
22469
22468
|
}, [
|
22470
|
-
|
22471
|
-
|
22472
|
-
|
22469
|
+
u.label || u.name || u.showName ? (m(), I(k(tn), {
|
22470
|
+
key: 0,
|
22471
|
+
label: u.label,
|
22472
|
+
name: u.name,
|
22473
|
+
"show-name": u.showName,
|
22473
22474
|
class: "text-sm font-semibold"
|
22474
|
-
}, null, 8, ["
|
22475
|
-
!
|
22475
|
+
}, null, 8, ["label", "name", "show-name"])) : D("", !0),
|
22476
|
+
!u.disable && !u.readonly ? (m(), S("div", e4, [
|
22476
22477
|
F("a", {
|
22477
22478
|
class: "text-blue-600",
|
22478
22479
|
onClick: c[0] || (c[0] = (d) => u.$refs.file.click())
|
@@ -22480,25 +22481,27 @@ const CE = { render: TE }, EE = ["contenteditable"], IE = { key: 0 }, OE = /* @_
|
|
22480
22481
|
k(l) ? (m(), S("a", {
|
22481
22482
|
key: 0,
|
22482
22483
|
class: "ml-3 text-red-900",
|
22483
|
-
onClick: c[1] || (c[1] =
|
22484
|
+
onClick: c[1] || (c[1] = //@ts-ignore
|
22485
|
+
(...d) => k(a) && k(a)(...d))
|
22484
22486
|
}, "Clear")) : D("", !0),
|
22485
22487
|
F("input", {
|
22486
22488
|
ref: "file",
|
22487
22489
|
class: "hidden",
|
22488
22490
|
type: "file",
|
22489
|
-
onChange: c[2] || (c[2] =
|
22491
|
+
onChange: c[2] || (c[2] = //@ts-ignore
|
22492
|
+
(...d) => k(o) && k(o)(...d))
|
22490
22493
|
}, null, 544)
|
22491
22494
|
])) : D("", !0),
|
22492
|
-
!
|
22493
|
-
key:
|
22494
|
-
class: j(["w-32 cursor-pointer mt-2", { "border border-dashed border-blue-600": !k(l), "mx-auto": !
|
22495
|
-
file: k(l),
|
22495
|
+
!u.readonly || k(l) ? (m(), I(k(ws), {
|
22496
|
+
key: 2,
|
22497
|
+
class: j(["w-32 cursor-pointer mt-2", { "border border-dashed border-blue-600": !k(l), "mx-auto": !u.readonly }]),
|
22498
|
+
file: k(l) || void 0,
|
22496
22499
|
downloadable: "",
|
22497
|
-
onClick: c[3] || (c[3] = (d) => !
|
22498
|
-
}, null, 8, ["class", "file"])) :
|
22500
|
+
onClick: c[3] || (c[3] = (d) => !u.disable && u.$refs.file.click())
|
22501
|
+
}, null, 8, ["class", "file"])) : u.readonly ? (m(), S("div", t4, " -- ")) : D("", !0)
|
22499
22502
|
], 34));
|
22500
22503
|
}
|
22501
|
-
}, r4 = { class: "dx-slider-number-field" }, I8 = /* @__PURE__ */
|
22504
|
+
}), r4 = { class: "dx-slider-number-field" }, I8 = /* @__PURE__ */ ne({
|
22502
22505
|
__name: "SliderNumberField",
|
22503
22506
|
props: {
|
22504
22507
|
modelValue: {},
|
@@ -22732,7 +22735,7 @@ var i4 = [
|
|
22732
22735
|
visibility: "hidden",
|
22733
22736
|
ref: n
|
22734
22737
|
});
|
22735
|
-
}, Lo = { selector: void 0, target: void 0 }, y4 =
|
22738
|
+
}, Lo = { selector: void 0, target: void 0 }, y4 = ne({
|
22736
22739
|
props: m4,
|
22737
22740
|
setup: function(t, e) {
|
22738
22741
|
var n = t.init ? Ft(Ft({}, t.init), Lo) : Ft({}, Lo), r = o1(t), i = r.disabled, s = r.modelValue, o = r.tagName, l = G(null), a = null, u = t.id || W_("tiny-vue"), c = t.init && t.init.inline || t.inline, d = !!e.attrs["onUpdate:modelValue"], f = !0, h = t.initialValue ? t.initialValue : "", g = "", _ = function(y) {
|
@@ -22829,7 +22832,7 @@ const b4 = ["innerHTML"], v4 = {
|
|
22829
22832
|
}, w4 = {
|
22830
22833
|
key: 1,
|
22831
22834
|
class: "mt-2"
|
22832
|
-
}, x4 = { class: "text-xs font-bold" }, S4 = /* @__PURE__ */ F("div", { class: "text-sm ml-3 py-2" }, " No Available Options ", -1), Zc = /* @__PURE__ */
|
22835
|
+
}, x4 = { class: "text-xs font-bold" }, S4 = /* @__PURE__ */ F("div", { class: "text-sm ml-3 py-2" }, " No Available Options ", -1), Zc = /* @__PURE__ */ ne({
|
22833
22836
|
__name: "FilterableField",
|
22834
22837
|
props: {
|
22835
22838
|
field: {},
|
@@ -23046,7 +23049,7 @@ const b4 = ["innerHTML"], v4 = {
|
|
23046
23049
|
});
|
23047
23050
|
};
|
23048
23051
|
}
|
23049
|
-
}, O4 = /* @__PURE__ */
|
23052
|
+
}, O4 = /* @__PURE__ */ ne({
|
23050
23053
|
__name: "CollapsableFiltersSidebar",
|
23051
23054
|
props: {
|
23052
23055
|
name: {},
|
@@ -23166,7 +23169,7 @@ const b4 = ["innerHTML"], v4 = {
|
|
23166
23169
|
}, R4 = { class: "flex-grow" }, U4 = {
|
23167
23170
|
key: 1,
|
23168
23171
|
class: "flex flex-nowrap items-center mr-2"
|
23169
|
-
}, j4 = ["onClick"], V4 = ["onClick"], z4 = /* @__PURE__ */
|
23172
|
+
}, j4 = ["onClick"], V4 = ["onClick"], z4 = /* @__PURE__ */ ne({
|
23170
23173
|
__name: "RenderedForm",
|
23171
23174
|
props: {
|
23172
23175
|
values: { default: null },
|
@@ -23431,7 +23434,7 @@ const b4 = ["innerHTML"], v4 = {
|
|
23431
23434
|
]);
|
23432
23435
|
};
|
23433
23436
|
}
|
23434
|
-
}), A8 = /* @__PURE__ */
|
23437
|
+
}), A8 = /* @__PURE__ */ ne({
|
23435
23438
|
__name: "ActionForm",
|
23436
23439
|
props: {
|
23437
23440
|
action: {},
|
@@ -23479,7 +23482,7 @@ const b4 = ["innerHTML"], v4 = {
|
|
23479
23482
|
}, 16, ["values", "saved-at", "saving"])
|
23480
23483
|
]));
|
23481
23484
|
}
|
23482
|
-
}), G4 = /* @__PURE__ */
|
23485
|
+
}), G4 = /* @__PURE__ */ ne({
|
23483
23486
|
__name: "PanelsDrawerPanels",
|
23484
23487
|
props: {
|
23485
23488
|
activePanel: {},
|
@@ -23512,7 +23515,7 @@ const b4 = ["innerHTML"], v4 = {
|
|
23512
23515
|
}, 8, ["model-value"]);
|
23513
23516
|
};
|
23514
23517
|
}
|
23515
|
-
}), H4 = /* @__PURE__ */
|
23518
|
+
}), H4 = /* @__PURE__ */ ne({
|
23516
23519
|
__name: "PanelsDrawerTabs",
|
23517
23520
|
props: {
|
23518
23521
|
modelValue: { default: "general" },
|
@@ -23842,7 +23845,7 @@ const b4 = ["innerHTML"], v4 = {
|
|
23842
23845
|
}, CI = {
|
23843
23846
|
key: 0,
|
23844
23847
|
class: "border-l overflow-y-auto"
|
23845
|
-
}, EI = /* @__PURE__ */
|
23848
|
+
}, EI = /* @__PURE__ */ ne({
|
23846
23849
|
__name: "PanelsDrawer",
|
23847
23850
|
props: {
|
23848
23851
|
title: { default: "" },
|
@@ -24000,7 +24003,7 @@ function PI(t, e = null) {
|
|
24000
24003
|
}
|
24001
24004
|
return n;
|
24002
24005
|
}
|
24003
|
-
const DI = { class: "flex flex-nowrap items-center" }, MI = { class: "relative" }, LI = { class: "ml-2" }, qI = /* @__PURE__ */
|
24006
|
+
const DI = { class: "flex flex-nowrap items-center" }, MI = { class: "relative" }, LI = { class: "ml-2" }, qI = /* @__PURE__ */ ne({
|
24004
24007
|
__name: "TableSummaryRow",
|
24005
24008
|
props: {
|
24006
24009
|
loading: { type: Boolean },
|
@@ -24078,7 +24081,7 @@ const DI = { class: "flex flex-nowrap items-center" }, MI = { class: "relative"
|
|
24078
24081
|
_: 1
|
24079
24082
|
}, 8, ["class"]));
|
24080
24083
|
}
|
24081
|
-
}), BI = /* @__PURE__ */
|
24084
|
+
}), BI = /* @__PURE__ */ ne({
|
24082
24085
|
__name: "ActionTable",
|
24083
24086
|
props: {
|
24084
24087
|
name: {},
|
@@ -24188,7 +24191,7 @@ const DI = { class: "flex flex-nowrap items-center" }, MI = { class: "relative"
|
|
24188
24191
|
], 2);
|
24189
24192
|
};
|
24190
24193
|
}
|
24191
|
-
}), RI = /* @__PURE__ */ Rt(BI, [["__scopeId", "data-v-92434ba2"]]), UI = { class: "dx-action-toolbar flex items-center" }, jI = { class: "flex-grow px-6" }, VI = { key: 0 }, zI = { class: "py-3 flex items-center flex-nowrap" }, GI = /* @__PURE__ */
|
24194
|
+
}), RI = /* @__PURE__ */ Rt(BI, [["__scopeId", "data-v-92434ba2"]]), UI = { class: "dx-action-toolbar flex items-center" }, jI = { class: "flex-grow px-6" }, VI = { key: 0 }, zI = { class: "py-3 flex items-center flex-nowrap" }, GI = /* @__PURE__ */ ne({
|
24192
24195
|
__name: "ActionToolbar",
|
24193
24196
|
props: {
|
24194
24197
|
title: {},
|
@@ -24228,7 +24231,7 @@ const DI = { class: "flex flex-nowrap items-center" }, MI = { class: "relative"
|
|
24228
24231
|
])
|
24229
24232
|
]));
|
24230
24233
|
}
|
24231
|
-
}), HI = { class: "flex flex-grow flex-col flex-nowrap overflow-hidden h-full" }, WI = { class: "flex flex-nowrap flex-grow overflow-hidden w-full" }, F8 = /* @__PURE__ */
|
24234
|
+
}), HI = { class: "flex flex-grow flex-col flex-nowrap overflow-hidden h-full" }, WI = { class: "flex flex-nowrap flex-grow overflow-hidden w-full" }, F8 = /* @__PURE__ */ ne({
|
24232
24235
|
__name: "ActionTableLayout",
|
24233
24236
|
props: {
|
24234
24237
|
title: { default: "" },
|
@@ -24377,15 +24380,15 @@ function N8(t, e) {
|
|
24377
24380
|
}
|
24378
24381
|
}
|
24379
24382
|
function A(B, K = null) {
|
24380
|
-
var
|
24383
|
+
var re;
|
24381
24384
|
if (e.urlPattern && B.match(e.urlPattern)) {
|
24382
|
-
const Ne = (
|
24385
|
+
const Ne = (re = K == null ? void 0 : K.value) == null ? void 0 : re.map((Vt) => Vt.fields.map((Ni) => Ni.name)).flat(), qe = PI(B, Ne);
|
24383
24386
|
Object.keys(qe).length > 0 && (s.value = qe, Z("filter", s.value));
|
24384
24387
|
}
|
24385
24388
|
}
|
24386
24389
|
function N(B) {
|
24387
|
-
let K = [],
|
24388
|
-
Array.isArray(B) ? (K = B,
|
24390
|
+
let K = [], re;
|
24391
|
+
Array.isArray(B) ? (K = B, re = { total: B.length }) : B.data && (K = B.data, re = B.meta), re && re.total !== y.value.rowsNumber && (y.value.rowsNumber = re.total), K = K.map((Ne) => (Ne.isSaving = Ne.isSaving === void 0 ? !1 : Ne.isSaving, Ve(Ne))), i.value = { data: K, meta: re };
|
24389
24392
|
}
|
24390
24393
|
function L() {
|
24391
24394
|
y.value = x;
|
@@ -24400,7 +24403,7 @@ function N8(t, e) {
|
|
24400
24403
|
a.value = [];
|
24401
24404
|
}
|
24402
24405
|
async function ve(B, K = void 0) {
|
24403
|
-
var
|
24406
|
+
var re, Ne, qe;
|
24404
24407
|
if (!e.routes.more)
|
24405
24408
|
return !1;
|
24406
24409
|
try {
|
@@ -24411,7 +24414,7 @@ function N8(t, e) {
|
|
24411
24414
|
});
|
24412
24415
|
if (Vt && Vt.length > 0)
|
24413
24416
|
return N({
|
24414
|
-
data: [...((
|
24417
|
+
data: [...((re = i.value) == null ? void 0 : re.data) || [], ...Vt],
|
24415
24418
|
meta: { total: ((qe = (Ne = i.value) == null ? void 0 : Ne.meta) == null ? void 0 : qe.total) || 0 }
|
24416
24419
|
}), !0;
|
24417
24420
|
} catch {
|
@@ -24422,8 +24425,8 @@ function N8(t, e) {
|
|
24422
24425
|
return Promise.all([T(), E(), C(), Ut()]);
|
24423
24426
|
}
|
24424
24427
|
function Z(B, K) {
|
24425
|
-
const
|
24426
|
-
|
24428
|
+
const re = qn(r) || {};
|
24429
|
+
re[B] = K, Ln(r, re);
|
24427
24430
|
}
|
24428
24431
|
function Me() {
|
24429
24432
|
const B = qn(r);
|
@@ -24456,8 +24459,8 @@ function N8(t, e) {
|
|
24456
24459
|
B != null && B.id && (K == null ? void 0 : K.id) != B.id && await Ut();
|
24457
24460
|
});
|
24458
24461
|
function nn(B, K = "") {
|
24459
|
-
var
|
24460
|
-
(B == null ? void 0 : B.id) == ((
|
24462
|
+
var re;
|
24463
|
+
(B == null ? void 0 : B.id) == ((re = f.value) == null ? void 0 : re.id) && K === h.value || (At(B), h.value = K, B != null && B.id && Fa({ id: B.id, panel: K }));
|
24461
24464
|
}
|
24462
24465
|
function At(B) {
|
24463
24466
|
f.value = B && Ve(B), B != null && B.id || Fa({});
|
@@ -24472,9 +24475,9 @@ function N8(t, e) {
|
|
24472
24475
|
});
|
24473
24476
|
if (K == null)
|
24474
24477
|
return;
|
24475
|
-
const
|
24478
|
+
const re = K + B, qe = await Ha("getNextItem", async () => {
|
24476
24479
|
var $i, Vr, Pa;
|
24477
|
-
return ($i = i.value) != null && $i.data ?
|
24480
|
+
return ($i = i.value) != null && $i.data ? re < 0 ? y.value.page > 1 ? (y.value = { ...y.value, page: y.value.page - 1 }, await Ga(u, !1), i.value.data.length - 1) : -1 : re >= i.value.data.length ? y.value.page < (((Pa = (Vr = i.value) == null ? void 0 : Vr.meta) == null ? void 0 : Pa.last_page) || 1) ? (y.value = { ...y.value, page: y.value.page + 1 }, await Ga(u, !1), 0) : -1 : re : -1;
|
24478
24481
|
})();
|
24479
24482
|
qe !== void 0 && qe >= 0 && (f.value = (Ni = i.value) == null ? void 0 : Ni.data[qe]);
|
24480
24483
|
}
|
@@ -24487,27 +24490,27 @@ function N8(t, e) {
|
|
24487
24490
|
function Z_() {
|
24488
24491
|
const B = $a();
|
24489
24492
|
if (n = !0, Me(), e.routes.details) {
|
24490
|
-
const { params: K, meta:
|
24493
|
+
const { params: K, meta: re, name: Ne } = B.currentRoute.value;
|
24491
24494
|
Ne === t && (B.afterEach((qe) => {
|
24492
24495
|
qe.name === Ne && Na(qe.params, qe.meta);
|
24493
|
-
}), Na(K,
|
24496
|
+
}), Na(K, re));
|
24494
24497
|
}
|
24495
24498
|
}
|
24496
24499
|
function Fa(B) {
|
24497
24500
|
const K = $a();
|
24498
|
-
let { name:
|
24499
|
-
if (
|
24501
|
+
let { name: re } = K.currentRoute.value;
|
24502
|
+
if (re = Array.isArray(re) ? re[0] : re, !re) {
|
24500
24503
|
console.error("No route name found for list controls", t);
|
24501
24504
|
return;
|
24502
24505
|
}
|
24503
|
-
const Ne = K.resolve({ name:
|
24504
|
-
qe !== Ne && !qe.startsWith(Ne) && K.push({ name:
|
24506
|
+
const Ne = K.resolve({ name: re, params: B }).href, qe = K.currentRoute.value.fullPath;
|
24507
|
+
qe !== Ne && !qe.startsWith(Ne) && K.push({ name: re, params: B });
|
24505
24508
|
}
|
24506
24509
|
function Na(B, K) {
|
24507
|
-
const
|
24508
|
-
if (
|
24510
|
+
const re = Array.isArray(B == null ? void 0 : B.id) ? B.id[0] : B == null ? void 0 : B.id;
|
24511
|
+
if (re && K.type) {
|
24509
24512
|
const Ne = Array.isArray(B == null ? void 0 : B.panel) ? B.panel[0] : B == null ? void 0 : B.panel;
|
24510
|
-
nn({ id:
|
24513
|
+
nn({ id: re, __type: "" + K.type }, Ne || h.value || "");
|
24511
24514
|
}
|
24512
24515
|
}
|
24513
24516
|
function $a() {
|
@@ -24756,7 +24759,7 @@ const ZI = { class: "flex space-x-2" }, YI = ["innerHTML"], Yc = {
|
|
24756
24759
|
], 2);
|
24757
24760
|
};
|
24758
24761
|
}
|
24759
|
-
}, s6 = "quasar-ui-danx", o6 = "0.4.
|
24762
|
+
}, s6 = "quasar-ui-danx", o6 = "0.4.26", l6 = "Dan <dan@flytedesk.com>", a6 = "DanX Vue / Quasar component library", u6 = "MIT", c6 = "module", d6 = "./dist/danx.umd.js", f6 = "./dist/danx.es.js", h6 = "types/index.d.ts", _6 = {
|
24760
24763
|
dev: "cd dev && quasar dev && cd ..",
|
24761
24764
|
build: "vite build",
|
24762
24765
|
preview: "vite preview",
|