golden-logic-ui 1.0.85 → 1.0.87

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.
@@ -155,7 +155,7 @@ function U(e, t) {
155
155
  return t(e[r], r);
156
156
  });
157
157
  }
158
- function je(e) {
158
+ function Ae(e) {
159
159
  return e !== null && typeof e == "object";
160
160
  }
161
161
  function Dt(e) {
@@ -170,7 +170,7 @@ function Ot(e, t) {
170
170
  return e(t);
171
171
  };
172
172
  }
173
- function Ae(e, t, r) {
173
+ function je(e, t, r) {
174
174
  return t.indexOf(e) < 0 && (r && r.prepend ? t.unshift(e) : t.push(e)), function() {
175
175
  var n = t.indexOf(e);
176
176
  n > -1 && t.splice(n, 1);
@@ -219,10 +219,10 @@ function ee(e, t, r, n, o) {
219
219
  Et(e, x, m, h);
220
220
  }), n.forEachAction(function(m, y) {
221
221
  var x = m.root ? y : i + y, C = m.handler || m;
222
- jt(e, x, C, h);
222
+ At(e, x, C, h);
223
223
  }), n.forEachGetter(function(m, y) {
224
224
  var x = i + y;
225
- At(e, x, m, h);
225
+ jt(e, x, m, h);
226
226
  }), n.forEachChild(function(m, y) {
227
227
  ee(e, t, r.concat(y), m, o);
228
228
  });
@@ -284,7 +284,7 @@ function Et(e, t, r, n) {
284
284
  r.call(e, n.state, i);
285
285
  });
286
286
  }
287
- function jt(e, t, r, n) {
287
+ function At(e, t, r, n) {
288
288
  var o = e._actions[t] || (e._actions[t] = []);
289
289
  o.push(function(i) {
290
290
  var l = r.call(e, {
@@ -300,7 +300,7 @@ function jt(e, t, r, n) {
300
300
  }) : l;
301
301
  });
302
302
  }
303
- function At(e, t, r, n) {
303
+ function jt(e, t, r, n) {
304
304
  if (e._wrappedGetters[t]) {
305
305
  process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + t);
306
306
  return;
@@ -331,7 +331,7 @@ function fe(e, t) {
331
331
  }, e);
332
332
  }
333
333
  function Q(e, t, r) {
334
- return je(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && I(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
334
+ return Ae(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && I(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
335
335
  }
336
336
  var It = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", H = "vuex", Mt = 0;
337
337
  function Nt(e, t) {
@@ -666,7 +666,7 @@ function Ut(e, t, r, n, o) {
666
666
  var a = t + " should be " + o + ' but "' + t + "." + r + '"';
667
667
  return e.length > 0 && (a += ' in module "' + e.join(".") + '"'), a += " is " + JSON.stringify(n) + ".", a;
668
668
  }
669
- var j = function e(t) {
669
+ var A = function e(t) {
670
670
  var r = this;
671
671
  t === void 0 && (t = {}), process.env.NODE_ENV !== "production" && (I(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), I(this instanceof e, "store must be called with the new operator."));
672
672
  var n = t.plugins;
@@ -686,7 +686,7 @@ var j = function e(t) {
686
686
  return y(r);
687
687
  });
688
688
  }, ge = { state: { configurable: !0 } };
689
- j.prototype.install = function(t, r) {
689
+ A.prototype.install = function(t, r) {
690
690
  t.provide(r || Pe, this), t.config.globalProperties.$store = this;
691
691
  var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
692
692
  n && Nt(t, this);
@@ -697,7 +697,7 @@ ge.state.get = function() {
697
697
  ge.state.set = function(e) {
698
698
  process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
699
699
  };
700
- j.prototype.commit = function(t, r, n) {
700
+ A.prototype.commit = function(t, r, n) {
701
701
  var o = this, a = Q(t, r, n), i = a.type, l = a.payload, c = a.options, h = { 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 @@ j.prototype.commit = function(t, r, 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
- j.prototype.dispatch = function(t, r) {
716
+ A.prototype.dispatch = function(t, r) {
717
717
  var n = this, o = Q(t, r), 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 @@ j.prototype.dispatch = function(t, r) {
757
757
  });
758
758
  });
759
759
  };
760
- j.prototype.subscribe = function(t, r) {
761
- return Ae(t, this._subscribers, r);
760
+ A.prototype.subscribe = function(t, r) {
761
+ return je(t, this._subscribers, r);
762
762
  };
763
- j.prototype.subscribeAction = function(t, r) {
763
+ A.prototype.subscribeAction = function(t, r) {
764
764
  var n = typeof t == "function" ? { before: t } : t;
765
- return Ae(n, this._actionSubscribers, r);
765
+ return je(n, this._actionSubscribers, r);
766
766
  };
767
- j.prototype.watch = function(t, r, n) {
767
+ A.prototype.watch = function(t, r, n) {
768
768
  var o = this;
769
769
  return process.env.NODE_ENV !== "production" && I(typeof t == "function", "store.watch only accepts a function."), Y(function() {
770
770
  return t(o.state, o.getters);
771
771
  }, r, Object.assign({}, n));
772
772
  };
773
- j.prototype.replaceState = function(t) {
773
+ A.prototype.replaceState = function(t) {
774
774
  var r = this;
775
775
  this._withCommit(function() {
776
776
  r._state.data = t;
777
777
  });
778
778
  };
779
- j.prototype.registerModule = function(t, r, n) {
779
+ A.prototype.registerModule = function(t, r, n) {
780
780
  n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (I(Array.isArray(t), "module path must be a string or an Array."), I(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, r), ee(this, this.state, t, this._modules.get(t), n.preserveState), ce(this, this.state);
781
781
  };
782
- j.prototype.unregisterModule = function(t) {
782
+ A.prototype.unregisterModule = function(t) {
783
783
  var r = this;
784
784
  typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
785
785
  var n = fe(r.state, t.slice(0, -1));
786
786
  delete n[t[t.length - 1]];
787
787
  }), Te(this);
788
788
  };
789
- j.prototype.hasModule = function(t) {
789
+ A.prototype.hasModule = function(t) {
790
790
  return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.isRegistered(t);
791
791
  };
792
- j.prototype.hotUpdate = function(t) {
792
+ A.prototype.hotUpdate = function(t) {
793
793
  this._modules.update(t), Te(this, !0);
794
794
  };
795
- j.prototype._withCommit = function(t) {
795
+ A.prototype._withCommit = function(t) {
796
796
  var r = this._committing;
797
797
  this._committing = !0, t(), this._committing = r;
798
798
  };
799
- Object.defineProperties(j.prototype, ge);
799
+ Object.defineProperties(A.prototype, ge);
800
800
  var qt = Ue(function(e, t) {
801
801
  var r = {};
802
802
  return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Re(t).forEach(function(n) {
@@ -838,7 +838,7 @@ function Re(e) {
838
838
  }) : [];
839
839
  }
840
840
  function he(e) {
841
- return Array.isArray(e) || je(e);
841
+ return Array.isArray(e) || Ae(e);
842
842
  }
843
843
  function Ue(e) {
844
844
  return function(t, r) {
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
1121
1121
  ], 2)
1122
1122
  ], 64);
1123
1123
  }
1124
- const Fd = /* @__PURE__ */ k(Ht, [["render", wr]]), kr = {
1124
+ const Ud = /* @__PURE__ */ k(Ht, [["render", wr]]), kr = {
1125
1125
  computed: {
1126
1126
  ...qt("notification", ["notification"]),
1127
1127
  alertClasses() {
@@ -1213,7 +1213,7 @@ function Er(e, t, r, n, o, a) {
1213
1213
  }, Pr, 2)
1214
1214
  ], 2)) : f("", !0);
1215
1215
  }
1216
- const Rd = /* @__PURE__ */ k(kr, [["render", Er]]), jr = {
1216
+ const qd = /* @__PURE__ */ k(kr, [["render", Er]]), Ar = {
1217
1217
  components: {},
1218
1218
  props: {
1219
1219
  field_name: {
@@ -1248,9 +1248,9 @@ const Rd = /* @__PURE__ */ k(kr, [["render", Er]]), jr = {
1248
1248
  },
1249
1249
  mounted() {
1250
1250
  }
1251
- }, Ar = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Tr = ["name", "value", "id", "checked"], Ir = ["for"];
1251
+ }, jr = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Tr = ["name", "value", "id", "checked"], Ir = ["for"];
1252
1252
  function Mr(e, t, r, n, o, a) {
1253
- return d(), u("ul", Ar, [
1253
+ return d(), u("ul", jr, [
1254
1254
  (d(!0), u(v, null, $(o.locals, (i, l) => (d(), u("li", null, [
1255
1255
  s("input", {
1256
1256
  type: "radio",
@@ -1272,10 +1272,10 @@ function Mr(e, t, r, n, o, a) {
1272
1272
  ]))), 256))
1273
1273
  ]);
1274
1274
  }
1275
- const Ud = /* @__PURE__ */ k(jr, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Lr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Vr = { class: "font-semibold text-black dark:text-white" }, Br = {
1275
+ const zd = /* @__PURE__ */ k(Ar, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Lr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Vr = { class: "font-semibold text-black dark:text-white" }, Br = {
1276
1276
  key: 0,
1277
1277
  class: "p-6"
1278
- }, qd = {
1278
+ }, Hd = {
1279
1279
  __name: "GlCard",
1280
1280
  props: {
1281
1281
  class: {
@@ -1586,7 +1586,7 @@ function ns(e, t, r, n, o, a) {
1586
1586
  ], 2))
1587
1587
  ], 64);
1588
1588
  }
1589
- const zd = /* @__PURE__ */ k(Gr, [["render", ns]]), os = {
1589
+ const Zd = /* @__PURE__ */ k(Gr, [["render", ns]]), os = {
1590
1590
  props: {
1591
1591
  button_type: {
1592
1592
  type: String,
@@ -1688,7 +1688,7 @@ function is(e, t, r, n, o, a) {
1688
1688
  _: 3
1689
1689
  }, 16, ["type", "disabled", "href", "class"]));
1690
1690
  }
1691
- const Hd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], hs = /* @__PURE__ */ s("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), ms = ["name", "id"], bs = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Zd = {
1691
+ const Kd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], hs = /* @__PURE__ */ s("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), ms = ["name", "id"], bs = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Wd = {
1692
1692
  __name: "GlTextareaTranslate",
1693
1693
  props: {
1694
1694
  is_required: {
@@ -1824,7 +1824,7 @@ const Hd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
1824
1824
  ], 2))
1825
1825
  ], 64));
1826
1826
  }
1827
- }, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("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), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Kd = {
1827
+ }, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("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), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Yd = {
1828
1828
  __name: "GlTinymceTranslate",
1829
1829
  props: {
1830
1830
  is_required: {
@@ -1963,7 +1963,7 @@ const Hd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
1963
1963
  ], 2))
1964
1964
  ], 64));
1965
1965
  }
1966
- }, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("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), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Vs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Wd = {
1966
+ }, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], As = ["id"], js = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("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), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Vs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Xd = {
1967
1967
  __name: "GlTextTranslate",
1968
1968
  props: {
1969
1969
  is_required: {
@@ -2051,8 +2051,8 @@ const Hd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
2051
2051
  s("p", {
2052
2052
  id: e.field_name,
2053
2053
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
2054
- }, g(e.model_value), 9, js),
2055
- As
2054
+ }, g(e.model_value), 9, As),
2055
+ js
2056
2056
  ], 2)) : f("", !0),
2057
2057
  e.show ? f("", !0) : (d(), u("div", {
2058
2058
  key: 1,
@@ -2096,7 +2096,7 @@ const Hd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold pte
2096
2096
  ], 2))
2097
2097
  ], 64));
2098
2098
  }
2099
- }, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Yd = {
2099
+ }, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Jd = {
2100
2100
  __name: "GlTextInput",
2101
2101
  props: {
2102
2102
  is_required: {
@@ -2237,7 +2237,7 @@ function ea(e, t, r, n, o, a) {
2237
2237
  ])
2238
2238
  ], 64);
2239
2239
  }
2240
- const Xd = /* @__PURE__ */ k(Hs, [["render", ea]]), ta = {
2240
+ const Qd = /* @__PURE__ */ k(Hs, [["render", ea]]), ta = {
2241
2241
  props: ["title"],
2242
2242
  setup() {
2243
2243
  return {
@@ -2252,7 +2252,7 @@ function sa(e, t, r, n, o, a) {
2252
2252
  [F, r.title == n.selectedTitle]
2253
2253
  ]);
2254
2254
  }
2255
- const Jd = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
2255
+ const eu = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
2256
2256
  props: {
2257
2257
  elements_to_show_prop: {
2258
2258
  type: Number,
@@ -2438,8 +2438,8 @@ const Jd = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
2438
2438
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2439
2439
  }, null, -1)), Pa = [
2440
2440
  Oa
2441
- ], Ea = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Aa = [
2442
- ja
2441
+ ], Ea = ["onClick"], Aa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), ja = [
2442
+ Aa
2443
2443
  ], Ta = {
2444
2444
  key: 1,
2445
2445
  class: "flex justify-between pl-5 pr-5"
@@ -2600,7 +2600,7 @@ function dn(e, t, r, n, o, a) {
2600
2600
  class: b(["gl-dot", { active: e.currentDot == i }]),
2601
2601
  key: i,
2602
2602
  onClick: (l) => a.setDot(i)
2603
- }, Aa, 10, Ea))), 128))
2603
+ }, ja, 10, Ea))), 128))
2604
2604
  ], 2)) : f("", !0),
