quasar-ui-danx 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/dist/danx.es.js +1194 -1191
  2. package/dist/danx.umd.js +5 -5
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/src/components/ActionTable/ActionTable.vue +5 -1
  6. package/src/components/ActionTable/ActionTableColumn.vue +1 -1
  7. package/src/components/ActionTable/Columns/ColumnSettingsDialog.vue +1 -1
  8. package/src/components/ActionTable/Filters/FilterFieldList.vue +2 -1
  9. package/src/components/ActionTable/Form/Fields/BooleanField.vue +1 -1
  10. package/src/components/ActionTable/Form/Fields/ConfirmPasswordField.vue +1 -1
  11. package/src/components/ActionTable/Form/Fields/DateTimeField.vue +1 -1
  12. package/src/components/ActionTable/Form/Fields/InlineDateTimeField.vue +1 -1
  13. package/src/components/ActionTable/Form/Fields/IntegerField.vue +1 -1
  14. package/src/components/ActionTable/Form/Fields/MultiFileField.vue +1 -1
  15. package/src/components/ActionTable/Form/Fields/MultiKeywordField.vue +2 -1
  16. package/src/components/ActionTable/Form/Fields/NewPasswordField.vue +1 -1
  17. package/src/components/ActionTable/Form/Fields/NumberField.vue +1 -1
  18. package/src/components/ActionTable/Form/Fields/NumberRangeField.vue +1 -1
  19. package/src/components/ActionTable/Form/Fields/SelectWithChildrenField.vue +1 -1
  20. package/src/components/ActionTable/Form/Fields/SingleFileField.vue +1 -1
  21. package/src/components/ActionTable/Form/Fields/TextField.vue +2 -1
  22. package/src/components/ActionTable/Form/Fields/WysiwygField.vue +1 -1
  23. package/src/components/AuditHistory/AuditHistoryItem.vue +1 -1
  24. package/src/components/PanelsDrawer/PanelsDrawer.vue +2 -1
  25. package/src/components/Utility/Dialogs/InputDialog.vue +1 -1
  26. package/src/components/Utility/Tools/ActionVnode.vue +1 -1
  27. package/src/helpers/actions.ts +1 -1
  28. package/tsconfig.json +0 -1
  29. package/vite.config.js +3 -0
