golden-logic-ui 1.0.127 → 1.0.128

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.
@@ -186,12 +186,12 @@ function we(e, t, s) {
186
186
  e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
187
187
  var a = e._wrappedGetters, i = {}, l = {}, c = et(!0);
188
188
  c.run(function() {
189
- H(a, function(h, b) {
190
- i[b] = Ot(h, e), l[b] = M(function() {
191
- return i[b]();
192
- }), Object.defineProperty(e.getters, b, {
189
+ H(a, function(h, m) {
190
+ i[m] = Ot(h, e), l[m] = M(function() {
191
+ return i[m]();
192
+ }), Object.defineProperty(e.getters, m, {
193
193
  get: function() {
194
- return l[b].value;
194
+ return l[m].value;
195
195
  },
196
196
  enumerable: !0
197
197
  // for local getters
@@ -214,36 +214,36 @@ function de(e, t, s, n, o) {
214
214
  });
215
215
  }
216
216
  var h = n.context = Pt(e, i, s);
217
- n.forEachMutation(function(b, _) {
217
+ n.forEachMutation(function(m, _) {
218
218
  var $ = i + _;
219
- At(e, $, b, h);
220
- }), n.forEachAction(function(b, _) {
221
- var $ = b.root ? _ : i + _, S = b.handler || b;
219
+ At(e, $, m, h);
220
+ }), n.forEachAction(function(m, _) {
221
+ var $ = m.root ? _ : i + _, S = m.handler || m;
222
222
  Et(e, $, S, h);
223
- }), n.forEachGetter(function(b, _) {
223
+ }), n.forEachGetter(function(m, _) {
224
224
  var $ = i + _;
225
- jt(e, $, b, h);
226
- }), n.forEachChild(function(b, _) {
227
- de(e, t, s.concat(_), b, o);
225
+ jt(e, $, m, h);
226
+ }), n.forEachChild(function(m, _) {
227
+ de(e, t, s.concat(_), m, o);
228
228
  });
229
229
  }
230
230
  function Pt(e, t, s) {
231
231
  var n = t === "", o = {
232
232
  dispatch: n ? e.dispatch : function(a, i, l) {
233
- var c = ie(a, i, l), h = c.payload, b = c.options, _ = c.type;
234
- if ((!b || !b.root) && (_ = t + _, process.env.NODE_ENV !== "production" && !e._actions[_])) {
233
+ var c = ie(a, i, l), h = c.payload, m = c.options, _ = c.type;
234
+ if ((!m || !m.root) && (_ = t + _, process.env.NODE_ENV !== "production" && !e._actions[_])) {
235
235
  console.error("[vuex] unknown local action type: " + c.type + ", global type: " + _);
236
236
  return;
237
237
  }
238
238
  return e.dispatch(_, h);
239
239
  },
240
240
  commit: n ? e.commit : function(a, i, l) {
241
- var c = ie(a, i, l), h = c.payload, b = c.options, _ = c.type;
242
- if ((!b || !b.root) && (_ = t + _, process.env.NODE_ENV !== "production" && !e._mutations[_])) {
241
+ var c = ie(a, i, l), h = c.payload, m = c.options, _ = c.type;
242
+ if ((!m || !m.root) && (_ = t + _, process.env.NODE_ENV !== "production" && !e._mutations[_])) {
243
243
  console.error("[vuex] unknown local mutation type: " + c.type + ", global type: " + _);
244
244
  return;
245
245
  }
246
- e.commit(_, h, b);
246
+ e.commit(_, h, m);
247
247
  }
248
248
  };
249
249
  return Object.defineProperties(o, {
@@ -681,8 +681,8 @@ var L = function e(t) {
681
681
  }, this.commit = function($, S, B) {
682
682
  return h.call(i, $, S, B);
683
683
  }, this.strict = o;
684
- var b = this._modules.root.state;
685
- de(this, b, [], this._modules.root), we(this, b), n.forEach(function(_) {
684
+ var m = this._modules.root.state;
685
+ de(this, m, [], this._modules.root), we(this, m), n.forEach(function(_) {
686
686
  return _(s);
687
687
  });
688
688
  }, $e = { state: { configurable: !0 } };
@@ -698,13 +698,13 @@ $e.state.set = function(e) {
698
698
  process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
699
699
  };
700
700
  L.prototype.commit = function(t, s, n) {
701
- var o = this, a = ie(t, s, n), i = a.type, l = a.payload, c = a.options, h = { type: i, payload: l }, b = this._mutations[i];
702
- if (!b) {
701
+ var o = this, a = ie(t, s, n), i = a.type, l = a.payload, c = a.options, h = { type: i, payload: l }, m = this._mutations[i];
702
+ if (!m) {
703
703
  process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + i);
704
704
  return;
705
705
  }
706
706
  this._withCommit(function() {
707
- b.forEach(function($) {
707
+ m.forEach(function($) {
708
708
  $(l);
709
709
  });
710
710
  }), this._subscribers.slice().forEach(function(_) {
@@ -720,18 +720,18 @@ L.prototype.dispatch = function(t, s) {
720
720
  return;
721
721
  }
722
722
  try {
723
- this._actionSubscribers.slice().filter(function(b) {
724
- return b.before;
725
- }).forEach(function(b) {
726
- return b.before(l, n.state);
723
+ this._actionSubscribers.slice().filter(function(m) {
724
+ return m.before;
725
+ }).forEach(function(m) {
726
+ return m.before(l, n.state);
727
727
  });
728
- } catch (b) {
729
- process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in before action subscribers: "), console.error(b));
728
+ } catch (m) {
729
+ process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in before action subscribers: "), console.error(m));
730
730
  }
731
- var h = c.length > 1 ? Promise.all(c.map(function(b) {
732
- return b(i);
731
+ var h = c.length > 1 ? Promise.all(c.map(function(m) {
732
+ return m(i);
733
733
  })) : c[0](i);
734
- return new Promise(function(b, _) {
734
+ return new Promise(function(m, _) {
735
735
  h.then(function($) {
736
736
  try {
737
737
  n._actionSubscribers.filter(function(S) {
@@ -742,7 +742,7 @@ L.prototype.dispatch = function(t, s) {
742
742
  } catch (S) {
743
743
  process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(S));
744
744
  }
745
- b($);
745
+ m($);
746
746
  }, function($) {
747
747
  try {
748
748
  n._actionSubscribers.filter(function(S) {
@@ -821,10 +821,10 @@ var qt = Xe(function(e, t) {
821
821
  l[c] = arguments[c];
822
822
  var h = this.$store.commit;
823
823
  if (e) {
824
- var b = Je(this.$store, "mapMutations", e);
825
- if (!b)
824
+ var m = Je(this.$store, "mapMutations", e);
825
+ if (!m)
826
826
  return;
827
- h = b.context.commit;
827
+ h = m.context.commit;
828
828
  }
829
829
  return typeof a == "function" ? a.apply(this, [h].concat(l)) : h.apply(this.$store, [a].concat(l));
830
830
  };
@@ -1382,53 +1382,53 @@ const ju = /* @__PURE__ */ D(Er, [["render", Lr]]), Nr = { class: "bg-white bord
1382
1382
  },
1383
1383
  emits: ["update:modelValue", "selected", "selectionChanged"],
1384
1384
  setup(e, { emit: t }) {
1385
- const s = e, n = t, o = C(null), a = C([]), i = C([]), l = C(0), c = C(!1), h = C(""), b = C("");
1385
+ const s = e, n = t, o = C(null), a = C([]), i = C([]), l = C(0), c = C(!1), h = C(""), m = C("");
1386
1386
  F(() => {
1387
- b.value = Q(), s.show || (document.body.addEventListener("click", (m) => {
1388
- ne(m);
1389
- }), document.addEventListener("keypress", (m) => {
1390
- m.key === "Enter" && m.target.form && m.preventDefault();
1387
+ m.value = Q(), s.show || (document.body.addEventListener("click", (b) => {
1388
+ ne(b);
1389
+ }), document.addEventListener("keypress", (b) => {
1390
+ b.key === "Enter" && b.target.form && b.preventDefault();
1391
1391
  }));
1392
1392
  });
1393
1393
  const _ = M(() => y()), $ = M(() => P()), S = M(() => {
1394
- const m = [], v = new RegExp(h.value, "ig");
1394
+ const b = [], v = new RegExp(h.value, "ig");
1395
1395
  for (const x of _.value) {
1396
1396
  const j = String(x.name);
1397
- (h.value.length < 1 || j.match(v)) && m.length < s.maxItem && m.push(x);
1397
+ (h.value.length < 1 || j.match(v)) && b.length < s.maxItem && b.push(x);
1398
1398
  }
1399
- return m;
1399
+ return b;
1400
1400
  });
1401
- function B(m) {
1401
+ function B(b) {
1402
1402
  if ([
1403
1403
  "ArrowLeft",
1404
1404
  "ArrowUp",
1405
1405
  "ArrowRight",
1406
1406
  "ArrowDown",
1407
1407
  "Enter"
1408
- ].includes(m.key)) {
1409
- if (["ArrowUp", "ArrowDown"].includes(m.key) && m.preventDefault(), m.key === "ArrowDown" && s.posts === "")
1408
+ ].includes(b.key)) {
1409
+ if (["ArrowUp", "ArrowDown"].includes(b.key) && b.preventDefault(), b.key === "ArrowDown" && s.posts === "")
1410
1410
  return;
1411
- oe(m.key);
1411
+ oe(b.key);
1412
1412
  }
1413
1413
  }
1414
1414
  function Q() {
1415
- let m = (/* @__PURE__ */ new Date()).getTime();
1415
+ let b = (/* @__PURE__ */ new Date()).getTime();
1416
1416
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
1417
1417
  /[xy]/g,
1418
1418
  function(x) {
1419
- const j = (m + Math.random() * 16) % 16 | 0;
1420
- return m = Math.floor(m / 16), (x === "x" ? j : j & 3 | 8).toString(16);
1419
+ const j = (b + Math.random() * 16) % 16 | 0;
1420
+ return b = Math.floor(b / 16), (x === "x" ? j : j & 3 | 8).toString(16);
1421
1421
  }
1422
1422
  );
1423
1423
  }
1424
- function ee(m) {
1425
- return Array.isArray(m) && m.length > 0 && m.every((v) => typeof v == "object" && v !== null);
1424
+ function ee(b) {
1425
+ return Array.isArray(b) && b.length > 0 && b.every((v) => typeof v == "object" && v !== null);
1426
1426
  }
1427
- function te(m) {
1428
- return m.every((v) => typeof v == "object" && v !== null);
1427
+ function te(b) {
1428
+ return b.every((v) => typeof v == "object" && v !== null);
1429
1429
  }
1430
- function ue(m) {
1431
- return a.value.findIndex((v) => v.id === m) !== -1;
1430
+ function ue(b) {
1431
+ return a.value.findIndex((v) => v.id === b) !== -1;
1432
1432
  }
1433
1433
  function ce() {
1434
1434
  a.value = y();
@@ -1436,60 +1436,60 @@ const ju = /* @__PURE__ */ D(Er, [["render", Lr]]), Nr = { class: "bg-white bord
1436
1436
  function fe() {
1437
1437
  a.value = [];
1438
1438
  }
1439
- function ge(m) {
1440
- let v = a.value.findIndex((x) => x.id === m.id);
1439
+ function ge(b) {
1440
+ let v = a.value.findIndex((x) => x.id === b.id);
1441
1441
  v !== -1 && a.value.splice(v, 1), i.value = a.value.map((x) => x.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1442
1442
  }
1443
- function ne(m) {
1444
- m.target.id != s.field_name + "search" + b.value && m.target.id != s.field_name && !m.target.classList.contains("showOptions") && (re(), l.value = 0);
1443
+ function ne(b) {
1444
+ b.target.id != s.field_name + "search" + m.value && b.target.id != s.field_name && !b.target.classList.contains("showOptions") && (re(), l.value = 0);
1445
1445
  }
1446
- function Z(m) {
1447
- const v = `${m}${b.value}`, x = document.getElementById(v);
1446
+ function Z(b) {
1447
+ const v = `${b}${m.value}`, x = document.getElementById(v);
1448
1448
  x && x.scrollIntoView();
1449
1449
  }
1450
- function he(m) {
1451
- const v = `${m}${b.value}`, x = document.getElementById(v);
1450
+ function he(b) {
1451
+ const v = `${b}${m.value}`, x = document.getElementById(v);
1452
1452
  x && x.click();
1453
1453
  }
1454
- function oe(m) {
1455
- m === "ArrowDown" && l.value < S.value.length && (l.value++, Z(l.value)), m === "ArrowUp" && l.value > 1 && (l.value--, Z(l.value)), m === "Enter" && he(l.value);
1454
+ function oe(b) {
1455
+ b === "ArrowDown" && l.value < S.value.length && (l.value++, Z(l.value)), b === "ArrowUp" && l.value > 1 && (l.value--, Z(l.value)), b === "Enter" && he(l.value);
1456
1456
  }
1457
1457
  function y() {
1458
- return s.options.map((m, v) => typeof m == "object" ? m : { id: m, name: m });
1458
+ return s.options.map((b, v) => typeof b == "object" ? b : { id: b, name: b });
1459
1459
  }
1460
1460
  function P() {
1461
1461
  if (console.log("selected.value", a.value), console.log("isArrayObjectNotEmpty", ee(a.value)), ee(a.value))
1462
1462
  return te(a.value) ? _.value.filter(
1463
- (m) => a.value.some(
1464
- (v) => String(v.id) === String(m.id)
1463
+ (b) => a.value.some(
1464
+ (v) => String(v.id) === String(b.id)
1465
1465
  )
1466
1466
  ) || [] : _.value.filter(
1467
- (m) => a.value.some(
1468
- (v) => String(v) === String(m.id)
1467
+ (b) => a.value.some(
1468
+ (v) => String(v) === String(b.id)
1469
1469
  )
1470
1470
  ) || [];
1471
1471
  if (s.modelValue)
1472
1472
  return te(s.modelValue) ? a.value = _.value.filter(
1473
- (m) => s.modelValue.some(
1474
- (v) => String(v.id) === String(m.id)
1473
+ (b) => s.modelValue.some(
1474
+ (v) => String(v.id) === String(b.id)
1475
1475
  )
1476
1476
  ) || [] : a.value = _.value.filter(
1477
- (m) => s.modelValue.some(
1478
- (v) => String(v) === String(m.id)
1477
+ (b) => s.modelValue.some(
1478
+ (v) => String(v) === String(b.id)
1479
1479
  )
1480
1480
  ) || [];
1481
1481
  }
1482
- function E(m) {
1483
- console.log("selectOption", m);
1484
- let v = a.value.findIndex((x) => x.id === m.id);
1485
- v !== -1 ? a.value.splice(v, 1) : a.value.push(m), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((x) => x.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1482
+ function E(b) {
1483
+ console.log("selectOption", b);
1484
+ let v = a.value.findIndex((x) => x.id === b.id);
1485
+ v !== -1 ? a.value.splice(v, 1) : a.value.push(b), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((x) => x.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1486
1486
  }
1487
1487
  function G() {
1488
1488
  s.show || (h.value = "", c.value = !0, Me(() => {
1489
- var m = document.getElementById(
1490
- `${s.field_name}search${b.value}`
1489
+ var b = document.getElementById(
1490
+ `${s.field_name}search${m.value}`
1491
1491
  );
1492
- m && m.focus();
1492
+ b && b.focus();
1493
1493
  }));
1494
1494
  }
1495
1495
  function re() {
@@ -1497,9 +1497,9 @@ const ju = /* @__PURE__ */ D(Er, [["render", Lr]]), Nr = { class: "bg-white bord
1497
1497
  }
1498
1498
  return q(h, () => {
1499
1499
  S.value.length === 0 && (a.value = []);
1500
- }), q(a, (m) => {
1500
+ }), q(a, (b) => {
1501
1501
  ee(a.value) && (i.value = a.value.map((v) => v.id), n("update:modelValue", i.value));
1502
- }), (m, v) => (d(), u(k, null, [
1502
+ }), (b, v) => (d(), u(k, null, [
1503
1503
  e.show ? (d(), u("div", {
1504
1504
  key: 0,
1505
1505
  class: p(e.field_name)
@@ -1574,7 +1574,7 @@ const ju = /* @__PURE__ */ D(Er, [["render", Lr]]), Nr = { class: "bg-white bord
1574
1574
  type: "search",
1575
1575
  "onUpdate:modelValue": v[1] || (v[1] = (x) => h.value = x),
1576
1576
  ref: o.value,
1577
- id: `${e.field_name}search${b.value}`,
1577
+ id: `${e.field_name}search${m.value}`,
1578
1578
  onKeydown: B,
1579
1579
  onBlur: v[2] || (v[2] = (x) => re()),
1580
1580
  autocomplete: "off",
@@ -1594,7 +1594,7 @@ const ju = /* @__PURE__ */ D(Er, [["render", Lr]]), Nr = { class: "bg-white bord
1594
1594
  onClick: (Se) => E(x),
1595
1595
  onMousedown: (Se) => E(x),
1596
1596
  key: j,
1597
- id: j + 1
1597
+ id: `${j + 1}${m.value}`
1598
1598
  }, g(x.name || x.id || "-"), 43, rs))), 128))
1599
1599
  ])
1600
1600
  ], 512), [
@@ -2334,8 +2334,8 @@ const Uu = /* @__PURE__ */ D(Js, [["render", ea]]), ta = {
2334
2334
  const s = (o) => {
2335
2335
  t.style.cursor = "grabbing";
2336
2336
  const a = (l) => {
2337
- const c = l.clientX || l.touches && l.touches[0] && l.touches[0].clientX, h = l.clientY || l.touches && l.touches[0] && l.touches[0].clientY, b = c - e.initialX, _ = h - e.initialY;
2338
- Math.abs(b) > Math.abs(_) ? (l.preventDefault(), Math.abs(b) >= 70 && (b < 0 ? e.next() : e.prev(), e.initialX = c)) : t.style.cursor = "grab", Math.abs(_) > Math.abs(b) && (t.style.cursor = "grab");
2337
+ const c = l.clientX || l.touches && l.touches[0] && l.touches[0].clientX, h = l.clientY || l.touches && l.touches[0] && l.touches[0].clientY, m = c - e.initialX, _ = h - e.initialY;
2338
+ Math.abs(m) > Math.abs(_) ? (l.preventDefault(), Math.abs(m) >= 70 && (m < 0 ? e.next() : e.prev(), e.initialX = c)) : t.style.cursor = "grab", Math.abs(_) > Math.abs(m) && (t.style.cursor = "grab");
2339
2339
  }, i = () => {
2340
2340
  document.removeEventListener("mousemove", a), document.removeEventListener("touchmove", a), document.removeEventListener("mouseup", i), document.removeEventListener("touchend", i), t.style.cursor = "grab";
2341
2341
  };
@@ -2981,9 +2981,9 @@ const Ru = /* @__PURE__ */ D(ta, [["render", nn], ["__scopeId", "data-v-a94f16a9
2981
2981
  y.key === "Enter" && y.target.form && y.preventDefault();
2982
2982
  }));
2983
2983
  });
2984
- const b = M(() => fe()), _ = M(() => ge()), $ = M(() => {
2984
+ const m = M(() => fe()), _ = M(() => ge()), $ = M(() => {
2985
2985
  const y = [], P = new RegExp(c.value, "ig");
2986
- for (const E of b.value) {
2986
+ for (const E of m.value) {
2987
2987
  const G = String(E.name);
2988
2988
  (c.value.length < 1 || G.match(P)) && y.length < s.maxItem && y.push(E);
2989
2989
  }
@@ -3034,15 +3034,15 @@ const Ru = /* @__PURE__ */ D(ta, [["render", nn], ["__scopeId", "data-v-a94f16a9
3034
3034
  }
3035
3035
  function ge() {
3036
3036
  if (Q(a.value))
3037
- return typeof a.value == "object" ? b.value.find(
3037
+ return typeof a.value == "object" ? m.value.find(
3038
3038
  (y) => String(y.id) === String(a.value.id)
3039
- ) || {} : b.value.find(
3039
+ ) || {} : m.value.find(
3040
3040
  (y) => String(y.id) === String(a.value)
3041
3041
  ) || {};
3042
3042
  if (s.modelValue)
3043
- return typeof s.modelValue == "object" ? b.value.find(
3043
+ return typeof s.modelValue == "object" ? m.value.find(
3044
3044
  (y) => String(y.id) === String(s.modelValue.id)
3045
- ) || {} : b.value.find(
3045
+ ) || {} : m.value.find(
3046
3046
  (y) => String(y.id) === String(s.modelValue)
3047
3047
  ) || {};
3048
3048
  }
@@ -3107,21 +3107,21 @@ const Ru = /* @__PURE__ */ D(ta, [["render", nn], ["__scopeId", "data-v-a94f16a9
3107
3107
  "gl-input-form-invalid": e.error_message !== ""
3108
3108
  }, "pl-8 pr-2 showOptions"]),
3109
3109
  ref: e.field_name,
3110
- onClick: P[0] || (P[0] = (m) => Z()),
3110
+ onClick: P[0] || (P[0] = (b) => Z()),
3111
3111
  value: (re = _.value) == null ? void 0 : re.name,
3112
3112
  placeholder: e.placeholder,
3113
3113
  autocomplete: "off",
3114
3114
  readonly: ""
3115
3115
  }, null, 10, Ln),
3116
3116
  A(r("i", {
3117
- onClick: P[1] || (P[1] = U((m) => he(), ["stop"])),
3117
+ onClick: P[1] || (P[1] = U((b) => he(), ["stop"])),
3118
3118
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
3119
3119
  style: { top: "13px" }
3120
3120
  }, null, 512), [
3121
3121
  [X, Q(_.value) && e.has_cancel]
3122
3122
  ]),
3123
3123
  r("i", {
3124
- onClick: P[2] || (P[2] = (m) => !l.value && Z()),
3124
+ onClick: P[2] || (P[2] = (b) => !l.value && Z()),
3125
3125
  class: p([l.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
3126
3126
  style: { top: "11px" }
3127
3127
  }, null, 2)
@@ -3133,11 +3133,11 @@ const Ru = /* @__PURE__ */ D(ta, [["render", nn], ["__scopeId", "data-v-a94f16a9
3133
3133
  Gn,
3134
3134
  A(r("input", {
3135
3135
  type: "search",
3136
- "onUpdate:modelValue": P[3] || (P[3] = (m) => c.value = m),
3136
+ "onUpdate:modelValue": P[3] || (P[3] = (b) => c.value = b),
3137
3137
  ref: o.value,
3138
3138
  id: `${e.field_name}search${h.value}`,
3139
3139
  onKeydown: S,
3140
- onBlur: P[4] || (P[4] = (m) => oe()),
3140
+ onBlur: P[4] || (P[4] = (b) => oe()),
3141
3141
  autocomplete: "off",
3142
3142
  class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
3143
3143
  placeholder: "Search ..."
@@ -3147,18 +3147,18 @@ const Ru = /* @__PURE__ */ D(ta, [["render", nn], ["__scopeId", "data-v-a94f16a9
3147
3147
  ])
3148
3148
  ]),
3149
3149
  r("div", Rn, [
3150
- (d(!0), u(k, null, O($.value, (m, v) => {
3150
+ (d(!0), u(k, null, O($.value, (b, v) => {
3151
3151
  var x;
3152
3152
  return d(), u("div", {
3153
3153
  class: p(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", v + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
3154
- onClick: (j) => ne(m),
3155
- onMousedown: (j) => ne(m),
3154
+ onClick: (j) => ne(b),
3155
+ onMousedown: (j) => ne(b),
3156
3156
  key: v,
3157
3157
  id: `${v + 1}${h.value}`
3158
3158
  }, [
3159
3159
  r("div", qn, [
3160
- ((x = _.value) == null ? void 0 : x.id) === m.id ? (d(), u("svg", Hn, Zn)) : f("", !0),
3161
- r("span", null, g(m.name || m.id || "-"), 1)
3160
+ ((x = _.value) == null ? void 0 : x.id) === b.id ? (d(), u("svg", Hn, Zn)) : f("", !0),
3161
+ r("span", null, g(b.name || b.id || "-"), 1)
3162
3162
  ])
3163
3163
  ], 42, Fn);
3164
3164
  }), 128))
@@ -3724,7 +3724,7 @@ function qo(e, t, s, n, o, a) {
3724
3724
  r("tr", null, [
3725
3725
  (d(!0), u(k, null, O(s.columns, (c, h) => (d(), u("th", {
3726
3726
  key: h,
3727
- onClick: (b) => a.updateSortColumn(c.field_name, c.sortable),
3727
+ onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
3728
3728
  class: "w-full px-4 py-2 lg:w-2/12"
3729
3729
  }, [
3730
3730
  w(g(c.field_label) + " ", 1),
@@ -3744,22 +3744,22 @@ function qo(e, t, s, n, o, a) {
3744
3744
  key: h,
3745
3745
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
3746
3746
  }, [
3747
- (d(!0), u(k, null, O(s.columns, (b, _) => (d(), u("td", {
3747
+ (d(!0), u(k, null, O(s.columns, (m, _) => (d(), u("td", {
3748
3748
  key: _,
3749
- "data-label": b.field_label,
3749
+ "data-label": m.field_label,
3750
3750
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
3751
3751
  }, [
3752
3752
  r("div", Ro, [
3753
- b.tdComp ? (d(), J(pe(a.forDynCompIs(b.tdComp)), {
3753
+ m.tdComp ? (d(), J(pe(a.forDynCompIs(m.tdComp)), {
3754
3754
  key: 0,
3755
3755
  row: c,
3756
- field: b.field_name,
3756
+ field: m.field_name,
3757
3757
  xprops: s.xprops,
3758
- tdProps: b.tdProps,
3758
+ tdProps: m.tdProps,
3759
3759
  onDeleteAction: t[3] || (t[3] = ($) => a.GetItemLists()),
3760
3760
  onEditAction: ($) => a.editAction(c)
3761
3761
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(k, { key: 1 }, [
3762
- w(g(c[b.field_name]), 1)
3762
+ w(g(c[m.field_name]), 1)
3763
3763
  ], 64))
3764
3764
  ])
3765
3765
  ], 8, Uo))), 128))
@@ -3979,14 +3979,14 @@ function El(e, t, s, n, o, a) {
3979
3979
  key: c,
3980
3980
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
3981
3981
  }, [
3982
- (d(!0), u(k, null, O(s.columns, (h, b) => (d(), u("td", {
3983
- key: b,
3982
+ (d(!0), u(k, null, O(s.columns, (h, m) => (d(), u("td", {
3983
+ key: m,
3984
3984
  "data-label": h,
3985
3985
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
3986
3986
  }, [
3987
3987
  r("p", {
3988
3988
  class: "text-pretty",
3989
- innerHTML: l[b]
3989
+ innerHTML: l[m]
3990
3990
  }, null, 8, dl)
3991
3991
  ], 8, il))), 128))
3992
3992
  ]))), 128))
@@ -4252,9 +4252,9 @@ const Ku = /* @__PURE__ */ D(Ho, [["render", El]]), jl = {
4252
4252
  a.value = !1;
4253
4253
  }, h = () => {
4254
4254
  a.value = !0;
4255
- }, b = t, _ = () => {
4255
+ }, m = t, _ = () => {
4256
4256
  axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
4257
- c(), b("deleteAction"), s.commit("notification/SHOW_NOTIFICATION", {
4257
+ c(), m("deleteAction"), s.commit("notification/SHOW_NOTIFICATION", {
4258
4258
  message: "Item deleted successfully.",
4259
4259
  type: "success",
4260
4260
  duration: 5e3
@@ -4358,9 +4358,9 @@ const Ku = /* @__PURE__ */ D(Ho, [["render", El]]), jl = {
4358
4358
  a.value = !1;
4359
4359
  }, h = () => {
4360
4360
  a.value = !0;
4361
- }, b = t, _ = () => {
4361
+ }, m = t, _ = () => {
4362
4362
  axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
4363
- c(), b("deleteAction"), s.commit("notification/SHOW_NOTIFICATION", {
4363
+ c(), m("deleteAction"), s.commit("notification/SHOW_NOTIFICATION", {
4364
4364
  message: "Item deleted successfully.",
4365
4365
  type: "success",
4366
4366
  duration: 5e3