2605
2605
  r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ta, [
2606
2606
  s("div", {
@@ -2653,7 +2653,7 @@ function dn(e, t, r, n, o, a) {
2653
2653
  ], 10, na)
2654
2654
  ]);
2655
2655
  }
2656
- const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
2656
+ const tu = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
2657
2657
  class: "fixed left-0 top-13 z-[1055] h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80",
2658
2658
  tabindex: "-1",
2659
2659
  "aria-hidden": "true"
@@ -2673,7 +2673,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2673
2673
  ])
2674
2674
  ], -1), mn = [
2675
2675
  hn
2676
- ], bn = { 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" }, eu = {
2676
+ ], bn = { 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" }, ru = {
2677
2677
  __name: "GlModal",
2678
2678
  props: {
2679
2679
  is_open: {
@@ -2741,7 +2741,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2741
2741
  [F, e.is_open]
2742
2742
  ]);
2743
2743
  }
2744
- }, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("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), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -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__ */ s("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" }, tu = {
2744
+ }, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("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), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -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__ */ s("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" }, su = {
2745
2745
  __name: "GlToggleBox",
2746
2746
  props: {
2747
2747
  is_required: {
@@ -2846,7 +2846,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2846
2846
  ], 2))
2847
2847
  ], 64));
2848
2848
  }
2849
- }, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { 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" }, An = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Tn = ["name", "id", "value"], In = {
2849
+ }, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { class: "mt-3 mb-4" }, An = { 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" }, jn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Tn = ["name", "id", "value"], In = {
2850
2850
  key: 0,
2851
2851
  class: "dropdown"
2852
2852
  }, Mn = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Nn = { class: "relative showOptions" }, Ln = ["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__ */ s("label", {
@@ -2883,7 +2883,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2883
2883
  d: "M1 5.917 5.724 10.5 15 1.5"
2884
2884
  }, null, -1), Wn = [
2885
2885
  Kn
2886
- ], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ru = {
2886
+ ], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, au = {
2887
2887
  __name: "GlDropdown",
2888
2888
  props: {
2889
2889
  modelValue: {
@@ -3046,9 +3046,9 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3046
3046
  }, [
3047
3047
  s("h3", Pn, g(e.label_name), 1),
3048
3048
  s("p", En, [
3049
- s("span", jn, g((E = y.value) == null ? void 0 : E.name), 1)
3049
+ s("span", An, g((E = y.value) == null ? void 0 : E.name), 1)
3050
3050
  ]),
3051
- An
3051
+ jn
3052
3052
  ], 2)) : f("", !0),
3053
3053
  e.show ? f("", !0) : (d(), u("div", {
3054
3054
  key: 1,
@@ -3077,21 +3077,21 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3077
3077
  "gl-input-form-invalid": e.error_message !== ""
3078
3078
  }, "pl-8 pr-2 showOptions"]),
3079
3079
  ref: e.field_name,
3080
- onClick: D[0] || (D[0] = (A) => re()),
3080
+ onClick: D[0] || (D[0] = (j) => re()),
3081
3081
  value: (ye = y.value) == null ? void 0 : ye.name,
3082
3082
  placeholder: e.placeholder,
3083
3083
  autocomplete: "off",
3084
3084
  readonly: ""
3085
3085
  }, null, 10, Ln),
3086
3086
  O(s("i", {
3087
- onClick: D[1] || (D[1] = N((A) => Ye(), ["stop"])),
3087
+ onClick: D[1] || (D[1] = N((j) => Ye(), ["stop"])),
3088
3088
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
3089
3089
  style: { top: "13px" }
3090
3090
  }, null, 512), [
3091
3091
  [F, te(y.value) && e.has_cancel]
3092
3092
  ]),