package/dist/danx.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Ld = Object.defineProperty;
2
2
  var $d = (t, e, n) => e in t ? Ld(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var te = (t, e, n) => ($d(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import { getCurrentScope as Ud, onScopeDispose as Rd, unref as x, ref as U, shallowRef as Sl, computed as R, getCurrentInstance as Bd, onMounted as yn, watch as ce, openBlock as h, createBlock as E, createVNode as C, resolveComponent as L, createElementBlock as v, normalizeClass as q, createCommentVNode as $, createElementVNode as O, toDisplayString as P, withCtx as D, Fragment as z, createTextVNode as Z, renderSlot as B, withKeys as rs, renderList as Se, resolveDirective as zd, withDirectives as Vd, mergeProps as dn, resolveDynamicComponent as fn, withModifiers as mn, normalizeStyle as is, Transition as Tl, TransitionGroup as wl, nextTick as hr, isRef as qd, defineComponent as Gd, toRefs as Zd, onBeforeUnmount as Hd, onActivated as Wd, onDeactivated as Yd, h as Eo, reactive as jd } from "vue";
4
+ import { getCurrentScope as Ud, onScopeDispose as Rd, unref as b, ref as U, shallowRef as Sl, computed as R, getCurrentInstance as Bd, onMounted as yn, watch as ce, openBlock as h, createBlock as E, createVNode as C, resolveComponent as L, createElementBlock as v, normalizeClass as q, createCommentVNode as $, createElementVNode as O, toDisplayString as P, withCtx as D, Fragment as z, createTextVNode as Z, renderSlot as B, withKeys as rs, renderList as Se, resolveDirective as zd, withDirectives as Vd, mergeProps as dn, resolveDynamicComponent as fn, withModifiers as mn, normalizeStyle as is, Transition as Tl, TransitionGroup as wl, nextTick as hr, isRef as qd, defineComponent as Gd, toRefs as Zd, onBeforeUnmount as Hd, onActivated as Wd, onDeactivated as Yd, h as Eo, reactive as jd } from "vue";
5
5
  import { uid as Xd, QSpinner as Kd, QBtn as Co, QSelect as Io, QSeparator as Jd, QTable as Qd, QTh as ef, QTab as tf } from "quasar";
6
6
  let ss = {
7
7
  fileUpload: {
@@ -10,7 +10,7 @@ let ss = {
10
10
  uploadCompletedUrl: null
11
11
  }
12
12
  };
13
- function hT(t) {
13
+ function gT(t) {
14
14
  ss = {
15
15
  ...ss,
16
16
  ...t
@@ -26,14 +26,14 @@ function nf(t, e, n = void 0) {
26
26
  function Kr(t, e) {
27
27
  return nf(t, e);
28
28
  }
29
- function pT(t, e) {
29
+ function yT(t, e) {
30
30
  return t.filter((n, r, i) => r === i.findIndex((s) => e(n, s)));
31
31
  }
32
32
  function rf(t) {
33
33
  return Ud() ? (Rd(t), !0) : !1;
34
34
  }
35
35
  function ko(t) {
36
- return typeof t == "function" ? t() : x(t);
36
+ return typeof t == "function" ? t() : b(t);
37
37
  }
38
38
  const sf = typeof window < "u" && typeof document < "u";
39
39
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -136,16 +136,16 @@ function Oo(t, e) {
136
136
  });
137
137
  });
138
138
  }
139
- function gT(t, e, n) {
139
+ function _T(t, e, n) {
140
140
  return Math.max(t, Math.min(e, n));
141
141
  }
142
- function yT(t) {
142
+ function vT(t) {
143
143
  return t * 621371e-9;
144
144
  }
145
- function _T(t) {
145
+ function xT(t) {
146
146
  return t / 621371e-9;
147
147
  }
148
- function vT(t) {
148
+ function bT(t) {
149
149
  const e = t.split(",");
150
150
  if (e.length === 2) {
151
151
  const n = parseFloat(e[0].trim()), r = parseFloat(e[1].trim());
@@ -3396,7 +3396,7 @@ function Jm(t) {
3396
3396
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
3397
3397
  }
3398
3398
  function Qm(t, e) {
3399
- const n = st(e), r = st(e, "{2}"), i = st(e, "{3}"), s = st(e, "{4}"), o = st(e, "{6}"), a = st(e, "{1,2}"), l = st(e, "{1,3}"), u = st(e, "{1,6}"), c = st(e, "{1,9}"), d = st(e, "{2,4}"), f = st(e, "{4,6}"), m = (y) => ({ regex: RegExp(Jm(y.val)), deser: ([b]) => b, literal: !0 }), p = ((y) => {
3399
+ const n = st(e), r = st(e, "{2}"), i = st(e, "{3}"), s = st(e, "{4}"), o = st(e, "{6}"), a = st(e, "{1,2}"), l = st(e, "{1,3}"), u = st(e, "{1,6}"), c = st(e, "{1,9}"), d = st(e, "{2,4}"), f = st(e, "{4,6}"), m = (y) => ({ regex: RegExp(Jm(y.val)), deser: ([x]) => x, literal: !0 }), p = ((y) => {
3400
3400
  if (t.literal)
3401
3401
  return m(y);
3402
3402
  switch (y.val) {
@@ -4050,12 +4050,12 @@ class V {
4050
4050
  if (f && c)
4051
4051
  throw new An("Can't mix ordinal dates with month/day");
4052
4052
  const p = g || s.weekday && !m;
4053
- let y, b, T = Ur(l, u);
4054
- p ? (y = ch, b = lh, T = Qr(T, o, a)) : c ? (y = dh, b = uh, T = Di(T)) : (y = Tu, b = Su);
4053
+ let y, x, T = Ur(l, u);
4054
+ p ? (y = ch, x = lh, T = Qr(T, o, a)) : c ? (y = dh, x = uh, T = Di(T)) : (y = Tu, x = Su);
4055
4055
  let I = !1;
4056
4056
  for (const Y of y) {
4057
4057
  const ee = s[Y];
4058
- H(ee) ? I ? s[Y] = b[Y] : s[Y] = T[Y] : I = !0;
4058
+ H(ee) ? I ? s[Y] = x[Y] : s[Y] = T[Y] : I = !0;
4059
4059
  }
4060
4060
  const F = p ? Uf(s, o, a) : c ? Rf(s) : jl(s), w = F || Xl(s);
4061
4061
  if (w)
@@ -5384,7 +5384,7 @@ function fs(t, e = "yyyy/MM/dd") {
5384
5384
  function ua(t, e = "yyyy/MM/dd HH:mm:ss") {
5385
5385
  return V.fromFormat(t, e);
5386
5386
  }
5387
- function xT(t) {
5387
+ function ST(t) {
5388
5388
  return bt(t, { format: "yyyy/MM/dd" });
5389
5389
  }
5390
5390
  function gr(t, e = {}) {
@@ -5401,7 +5401,7 @@ function bt(t, { empty: e = "--", format: n = "M/d/yy" } = {}) {
5401
5401
  const r = ni(t).toFormat(n);
5402
5402
  return ["Invalid DateTime", "invalid datetime"].includes(r) ? e : r;
5403
5403
  }
5404
- function bT(t) {
5404
+ function TT(t) {
5405
5405
  const e = V.now().setZone("UTC").startOf("year").set({ second: t }), n = Math.floor(t / 3600);
5406
5406
  return (n ? n + ":" : "") + e.toFormat("mm:ss");
5407
5407
  }
@@ -5414,7 +5414,7 @@ function Iu(t) {
5414
5414
  function zn(t, e = {}) {
5415
5415
  return new Intl.NumberFormat("en-US", e).format(t);
5416
5416
  }
5417
- function ST(t, e) {
5417
+ function wT(t, e) {
5418
5418
  if (t.length > e) {
5419
5419
  const n = Math.floor((e - 3) / 2), r = e - n - 3;
5420
5420
  return t.substring(0, n) + "..." + t.substring(t.length - r);
@@ -5424,7 +5424,7 @@ function ST(t, e) {
5424
5424
  function hh(t, e = { multiplier: 100, maximumFractionDigits: 1, NaN: "N/A" }) {
5425
5425
  return t = parseFloat(t), isNaN(t) ? e.NaN : zn(t * e.multiplier, e) + "%";
5426
5426
  }
5427
- function TT(t) {
5427
+ function ET(t) {
5428
5428
  if (!t || typeof t != "string")
5429
5429
  return t || "";
5430
5430
  const e = t.replace(/\D/g, "").split("");
@@ -5448,19 +5448,19 @@ function TT(t) {
5448
5448
  o === 0 && s === "1" ? n += "+1 " : n += s;
5449
5449
  }), t === "+1 (" ? "" : n;
5450
5450
  }
5451
- function wT(t, e) {
5451
+ function CT(t, e) {
5452
5452
  return ni(e).diff(ni(t), ["days"]).days;
5453
5453
  }
5454
5454
  function Js(t, e, n) {
5455
- var r = window, i = "application/octet-stream", s = n || i, o = t, a = !e && !n && o, l = document.createElement("a"), u = function(b) {
5456
- return String(b);
5455
+ var r = window, i = "application/octet-stream", s = n || i, o = t, a = !e && !n && o, l = document.createElement("a"), u = function(x) {
5456
+ return String(x);
5457
5457
  }, c = r.Blob || r.MozBlob || r.WebKitBlob || u, d = e || "download", f, m;
5458
5458
  if (c = c.call ? c.bind(r) : Blob, String(this) === "true" && (o = [o, s], s = o[0], o = o[1]), a && a.length < 2048)
5459
5459
  if (d = a.split("/").pop().split("?")[0], l.href = a, l.href.indexOf(a) !== -1 || l.href.indexOf(encodeURI(a)) !== -1 || l.href === encodeURI(a)) {
5460
5460
  var g = new XMLHttpRequest();
5461
- return g.open("GET", a + "?no-cache=" + Date.now(), !0), g.responseType = "blob", g.onload = function(b) {
5462
- Js(b.target.response, d, i);
5463
- }, g.onerror = function(b) {
5461
+ return g.open("GET", a + "?no-cache=" + Date.now(), !0), g.responseType = "blob", g.onload = function(x) {
5462
+ Js(x.target.response, d, i);
5463
+ }, g.onerror = function(x) {
5464
5464
  window.open(a, "_blank").focus();
5465
5465
  }, setTimeout(function() {
5466
5466
  g.send();
@@ -5473,27 +5473,27 @@ function Js(t, e, n) {
5473
5473
  else
5474
5474
  return navigator.msSaveBlob ? navigator.msSaveBlob(p(o), d) : y(o);
5475
5475
  f = o instanceof c ? o : new c([o], { type: s });
5476
- function p(b) {
5477
- var T = b.split(/[:;,]/), I = T[1], F = T[2] === "base64" ? atob : decodeURIComponent, w = F(T.pop()), S = w.length, _ = 0, k = new Uint8Array(S);
5476
+ function p(x) {
5477
+ var T = x.split(/[:;,]/), I = T[1], F = T[2] === "base64" ? atob : decodeURIComponent, w = F(T.pop()), S = w.length, _ = 0, k = new Uint8Array(S);
5478
5478
  for (_; _ < S; ++_)
5479
5479
  k[_] = w.charCodeAt(_);
5480
5480
  return new c([k], { type: I });
5481
5481
  }
5482
- function y(b, T) {
5482
+ function y(x, T) {
5483
5483
  if ("download" in l)
5484
- return l.href = b, l.setAttribute("download", d), l.className = "download-js-link", l.innerHTML = "downloading...", l.style.display = "none", document.body.appendChild(l), setTimeout(function() {
5484
+ return l.href = x, l.setAttribute("download", d), l.className = "download-js-link", l.innerHTML = "downloading...", l.style.display = "none", document.body.appendChild(l), setTimeout(function() {
5485
5485
  l.click(), document.body.removeChild(l), T === !0 && setTimeout(function() {
5486
5486
  r.URL.revokeObjectURL(l.href);
5487
5487
  }, 250);
5488
5488
  }, 66), !0;
5489
5489
  if (/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))
5490
- return b = b.replace(/^data:([\w/\-+]+)/, i), window.open(b) || confirm(
5490
+ return x = x.replace(/^data:([\w/\-+]+)/, i), window.open(x) || confirm(
5491
5491
  `Displaying New Document
5492
5492
 
5493
5493
  Use Save As... to download, then click back to return to this page.`
5494
- ) && (location.href = b), !0;
5494
+ ) && (location.href = x), !0;
5495
5495
  var I = document.createElement("iframe");
5496
- document.body.appendChild(I), T || (b = "data:" + b.replace(/^data:([\w/\-+]+)/, i)), I.src = b, setTimeout(function() {
5496
+ document.body.appendChild(I), T || (x = "data:" + x.replace(/^data:([\w/\-+]+)/, i)), I.src = x, setTimeout(function() {
5497
5497
  document.body.removeChild(I);
5498
5498
  }, 333);
5499
5499
  }
@@ -5508,13 +5508,13 @@ Use Save As... to download, then click back to return to this page.`
5508
5508
  } catch {
5509
5509
  return y("data:" + s + "," + encodeURIComponent(f));
5510
5510
  }
5511
- m = new FileReader(), m.onload = function(b) {
5511
+ m = new FileReader(), m.onload = function(x) {
5512
5512
  y(this.result);
5513
5513
  }, m.readAsDataURL(f);
5514
5514
  }
5515
5515
  return !0;
5516
5516
  }
5517
- async function ET(t, e = "", n = null) {
5517
+ async function IT(t, e = "", n = null) {
5518
5518
  let r;
5519
5519
  n && (r = {
5520
5520
  method: "POST",
@@ -7203,8 +7203,8 @@ function wp(t, e, n, r, i, s) {
7203
7203
  else {
7204
7204
  const y = N.getLongAt(t, r + u, i);
7205
7205
  if (Cp(t, n, y, d, f)) {
7206
- const b = c === 33723;
7207
- m = Da(t, n + y, d, f, i, b);
7206
+ const x = c === 33723;
7207
+ m = Da(t, n + y, d, f, i, x);
7208
7208
  } else
7209
7209
  m = "<faulty value>";
7210
7210
  }
@@ -8687,17 +8687,17 @@ function vc(t) {
8687
8687
  const m = t.getUint32(c + 8), g = t.getUint32(c + 12);
8688
8688
  let p = c + 16;
8689
8689
  const y = [];
8690
- for (let b = 0; b < m; b++) {
8690
+ for (let x = 0; x < m; x++) {
8691
8691
  const T = j(t, p + 0, 2), I = j(t, p + 2, 2), F = t.getUint32(p + 4), w = t.getUint32(p + 8), S = yh(t, c + w, F);
8692
8692
  y.push({ languageCode: T, countryCode: I, text: S }), p += g;
8693
8693
  }
8694
8694
  if (m === 1)
8695
8695
  ir(r, u, y[0].text);
8696
8696
  else {
8697
- const b = {};
8697
+ const x = {};
8698
8698
  for (let T = 0; T < y.length; T++)
8699
- b[`${y[T].languageCode}-${y[T].countryCode}`] = y[T].text;
8700
- ir(r, u, b);
8699
+ x[`${y[T].languageCode}-${y[T].countryCode}`] = y[T].text;
8700
+ ir(r, u, x);
8701
8701
  }
8702
8702
  } else if (f === x1) {
8703
8703
  const m = qr(e.slice(c + 8, c + d - 7));
@@ -9191,7 +9191,7 @@ function Sc(t, { expanded: e = !1, async: n = !1, includeUnknown: r = !1 } = { e
9191
9191
  mpfDataOffset: g,
9192
9192
  pngHeaderOffset: p,
9193
9193
  pngTextChunks: y,
9194
- pngChunkOffsets: b,
9194
+ pngChunkOffsets: x,
9195
9195
  vp8xChunkOffset: T,
9196
9196
  gifHeaderOffset: I
9197
9197
  } = lp.parseAppMarkers(t, n);
@@ -9263,9 +9263,9 @@ function Sc(t, { expanded: e = !1, async: n = !1, includeUnknown: r = !1 } = { e
9263
9263
  const { readTags: _, readTagsPromise: k } = R1.read(t, y, n, r);
9264
9264
  S(_), k && o.push(k.then((A) => A.forEach(S)));
9265
9265
  }
9266
- if (Gy(b)) {
9266
+ if (Gy(x)) {
9267
9267
  i = !0;
9268
- const _ = Q1.read(t, b);
9268
+ const _ = Q1.read(t, x);
9269
9269
  e ? s.png = s.png ? X({}, s.png, _) : _ : s = X({}, s, _);
9270
9270
  }
9271
9271
  if (Zy(T)) {
@@ -9420,7 +9420,7 @@ te(Ne, "notify"), te(Ne, "PROP_DEFINITIONS", {
9420
9420
  }
9421
9421
  });
9422
9422
  let wt = Ne;
9423
- const IT = new wt();
9423
+ const FT = new wt();
9424
9424
  async function Wy(t, e = null) {
9425
9425
  if (t.location)
9426
9426
  return t.location;
@@ -9639,7 +9639,7 @@ class so {
9639
9639
  e.xhr.send(e.body);
9640
9640
  }
9641
9641
  }
9642
- const kT = {
9642
+ const OT = {
9643
9643
  async get(t, e = {}) {
9644
9644
  return fetch(t, {
9645
9645
  method: "get",
@@ -9662,7 +9662,7 @@ const kT = {
9662
9662
  }).then((r) => r.json());
9663
9663
  }
9664
9664
  };
9665
- async function FT(t, e, n, r) {
9665
+ async function AT(t, e, n, r) {
9666
9666
  let i;
9667
9667
  n && (i = e.value.find((s) => s.id === n) || (await t({ id: n }))[0]), e.value = await t(r), i && !e.value.find((s) => s.id === n) && e.value.push(i);
9668
9668
  }
@@ -9705,7 +9705,7 @@ function jy(t) {
9705
9705
  };
9706
9706
  }
9707
9707
  const Dn = Sl(null);
9708
- function OT(t, e = null) {
9708
+ function DT(t, e = null) {
9709
9709
  const n = t.map((o) => {
9710
9710
  const a = { ...e, ...o };
9711
9711
  return a.trigger || (a.trigger = (l, u) => i(a, l, u), a.activeTarget = U(null)), a;
@@ -10157,7 +10157,7 @@ const p_ = {
10157
10157
  class: q(["flex items-center w-full", { "cursor-not-allowed": t.locked }])
10158
10158
  }, [
10159
10159
  t.locked ? (h(), v("a", p_, [
10160
- C(x(s_), { class: "w-4" })
10160
+ C(b(s_), { class: "w-4" })
10161
10161
  ])) : $("", !0),
10162
10162
  O("div", g_, P(t.column.label), 1),
10163
10163
  t.locked ? $("", !0) : (h(), v("div", y_, [
@@ -10165,10 +10165,10 @@ const p_ = {
10165
10165
  class: "py-2 px-1",
10166
10166
  onClick: n[0] || (n[0] = (i) => e.$emit("visible", !t.visible))
10167
10167
  }, [
10168
- t.visible ? (h(), E(x(r_), {
10168
+ t.visible ? (h(), E(b(r_), {
10169
10169
  key: 0,
10170
10170
  class: "w-4"
10171
- })) : (h(), E(x(n_), {
10171
+ })) : (h(), E(b(n_), {
10172
10172
  key: 1,
10173
10173
  class: "w-4 text-neutral-on-plus-3"
10174
10174
  }))
@@ -10177,7 +10177,7 @@ const p_ = {
10177
10177
  class: "py-2 px-1",
10178
10178
  onClick: n[1] || (n[1] = (i) => e.$emit("is-title", !t.isTitle))
10179
10179
  }, [
10180
- C(x(m_), {
10180
+ C(b(m_), {
10181
10181
  class: q(["w-4", t.isTitle ? "" : "text-neutral-plus-3"])
10182
10182
  }, null, 8, ["class"]),
10183
10183
  C(r, null, {
@@ -10393,8 +10393,8 @@ const __ = {
10393
10393
  "cursor-ns-resize": t.direction === "vertical"
10394
10394
  }, "flex justify-center items-center w-full h-full"]),
10395
10395
  draggable: "true",
10396
- onDragstart: o[0] || (o[0] = (...a) => x(i).dragStart && x(i).dragStart(...a)),
10397
- onDragend: o[1] || (o[1] = (...a) => x(i).dragEnd && x(i).dragEnd(...a))
10396
+ onDragstart: o[0] || (o[0] = (...a) => b(i).dragStart && b(i).dragStart(...a)),
10397
+ onDragend: o[1] || (o[1] = (...a) => b(i).dragEnd && b(i).dragEnd(...a))
10398
10398
  }, [
10399
10399
  B(s.$slots, "default")
10400
10400
  ], 34));
@@ -10576,7 +10576,7 @@ const Sv = { render: bv }, Tv = {
10576
10576
  function Iv(t, e) {
10577
10577
  return h(), v("svg", Tv, [...Cv]);
10578
10578
  }
10579
- const oo = { render: Iv }, AT = {
10579
+ const oo = { render: Iv }, PT = {
10580
10580
  __name: "ExportButton",
10581
10581
  props: {
10582
10582
  exporter: {
@@ -10603,13 +10603,13 @@ const oo = { render: Iv }, AT = {
10603
10603
  onClick: r
10604
10604
  }, {
10605
10605
  default: D(() => [
10606
- C(x(l_), { class: "w-5" })
10606
+ C(b(l_), { class: "w-5" })
10607
10607
  ]),
10608
10608
  _: 1
10609
10609
  }, 8, ["loading"]);
10610
10610
  };
10611
10611
  }
10612
- }, DT = {
10612
+ }, NT = {
10613
10613
  __name: "RefreshButton",
10614
10614
  props: {
10615
10615
  loading: Boolean
@@ -10623,13 +10623,13 @@ const oo = { render: Iv }, AT = {
10623
10623
  loading: t.loading
10624
10624
  }, {
10625
10625
  default: D(() => [
10626
- C(x(f_), { class: "w-5" })
10626
+ C(b(f_), { class: "w-5" })
10627
10627
  ]),
10628
10628
  _: 1
10629
10629
  }, 8, ["loading"]);
10630
10630
  };
10631
10631
  }
10632
- }, kv = { class: "previous-next-controls" }, PT = {
10632
+ }, kv = { class: "previous-next-controls" }, MT = {
10633
10633
  __name: "PreviousNextControls",
10634
10634
  props: {
10635
10635
  isLoading: Boolean
@@ -10646,7 +10646,7 @@ const oo = { render: Iv }, AT = {
10646
10646
  onClick: n[0] || (n[0] = (i) => e.$emit("next", -1))
10647
10647
  }, {
10648
10648
  default: D(() => [
10649
- C(x(fv), { class: "w-6" })
10649
+ C(b(fv), { class: "w-6" })
10650
10650
  ]),
10651
10651
  _: 1
10652
10652
  }, 8, ["disable", "loading"]),
@@ -10657,7 +10657,7 @@ const oo = { render: Iv }, AT = {
10657
10657
  onClick: n[1] || (n[1] = (i) => e.$emit("next", 1))
10658
10658
  }, {
10659
10659
  default: D(() => [
10660
- C(x(av), { class: "w-6" })
10660
+ C(b(av), { class: "w-6" })
10661
10661
  ]),
10662
10662
  _: 1
10663
10663
  }, 8, ["disable", "loading"])
@@ -10801,7 +10801,7 @@ const oo = { render: Iv }, AT = {
10801
10801
  class: "absolute top-0 right-0 p-4 text-black",
10802
10802
  onClick: s
10803
10803
  }, [
10804
- C(x(wc), { class: "w-5" })
10804
+ C(b(wc), { class: "w-5" })
10805
10805
  ])
10806
10806
  ]),
10807
10807
  _: 3
@@ -10894,7 +10894,7 @@ const oo = { render: Iv }, AT = {
10894
10894
  ]),
10895
10895
  _: 1
10896
10896
  }, 8, ["modelValue", "thumbnails"]),
10897
- C(x(oo), {
10897
+ C(b(oo), {
10898
10898
  class: "absolute top-4 right-4 cursor-pointer text-white w-8 h-8",
10899
10899
  onClick: a[1] || (a[1] = (d) => o.$emit("close"))
10900
10900
  })
@@ -10907,7 +10907,7 @@ const oo = { render: Iv }, AT = {
10907
10907
  }, Rv = /* @__PURE__ */ It(Uv, [["__scopeId", "data-v-ac4d9efe"]]), Bv = {
10908
10908
  key: 0,
10909
10909
  class: "p-4 m-4 absolute-top-right top right cursor-pointer"
10910
- }, NT = {
10910
+ }, LT = {
10911
10911
  __name: "FullScreenDialog",
10912
10912
  props: {
10913
10913
  modelValue: Boolean,
@@ -10937,10 +10937,10 @@ const oo = { render: Iv }, AT = {
10937
10937
  }, {
10938
10938
  default: D(() => [
10939
10939
  O("div", {
10940
- class: q(["flex justify-center min-w-xs", x(i)])
10940
+ class: q(["flex justify-center min-w-xs", b(i)])
10941
10941
  }, [
10942
10942
  t.closeable ? Vd((h(), v("div", Bv, [
10943
- C(x(oo), { class: "w-5 h-5" })
10943
+ C(b(oo), { class: "w-5 h-5" })
10944
10944
  ])), [
10945
10945
  [u]
10946
10946
  ]) : $("", !0),
@@ -11047,7 +11047,7 @@ const oo = { render: Iv }, AT = {
11047
11047
  class: "absolute top-0 right-0 p-4 text-black",
11048
11048
  onClick: r
11049
11049
  }, [
11050
- C(x(wc), { class: "w-5" })
11050
+ C(b(wc), { class: "w-5" })
11051
11051
  ])
11052
11052
  ]),
11053
11053
  _: 3
@@ -11057,7 +11057,7 @@ const oo = { render: Iv }, AT = {
11057
11057
  }, 8, ["full-height", "full-width", "model-value", "no-backdrop-dismiss", "maximized"]);
11058
11058
  };
11059
11059
  }
11060
- }, MT = {
11060
+ }, $T = {
11061
11061
  __name: "InputDialog",
11062
11062
  props: {
11063
11063
  ...el.props,
@@ -11075,7 +11075,7 @@ const oo = { render: Iv }, AT = {
11075
11075
  const n = U(t.input);
11076
11076
  return (r, i) => {
11077
11077
  const s = L("q-input");
11078
- return h(), E(x(el), dn(r.$props, {
11078
+ return h(), E(b(el), dn(r.$props, {
11079
11079
  onConfirm: i[2] || (i[2] = (o) => r.$emit("confirm", n.value)),
11080
11080
  onClose: i[3] || (i[3] = (o) => r.$emit("close", o))
11081
11081
  }), {
@@ -11164,7 +11164,7 @@ const oo = { render: Iv }, AT = {
11164
11164
  }
11165
11165
  return (p, y) => {
11166
11166
  var F;
11167
- const b = L("q-img"), T = L("q-linear-progress"), I = L("q-btn");
11167
+ const x = L("q-img"), T = L("q-linear-progress"), I = L("q-btn");
11168
11168
  return h(), v("div", {
11169
11169
  class: q(["relative flex justify-center bg-neutral-plus-7", { "rounded-2xl": !t.square }])
11170
11170
  }, [
@@ -11181,10 +11181,10 @@ const oo = { render: Iv }, AT = {
11181
11181
  }, null, 8, Wv)
11182
11182
  ]),
11183
11183
  O("button", Yv, [
11184
- C(x(o_), { class: "w-16" })
11184
+ C(b(o_), { class: "w-16" })
11185
11185
  ])
11186
11186
  ])) : $("", !0),
11187
- d.value || f.value ? (h(), E(b, {
11187
+ d.value || f.value ? (h(), E(x, {
11188
11188
  key: 1,
11189
11189
  fit: "scale-down",
11190
11190
  class: "non-selectable max-h-full max-w-full h-full",
@@ -11192,10 +11192,10 @@ const oo = { render: Iv }, AT = {
11192
11192
  preload: "auto",
11193
11193
  "data-testid": "previewed-image"
11194
11194
  }, null, 8, ["src"])) : (h(), v("div", jv, [
11195
- u.value ? (h(), E(x(K_), {
11195
+ u.value ? (h(), E(b(K_), {
11196
11196
  key: 0,
11197
11197
  class: "w-24"
11198
- })) : (h(), E(x(Qy), {
11198
+ })) : (h(), E(b(Qy), {
11199
11199
  key: 1,
11200
11200
  class: "w-24"
11201
11201
  }))
@@ -11220,10 +11220,10 @@ const oo = { render: Iv }, AT = {
11220
11220
  key: 0,
11221
11221
  size: "sm",
11222
11222
  class: q(["!p-1 opacity-70 hover:opacity-100", t.downloadButtonClass]),
11223
- onClick: y[1] || (y[1] = mn((w) => x(Js)(s.value.url), ["stop"]))
11223
+ onClick: y[1] || (y[1] = mn((w) => b(Js)(s.value.url), ["stop"]))
11224
11224
  }, {
11225
11225
  default: D(() => [
11226
- C(x(t_), { class: "w-4 h-5" })
11226
+ C(b(t_), { class: "w-4 h-5" })
11227
11227
  ]),
11228
11228
  _: 1
11229
11229
  }, 8, ["class"])) : $("", !0),
@@ -11234,7 +11234,7 @@ const oo = { render: Iv }, AT = {
11234
11234
  onClick: mn(g, ["stop"])
11235
11235
  }, {
11236
11236
  default: D(() => [
11237
- m.value ? (h(), v("div", Qv, "?")) : (h(), E(x(yv), {
11237
+ m.value ? (h(), v("div", Qv, "?")) : (h(), E(b(yv), {
11238
11238
  key: 1,
11239
11239
  class: "w-3"
11240
11240
  }))
@@ -11242,7 +11242,7 @@ const oo = { render: Iv }, AT = {
11242
11242
  _: 1
11243
11243
  })) : $("", !0)
11244
11244
  ]),
11245
- i.value && !t.disabled ? (h(), E(x(Rv), {
11245
+ i.value && !t.disabled ? (h(), E(b(Rv), {
11246
11246
  key: 2,
11247
11247
  files: t.relatedFiles || [s.value],
11248
11248
  "default-slide": s.value.id,
@@ -11283,7 +11283,7 @@ const oo = { render: Iv }, AT = {
11283
11283
  }, l2 = {
11284
11284
  key: 1,
11285
11285
  class: "address-line-3"
11286
- }, u2 = { class: "address-city-state-zip" }, LT = {
11286
+ }, u2 = { class: "address-city-state-zip" }, UT = {
11287
11287
  __name: "AddressFormat",
11288
11288
  props: {
11289
11289
  address: {
@@ -11307,7 +11307,7 @@ const oo = { render: Iv }, AT = {
11307
11307
  ], 64)) : $("", !0)
11308
11308
  ]));
11309
11309
  }
11310
- }, $T = {
11310
+ }, RT = {
11311
11311
  __name: "FlatListFormat",
11312
11312
  props: {
11313
11313
  items: {
@@ -11329,7 +11329,7 @@ const oo = { render: Iv }, AT = {
11329
11329
  }, c2 = { class: "flex flex-nowrap items-center" }, d2 = {
11330
11330
  key: 0,
11331
11331
  class: "whitespace-nowrap"
11332
- }, UT = {
11332
+ }, BT = {
11333
11333
  __name: "GpsCoordinatesFormat",
11334
11334
  props: {
11335
11335
  location: {
@@ -11349,7 +11349,7 @@ const oo = { render: Iv }, AT = {
11349
11349
  return (e, n) => {
11350
11350
  var r;
11351
11351
  return h(), v("div", c2, [
11352
- C(x(c_), {
11352
+ C(b(c_), {
11353
11353
  class: q(["mr-1 ml-[-.2em]", t.iconClass])
11354
11354
  }, null, 8, ["class"]),
11355
11355
  (r = t.location) != null && r.latitude ? (h(), v("div", d2, P(t.location.latitude.toFixed(t.decimals)) + ", " + P(t.location.longitude.toFixed(t.decimals)), 1)) : (h(), v(z, { key: 1 }, [
@@ -11358,7 +11358,7 @@ const oo = { render: Iv }, AT = {
11358
11358
  ]);
11359
11359
  };
11360
11360
  }
11361
- }, f2 = { class: "flex items-center" }, RT = {
11361
+ }, f2 = { class: "flex items-center" }, zT = {
11362
11362
  __name: "IconWithTextFormat",
11363
11363
  props: {
11364
11364
  icon: {
@@ -11392,7 +11392,7 @@ const oo = { render: Iv }, AT = {
11392
11392
  ], 2)
11393
11393
  ]));
11394
11394
  }
11395
- }, m2 = { class: "text-xs font-bold" }, BT = {
11395
+ }, m2 = { class: "text-xs font-bold" }, VT = {
11396
11396
  __name: "LabelValueFormat",
11397
11397
  props: {
11398
11398
  label: {
@@ -11484,7 +11484,7 @@ const oo = { render: Iv }, AT = {
11484
11484
  class: q(["absolute top-0 right-0 cursor-pointer p-2", t.toggleClass]),
11485
11485
  onClick: o
11486
11486
  }, [
11487
- C(x(Ja), {
11487
+ C(b(Ja), {
11488
11488
  class: q(["w-5 transition-all", { "rotate-180": t.rightSide ? !i.value : i.value }])
11489
11489
  }, null, 8, ["class"])
11490
11490
  ], 2)) : (h(), v("div", {
@@ -11497,7 +11497,7 @@ const oo = { render: Iv }, AT = {
11497
11497
  onClick: o
11498
11498
  }, {
11499
11499
  default: D(() => [
11500
- C(x(Ja), {
11500
+ C(b(Ja), {
11501
11501
  class: q(["w-5 transition-all", { "rotate-180": t.rightSide ? !i.value : i.value }])
11502
11502
  }, null, 8, ["class"])
11503
11503
  ]),
@@ -11611,10 +11611,10 @@ const oo = { render: Iv }, AT = {
11611
11611
  duration: 150
11612
11612
  }, {
11613
11613
  default: D(() => [
11614
- t.loading ? (h(), E(x(E2), {
11614
+ t.loading ? (h(), E(b(E2), {
11615
11615
  key: 0,
11616
11616
  component: t.loadingComponent
11617
- }, null, 8, ["component"])) : (h(), E(x(e_), {
11617
+ }, null, 8, ["component"])) : (h(), E(b(e_), {
11618
11618
  key: 1,
11619
11619
  class: "w-4 text-black"
11620
11620
  }))
@@ -11655,7 +11655,7 @@ const oo = { render: Iv }, AT = {
11655
11655
  ], 2);
11656
11656
  };
11657
11657
  }
11658
- }, zT = {
11658
+ }, qT = {
11659
11659
  __name: "InteractiveTooltip",
11660
11660
  props: { tooltip: { type: String, default: "" } },
11661
11661
  setup(t) {
@@ -11703,7 +11703,7 @@ const oo = { render: Iv }, AT = {
11703
11703
  }, 8, ["modelValue"]);
11704
11704
  };
11705
11705
  }
11706
- }, x2 = { class: "flex items-center w-full" }, b2 = { class: "flex-grow text-sm" }, VT = {
11706
+ }, x2 = { class: "flex items-center w-full" }, b2 = { class: "flex-grow text-sm" }, GT = {
11707
11707
  __name: "BadgeTab",
11708
11708
  props: {
11709
11709
  name: {
@@ -11741,7 +11741,7 @@ const oo = { render: Iv }, AT = {
11741
11741
  }, 8, ["name"]);
11742
11742
  };
11743
11743
  }
11744
- }, S2 = { class: "flex items-center w-full" }, T2 = { class: "flex-grow text-sm" }, qT = {
11744
+ }, S2 = { class: "flex items-center w-full" }, T2 = { class: "flex-grow text-sm" }, ZT = {
11745
11745
  __name: "IndicatorTab",
11746
11746
  props: {
11747
11747
  name: {
@@ -11768,10 +11768,10 @@ const oo = { render: Iv }, AT = {
11768
11768
  O("div", S2, [
11769
11769
  O("div", T2, P(t.label), 1),
11770
11770
  O("div", null, [
11771
- t.overdue ? (h(), E(x(u_), {
11771
+ t.overdue ? (h(), E(b(u_), {
11772
11772
  key: 0,
11773
11773
  class: q(["w-5 ml-2", t.isActive ? "text-white" : "text-red-danger"])
11774
- }, null, 8, ["class"])) : t.warning ? (h(), E(x(Sv), {
11774
+ }, null, 8, ["class"])) : t.warning ? (h(), E(b(Sv), {
11775
11775
  key: 1,
11776
11776
  class: "text-yellow-warning w-5"
11777
11777
  })) : $("", !0)
@@ -11782,7 +11782,9 @@ const oo = { render: Iv }, AT = {
11782
11782
  }, 8, ["name"]);
11783
11783
  };
11784
11784
  }
11785
- }, w2 = {
11785
+ }, Ic = (t) => t.vnode;
11786
+ Ic.props = { vnode: { type: Object, required: !0 } };
11787
+ const vr = Ic, w2 = {
11786
11788
  __name: "ActionVnode",
11787
11789
  setup(t) {
11788
11790
  const e = U(!1);
@@ -11790,12 +11792,12 @@ const oo = { render: Iv }, AT = {
11790
11792
  e.value = !0, await Dn.value.confirm(r), e.value = !1;
11791
11793
  }
11792
11794
  return (r, i) => (h(), v("div", null, [
11793
- x(Dn) ? (h(), E(x(vr), {
11795
+ b(Dn) ? (h(), E(b(vr), {
11794
11796
  key: 0,
11795
- vnode: x(Dn).vnode,
11797
+ vnode: b(Dn).vnode,
11796
11798
  "is-saving": e.value,
11797
11799
  onConfirm: n,
11798
- onClose: x(Dn).cancel
11800
+ onClose: b(Dn).cancel
11799
11801
  }, null, 8, ["vnode", "is-saving", "onClose"])) : $("", !0)
11800
11802
  ]));
11801
11803
  }
@@ -11832,9 +11834,7 @@ const oo = { render: Iv }, AT = {
11832
11834
  onAction: s[1] || (s[1] = (o) => i.$emit("action", o))
11833
11835
  }), null, 16));
11834
11836
  }
11835
- }, Ic = (t) => t.vnode;
11836
- Ic.props = { vnode: { type: Object, required: !0 } };
11837
- const vr = Ic, C2 = {
11837
+ }, C2 = {
11838
11838
  __name: "ListTransition",
11839
11839
  props: {
11840
11840
  name: {
@@ -11854,7 +11854,7 @@ const vr = Ic, C2 = {
11854
11854
  _: 3
11855
11855
  }, 8, ["name"]));
11856
11856
  }
11857
- }, GT = {
11857
+ }, HT = {
11858
11858
  __name: "SlideTransition",
11859
11859
  props: {
11860
11860
  name: {
@@ -12149,15 +12149,15 @@ var Ye = {
12149
12149
  edges: 0.5,
12150
12150
  end: 1
12151
12151
  }[i] || 0 : !a && l && (c = i[0], d = i[1]), function(f, m, g) {
12152
- var p = (g || n).length, y = o[p], b, T, I, F, w, S, _, k, A;
12152
+ var p = (g || n).length, y = o[p], x, T, I, F, w, S, _, k, A;
12153
12153
  if (!y) {
12154
12154
  if (A = n.grid === "auto" ? 0 : (n.grid || [1, et])[1], !A) {
12155
12155
  for (_ = -et; _ < (_ = g[A++].getBoundingClientRect().left) && A < p; )
12156
12156
  ;
12157
12157
  A < p && A--;
12158
12158
  }
12159
- for (y = o[p] = [], b = l ? Math.min(A, p) * c - 0.5 : i % A, T = A === et ? 0 : l ? p * d / A - 0.5 : i / A | 0, _ = 0, k = et, S = 0; S < p; S++)
12160
- I = S % A - b, F = T - (S / A | 0), y[S] = w = u ? Math.abs(u === "y" ? F : I) : Fc(I * I + F * F), w > _ && (_ = w), w < k && (k = w);
12159
+ for (y = o[p] = [], x = l ? Math.min(A, p) * c - 0.5 : i % A, T = A === et ? 0 : l ? p * d / A - 0.5 : i / A | 0, _ = 0, k = et, S = 0; S < p; S++)
12160
+ I = S % A - x, F = T - (S / A | 0), y[S] = w = u ? Math.abs(u === "y" ? F : I) : Fc(I * I + F * F), w > _ && (_ = w), w < k && (k = w);
12161
12161
  i === "random" && Wc(y), y.max = _ - k, y.min = k, y.v = p = (parseFloat(n.amount) || parseFloat(n.each) * (A > p ? p - 1 : u ? u === "y" ? p / A : A : Math.max(A, p / A)) || 0) * (i === "edges" ? -1 : 1), y.b = p < 0 ? s - p : s, y.u = Ae(n.amount || n.each) || 0, r = r && p < 0 ? id(r) : r;
12162
12162
  }
12163
12163
  return p = (y[f] - y.min) / y.max || 0, Ce(y.b + (r ? r(p) : p) * y.v) + y.u;
@@ -12358,8 +12358,8 @@ var Ye = {
12358
12358
  return r = K2.test(n), e[1] = ol(e[1], r), e[0] = ol(e[0], r, nd(e[1])), !0;
12359
12359
  }, Tr, Ze = function() {
12360
12360
  var t = Date.now, e = 500, n = 33, r = t(), i = r, s = 1e3 / 240, o = s, a = [], l, u, c, d, f, m, g = function p(y) {
12361
- var b = t() - i, T = y === !0, I, F, w, S;
12362
- if ((b > e || b < 0) && (r += b - n), i += b, w = i - r, I = w - o, (I > 0 || T) && (S = ++d.frame, f = w - d.time * 1e3, d.time = w = w / 1e3, o += I + (I >= s ? 4 : s - I), F = 1), T || (l = u(p)), F)
12361
+ var x = t() - i, T = y === !0, I, F, w, S;
12362
+ if ((x > e || x < 0) && (r += x - n), i += x, w = i - r, I = w - o, (I > 0 || T) && (S = ++d.frame, f = w - d.time * 1e3, d.time = w = w / 1e3, o += I + (I >= s ? 4 : s - I), F = 1), T || (l = u(p)), F)
12363
12363
  for (m = 0; m < a.length; m++)
12364
12364
  a[m](w, f, S, y);
12365
12365
  };
@@ -12380,20 +12380,20 @@ var Ye = {
12380
12380
  sleep: function() {
12381
12381
  (c ? cancelAnimationFrame : clearTimeout)(l), Tr = 0, u = br;
12382
12382
  },
12383
- lagSmoothing: function(y, b) {
12384
- e = y || 1 / 0, n = Math.min(b || 33, e);
12383
+ lagSmoothing: function(y, x) {
12384
+ e = y || 1 / 0, n = Math.min(x || 33, e);
12385
12385
  },
12386
12386
  fps: function(y) {
12387
12387
  s = 1e3 / (y || 240), o = d.time * 1e3 + s;
12388
12388
  },
12389
- add: function(y, b, T) {
12390
- var I = b ? function(F, w, S, _) {
12389
+ add: function(y, x, T) {
12390
+ var I = x ? function(F, w, S, _) {
12391
12391
  y(F, w, S, _), d.remove(I);
12392
12392
  } : y;
12393
12393
  return d.remove(y), a[T ? "unshift" : "push"](I), Hn(), I;
12394
12394
  },
12395
- remove: function(y, b) {
12396
- ~(b = a.indexOf(y)) && a.splice(b, 1) && m >= b && m--;
12395
+ remove: function(y, x) {
12396
+ ~(x = a.indexOf(y)) && a.splice(x, 1) && m >= x && m--;
12397
12397
  },
12398
12398
  _listeners: a
12399
12399
  }, d;
@@ -12653,16 +12653,16 @@ var Me = /* @__PURE__ */ function(t) {
12653
12653
  }, n.staggerFromTo = function(i, s, o, a, l, u, c, d) {
12654
12654
  return a.startAt = o, dr(a).immediateRender = Ue(a.immediateRender), this.staggerTo(i, s, a, l, u, c, d);
12655
12655
  }, n.render = function(i, s, o) {
12656
- var a = this._time, l = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, c = i <= 0 ? 0 : Ce(i), d = this._zTime < 0 != i < 0 && (this._initted || !u), f, m, g, p, y, b, T, I, F, w, S, _;
12656
+ var a = this._time, l = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, c = i <= 0 ? 0 : Ce(i), d = this._zTime < 0 != i < 0 && (this._initted || !u), f, m, g, p, y, x, T, I, F, w, S, _;
12657
12657
  if (this !== ue && c > l && i >= 0 && (c = l), c !== this._tTime || o || d) {
12658
- if (a !== this._time && u && (c += this._time - a, i += this._time - a), f = c, F = this._start, I = this._ts, b = !I, d && (u || (a = this._zTime), (i || !s) && (this._zTime = i)), this._repeat) {
12658
+ if (a !== this._time && u && (c += this._time - a, i += this._time - a), f = c, F = this._start, I = this._ts, x = !I, d && (u || (a = this._zTime), (i || !s) && (this._zTime = i)), this._repeat) {
12659
12659
  if (S = this._yoyo, y = u + this._rDelay, this._repeat < -1 && i < 0)
12660
12660
  return this.totalTime(y * 100 + i, s, o);
12661
12661
  if (f = Ce(c % y), c === l ? (p = this._repeat, f = u) : (p = ~~(c / y), p && p === c / y && (f = u, p--), f > u && (f = u)), w = Gn(this._tTime, y), !a && this._tTime && w !== p && this._tTime - w * y - this._dur <= 0 && (w = p), S && p & 1 && (f = u - f, _ = 1), p !== w && !this._lock) {
12662
12662
  var k = S && w & 1, A = k === (S && p & 1);
12663
- if (p < w && (k = !k), a = k ? 0 : c % u ? u : c, this._lock = 1, this.render(a || (_ ? 0 : Ce(p * y)), s, !u)._lock = 0, this._tTime = c, !s && this.parent && He(this, "onRepeat"), this.vars.repeatRefresh && !_ && (this.invalidate()._lock = 1), a && a !== this._time || b !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
12663
+ if (p < w && (k = !k), a = k ? 0 : c % u ? u : c, this._lock = 1, this.render(a || (_ ? 0 : Ce(p * y)), s, !u)._lock = 0, this._tTime = c, !s && this.parent && He(this, "onRepeat"), this.vars.repeatRefresh && !_ && (this.invalidate()._lock = 1), a && a !== this._time || x !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
12664
12664
  return this;
12665
- if (u = this._dur, l = this._tDur, A && (this._lock = 2, a = k ? u : -1e-4, this.render(a, !0), this.vars.repeatRefresh && !_ && this.invalidate()), this._lock = 0, !this._ts && !b)
12665
+ if (u = this._dur, l = this._tDur, A && (this._lock = 2, a = k ? u : -1e-4, this.render(a, !0), this.vars.repeatRefresh && !_ && this.invalidate()), this._lock = 0, !this._ts && !x)
12666
12666
  return this;
12667
12667
  sd(this, _);
12668
12668
  }
@@ -12674,7 +12674,7 @@ var Me = /* @__PURE__ */ function(t) {
12674
12674
  if (g = m._next, (m._act || f >= m._start) && m._ts && T !== m) {
12675
12675
  if (m.parent !== this)
12676
12676
  return this.render(i, s, o);
12677
- if (m.render(m._ts > 0 ? (f - m._start) * m._ts : (m._dirty ? m.totalDuration() : m._tDur) + (f - m._start) * m._ts, s, o), f !== this._time || !this._ts && !b) {
12677
+ if (m.render(m._ts > 0 ? (f - m._start) * m._ts : (m._dirty ? m.totalDuration() : m._tDur) + (f - m._start) * m._ts, s, o), f !== this._time || !this._ts && !x) {
12678
12678
  T = 0, g && (c += this._zTime = -oe);
12679
12679
  break;
12680
12680
  }
@@ -12687,7 +12687,7 @@ var Me = /* @__PURE__ */ function(t) {
12687
12687
  if (g = m._prev, (m._act || Y <= m._end) && m._ts && T !== m) {
12688
12688
  if (m.parent !== this)
12689
12689
  return this.render(i, s, o);
12690
- if (m.render(m._ts > 0 ? (Y - m._start) * m._ts : (m._dirty ? m.totalDuration() : m._tDur) + (Y - m._start) * m._ts, s, o || De && (m._initted || m._startAt)), f !== this._time || !this._ts && !b) {
12690
+ if (m.render(m._ts > 0 ? (Y - m._start) * m._ts : (m._dirty ? m.totalDuration() : m._tDur) + (Y - m._start) * m._ts, s, o || De && (m._initted || m._startAt)), f !== this._time || !this._ts && !x) {
12691
12691
  T = 0, g && (c += this._zTime = Y ? -oe : oe);
12692
12692
  break;
12693
12693
  }
@@ -12825,8 +12825,8 @@ rt(Me.prototype, {
12825
12825
  _forcing: 0
12826
12826
  });
12827
12827
  var rx = function(e, n, r, i, s, o, a) {
12828
- var l = new Be(this._pt, e, n, 0, 1, md, null, s), u = 0, c = 0, d, f, m, g, p, y, b, T;
12829
- for (l.b = r, l.e = i, r += "", i += "", (b = ~i.indexOf("random(")) && (i = Sr(i)), o && (T = [r, i], o(T, e, n), r = T[0], i = T[1]), f = r.match(Hi) || []; d = Hi.exec(i); )
12828
+ var l = new Be(this._pt, e, n, 0, 1, md, null, s), u = 0, c = 0, d, f, m, g, p, y, x, T;
12829
+ for (l.b = r, l.e = i, r += "", i += "", (x = ~i.indexOf("random(")) && (i = Sr(i)), o && (T = [r, i], o(T, e, n), r = T[0], i = T[1]), f = r.match(Hi) || []; d = Hi.exec(i); )
12830
12830
  g = d[0], p = i.substring(u, d.index), m ? m = (m + 1) % 5 : p.substr(-5) === "rgba(" && (m = 1), g !== f[c++] && (y = parseFloat(f[c - 1]) || 0, l._pt = {
12831
12831
  _next: l._pt,
12832
12832
  p: p || c === 1 ? p : ",",
@@ -12835,7 +12835,7 @@ var rx = function(e, n, r, i, s, o, a) {
12835
12835
  c: g.charAt(1) === "=" ? $n(y, g) - y : parseFloat(g) - y,
12836
12836
  m: m && m < 4 ? Math.round : 0
12837
12837
  }, u = Hi.lastIndex);
12838
- return l.c = u < i.length ? i.substring(u, i.length) : "", l.fp = a, (Dc.test(i) || b) && (l.e = 0), this._pt = l, l;
12838
+ return l.c = u < i.length ? i.substring(u, i.length) : "", l.fp = a, (Dc.test(i) || x) && (l.e = 0), this._pt = l, l;
12839
12839
  }, go = function(e, n, r, i, s, o, a, l, u, c) {
12840
12840
  he(i) && (i = i(s || 0, e, o));
12841
12841
  var d = e[n], f = r !== "get" ? r : he(d) ? u ? e[n.indexOf("set") || !he(e["get" + n.substr(3)]) ? n : "get" + n.substr(3)](u) : e[n]() : d, m = he(d) ? u ? lx : dd : _o, g;
@@ -12855,13 +12855,13 @@ var rx = function(e, n, r, i, s, o, a) {
12855
12855
  u[a._props[c]] = l;
12856
12856
  return a;
12857
12857
  }, Lt, $s, yo = function t(e, n, r) {
12858
- var i = e.vars, s = i.ease, o = i.startAt, a = i.immediateRender, l = i.lazy, u = i.onUpdate, c = i.runBackwards, d = i.yoyoEase, f = i.keyframes, m = i.autoRevert, g = e._dur, p = e._startAt, y = e._targets, b = e.parent, T = b && b.data === "nested" ? b.vars.targets : y, I = e._overwrite === "auto" && !ao, F = e.timeline, w, S, _, k, A, Y, ee, ne, re, Te, ye, fe, _e;
12858
+ var i = e.vars, s = i.ease, o = i.startAt, a = i.immediateRender, l = i.lazy, u = i.onUpdate, c = i.runBackwards, d = i.yoyoEase, f = i.keyframes, m = i.autoRevert, g = e._dur, p = e._startAt, y = e._targets, x = e.parent, T = x && x.data === "nested" ? x.vars.targets : y, I = e._overwrite === "auto" && !ao, F = e.timeline, w, S, _, k, A, Y, ee, ne, re, Te, ye, fe, _e;
12859
12859
  if (F && (!f || !s) && (s = "none"), e._ease = un(s, qn.ease), e._yEase = d ? id(un(d === !0 ? s : d, qn.ease)) : 0, d && e._yoyo && !e._repeat && (d = e._yEase, e._yEase = e._ease, e._ease = d), e._from = !F && !!i.runBackwards, !F || f && !i.stagger) {
12860
12860
  if (ne = y[0] ? an(y[0]).harness : 0, fe = ne && i[ne.prop], w = ui(i, mo), p && (p._zTime < 0 && p.progress(1), n < 0 && c && a && !m ? p.render(-1, !0) : p.revert(c && g ? Yr : D2), p._lazy = 0), o) {
12861
12861
  if (zt(e._startAt = be.set(y, rt({
12862
12862
  data: "isStart",
12863
12863
  overwrite: !1,
12864
- parent: b,
12864
+ parent: x,
12865
12865
  immediateRender: !0,
12866
12866
  lazy: !p && Ue(l),
12867
12867
  startAt: null,
@@ -12883,7 +12883,7 @@ var rx = function(e, n, r, i, s, o, a) {
12883
12883
  immediateRender: a,
12884
12884
  //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)
12885
12885
  stagger: 0,
12886
- parent: b
12886
+ parent: x
12887
12887
  //ensures that nested tweens that had a stagger are handled properly, like gsap.from(".class", {y: gsap.utils.wrap([-100,100]), stagger: 0.5})
12888
12888
  }, w), fe && (_[ne.prop] = fe), zt(e._startAt = be.set(y, _)), e._startAt._dp = 0, e._startAt._sat = e, n < 0 && (De ? e._startAt.revert(Yr) : e._startAt.render(-1, !0)), e._zTime = n, !a)
12889
12889
  t(e._startAt, oe, oe);
@@ -12952,7 +12952,7 @@ var be = /* @__PURE__ */ function(t) {
12952
12952
  function e(r, i, s, o) {
12953
12953
  var a;
12954
12954
  typeof i == "number" && (s.duration = i, i = s, s = null), a = t.call(this, o ? i : dr(i)) || this;
12955
- var l = a.vars, u = l.duration, c = l.delay, d = l.immediateRender, f = l.stagger, m = l.overwrite, g = l.keyframes, p = l.defaults, y = l.scrollTrigger, b = l.yoyoEase, T = i.parent || ue, I = (Pe(r) || Oc(r) ? Et(r[0]) : "length" in i) ? [r] : tt(r), F, w, S, _, k, A, Y, ee;
12955
+ var l = a.vars, u = l.duration, c = l.delay, d = l.immediateRender, f = l.stagger, m = l.overwrite, g = l.keyframes, p = l.defaults, y = l.scrollTrigger, x = l.yoyoEase, T = i.parent || ue, I = (Pe(r) || Oc(r) ? Et(r[0]) : "length" in i) ? [r] : tt(r), F, w, S, _, k, A, Y, ee;
12956
12956
  if (a._targets = I.length ? po(I) : xr("GSAP target " + r + " not found. https://gsap.com", !Ye.nullTargetWarn) || [], a._ptLookup = [], a._overwrite = m, g || f || Gr(u) || Gr(c)) {
12957
12957
  if (i = a.vars, F = a.timeline = new Me({
12958
12958
  data: "nested",
@@ -12963,7 +12963,7 @@ var be = /* @__PURE__ */ function(t) {
12963
12963
  for (k in f)
12964
12964
  ~ud.indexOf(k) && (ee || (ee = {}), ee[k] = f[k]);
12965
12965
  for (w = 0; w < _; w++)
12966
- S = ui(i, cd), S.stagger = 0, b && (S.yoyoEase = b), ee && pn(S, ee), A = I[w], S.duration = +mr(u, xt(a), w, A, I), S.delay = (+mr(c, xt(a), w, A, I) || 0) - a._delay, !f && _ === 1 && S.delay && (a._delay = c = S.delay, a._start += c, S.delay = 0), F.to(A, S, Y ? Y(w, A, I) : 0), F._ease = K.none;
12966
+ S = ui(i, cd), S.stagger = 0, x && (S.yoyoEase = x), ee && pn(S, ee), A = I[w], S.duration = +mr(u, xt(a), w, A, I), S.delay = (+mr(c, xt(a), w, A, I) || 0) - a._delay, !f && _ === 1 && S.delay && (a._delay = c = S.delay, a._start += c, S.delay = 0), F.to(A, S, Y ? Y(w, A, I) : 0), F._ease = K.none;
12967
12967
  F.duration() ? u = c = 0 : a.timeline = 0;
12968
12968
  } else if (g) {
12969
12969
  dr(rt(F.vars.defaults, {
@@ -12998,16 +12998,16 @@ var be = /* @__PURE__ */ function(t) {
12998
12998
  }
12999
12999
  var n = e.prototype;
13000
13000
  return n.render = function(i, s, o) {
13001
- var a = this._time, l = this._tDur, u = this._dur, c = i < 0, d = i > l - oe && !c ? l : i < oe ? 0 : i, f, m, g, p, y, b, T, I, F;
13001
+ var a = this._time, l = this._tDur, u = this._dur, c = i < 0, d = i > l - oe && !c ? l : i < oe ? 0 : i, f, m, g, p, y, x, T, I, F;
13002
13002
  if (!u)
13003
13003
  B2(this, i, s, o);
13004
13004
  else if (d !== this._tTime || !i || o || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== c) {
13005
13005
  if (f = d, I = this.timeline, this._repeat) {
13006
13006
  if (p = u + this._rDelay, this._repeat < -1 && c)
13007
13007
  return this.totalTime(p * 100 + i, s, o);
13008
- if (f = Ce(d % p), d === l ? (g = this._repeat, f = u) : (g = ~~(d / p), g && g === Ce(d / p) && (f = u, g--), f > u && (f = u)), b = this._yoyo && g & 1, b && (F = this._yEase, f = u - f), y = Gn(this._tTime, p), f === a && !o && this._initted && g === y)
13008
+ if (f = Ce(d % p), d === l ? (g = this._repeat, f = u) : (g = ~~(d / p), g && g === Ce(d / p) && (f = u, g--), f > u && (f = u)), x = this._yoyo && g & 1, x && (F = this._yEase, f = u - f), y = Gn(this._tTime, p), f === a && !o && this._initted && g === y)
13009
13009
  return this._tTime = d, this;
13010
- g !== y && (I && this._yEase && sd(I, b), this.vars.repeatRefresh && !b && !this._lock && this._time !== p && this._initted && (this._lock = o = 1, this.render(Ce(p * g), !0).invalidate()._lock = 0));
13010
+ g !== y && (I && this._yEase && sd(I, x), this.vars.repeatRefresh && !x && !this._lock && this._time !== p && this._initted && (this._lock = o = 1, this.render(Ce(p * g), !0).invalidate()._lock = 0));
13011
13011
  }
13012
13012
  if (!this._initted) {
13013
13013
  if (Zc(this, c ? i : f, o, s, d))
@@ -13021,7 +13021,7 @@ var be = /* @__PURE__ */ function(t) {
13021
13021
  return this;
13022
13022
  for (m = this._pt; m; )
13023
13023
  m.r(T, m.d), m = m._next;
13024
- I && I.render(i < 0 ? i : I._dur * I._ease(f / this._dur), s, o) || this._startAt && (this._zTime = i), this._onUpdate && !s && (c && Ds(this, i, s, o), He(this, "onUpdate")), this._repeat && g !== y && this.vars.onRepeat && !s && this.parent && He(this, "onRepeat"), (d === this._tDur || !d) && this._tTime === d && (c && !this._onUpdate && Ds(this, i, !0, !0), (i || !u) && (d === this._tDur && this._ts > 0 || !d && this._ts < 0) && zt(this, 1), !s && !(c && !a) && (d || a || b) && (He(this, d === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(d < l && this.timeScale() > 0) && this._prom()));
13024
+ I && I.render(i < 0 ? i : I._dur * I._ease(f / this._dur), s, o) || this._startAt && (this._zTime = i), this._onUpdate && !s && (c && Ds(this, i, s, o), He(this, "onUpdate")), this._repeat && g !== y && this.vars.onRepeat && !s && this.parent && He(this, "onRepeat"), (d === this._tDur || !d) && this._tTime === d && (c && !this._onUpdate && Ds(this, i, !0, !0), (i || !u) && (d === this._tDur && this._ts > 0 || !d && this._ts < 0) && zt(this, 1), !s && !(c && !a) && (d || a || x) && (He(this, d === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(d < l && this.timeScale() > 0) && this._prom()));
13025
13025
  }
13026
13026
  return this;
13027
13027
  }, n.targets = function() {
@@ -13039,14 +13039,14 @@ var be = /* @__PURE__ */ function(t) {
13039
13039
  var o = this.timeline.totalDuration();
13040
13040
  return this.timeline.killTweensOf(i, s, Lt && Lt.vars.overwrite !== !0)._first || lr(this), this.parent && o !== this.timeline.totalDuration() && Zn(this, this._dur * this.timeline._tDur / o, 0, 1), this;
13041
13041
  }
13042
- var a = this._targets, l = i ? tt(i) : a, u = this._ptLookup, c = this._pt, d, f, m, g, p, y, b;
13042
+ var a = this._targets, l = i ? tt(i) : a, u = this._ptLookup, c = this._pt, d, f, m, g, p, y, x;
13043
13043
  if ((!s || s === "all") && L2(a, l))
13044
13044
  return s === "all" && (this._pt = 0), lr(this);
13045
13045
  for (d = this._op = this._op || [], s !== "all" && (Ie(s) && (p = {}, Re(s, function(T) {
13046
13046
  return p[T] = 1;
13047
- }), s = p), s = ox(a, s)), b = a.length; b--; )
13048
- if (~l.indexOf(a[b])) {
13049
- f = u[b], s === "all" ? (d[b] = s, g = f, m = {}) : (m = d[b] = d[b] || {}, g = s);
13047
+ }), s = p), s = ox(a, s)), x = a.length; x--; )
13048
+ if (~l.indexOf(a[x])) {
13049
+ f = u[x], s === "all" ? (d[x] = s, g = f, m = {}) : (m = d[x] = d[x] || {}, g = s);
13050
13050
  for (p in g)
13051
13051
  y = f && f[p], y && ((!("kill" in y.d) || y.d.kill(p) === !0) && Ii(this, y, "_pt"), delete f[p]), m !== "all" && (m[p] = 1);
13052
13052
  }
@@ -13610,12 +13610,12 @@ var ll, $t, Un, bo, nn, ul, So, vx = function() {
13610
13610
  grid: 1,
13611
13611
  flex: 1
13612
13612
  }, Vt = function t(e, n, r, i) {
13613
- var s = parseFloat(r) || 0, o = (r + "").trim().substr((s + "").length) || "px", a = nn.style, l = xx.test(n), u = e.tagName.toLowerCase() === "svg", c = (u ? "client" : "offset") + (l ? "Width" : "Height"), d = 100, f = i === "px", m = i === "%", g, p, y, b;
13613
+ var s = parseFloat(r) || 0, o = (r + "").trim().substr((s + "").length) || "px", a = nn.style, l = xx.test(n), u = e.tagName.toLowerCase() === "svg", c = (u ? "client" : "offset") + (l ? "Width" : "Height"), d = 100, f = i === "px", m = i === "%", g, p, y, x;
13614
13614
  if (i === o || !s || ml[i] || ml[o])
13615
13615
  return s;
13616
- if (o !== "px" && !f && (s = t(e, n, r, "px")), b = e.getCTM && Sd(e), (m || o === "%") && (Ct[n] || ~n.indexOf("adius")))
13617
- return g = b ? e.getBBox()[l ? "width" : "height"] : e[c], ge(m ? s / g * d : s / 100 * g);
13618
- if (a[l ? "width" : "height"] = d + (f ? o : i), p = ~n.indexOf("adius") || i === "em" && e.appendChild && !u ? e : e.parentNode, b && (p = (e.ownerSVGElement || {}).parentNode), (!p || p === $t || !p.appendChild) && (p = $t.body), y = p._gsap, y && m && y.width && l && y.time === Ze.time && !y.uncache)
13616
+ if (o !== "px" && !f && (s = t(e, n, r, "px")), x = e.getCTM && Sd(e), (m || o === "%") && (Ct[n] || ~n.indexOf("adius")))
13617
+ return g = x ? e.getBBox()[l ? "width" : "height"] : e[c], ge(m ? s / g * d : s / 100 * g);
13618
+ if (a[l ? "width" : "height"] = d + (f ? o : i), p = ~n.indexOf("adius") || i === "em" && e.appendChild && !u ? e : e.parentNode, x && (p = (e.ownerSVGElement || {}).parentNode), (!p || p === $t || !p.appendChild) && (p = $t.body), y = p._gsap, y && m && y.width && l && y.time === Ze.time && !y.uncache)
13619
13619
  return ge(s / y.width * d);
13620
13620
  if (m && (n === "height" || n === "width")) {
13621
13621
  var T = e.style[n];
@@ -13631,15 +13631,15 @@ var ll, $t, Un, bo, nn, ul, So, vx = function() {
13631
13631
  var s = Wn(n, e, 1), o = s && pt(e, s, 1);
13632
13632
  o && o !== r ? (n = s, r = o) : n === "borderColor" && (r = pt(e, "borderTopColor"));
13633
13633
  }
13634
- var a = new Be(this._pt, e.style, n, 0, 1, md), l = 0, u = 0, c, d, f, m, g, p, y, b, T, I, F, w;
13634
+ var a = new Be(this._pt, e.style, n, 0, 1, md), l = 0, u = 0, c, d, f, m, g, p, y, x, T, I, F, w;
13635
13635
  if (a.b = r, a.e = i, r += "", i += "", i === "auto" && (p = e.style[n], e.style[n] = i, i = pt(e, n) || i, p ? e.style[n] = p : gn(e, n)), c = [r, i], rd(c), r = c[0], i = c[1], f = r.match(Pn) || [], w = i.match(Pn) || [], w.length) {
13636
13636
  for (; d = Pn.exec(i); )
13637
- y = d[0], T = i.substring(l, d.index), g ? g = (g + 1) % 5 : (T.substr(-5) === "rgba(" || T.substr(-5) === "hsla(") && (g = 1), y !== (p = f[u++] || "") && (m = parseFloat(p) || 0, F = p.substr((m + "").length), y.charAt(1) === "=" && (y = $n(m, y) + F), b = parseFloat(y), I = y.substr((b + "").length), l = Pn.lastIndex - I.length, I || (I = I || Ye.units[n] || F, l === i.length && (i += I, a.e += I)), F !== I && (m = Vt(e, n, p, I) || 0), a._pt = {
13637
+ y = d[0], T = i.substring(l, d.index), g ? g = (g + 1) % 5 : (T.substr(-5) === "rgba(" || T.substr(-5) === "hsla(") && (g = 1), y !== (p = f[u++] || "") && (m = parseFloat(p) || 0, F = p.substr((m + "").length), y.charAt(1) === "=" && (y = $n(m, y) + F), x = parseFloat(y), I = y.substr((x + "").length), l = Pn.lastIndex - I.length, I || (I = I || Ye.units[n] || F, l === i.length && (i += I, a.e += I)), F !== I && (m = Vt(e, n, p, I) || 0), a._pt = {
13638
13638
  _next: a._pt,
13639
13639
  p: T || u === 1 ? T : ",",
13640
13640
  //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
13641
13641
  s: m,
13642
- c: b - m,
13642
+ c: x - m,
13643
13643
  m: g && g < 4 || n === "zIndex" ? Math.round : 0
13644
13644
  });
13645
13645
  a.c = l < i.length ? i.substring(l, i.length) : "";
@@ -13744,14 +13744,14 @@ var ll, $t, Un, bo, nn, ul, So, vx = function() {
13744
13744
  var r = e._gsap || an(e), i = e.style, s = pl(e), o, a, l, u;
13745
13745
  return r.svg && e.getAttribute("transform") ? (l = e.transform.baseVal.consolidate().matrix, s = [l.a, l.b, l.c, l.d, l.e, l.f], s.join(",") === "1,0,0,1,0,0" ? Er : s) : (s === Er && !e.offsetParent && e !== Un && !r.svg && (l = i.display, i.display = "block", o = e.parentNode, (!o || !e.offsetParent) && (u = 1, a = e.nextElementSibling, Un.appendChild(e)), s = pl(e), l ? i.display = l : gn(e, "display"), u && (a ? o.insertBefore(e, a) : o ? o.appendChild(e) : Un.removeChild(e))), n && s.length > 6 ? [s[0], s[1], s[4], s[5], s[12], s[13]] : s);
13746
13746
  }, Vs = function(e, n, r, i, s, o) {
13747
- var a = e._gsap, l = s || wo(e, !0), u = a.xOrigin || 0, c = a.yOrigin || 0, d = a.xOffset || 0, f = a.yOffset || 0, m = l[0], g = l[1], p = l[2], y = l[3], b = l[4], T = l[5], I = n.split(" "), F = parseFloat(I[0]) || 0, w = parseFloat(I[1]) || 0, S, _, k, A;
13748
- r ? l !== Er && (_ = m * y - g * p) && (k = F * (y / _) + w * (-p / _) + (p * T - y * b) / _, A = F * (-g / _) + w * (m / _) - (m * T - g * b) / _, F = k, w = A) : (S = bd(e), F = S.x + (~I[0].indexOf("%") ? F / 100 * S.width : F), w = S.y + (~(I[1] || I[0]).indexOf("%") ? w / 100 * S.height : w)), i || i !== !1 && a.smooth ? (b = F - u, T = w - c, a.xOffset = d + (b * m + T * p) - b, a.yOffset = f + (b * g + T * y) - T) : a.xOffset = a.yOffset = 0, a.xOrigin = F, a.yOrigin = w, a.smooth = !!i, a.origin = n, a.originIsAbsolute = !!r, e.style[ze] = "0px 0px", o && (Ut(o, a, "xOrigin", u, F), Ut(o, a, "yOrigin", c, w), Ut(o, a, "xOffset", d, a.xOffset), Ut(o, a, "yOffset", f, a.yOffset)), e.setAttribute("data-svg-origin", F + " " + w);
13747
+ var a = e._gsap, l = s || wo(e, !0), u = a.xOrigin || 0, c = a.yOrigin || 0, d = a.xOffset || 0, f = a.yOffset || 0, m = l[0], g = l[1], p = l[2], y = l[3], x = l[4], T = l[5], I = n.split(" "), F = parseFloat(I[0]) || 0, w = parseFloat(I[1]) || 0, S, _, k, A;
13748
+ r ? l !== Er && (_ = m * y - g * p) && (k = F * (y / _) + w * (-p / _) + (p * T - y * x) / _, A = F * (-g / _) + w * (m / _) - (m * T - g * x) / _, F = k, w = A) : (S = bd(e), F = S.x + (~I[0].indexOf("%") ? F / 100 * S.width : F), w = S.y + (~(I[1] || I[0]).indexOf("%") ? w / 100 * S.height : w)), i || i !== !1 && a.smooth ? (x = F - u, T = w - c, a.xOffset = d + (x * m + T * p) - x, a.yOffset = f + (x * g + T * y) - T) : a.xOffset = a.yOffset = 0, a.xOrigin = F, a.yOrigin = w, a.smooth = !!i, a.origin = n, a.originIsAbsolute = !!r, e.style[ze] = "0px 0px", o && (Ut(o, a, "xOrigin", u, F), Ut(o, a, "yOrigin", c, w), Ut(o, a, "xOffset", d, a.xOffset), Ut(o, a, "yOffset", f, a.yOffset)), e.setAttribute("data-svg-origin", F + " " + w);
13749
13749
  }, Cr = function(e, n) {
13750
13750
  var r = e._gsap || new ad(e);
13751
13751
  if ("x" in r && !n && !r.uncache)
13752
13752
  return r;
13753
- var i = e.style, s = r.scaleX < 0, o = "px", a = "deg", l = getComputedStyle(e), u = pt(e, ze) || "0", c, d, f, m, g, p, y, b, T, I, F, w, S, _, k, A, Y, ee, ne, re, Te, ye, fe, _e, qe, bn, kt, we, ct, er, it, _t;
13754
- return c = d = f = p = y = b = T = I = F = 0, m = g = 1, r.svg = !!(e.getCTM && Sd(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (i[de] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[de] !== "none" ? l[de] : "")), i.scale = i.rotate = i.translate = "none"), _ = wo(e, r.svg), r.svg && (r.uncache ? (qe = e.getBBox(), u = r.xOrigin - qe.x + "px " + (r.yOrigin - qe.y) + "px", _e = "") : _e = !n && e.getAttribute("data-svg-origin"), Vs(e, _e || u, !!_e || r.originIsAbsolute, r.smooth !== !1, _)), w = r.xOrigin || 0, S = r.yOrigin || 0, _ !== Er && (ee = _[0], ne = _[1], re = _[2], Te = _[3], c = ye = _[4], d = fe = _[5], _.length === 6 ? (m = Math.sqrt(ee * ee + ne * ne), g = Math.sqrt(Te * Te + re * re), p = ee || ne ? In(ne, ee) * Qt : 0, T = re || Te ? In(re, Te) * Qt + p : 0, T && (g *= Math.abs(Math.cos(T * Rn))), r.svg && (c -= w - (w * ee + S * re), d -= S - (w * ne + S * Te))) : (_t = _[6], er = _[7], kt = _[8], we = _[9], ct = _[10], it = _[11], c = _[12], d = _[13], f = _[14], k = In(_t, ct), y = k * Qt, k && (A = Math.cos(-k), Y = Math.sin(-k), _e = ye * A + kt * Y, qe = fe * A + we * Y, bn = _t * A + ct * Y, kt = ye * -Y + kt * A, we = fe * -Y + we * A, ct = _t * -Y + ct * A, it = er * -Y + it * A, ye = _e, fe = qe, _t = bn), k = In(-re, ct), b = k * Qt, k && (A = Math.cos(-k), Y = Math.sin(-k), _e = ee * A - kt * Y, qe = ne * A - we * Y, bn = re * A - ct * Y, it = Te * Y + it * A, ee = _e, ne = qe, re = bn), k = In(ne, ee), p = k * Qt, k && (A = Math.cos(k), Y = Math.sin(k), _e = ee * A + ne * Y, qe = ye * A + fe * Y, ne = ne * A - ee * Y, fe = fe * A - ye * Y, ee = _e, ye = qe), y && Math.abs(y) + Math.abs(p) > 359.9 && (y = p = 0, b = 180 - b), m = ge(Math.sqrt(ee * ee + ne * ne + re * re)), g = ge(Math.sqrt(fe * fe + _t * _t)), k = In(ye, fe), T = Math.abs(k) > 2e-4 ? k * Qt : 0, F = it ? 1 / (it < 0 ? -it : it) : 0), r.svg && (_e = e.getAttribute("transform"), r.forceCSS = e.setAttribute("transform", "") || !wd(pt(e, de)), _e && e.setAttribute("transform", _e))), Math.abs(T) > 90 && Math.abs(T) < 270 && (s ? (m *= -1, T += p <= 0 ? 180 : -180, p += p <= 0 ? 180 : -180) : (g *= -1, T += T <= 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) + o, 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) + o, r.z = f + o, r.scaleX = ge(m), r.scaleY = ge(g), r.rotation = ge(p) + a, r.rotationX = ge(y) + a, r.rotationY = ge(b) + a, r.skewX = T + a, r.skewY = I + a, r.transformPerspective = F + o, (r.zOrigin = parseFloat(u.split(" ")[2]) || !n && r.zOrigin || 0) && (i[ze] = mi(u)), r.xOffset = r.yOffset = 0, r.force3D = Ye.force3D, r.renderTransform = r.svg ? Ux : xd ? Ed : $x, r.uncache = 0, r;
13753
+ var i = e.style, s = r.scaleX < 0, o = "px", a = "deg", l = getComputedStyle(e), u = pt(e, ze) || "0", c, d, f, m, g, p, y, x, T, I, F, w, S, _, k, A, Y, ee, ne, re, Te, ye, fe, _e, qe, bn, kt, we, ct, er, it, _t;
13754
+ return c = d = f = p = y = x = T = I = F = 0, m = g = 1, r.svg = !!(e.getCTM && Sd(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (i[de] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[de] !== "none" ? l[de] : "")), i.scale = i.rotate = i.translate = "none"), _ = wo(e, r.svg), r.svg && (r.uncache ? (qe = e.getBBox(), u = r.xOrigin - qe.x + "px " + (r.yOrigin - qe.y) + "px", _e = "") : _e = !n && e.getAttribute("data-svg-origin"), Vs(e, _e || u, !!_e || r.originIsAbsolute, r.smooth !== !1, _)), w = r.xOrigin || 0, S = r.yOrigin || 0, _ !== Er && (ee = _[0], ne = _[1], re = _[2], Te = _[3], c = ye = _[4], d = fe = _[5], _.length === 6 ? (m = Math.sqrt(ee * ee + ne * ne), g = Math.sqrt(Te * Te + re * re), p = ee || ne ? In(ne, ee) * Qt : 0, T = re || Te ? In(re, Te) * Qt + p : 0, T && (g *= Math.abs(Math.cos(T * Rn))), r.svg && (c -= w - (w * ee + S * re), d -= S - (w * ne + S * Te))) : (_t = _[6], er = _[7], kt = _[8], we = _[9], ct = _[10], it = _[11], c = _[12], d = _[13], f = _[14], k = In(_t, ct), y = k * Qt, k && (A = Math.cos(-k), Y = Math.sin(-k), _e = ye * A + kt * Y, qe = fe * A + we * Y, bn = _t * A + ct * Y, kt = ye * -Y + kt * A, we = fe * -Y + we * A, ct = _t * -Y + ct * A, it = er * -Y + it * A, ye = _e, fe = qe, _t = bn), k = In(-re, ct), x = k * Qt, k && (A = Math.cos(-k), Y = Math.sin(-k), _e = ee * A - kt * Y, qe = ne * A - we * Y, bn = re * A - ct * Y, it = Te * Y + it * A, ee = _e, ne = qe, re = bn), k = In(ne, ee), p = k * Qt, k && (A = Math.cos(k), Y = Math.sin(k), _e = ee * A + ne * Y, qe = ye * A + fe * Y, ne = ne * A - ee * Y, fe = fe * A - ye * Y, ee = _e, ye = qe), y && Math.abs(y) + Math.abs(p) > 359.9 && (y = p = 0, x = 180 - x), m = ge(Math.sqrt(ee * ee + ne * ne + re * re)), g = ge(Math.sqrt(fe * fe + _t * _t)), k = In(ye, fe), T = Math.abs(k) > 2e-4 ? k * Qt : 0, F = it ? 1 / (it < 0 ? -it : it) : 0), r.svg && (_e = e.getAttribute("transform"), r.forceCSS = e.setAttribute("transform", "") || !wd(pt(e, de)), _e && e.setAttribute("transform", _e))), Math.abs(T) > 90 && Math.abs(T) < 270 && (s ? (m *= -1, T += p <= 0 ? 180 : -180, p += p <= 0 ? 180 : -180) : (g *= -1, T += T <= 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) + o, 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) + o, r.z = f + o, r.scaleX = ge(m), r.scaleY = ge(g), r.rotation = ge(p) + a, r.rotationX = ge(y) + a, r.rotationY = ge(x) + a, r.skewX = T + a, r.skewY = I + a, r.transformPerspective = F + o, (r.zOrigin = parseFloat(u.split(" ")[2]) || !n && r.zOrigin || 0) && (i[ze] = mi(u)), r.xOffset = r.yOffset = 0, r.force3D = Ye.force3D, r.renderTransform = r.svg ? Ux : xd ? Ed : $x, r.uncache = 0, r;
13755
13755
  }, mi = function(e) {
13756
13756
  return (e = e.split(" "))[0] + " " + e[1];
13757
13757
  }, es = function(e, n, r) {
@@ -13760,15 +13760,15 @@ var ll, $t, Un, bo, nn, ul, So, vx = function() {
13760
13760
  }, $x = function(e, n) {
13761
13761
  n.z = "0px", n.rotationY = n.rotationX = "0deg", n.force3D = 0, Ed(e, n);
13762
13762
  }, Xt = "0deg", sr = "0px", Kt = ") ", Ed = function(e, n) {
13763
- var r = n || this, i = r.xPercent, s = r.yPercent, o = r.x, a = r.y, l = r.z, u = r.rotation, c = r.rotationY, d = r.rotationX, f = r.skewX, m = r.skewY, g = r.scaleX, p = r.scaleY, y = r.transformPerspective, b = r.force3D, T = r.target, I = r.zOrigin, F = "", w = b === "auto" && e && e !== 1 || b === !0;
13763
+ var r = n || this, i = r.xPercent, s = r.yPercent, o = r.x, a = r.y, l = r.z, u = r.rotation, c = r.rotationY, d = r.rotationX, f = r.skewX, m = r.skewY, g = r.scaleX, p = r.scaleY, y = r.transformPerspective, x = r.force3D, T = r.target, I = r.zOrigin, F = "", w = x === "auto" && e && e !== 1 || x === !0;
13764
13764
  if (I && (d !== Xt || c !== Xt)) {
13765
13765
  var S = parseFloat(c) * Rn, _ = Math.sin(S), k = Math.cos(S), A;
13766
13766
  S = parseFloat(d) * Rn, A = Math.cos(S), o = es(T, o, _ * A * -I), a = es(T, a, -Math.sin(S) * -I), l = es(T, l, k * A * -I + I);
13767
13767
  }
13768
13768
  y !== sr && (F += "perspective(" + y + Kt), (i || s) && (F += "translate(" + i + "%, " + s + "%) "), (w || o !== sr || a !== sr || l !== sr) && (F += l !== sr || w ? "translate3d(" + o + ", " + a + ", " + l + ") " : "translate(" + o + ", " + a + Kt), u !== Xt && (F += "rotate(" + u + Kt), c !== Xt && (F += "rotateY(" + c + Kt), d !== Xt && (F += "rotateX(" + d + Kt), (f !== Xt || m !== Xt) && (F += "skew(" + f + ", " + m + Kt), (g !== 1 || p !== 1) && (F += "scale(" + g + ", " + p + Kt), T.style[de] = F || "translate(0, 0)";
13769
13769
  }, Ux = function(e, n) {
13770
- var r = n || this, i = r.xPercent, s = r.yPercent, o = r.x, a = r.y, l = r.rotation, u = r.skewX, c = r.skewY, d = r.scaleX, f = r.scaleY, m = r.target, g = r.xOrigin, p = r.yOrigin, y = r.xOffset, b = r.yOffset, T = r.forceCSS, I = parseFloat(o), F = parseFloat(a), w, S, _, k, A;
13771
- l = parseFloat(l), u = parseFloat(u), c = parseFloat(c), c && (c = parseFloat(c), u += c, l += c), l || u ? (l *= Rn, u *= Rn, w = Math.cos(l) * d, S = Math.sin(l) * d, _ = Math.sin(l - u) * -f, k = Math.cos(l - u) * f, u && (c *= Rn, A = Math.tan(u - c), A = Math.sqrt(1 + A * A), _ *= A, k *= A, c && (A = Math.tan(c), A = Math.sqrt(1 + A * A), w *= A, S *= A)), w = ge(w), S = ge(S), _ = ge(_), k = ge(k)) : (w = d, k = f, S = _ = 0), (I && !~(o + "").indexOf("px") || F && !~(a + "").indexOf("px")) && (I = Vt(m, "x", o, "px"), F = Vt(m, "y", a, "px")), (g || p || y || b) && (I = ge(I + g - (g * w + p * _) + y), F = ge(F + p - (g * S + p * k) + b)), (i || s) && (A = m.getBBox(), I = ge(I + i / 100 * A.width), F = ge(F + s / 100 * A.height)), A = "matrix(" + w + "," + S + "," + _ + "," + k + "," + I + "," + F + ")", m.setAttribute("transform", A), T && (m.style[de] = A);
13770
+ var r = n || this, i = r.xPercent, s = r.yPercent, o = r.x, a = r.y, l = r.rotation, u = r.skewX, c = r.skewY, d = r.scaleX, f = r.scaleY, m = r.target, g = r.xOrigin, p = r.yOrigin, y = r.xOffset, x = r.yOffset, T = r.forceCSS, I = parseFloat(o), F = parseFloat(a), w, S, _, k, A;
13771
+ l = parseFloat(l), u = parseFloat(u), c = parseFloat(c), c && (c = parseFloat(c), u += c, l += c), l || u ? (l *= Rn, u *= Rn, w = Math.cos(l) * d, S = Math.sin(l) * d, _ = Math.sin(l - u) * -f, k = Math.cos(l - u) * f, u && (c *= Rn, A = Math.tan(u - c), A = Math.sqrt(1 + A * A), _ *= A, k *= A, c && (A = Math.tan(c), A = Math.sqrt(1 + A * A), w *= A, S *= A)), w = ge(w), S = ge(S), _ = ge(_), k = ge(k)) : (w = d, k = f, S = _ = 0), (I && !~(o + "").indexOf("px") || F && !~(a + "").indexOf("px")) && (I = Vt(m, "x", o, "px"), F = Vt(m, "y", a, "px")), (g || p || y || x) && (I = ge(I + g - (g * w + p * _) + y), F = ge(F + p - (g * S + p * k) + x)), (i || s) && (A = m.getBBox(), I = ge(I + i / 100 * A.width), F = ge(F + s / 100 * A.height)), A = "matrix(" + w + "," + S + "," + _ + "," + k + "," + I + "," + F + ")", m.setAttribute("transform", A), T && (m.style[de] = A);
13772
13772
  }, Rx = function(e, n, r, i, s) {
13773
13773
  var o = 360, a = Ie(s), l = parseFloat(s) * (a && ~s.indexOf("rad") ? Qt : 1), u = l - i, c = i + u + "deg", d, f;
13774
13774
  return a && (d = s.split("_")[1], d === "short" && (u %= o, u !== u % (o / 2) && (u += u < 0 ? o : -o)), d === "cw" && u < 0 ? u = (u + o * cl) % o - ~~(u / o) * o : d === "ccw" && u > 0 && (u = (u - o * cl) % o - ~~(u / o) * o)), e._pt = f = new Be(e._pt, n, r, i, u, Sx), f.e = c, f.u = "deg", e._props.push(r), f;
@@ -13805,20 +13805,20 @@ var Cd = {
13805
13805
  return e.style && e.nodeType;
13806
13806
  },
13807
13807
  init: function(e, n, r, i, s) {
13808
- var o = this._props, a = e.style, l = r.vars.startAt, u, c, d, f, m, g, p, y, b, T, I, F, w, S, _, k;
13808
+ var o = this._props, a = e.style, l = r.vars.startAt, u, c, d, f, m, g, p, y, x, T, I, F, w, S, _, k;
13809
13809
  bo || zs(), this.styles = this.styles || vd(e), k = this.styles.props, this.tween = r;
13810
13810
  for (p in n)
13811
13811
  if (p !== "autoRound" && (c = n[p], !(Ge[p] && ld(p, n, r, i, e, s)))) {
13812
13812
  if (m = typeof c, g = fi[p], m === "function" && (c = c.call(r, i, e, s), m = typeof c), m === "string" && ~c.indexOf("random(") && (c = Sr(c)), g)
13813
13813
  g(this, e, p, c, r) && (_ = 1);
13814
13814
  else if (p.substr(0, 2) === "--")
13815
- u = (getComputedStyle(e).getPropertyValue(p) + "").trim(), c += "", Bt.lastIndex = 0, Bt.test(u) || (y = Ae(u), b = Ae(c)), b ? y !== b && (u = Vt(e, p, u, b) + b) : y && (c += y), this.add(a, "setProperty", u, c, i, s, 0, 0, p), o.push(p), k.push(p, 0, a[p]);
13815
+ u = (getComputedStyle(e).getPropertyValue(p) + "").trim(), c += "", Bt.lastIndex = 0, Bt.test(u) || (y = Ae(u), x = Ae(c)), x ? y !== x && (u = Vt(e, p, u, x) + x) : y && (c += y), this.add(a, "setProperty", u, c, i, s, 0, 0, p), o.push(p), k.push(p, 0, a[p]);
13816
13816
  else if (m !== "undefined") {
13817
13817
  if (l && p in l ? (u = typeof l[p] == "function" ? l[p].call(r, i, e, s) : l[p], Ie(u) && ~u.indexOf("random(") && (u = Sr(u)), Ae(u + "") || u === "auto" || (u += Ye.units[p] || Ae(St(e, p)) || ""), (u + "").charAt(1) === "=" && (u = St(e, p))) : u = St(e, p), f = parseFloat(u), T = m === "string" && c.charAt(1) === "=" && c.substr(0, 2), T && (c = c.substr(2)), d = parseFloat(c), p in ht && (p === "autoAlpha" && (f === 1 && St(e, "visibility") === "hidden" && d && (f = 0), k.push("visibility", 0, a.visibility), Ut(this, a, "visibility", f ? "inherit" : "hidden", d ? "inherit" : "hidden", !d)), p !== "scale" && p !== "transform" && (p = ht[p], ~p.indexOf(",") && (p = p.split(",")[0]))), I = p in Ct, I) {
13818
13818
  if (this.styles.save(p), F || (w = e._gsap, w.renderTransform && !n.parseTransform || Cr(e, n.parseTransform), S = n.smoothOrigin !== !1 && w.smooth, F = this._pt = new Be(this._pt, a, de, 0, 1, w.renderTransform, w, 0, -1), F.dep = 1), p === "scale")
13819
13819
  this._pt = new Be(this._pt, w, "scaleY", w.scaleY, (T ? $n(w.scaleY, T + d) : d) - w.scaleY || 0, Rs), this._pt.u = 0, o.push("scaleY", p), p += "X";
13820
13820
  else if (p === "transformOrigin") {
13821
- k.push(ze, 0, a[ze]), c = Mx(c), w.svg ? Vs(e, c, 0, S, 0, this) : (b = parseFloat(c.split(" ")[2]) || 0, b !== w.zOrigin && Ut(this, w, "zOrigin", w.zOrigin, b), Ut(this, a, p, mi(u), mi(c)));
13821
+ k.push(ze, 0, a[ze]), c = Mx(c), w.svg ? Vs(e, c, 0, S, 0, this) : (x = parseFloat(c.split(" ")[2]) || 0, x !== w.zOrigin && Ut(this, w, "zOrigin", w.zOrigin, x), Ut(this, a, p, mi(u), mi(c)));
13822
13822
  continue;
13823
13823
  } else if (p === "svgOrigin") {
13824
13824
  Vs(e, c, 1, S, 0, this);
@@ -13839,7 +13839,7 @@ var Cd = {
13839
13839
  } else
13840
13840
  p in a || (p = Wn(p) || p);
13841
13841
  if (I || (d || d === 0) && (f || f === 0) && !bx.test(c) && p in a)
13842
- y = (u + "").substr((f + "").length), d || (d = 0), b = Ae(c) || (p in Ye.units ? Ye.units[p] : y), y !== b && (f = Vt(e, p, u, b)), this._pt = new Be(this._pt, I ? w : a, p, f, (T ? $n(f, T + d) : d) - f, !I && (b === "px" || p === "zIndex") && n.autoRound !== !1 ? wx : Rs), this._pt.u = b || 0, y !== b && b !== "%" && (this._pt.b = u, this._pt.r = Tx);
13842
+ y = (u + "").substr((f + "").length), d || (d = 0), x = Ae(c) || (p in Ye.units ? Ye.units[p] : y), y !== x && (f = Vt(e, p, u, x)), this._pt = new Be(this._pt, I ? w : a, p, f, (T ? $n(f, T + d) : d) - f, !I && (x === "px" || p === "zIndex") && n.autoRound !== !1 ? wx : Rs), this._pt.u = x || 0, y !== x && x !== "%" && (this._pt.b = u, this._pt.r = Tx);
13843
13843
  else if (p in a)
13844
13844
  Nx.call(this, e, p, u, T ? T + c : c);
13845
13845
  else if (p in e)
@@ -13954,7 +13954,7 @@ const zx = {
13954
13954
  _: 3
13955
13955
  }, 512));
13956
13956
  }
13957
- }, ZT = /* @__PURE__ */ It(zx, [["__scopeId", "data-v-6a1edcb9"]]);
13957
+ }, WT = /* @__PURE__ */ It(zx, [["__scopeId", "data-v-6a1edcb9"]]);
13958
13958
  class Vx extends Ec {
13959
13959
  constructor(n = {}) {
13960
13960
  super({
@@ -14118,13 +14118,13 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14118
14118
  return (s, o) => (h(), v("div", {
14119
14119
  class: "cursor-move",
14120
14120
  draggable: "true",
14121
- onDragstart: o[0] || (o[0] = (...a) => x(i).dragStart && x(i).dragStart(...a)),
14122
- onDragend: o[1] || (o[1] = (...a) => x(i).dragEnd && x(i).dragEnd(...a))
14121
+ onDragstart: o[0] || (o[0] = (...a) => b(i).dragStart && b(i).dragStart(...a)),
14122
+ onDragend: o[1] || (o[1] = (...a) => b(i).dragEnd && b(i).dragEnd(...a))
14123
14123
  }, [
14124
14124
  O("div", qx, [
14125
14125
  t.showHandle ? (h(), v("div", Gx, [
14126
- C(x(n2), {
14127
- svg: x(k_),
14126
+ C(b(n2), {
14127
+ svg: b(k_),
14128
14128
  class: "w-4 h-4",
14129
14129
  alt: "drag-handle"
14130
14130
  }, null, 8, ["svg"])
@@ -14135,7 +14135,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14135
14135
  ])
14136
14136
  ], 32));
14137
14137
  }
14138
- }, Wx = /* @__PURE__ */ O("div", { class: "mb-4 text-sm" }, " Customize columns by visibility, order, or priority (maximum 3 additional). ", -1), HT = {
14138
+ }, Wx = /* @__PURE__ */ O("div", { class: "mb-4 text-sm" }, " Customize columns by visibility, order, or priority (maximum 3 additional). ", -1), YT = {
14139
14139
  __name: "ColumnSettingsDialog",
14140
14140
  props: {
14141
14141
  hiddenColumnNames: {
@@ -14184,25 +14184,25 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14184
14184
  d = Kr(d, u.name);
14185
14185
  n("update:title-column-names", [...new Set(d)]);
14186
14186
  }
14187
- return (u, c) => (h(), E(x(Gv), {
14187
+ return (u, c) => (h(), E(b(Gv), {
14188
14188
  title: "Column Settings",
14189
14189
  onClose: c[1] || (c[1] = (d) => u.$emit("close"))
14190
14190
  }, {
14191
14191
  default: D(() => [
14192
14192
  Wx,
14193
- (h(!0), v(z, null, Se(t.lockedColumns, (d) => (h(), E(x(Qa), {
14193
+ (h(!0), v(z, null, Se(t.lockedColumns, (d) => (h(), E(b(Qa), {
14194
14194
  key: d.name,
14195
14195
  locked: "",
14196
14196
  visible: "",
14197
14197
  column: d,
14198
14198
  class: "px-2.5 border border-neutral-plus-5 bg-white rounded-t-lg"
14199
14199
  }, null, 8, ["column"]))), 128)),
14200
- C(x(C2), {
14200
+ C(b(C2), {
14201
14201
  name: "fade-down-list",
14202
14202
  "data-drop-zone": "column-list"
14203
14203
  }, {
14204
14204
  default: D(() => [
14205
- (h(!0), v(z, null, Se(t.sortableColumns, (d, f) => (h(), E(x(Hx), {
14205
+ (h(!0), v(z, null, Se(t.sortableColumns, (d, f) => (h(), E(b(Hx), {
14206
14206
  key: d.name,
14207
14207
  "list-items": t.sortableColumns,
14208
14208
  "drop-zone": "column-list",
@@ -14211,7 +14211,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14211
14211
  "onUpdate:listItems": c[0] || (c[0] = (m) => u.$emit("update:sortable-columns", m))
14212
14212
  }, {
14213
14213
  default: D(() => [
14214
- C(x(Qa), {
14214
+ C(b(Qa), {
14215
14215
  column: d,
14216
14216
  visible: s(d),
14217
14217
  "is-title": a(d),
@@ -14301,32 +14301,32 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14301
14301
  size: "20px",
14302
14302
  "model-value": l(y),
14303
14303
  class: "mr-2 cb-white-border",
14304
- onClick: (b) => u(o(y), !a(y))
14304
+ onClick: (x) => u(o(y), !a(y))
14305
14305
  }, null, 8, ["model-value", "onClick"]),
14306
14306
  O("div", null, P(y), 1),
14307
- C(x(T_), {
14307
+ C(b(T_), {
14308
14308
  class: q(["ml-2 w-5 transition-all", { "rotate-180": i.value === y }])
14309
14309
  }, null, 8, ["class"]),
14310
14310
  C(p, {
14311
- "onUpdate:modelValue": (b) => i.value = b ? y : ""
14311
+ "onUpdate:modelValue": (x) => i.value = x ? y : ""
14312
14312
  }, {
14313
14313
  default: D(() => [
14314
14314
  C(g, null, {
14315
14315
  default: D(() => [
14316
- (h(!0), v(z, null, Se(o(y), (b) => (h(), v("div", {
14317
- key: b,
14316
+ (h(!0), v(z, null, Se(o(y), (x) => (h(), v("div", {
14317
+ key: x,
14318
14318
  class: "flex items-center flex-nowrap px-2 py-3 cursor-pointer",
14319
- onClick: (T) => c(b.name)
14319
+ onClick: (T) => c(x.name)
14320
14320
  }, [
14321
14321
  C(m, {
14322
- "model-value": !t.hiddenColumnNames.includes(b.name),
14322
+ "model-value": !t.hiddenColumnNames.includes(x.name),
14323
14323
  class: "mr-3 cb-white-border",
14324
14324
  size: "20px",
14325
- color: b.required ? "gray-base" : "blue-base",
14326
- disable: b.required,
14327
- onClick: (T) => c(b.name)
14325
+ color: x.required ? "gray-base" : "blue-base",
14326
+ disable: x.required,
14327
+ onClick: (T) => c(x.name)
14328
14328
  }, null, 8, ["model-value", "color", "disable", "onClick"]),
14329
- O("div", Kx, P(b.label), 1)
14329
+ O("div", Kx, P(x.label), 1)
14330
14330
  ], 8, Xx))), 128))
14331
14331
  ]),
14332
14332
  _: 2
@@ -14338,7 +14338,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14338
14338
  ]);
14339
14339
  };
14340
14340
  }
14341
- }, WT = /* @__PURE__ */ It(Jx, [["__scopeId", "data-v-042cd8be"]]), YT = {
14341
+ }, jT = /* @__PURE__ */ It(Jx, [["__scopeId", "data-v-042cd8be"]]), XT = {
14342
14342
  __name: "CollapsableFiltersSidebar",
14343
14343
  props: {
14344
14344
  name: {
@@ -14357,7 +14357,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14357
14357
  },
14358
14358
  emits: ["update:filter", "update:show-filters"],
14359
14359
  setup(t) {
14360
- return (e, n) => (h(), E(x(g2), {
14360
+ return (e, n) => (h(), E(b(g2), {
14361
14361
  collapse: !t.showFilters,
14362
14362
  disabled: "",
14363
14363
  "min-width": "0",
@@ -14366,7 +14366,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14366
14366
  "onUpdate:collapse": n[1] || (n[1] = (r) => e.$emit("update:show-filters", !r))
14367
14367
  }, {
14368
14368
  default: D(() => [
14369
- C(x(iS), {
14369
+ C(b(iS), {
14370
14370
  filter: t.filter,
14371
14371
  "filter-fields": t.filterFields,
14372
14372
  "onUpdate:filter": n[0] || (n[0] = (r) => e.$emit("update:filter", r))
@@ -14375,6 +14375,44 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14375
14375
  _: 1
14376
14376
  }, 8, ["collapse"]));
14377
14377
  }
14378
+ }, Qx = {
14379
+ key: 0,
14380
+ class: "text-red-dark ml-1 text-xs bottom-1 relative"
14381
+ }, Qn = {
14382
+ __name: "FieldLabel",
14383
+ props: {
14384
+ field: {
14385
+ type: Object,
14386
+ default: null
14387
+ },
14388
+ label: {
14389
+ type: String,
14390
+ default: null
14391
+ },
14392
+ showName: Boolean,
14393
+ required: Boolean
14394
+ },
14395
+ setup(t) {
14396
+ const e = t, n = R(() => {
14397
+ var i;
14398
+ return e.label || ((i = e.field) == null ? void 0 : i.label);
14399
+ }), r = R(() => {
14400
+ var i, s;
14401
+ return ((i = e.field) == null ? void 0 : i.required_group) || (e.required || (s = e.field) != null && s.required ? "*" : "");
14402
+ });
14403
+ return (i, s) => (h(), v("span", null, [
14404
+ B(i.$slots, "default", {}, () => {
14405
+ var o;
14406
+ return [
14407
+ Z(P(n.value) + " ", 1),
14408
+ t.showName ? (h(), v(z, { key: 0 }, [
14409
+ Z("(" + P((o = t.field) == null ? void 0 : o.name) + ")", 1)
14410
+ ], 64)) : $("", !0)
14411
+ ];
14412
+ }),
14413
+ r.value ? (h(), v("span", Qx, P(r.value), 1)) : $("", !0)
14414
+ ]));
14415
+ }
14378
14416
  }, Id = {
14379
14417
  __name: "BooleanField",
14380
14418
  props: {
@@ -14405,7 +14443,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14405
14443
  "onUpdate:modelValue": n[0] || (n[0] = (i) => e.$emit("update:model-value", i))
14406
14444
  }, {
14407
14445
  default: D(() => [
14408
- C(x(Qn), {
14446
+ C(b(Qn), {
14409
14447
  field: t.field,
14410
14448
  "show-name": t.showName,
14411
14449
  class: q(t.labelClass)
@@ -14415,7 +14453,77 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14415
14453
  }, 8, ["data-testid", "model-value", "toggle-indeterminate"]);
14416
14454
  };
14417
14455
  }
14418
- }, jT = {
14456
+ }, eb = {
14457
+ for: "first_name",
14458
+ class: "form-label"
14459
+ }, tb = { class: "mt-1" }, kd = {
14460
+ __name: "LabeledInput",
14461
+ props: {
14462
+ type: {
14463
+ type: String,
14464
+ default: "text"
14465
+ },
14466
+ name: {
14467
+ type: String,
14468
+ required: !0
14469
+ },
14470
+ label: {
14471
+ type: String,
14472
+ default: null
14473
+ },
14474
+ placeholder: {
14475
+ type: String,
14476
+ default: null
14477
+ },
14478
+ modelValue: {
14479
+ type: [String, Number],
14480
+ required: !0
14481
+ },
14482
+ error: {
14483
+ type: String,
14484
+ default: null
14485
+ },
14486
+ required: Boolean,
14487
+ disabled: Boolean,
14488
+ rules: {
14489
+ type: Array,
14490
+ default: null
14491
+ }
14492
+ },
14493
+ emits: ["update:model-value"],
14494
+ setup(t) {
14495
+ return (e, n) => {
14496
+ const r = L("q-input");
14497
+ return h(), v("div", null, [
14498
+ O("label", eb, [
14499
+ B(e.$slots, "label", {}, () => [
14500
+ Z(P(t.label), 1)
14501
+ ])
14502
+ ]),
14503
+ O("div", tb, [
14504
+ C(r, {
14505
+ "model-value": t.modelValue,
14506
+ "error-message": t.error,
14507
+ error: !!t.error,
14508
+ "no-error-icon": "",
14509
+ outlined: "",
14510
+ dense: "",
14511
+ disable: t.disabled,
14512
+ readonly: t.disabled,
14513
+ type: t.type,
14514
+ name: t.name,
14515
+ placeholder: t.placeholder || t.label,
14516
+ required: t.required,
14517
+ rules: t.rules,
14518
+ "lazy-rules": !!t.rules,
14519
+ class: "w-full",
14520
+ "onUpdate:modelValue": n[0] || (n[0] = (i) => e.$emit("update:model-value", i))
14521
+ }, null, 8, ["model-value", "error-message", "error", "disable", "readonly", "type", "name", "placeholder", "required", "rules", "lazy-rules"])
14522
+ ])
14523
+ ]);
14524
+ };
14525
+ }
14526
+ }, KT = {
14419
14527
  __name: "ConfirmPasswordField",
14420
14528
  props: {
14421
14529
  name: {
@@ -14449,17 +14557,17 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14449
14557
  const e = t, n = [
14450
14558
  (r) => r === e.password || "The password and confirmation do not match"
14451
14559
  ];
14452
- return (r, i) => (h(), E(x(Ad), dn({ type: "password" }, e, {
14560
+ return (r, i) => (h(), E(b(kd), dn({ type: "password" }, e, {
14453
14561
  name: t.name,
14454
14562
  "model-value": t.modelValue,
14455
14563
  rules: n,
14456
14564
  "onUpdate:modelValue": i[0] || (i[0] = (s) => r.$emit("update:model-value", s))
14457
14565
  }), null, 16, ["name", "model-value"]));
14458
14566
  }
14459
- }, Qx = {
14567
+ }, nb = {
14460
14568
  key: 0,
14461
14569
  class: "font-bold text-xs mb-2"
14462
- }, eb = { class: "flex items-center cursor-pointer" }, tb = { class: "font-bold ml-3 hover:text-blue-base" }, kd = {
14570
+ }, rb = { class: "flex items-center cursor-pointer" }, ib = { class: "font-bold ml-3 hover:text-blue-base" }, Fd = {
14463
14571
  __name: "DateField",
14464
14572
  props: {
14465
14573
  modelValue: {
@@ -14481,10 +14589,10 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14481
14589
  return (a, l) => {
14482
14590
  const u = L("q-date"), c = L("q-popup-proxy");
14483
14591
  return h(), v("div", null, [
14484
- t.label ? (h(), v("div", Qx, P(t.label), 1)) : $("", !0),
14485
- O("div", eb, [
14486
- C(x(Tc), { class: "w-5 text-blue-base" }),
14487
- O("div", tb, [
14592
+ t.label ? (h(), v("div", nb, P(t.label), 1)) : $("", !0),
14593
+ O("div", rb, [
14594
+ C(b(Tc), { class: "w-5 text-blue-base" }),
14595
+ O("div", ib, [
14488
14596
  s.value ? (h(), v(z, { key: 0 }, [
14489
14597
  Z(P(i.value), 1)
14490
14598
  ], 64)) : (h(), v(z, { key: 1 }, [
@@ -14507,10 +14615,10 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14507
14615
  ]);
14508
14616
  };
14509
14617
  }
14510
- }, nb = {
14618
+ }, sb = {
14511
14619
  key: 0,
14512
14620
  class: "font-bold text-xs mb-2"
14513
- }, rb = { class: "flex items-center cursor-pointer" }, ib = { class: "font-bold ml-3 hover:text-blue-base" }, Fd = {
14621
+ }, ob = { class: "flex items-center cursor-pointer" }, ab = { class: "font-bold ml-3 hover:text-blue-base" }, Od = {
14514
14622
  __name: "DateRangeField",
14515
14623
  props: {
14516
14624
  modelValue: {
@@ -14556,7 +14664,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14556
14664
  return (u, c) => {
14557
14665
  const d = L("q-date"), f = L("q-popup-proxy");
14558
14666
  return h(), v("div", null, [
14559
- t.label ? (h(), v("div", nb, P(t.label), 1)) : $("", !0),
14667
+ t.label ? (h(), v("div", sb, P(t.label), 1)) : $("", !0),
14560
14668
  t.inline ? (h(), E(d, {
14561
14669
  key: 1,
14562
14670
  modelValue: s.value,
@@ -14567,9 +14675,9 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14567
14675
  range: "",
14568
14676
  class: "reactive"
14569
14677
  }, null, 8, ["modelValue"])) : (h(), v(z, { key: 2 }, [
14570
- O("div", rb, [
14571
- C(x(Tc), { class: "w-5 text-blue-base" }),
14572
- O("div", ib, [
14678
+ O("div", ob, [
14679
+ C(b(Tc), { class: "w-5 text-blue-base" }),
14680
+ O("div", ab, [
14573
14681
  a.value ? (h(), v(z, { key: 0 }, [
14574
14682
  Z(P(i.value.from) + " - " + P(i.value.to), 1)
14575
14683
  ], 64)) : (h(), v(z, { key: 1 }, [
@@ -14594,68 +14702,10 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14594
14702
  ]);
14595
14703
  };
14596
14704
  }
14597
- }, XT = {
14598
- __name: "DateTimeField",
14599
- props: {
14600
- modelValue: {
14601
- type: String,
14602
- required: !0
14603
- },
14604
- color: {
14605
- type: String,
14606
- default: "blue-base"
14607
- }
14608
- },
14609
- emits: ["update:model-value"],
14610
- setup(t, { emit: e }) {
14611
- const n = e, r = t, i = U(!1), s = U(r.modelValue);
14612
- function o() {
14613
- n("update:model-value", s.value), i.value = !1;
14614
- }
14615
- return (a, l) => {
14616
- const u = L("q-popup-proxy"), c = L("q-icon"), d = L("q-input");
14617
- return h(), v("div", null, [
14618
- C(d, {
14619
- "model-value": x(gr)(t.modelValue),
14620
- color: t.color,
14621
- class: "bg-white rounded overflow-hidden px-2 w-48",
14622
- dense: "",
14623
- readonly: "",
14624
- onClick: l[3] || (l[3] = (f) => i.value = !0)
14625
- }, {
14626
- append: D(() => [
14627
- C(c, {
14628
- name: "event",
14629
- class: "cursor-pointer"
14630
- }, {
14631
- default: D(() => [
14632
- C(u, {
14633
- modelValue: i.value,
14634
- "onUpdate:modelValue": l[2] || (l[2] = (f) => i.value = f)
14635
- }, {
14636
- default: D(() => [
14637
- C(x(Od), {
14638
- modelValue: s.value,
14639
- "onUpdate:modelValue": l[0] || (l[0] = (f) => s.value = f),
14640
- onCancel: l[1] || (l[1] = (f) => i.value = !1),
14641
- onSave: o
14642
- }, null, 8, ["modelValue"])
14643
- ]),
14644
- _: 1
14645
- }, 8, ["modelValue"])
14646
- ]),
14647
- _: 1
14648
- })
14649
- ]),
14650
- _: 1
14651
- }, 8, ["model-value", "color"])
14652
- ]);
14653
- };
14654
- }
14655
- }, sb = { class: "flex items-center justify-center" }, ob = {
14705
+ }, lb = { class: "flex items-center justify-center" }, ub = {
14656
14706
  key: 0,
14657
14707
  class: "flex-grow"
14658
- }, Od = {
14708
+ }, Ad = {
14659
14709
  __name: "DateTimePicker",
14660
14710
  props: {
14661
14711
  modelValue: {
@@ -14698,8 +14748,8 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14698
14748
  color: t.color
14699
14749
  }, {
14700
14750
  default: D(() => [
14701
- O("div", sb, [
14702
- t.nullable ? (h(), v("div", ob, [
14751
+ O("div", lb, [
14752
+ t.nullable ? (h(), v("div", ub, [
14703
14753
  C(a, {
14704
14754
  label: "Clear",
14705
14755
  color: "blue-base",
@@ -14737,7 +14787,65 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14737
14787
  });
14738
14788
  };
14739
14789
  }
14740
- }, KT = {
14790
+ }, JT = {
14791
+ __name: "DateTimeField",
14792
+ props: {
14793
+ modelValue: {
14794
+ type: String,
14795
+ required: !0
14796
+ },
14797
+ color: {
14798
+ type: String,
14799
+ default: "blue-base"
14800
+ }
14801
+ },
14802
+ emits: ["update:model-value"],
14803
+ setup(t, { emit: e }) {
14804
+ const n = e, r = t, i = U(!1), s = U(r.modelValue);
14805
+ function o() {
14806
+ n("update:model-value", s.value), i.value = !1;
14807
+ }
14808
+ return (a, l) => {
14809
+ const u = L("q-popup-proxy"), c = L("q-icon"), d = L("q-input");
14810
+ return h(), v("div", null, [
14811
+ C(d, {
14812
+ "model-value": b(gr)(t.modelValue),
14813
+ color: t.color,
14814
+ class: "bg-white rounded overflow-hidden px-2 w-48",
14815
+ dense: "",
14816
+ readonly: "",
14817
+ onClick: l[3] || (l[3] = (f) => i.value = !0)
14818
+ }, {
14819
+ append: D(() => [
14820
+ C(c, {
14821
+ name: "event",
14822
+ class: "cursor-pointer"
14823
+ }, {
14824
+ default: D(() => [
14825
+ C(u, {
14826
+ modelValue: i.value,
14827
+ "onUpdate:modelValue": l[2] || (l[2] = (f) => i.value = f)
14828
+ }, {
14829
+ default: D(() => [
14830
+ C(b(Ad), {
14831
+ modelValue: s.value,
14832
+ "onUpdate:modelValue": l[0] || (l[0] = (f) => s.value = f),
14833
+ onCancel: l[1] || (l[1] = (f) => i.value = !1),
14834
+ onSave: o
14835
+ }, null, 8, ["modelValue"])
14836
+ ]),
14837
+ _: 1
14838
+ }, 8, ["modelValue"])
14839
+ ]),
14840
+ _: 1
14841
+ })
14842
+ ]),
14843
+ _: 1
14844
+ }, 8, ["model-value", "color"])
14845
+ ]);
14846
+ };
14847
+ }
14848
+ }, QT = {
14741
14849
  __name: "EditableDiv",
14742
14850
  props: {
14743
14851
  modelValue: {
@@ -14763,55 +14871,17 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14763
14871
  onInput: o
14764
14872
  }, P(i.value), 33));
14765
14873
  }
14766
- }, ab = {
14767
- key: 0,
14768
- class: "text-red-dark ml-1 text-xs bottom-1 relative"
14769
- }, Qn = {
14770
- __name: "FieldLabel",
14874
+ }, cb = ["accept", "capture"], ew = {
14875
+ __name: "FileUploadButton",
14771
14876
  props: {
14772
- field: {
14773
- type: Object,
14774
- default: null
14877
+ ...Co.props,
14878
+ text: {
14879
+ type: String,
14880
+ default: "Add File"
14775
14881
  },
14776
- label: {
14882
+ locationWaitMessage: {
14777
14883
  type: String,
14778
- default: null
14779
- },
14780
- showName: Boolean,
14781
- required: Boolean
14782
- },
14783
- setup(t) {
14784
- const e = t, n = R(() => {
14785
- var i;
14786
- return e.label || ((i = e.field) == null ? void 0 : i.label);
14787
- }), r = R(() => {
14788
- var i, s;
14789
- return ((i = e.field) == null ? void 0 : i.required_group) || (e.required || (s = e.field) != null && s.required ? "*" : "");
14790
- });
14791
- return (i, s) => (h(), v("span", null, [
14792
- B(i.$slots, "default", {}, () => {
14793
- var o;
14794
- return [
14795
- Z(P(n.value) + " ", 1),
14796
- t.showName ? (h(), v(z, { key: 0 }, [
14797
- Z("(" + P((o = t.field) == null ? void 0 : o.name) + ")", 1)
14798
- ], 64)) : $("", !0)
14799
- ];
14800
- }),
14801
- r.value ? (h(), v("span", ab, P(r.value), 1)) : $("", !0)
14802
- ]));
14803
- }
14804
- }, lb = ["accept", "capture"], JT = {
14805
- __name: "FileUploadButton",
14806
- props: {
14807
- ...Co.props,
14808
- text: {
14809
- type: String,
14810
- default: "Add File"
14811
- },
14812
- locationWaitMessage: {
14813
- type: String,
14814
- default: "Waiting for location..."
14884
+ default: "Waiting for location..."
14815
14885
  },
14816
14886
  geolocation: Boolean
14817
14887
  },
@@ -14838,12 +14908,12 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14838
14908
  });
14839
14909
  i.geolocation && await u.resolveLocation(i.locationWaitMessage), u.upload();
14840
14910
  }
14841
- return (l, u) => (h(), E(x(Co), dn(l.$props, {
14911
+ return (l, u) => (h(), E(b(Co), dn(l.$props, {
14842
14912
  onClick: u[0] || (u[0] = (c) => l.$refs.fileUpload.click())
14843
14913
  }), {
14844
14914
  default: D(() => [
14845
14915
  B(l.$slots, "default", {}, () => [
14846
- C(x(a_), { class: "w-5 mr-2" }),
14916
+ C(b(a_), { class: "w-5 mr-2" }),
14847
14917
  Z(" " + P(t.text), 1)
14848
14918
  ]),
14849
14919
  O("input", {
@@ -14856,12 +14926,12 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14856
14926
  class: "hidden",
14857
14927
  multiple: "",
14858
14928
  onChange: a
14859
- }, null, 40, lb)
14929
+ }, null, 40, cb)
14860
14930
  ]),
14861
14931
  _: 3
14862
14932
  }, 16));
14863
14933
  }
14864
- }, ub = { class: "inline-block" }, cb = { class: "cursor-pointer py-2 hover:bg-blue-light flex items-center justify-end" }, QT = {
14934
+ }, db = { class: "inline-block" }, fb = { class: "cursor-pointer py-2 hover:bg-blue-light flex items-center justify-end" }, tw = {
14865
14935
  __name: "InlineDateTimeField",
14866
14936
  props: {
14867
14937
  modelValue: {
@@ -14878,10 +14948,10 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14878
14948
  }
14879
14949
  return (i, s) => {
14880
14950
  const o = L("q-popup-edit");
14881
- return h(), v("div", ub, [
14882
- O("div", cb, [
14883
- Z(P(x(gr)(t.modelValue, { empty: "Never" })) + " ", 1),
14884
- C(x(d_), { class: "w-4 font-bold ml-2 text-gray-base" }),
14951
+ return h(), v("div", db, [
14952
+ O("div", fb, [
14953
+ Z(P(b(gr)(t.modelValue, { empty: "Never" })) + " ", 1),
14954
+ C(b(d_), { class: "w-4 font-bold ml-2 text-gray-base" }),
14885
14955
  C(o, {
14886
14956
  "model-value": t.modelValue,
14887
14957
  "touch-position": "",
@@ -14889,7 +14959,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14889
14959
  class: "bg-blue-base text-white !min-w-0"
14890
14960
  }, {
14891
14961
  default: D((a) => [
14892
- C(x(Od), {
14962
+ C(b(Ad), {
14893
14963
  modelValue: a.value,
14894
14964
  "onUpdate:modelValue": (l) => a.value = l,
14895
14965
  nullable: t.nullable,
@@ -14903,7 +14973,89 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14903
14973
  ]);
14904
14974
  };
14905
14975
  }
14906
- }, db = {
14976
+ }, hi = {
14977
+ __name: "NumberField",
14978
+ props: {
14979
+ modelValue: {
14980
+ type: [String, Number],
14981
+ default: ""
14982
+ },
14983
+ precision: {
14984
+ type: Number,
14985
+ default: 2
14986
+ },
14987
+ label: {
14988
+ type: String,
14989
+ default: void 0
14990
+ },
14991
+ field: {
14992
+ type: Object,
14993
+ default: null
14994
+ },
14995
+ inputClass: {
14996
+ type: String,
14997
+ default: ""
14998
+ },
14999
+ delay: {
15000
+ type: Number,
15001
+ default: 1e3
15002
+ },
15003
+ hidePrependLabel: Boolean,
15004
+ currency: Boolean,
15005
+ showName: Boolean
15006
+ },
15007
+ emits: ["update:model-value", "update"],
15008
+ setup(t, { emit: e }) {
15009
+ const n = e, r = t, i = U(o(r.modelValue));
15010
+ ce(() => r.modelValue, () => i.value = o(r.modelValue));
15011
+ const s = R(() => r.field || { label: r.label || "", placeholder: "", id: "" });
15012
+ function o(u) {
15013
+ var f;
15014
+ if (!u && u !== 0 && u !== "0")
15015
+ return u;
15016
+ const c = Math.min(r.precision, ((f = ("" + u).split(".")[1]) == null ? void 0 : f.length) || 0);
15017
+ let d = {
15018
+ minimumFractionDigits: c
15019
+ };
15020
+ return r.currency && (d = {
15021
+ style: "currency",
15022
+ currency: "USD",
15023
+ minimumFractionDigits: c
15024
+ }), zn(u, d);
15025
+ }
15026
+ const a = gi((u) => n("update", u), r.delay);
15027
+ function l(u) {
15028
+ let c = "";
15029
+ if (u.match(/[^\d.,$]/)) {
15030
+ const d = i.value;
15031
+ return i.value += " ", hr(() => i.value = d);
15032
+ }
15033
+ u !== "" && (u = u.replace(/[^\d.]/g, ""), c = Number(u), i.value = o(c)), c = c === "" ? void 0 : c, n("update:model-value", c), a(c);
15034
+ }
15035
+ return (u, c) => {
15036
+ const d = L("q-input");
15037
+ return h(), E(d, {
15038
+ "model-value": i.value,
15039
+ "data-testid": "number-field-" + s.value.id,
15040
+ placeholder: s.value.placeholder,
15041
+ outlined: "",
15042
+ dense: "",
15043
+ inputmode: "numeric",
15044
+ "input-class": { [t.inputClass]: !0, "text-right bg-white": !t.hidePrependLabel, "text-right !text-xs text-black font-normal": t.hidePrependLabel },
15045
+ class: q({ "no-prepend-icon w-32": t.hidePrependLabel, "prepend-label": !t.hidePrependLabel }),
15046
+ "onUpdate:modelValue": l
15047
+ }, {
15048
+ prepend: D(() => [
15049
+ C(b(Qn), {
15050
+ field: s.value,
15051
+ "show-name": t.showName
15052
+ }, null, 8, ["field", "show-name"])
15053
+ ]),
15054
+ _: 1
15055
+ }, 8, ["model-value", "data-testid", "placeholder", "input-class", "class"]);
15056
+ };
15057
+ }
15058
+ }, mb = {
14907
15059
  __name: "IntegerField",
14908
15060
  props: {
14909
15061
  modelValue: {
@@ -14918,7 +15070,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14918
15070
  },
14919
15071
  emits: ["update:model-value"],
14920
15072
  setup(t) {
14921
- return (e, n) => (h(), E(x(hi), {
15073
+ return (e, n) => (h(), E(b(hi), {
14922
15074
  field: t.field,
14923
15075
  precision: 0,
14924
15076
  "model-value": t.modelValue,
@@ -14926,76 +15078,6 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
14926
15078
  "onUpdate:modelValue": n[0] || (n[0] = (r) => e.$emit("update:model-value", r))
14927
15079
  }, null, 8, ["field", "model-value", "show-name"]));
14928
15080
  }
14929
- }, fb = {
14930
- for: "first_name",
14931
- class: "form-label"
14932
- }, mb = { class: "mt-1" }, Ad = {
14933
- __name: "LabeledInput",
14934
- props: {
14935
- type: {
14936
- type: String,
14937
- default: "text"
14938
- },
14939
- name: {
14940
- type: String,
14941
- required: !0
14942
- },
14943
- label: {
14944
- type: String,
14945
- default: null
14946
- },
14947
- placeholder: {
14948
- type: String,
14949
- default: null
14950
- },
14951
- modelValue: {
14952
- type: [String, Number],
14953
- required: !0
14954
- },
14955
- error: {
14956
- type: String,
14957
- default: null
14958
- },
14959
- required: Boolean,
14960
- disabled: Boolean,
14961
- rules: {
14962
- type: Array,
14963
- default: null
14964
- }
14965
- },
14966
- emits: ["update:model-value"],
14967
- setup(t) {
14968
- return (e, n) => {
14969
- const r = L("q-input");
14970
- return h(), v("div", null, [
14971
- O("label", fb, [
14972
- B(e.$slots, "label", {}, () => [
14973
- Z(P(t.label), 1)
14974
- ])
14975
- ]),
14976
- O("div", mb, [
14977
- C(r, {
14978
- "model-value": t.modelValue,
14979
- "error-message": t.error,
14980
- error: !!t.error,
14981
- "no-error-icon": "",
14982
- outlined: "",
14983
- dense: "",
14984
- disable: t.disabled,
14985
- readonly: t.disabled,
14986
- type: t.type,
14987
- name: t.name,
14988
- placeholder: t.placeholder || t.label,
14989
- required: t.required,
14990
- rules: t.rules,
14991
- "lazy-rules": !!t.rules,
14992
- class: "w-full",
14993
- "onUpdate:modelValue": n[0] || (n[0] = (i) => e.$emit("update:model-value", i))
14994
- }, null, 8, ["model-value", "error-message", "error", "disable", "readonly", "type", "name", "placeholder", "required", "rules", "lazy-rules"])
14995
- ])
14996
- ]);
14997
- };
14998
- }
14999
15081
  }, hb = { class: "text-xs font-bold" }, pb = {
15000
15082
  __name: "LabelValueBlock",
15001
15083
  props: {
@@ -15052,9 +15134,9 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15052
15134
  class: q(["max-w-full relative overflow-auto", { "p-4 border rounded border-gray-medium": !t.readonly }]),
15053
15135
  onDragover: d[4] || (d[4] = mn(() => {
15054
15136
  }, ["prevent"])),
15055
- onDrop: d[5] || (d[5] = mn((...f) => x(s) && x(s)(...f), ["prevent"]))
15137
+ onDrop: d[5] || (d[5] = mn((...f) => b(s) && b(s)(...f), ["prevent"]))
15056
15138
  }, [
15057
- C(x(Qn), {
15139
+ C(b(Qn), {
15058
15140
  field: t.field,
15059
15141
  "show-name": t.showName,
15060
15142
  class: "text-sm font-semibold"
@@ -15064,211 +15146,374 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15064
15146
  class: "text-blue-base",
15065
15147
  onClick: d[0] || (d[0] = (f) => c.$refs.file.click())
15066
15148
  }, "Upload"),
15067
- x(a).length > 0 ? (h(), v("a", {
15149
+ b(a).length > 0 ? (h(), v("a", {
15068
15150
  key: 0,
15069
15151
  class: "ml-3 text-red-dark",
15070
- onClick: d[1] || (d[1] = (...f) => x(l) && x(l)(...f))
15152
+ onClick: d[1] || (d[1] = (...f) => b(l) && b(l)(...f))
15071
15153
  }, "Clear")) : $("", !0),
15072
15154
  O("input", {
15073
15155
  ref: "file",
15074
15156
  class: "hidden",
15075
15157
  type: "file",
15076
15158
  multiple: "",
15077
- onChange: d[2] || (d[2] = (...f) => x(o) && x(o)(...f))
15159
+ onChange: d[2] || (d[2] = (...f) => b(o) && b(o)(...f))
15078
15160
  }, null, 544)
15079
15161
  ])) : $("", !0),
15080
15162
  O("div", yb, [
15081
- (h(!0), v(z, null, Se(x(a), (f) => (h(), E(x(_r), {
15163
+ (h(!0), v(z, null, Se(b(a), (f) => (h(), E(b(_r), {
15082
15164
  key: "file-upload-" + f.id,
15083
- class: q(["w-32 m-2 cursor-pointer bg-neutral-plus-5", { "border border-dashed border-blue-base": !x(a).length }]),
15165
+ class: q(["w-32 m-2 cursor-pointer bg-neutral-plus-5", { "border border-dashed border-blue-base": !b(a).length }]),
15084
15166
  image: f,
15085
- "related-files": x(a),
15167
+ "related-files": b(a),
15086
15168
  downloadable: "",
15087
15169
  removable: !t.readonly && !t.disable,
15088
- onRemove: (m) => x(u)(f)
15170
+ onRemove: (m) => b(u)(f)
15089
15171
  }, null, 8, ["class", "image", "related-files", "removable", "onRemove"]))), 128)),
15090
- !t.disable && !t.readonly ? (h(), E(x(_r), {
15172
+ !t.disable && !t.readonly ? (h(), E(b(_r), {
15091
15173
  key: 0,
15092
15174
  class: "w-32 m-2 cursor-pointer border border-dashed border-blue-base",
15093
15175
  disabled: "",
15094
15176
  onClick: d[3] || (d[3] = (f) => c.$refs.file.click())
15095
15177
  })) : $("", !0),
15096
- t.readonly && x(a).length === 0 ? (h(), v("div", _b, " -- ")) : $("", !0)
15178
+ t.readonly && b(a).length === 0 ? (h(), v("div", _b, " -- ")) : $("", !0)
15097
15179
  ])
15098
15180
  ], 34));
15099
15181
  }
15100
- }, xb = {
15101
- __name: "MultiKeywordField",
15182
+ }, pi = {
15183
+ __name: "SelectField",
15102
15184
  props: {
15185
+ ...Io.props,
15103
15186
  modelValue: {
15104
- type: [String, Number, Object],
15187
+ type: [Array, String, Number, Object],
15188
+ default: void 0
15189
+ },
15190
+ placeholder: {
15191
+ type: String,
15105
15192
  default: ""
15106
15193
  },
15107
- field: {
15108
- type: Object,
15109
- default: null
15110
- }
15111
- },
15112
- emits: ["update:model-value"],
15113
- setup(t, { emit: e }) {
15114
- const n = e, r = t, i = U(r.field.defaultOption), s = R(() => r.modelValue && r.modelValue[i.value]), o = U(l());
15115
- function a() {
15116
- var u;
15117
- o.value = ((u = o.value) == null ? void 0 : u.replace(/\n/g, ",").replace(/,{2,}/g, ",")) || "", n("update:model-value", o.value ? { [i.value]: o.value.split(",") } : void 0);
15118
- }
15119
- function l() {
15120
- var u;
15121
- return Array.isArray(s.value) ? (u = s.value) == null ? void 0 : u.join(",") : "";
15122
- }
15123
- return ce(() => r.modelValue, () => {
15124
- o.value = l();
15125
- }), (u, c) => (h(), v("div", null, [
15126
- C(x(pi), {
15127
- modelValue: i.value,
15128
- "onUpdate:modelValue": [
15129
- c[0] || (c[0] = (d) => i.value = d),
15130
- a
15131
- ],
15132
- label: void 0,
15133
- options: t.field.options,
15134
- class: "mb-2"
15135
- }, null, 8, ["modelValue", "options"]),
15136
- C(x(Dd), {
15137
- modelValue: o.value,
15138
- "onUpdate:modelValue": [
15139
- c[1] || (c[1] = (d) => o.value = d),
15140
- a
15141
- ],
15142
- field: t.field,
15143
- "no-label": !t.field.label,
15144
- "label-class": "text-xs font-bold text-gray-dark",
15145
- "parent-class": "tight-label",
15146
- "input-class": "!py-0",
15147
- dense: "",
15148
- type: "textarea",
15149
- debounce: 500
15150
- }, null, 8, ["modelValue", "field", "no-label"])
15151
- ]));
15152
- }
15153
- }, ew = {
15154
- __name: "NewPasswordField",
15155
- props: {
15156
- name: {
15194
+ selectionLabel: {
15157
15195
  type: String,
15158
- default: "password"
15196
+ default: null
15159
15197
  },
15160
- label: {
15198
+ chipLimit: {
15199
+ type: Number,
15200
+ default: 3
15201
+ },
15202
+ inputClass: {
15161
15203
  type: String,
15162
- default: "Password"
15204
+ default: ""
15163
15205
  },
15164
- placeholder: {
15206
+ selectionClass: {
15165
15207
  type: String,
15166
- default: "Enter Password"
15208
+ default: ""
15167
15209
  },
15168
- modelValue: {
15169
- type: [String, Number],
15170
- required: !0
15210
+ options: {
15211
+ type: Array,
15212
+ default: () => []
15171
15213
  },
15172
- error: {
15173
- type: String,
15214
+ filterable: Boolean,
15215
+ filterFn: {
15216
+ type: Function,
15174
15217
  default: null
15175
- },
15176
- disabled: Boolean
15218
+ }
15177
15219
  },
15178
- emits: ["update:model-value"],
15179
- setup(t) {
15180
- const e = t, n = [(r) => r.length >= 8 || "Please use at least 8 characters"];
15181
- return (r, i) => (h(), E(x(Ad), dn({ type: "password" }, e, {
15182
- rules: n,
15183
- "onUpdate:modelValue": i[0] || (i[0] = (s) => r.$emit("update:model-value", s))
15184
- }), null, 16));
15220
+ emits: ["update:model-value", "search", "update"],
15221
+ setup(t, { emit: e }) {
15222
+ const n = e, r = t, i = U(null), s = U(null), o = U(!1), a = R(() => {
15223
+ let S = r.options;
15224
+ return r.placeholder && !r.multiple && !r.filterable && (S = [{ label: r.placeholder, value: null }, ...r.options]), S = S.map((_) => {
15225
+ let k = qd(_) ? _.value : _;
15226
+ return {
15227
+ label: m(k),
15228
+ value: p(k),
15229
+ selectionLabel: g(k)
15230
+ };
15231
+ }), S;
15232
+ }), l = R(() => s.value && !r.filterFn ? a.value.filter((S) => S.label.toLocaleLowerCase().indexOf(s.value.toLowerCase()) > -1) : a.value), u = R(() => r.multiple ? (Array.isArray(r.modelValue) ? r.modelValue : []).map((_) => _ === null ? "__null__" : _) || [] : r.modelValue === null ? "__null__" : r.modelValue), c = R(() => {
15233
+ let S = u.value;
15234
+ return r.multiple || (S = S || S === 0 ? [S] : []), a.value.filter((_) => {
15235
+ var k;
15236
+ return S.includes(_.value) || S.map((A) => typeof A == "object" && A.id).includes((k = _.value) == null ? void 0 : k.id);
15237
+ });
15238
+ }), d = R(() => r.filterable && o.value ? "" : !c.value || c.value.length === 0 ? r.placeholder || "(Select Option)" : c.value[0].selectionLabel), f = R(() => c.value.slice(0, r.chipLimit));
15239
+ function m(S) {
15240
+ return typeof S == "string" ? S : typeof r.optionLabel == "string" ? S[r.optionLabel] : typeof r.optionLabel == "function" ? r.optionLabel(S) : S == null ? void 0 : S.label;
15241
+ }
15242
+ function g(S) {
15243
+ return typeof S == "string" ? S : typeof r.selectionLabel == "string" ? S[r.selectionLabel] : typeof r.selectionLabel == "function" ? r.selectionLabel(S) : (S == null ? void 0 : S.selectionLabel) || (S == null ? void 0 : S.label);
15244
+ }
15245
+ function p(S) {
15246
+ if (typeof S == "string")
15247
+ return S;
15248
+ let _ = S.value;
15249
+ return typeof r.optionValue == "string" ? _ = S[r.optionValue] : typeof r.optionValue == "function" && (_ = r.optionValue(S)), _ === null ? "__null__" : _;
15250
+ }
15251
+ function y(S) {
15252
+ Array.isArray(S) && (S = S.map((_) => _ === "__null__" ? null : _)), S = S === "__null__" ? null : S, n("update", S), n("update:model-value", S);
15253
+ }
15254
+ const x = U(!1);
15255
+ async function T(S, _) {
15256
+ if (!r.filterFn)
15257
+ s.value = S, await hr(_);
15258
+ else {
15259
+ if (_(), x.value === !1)
15260
+ return;
15261
+ S !== null && S !== s.value && (s.value = S, r.filterFn && await r.filterFn(S));
15262
+ }
15263
+ }
15264
+ function I() {
15265
+ n("update:model-value", void 0), n("update", void 0);
15266
+ }
15267
+ function F() {
15268
+ o.value = !0, x.value = !1, hr(() => {
15269
+ x.value = !0, i.value.focus();
15270
+ });
15271
+ }
15272
+ function w() {
15273
+ o.value = !1, x.value = !1;
15274
+ }
15275
+ return (S, _) => {
15276
+ const k = L("q-chip");
15277
+ return h(), v("div", null, [
15278
+ C(b(Io), dn({
15279
+ ref_key: "selectField",
15280
+ ref: i
15281
+ }, S.$props, {
15282
+ "model-value": u.value,
15283
+ outlined: "",
15284
+ "hide-dropdown-icon": "",
15285
+ dense: "",
15286
+ "emit-value": "",
15287
+ "use-input": t.filterable,
15288
+ "hide-selected": t.filterable && o.value && !S.$props.multiple,
15289
+ "input-debounce": 100,
15290
+ options: l.value,
15291
+ "option-label": "label",
15292
+ "option-value": "value",
15293
+ placeholder: "",
15294
+ "input-class": { "is-hidden": !o.value, [t.inputClass]: !0 },
15295
+ class: "max-w-full",
15296
+ onFilter: T,
15297
+ onClear: I,
15298
+ onPopupShow: F,
15299
+ onPopupHide: w,
15300
+ "onUpdate:modelValue": y
15301
+ }), {
15302
+ append: D(() => [
15303
+ C(b(Ky), {
15304
+ class: q(["w-4 transition", o.value ? "rotate-180" : ""])
15305
+ }, null, 8, ["class"])
15306
+ ]),
15307
+ selected: D(() => [
15308
+ S.$props.multiple ? (h(), v("div", {
15309
+ key: 0,
15310
+ class: q(["flex gap-y-1 overflow-hidden", { "flex-nowrap gap-y-0": t.chipLimit === 1, [t.selectionClass]: !0 }])
15311
+ }, [
15312
+ f.value.length > 0 ? (h(), v(z, { key: 0 }, [
15313
+ (h(!0), v(z, null, Se(f.value, (A) => (h(), E(k, {
15314
+ key: "selected-" + A.label,
15315
+ class: "!mr-1"
15316
+ }, {
15317
+ default: D(() => [
15318
+ Z(P(A.label), 1)
15319
+ ]),
15320
+ _: 2
15321
+ }, 1024))), 128)),
15322
+ c.value.length > f.value.length ? (h(), E(k, {
15323
+ key: 0,
15324
+ class: "!mr-1"
15325
+ }, {
15326
+ default: D(() => [
15327
+ Z(" +" + P(c.value.length - f.value.length), 1)
15328
+ ]),
15329
+ _: 1
15330
+ })) : $("", !0)
15331
+ ], 64)) : (h(), v(z, { key: 1 }, [
15332
+ Z(P(t.placeholder), 1)
15333
+ ], 64))
15334
+ ], 2)) : (h(), v("div", {
15335
+ key: 1,
15336
+ class: q(t.selectionClass)
15337
+ }, P(d.value), 3))
15338
+ ]),
15339
+ _: 1
15340
+ }, 16, ["model-value", "use-input", "hide-selected", "options", "input-class"])
15341
+ ]);
15342
+ };
15185
15343
  }
15186
- }, hi = {
15187
- __name: "NumberField",
15344
+ }, xb = { key: 1 }, Dd = {
15345
+ __name: "TextField",
15188
15346
  props: {
15189
15347
  modelValue: {
15190
15348
  type: [String, Number],
15191
15349
  default: ""
15192
15350
  },
15193
- precision: {
15194
- type: Number,
15195
- default: 2
15351
+ field: {
15352
+ type: Object,
15353
+ default: null
15196
15354
  },
15197
- label: {
15355
+ type: {
15198
15356
  type: String,
15199
- default: void 0
15357
+ default: "text"
15200
15358
  },
15201
- field: {
15202
- type: Object,
15359
+ label: {
15360
+ type: String,
15203
15361
  default: null
15204
15362
  },
15363
+ labelClass: {
15364
+ type: String,
15365
+ default: "text-sm text-gray-shadow"
15366
+ },
15367
+ parentClass: {
15368
+ type: String,
15369
+ default: ""
15370
+ },
15205
15371
  inputClass: {
15206
15372
  type: String,
15207
15373
  default: ""
15208
15374
  },
15209
- delay: {
15210
- type: Number,
15211
- default: 1e3
15375
+ noLabel: Boolean,
15376
+ showName: Boolean,
15377
+ disabled: Boolean,
15378
+ readonly: Boolean,
15379
+ debounce: {
15380
+ type: [String, Number],
15381
+ default: 0
15382
+ }
15383
+ },
15384
+ emits: ["update:model-value", "submit"],
15385
+ setup(t) {
15386
+ return (e, n) => {
15387
+ var i, s, o;
15388
+ const r = L("q-input");
15389
+ return h(), v("div", null, [
15390
+ t.readonly ? $("", !0) : (h(), E(r, {
15391
+ key: 0,
15392
+ "data-dusk": "text-field-" + ((i = t.field) == null ? void 0 : i.id),
15393
+ "data-testid": "text-field-" + ((s = t.field) == null ? void 0 : s.id),
15394
+ placeholder: (o = t.field) == null ? void 0 : o.placeholder,
15395
+ outlined: "",
15396
+ dense: "",
15397
+ disable: t.disabled,
15398
+ "label-slot": !t.noLabel,
15399
+ "input-class": t.inputClass,
15400
+ class: q(t.parentClass),
15401
+ "stack-label": "",
15402
+ type: t.type,
15403
+ "model-value": t.modelValue,
15404
+ debounce: t.debounce,
15405
+ onKeydown: n[0] || (n[0] = rs((a) => e.$emit("submit"), ["enter"])),
15406
+ "onUpdate:modelValue": n[1] || (n[1] = (a) => e.$emit("update:model-value", a))
15407
+ }, {
15408
+ label: D(() => [
15409
+ C(b(Qn), {
15410
+ field: t.field,
15411
+ label: t.label,
15412
+ "show-name": t.showName,
15413
+ class: q(t.labelClass)
15414
+ }, null, 8, ["field", "label", "show-name", "class"])
15415
+ ]),
15416
+ _: 1
15417
+ }, 8, ["data-dusk", "data-testid", "placeholder", "disable", "label-slot", "input-class", "class", "type", "model-value", "debounce"])),
15418
+ t.readonly ? (h(), v("div", xb, [
15419
+ C(b(pb), {
15420
+ label: t.label || t.field.label,
15421
+ value: t.modelValue
15422
+ }, null, 8, ["label", "value"])
15423
+ ])) : $("", !0)
15424
+ ]);
15425
+ };
15426
+ }
15427
+ }, bb = {
15428
+ __name: "MultiKeywordField",
15429
+ props: {
15430
+ modelValue: {
15431
+ type: [String, Number, Object],
15432
+ default: ""
15212
15433
  },
15213
- hidePrependLabel: Boolean,
15214
- currency: Boolean,
15215
- showName: Boolean
15434
+ field: {
15435
+ type: Object,
15436
+ default: null
15437
+ }
15216
15438
  },
15217
- emits: ["update:model-value", "update"],
15439
+ emits: ["update:model-value"],
15218
15440
  setup(t, { emit: e }) {
15219
- const n = e, r = t, i = U(o(r.modelValue));
15220
- ce(() => r.modelValue, () => i.value = o(r.modelValue));
15221
- const s = R(() => r.field || { label: r.label || "", placeholder: "", id: "" });
15222
- function o(u) {
15223
- var f;
15224
- if (!u && u !== 0 && u !== "0")
15225
- return u;
15226
- const c = Math.min(r.precision, ((f = ("" + u).split(".")[1]) == null ? void 0 : f.length) || 0);
15227
- let d = {
15228
- minimumFractionDigits: c
15229
- };
15230
- return r.currency && (d = {
15231
- style: "currency",
15232
- currency: "USD",
15233
- minimumFractionDigits: c
15234
- }), zn(u, d);
15441
+ const n = e, r = t, i = U(r.field.defaultOption), s = R(() => r.modelValue && r.modelValue[i.value]), o = U(l());
15442
+ function a() {
15443
+ var u;
15444
+ o.value = ((u = o.value) == null ? void 0 : u.replace(/\n/g, ",").replace(/,{2,}/g, ",")) || "", n("update:model-value", o.value ? { [i.value]: o.value.split(",") } : void 0);
15235
15445
  }
15236
- const a = gi((u) => n("update", u), r.delay);
15237
- function l(u) {
15238
- let c = "";
15239
- if (u.match(/[^\d.,$]/)) {
15240
- const d = i.value;
15241
- return i.value += " ", hr(() => i.value = d);
15242
- }
15243
- u !== "" && (u = u.replace(/[^\d.]/g, ""), c = Number(u), i.value = o(c)), c = c === "" ? void 0 : c, n("update:model-value", c), a(c);
15446
+ function l() {
15447
+ var u;
15448
+ return Array.isArray(s.value) ? (u = s.value) == null ? void 0 : u.join(",") : "";
15244
15449
  }
15245
- return (u, c) => {
15246
- const d = L("q-input");
15247
- return h(), E(d, {
15248
- "model-value": i.value,
15249
- "data-testid": "number-field-" + s.value.id,
15250
- placeholder: s.value.placeholder,
15251
- outlined: "",
15450
+ return ce(() => r.modelValue, () => {
15451
+ o.value = l();
15452
+ }), (u, c) => (h(), v("div", null, [
15453
+ C(b(pi), {
15454
+ modelValue: i.value,
15455
+ "onUpdate:modelValue": [
15456
+ c[0] || (c[0] = (d) => i.value = d),
15457
+ a
15458
+ ],
15459
+ label: void 0,
15460
+ options: t.field.options,
15461
+ class: "mb-2"
15462
+ }, null, 8, ["modelValue", "options"]),
15463
+ C(b(Dd), {
15464
+ modelValue: o.value,
15465
+ "onUpdate:modelValue": [
15466
+ c[1] || (c[1] = (d) => o.value = d),
15467
+ a
15468
+ ],
15469
+ field: t.field,
15470
+ "no-label": !t.field.label,
15471
+ "label-class": "text-xs font-bold text-gray-dark",
15472
+ "parent-class": "tight-label",
15473
+ "input-class": "!py-0",
15252
15474
  dense: "",
15253
- inputmode: "numeric",
15254
- "input-class": { [t.inputClass]: !0, "text-right bg-white": !t.hidePrependLabel, "text-right !text-xs text-black font-normal": t.hidePrependLabel },
15255
- class: q({ "no-prepend-icon w-32": t.hidePrependLabel, "prepend-label": !t.hidePrependLabel }),
15256
- "onUpdate:modelValue": l
15257
- }, {
15258
- prepend: D(() => [
15259
- C(x(Qn), {
15260
- field: s.value,
15261
- "show-name": t.showName
15262
- }, null, 8, ["field", "show-name"])
15263
- ]),
15264
- _: 1
15265
- }, 8, ["model-value", "data-testid", "placeholder", "input-class", "class"]);
15266
- };
15475
+ type: "textarea",
15476
+ debounce: 500
15477
+ }, null, 8, ["modelValue", "field", "no-label"])
15478
+ ]));
15267
15479
  }
15268
- }, bb = {
15480
+ }, nw = {
15481
+ __name: "NewPasswordField",
15482
+ props: {
15483
+ name: {
15484
+ type: String,
15485
+ default: "password"
15486
+ },
15487
+ label: {
15488
+ type: String,
15489
+ default: "Password"
15490
+ },
15491
+ placeholder: {
15492
+ type: String,
15493
+ default: "Enter Password"
15494
+ },
15495
+ modelValue: {
15496
+ type: [String, Number],
15497
+ required: !0
15498
+ },
15499
+ error: {
15500
+ type: String,
15501
+ default: null
15502
+ },
15503
+ disabled: Boolean
15504
+ },
15505
+ emits: ["update:model-value"],
15506
+ setup(t) {
15507
+ const e = t, n = [(r) => r.length >= 8 || "Please use at least 8 characters"];
15508
+ return (r, i) => (h(), E(b(kd), dn({ type: "password" }, e, {
15509
+ rules: n,
15510
+ "onUpdate:modelValue": i[0] || (i[0] = (s) => r.$emit("update:model-value", s))
15511
+ }), null, 16));
15512
+ }
15513
+ }, Sb = {
15269
15514
  key: 0,
15270
15515
  class: "font-bold text-xs mb-2"
15271
- }, Sb = { class: "flex items-center flex-nowrap cursor-pointer" }, Tb = { class: "text-sm ml-3 hover:text-blue-base whitespace-nowrap" }, ts = {
15516
+ }, Tb = { class: "flex items-center flex-nowrap cursor-pointer" }, wb = { class: "text-sm ml-3 hover:text-blue-base whitespace-nowrap" }, ts = {
15272
15517
  __name: "NumberRangeField",
15273
15518
  props: {
15274
15519
  modelValue: {
@@ -15328,10 +15573,10 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15328
15573
  return (f, m) => {
15329
15574
  const g = L("q-popup-proxy");
15330
15575
  return h(), v("div", null, [
15331
- t.label ? (h(), v("div", bb, P(t.label), 1)) : $("", !0),
15332
- O("div", Sb, [
15576
+ t.label ? (h(), v("div", Sb, P(t.label), 1)) : $("", !0),
15577
+ O("div", Tb, [
15333
15578
  (h(), E(fn(a.value), { class: "w-5 text-blue-base" })),
15334
- O("div", Tb, [
15579
+ O("div", wb, [
15335
15580
  l.value ? (h(), v(z, { key: 0 }, [
15336
15581
  Z(P(c(l.value.from || 0)) + " - " + P(c(l.value.to)), 1)
15337
15582
  ], 64)) : (h(), v(z, { key: 1 }, [
@@ -15341,19 +15586,19 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15341
15586
  ]),
15342
15587
  C(g, null, {
15343
15588
  default: D(() => [
15344
- C(x(hi), {
15589
+ C(b(hi), {
15345
15590
  modelValue: l.value.from,
15346
15591
  "onUpdate:modelValue": [
15347
15592
  m[0] || (m[0] = (p) => l.value.from = p),
15348
- x(d)
15593
+ b(d)
15349
15594
  ],
15350
15595
  field: s.value
15351
15596
  }, null, 8, ["modelValue", "field", "onUpdate:modelValue"]),
15352
- C(x(hi), {
15597
+ C(b(hi), {
15353
15598
  modelValue: l.value.to,
15354
15599
  "onUpdate:modelValue": [
15355
15600
  m[1] || (m[1] = (p) => l.value.to = p),
15356
- x(d)
15601
+ b(d)
15357
15602
  ],
15358
15603
  class: "mt-2",
15359
15604
  field: o.value
@@ -15364,7 +15609,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15364
15609
  ]);
15365
15610
  };
15366
15611
  }
15367
- }, wb = ["data-dusk", "onClick"], tw = {
15612
+ }, Eb = ["data-dusk", "onClick"], rw = {
15368
15613
  __name: "SelectDrawer",
15369
15614
  props: {
15370
15615
  modelValue: {
@@ -15412,7 +15657,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15412
15657
  return (c, d) => {
15413
15658
  const f = L("q-checkbox"), m = L("q-chip");
15414
15659
  return h(), v("div", null, [
15415
- C(x(Cc), {
15660
+ C(b(Cc), {
15416
15661
  show: i.value,
15417
15662
  "onUpdate:show": d[0] || (d[0] = (g) => i.value = g),
15418
15663
  "content-class": "",
@@ -15433,7 +15678,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15433
15678
  B(c.$slots, "option", { opt: g }, () => [
15434
15679
  Z(P(g.label), 1)
15435
15680
  ])
15436
- ], 8, wb))), 128))
15681
+ ], 8, Eb))), 128))
15437
15682
  ]),
15438
15683
  _: 3
15439
15684
  }, 8, ["show", "title"]),
@@ -15468,172 +15713,10 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15468
15713
  ]);
15469
15714
  };
15470
15715
  }
15471
- }, pi = {
15472
- __name: "SelectField",
15473
- props: {
15474
- ...Io.props,
15475
- modelValue: {
15476
- type: [Array, String, Number, Object],
15477
- default: void 0
15478
- },
15479
- placeholder: {
15480
- type: String,
15481
- default: ""
15482
- },
15483
- selectionLabel: {
15484
- type: String,
15485
- default: null
15486
- },
15487
- chipLimit: {
15488
- type: Number,
15489
- default: 3
15490
- },
15491
- inputClass: {
15492
- type: String,
15493
- default: ""
15494
- },
15495
- selectionClass: {
15496
- type: String,
15497
- default: ""
15498
- },
15499
- options: {
15500
- type: Array,
15501
- default: () => []
15502
- },
15503
- filterable: Boolean,
15504
- filterFn: {
15505
- type: Function,
15506
- default: null
15507
- }
15508
- },
15509
- emits: ["update:model-value", "search", "update"],
15510
- setup(t, { emit: e }) {
15511
- const n = e, r = t, i = U(null), s = U(null), o = U(!1), a = R(() => {
15512
- let S = r.options;
15513
- return r.placeholder && !r.multiple && !r.filterable && (S = [{ label: r.placeholder, value: null }, ...r.options]), S = S.map((_) => {
15514
- let k = qd(_) ? _.value : _;
15515
- return {
15516
- label: m(k),
15517
- value: p(k),
15518
- selectionLabel: g(k)
15519
- };
15520
- }), S;
15521
- }), l = R(() => s.value && !r.filterFn ? a.value.filter((S) => S.label.toLocaleLowerCase().indexOf(s.value.toLowerCase()) > -1) : a.value), u = R(() => r.multiple ? (Array.isArray(r.modelValue) ? r.modelValue : []).map((_) => _ === null ? "__null__" : _) || [] : r.modelValue === null ? "__null__" : r.modelValue), c = R(() => {
15522
- let S = u.value;
15523
- return r.multiple || (S = S || S === 0 ? [S] : []), a.value.filter((_) => {
15524
- var k;
15525
- return S.includes(_.value) || S.map((A) => typeof A == "object" && A.id).includes((k = _.value) == null ? void 0 : k.id);
15526
- });
15527
- }), d = R(() => r.filterable && o.value ? "" : !c.value || c.value.length === 0 ? r.placeholder || "(Select Option)" : c.value[0].selectionLabel), f = R(() => c.value.slice(0, r.chipLimit));
15528
- function m(S) {
15529
- return typeof S == "string" ? S : typeof r.optionLabel == "string" ? S[r.optionLabel] : typeof r.optionLabel == "function" ? r.optionLabel(S) : S == null ? void 0 : S.label;
15530
- }
15531
- function g(S) {
15532
- return typeof S == "string" ? S : typeof r.selectionLabel == "string" ? S[r.selectionLabel] : typeof r.selectionLabel == "function" ? r.selectionLabel(S) : (S == null ? void 0 : S.selectionLabel) || (S == null ? void 0 : S.label);
15533
- }
15534
- function p(S) {
15535
- if (typeof S == "string")
15536
- return S;
15537
- let _ = S.value;
15538
- return typeof r.optionValue == "string" ? _ = S[r.optionValue] : typeof r.optionValue == "function" && (_ = r.optionValue(S)), _ === null ? "__null__" : _;
15539
- }
15540
- function y(S) {
15541
- Array.isArray(S) && (S = S.map((_) => _ === "__null__" ? null : _)), S = S === "__null__" ? null : S, n("update", S), n("update:model-value", S);
15542
- }
15543
- const b = U(!1);
15544
- async function T(S, _) {
15545
- if (!r.filterFn)
15546
- s.value = S, await hr(_);
15547
- else {
15548
- if (_(), b.value === !1)
15549
- return;
15550
- S !== null && S !== s.value && (s.value = S, r.filterFn && await r.filterFn(S));
15551
- }
15552
- }
15553
- function I() {
15554
- n("update:model-value", void 0), n("update", void 0);
15555
- }
15556
- function F() {
15557
- o.value = !0, b.value = !1, hr(() => {
15558
- b.value = !0, i.value.focus();
15559
- });
15560
- }
15561
- function w() {
15562
- o.value = !1, b.value = !1;
15563
- }
15564
- return (S, _) => {
15565
- const k = L("q-chip");
15566
- return h(), v("div", null, [
15567
- C(x(Io), dn({
15568
- ref_key: "selectField",
15569
- ref: i
15570
- }, S.$props, {
15571
- "model-value": u.value,
15572
- outlined: "",
15573
- "hide-dropdown-icon": "",
15574
- dense: "",
15575
- "emit-value": "",
15576
- "use-input": t.filterable,
15577
- "hide-selected": t.filterable && o.value && !S.$props.multiple,
15578
- "input-debounce": 100,
15579
- options: l.value,
15580
- "option-label": "label",
15581
- "option-value": "value",
15582
- placeholder: "",
15583
- "input-class": { "is-hidden": !o.value, [t.inputClass]: !0 },
15584
- class: "max-w-full",
15585
- onFilter: T,
15586
- onClear: I,
15587
- onPopupShow: F,
15588
- onPopupHide: w,
15589
- "onUpdate:modelValue": y
15590
- }), {
15591
- append: D(() => [
15592
- C(x(Ky), {
15593
- class: q(["w-4 transition", o.value ? "rotate-180" : ""])
15594
- }, null, 8, ["class"])
15595
- ]),
15596
- selected: D(() => [
15597
- S.$props.multiple ? (h(), v("div", {
15598
- key: 0,
15599
- class: q(["flex gap-y-1 overflow-hidden", { "flex-nowrap gap-y-0": t.chipLimit === 1, [t.selectionClass]: !0 }])
15600
- }, [
15601
- f.value.length > 0 ? (h(), v(z, { key: 0 }, [
15602
- (h(!0), v(z, null, Se(f.value, (A) => (h(), E(k, {
15603
- key: "selected-" + A.label,
15604
- class: "!mr-1"
15605
- }, {
15606
- default: D(() => [
15607
- Z(P(A.label), 1)
15608
- ]),
15609
- _: 2
15610
- }, 1024))), 128)),
15611
- c.value.length > f.value.length ? (h(), E(k, {
15612
- key: 0,
15613
- class: "!mr-1"
15614
- }, {
15615
- default: D(() => [
15616
- Z(" +" + P(c.value.length - f.value.length), 1)
15617
- ]),
15618
- _: 1
15619
- })) : $("", !0)
15620
- ], 64)) : (h(), v(z, { key: 1 }, [
15621
- Z(P(t.placeholder), 1)
15622
- ], 64))
15623
- ], 2)) : (h(), v("div", {
15624
- key: 1,
15625
- class: q(t.selectionClass)
15626
- }, P(d.value), 3))
15627
- ]),
15628
- _: 1
15629
- }, 16, ["model-value", "use-input", "hide-selected", "options", "input-class"])
15630
- ]);
15631
- };
15632
- }
15633
- }, Eb = {
15716
+ }, Cb = {
15634
15717
  key: 0,
15635
15718
  class: "text-gray-silver"
15636
- }, Cb = { key: 1 }, Ib = { class: "text-xs text-gray-silver" }, kb = {
15719
+ }, Ib = { key: 1 }, kb = { class: "text-xs text-gray-silver" }, Fb = {
15637
15720
  __name: "SelectWithChildrenField",
15638
15721
  props: {
15639
15722
  modelValue: {
@@ -15673,8 +15756,8 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15673
15756
  }), (u, c) => {
15674
15757
  const d = L("q-checkbox");
15675
15758
  return h(), v("div", null, [
15676
- !t.loading && !t.options.length ? (h(), v("div", Eb, "No options available")) : $("", !0),
15677
- C(x(pi), {
15759
+ !t.loading && !t.options.length ? (h(), v("div", Cb, "No options available")) : $("", !0),
15760
+ C(b(pi), {
15678
15761
  modelValue: s.value,
15679
15762
  "onUpdate:modelValue": [
15680
15763
  c[0] || (c[0] = (f) => s.value = f),
@@ -15686,7 +15769,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15686
15769
  "option-value": (f) => f,
15687
15770
  loading: t.loading
15688
15771
  }, null, 8, ["modelValue", "options", "label", "placeholder", "option-value", "loading"]),
15689
- s.value ? (h(), v("div", Cb, [
15772
+ s.value ? (h(), v("div", Ib, [
15690
15773
  (h(!0), v(z, null, Se(s.value.children, (f) => (h(), E(d, {
15691
15774
  key: f.id,
15692
15775
  "model-value": o.value.includes(f.id),
@@ -15696,7 +15779,7 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15696
15779
  }, {
15697
15780
  default: D(() => [
15698
15781
  O("div", null, P(f.label), 1),
15699
- O("div", Ib, P(f.name), 1)
15782
+ O("div", kb, P(f.name), 1)
15700
15783
  ]),
15701
15784
  _: 2
15702
15785
  }, 1032, ["model-value", "field", "onUpdate:modelValue"]))), 128))
@@ -15704,13 +15787,13 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15704
15787
  ]);
15705
15788
  };
15706
15789
  }
15707
- }, Fb = {
15790
+ }, Ob = {
15708
15791
  key: 0,
15709
15792
  class: "text-sm mt-2"
15710
- }, Ob = {
15793
+ }, Ab = {
15711
15794
  key: 2,
15712
15795
  class: "py-1"
15713
- }, Ab = {
15796
+ }, Db = {
15714
15797
  __name: "SingleFileField",
15715
15798
  props: {
15716
15799
  modelValue: {
@@ -15734,122 +15817,39 @@ const qx = { class: "flex items-center" }, Gx = { key: 0 }, Zx = { class: "flex-
15734
15817
  class: q(["max-w-full relative overflow-auto", { "p-4 border rounded border-gray-medium text-center": !t.readonly }]),
15735
15818
  onDragover: c[4] || (c[4] = mn(() => {
15736
15819
  }, ["prevent"])),
15737
- onDrop: c[5] || (c[5] = mn((...d) => x(s) && x(s)(...d), ["prevent"]))
15820
+ onDrop: c[5] || (c[5] = mn((...d) => b(s) && b(s)(...d), ["prevent"]))
15738
15821
  }, [
15739
- C(x(Qn), {
15822
+ C(b(Qn), {
15740
15823
  field: t.field,
15741
15824
  "show-name": t.showName,
15742
15825
  class: "text-sm font-semibold"
15743
15826
  }, null, 8, ["field", "show-name"]),
15744
- !t.disable && !t.readonly ? (h(), v("div", Fb, [
15827
+ !t.disable && !t.readonly ? (h(), v("div", Ob, [
15745
15828
  O("a", {
15746
15829
  class: "text-blue-base",
15747
15830
  onClick: c[0] || (c[0] = (d) => u.$refs.file.click())
15748
15831
  }, "Upload"),
15749
- x(a) ? (h(), v("a", {
15832
+ b(a) ? (h(), v("a", {
15750
15833
  key: 0,
15751
15834
  class: "ml-3 text-red-dark",
15752
- onClick: c[1] || (c[1] = (...d) => x(l) && x(l)(...d))
15835
+ onClick: c[1] || (c[1] = (...d) => b(l) && b(l)(...d))
15753
15836
  }, "Clear")) : $("", !0),
15754
15837
  O("input", {
15755
15838
  ref: "file",
15756
15839
  class: "hidden",
15757
15840
  type: "file",
15758
- onChange: c[2] || (c[2] = (...d) => x(o) && x(o)(...d))
15841
+ onChange: c[2] || (c[2] = (...d) => b(o) && b(o)(...d))
15759
15842
  }, null, 544)
15760
15843
  ])) : $("", !0),
15761
- !t.readonly || x(a) ? (h(), E(x(_r), {
15844
+ !t.readonly || b(a) ? (h(), E(b(_r), {
15762
15845
  key: 1,
15763
- class: q(["w-32 cursor-pointer mt-2", { "border border-dashed border-blue-base": !x(a), "mx-auto": !t.readonly }]),
15764
- image: x(a),
15846
+ class: q(["w-32 cursor-pointer mt-2", { "border border-dashed border-blue-base": !b(a), "mx-auto": !t.readonly }]),
15847
+ image: b(a),
15765
15848
  downloadable: "",
15766
15849
  onClick: c[3] || (c[3] = (d) => !t.disable && u.$refs.file.click())
15767
- }, null, 8, ["class", "image"])) : t.readonly ? (h(), v("div", Ob, "-- ")) : $("", !0)
15850
+ }, null, 8, ["class", "image"])) : t.readonly ? (h(), v("div", Ab, "-- ")) : $("", !0)
15768
15851
  ], 34));
15769
15852
  }
15770
- }, Db = { key: 1 }, Dd = {
15771
- __name: "TextField",
15772
- props: {
15773
- modelValue: {
15774
- type: [String, Number],
15775
- default: ""
15776
- },
15777
- field: {
15778
- type: Object,
15779
- default: null
15780
- },
15781
- type: {
15782
- type: String,
15783
- default: "text"
15784
- },
15785
- label: {
15786
- type: String,
15787
- default: null
15788
- },
15789
- labelClass: {
15790
- type: String,
15791
- default: "text-sm text-gray-shadow"
15792
- },
15793
- parentClass: {
15794
- type: String,
15795
- default: ""
15796
- },
15797
- inputClass: {
15798
- type: String,
15799
- default: ""
15800
- },
15801
- noLabel: Boolean,
15802
- showName: Boolean,
15803
- disabled: Boolean,
15804
- readonly: Boolean,
15805
- debounce: {
15806
- type: [String, Number],
15807
- default: 0
15808
- }
15809
- },
15810
- emits: ["update:model-value", "submit"],
15811
- setup(t) {
15812
- return (e, n) => {
15813
- var i, s, o;
15814
- const r = L("q-input");
15815
- return h(), v("div", null, [
15816
- t.readonly ? $("", !0) : (h(), E(r, {
15817
- key: 0,
15818
- "data-dusk": "text-field-" + ((i = t.field) == null ? void 0 : i.id),
15819
- "data-testid": "text-field-" + ((s = t.field) == null ? void 0 : s.id),
15820
- placeholder: (o = t.field) == null ? void 0 : o.placeholder,
15821
- outlined: "",
15822
- dense: "",
15823
- disable: t.disabled,
15824
- "label-slot": !t.noLabel,
15825
- "input-class": t.inputClass,
15826
- class: q(t.parentClass),
15827
- "stack-label": "",
15828
- type: t.type,
15829
- "model-value": t.modelValue,
15830
- debounce: t.debounce,
15831
- onKeydown: n[0] || (n[0] = rs((a) => e.$emit("submit"), ["enter"])),
15832
- "onUpdate:modelValue": n[1] || (n[1] = (a) => e.$emit("update:model-value", a))
15833
- }, {
15834
- label: D(() => [
15835
- C(x(Qn), {
15836
- field: t.field,
15837
- label: t.label,
15838
- "show-name": t.showName,
15839
- class: q(t.labelClass)
15840
- }, null, 8, ["field", "label", "show-name", "class"])
15841
- ]),
15842
- _: 1
15843
- }, 8, ["data-dusk", "data-testid", "placeholder", "disable", "label-slot", "input-class", "class", "type", "model-value", "debounce"])),
15844
- t.readonly ? (h(), v("div", Db, [
15845
- C(x(pb), {
15846
- label: t.label || t.field.label,
15847
- value: t.modelValue
15848
- }, null, 8, ["label", "value"])
15849
- ])) : $("", !0)
15850
- ]);
15851
- };
15852
- }
15853
15853
  };
15854
15854
  var Pb = [
15855
15855
  "onActivate",
@@ -16057,14 +16057,14 @@ var Pb = [
16057
16057
  var T;
16058
16058
  d || (g = l.getContent()), (T = Jt()) === null || T === void 0 || T.remove(l);
16059
16059
  }));
16060
- var b = function(T) {
16060
+ var x = function(T) {
16061
16061
  var I;
16062
16062
  g = l.getContent(), (I = Jt()) === null || I === void 0 || I.remove(l), n = dt(dt(dt({}, n), T), ns), hr(function() {
16063
16063
  return y();
16064
16064
  });
16065
16065
  };
16066
16066
  return e.expose({
16067
- rerender: b,
16067
+ rerender: x,
16068
16068
  getEditor: function() {
16069
16069
  return l;
16070
16070
  }
@@ -16092,7 +16092,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16092
16092
  emits: ["update:model-value"],
16093
16093
  setup(t) {
16094
16094
  return (e, n) => (h(), v("div", null, [
16095
- t.noLabel ? $("", !0) : (h(), E(x(Qn), {
16095
+ t.noLabel ? $("", !0) : (h(), E(b(Qn), {
16096
16096
  key: 0,
16097
16097
  field: t.field,
16098
16098
  "show-name": t.showName,
@@ -16102,10 +16102,10 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16102
16102
  key: 1,
16103
16103
  class: "border border-gray-300 rounded-md p-2 bg-gray-100",
16104
16104
  innerHTML: t.modelValue
16105
- }, null, 8, jb)) : (h(), E(x(Wb), {
16105
+ }, null, 8, jb)) : (h(), E(b(Wb), {
16106
16106
  key: 2,
16107
16107
  class: "mt-2",
16108
- "api-key": x(Yb),
16108
+ "api-key": b(Yb),
16109
16109
  disabled: t.disable,
16110
16110
  "model-value": t.modelValue,
16111
16111
  "onUpdate:modelValue": n[0] || (n[0] = (r) => e.$emit("update:model-value", r))
@@ -16148,7 +16148,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16148
16148
  var a;
16149
16149
  return h(), v("div", null, [
16150
16150
  t.field.type === "multi-select" ? (h(), v(z, { key: 0 }, [
16151
- ((a = t.field.options) == null ? void 0 : a.length) > 0 || t.loading ? (h(), E(x(pi), {
16151
+ ((a = t.field.options) == null ? void 0 : a.length) > 0 || t.loading ? (h(), E(b(pi), {
16152
16152
  key: 0,
16153
16153
  "model-value": t.modelValue,
16154
16154
  options: t.field.options,
@@ -16163,7 +16163,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16163
16163
  O("div", Jb, P(t.field.label), 1),
16164
16164
  Qb
16165
16165
  ]))
16166
- ], 64)) : t.field.type === "single-select" ? (h(), E(x(pi), {
16166
+ ], 64)) : t.field.type === "single-select" ? (h(), E(b(pi), {
16167
16167
  key: 1,
16168
16168
  "model-value": t.modelValue,
16169
16169
  options: t.field.options,
@@ -16171,13 +16171,13 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16171
16171
  loading: t.loading,
16172
16172
  label: t.field.label,
16173
16173
  "onUpdate:modelValue": i
16174
- }, null, 8, ["model-value", "options", "placeholder", "loading", "label"])) : t.field.type === "date" ? (h(), E(x(kd), {
16174
+ }, null, 8, ["model-value", "options", "placeholder", "loading", "label"])) : t.field.type === "date" ? (h(), E(b(Fd), {
16175
16175
  key: 2,
16176
16176
  "model-value": t.modelValue,
16177
16177
  label: t.field.label,
16178
16178
  class: "mt-2",
16179
16179
  "onUpdate:modelValue": i
16180
- }, null, 8, ["model-value", "label"])) : t.field.type === "date-range" ? (h(), E(x(Fd), {
16180
+ }, null, 8, ["model-value", "label"])) : t.field.type === "date-range" ? (h(), E(b(Od), {
16181
16181
  key: 3,
16182
16182
  "model-value": t.modelValue,
16183
16183
  label: t.field.label,
@@ -16185,14 +16185,14 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16185
16185
  "with-time": "",
16186
16186
  class: "mt-2 reactive",
16187
16187
  "onUpdate:modelValue": i
16188
- }, null, 8, ["model-value", "label", "inline"])) : t.field.type === "number-range" ? (h(), E(x(ts), {
16188
+ }, null, 8, ["model-value", "label", "inline"])) : t.field.type === "number-range" ? (h(), E(b(ts), {
16189
16189
  key: 4,
16190
16190
  "model-value": t.modelValue,
16191
16191
  label: t.field.label,
16192
16192
  class: "mt-2",
16193
16193
  debounce: 1e3,
16194
16194
  "onUpdate:modelValue": i
16195
- }, null, 8, ["model-value", "label"])) : t.field.type === "currency-range" ? (h(), E(x(ts), {
16195
+ }, null, 8, ["model-value", "label"])) : t.field.type === "currency-range" ? (h(), E(b(ts), {
16196
16196
  key: 5,
16197
16197
  "model-value": t.modelValue,
16198
16198
  label: t.field.label,
@@ -16200,7 +16200,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16200
16200
  debounce: 1e3,
16201
16201
  currency: "",
16202
16202
  "onUpdate:modelValue": i
16203
- }, null, 8, ["model-value", "label"])) : t.field.type === "percent-range" ? (h(), E(x(ts), {
16203
+ }, null, 8, ["model-value", "label"])) : t.field.type === "percent-range" ? (h(), E(b(ts), {
16204
16204
  key: 6,
16205
16205
  "model-value": t.modelValue,
16206
16206
  label: t.field.label,
@@ -16208,19 +16208,19 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16208
16208
  debounce: 1e3,
16209
16209
  percent: "",
16210
16210
  "onUpdate:modelValue": i
16211
- }, null, 8, ["model-value", "label"])) : t.field.type === "boolean" ? (h(), E(x(Id), {
16211
+ }, null, 8, ["model-value", "label"])) : t.field.type === "boolean" ? (h(), E(b(Id), {
16212
16212
  key: 7,
16213
16213
  field: t.field,
16214
16214
  "model-value": t.modelValue,
16215
16215
  class: "mt-2",
16216
16216
  "label-class": "text-xs font-bold",
16217
16217
  "onUpdate:modelValue": i
16218
- }, null, 8, ["field", "model-value"])) : t.field.type === "multi-keywords" ? (h(), E(x(xb), {
16218
+ }, null, 8, ["field", "model-value"])) : t.field.type === "multi-keywords" ? (h(), E(b(bb), {
16219
16219
  key: 8,
16220
16220
  "model-value": t.modelValue,
16221
16221
  field: t.field,
16222
16222
  "onUpdate:modelValue": i
16223
- }, null, 8, ["model-value", "field"])) : t.field.type === "select-with-children" ? (h(), E(x(kb), {
16223
+ }, null, 8, ["model-value", "field"])) : t.field.type === "select-with-children" ? (h(), E(b(Fb), {
16224
16224
  key: 9,
16225
16225
  "model-value": t.modelValue,
16226
16226
  options: t.field.options,
@@ -16300,20 +16300,20 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16300
16300
  (h(!0), v(z, null, Se(t.filterFields, (c, d) => (h(), v(z, {
16301
16301
  key: "group-" + c.name
16302
16302
  }, [
16303
- c.flat ? (h(!0), v(z, { key: 0 }, Se(c.fields, (f) => (h(), E(x(xl), {
16303
+ c.flat ? (h(!0), v(z, { key: 0 }, Se(c.fields, (f) => (h(), E(b(xl), {
16304
16304
  key: "field-" + f.name,
16305
16305
  "model-value": f.calcValue ? f.calcValue(t.filter) : t.filter[f.name],
16306
16306
  field: f,
16307
16307
  loading: t.loading,
16308
16308
  class: "mb-4",
16309
16309
  "onUpdate:modelValue": (m) => s(f, m)
16310
- }, null, 8, ["model-value", "field", "loading", "onUpdate:modelValue"]))), 128)) : (h(), E(x(nS), {
16310
+ }, null, 8, ["model-value", "field", "loading", "onUpdate:modelValue"]))), 128)) : (h(), E(b(nS), {
16311
16311
  key: 1,
16312
16312
  name: c.name,
16313
16313
  count: i.value[c.name]
16314
16314
  }, {
16315
16315
  default: D(() => [
16316
- (h(!0), v(z, null, Se(c.fields, (f) => (h(), E(x(xl), {
16316
+ (h(!0), v(z, null, Se(c.fields, (f) => (h(), E(b(xl), {
16317
16317
  key: "field-" + f.name,
16318
16318
  "model-value": f.calcValue ? f.calcValue(t.filter) : t.filter[f.name],
16319
16319
  field: f,
@@ -16358,7 +16358,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16358
16358
  onClick: i[0] || (i[0] = (a) => r.$emit("update:show-filters", !t.showFilters))
16359
16359
  }, {
16360
16360
  default: D(() => [
16361
- C(x(U_), { class: "w-5 mr-2" }),
16361
+ C(b(U_), { class: "w-5 mr-2" }),
16362
16362
  C(s, {
16363
16363
  label: "" + n.value,
16364
16364
  rounded: "",
@@ -16379,7 +16379,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16379
16379
  }, aS = { class: "w-full flex justify-end items-center flex-nowrap border-b" }, lS = { class: "flex-grow" }, uS = {
16380
16380
  key: 0,
16381
16381
  class: "flex justify-end items-stretch flex-nowrap p-4"
16382
- }, nw = {
16382
+ }, iw = {
16383
16383
  __name: "FilterToolbarLayout",
16384
16384
  props: {
16385
16385
  filter: {
@@ -16391,7 +16391,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16391
16391
  emits: ["update:show-filters", "update:filter"],
16392
16392
  setup(t) {
16393
16393
  return (e, n) => (h(), v("div", aS, [
16394
- C(x(oS), {
16394
+ C(b(oS), {
16395
16395
  "show-filters": t.showFilters,
16396
16396
  filter: t.filter,
16397
16397
  class: "border-r p-4 flex-shrink-0",
@@ -16402,7 +16402,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16402
16402
  B(e.$slots, "default")
16403
16403
  ]),
16404
16404
  e.$slots["right-side"] ? (h(), v("div", uS, [
16405
- C(x(Jd), {
16405
+ C(b(Jd), {
16406
16406
  vertical: "",
16407
16407
  class: "mx-4 h-10 self-center"
16408
16408
  }),
@@ -16410,7 +16410,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16410
16410
  ])) : $("", !0)
16411
16411
  ]));
16412
16412
  }
16413
- }, cS = { class: "rendered-form" }, rw = {
16413
+ }, cS = { class: "rendered-form" }, sw = {
16414
16414
  __name: "RenderedForm",
16415
16415
  props: {
16416
16416
  values: {
@@ -16430,12 +16430,12 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16430
16430
  setup(t, { emit: e }) {
16431
16431
  const n = e, r = t, i = {
16432
16432
  BOOLEAN: Id,
16433
- DATE: kd,
16434
- DATE_RANGE: Fd,
16435
- INTEGER: db,
16433
+ DATE: Fd,
16434
+ DATE_RANGE: Od,
16435
+ INTEGER: mb,
16436
16436
  NUMBER: hi,
16437
16437
  TEXT: Dd,
16438
- SINGLE_FILE: Ab,
16438
+ SINGLE_FILE: Db,
16439
16439
  MULTI_FILE: vb,
16440
16440
  WYSIWYG: Xb
16441
16441
  }, s = r.fields.map((l) => ({
@@ -16448,7 +16448,7 @@ const Yb = "YOUR_API_KEY", jb = ["innerHTML"], Xb = {
16448
16448
  n("update:values", { ...o, [l]: u });
16449
16449
  }
16450
16450
  return (l, u) => (h(), v("div", cS, [
16451
- (h(!0), v(z, null, Se(x(s), (c, d) => (h(), v("div", {
16451
+ (h(!0), v(z, null, Se(b(s), (c, d) => (h(), v("div", {
16452
16452
  key: c.id,
16453
16453
  class: q({ "mt-4": d > 0 })
16454
16454
  }, [
@@ -16476,7 +16476,7 @@ function hS(t, e) {
16476
16476
  ])
16477
16477
  ]);
16478
16478
  }
16479
- const iw = /* @__PURE__ */ It(dS, [["render", hS]]);
16479
+ const ow = /* @__PURE__ */ It(dS, [["render", hS]]);
16480
16480
  function pS(t) {
16481
16481
  yn(() => {
16482
16482
  const e = t.value.$el.getElementsByClassName("q-table__middle")[0];
@@ -16508,7 +16508,7 @@ function yS(t, e = null) {
16508
16508
  }
16509
16509
  return n;
16510
16510
  }
16511
- function sw(t, {
16511
+ function aw(t, {
16512
16512
  listRoute: e,
16513
16513
  summaryRoute: n = null,
16514
16514
  filterFieldOptionsRoute: r = null,
@@ -16519,7 +16519,7 @@ function sw(t, {
16519
16519
  filterDefaults: l = {}
16520
16520
  }) {
16521
16521
  let u = !1;
16522
- const c = `${t}-pagination-settings`, d = U(null), f = U({}), m = U({}), g = U(on(`${t}-show-filters`, !0)), p = U([]), y = U(!1), b = U(!1), T = U(null), I = R(() => Object.keys(f.value).filter((G) => f.value[G] !== void 0).length), F = {
16522
+ const c = `${t}-pagination-settings`, d = U(null), f = U({}), m = U({}), g = U(on(`${t}-show-filters`, !0)), p = U([]), y = U(!1), x = U(!1), T = U(null), I = R(() => Object.keys(f.value).filter((G) => f.value[G] !== void 0).length), F = {
16523
16523
  __sort: null,
16524
16524
  sortBy: null,
16525
16525
  descending: !1,
@@ -16543,9 +16543,9 @@ function sw(t, {
16543
16543
  async function k() {
16544
16544
  if (!n || !u)
16545
16545
  return;
16546
- b.value = !0;
16546
+ x.value = !0;
16547
16547
  const G = { id: null, ...f.value, ...m.value };
16548
- p.value.length && (G.id = p.value.map((le) => le.id)), T.value = await n(G), b.value = !1;
16548
+ p.value.length && (G.id = p.value.map((le) => le.id)), T.value = await n(G), x.value = !1;
16549
16549
  }
16550
16550
  const A = U({}), Y = U(!1);
16551
16551
  ce(() => g.value, (G) => {
@@ -16592,7 +16592,7 @@ function sw(t, {
16592
16592
  return;
16593
16593
  const G = on(c);
16594
16594
  G ? (f.value = { ...G.filter, ...f.value }, w.value = G.quasarPagination) : f.value = { ...l, ...f.value }, setTimeout(() => {
16595
- y.value || _(), b.value || k(), Y.value || ee();
16595
+ y.value || _(), x.value || k(), Y.value || ee();
16596
16596
  }, 1);
16597
16597
  }
16598
16598
  async function kt() {
@@ -16649,7 +16649,7 @@ function sw(t, {
16649
16649
  selectedRows: p,
16650
16650
  isLoadingList: y,
16651
16651
  isLoadingFilters: Y,
16652
- isLoadingSummary: b,
16652
+ isLoadingSummary: x,
16653
16653
  pager: S,
16654
16654
  quasarPagination: w,
16655
16655
  activeItem: we,
@@ -16667,7 +16667,7 @@ function sw(t, {
16667
16667
  setItemInPagedList: ye
16668
16668
  };
16669
16669
  }
16670
- function ow(t, e) {
16670
+ function lw(t, e) {
16671
16671
  const n = `${t}-column-order`, r = `${t}-visible-columns`, i = `${t}-title-columns`, s = U(on(n) || []), o = U(on(r, [])), a = U(on(i, [])), l = R(() => u.value.slice(0, 1)), u = R(() => [...e].sort((m, g) => {
16672
16672
  const p = s.value.indexOf(m.name), y = s.value.indexOf(g.name);
16673
16673
  return p === -1 ? 1 : y === -1 ? -1 : p - y;
@@ -16716,7 +16716,7 @@ const _S = {
16716
16716
  throw new Error("Action must have a trigger function! Make sure you are using useActions() or implement your own trigger function.");
16717
16717
  i.value = !0, await o.trigger(e.target), i.value = !1;
16718
16718
  }
16719
- return (o, a) => (h(), E(x(v2), {
16719
+ return (o, a) => (h(), E(b(v2), {
16720
16720
  class: "px-2 flex action-button",
16721
16721
  items: r.value,
16722
16722
  disabled: !n.value,
@@ -16726,147 +16726,10 @@ const _S = {
16726
16726
  onActionItem: s
16727
16727
  }, null, 8, ["items", "disabled", "tooltip", "loading", "loading-component"]));
16728
16728
  }
16729
- }, vS = { class: "overflow-hidden w-full" }, xS = {
16730
- __name: "ActionTable",
16731
- props: {
16732
- name: {
16733
- type: String,
16734
- required: !0
16735
- },
16736
- label: {
16737
- type: String,
16738
- required: !0
16739
- },
16740
- selectedRows: {
16741
- type: Array,
16742
- required: !0
16743
- },
16744
- quasarPagination: {
16745
- type: Object,
16746
- required: !0
16747
- },
16748
- isLoadingList: Boolean,
16749
- pagedItems: {
16750
- type: Object,
16751
- default: null
16752
- },
16753
- isLoadingSummary: Boolean,
16754
- summary: {
16755
- type: Object,
16756
- default: null
16757
- },
16758
- columns: {
16759
- type: Array,
16760
- required: !0
16761
- },
16762
- rowsPerPageOptions: {
16763
- type: Array,
16764
- default: () => [10, 25, 50, 100]
16765
- }
16766
- },
16767
- emits: ["update:quasar-pagination", "update:selected-rows"],
16768
- setup(t) {
16769
- const e = t, n = U(null);
16770
- pS(n);
16771
- const r = `column-settings-${e.name}`, i = U(on(r) || {});
16772
- function s(o, a) {
16773
- i.value = {
16774
- ...i.value,
16775
- [o.name]: {
16776
- width: Math.max(Math.min(a.distance + a.startDropZoneSize, o.maxWidth || 500), o.minWidth || 80)
16777
- }
16778
- }, sn(r, i.value);
16779
- }
16780
- return (o, a) => {
16781
- var l;
16782
- return h(), v("div", vS, [
16783
- C(x(w2)),
16784
- C(x(Qd), {
16785
- ref_key: "actionTable",
16786
- ref: n,
16787
- selected: t.selectedRows,
16788
- pagination: t.quasarPagination,
16789
- columns: t.columns,
16790
- loading: t.isLoadingList,
16791
- rows: ((l = t.pagedItems) == null ? void 0 : l.data) || [],
16792
- selection: "multiple",
16793
- "rows-per-page-options": t.rowsPerPageOptions,
16794
- class: "sticky-column sticky-header w-full h-full !border-0",
16795
- color: "blue-base",
16796
- "onUpdate:selected": a[1] || (a[1] = (u) => o.$emit("update:selected-rows", u)),
16797
- "onUpdate:pagination": () => {
16798
- },
16799
- onRequest: a[2] || (a[2] = (u) => o.$emit("update:quasar-pagination", { ...u.pagination, __sort: x(gS)(u.pagination, t.columns) }))
16800
- }, {
16801
- "no-data": D(() => [
16802
- B(o.$slots, "empty", {}, () => [
16803
- C(x(kS), {
16804
- text: `There are no ${t.label.toLowerCase()} matching the applied filter`
16805
- }, null, 8, ["text"])
16806
- ], !0)
16807
- ]),
16808
- "top-row": D(() => {
16809
- var u;
16810
- return [
16811
- C(x(DS), {
16812
- label: t.label,
16813
- "item-count": ((u = t.summary) == null ? void 0 : u.count) || 0,
16814
- "selected-count": t.selectedRows.length,
16815
- loading: t.isLoadingSummary,
16816
- summary: t.summary,
16817
- columns: t.columns,
16818
- onClear: a[0] || (a[0] = (c) => o.$emit("update:selected-rows", []))
16819
- }, null, 8, ["label", "item-count", "selected-count", "loading", "summary", "columns"])
16820
- ];
16821
- }),
16822
- "header-cell": D((u) => [
16823
- (h(), E(x(ef), {
16824
- key: u.key,
16825
- props: u,
16826
- "data-drop-zone": "resize-column-" + u.col.name
16827
- }, {
16828
- default: D(() => [
16829
- Z(P(u.col.label) + " ", 1),
16830
- u.col.resizeable ? (h(), E(x(__), {
16831
- key: 0,
16832
- "drop-zone": "resize-column-" + u.col.name,
16833
- class: "resize-handle",
16834
- onResize: (c) => s(u.col, c)
16835
- }, {
16836
- default: D(() => [
16837
- C(x(P_), { class: "w-4 text-neutral-base" })
16838
- ]),
16839
- _: 2
16840
- }, 1032, ["drop-zone", "onResize"])) : $("", !0)
16841
- ]),
16842
- _: 2
16843
- }, 1032, ["props", "data-drop-zone"]))
16844
- ]),
16845
- "body-cell": D((u) => [
16846
- (h(), E(x(wS), {
16847
- key: u.key,
16848
- "row-props": u,
16849
- settings: i.value[u.col.name]
16850
- }, {
16851
- default: D(() => [
16852
- B(o.$slots, "default", {
16853
- columnName: u.col.name,
16854
- row: u.row,
16855
- value: u.value
16856
- }, void 0, !0)
16857
- ]),
16858
- _: 2
16859
- }, 1032, ["row-props", "settings"]))
16860
- ]),
16861
- _: 3
16862
- }, 8, ["selected", "pagination", "columns", "loading", "rows", "rows-per-page-options"])
16863
- ]);
16864
- };
16865
- }
16866
- }, aw = /* @__PURE__ */ It(xS, [["__scopeId", "data-v-f53f68e8"]]), bS = { class: "flex-grow" }, SS = { key: 1 }, TS = {
16729
+ }, vS = { class: "flex-grow" }, xS = { key: 1 }, bS = {
16867
16730
  key: 0,
16868
16731
  class: "flex flex-shrink-0 pl-2"
16869
- }, wS = {
16732
+ }, SS = {
16870
16733
  __name: "ActionTableColumn",
16871
16734
  props: {
16872
16735
  rowProps: {
@@ -16903,33 +16766,33 @@ const _S = {
16903
16766
  O("div", {
16904
16767
  class: q(["flex items-center flex-nowrap", a.value])
16905
16768
  }, [
16906
- O("div", bS, [
16769
+ O("div", vS, [
16907
16770
  r.value.onClick ? (h(), v("a", {
16908
16771
  key: 0,
16909
16772
  onClick: u[0] || (u[0] = (d) => r.value.onClick(n.value))
16910
16773
  }, [
16911
- r.value.vnode ? (h(), E(x(vr), {
16774
+ r.value.vnode ? (h(), E(b(vr), {
16912
16775
  key: 0,
16913
16776
  vnode: r.value.vnode(n.value)
16914
16777
  }, null, 8, ["vnode"])) : B(l.$slots, "default", { key: 1 }, () => [
16915
16778
  Z(P(i.value), 1)
16916
16779
  ])
16917
- ])) : (h(), v("div", SS, [
16918
- r.value.vnode ? (h(), E(x(vr), {
16780
+ ])) : (h(), v("div", xS, [
16781
+ r.value.vnode ? (h(), E(b(vr), {
16919
16782
  key: 0,
16920
16783
  vnode: r.value.vnode(n.value)
16921
16784
  }, null, 8, ["vnode"])) : B(l.$slots, "default", { key: 1 }, () => [
16922
16785
  Z(P(i.value), 1)
16923
16786
  ])
16924
16787
  ])),
16925
- r.value.titleColumns ? (h(), E(x(Yx), {
16788
+ r.value.titleColumns ? (h(), E(b(Yx), {
16926
16789
  key: 2,
16927
16790
  row: n.value,
16928
16791
  columns: r.value.titleColumns()
16929
16792
  }, null, 8, ["row", "columns"])) : $("", !0)
16930
16793
  ]),
16931
- r.value.actionMenu ? (h(), v("div", TS, [
16932
- C(x(_S), {
16794
+ r.value.actionMenu ? (h(), v("div", bS, [
16795
+ C(b(_S), {
16933
16796
  actions: r.value.actionMenu,
16934
16797
  target: n.value,
16935
16798
  loading: s.value
@@ -16942,7 +16805,7 @@ const _S = {
16942
16805
  }, 8, ["props", "style"]);
16943
16806
  };
16944
16807
  }
16945
- }, ES = { class: "flex items-center justify-center text-sm py-14 w-full" }, CS = { key: 0 }, IS = { key: 1 }, kS = {
16808
+ }, TS = { class: "flex items-center justify-center text-sm py-14 w-full" }, wS = { key: 0 }, ES = { key: 1 }, CS = {
16946
16809
  __name: "EmptyTableState",
16947
16810
  props: {
16948
16811
  loading: Boolean,
@@ -16963,14 +16826,14 @@ const _S = {
16963
16826
  setup(t) {
16964
16827
  return (e, n) => {
16965
16828
  const r = L("q-spinner-ball");
16966
- return h(), v("div", ES, [
16967
- t.loading ? (h(), v("div", CS, [
16829
+ return h(), v("div", TS, [
16830
+ t.loading ? (h(), v("div", wS, [
16968
16831
  B(e.$slots, "loading", {}, () => [
16969
16832
  Z(P(t.loadingText) + " ", 1),
16970
16833
  C(r, { class: "w-4 ml-2" })
16971
16834
  ])
16972
16835
  ])) : $("", !0),
16973
- t.saving ? (h(), v("div", IS, [
16836
+ t.saving ? (h(), v("div", ES, [
16974
16837
  B(e.$slots, "saving", {}, () => [
16975
16838
  Z(P(t.savingText) + " ", 1),
16976
16839
  C(r, { class: "w-4 ml-2" })
@@ -16982,10 +16845,10 @@ const _S = {
16982
16845
  ]);
16983
16846
  };
16984
16847
  }
16985
- }, FS = { class: "flex flex-nowrap items-center" }, OS = {
16848
+ }, IS = { class: "flex flex-nowrap items-center" }, kS = {
16986
16849
  key: 0,
16987
16850
  class: "flex items-center"
16988
- }, AS = { key: 1 }, DS = {
16851
+ }, FS = { key: 1 }, OS = {
16989
16852
  __name: "TableSummaryRow",
16990
16853
  props: {
16991
16854
  loading: Boolean,
@@ -17036,14 +16899,14 @@ const _S = {
17036
16899
  class: q(["font-bold transition-all", { "!bg-neutral-plus-7 !pl-5": !t.selectedCount, "!bg-blue-base text-white !pl-4": t.selectedCount }])
17037
16900
  }, {
17038
16901
  default: D(() => [
17039
- O("div", FS, [
17040
- t.selectedCount ? (h(), v("div", OS, [
17041
- C(x(h_), {
16902
+ O("div", IS, [
16903
+ t.selectedCount ? (h(), v("div", kS, [
16904
+ C(b(h_), {
17042
16905
  class: "w-6 mr-3",
17043
16906
  onClick: s[0] || (s[0] = (u) => i.$emit("clear"))
17044
16907
  }),
17045
- Z(" " + P(x(zn)(t.selectedCount)) + " " + P(t.selectedLabel), 1)
17046
- ])) : t.itemCount ? (h(), v("div", AS, P(x(zn)(t.itemCount)) + " " + P(t.label), 1)) : $("", !0),
16908
+ Z(" " + P(b(zn)(t.selectedCount)) + " " + P(t.selectedLabel), 1)
16909
+ ])) : t.itemCount ? (h(), v("div", FS, P(b(zn)(t.itemCount)) + " " + P(t.label), 1)) : $("", !0),
17047
16910
  t.loading ? (h(), E(o, {
17048
16911
  key: 2,
17049
16912
  class: "ml-3",
@@ -17069,61 +16932,145 @@ const _S = {
17069
16932
  }, 8, ["class"]);
17070
16933
  };
17071
16934
  }
17072
- }, PS = { class: "text-gray-shadow flex items-stretch flex-nowrap p-4" }, NS = { class: "flex-grow text-sm w-3/5 overflow-auto" }, MS = { class: "flex flex-nowrap items-center mt-4" }, LS = { class: "bg-red-light line-through p-2" }, $S = { class: "bg-green-plus-4 ml-2.5 p-2" }, US = { class: "ml-4 text-sm w-2/5" }, RS = ["href"], lw = {
17073
- __name: "AuditHistoryItem",
16935
+ }, AS = { class: "overflow-hidden w-full" }, DS = {
16936
+ __name: "ActionTable",
17074
16937
  props: {
17075
- item: {
16938
+ name: {
16939
+ type: String,
16940
+ required: !0
16941
+ },
16942
+ label: {
16943
+ type: String,
16944
+ required: !0
16945
+ },
16946
+ selectedRows: {
16947
+ type: Array,
16948
+ required: !0
16949
+ },
16950
+ quasarPagination: {
17076
16951
  type: Object,
17077
16952
  required: !0
17078
16953
  },
17079
- change: {
16954
+ isLoadingList: Boolean,
16955
+ pagedItems: {
16956
+ type: Object,
16957
+ default: null
16958
+ },
16959
+ isLoadingSummary: Boolean,
16960
+ summary: {
17080
16961
  type: Object,
16962
+ default: null
16963
+ },
16964
+ columns: {
16965
+ type: Array,
17081
16966
  required: !0
17082
16967
  },
17083
- novaUrl: {
17084
- type: String,
17085
- default: "/nova"
16968
+ rowsPerPageOptions: {
16969
+ type: Array,
16970
+ default: () => [10, 25, 50, 100]
17086
16971
  }
17087
16972
  },
16973
+ emits: ["update:quasar-pagination", "update:selected-rows"],
17088
16974
  setup(t) {
17089
- const e = t, n = R(() => e.novaUrl + `/resources/audit-requests/${e.item.audit_request_id}`);
17090
- return (r, i) => (h(), v("div", PS, [
17091
- O("div", NS, [
17092
- O("h5", null, P(t.change.label) + " (" + P(t.change.name) + ")", 1),
17093
- O("div", MS, [
17094
- O("div", LS, [
17095
- C(x(bl), {
17096
- type: t.change.type,
17097
- value: t.change.oldValue
17098
- }, null, 8, ["type", "value"])
16975
+ const e = t, n = U(null);
16976
+ pS(n);
16977
+ const r = `column-settings-${e.name}`, i = U(on(r) || {});
16978
+ function s(o, a) {
16979
+ i.value = {
16980
+ ...i.value,
16981
+ [o.name]: {
16982
+ width: Math.max(Math.min(a.distance + a.startDropZoneSize, o.maxWidth || 500), o.minWidth || 80)
16983
+ }
16984
+ }, sn(r, i.value);
16985
+ }
16986
+ return (o, a) => {
16987
+ var l;
16988
+ return h(), v("div", AS, [
16989
+ C(b(w2)),
16990
+ C(b(Qd), {
16991
+ ref_key: "actionTable",
16992
+ ref: n,
16993
+ selected: t.selectedRows,
16994
+ pagination: t.quasarPagination,
16995
+ columns: t.columns,
16996
+ loading: t.isLoadingList,
16997
+ rows: ((l = t.pagedItems) == null ? void 0 : l.data) || [],
16998
+ "binary-state-sort": "",
16999
+ selection: "multiple",
17000
+ "rows-per-page-options": t.rowsPerPageOptions,
17001
+ class: "sticky-column sticky-header w-full h-full !border-0",
17002
+ color: "blue-base",
17003
+ "onUpdate:selected": a[1] || (a[1] = (u) => o.$emit("update:selected-rows", u)),
17004
+ "onUpdate:pagination": () => {
17005
+ },
17006
+ onRequest: a[2] || (a[2] = (u) => o.$emit("update:quasar-pagination", { ...u.pagination, __sort: b(gS)(u.pagination, t.columns) }))
17007
+ }, {
17008
+ "no-data": D(() => [
17009
+ B(o.$slots, "empty", {}, () => [
17010
+ C(CS, {
17011
+ text: `There are no ${t.label.toLowerCase()} matching the applied filter`
17012
+ }, null, 8, ["text"])
17013
+ ], !0)
17099
17014
  ]),
17100
- O("div", $S, [
17101
- C(x(bl), {
17102
- type: t.change.type,
17103
- value: t.change.newValue
17104
- }, null, 8, ["type", "value"])
17105
- ])
17106
- ])
17107
- ]),
17108
- O("div", US, [
17109
- t.item.user ? (h(), v(z, { key: 0 }, [
17110
- O("div", null, P(t.item.user.name), 1),
17111
- O("div", null, P(t.item.user.email), 1)
17112
- ], 64)) : $("", !0),
17113
- O("div", null, P(t.item.account), 1),
17114
- O("div", null, [
17115
- t.item.audit_request_id ? (h(), v("a", {
17116
- key: 0,
17117
- href: n.value,
17118
- target: "_blank"
17119
- }, P(x(gr)(t.item.timestamp)), 9, RS)) : (h(), v(z, { key: 1 }, [
17120
- Z(P(x(gr)(t.item.timestamp)), 1)
17121
- ], 64))
17122
- ])
17123
- ])
17124
- ]));
17015
+ "top-row": D(() => {
17016
+ var u;
17017
+ return [
17018
+ C(OS, {
17019
+ label: t.label,
17020
+ "item-count": ((u = t.summary) == null ? void 0 : u.count) || 0,
17021
+ "selected-count": t.selectedRows.length,
17022
+ loading: t.isLoadingSummary,
17023
+ summary: t.summary,
17024
+ columns: t.columns,
17025
+ onClear: a[0] || (a[0] = (c) => o.$emit("update:selected-rows", []))
17026
+ }, null, 8, ["label", "item-count", "selected-count", "loading", "summary", "columns"])
17027
+ ];
17028
+ }),
17029
+ "header-cell": D((u) => [
17030
+ (h(), E(b(ef), {
17031
+ key: u.key,
17032
+ props: u,
17033
+ "data-drop-zone": "resize-column-" + u.col.name
17034
+ }, {
17035
+ default: D(() => [
17036
+ Z(P(u.col.label) + " ", 1),
17037
+ u.col.resizeable ? (h(), E(b(__), {
17038
+ key: 0,
17039
+ "drop-zone": "resize-column-" + u.col.name,
17040
+ class: "resize-handle",
17041
+ onResize: (c) => s(u.col, c)
17042
+ }, {
17043
+ default: D(() => [
17044
+ C(b(P_), { class: "w-4 text-neutral-base" })
17045
+ ]),
17046
+ _: 2
17047
+ }, 1032, ["drop-zone", "onResize"])) : $("", !0)
17048
+ ]),
17049
+ _: 2
17050
+ }, 1032, ["props", "data-drop-zone"]))
17051
+ ]),
17052
+ "body-cell": D((u) => [
17053
+ (h(), E(SS, {
17054
+ key: u.key,
17055
+ "row-props": u,
17056
+ settings: i.value[u.col.name]
17057
+ }, {
17058
+ default: D(() => [
17059
+ B(o.$slots, "default", {
17060
+ columnName: u.col.name,
17061
+ row: u.row,
17062
+ value: u.value
17063
+ }, void 0, !0)
17064
+ ]),
17065
+ _: 2
17066
+ }, 1032, ["row-props", "settings"]))
17067
+ ]),
17068
+ _: 3
17069
+ }, 8, ["selected", "pagination", "columns", "loading", "rows", "rows-per-page-options"])
17070
+ ]);
17071
+ };
17125
17072
  }
17126
- }, BS = { class: "flex space-x-2" }, zS = ["innerHTML"], bl = {
17073
+ }, uw = /* @__PURE__ */ It(DS, [["__scopeId", "data-v-519dc3ff"]]), PS = { class: "flex space-x-2" }, NS = ["innerHTML"], bl = {
17127
17074
  __name: "AuditHistoryItemValue",
17128
17075
  props: {
17129
17076
  type: {
@@ -17154,101 +17101,78 @@ const _S = {
17154
17101
  }
17155
17102
  return r;
17156
17103
  }
17157
- return (r, i) => (h(), v("div", BS, [
17158
- t.type === "SINGLE_FILE" ? (h(), E(x(_r), {
17104
+ return (r, i) => (h(), v("div", PS, [
17105
+ t.type === "SINGLE_FILE" ? (h(), E(b(_r), {
17159
17106
  key: 0,
17160
17107
  image: t.value,
17161
17108
  class: "w-24"
17162
- }, null, 8, ["image"])) : t.type === "MULTI_FILE" ? (h(!0), v(z, { key: 1 }, Se(t.value, (s) => (h(), E(x(_r), {
17109
+ }, null, 8, ["image"])) : t.type === "MULTI_FILE" ? (h(!0), v(z, { key: 1 }, Se(t.value, (s) => (h(), E(b(_r), {
17163
17110
  key: "file-" + s.id,
17164
17111
  image: s,
17165
17112
  class: "w-24 mb-2"
17166
17113
  }, null, 8, ["image"]))), 128)) : t.type === "WYSIWYG" ? (h(), v("div", {
17167
17114
  key: 2,
17168
17115
  innerHTML: t.value
17169
- }, null, 8, zS)) : (h(), v(z, { key: 3 }, [
17116
+ }, null, 8, NS)) : (h(), v(z, { key: 3 }, [
17170
17117
  Z(P(n(t.value)), 1)
17171
17118
  ], 64))
17172
17119
  ]));
17173
17120
  }
17174
- }, VS = { class: "flex flex-col flex-nowrap h-full" }, qS = { class: "flex items-center px-6 py-4 border-b" }, GS = { class: "flex-grow" }, ZS = { class: "flex-grow overflow-hidden h-full" }, HS = { class: "flex items-stretch flex-nowrap h-full" }, WS = { class: "border-r w-[13.5em] overflow-y-auto" }, YS = {
17175
- key: 0,
17176
- class: "border-l overflow-y-auto"
17177
- }, uw = {
17178
- __name: "PanelsDrawer",
17121
+ }, MS = { class: "text-gray-shadow flex items-stretch flex-nowrap p-4" }, LS = { class: "flex-grow text-sm w-3/5 overflow-auto" }, $S = { class: "flex flex-nowrap items-center mt-4" }, US = { class: "bg-red-light line-through p-2" }, RS = { class: "bg-green-plus-4 ml-2.5 p-2" }, BS = { class: "ml-4 text-sm w-2/5" }, zS = ["href"], cw = {
17122
+ __name: "AuditHistoryItem",
17179
17123
  props: {
17180
- modelValue: {
17181
- type: String,
17182
- default: null
17183
- },
17184
- panelsClass: {
17185
- type: [Object, String],
17186
- default: "w-[35.5rem]"
17124
+ item: {
17125
+ type: Object,
17126
+ required: !0
17187
17127
  },
17188
- panels: {
17189
- type: Array,
17128
+ change: {
17129
+ type: Object,
17190
17130
  required: !0
17131
+ },
17132
+ novaUrl: {
17133
+ type: String,
17134
+ default: "/nova"
17191
17135
  }
17192
17136
  },
17193
- emits: ["update:model-value", "close"],
17194
17137
  setup(t) {
17195
- const e = t, n = U(e.modelValue);
17196
- return ce(() => e.modelValue, (r) => n.value = r), (r, i) => {
17197
- const s = L("QBtn");
17198
- return h(), E(x(Cc), {
17199
- position: "right",
17200
- show: !0,
17201
- overlay: "",
17202
- "content-class": "h-full",
17203
- title: "",
17204
- "onUpdate:show": i[3] || (i[3] = (o) => r.$emit("close"))
17205
- }, {
17206
- default: D(() => [
17207
- O("div", VS, [
17208
- O("div", qS, [
17209
- O("div", GS, [
17210
- B(r.$slots, "header")
17211
- ]),
17212
- O("div", null, [
17213
- C(s, {
17214
- onClick: i[0] || (i[0] = (o) => r.$emit("close"))
17215
- }, {
17216
- default: D(() => [
17217
- C(x(oo), { class: "w-4" })
17218
- ]),
17219
- _: 1
17220
- })
17221
- ])
17222
- ]),
17223
- O("div", ZS, [
17224
- O("div", HS, [
17225
- O("div", WS, [
17226
- C(x(KS), {
17227
- modelValue: n.value,
17228
- "onUpdate:modelValue": [
17229
- i[1] || (i[1] = (o) => n.value = o),
17230
- i[2] || (i[2] = (o) => r.$emit("update:model-value", o))
17231
- ],
17232
- panels: t.panels
17233
- }, null, 8, ["modelValue", "panels"])
17234
- ]),
17235
- C(x(jS), {
17236
- panels: t.panels,
17237
- "active-panel": n.value,
17238
- class: q(t.panelsClass)
17239
- }, null, 8, ["panels", "active-panel", "class"]),
17240
- r.$slots["right-sidebar"] ? (h(), v("div", YS, [
17241
- B(r.$slots, "right-sidebar")
17242
- ])) : $("", !0)
17243
- ])
17244
- ])
17138
+ const e = t, n = R(() => e.novaUrl + `/resources/audit-requests/${e.item.audit_request_id}`);
17139
+ return (r, i) => (h(), v("div", MS, [
17140
+ O("div", LS, [
17141
+ O("h5", null, P(t.change.label) + " (" + P(t.change.name) + ")", 1),
17142
+ O("div", $S, [
17143
+ O("div", US, [
17144
+ C(b(bl), {
17145
+ type: t.change.type,
17146
+ value: t.change.oldValue
17147
+ }, null, 8, ["type", "value"])
17148
+ ]),
17149
+ O("div", RS, [
17150
+ C(b(bl), {
17151
+ type: t.change.type,
17152
+ value: t.change.newValue
17153
+ }, null, 8, ["type", "value"])
17245
17154
  ])
17246
- ]),
17247
- _: 3
17248
- });
17249
- };
17155
+ ])
17156
+ ]),
17157
+ O("div", BS, [
17158
+ t.item.user ? (h(), v(z, { key: 0 }, [
17159
+ O("div", null, P(t.item.user.name), 1),
17160
+ O("div", null, P(t.item.user.email), 1)
17161
+ ], 64)) : $("", !0),
17162
+ O("div", null, P(t.item.account), 1),
17163
+ O("div", null, [
17164
+ t.item.audit_request_id ? (h(), v("a", {
17165
+ key: 0,
17166
+ href: n.value,
17167
+ target: "_blank"
17168
+ }, P(b(gr)(t.item.timestamp)), 9, zS)) : (h(), v(z, { key: 1 }, [
17169
+ Z(P(b(gr)(t.item.timestamp)), 1)
17170
+ ], 64))
17171
+ ])
17172
+ ])
17173
+ ]));
17250
17174
  }
17251
- }, jS = {
17175
+ }, VS = {
17252
17176
  __name: "PanelsDrawerPanels",
17253
17177
  props: {
17254
17178
  activePanel: {
@@ -17273,7 +17197,7 @@ const _S = {
17273
17197
  name: s.name
17274
17198
  }, {
17275
17199
  default: D(() => [
17276
- s.vnode ? (h(), E(x(vr), {
17200
+ s.vnode ? (h(), E(b(vr), {
17277
17201
  key: 0,
17278
17202
  vnode: s.vnode
17279
17203
  }, null, 8, ["vnode"])) : $("", !0)
@@ -17285,7 +17209,7 @@ const _S = {
17285
17209
  }, 8, ["model-value"]);
17286
17210
  };
17287
17211
  }
17288
- }, XS = {
17212
+ }, qS = {
17289
17213
  __name: "PanelsDrawerTabs",
17290
17214
  props: {
17291
17215
  modelValue: {
@@ -17312,13 +17236,13 @@ const _S = {
17312
17236
  default: D(() => [
17313
17237
  (h(!0), v(z, null, Se(t.panels, (i) => (h(), v(z, null, [
17314
17238
  i.enabled === void 0 || i.enabled ? (h(), v(z, { key: 0 }, [
17315
- i.tabVnode ? (h(), E(x(vr), {
17239
+ i.tabVnode ? (h(), E(b(vr), {
17316
17240
  key: i.name,
17317
17241
  vnode: i.tabVnode,
17318
17242
  "is-active": t.modelValue === i.name,
17319
17243
  name: i.name,
17320
17244
  label: i.label
17321
- }, null, 8, ["vnode", "is-active", "name", "label"])) : (h(), E(x(tf), {
17245
+ }, null, 8, ["vnode", "is-active", "name", "label"])) : (h(), E(b(tf), {
17322
17246
  key: i.name,
17323
17247
  name: i.name,
17324
17248
  label: i.label
@@ -17330,14 +17254,91 @@ const _S = {
17330
17254
  }, 8, ["model-value"]);
17331
17255
  };
17332
17256
  }
17333
- }, KS = /* @__PURE__ */ It(XS, [["__scopeId", "data-v-5d23285c"]]), JS = "quasar-ui-danx", QS = "0.2.0", eT = "Dan <dan@flytedesk.com>", tT = "DanX Vue / Quasar component library", nT = "MIT", rT = "module", iT = {
17257
+ }, GS = /* @__PURE__ */ It(qS, [["__scopeId", "data-v-5d23285c"]]), ZS = { class: "flex flex-col flex-nowrap h-full" }, HS = { class: "flex items-center px-6 py-4 border-b" }, WS = { class: "flex-grow" }, YS = { class: "flex-grow overflow-hidden h-full" }, jS = { class: "flex items-stretch flex-nowrap h-full" }, XS = { class: "border-r w-[13.5em] overflow-y-auto" }, KS = {
17258
+ key: 0,
17259
+ class: "border-l overflow-y-auto"
17260
+ }, dw = {
17261
+ __name: "PanelsDrawer",
17262
+ props: {
17263
+ modelValue: {
17264
+ type: String,
17265
+ default: null
17266
+ },
17267
+ panelsClass: {
17268
+ type: [Object, String],
17269
+ default: "w-[35.5rem]"
17270
+ },
17271
+ panels: {
17272
+ type: Array,
17273
+ required: !0
17274
+ }
17275
+ },
17276
+ emits: ["update:model-value", "close"],
17277
+ setup(t) {
17278
+ const e = t, n = U(e.modelValue);
17279
+ return ce(() => e.modelValue, (r) => n.value = r), (r, i) => {
17280
+ const s = L("QBtn");
17281
+ return h(), E(b(Cc), {
17282
+ position: "right",
17283
+ show: !0,
17284
+ overlay: "",
17285
+ "content-class": "h-full",
17286
+ title: "",
17287
+ "onUpdate:show": i[3] || (i[3] = (o) => r.$emit("close"))
17288
+ }, {
17289
+ default: D(() => [
17290
+ O("div", ZS, [
17291
+ O("div", HS, [
17292
+ O("div", WS, [
17293
+ B(r.$slots, "header")
17294
+ ]),
17295
+ O("div", null, [
17296
+ C(s, {
17297
+ onClick: i[0] || (i[0] = (o) => r.$emit("close"))
17298
+ }, {
17299
+ default: D(() => [
17300
+ C(b(oo), { class: "w-4" })
17301
+ ]),
17302
+ _: 1
17303
+ })
17304
+ ])
17305
+ ]),
17306
+ O("div", YS, [
17307
+ O("div", jS, [
17308
+ O("div", XS, [
17309
+ C(b(GS), {
17310
+ modelValue: n.value,
17311
+ "onUpdate:modelValue": [
17312
+ i[1] || (i[1] = (o) => n.value = o),
17313
+ i[2] || (i[2] = (o) => r.$emit("update:model-value", o))
17314
+ ],
17315
+ panels: t.panels
17316
+ }, null, 8, ["modelValue", "panels"])
17317
+ ]),
17318
+ C(b(VS), {
17319
+ panels: t.panels,
17320
+ "active-panel": n.value,
17321
+ class: q(t.panelsClass)
17322
+ }, null, 8, ["panels", "active-panel", "class"]),
17323
+ r.$slots["right-sidebar"] ? (h(), v("div", KS, [
17324
+ B(r.$slots, "right-sidebar")
17325
+ ])) : $("", !0)
17326
+ ])
17327
+ ])
17328
+ ])
17329
+ ]),
17330
+ _: 3
17331
+ });
17332
+ };
17333
+ }
17334
+ }, JS = "quasar-ui-danx", QS = "0.2.2", eT = "Dan <dan@flytedesk.com>", tT = "DanX Vue / Quasar component library", nT = "MIT", rT = "module", iT = "dist/dan.es.js", sT = "dist/dan.es.js", oT = {
17334
17335
  dev: "vite",
17335
17336
  build: "vite build",
17336
17337
  preview: "vite preview"
17337
- }, sT = {
17338
+ }, aT = {
17338
17339
  type: "git",
17339
17340
  url: "https://github.com/flytedan/quasar-app-extension-danx"
17340
- }, oT = {
17341
+ }, lT = {
17341
17342
  "@quasar/extras": "^1.16.4",
17342
17343
  "@types/node": "^20.12.7",
17343
17344
  "@vitejs/plugin-vue": "^5.0.4",
@@ -17356,14 +17357,14 @@ const _S = {
17356
17357
  "vite-svg-loader": "^5.1.0",
17357
17358
  vue: "^3.0.0",
17358
17359
  "vue-router": "^4.0.0"
17359
- }, aT = {
17360
+ }, uT = {
17360
17361
  "@heroicons/vue": "v1",
17361
17362
  "@tinymce/tinymce-vue": "^5.1.1",
17362
17363
  "@vueuse/core": "^10.7.2",
17363
17364
  exifreader: "^4.21.1",
17364
17365
  gsap: "^3.12.5",
17365
17366
  luxon: "^3.4.4"
17366
- }, lT = [
17367
+ }, cT = [
17367
17368
  "last 4 Chrome versions",
17368
17369
  "last 4 Firefox versions",
17369
17370
  "last 2 Edge versions",
@@ -17372,122 +17373,124 @@ const _S = {
17372
17373
  "last 4 ChromeAndroid versions",
17373
17374
  "last 4 FirefoxAndroid versions",
17374
17375
  "last 4 iOS versions"
17375
- ], uT = {
17376
+ ], dT = {
17376
17377
  name: JS,
17377
17378
  version: QS,
17378
17379
  author: eT,
17379
17380
  description: tT,
17380
17381
  license: nT,
17381
17382
  type: rT,
17382
- scripts: iT,
17383
- repository: sT,
17384
- devDependencies: oT,
17385
- dependencies: aT,
17386
- browserslist: lT
17387
- }, { version: cT } = uT;
17388
- function cw(t) {
17389
- console.log(`Installing Danx UI ${cT}... Nothing to do really.`);
17383
+ main: iT,
17384
+ module: sT,
17385
+ scripts: oT,
17386
+ repository: aT,
17387
+ devDependencies: lT,
17388
+ dependencies: uT,
17389
+ browserslist: cT
17390
+ }, { version: fT } = dT;
17391
+ function fw(t) {
17392
+ console.log(`Installing Danx UI ${fT}... Nothing to do really.`);
17390
17393
  }
17391
17394
  export {
17392
17395
  _S as ActionMenu,
17393
- aw as ActionTable,
17394
- wS as ActionTableColumn,
17395
- iw as ActionTableLayout,
17396
+ uw as ActionTable,
17397
+ SS as ActionTableColumn,
17398
+ ow as ActionTableLayout,
17396
17399
  w2 as ActionVnode,
17397
- LT as AddressFormat,
17398
- lw as AuditHistoryItem,
17400
+ UT as AddressFormat,
17401
+ cw as AuditHistoryItem,
17399
17402
  bl as AuditHistoryItemValue,
17400
- VT as BadgeTab,
17403
+ GT as BadgeTab,
17401
17404
  Id as BooleanField,
17402
17405
  T_ as CaretDownIcon,
17403
- YT as CollapsableFiltersSidebar,
17406
+ XT as CollapsableFiltersSidebar,
17404
17407
  g2 as CollapsableSidebar,
17405
17408
  Qa as ColumnListItem,
17406
- HT as ColumnSettingsDialog,
17409
+ YT as ColumnSettingsDialog,
17407
17410
  el as ConfirmDialog,
17408
- jT as ConfirmPasswordField,
17411
+ KT as ConfirmPasswordField,
17409
17412
  Cc as ContentDrawer,
17410
- kd as DateField,
17411
- Fd as DateRangeField,
17412
- XT as DateTimeField,
17413
- Od as DateTimePicker,
17413
+ Fd as DateField,
17414
+ Od as DateRangeField,
17415
+ JT as DateTimeField,
17416
+ Ad as DateTimePicker,
17414
17417
  Ec as DragAndDrop,
17415
17418
  k_ as DragHandleDotsIcon,
17416
17419
  P_ as DragHandleIcon,
17417
- KT as EditableDiv,
17418
- kS as EmptyTableState,
17419
- AT as ExportButton,
17420
+ QT as EditableDiv,
17421
+ CS as EmptyTableState,
17422
+ PT as ExportButton,
17420
17423
  Qn as FieldLabel,
17421
17424
  _r as FilePreview,
17422
17425
  so as FileUpload,
17423
- JT as FileUploadButton,
17426
+ ew as FileUploadButton,
17424
17427
  nS as FilterFieldItem,
17425
17428
  iS as FilterFieldList,
17426
17429
  U_ as FilterIcon,
17427
17430
  oS as FilterListToggle,
17428
- nw as FilterToolbarLayout,
17431
+ iw as FilterToolbarLayout,
17429
17432
  xl as FilterableField,
17430
17433
  wt as FlashMessages,
17431
- $T as FlatListFormat,
17434
+ RT as FlatListFormat,
17432
17435
  Rv as FullScreenCarouselDialog,
17433
- NT as FullScreenDialog,
17434
- UT as GpsCoordinatesFormat,
17436
+ LT as FullScreenDialog,
17437
+ BT as GpsCoordinatesFormat,
17435
17438
  __ as HandleDraggable,
17436
- RT as IconWithTextFormat,
17439
+ zT as IconWithTextFormat,
17437
17440
  Z_ as ImageIcon,
17438
- qT as IndicatorTab,
17441
+ ZT as IndicatorTab,
17439
17442
  Gv as InfoDialog,
17440
- QT as InlineDateTimeField,
17441
- MT as InputDialog,
17442
- db as IntegerField,
17443
- zT as InteractiveTooltip,
17443
+ tw as InlineDateTimeField,
17444
+ $T as InputDialog,
17445
+ mb as IntegerField,
17446
+ qT as InteractiveTooltip,
17444
17447
  pb as LabelValueBlock,
17445
- BT as LabelValueFormat,
17446
- Ad as LabeledInput,
17448
+ VT as LabelValueFormat,
17449
+ kd as LabeledInput,
17447
17450
  Vx as ListDragAndDrop,
17448
17451
  Hx as ListItemDraggable,
17449
17452
  C2 as ListTransition,
17450
17453
  vb as MultiFileField,
17451
- xb as MultiKeywordField,
17452
- ew as NewPasswordField,
17454
+ bb as MultiKeywordField,
17455
+ nw as NewPasswordField,
17453
17456
  hi as NumberField,
17454
17457
  ts as NumberRangeField,
17455
- uw as PanelsDrawer,
17456
- jS as PanelsDrawerPanels,
17457
- KS as PanelsDrawerTabs,
17458
+ dw as PanelsDrawer,
17459
+ VS as PanelsDrawerPanels,
17460
+ GS as PanelsDrawerTabs,
17458
17461
  K_ as PdfIcon,
17459
17462
  nv as PercentIcon,
17460
17463
  v2 as PopoverMenu,
17461
- PT as PreviousNextControls,
17462
- DT as RefreshButton,
17464
+ MT as PreviousNextControls,
17465
+ NT as RefreshButton,
17463
17466
  E2 as RenderComponent,
17464
17467
  vr as RenderVnode,
17465
- rw as RenderedForm,
17466
- tw as SelectDrawer,
17468
+ sw as RenderedForm,
17469
+ rw as SelectDrawer,
17467
17470
  pi as SelectField,
17468
- kb as SelectWithChildrenField,
17469
- Ab as SingleFileField,
17471
+ Fb as SelectWithChildrenField,
17472
+ Db as SingleFileField,
17470
17473
  av as SkipNextIcon,
17471
17474
  fv as SkipPreviousIcon,
17472
- GT as SlideTransition,
17473
- ZT as StaggeredListTransition,
17475
+ HT as SlideTransition,
17476
+ WT as StaggeredListTransition,
17474
17477
  n2 as SvgImg,
17475
- DS as TableSummaryRow,
17478
+ OS as TableSummaryRow,
17476
17479
  Dd as TextField,
17477
17480
  Yx as TitleColumnFormat,
17478
17481
  yv as TrashIcon,
17479
- WT as VisibleColumnsToggleButtons,
17482
+ jT as VisibleColumnsToggleButtons,
17480
17483
  Sv as WarningIcon,
17481
17484
  Xb as WysiwygField,
17482
17485
  oo as XIcon,
17483
17486
  Dn as activeActionVnode,
17484
- ST as centerTruncate,
17485
- hT as configure,
17487
+ wT as centerTruncate,
17488
+ gT as configure,
17486
17489
  ss as danxOptions,
17487
17490
  ca as dbDateTime,
17488
- wT as diffInDays,
17491
+ CT as diffInDays,
17489
17492
  Js as download,
17490
- ET as downloadFile,
17493
+ IT as downloadFile,
17491
17494
  ph as downloadFileResponse,
17492
17495
  Iu as fCurrency,
17493
17496
  bt as fDate,
@@ -17495,22 +17498,22 @@ export {
17495
17498
  gr as fLocalizedDateTime,
17496
17499
  zn as fNumber,
17497
17500
  hh as fPercent,
17498
- TT as fPhone,
17499
- xT as fQDate,
17500
- bT as fSecondsToTime,
17501
- FT as fetchResourceListWithSelected,
17501
+ ET as fPhone,
17502
+ ST as fQDate,
17503
+ TT as fSecondsToTime,
17504
+ AT as fetchResourceListWithSelected,
17502
17505
  yS as getFilterFromUrl,
17503
17506
  on as getItem,
17504
17507
  da as getResponseHeader,
17505
17508
  Yy as getUrlParam,
17506
- cw as install,
17509
+ fw as install,
17507
17510
  Eu as localizedDateTime,
17508
17511
  gS as mapSortBy,
17509
- yT as metersToMiles,
17510
- _T as milesToMeters,
17511
- gT as minmax,
17512
- IT as notify,
17513
- vT as parseCoords,
17512
+ vT as metersToMiles,
17513
+ xT as milesToMeters,
17514
+ _T as minmax,
17515
+ FT as notify,
17516
+ bT as parseCoords,
17514
17517
  ni as parseDateTime,
17515
17518
  fs as parseQDate,
17516
17519
  ua as parseQDateTime,
@@ -17518,17 +17521,17 @@ export {
17518
17521
  mh as remoteDateTime,
17519
17522
  Kr as remove,
17520
17523
  nf as replace,
17521
- kT as request,
17524
+ OT as request,
17522
17525
  Wy as resolveFileLocation,
17523
17526
  sn as setItem,
17524
17527
  ff as sleep,
17525
- pT as uniqueBy,
17526
- OT as useActions,
17528
+ yT as uniqueBy,
17529
+ DT as useActions,
17527
17530
  mf as useCompatibility,
17528
- sw as useListControls,
17531
+ aw as useListControls,
17529
17532
  jy as useMultiFileUpload,
17530
17533
  Xy as useSingleFileUpload,
17531
- ow as useTableColumns,
17532
- cT as version,
17534
+ lw as useTableColumns,
17535
+ fT as version,
17533
17536
  Oo as waitForRef
17534
17537
  };