@quoreadmin/ui 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6897,130 +6897,130 @@ class xa extends J2 {
6897
6897
  super("Zone is an abstract class");
6898
6898
  }
6899
6899
  }
6900
- const be = "numeric", Es = "short", Ci = "long", c3 = {
6901
- year: be,
6902
- month: be,
6903
- day: be
6900
+ const ve = "numeric", Es = "short", Ci = "long", c3 = {
6901
+ year: ve,
6902
+ month: ve,
6903
+ day: ve
6904
6904
  }, uA = {
6905
- year: be,
6905
+ year: ve,
6906
6906
  month: Es,
6907
- day: be
6907
+ day: ve
6908
6908
  }, NB = {
6909
- year: be,
6909
+ year: ve,
6910
6910
  month: Es,
6911
- day: be,
6911
+ day: ve,
6912
6912
  weekday: Es
6913
6913
  }, cA = {
6914
- year: be,
6914
+ year: ve,
6915
6915
  month: Ci,
6916
- day: be
6916
+ day: ve
6917
6917
  }, dA = {
6918
- year: be,
6918
+ year: ve,
6919
6919
  month: Ci,
6920
- day: be,
6920
+ day: ve,
6921
6921
  weekday: Ci
6922
6922
  }, fA = {
6923
- hour: be,
6924
- minute: be
6923
+ hour: ve,
6924
+ minute: ve
6925
6925
  }, hA = {
6926
- hour: be,
6927
- minute: be,
6928
- second: be
6926
+ hour: ve,
6927
+ minute: ve,
6928
+ second: ve
6929
6929
  }, pA = {
6930
- hour: be,
6931
- minute: be,
6932
- second: be,
6930
+ hour: ve,
6931
+ minute: ve,
6932
+ second: ve,
6933
6933
  timeZoneName: Es
6934
6934
  }, mA = {
6935
- hour: be,
6936
- minute: be,
6937
- second: be,
6935
+ hour: ve,
6936
+ minute: ve,
6937
+ second: ve,
6938
6938
  timeZoneName: Ci
6939
6939
  }, gA = {
6940
- hour: be,
6941
- minute: be,
6940
+ hour: ve,
6941
+ minute: ve,
6942
6942
  hourCycle: "h23"
6943
6943
  }, yA = {
6944
- hour: be,
6945
- minute: be,
6946
- second: be,
6944
+ hour: ve,
6945
+ minute: ve,
6946
+ second: ve,
6947
6947
  hourCycle: "h23"
6948
6948
  }, vA = {
6949
- hour: be,
6950
- minute: be,
6951
- second: be,
6949
+ hour: ve,
6950
+ minute: ve,
6951
+ second: ve,
6952
6952
  hourCycle: "h23",
6953
6953
  timeZoneName: Es
6954
6954
  }, bA = {
6955
- hour: be,
6956
- minute: be,
6957
- second: be,
6955
+ hour: ve,
6956
+ minute: ve,
6957
+ second: ve,
6958
6958
  hourCycle: "h23",
6959
6959
  timeZoneName: Ci
6960
6960
  }, wA = {
6961
- year: be,
6962
- month: be,
6963
- day: be,
6964
- hour: be,
6965
- minute: be
6961
+ year: ve,
6962
+ month: ve,
6963
+ day: ve,
6964
+ hour: ve,
6965
+ minute: ve
6966
6966
  }, CA = {
6967
- year: be,
6968
- month: be,
6969
- day: be,
6970
- hour: be,
6971
- minute: be,
6972
- second: be
6967
+ year: ve,
6968
+ month: ve,
6969
+ day: ve,
6970
+ hour: ve,
6971
+ minute: ve,
6972
+ second: ve
6973
6973
  }, SA = {
6974
- year: be,
6974
+ year: ve,
6975
6975
  month: Es,
6976
- day: be,
6977
- hour: be,
6978
- minute: be
6976
+ day: ve,
6977
+ hour: ve,
6978
+ minute: ve
6979
6979
  }, MA = {
6980
- year: be,
6980
+ year: ve,
6981
6981
  month: Es,
6982
- day: be,
6983
- hour: be,
6984
- minute: be,
6985
- second: be
6982
+ day: ve,
6983
+ hour: ve,
6984
+ minute: ve,
6985
+ second: ve
6986
6986
  }, PB = {
6987
- year: be,
6987
+ year: ve,
6988
6988
  month: Es,
6989
- day: be,
6989
+ day: ve,
6990
6990
  weekday: Es,
6991
- hour: be,
6992
- minute: be
6991
+ hour: ve,
6992
+ minute: ve
6993
6993
  }, kA = {
6994
- year: be,
6994
+ year: ve,
6995
6995
  month: Ci,
6996
- day: be,
6997
- hour: be,
6998
- minute: be,
6996
+ day: ve,
6997
+ hour: ve,
6998
+ minute: ve,
6999
6999
  timeZoneName: Es
7000
7000
  }, AA = {
7001
- year: be,
7001
+ year: ve,
7002
7002
  month: Ci,
7003
- day: be,
7004
- hour: be,
7005
- minute: be,
7006
- second: be,
7003
+ day: ve,
7004
+ hour: ve,
7005
+ minute: ve,
7006
+ second: ve,
7007
7007
  timeZoneName: Es
7008
7008
  }, TA = {
7009
- year: be,
7009
+ year: ve,
7010
7010
  month: Ci,
7011
- day: be,
7011
+ day: ve,
7012
7012
  weekday: Ci,
7013
- hour: be,
7014
- minute: be,
7013
+ hour: ve,
7014
+ minute: ve,
7015
7015
  timeZoneName: Ci
7016
7016
  }, EA = {
7017
- year: be,
7017
+ year: ve,
7018
7018
  month: Ci,
7019
- day: be,
7019
+ day: ve,
7020
7020
  weekday: Ci,
7021
- hour: be,
7022
- minute: be,
7023
- second: be,
7021
+ hour: ve,
7022
+ minute: ve,
7023
+ second: ve,
7024
7024
  timeZoneName: Ci
7025
7025
  };
7026
7026
  class ap {
@@ -13627,7 +13627,7 @@ function ZH(n = {}, e) {
13627
13627
  function ue(se) {
13628
13628
  return se.map((ce) => Ie(ce) || or(ce) || sn(ce) ? nw(String(ce)) : ce);
13629
13629
  }
13630
- const ve = {
13630
+ const be = {
13631
13631
  normalize: ue,
13632
13632
  interpolate: (se) => se,
13633
13633
  type: "vnode"
@@ -13638,7 +13638,7 @@ function ZH(n = {}, e) {
13638
13638
  let it;
13639
13639
  const Ft = ce;
13640
13640
  try {
13641
- Ft.processor = ve, it = Reflect.apply(Yb, null, [Ft, ...se]);
13641
+ Ft.processor = be, it = Reflect.apply(Yb, null, [Ft, ...se]);
13642
13642
  } finally {
13643
13643
  Ft.processor = null;
13644
13644
  }
@@ -15798,7 +15798,7 @@ var yU = { 9306: (n, e, t) => {
15798
15798
  }, aTypedArrayConstructor: function(q) {
15799
15799
  if (u(q) && (!S || v(te, q))) return q;
15800
15800
  throw new Y(h(q) + " is not a typed array constructor");
15801
- }, exportTypedArrayMethod: function(q, ue, pe, ve) {
15801
+ }, exportTypedArrayMethod: function(q, ue, pe, be) {
15802
15802
  if (a) {
15803
15803
  if (pe) for (var Ce in he) {
15804
15804
  var Le = l[Ce];
@@ -15811,14 +15811,14 @@ var yU = { 9306: (n, e, t) => {
15811
15811
  }
15812
15812
  }
15813
15813
  }
15814
- ne[q] && !pe || y(ne, q, pe ? ue : ae && $[q] || ue, ve);
15814
+ ne[q] && !pe || y(ne, q, pe ? ue : ae && $[q] || ue, be);
15815
15815
  }
15816
15816
  }, exportTypedArrayStaticMethod: function(q, ue, pe) {
15817
- var ve, Ce;
15817
+ var be, Ce;
15818
15818
  if (a) {
15819
15819
  if (S) {
15820
15820
  if (pe) {
15821
- for (ve in he) if ((Ce = l[ve]) && d(Ce, q)) try {
15821
+ for (be in he) if ((Ce = l[be]) && d(Ce, q)) try {
15822
15822
  delete Ce[q];
15823
15823
  } catch {
15824
15824
  }
@@ -15829,7 +15829,7 @@ var yU = { 9306: (n, e, t) => {
15829
15829
  } catch {
15830
15830
  }
15831
15831
  }
15832
- for (ve in he) !(Ce = l[ve]) || Ce[q] && !pe || y(Ce, q, ue);
15832
+ for (be in he) !(Ce = l[be]) || Ce[q] && !pe || y(Ce, q, ue);
15833
15833
  }
15834
15834
  }, getTypedArrayConstructor: F, isView: function(ue) {
15835
15835
  if (!c(ue)) return !1;
@@ -17053,13 +17053,13 @@ var yU = { 9306: (n, e, t) => {
17053
17053
  t(3579);
17054
17054
  }, 8335: (n, e, t) => {
17055
17055
  var r = t(6518), i = t(3724), s = t(4576), o = t(7751), a = t(9504), l = t(9565), u = t(4901), c = t(34), d = t(4376), f = t(9297), h = t(655), m = t(6198), y = t(4659), g = t(9039), v = t(8235), b = t(4495), S = s.JSON, w = s.Number, E = s.SyntaxError, M = S && S.parse, A = o("Object", "keys"), N = Object.getOwnPropertyDescriptor, O = a("".charAt), $ = a("".slice), R = a(/./.exec), G = a([].push), te = /^\d$/, ne = /^[1-9]$/, Z = /^[\d-]$/, Y = /^[\t\n\r ]$/, U = function(le, F, z, q) {
17056
- var ue, pe, ve, Ce, Le, et = le[F], $t = q && et === q.value, Ln = $t && typeof q.source == "string" ? { source: q.source } : {};
17056
+ var ue, pe, be, Ce, Le, et = le[F], $t = q && et === q.value, Ln = $t && typeof q.source == "string" ? { source: q.source } : {};
17057
17057
  if (c(et)) {
17058
17058
  var Gn = d(et), yn = $t ? q.nodes : Gn ? [] : {};
17059
17059
  if (Gn)
17060
- for (ue = yn.length, ve = m(et), Ce = 0; Ce < ve; Ce++) K(et, Ce, U(et, "" + Ce, z, Ce < ue ? yn[Ce] : void 0));
17060
+ for (ue = yn.length, be = m(et), Ce = 0; Ce < be; Ce++) K(et, Ce, U(et, "" + Ce, z, Ce < ue ? yn[Ce] : void 0));
17061
17061
  else
17062
- for (pe = A(et), ve = m(pe), Ce = 0; Ce < ve; Ce++)
17062
+ for (pe = A(et), be = m(pe), Ce = 0; Ce < be; Ce++)
17063
17063
  Le = pe[Ce], K(et, Le, U(et, Le, z, f(yn, Le) ? yn[Le] : void 0));
17064
17064
  }
17065
17065
  return l(z, le, F, et, Ln);
@@ -17102,8 +17102,8 @@ var yU = { 9306: (n, e, t) => {
17102
17102
  F++;
17103
17103
  break;
17104
17104
  }
17105
- var pe = this.fork(F).string(), ve = pe.value;
17106
- F = pe.end, F = this.until([":"], F) + 1, F = this.skip(Y, F), pe = this.fork(F).parse(), y(ue, ve, pe), y(q, ve, pe.value), F = this.until([",", "}"], pe.end);
17105
+ var pe = this.fork(F).string(), be = pe.value;
17106
+ F = pe.end, F = this.until([":"], F) + 1, F = this.skip(Y, F), pe = this.fork(F).parse(), y(ue, be, pe), y(q, be, pe.value), F = this.until([",", "}"], pe.end);
17107
17107
  var Ce = O(le, F);
17108
17108
  if (Ce === ",")
17109
17109
  z = !0, F++;
@@ -17164,9 +17164,9 @@ var yU = { 9306: (n, e, t) => {
17164
17164
  r({ target: "JSON", stat: !0, forced: ye }, { parse: function(F, z) {
17165
17165
  return he && !u(z) ? M(F) : function(q, ue) {
17166
17166
  q = h(q);
17167
- var pe = new ae(q, 0), ve = pe.parse(), Ce = ve.value, Le = pe.skip(Y, ve.end);
17167
+ var pe = new ae(q, 0), be = pe.parse(), Ce = be.value, Le = pe.skip(Y, be.end);
17168
17168
  if (Le < q.length) throw new E('Unexpected extra character: "' + O(q, Le) + '" after the parsed data at: ' + Le);
17169
- return u(ue) ? U({ "": Ce }, "", ue, ve) : Ce;
17169
+ return u(ue) ? U({ "": Ce }, "", ue, be) : Ce;
17170
17170
  }(F, z);
17171
17171
  } });
17172
17172
  }, 5247: (n, e, t) => {
@@ -22476,8 +22476,8 @@ function HZ(n = {}) {
22476
22476
  return z.then((ue) => {
22477
22477
  if (e.destroyed) throw new Error("Loading aborted");
22478
22478
  if (c.destroyed) throw new Error("Worker was destroyed");
22479
- const pe = new j1(t, ue, c.port), ve = new WZ(pe, e, q, F, he);
22480
- e._transport = ve, pe.send("Ready", null);
22479
+ const pe = new j1(t, ue, c.port), be = new WZ(pe, e, q, F, he);
22480
+ e._transport = be, pe.send("Ready", null);
22481
22481
  });
22482
22482
  }).catch(e._capability.reject), e;
22483
22483
  }
@@ -27608,19 +27608,18 @@ const gp = /* @__PURE__ */ ze(RW, [["render", BW], ["__scopeId", "data-v-ca6ae8f
27608
27608
  return (F = a.value) == null ? void 0 : F.offsetWidth;
27609
27609
  }), u = B(null), c = B([]), d = B(!1), f = B(null), h = B("0"), m = B(1), y = B(cr.md ? 1 : 0.9), g = B(0), v = B(null), b = B(), S = B(!1), w = B(!1), E = Q(() => [
27610
27610
  `z-[${n.baseZIndex + 1}]`
27611
- ]), M = Q(() => n.files.map((F, z) => {
27612
- const q = F instanceof File, ue = q ? F.name : F.original.url, pe = ae(
27613
- ue.toLowerCase()
27614
- ).replace(/^\./, ""), ve = pe ? s.has(pe) ? pe : o[pe] || "txt" : "txt";
27615
- return q ? {
27616
- id: z,
27617
- ...F,
27611
+ ]), M = Q(() => n.files.map((F) => {
27612
+ const z = F instanceof File, q = z ? F.name : F.original.url, ue = ae(
27613
+ q.toLowerCase()
27614
+ ).replace(/^\./, ""), pe = ue ? s.has(ue) ? ue : o[ue] || "txt" : "txt";
27615
+ return z ? {
27616
+ id: F.lastModified + "-" + F.name.replace(/[\s.]/g, ""),
27618
27617
  originalFile: F,
27619
27618
  name: F.name,
27620
27619
  url: URL.createObjectURL(F),
27621
27620
  type: F.type,
27622
- extension: pe,
27623
- icon: ve,
27621
+ extension: ue,
27622
+ icon: pe,
27624
27623
  isImage: F.type.startsWith("image") && !F.type.includes("tif")
27625
27624
  } : {
27626
27625
  id: F.id,
@@ -27628,8 +27627,8 @@ const gp = /* @__PURE__ */ ze(RW, [["render", BW], ["__scopeId", "data-v-ca6ae8f
27628
27627
  name: F.original.name,
27629
27628
  url: F.original.url,
27630
27629
  type: F.mimetype,
27631
- extension: pe,
27632
- icon: ve,
27630
+ extension: ue,
27631
+ icon: pe,
27633
27632
  isImage: F.mimetype.startsWith("image") && !F.mimetype.includes("tif")
27634
27633
  };
27635
27634
  })), A = Q(() => M.value.filter((F) => F.type.startsWith("image") && !F.type.includes("tif"))), N = Q(() => [
@@ -27887,7 +27886,7 @@ function sG(n, e, t, r, i, s) {
27887
27886
  L(o, {
27888
27887
  icon: h.icon,
27889
27888
  color: "inkwell-30",
27890
- class: "mr-3 shrink-0 p-2 bg-green-20 rounded-lg h-full",
27889
+ class: "h-full -ml-1.5 mt-1 mr-1 rounded-lg shrink-0",
27891
27890
  size: "xl"
27892
27891
  }, null, 8, ["icon"]),
27893
27892
  P("div", qW, [
@@ -28023,7 +28022,7 @@ function sG(n, e, t, r, i, s) {
28023
28022
  })
28024
28023
  ], 8, VW);
28025
28024
  }
28026
- const FI = /* @__PURE__ */ ze(jW, [["render", sG], ["__scopeId", "data-v-84c35eb3"]]), oG = xe({
28025
+ const FI = /* @__PURE__ */ ze(jW, [["render", sG], ["__scopeId", "data-v-82fb8862"]]), oG = xe({
28027
28026
  name: "QWarningModal",
28028
28027
  components: {
28029
28028
  QModal: $I
@@ -40459,8 +40458,8 @@ function UX(n) {
40459
40458
  var q = w.find(function(ue) {
40460
40459
  var pe = A.get(ue);
40461
40460
  if (pe)
40462
- return pe.slice(0, z).every(function(ve) {
40463
- return ve;
40461
+ return pe.slice(0, z).every(function(be) {
40462
+ return be;
40464
40463
  });
40465
40464
  });
40466
40465
  if (q)
@@ -40587,7 +40586,7 @@ function eJ(n) {
40587
40586
  var te, ne = w === "y" ? Gr : qr, Z = w === "y" ? Xi : Ji, Y = w === "y" ? "height" : "width", U = M[w], K = U + g[ne], ee = U - g[Z], ae = h ? -N[Y] / 2 : 0, ye = b === e1 ? A[Y] : N[Y], he = b === e1 ? -N[Y] : -A[Y], le = e.elements.arrow, F = h && le ? wy(le) : {
40588
40587
  width: 0,
40589
40588
  height: 0
40590
- }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : CO(), q = z[ne], ue = z[Z], pe = fd(0, A[Y], F[Y]), ve = S ? A[Y] / 2 - ae - pe - q - $.mainAxis : ye - pe - q - $.mainAxis, Ce = S ? -A[Y] / 2 + ae + pe + ue + $.mainAxis : he + pe + ue + $.mainAxis, Le = e.elements.arrow && Sp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = U + ve - $t - et, Gn = U + Ce - $t, yn = fd(h ? H3(K, Ln) : K, U, h ? $2(ee, Gn) : ee);
40589
+ }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : CO(), q = z[ne], ue = z[Z], pe = fd(0, A[Y], F[Y]), be = S ? A[Y] / 2 - ae - pe - q - $.mainAxis : ye - pe - q - $.mainAxis, Ce = S ? -A[Y] / 2 + ae + pe + ue + $.mainAxis : he + pe + ue + $.mainAxis, Le = e.elements.arrow && Sp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = U + be - $t - et, Gn = U + Ce - $t, yn = fd(h ? H3(K, Ln) : K, U, h ? $2(ee, Gn) : ee);
40591
40590
  M[w] = yn, G[w] = yn - U;
40592
40591
  }
40593
40592
  if (a) {
@@ -41298,14 +41297,14 @@ function jJ(n, e) {
41298
41297
  ie.removeEventListener("mousedown", he, !0), ie.removeEventListener("touchend", he, pl), ie.removeEventListener("touchstart", F, pl), ie.removeEventListener("touchmove", le, pl);
41299
41298
  }
41300
41299
  function ue(ie, Ee) {
41301
- ve(ie, function() {
41300
+ be(ie, function() {
41302
41301
  !w.state.isVisible && M.parentNode && M.parentNode.contains(M) && Ee();
41303
41302
  });
41304
41303
  }
41305
41304
  function pe(ie, Ee) {
41306
- ve(ie, Ee);
41305
+ be(ie, Ee);
41307
41306
  }
41308
- function ve(ie, Ee) {
41307
+ function be(ie, Ee) {
41309
41308
  var Fe = Z().box;
41310
41309
  function yt(st) {
41311
41310
  st.target === Fe && (V4(Fe, "remove", yt), Ee());
@@ -54796,8 +54795,8 @@ function ate(n) {
54796
54795
  var q = w.find(function(ue) {
54797
54796
  var pe = A.get(ue);
54798
54797
  if (pe)
54799
- return pe.slice(0, z).every(function(ve) {
54800
- return ve;
54798
+ return pe.slice(0, z).every(function(be) {
54799
+ return be;
54801
54800
  });
54802
54801
  });
54803
54802
  if (q)
@@ -54925,7 +54924,7 @@ function yte(n) {
54925
54924
  var te, ne = w === "y" ? Kr : Yr, Z = w === "y" ? es : ts, Y = w === "y" ? "height" : "width", U = M[w], K = U + g[ne], ee = U - g[Z], ae = h ? -N[Y] / 2 : 0, ye = b === s1 ? A[Y] : N[Y], he = b === s1 ? -N[Y] : -A[Y], le = e.elements.arrow, F = h && le ? Dy(le) : {
54926
54925
  width: 0,
54927
54926
  height: 0
54928
- }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qO(), q = z[ne], ue = z[Z], pe = md(0, A[Y], F[Y]), ve = S ? A[Y] / 2 - ae - pe - q - $.mainAxis : ye - pe - q - $.mainAxis, Ce = S ? -A[Y] / 2 + ae + pe + ue + $.mainAxis : he + pe + ue + $.mainAxis, Le = e.elements.arrow && kp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = U + ve - $t - et, Gn = U + Ce - $t, yn = md(h ? Z3(K, Ln) : K, U, h ? F2(ee, Gn) : ee);
54927
+ }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qO(), q = z[ne], ue = z[Z], pe = md(0, A[Y], F[Y]), be = S ? A[Y] / 2 - ae - pe - q - $.mainAxis : ye - pe - q - $.mainAxis, Ce = S ? -A[Y] / 2 + ae + pe + ue + $.mainAxis : he + pe + ue + $.mainAxis, Le = e.elements.arrow && kp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = U + be - $t - et, Gn = U + Ce - $t, yn = md(h ? Z3(K, Ln) : K, U, h ? F2(ee, Gn) : ee);
54929
54928
  M[w] = yn, G[w] = yn - U;
54930
54929
  }
54931
54930
  if (a) {
@@ -61498,38 +61497,38 @@ const coe = /* @__PURE__ */ ze(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61498
61497
  width: m,
61499
61498
  height: y
61500
61499
  } = VL(s), g = B(0), v = B(0), b = B(0), S = B(window.innerHeight), w = B(0), E = B(!1), M = B(1), A = B([]), N = B(!1), O = B(0), $ = Q(() => t.value === "desktop"), R = Q(() => M.value * n.itemsPerPage - 1), G = Q(() => n.isFixed && d.value >= b.value), te = Q(() => ne.value > 0), ne = Q(() => s.value ? l.value - m.value : 0), Z = Q(() => (!$.value || E.value) && u.value > 0 && n.modelValue.length && !n.loading), Y = Q(() => (!$.value || E.value) && u.value < ne.value && n.modelValue.length && !n.loading), U = Q(() => {
61501
- const ve = [], Ce = {};
61500
+ const be = [], Ce = {};
61502
61501
  let Le = 0;
61503
61502
  return n.columns.forEach((et) => {
61504
61503
  Ce[et.key] = "";
61505
61504
  }), [...Array(n.skeletonRows)].forEach(() => {
61506
- ve.push({
61505
+ be.push({
61507
61506
  ...Ce,
61508
61507
  shimmer: Le % 2 ? "bg-gray-10" : "bg-gray-30"
61509
61508
  }), Le++;
61510
- }), ve;
61509
+ }), be;
61511
61510
  }), K = Q(() => {
61512
- var ve;
61513
- return Math.ceil(((ve = n.modelValue) == null ? void 0 : ve.length) / n.itemsPerPage) || 1;
61511
+ var be;
61512
+ return Math.ceil(((be = n.modelValue) == null ? void 0 : be.length) / n.itemsPerPage) || 1;
61514
61513
  }), ee = () => {
61515
61514
  var Ce;
61516
- let ve = 0;
61515
+ let be = 0;
61517
61516
  if (te.value) {
61518
61517
  const Le = (((Ce = r.value) == null ? void 0 : Ce.clientHeight) || 0) + n.thHeight, et = o.value.clientHeight + o.value.offsetTop;
61519
- S.value < et ? ve = (S.value - (o.value.offsetTop + Le)) / 2 : ve = (o.value.clientHeight - Le) / 2;
61518
+ S.value < et ? be = (S.value - (o.value.offsetTop + Le)) / 2 : be = (o.value.clientHeight - Le) / 2;
61520
61519
  }
61521
- w.value = ve;
61520
+ w.value = be;
61522
61521
  }, ae = () => {
61523
61522
  u.value = s.value.scrollLeft, c.value = s.value.scrollLeft;
61524
61523
  }, ye = () => {
61525
61524
  c.value = i.value.scrollLeft, u.value = i.value.scrollLeft;
61526
61525
  }, he = async () => {
61527
- const ve = d.value + S.value - n.fixedTopOffset, Ce = b.value + y.value;
61528
- ve > Ce - 400 && M.value < K.value && M.value++, ee();
61529
- }, le = (ve, Ce, Le) => {
61530
- const et = ve.scrollLeft, $t = Ce - et, Ln = performance.now(), Gn = () => {
61526
+ const be = d.value + S.value - n.fixedTopOffset, Ce = b.value + y.value;
61527
+ be > Ce - 400 && M.value < K.value && M.value++, ee();
61528
+ }, le = (be, Ce, Le) => {
61529
+ const et = be.scrollLeft, $t = Ce - et, Ln = performance.now(), Gn = () => {
61531
61530
  const qn = performance.now() - Ln, rs = Math.min(qn / Le, 1);
61532
- ve.scrollLeft = et + $t * rs, rs < 1 && requestAnimationFrame(Gn);
61531
+ be.scrollLeft = et + $t * rs, rs < 1 && requestAnimationFrame(Gn);
61533
61532
  };
61534
61533
  requestAnimationFrame(Gn);
61535
61534
  }, F = () => {
@@ -61544,16 +61543,16 @@ const coe = /* @__PURE__ */ ze(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61544
61543
  u.value + n.leftScrollAmount,
61545
61544
  250
61546
61545
  );
61547
- }, q = (ve, Ce) => {
61546
+ }, q = (be, Ce) => {
61548
61547
  const Le = A.value.indexOf(Ce);
61549
- Le < 0 && ve && (A.value.push(Ce), e("select:row", Ce)), Le >= 0 && !ve && (A.value.splice(Le, 1), e("deselect:row", Ce)), e("update:selected", A.value);
61550
- }, ue = (ve) => {
61548
+ Le < 0 && be && (A.value.push(Ce), e("select:row", Ce)), Le >= 0 && !be && (A.value.splice(Le, 1), e("deselect:row", Ce)), e("update:selected", A.value);
61549
+ }, ue = (be) => {
61551
61550
  const Ce = [];
61552
- ve && n.modelValue.forEach((Le) => {
61551
+ be && n.modelValue.forEach((Le) => {
61553
61552
  Ce.push(Le.id);
61554
61553
  }), A.value = Ce, e("update:selected", A.value);
61555
- }, pe = (ve) => {
61556
- const Ce = ve.key, Le = n.orderBy === "" || n.sortBy !== Ce ? "asc" : n.orderBy === "asc" ? "desc" : "";
61554
+ }, pe = (be) => {
61555
+ const Ce = be.key, Le = n.orderBy === "" || n.sortBy !== Ce ? "asc" : n.orderBy === "asc" ? "desc" : "";
61557
61556
  e("update:sort-by", Ce), e("update:order-by", Le);
61558
61557
  };
61559
61558
  return ct(() => n.modelValue, () => {
@@ -61561,8 +61560,8 @@ const coe = /* @__PURE__ */ ze(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61561
61560
  }), ct(() => n.loading, async () => {
61562
61561
  await En(), ee();
61563
61562
  }), Ct(() => {
61564
- var ve, Ce, Le, et, $t;
61565
- b.value = o.value.offsetTop - n.fixedTopOffset, l.value = (ve = s.value) == null ? void 0 : ve.scrollWidth, O.value = o.value.offsetLeft + 1, g.value = (Le = (Ce = o.value) == null ? void 0 : Ce.querySelector(
61563
+ var be, Ce, Le, et, $t;
61564
+ b.value = o.value.offsetTop - n.fixedTopOffset, l.value = (be = s.value) == null ? void 0 : be.scrollWidth, O.value = o.value.offsetLeft + 1, g.value = (Le = (Ce = o.value) == null ? void 0 : Ce.querySelector(
61566
61565
  "table > thead > tr > th:first-child"
61567
61566
  )) == null ? void 0 : Le.clientWidth, v.value = ($t = (et = o.value) == null ? void 0 : et.querySelector(
61568
61567
  "table > thead > tr > th:last-child"
@@ -78014,8 +78013,8 @@ const hde = xe({
78014
78013
  'div[data-pc-section="header"] > div[data-pc-section="wrapper"]'
78015
78014
  );
78016
78015
  (le = F == null ? void 0 : F.querySelectorAll("th")) == null || le.forEach((z, q) => {
78017
- var ve;
78018
- const ue = (ve = d.value) == null ? void 0 : ve.querySelector(
78016
+ var be;
78017
+ const ue = (be = d.value) == null ? void 0 : be.querySelector(
78019
78018
  `th:nth-child(${q + 1})`
78020
78019
  ), pe = ue == null ? void 0 : ue.getAttribute("aria-sort");
78021
78020
  z == null || z.setAttribute("aria-sort", pe), z.classList.contains("actions") && (z.style.minWidth = (ue == null ? void 0 : ue.clientWidth) + "px");
@@ -78049,9 +78048,9 @@ const hde = xe({
78049
78048
  q == null || q.addEventListener("click", async () => {
78050
78049
  var pe;
78051
78050
  if (s.value && i.value) {
78052
- const ve = (pe = d.value) == null ? void 0 : pe.querySelector(`th:nth-child(${ue + 1})`);
78053
- await (ve == null ? void 0 : ve.click());
78054
- const Ce = ve == null ? void 0 : ve.getAttribute("aria-sort");
78051
+ const be = (pe = d.value) == null ? void 0 : pe.querySelector(`th:nth-child(${ue + 1})`);
78052
+ await (be == null ? void 0 : be.click());
78053
+ const Ce = be == null ? void 0 : be.getAttribute("aria-sort");
78055
78054
  q == null || q.setAttribute("aria-sort", Ce);
78056
78055
  }
78057
78056
  });
@@ -78113,8 +78112,8 @@ const hde = xe({
78113
78112
  ye.remove();
78114
78113
  });
78115
78114
  }, U = () => {
78116
- var q, ue, pe, ve;
78117
- const ee = (q = m.value) == null ? void 0 : q.querySelector(".scroll-button.scroll-left"), ae = (ue = m.value) == null ? void 0 : ue.querySelector(".scroll-button.scroll-right"), ye = (pe = d.value) == null ? void 0 : pe.querySelector("td.sticky:first-child"), he = (ve = m.value) == null ? void 0 : ve.getBoundingClientRect(), le = document.querySelector('div[data-pc-section="header"]'), F = (le == null ? void 0 : le.getBoundingClientRect().height) || 0, z = d.value;
78115
+ var q, ue, pe, be;
78116
+ const ee = (q = m.value) == null ? void 0 : q.querySelector(".scroll-button.scroll-left"), ae = (ue = m.value) == null ? void 0 : ue.querySelector(".scroll-button.scroll-right"), ye = (pe = d.value) == null ? void 0 : pe.querySelector("td.sticky:first-child"), he = (be = m.value) == null ? void 0 : be.getBoundingClientRect(), le = document.querySelector('div[data-pc-section="header"]'), F = (le == null ? void 0 : le.getBoundingClientRect().height) || 0, z = d.value;
78118
78117
  if (m.value && he && z) {
78119
78118
  const Ce = (ye == null ? void 0 : ye.getBoundingClientRect().width) || 0;
78120
78119
  m.value.style.setProperty("--first-sticky-width", `${Ce}px`);
@@ -78916,8 +78915,8 @@ const Qfe = /* @__PURE__ */ ze(Nde, [["render", Rde], ["__scopeId", "data-v-3862
78916
78915
  const K = U.getBoundingClientRect(), ee = d.getCurrentStep.clipPadding ?? 0, ae = n.outlineWidth ?? 4, ye = d.getCurrentStep.clipWidth ?? K.width, he = d.getCurrentStep.clipHeight ?? K.height, le = d.getCurrentStep.clipAlign ?? "center";
78917
78916
  let F, z;
78918
78917
  le === "left" ? F = K.left : le === "right" ? F = K.right - ye : F = K.left + K.width / 2 - ye / 2, le === "top" ? z = K.top : le === "bottom" ? z = K.bottom - he : z = K.top + K.height / 2 - he / 2;
78919
- const q = F + ye, ue = z + he, pe = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${F - ee},${z - ee} L ${q + ee},${z - ee} L ${q + ee},${ue + ee} L ${F - ee},${ue + ee} Z')`, ve = `path('M ${F - ee - ae},${z - ee - ae} L ${q + ee + ae},${z - ee - ae} L ${q + ee + ae},${ue + ee + ae} L ${F - ee - ae},${ue + ee + ae} Z')`;
78920
- Z.style.clipPath = pe, n.highlight && d.getCurrentStep.highlight !== !1 ? Y.style.clipPath = ve : Y.style.clipPath = "none", Z.removeAttribute("data-hidden");
78918
+ const q = F + ye, ue = z + he, pe = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${F - ee},${z - ee} L ${q + ee},${z - ee} L ${q + ee},${ue + ee} L ${F - ee},${ue + ee} Z')`, be = `path('M ${F - ee - ae},${z - ee - ae} L ${q + ee + ae},${z - ee - ae} L ${q + ee + ae},${ue + ee + ae} L ${F - ee - ae},${ue + ee + ae} Z')`;
78919
+ Z.style.clipPath = pe, n.highlight && d.getCurrentStep.highlight !== !1 ? Y.style.clipPath = be : Y.style.clipPath = "none", Z.removeAttribute("data-hidden");
78921
78920
  }, R = () => {
78922
78921
  u.value = !u.value;
78923
78922
  }, G = (Z) => {