3093
3093
  s("i", {
3094
- onClick: D[2] || (D[2] = (A) => !l.value && re()),
3094
+ onClick: D[2] || (D[2] = (j) => !l.value && re()),
3095
3095
  class: b([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"]),
3096
3096
  style: { top: "11px" }
3097
3097
  }, null, 2)
@@ -3103,11 +3103,11 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3103
3103
  Rn,
3104
3104
  O(s("input", {
3105
3105
  type: "search",
3106
- "onUpdate:modelValue": D[3] || (D[3] = (A) => c.value = A),
3106
+ "onUpdate:modelValue": D[3] || (D[3] = (j) => c.value = j),
3107
3107
  ref: o.value,
3108
3108
  id: `${e.field_name}search${h.value}`,
3109
3109
  onKeydown: C,
3110
- onBlur: D[4] || (D[4] = (A) => pe()),
3110
+ onBlur: D[4] || (D[4] = (j) => pe()),
3111
3111
  autocomplete: "off",
3112
3112
  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",
3113
3113
  placeholder: "Search ..."
@@ -3117,18 +3117,18 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3117
3117
  ])
3118
3118
  ]),
3119
3119
  s("div", qn, [
3120
- (d(!0), u(v, null, $(x.value, (A, se) => {
3120
+ (d(!0), u(v, null, $(x.value, (j, se) => {
3121
3121
  var _e;
3122
3122
  return d(), u("div", {
3123
3123
  class: b(["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", se + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
3124
- onClick: (Xe) => be(A),
3125
- onMousedown: (Xe) => be(A),
3124
+ onClick: (Xe) => be(j),
3125
+ onMousedown: (Xe) => be(j),
3126
3126
  key: se,
3127
3127
  id: `${se + 1}${h.value}`
3128
3128
  }, [
3129
3129
  s("div", Hn, [
3130
- ((_e = y.value) == null ? void 0 : _e.id) === A.id ? (d(), u("svg", Zn, Wn)) : f("", !0),
3131
- s("span", null, g(A.name || A.id || "-"), 1)
3130
+ ((_e = y.value) == null ? void 0 : _e.id) === j.id ? (d(), u("svg", Zn, Wn)) : f("", !0),
3131
+ s("span", null, g(j.name || j.id || "-"), 1)
3132
3132
  ])
3133
3133
  ], 42, zn);
3134
3134
  }), 128))
@@ -3144,7 +3144,7 @@ const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3144
3144
  ], 64);
3145
3145
  };
3146
3146
  }
3147
- }, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, su = {
3147
+ }, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, nu = {
3148
3148
  __name: "GlTextarea",
3149
3149
  props: {
3150
3150
  is_required: {
@@ -3574,7 +3574,7 @@ const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
3574
3574
  }, 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__ */ s("span", { class: "font-medium" }, " Show ", -1), Do = { style: { "margin-top": "9px" } }, Oo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Po = /* @__PURE__ */ s("label", {
3575
3575
  for: "table-search",
3576
3576
  class: "sr-only"
3577
- }, "Search", -1), Eo = { class: "relative" }, jo = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3577
+ }, "Search", -1), Eo = { class: "relative" }, Ao = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3578
3578
  /* @__PURE__ */ s("svg", {
3579
3579
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
3580
3580
  "aria-hidden": "true",
@@ -3588,7 +3588,7 @@ const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
3588
3588
  "clip-rule": "evenodd"
3589
3589
  })
3590
3590
  ])
3591
- ], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, To = { 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" }, Io = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-200" }, Mo = ["onClick"], No = {
3591
+ ], -1), jo = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, To = { 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" }, Io = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Mo = ["onClick"], No = {
3592
3592
  key: 0,
3593
3593
  class: "ml-2"
3594
3594
  }, Lo = {
@@ -3664,7 +3664,7 @@ function Ho(e, t, r, n, o, a) {
3664
3664
  ]),
3665
3665
  Po,
3666
3666
  s("div", Eo, [
3667
- jo,
3667
+ Ao,
3668
3668
  O(s("input", {
3669
3669
  type: "text",
3670
3670
  "onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
@@ -3676,7 +3676,7 @@ function Ho(e, t, r, n, o, a) {
3676
3676
  ])
3677
3677
  ])
3678
3678
  ]),
3679
- s("div", Ao, [
3679
+ s("div", jo, [
3680
3680
  s("table", To, [
3681
3681
  s("thead", Io, [
3682
3682
  s("tr", null, [
@@ -3737,7 +3737,7 @@ function Ho(e, t, r, n, o, a) {
3737
3737
  ])
3738
3738
  ]);
3739
3739
  }
3740
- const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
3740
+ const ou = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
3741
3741
  components: {},
3742
3742
  props: {
3743
3743
  data: Array,
@@ -3747,7 +3747,6 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
3747
3747
  return {
3748
3748
  showNoOfEntries: [1, 2, 3, 10, 20, 30, 40],
3749
3749
  search: "",
3750
- isDropdownOpen: !1,
3751
3750
  sortKey: "",
3752
3751
  sortOrder: 1,
3753
3752
  currentPage: 1,
@@ -3816,23 +3815,7 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
3816
3815
  },
3817
3816
  goToPage(e) {
3818
3817
  e >= 1 && e <= this.totalPages && (this.currentPage = e);
3819
- },
3820
- onJumpToPageChange() {
3821
- const e = parseInt(this.jumpToPage);
3822
- e >= 1 && e <= this.totalPages && (this.jumpToPage = e);
3823
- },
3824
- jumpToPageButton() {
3825
- this.jumpToPage >= 1 && this.jumpToPage <= this.totalPages && (this.currentPage = this.jumpToPage);
3826
- },
3827
- closeBoxOnbodyClick() {
3828
- event.target.closest(".main_box_close") || (this.isDropdownOpen = !1);
3829
3818
  }
3830
- },
3831
- beforeDestroy() {
3832
- document.body.removeEventListener("click", this.closeBoxOnbodyClick);
3833
- },
3834
- mounted() {
3835
- document.body.addEventListener("click", this.closeBoxOnbodyClick);
3836
3819
  }
3837
3820
  }, Ko = { class: "p-2" }, Wo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Yo = { class: "flex items-center gap-2" }, Xo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Jo = { style: { "margin-top": "9px" } }, Qo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), el = /* @__PURE__ */ s("label", {
3838
3821
  for: "table-search",
@@ -3851,10 +3834,16 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
3851
3834
  "clip-rule": "evenodd"
3852
3835
  })
3853
3836
  ])
3854
- ], -1), sl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, al = { 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" }, nl = { class: "hidden text-sm font-normal text-center text-gray-700 uppercase lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, ol = ["onClick"], ll = {
3837
+ ], -1), sl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, al = { 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" }, nl = { 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" }, ol = ["onClick"], ll = {
3855
3838
  key: 0,
3856
3839
  class: "ml-2"
3857
- }, il = ["data-label"], dl = ["innerHTML"], ul = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" }, cl = { class: "flex justify-between flex-1 sm:hidden" }, fl = ["disabled"], gl = ["disabled"], hl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, ml = { class: "text-sm text-gray-700 dark:text-gray-400" }, bl = { class: "font-medium" }, pl = { class: "font-medium" }, yl = { class: "font-medium" }, _l = { "aria-label": "Page navigation" }, vl = { class: "flex items-center h-8 -space-x-px text-sm" }, xl = ["disabled"], wl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), kl = /* @__PURE__ */ s("svg", {
3840
+ }, il = {
3841
+ key: 0,
3842
+ class: "fa fa-arrow-up"
3843
+ }, dl = {
3844
+ key: 1,
3845
+ class: "fa fa-arrow-down"
3846
+ }, ul = ["data-label"], cl = ["innerHTML"], fl = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" }, gl = { class: "flex justify-between flex-1 sm:hidden" }, hl = ["disabled"], ml = ["disabled"], bl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, pl = { class: "text-sm text-gray-700 dark:text-gray-400" }, yl = { class: "font-medium" }, _l = { class: "font-medium" }, vl = { class: "font-medium" }, xl = { "aria-label": "Page navigation" }, wl = { class: "flex items-center h-8 -space-x-px text-sm" }, kl = ["disabled"], $l = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), Cl = /* @__PURE__ */ s("svg", {
3858
3847
  class: "w-2.5 h-2.5 rtl:rotate-180",
3859
3848
  "aria-hidden": "true",
3860
3849
  xmlns: "http://www.w3.org/2000/svg",
@@ -3868,10 +3857,10 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
3868
3857
  "stroke-width": "2",
3869
3858
  d: "M5 1 1 5l4 4"
3870
3859
  })
