quasar-ui-danx 0.3.44 → 0.3.45
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 +69 -73
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +4 -4
- package/dist/danx.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/download.ts +11 -20
package/dist/danx.es.js
CHANGED
@@ -183,8 +183,8 @@ re(Pe, "notify"), re(Pe, "PROP_DEFINITIONS", {
|
|
183
183
|
default: ""
|
184
184
|
}
|
185
185
|
});
|
186
|
-
let
|
187
|
-
const $T = new
|
186
|
+
let dt = Pe;
|
187
|
+
const $T = new dt(), Pn = $t(null);
|
188
188
|
function LT(t, e = null) {
|
189
189
|
const n = t.map((s) => {
|
190
190
|
const l = { ...e, ...s };
|
@@ -241,10 +241,10 @@ async function Bs(t, e, n = null) {
|
|
241
241
|
console.error(i), r = { error: `An error occurred while performing the action ${t.label}. Please try again later.` };
|
242
242
|
}
|
243
243
|
if (r === void 0 || r === !0 || r != null && r.success)
|
244
|
-
r != null && r.success && Array.isArray(e) &&
|
244
|
+
r != null && r.success && Array.isArray(e) && dt.success(`Successfully performed action ${t.label} on ${e.length} items`), t.onSuccess && t.onSuccess(r, e, n);
|
245
245
|
else {
|
246
246
|
const i = [];
|
247
|
-
r.errors ? i.push(...r.errors) : r.error ? i.push(typeof r.error == "string" ? r.error : r.error.message) : i.push("An unknown error occurred. Please try again later."),
|
247
|
+
r.errors ? i.push(...r.errors) : r.error ? i.push(typeof r.error == "string" ? r.error : r.error.message) : i.push("An unknown error occurred. Please try again later."), dt.combine("error", i), t.onError && t.onError(r, e, n);
|
248
248
|
}
|
249
249
|
return t.onFinish && t.onFinish(r, e, n), r;
|
250
250
|
}
|
@@ -351,19 +351,19 @@ class Dt extends vn {
|
|
351
351
|
super("Zone is an abstract class");
|
352
352
|
}
|
353
353
|
}
|
354
|
-
const $ = "numeric",
|
354
|
+
const $ = "numeric", _t = "short", We = "long", ri = {
|
355
355
|
year: $,
|
356
356
|
month: $,
|
357
357
|
day: $
|
358
358
|
}, za = {
|
359
359
|
year: $,
|
360
|
-
month:
|
360
|
+
month: _t,
|
361
361
|
day: $
|
362
362
|
}, D_ = {
|
363
363
|
year: $,
|
364
|
-
month:
|
364
|
+
month: _t,
|
365
365
|
day: $,
|
366
|
-
weekday:
|
366
|
+
weekday: _t
|
367
367
|
}, Va = {
|
368
368
|
year: $,
|
369
369
|
month: We,
|
@@ -384,7 +384,7 @@ const $ = "numeric", dt = "short", We = "long", ri = {
|
|
384
384
|
hour: $,
|
385
385
|
minute: $,
|
386
386
|
second: $,
|
387
|
-
timeZoneName:
|
387
|
+
timeZoneName: _t
|
388
388
|
}, Wa = {
|
389
389
|
hour: $,
|
390
390
|
minute: $,
|
@@ -404,7 +404,7 @@ const $ = "numeric", dt = "short", We = "long", ri = {
|
|
404
404
|
minute: $,
|
405
405
|
second: $,
|
406
406
|
hourCycle: "h23",
|
407
|
-
timeZoneName:
|
407
|
+
timeZoneName: _t
|
408
408
|
}, Xa = {
|
409
409
|
hour: $,
|
410
410
|
minute: $,
|
@@ -426,22 +426,22 @@ const $ = "numeric", dt = "short", We = "long", ri = {
|
|
426
426
|
second: $
|
427
427
|
}, eu = {
|
428
428
|
year: $,
|
429
|
-
month:
|
429
|
+
month: _t,
|
430
430
|
day: $,
|
431
431
|
hour: $,
|
432
432
|
minute: $
|
433
433
|
}, tu = {
|
434
434
|
year: $,
|
435
|
-
month:
|
435
|
+
month: _t,
|
436
436
|
day: $,
|
437
437
|
hour: $,
|
438
438
|
minute: $,
|
439
439
|
second: $
|
440
440
|
}, P_ = {
|
441
441
|
year: $,
|
442
|
-
month:
|
442
|
+
month: _t,
|
443
443
|
day: $,
|
444
|
-
weekday:
|
444
|
+
weekday: _t,
|
445
445
|
hour: $,
|
446
446
|
minute: $
|
447
447
|
}, nu = {
|
@@ -450,7 +450,7 @@ const $ = "numeric", dt = "short", We = "long", ri = {
|
|
450
450
|
day: $,
|
451
451
|
hour: $,
|
452
452
|
minute: $,
|
453
|
-
timeZoneName:
|
453
|
+
timeZoneName: _t
|
454
454
|
}, ru = {
|
455
455
|
year: $,
|
456
456
|
month: We,
|
@@ -458,7 +458,7 @@ const $ = "numeric", dt = "short", We = "long", ri = {
|
|
458
458
|
hour: $,
|
459
459
|
minute: $,
|
460
460
|
second: $,
|
461
|
-
timeZoneName:
|
461
|
+
timeZoneName: _t
|
462
462
|
}, iu = {
|
463
463
|
year: $,
|
464
464
|
month: We,
|
@@ -5602,14 +5602,10 @@ async function A1(t, e = "download") {
|
|
5602
5602
|
} else
|
5603
5603
|
console.error("blobOrUrl was not a Blob or URL", t), i(new Error("The provided value must be a Blob or a Blob URL string."));
|
5604
5604
|
}).then((r) => {
|
5605
|
-
|
5606
|
-
|
5607
|
-
|
5608
|
-
|
5609
|
-
bubbles: !0,
|
5610
|
-
cancelable: !0
|
5611
|
-
});
|
5612
|
-
i.dispatchEvent(o), document.body.removeChild(i), t instanceof Blob && setTimeout(() => URL.revokeObjectURL(r), 100);
|
5605
|
+
dt.success(`Click to save photo to phone: <a target="_blank" href='${r}' download="${e}">${e.replace(/.*\//, "")}</a>`, {
|
5606
|
+
html: !0,
|
5607
|
+
timeout: 6e4
|
5608
|
+
}), t instanceof Blob && setTimeout(() => URL.revokeObjectURL(r), 6e4);
|
5613
5609
|
}).catch((r) => {
|
5614
5610
|
console.error("An error occurred while downloading the file:", r);
|
5615
5611
|
});
|
@@ -9536,7 +9532,7 @@ async function cb(t, e = null) {
|
|
9536
9532
|
try {
|
9537
9533
|
const { waitForLocation: n, location: r } = k_();
|
9538
9534
|
if (e && setTimeout(() => {
|
9539
|
-
!r.value && e &&
|
9535
|
+
!r.value && e && dt.warning(e);
|
9540
9536
|
}, 1e3), window.location.protocol === "https:")
|
9541
9537
|
await n();
|
9542
9538
|
else if (window.location.href.match("localhost"))
|
@@ -9750,7 +9746,7 @@ class hs {
|
|
9750
9746
|
console.warn(`Upload failed, trying ${o} more times....`, a), await Ko(1e3);
|
9751
9747
|
}
|
9752
9748
|
if (!(i != null && i.url)) {
|
9753
|
-
|
9749
|
+
dt.error("Could not fetch presigned upload URL for file " + e.file.name);
|
9754
9750
|
continue;
|
9755
9751
|
}
|
9756
9752
|
const s = !i.url.match("upload-presigned-url-contents");
|
@@ -10690,7 +10686,7 @@ const ps = { render: zy }, n3 = {
|
|
10690
10686
|
try {
|
10691
10687
|
await e.exporter();
|
10692
10688
|
} catch (i) {
|
10693
|
-
console.error(i),
|
10689
|
+
console.error(i), dt.error("Failed to export data");
|
10694
10690
|
}
|
10695
10691
|
n.value = !1;
|
10696
10692
|
}
|
@@ -13002,7 +12998,7 @@ var je = {
|
|
13002
12998
|
}, jr = function(e) {
|
13003
12999
|
return he(e) || Ee(e);
|
13004
13000
|
}, jc = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
|
13005
|
-
}, De = Array.isArray, $o = /(?:-?\.?\d|\.)+/gi, Yc = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, Mn = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Ji = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, Qc = /[+-]=-?[.\d]+/, Xc = /[^,'"\[\]\s]+/gi, I2 = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, ce,
|
13001
|
+
}, De = Array.isArray, $o = /(?:-?\.?\d|\.)+/gi, Yc = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, Mn = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Ji = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, Qc = /[+-]=-?[.\d]+/, Xc = /[^,'"\[\]\s]+/gi, I2 = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, ce, ht, Lo, xs, Ye = {}, hi = {}, Kc, Jc = function(e) {
|
13006
13002
|
return (hi = bn(e, Ye)) && ze;
|
13007
13003
|
}, vs = function(e, n) {
|
13008
13004
|
return console.warn("Invalid property", e, "set to", n, "Missing plugin? gsap.registerPlugin()");
|
@@ -13137,7 +13133,7 @@ var je = {
|
|
13137
13133
|
r.rawTime() >= 0 && r.totalTime(r._tTime), r = r._dp;
|
13138
13134
|
e._zTime = -ae;
|
13139
13135
|
}
|
13140
|
-
},
|
13136
|
+
}, pt = function(e, n, r, i) {
|
13141
13137
|
return n.parent && jt(n), n._start = Ce((It(r) ? r : r || e !== ce ? Je(e, r, n) : e._time) + n._delay), n._end = Ce(n._start + (n.totalDuration() / Math.abs(n.timeScale()) || 0)), sd(e, n, "_first", "_last", e._sort ? "_start" : 0), Bo(n) || (e._recent = n), i || ld(e, n), e._ts < 0 && $i(e, e._tTime), e;
|
13142
13138
|
}, ad = function(e, n) {
|
13143
13139
|
return (Ye.ScrollTrigger || vs("scrollTrigger", n)) && Ye.ScrollTrigger.create(n, e);
|
@@ -13207,7 +13203,7 @@ var je = {
|
|
13207
13203
|
return Pr(e, n, i);
|
13208
13204
|
});
|
13209
13205
|
}, zo = [].slice, cd = function(e, n) {
|
13210
|
-
return e && xt(e) && "length" in e && (!n && !e.length || e.length - 1 in e && xt(e[0])) && !e.nodeType && e !==
|
13206
|
+
return e && xt(e) && "length" in e && (!n && !e.length || e.length - 1 in e && xt(e[0])) && !e.nodeType && e !== ht;
|
13211
13207
|
}, B2 = function(e, n, r) {
|
13212
13208
|
return r === void 0 && (r = []), e.forEach(function(i) {
|
13213
13209
|
var o;
|
@@ -13459,7 +13455,7 @@ var je = {
|
|
13459
13455
|
return _ / (1e3 / (g || 60));
|
13460
13456
|
},
|
13461
13457
|
wake: function() {
|
13462
|
-
Kc && (!Lo && ys() && (
|
13458
|
+
Kc && (!Lo && ys() && (ht = Lo = window, xs = ht.document || {}, Ye.gsap = ze, (ht.gsapVersions || (ht.gsapVersions = [])).push(ze.version), Jc(hi || ht.GreenSockGlobals || !ht.gsap && ht || {}), gd.forEach(bd)), c = typeof requestAnimationFrame < "u" && requestAnimationFrame, a && d.sleep(), u = c || function(g) {
|
13463
13459
|
return setTimeout(g, s - d.time * 1e3 + 1 | 0);
|
13464
13460
|
}, Tr = 1, p(2));
|
13465
13461
|
},
|
@@ -13609,7 +13605,7 @@ var Cd = function(e, n) {
|
|
13609
13605
|
if (o && o.smoothChildTiming && this._ts) {
|
13610
13606
|
for ($i(this, r), !o._dp || o.parent || ld(o, this); o && o.parent; )
|
13611
13607
|
o.parent._time !== o._start + (o._ts >= 0 ? o._tTime / o._ts : (o.totalDuration() - o._tTime) / -o._ts) && o.totalTime(o._tTime, !0), o = o.parent;
|
13612
|
-
!this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && r < this._tDur || this._ts < 0 && r > 0 || !this._tDur && !r) &&
|
13608
|
+
!this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && r < this._tDur || this._ts < 0 && r > 0 || !this._tDur && !r) && pt(this._dp, this, this._start - this._delay);
|
13613
13609
|
}
|
13614
13610
|
return (this._tTime !== r || !this._dur && !i || this._initted && Math.abs(this._zTime) === ae || !r && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = r), rd(this, r, i)), this;
|
13615
13611
|
}, e.time = function(r, i) {
|
@@ -13634,7 +13630,7 @@ var Cd = function(e, n) {
|
|
13634
13630
|
if (arguments.length) {
|
13635
13631
|
this._start = r;
|
13636
13632
|
var i = this.parent || this._dp;
|
13637
|
-
return i && (i._sort || !this.parent) &&
|
13633
|
+
return i && (i._sort || !this.parent) && pt(i, this, r - this._delay), this;
|
13638
13634
|
}
|
13639
13635
|
return this._start;
|
13640
13636
|
}, e.endTime = function(r) {
|
@@ -13719,7 +13715,7 @@ var Ne = /* @__PURE__ */ function(t) {
|
|
13719
13715
|
Hc(e, t);
|
13720
13716
|
function e(r, i) {
|
13721
13717
|
var o;
|
13722
|
-
return r === void 0 && (r = {}), o = t.call(this, r) || this, o.labels = {}, o.smoothChildTiming = !!r.smoothChildTiming, o.autoRemoveChildren = !!r.autoRemoveChildren, o._sort = Le(r.sortChildren), ce &&
|
13718
|
+
return r === void 0 && (r = {}), o = t.call(this, r) || this, o.labels = {}, o.smoothChildTiming = !!r.smoothChildTiming, o.autoRemoveChildren = !!r.autoRemoveChildren, o._sort = Le(r.sortChildren), ce && pt(r.parent || ce, St(o), i), r.reversed && o.reverse(), r.paused && o.paused(!0), r.scrollTrigger && ad(St(o), r.scrollTrigger), o;
|
13723
13719
|
}
|
13724
13720
|
var n = e.prototype;
|
13725
13721
|
return n.to = function(i, o, s) {
|
@@ -13731,7 +13727,7 @@ var Ne = /* @__PURE__ */ function(t) {
|
|
13731
13727
|
}, n.set = function(i, o, s) {
|
13732
13728
|
return o.duration = 0, o.parent = this, _r(o).repeatDelay || (o.repeat = 0), o.immediateRender = !!o.immediateRender, new Te(i, o, Je(this, s), 1), this;
|
13733
13729
|
}, n.call = function(i, o, s) {
|
13734
|
-
return
|
13730
|
+
return pt(this, Te.delayedCall(0, i, o), s);
|
13735
13731
|
}, n.staggerTo = function(i, o, s, l, a, u, c) {
|
13736
13732
|
return s.duration = o, s.stagger = s.stagger || l, s.onComplete = u, s.onCompleteParams = c, s.parent = this, new Te(i, s, Je(this, a)), this;
|
13737
13733
|
}, n.staggerFrom = function(i, o, s, l, a, u, c) {
|
@@ -13800,7 +13796,7 @@ var Ne = /* @__PURE__ */ function(t) {
|
|
13800
13796
|
else
|
13801
13797
|
return this;
|
13802
13798
|
}
|
13803
|
-
return this !== i ?
|
13799
|
+
return this !== i ? pt(this, i, o) : this;
|
13804
13800
|
}, n.getChildren = function(i, o, s, l) {
|
13805
13801
|
i === void 0 && (i = !0), o === void 0 && (o = !0), s === void 0 && (s = !0), l === void 0 && (l = -nt);
|
13806
13802
|
for (var a = [], u = this._first; u; )
|
@@ -13820,7 +13816,7 @@ var Ne = /* @__PURE__ */ function(t) {
|
|
13820
13816
|
return delete this.labels[i], this;
|
13821
13817
|
}, n.addPause = function(i, o, s) {
|
13822
13818
|
var l = Te.delayedCall(0, o || wr, s);
|
13823
|
-
return l.data = "isPause", this._hasPause = 1,
|
13819
|
+
return l.data = "isPause", this._hasPause = 1, pt(this, l, Je(this, i));
|
13824
13820
|
}, n.removePause = function(i) {
|
13825
13821
|
var o = this._first;
|
13826
13822
|
for (i = Je(this, i); o; )
|
@@ -13889,7 +13885,7 @@ var Ne = /* @__PURE__ */ function(t) {
|
|
13889
13885
|
return s.timeScale((s._repeat < 0 ? s.duration() : s.totalDuration()) / (s.reversed() ? -i : i));
|
13890
13886
|
if (s._dirty) {
|
13891
13887
|
for (d = s.parent; l; )
|
13892
|
-
u = l._prev, l._dirty && l.totalDuration(), c = l._start, c > a && s._sort && l._ts && !s._lock ? (s._lock = 1,
|
13888
|
+
u = l._prev, l._dirty && l.totalDuration(), c = l._start, c > a && s._sort && l._ts && !s._lock ? (s._lock = 1, pt(s, l, c - l._delay, 1)._lock = 0) : a = c, c < 0 && l._ts && (o -= c, (!d && !s._dp || d && d.smoothChildTiming) && (s._start += c / s._ts, s._time -= c, s._tTime -= c), s.shiftChildren(-c, !1, -1 / 0), a = 0), l._end > o && l._ts && (o = l._end), l = u;
|
13893
13889
|
Wn(s, s === ce && s._time > o ? s._time : o, 1, 1), s._dirty = 0;
|
13894
13890
|
}
|
13895
13891
|
return s._tDur;
|
@@ -14080,7 +14076,7 @@ var Te = /* @__PURE__ */ function(t) {
|
|
14080
14076
|
u || l.duration(u = C.duration());
|
14081
14077
|
} else
|
14082
14078
|
l.timeline = 0;
|
14083
|
-
return f === !0 && !gs && (Bt = St(l), ce.killTweensOf(I), Bt = 0),
|
14079
|
+
return f === !0 && !gs && (Bt = St(l), ce.killTweensOf(I), Bt = 0), pt(w, St(l), o), i.reversed && l.reverse(), i.paused && l.paused(!0), (d || !u && !p && l._start === Ce(w._time) && Le(d) && N2(St(l)) && w.data !== "nested") && (l._tTime = -ae, l.render(Math.max(0, -c) || 0)), g && ad(St(l), g), l;
|
14084
14080
|
}
|
14085
14081
|
var n = e.prototype;
|
14086
14082
|
return n.render = function(i, o, s) {
|
@@ -14250,7 +14246,7 @@ var pn = [], ei = {}, cw = [], xa = 0, dw = 0, io = function(e) {
|
|
14250
14246
|
e - xa > 2 && (io("matchMediaInit"), pn.forEach(function(r) {
|
14251
14247
|
var i = r.queries, o = r.conditions, s, l, a, u;
|
14252
14248
|
for (l in i)
|
14253
|
-
s =
|
14249
|
+
s = ht.matchMedia(i[l]).matches, s && (a = 1), s !== o[l] && (o[l] = s, u = 1);
|
14254
14250
|
u && (r.revert(), a && n.push(r));
|
14255
14251
|
}), io("matchMediaRevert"), n.forEach(function(r) {
|
14256
14252
|
return r.onMatch(r, function(i) {
|
@@ -14322,7 +14318,7 @@ var pn = [], ei = {}, cw = [], xa = 0, dw = 0, io = function(e) {
|
|
14322
14318
|
var s = new Pd(0, o || this.scope), l = s.conditions = {}, a, u, c;
|
14323
14319
|
ue && !s.selector && (s.selector = ue.selector), this.contexts.push(s), i = s.add("onMatch", i), s.queries = r;
|
14324
14320
|
for (u in r)
|
14325
|
-
u === "all" ? c = 1 : (a =
|
14321
|
+
u === "all" ? c = 1 : (a = ht.matchMedia(r[u]), a && (pn.indexOf(s) < 0 && pn.push(s), (l[u] = a.matches) && (c = 1), a.addListener ? a.addListener(Zo) : a.addEventListener("change", Zo)));
|
14326
14322
|
return c && i(s, function(d) {
|
14327
14323
|
return s.add(null, d);
|
14328
14324
|
}), this;
|
@@ -14411,8 +14407,8 @@ var pn = [], ei = {}, cw = [], xa = 0, dw = 0, io = function(e) {
|
|
14411
14407
|
e === void 0 && (e = {});
|
14412
14408
|
var r = new Ne(e), i, o;
|
14413
14409
|
for (r.smoothChildTiming = Le(e.smoothChildTiming), ce.remove(r), r._dp = 0, r._time = r._tTime = ce._time, i = ce._first; i; )
|
14414
|
-
o = i._next, (n || !(!i._dur && i instanceof Te && i.vars.onComplete === i._targets[0])) &&
|
14415
|
-
return
|
14410
|
+
o = i._next, (n || !(!i._dur && i instanceof Te && i.vars.onComplete === i._targets[0])) && pt(r, i, i._start - i._delay), i = o;
|
14411
|
+
return pt(ce, r, 0), r;
|
14416
14412
|
},
|
14417
14413
|
context: function(e, n) {
|
14418
14414
|
return e ? new Pd(e, n) : ue;
|
@@ -14566,7 +14562,7 @@ K.Circ;
|
|
14566
14562
|
*/
|
14567
14563
|
var va, zt, Bn, Os, un, wa, As, hw = function() {
|
14568
14564
|
return typeof window < "u";
|
14569
|
-
}, kt = {}, sn = 180 / Math.PI, zn = Math.PI / 180, Fn = Math.atan2, Sa = 1e8, Ds = /([A-Z])/g, pw = /(left|right|width|margin|padding|x)/i, gw = /[\s,\(]\S/,
|
14565
|
+
}, kt = {}, sn = 180 / Math.PI, zn = Math.PI / 180, Fn = Math.atan2, Sa = 1e8, Ds = /([A-Z])/g, pw = /(left|right|width|margin|padding|x)/i, gw = /[\s,\(]\S/, gt = {
|
14570
14566
|
autoAlpha: "opacity,visibility",
|
14571
14567
|
scale: "scaleX,scaleY",
|
14572
14568
|
alpha: "opacity"
|
@@ -14601,11 +14597,11 @@ var va, zt, Bn, Os, un, wa, As, hw = function() {
|
|
14601
14597
|
var r = this, i = this.target, o = i.style, s = i._gsap;
|
14602
14598
|
if (e in kt && o) {
|
14603
14599
|
if (this.tfm = this.tfm || {}, e !== "transform")
|
14604
|
-
e =
|
14600
|
+
e = gt[e] || e, ~e.indexOf(",") ? e.split(",").forEach(function(l) {
|
14605
14601
|
return r.tfm[l] = Ct(i, l);
|
14606
14602
|
}) : this.tfm[e] = s.x ? s[e] : Ct(i, e), e === Be && (this.tfm.zOrigin = s.zOrigin);
|
14607
14603
|
else
|
14608
|
-
return
|
14604
|
+
return gt.transform.split(",").forEach(function(l) {
|
14609
14605
|
return t.call(r, l, n);
|
14610
14606
|
});
|
14611
14607
|
if (this.props.indexOf(de) >= 0)
|
@@ -14637,7 +14633,7 @@ var va, zt, Bn, Os, un, wa, As, hw = function() {
|
|
14637
14633
|
}, Ud, Wo = function(e, n) {
|
14638
14634
|
var r = zt.createElementNS ? zt.createElementNS((n || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), e) : zt.createElement(e);
|
14639
14635
|
return r && r.style ? r : zt.createElement(e);
|
14640
|
-
},
|
14636
|
+
}, bt = function t(e, n, r) {
|
14641
14637
|
var i = getComputedStyle(e);
|
14642
14638
|
return i[n] || i.getPropertyValue(n.replace(Ds, "-$1").toLowerCase()) || i.getPropertyValue(n) || !r && t(e, Yn(n) || n, 1) || "";
|
14643
14639
|
}, Ta = "O,Moz,ms,Ms,Webkit".split(","), Yn = function(e, n, r) {
|
@@ -14707,18 +14703,18 @@ var va, zt, Bn, Os, un, wa, As, hw = function() {
|
|
14707
14703
|
var w = e.style[n];
|
14708
14704
|
e.style[n] = d + i, p = e[c], w ? e.style[n] = w : yn(e, n);
|
14709
14705
|
} else
|
14710
|
-
(f || s === "%") && !Fw[
|
14706
|
+
(f || s === "%") && !Fw[bt(h, "display")] && (l.position = bt(e, "position")), h === e && (l.position = "static"), h.appendChild(un), p = un[c], h.removeChild(un), l.position = "absolute";
|
14711
14707
|
return a && f && (g = fn(h), g.time = Ze.time, g.width = h[c]), ye(_ ? p * o / d : p && o ? d / p * o : 0);
|
14712
14708
|
}, Ct = function(e, n, r, i) {
|
14713
14709
|
var o;
|
14714
|
-
return Os || jo(), n in
|
14710
|
+
return Os || jo(), n in gt && n !== "transform" && (n = gt[n], ~n.indexOf(",") && (n = n.split(",")[0])), kt[n] && n !== "transform" ? (o = Ir(e, i), o = n !== "transformOrigin" ? o[n] : o.svg ? o.origin : vi(bt(e, Be)) + " " + o.zOrigin + "px") : (o = e.style[n], (!o || o === "auto" || i || ~(o + "").indexOf("calc(")) && (o = xi[n] && xi[n](e, n, r) || bt(e, n) || nd(e, n) || (n === "opacity" ? 1 : 0))), r && !~(o + "").trim().indexOf(" ") ? Yt(e, n, o, r) + r : o;
|
14715
14711
|
}, Ow = function(e, n, r, i) {
|
14716
14712
|
if (!r || r === "none") {
|
14717
|
-
var o = Yn(n, e, 1), s = o &&
|
14718
|
-
s && s !== r ? (n = o, r = s) : n === "borderColor" && (r =
|
14713
|
+
var o = Yn(n, e, 1), s = o && bt(e, o, 1);
|
14714
|
+
s && s !== r ? (n = o, r = s) : n === "borderColor" && (r = bt(e, "borderTopColor"));
|
14719
14715
|
}
|
14720
14716
|
var l = new Re(this._pt, e.style, n, 0, 1, Ad), a = 0, u = 0, c, d, _, f, p, h, g, S, w, I, C, T;
|
14721
|
-
if (l.b = r, l.e = i, r += "", i += "", i === "auto" && (h = e.style[n], e.style[n] = i, i =
|
14717
|
+
if (l.b = r, l.e = i, r += "", i += "", i === "auto" && (h = e.style[n], e.style[n] = i, i = bt(e, n) || i, h ? e.style[n] = h : yn(e, n)), c = [r, i], vd(c), r = c[0], i = c[1], _ = r.match(Mn) || [], T = i.match(Mn) || [], T.length) {
|
14722
14718
|
for (; d = Mn.exec(i); )
|
14723
14719
|
g = d[0], w = i.substring(a, d.index), p ? p = (p + 1) % 5 : (w.substr(-5) === "rgba(" || w.substr(-5) === "hsla(") && (p = 1), g !== (h = _[u++] || "") && (f = parseFloat(h) || 0, C = h.substr((f + "").length), g.charAt(1) === "=" && (g = Rn(f, g) + C), S = parseFloat(g), I = g.substr((S + "").length), a = Mn.lastIndex - I.length, I || (I = I || je.units[n] || C, a === i.length && (i += I, l.e += I)), C !== I && (f = Yt(e, n, h, I) || 0), l._pt = {
|
14724
14720
|
_next: l._pt,
|
@@ -14824,7 +14820,7 @@ var va, zt, Bn, Os, un, wa, As, hw = function() {
|
|
14824
14820
|
}, Er = [1, 0, 0, 1, 0, 0], zd = {}, Vd = function(e) {
|
14825
14821
|
return e === "matrix(1, 0, 0, 1, 0, 0)" || e === "none" || !e;
|
14826
14822
|
}, ka = function(e) {
|
14827
|
-
var n =
|
14823
|
+
var n = bt(e, de);
|
14828
14824
|
return Vd(n) ? Er : n.substr(7).match(Yc).map(ye);
|
14829
14825
|
}, Ps = function(e, n) {
|
14830
14826
|
var r = e._gsap || fn(e), i = e.style, o = ka(e), s, l, a, u;
|
@@ -14836,8 +14832,8 @@ var va, zt, Bn, Os, un, wa, As, hw = function() {
|
|
14836
14832
|
var r = e._gsap || new Cd(e);
|
14837
14833
|
if ("x" in r && !n && !r.uncache)
|
14838
14834
|
return r;
|
14839
|
-
var i = e.style, o = r.scaleX < 0, s = "px", l = "deg", a = getComputedStyle(e), u =
|
14840
|
-
return c = d = _ = h = g = S = w = I = C = 0, f = p = 1, r.svg = !!(e.getCTM && Bd(e)), a.translate && ((a.translate !== "none" || a.scale !== "none" || a.rotate !== "none") && (i[de] = (a.translate !== "none" ? "translate3d(" + (a.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (a.rotate !== "none" ? "rotate(" + a.rotate + ") " : "") + (a.scale !== "none" ? "scale(" + a.scale.split(" ").join(",") + ") " : "") + (a[de] !== "none" ? a[de] : "")), i.scale = i.rotate = i.translate = "none"), b = Ps(e, r.svg), r.svg && (r.uncache ? (Ve = e.getBBox(), u = r.xOrigin - Ve.x + "px " + (r.yOrigin - Ve.y) + "px", ve = "") : ve = !n && e.getAttribute("data-svg-origin"), Yo(e, ve || u, !!ve || r.originIsAbsolute, r.smooth !== !1, b)), T = r.xOrigin || 0, x = r.yOrigin || 0, b !== Er && (Q = b[0], J = b[1], ie = b[2], ge = b[3], c = xe = b[4], d = _e = b[5], b.length === 6 ? (f = Math.sqrt(Q * Q + J * J), p = Math.sqrt(ge * ge + ie * ie), h = Q || J ? Fn(J, Q) * sn : 0, w = ie || ge ? Fn(ie, ge) * sn + h : 0, w && (p *= Math.abs(Math.cos(w * zn))), r.svg && (c -= T - (T * Q + x * ie), d -= x - (T * J + x * ge))) : (vt = b[6], Nr = b[7], Kt = b[8], Ot = b[9],
|
14835
|
+
var i = e.style, o = r.scaleX < 0, s = "px", l = "deg", a = getComputedStyle(e), u = bt(e, Be) || "0", c, d, _, f, p, h, g, S, w, I, C, T, x, b, k, A, R, Q, J, ie, ge, xe, _e, ve, Ve, Tn, Kt, Ot, ft, Nr, st, vt;
|
14836
|
+
return c = d = _ = h = g = S = w = I = C = 0, f = p = 1, r.svg = !!(e.getCTM && Bd(e)), a.translate && ((a.translate !== "none" || a.scale !== "none" || a.rotate !== "none") && (i[de] = (a.translate !== "none" ? "translate3d(" + (a.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (a.rotate !== "none" ? "rotate(" + a.rotate + ") " : "") + (a.scale !== "none" ? "scale(" + a.scale.split(" ").join(",") + ") " : "") + (a[de] !== "none" ? a[de] : "")), i.scale = i.rotate = i.translate = "none"), b = Ps(e, r.svg), r.svg && (r.uncache ? (Ve = e.getBBox(), u = r.xOrigin - Ve.x + "px " + (r.yOrigin - Ve.y) + "px", ve = "") : ve = !n && e.getAttribute("data-svg-origin"), Yo(e, ve || u, !!ve || r.originIsAbsolute, r.smooth !== !1, b)), T = r.xOrigin || 0, x = r.yOrigin || 0, b !== Er && (Q = b[0], J = b[1], ie = b[2], ge = b[3], c = xe = b[4], d = _e = b[5], b.length === 6 ? (f = Math.sqrt(Q * Q + J * J), p = Math.sqrt(ge * ge + ie * ie), h = Q || J ? Fn(J, Q) * sn : 0, w = ie || ge ? Fn(ie, ge) * sn + h : 0, w && (p *= Math.abs(Math.cos(w * zn))), r.svg && (c -= T - (T * Q + x * ie), d -= x - (T * J + x * ge))) : (vt = b[6], Nr = b[7], Kt = b[8], Ot = b[9], ft = b[10], st = b[11], c = b[12], d = b[13], _ = b[14], k = Fn(vt, ft), g = k * sn, k && (A = Math.cos(-k), R = Math.sin(-k), ve = xe * A + Kt * R, Ve = _e * A + Ot * R, Tn = vt * A + ft * R, Kt = xe * -R + Kt * A, Ot = _e * -R + Ot * A, ft = vt * -R + ft * A, st = Nr * -R + st * A, xe = ve, _e = Ve, vt = Tn), k = Fn(-ie, ft), S = k * sn, k && (A = Math.cos(-k), R = Math.sin(-k), ve = Q * A - Kt * R, Ve = J * A - Ot * R, Tn = ie * A - ft * R, st = ge * R + st * A, Q = ve, J = Ve, ie = Tn), k = Fn(J, Q), h = k * sn, k && (A = Math.cos(k), R = Math.sin(k), ve = Q * A + J * R, Ve = xe * A + _e * R, J = J * A - Q * R, _e = _e * A - xe * R, Q = ve, xe = Ve), g && Math.abs(g) + Math.abs(h) > 359.9 && (g = h = 0, S = 180 - S), f = ye(Math.sqrt(Q * Q + J * J + ie * ie)), p = ye(Math.sqrt(_e * _e + vt * vt)), k = Fn(xe, _e), w = Math.abs(k) > 2e-4 ? k * sn : 0, C = st ? 1 / (st < 0 ? -st : st) : 0), r.svg && (ve = e.getAttribute("transform"), r.forceCSS = e.setAttribute("transform", "") || !Vd(bt(e, de)), ve && e.setAttribute("transform", ve))), Math.abs(w) > 90 && Math.abs(w) < 270 && (o ? (f *= -1, w += h <= 0 ? 180 : -180, h += h <= 0 ? 180 : -180) : (p *= -1, w += w <= 0 ? 180 : -180)), n = n || r.uncache, r.x = c - ((r.xPercent = c && (!n && r.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-c) ? -50 : 0))) ? e.offsetWidth * r.xPercent / 100 : 0) + s, r.y = d - ((r.yPercent = d && (!n && r.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-d) ? -50 : 0))) ? e.offsetHeight * r.yPercent / 100 : 0) + s, r.z = _ + s, r.scaleX = ye(f), r.scaleY = ye(p), r.rotation = ye(h) + l, r.rotationX = ye(g) + l, r.rotationY = ye(S) + l, r.skewX = w + l, r.skewY = I + l, r.transformPerspective = C + s, (r.zOrigin = parseFloat(u.split(" ")[2]) || !n && r.zOrigin || 0) && (i[Be] = vi(u)), r.xOffset = r.yOffset = 0, r.force3D = je.force3D, r.renderTransform = r.svg ? Nw : Ud ? qd : Pw, r.uncache = 0, r;
|
14841
14837
|
}, vi = function(e) {
|
14842
14838
|
return (e = e.split(" "))[0] + " " + e[1];
|
14843
14839
|
}, lo = function(e, n, r) {
|
@@ -14900,7 +14896,7 @@ var Gd = {
|
|
14900
14896
|
else if (h.substr(0, 2) === "--")
|
14901
14897
|
u = (getComputedStyle(e).getPropertyValue(h) + "").trim(), c += "", Gt.lastIndex = 0, Gt.test(u) || (g = Oe(u), S = Oe(c)), S ? g !== S && (u = Yt(e, h, u, S) + S) : g && (c += g), this.add(l, "setProperty", u, c, i, o, 0, 0, h), s.push(h), k.push(h, 0, l[h]);
|
14902
14898
|
else if (f !== "undefined") {
|
14903
|
-
if (a && h in a ? (u = typeof a[h] == "function" ? a[h].call(r, i, e, o) : a[h], Ee(u) && ~u.indexOf("random(") && (u = Sr(u)), Oe(u + "") || u === "auto" || (u += je.units[h] || Oe(Ct(e, h)) || ""), (u + "").charAt(1) === "=" && (u = Ct(e, h))) : u = Ct(e, h), _ = parseFloat(u), w = f === "string" && c.charAt(1) === "=" && c.substr(0, 2), w && (c = c.substr(2)), d = parseFloat(c), h in
|
14899
|
+
if (a && h in a ? (u = typeof a[h] == "function" ? a[h].call(r, i, e, o) : a[h], Ee(u) && ~u.indexOf("random(") && (u = Sr(u)), Oe(u + "") || u === "auto" || (u += je.units[h] || Oe(Ct(e, h)) || ""), (u + "").charAt(1) === "=" && (u = Ct(e, h))) : u = Ct(e, h), _ = parseFloat(u), w = f === "string" && c.charAt(1) === "=" && c.substr(0, 2), w && (c = c.substr(2)), d = parseFloat(c), h in gt && (h === "autoAlpha" && (_ === 1 && Ct(e, "visibility") === "hidden" && d && (_ = 0), k.push("visibility", 0, l.visibility), Vt(this, l, "visibility", _ ? "inherit" : "hidden", d ? "inherit" : "hidden", !d)), h !== "scale" && h !== "transform" && (h = gt[h], ~h.indexOf(",") && (h = h.split(",")[0]))), I = h in kt, I) {
|
14904
14900
|
if (this.styles.save(h), C || (T = e._gsap, T.renderTransform && !n.parseTransform || Ir(e, n.parseTransform), x = n.smoothOrigin !== !1 && T.smooth, C = this._pt = new Re(this._pt, l, de, 0, 1, T.renderTransform, T, 0, -1), C.dep = 1), h === "scale")
|
14905
14901
|
this._pt = new Re(this._pt, T, "scaleY", T.scaleY, (w ? Rn(T.scaleY, w + d) : d) - T.scaleY || 0, Ho), this._pt.u = 0, s.push("scaleY", h), h += "X";
|
14906
14902
|
else if (h === "transformOrigin") {
|
@@ -14947,9 +14943,9 @@ var Gd = {
|
|
14947
14943
|
n.styles.revert();
|
14948
14944
|
},
|
14949
14945
|
get: Ct,
|
14950
|
-
aliases:
|
14946
|
+
aliases: gt,
|
14951
14947
|
getSetter: function(e, n, r) {
|
14952
|
-
var i =
|
14948
|
+
var i = gt[n];
|
14953
14949
|
return i && i.indexOf(",") < 0 && (n = i), n in kt && n !== Be && (e._gsap.x || Ct(e, "x")) ? r && wa === r ? n === "scale" ? Tw : Sw : (wa = r || {}) && (n === "scale" ? Cw : Ew) : e.style && !bs(e.style[n]) ? vw : ~n.indexOf("-") ? ww : ks(e, n);
|
14954
14950
|
},
|
14955
14951
|
core: {
|
@@ -14965,9 +14961,9 @@ ze.core.getStyleSaver = Ld;
|
|
14965
14961
|
});
|
14966
14962
|
Ue(e, function(o) {
|
14967
14963
|
je.units[o] = "deg", zd[o] = 1;
|
14968
|
-
}),
|
14964
|
+
}), gt[i[13]] = t + "," + e, Ue(r, function(o) {
|
14969
14965
|
var s = o.split(":");
|
14970
|
-
|
14966
|
+
gt[s[1]] = i[s[0]];
|
14971
14967
|
});
|
14972
14968
|
})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent", "rotation,rotationX,rotationY,skewX,skewY", "transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective", "0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");
|
14973
14969
|
Ue("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(t) {
|
@@ -15262,7 +15258,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
|
|
15262
15258
|
let d = [...r.titleColumnNames];
|
15263
15259
|
if (c && !d.includes(u.name)) {
|
15264
15260
|
if (!i.value) {
|
15265
|
-
|
15261
|
+
dt.warning(`You can only have ${r.titleColumnLimit} priority columns.`);
|
15266
15262
|
return;
|
15267
15263
|
}
|
15268
15264
|
d.push(u.name);
|
@@ -17360,15 +17356,15 @@ var X4 = [
|
|
17360
17356
|
return t === "html" || t === "text";
|
17361
17357
|
}
|
17362
17358
|
}
|
17363
|
-
},
|
17364
|
-
return
|
17359
|
+
}, mt = function() {
|
17360
|
+
return mt = Object.assign || function(t) {
|
17365
17361
|
for (var e, n = 1, r = arguments.length; n < r; n++) {
|
17366
17362
|
e = arguments[n];
|
17367
17363
|
for (var i in e)
|
17368
17364
|
Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
|
17369
17365
|
}
|
17370
17366
|
return t;
|
17371
|
-
},
|
17367
|
+
}, mt.apply(this, arguments);
|
17372
17368
|
}, uS = function(t, e, n, r) {
|
17373
17369
|
return t(r || "div", {
|
17374
17370
|
id: e,
|
@@ -17383,14 +17379,14 @@ var X4 = [
|
|
17383
17379
|
}, uo = { selector: void 0, target: void 0 }, dS = l_({
|
17384
17380
|
props: aS,
|
17385
17381
|
setup: function(t, e) {
|
17386
|
-
var n = t.init ?
|
17382
|
+
var n = t.init ? mt(mt({}, t.init), uo) : mt({}, uo), r = a_(t), i = r.disabled, o = r.modelValue, s = r.tagName, l = B(null), a = null, u = t.id || Qd("tiny-vue"), c = t.init && t.init.inline || t.inline, d = !!e.attrs["onUpdate:modelValue"], _ = !0, f = t.initialValue ? t.initialValue : "", p = "", h = function(w) {
|
17387
17383
|
return d ? function() {
|
17388
17384
|
return o != null && o.value ? o.value : "";
|
17389
17385
|
} : function() {
|
17390
17386
|
return w ? f : p;
|
17391
17387
|
};
|
17392
17388
|
}, g = function() {
|
17393
|
-
var w = h(_), I =
|
17389
|
+
var w = h(_), I = mt(mt({}, n), { readonly: t.disabled, target: l.value, plugins: rS(n.plugins, t.plugins), toolbar: t.toolbar || n.toolbar, inline: c, setup: function(C) {
|
17394
17390
|
a = C, C.on("init", function(T) {
|
17395
17391
|
return tS(T, t, e, C, o, w);
|
17396
17392
|
}), typeof n.setup == "function" && n.setup(C);
|
@@ -17422,7 +17418,7 @@ var X4 = [
|
|
17422
17418
|
}));
|
17423
17419
|
var S = function(w) {
|
17424
17420
|
var I;
|
17425
|
-
p = a.getContent(), (I = on()) === null || I === void 0 || I.remove(a), n =
|
17421
|
+
p = a.getContent(), (I = on()) === null || I === void 0 || I.remove(a), n = mt(mt(mt({}, n), w), uo), hr(function() {
|
17426
17422
|
return g();
|
17427
17423
|
});
|
17428
17424
|
};
|
@@ -17868,7 +17864,7 @@ const _S = ["innerHTML"], fS = {
|
|
17868
17864
|
if (!a.value)
|
17869
17865
|
return;
|
17870
17866
|
if (s.value.includes(a.value)) {
|
17871
|
-
|
17867
|
+
dt.error("Variation name already exists");
|
17872
17868
|
return;
|
17873
17869
|
}
|
17874
17870
|
const C = r.values.map((T) => T.variation === u.value ? { ...T, variation: a.value } : T);
|
@@ -18125,7 +18121,7 @@ function O3({
|
|
18125
18121
|
}), !0) : !1;
|
18126
18122
|
}
|
18127
18123
|
async function Ve() {
|
18128
|
-
return Promise.all([R(), Q(), J(),
|
18124
|
+
return Promise.all([R(), Q(), J(), ft()]);
|
18129
18125
|
}
|
18130
18126
|
function Tn(H, ne) {
|
18131
18127
|
if (!u)
|
@@ -18150,7 +18146,7 @@ function O3({
|
|
18150
18146
|
};
|
18151
18147
|
dn(u, H);
|
18152
18148
|
}
|
18153
|
-
async function
|
18149
|
+
async function ft() {
|
18154
18150
|
var ne, oe;
|
18155
18151
|
if (!w.value || !i)
|
18156
18152
|
return;
|
@@ -18161,7 +18157,7 @@ function O3({
|
|
18161
18157
|
}
|
18162
18158
|
}
|
18163
18159
|
i && me(() => w.value, async (H, ne) => {
|
18164
|
-
H && (ne == null ? void 0 : ne.id) !== H.id && await
|
18160
|
+
H && (ne == null ? void 0 : ne.id) !== H.id && await ft();
|
18165
18161
|
});
|
18166
18162
|
function Nr(H, ne) {
|
18167
18163
|
w.value = H, I.value = ne;
|
@@ -19475,7 +19471,7 @@ const qS = {
|
|
19475
19471
|
});
|
19476
19472
|
};
|
19477
19473
|
}
|
19478
|
-
}, gT = "quasar-ui-danx", bT = "0.3.
|
19474
|
+
}, gT = "quasar-ui-danx", bT = "0.3.45", yT = "Dan <dan@flytedesk.com>", xT = "DanX Vue / Quasar component library", vT = "MIT", wT = "module", ST = "dist/danx.es.js", TT = "dist/danx.es.js", CT = {
|
19479
19475
|
dev: "cd dev && quasar dev && cd ..",
|
19480
19476
|
build: "vite build",
|
19481
19477
|
preview: "vite preview",
|
@@ -19583,7 +19579,7 @@ export {
|
|
19583
19579
|
TS as FilterListToggle,
|
19584
19580
|
I3 as FilterToolbarLayout,
|
19585
19581
|
Pa as FilterableField,
|
19586
|
-
|
19582
|
+
dt as FlashMessages,
|
19587
19583
|
a3 as FlatListFormat,
|
19588
19584
|
wx as FullScreenCarouselDialog,
|
19589
19585
|
o3 as FullScreenDialog,
|