quasar-ui-danx 0.3.23 → 0.3.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/danx.es.js +89 -85
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +2 -2
- package/dist/danx.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ActionTable/Filters/FilterableField.vue +29 -27
- package/src/components/ActionTable/Form/RenderedForm.vue +108 -106
- package/src/components/Utility/Files/FilePreview.vue +1 -1
package/dist/danx.es.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
var Kd = Object.defineProperty;
|
2
2
|
var Jd = (t, e, n) => e in t ? Kd(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
3
3
|
var ie = (t, e, n) => (Jd(t, typeof e != "symbol" ? e + "" : e, n), n);
|
4
|
-
import { shallowRef as Mt, getCurrentScope as e_, onScopeDispose as t_, unref as v, ref as
|
4
|
+
import { shallowRef as Mt, getCurrentScope as e_, onScopeDispose as t_, unref as v, ref as B, computed as U, getCurrentInstance as n_, onMounted as yn, watch as he, openBlock as m, createBlock as I, createVNode as k, resolveComponent as L, createElementBlock as x, normalizeClass as z, createCommentVNode as M, createElementVNode as A, toDisplayString as P, withCtx as D, Fragment as V, createTextVNode as q, renderSlot as G, withKeys as co, renderList as ge, resolveDirective as r_, withDirectives as i_, mergeProps as Gt, resolveDynamicComponent as Zt, withModifiers as Ht, normalizeStyle as ti, isVNode as o_, isRef as Pa, Transition as Na, TransitionGroup as Ma, useCssModule as s_, nextTick as pr, defineComponent as l_, toRefs as a_, onBeforeUnmount as u_, onActivated as c_, onDeactivated as d_, h as Ds, normalizeProps as __ } from "vue";
|
5
5
|
import { uid as f_, QSpinner as $a, QBtn as Ps, QSelect as Ns, QSeparator as m_, QTd as _o, QTh as h_, QSpinnerBall as Ms, QTr as p_, QTable as g_, QTab as b_ } from "quasar";
|
6
6
|
const Lt = Mt({
|
7
7
|
tinyMceApiKey: "set-api-key-in-danx-options",
|
@@ -65,7 +65,7 @@ function Fr(t, e = 200, n = {}) {
|
|
65
65
|
}
|
66
66
|
const S_ = y_ ? window.navigator : void 0;
|
67
67
|
function T_() {
|
68
|
-
const t =
|
68
|
+
const t = B(!1), e = n_();
|
69
69
|
return e && yn(() => {
|
70
70
|
t.value = !0;
|
71
71
|
}, e), t;
|
@@ -81,7 +81,7 @@ function E_(t = {}) {
|
|
81
81
|
timeout: r = 27e3,
|
82
82
|
navigator: i = S_,
|
83
83
|
immediate: o = !0
|
84
|
-
} = t, s = C_(() => i && "geolocation" in i), l =
|
84
|
+
} = t, s = C_(() => i && "geolocation" in i), l = B(null), a = Mt(null), u = B({
|
85
85
|
accuracy: 0,
|
86
86
|
latitude: Number.POSITIVE_INFINITY,
|
87
87
|
longitude: Number.POSITIVE_INFINITY,
|
@@ -4191,9 +4191,9 @@ class Z {
|
|
4191
4191
|
let g, w, S = Vr(a, u);
|
4192
4192
|
h ? (g = I1, w = C1, S = ii(S, s, l)) : c ? (g = k1, w = E1, S = Ri(S)) : (g = $u, w = Mu);
|
4193
4193
|
let C = !1;
|
4194
|
-
for (const
|
4195
|
-
const Q = o[
|
4196
|
-
H(Q) ? C ? o[
|
4194
|
+
for (const R of g) {
|
4195
|
+
const Q = o[R];
|
4196
|
+
H(Q) ? C ? o[R] = w[R] : o[R] = S[R] : C = !0;
|
4197
4197
|
}
|
4198
4198
|
const E = h ? ef(o, s, l) : c ? tf(o) : au(o), T = E || uu(o);
|
4199
4199
|
if (T)
|
@@ -9714,7 +9714,7 @@ class fs {
|
|
9714
9714
|
e.xhr.send(e.body);
|
9715
9715
|
}
|
9716
9716
|
}
|
9717
|
-
const _i =
|
9717
|
+
const _i = B([]), fi = B([]);
|
9718
9718
|
function QT(t) {
|
9719
9719
|
_i.value = [..._i.value, t];
|
9720
9720
|
}
|
@@ -9741,7 +9741,7 @@ function JT(t) {
|
|
9741
9741
|
});
|
9742
9742
|
}
|
9743
9743
|
function db(t) {
|
9744
|
-
const e =
|
9744
|
+
const e = B([]), n = B(null), r = B(null), i = (d) => {
|
9745
9745
|
e.value = [...e.value, ...d.target.files], new fs(d.target.files, t).onProgress(({ file: _ }) => {
|
9746
9746
|
o(_);
|
9747
9747
|
}).onComplete(({ file: _, uploadedFile: f }) => {
|
@@ -9776,7 +9776,7 @@ function db(t) {
|
|
9776
9776
|
uploadedFiles: e
|
9777
9777
|
};
|
9778
9778
|
}
|
9779
|
-
const aa =
|
9779
|
+
const aa = B({
|
9780
9780
|
baseUrl: ""
|
9781
9781
|
}), ua = {
|
9782
9782
|
configure(t) {
|
@@ -9815,7 +9815,7 @@ function _b(t, e) {
|
|
9815
9815
|
return new URLSearchParams((e == null ? void 0 : e.replace(/.*\?/, "")) || window.location.search).get(t);
|
9816
9816
|
}
|
9817
9817
|
function fb(t = null) {
|
9818
|
-
const e =
|
9818
|
+
const e = B(null), n = B(null), r = B(null), i = (c) => {
|
9819
9819
|
var d;
|
9820
9820
|
e.value = null, new fs((d = c.target) == null ? void 0 : d.files[0], t).onProgress(({ file: _ }) => {
|
9821
9821
|
e.value = _, r.value && r.value(e.value);
|
@@ -10633,7 +10633,7 @@ const ms = { render: zx }, n3 = {
|
|
10633
10633
|
}
|
10634
10634
|
},
|
10635
10635
|
setup(t) {
|
10636
|
-
const e = t, n =
|
10636
|
+
const e = t, n = B(!1);
|
10637
10637
|
async function r() {
|
10638
10638
|
n.value = !0;
|
10639
10639
|
try {
|
@@ -11122,7 +11122,7 @@ const ms = { render: zx }, n3 = {
|
|
11122
11122
|
},
|
11123
11123
|
emits: ["close"],
|
11124
11124
|
setup(t) {
|
11125
|
-
const e = t, n =
|
11125
|
+
const e = t, n = B(null), r = B(e.defaultSlide);
|
11126
11126
|
function i(l) {
|
11127
11127
|
var a;
|
11128
11128
|
return (a = l.mime) == null ? void 0 : a.startsWith("video");
|
@@ -11368,7 +11368,7 @@ const ms = { render: zx }, n3 = {
|
|
11368
11368
|
},
|
11369
11369
|
emits: ["confirm", "close", "update:input"],
|
11370
11370
|
setup(t) {
|
11371
|
-
const n =
|
11371
|
+
const n = B(t.input);
|
11372
11372
|
return (r, i) => {
|
11373
11373
|
const o = L("QInput");
|
11374
11374
|
return m(), I(v(mi), Gt(r.$props, {
|
@@ -11674,7 +11674,7 @@ const ms = { render: zx }, n3 = {
|
|
11674
11674
|
},
|
11675
11675
|
emits: ["remove"],
|
11676
11676
|
setup(t, { emit: e }) {
|
11677
|
-
const n = e, r = t, i =
|
11677
|
+
const n = e, r = t, i = B(!1), o = U(() => r.image ? r.image : r.src ? {
|
11678
11678
|
id: r.src,
|
11679
11679
|
url: r.src,
|
11680
11680
|
type: "image/" + r.src.split(".").pop().toLowerCase()
|
@@ -11691,7 +11691,7 @@ const ms = { render: zx }, n3 = {
|
|
11691
11691
|
), d = U(() => {
|
11692
11692
|
var h, g, w;
|
11693
11693
|
return (w = (g = (h = o.value) == null ? void 0 : h.transcodes) == null ? void 0 : g.thumb) == null ? void 0 : w.url;
|
11694
|
-
}), _ = U(() => !!d.value || a.value || l.value), f =
|
11694
|
+
}), _ = U(() => !!d.value || a.value || l.value), f = B(!1);
|
11695
11695
|
function p() {
|
11696
11696
|
f.value ? n("remove") : (f.value = !0, setTimeout(() => {
|
11697
11697
|
f.value = !1;
|
@@ -11723,7 +11723,7 @@ const ms = { render: zx }, n3 = {
|
|
11723
11723
|
])) : M("", !0),
|
11724
11724
|
d.value || _.value ? (m(), I(w, {
|
11725
11725
|
key: 1,
|
11726
|
-
fit: "
|
11726
|
+
fit: "fill",
|
11727
11727
|
class: "non-selectable max-h-full max-w-full h-full",
|
11728
11728
|
src: (d.value || c.value) + "#t=0.1",
|
11729
11729
|
preload: "auto",
|
@@ -12233,7 +12233,7 @@ const ms = { render: zx }, n3 = {
|
|
12233
12233
|
},
|
12234
12234
|
emits: ["collapse", "update:collapse"],
|
12235
12235
|
setup(t, { emit: e }) {
|
12236
|
-
const n = e, r = t, i =
|
12236
|
+
const n = e, r = t, i = B(_n(r.name + "-is-collapsed", r.collapse));
|
12237
12237
|
function o(a) {
|
12238
12238
|
i.value = a, dn(r.name + "-is-collapsed", i.value ? "1" : "");
|
12239
12239
|
}
|
@@ -12595,7 +12595,7 @@ Gc.props = { vnode: { type: [Function, Object], required: !0 } };
|
|
12595
12595
|
const vr = Gc, m2 = {
|
12596
12596
|
__name: "ActionVnode",
|
12597
12597
|
setup(t) {
|
12598
|
-
const e =
|
12598
|
+
const e = B(!1);
|
12599
12599
|
async function n(r) {
|
12600
12600
|
e.value = !0, await Pn.value.confirm(r), e.value = !1;
|
12601
12601
|
}
|
@@ -12738,7 +12738,7 @@ const vr = Gc, m2 = {
|
|
12738
12738
|
__name: "InteractiveTooltip",
|
12739
12739
|
props: { tooltip: { type: String, default: "" } },
|
12740
12740
|
setup(t) {
|
12741
|
-
const e =
|
12741
|
+
const e = B(!1), n = B(null), r = B(!1), i = B(!1);
|
12742
12742
|
let o = null;
|
12743
12743
|
yn(() => {
|
12744
12744
|
n.value.$el.parentNode.addEventListener("mouseover", s), n.value.$el.parentNode.addEventListener("mouseleave", l);
|
@@ -13710,12 +13710,12 @@ var Ne = /* @__PURE__ */ function(t) {
|
|
13710
13710
|
}
|
13711
13711
|
else {
|
13712
13712
|
f = this._last;
|
13713
|
-
for (var
|
13714
|
-
if (p = f._prev, (f._act ||
|
13713
|
+
for (var R = i < 0 ? i : _; f; ) {
|
13714
|
+
if (p = f._prev, (f._act || R <= f._end) && f._ts && S !== f) {
|
13715
13715
|
if (f.parent !== this)
|
13716
13716
|
return this.render(i, o, s);
|
13717
|
-
if (f.render(f._ts > 0 ? (
|
13718
|
-
S = 0, p && (c += this._zTime =
|
13717
|
+
if (f.render(f._ts > 0 ? (R - f._start) * f._ts : (f._dirty ? f.totalDuration() : f._tDur) + (R - f._start) * f._ts, o, s || Ae && (f._initted || f._startAt)), _ !== this._time || !this._ts && !w) {
|
13718
|
+
S = 0, p && (c += this._zTime = R ? -ae : ae);
|
13719
13719
|
break;
|
13720
13720
|
}
|
13721
13721
|
}
|
@@ -13882,7 +13882,7 @@ var J2 = function(e, n, r, i, o, s, l) {
|
|
13882
13882
|
u[l._props[c]] = a;
|
13883
13883
|
return l;
|
13884
13884
|
}, Rt, Go, Ts = function t(e, n, r) {
|
13885
|
-
var i = e.vars, o = i.ease, s = i.startAt, l = i.immediateRender, a = i.lazy, u = i.onUpdate, c = i.runBackwards, d = i.yoyoEase, _ = i.keyframes, f = i.autoRevert, p = e._dur, h = e._startAt, g = e._targets, w = e.parent, S = w && w.data === "nested" ? w.vars.targets : g, C = e._overwrite === "auto" && !hs, E = e.timeline, T, y, b, O, F,
|
13885
|
+
var i = e.vars, o = i.ease, s = i.startAt, l = i.immediateRender, a = i.lazy, u = i.onUpdate, c = i.runBackwards, d = i.yoyoEase, _ = i.keyframes, f = i.autoRevert, p = e._dur, h = e._startAt, g = e._targets, w = e.parent, S = w && w.data === "nested" ? w.vars.targets : g, C = e._overwrite === "auto" && !hs, E = e.timeline, T, y, b, O, F, R, Q, X, ne, Te, _e, fe, ye;
|
13886
13886
|
if (E && (!_ || !o) && (o = "none"), e._ease = hn(o, Zn.ease), e._yEase = d ? vd(hn(d === !0 ? o : d, Zn.ease)) : 0, d && e._yoyo && !e._repeat && (d = e._yEase, e._yEase = e._ease, e._ease = d), e._from = !E && !!i.runBackwards, !E || _ && !i.stagger) {
|
13887
13887
|
if (X = g[0] ? fn(g[0]).harness : 0, fe = X && i[X.prop], T = gi(i, ys), h && (h._zTime < 0 && h.progress(1), n < 0 && c && l && !f ? h.render(-1, !0) : h.revert(c && p ? Kr : k2), h._lazy = 0), s) {
|
13888
13888
|
if (Wt(e._startAt = Se.set(g, ot({
|
@@ -13920,12 +13920,12 @@ var J2 = function(e, n, r, i, o, s, l) {
|
|
13920
13920
|
for (e._pt = e._ptCache = 0, a = p && Le(a) || a && !p, y = 0; y < g.length; y++) {
|
13921
13921
|
if (F = g[y], Q = F._gsap || ws(g)[y]._gsap, e._ptLookup[y] = Te = {}, Uo[Q.id] && Vt.length && pi(), _e = S === g ? y : S.indexOf(F), X && (ne = new X()).init(F, fe || T, e, _e, S) !== !1 && (e._pt = O = new Re(e._pt, F, ne.name, 0, 1, ne.render, ne, 0, ne.priority), ne._props.forEach(function(Ve) {
|
13922
13922
|
Te[Ve] = O;
|
13923
|
-
}), ne.priority && (
|
13923
|
+
}), ne.priority && (R = 1)), !X || fe)
|
13924
13924
|
for (b in T)
|
13925
|
-
Ge[b] && (ne = Cd(b, T, e, _e, F, S)) ? ne.priority && (
|
13925
|
+
Ge[b] && (ne = Cd(b, T, e, _e, F, S)) ? ne.priority && (R = 1) : Te[b] = O = Ss.call(e, F, b, "get", T[b], _e, S, 0, i.stringFilter);
|
13926
13926
|
e._op && e._op[y] && e.kill(F, e._op[y]), C && e._pt && (Rt = e, ce.killTweensOf(F, Te, e.globalTime(n)), ye = !e.parent, Rt = 0), e._pt && a && (Uo[Q.id] = 1);
|
13927
13927
|
}
|
13928
|
-
|
13928
|
+
R && Ad(e), e._onInit && e._onInit(e);
|
13929
13929
|
}
|
13930
13930
|
e._onUpdate = u, e._initted = (!e._op || e._pt) && !ye, _ && n <= 0 && E.render(nt, !0, !0);
|
13931
13931
|
}, tw = function(e, n, r, i, o, s, l, a) {
|
@@ -13979,18 +13979,18 @@ var Se = /* @__PURE__ */ function(t) {
|
|
13979
13979
|
function e(r, i, o, s) {
|
13980
13980
|
var l;
|
13981
13981
|
typeof i == "number" && (o.duration = i, i = o, o = null), l = t.call(this, s ? i : fr(i)) || this;
|
13982
|
-
var a = l.vars, u = a.duration, c = a.delay, d = a.immediateRender, _ = a.stagger, f = a.overwrite, p = a.keyframes, h = a.defaults, g = a.scrollTrigger, w = a.yoyoEase, S = i.parent || ce, C = (De(r) || Wc(r) ? It(r[0]) : "length" in i) ? [r] : rt(r), E, T, y, b, O, F,
|
13982
|
+
var a = l.vars, u = a.duration, c = a.delay, d = a.immediateRender, _ = a.stagger, f = a.overwrite, p = a.keyframes, h = a.defaults, g = a.scrollTrigger, w = a.yoyoEase, S = i.parent || ce, C = (De(r) || Wc(r) ? It(r[0]) : "length" in i) ? [r] : rt(r), E, T, y, b, O, F, R, Q;
|
13983
13983
|
if (l._targets = C.length ? ws(C) : wr("GSAP target " + r + " not found. https://gsap.com", !je.nullTargetWarn) || [], l._ptLookup = [], l._overwrite = f, p || _ || jr(u) || jr(c)) {
|
13984
13984
|
if (i = l.vars, E = l.timeline = new Ne({
|
13985
13985
|
data: "nested",
|
13986
13986
|
defaults: h || {},
|
13987
13987
|
targets: S && S.data === "nested" ? S.vars.targets : C
|
13988
13988
|
}), E.kill(), E.parent = E._dp = St(l), E._start = 0, _ || jr(u) || jr(c)) {
|
13989
|
-
if (b = C.length,
|
13989
|
+
if (b = C.length, R = _ && dd(_), yt(_))
|
13990
13990
|
for (O in _)
|
13991
13991
|
~Ed.indexOf(O) && (Q || (Q = {}), Q[O] = _[O]);
|
13992
13992
|
for (T = 0; T < b; T++)
|
13993
|
-
y = gi(i, Id), y.stagger = 0, w && (y.yoyoEase = w), Q && bn(y, Q), F = C[T], y.duration = +hr(u, St(l), T, F, C), y.delay = (+hr(c, St(l), T, F, C) || 0) - l._delay, !_ && b === 1 && y.delay && (l._delay = c = y.delay, l._start += c, y.delay = 0), E.to(F, y,
|
13993
|
+
y = gi(i, Id), y.stagger = 0, w && (y.yoyoEase = w), Q && bn(y, Q), F = C[T], y.duration = +hr(u, St(l), T, F, C), y.delay = (+hr(c, St(l), T, F, C) || 0) - l._delay, !_ && b === 1 && y.delay && (l._delay = c = y.delay, l._start += c, y.delay = 0), E.to(F, y, R ? R(T, F, C) : 0), E._ease = J.none;
|
13994
13994
|
E.duration() ? u = c = 0 : l.timeline = 0;
|
13995
13995
|
} else if (p) {
|
13996
13996
|
fr(ot(E.vars.defaults, {
|
@@ -14777,8 +14777,8 @@ var xa, Bt, Bn, ks, un, ya, Fs, hw = function() {
|
|
14777
14777
|
var r = e._gsap || new Td(e);
|
14778
14778
|
if ("x" in r && !n && !r.uncache)
|
14779
14779
|
return r;
|
14780
|
-
var i = e.style, o = r.scaleX < 0, s = "px", l = "deg", a = getComputedStyle(e), u = gt(e, Be) || "0", c, d, _, f, p, h, g, w, S, C, E, T, y, b, O, F,
|
14781
|
-
return c = d = _ = h = g = w = S = C = E = 0, f = p = 1, r.svg = !!(e.getCTM && Rd(e)), a.translate && ((a.translate !== "none" || a.scale !== "none" || a.rotate !== "none") && (i[de] = (a.translate !== "none" ? "translate3d(" + (a.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (a.rotate !== "none" ? "rotate(" + a.rotate + ") " : "") + (a.scale !== "none" ? "scale(" + a.scale.split(" ").join(",") + ") " : "") + (a[de] !== "none" ? a[de] : "")), i.scale = i.rotate = i.translate = "none"), b = As(e, r.svg), r.svg && (r.uncache ? (Ve = e.getBBox(), u = r.xOrigin - Ve.x + "px " + (r.yOrigin - Ve.y) + "px", ye = "") : ye = !n && e.getAttribute("data-svg-origin"), Yo(e, ye || u, !!ye || r.originIsAbsolute, r.smooth !== !1, b)), T = r.xOrigin || 0, y = r.yOrigin || 0, b !== Ir && (Q = b[0], X = b[1], ne = b[2], Te = b[3], c = _e = b[4], d = fe = b[5], b.length === 6 ? (f = Math.sqrt(Q * Q + X * X), p = Math.sqrt(Te * Te + ne * ne), h = Q || X ? Fn(X, Q) * sn : 0, S = ne || Te ? Fn(ne, Te) * sn + h : 0, S && (p *= Math.abs(Math.cos(S * zn))), r.svg && (c -= T - (T * Q + y * ne), d -= y - (T * X + y * Te))) : (vt = b[6], nr = b[7], Xt = b[8], Kt = b[9], _t = b[10], st = b[11], c = b[12], d = b[13], _ = b[14], O = Fn(vt, _t), g = O * sn, O && (F = Math.cos(-O),
|
14780
|
+
var i = e.style, o = r.scaleX < 0, s = "px", l = "deg", a = getComputedStyle(e), u = gt(e, Be) || "0", c, d, _, f, p, h, g, w, S, C, E, T, y, b, O, F, R, Q, X, ne, Te, _e, fe, ye, Ve, Tn, Xt, Kt, _t, nr, st, vt;
|
14781
|
+
return c = d = _ = h = g = w = S = C = E = 0, f = p = 1, r.svg = !!(e.getCTM && Rd(e)), a.translate && ((a.translate !== "none" || a.scale !== "none" || a.rotate !== "none") && (i[de] = (a.translate !== "none" ? "translate3d(" + (a.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (a.rotate !== "none" ? "rotate(" + a.rotate + ") " : "") + (a.scale !== "none" ? "scale(" + a.scale.split(" ").join(",") + ") " : "") + (a[de] !== "none" ? a[de] : "")), i.scale = i.rotate = i.translate = "none"), b = As(e, r.svg), r.svg && (r.uncache ? (Ve = e.getBBox(), u = r.xOrigin - Ve.x + "px " + (r.yOrigin - Ve.y) + "px", ye = "") : ye = !n && e.getAttribute("data-svg-origin"), Yo(e, ye || u, !!ye || r.originIsAbsolute, r.smooth !== !1, b)), T = r.xOrigin || 0, y = r.yOrigin || 0, b !== Ir && (Q = b[0], X = b[1], ne = b[2], Te = b[3], c = _e = b[4], d = fe = b[5], b.length === 6 ? (f = Math.sqrt(Q * Q + X * X), p = Math.sqrt(Te * Te + ne * ne), h = Q || X ? Fn(X, Q) * sn : 0, S = ne || Te ? Fn(ne, Te) * sn + h : 0, S && (p *= Math.abs(Math.cos(S * zn))), r.svg && (c -= T - (T * Q + y * ne), d -= y - (T * X + y * Te))) : (vt = b[6], nr = b[7], Xt = b[8], Kt = b[9], _t = b[10], st = b[11], c = b[12], d = b[13], _ = b[14], O = Fn(vt, _t), g = O * sn, O && (F = Math.cos(-O), R = Math.sin(-O), ye = _e * F + Xt * R, Ve = fe * F + Kt * R, Tn = vt * F + _t * R, Xt = _e * -R + Xt * F, Kt = fe * -R + Kt * F, _t = vt * -R + _t * F, st = nr * -R + st * F, _e = ye, fe = Ve, vt = Tn), O = Fn(-ne, _t), w = O * sn, O && (F = Math.cos(-O), R = Math.sin(-O), ye = Q * F - Xt * R, Ve = X * F - Kt * R, Tn = ne * F - _t * R, st = Te * R + st * F, Q = ye, X = Ve, ne = Tn), O = Fn(X, Q), h = O * sn, O && (F = Math.cos(O), R = Math.sin(O), ye = Q * F + X * R, Ve = _e * F + fe * R, X = X * F - Q * R, fe = fe * F - _e * R, Q = ye, _e = Ve), g && Math.abs(g) + Math.abs(h) > 359.9 && (g = h = 0, w = 180 - w), f = xe(Math.sqrt(Q * Q + X * X + ne * ne)), p = xe(Math.sqrt(fe * fe + vt * vt)), O = Fn(_e, fe), S = Math.abs(O) > 2e-4 ? O * sn : 0, E = st ? 1 / (st < 0 ? -st : st) : 0), r.svg && (ye = e.getAttribute("transform"), r.forceCSS = e.setAttribute("transform", "") || !zd(gt(e, de)), ye && e.setAttribute("transform", ye))), Math.abs(S) > 90 && Math.abs(S) < 270 && (o ? (f *= -1, S += h <= 0 ? 180 : -180, h += h <= 0 ? 180 : -180) : (p *= -1, S += S <= 0 ? 180 : -180)), n = n || r.uncache, r.x = c - ((r.xPercent = c && (!n && r.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-c) ? -50 : 0))) ? e.offsetWidth * r.xPercent / 100 : 0) + s, r.y = d - ((r.yPercent = d && (!n && r.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-d) ? -50 : 0))) ? e.offsetHeight * r.yPercent / 100 : 0) + s, r.z = _ + s, r.scaleX = xe(f), r.scaleY = xe(p), r.rotation = xe(h) + l, r.rotationX = xe(g) + l, r.rotationY = xe(w) + l, r.skewX = S + l, r.skewY = C + l, r.transformPerspective = E + s, (r.zOrigin = parseFloat(u.split(" ")[2]) || !n && r.zOrigin || 0) && (i[Be] = vi(u)), r.xOffset = r.yOffset = 0, r.force3D = je.force3D, r.renderTransform = r.svg ? Nw : Ld ? Vd : Pw, r.uncache = 0, r;
|
14782
14782
|
}, vi = function(e) {
|
14783
14783
|
return (e = e.split(" "))[0] + " " + e[1];
|
14784
14784
|
}, lo = function(e, n, r) {
|
@@ -14935,7 +14935,7 @@ const p3 = {
|
|
14935
14935
|
disabled: Boolean
|
14936
14936
|
},
|
14937
14937
|
setup(t) {
|
14938
|
-
const e = t, n =
|
14938
|
+
const e = t, n = B(null), r = U(() => e.delayOffset / n.value.$el.children.length);
|
14939
14939
|
function i(l) {
|
14940
14940
|
e.disabled || (l.style.opacity = 0, l.style.height = 0);
|
14941
14941
|
}
|
@@ -15531,7 +15531,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
15531
15531
|
},
|
15532
15532
|
emits: ["update:hidden-column-names"],
|
15533
15533
|
setup(t, { emit: e }) {
|
15534
|
-
const n = e, r = t, i =
|
15534
|
+
const n = e, r = t, i = B(""), o = U(() => [...new Set(r.columns.map((f) => f.category)).values()]);
|
15535
15535
|
function s(f) {
|
15536
15536
|
return r.columns.filter((p) => p.category === f);
|
15537
15537
|
}
|
@@ -15860,7 +15860,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
15860
15860
|
},
|
15861
15861
|
emits: ["update:model-value"],
|
15862
15862
|
setup(t, { emit: e }) {
|
15863
|
-
const n = e, r = t, i = U(() => r.modelValue ? Tt(xo(r.modelValue || "0000-00-00")) : null), o =
|
15863
|
+
const n = e, r = t, i = U(() => r.modelValue ? Tt(xo(r.modelValue || "0000-00-00")) : null), o = B(r.modelValue);
|
15864
15864
|
he(() => r.modelValue, (l) => o.value = l);
|
15865
15865
|
function s() {
|
15866
15866
|
n("update:model-value", o.value);
|
@@ -15922,7 +15922,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
15922
15922
|
} : {
|
15923
15923
|
from: null,
|
15924
15924
|
to: null
|
15925
|
-
}), o =
|
15925
|
+
}), o = B(s(r.modelValue));
|
15926
15926
|
he(() => r.modelValue, (u) => o.value = s(u));
|
15927
15927
|
function s(u) {
|
15928
15928
|
return u != null && u.from && (u != null && u.to) ? Tt(u.from) === Tt(u.to) ? u.from : u : null;
|
@@ -16080,7 +16080,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16080
16080
|
},
|
16081
16081
|
emits: ["update:model-value"],
|
16082
16082
|
setup(t, { emit: e }) {
|
16083
|
-
const n = e, r = t, i =
|
16083
|
+
const n = e, r = t, i = B(!1), o = B(r.modelValue);
|
16084
16084
|
function s() {
|
16085
16085
|
n("update:model-value", o.value), i.value = !1;
|
16086
16086
|
}
|
@@ -16138,7 +16138,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16138
16138
|
},
|
16139
16139
|
emits: ["update:model-value", "change"],
|
16140
16140
|
setup(t, { emit: e }) {
|
16141
|
-
const n = e, r = t, i =
|
16141
|
+
const n = e, r = t, i = B(r.modelValue), o = Fr(() => {
|
16142
16142
|
n("update:model-value", i.value), n("change", i.value);
|
16143
16143
|
}, r.debounceDelay);
|
16144
16144
|
function s(l) {
|
@@ -16173,7 +16173,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16173
16173
|
],
|
16174
16174
|
setup(t, { expose: e, emit: n }) {
|
16175
16175
|
e({ upload: s });
|
16176
|
-
const r = n, i = t, o =
|
16176
|
+
const r = n, i = t, o = B(null);
|
16177
16177
|
function s() {
|
16178
16178
|
o.value.click();
|
16179
16179
|
}
|
@@ -16286,7 +16286,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16286
16286
|
},
|
16287
16287
|
emits: ["update:model-value", "update"],
|
16288
16288
|
setup(t, { emit: e }) {
|
16289
|
-
const n = e, r = t, i =
|
16289
|
+
const n = e, r = t, i = B(s(r.modelValue));
|
16290
16290
|
he(() => r.modelValue, () => i.value = s(r.modelValue));
|
16291
16291
|
const o = U(() => r.field || { label: r.label || "", placeholder: "", id: "" });
|
16292
16292
|
function s(u) {
|
@@ -16499,7 +16499,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16499
16499
|
},
|
16500
16500
|
emits: ["update:model-value", "search", "update"],
|
16501
16501
|
setup(t, { emit: e }) {
|
16502
|
-
const n = e, r = t, i =
|
16502
|
+
const n = e, r = t, i = B(null), o = B(null), s = B(!1), l = U(() => {
|
16503
16503
|
let y = r.options;
|
16504
16504
|
return r.placeholder && !r.multiple && !r.filterable && (y = [{ label: r.placeholder, value: null }, ...r.options]), y = y.map((b) => {
|
16505
16505
|
let O = Pa(b) ? b.value : b;
|
@@ -16531,7 +16531,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16531
16531
|
function g(y) {
|
16532
16532
|
Array.isArray(y) && (y = y.map((b) => b === "__null__" ? null : b)), y = y === "__null__" ? null : y, n("update", y), n("update:model-value", y);
|
16533
16533
|
}
|
16534
|
-
const w =
|
16534
|
+
const w = B(!1);
|
16535
16535
|
async function S(y, b) {
|
16536
16536
|
if (!r.filterFn)
|
16537
16537
|
o.value = y, await pr(b);
|
@@ -16718,7 +16718,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16718
16718
|
},
|
16719
16719
|
emits: ["update:model-value"],
|
16720
16720
|
setup(t, { emit: e }) {
|
16721
|
-
const n = e, r = t, i =
|
16721
|
+
const n = e, r = t, i = B(r.field.defaultOption), o = U(() => r.modelValue && r.modelValue[i.value]), s = B(a());
|
16722
16722
|
function l() {
|
16723
16723
|
var u;
|
16724
16724
|
s.value = ((u = s.value) == null ? void 0 : u.replace(/\n/g, ",").replace(/,{2,}/g, ",")) || "", n("update:model-value", s.value ? { [i.value]: s.value.split(",") } : void 0);
|
@@ -16827,7 +16827,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16827
16827
|
name: "to",
|
16828
16828
|
label: "Max" + i.value,
|
16829
16829
|
placeholder: "No Limit"
|
16830
|
-
})), l = U(() => r.icon || (r.currency ? hb : r.percent ? gx : vb)), a =
|
16830
|
+
})), l = U(() => r.icon || (r.currency ? hb : r.percent ? gx : vb)), a = B({});
|
16831
16831
|
he(() => r.modelValue, u);
|
16832
16832
|
function u(_) {
|
16833
16833
|
const f = r.percent ? 100 : 1;
|
@@ -16912,7 +16912,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
16912
16912
|
},
|
16913
16913
|
emits: ["update:modelValue"],
|
16914
16914
|
setup(t, { emit: e }) {
|
16915
|
-
const n = e, r = t, i =
|
16915
|
+
const n = e, r = t, i = B(!1), o = U(
|
16916
16916
|
() => r.options.map(
|
16917
16917
|
(c) => typeof c == "string" ? {
|
16918
16918
|
label: c,
|
@@ -17025,7 +17025,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
17025
17025
|
var u;
|
17026
17026
|
return ((u = r.modelValue) == null ? void 0 : u.length) > 0 ? r.options.find((c) => c.children.find((d) => r.modelValue.includes(d.id))) : null;
|
17027
17027
|
}
|
17028
|
-
const o =
|
17028
|
+
const o = B(i()), s = B(r.modelValue || []);
|
17029
17029
|
function l(u) {
|
17030
17030
|
s.value.includes(u.id) ? s.value = ni(s.value, u.id) : s.value.push(u.id), n("update:model-value", s.value.length > 0 ? s.value : void 0);
|
17031
17031
|
}
|
@@ -17301,7 +17301,7 @@ var X4 = [
|
|
17301
17301
|
}, uo = { selector: void 0, target: void 0 }, dS = l_({
|
17302
17302
|
props: aS,
|
17303
17303
|
setup: function(t, e) {
|
17304
|
-
var n = t.init ? ft(ft({}, t.init), uo) : ft({}, uo), r = a_(t), i = r.disabled, o = r.modelValue, s = r.tagName, l =
|
17304
|
+
var n = t.init ? ft(ft({}, t.init), uo) : ft({}, uo), r = a_(t), i = r.disabled, o = r.modelValue, s = r.tagName, l = B(null), a = null, u = t.id || Yd("tiny-vue"), c = t.init && t.init.inline || t.inline, d = !!e.attrs["onUpdate:modelValue"], _ = !0, f = t.initialValue ? t.initialValue : "", p = "", h = function(S) {
|
17305
17305
|
return d ? function() {
|
17306
17306
|
return o != null && o.value ? o.value : "";
|
17307
17307
|
} : function() {
|
@@ -17416,7 +17416,7 @@ const _S = ["innerHTML"], fS = {
|
|
17416
17416
|
let s = o || void 0;
|
17417
17417
|
switch (r.field.type) {
|
17418
17418
|
case "multi-select":
|
17419
|
-
s = o.length > 0 ? o : void 0;
|
17419
|
+
s = o && o.length > 0 ? o : void 0;
|
17420
17420
|
break;
|
17421
17421
|
case "single-select":
|
17422
17422
|
case "boolean":
|
@@ -17433,6 +17433,7 @@ const _S = ["innerHTML"], fS = {
|
|
17433
17433
|
key: 0,
|
17434
17434
|
"model-value": t.modelValue,
|
17435
17435
|
options: t.field.options,
|
17436
|
+
clearable: t.field.clearable === void 0 ? !0 : t.field.clearable,
|
17436
17437
|
multiple: "",
|
17437
17438
|
loading: t.loading,
|
17438
17439
|
"chip-limit": 1,
|
@@ -17440,7 +17441,7 @@ const _S = ["innerHTML"], fS = {
|
|
17440
17441
|
placeholder: t.field.placeholder,
|
17441
17442
|
label: t.field.label,
|
17442
17443
|
"onUpdate:modelValue": i
|
17443
|
-
}, null, 8, ["model-value", "options", "loading", "placeholder", "label"])) : (m(), x("div", mS, [
|
17444
|
+
}, null, 8, ["model-value", "options", "clearable", "loading", "placeholder", "label"])) : (m(), x("div", mS, [
|
17444
17445
|
A("div", hS, P(t.field.label), 1),
|
17445
17446
|
pS
|
17446
17447
|
]))
|
@@ -17448,11 +17449,12 @@ const _S = ["innerHTML"], fS = {
|
|
17448
17449
|
key: 1,
|
17449
17450
|
"model-value": t.modelValue,
|
17450
17451
|
options: t.field.options,
|
17452
|
+
clearable: t.field.clearable === void 0 ? !0 : t.field.clearable,
|
17451
17453
|
placeholder: t.field.placeholder,
|
17452
17454
|
loading: t.loading,
|
17453
17455
|
label: t.field.label,
|
17454
17456
|
"onUpdate:modelValue": i
|
17455
|
-
}, null, 8, ["model-value", "options", "placeholder", "loading", "label"])) : t.field.type === "date" ? (m(), I(v(Hd), {
|
17457
|
+
}, null, 8, ["model-value", "options", "clearable", "placeholder", "loading", "label"])) : t.field.type === "date" ? (m(), I(v(Hd), {
|
17456
17458
|
key: 2,
|
17457
17459
|
"model-value": t.modelValue,
|
17458
17460
|
label: t.field.label,
|
@@ -17720,6 +17722,7 @@ const _S = ["innerHTML"], fS = {
|
|
17720
17722
|
noLabel: Boolean,
|
17721
17723
|
showName: Boolean,
|
17722
17724
|
disable: Boolean,
|
17725
|
+
clearable: Boolean,
|
17723
17726
|
readonly: Boolean,
|
17724
17727
|
saving: Boolean,
|
17725
17728
|
emptyValue: {
|
@@ -17748,7 +17751,7 @@ const _S = ["innerHTML"], fS = {
|
|
17748
17751
|
})), s = U(() => {
|
17749
17752
|
const E = [...new Set(r.values.map((T) => T.variation))].sort();
|
17750
17753
|
return E.length === 0 && E.push(""), E;
|
17751
|
-
}), l =
|
17754
|
+
}), l = B(s.value[0] || ""), a = B(""), u = B(!1), c = B(""), d = U(() => r.canModifyVariations && !r.readonly && !r.disable && s.value.length < r.form.variations);
|
17752
17755
|
function _(E, T) {
|
17753
17756
|
if (r.values)
|
17754
17757
|
return r.values.find((y) => y.variation === (T !== void 0 ? T : l.value) && y.name === E);
|
@@ -17809,19 +17812,19 @@ const _S = ["innerHTML"], fS = {
|
|
17809
17812
|
t.form.variations > 1 ? (m(), x("div", FS, [
|
17810
17813
|
k(F, {
|
17811
17814
|
modelValue: l.value,
|
17812
|
-
"onUpdate:modelValue": T[0] || (T[0] = (
|
17815
|
+
"onUpdate:modelValue": T[0] || (T[0] = (R) => l.value = R),
|
17813
17816
|
class: "text-xs"
|
17814
17817
|
}, {
|
17815
17818
|
default: D(() => [
|
17816
|
-
(m(!0), x(V, null, ge(s.value, (
|
17817
|
-
key:
|
17818
|
-
name:
|
17819
|
+
(m(!0), x(V, null, ge(s.value, (R, Q) => (m(), I(b, {
|
17820
|
+
key: R,
|
17821
|
+
name: R,
|
17819
17822
|
class: "p-0",
|
17820
17823
|
"content-class": "w-full"
|
17821
17824
|
}, {
|
17822
17825
|
default: D(() => [
|
17823
17826
|
A("div", OS, [
|
17824
|
-
C(
|
17827
|
+
C(R) ? M("", !0) : (m(), x("div", AS, [
|
17825
17828
|
k(v(Rc), { class: "text-red-400 w-4" }),
|
17826
17829
|
k(y, null, {
|
17827
17830
|
default: D(() => [
|
@@ -17830,18 +17833,18 @@ const _S = ["innerHTML"], fS = {
|
|
17830
17833
|
_: 1
|
17831
17834
|
})
|
17832
17835
|
])),
|
17833
|
-
A("div", DS, P(
|
17836
|
+
A("div", DS, P(R || "1"), 1),
|
17834
17837
|
!t.disable && !t.readonly && t.canModifyVariations ? (m(), x("div", PS, [
|
17835
17838
|
A("a", {
|
17836
17839
|
class: "ml-1 p-1 hover:opacity-100 opacity-20 hover:bg-blue-200 rounded",
|
17837
|
-
onClick: () => (u.value =
|
17840
|
+
onClick: () => (u.value = R) && (a.value = R)
|
17838
17841
|
}, [
|
17839
17842
|
k(v(Bc), { class: "w-3 text-blue-900" })
|
17840
17843
|
], 8, NS),
|
17841
17844
|
Q > 0 ? (m(), x("a", {
|
17842
17845
|
key: 0,
|
17843
17846
|
class: "ml-1 p-1 hover:opacity-100 opacity-20 hover:bg-red-200 rounded",
|
17844
|
-
onClick: (X) => c.value =
|
17847
|
+
onClick: (X) => c.value = R
|
17845
17848
|
}, [
|
17846
17849
|
k(v(Vc), { class: "w-3 text-red-900" })
|
17847
17850
|
], 8, MS)) : M("", !0)
|
@@ -17870,32 +17873,33 @@ const _S = ["innerHTML"], fS = {
|
|
17870
17873
|
_: 1
|
17871
17874
|
}, 8, ["modelValue"])
|
17872
17875
|
])) : M("", !0),
|
17873
|
-
(m(!0), x(V, null, ge(v(o), (
|
17874
|
-
key:
|
17876
|
+
(m(!0), x(V, null, ge(v(o), (R, Q) => (m(), x("div", {
|
17877
|
+
key: R.id,
|
17875
17878
|
class: z({ "mt-4": Q > 0 })
|
17876
17879
|
}, [
|
17877
|
-
(m(), I(Zt(
|
17878
|
-
key:
|
17879
|
-
"model-value": f(
|
17880
|
-
field:
|
17881
|
-
label:
|
17880
|
+
(m(), I(Zt(R.component), {
|
17881
|
+
key: R.name + "-" + l.value,
|
17882
|
+
"model-value": f(R.name),
|
17883
|
+
field: R,
|
17884
|
+
label: R.label || void 0,
|
17882
17885
|
"no-label": t.noLabel,
|
17883
17886
|
"show-name": t.showName,
|
17887
|
+
clearable: R.clearable || t.clearable,
|
17884
17888
|
disable: t.disable,
|
17885
17889
|
readonly: t.readonly,
|
17886
|
-
"onUpdate:modelValue": (X) => p(
|
17887
|
-
}, null, 8, ["model-value", "field", "label", "no-label", "show-name", "disable", "readonly", "onUpdate:modelValue"]))
|
17890
|
+
"onUpdate:modelValue": (X) => p(R.name, X)
|
17891
|
+
}, null, 8, ["model-value", "field", "label", "no-label", "show-name", "clearable", "disable", "readonly", "onUpdate:modelValue"]))
|
17888
17892
|
], 2))), 128)),
|
17889
17893
|
u.value !== !1 ? (m(), I(v(mi), {
|
17890
17894
|
key: 1,
|
17891
17895
|
title: "Change variation name",
|
17892
17896
|
onConfirm: w,
|
17893
|
-
onClose: T[2] || (T[2] = (
|
17897
|
+
onClose: T[2] || (T[2] = (R) => u.value = !1)
|
17894
17898
|
}, {
|
17895
17899
|
default: D(() => [
|
17896
17900
|
k(v(Xo), {
|
17897
17901
|
modelValue: a.value,
|
17898
|
-
"onUpdate:modelValue": T[1] || (T[1] = (
|
17902
|
+
"onUpdate:modelValue": T[1] || (T[1] = (R) => a.value = R),
|
17899
17903
|
label: "Enter name",
|
17900
17904
|
placeholder: "Variation Name",
|
17901
17905
|
"input-class": "bg-white"
|
@@ -17909,8 +17913,8 @@ const _S = ["innerHTML"], fS = {
|
|
17909
17913
|
content: "You cannot undo this action. If there was any analytics collected for this variation, it will still be attributed to the ad.",
|
17910
17914
|
"confirm-class": "bg-red-900 text-white",
|
17911
17915
|
"content-class": "w-96",
|
17912
|
-
onConfirm: T[3] || (T[3] = (
|
17913
|
-
onClose: T[4] || (T[4] = (
|
17916
|
+
onConfirm: T[3] || (T[3] = (R) => S(c.value)),
|
17917
|
+
onClose: T[4] || (T[4] = (R) => c.value = "")
|
17914
17918
|
}, null, 8, ["title"])) : M("", !0)
|
17915
17919
|
]);
|
17916
17920
|
};
|
@@ -17969,26 +17973,26 @@ function O3(t, {
|
|
17969
17973
|
filterDefaults: a = {}
|
17970
17974
|
}) {
|
17971
17975
|
let u = !1;
|
17972
|
-
const c = `${t}-pagination-settings`, d = Mt(null), _ =
|
17976
|
+
const c = `${t}-pagination-settings`, d = Mt(null), _ = B({}), f = B({}), p = B(!1), h = Mt([]), g = B(!1), w = B(!1), S = Mt(null), C = Mt(null), E = Mt(null), T = B({}), y = B(!1), b = U(() => Object.keys(_.value).filter((j) => _.value[j] !== void 0).length), O = {
|
17973
17977
|
__sort: null,
|
17974
17978
|
sortBy: null,
|
17975
17979
|
descending: !1,
|
17976
17980
|
page: 1,
|
17977
17981
|
rowsNumber: 0,
|
17978
17982
|
rowsPerPage: 50
|
17979
|
-
}, F =
|
17983
|
+
}, F = B(O), R = U(() => ({
|
17980
17984
|
perPage: F.value.rowsPerPage,
|
17981
17985
|
page: F.value.page,
|
17982
17986
|
filter: { ..._.value, ...f.value },
|
17983
17987
|
sort: F.value.__sort || void 0
|
17984
17988
|
}));
|
17985
|
-
he(
|
17989
|
+
he(R, () => {
|
17986
17990
|
_t(), Q();
|
17987
17991
|
}), he(_, () => {
|
17988
17992
|
_t(), X();
|
17989
17993
|
}), he(h, X), s && he(_, ne);
|
17990
17994
|
async function Q() {
|
17991
|
-
u && (g.value = !0, _e(await e(
|
17995
|
+
u && (g.value = !0, _e(await e(R.value)), g.value = !1);
|
17992
17996
|
}
|
17993
17997
|
async function X() {
|
17994
17998
|
if (!n || !u)
|
@@ -18012,7 +18016,7 @@ function O3(t, {
|
|
18012
18016
|
Array.isArray(j) ? (re = j, oe = { total: j.length }) : (re = j.data, oe = j.meta), oe && oe.total !== F.value.rowsNumber && (F.value.rowsNumber = oe.total), re = re.map((Qe) => {
|
18013
18017
|
var Xe, Mr;
|
18014
18018
|
const qe = (Mr = (Xe = d.value) == null ? void 0 : Xe.data) == null ? void 0 : Mr.find((Xd) => Xd.id === Qe.id);
|
18015
|
-
return { ...Qe, isSaving: (qe == null ? void 0 : qe.isSaving) ||
|
18019
|
+
return { ...Qe, isSaving: (qe == null ? void 0 : qe.isSaving) || B(!1) };
|
18016
18020
|
}), d.value = { data: re, meta: oe };
|
18017
18021
|
}
|
18018
18022
|
function fe() {
|
@@ -18068,7 +18072,7 @@ function O3(t, {
|
|
18068
18072
|
const j = await o(C.value);
|
18069
18073
|
if ((j == null ? void 0 : j.id) === ((re = C.value) == null ? void 0 : re.id)) {
|
18070
18074
|
const Qe = (oe = d.value) == null ? void 0 : oe.data.find((qe) => qe.id === j.id);
|
18071
|
-
C.value = { ...j, isSaving: Qe.isSaving ||
|
18075
|
+
C.value = { ...j, isSaving: Qe.isSaving || B(!1) };
|
18072
18076
|
}
|
18073
18077
|
}
|
18074
18078
|
o && he(() => C.value, async (j, re) => {
|
@@ -18116,7 +18120,7 @@ function O3(t, {
|
|
18116
18120
|
isLoadingList: g,
|
18117
18121
|
isLoadingFilters: y,
|
18118
18122
|
isLoadingSummary: w,
|
18119
|
-
pager:
|
18123
|
+
pager: R,
|
18120
18124
|
quasarPagination: F,
|
18121
18125
|
activeItem: C,
|
18122
18126
|
activePanel: E,
|
@@ -18134,7 +18138,7 @@ function O3(t, {
|
|
18134
18138
|
};
|
18135
18139
|
}
|
18136
18140
|
function A3(t, e) {
|
18137
|
-
const n = `${t}-column-order`, r = `${t}-visible-columns`, i = `${t}-title-columns`, o =
|
18141
|
+
const n = `${t}-column-order`, r = `${t}-visible-columns`, i = `${t}-title-columns`, o = B(_n(n) || []), s = B(_n(r, [])), l = B(_n(i, [])), a = U(() => u.value.slice(0, 1)), u = U(() => [...e].sort((f, p) => {
|
18138
18142
|
const h = o.value.indexOf(f.name), g = o.value.indexOf(p.name);
|
18139
18143
|
return h === -1 ? 1 : g === -1 ? -1 : h - g;
|
18140
18144
|
})), c = U({
|
@@ -18176,7 +18180,7 @@ const qS = {
|
|
18176
18180
|
}
|
18177
18181
|
},
|
18178
18182
|
setup(t) {
|
18179
|
-
const e = t, n = U(() => Array.isArray(e.target) ? e.target.length > 0 : !!e.target), r = U(() => e.actions.filter((s) => Array.isArray(e.target) ? s.batchEnabled ? s.batchEnabled(e.target) : !0 : s.enabled ? s.enabled(e.target) : !0)), i =
|
18183
|
+
const e = t, n = U(() => Array.isArray(e.target) ? e.target.length > 0 : !!e.target), r = U(() => e.actions.filter((s) => Array.isArray(e.target) ? s.batchEnabled ? s.batchEnabled(e.target) : !0 : s.enabled ? s.enabled(e.target) : !0)), i = B(!1);
|
18180
18184
|
async function o(s) {
|
18181
18185
|
if (!s.trigger)
|
18182
18186
|
throw new Error("Action must have a trigger function! Make sure you are using useActions() or implement your own trigger function.");
|
@@ -18741,9 +18745,9 @@ const qS = {
|
|
18741
18745
|
},
|
18742
18746
|
emits: ["update:quasar-pagination", "update:selected-rows"],
|
18743
18747
|
setup(t) {
|
18744
|
-
const e = t, n =
|
18748
|
+
const e = t, n = B(null);
|
18745
18749
|
BS(n);
|
18746
|
-
const r = `column-settings-${e.name}`, i =
|
18750
|
+
const r = `column-settings-${e.name}`, i = B(_n(r) || {});
|
18747
18751
|
function o() {
|
18748
18752
|
dn(r, i.value);
|
18749
18753
|
}
|
@@ -19329,7 +19333,7 @@ const qS = {
|
|
19329
19333
|
},
|
19330
19334
|
emits: ["update:model-value", "close"],
|
19331
19335
|
setup(t) {
|
19332
|
-
const e = t, n =
|
19336
|
+
const e = t, n = B(e.modelValue);
|
19333
19337
|
return he(() => e.modelValue, (r) => n.value = r), (r, i) => {
|
19334
19338
|
const o = L("QBtn");
|
19335
19339
|
return m(), I(v(qc), {
|
@@ -19385,7 +19389,7 @@ const qS = {
|
|
19385
19389
|
});
|
19386
19390
|
};
|
19387
19391
|
}
|
19388
|
-
}, gT = "quasar-ui-danx", bT = "0.3.
|
19392
|
+
}, gT = "quasar-ui-danx", bT = "0.3.25", xT = "Dan <dan@flytedesk.com>", yT = "DanX Vue / Quasar component library", vT = "MIT", wT = "module", ST = "dist/danx.es.js", TT = "dist/danx.es.js", CT = {
|
19389
19393
|
dev: "cd dev && quasar dev && cd ..",
|
19390
19394
|
build: "vite build",
|
19391
19395
|
preview: "vite preview",
|