golden-logic-ui 1.0.158 → 1.0.160

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.
@@ -1,4 +1,4 @@
1
- import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as H, effectScope as rt, computed as E, reactive as Le, resolveComponent as z, Fragment as w, createVNode as q, normalizeClass as p, toDisplayString as h, withModifiers as F, withDirectives as A, vModelText as G, renderList as D, normalizeStyle as st, renderSlot as M, ref as C, onMounted as R, createTextVNode as $, vShow as Q, nextTick as Te, createBlock as Z, resolveDynamicComponent as le, mergeProps as ae, withCtx as ie, vModelDynamic as at, provide as Me, pushScopeId as nt, popScopeId as ot, vModelCheckbox as lt, toHandlers as be, onUnmounted as it, TransitionGroup as dt, unref as ut, resolveDirective as Ie, markRaw as ct } from "vue";
1
+ import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as H, effectScope as rt, computed as E, reactive as Le, resolveComponent as z, Fragment as w, createVNode as q, normalizeClass as p, toDisplayString as h, withModifiers as T, withDirectives as P, vModelText as U, renderList as D, normalizeStyle as st, renderSlot as I, ref as C, onMounted as R, createTextVNode as $, vShow as Q, nextTick as Te, createBlock as Z, resolveDynamicComponent as le, mergeProps as ae, withCtx as ie, vModelDynamic as at, provide as Me, pushScopeId as nt, popScopeId as ot, vModelCheckbox as lt, toHandlers as be, onUnmounted as it, TransitionGroup as dt, unref as ut, resolveDirective as Ie, markRaw as ct } from "vue";
2
2
  const O = (e, r) => {
3
3
  const s = e.__vccOpts || e;
4
4
  for (const [n, o] of r)
@@ -158,14 +158,14 @@ function K(e, r) {
158
158
  function Ge(e) {
159
159
  return e !== null && typeof e == "object";
160
160
  }
161
- function Pt(e) {
161
+ function At(e) {
162
162
  return e && typeof e.then == "function";
163
163
  }
164
- function V(e, r) {
164
+ function B(e, r) {
165
165
  if (!e)
166
166
  throw new Error("[vuex] " + r);
167
167
  }
168
- function At(e, r) {
168
+ function Pt(e, r) {
169
169
  return function() {
170
170
  return e(r);
171
171
  };
@@ -187,7 +187,7 @@ function ke(e, r, s) {
187
187
  var a = e._wrappedGetters, i = {}, l = {}, c = rt(!0);
188
188
  c.run(function() {
189
189
  K(a, function(f, m) {
190
- i[m] = At(f, e), l[m] = E(function() {
190
+ i[m] = Pt(f, e), l[m] = E(function() {
191
191
  return i[m]();
192
192
  }), Object.defineProperty(e.getters, m, {
193
193
  get: function() {
@@ -295,7 +295,7 @@ function Lt(e, r, s, n) {
295
295
  rootGetters: e.getters,
296
296
  rootState: e.state
297
297
  }, i);
298
- return Pt(l) || (l = Promise.resolve(l)), e._devtoolHook ? l.catch(function(c) {
298
+ return At(l) || (l = Promise.resolve(l)), e._devtoolHook ? l.catch(function(c) {
299
299
  throw e._devtoolHook.emit("vuex:error", c), c;
300
300
  }) : l;
301
301
  });
@@ -322,7 +322,7 @@ function Mt(e) {
322
322
  H(function() {
323
323
  return e._state.data;
324
324
  }, function() {
325
- process.env.NODE_ENV !== "production" && V(e._committing, "do not mutate vuex store state outside mutation handlers.");
325
+ process.env.NODE_ENV !== "production" && B(e._committing, "do not mutate vuex store state outside mutation handlers.");
326
326
  }, { deep: !0, flush: "sync" });
327
327
  }
328
328
  function $e(e, r) {
@@ -331,7 +331,7 @@ function $e(e, r) {
331
331
  }, e);
332
332
  }
333
333
  function de(e, r, s) {
334
- return Ge(e) && e.type && (s = r, r = e, e = e.type), process.env.NODE_ENV !== "production" && V(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: r, options: s };
334
+ return Ge(e) && e.type && (s = r, r = e, e = e.type), process.env.NODE_ENV !== "production" && B(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: r, options: s };
335
335
  }
336
336
  var It = "vuex bindings", Oe = "vuex:mutations", pe = "vuex:actions", J = "vuex", Nt = 0;
337
337
  function Vt(e, r) {
@@ -349,11 +349,11 @@ function Vt(e, r) {
349
349
  s.addTimelineLayer({
350
350
  id: Oe,
351
351
  label: "Vuex Mutations",
352
- color: Pe
352
+ color: Ae
353
353
  }), s.addTimelineLayer({
354
354
  id: pe,
355
355
  label: "Vuex Actions",
356
- color: Pe
356
+ color: Ae
357
357
  }), s.addInspector({
358
358
  id: J,
359
359
  label: "Vuex",
@@ -432,7 +432,7 @@ function Vt(e, r) {
432
432
  }
433
433
  );
434
434
  }
435
- var Pe = 8702998, Bt = 6710886, Gt = 16777215, qe = {
435
+ var Ae = 8702998, Bt = 6710886, Gt = 16777215, qe = {
436
436
  label: "namespaced",
437
437
  textColor: Gt,
438
438
  backgroundColor: Bt
@@ -537,7 +537,7 @@ function _e(e) {
537
537
  return r;
538
538
  }
539
539
  }
540
- var B = function(r, s) {
540
+ var G = function(r, s) {
541
541
  this.runtime = s, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = r;
542
542
  var n = r.state;
543
543
  this.state = (typeof n == "function" ? n() : n) || {};
@@ -545,34 +545,34 @@ var B = function(r, s) {
545
545
  Ke.namespaced.get = function() {
546
546
  return !!this._rawModule.namespaced;
547
547
  };
548
- B.prototype.addChild = function(r, s) {
548
+ G.prototype.addChild = function(r, s) {
549
549
  this._children[r] = s;
550
550
  };
551
- B.prototype.removeChild = function(r) {
551
+ G.prototype.removeChild = function(r) {
552
552
  delete this._children[r];
553
553
  };
554
- B.prototype.getChild = function(r) {
554
+ G.prototype.getChild = function(r) {
555
555
  return this._children[r];
556
556
  };
557
- B.prototype.hasChild = function(r) {
557
+ G.prototype.hasChild = function(r) {
558
558
  return r in this._children;
559
559
  };
560
- B.prototype.update = function(r) {
560
+ G.prototype.update = function(r) {
561
561
  this._rawModule.namespaced = r.namespaced, r.actions && (this._rawModule.actions = r.actions), r.mutations && (this._rawModule.mutations = r.mutations), r.getters && (this._rawModule.getters = r.getters);
562
562
  };
563
- B.prototype.forEachChild = function(r) {
563
+ G.prototype.forEachChild = function(r) {
564
564
  K(this._children, r);
565
565
  };
566
- B.prototype.forEachGetter = function(r) {
566
+ G.prototype.forEachGetter = function(r) {
567
567
  this._rawModule.getters && K(this._rawModule.getters, r);
568
568
  };
569
- B.prototype.forEachAction = function(r) {
569
+ G.prototype.forEachAction = function(r) {
570
570
  this._rawModule.actions && K(this._rawModule.actions, r);
571
571
  };
572
- B.prototype.forEachMutation = function(r) {
572
+ G.prototype.forEachMutation = function(r) {
573
573
  this._rawModule.mutations && K(this._rawModule.mutations, r);
574
574
  };
575
- Object.defineProperties(B.prototype, Ke);
575
+ Object.defineProperties(G.prototype, Ke);
576
576
  var W = function(r) {
577
577
  this.register([], r, !1);
578
578
  };
@@ -593,7 +593,7 @@ W.prototype.update = function(r) {
593
593
  W.prototype.register = function(r, s, n) {
594
594
  var o = this;
595
595
  n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Ye(r, s);
596
- var a = new B(s, n);
596
+ var a = new G(s, n);
597
597
  if (r.length === 0)
598
598
  this.root = a;
599
599
  else {
@@ -634,7 +634,7 @@ function We(e, r, s) {
634
634
  );
635
635
  }
636
636
  }
637
- var Ae = {
637
+ var Pe = {
638
638
  assert: function(e) {
639
639
  return typeof e == "function";
640
640
  },
@@ -645,8 +645,8 @@ var Ae = {
645
645
  },
646
646
  expected: 'function or object with "handler" function'
647
647
  }, je = {
648
- getters: Ae,
649
- mutations: Ae,
648
+ getters: Pe,
649
+ mutations: Pe,
650
650
  actions: qt
651
651
  };
652
652
  function Ye(e, r) {
@@ -654,7 +654,7 @@ function Ye(e, r) {
654
654
  if (r[s]) {
655
655
  var n = je[s];
656
656
  K(r[s], function(o, a) {
657
- V(
657
+ B(
658
658
  n.assert(o),
659
659
  Ht(e, s, a, o, n.expected)
660
660
  );
@@ -666,9 +666,9 @@ function Ht(e, r, s, n, o) {
666
666
  var a = r + " should be " + o + ' but "' + r + "." + s + '"';
667
667
  return e.length > 0 && (a += ' in module "' + e.join(".") + '"'), a += " is " + JSON.stringify(n) + ".", a;
668
668
  }
669
- var I = function e(r) {
669
+ var N = function e(r) {
670
670
  var s = this;
671
- r === void 0 && (r = {}), process.env.NODE_ENV !== "production" && (V(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), V(this instanceof e, "store must be called with the new operator."));
671
+ r === void 0 && (r = {}), process.env.NODE_ENV !== "production" && (B(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), B(this instanceof e, "store must be called with the new operator."));
672
672
  var n = r.plugins;
673
673
  n === void 0 && (n = []);
674
674
  var o = r.strict;
@@ -678,15 +678,15 @@ var I = function e(r) {
678
678
  var i = this, l = this, c = l.dispatch, f = l.commit;
679
679
  this.dispatch = function(v, S) {
680
680
  return c.call(i, v, S);
681
- }, this.commit = function(v, S, N) {
682
- return f.call(i, v, S, N);
681
+ }, this.commit = function(v, S, V) {
682
+ return f.call(i, v, S, V);
683
683
  }, this.strict = o;
684
684
  var m = this._modules.root.state;
685
685
  ue(this, m, [], this._modules.root), ke(this, m), n.forEach(function(_) {
686
686
  return _(s);
687
687
  });
688
688
  }, Ce = { state: { configurable: !0 } };
689
- I.prototype.install = function(r, s) {
689
+ N.prototype.install = function(r, s) {
690
690
  r.provide(s || Ve, this), r.config.globalProperties.$store = this;
691
691
  var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
692
692
  n && Vt(r, this);
@@ -695,9 +695,9 @@ Ce.state.get = function() {
695
695
  return this._state.data;
696
696
  };
697
697
  Ce.state.set = function(e) {
698
- process.env.NODE_ENV !== "production" && V(!1, "use store.replaceState() to explicit replace store state.");
698
+ process.env.NODE_ENV !== "production" && B(!1, "use store.replaceState() to explicit replace store state.");
699
699
  };
700
- I.prototype.commit = function(r, s, n) {
700
+ N.prototype.commit = function(r, s, n) {
701
701
  var o = this, a = de(r, s, n), i = a.type, l = a.payload, c = a.options, f = { type: i, payload: l }, m = this._mutations[i];
702
702
  if (!m) {
703
703
  process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + i);
@@ -713,7 +713,7 @@ I.prototype.commit = function(r, s, n) {
713
713
  "[vuex] mutation type: " + i + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
714
714
  );
715
715
  };
716
- I.prototype.dispatch = function(r, s) {
716
+ N.prototype.dispatch = function(r, s) {
717
717
  var n = this, o = de(r, s), a = o.type, i = o.payload, l = { type: a, payload: i }, c = this._actions[a];
718
718
  if (!c) {
719
719
  process.env.NODE_ENV !== "production" && console.error("[vuex] unknown action type: " + a);
@@ -757,46 +757,46 @@ I.prototype.dispatch = function(r, s) {
757
757
  });
758
758
  });
759
759
  };
760
- I.prototype.subscribe = function(r, s) {
760
+ N.prototype.subscribe = function(r, s) {
761
761
  return Ue(r, this._subscribers, s);
762
762
  };
763
- I.prototype.subscribeAction = function(r, s) {
763
+ N.prototype.subscribeAction = function(r, s) {
764
764
  var n = typeof r == "function" ? { before: r } : r;
765
765
  return Ue(n, this._actionSubscribers, s);
766
766
  };
767
- I.prototype.watch = function(r, s, n) {
767
+ N.prototype.watch = function(r, s, n) {
768
768
  var o = this;
769
- return process.env.NODE_ENV !== "production" && V(typeof r == "function", "store.watch only accepts a function."), H(function() {
769
+ return process.env.NODE_ENV !== "production" && B(typeof r == "function", "store.watch only accepts a function."), H(function() {
770
770
  return r(o.state, o.getters);
771
771
  }, s, Object.assign({}, n));
772
772
  };
773
- I.prototype.replaceState = function(r) {
773
+ N.prototype.replaceState = function(r) {
774
774
  var s = this;
775
775
  this._withCommit(function() {
776
776
  s._state.data = r;
777
777
  });
778
778
  };
779
- I.prototype.registerModule = function(r, s, n) {
780
- n === void 0 && (n = {}), typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && (V(Array.isArray(r), "module path must be a string or an Array."), V(r.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(r, s), ue(this, this.state, r, this._modules.get(r), n.preserveState), ke(this, this.state);
779
+ N.prototype.registerModule = function(r, s, n) {
780
+ n === void 0 && (n = {}), typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && (B(Array.isArray(r), "module path must be a string or an Array."), B(r.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(r, s), ue(this, this.state, r, this._modules.get(r), n.preserveState), ke(this, this.state);
781
781
  };
782
- I.prototype.unregisterModule = function(r) {
782
+ N.prototype.unregisterModule = function(r) {
783
783
  var s = this;
784
- typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && V(Array.isArray(r), "module path must be a string or an Array."), this._modules.unregister(r), this._withCommit(function() {
784
+ typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && B(Array.isArray(r), "module path must be a string or an Array."), this._modules.unregister(r), this._withCommit(function() {
785
785
  var n = $e(s.state, r.slice(0, -1));
786
786
  delete n[r[r.length - 1]];
787
787
  }), Fe(this);
788
788
  };
789
- I.prototype.hasModule = function(r) {
790
- return typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && V(Array.isArray(r), "module path must be a string or an Array."), this._modules.isRegistered(r);
789
+ N.prototype.hasModule = function(r) {
790
+ return typeof r == "string" && (r = [r]), process.env.NODE_ENV !== "production" && B(Array.isArray(r), "module path must be a string or an Array."), this._modules.isRegistered(r);
791
791
  };
792
- I.prototype.hotUpdate = function(r) {
792
+ N.prototype.hotUpdate = function(r) {
793
793
  this._modules.update(r), Fe(this, !0);
794
794
  };
795
- I.prototype._withCommit = function(r) {
795
+ N.prototype._withCommit = function(r) {
796
796
  var s = this._committing;
797
797
  this._committing = !0, r(), this._committing = s;
798
798
  };
799
- Object.defineProperties(I.prototype, Ce);
799
+ Object.defineProperties(N.prototype, Ce);
800
800
  var zt = Je(function(e, r) {
801
801
  var s = {};
802
802
  return process.env.NODE_ENV !== "production" && !Se(r) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Xe(r).forEach(function(n) {
@@ -1047,9 +1047,9 @@ function $r(e, r, s, n, o, a) {
1047
1047
  })
1048
1048
  }, h(s.label_name), 3),
1049
1049
  t("div", {
1050
- onDragover: r[3] || (r[3] = F((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
1051
- onDragleave: r[4] || (r[4] = F((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
1052
- onDrop: r[5] || (r[5] = F((...l) => a.onDrop && a.onDrop(...l), ["prevent"])),
1050
+ onDragover: r[3] || (r[3] = T((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
1051
+ onDragleave: r[4] || (r[4] = T((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
1052
+ onDrop: r[5] || (r[5] = T((...l) => a.onDrop && a.onDrop(...l), ["prevent"])),
1053
1053
  class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
1054
1054
  }, [
1055
1055
  t("div", Wt, [
@@ -1060,12 +1060,12 @@ function $r(e, r, s, n, o, a) {
1060
1060
  multiple: s.has_multiple_file,
1061
1061
  onChange: r[0] || (r[0] = (...l) => a.uploadFiles && a.uploadFiles(...l))
1062
1062
  }, null, 40, Yt),
1063
- A(t("input", {
1063
+ P(t("input", {
1064
1064
  type: "hidden",
1065
1065
  name: s.field_name,
1066
1066
  "onUpdate:modelValue": r[1] || (r[1] = (l) => a.uploadedFileIds = l)
1067
1067
  }, null, 8, Xt), [
1068
- [G, a.uploadedFileIds]
1068
+ [U, a.uploadedFileIds]
1069
1069
  ]),
1070
1070
  o.isDragging ? (d(), u("div", tr, sr)) : (d(), u("div", {
1071
1071
  key: 0,
@@ -1178,7 +1178,7 @@ const bc = /* @__PURE__ */ O(Kt, [["render", $r]]), Cr = {
1178
1178
  viewBox: "0 0 20 20"
1179
1179
  }, [
1180
1180
  /* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z" })
1181
- ], -1), Dr = /* @__PURE__ */ t("span", { class: "sr-only" }, "Info", -1), Or = { class: "mr-3 text-sm font-medium ms-3" }, Pr = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Ar = /* @__PURE__ */ t("svg", {
1181
+ ], -1), Dr = /* @__PURE__ */ t("span", { class: "sr-only" }, "Info", -1), Or = { class: "mr-3 text-sm font-medium ms-3" }, Ar = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Pr = /* @__PURE__ */ t("svg", {
1182
1182
  class: "w-3 h-3",
1183
1183
  "aria-hidden": "true",
1184
1184
  xmlns: "http://www.w3.org/2000/svg",
@@ -1193,8 +1193,8 @@ const bc = /* @__PURE__ */ O(Kt, [["render", $r]]), Cr = {
1193
1193
  d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
1194
1194
  })
1195
1195
  ], -1), jr = [
1196
- Pr,
1197
- Ar
1196
+ Ar,
1197
+ Pr
1198
1198
  ];
1199
1199
  function Er(e, r, s, n, o, a) {
1200
1200
  return e.notification.show ? (d(), u("div", {
@@ -1291,11 +1291,11 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1291
1291
  t("div", Vr, [
1292
1292
  t("div", Br, [
1293
1293
  t("h3", Gr, [
1294
- M(n.$slots, "header")
1294
+ I(n.$slots, "header")
1295
1295
  ])
1296
1296
  ]),
1297
1297
  n.$slots.body ? (d(), u("div", Ur, [
1298
- M(n.$slots, "body")
1298
+ I(n.$slots, "body")
1299
1299
  ])) : g("", !0)
1300
1300
  ])
1301
1301
  ], 2));
@@ -1390,7 +1390,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1390
1390
  b.key === "Enter" && b.target.form && b.preventDefault();
1391
1391
  }));
1392
1392
  });
1393
- const _ = E(() => y()), v = E(() => P()), S = E(() => {
1393
+ const _ = E(() => y()), v = E(() => A()), S = E(() => {
1394
1394
  const b = [], x = new RegExp(f.value, "ig");
1395
1395
  for (const k of _.value) {
1396
1396
  const L = String(k.name);
@@ -1398,7 +1398,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1398
1398
  }
1399
1399
  return b;
1400
1400
  });
1401
- function N(b) {
1401
+ function V(b) {
1402
1402
  if ([
1403
1403
  "ArrowLeft",
1404
1404
  "ArrowUp",
@@ -1457,7 +1457,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1457
1457
  function y() {
1458
1458
  return s.options.map((b, x) => typeof b == "object" ? b : { id: b, name: b });
1459
1459
  }
1460
- function P() {
1460
+ function A() {
1461
1461
  if (console.log("selected.value", a.value), console.log("isArrayObjectNotEmpty", te(a.value)), te(a.value))
1462
1462
  return re(a.value) ? _.value.filter(
1463
1463
  (b) => a.value.some(
@@ -1484,7 +1484,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1484
1484
  let x = a.value.findIndex((k) => k.id === b.id);
1485
1485
  x !== -1 ? a.value.splice(x, 1) : a.value.push(b), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((k) => k.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1486
1486
  }
1487
- function U() {
1487
+ function F() {
1488
1488
  s.show || (f.value = "", c.value = !0, Te(() => {
1489
1489
  var b = document.getElementById(
1490
1490
  `${s.field_name}search${m.value}`
@@ -1547,7 +1547,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1547
1547
  t("div", Wr, [
1548
1548
  t("div", {
1549
1549
  class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
1550
- onClick: x[0] || (x[0] = (k) => U())
1550
+ onClick: x[0] || (x[0] = (k) => F())
1551
1551
  }, [
1552
1552
  (d(!0), u(w, null, D(v.value, (k, L) => (d(), u("span", {
1553
1553
  key: L,
@@ -1555,7 +1555,7 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1555
1555
  }, [
1556
1556
  $(h(k == null ? void 0 : k.name) + " ", 1),
1557
1557
  t("i", {
1558
- onClick: F((De) => he(k), ["stop"]),
1558
+ onClick: T((De) => he(k), ["stop"]),
1559
1559
  class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
1560
1560
  }, null, 8, Yr)
1561
1561
  ]))), 128))
@@ -1565,23 +1565,23 @@ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white bord
1565
1565
  style: { top: "11px" }
1566
1566
  }, null, 2)
1567
1567
  ]),
1568
- A(t("div", Xr, [
1568
+ P(t("div", Xr, [
1569
1569
  t("div", Jr, [
1570
1570
  Qr,
1571
1571
  t("div", es, [
1572
1572
  ts,
1573
- A(t("input", {
1573
+ P(t("input", {
1574
1574
  type: "search",
1575
1575
  "onUpdate:modelValue": x[1] || (x[1] = (k) => f.value = k),
1576
1576
  ref: o.value,
1577
1577
  id: `${e.field_name}search${m.value}`,
1578
- onKeydown: N,
1578
+ onKeydown: V,
1579
1579
  onBlur: x[2] || (x[2] = (k) => se()),
1580
1580
  autocomplete: "off",
1581
1581
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
1582
1582
  placeholder: "Search ..."
1583
1583
  }, null, 40, rs), [
1584
- [G, f.value]
1584
+ [U, f.value]
1585
1585
  ])
1586
1586
  ])
1587
1587
  ]),
@@ -1702,7 +1702,7 @@ function ls(e, r, s, n, o, a) {
1702
1702
  key: 0,
1703
1703
  class: p([s.icon, "text-base"])
1704
1704
  }, null, 2)) : g("", !0),
1705
- M(e.$slots, "default")
1705
+ I(e.$slots, "default")
1706
1706
  ]),
1707
1707
  _: 3
1708
1708
  }, 16, ["type", "disabled", "href", "class"]));
@@ -1782,7 +1782,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
1782
1782
  class: p(e.field_name)
1783
1783
  }, [
1784
1784
  t("h3", is, h(e.label_name), 1),
1785
- A(t("input", {
1785
+ P(t("input", {
1786
1786
  type: "hidden",
1787
1787
  "data-i18n": "true",
1788
1788
  name: e.field_name + "_i18n",
@@ -1791,7 +1791,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
1791
1791
  ref: i,
1792
1792
  "onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
1793
1793
  }, null, 8, ds), [
1794
- [G, l.inputTranslateValue]
1794
+ [U, l.inputTranslateValue]
1795
1795
  ]),
1796
1796
  t("p", {
1797
1797
  id: e.field_name,
@@ -1922,7 +1922,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
1922
1922
  class: p(e.field_name)
1923
1923
  }, [
1924
1924
  t("h3", ys, h(e.label_name), 1),
1925
- A(t("input", {
1925
+ P(t("input", {
1926
1926
  type: "hidden",
1927
1927
  "data-i18n": "true",
1928
1928
  name: e.field_name + "_i18n",
@@ -1931,7 +1931,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
1931
1931
  ref: i,
1932
1932
  "onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
1933
1933
  }, null, 8, _s), [
1934
- [G, l.inputTranslateValue]
1934
+ [U, l.inputTranslateValue]
1935
1935
  ]),
1936
1936
  t("p", {
1937
1937
  id: e.field_name,
@@ -1982,7 +1982,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
1982
1982
  ], 2))
1983
1983
  ], 64));
1984
1984
  }
1985
- }, Os = { class: "font-bold ptext-lg dark:text-white" }, Ps = ["name", "id"], As = ["id"], js = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Es = ["for"], Ls = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ts = ["name", "id"], Ms = ["required", "name", "id", "type"], Is = { class: "gl-span-form-error" }, Ns = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, $c = {
1985
+ }, Os = { class: "font-bold ptext-lg dark:text-white" }, As = ["name", "id"], Ps = ["id"], js = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Es = ["for"], Ls = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ts = ["name", "id"], Ms = ["required", "name", "id", "type"], Is = { class: "gl-span-form-error" }, Ns = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, $c = {
1986
1986
  __name: "GlTextTranslate",
1987
1987
  props: {
1988
1988
  is_required: {
@@ -2057,20 +2057,20 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
2057
2057
  class: p(e.field_name)
2058
2058
  }, [
2059
2059
  t("h3", Os, h(e.label_name), 1),
2060
- A(t("input", {
2060
+ P(t("input", {
2061
2061
  type: "hidden",
2062
2062
  "data-i18n": "true",
2063
2063
  name: e.field_name + "_i18n",
2064
2064
  id: e.field_name + "_i18n",
2065
2065
  ref: "input_translate_s",
2066
2066
  "onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
2067
- }, null, 8, Ps), [
2068
- [G, l.inputTranslateValue]
2067
+ }, null, 8, As), [
2068
+ [U, l.inputTranslateValue]
2069
2069
  ]),
2070
2070
  t("p", {
2071
2071
  id: e.field_name,
2072
2072
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
2073
- }, h(e.model_value), 9, As),
2073
+ }, h(e.model_value), 9, Ps),
2074
2074
  js
2075
2075
  ], 2)) : g("", !0),
2076
2076
  e.show ? g("", !0) : (d(), u("div", {
@@ -2194,7 +2194,7 @@ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold pte
2194
2194
  }),
2195
2195
  for: e.field_name
2196
2196
  }, h(e.label_name), 11, Us),
2197
- A(t("input", {
2197
+ P(t("input", {
2198
2198
  required: e.is_required,
2199
2199
  name: e.field_name,
2200
2200
  id: e.field_name,
@@ -2252,7 +2252,7 @@ function Qs(e, r, s, n, o, a) {
2252
2252
  t("div", Ys, [
2253
2253
  t("div", Xs, [
2254
2254
  t("div", Js, [
2255
- M(e.$slots, "default")
2255
+ I(e.$slots, "default")
2256
2256
  ])
2257
2257
  ])
2258
2258
  ])
@@ -2271,7 +2271,7 @@ const Sc = /* @__PURE__ */ O(Hs, [["render", Qs]]), ea = {
2271
2271
  };
2272
2272
  function ra(e, r, s, n, o, a) {
2273
2273
  return s.title == n.selectedTitle ? (d(), u("div", ta, [
2274
- M(e.$slots, "default")
2274
+ I(e.$slots, "default")
2275
2275
  ])) : g("", !0);
2276
2276
  }
2277
2277
  const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
@@ -2373,7 +2373,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2373
2373
  this.direction_property == "rtl" ? r.style.marginRight = -this.dotsNavigation[e - 1] + "px" : r.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
2374
2374
  }
2375
2375
  }
2376
- }, T = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e), aa = ["id"], na = {
2376
+ }, M = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e), aa = ["id"], na = {
2377
2377
  key: 0,
2378
2378
  class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
2379
2379
  }, oa = { class: "w-full" }, la = {
@@ -2384,7 +2384,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2384
2384
  viewBox: "0 0 24 24",
2385
2385
  stroke: "currentColor",
2386
2386
  "stroke-width": "2"
2387
- }, ia = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2387
+ }, ia = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2388
2388
  "stroke-linecap": "round",
2389
2389
  "stroke-linejoin": "round",
2390
2390
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2398,7 +2398,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2398
2398
  viewBox: "0 0 24 24",
2399
2399
  stroke: "currentColor",
2400
2400
  "stroke-width": "2"
2401
- }, ca = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2401
+ }, ca = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2402
2402
  "stroke-linecap": "round",
2403
2403
  "stroke-linejoin": "round",
2404
2404
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2412,7 +2412,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2412
2412
  viewBox: "0 0 24 24",
2413
2413
  stroke: "currentColor",
2414
2414
  "stroke-width": "2"
2415
- }, pa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2415
+ }, pa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2416
2416
  "stroke-linecap": "round",
2417
2417
  "stroke-linejoin": "round",
2418
2418
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2426,7 +2426,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2426
2426
  viewBox: "0 0 24 24",
2427
2427
  stroke: "currentColor",
2428
2428
  "stroke-width": "2"
2429
- }, va = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2429
+ }, va = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2430
2430
  "stroke-linecap": "round",
2431
2431
  "stroke-linejoin": "round",
2432
2432
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2440,7 +2440,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2440
2440
  viewBox: "0 0 24 24",
2441
2441
  stroke: "currentColor",
2442
2442
  "stroke-width": "2"
2443
- }, $a = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2443
+ }, $a = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2444
2444
  "stroke-linecap": "round",
2445
2445
  "stroke-linejoin": "round",
2446
2446
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2454,18 +2454,18 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2454
2454
  viewBox: "0 0 24 24",
2455
2455
  stroke: "currentColor",
2456
2456
  "stroke-width": "2"
2457
- }, Da = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2457
+ }, Da = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2458
2458
  "stroke-linecap": "round",
2459
2459
  "stroke-linejoin": "round",
2460
2460
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2461
2461
  }, null, -1)), Oa = [
2462
2462
  Da
2463
- ], Pa = ["onClick"], Aa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), ja = [
2464
- Aa
2463
+ ], Aa = ["onClick"], Pa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("span", null, null, -1)), ja = [
2464
+ Pa
2465
2465
  ], Ea = {
2466
2466
  key: 1,
2467
2467
  class: "flex justify-between pl-5 pr-5"
2468
- }, La = ["onClick"], Ta = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), Ma = [
2468
+ }, La = ["onClick"], Ta = /* @__PURE__ */ M(() => /* @__PURE__ */ t("span", null, null, -1)), Ma = [
2469
2469
  Ta
2470
2470
  ], Ia = {
2471
2471
  key: 0,
@@ -2478,7 +2478,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2478
2478
  viewBox: "0 0 24 24",
2479
2479
  stroke: "currentColor",
2480
2480
  "stroke-width": "2"
2481
- }, Ga = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2481
+ }, Ga = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2482
2482
  "stroke-linecap": "round",
2483
2483
  "stroke-linejoin": "round",
2484
2484
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2492,7 +2492,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2492
2492
  viewBox: "0 0 24 24",
2493
2493
  stroke: "currentColor",
2494
2494
  "stroke-width": "2"
2495
- }, Ra = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2495
+ }, Ra = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2496
2496
  "stroke-linecap": "round",
2497
2497
  "stroke-linejoin": "round",
2498
2498
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2506,7 +2506,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2506
2506
  viewBox: "0 0 24 24",
2507
2507
  stroke: "currentColor",
2508
2508
  "stroke-width": "2"
2509
- }, Ka = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2509
+ }, Ka = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2510
2510
  "stroke-linecap": "round",
2511
2511
  "stroke-linejoin": "round",
2512
2512
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2520,7 +2520,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2520
2520
  viewBox: "0 0 24 24",
2521
2521
  stroke: "currentColor",
2522
2522
  "stroke-width": "2"
2523
- }, Xa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2523
+ }, Xa = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2524
2524
  "stroke-linecap": "round",
2525
2525
  "stroke-linejoin": "round",
2526
2526
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2537,7 +2537,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2537
2537
  viewBox: "0 0 24 24",
2538
2538
  stroke: "currentColor",
2539
2539
  "stroke-width": "2"
2540
- }, rn = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2540
+ }, rn = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2541
2541
  "stroke-linecap": "round",
2542
2542
  "stroke-linejoin": "round",
2543
2543
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2551,7 +2551,7 @@ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2551
2551
  viewBox: "0 0 24 24",
2552
2552
  stroke: "currentColor",
2553
2553
  "stroke-width": "2"
2554
- }, nn = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2554
+ }, nn = /* @__PURE__ */ M(() => /* @__PURE__ */ t("path", {
2555
2555
  "stroke-linecap": "round",
2556
2556
  "stroke-linejoin": "round",
2557
2557
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2590,14 +2590,14 @@ function ln(e, r, s, n, o, a) {
2590
2590
  t("div", ma, [
2591
2591
  t("button", {
2592
2592
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2593
- onClick: r[1] || (r[1] = F((i) => a.prev(), ["stop"]))
2593
+ onClick: r[1] || (r[1] = T((i) => a.prev(), ["stop"]))
2594
2594
  }, [
2595
2595
  s.direction_property == "ltr" ? (d(), u("svg", ba, ya)) : g("", !0),
2596
2596
  s.direction_property == "rtl" ? (d(), u("svg", _a, xa)) : g("", !0)
2597
2597
  ])
2598
2598
  ])
2599
2599
  ], 2)) : g("", !0),
2600
- M(e.$slots, "default", {}, void 0, !0),
2600
+ I(e.$slots, "default", {}, void 0, !0),
2601
2601
  e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
2602
2602
  key: 1,
2603
2603
  class: p(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", s.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
@@ -2605,7 +2605,7 @@ function ln(e, r, s, n, o, a) {
2605
2605
  t("div", wa, [
2606
2606
  t("button", {
2607
2607
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2608
- onClick: r[2] || (r[2] = F((i) => a.next(), ["stop"]))
2608
+ onClick: r[2] || (r[2] = T((i) => a.next(), ["stop"]))
2609
2609
  }, [
2610
2610
  s.direction_property == "ltr" ? (d(), u("svg", ka, Ca)) : g("", !0),
2611
2611
  s.direction_property == "rtl" ? (d(), u("svg", Sa, Oa)) : g("", !0)
@@ -2622,7 +2622,7 @@ function ln(e, r, s, n, o, a) {
2622
2622
  class: p(["gl-dot", { active: e.currentDot == i }]),
2623
2623
  key: i,
2624
2624
  onClick: (l) => a.setDot(i)
2625
- }, ja, 10, Pa))), 128))
2625
+ }, ja, 10, Aa))), 128))
2626
2626
  ], 2)) : g("", !0),
2627
2627
  s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ea, [
2628
2628
  t("div", {
@@ -2695,7 +2695,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
2695
2695
  ])
2696
2696
  ], -1), hn = [
2697
2697
  fn
2698
- ], mn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Pc = {
2698
+ ], mn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Ac = {
2699
2699
  __name: "GlModal",
2700
2700
  props: {
2701
2701
  is_open: {
@@ -2730,7 +2730,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
2730
2730
  l ? o() : a();
2731
2731
  },
2732
2732
  { immediate: !0, deep: !0 }
2733
- ), (l, c) => A((d(), u("div", dn, [
2733
+ ), (l, c) => P((d(), u("div", dn, [
2734
2734
  t("div", {
2735
2735
  class: p(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", e.max_width])
2736
2736
  }, [
@@ -2747,10 +2747,10 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
2747
2747
  t("div", {
2748
2748
  class: p(["relative overflow-y-auto", e.bodyClass])
2749
2749
  }, [
2750
- M(l.$slots, "body")
2750
+ I(l.$slots, "body")
2751
2751
  ], 2),
2752
2752
  t("div", mn, [
2753
- M(l.$slots, "buttons"),
2753
+ I(l.$slots, "buttons"),
2754
2754
  t("button", {
2755
2755
  onClick: i,
2756
2756
  type: "button",
@@ -2766,7 +2766,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
2766
2766
  }, bn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, pn = { class: "relative inline-flex items-center cursor-pointer" }, yn = ["name", "id", "checked"], _n = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), vn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), xn = {
2767
2767
  key: 0,
2768
2768
  class: "flex justify-between items-center"
2769
- }, wn = { class: "gl-label-form" }, kn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ac = {
2769
+ }, wn = { class: "gl-label-form" }, kn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Pc = {
2770
2770
  __name: "GlToggleBox",
2771
2771
  props: {
2772
2772
  is_required: {
@@ -2857,7 +2857,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
2857
2857
  t("li", kn, [
2858
2858
  $(h(e.label_name) + " ", 1),
2859
2859
  t("label", $n, [
2860
- A(t("input", {
2860
+ P(t("input", {
2861
2861
  type: "checkbox",
2862
2862
  class: "sr-only peer",
2863
2863
  name: e.field_name,
@@ -2878,7 +2878,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
2878
2878
  ], 2))
2879
2879
  ], 64));
2880
2880
  }
2881
- }, Pn = { class: "font-bold ptext-lg dark:text-white" }, An = { class: "mt-3 mb-4" }, jn = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, En = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ln = ["name", "id", "value"], Tn = {
2881
+ }, An = { class: "font-bold ptext-lg dark:text-white" }, Pn = { class: "mt-3 mb-4" }, jn = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, En = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ln = ["name", "id", "value"], Tn = {
2882
2882
  key: 0,
2883
2883
  class: "dropdown"
2884
2884
  }, Mn = { class: "focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, In = { class: "relative showOptions" }, Nn = ["value", "placeholder"], Vn = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Bn = { class: "p-1" }, Gn = /* @__PURE__ */ t("label", {
@@ -2977,17 +2977,17 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
2977
2977
  setup(e, { emit: r }) {
2978
2978
  const s = e, n = r, o = C(null), a = C({}), i = C(0), l = C(!1), c = C(""), f = C("");
2979
2979
  R(() => {
2980
- f.value = N(), s.show || (document.body.addEventListener("click", (y) => {
2980
+ f.value = V(), s.show || (document.body.addEventListener("click", (y) => {
2981
2981
  te(y);
2982
2982
  }), document.addEventListener("keypress", (y) => {
2983
2983
  y.key === "Enter" && y.target.form && y.preventDefault();
2984
2984
  }));
2985
2985
  });
2986
2986
  const m = E(() => fe()), _ = E(() => he()), v = E(() => {
2987
- const y = [], P = new RegExp(c.value, "ig");
2987
+ const y = [], A = new RegExp(c.value, "ig");
2988
2988
  for (const j of m.value) {
2989
- const U = String(j.name);
2990
- (c.value.length < 1 || U.match(P)) && y.length < s.maxItem && y.push(j);
2989
+ const F = String(j.name);
2990
+ (c.value.length < 1 || F.match(A)) && y.length < s.maxItem && y.push(j);
2991
2991
  }
2992
2992
  return y;
2993
2993
  });
@@ -3004,13 +3004,13 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
3004
3004
  ge(y.key);
3005
3005
  }
3006
3006
  }
3007
- function N() {
3007
+ function V() {
3008
3008
  let y = (/* @__PURE__ */ new Date()).getTime();
3009
3009
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
3010
3010
  /[xy]/g,
3011
3011
  function(j) {
3012
- const U = (y + Math.random() * 16) % 16 | 0;
3013
- return y = Math.floor(y / 16), (j === "x" ? U : U & 3 | 8).toString(16);
3012
+ const F = (y + Math.random() * 16) % 16 | 0;
3013
+ return y = Math.floor(y / 16), (j === "x" ? F : F & 3 | 8).toString(16);
3014
3014
  }
3015
3015
  );
3016
3016
  }
@@ -3021,18 +3021,18 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
3021
3021
  y.target.id != s.field_name + "search" + f.value && y.target.id != s.field_name && !y.target.classList.contains("showOptions") && (oe(), i.value = 0);
3022
3022
  }
3023
3023
  function re(y) {
3024
- const P = `${y}${f.value}`, j = document.getElementById(P);
3024
+ const A = `${y}${f.value}`, j = document.getElementById(A);
3025
3025
  j && j.scrollIntoView();
3026
3026
  }
3027
3027
  function ce(y) {
3028
- const P = `${y}${f.value}`, j = document.getElementById(P);
3028
+ const A = `${y}${f.value}`, j = document.getElementById(A);
3029
3029
  j && j.click();
3030
3030
  }
3031
3031
  function ge(y) {
3032
3032
  y === "ArrowDown" && i.value < v.value.length && (i.value++, re(i.value)), y === "ArrowUp" && i.value > 1 && (i.value--, re(i.value)), y === "Enter" && ce(i.value);
3033
3033
  }
3034
3034
  function fe() {
3035
- return s.options.map((y, P) => typeof y == "object" ? y : { id: y, name: y });
3035
+ return s.options.map((y, A) => typeof y == "object" ? y : { id: y, name: y });
3036
3036
  }
3037
3037
  function he() {
3038
3038
  if (ee(a.value))
@@ -3069,15 +3069,15 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
3069
3069
  v.value.length === 0 && (a.value = {});
3070
3070
  }), H(a, (y) => {
3071
3071
  ee(y) && n("update:modelValue", y.id);
3072
- }), (y, P) => {
3073
- var j, U, se;
3072
+ }), (y, A) => {
3073
+ var j, F, se;
3074
3074
  return d(), u(w, null, [
3075
3075
  e.show ? (d(), u("div", {
3076
3076
  key: 0,
3077
3077
  class: p(e.field_name)
3078
3078
  }, [
3079
- t("h3", Pn, h(e.label_name), 1),
3080
- t("p", An, [
3079
+ t("h3", An, h(e.label_name), 1),
3080
+ t("p", Pn, [
3081
3081
  t("span", jn, h((j = _.value) == null ? void 0 : j.name), 1)
3082
3082
  ]),
3083
3083
  En
@@ -3090,7 +3090,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
3090
3090
  type: "hidden",
3091
3091
  name: e.field_name,
3092
3092
  id: e.field_name,
3093
- value: (U = _.value) == null ? void 0 : U.id
3093
+ value: (F = _.value) == null ? void 0 : F.id
3094
3094
  }, null, 8, Ln),
3095
3095
  e.options ? (d(), u("div", Tn, [
3096
3096
  e.label_name ? (d(), u("label", {
@@ -3109,42 +3109,42 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
3109
3109
  "gl-input-form-invalid": e.error_message !== ""
3110
3110
  }, "pl-8 pr-2 showOptions"]),
3111
3111
  ref: e.field_name,
3112
- onClick: P[0] || (P[0] = (b) => Y()),
3112
+ onClick: A[0] || (A[0] = (b) => Y()),
3113
3113
  value: (se = _.value) == null ? void 0 : se.name,
3114
3114
  placeholder: e.placeholder,
3115
3115
  autocomplete: "off",
3116
3116
  readonly: ""
3117
3117
  }, null, 10, Nn),
3118
- A(t("i", {
3119
- onClick: P[1] || (P[1] = F((b) => me(), ["stop"])),
3118
+ P(t("i", {
3119
+ onClick: A[1] || (A[1] = T((b) => me(), ["stop"])),
3120
3120
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
3121
3121
  style: { top: "13px" }
3122
3122
  }, null, 512), [
3123
3123
  [Q, ee(_.value) && e.has_cancel]
3124
3124
  ]),
3125
3125
  t("i", {
3126
- onClick: P[2] || (P[2] = (b) => !l.value && Y()),
3126
+ onClick: A[2] || (A[2] = (b) => !l.value && Y()),
3127
3127
  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"]),
3128
3128
  style: { top: "11px" }
3129
3129
  }, null, 2)
3130
3130
  ]),
3131
- A(t("div", Vn, [
3131
+ P(t("div", Vn, [
3132
3132
  t("div", Bn, [
3133
3133
  Gn,
3134
3134
  t("div", Un, [
3135
3135
  Fn,
3136
- A(t("input", {
3136
+ P(t("input", {
3137
3137
  type: "search",
3138
- "onUpdate:modelValue": P[3] || (P[3] = (b) => c.value = b),
3138
+ "onUpdate:modelValue": A[3] || (A[3] = (b) => c.value = b),
3139
3139
  ref: o.value,
3140
3140
  id: `${e.field_name}search${f.value}`,
3141
3141
  onKeydown: S,
3142
- onBlur: P[4] || (P[4] = (b) => oe()),
3142
+ onBlur: A[4] || (A[4] = (b) => oe()),
3143
3143
  autocomplete: "off",
3144
3144
  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",
3145
3145
  placeholder: "Search ..."
3146
3146
  }, null, 40, Rn), [
3147
- [G, c.value]
3147
+ [U, c.value]
3148
3148
  ])
3149
3149
  ])
3150
3150
  ]),
@@ -3260,7 +3260,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
3260
3260
  }),
3261
3261
  for: e.field_name
3262
3262
  }, h(e.label_name), 11, ro),
3263
- A(t("textarea", {
3263
+ P(t("textarea", {
3264
3264
  required: e.is_required,
3265
3265
  name: e.field_name,
3266
3266
  id: e.field_name,
@@ -3276,7 +3276,7 @@ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9
3276
3276
  rows: "4",
3277
3277
  placeholder: e.placeholder
3278
3278
  }, null, 42, so), [
3279
- [G, i.value]
3279
+ [U, i.value]
3280
3280
  ]),
3281
3281
  t("span", ao, h(e.error_message), 1),
3282
3282
  t("small", no, h(e.description), 1)
@@ -3497,7 +3497,7 @@ function xo(e, r, s, n, o, a) {
3497
3497
  "aria-label": "Previous",
3498
3498
  tabindex: !l.computed.prevPageUrl && -1
3499
3499
  }, be(l.prevButtonEvents, !0)), [
3500
- M(e.$slots, "prev-nav", {}, () => [
3500
+ I(e.$slots, "prev-nav", {}, () => [
3501
3501
  mo,
3502
3502
  bo
3503
3503
  ])
@@ -3525,7 +3525,7 @@ function xo(e, r, s, n, o, a) {
3525
3525
  "aria-label": "Next",
3526
3526
  tabindex: !l.computed.nextPageUrl && -1
3527
3527
  }, be(l.nextButtonEvents, !0)), [
3528
- M(e.$slots, "next-nav", {}, () => [
3528
+ I(e.$slots, "next-nav", {}, () => [
3529
3529
  _o,
3530
3530
  vo
3531
3531
  ])
@@ -3565,7 +3565,7 @@ const et = /* @__PURE__ */ O(lo, [["render", xo]]), wo = {
3565
3565
  page: 1
3566
3566
  };
3567
3567
  },
3568
- emits: ["editAction"],
3568
+ emits: ["editAction", "generalAction"],
3569
3569
  computed: {
3570
3570
  filteredData() {
3571
3571
  const e = this.search.toLowerCase();
@@ -3578,6 +3578,9 @@ const et = /* @__PURE__ */ O(lo, [["render", xo]]), wo = {
3578
3578
  editAction(e) {
3579
3579
  this.$emit("editAction", e);
3580
3580
  },
3581
+ generalAction(e) {
3582
+ this.$emit("generalAction", e);
3583
+ },
3581
3584
  forDynCompIs(e) {
3582
3585
  return typeof e == "object" ? e : null;
3583
3586
  },
@@ -3617,10 +3620,10 @@ const et = /* @__PURE__ */ O(lo, [["render", xo]]), wo = {
3617
3620
  this.isMounted && e !== r && this.GetItemLists();
3618
3621
  }
3619
3622
  }
3620
- }, ko = { class: "p-2" }, $o = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Co = { class: "flex items-center gap-2" }, So = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Do = { style: { "margin-top": "9px" } }, Oo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Po = /* @__PURE__ */ t("label", {
3623
+ }, ko = { class: "p-2" }, $o = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Co = { class: "flex items-center gap-2" }, So = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Do = { style: { "margin-top": "9px" } }, Oo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Ao = /* @__PURE__ */ t("label", {
3621
3624
  for: "table-search",
3622
3625
  class: "sr-only"
3623
- }, "Search", -1), Ao = { class: "relative" }, jo = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3626
+ }, "Search", -1), Po = { class: "relative" }, jo = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3624
3627
  /* @__PURE__ */ t("svg", {
3625
3628
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
3626
3629
  "aria-hidden": "true",
@@ -3708,17 +3711,17 @@ function zo(e, r, s, n, o, a) {
3708
3711
  ]),
3709
3712
  Oo
3710
3713
  ]),
3711
- Po,
3712
- t("div", Ao, [
3714
+ Ao,
3715
+ t("div", Po, [
3713
3716
  jo,
3714
- A(t("input", {
3717
+ P(t("input", {
3715
3718
  type: "text",
3716
3719
  "onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
3717
3720
  onInput: r[2] || (r[2] = (c) => a.handleSearch()),
3718
3721
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
3719
3722
  placeholder: "Search ..."
3720
3723
  }, null, 544), [
3721
- [G, o.search]
3724
+ [U, o.search]
3722
3725
  ])
3723
3726
  ])
3724
3727
  ]),
@@ -3761,8 +3764,9 @@ function zo(e, r, s, n, o, a) {
3761
3764
  xprops: s.xprops,
3762
3765
  tdProps: m.tdProps,
3763
3766
  onDeleteAction: r[3] || (r[3] = (v) => a.GetItemLists()),
3764
- onEditAction: (v) => a.editAction(c)
3765
- }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(w, { key: 1 }, [
3767
+ onEditAction: (v) => a.editAction(c),
3768
+ onGeneralAction: (v) => a.generalAction(c)
3769
+ }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (d(), u(w, { key: 1 }, [
3766
3770
  $(h(c[m.field_name]), 1)
3767
3771
  ], 64))
3768
3772
  ])
@@ -3969,14 +3973,14 @@ function _l(e, r, s, n, o, a) {
3969
3973
  el,
3970
3974
  t("div", tl, [
3971
3975
  rl,
3972
- A(t("input", {
3976
+ P(t("input", {
3973
3977
  type: "text",
3974
3978
  "onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
3975
3979
  onInput: r[2] || (r[2] = (c) => a.handleSearch()),
3976
3980
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
3977
3981
  placeholder: "Search ..."
3978
3982
  }, null, 544), [
3979
- [G, o.search]
3983
+ [U, o.search]
3980
3984
  ])
3981
3985
  ])
3982
3986
  ]),
@@ -4025,8 +4029,8 @@ function _l(e, r, s, n, o, a) {
4025
4029
  field: v.field_name,
4026
4030
  xprops: s.xprops,
4027
4031
  tdProps: v.tdProps,
4028
- onDeleteAction: r[3] || (r[3] = (N) => a.GetItemLists()),
4029
- onEditAction: (N) => a.editAction(m)
4032
+ onDeleteAction: r[3] || (r[3] = (V) => a.GetItemLists()),
4033
+ onEditAction: (V) => a.editAction(m)
4030
4034
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(w, { key: 1 }, [
4031
4035
  $(h(m[v.field_name]), 1)
4032
4036
  ], 64))
@@ -4132,7 +4136,7 @@ const Tc = /* @__PURE__ */ O(Zo, [["render", _l]]), vl = {
4132
4136
  }, xl = { class: "p-2" }, wl = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, kl = { class: "flex items-center gap-2" }, $l = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Cl = { style: { "margin-top": "9px" } }, Sl = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Dl = /* @__PURE__ */ t("label", {
4133
4137
  for: "table-search",
4134
4138
  class: "sr-only"
4135
- }, "Search", -1), Ol = { class: "relative" }, Pl = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
4139
+ }, "Search", -1), Ol = { class: "relative" }, Al = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
4136
4140
  /* @__PURE__ */ t("svg", {
4137
4141
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
4138
4142
  "aria-hidden": "true",
@@ -4146,7 +4150,7 @@ const Tc = /* @__PURE__ */ O(Zo, [["render", _l]]), vl = {
4146
4150
  "clip-rule": "evenodd"
4147
4151
  })
4148
4152
  ])
4149
- ], -1), Al = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, jl = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, El = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Ll = ["onClick"], Tl = {
4153
+ ], -1), Pl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, jl = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, El = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Ll = ["onClick"], Tl = {
4150
4154
  key: 0,
4151
4155
  class: "ml-2"
4152
4156
  }, Ml = {
@@ -4217,18 +4221,18 @@ function oi(e, r, s, n, o, a) {
4217
4221
  ]),
4218
4222
  Dl,
4219
4223
  t("div", Ol, [
4220
- Pl,
4221
- A(t("input", {
4224
+ Al,
4225
+ P(t("input", {
4222
4226
  type: "text",
4223
4227
  "onUpdate:modelValue": r[1] || (r[1] = (l) => o.search = l),
4224
4228
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
4225
4229
  placeholder: "Search ..."
4226
4230
  }, null, 512), [
4227
- [G, o.search]
4231
+ [U, o.search]
4228
4232
  ])
4229
4233
  ])
4230
4234
  ]),
4231
- t("div", Al, [
4235
+ t("div", Pl, [
4232
4236
  t("table", jl, [
4233
4237
  t("thead", El, [
4234
4238
  t("tr", null, [
@@ -4267,13 +4271,13 @@ function oi(e, r, s, n, o, a) {
4267
4271
  t("div", Gl, [
4268
4272
  t("a", {
4269
4273
  href: "#",
4270
- onClick: r[2] || (r[2] = (...l) => a.previousPage && a.previousPage(...l)),
4274
+ onClick: r[2] || (r[2] = T((...l) => a.previousPage && a.previousPage(...l), ["prevent"])),
4271
4275
  disabled: o.currentPage === 1,
4272
4276
  class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
4273
4277
  }, "Previous", 8, Ul),
4274
4278
  t("a", {
4275
4279
  href: "#",
4276
- onClick: r[3] || (r[3] = (...l) => a.nextPage && a.nextPage(...l)),
4280
+ onClick: r[3] || (r[3] = T((...l) => a.nextPage && a.nextPage(...l), ["prevent"])),
4277
4281
  disabled: o.currentPage === a.totalPages,
4278
4282
  class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
4279
4283
  }, "Next", 8, Fl)
@@ -4296,7 +4300,7 @@ function oi(e, r, s, n, o, a) {
4296
4300
  t("li", null, [
4297
4301
  t("a", {
4298
4302
  href: "#",
4299
- onClick: r[4] || (r[4] = (...l) => a.previousPage && a.previousPage(...l)),
4303
+ onClick: r[4] || (r[4] = T((...l) => a.previousPage && a.previousPage(...l), ["prevent"])),
4300
4304
  disabled: o.currentPage === 1,
4301
4305
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
4302
4306
  }, Ql, 8, Yl)
@@ -4306,7 +4310,7 @@ function oi(e, r, s, n, o, a) {
4306
4310
  o.currentPage !== l ? (d(), u("a", {
4307
4311
  key: 0,
4308
4312
  href: "#",
4309
- onClick: (c) => a.goToPage(l),
4313
+ onClick: T((c) => a.goToPage(l), ["prevent"]),
4310
4314
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
4311
4315
  }, h(l), 9, ei)) : g("", !0)
4312
4316
  ]),
@@ -4314,7 +4318,7 @@ function oi(e, r, s, n, o, a) {
4314
4318
  o.currentPage === l ? (d(), u("a", {
4315
4319
  key: 0,
4316
4320
  href: "#",
4317
- onClick: (c) => a.goToPage(l),
4321
+ onClick: T((c) => a.goToPage(l), ["prevent"]),
4318
4322
  "aria-current": "page",
4319
4323
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
4320
4324
  }, h(l), 9, ti)) : g("", !0)
@@ -4323,7 +4327,7 @@ function oi(e, r, s, n, o, a) {
4323
4327
  t("li", null, [
4324
4328
  t("a", {
4325
4329
  href: "#",
4326
- onClick: r[5] || (r[5] = (...l) => a.nextPage && a.nextPage(...l)),
4330
+ onClick: r[5] || (r[5] = T((...l) => a.nextPage && a.nextPage(...l), ["prevent"])),
4327
4331
  disabled: o.currentPage === a.totalPages,
4328
4332
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
4329
4333
  }, ni, 8, ri)
@@ -4357,7 +4361,7 @@ const Mc = /* @__PURE__ */ O(vl, [["render", oi]]), li = {
4357
4361
  };
4358
4362
  function ii(e, r, s, n, o, a) {
4359
4363
  return d(), u("div", null, [
4360
- M(e.$slots, "default")
4364
+ I(e.$slots, "default")
4361
4365
  ]);
4362
4366
  }
4363
4367
  const Ic = /* @__PURE__ */ O(li, [["render", ii]]), di = {
@@ -4441,7 +4445,7 @@ function pi(e, r, s, n, o, a) {
4441
4445
  "border-t-0": n.isLastAccordion
4442
4446
  }, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
4443
4447
  }, [
4444
- M(e.$slots, "default")
4448
+ I(e.$slots, "default")
4445
4449
  ], 2)) : g("", !0)
4446
4450
  ]);
4447
4451
  }
@@ -4487,9 +4491,9 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4487
4491
  viewBox: "0 0 20 20"
4488
4492
  }, [
4489
4493
  /* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
4490
- ], -1), Pi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Warning icon", -1), Ai = [
4494
+ ], -1), Ai = /* @__PURE__ */ t("span", { class: "sr-only" }, "Warning icon", -1), Pi = [
4491
4495
  Oi,
4492
- Pi
4496
+ Ai
4493
4497
  ], ji = { class: "ml-3 text-sm font-normal" }, Ei = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Li = /* @__PURE__ */ t("svg", {
4494
4498
  "aria-hidden": "true",
4495
4499
  class: "w-5 h-5",
@@ -4528,7 +4532,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4528
4532
  return (o, a) => (d(), u("div", yi, [
4529
4533
  s.type === "success" ? (d(), u("div", _i, wi)) : g("", !0),
4530
4534
  s.type === "error" ? (d(), u("div", ki, Si)) : g("", !0),
4531
- s.type === "warning" ? (d(), u("div", Di, Ai)) : g("", !0),
4535
+ s.type === "warning" ? (d(), u("div", Di, Pi)) : g("", !0),
4532
4536
  t("div", ji, h(s.message), 1),
4533
4537
  t("button", {
4534
4538
  onClick: a[0] || (a[0] = (i) => n("remove")),
@@ -4644,20 +4648,20 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4644
4648
  });
4645
4649
  };
4646
4650
  return (v, S) => {
4647
- const N = Ie("click-outside");
4651
+ const V = Ie("click-outside");
4648
4652
  return d(), u(w, null, [
4649
4653
  q(we, {
4650
4654
  isOpen: a.value,
4651
4655
  onConfirmDelete: _,
4652
4656
  onCancelDelete: c
4653
4657
  }, null, 8, ["isOpen"]),
4654
- e.row && v.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? A((d(), u("div", Ni, [
4658
+ e.row && v.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? P((d(), u("div", Ni, [
4655
4659
  t("button", {
4656
4660
  onClick: l,
4657
4661
  class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
4658
4662
  type: "button"
4659
4663
  }, Bi),
4660
- A(t("div", Gi, [
4664
+ P(t("div", Gi, [
4661
4665
  t("ul", Ui, [
4662
4666
  v.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Fi, [
4663
4667
  t("a", {
@@ -4671,7 +4675,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4671
4675
  v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Hi, [
4672
4676
  t("a", {
4673
4677
  href: "#",
4674
- onClick: F(f, ["prevent"]),
4678
+ onClick: T(f, ["prevent"]),
4675
4679
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4676
4680
  }, [
4677
4681
  zi,
@@ -4683,7 +4687,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4683
4687
  [Q, o.value]
4684
4688
  ])
4685
4689
  ])), [
4686
- [N, i]
4690
+ [V, i]
4687
4691
  ]) : g("", !0)
4688
4692
  ], 64);
4689
4693
  };
@@ -4750,25 +4754,25 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4750
4754
  });
4751
4755
  };
4752
4756
  return (v, S) => {
4753
- const N = Ie("click-outside");
4757
+ const V = Ie("click-outside");
4754
4758
  return d(), u(w, null, [
4755
4759
  q(we, {
4756
4760
  isOpen: a.value,
4757
4761
  onConfirmDelete: _,
4758
4762
  onCancelDelete: c
4759
4763
  }, null, 8, ["isOpen"]),
4760
- e.row && v.can(`delete_${e.xprops.permission}`) ? A((d(), u("div", Zi, [
4764
+ e.row && v.can(`delete_${e.xprops.permission}`) ? P((d(), u("div", Zi, [
4761
4765
  t("button", {
4762
4766
  onClick: l,
4763
4767
  class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
4764
4768
  type: "button"
4765
4769
  }, Wi),
4766
- A(t("div", Yi, [
4770
+ P(t("div", Yi, [
4767
4771
  t("ul", Xi, [
4768
4772
  v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Ji, [
4769
4773
  t("a", {
4770
4774
  href: "#",
4771
- onClick: F(f, ["prevent"]),
4775
+ onClick: T(f, ["prevent"]),
4772
4776
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4773
4777
  }, [
4774
4778
  Qi,
@@ -4780,7 +4784,7 @@ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4780
4784
  [Q, o.value]
4781
4785
  ])
4782
4786
  ])), [
4783
- [N, i]
4787
+ [V, i]
4784
4788
  ]) : g("", !0)
4785
4789
  ], 64);
4786
4790
  };
@@ -5006,7 +5010,7 @@ const Hc = /* @__PURE__ */ O(wd, [["render", Dd], ["__scopeId", "data-v-3a28c02c
5006
5010
  return this.row[this.field] === 1;
5007
5011
  }
5008
5012
  }
5009
- }, Pd = { class: "flex flex-wrap gap-2 text-nowrap" }, Ad = {
5013
+ }, Ad = { class: "flex flex-wrap gap-2 text-nowrap" }, Pd = {
5010
5014
  key: 0,
5011
5015
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
5012
5016
  }, jd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Ed = {
@@ -5014,8 +5018,8 @@ const Hc = /* @__PURE__ */ O(wd, [["render", Dd], ["__scopeId", "data-v-3a28c02c
5014
5018
  class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
5015
5019
  }, Ld = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
5016
5020
  function Td(e, r, s, n, o, a) {
5017
- return d(), u("div", Pd, [
5018
- a.isActive ? (d(), u("span", Ad, [
5021
+ return d(), u("div", Ad, [
5022
+ a.isActive ? (d(), u("span", Pd, [
5019
5023
  jd,
5020
5024
  $(" Active ")
5021
5025
  ])) : a.isActive ? g("", !0) : (d(), u("span", Ed, [
@@ -5271,25 +5275,25 @@ const Jc = /* @__PURE__ */ O(wu, [["render", Cu]]), Su = {
5271
5275
  class: "fixed inset-0 z-50 overflow-y-auto",
5272
5276
  role: "dialog",
5273
5277
  "aria-modal": "true"
5274
- }, Ou = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Pu = /* @__PURE__ */ t("div", {
5278
+ }, Ou = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Au = /* @__PURE__ */ t("div", {
5275
5279
  class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
5276
5280
  "aria-hidden": "true"
5277
- }, null, -1), Au = /* @__PURE__ */ t("span", {
5281
+ }, null, -1), Pu = /* @__PURE__ */ t("span", {
5278
5282
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
5279
5283
  "aria-hidden": "true"
5280
5284
  }, "​", -1), ju = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Eu = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Lu = { class: "sm:flex sm:items-start" }, Tu = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Mu = { class: "text-lg font-medium leading-6 text-gray-900" }, Iu = { class: "mt-2" }, Nu = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
5281
5285
  function Vu(e, r, s, n, o, a) {
5282
5286
  return s.isOpen ? (d(), u("div", Du, [
5283
5287
  t("div", Ou, [
5284
- Pu,
5285
5288
  Au,
5289
+ Pu,
5286
5290
  t("div", ju, [
5287
5291
  t("div", Eu, [
5288
5292
  t("div", Lu, [
5289
5293
  t("div", Tu, [
5290
5294
  t("h3", Mu, h(s.title), 1),
5291
5295
  t("div", Iu, [
5292
- M(e.$slots, "default")
5296
+ I(e.$slots, "default")
5293
5297
  ])
5294
5298
  ])
5295
5299
  ])
@@ -5508,7 +5512,7 @@ export {
5508
5512
  jc as GlDropdown,
5509
5513
  bc as GlFilesUpload,
5510
5514
  yc as GlLanguageSelector,
5511
- Pc as GlModal,
5515
+ Ac as GlModal,
5512
5516
  Oc as GlMultiItemSlide,
5513
5517
  vc as GlMultiSelectDropdown,
5514
5518
  pc as GlNotify,
@@ -5523,5 +5527,5 @@ export {
5523
5527
  kc as GlTinymceTranslate,
5524
5528
  Ee as GlToast,
5525
5529
  Vc as GlToastList,
5526
- Ac as GlToggleBox
5530
+ Pc as GlToggleBox
5527
5531
  };