3871
- ], -1), $l = [
3872
- wl,
3873
- kl
3874
- ], Cl = ["onClick"], Sl = ["onClick"], Dl = ["disabled"], Ol = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Pl = /* @__PURE__ */ s("svg", {
3860
+ ], -1), Sl = [
3861
+ $l,
3862
+ Cl
3863
+ ], Dl = ["onClick"], Ol = ["onClick"], Pl = ["disabled"], El = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), Al = /* @__PURE__ */ s("svg", {
3875
3864
  class: "w-2.5 h-2.5 rtl:rotate-180",
3876
3865
  "aria-hidden": "true",
3877
3866
  xmlns: "http://www.w3.org/2000/svg",
@@ -3885,11 +3874,11 @@ const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
3885
3874
  "stroke-width": "2",
3886
3875
  d: "m1 9 4-4-4-4"
3887
3876
  })
3888
- ], -1), El = [
3889
- Ol,
3890
- Pl
3877
+ ], -1), jl = [
3878
+ El,
3879
+ Al
3891
3880
  ];
3892
- function jl(e, t, r, n, o, a) {
3881
+ function Tl(e, t, r, n, o, a) {
3893
3882
  const i = X("dropdown");
3894
3883
  return d(), u("div", Ko, [
3895
3884
  s("div", Wo, [
@@ -3904,7 +3893,7 @@ function jl(e, t, r, n, o, a) {
3904
3893
  is_required: !1,
3905
3894
  field_name: "NoOfEntries",
3906
3895
  label_name: "",
3907
- default_value: "10",
3896
+ default_value: 10,
3908
3897
  show: !1,
3909
3898
  placeholder: "Please select an option"
3910
3899
  }, null, 8, ["options", "modelValue"])
@@ -3934,14 +3923,16 @@ function jl(e, t, r, n, o, a) {
3934
3923
  class: "w-full px-4 py-2 lg:w-2/12"
3935
3924
  }, [
3936
3925
  w(g(l) + " ", 1),
3937
- o.sortKey === l ? (d(), u("span", ll, g(o.sortOrder === 1 ? "▲" : "▼"), 1)) : f("", !0)
3926
+ o.sortKey === l ? (d(), u("span", ll, [
3927
+ o.sortOrder === "asc" ? (d(), u("i", il)) : (d(), u("i", dl))
3928
+ ])) : f("", !0)
3938
3929
  ], 8, ol))), 128))
3939
3930
  ])
3940
3931
  ]),
3941
3932
  s("tbody", null, [
3942
3933
  (d(!0), u(v, null, $(a.paginatedData, (l, c) => (d(), u("tr", {
3943
3934
  key: c,
3944
- class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"
3935
+ 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"
3945
3936
  }, [
3946
3937
  (d(!0), u(v, null, $(r.columns, (h, m) => (d(), u("td", {
3947
3938
  key: m,
@@ -3951,49 +3942,49 @@ function jl(e, t, r, n, o, a) {
3951
3942
  s("p", {
3952
3943
  class: "text-pretty",
3953
3944
  innerHTML: l[m]
3954
- }, null, 8, dl)
3955
- ], 8, il))), 128))
3945
+ }, null, 8, cl)
3946
+ ], 8, ul))), 128))
3956
3947
  ]))), 128))
3957
3948
  ])
3958
3949
  ])
3959
3950
  ]),
3960
- s("div", ul, [
3961
- s("div", cl, [
3951
+ s("div", fl, [
3952
+ s("div", gl, [
3962
3953
  s("a", {
3963
3954
  href: "#",
3964
3955
  onClick: t[2] || (t[2] = (...l) => a.previousPage && a.previousPage(...l)),
3965
3956
  disabled: o.currentPage === 1,
3966
3957
  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"
3967
- }, "Previous", 8, fl),
3958
+ }, "Previous", 8, hl),
3968
3959
  s("a", {
3969
3960
  href: "#",
3970
3961
  onClick: t[3] || (t[3] = (...l) => a.nextPage && a.nextPage(...l)),
3971
3962
  disabled: o.currentPage === a.totalPages,
3972
3963
  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"
3973
- }, "Next", 8, gl)
3964
+ }, "Next", 8, ml)
3974
3965
  ]),
3975
- s("div", hl, [
3966
+ s("div", bl, [
3976
3967
  s("div", null, [
3977
- s("p", ml, [
3968
+ s("p", pl, [
3978
3969
  w(" Showing "),
3979
- s("span", bl, g(a.firstItemIndex), 1),
3970
+ s("span", yl, g(a.firstItemIndex), 1),
3980
3971
  w(" to "),
3981
- s("span", pl, g(a.lastItemIndex), 1),
3972
+ s("span", _l, g(a.lastItemIndex), 1),
3982
3973
  w(" of "),
3983
- s("span", yl, g(a.filteredData.length), 1),
3974
+ s("span", vl, g(a.filteredData.length), 1),
3984
3975
  w(" entries ")
3985
3976
  ])
3986
3977
  ]),
3987
3978
  s("div", null, [
3988
- s("nav", _l, [
3989
- s("ul", vl, [
3979
+ s("nav", xl, [
3980
+ s("ul", wl, [
3990
3981
  s("li", null, [
3991
3982
  s("a", {
3992
3983
  href: "#",
3993
3984
  onClick: t[4] || (t[4] = (...l) => a.previousPage && a.previousPage(...l)),
3994
3985
  disabled: o.currentPage === 1,
3995
3986
  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"
3996
- }, $l, 8, xl)
3987
+ }, Sl, 8, kl)
3997
3988
  ]),
3998
3989
  (d(!0), u(v, null, $(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
3999
3990
  s("li", null, [
@@ -4002,7 +3993,7 @@ function jl(e, t, r, n, o, a) {
4002
3993
  href: "#",
4003
3994
  onClick: (c) => a.goToPage(l),
4004
3995
  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"
4005
- }, g(l), 9, Cl)) : f("", !0)
3996
+ }, g(l), 9, Dl)) : f("", !0)
4006
3997
  ]),
4007
3998
  s("li", null, [
4008
3999
  o.currentPage === l ? (d(), u("a", {
@@ -4011,7 +4002,7 @@ function jl(e, t, r, n, o, a) {
4011
4002
  onClick: (c) => a.goToPage(l),
4012
4003
  "aria-current": "page",
4013
4004
  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"
4014
- }, g(l), 9, Sl)) : f("", !0)
4005
+ }, g(l), 9, Ol)) : f("", !0)
4015
4006
  ])
4016
4007
  ], 64))), 128)),
4017
4008
  s("li", null, [
@@ -4020,7 +4011,7 @@ function jl(e, t, r, n, o, a) {
4020
4011
  onClick: t[5] || (t[5] = (...l) => a.nextPage && a.nextPage(...l)),
4021
4012
  disabled: o.currentPage === a.totalPages,
4022
4013
  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"
4023
- }, El, 8, Dl)
4014
+ }, jl, 8, Pl)
4024
4015
  ])
4025
4016
  ])
4026
4017
  ])
@@ -4029,13 +4020,13 @@ function jl(e, t, r, n, o, a) {
4029
4020
  ])
4030
4021
  ]);
4031
4022
  }
