quasar-ui-danx-legacy 0.3.58 → 0.3.59
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/danx.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var o_ = Object.defineProperty;
|
|
2
2
|
var s_ = (t, e, n) => e in t ? o_(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var le = (t, e, n) => s_(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { shallowRef as qt, getCurrentScope as l_, onScopeDispose as a_, unref as
|
|
4
|
+
import { shallowRef as qt, getCurrentScope as l_, onScopeDispose as a_, unref as S, ref as z, computed as B, getCurrentInstance as u_, onMounted as kn, watch as pe, createBlock as I, openBlock as m, createVNode as C, resolveComponent as U, createElementBlock as x, normalizeClass as G, createCommentVNode as $, createElementVNode as P, toDisplayString as N, withCtx as O, Fragment as H, createTextVNode as W, renderSlot as j, withKeys as Ao, renderList as we, resolveDirective as c_, withDirectives as d_, mergeProps as Jt, resolveDynamicComponent as en, withModifiers as tn, normalizeStyle as gi, isVNode as f_, isRef as xu, Transition as vu, TransitionGroup as wu, useCssModule as __, nextTick as Fr, defineComponent as Su, toRefs as m_, onBeforeUnmount as h_, onActivated as p_, onDeactivated as g_, h as ul } from "vue";
|
|
5
5
|
import { uid as b_, QSpinner as Tu, QBtn as cl, QSelect as dl, QSeparator as y_, QTd as Oo, QTh as x_, QSpinnerBall as fl, QTr as v_, QTable as w_, QTab as S_ } from "quasar";
|
|
6
6
|
const jt = qt({
|
|
7
7
|
tinyMceApiKey: "set-api-key-in-danx-options",
|
|
@@ -27,7 +27,7 @@ function T_(t) {
|
|
|
27
27
|
return l_() ? (a_(t), !0) : !1;
|
|
28
28
|
}
|
|
29
29
|
function _l(t) {
|
|
30
|
-
return typeof t == "function" ? t() :
|
|
30
|
+
return typeof t == "function" ? t() : S(t);
|
|
31
31
|
}
|
|
32
32
|
const E_ = typeof window < "u" && typeof document < "u";
|
|
33
33
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -4409,9 +4409,9 @@ class Z {
|
|
|
4409
4409
|
const J = o[R];
|
|
4410
4410
|
Y(J) ? T ? o[R] = y[R] : o[R] = b[R] : T = !0;
|
|
4411
4411
|
}
|
|
4412
|
-
const E = h ? s1(o, s, l) : c ? l1(o) : Ku(o),
|
|
4413
|
-
if (
|
|
4414
|
-
return Z.invalid(
|
|
4412
|
+
const E = h ? s1(o, s, l) : c ? l1(o) : Ku(o), w = E || Ju(o);
|
|
4413
|
+
if (w)
|
|
4414
|
+
return Z.invalid(w);
|
|
4415
4415
|
const v = h ? Fl(o, s, l) : c ? Pl(o) : o, [k, F] = si(v, u, r), A = new Z({
|
|
4416
4416
|
ts: k,
|
|
4417
4417
|
zone: r,
|
|
@@ -5922,8 +5922,8 @@ function Ms(t, e, n) {
|
|
|
5922
5922
|
return navigator.msSaveBlob ? navigator.msSaveBlob(h(s), d) : g(s);
|
|
5923
5923
|
f = s instanceof c ? s : new c([s], { type: o });
|
|
5924
5924
|
function h(y) {
|
|
5925
|
-
var b = y.split(/[:;,]/), T = b[1], E = b[2] === "base64" ? atob : decodeURIComponent,
|
|
5926
|
-
for (k; k < v; ++k) F[k] =
|
|
5925
|
+
var b = y.split(/[:;,]/), T = b[1], E = b[2] === "base64" ? atob : decodeURIComponent, w = E(b.pop()), v = w.length, k = 0, F = new Uint8Array(v);
|
|
5926
|
+
for (k; k < v; ++k) F[k] = w.charCodeAt(k);
|
|
5927
5927
|
return new c([F], { type: T });
|
|
5928
5928
|
}
|
|
5929
5929
|
function g(y, b) {
|
|
@@ -7823,7 +7823,7 @@ function Jh({ includeTags: t, excludeTags: e } = {}) {
|
|
|
7823
7823
|
extraIncludeNames: /* @__PURE__ */ Object.create(null)
|
|
7824
7824
|
});
|
|
7825
7825
|
o[g] = n ? y : !0, y && rp(t[g]) && (o[g] = !1), E.excludeAll && (o[g] = !1), s[g] = E;
|
|
7826
|
-
const
|
|
7826
|
+
const w = wa({
|
|
7827
7827
|
groupKey: g,
|
|
7828
7828
|
includeValue: tp({
|
|
7829
7829
|
groupKey: g,
|
|
@@ -7844,7 +7844,7 @@ function Jh({ includeTags: t, excludeTags: e } = {}) {
|
|
|
7844
7844
|
fileIncludeDependencies: d
|
|
7845
7845
|
})
|
|
7846
7846
|
});
|
|
7847
|
-
l[g] =
|
|
7847
|
+
l[g] = w;
|
|
7848
7848
|
}
|
|
7849
7849
|
return {
|
|
7850
7850
|
isActive: i,
|
|
@@ -9735,7 +9735,7 @@ function Fd(t) {
|
|
|
9735
9735
|
let h = c + 16;
|
|
9736
9736
|
const g = [];
|
|
9737
9737
|
for (let y = 0; y < _; y++) {
|
|
9738
|
-
const b = K(t, h + 0, 2), T = K(t, h + 2, 2), E = t.getUint32(h + 4),
|
|
9738
|
+
const b = K(t, h + 0, 2), T = K(t, h + 2, 2), E = t.getUint32(h + 4), w = t.getUint32(h + 8), v = L0(t, c + w, E);
|
|
9739
9739
|
g.push({ languageCode: b, countryCode: T, text: v }), h += p;
|
|
9740
9740
|
}
|
|
9741
9741
|
if (_ === 1)
|
|
@@ -10656,7 +10656,7 @@ function Md(t, {
|
|
|
10656
10656
|
jfifDataOffset: b,
|
|
10657
10657
|
tiffHeaderOffset: T,
|
|
10658
10658
|
iptcDataOffset: E,
|
|
10659
|
-
xmpChunks:
|
|
10659
|
+
xmpChunks: w,
|
|
10660
10660
|
iccChunks: v,
|
|
10661
10661
|
mpfDataOffset: k,
|
|
10662
10662
|
pngHeaderOffset: F,
|
|
@@ -10670,7 +10670,7 @@ function Md(t, {
|
|
|
10670
10670
|
jfifDataOffset: b,
|
|
10671
10671
|
tiffHeaderOffset: T,
|
|
10672
10672
|
iptcDataOffset: E,
|
|
10673
|
-
xmpChunks:
|
|
10673
|
+
xmpChunks: w,
|
|
10674
10674
|
iccChunks: v,
|
|
10675
10675
|
mpfDataOffset: k,
|
|
10676
10676
|
pngHeaderOffset: F,
|
|
@@ -10718,7 +10718,7 @@ function Md(t, {
|
|
|
10718
10718
|
parsedTags: ke
|
|
10719
10719
|
});
|
|
10720
10720
|
}
|
|
10721
|
-
if (M.USE_TIFF && M.USE_XMP && te.ApplicationNotes && !ls(
|
|
10721
|
+
if (M.USE_TIFF && M.USE_XMP && te.ApplicationNotes && !ls(w) && a.shouldParseGroup("xmp")) {
|
|
10722
10722
|
const Te = Na.read(
|
|
10723
10723
|
In(te.ApplicationNotes.value),
|
|
10724
10724
|
void 0,
|
|
@@ -10806,8 +10806,8 @@ function Md(t, {
|
|
|
10806
10806
|
parsedTags: q
|
|
10807
10807
|
});
|
|
10808
10808
|
}
|
|
10809
|
-
if (M.USE_XMP && ls(
|
|
10810
|
-
const V = Na.read(t,
|
|
10809
|
+
if (M.USE_XMP && ls(w) && a.shouldParseGroup("xmp")) {
|
|
10810
|
+
const V = Na.read(t, w, o), q = De("xmp", V, a);
|
|
10811
10811
|
u.xmp = q, a.shouldReturnGroup("xmp") && c.push({
|
|
10812
10812
|
type: "mergeXmpGroupAssign",
|
|
10813
10813
|
parsedTags: q
|
|
@@ -11798,7 +11798,7 @@ const Cx = {
|
|
|
11798
11798
|
class: G(["flex items-center w-full", { "cursor-not-allowed": t.locked }])
|
|
11799
11799
|
}, [
|
|
11800
11800
|
t.locked ? (m(), x("a", Cx, [
|
|
11801
|
-
C(
|
|
11801
|
+
C(S(yx), { class: "w-4" })
|
|
11802
11802
|
])) : $("", !0),
|
|
11803
11803
|
P("div", kx, N(t.column.label), 1),
|
|
11804
11804
|
t.locked ? $("", !0) : (m(), x("div", Fx, [
|
|
@@ -11806,10 +11806,10 @@ const Cx = {
|
|
|
11806
11806
|
class: "py-2 px-1",
|
|
11807
11807
|
onClick: n[0] || (n[0] = (i) => e.$emit("visible", !t.visible))
|
|
11808
11808
|
}, [
|
|
11809
|
-
t.visible ? (m(), I(
|
|
11809
|
+
t.visible ? (m(), I(S(gx), {
|
|
11810
11810
|
key: 0,
|
|
11811
11811
|
class: "w-4"
|
|
11812
|
-
})) : (m(), I(
|
|
11812
|
+
})) : (m(), I(S(px), {
|
|
11813
11813
|
key: 1,
|
|
11814
11814
|
class: "w-4 text-zinc-800"
|
|
11815
11815
|
}))
|
|
@@ -11818,7 +11818,7 @@ const Cx = {
|
|
|
11818
11818
|
class: "py-2 px-1",
|
|
11819
11819
|
onClick: n[1] || (n[1] = (i) => e.$emit("is-title", !t.isTitle))
|
|
11820
11820
|
}, [
|
|
11821
|
-
C(
|
|
11821
|
+
C(S(Ex), {
|
|
11822
11822
|
class: G(["w-4", t.isTitle ? "" : "text-gray-400"])
|
|
11823
11823
|
}, null, 8, ["class"]),
|
|
11824
11824
|
C(r, null, {
|
|
@@ -12040,8 +12040,8 @@ const Px = {
|
|
|
12040
12040
|
"cursor-ns-resize": t.direction === "vertical"
|
|
12041
12041
|
}, "flex justify-center items-center w-full h-full"]),
|
|
12042
12042
|
draggable: "true",
|
|
12043
|
-
onDragstart: s[0] || (s[0] = (...l) =>
|
|
12044
|
-
onDragend: s[1] || (s[1] = (...l) =>
|
|
12043
|
+
onDragstart: s[0] || (s[0] = (...l) => S(i).dragStart && S(i).dragStart(...l)),
|
|
12044
|
+
onDragend: s[1] || (s[1] = (...l) => S(i).dragEnd && S(i).dragEnd(...l))
|
|
12045
12045
|
}, [
|
|
12046
12046
|
j(o.$slots, "default")
|
|
12047
12047
|
], 34));
|
|
@@ -12250,7 +12250,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12250
12250
|
onClick: r
|
|
12251
12251
|
}, {
|
|
12252
12252
|
default: O(() => [
|
|
12253
|
-
C(
|
|
12253
|
+
C(S(wx), { class: "w-5" })
|
|
12254
12254
|
]),
|
|
12255
12255
|
_: 1
|
|
12256
12256
|
}, 8, ["loading"]);
|
|
@@ -12270,7 +12270,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12270
12270
|
loading: t.loading
|
|
12271
12271
|
}, {
|
|
12272
12272
|
default: O(() => [
|
|
12273
|
-
C(
|
|
12273
|
+
C(S(Tx), { class: "w-5" })
|
|
12274
12274
|
]),
|
|
12275
12275
|
_: 1
|
|
12276
12276
|
}, 8, ["loading"]);
|
|
@@ -12293,7 +12293,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12293
12293
|
onClick: n[0] || (n[0] = (i) => e.$emit("next", -1))
|
|
12294
12294
|
}, {
|
|
12295
12295
|
default: O(() => [
|
|
12296
|
-
C(
|
|
12296
|
+
C(S(rv), { class: "w-6" })
|
|
12297
12297
|
]),
|
|
12298
12298
|
_: 1
|
|
12299
12299
|
}, 8, ["disable", "loading"]),
|
|
@@ -12304,7 +12304,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12304
12304
|
onClick: n[1] || (n[1] = (i) => e.$emit("next", 1))
|
|
12305
12305
|
}, {
|
|
12306
12306
|
default: O(() => [
|
|
12307
|
-
C(
|
|
12307
|
+
C(S(ev), { class: "w-6" })
|
|
12308
12308
|
]),
|
|
12309
12309
|
_: 1
|
|
12310
12310
|
}, 8, ["disable", "loading"])
|
|
@@ -12448,7 +12448,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12448
12448
|
class: "absolute top-0 right-0 p-4 text-black",
|
|
12449
12449
|
onClick: o
|
|
12450
12450
|
}, [
|
|
12451
|
-
C(
|
|
12451
|
+
C(S(Hd), { class: "w-5" })
|
|
12452
12452
|
])
|
|
12453
12453
|
]),
|
|
12454
12454
|
_: 3
|
|
@@ -12796,7 +12796,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12796
12796
|
]),
|
|
12797
12797
|
_: 1
|
|
12798
12798
|
}, 8, ["modelValue", "thumbnails", "class"]),
|
|
12799
|
-
C(
|
|
12799
|
+
C(S(qs), {
|
|
12800
12800
|
class: "absolute top-4 right-4 cursor-pointer text-white w-8 h-8",
|
|
12801
12801
|
onClick: c[1] || (c[1] = (p) => u.$emit("close"))
|
|
12802
12802
|
})
|
|
@@ -12841,10 +12841,10 @@ const qs = { render: cv }, P3 = {
|
|
|
12841
12841
|
}, {
|
|
12842
12842
|
default: O(() => [
|
|
12843
12843
|
P("div", {
|
|
12844
|
-
class: G(["flex justify-center min-w-xs",
|
|
12844
|
+
class: G(["flex justify-center min-w-xs", S(i)])
|
|
12845
12845
|
}, [
|
|
12846
12846
|
t.closeable ? d_((m(), x("div", Hv, [
|
|
12847
|
-
C(
|
|
12847
|
+
C(S(qs), { class: "w-5 h-5" })
|
|
12848
12848
|
])), [
|
|
12849
12849
|
[u]
|
|
12850
12850
|
]) : $("", !0),
|
|
@@ -12955,7 +12955,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12955
12955
|
class: "absolute top-0 right-0 p-4 text-black",
|
|
12956
12956
|
onClick: r
|
|
12957
12957
|
}, [
|
|
12958
|
-
C(
|
|
12958
|
+
C(S(Hd), { class: "w-5" })
|
|
12959
12959
|
])
|
|
12960
12960
|
]),
|
|
12961
12961
|
_: 3
|
|
@@ -12983,7 +12983,7 @@ const qs = { render: cv }, P3 = {
|
|
|
12983
12983
|
const n = z(t.input);
|
|
12984
12984
|
return (r, i) => {
|
|
12985
12985
|
const o = U("QInput");
|
|
12986
|
-
return m(), I(
|
|
12986
|
+
return m(), I(S(Pi), Jt(r.$props, {
|
|
12987
12987
|
onConfirm: i[2] || (i[2] = (s) => r.$emit("confirm", n.value)),
|
|
12988
12988
|
onClose: i[3] || (i[3] = (s) => r.$emit("close", s))
|
|
12989
12989
|
}), {
|
|
@@ -13322,7 +13322,7 @@ const qs = { render: cv }, P3 = {
|
|
|
13322
13322
|
}, 2e3));
|
|
13323
13323
|
}
|
|
13324
13324
|
return (y, b) => {
|
|
13325
|
-
const T = U("QImg"), E = U("QLinearProgress"),
|
|
13325
|
+
const T = U("QImg"), E = U("QLinearProgress"), w = U("QBtn");
|
|
13326
13326
|
return m(), x("div", {
|
|
13327
13327
|
class: G(["relative flex justify-center", { "rounded-2xl": !t.square }])
|
|
13328
13328
|
}, [
|
|
@@ -13344,7 +13344,7 @@ const qs = { render: cv }, P3 = {
|
|
|
13344
13344
|
P("button", {
|
|
13345
13345
|
class: G(y.cls["play-button"])
|
|
13346
13346
|
}, [
|
|
13347
|
-
C(
|
|
13347
|
+
C(S(xx), { class: "w-16" })
|
|
13348
13348
|
], 2)
|
|
13349
13349
|
])) : $("", !0),
|
|
13350
13350
|
f.value || _.value ? (m(), I(T, {
|
|
@@ -13355,10 +13355,10 @@ const qs = { render: cv }, P3 = {
|
|
|
13355
13355
|
preload: "auto",
|
|
13356
13356
|
"data-testid": "previewed-image"
|
|
13357
13357
|
}, null, 8, ["fit", "src"])) : (m(), x("div", T2, [
|
|
13358
|
-
c.value ? (m(), I(
|
|
13358
|
+
c.value ? (m(), I(S(Wx), {
|
|
13359
13359
|
key: 0,
|
|
13360
13360
|
class: "w-24"
|
|
13361
|
-
})) : (m(), I(
|
|
13361
|
+
})) : (m(), I(S(_x), {
|
|
13362
13362
|
key: 1,
|
|
13363
13363
|
class: "w-24"
|
|
13364
13364
|
}))
|
|
@@ -13383,25 +13383,25 @@ const qs = { render: cv }, P3 = {
|
|
|
13383
13383
|
])
|
|
13384
13384
|
], 2),
|
|
13385
13385
|
P("div", I2, [
|
|
13386
|
-
t.downloadable && p.value ? (m(), I(
|
|
13386
|
+
t.downloadable && p.value ? (m(), I(w, {
|
|
13387
13387
|
key: 0,
|
|
13388
13388
|
size: "sm",
|
|
13389
13389
|
class: G(["!p-1 opacity-70 hover:opacity-100", t.downloadButtonClass]),
|
|
13390
|
-
onClick: b[1] || (b[1] = tn((v) =>
|
|
13390
|
+
onClick: b[1] || (b[1] = tn((v) => S(Ms)(p.value), ["stop"]))
|
|
13391
13391
|
}, {
|
|
13392
13392
|
default: O(() => [
|
|
13393
|
-
C(
|
|
13393
|
+
C(S(hx), { class: "w-4 h-5" })
|
|
13394
13394
|
]),
|
|
13395
13395
|
_: 1
|
|
13396
13396
|
}, 8, ["class"])) : $("", !0),
|
|
13397
|
-
t.removable ? (m(), I(
|
|
13397
|
+
t.removable ? (m(), I(w, {
|
|
13398
13398
|
key: 1,
|
|
13399
13399
|
size: "sm",
|
|
13400
13400
|
class: "bg-red-900 text-white !p-1 opacity-50 hover:opacity-100",
|
|
13401
13401
|
onClick: tn(g, ["stop"])
|
|
13402
13402
|
}, {
|
|
13403
13403
|
default: O(() => [
|
|
13404
|
-
h.value ? (m(), x("div", C2, " ? ")) : (m(), I(
|
|
13404
|
+
h.value ? (m(), x("div", C2, " ? ")) : (m(), I(S(Qd), {
|
|
13405
13405
|
key: 1,
|
|
13406
13406
|
class: "w-3"
|
|
13407
13407
|
}))
|
|
@@ -13412,7 +13412,7 @@ const qs = { render: cv }, P3 = {
|
|
|
13412
13412
|
P("div", k2, [
|
|
13413
13413
|
j(y.$slots, "below")
|
|
13414
13414
|
]),
|
|
13415
|
-
i.value && !t.disabled ? (m(), I(
|
|
13415
|
+
i.value && !t.disabled ? (m(), I(S(jv), {
|
|
13416
13416
|
key: 0,
|
|
13417
13417
|
files: t.relatedFiles || [o.value],
|
|
13418
13418
|
"default-slide": o.value.id,
|
|
@@ -13521,7 +13521,7 @@ const qs = { render: cv }, P3 = {
|
|
|
13521
13521
|
return (e, n) => {
|
|
13522
13522
|
var r;
|
|
13523
13523
|
return m(), x("div", B2, [
|
|
13524
|
-
C(
|
|
13524
|
+
C(S(Sx), {
|
|
13525
13525
|
class: G(["mr-1 ml-[-.2em]", t.iconClass])
|
|
13526
13526
|
}, null, 8, ["class"]),
|
|
13527
13527
|
(r = t.location) != null && r.latitude ? (m(), x("div", z2, N(t.location.latitude.toFixed(t.decimals)) + ", " + N(t.location.longitude.toFixed(t.decimals)), 1)) : (m(), x(H, { key: 1 }, [
|
|
@@ -13901,7 +13901,7 @@ const qs = { render: cv }, P3 = {
|
|
|
13901
13901
|
class: G(["absolute top-0 right-0 cursor-pointer p-2", t.toggleClass]),
|
|
13902
13902
|
onClick: s
|
|
13903
13903
|
}, [
|
|
13904
|
-
C(
|
|
13904
|
+
C(S(Ya), {
|
|
13905
13905
|
class: G(["w-5 transition-all", { "rotate-180": t.rightSide ? !i.value : i.value }])
|
|
13906
13906
|
}, null, 8, ["class"])
|
|
13907
13907
|
], 2)) : (m(), x("div", {
|
|
@@ -13914,7 +13914,7 @@ const qs = { render: cv }, P3 = {
|
|
|
13914
13914
|
onClick: s
|
|
13915
13915
|
}, {
|
|
13916
13916
|
default: O(() => [
|
|
13917
|
-
C(
|
|
13917
|
+
C(S(Ya), {
|
|
13918
13918
|
class: G(["w-5 transition-all", { "rotate-180": t.rightSide ? !i.value : i.value }])
|
|
13919
13919
|
}, null, 8, ["class"])
|
|
13920
13920
|
]),
|
|
@@ -14236,12 +14236,12 @@ const Dr = Jd, Gw = {
|
|
|
14236
14236
|
e.value = !0, await Gn.value.confirm(r), e.value = !1;
|
|
14237
14237
|
}
|
|
14238
14238
|
return (r, i) => (m(), x("div", null, [
|
|
14239
|
-
|
|
14239
|
+
S(Gn) ? (m(), I(S(Dr), {
|
|
14240
14240
|
key: 0,
|
|
14241
|
-
vnode:
|
|
14241
|
+
vnode: S(Gn).vnode,
|
|
14242
14242
|
"is-saving": e.value,
|
|
14243
14243
|
onConfirm: n,
|
|
14244
|
-
onClose:
|
|
14244
|
+
onClose: S(Gn).cancel
|
|
14245
14245
|
}, null, 8, ["vnode", "is-saving", "onClose"])) : $("", !0)
|
|
14246
14246
|
]));
|
|
14247
14247
|
}
|
|
@@ -14326,10 +14326,10 @@ const Dr = Jd, Gw = {
|
|
|
14326
14326
|
duration: 150
|
|
14327
14327
|
}, {
|
|
14328
14328
|
default: O(() => [
|
|
14329
|
-
t.loading ? (m(), I(
|
|
14329
|
+
t.loading ? (m(), I(S(Vw), {
|
|
14330
14330
|
key: 0,
|
|
14331
14331
|
component: t.loadingComponent
|
|
14332
|
-
}, null, 8, ["component"])) : (m(), I(
|
|
14332
|
+
}, null, 8, ["component"])) : (m(), I(S(mx), {
|
|
14333
14333
|
key: 1,
|
|
14334
14334
|
class: "w-4 text-black"
|
|
14335
14335
|
}))
|
|
@@ -14483,10 +14483,10 @@ const Dr = Jd, Gw = {
|
|
|
14483
14483
|
P("div", Ww, [
|
|
14484
14484
|
P("div", Yw, N(t.label), 1),
|
|
14485
14485
|
P("div", null, [
|
|
14486
|
-
t.overdue ? (m(), I(
|
|
14486
|
+
t.overdue ? (m(), I(S(Wd), {
|
|
14487
14487
|
key: 0,
|
|
14488
14488
|
class: G(["w-5 ml-2", t.isActive ? "text-white" : "text-red-400"])
|
|
14489
|
-
}, null, 8, ["class"])) : t.warning ? (m(), I(
|
|
14489
|
+
}, null, 8, ["class"])) : t.warning ? (m(), I(S(av), {
|
|
14490
14490
|
key: 1,
|
|
14491
14491
|
class: "text-yellow-600 w-5"
|
|
14492
14492
|
})) : $("", !0)
|
|
@@ -14811,7 +14811,7 @@ var tt = {
|
|
|
14811
14811
|
edges: 0.5,
|
|
14812
14812
|
end: 1
|
|
14813
14813
|
}[i] || 0 : !l && a && (c = i[0], d = i[1]), function(f, _, p) {
|
|
14814
|
-
var h = (p || n).length, g = s[h], y, b, T, E,
|
|
14814
|
+
var h = (p || n).length, g = s[h], y, b, T, E, w, v, k, F, A;
|
|
14815
14815
|
if (!g) {
|
|
14816
14816
|
if (A = n.grid === "auto" ? 0 : (n.grid || [1, at])[1], !A) {
|
|
14817
14817
|
for (k = -at; k < (k = p[A++].getBoundingClientRect().left) && A < h; )
|
|
@@ -14819,7 +14819,7 @@ var tt = {
|
|
|
14819
14819
|
A < h && A--;
|
|
14820
14820
|
}
|
|
14821
14821
|
for (g = s[h] = [], y = a ? Math.min(A, h) * c - 0.5 : i % A, b = A === at ? 0 : a ? h * d / A - 0.5 : i / A | 0, k = 0, F = at, v = 0; v < h; v++)
|
|
14822
|
-
T = v % A - y, E = b - (v / A | 0), g[v] =
|
|
14822
|
+
T = v % A - y, E = b - (v / A | 0), g[v] = w = u ? Math.abs(u === "y" ? E : T) : tf(T * T + E * E), w > k && (k = w), w < F && (F = w);
|
|
14823
14823
|
i === "random" && yf(g), g.max = k - F, g.min = F, g.v = h = (parseFloat(n.amount) || parseFloat(n.each) * (A > h ? h - 1 : u ? u === "y" ? h / A : A : Math.max(A, h / A)) || 0) * (i === "edges" ? -1 : 1), g.b = h < 0 ? o - h : o, g.u = Le(n.amount || n.each) || 0, r = r && h < 0 ? Pf(r) : r;
|
|
14824
14824
|
}
|
|
14825
14825
|
return h = (g[f] - g.min) / g.max || 0, me(g.b + (r ? r(h) : h) * g.v) + g.u;
|
|
@@ -15020,10 +15020,10 @@ var tt = {
|
|
|
15020
15020
|
return r = T4.test(n), e[1] = ru(e[1], r), e[0] = ru(e[0], r, kf(e[1])), !0;
|
|
15021
15021
|
}, Rr, Qe = function() {
|
|
15022
15022
|
var t = Date.now, e = 500, n = 33, r = t(), i = r, o = 1e3 / 240, s = o, l = [], a, u, c, d, f, _, p = function h(g) {
|
|
15023
|
-
var y = t() - i, b = g === !0, T, E,
|
|
15024
|
-
if ((y > e || y < 0) && (r += y - n), i += y,
|
|
15023
|
+
var y = t() - i, b = g === !0, T, E, w, v;
|
|
15024
|
+
if ((y > e || y < 0) && (r += y - n), i += y, w = i - r, T = w - s, (T > 0 || b) && (v = ++d.frame, f = w - d.time * 1e3, d.time = w = w / 1e3, s += T + (T >= o ? 4 : o - T), E = 1), b || (a = u(h)), E)
|
|
15025
15025
|
for (_ = 0; _ < l.length; _++)
|
|
15026
|
-
l[_](
|
|
15026
|
+
l[_](w, f, v, g);
|
|
15027
15027
|
};
|
|
15028
15028
|
return d = {
|
|
15029
15029
|
time: 0,
|
|
@@ -15049,8 +15049,8 @@ var tt = {
|
|
|
15049
15049
|
o = 1e3 / (g || 240), s = d.time * 1e3 + o;
|
|
15050
15050
|
},
|
|
15051
15051
|
add: function(g, y, b) {
|
|
15052
|
-
var T = y ? function(E,
|
|
15053
|
-
g(E,
|
|
15052
|
+
var T = y ? function(E, w, v, k) {
|
|
15053
|
+
g(E, w, v, k), d.remove(T);
|
|
15054
15054
|
} : g;
|
|
15055
15055
|
return d.remove(g), l[b ? "unshift" : "push"](T), ir(), T;
|
|
15056
15056
|
},
|
|
@@ -15315,21 +15315,21 @@ var ze = /* @__PURE__ */ function(t) {
|
|
|
15315
15315
|
}, n.staggerFromTo = function(i, o, s, l, a, u, c, d) {
|
|
15316
15316
|
return l.startAt = s, Ir(l).immediateRender = qe(l.immediateRender), this.staggerTo(i, o, l, a, u, c, d);
|
|
15317
15317
|
}, n.render = function(i, o, s) {
|
|
15318
|
-
var l = this._time, a = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, c = i <= 0 ? 0 : me(i), d = this._zTime < 0 != i < 0 && (this._initted || !u), f, _, p, h, g, y, b, T, E,
|
|
15318
|
+
var l = this._time, a = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, c = i <= 0 ? 0 : me(i), d = this._zTime < 0 != i < 0 && (this._initted || !u), f, _, p, h, g, y, b, T, E, w, v, k;
|
|
15319
15319
|
if (this !== he && c > a && i >= 0 && (c = a), c !== this._tTime || s || d) {
|
|
15320
15320
|
if (l !== this._time && u && (c += this._time - l, i += this._time - l), f = c, E = this._start, T = this._ts, y = !T, d && (u || (l = this._zTime), (i || !o) && (this._zTime = i)), this._repeat) {
|
|
15321
15321
|
if (v = this._yoyo, g = u + this._rDelay, this._repeat < -1 && i < 0)
|
|
15322
15322
|
return this.totalTime(g * 100 + i, o, s);
|
|
15323
|
-
if (f = me(c % g), c === a ? (h = this._repeat, f = u) : (
|
|
15324
|
-
var F = v &&
|
|
15325
|
-
if (h <
|
|
15323
|
+
if (f = me(c % g), c === a ? (h = this._repeat, f = u) : (w = me(c / g), h = ~~w, h && h === w && (f = u, h--), f > u && (f = u)), w = nr(this._tTime, g), !l && this._tTime && w !== h && this._tTime - w * g - this._dur <= 0 && (w = h), v && h & 1 && (f = u - f, k = 1), h !== w && !this._lock) {
|
|
15324
|
+
var F = v && w & 1, A = F === (v && h & 1);
|
|
15325
|
+
if (h < w && (F = !F), l = F ? 0 : c % u ? u : c, this._lock = 1, this.render(l || (k ? 0 : me(h * g)), o, !u)._lock = 0, this._tTime = c, !o && this.parent && Ke(this, "onRepeat"), this.vars.repeatRefresh && !k && (this.invalidate()._lock = 1, w = h), l && l !== this._time || y !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
|
|
15326
15326
|
return this;
|
|
15327
15327
|
if (u = this._dur, a = this._tDur, A && (this._lock = 2, l = F ? u : -1e-4, this.render(l, !0), this.vars.repeatRefresh && !k && this.invalidate()), this._lock = 0, !this._ts && !y)
|
|
15328
15328
|
return this;
|
|
15329
15329
|
Af(this, k);
|
|
15330
15330
|
}
|
|
15331
15331
|
}
|
|
15332
|
-
if (this._hasPause && !this._forcing && this._lock < 2 && (b = m4(this, me(l), me(f)), b && (c -= f - (f = b._start))), this._tTime = c, this._time = f, this._act = !T, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = i, l = 0), !l && c && u && !o && !
|
|
15332
|
+
if (this._hasPause && !this._forcing && this._lock < 2 && (b = m4(this, me(l), me(f)), b && (c -= f - (f = b._start))), this._tTime = c, this._time = f, this._act = !T, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = i, l = 0), !l && c && u && !o && !w && (Ke(this, "onStart"), this._tTime !== c))
|
|
15333
15333
|
return this;
|
|
15334
15334
|
if (f >= l && i >= 0)
|
|
15335
15335
|
for (_ = this._first; _; ) {
|
|
@@ -15518,9 +15518,9 @@ var P4 = function(e, n, r, i, o, s, l) {
|
|
|
15518
15518
|
u[l._props[c]] = a;
|
|
15519
15519
|
return l;
|
|
15520
15520
|
}, Ht, bs, tl = function t(e, n, r) {
|
|
15521
|
-
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, f = i.keyframes, _ = i.autoRevert, p = e._dur, h = e._startAt, g = e._targets, y = e.parent, b = y && y.data === "nested" ? y.vars.targets : g, T = e._overwrite === "auto" && !Zs, E = e.timeline,
|
|
15521
|
+
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, f = i.keyframes, _ = i.autoRevert, p = e._dur, h = e._startAt, g = e._targets, y = e.parent, b = y && y.data === "nested" ? y.vars.targets : g, T = e._overwrite === "auto" && !Zs, E = e.timeline, w, v, k, F, A, R, J, ee, se, fe, be, V, q;
|
|
15522
15522
|
if (E && (!f || !o) && (o = "none"), e._ease = Tn(o, er.ease), e._yEase = d ? Pf(Tn(d === !0 ? o : d, er.ease)) : 0, d && e._yoyo && !e._repeat && (d = e._yEase, e._yEase = e._ease, e._ease = d), e._from = !E && !!i.runBackwards, !E || f && !i.stagger) {
|
|
15523
|
-
if (ee = g[0] ? wn(g[0]).harness : 0, V = ee && i[ee.prop],
|
|
15523
|
+
if (ee = g[0] ? wn(g[0]).harness : 0, V = ee && i[ee.prop], w = Ni(i, Xs), h && (h._zTime < 0 && h.progress(1), n < 0 && c && l && !_ ? h.render(-1, !0) : h.revert(c && p ? _i : o4), h._lazy = 0), s) {
|
|
15524
15524
|
if (nn(e._startAt = Ce.set(g, rt({
|
|
15525
15525
|
data: "isStart",
|
|
15526
15526
|
overwrite: !1,
|
|
@@ -15548,17 +15548,17 @@ var P4 = function(e, n, r, i, o, s, l) {
|
|
|
15548
15548
|
stagger: 0,
|
|
15549
15549
|
parent: y
|
|
15550
15550
|
//ensures that nested tweens that had a stagger are handled properly, like gsap.from(".class", {y: gsap.utils.wrap([-100,100]), stagger: 0.5})
|
|
15551
|
-
},
|
|
15551
|
+
}, w), V && (k[ee.prop] = V), nn(e._startAt = Ce.set(g, k)), e._startAt._dp = 0, e._startAt._sat = e, n < 0 && (Oe ? e._startAt.revert(_i) : e._startAt.render(-1, !0)), e._zTime = n, !l)
|
|
15552
15552
|
t(e._startAt, de, de);
|
|
15553
15553
|
else if (!n)
|
|
15554
15554
|
return;
|
|
15555
15555
|
}
|
|
15556
15556
|
for (e._pt = e._ptCache = 0, a = p && qe(a) || a && !p, v = 0; v < g.length; v++) {
|
|
15557
|
-
if (A = g[v], J = A._gsap || Ks(g)[v]._gsap, e._ptLookup[v] = fe = {}, fs[J.id] && Qt.length && Oi(), be = b === g ? v : b.indexOf(A), ee && (se = new ee()).init(A, V ||
|
|
15557
|
+
if (A = g[v], J = A._gsap || Ks(g)[v]._gsap, e._ptLookup[v] = fe = {}, fs[J.id] && Qt.length && Oi(), be = b === g ? v : b.indexOf(A), ee && (se = new ee()).init(A, V || w, e, be, b) !== !1 && (e._pt = F = new je(e._pt, A, se.name, 0, 1, se.render, se, 0, se.priority), se._props.forEach(function(te) {
|
|
15558
15558
|
fe[te] = F;
|
|
15559
15559
|
}), se.priority && (R = 1)), !ee || V)
|
|
15560
|
-
for (k in
|
|
15561
|
-
Xe[k] && (se = Df(k,
|
|
15560
|
+
for (k in w)
|
|
15561
|
+
Xe[k] && (se = Df(k, w, e, be, A, b)) ? se.priority && (R = 1) : fe[k] = F = el.call(e, A, k, "get", w[k], be, b, 0, i.stringFilter);
|
|
15562
15562
|
e._op && e._op[v] && e.kill(A, e._op[v]), T && e._pt && (Ht = e, he.killTweensOf(A, fe, e.globalTime(n)), q = !e.parent, Ht = 0), e._pt && a && (fs[J.id] = 1);
|
|
15563
15563
|
}
|
|
15564
15564
|
R && Bf(e), e._onInit && e._onInit(e);
|
|
@@ -15615,7 +15615,7 @@ var Ce = /* @__PURE__ */ function(t) {
|
|
|
15615
15615
|
function e(r, i, o, s) {
|
|
15616
15616
|
var l;
|
|
15617
15617
|
typeof i == "number" && (o.duration = i, i = o, o = null), l = t.call(this, s ? i : Ir(i)) || this;
|
|
15618
|
-
var a = l.vars, u = a.duration, c = a.delay, d = a.immediateRender, f = a.stagger, _ = a.overwrite, p = a.keyframes, h = a.defaults, g = a.scrollTrigger, y = a.yoyoEase, b = i.parent || he, T = (Re(r) || nf(r) ? Rt(r[0]) : "length" in i) ? [r] : ut(r), E,
|
|
15618
|
+
var a = l.vars, u = a.duration, c = a.delay, d = a.immediateRender, f = a.stagger, _ = a.overwrite, p = a.keyframes, h = a.defaults, g = a.scrollTrigger, y = a.yoyoEase, b = i.parent || he, T = (Re(r) || nf(r) ? Rt(r[0]) : "length" in i) ? [r] : ut(r), E, w, v, k, F, A, R, J;
|
|
15619
15619
|
if (l._targets = T.length ? Ks(T) : Mr("GSAP target " + r + " not found. https://gsap.com", !tt.nullTargetWarn) || [], l._ptLookup = [], l._overwrite = _, p || f || oi(u) || oi(c)) {
|
|
15620
15620
|
if (i = l.vars, E = l.timeline = new ze({
|
|
15621
15621
|
data: "nested",
|
|
@@ -15625,8 +15625,8 @@ var Ce = /* @__PURE__ */ function(t) {
|
|
|
15625
15625
|
if (k = T.length, R = f && xf(f), kt(f))
|
|
15626
15626
|
for (F in f)
|
|
15627
15627
|
~Mf.indexOf(F) && (J || (J = {}), J[F] = f[F]);
|
|
15628
|
-
for (
|
|
15629
|
-
v = Ni(i, $f), v.stagger = 0, y && (v.yoyoEase = y), J && tr(v, J), A = T[
|
|
15628
|
+
for (w = 0; w < k; w++)
|
|
15629
|
+
v = Ni(i, $f), v.stagger = 0, y && (v.yoyoEase = y), J && tr(v, J), A = T[w], v.duration = +kr(u, Nt(l), w, A, T), v.delay = (+kr(c, Nt(l), w, A, T) || 0) - l._delay, !f && k === 1 && v.delay && (l._delay = c = v.delay, l._start += c, v.delay = 0), E.to(A, v, R ? R(w, A, T) : 0), E._ease = ne.none;
|
|
15630
15630
|
E.duration() ? u = c = 0 : l.timeline = 0;
|
|
15631
15631
|
} else if (p) {
|
|
15632
15632
|
Ir(rt(E.vars.defaults, {
|
|
@@ -15644,10 +15644,10 @@ var Ce = /* @__PURE__ */ function(t) {
|
|
|
15644
15644
|
for (F in v)
|
|
15645
15645
|
for (se = v[F].sort(function(V, q) {
|
|
15646
15646
|
return V.t - q.t;
|
|
15647
|
-
}), ee = 0,
|
|
15648
|
-
fe = se[
|
|
15647
|
+
}), ee = 0, w = 0; w < se.length; w++)
|
|
15648
|
+
fe = se[w], be = {
|
|
15649
15649
|
ease: fe.e,
|
|
15650
|
-
duration: (fe.t - (
|
|
15650
|
+
duration: (fe.t - (w ? se[w - 1].t : 0)) / 100 * u
|
|
15651
15651
|
}, be[F] = fe.v, E.to(T, be, ee), ee += be.duration;
|
|
15652
15652
|
E.duration() < u && E.to({}, {
|
|
15653
15653
|
duration: u - E.duration()
|
|
@@ -16295,8 +16295,8 @@ var ou, Wt, Xn, ol, yn, su, sl, j4 = function() {
|
|
|
16295
16295
|
var o = or(n, e, 1), s = o && Je(e, o, 1);
|
|
16296
16296
|
s && s !== r ? (n = o, r = s) : n === "borderColor" && (r = Je(e, "borderTopColor"));
|
|
16297
16297
|
}
|
|
16298
|
-
var l = new je(this._pt, e.style, n, 0, 1, Uf), a = 0, u = 0, c, d, f, _, p, h, g, y, b, T, E,
|
|
16299
|
-
if (l.b = r, l.e = i, r += "", i += "", i.substring(0, 6) === "var(--" && (i = Je(e, i.substring(4, i.indexOf(")")))), i === "auto" && (h = e.style[n], e.style[n] = i, i = Je(e, n) || i, h ? e.style[n] = h : rn(e, n)), c = [r, i], Ff(c), r = c[0], i = c[1], f = r.match(qn) || [],
|
|
16298
|
+
var l = new je(this._pt, e.style, n, 0, 1, Uf), a = 0, u = 0, c, d, f, _, p, h, g, y, b, T, E, w;
|
|
16299
|
+
if (l.b = r, l.e = i, r += "", i += "", i.substring(0, 6) === "var(--" && (i = Je(e, i.substring(4, i.indexOf(")")))), i === "auto" && (h = e.style[n], e.style[n] = i, i = Je(e, n) || i, h ? e.style[n] = h : rn(e, n)), c = [r, i], Ff(c), r = c[0], i = c[1], f = r.match(qn) || [], w = i.match(qn) || [], w.length) {
|
|
16300
16300
|
for (; d = qn.exec(i); )
|
|
16301
16301
|
g = d[0], b = i.substring(a, d.index), p ? p = (p + 1) % 5 : (b.substr(-5) === "rgba(" || b.substr(-5) === "hsla(") && (p = 1), g !== (h = f[u++] || "") && (_ = parseFloat(h) || 0, E = h.substr((_ + "").length), g.charAt(1) === "=" && (g = Yn(_, g) + E), y = parseFloat(g), T = g.substr((y + "").length), a = qn.lastIndex - T.length, T || (T = T || tt.units[n] || E, a === i.length && (i += T, l.e += T)), E !== T && (_ = on(e, n, h, T) || 0), l._pt = {
|
|
16302
16302
|
_next: l._pt,
|
|
@@ -16408,14 +16408,14 @@ var ou, Wt, Xn, ol, yn, su, sl, j4 = function() {
|
|
|
16408
16408
|
var r = e._gsap || wn(e), i = e.style, o = _u(e), s, l, a, u;
|
|
16409
16409
|
return r.svg && e.getAttribute("transform") ? (a = e.transform.baseVal.consolidate().matrix, o = [a.a, a.b, a.c, a.d, a.e, a.f], o.join(",") === "1,0,0,1,0,0" ? Br : o) : (o === Br && !e.offsetParent && e !== Xn && !r.svg && (a = i.display, i.display = "block", s = e.parentNode, (!s || !e.offsetParent && !e.getBoundingClientRect().width) && (u = 1, l = e.nextElementSibling, Xn.appendChild(e)), o = _u(e), a ? i.display = a : rn(e, "display"), u && (l ? s.insertBefore(e, l) : s ? s.appendChild(e) : Xn.removeChild(e))), n && o.length > 6 ? [o[0], o[1], o[4], o[5], o[12], o[13]] : o);
|
|
16410
16410
|
}, Ss = function(e, n, r, i, o, s) {
|
|
16411
|
-
var l = e._gsap, a = o || al(e, !0), u = l.xOrigin || 0, c = l.yOrigin || 0, d = l.xOffset || 0, f = l.yOffset || 0, _ = a[0], p = a[1], h = a[2], g = a[3], y = a[4], b = a[5], T = n.split(" "), E = parseFloat(T[0]) || 0,
|
|
16412
|
-
r ? a !== Br && (k = _ * g - p * h) && (F = E * (g / k) +
|
|
16411
|
+
var l = e._gsap, a = o || al(e, !0), u = l.xOrigin || 0, c = l.yOrigin || 0, d = l.xOffset || 0, f = l.yOffset || 0, _ = a[0], p = a[1], h = a[2], g = a[3], y = a[4], b = a[5], T = n.split(" "), E = parseFloat(T[0]) || 0, w = parseFloat(T[1]) || 0, v, k, F, A;
|
|
16412
|
+
r ? a !== Br && (k = _ * g - p * h) && (F = E * (g / k) + w * (-h / k) + (h * b - g * y) / k, A = E * (-p / k) + w * (_ / k) - (_ * b - p * y) / k, E = F, w = A) : (v = Hf(e), E = v.x + (~T[0].indexOf("%") ? E / 100 * v.width : E), w = v.y + (~(T[1] || T[0]).indexOf("%") ? w / 100 * v.height : w)), i || i !== !1 && l.smooth ? (y = E - u, b = w - c, l.xOffset = d + (y * _ + b * h) - y, l.yOffset = f + (y * p + b * g) - b) : l.xOffset = l.yOffset = 0, l.xOrigin = E, l.yOrigin = w, l.smooth = !!i, l.origin = n, l.originIsAbsolute = !!r, e.style[He] = "0px 0px", s && (Yt(s, l, "xOrigin", u, E), Yt(s, l, "yOrigin", c, w), Yt(s, l, "xOffset", d, l.xOffset), Yt(s, l, "yOffset", f, l.yOffset)), e.setAttribute("data-svg-origin", E + " " + w);
|
|
16413
16413
|
}, zr = function(e, n) {
|
|
16414
16414
|
var r = e._gsap || new Nf(e);
|
|
16415
16415
|
if ("x" in r && !n && !r.uncache)
|
|
16416
16416
|
return r;
|
|
16417
|
-
var i = e.style, o = r.scaleX < 0, s = "px", l = "deg", a = getComputedStyle(e), u = Je(e, He) || "0", c, d, f, _, p, h, g, y, b, T, E,
|
|
16418
|
-
return c = d = f = h = g = y = b = T = E = 0, _ = p = 1, r.svg = !!(e.getCTM && Wf(e)), a.translate && ((a.translate !== "none" || a.scale !== "none" || a.rotate !== "none") && (i[ge] = (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[ge] !== "none" ? a[ge] : "")), i.scale = i.rotate = i.translate = "none"), k = al(e, r.svg), r.svg && (r.uncache ? (te = e.getBBox(), u = r.xOrigin - te.x + "px " + (r.yOrigin - te.y) + "px", q = "") : q = !n && e.getAttribute("data-svg-origin"), Ss(e, q || u, !!q || r.originIsAbsolute, r.smooth !== !1, k)),
|
|
16417
|
+
var i = e.style, o = r.scaleX < 0, s = "px", l = "deg", a = getComputedStyle(e), u = Je(e, He) || "0", c, d, f, _, p, h, g, y, b, T, E, w, v, k, F, A, R, J, ee, se, fe, be, V, q, te, Te, ke, ft, xt, Wr, _t, Pt;
|
|
16418
|
+
return c = d = f = h = g = y = b = T = E = 0, _ = p = 1, r.svg = !!(e.getCTM && Wf(e)), a.translate && ((a.translate !== "none" || a.scale !== "none" || a.rotate !== "none") && (i[ge] = (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[ge] !== "none" ? a[ge] : "")), i.scale = i.rotate = i.translate = "none"), k = al(e, r.svg), r.svg && (r.uncache ? (te = e.getBBox(), u = r.xOrigin - te.x + "px " + (r.yOrigin - te.y) + "px", q = "") : q = !n && e.getAttribute("data-svg-origin"), Ss(e, q || u, !!q || r.originIsAbsolute, r.smooth !== !1, k)), w = r.xOrigin || 0, v = r.yOrigin || 0, k !== Br && (J = k[0], ee = k[1], se = k[2], fe = k[3], c = be = k[4], d = V = k[5], k.length === 6 ? (_ = Math.sqrt(J * J + ee * ee), p = Math.sqrt(fe * fe + se * se), h = J || ee ? Rn(ee, J) * pn : 0, b = se || fe ? Rn(se, fe) * pn + h : 0, b && (p *= Math.abs(Math.cos(b * Qn))), r.svg && (c -= w - (w * J + v * se), d -= v - (w * ee + v * fe))) : (Pt = k[6], Wr = k[7], ke = k[8], ft = k[9], xt = k[10], _t = k[11], c = k[12], d = k[13], f = k[14], F = Rn(Pt, xt), g = F * pn, F && (A = Math.cos(-F), R = Math.sin(-F), q = be * A + ke * R, te = V * A + ft * R, Te = Pt * A + xt * R, ke = be * -R + ke * A, ft = V * -R + ft * A, xt = Pt * -R + xt * A, _t = Wr * -R + _t * A, be = q, V = te, Pt = Te), F = Rn(-se, xt), y = F * pn, F && (A = Math.cos(-F), R = Math.sin(-F), q = J * A - ke * R, te = ee * A - ft * R, Te = se * A - xt * R, _t = fe * R + _t * A, J = q, ee = te, se = Te), F = Rn(ee, J), h = F * pn, F && (A = Math.cos(F), R = Math.sin(F), q = J * A + ee * R, te = be * A + V * R, ee = ee * A - J * R, V = V * A - be * R, J = q, be = te), g && Math.abs(g) + Math.abs(h) > 359.9 && (g = h = 0, y = 180 - y), _ = Se(Math.sqrt(J * J + ee * ee + se * se)), p = Se(Math.sqrt(V * V + Pt * Pt)), F = Rn(be, V), b = Math.abs(F) > 2e-4 ? F * pn : 0, E = _t ? 1 / (_t < 0 ? -_t : _t) : 0), r.svg && (q = e.getAttribute("transform"), r.forceCSS = e.setAttribute("transform", "") || !Xf(Je(e, ge)), q && e.setAttribute("transform", q))), Math.abs(b) > 90 && Math.abs(b) < 270 && (o ? (_ *= -1, b += h <= 0 ? 180 : -180, h += h <= 0 ? 180 : -180) : (p *= -1, b += b <= 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 = f + s, r.scaleX = Se(_), r.scaleY = Se(p), r.rotation = Se(h) + l, r.rotationX = Se(g) + l, r.rotationY = Se(y) + l, r.skewX = b + l, r.skewY = T + l, r.transformPerspective = E + s, (r.zOrigin = parseFloat(u.split(" ")[2]) || !n && r.zOrigin || 0) && (i[He] = Li(u)), r.xOffset = r.yOffset = 0, r.force3D = tt.force3D, r.renderTransform = r.svg ? fS : jf ? Qf : dS, r.uncache = 0, r;
|
|
16419
16419
|
}, Li = function(e) {
|
|
16420
16420
|
return (e = e.split(" "))[0] + " " + e[1];
|
|
16421
16421
|
}, ko = function(e, n, r) {
|
|
@@ -16424,15 +16424,15 @@ var ou, Wt, Xn, ol, yn, su, sl, j4 = function() {
|
|
|
16424
16424
|
}, dS = function(e, n) {
|
|
16425
16425
|
n.z = "0px", n.rotationY = n.rotationX = "0deg", n.force3D = 0, Qf(e, n);
|
|
16426
16426
|
}, _n = "0deg", gr = "0px", mn = ") ", Qf = function(e, n) {
|
|
16427
|
-
var r = n || this, i = r.xPercent, o = r.yPercent, s = r.x, l = r.y, a = r.z, u = r.rotation, c = r.rotationY, d = r.rotationX, f = r.skewX, _ = r.skewY, p = r.scaleX, h = r.scaleY, g = r.transformPerspective, y = r.force3D, b = r.target, T = r.zOrigin, E = "",
|
|
16427
|
+
var r = n || this, i = r.xPercent, o = r.yPercent, s = r.x, l = r.y, a = r.z, u = r.rotation, c = r.rotationY, d = r.rotationX, f = r.skewX, _ = r.skewY, p = r.scaleX, h = r.scaleY, g = r.transformPerspective, y = r.force3D, b = r.target, T = r.zOrigin, E = "", w = y === "auto" && e && e !== 1 || y === !0;
|
|
16428
16428
|
if (T && (d !== _n || c !== _n)) {
|
|
16429
16429
|
var v = parseFloat(c) * Qn, k = Math.sin(v), F = Math.cos(v), A;
|
|
16430
16430
|
v = parseFloat(d) * Qn, A = Math.cos(v), s = ko(b, s, k * A * -T), l = ko(b, l, -Math.sin(v) * -T), a = ko(b, a, F * A * -T + T);
|
|
16431
16431
|
}
|
|
16432
|
-
g !== gr && (E += "perspective(" + g + mn), (i || o) && (E += "translate(" + i + "%, " + o + "%) "), (
|
|
16432
|
+
g !== gr && (E += "perspective(" + g + mn), (i || o) && (E += "translate(" + i + "%, " + o + "%) "), (w || s !== gr || l !== gr || a !== gr) && (E += a !== gr || w ? "translate3d(" + s + ", " + l + ", " + a + ") " : "translate(" + s + ", " + l + mn), u !== _n && (E += "rotate(" + u + mn), c !== _n && (E += "rotateY(" + c + mn), d !== _n && (E += "rotateX(" + d + mn), (f !== _n || _ !== _n) && (E += "skew(" + f + ", " + _ + mn), (p !== 1 || h !== 1) && (E += "scale(" + p + ", " + h + mn), b.style[ge] = E || "translate(0, 0)";
|
|
16433
16433
|
}, fS = function(e, n) {
|
|
16434
|
-
var r = n || this, i = r.xPercent, o = r.yPercent, s = r.x, l = r.y, a = r.rotation, u = r.skewX, c = r.skewY, d = r.scaleX, f = r.scaleY, _ = r.target, p = r.xOrigin, h = r.yOrigin, g = r.xOffset, y = r.yOffset, b = r.forceCSS, T = parseFloat(s), E = parseFloat(l),
|
|
16435
|
-
a = parseFloat(a), u = parseFloat(u), c = parseFloat(c), c && (c = parseFloat(c), u += c, a += c), a || u ? (a *= Qn, u *= Qn,
|
|
16434
|
+
var r = n || this, i = r.xPercent, o = r.yPercent, s = r.x, l = r.y, a = r.rotation, u = r.skewX, c = r.skewY, d = r.scaleX, f = r.scaleY, _ = r.target, p = r.xOrigin, h = r.yOrigin, g = r.xOffset, y = r.yOffset, b = r.forceCSS, T = parseFloat(s), E = parseFloat(l), w, v, k, F, A;
|
|
16435
|
+
a = parseFloat(a), u = parseFloat(u), c = parseFloat(c), c && (c = parseFloat(c), u += c, a += c), a || u ? (a *= Qn, u *= Qn, w = Math.cos(a) * d, v = Math.sin(a) * d, k = Math.sin(a - u) * -f, F = Math.cos(a - u) * f, u && (c *= Qn, A = Math.tan(u - c), A = Math.sqrt(1 + A * A), k *= A, F *= A, c && (A = Math.tan(c), A = Math.sqrt(1 + A * A), w *= A, v *= A)), w = Se(w), v = Se(v), k = Se(k), F = Se(F)) : (w = d, F = f, v = k = 0), (T && !~(s + "").indexOf("px") || E && !~(l + "").indexOf("px")) && (T = on(_, "x", s, "px"), E = on(_, "y", l, "px")), (p || h || g || y) && (T = Se(T + p - (p * w + h * k) + g), E = Se(E + h - (p * v + h * F) + y)), (i || o) && (A = _.getBBox(), T = Se(T + i / 100 * A.width), E = Se(E + o / 100 * A.height)), A = "matrix(" + w + "," + v + "," + k + "," + F + "," + T + "," + E + ")", _.setAttribute("transform", A), b && (_.style[ge] = A);
|
|
16436
16436
|
}, _S = function(e, n, r, i, o) {
|
|
16437
16437
|
var s = 360, l = Fe(o), a = parseFloat(o) * (l && ~o.indexOf("rad") ? pn : 1), u = a - i, c = i + u + "deg", d, f;
|
|
16438
16438
|
return l && (d = o.split("_")[1], d === "short" && (u %= s, u !== u % (s / 2) && (u += u < 0 ? s : -s)), d === "cw" && u < 0 ? u = (u + s * lu) % s - ~~(u / s) * s : d === "ccw" && u > 0 && (u = (u - s * lu) % s - ~~(u / s) * s)), e._pt = f = new je(e._pt, n, r, i, u, Y4), f.e = c, f.u = "deg", e._props.push(r), f;
|
|
@@ -16469,7 +16469,7 @@ var Kf = {
|
|
|
16469
16469
|
return e.style && e.nodeType;
|
|
16470
16470
|
},
|
|
16471
16471
|
init: function(e, n, r, i, o) {
|
|
16472
|
-
var s = this._props, l = e.style, a = r.vars.startAt, u, c, d, f, _, p, h, g, y, b, T, E,
|
|
16472
|
+
var s = this._props, l = e.style, a = r.vars.startAt, u, c, d, f, _, p, h, g, y, b, T, E, w, v, k, F, A;
|
|
16473
16473
|
ol || ws(), this.styles = this.styles || Zf(e), F = this.styles.props, this.tween = r;
|
|
16474
16474
|
for (h in n)
|
|
16475
16475
|
if (h !== "autoRound" && (c = n[h], !(Xe[h] && Df(h, n, r, i, e, o)))) {
|
|
@@ -16486,22 +16486,22 @@ var Kf = {
|
|
|
16486
16486
|
}
|
|
16487
16487
|
d = parseFloat(c);
|
|
16488
16488
|
}
|
|
16489
|
-
if (E || (
|
|
16490
|
-
this._pt = new je(this._pt,
|
|
16489
|
+
if (E || (w = e._gsap, w.renderTransform && !n.parseTransform || zr(e, n.parseTransform), v = n.smoothOrigin !== !1 && w.smooth, E = this._pt = new je(this._pt, l, ge, 0, 1, w.renderTransform, w, 0, -1), E.dep = 1), h === "scale")
|
|
16490
|
+
this._pt = new je(this._pt, w, "scaleY", w.scaleY, (b ? Yn(w.scaleY, b + d) : d) - w.scaleY || 0, xs), this._pt.u = 0, s.push("scaleY", h), h += "X";
|
|
16491
16491
|
else if (h === "transformOrigin") {
|
|
16492
|
-
F.push(He, 0, l[He]), c = uS(c),
|
|
16492
|
+
F.push(He, 0, l[He]), c = uS(c), w.svg ? Ss(e, c, 0, v, 0, this) : (y = parseFloat(c.split(" ")[2]) || 0, y !== w.zOrigin && Yt(this, w, "zOrigin", w.zOrigin, y), Yt(this, l, h, Li(u), Li(c)));
|
|
16493
16493
|
continue;
|
|
16494
16494
|
} else if (h === "svgOrigin") {
|
|
16495
16495
|
Ss(e, c, 1, v, 0, this);
|
|
16496
16496
|
continue;
|
|
16497
16497
|
} else if (h in Yf) {
|
|
16498
|
-
_S(this,
|
|
16498
|
+
_S(this, w, h, f, b ? Yn(f, b + c) : c);
|
|
16499
16499
|
continue;
|
|
16500
16500
|
} else if (h === "smoothOrigin") {
|
|
16501
|
-
Yt(this,
|
|
16501
|
+
Yt(this, w, "smooth", w.smooth, c);
|
|
16502
16502
|
continue;
|
|
16503
16503
|
} else if (h === "force3D") {
|
|
16504
|
-
|
|
16504
|
+
w[h] = c;
|
|
16505
16505
|
continue;
|
|
16506
16506
|
} else if (h === "transform") {
|
|
16507
16507
|
mS(this, c, e);
|
|
@@ -16509,7 +16509,7 @@ var Kf = {
|
|
|
16509
16509
|
}
|
|
16510
16510
|
} else h in l || (h = or(h) || h);
|
|
16511
16511
|
if (T || (d || d === 0) && (f || f === 0) && !W4.test(c) && h in l)
|
|
16512
|
-
g = (u + "").substr((f + "").length), d || (d = 0), y = Le(c) || (h in tt.units ? tt.units[h] : g), g !== y && (f = on(e, h, u, y)), this._pt = new je(this._pt, T ?
|
|
16512
|
+
g = (u + "").substr((f + "").length), d || (d = 0), y = Le(c) || (h in tt.units ? tt.units[h] : g), g !== y && (f = on(e, h, u, y)), this._pt = new je(this._pt, T ? w : l, h, f, (b ? Yn(f, b + d) : d) - f, !T && (y === "px" || h === "zIndex") && n.autoRound !== !1 ? K4 : xs), this._pt.u = y || 0, T && A !== c ? (this._pt.b = u, this._pt.e = A, this._pt.r = Q4) : g !== y && y !== "%" && (this._pt.b = u, this._pt.r = X4);
|
|
16513
16513
|
else if (h in l)
|
|
16514
16514
|
aS.call(this, e, h, u, b ? b + c : c);
|
|
16515
16515
|
else if (h in e)
|
|
@@ -16660,7 +16660,7 @@ class hS extends Xd {
|
|
|
16660
16660
|
* @param data
|
|
16661
16661
|
*/
|
|
16662
16662
|
dragStart(n, r) {
|
|
16663
|
-
super.dragStart(n, r), this.currentDropZone && (this.listPosition = this.getListPosition(n.target), this.initialPosition = this.listPosition, this.updateScrollPosition());
|
|
16663
|
+
super.dragStart(n, r), this.currentDropZone && (this.listPosition = this.getListPosition(n.target), this.initialPosition = this.listPosition, this.cursorPosition = this.listPosition, this.updateScrollPosition(), this.options.showPlaceholder && this.renderPlaceholder());
|
|
16664
16664
|
}
|
|
16665
16665
|
/**
|
|
16666
16666
|
* When dragging has ended, check for list position changes and fire the onPositionChange callback if it has
|
|
@@ -16686,7 +16686,7 @@ class hS extends Xd {
|
|
|
16686
16686
|
x: n.clientX,
|
|
16687
16687
|
y: n.clientY
|
|
16688
16688
|
});
|
|
16689
|
-
this.cursorPosition !== i && (this.cursorPosition = i, this.listPosition = this.initialPosition < this.cursorPosition ? this.cursorPosition - 1 : this.cursorPosition, this.options.showPlaceholder && this.renderPlaceholder(), this.listPosition !== r && this.onDragPositionChangeCb && this.onDragPositionChangeCb(this.listPosition, this.draggableData));
|
|
16689
|
+
this.cursorPosition !== i && (this.cursorPosition = i, this.isGrid() ? this.listPosition = this.cursorPosition : this.listPosition = this.initialPosition < this.cursorPosition ? this.cursorPosition - 1 : this.cursorPosition, this.options.showPlaceholder && this.renderPlaceholder(), this.listPosition !== r && this.onDragPositionChangeCb && this.onDragPositionChangeCb(this.listPosition, this.draggableData));
|
|
16690
16690
|
}
|
|
16691
16691
|
/**
|
|
16692
16692
|
* Find the numeric position of the element in the children of the list
|
|
@@ -16734,23 +16734,39 @@ class hS extends Xd {
|
|
|
16734
16734
|
}
|
|
16735
16735
|
/**
|
|
16736
16736
|
* Find the position in a grid layout by checking both X and Y coordinates.
|
|
16737
|
-
*
|
|
16737
|
+
* Groups items by row, finds which row cursor is in, then finds X position within row.
|
|
16738
16738
|
* @param point
|
|
16739
16739
|
* @param children
|
|
16740
16740
|
* @returns {number}
|
|
16741
16741
|
*/
|
|
16742
16742
|
getGridPositionOfPoint(n, r) {
|
|
16743
16743
|
if (r.length === 0) return 0;
|
|
16744
|
-
|
|
16745
|
-
|
|
16746
|
-
|
|
16747
|
-
|
|
16748
|
-
|
|
16749
|
-
|
|
16750
|
-
|
|
16751
|
-
|
|
16744
|
+
const i = [];
|
|
16745
|
+
for (let l = 0; l < r.length; l++) {
|
|
16746
|
+
const a = r[l].getBoundingClientRect();
|
|
16747
|
+
let u = i.find((c) => a.top < c.bottom && a.bottom > c.top);
|
|
16748
|
+
u ? (u.items.push({ index: l, rect: a }), u.top = Math.min(u.top, a.top), u.bottom = Math.max(u.bottom, a.bottom)) : i.push({
|
|
16749
|
+
top: a.top,
|
|
16750
|
+
bottom: a.bottom,
|
|
16751
|
+
items: [{ index: l, rect: a }]
|
|
16752
|
+
});
|
|
16753
|
+
}
|
|
16754
|
+
i.sort((l, a) => l.top - a.top);
|
|
16755
|
+
let o = null;
|
|
16756
|
+
for (const l of i)
|
|
16757
|
+
if (n.y < l.bottom) {
|
|
16758
|
+
o = l;
|
|
16759
|
+
break;
|
|
16760
|
+
}
|
|
16761
|
+
if (!o)
|
|
16762
|
+
return r.length;
|
|
16763
|
+
o.items.sort((l, a) => l.rect.left - a.rect.left);
|
|
16764
|
+
for (const l of o.items) {
|
|
16765
|
+
const a = l.rect.left + l.rect.width / 2;
|
|
16766
|
+
if (n.x < a)
|
|
16767
|
+
return l.index;
|
|
16752
16768
|
}
|
|
16753
|
-
return
|
|
16769
|
+
return o.items[o.items.length - 1].index + 1;
|
|
16754
16770
|
}
|
|
16755
16771
|
/**
|
|
16756
16772
|
* Updates the scroll position while dragging an element so a user can navigate a longer list while dragging
|
|
@@ -16774,10 +16790,10 @@ class hS extends Xd {
|
|
|
16774
16790
|
*/
|
|
16775
16791
|
renderPlaceholder() {
|
|
16776
16792
|
this.placeholder || (this.placeholder = document.createElement("div"), this.placeholder.classList.add("drag-placeholder")), this.isGrid() ? (this.placeholder.classList.add("direction-grid"), this.placeholder.classList.remove("direction-vertical", "direction-horizontal"), this.placeholder.style.height = void 0) : this.isVertical() ? (this.placeholder.classList.add("direction-vertical"), this.placeholder.classList.remove("direction-horizontal", "direction-grid"), this.placeholder.style.height = void 0) : (this.placeholder.classList.add("direction-horizontal"), this.placeholder.classList.remove("direction-vertical", "direction-grid"), this.placeholder.style.height = this.currentDropZone.getBoundingClientRect().height + "px");
|
|
16777
|
-
const n = this.getChildren();
|
|
16778
|
-
|
|
16793
|
+
const n = this.getChildren(), r = this.isGrid() ? this.listPosition : this.cursorPosition;
|
|
16794
|
+
r < n.length ? this.currentDropZone.insertBefore(
|
|
16779
16795
|
this.placeholder,
|
|
16780
|
-
n[
|
|
16796
|
+
n[r]
|
|
16781
16797
|
) : this.currentDropZone.appendChild(this.placeholder);
|
|
16782
16798
|
}
|
|
16783
16799
|
}
|
|
@@ -16801,31 +16817,41 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
16801
16817
|
},
|
|
16802
16818
|
emits: ["position", "update:list-items"],
|
|
16803
16819
|
setup(t, { emit: e }) {
|
|
16804
|
-
const n = e, r = t, i = new hS().setDropZone(r.dropZone).setOptions({ showPlaceholder: !0, direction: r.direction }).onPositionChange((
|
|
16805
|
-
if (n("position",
|
|
16806
|
-
const
|
|
16807
|
-
|
|
16820
|
+
const n = e, r = t, i = z(null), o = new hS().setDropZone(r.dropZone).setOptions({ showPlaceholder: !0, direction: r.direction }).onPositionChange((a, u) => {
|
|
16821
|
+
if (n("position", a), r.listItems) {
|
|
16822
|
+
const c = [...r.listItems];
|
|
16823
|
+
c.splice(a, 0, c.splice(u, 1)[0]), n("update:list-items", c);
|
|
16808
16824
|
}
|
|
16809
16825
|
});
|
|
16810
|
-
|
|
16826
|
+
function s(a) {
|
|
16827
|
+
var u;
|
|
16828
|
+
(u = i.value) == null || u.classList.add("is-dragging"), o.dragStart(a);
|
|
16829
|
+
}
|
|
16830
|
+
function l(a) {
|
|
16831
|
+
var u;
|
|
16832
|
+
(u = i.value) == null || u.classList.remove("is-dragging"), o.dragEnd(a);
|
|
16833
|
+
}
|
|
16834
|
+
return (a, u) => (m(), x("div", {
|
|
16835
|
+
ref_key: "draggableEl",
|
|
16836
|
+
ref: i,
|
|
16811
16837
|
class: "cursor-move",
|
|
16812
16838
|
draggable: "true",
|
|
16813
|
-
onDragstart: s
|
|
16814
|
-
onDragend:
|
|
16839
|
+
onDragstart: s,
|
|
16840
|
+
onDragend: l
|
|
16815
16841
|
}, [
|
|
16816
16842
|
P("div", pS, [
|
|
16817
16843
|
t.showHandle ? (m(), x("div", gS, [
|
|
16818
|
-
C(
|
|
16819
|
-
svg:
|
|
16844
|
+
C(S(O2), {
|
|
16845
|
+
svg: S($x),
|
|
16820
16846
|
class: "w-4 h-4",
|
|
16821
16847
|
alt: "drag-handle"
|
|
16822
16848
|
}, null, 8, ["svg"])
|
|
16823
16849
|
])) : $("", !0),
|
|
16824
16850
|
P("div", bS, [
|
|
16825
|
-
j(
|
|
16851
|
+
j(a.$slots, "default")
|
|
16826
16852
|
])
|
|
16827
16853
|
])
|
|
16828
|
-
],
|
|
16854
|
+
], 544));
|
|
16829
16855
|
}
|
|
16830
16856
|
}, Z3 = {
|
|
16831
16857
|
__name: "ColumnSettingsDialog",
|
|
@@ -16876,25 +16902,25 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
16876
16902
|
d = bi(d, u.name);
|
|
16877
16903
|
n("update:title-column-names", [...new Set(d)]);
|
|
16878
16904
|
}
|
|
16879
|
-
return (u, c) => (m(), I(
|
|
16905
|
+
return (u, c) => (m(), I(S(Qv), {
|
|
16880
16906
|
title: "Column Settings",
|
|
16881
16907
|
onClose: c[1] || (c[1] = (d) => u.$emit("close"))
|
|
16882
16908
|
}, {
|
|
16883
16909
|
default: O(() => [
|
|
16884
16910
|
c[2] || (c[2] = P("div", { class: "mb-4 text-sm" }, " Customize columns by visibility, order, or priority (maximum 3 additional). ", -1)),
|
|
16885
|
-
(m(!0), x(H, null, we(t.lockedColumns, (d) => (m(), I(
|
|
16911
|
+
(m(!0), x(H, null, we(t.lockedColumns, (d) => (m(), I(S(Xa), {
|
|
16886
16912
|
key: d.name,
|
|
16887
16913
|
locked: "",
|
|
16888
16914
|
visible: "",
|
|
16889
16915
|
column: d,
|
|
16890
16916
|
class: "px-2.5 border border-gray-200 bg-white rounded-t-lg"
|
|
16891
16917
|
}, null, 8, ["column"]))), 128)),
|
|
16892
|
-
C(
|
|
16918
|
+
C(S(Xw), {
|
|
16893
16919
|
name: "fade-down-list",
|
|
16894
16920
|
"data-drop-zone": "column-list"
|
|
16895
16921
|
}, {
|
|
16896
16922
|
default: O(() => [
|
|
16897
|
-
(m(!0), x(H, null, we(t.sortableColumns, (d, f) => (m(), I(
|
|
16923
|
+
(m(!0), x(H, null, we(t.sortableColumns, (d, f) => (m(), I(S(yS), {
|
|
16898
16924
|
key: d.name,
|
|
16899
16925
|
"list-items": t.sortableColumns,
|
|
16900
16926
|
"drop-zone": "column-list",
|
|
@@ -16903,7 +16929,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
16903
16929
|
"onUpdate:listItems": c[0] || (c[0] = (_) => u.$emit("update:sortable-columns", _))
|
|
16904
16930
|
}, {
|
|
16905
16931
|
default: O(() => [
|
|
16906
|
-
C(
|
|
16932
|
+
C(S(Xa), {
|
|
16907
16933
|
column: d,
|
|
16908
16934
|
visible: o(d),
|
|
16909
16935
|
"is-title": l(d),
|
|
@@ -17241,7 +17267,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17241
17267
|
onClick: (T) => u(s(b), !l(b))
|
|
17242
17268
|
}, null, 8, ["model-value", "onClick"]),
|
|
17243
17269
|
P("div", null, N(b), 1),
|
|
17244
|
-
C(
|
|
17270
|
+
C(S(Nx), {
|
|
17245
17271
|
class: G(["ml-2 w-5 transition-all", { "rotate-180": i.value === b }])
|
|
17246
17272
|
}, null, 8, ["class"]),
|
|
17247
17273
|
C(y, {
|
|
@@ -17296,7 +17322,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17296
17322
|
},
|
|
17297
17323
|
emits: ["update:filter", "update:show-filters"],
|
|
17298
17324
|
setup(t) {
|
|
17299
|
-
return (e, n) => (m(), I(
|
|
17325
|
+
return (e, n) => (m(), I(S(pw), {
|
|
17300
17326
|
collapse: !t.showFilters,
|
|
17301
17327
|
disabled: "",
|
|
17302
17328
|
"min-width": "0",
|
|
@@ -17305,7 +17331,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17305
17331
|
"onUpdate:collapse": n[1] || (n[1] = (r) => e.$emit("update:show-filters", !r))
|
|
17306
17332
|
}, {
|
|
17307
17333
|
default: O(() => [
|
|
17308
|
-
C(
|
|
17334
|
+
C(S(iE), {
|
|
17309
17335
|
filter: t.filter,
|
|
17310
17336
|
"filter-fields": t.filterFields,
|
|
17311
17337
|
"onUpdate:filter": n[0] || (n[0] = (r) => e.$emit("update:filter", r))
|
|
@@ -17389,7 +17415,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17389
17415
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => e.$emit("update:model-value", i))
|
|
17390
17416
|
}, {
|
|
17391
17417
|
default: O(() => [
|
|
17392
|
-
C(
|
|
17418
|
+
C(S(dr), {
|
|
17393
17419
|
field: { ...t.field, label: t.label || t.field.label },
|
|
17394
17420
|
"show-name": t.showName,
|
|
17395
17421
|
class: G(t.labelClass)
|
|
@@ -17503,7 +17529,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17503
17529
|
const e = t, n = [
|
|
17504
17530
|
(r) => r === e.password || "The password and confirmation do not match"
|
|
17505
17531
|
];
|
|
17506
|
-
return (r, i) => (m(), I(
|
|
17532
|
+
return (r, i) => (m(), I(S(e_), Jt({ type: "password" }, e, {
|
|
17507
17533
|
name: t.name,
|
|
17508
17534
|
"model-value": t.modelValue,
|
|
17509
17535
|
rules: n,
|
|
@@ -17537,7 +17563,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17537
17563
|
return m(), x("div", null, [
|
|
17538
17564
|
t.label ? (m(), x("div", KS, N(t.label), 1)) : $("", !0),
|
|
17539
17565
|
P("div", JS, [
|
|
17540
|
-
C(
|
|
17566
|
+
C(S(jd), { class: "w-5 text-blue-600" }),
|
|
17541
17567
|
P("div", eT, [
|
|
17542
17568
|
o.value ? (m(), x(H, { key: 0 }, [
|
|
17543
17569
|
W(N(i.value), 1)
|
|
@@ -17622,7 +17648,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17622
17648
|
class: "reactive"
|
|
17623
17649
|
}, null, 8, ["modelValue"])) : (m(), x(H, { key: 2 }, [
|
|
17624
17650
|
P("div", nT, [
|
|
17625
|
-
C(
|
|
17651
|
+
C(S(jd), { class: "w-5 text-blue-600" }),
|
|
17626
17652
|
P("div", rT, [
|
|
17627
17653
|
l.value ? (m(), x(H, { key: 0 }, [
|
|
17628
17654
|
W(N(i.value.from) + " - " + N(i.value.to), 1)
|
|
@@ -17755,7 +17781,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17755
17781
|
const u = U("QPopupProxy"), c = U("QIcon"), d = U("QInput");
|
|
17756
17782
|
return m(), x("div", null, [
|
|
17757
17783
|
C(d, {
|
|
17758
|
-
"model-value":
|
|
17784
|
+
"model-value": S(Ar)(t.modelValue),
|
|
17759
17785
|
color: t.color,
|
|
17760
17786
|
class: "bg-white rounded overflow-hidden px-2 w-48",
|
|
17761
17787
|
dense: "",
|
|
@@ -17773,7 +17799,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17773
17799
|
"onUpdate:modelValue": a[2] || (a[2] = (f) => i.value = f)
|
|
17774
17800
|
}, {
|
|
17775
17801
|
default: O(() => [
|
|
17776
|
-
C(
|
|
17802
|
+
C(S(r_), {
|
|
17777
17803
|
modelValue: o.value,
|
|
17778
17804
|
"onUpdate:modelValue": a[0] || (a[0] = (f) => o.value = f),
|
|
17779
17805
|
onCancel: a[1] || (a[1] = (f) => i.value = !1),
|
|
@@ -17872,12 +17898,12 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17872
17898
|
}
|
|
17873
17899
|
}
|
|
17874
17900
|
}
|
|
17875
|
-
return (u, c) => (m(), I(
|
|
17901
|
+
return (u, c) => (m(), I(S(cl), Jt(u.$props, {
|
|
17876
17902
|
onClick: c[0] || (c[0] = (d) => u.$refs.fileUpload.click())
|
|
17877
17903
|
}), {
|
|
17878
17904
|
default: O(() => [
|
|
17879
17905
|
j(u.$slots, "default", {}, () => [
|
|
17880
|
-
C(
|
|
17906
|
+
C(S(vx), { class: "w-5 mr-2" }),
|
|
17881
17907
|
W(" " + N(t.text), 1)
|
|
17882
17908
|
]),
|
|
17883
17909
|
P("input", {
|
|
@@ -17914,8 +17940,8 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17914
17940
|
const s = U("QPopupEdit");
|
|
17915
17941
|
return m(), x("div", lT, [
|
|
17916
17942
|
P("div", aT, [
|
|
17917
|
-
W(N(
|
|
17918
|
-
C(
|
|
17943
|
+
W(N(S(Ar)(t.modelValue, { empty: "Never" })) + " ", 1),
|
|
17944
|
+
C(S(Yd), { class: "w-4 font-bold ml-2 text-gray-400" }),
|
|
17919
17945
|
C(s, {
|
|
17920
17946
|
"model-value": t.modelValue,
|
|
17921
17947
|
"touch-position": "",
|
|
@@ -17923,7 +17949,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
17923
17949
|
class: "bg-blue-600 text-white !min-w-0"
|
|
17924
17950
|
}, {
|
|
17925
17951
|
default: O((l) => [
|
|
17926
|
-
C(
|
|
17952
|
+
C(S(r_), {
|
|
17927
17953
|
modelValue: l.value,
|
|
17928
17954
|
"onUpdate:modelValue": (a) => l.value = a,
|
|
17929
17955
|
nullable: t.nullable,
|
|
@@ -18009,7 +18035,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18009
18035
|
"onUpdate:modelValue": a
|
|
18010
18036
|
}, {
|
|
18011
18037
|
prepend: O(() => [
|
|
18012
|
-
C(
|
|
18038
|
+
C(S(dr), {
|
|
18013
18039
|
field: o.value,
|
|
18014
18040
|
"show-name": t.showName
|
|
18015
18041
|
}, null, 8, ["field", "show-name"])
|
|
@@ -18033,7 +18059,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18033
18059
|
},
|
|
18034
18060
|
emits: ["update:model-value"],
|
|
18035
18061
|
setup(t) {
|
|
18036
|
-
return (e, n) => (m(), I(
|
|
18062
|
+
return (e, n) => (m(), I(S(Ri), {
|
|
18037
18063
|
field: t.field,
|
|
18038
18064
|
precision: 0,
|
|
18039
18065
|
"model-value": t.modelValue,
|
|
@@ -18102,9 +18128,9 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18102
18128
|
class: G(["max-w-full relative overflow-auto", { "p-4 border rounded border-gray-300": !t.readonly }]),
|
|
18103
18129
|
onDragover: d[4] || (d[4] = tn(() => {
|
|
18104
18130
|
}, ["prevent"])),
|
|
18105
|
-
onDrop: d[5] || (d[5] = tn((...f) =>
|
|
18131
|
+
onDrop: d[5] || (d[5] = tn((...f) => S(o) && S(o)(...f), ["prevent"]))
|
|
18106
18132
|
}, [
|
|
18107
|
-
C(
|
|
18133
|
+
C(S(dr), {
|
|
18108
18134
|
field: t.field,
|
|
18109
18135
|
"show-name": t.showName,
|
|
18110
18136
|
class: "text-sm font-semibold"
|
|
@@ -18114,10 +18140,10 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18114
18140
|
class: "text-blue-600",
|
|
18115
18141
|
onClick: d[0] || (d[0] = (f) => c.$refs.file.click())
|
|
18116
18142
|
}, "Upload"),
|
|
18117
|
-
|
|
18143
|
+
S(l).length > 0 ? (m(), x("a", {
|
|
18118
18144
|
key: 0,
|
|
18119
18145
|
class: "ml-3 text-red-900",
|
|
18120
|
-
onClick: d[1] || (d[1] = (...f) =>
|
|
18146
|
+
onClick: d[1] || (d[1] = (...f) => S(a) && S(a)(...f))
|
|
18121
18147
|
}, "Clear")) : $("", !0)
|
|
18122
18148
|
])) : $("", !0),
|
|
18123
18149
|
P("input", {
|
|
@@ -18125,30 +18151,30 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18125
18151
|
class: "hidden",
|
|
18126
18152
|
type: "file",
|
|
18127
18153
|
multiple: "",
|
|
18128
|
-
onChange: d[2] || (d[2] = (...f) =>
|
|
18154
|
+
onChange: d[2] || (d[2] = (...f) => S(s) && S(s)(...f))
|
|
18129
18155
|
}, null, 544),
|
|
18130
18156
|
P("div", _T, [
|
|
18131
|
-
(m(!0), x(H, null, we(
|
|
18157
|
+
(m(!0), x(H, null, we(S(l), (f) => (m(), I(S(Nr), {
|
|
18132
18158
|
key: "file-upload-" + f.id,
|
|
18133
|
-
class: G(["cursor-pointer bg-gray-200", { "border border-dashed border-blue-600": !
|
|
18159
|
+
class: G(["cursor-pointer bg-gray-200", { "border border-dashed border-blue-600": !S(l).length, [t.fileClass]: !0 }]),
|
|
18134
18160
|
image: f,
|
|
18135
|
-
"related-files":
|
|
18161
|
+
"related-files": S(l),
|
|
18136
18162
|
downloadable: "",
|
|
18137
18163
|
removable: !t.readonly && !t.disable,
|
|
18138
|
-
onRemove: (_) =>
|
|
18164
|
+
onRemove: (_) => S(u)(f)
|
|
18139
18165
|
}, {
|
|
18140
18166
|
below: O(() => [
|
|
18141
18167
|
j(c.$slots, "below-file", { file: f })
|
|
18142
18168
|
]),
|
|
18143
18169
|
_: 2
|
|
18144
18170
|
}, 1032, ["class", "image", "related-files", "removable", "onRemove"]))), 128)),
|
|
18145
|
-
!t.disable && !t.readonly ? (m(), I(
|
|
18171
|
+
!t.disable && !t.readonly ? (m(), I(S(Nr), {
|
|
18146
18172
|
key: 0,
|
|
18147
18173
|
class: G(["cursor-pointer border border-dashed border-blue-600", t.fileClass]),
|
|
18148
18174
|
disabled: "",
|
|
18149
18175
|
onClick: d[3] || (d[3] = (f) => c.$refs.file.click())
|
|
18150
18176
|
}, null, 8, ["class"])) : $("", !0),
|
|
18151
|
-
t.readonly &&
|
|
18177
|
+
t.readonly && S(l).length === 0 ? (m(), x("div", mT, " -- ")) : $("", !0)
|
|
18152
18178
|
])
|
|
18153
18179
|
], 34));
|
|
18154
18180
|
}
|
|
@@ -18241,13 +18267,13 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18241
18267
|
y.value = !0, i.value.focus();
|
|
18242
18268
|
});
|
|
18243
18269
|
}
|
|
18244
|
-
function
|
|
18270
|
+
function w() {
|
|
18245
18271
|
s.value = !1, y.value = !1;
|
|
18246
18272
|
}
|
|
18247
18273
|
return (v, k) => {
|
|
18248
18274
|
const F = U("QChip");
|
|
18249
18275
|
return m(), x("div", null, [
|
|
18250
|
-
C(
|
|
18276
|
+
C(S(dl), Jt({
|
|
18251
18277
|
ref_key: "selectField",
|
|
18252
18278
|
ref: i
|
|
18253
18279
|
}, v.$props, {
|
|
@@ -18268,12 +18294,12 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18268
18294
|
onFilter: b,
|
|
18269
18295
|
onClear: T,
|
|
18270
18296
|
onPopupShow: E,
|
|
18271
|
-
onPopupHide:
|
|
18297
|
+
onPopupHide: w,
|
|
18272
18298
|
"onUpdate:modelValue": g
|
|
18273
18299
|
}), {
|
|
18274
18300
|
append: O(() => [
|
|
18275
18301
|
j(v.$slots, "append", {}, () => [
|
|
18276
|
-
C(
|
|
18302
|
+
C(S(dx), {
|
|
18277
18303
|
class: G(["w-4 transition", s.value ? "rotate-180" : ""])
|
|
18278
18304
|
}, null, 8, ["class"])
|
|
18279
18305
|
])
|
|
@@ -18386,7 +18412,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18386
18412
|
"onUpdate:modelValue": n[1] || (n[1] = (l) => e.$emit("update:model-value", l))
|
|
18387
18413
|
}, {
|
|
18388
18414
|
label: O(() => [
|
|
18389
|
-
C(
|
|
18415
|
+
C(S(dr), {
|
|
18390
18416
|
field: t.field,
|
|
18391
18417
|
label: t.label,
|
|
18392
18418
|
"show-name": t.showName,
|
|
@@ -18396,7 +18422,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18396
18422
|
_: 1
|
|
18397
18423
|
}, 8, ["data-dusk", "data-testid", "placeholder", "disable", "label-slot", "input-class", "class", "autogrow", "type", "input-style", "model-value", "debounce"])),
|
|
18398
18424
|
t.readonly ? (m(), x("div", gT, [
|
|
18399
|
-
C(
|
|
18425
|
+
C(S(dT), {
|
|
18400
18426
|
label: t.label || t.field.label,
|
|
18401
18427
|
value: t.modelValue
|
|
18402
18428
|
}, null, 8, ["label", "value"])
|
|
@@ -18430,7 +18456,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18430
18456
|
return pe(() => r.modelValue, () => {
|
|
18431
18457
|
s.value = a();
|
|
18432
18458
|
}), (u, c) => (m(), x("div", null, [
|
|
18433
|
-
C(
|
|
18459
|
+
C(S(Ui), {
|
|
18434
18460
|
modelValue: i.value,
|
|
18435
18461
|
"onUpdate:modelValue": [
|
|
18436
18462
|
c[0] || (c[0] = (d) => i.value = d),
|
|
@@ -18440,7 +18466,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18440
18466
|
options: t.field.options,
|
|
18441
18467
|
class: "mb-2"
|
|
18442
18468
|
}, null, 8, ["modelValue", "options"]),
|
|
18443
|
-
C(
|
|
18469
|
+
C(S(pi), {
|
|
18444
18470
|
modelValue: s.value,
|
|
18445
18471
|
"onUpdate:modelValue": [
|
|
18446
18472
|
c[1] || (c[1] = (d) => s.value = d),
|
|
@@ -18485,7 +18511,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18485
18511
|
emits: ["update:model-value"],
|
|
18486
18512
|
setup(t) {
|
|
18487
18513
|
const e = t, n = [(r) => r.length >= 8 || "Please use at least 8 characters"];
|
|
18488
|
-
return (r, i) => (m(), I(
|
|
18514
|
+
return (r, i) => (m(), I(S(e_), Jt({ type: "password" }, e, {
|
|
18489
18515
|
rules: n,
|
|
18490
18516
|
"onUpdate:modelValue": i[0] || (i[0] = (o) => r.$emit("update:model-value", o))
|
|
18491
18517
|
}), null, 16));
|
|
@@ -18587,19 +18613,19 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18587
18613
|
]),
|
|
18588
18614
|
C(p, null, {
|
|
18589
18615
|
default: O(() => [
|
|
18590
|
-
C(
|
|
18616
|
+
C(S(Ri), {
|
|
18591
18617
|
modelValue: a.value.from,
|
|
18592
18618
|
"onUpdate:modelValue": [
|
|
18593
18619
|
_[0] || (_[0] = (h) => a.value.from = h),
|
|
18594
|
-
|
|
18620
|
+
S(d)
|
|
18595
18621
|
],
|
|
18596
18622
|
field: o.value
|
|
18597
18623
|
}, null, 8, ["modelValue", "field", "onUpdate:modelValue"]),
|
|
18598
|
-
C(
|
|
18624
|
+
C(S(Ri), {
|
|
18599
18625
|
modelValue: a.value.to,
|
|
18600
18626
|
"onUpdate:modelValue": [
|
|
18601
18627
|
_[1] || (_[1] = (h) => a.value.to = h),
|
|
18602
|
-
|
|
18628
|
+
S(d)
|
|
18603
18629
|
],
|
|
18604
18630
|
class: "mt-2",
|
|
18605
18631
|
field: s.value
|
|
@@ -18659,7 +18685,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18659
18685
|
return (c, d) => {
|
|
18660
18686
|
const f = U("QCheckbox"), _ = U("QChip");
|
|
18661
18687
|
return m(), x("div", null, [
|
|
18662
|
-
C(
|
|
18688
|
+
C(S(Kd), {
|
|
18663
18689
|
show: i.value,
|
|
18664
18690
|
"onUpdate:show": d[0] || (d[0] = (p) => i.value = p),
|
|
18665
18691
|
"content-class": "",
|
|
@@ -18760,7 +18786,7 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18760
18786
|
const d = U("QCheckbox");
|
|
18761
18787
|
return m(), x("div", null, [
|
|
18762
18788
|
!t.loading && !t.options.length ? (m(), x("div", kT, " No options available ")) : $("", !0),
|
|
18763
|
-
C(
|
|
18789
|
+
C(S(Ui), {
|
|
18764
18790
|
modelValue: o.value,
|
|
18765
18791
|
"onUpdate:modelValue": [
|
|
18766
18792
|
c[0] || (c[0] = (f) => o.value = f),
|
|
@@ -18820,9 +18846,9 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18820
18846
|
class: G(["max-w-full relative overflow-auto", { "p-4 border rounded border-gray-300 text-center": !t.readonly }]),
|
|
18821
18847
|
onDragover: c[4] || (c[4] = tn(() => {
|
|
18822
18848
|
}, ["prevent"])),
|
|
18823
|
-
onDrop: c[5] || (c[5] = tn((...d) =>
|
|
18849
|
+
onDrop: c[5] || (c[5] = tn((...d) => S(o) && S(o)(...d), ["prevent"]))
|
|
18824
18850
|
}, [
|
|
18825
|
-
C(
|
|
18851
|
+
C(S(dr), {
|
|
18826
18852
|
field: t.field,
|
|
18827
18853
|
"show-name": t.showName,
|
|
18828
18854
|
class: "text-sm font-semibold"
|
|
@@ -18832,22 +18858,22 @@ const pS = { class: "flex items-center" }, gS = { key: 0 }, bS = { class: "flex-
|
|
|
18832
18858
|
class: "text-blue-600",
|
|
18833
18859
|
onClick: c[0] || (c[0] = (d) => u.$refs.file.click())
|
|
18834
18860
|
}, "Upload"),
|
|
18835
|
-
|
|
18861
|
+
S(l) ? (m(), x("a", {
|
|
18836
18862
|
key: 0,
|
|
18837
18863
|
class: "ml-3 text-red-900",
|
|
18838
|
-
onClick: c[1] || (c[1] = (...d) =>
|
|
18864
|
+
onClick: c[1] || (c[1] = (...d) => S(a) && S(a)(...d))
|
|
18839
18865
|
}, "Clear")) : $("", !0),
|
|
18840
18866
|
P("input", {
|
|
18841
18867
|
ref: "file",
|
|
18842
18868
|
class: "hidden",
|
|
18843
18869
|
type: "file",
|
|
18844
|
-
onChange: c[2] || (c[2] = (...d) =>
|
|
18870
|
+
onChange: c[2] || (c[2] = (...d) => S(s) && S(s)(...d))
|
|
18845
18871
|
}, null, 544)
|
|
18846
18872
|
])) : $("", !0),
|
|
18847
|
-
!t.readonly ||
|
|
18873
|
+
!t.readonly || S(l) ? (m(), I(S(Nr), {
|
|
18848
18874
|
key: 1,
|
|
18849
|
-
class: G(["w-32 cursor-pointer mt-2", { "border border-dashed border-blue-600": !
|
|
18850
|
-
image:
|
|
18875
|
+
class: G(["w-32 cursor-pointer mt-2", { "border border-dashed border-blue-600": !S(l), "mx-auto": !t.readonly }]),
|
|
18876
|
+
image: S(l),
|
|
18851
18877
|
downloadable: "",
|
|
18852
18878
|
onClick: c[3] || (c[3] = (d) => !t.disable && u.$refs.file.click())
|
|
18853
18879
|
}, null, 8, ["class", "image"])) : t.readonly ? (m(), x("div", NT, " -- ")) : $("", !0)
|
|
@@ -19030,8 +19056,8 @@ var MT = [
|
|
|
19030
19056
|
};
|
|
19031
19057
|
}, g = function() {
|
|
19032
19058
|
var b = h(f), T = wt(wt({}, n), { readonly: t.disabled, target: l.value, plugins: zT(n.plugins, t.plugins), toolbar: t.toolbar || n.toolbar, inline: c, setup: function(E) {
|
|
19033
|
-
a = E, E.on("init", function(
|
|
19034
|
-
return UT(
|
|
19059
|
+
a = E, E.on("init", function(w) {
|
|
19060
|
+
return UT(w, t, e, E, o, b);
|
|
19035
19061
|
}), typeof n.setup == "function" && n.setup(E);
|
|
19036
19062
|
} });
|
|
19037
19063
|
BT(l.value) && (l.value.style.visibility = ""), hn().init(T), f = !1;
|
|
@@ -19094,7 +19120,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19094
19120
|
emits: ["update:model-value"],
|
|
19095
19121
|
setup(t) {
|
|
19096
19122
|
return (e, n) => (m(), x("div", null, [
|
|
19097
|
-
t.noLabel ? $("", !0) : (m(), I(
|
|
19123
|
+
t.noLabel ? $("", !0) : (m(), I(S(dr), {
|
|
19098
19124
|
key: 0,
|
|
19099
19125
|
field: t.field,
|
|
19100
19126
|
"show-name": t.showName,
|
|
@@ -19104,10 +19130,10 @@ const XT = ["innerHTML"], QT = {
|
|
|
19104
19130
|
key: 1,
|
|
19105
19131
|
class: "border border-gray-300 rounded-md p-2 bg-gray-100",
|
|
19106
19132
|
innerHTML: t.modelValue
|
|
19107
|
-
}, null, 8, XT)) : (m(), I(
|
|
19133
|
+
}, null, 8, XT)) : (m(), I(S(YT), {
|
|
19108
19134
|
key: 2,
|
|
19109
19135
|
class: "mt-2",
|
|
19110
|
-
"api-key":
|
|
19136
|
+
"api-key": S(jt).tinyMceApiKey,
|
|
19111
19137
|
disabled: t.disable,
|
|
19112
19138
|
"model-value": t.modelValue,
|
|
19113
19139
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => e.$emit("update:model-value", r))
|
|
@@ -19150,7 +19176,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19150
19176
|
var l;
|
|
19151
19177
|
return m(), x("div", null, [
|
|
19152
19178
|
t.field.type === "multi-select" ? (m(), x(H, { key: 0 }, [
|
|
19153
|
-
((l = t.field.options) == null ? void 0 : l.length) > 0 || t.loading ? (m(), I(
|
|
19179
|
+
((l = t.field.options) == null ? void 0 : l.length) > 0 || t.loading ? (m(), I(S(Ui), {
|
|
19154
19180
|
key: 0,
|
|
19155
19181
|
"model-value": t.modelValue,
|
|
19156
19182
|
options: t.field.options,
|
|
@@ -19166,7 +19192,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19166
19192
|
P("div", JT, N(t.field.label), 1),
|
|
19167
19193
|
s[0] || (s[0] = P("div", { class: "text-sm ml-3 py-2" }, " No Available Options ", -1))
|
|
19168
19194
|
]))
|
|
19169
|
-
], 64)) : t.field.type === "single-select" ? (m(), I(
|
|
19195
|
+
], 64)) : t.field.type === "single-select" ? (m(), I(S(Ui), {
|
|
19170
19196
|
key: 1,
|
|
19171
19197
|
"model-value": t.modelValue,
|
|
19172
19198
|
options: t.field.options,
|
|
@@ -19175,13 +19201,13 @@ const XT = ["innerHTML"], QT = {
|
|
|
19175
19201
|
loading: t.loading,
|
|
19176
19202
|
label: t.field.label,
|
|
19177
19203
|
"onUpdate:modelValue": i
|
|
19178
|
-
}, null, 8, ["model-value", "options", "clearable", "placeholder", "loading", "label"])) : t.field.type === "date" ? (m(), I(
|
|
19204
|
+
}, null, 8, ["model-value", "options", "clearable", "placeholder", "loading", "label"])) : t.field.type === "date" ? (m(), I(S(t_), {
|
|
19179
19205
|
key: 2,
|
|
19180
19206
|
"model-value": t.modelValue,
|
|
19181
19207
|
label: t.field.label,
|
|
19182
19208
|
class: "mt-2",
|
|
19183
19209
|
"onUpdate:modelValue": i
|
|
19184
|
-
}, null, 8, ["model-value", "label"])) : t.field.type === "date-range" ? (m(), I(
|
|
19210
|
+
}, null, 8, ["model-value", "label"])) : t.field.type === "date-range" ? (m(), I(S(n_), {
|
|
19185
19211
|
key: 3,
|
|
19186
19212
|
"model-value": t.modelValue,
|
|
19187
19213
|
label: t.field.label,
|
|
@@ -19189,14 +19215,14 @@ const XT = ["innerHTML"], QT = {
|
|
|
19189
19215
|
"with-time": "",
|
|
19190
19216
|
class: "mt-2 reactive",
|
|
19191
19217
|
"onUpdate:modelValue": i
|
|
19192
|
-
}, null, 8, ["model-value", "label", "inline"])) : t.field.type === "number-range" ? (m(), I(
|
|
19218
|
+
}, null, 8, ["model-value", "label", "inline"])) : t.field.type === "number-range" ? (m(), I(S(Fo), {
|
|
19193
19219
|
key: 4,
|
|
19194
19220
|
"model-value": t.modelValue,
|
|
19195
19221
|
label: t.field.label,
|
|
19196
19222
|
class: "mt-2",
|
|
19197
19223
|
debounce: 1e3,
|
|
19198
19224
|
"onUpdate:modelValue": i
|
|
19199
|
-
}, null, 8, ["model-value", "label"])) : t.field.type === "currency-range" ? (m(), I(
|
|
19225
|
+
}, null, 8, ["model-value", "label"])) : t.field.type === "currency-range" ? (m(), I(S(Fo), {
|
|
19200
19226
|
key: 5,
|
|
19201
19227
|
"model-value": t.modelValue,
|
|
19202
19228
|
label: t.field.label,
|
|
@@ -19204,7 +19230,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19204
19230
|
debounce: 1e3,
|
|
19205
19231
|
currency: "",
|
|
19206
19232
|
"onUpdate:modelValue": i
|
|
19207
|
-
}, null, 8, ["model-value", "label"])) : t.field.type === "percent-range" ? (m(), I(
|
|
19233
|
+
}, null, 8, ["model-value", "label"])) : t.field.type === "percent-range" ? (m(), I(S(Fo), {
|
|
19208
19234
|
key: 6,
|
|
19209
19235
|
"model-value": t.modelValue,
|
|
19210
19236
|
label: t.field.label,
|
|
@@ -19212,7 +19238,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19212
19238
|
debounce: 1e3,
|
|
19213
19239
|
percent: "",
|
|
19214
19240
|
"onUpdate:modelValue": i
|
|
19215
|
-
}, null, 8, ["model-value", "label"])) : t.field.type === "boolean" ? (m(), I(
|
|
19241
|
+
}, null, 8, ["model-value", "label"])) : t.field.type === "boolean" ? (m(), I(S(Jf), {
|
|
19216
19242
|
key: 7,
|
|
19217
19243
|
field: t.field,
|
|
19218
19244
|
"model-value": t.modelValue,
|
|
@@ -19220,12 +19246,12 @@ const XT = ["innerHTML"], QT = {
|
|
|
19220
19246
|
"toggle-indeterminate": t.field.toggleIndeterminate || !1,
|
|
19221
19247
|
"label-class": "text-xs font-bold",
|
|
19222
19248
|
"onUpdate:modelValue": i
|
|
19223
|
-
}, null, 8, ["field", "model-value", "toggle-indeterminate"])) : t.field.type === "multi-keywords" ? (m(), I(
|
|
19249
|
+
}, null, 8, ["field", "model-value", "toggle-indeterminate"])) : t.field.type === "multi-keywords" ? (m(), I(S(bT), {
|
|
19224
19250
|
key: 8,
|
|
19225
19251
|
"model-value": t.modelValue,
|
|
19226
19252
|
field: t.field,
|
|
19227
19253
|
"onUpdate:modelValue": i
|
|
19228
|
-
}, null, 8, ["model-value", "field"])) : t.field.type === "select-with-children" ? (m(), I(
|
|
19254
|
+
}, null, 8, ["model-value", "field"])) : t.field.type === "select-with-children" ? (m(), I(S(AT), {
|
|
19229
19255
|
key: 9,
|
|
19230
19256
|
"model-value": t.modelValue,
|
|
19231
19257
|
options: t.field.options,
|
|
@@ -19305,20 +19331,20 @@ const XT = ["innerHTML"], QT = {
|
|
|
19305
19331
|
(m(!0), x(H, null, we(t.filterFields, (c, d) => (m(), x(H, {
|
|
19306
19332
|
key: "group-" + c.name
|
|
19307
19333
|
}, [
|
|
19308
|
-
c.flat ? (m(!0), x(H, { key: 0 }, we(c.fields, (f) => (m(), I(
|
|
19334
|
+
c.flat ? (m(!0), x(H, { key: 0 }, we(c.fields, (f) => (m(), I(S(bu), {
|
|
19309
19335
|
key: "field-" + f.name,
|
|
19310
19336
|
"model-value": f.calcValue ? f.calcValue(t.filter) : t.filter[f.name],
|
|
19311
19337
|
field: f,
|
|
19312
19338
|
loading: t.loading,
|
|
19313
19339
|
class: "mb-4",
|
|
19314
19340
|
"onUpdate:modelValue": (_) => o(f, _)
|
|
19315
|
-
}, null, 8, ["model-value", "field", "loading", "onUpdate:modelValue"]))), 128)) : (m(), I(
|
|
19341
|
+
}, null, 8, ["model-value", "field", "loading", "onUpdate:modelValue"]))), 128)) : (m(), I(S(nE), {
|
|
19316
19342
|
key: 1,
|
|
19317
19343
|
name: c.name,
|
|
19318
19344
|
count: i.value[c.name]
|
|
19319
19345
|
}, {
|
|
19320
19346
|
default: O(() => [
|
|
19321
|
-
(m(!0), x(H, null, we(c.fields, (f) => (m(), I(
|
|
19347
|
+
(m(!0), x(H, null, we(c.fields, (f) => (m(), I(S(bu), {
|
|
19322
19348
|
key: "field-" + f.name,
|
|
19323
19349
|
"model-value": f.calcValue ? f.calcValue(t.filter) : t.filter[f.name],
|
|
19324
19350
|
field: f,
|
|
@@ -19363,7 +19389,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19363
19389
|
onClick: i[0] || (i[0] = (l) => r.$emit("update:show-filters", !t.showFilters))
|
|
19364
19390
|
}, {
|
|
19365
19391
|
default: O(() => [
|
|
19366
|
-
C(
|
|
19392
|
+
C(S(Gx), { class: "w-5 mr-2" }),
|
|
19367
19393
|
C(o, {
|
|
19368
19394
|
label: "" + n.value,
|
|
19369
19395
|
rounded: "",
|
|
@@ -19400,7 +19426,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19400
19426
|
n("update:show-filters", !r.showFilters);
|
|
19401
19427
|
}
|
|
19402
19428
|
return (o, s) => (m(), x("div", aE, [
|
|
19403
|
-
C(
|
|
19429
|
+
C(S(lE), {
|
|
19404
19430
|
"show-filters": t.showFilters,
|
|
19405
19431
|
filter: t.filter,
|
|
19406
19432
|
class: "border-r p-4 flex-shrink-0",
|
|
@@ -19411,7 +19437,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19411
19437
|
j(o.$slots, "default")
|
|
19412
19438
|
]),
|
|
19413
19439
|
o.$slots["right-side"] ? (m(), x("div", cE, [
|
|
19414
|
-
o.$slots.default ? (m(), I(
|
|
19440
|
+
o.$slots.default ? (m(), I(S(y_), {
|
|
19415
19441
|
key: 0,
|
|
19416
19442
|
vertical: "",
|
|
19417
19443
|
class: "mx-4 h-10 self-center"
|
|
@@ -19475,37 +19501,37 @@ const XT = ["innerHTML"], QT = {
|
|
|
19475
19501
|
...E,
|
|
19476
19502
|
component: i[E.type]
|
|
19477
19503
|
})), s = B(() => {
|
|
19478
|
-
const E = [...new Set(r.values.map((
|
|
19504
|
+
const E = [...new Set(r.values.map((w) => w.variation))].sort();
|
|
19479
19505
|
return E.length === 0 && E.push(""), E;
|
|
19480
19506
|
}), l = z(s.value[0] || ""), a = z(""), u = z(!1), c = z(""), d = B(() => r.canModifyVariations && !r.readonly && !r.disable && s.value.length < r.form.variations);
|
|
19481
|
-
function f(E,
|
|
19507
|
+
function f(E, w) {
|
|
19482
19508
|
if (r.values)
|
|
19483
|
-
return r.values.find((v) => v.variation === (
|
|
19509
|
+
return r.values.find((v) => v.variation === (w !== void 0 ? w : l.value) && v.name === E);
|
|
19484
19510
|
}
|
|
19485
19511
|
function _(E) {
|
|
19486
|
-
var
|
|
19487
|
-
return (
|
|
19512
|
+
var w;
|
|
19513
|
+
return (w = f(E)) == null ? void 0 : w.value;
|
|
19488
19514
|
}
|
|
19489
|
-
function p(E,
|
|
19515
|
+
function p(E, w) {
|
|
19490
19516
|
const v = f(E), k = {
|
|
19491
19517
|
name: E,
|
|
19492
19518
|
variation: l.value || "",
|
|
19493
|
-
value:
|
|
19519
|
+
value: w === void 0 ? r.emptyValue : w
|
|
19494
19520
|
}, F = Eu(r.values, v, k, !0);
|
|
19495
19521
|
n("update:values", F);
|
|
19496
19522
|
}
|
|
19497
19523
|
function h(E) {
|
|
19498
|
-
return r.form.fields.map((
|
|
19524
|
+
return r.form.fields.map((w) => ({
|
|
19499
19525
|
variation: E,
|
|
19500
|
-
name:
|
|
19501
|
-
value:
|
|
19526
|
+
name: w.name,
|
|
19527
|
+
value: w.default_value === void 0 ? null : w.default_value
|
|
19502
19528
|
}));
|
|
19503
19529
|
}
|
|
19504
19530
|
function g() {
|
|
19505
19531
|
if (r.saving) return;
|
|
19506
19532
|
let E = [...r.values];
|
|
19507
19533
|
E.length === 0 && (E = h(""));
|
|
19508
|
-
const
|
|
19534
|
+
const w = s.value[s.value.length - 1], v = O_(w || "1"), k = h(v);
|
|
19509
19535
|
n("update:values", [...E, ...k]), l.value = v;
|
|
19510
19536
|
}
|
|
19511
19537
|
function y() {
|
|
@@ -19514,28 +19540,28 @@ const XT = ["innerHTML"], QT = {
|
|
|
19514
19540
|
bt.error("Variation name already exists");
|
|
19515
19541
|
return;
|
|
19516
19542
|
}
|
|
19517
|
-
const E = r.values.map((
|
|
19543
|
+
const E = r.values.map((w) => w.variation === u.value ? { ...w, variation: a.value } : w);
|
|
19518
19544
|
n("update:values", E), l.value = a.value, u.value = !1, a.value = "";
|
|
19519
19545
|
}
|
|
19520
19546
|
function b(E) {
|
|
19521
19547
|
if (!E) return;
|
|
19522
|
-
const
|
|
19523
|
-
n("update:values",
|
|
19548
|
+
const w = r.values.filter((v) => v.variation !== E);
|
|
19549
|
+
n("update:values", w), l.value === E && (l.value = s.value[0]), c.value = "";
|
|
19524
19550
|
}
|
|
19525
19551
|
function T(E) {
|
|
19526
|
-
const
|
|
19552
|
+
const w = {};
|
|
19527
19553
|
return r.form.fields.filter((v) => v.required || v.required_group).every((v) => {
|
|
19528
19554
|
const k = f(v.name, E), F = !!k && k.value !== null;
|
|
19529
|
-
return v.required_group ?
|
|
19555
|
+
return v.required_group ? w[v.required_group] ? !0 : w[v.required_group] = F : F;
|
|
19530
19556
|
});
|
|
19531
19557
|
}
|
|
19532
|
-
return (E,
|
|
19558
|
+
return (E, w) => {
|
|
19533
19559
|
const v = U("QTooltip"), k = U("QTab"), F = U("QSpinnerBall"), A = U("QTabs");
|
|
19534
19560
|
return m(), x("div", dE, [
|
|
19535
19561
|
t.form.variations > 1 ? (m(), x("div", fE, [
|
|
19536
19562
|
C(A, {
|
|
19537
19563
|
modelValue: l.value,
|
|
19538
|
-
"onUpdate:modelValue":
|
|
19564
|
+
"onUpdate:modelValue": w[0] || (w[0] = (R) => l.value = R),
|
|
19539
19565
|
class: "text-xs"
|
|
19540
19566
|
}, {
|
|
19541
19567
|
default: O(() => [
|
|
@@ -19548,9 +19574,9 @@ const XT = ["innerHTML"], QT = {
|
|
|
19548
19574
|
default: O(() => [
|
|
19549
19575
|
P("div", _E, [
|
|
19550
19576
|
T(R) ? $("", !0) : (m(), x("div", mE, [
|
|
19551
|
-
C(
|
|
19577
|
+
C(S(Wd), { class: "text-red-400 w-4" }),
|
|
19552
19578
|
C(v, null, {
|
|
19553
|
-
default: O(() => [...
|
|
19579
|
+
default: O(() => [...w[5] || (w[5] = [
|
|
19554
19580
|
W("Creative Form Incomplete", -1)
|
|
19555
19581
|
])]),
|
|
19556
19582
|
_: 1
|
|
@@ -19562,14 +19588,14 @@ const XT = ["innerHTML"], QT = {
|
|
|
19562
19588
|
class: "ml-1 p-1 hover:opacity-100 opacity-20 hover:bg-blue-200 rounded",
|
|
19563
19589
|
onClick: () => (u.value = R) && (a.value = R)
|
|
19564
19590
|
}, [
|
|
19565
|
-
C(
|
|
19591
|
+
C(S(Yd), { class: "w-3 text-blue-900" })
|
|
19566
19592
|
], 8, gE),
|
|
19567
19593
|
J > 0 ? (m(), x("a", {
|
|
19568
19594
|
key: 0,
|
|
19569
19595
|
class: "ml-1 p-1 hover:opacity-100 opacity-20 hover:bg-red-200 rounded",
|
|
19570
19596
|
onClick: (ee) => c.value = R
|
|
19571
19597
|
}, [
|
|
19572
|
-
C(
|
|
19598
|
+
C(S(Qd), { class: "w-3 text-red-900" })
|
|
19573
19599
|
], 8, bE)) : $("", !0)
|
|
19574
19600
|
])) : $("", !0)
|
|
19575
19601
|
])
|
|
@@ -19596,7 +19622,7 @@ const XT = ["innerHTML"], QT = {
|
|
|
19596
19622
|
_: 1
|
|
19597
19623
|
}, 8, ["modelValue"])
|
|
19598
19624
|
])) : $("", !0),
|
|
19599
|
-
(m(!0), x(H, null, we(
|
|
19625
|
+
(m(!0), x(H, null, we(S(o), (R, J) => (m(), x("div", {
|
|
19600
19626
|
key: R.id,
|
|
19601
19627
|
class: G({ "mt-4": J > 0 })
|
|
19602
19628
|
}, [
|
|
@@ -19620,16 +19646,16 @@ const XT = ["innerHTML"], QT = {
|
|
|
19620
19646
|
_: 3
|
|
19621
19647
|
}, 8, ["model-value", "field", "label", "no-label", "show-name", "rows", "clearable", "file-class", "disable", "readonly", "onUpdate:modelValue"]))
|
|
19622
19648
|
], 2))), 128)),
|
|
19623
|
-
u.value !== !1 ? (m(), I(
|
|
19649
|
+
u.value !== !1 ? (m(), I(S(Pi), {
|
|
19624
19650
|
key: 1,
|
|
19625
19651
|
title: "Change variation name",
|
|
19626
19652
|
onConfirm: y,
|
|
19627
|
-
onClose:
|
|
19653
|
+
onClose: w[2] || (w[2] = (R) => u.value = !1)
|
|
19628
19654
|
}, {
|
|
19629
19655
|
default: O(() => [
|
|
19630
|
-
C(
|
|
19656
|
+
C(S(pi), {
|
|
19631
19657
|
modelValue: a.value,
|
|
19632
|
-
"onUpdate:modelValue":
|
|
19658
|
+
"onUpdate:modelValue": w[1] || (w[1] = (R) => a.value = R),
|
|
19633
19659
|
label: "Enter name",
|
|
19634
19660
|
placeholder: "Variation Name",
|
|
19635
19661
|
"input-class": "bg-white"
|
|
@@ -19637,14 +19663,14 @@ const XT = ["innerHTML"], QT = {
|
|
|
19637
19663
|
]),
|
|
19638
19664
|
_: 1
|
|
19639
19665
|
})) : $("", !0),
|
|
19640
|
-
c.value ? (m(), I(
|
|
19666
|
+
c.value ? (m(), I(S(Pi), {
|
|
19641
19667
|
key: 2,
|
|
19642
19668
|
title: `Remove variation ${c.value}?`,
|
|
19643
19669
|
content: "You cannot undo this action. If there was any analytics collected for this variation, it will still be attributed to the ad.",
|
|
19644
19670
|
"confirm-class": "bg-red-900 text-white",
|
|
19645
19671
|
"content-class": "w-96",
|
|
19646
|
-
onConfirm:
|
|
19647
|
-
onClose:
|
|
19672
|
+
onConfirm: w[3] || (w[3] = (R) => b(c.value)),
|
|
19673
|
+
onClose: w[4] || (w[4] = (R) => c.value = "")
|
|
19648
19674
|
}, null, 8, ["title"])) : $("", !0)
|
|
19649
19675
|
]);
|
|
19650
19676
|
};
|
|
@@ -19702,7 +19728,7 @@ function iI({
|
|
|
19702
19728
|
filterDefaults: l = {}
|
|
19703
19729
|
}) {
|
|
19704
19730
|
let a = !1, u = null;
|
|
19705
|
-
const c = qt(null), d = z({}), f = z({}), _ = z(!1), p = qt([]), h = z(!1), g = z(!1), y = qt(null), b = qt(null), T = qt(null), E = z({}),
|
|
19731
|
+
const c = qt(null), d = z({}), f = z({}), _ = z(!1), p = qt([]), h = z(!1), g = z(!1), y = qt(null), b = qt(null), T = qt(null), E = z({}), w = z(!1), v = B(() => Object.keys(d.value).filter((Q) => d.value[Q] !== void 0).length), k = {
|
|
19706
19732
|
__sort: null,
|
|
19707
19733
|
sortBy: null,
|
|
19708
19734
|
descending: !1,
|
|
@@ -19730,7 +19756,7 @@ function iI({
|
|
|
19730
19756
|
p.value.length && (Q.id = p.value.map((ie) => ie.id)), y.value = await e(Q), g.value = !1;
|
|
19731
19757
|
}
|
|
19732
19758
|
async function ee() {
|
|
19733
|
-
!n || !a || (
|
|
19759
|
+
!n || !a || (w.value = !0, E.value = await n(d.value), w.value = !1);
|
|
19734
19760
|
}
|
|
19735
19761
|
function se(Q, ie = null) {
|
|
19736
19762
|
var ue;
|
|
@@ -19783,7 +19809,7 @@ function iI({
|
|
|
19783
19809
|
if (!u) throw new Error("loadSettings failed: PAGE_SETTINGS_KEY is not set");
|
|
19784
19810
|
const Q = vn(u);
|
|
19785
19811
|
Q ? (d.value = { ...Q.filter, ...d.value }, F.value = Q.quasarPagination) : d.value = { ...l, ...d.value }, setTimeout(() => {
|
|
19786
|
-
h.value || R(), g.value || J(),
|
|
19812
|
+
h.value || R(), g.value || J(), w.value || ee();
|
|
19787
19813
|
}, 1);
|
|
19788
19814
|
}
|
|
19789
19815
|
async function ft() {
|
|
@@ -19844,7 +19870,7 @@ function iI({
|
|
|
19844
19870
|
filterFieldOptions: E,
|
|
19845
19871
|
selectedRows: p,
|
|
19846
19872
|
isLoadingList: h,
|
|
19847
|
-
isLoadingFilters:
|
|
19873
|
+
isLoadingFilters: w,
|
|
19848
19874
|
isLoadingSummary: g,
|
|
19849
19875
|
pager: A,
|
|
19850
19876
|
quasarPagination: F,
|
|
@@ -19913,7 +19939,7 @@ const IE = {
|
|
|
19913
19939
|
throw new Error("Action must have a trigger function! Make sure you are using useActions() or implement your own trigger function.");
|
|
19914
19940
|
i.value = !0, await s.trigger(e.target), i.value = !1;
|
|
19915
19941
|
}
|
|
19916
|
-
return (s, l) => (m(), I(
|
|
19942
|
+
return (s, l) => (m(), I(S(Zw), {
|
|
19917
19943
|
class: "px-2 flex action-button",
|
|
19918
19944
|
items: r.value,
|
|
19919
19945
|
disabled: !n.value,
|
|
@@ -19956,7 +19982,7 @@ const IE = {
|
|
|
19956
19982
|
"justify-center": r.value.align === "center",
|
|
19957
19983
|
"justify-start": r.value.align === "left"
|
|
19958
19984
|
}));
|
|
19959
|
-
return (a, u) => (m(), I(
|
|
19985
|
+
return (a, u) => (m(), I(S(Oo), {
|
|
19960
19986
|
key: t.rowProps.key,
|
|
19961
19987
|
props: t.rowProps,
|
|
19962
19988
|
style: gi(s.value)
|
|
@@ -19974,7 +20000,7 @@ const IE = {
|
|
|
19974
20000
|
class: G(r.value.innerClass),
|
|
19975
20001
|
onClick: u[0] || (u[0] = (c) => r.value.onClick(n.value))
|
|
19976
20002
|
}, [
|
|
19977
|
-
r.value.vnode ? (m(), I(
|
|
20003
|
+
r.value.vnode ? (m(), I(S(Dr), {
|
|
19978
20004
|
key: 0,
|
|
19979
20005
|
vnode: r.value.vnode(n.value)
|
|
19980
20006
|
}, null, 8, ["vnode"])) : j(a.$slots, "default", { key: 1 }, () => [
|
|
@@ -19984,21 +20010,21 @@ const IE = {
|
|
|
19984
20010
|
key: 1,
|
|
19985
20011
|
class: G(r.value.innerClass)
|
|
19986
20012
|
}, [
|
|
19987
|
-
r.value.vnode ? (m(), I(
|
|
20013
|
+
r.value.vnode ? (m(), I(S(Dr), {
|
|
19988
20014
|
key: 0,
|
|
19989
20015
|
vnode: r.value.vnode(n.value)
|
|
19990
20016
|
}, null, 8, ["vnode"])) : j(a.$slots, "default", { key: 1 }, () => [
|
|
19991
20017
|
W(N(i.value), 1)
|
|
19992
20018
|
])
|
|
19993
20019
|
], 2)),
|
|
19994
|
-
r.value.titleColumns ? (m(), I(
|
|
20020
|
+
r.value.titleColumns ? (m(), I(S(xS), {
|
|
19995
20021
|
key: 2,
|
|
19996
20022
|
row: n.value,
|
|
19997
20023
|
columns: r.value.titleColumns()
|
|
19998
20024
|
}, null, 8, ["row", "columns"])) : $("", !0)
|
|
19999
20025
|
]),
|
|
20000
20026
|
r.value.actionMenu ? (m(), x("div", kE, [
|
|
20001
|
-
C(
|
|
20027
|
+
C(S(IE), {
|
|
20002
20028
|
actions: r.value.actionMenu,
|
|
20003
20029
|
target: n.value,
|
|
20004
20030
|
loading: o.value
|
|
@@ -20288,7 +20314,7 @@ const IE = {
|
|
|
20288
20314
|
};
|
|
20289
20315
|
n("update:model-value", u);
|
|
20290
20316
|
}
|
|
20291
|
-
return (a, u) => (m(), I(
|
|
20317
|
+
return (a, u) => (m(), I(S(x_), {
|
|
20292
20318
|
key: t.rowProps.key,
|
|
20293
20319
|
props: t.rowProps,
|
|
20294
20320
|
"data-drop-zone": o.value && "resize-column-" + i.value.name,
|
|
@@ -20297,14 +20323,14 @@ const IE = {
|
|
|
20297
20323
|
}, {
|
|
20298
20324
|
default: O(() => [
|
|
20299
20325
|
W(N(i.value.label) + " ", 1),
|
|
20300
|
-
o.value ? (m(), I(
|
|
20326
|
+
o.value ? (m(), I(S(Px), {
|
|
20301
20327
|
key: 0,
|
|
20302
20328
|
"drop-zone": "resize-column-" + i.value.name,
|
|
20303
20329
|
class: G(a.cls["resize-handle"]),
|
|
20304
20330
|
onResize: l
|
|
20305
20331
|
}, {
|
|
20306
20332
|
default: O(() => [
|
|
20307
|
-
C(
|
|
20333
|
+
C(S(Ux), { class: "w-4 text-gray-600" })
|
|
20308
20334
|
]),
|
|
20309
20335
|
_: 1
|
|
20310
20336
|
}, 8, ["drop-zone", "class"])) : $("", !0)
|
|
@@ -20337,13 +20363,13 @@ const IE = {
|
|
|
20337
20363
|
t.loading ? (m(), x("div", r6, [
|
|
20338
20364
|
j(e.$slots, "loading", {}, () => [
|
|
20339
20365
|
W(N(t.loadingText) + " ", 1),
|
|
20340
|
-
C(
|
|
20366
|
+
C(S(fl), { class: "w-4 ml-2" })
|
|
20341
20367
|
])
|
|
20342
20368
|
])) : $("", !0),
|
|
20343
20369
|
t.saving ? (m(), x("div", i6, [
|
|
20344
20370
|
j(e.$slots, "saving", {}, () => [
|
|
20345
20371
|
W(N(t.savingText) + " ", 1),
|
|
20346
|
-
C(
|
|
20372
|
+
C(S(fl), { class: "w-4 ml-2" })
|
|
20347
20373
|
])
|
|
20348
20374
|
])) : $("", !0),
|
|
20349
20375
|
j(e.$slots, "default", {}, () => [
|
|
@@ -20394,24 +20420,24 @@ const IE = {
|
|
|
20394
20420
|
const o = e.summary[i.name];
|
|
20395
20421
|
return o === void 0 ? "" : i.format ? i.format(o) : o;
|
|
20396
20422
|
}
|
|
20397
|
-
return (i, o) => (m(), I(
|
|
20423
|
+
return (i, o) => (m(), I(S(v_), {
|
|
20398
20424
|
class: G(["sticky-column-1 transition-all sticky-row", { "!bg-gray-100": !t.selectedCount, "!bg-blue-600 text-white selected": t.selectedCount, "opacity-50": t.loading }])
|
|
20399
20425
|
}, {
|
|
20400
20426
|
default: O(() => [
|
|
20401
|
-
C(
|
|
20427
|
+
C(S(Oo), {
|
|
20402
20428
|
colspan: t.stickyColspan,
|
|
20403
20429
|
class: G(["font-bold transition-all", { "!bg-gray-100 !pl-5": !t.selectedCount, "!bg-blue-600 text-white !pl-4": t.selectedCount }])
|
|
20404
20430
|
}, {
|
|
20405
20431
|
default: O(() => [
|
|
20406
20432
|
P("div", s6, [
|
|
20407
20433
|
t.selectedCount ? (m(), x("div", l6, [
|
|
20408
|
-
C(
|
|
20434
|
+
C(S(Ix), {
|
|
20409
20435
|
class: "w-6 mr-3",
|
|
20410
20436
|
onClick: o[0] || (o[0] = (s) => i.$emit("clear"))
|
|
20411
20437
|
}),
|
|
20412
|
-
W(" " + N(
|
|
20413
|
-
])) : t.itemCount ? (m(), x("div", a6, N(
|
|
20414
|
-
t.loading ? (m(), I(
|
|
20438
|
+
W(" " + N(S(Jn)(t.selectedCount)) + " " + N(t.selectedLabel), 1)
|
|
20439
|
+
])) : t.itemCount ? (m(), x("div", a6, N(S(Jn)(t.itemCount)) + " " + N(t.label), 1)) : $("", !0),
|
|
20440
|
+
t.loading ? (m(), I(S(Tu), {
|
|
20415
20441
|
key: 2,
|
|
20416
20442
|
class: "ml-3",
|
|
20417
20443
|
size: "18"
|
|
@@ -20420,7 +20446,7 @@ const IE = {
|
|
|
20420
20446
|
]),
|
|
20421
20447
|
_: 1
|
|
20422
20448
|
}, 8, ["colspan", "class"]),
|
|
20423
|
-
(m(!0), x(H, null, we(n.value, (s) => (m(), I(
|
|
20449
|
+
(m(!0), x(H, null, we(n.value, (s) => (m(), I(S(Oo), {
|
|
20424
20450
|
key: s.name,
|
|
20425
20451
|
align: s.align || "left"
|
|
20426
20452
|
}, {
|
|
@@ -20484,8 +20510,8 @@ const IE = {
|
|
|
20484
20510
|
return (s, l) => {
|
|
20485
20511
|
var a;
|
|
20486
20512
|
return m(), x("div", c6, [
|
|
20487
|
-
C(
|
|
20488
|
-
C(
|
|
20513
|
+
C(S(Gw)),
|
|
20514
|
+
C(S(w_), {
|
|
20489
20515
|
ref_key: "actionTable",
|
|
20490
20516
|
ref: n,
|
|
20491
20517
|
selected: t.selectedRows,
|
|
@@ -20501,7 +20527,7 @@ const IE = {
|
|
|
20501
20527
|
"onUpdate:selected": l[2] || (l[2] = (u) => s.$emit("update:selected-rows", u)),
|
|
20502
20528
|
"onUpdate:pagination": () => {
|
|
20503
20529
|
},
|
|
20504
|
-
onRequest: l[3] || (l[3] = (u) => s.$emit("update:quasar-pagination", { ...u.pagination, __sort:
|
|
20530
|
+
onRequest: l[3] || (l[3] = (u) => s.$emit("update:quasar-pagination", { ...u.pagination, __sort: S(TE)(u.pagination, t.columns) }))
|
|
20505
20531
|
}, {
|
|
20506
20532
|
"no-data": O(() => [
|
|
20507
20533
|
j(s.$slots, "empty", {}, () => [
|
|
@@ -20525,7 +20551,7 @@ const IE = {
|
|
|
20525
20551
|
];
|
|
20526
20552
|
}),
|
|
20527
20553
|
"header-cell": O((u) => [
|
|
20528
|
-
C(
|
|
20554
|
+
C(S(t6), {
|
|
20529
20555
|
modelValue: i.value,
|
|
20530
20556
|
"onUpdate:modelValue": [
|
|
20531
20557
|
l[1] || (l[1] = (c) => i.value = c),
|
|
@@ -20588,11 +20614,11 @@ const IE = {
|
|
|
20588
20614
|
return r;
|
|
20589
20615
|
}
|
|
20590
20616
|
return (r, i) => (m(), x("div", d6, [
|
|
20591
|
-
t.type === "SINGLE_FILE" ? (m(), I(
|
|
20617
|
+
t.type === "SINGLE_FILE" ? (m(), I(S(Nr), {
|
|
20592
20618
|
key: 0,
|
|
20593
20619
|
image: t.value,
|
|
20594
20620
|
class: "w-24"
|
|
20595
|
-
}, null, 8, ["image"])) : t.type === "MULTI_FILE" ? (m(!0), x(H, { key: 1 }, we(t.value, (o) => (m(), I(
|
|
20621
|
+
}, null, 8, ["image"])) : t.type === "MULTI_FILE" ? (m(!0), x(H, { key: 1 }, we(t.value, (o) => (m(), I(S(Nr), {
|
|
20596
20622
|
key: "file-" + o.id,
|
|
20597
20623
|
image: o,
|
|
20598
20624
|
class: "w-24 mb-2"
|
|
@@ -20627,13 +20653,13 @@ const IE = {
|
|
|
20627
20653
|
P("h5", null, N(t.change.label) + " (" + N(t.change.name) + ")", 1),
|
|
20628
20654
|
P("div", h6, [
|
|
20629
20655
|
P("div", p6, [
|
|
20630
|
-
C(
|
|
20656
|
+
C(S(yu), {
|
|
20631
20657
|
type: t.change.type,
|
|
20632
20658
|
value: t.change.oldValue
|
|
20633
20659
|
}, null, 8, ["type", "value"])
|
|
20634
20660
|
]),
|
|
20635
20661
|
P("div", g6, [
|
|
20636
|
-
C(
|
|
20662
|
+
C(S(yu), {
|
|
20637
20663
|
type: t.change.type,
|
|
20638
20664
|
value: t.change.newValue
|
|
20639
20665
|
}, null, 8, ["type", "value"])
|
|
@@ -20651,8 +20677,8 @@ const IE = {
|
|
|
20651
20677
|
key: 0,
|
|
20652
20678
|
href: n.value,
|
|
20653
20679
|
target: "_blank"
|
|
20654
|
-
}, N(
|
|
20655
|
-
W(N(
|
|
20680
|
+
}, N(S(Ar)(t.item.timestamp)), 9, y6)) : (m(), x(H, { key: 1 }, [
|
|
20681
|
+
W(N(S(Ar)(t.item.timestamp)), 1)
|
|
20656
20682
|
], 64))
|
|
20657
20683
|
])
|
|
20658
20684
|
])
|
|
@@ -20748,7 +20774,7 @@ const IE = {
|
|
|
20748
20774
|
name: o.name
|
|
20749
20775
|
}, {
|
|
20750
20776
|
default: O(() => [
|
|
20751
|
-
o.vnode ? (m(), I(
|
|
20777
|
+
o.vnode ? (m(), I(S(Dr), {
|
|
20752
20778
|
key: 0,
|
|
20753
20779
|
vnode: o.vnode
|
|
20754
20780
|
}, null, 8, ["vnode"])) : $("", !0)
|
|
@@ -21028,13 +21054,13 @@ const IE = {
|
|
|
21028
21054
|
default: O(() => [
|
|
21029
21055
|
(m(!0), x(H, null, we(t.panels, (i) => (m(), x(H, null, [
|
|
21030
21056
|
i.enabled === void 0 || i.enabled ? (m(), x(H, { key: 0 }, [
|
|
21031
|
-
i.tabVnode ? (m(), I(
|
|
21057
|
+
i.tabVnode ? (m(), I(S(Dr), {
|
|
21032
21058
|
key: i.name,
|
|
21033
21059
|
vnode: i.tabVnode(t.modelValue),
|
|
21034
21060
|
"is-active": t.modelValue === i.name,
|
|
21035
21061
|
name: i.name,
|
|
21036
21062
|
label: i.label
|
|
21037
|
-
}, null, 8, ["vnode", "is-active", "name", "label"])) : (m(), I(
|
|
21063
|
+
}, null, 8, ["vnode", "is-active", "name", "label"])) : (m(), I(S(S_), {
|
|
21038
21064
|
key: i.name,
|
|
21039
21065
|
name: i.name,
|
|
21040
21066
|
label: i.label
|
|
@@ -21072,7 +21098,7 @@ const IE = {
|
|
|
21072
21098
|
const e = t, n = z(e.modelValue);
|
|
21073
21099
|
return pe(() => e.modelValue, (r) => n.value = r), (r, i) => {
|
|
21074
21100
|
const o = U("QBtn");
|
|
21075
|
-
return m(), I(
|
|
21101
|
+
return m(), I(S(Kd), {
|
|
21076
21102
|
position: "right",
|
|
21077
21103
|
show: !0,
|
|
21078
21104
|
overlay: "",
|
|
@@ -21091,7 +21117,7 @@ const IE = {
|
|
|
21091
21117
|
onClick: i[0] || (i[0] = (s) => r.$emit("close"))
|
|
21092
21118
|
}, {
|
|
21093
21119
|
default: O(() => [
|
|
21094
|
-
C(
|
|
21120
|
+
C(S(qs), { class: "w-4" })
|
|
21095
21121
|
]),
|
|
21096
21122
|
_: 1
|
|
21097
21123
|
})
|
|
@@ -21100,7 +21126,7 @@ const IE = {
|
|
|
21100
21126
|
P("div", K6, [
|
|
21101
21127
|
P("div", J6, [
|
|
21102
21128
|
P("div", e3, [
|
|
21103
|
-
C(
|
|
21129
|
+
C(S(W6), {
|
|
21104
21130
|
modelValue: n.value,
|
|
21105
21131
|
"onUpdate:modelValue": [
|
|
21106
21132
|
i[1] || (i[1] = (s) => n.value = s),
|
|
@@ -21109,7 +21135,7 @@ const IE = {
|
|
|
21109
21135
|
panels: t.panels
|
|
21110
21136
|
}, null, 8, ["modelValue", "panels"])
|
|
21111
21137
|
]),
|
|
21112
|
-
C(
|
|
21138
|
+
C(S(w6), {
|
|
21113
21139
|
panels: t.panels,
|
|
21114
21140
|
"active-panel": n.value,
|
|
21115
21141
|
class: G(t.panelsClass)
|
|
@@ -21125,7 +21151,7 @@ const IE = {
|
|
|
21125
21151
|
});
|
|
21126
21152
|
};
|
|
21127
21153
|
}
|
|
21128
|
-
}, n3 = "0.3.
|
|
21154
|
+
}, n3 = "0.3.58", r3 = {
|
|
21129
21155
|
version: n3
|
|
21130
21156
|
}, { version: i3 } = r3;
|
|
21131
21157
|
function cI(t) {
|