4032
- const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4023
+ const lu = /* @__PURE__ */ k(Zo, [["render", Tl]]), Il = {
4033
4024
  class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
4034
4025
  role: "alert"
4035
- }, Tl = {
4026
+ }, Ml = {
4036
4027
  key: 0,
4037
4028
  class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"
4038
- }, Il = /* @__PURE__ */ s("svg", {
4029
+ }, Nl = /* @__PURE__ */ s("svg", {
4039
4030
  class: "w-5 h-5",
4040
4031
  "aria-hidden": "true",
4041
4032
  xmlns: "http://www.w3.org/2000/svg",
@@ -4043,13 +4034,13 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4043
4034
  viewBox: "0 0 20 20"
4044
4035
  }, [
4045
4036
  /* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
4046
- ], -1), Ml = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Nl = [
4047
- Il,
4048
- Ml
4049
- ], Ll = {
4037
+ ], -1), Ll = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Vl = [
4038
+ Nl,
4039
+ Ll
4040
+ ], Bl = {
4050
4041
  key: 1,
4051
4042
  class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
4052
- }, Vl = /* @__PURE__ */ s("svg", {
4043
+ }, Gl = /* @__PURE__ */ s("svg", {
4053
4044
  class: "w-5 h-5",
4054
4045
  "aria-hidden": "true",
4055
4046
  xmlns: "http://www.w3.org/2000/svg",
@@ -4057,13 +4048,13 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4057
4048
  viewBox: "0 0 20 20"
4058
4049
  }, [
4059
4050
  /* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
4060
- ], -1), Bl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Gl = [
4061
- Vl,
4062
- Bl
4063
- ], Fl = {
4051
+ ], -1), Fl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Rl = [
4052
+ Gl,
4053
+ Fl
4054
+ ], Ul = {
4064
4055
  key: 2,
4065
4056
  class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"
4066
- }, Rl = /* @__PURE__ */ s("svg", {
4057
+ }, ql = /* @__PURE__ */ s("svg", {
4067
4058
  class: "w-5 h-5",
4068
4059
  "aria-hidden": "true",
4069
4060
  xmlns: "http://www.w3.org/2000/svg",
@@ -4071,10 +4062,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4071
4062
  viewBox: "0 0 20 20"
4072
4063
  }, [
4073
4064
  /* @__PURE__ */ s("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" })
4074
- ], -1), Ul = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), ql = [
4075
- Rl,
4076
- Ul
4077
- ], zl = { class: "ml-3 text-sm font-normal" }, Hl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Zl = /* @__PURE__ */ s("svg", {
4065
+ ], -1), zl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Hl = [
4066
+ ql,
4067
+ zl
4068
+ ], Zl = { class: "ml-3 text-sm font-normal" }, Kl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Wl = /* @__PURE__ */ s("svg", {
4078
4069
  "aria-hidden": "true",
4079
4070
  class: "w-5 h-5",
4080
4071
  fill: "currentColor",
@@ -4086,10 +4077,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4086
4077
  d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
4087
4078
  "clip-rule": "evenodd"
4088
4079
  })
4089
- ], -1), Kl = [
4090
- Hl,
4091
- Zl
4092
- ], Wl = {
4080
+ ], -1), Yl = [
4081
+ Kl,
4082
+ Wl
4083
+ ], Xl = {
4093
4084
  __name: "ToastListItem",
4094
4085
  props: {
4095
4086
  message: String,
@@ -4109,23 +4100,23 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4109
4100
  setTimeout(() => n("remove"), r.duration);
4110
4101
  });
4111
4102
  const n = t;
4112
- return (o, a) => (d(), u("div", Al, [
4113
- r.type === "success" ? (d(), u("div", Tl, Nl)) : f("", !0),
4114
- r.type === "error" ? (d(), u("div", Ll, Gl)) : f("", !0),
4115
- r.type === "warning" ? (d(), u("div", Fl, ql)) : f("", !0),
4116
- s("div", zl, g(r.message), 1),
4103
+ return (o, a) => (d(), u("div", Il, [
4104
+ r.type === "success" ? (d(), u("div", Ml, Vl)) : f("", !0),
4105
+ r.type === "error" ? (d(), u("div", Bl, Rl)) : f("", !0),
4106
+ r.type === "warning" ? (d(), u("div", Ul, Hl)) : f("", !0),
4107
+ s("div", Zl, g(r.message), 1),
4117
4108
  s("button", {
4118
4109
  onClick: a[0] || (a[0] = (i) => n("remove")),
4119
4110
  type: "button",
4120
4111
  class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
4121
4112
  "data-dismiss-target": "#toast-default",
4122
4113
  "aria-label": "Close"
4123
- }, Kl)
4114
+ }, Yl)
4124
4115
  ]));
4125
4116
  }
4126
4117
  }, de = Se({
4127
4118
  items: []
4128
- }), Yl = {
4119
+ }), Jl = {
4129
4120
  add(e) {
4130
4121
  de.items.unshift({
4131
4122
  key: Symbol(),
@@ -4139,8 +4130,8 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4139
4130
  }
4140
4131
  }, $e = {
4141
4132
  state: de,
4142
- methods: Yl
4143
- }, ou = {
4133
+ methods: Jl
4134
+ }, iu = {
4144
4135
  __name: "GlToastList",
4145
4136
  setup(e) {
4146
4137
  function t(r) {
@@ -4155,7 +4146,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4155
4146
  class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
4156
4147
  }, {
4157
4148
  default: J(() => [
4158
- (d(!0), u(v, null, $(it($e).state.items, (o, a) => (d(), K(Wl, {
4149
+ (d(!0), u(v, null, $(it($e).state.items, (o, a) => (d(), K(Xl, {
4159
4150
  key: o.key,
4160
4151
  message: o.message,
4161
4152
  type: o.type,
@@ -4166,10 +4157,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4166
4157
  _: 1
4167
4158
  }));
4168
4159
  }
4169
- }, Xl = {
4160
+ }, Ql = {
4170
4161
  key: 0,
4171
4162
  class: "flex justify-center"
4172
- }, Jl = /* @__PURE__ */ s("svg", {
4163
+ }, ei = /* @__PURE__ */ s("svg", {
4173
4164
  class: "w-5 h-5",
4174
4165
  "aria-hidden": "true",
4175
4166
  xmlns: "http://www.w3.org/2000/svg",
@@ -4177,12 +4168,12 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4177
4168
  viewBox: "0 0 4 15"
4178
4169
  }, [
4179
4170
  /* @__PURE__ */ s("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
4180
- ], -1), Ql = [
4181
- Jl
4182
- ], ei = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ti = {
4171
+ ], -1), ti = [
4172
+ ei
4173
+ ], ri = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, si = {
4183
4174
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4184
4175
  "aria-labelledby": "dropdownDividerButton"
4185
- }, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), lu = {
4176
+ }, ai = { key: 0 }, ni = ["href"], oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), li = { key: 1 }, ii = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), du = {
4186
4177
  __name: "DatatableAction",
4187
4178
  props: {
4188
4179
  field: {
@@ -4235,30 +4226,30 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4235
4226
  onConfirmDelete: y,
4236
4227
  onCancelDelete: c
4237
4228
  }, null, 8, ["isOpen"]),
4238
- e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", Xl, [
4229
+ e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? O((d(), u("div", Ql, [
4239
4230
  s("button", {
4240
4231
  onClick: l,
4241
4232
  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",
4242
4233
  type: "button"
4243
- }, Ql),
4244
- O(s("div", ei, [
4245
- s("ul", ti, [
4246
- x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ri, [
4234
+ }, ti),
4235
+ O(s("div", ri, [
4236
+ s("ul", si, [
4237
+ x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ai, [
4247
4238
  s("a", {
4248
4239
  href: e.xprops.route + "/" + e.row.id + "/edit",
4249
4240
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4250
4241
  }, [
4251
- ai,
4242
+ oi,
4252
4243
  w(" Edit")
4253
- ], 8, si)
4244
+ ], 8, ni)
4254
4245
  ])) : f("", !0),
4255
- x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ni, [
4246
+ x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", li, [
4256
4247
  s("a", {
4257
4248
  href: "#",
4258
4249
  onClick: N(h, ["prevent"]),
4259
4250
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4260
4251
  }, [
4261
- oi,
4252
+ ii,
4262
4253
  w(" Remove")
4263
4254
  ])
4264
4255
  ])) : f("", !0)
@@ -4272,10 +4263,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4272
4263
  ], 64);
4273
4264
  };
4274
4265
  }
4275
- }, li = {
4266
+ }, di = {
4276
4267
  key: 0,
4277
4268
  class: "flex justify-center"
4278
- }, ii = /* @__PURE__ */ s("svg", {
4269
+ }, ui = /* @__PURE__ */ s("svg", {
4279
4270
  class: "w-5 h-5",
4280
4271
  "aria-hidden": "true",
4281
4272
  xmlns: "http://www.w3.org/2000/svg",
@@ -4283,12 +4274,12 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4283
4274
  viewBox: "0 0 4 15"
4284
4275
  }, [
4285
4276
  /* @__PURE__ */ s("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
4286
- ], -1), di = [
4287
- ii
4288
- ], ui = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ci = {
4277
+ ], -1), ci = [
4278
+ ui
4279
+ ], fi = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, gi = {
4289
4280
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4290
4281
  "aria-labelledby": "dropdownDividerButton"
4291
- }, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), iu = {
4282
+ }, hi = { key: 0 }, mi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), uu = {
4292
4283
  __name: "DatatableDeleteAction",
4293
4284
  props: {
4294
4285
  field: {
@@ -4341,21 +4332,21 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4341
4332
  onConfirmDelete: y,
4342
4333
  onCancelDelete: c
4343
4334
  }, null, 8, ["isOpen"]),
4344
- e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", li, [
4335
+ e.row && x.can(`delete_${e.xprops.permission}`) ? O((d(), u("div", di, [
4345
4336
  s("button", {
4346
4337
  onClick: l,
4347
4338
  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",
4348
4339
  type: "button"
4349
- }, di),
4350
- O(s("div", ui, [
4351
- s("ul", ci, [
4352
- x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", fi, [
4340
+ }, ci),
4341
+ O(s("div", fi, [
4342
+ s("ul", gi, [
4343
+ x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", hi, [
4353
4344
  s("a", {
4354
4345
  href: "#",
4355
4346
  onClick: N(h, ["prevent"]),
4356
4347
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4357
4348
  }, [
4358
- gi,
4349
+ mi,
4359
4350
  w(" Remove")
4360
4351
  ])
4361
4352
  ])) : f("", !0)
@@ -4369,7 +4360,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4369
4360
  ], 64);
4370
4361
  };
4371
4362
  }
4372
- }, hi = {
4363
+ }, bi = {
4373
4364
  props: ["field", "row"],
4374
4365
  computed: {
4375
4366
  isArray() {
@@ -4384,7 +4375,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4384
4375
  },
4385
4376
  mounted() {
4386
4377
  }
4387
- }, mi = ["href", "title"], bi = /* @__PURE__ */ s("svg", {
4378
+ }, pi = ["href", "title"], yi = /* @__PURE__ */ s("svg", {
4388
4379
  class: "w-3 h-3 text-white me-2",
4389
4380
  "aria-hidden": "true",
4390
4381
  xmlns: "http://www.w3.org/2000/svg",
@@ -4401,10 +4392,10 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4401
4392
  d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
4402
4393
  "clip-rule": "evenodd"
4403
4394
  })
4404
- ], -1), pi = {
4395
+ ], -1), _i = {
4405
4396
  key: 1,
4406
4397
  class: "m-1 d-inline-block"
4407
- }, yi = ["href", "title"], _i = /* @__PURE__ */ s("svg", {
4398
+ }, vi = ["href", "title"], xi = /* @__PURE__ */ s("svg", {
4408
4399
  class: "w-3 h-3 text-white me-2",
4409
4400
  "aria-hidden": "true",
4410
4401
  xmlns: "http://www.w3.org/2000/svg",
@@ -4422,7 +4413,7 @@ const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
4422
4413
  "clip-rule": "evenodd"
4423
4414
  })
4424
4415
  ], -1);
4425
- function vi(e, t, r, n, o, a) {
4416
+ function wi(e, t, r, n, o, a) {
4426
4417
  return d(), u("div", null, [
4427
4418
  a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row, (i, l) => (d(), u("div", {
4428
4419
  key: l,
@@ -4434,23 +4425,23 @@ function vi(e, t, r, n, o, a) {
4434
4425
  target: "_blank",
4435
4426
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4436
4427
  }, [
4437
- bi,
4428
+ yi,
4438
4429
  w(" Download ")
4439
- ], 8, mi)
4440
- ]))), 128)) : a.isString ? (d(), u("div", pi, [
4430
+ ], 8, pi)
4431
+ ]))), 128)) : a.isString ? (d(), u("div", _i, [
4441
4432
  s("a", {
4442
4433
  href: r.row,
4443
4434
  title: r.row,
4444
4435
  target: "_blank",
4445
4436
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4446
4437
  }, [
4447
- _i,
4438
+ xi,
4448
4439
  w(" Download ")
4449
- ], 8, yi)
4440
+ ], 8, vi)
4450
4441
  ])) : f("", !0)
4451
4442
  ]);
4452
4443
  }
4453
- const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
4444
+ const cu = /* @__PURE__ */ k(bi, [["render", wi]]), ki = {
4454
4445
  props: ["field", "row"],
4455
4446
  computed: {
4456
4447
  isArray() {
@@ -4460,7 +4451,7 @@ const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
4460
4451
  return typeof this.row[this.field] == "object";
4461
4452
  }
4462
4453
  }
4463
- }, wi = ["href", "title"], ki = /* @__PURE__ */ s("svg", {
4454
+ }, $i = ["href", "title"], Ci = /* @__PURE__ */ s("svg", {
4464
4455
  class: "w-3 h-3 text-white me-2",
4465
4456
  "aria-hidden": "true",
4466
4457
  xmlns: "http://www.w3.org/2000/svg",
@@ -4477,10 +4468,10 @@ const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
4477
4468
  d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
4478
4469
  "clip-rule": "evenodd"
4479
4470
  })
4480
- ], -1), $i = {
4471
+ ], -1), Si = {
4481
4472
  key: 1,
4482
4473
  class: "m-1 d-inline-block"
4483
- }, Ci = ["href", "title"], Si = /* @__PURE__ */ s("svg", {
4474
+ }, Di = ["href", "title"], Oi = /* @__PURE__ */ s("svg", {
4484
4475
  class: "w-3 h-3 text-white me-2",
4485
4476
  "aria-hidden": "true",
4486
4477
  xmlns: "http://www.w3.org/2000/svg",
@@ -4498,7 +4489,7 @@ const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
4498
4489
  "clip-rule": "evenodd"
4499
4490
  })
4500
4491
  ], -1);
4501
- function Di(e, t, r, n, o, a) {
4492
+ function Pi(e, t, r, n, o, a) {
4502
4493
  return d(), u("div", null, [
4503
4494
  a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[r.field], (i) => (d(), u("div", {
4504
4495
  key: i.id,
@@ -4510,34 +4501,34 @@ function Di(e, t, r, n, o, a) {
4510
4501
  target: "_blank",
4511
4502
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4512
4503
  }, [
4513
- ki,
4504
+ Ci,
4514
4505
  w(" Download ")
4515
- ], 8, wi)
4516
- ]))), 128)) : a.isObject ? (d(), u("div", $i, [
4506
+ ], 8, $i)
4507
+ ]))), 128)) : a.isObject ? (d(), u("div", Si, [
4517
4508
  s("a", {
4518
4509
  href: r.row[r.field].url,
4519
4510
  title: r.row[r.field].name,
4520
4511
  target: "_blank",
4521
4512
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4522
4513
  }, [
4523
- Si,
4514
+ Oi,
4524
4515
  w(" Download ")
4525
- ], 8, Ci)
4516
+ ], 8, Di)
4526
4517
  ])) : f("", !0)
4527
4518
  ]);
4528
4519
  }
4529
- const uu = /* @__PURE__ */ k(xi, [["render", Di]]), Oi = {
4520
+ const fu = /* @__PURE__ */ k(ki, [["render", Pi]]), Ei = {
4530
4521
  props: ["field", "row", "tdProps"]
4531
- }, Pi = { key: 0 }, Ei = ["innerHTML"];
4532
- function ji(e, t, r, n, o, a) {
4533
- return r.row[r.field] ? (d(), u("div", Pi, [
4522
+ }, Ai = { key: 0 }, ji = ["innerHTML"];
4523
+ function Ti(e, t, r, n, o, a) {
4524
+ return r.row[r.field] ? (d(), u("div", Ai, [
4534
4525
  s("div", {
4535
4526
  class: "w-full",
4536
4527
  innerHTML: r.row[r.field]
4537
- }, null, 8, Ei)
4528
+ }, null, 8, ji)
4538
4529
  ])) : f("", !0);
4539
4530
  }
4540
- const cu = /* @__PURE__ */ k(Oi, [["render", ji]]), Ai = {
4531
+ const gu = /* @__PURE__ */ k(Ei, [["render", Ti]]), Ii = {
4541
4532
  props: ["field", "row", "tdProps"],
4542
4533
  computed: {
4543
4534
  entry() {
@@ -4551,24 +4542,24 @@ const cu = /* @__PURE__ */ k(Oi, [["render", ji]]), Ai = {
4551
4542
  return typeof this.row[this.entry.key] == "object";
4552
4543
  }
4553
4544
  }
4554
- }, Ti = { class: "flex flex-wrap gap-2" }, Ii = {
4545
+ }, Mi = { class: "flex flex-wrap gap-2" }, Ni = {
4555
4546
  key: 1,
4556
4547
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4557
4548
  };
4558
- function Mi(e, t, r, n, o, a) {
4559
- return d(), u("div", Ti, [
4549
+ function Li(e, t, r, n, o, a) {
4550
+ return d(), u("div", Mi, [
4560
4551
  a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[a.entry.key], (i, l) => (d(), u("span", {
4561
4552
  key: l,
4562
4553
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4563
- }, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ii, g(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
4554
+ }, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ni, g(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
4564
4555
  ]);
4565
4556
  }
4566
- const fu = /* @__PURE__ */ k(Ai, [["render", Mi]]), Ni = {
4557
+ const hu = /* @__PURE__ */ k(Ii, [["render", Li]]), Vi = {
4567
4558
  props: ["field", "row", "tdProps"]
4568
- }, Li = { key: 0 }, Vi = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
4569
- function Fi(e, t, r, n, o, a) {
4570
- return r.row[r.field] ? (d(), u("div", Li, [
4571
- s("div", Vi, [
4559
+ }, Bi = { key: 0 }, Gi = { class: "m-1 d-inline-block" }, Fi = ["href", "title"], Ri = ["src", "alt", "title"];
4560
+ function Ui(e, t, r, n, o, a) {
4561
+ return r.row[r.field] ? (d(), u("div", Bi, [
4562
+ s("div", Gi, [
4572
4563
  s("a", {
4573
4564
  href: r.row[r.field].url,
4574
4565
  title: r.row[r.field].name,
@@ -4578,37 +4569,37 @@ function Fi(e, t, r, n, o, a) {
4578
4569
  src: r.row[r.field].thumbnail,
4579
4570
  alt: r.row[r.field].name,
4580
4571
  title: r.row[r.field].name
4581
- }, null, 8, Gi)
4582
- ], 8, Bi)
4572
+ }, null, 8, Ri)
4573
+ ], 8, Fi)
4583
4574
  ])
4584
4575
  ])) : f("", !0);
4585
4576
  }
4586
- const gu = /* @__PURE__ */ k(Ni, [["render", Fi], ["__scopeId", "data-v-3a28c02c"]]), Ri = {
4577
+ const mu = /* @__PURE__ */ k(Vi, [["render", Ui], ["__scopeId", "data-v-3a28c02c"]]), qi = {
4587
4578
  props: ["field", "row", "tdProps"],
4588
4579
  computed: {
4589
4580
  isActive() {
4590
4581
  return this.row[this.field] === 1;
4591
4582
  }
4592
4583
  }
4593
- }, Ui = { class: "flex flex-wrap gap-2 text-nowrap" }, qi = {
4584
+ }, zi = { class: "flex flex-wrap gap-2 text-nowrap" }, Hi = {
4594
4585
  key: 0,
4595
4586
  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"
4596
- }, zi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Hi = {
4587
+ }, Zi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Ki = {
4597
4588
  key: 1,
4598
4589
  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"
4599
- }, Zi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
4600
- function Ki(e, t, r, n, o, a) {
4601
- return d(), u("div", Ui, [
4602
- a.isActive ? (d(), u("span", qi, [
4603
- zi,
4604
- w(" Active ")
4605
- ])) : a.isActive ? f("", !0) : (d(), u("span", Hi, [
4590
+ }, Wi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
4591
+ function Yi(e, t, r, n, o, a) {
4592
+ return d(), u("div", zi, [
4593
+ a.isActive ? (d(), u("span", Hi, [
4606
4594
  Zi,
4595
+ w(" Active ")
4596
+ ])) : a.isActive ? f("", !0) : (d(), u("span", Ki, [
4597
+ Wi,
4607
4598
  w(" Inactive ")
4608
4599
  ]))
4609
4600
  ]);
4610
4601
  }
4611
- const hu = /* @__PURE__ */ k(Ri, [["render", Ki]]), Wi = {
4602
+ const bu = /* @__PURE__ */ k(qi, [["render", Yi]]), Xi = {
4612
4603
  props: ["field", "row", "tdProps"],
4613
4604
  computed: {
4614
4605
  hasLabelColor(e) {
@@ -4618,50 +4609,50 @@ const hu = /* @__PURE__ */ k(Ri, [["render", Ki]]), Wi = {
4618
4609
  return t ? t.class : "";
4619
4610
  }
4620
4611
  }
4621
- }, Yi = { class: "flex flex-wrap gap-2 text-nowrap" }, Xi = {
4612
+ }, Ji = { class: "flex flex-wrap gap-2 text-nowrap" }, Qi = {
4622
4613
  key: 0,
4623
4614
  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"
4624
- }, Ji = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Qi = {
4615
+ }, ed = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), td = {
4625
4616
  key: 1,
4626
4617
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"
4627
- }, ed = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), td = {
4618
+ }, rd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), sd = {
4628
4619
  key: 2,
4629
4620
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"
4630
- }, rd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), sd = {
4621
+ }, ad = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), nd = {
4631
4622
  key: 3,
4632
4623
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"
4633
- }, ad = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), nd = {
4624
+ }, od = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), ld = {
4634
4625
  key: 4,
4635
4626
  class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
4636
- }, od = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
4627
+ }, id = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
4637
4628
  /* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
4638
4629
  /* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
4639
4630
  ], -1);
4640
- function ld(e, t, r, n, o, a) {
4641
- return d(), u("div", Yi, [
4642
- a.hasLabelColor == "green" ? (d(), u("span", Xi, [
4643
- Ji,
4644
- w(" " + g(this.row[this.field]), 1)
4645
- ])) : f("", !0),
4646
- a.hasLabelColor == "red" ? (d(), u("span", Qi, [
4631
+ function dd(e, t, r, n, o, a) {
4632
+ return d(), u("div", Ji, [
4633
+ a.hasLabelColor == "green" ? (d(), u("span", Qi, [
4647
4634
  ed,
4648
4635
  w(" " + g(this.row[this.field]), 1)
4649
4636
  ])) : f("", !0),
4650
- a.hasLabelColor == "yellow" ? (d(), u("span", td, [
4637
+ a.hasLabelColor == "red" ? (d(), u("span", td, [
4651
4638
  rd,
4652
4639
  w(" " + g(this.row[this.field]), 1)
4653
4640
  ])) : f("", !0),
4654
- a.hasLabelColor == "default" ? (d(), u("span", sd, [
4641
+ a.hasLabelColor == "yellow" ? (d(), u("span", sd, [
4655
4642
  ad,
4656
4643
  w(" " + g(this.row[this.field]), 1)
4657
4644
  ])) : f("", !0),
4658
- a.hasLabelColor == "animate" ? (d(), u("span", nd, [
4645
+ a.hasLabelColor == "default" ? (d(), u("span", nd, [
4659
4646
  od,
4660
4647
  w(" " + g(this.row[this.field]), 1)
4648
+ ])) : f("", !0),
4649
+ a.hasLabelColor == "animate" ? (d(), u("span", ld, [
4650
+ id,
4651
+ w(" " + g(this.row[this.field]), 1)
4661
4652
  ])) : f("", !0)
4662
4653
  ]);
4663
4654
  }
4664
- const mu = /* @__PURE__ */ k(Wi, [["render", ld]]), id = {
4655
+ const pu = /* @__PURE__ */ k(Xi, [["render", dd]]), ud = {
4665
4656
  props: ["field", "row", "tdProps"],
4666
4657
  computed: {
4667
4658
  hasLabelColor() {
@@ -4682,9 +4673,9 @@ const mu = /* @__PURE__ */ k(Wi, [["render", ld]]), id = {
4682
4673
  }
4683
4674
  }
4684
4675
  }
4685
- }, dd = { class: "flex flex-wrap gap-2 text-nowrap" };
4686
- function ud(e, t, r, n, o, a) {
4687
- return d(), u("div", dd, [
4676
+ }, cd = { class: "flex flex-wrap gap-2 text-nowrap" };
4677
+ function fd(e, t, r, n, o, a) {
4678
+ return d(), u("div", cd, [
4688
4679
  a.hasLabelColor == "Default" ? (d(), u("span", {
4689
4680
  key: 0,
4690
4681
  class: b(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", a.badgeType])
@@ -4719,7 +4710,7 @@ function ud(e, t, r, n, o, a) {
4719
4710
  }, g(this.row[this.field]), 3)) : f("", !0)
4720
4711
  ]);
4721
4712
  }
4722
- const bu = /* @__PURE__ */ k(id, [["render", ud]]), cd = {
4713
+ const yu = /* @__PURE__ */ k(ud, [["render", fd]]), gd = {
4723
4714
  props: ["field", "row", "tdProps"],
4724
4715
  computed: {
4725
4716
  formattedDate() {
@@ -4734,54 +4725,54 @@ const bu = /* @__PURE__ */ k(id, [["render", ud]]), cd = {
4734
4725
  return this.row[this.field] === 1;
4735
4726
  }
4736
4727
  }
4737
- }, fd = { class: "w-full" };
4738
- function gd(e, t, r, n, o, a) {
4739
- return d(), u("div", fd, g(a.formattedDate), 1);
4728
+ }, hd = { class: "w-full" };
4729
+ function md(e, t, r, n, o, a) {
4730
+ return d(), u("div", hd, g(a.formattedDate), 1);
4740
4731
  }
4741
- const pu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
4732
+ const _u = /* @__PURE__ */ k(gd, [["render", md]]), bd = {
4742
4733
  props: ["field", "row", "tdProps"]
4743
- }, md = { class: "flex flex-wrap gap-2 text-nowrap" }, bd = {
4734
+ }, pd = { class: "flex flex-wrap gap-2 text-nowrap" }, yd = {
4744
4735
  key: 0,
4745
4736
  class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
4746
- }, pd = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
4737
+ }, _d = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
4747
4738
  /* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
4748
4739
  /* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
4749
- ], -1), yd = {
4740
+ ], -1), vd = {
4750
4741
  key: 1,
4751
4742
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"
4752
- }, _d = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), vd = {
4743
+ }, xd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), wd = {
4753
4744
  key: 2,
4754
4745
  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"
4755
- }, xd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
4756
- function wd(e, t, r, n, o, a) {
4757
- return d(), u("div", md, [
4758
- r.row[r.field] === 0 ? (d(), u("span", bd, [
4759
- pd,
4760
- w(" Connecting")
4761
- ])) : f("", !0),
4762
- r.row[r.field] === 2 ? (d(), u("span", yd, [
4746
+ }, kd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
4747
+ function $d(e, t, r, n, o, a) {
4748
+ return d(), u("div", pd, [
4749
+ r.row[r.field] === 0 ? (d(), u("span", yd, [
4763
4750
  _d,
4764
- w(" Paused ")
4751
+ w(" Provisioning")
4765
4752
  ])) : f("", !0),
4766
- r.row[r.field] === 1 ? (d(), u("span", vd, [
4753
+ r.row[r.field] === 2 ? (d(), u("span", vd, [
4767
4754
  xd,
4755
+ w(" Paused ")
4756
+ ])) : f("", !0),
4757
+ r.row[r.field] === 1 ? (d(), u("span", wd, [
4758
+ kd,
4768
4759
  w(" Active ")
4769
4760
  ])) : f("", !0)
4770
4761
  ]);
4771
4762
  }
4772
- const yu = /* @__PURE__ */ k(hd, [["render", wd]]), kd = {
4763
+ const vu = /* @__PURE__ */ k(bd, [["render", $d]]), Cd = {
4773
4764
  props: ["field", "row", "tdProps"]
4774
- }, $d = {
4765
+ }, Sd = {
4775
4766
  key: 0,
4776
4767
  class: "text-nowrap"
4777
- }, Cd = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left text-white break-words rounded cursor-default whitespace-nowrap bg-zinc-700" };
4778
- function Sd(e, t, r, n, o, a) {
4779
- return r.row[r.field] ? (d(), u("div", $d, [
4780
- s("pre", Cd, " " + g(r.row[r.field]) + `
4768
+ }, Dd = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left text-white break-words rounded cursor-default whitespace-nowrap bg-zinc-700" };
4769
+ function Od(e, t, r, n, o, a) {
4770
+ return r.row[r.field] ? (d(), u("div", Sd, [
4771
+ s("pre", Dd, " " + g(r.row[r.field]) + `
4781
4772
  `, 1)
4782
4773
  ])) : f("", !0);
4783
4774
  }
4784
- const _u = /* @__PURE__ */ k(kd, [["render", Sd]]), Dd = {
4775
+ const xu = /* @__PURE__ */ k(Cd, [["render", Od]]), Pd = {
4785
4776
  props: ["isOpen", "title", "button_text"],
4786
4777
  methods: {
4787
4778
  confirmAction() {
@@ -4791,35 +4782,35 @@ const _u = /* @__PURE__ */ k(kd, [["render", Sd]]), Dd = {
4791
4782
  this.$emit("cancel-action");
4792
4783
  }
4793
4784
  }
4794
- }, Od = {
4785
+ }, Ed = {
4795
4786
  key: 0,
4796
4787
  class: "fixed inset-0 z-50 overflow-y-auto",
4797
4788
  role: "dialog",
4798
4789
  "aria-modal": "true"
4799
- }, Pd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Ed = /* @__PURE__ */ s("div", {
4790
+ }, Ad = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, jd = /* @__PURE__ */ s("div", {
4800
4791
  class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
4801
4792
  "aria-hidden": "true"
4802
- }, null, -1), jd = /* @__PURE__ */ s("span", {
4793
+ }, null, -1), Td = /* @__PURE__ */ s("span", {
4803
4794
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
4804
4795
  "aria-hidden": "true"
4805
- }, "​", -1), Ad = { 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" }, Td = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Id = { class: "sm:flex sm:items-start" }, Md = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Nd = { class: "text-lg font-medium leading-6 text-gray-900" }, Ld = { class: "mt-2" }, Vd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4806
- function Bd(e, t, r, n, o, a) {
4807
- return r.isOpen ? (d(), u("div", Od, [
4808
- s("div", Pd, [
4809
- Ed,
4796
+ }, "​", -1), Id = { 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" }, Md = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Nd = { class: "sm:flex sm:items-start" }, Ld = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Vd = { class: "text-lg font-medium leading-6 text-gray-900" }, Bd = { class: "mt-2" }, Gd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4797
+ function Fd(e, t, r, n, o, a) {
4798
+ return r.isOpen ? (d(), u("div", Ed, [
4799
+ s("div", Ad, [
4810
4800
  jd,
4811
- s("div", Ad, [
4812
- s("div", Td, [
4813
- s("div", Id, [
4814
- s("div", Md, [
4815
- s("h3", Nd, g(r.title), 1),
4816
- s("div", Ld, [
4801
+ Td,
4802
+ s("div", Id, [
4803
+ s("div", Md, [
4804
+ s("div", Nd, [
4805
+ s("div", Ld, [
4806
+ s("h3", Vd, g(r.title), 1),
4807
+ s("div", Bd, [
4817
4808
  T(e.$slots, "default")
4818
4809
  ])
4819
4810
  ])
4820
4811
  ])
4821
4812
  ]),
4822
- s("div", Vd, [
4813
+ s("div", Gd, [
4823
4814
  s("button", {
4824
4815
  onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
4825
4816
  type: "button",
@@ -4835,43 +4826,43 @@ function Bd(e, t, r, n, o, a) {
4835
4826
  ])
4836
4827
  ])) : f("", !0);
4837
4828
  }
4838
- const vu = /* @__PURE__ */ k(Dd, [["render", Bd]]);
4829
+ const wu = /* @__PURE__ */ k(Pd, [["render", Fd]]);
4839
4830
  export {
4840
- _u as GLDatatableCommand,
4841
- pu as GLDatatableDateTime,
4842
- yu as GLDatatableStatusServer,
4843
- Hd as GlButton,
4844
- qd as GlCard,
4845
- vu as GlConfirmationModal,
4846
- nu as GlDataTable,
4847
- au as GlDataTableServerSide,
4848
- lu as GlDatatableAction,
4849
- iu as GlDatatableDeleteAction,
4850
- du as GlDatatableFileDownload,
4851
- uu as GlDatatableFiles,
4852
- cu as GlDatatableHtml,
4853
- fu as GlDatatableList,
4854
- gu as GlDatatablePicture,
4855
- hu as GlDatatableStatus,
4856
- mu as GlDatatableStatusGeneral,
4857
- bu as GlDatatableStatusSpecficColor,
4831
+ xu as GLDatatableCommand,
4832
+ _u as GLDatatableDateTime,
4833
+ vu as GLDatatableStatusServer,
4834
+ Kd as GlButton,
4835
+ Hd as GlCard,
4836
+ wu as GlConfirmationModal,
4837
+ lu as GlDataTable,
4838
+ ou as GlDataTableServerSide,
4839
+ du as GlDatatableAction,
4840
+ uu as GlDatatableDeleteAction,
4841
+ cu as GlDatatableFileDownload,
4842
+ fu as GlDatatableFiles,
4843
+ gu as GlDatatableHtml,
4844
+ hu as GlDatatableList,
4845
+ mu as GlDatatablePicture,
4846
+ bu as GlDatatableStatus,
4847
+ pu as GlDatatableStatusGeneral,
4848
+ yu as GlDatatableStatusSpecficColor,
4858
4849
  ue as GlDeleteConfirmationModal,
4859
- ru as GlDropdown,
4860
- Fd as GlFilesUpload,
4861
- Ud as GlLanguageSelector,
4862
- eu as GlModal,
4863
- Qd as GlMultiItemSlide,
4864
- zd as GlMultiSelectDropdown,
4865
- Rd as GlNotify,
4866
- Jd as GlTab,
4867
- Xd as GlTabsWrapper,
4850
+ au as GlDropdown,
4851
+ Ud as GlFilesUpload,
4852
+ zd as GlLanguageSelector,
4853
+ ru as GlModal,
4854
+ tu as GlMultiItemSlide,
4855
+ Zd as GlMultiSelectDropdown,
4856
+ qd as GlNotify,
4857
+ eu as GlTab,
4858
+ Qd as GlTabsWrapper,
4868
4859
  xo as GlTailwindPagination,
4869
- Yd as GlTextInput,
4870
- Wd as GlTextTranslate,
4871
- su as GlTextarea,
4872
- Zd as GlTextareaTranslate,
4873
- Kd as GlTinymceTranslate,
4860
+ Jd as GlTextInput,
4861
+ Xd as GlTextTranslate,
4862
+ nu as GlTextarea,
4863
+ Wd as GlTextareaTranslate,
4864
+ Yd as GlTinymceTranslate,
4874
4865
  $e as GlToast,
4875
- ou as GlToastList,
4876
- tu as GlToggleBox
4866
+ iu as GlToastList,
4867
+ su as GlToggleBox
4877
4868
  };