golden-logic-ui 1.0.79 → 1.0.81

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 s, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as V, renderList as k, normalizeStyle as et, renderSlot as A, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as S, onMounted as R, vModelDynamic as tt, provide as rt, pushScopeId as st, popScopeId as at, vModelCheckbox as nt, nextTick as ot, toHandlers as ae, TransitionGroup as lt, unref as it, resolveDirective as De, markRaw as dt } from "vue";
1
+ import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as V, renderList as k, normalizeStyle as et, renderSlot as T, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as S, onMounted as R, vModelDynamic as tt, provide as rt, pushScopeId as st, popScopeId as at, vModelCheckbox as nt, nextTick as ot, toHandlers as ae, TransitionGroup as lt, unref as it, resolveDirective as De, markRaw as dt } from "vue";
2
2
  const $ = (e, t) => {
3
3
  const r = e.__vccOpts || e;
4
4
  for (const [n, o] of t)
@@ -170,13 +170,13 @@ function Ot(e, t) {
170
170
  return e(t);
171
171
  };
172
172
  }
173
- function Te(e, t, r) {
173
+ function Ae(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);
177
177
  };
178
178
  }
179
- function Ae(e, t) {
179
+ function Te(e, t) {
180
180
  e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
181
181
  var r = e.state;
182
182
  ee(e, r, [], e._modules.root, !0), ce(e, r, t);
@@ -199,7 +199,7 @@ function ce(e, t, r) {
199
199
  });
200
200
  }), e._state = Se({
201
201
  data: t
202
- }), e._scope = c, e.strict && At(e), n && r && e._withCommit(function() {
202
+ }), e._scope = c, e.strict && Tt(e), n && r && e._withCommit(function() {
203
203
  n.data = null;
204
204
  }), o && o.stop();
205
205
  }
@@ -222,7 +222,7 @@ function ee(e, t, r, n, o) {
222
222
  jt(e, x, C, h);
223
223
  }), n.forEachGetter(function(m, y) {
224
224
  var x = i + y;
225
- Tt(e, x, m, h);
225
+ At(e, x, m, h);
226
226
  }), n.forEachChild(function(m, y) {
227
227
  ee(e, t, r.concat(y), m, o);
228
228
  });
@@ -300,7 +300,7 @@ function jt(e, t, r, n) {
300
300
  }) : l;
301
301
  });
302
302
  }
303
- function Tt(e, t, r, n) {
303
+ function At(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;
@@ -318,7 +318,7 @@ function Tt(e, t, r, n) {
318
318
  );
319
319
  };
320
320
  }
321
- function At(e) {
321
+ function Tt(e) {
322
322
  Y(function() {
323
323
  return e._state.data;
324
324
  }, function() {
@@ -758,11 +758,11 @@ j.prototype.dispatch = function(t, r) {
758
758
  });
759
759
  };
760
760
  j.prototype.subscribe = function(t, r) {
761
- return Te(t, this._subscribers, r);
761
+ return Ae(t, this._subscribers, r);
762
762
  };
763
763
  j.prototype.subscribeAction = function(t, r) {
764
764
  var n = typeof t == "function" ? { before: t } : t;
765
- return Te(n, this._actionSubscribers, r);
765
+ return Ae(n, this._actionSubscribers, r);
766
766
  };
767
767
  j.prototype.watch = function(t, r, n) {
768
768
  var o = this;
@@ -784,13 +784,13 @@ j.prototype.unregisterModule = function(t) {
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
- }), Ae(this);
787
+ }), Te(this);
788
788
  };
789
789
  j.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
792
  j.prototype.hotUpdate = function(t) {
793
- this._modules.update(t), Ae(this, !0);
793
+ this._modules.update(t), Te(this, !0);
794
794
  };
795
795
  j.prototype._withCommit = function(t) {
796
796
  var r = this._committing;
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
1121
1121
  ], 2)
1122
1122
  ], 64);
1123
1123
  }
1124
- const Od = /* @__PURE__ */ $(Ht, [["render", wr]]), kr = {
1124
+ const Vd = /* @__PURE__ */ $(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 Pd = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
1216
+ const Ld = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
1217
1217
  components: {},
1218
1218
  props: {
1219
1219
  field_name: {
@@ -1248,9 +1248,9 @@ const Pd = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
1248
1248
  },
1249
1249
  mounted() {
1250
1250
  }
1251
- }, Tr = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Ar = ["name", "value", "id", "checked"], Ir = ["for"];
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"];
1252
1252
  function Mr(e, t, r, n, o, a) {
1253
- return d(), u("ul", Tr, [
1253
+ return d(), u("ul", Ar, [
1254
1254
  (d(!0), u(v, null, k(o.locals, (i, l) => (d(), u("li", null, [
1255
1255
  s("input", {
1256
1256
  type: "radio",
@@ -1260,7 +1260,7 @@ function Mr(e, t, r, n, o, a) {
1260
1260
  id: i + "_" + r.field_name,
1261
1261
  autocomplete: "off",
1262
1262
  checked: i === o.default_language
1263
- }, null, 8, Ar),
1263
+ }, null, 8, Tr),
1264
1264
  s("label", {
1265
1265
  for: i + "_" + r.field_name,
1266
1266
  class: b([{
@@ -1272,10 +1272,10 @@ function Mr(e, t, r, n, o, a) {
1272
1272
  ]))), 256))
1273
1273
  ]);
1274
1274
  }
1275
- const Ed = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Vr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Lr = { class: "font-semibold text-black dark:text-white" }, Br = {
1275
+ const Bd = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Vr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Lr = { class: "font-semibold text-black dark:text-white" }, Br = {
1276
1276
  key: 0,
1277
1277
  class: "p-6"
1278
- }, jd = {
1278
+ }, Gd = {
1279
1279
  __name: "GlCard",
1280
1280
  props: {
1281
1281
  class: {
@@ -1291,11 +1291,11 @@ const Ed = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white bord
1291
1291
  s("div", Nr, [
1292
1292
  s("div", Vr, [
1293
1293
  s("h3", Lr, [
1294
- A(n.$slots, "header")
1294
+ T(n.$slots, "header")
1295
1295
  ])
1296
1296
  ]),
1297
1297
  n.$slots.body ? (d(), u("div", Br, [
1298
- A(n.$slots, "body")
1298
+ T(n.$slots, "body")
1299
1299
  ])) : f("", !0)
1300
1300
  ])
1301
1301
  ], 2));
@@ -1586,7 +1586,7 @@ function ns(e, t, r, n, o, a) {
1586
1586
  ], 2))
1587
1587
  ], 64);
1588
1588
  }
1589
- const Td = /* @__PURE__ */ $(Gr, [["render", ns]]), os = {
1589
+ const Fd = /* @__PURE__ */ $(Gr, [["render", ns]]), os = {
1590
1590
  props: {
1591
1591
  button_type: {
1592
1592
  type: String,
@@ -1683,12 +1683,12 @@ function is(e, t, r, n, o, a) {
1683
1683
  key: 0,
1684
1684
  class: b([r.icon, "text-base"])
1685
1685
  }, null, 2)) : f("", !0),
1686
- A(e.$slots, "default")
1686
+ T(e.$slots, "default")
1687
1687
  ]),
1688
1688
  _: 3
1689
1689
  }, 16, ["type", "disabled", "href", "class"]));
1690
1690
  }
1691
- const Ad = /* @__PURE__ */ $(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" }, Id = {
1691
+ const Rd = /* @__PURE__ */ $(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" }, Ud = {
1692
1692
  __name: "GlTextareaTranslate",
1693
1693
  props: {
1694
1694
  is_required: {
@@ -1824,7 +1824,7 @@ const Ad = /* @__PURE__ */ $(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" }, Md = {
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" }, qd = {
1828
1828
  __name: "GlTinymceTranslate",
1829
1829
  props: {
1830
1830
  is_required: {
@@ -1963,7 +1963,7 @@ const Ad = /* @__PURE__ */ $(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"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), As = ["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"], Vs = { class: "gl-span-form-error" }, Ls = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Nd = {
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"], Vs = { class: "gl-span-form-error" }, Ls = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, zd = {
1967
1967
  __name: "GlTextTranslate",
1968
1968
  props: {
1969
1969
  is_required: {
@@ -2052,7 +2052,7 @@ const Ad = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
2052
2052
  id: e.field_name,
2053
2053
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
2054
2054
  }, g(e.model_value), 9, js),
2055
- Ts
2055
+ As
2056
2056
  ], 2)) : f("", !0),
2057
2057
  e.show ? f("", !0) : (d(), u("div", {
2058
2058
  key: 1,
@@ -2065,7 +2065,7 @@ const Ad = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
2065
2065
  required: e.is_required
2066
2066
  }),
2067
2067
  for: e.field_name
2068
- }, g(e.label_name), 11, As),
2068
+ }, g(e.label_name), 11, Ts),
2069
2069
  Is,
2070
2070
  s("input", {
2071
2071
  class: "mb-4",
@@ -2096,7 +2096,7 @@ const Ad = /* @__PURE__ */ $(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"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Vd = {
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"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Hd = {
2100
2100
  __name: "GlTextInput",
2101
2101
  props: {
2102
2102
  is_required: {
@@ -2226,13 +2226,13 @@ function ea(e, t, r, n, o, a) {
2226
2226
  s("div", Xs, [
2227
2227
  s("div", Js, [
2228
2228
  s("div", Qs, [
2229
- A(e.$slots, "default")
2229
+ T(e.$slots, "default")
2230
2230
  ])
2231
2231
  ])
2232
2232
  ])
2233
2233
  ], 64);
2234
2234
  }
2235
- const Ld = /* @__PURE__ */ $(Hs, [["render", ea]]), ta = {
2235
+ const Zd = /* @__PURE__ */ $(Hs, [["render", ea]]), ta = {
2236
2236
  props: ["title"],
2237
2237
  setup() {
2238
2238
  return {
@@ -2242,12 +2242,12 @@ const Ld = /* @__PURE__ */ $(Hs, [["render", ea]]), ta = {
2242
2242
  }, ra = { class: "block" };
2243
2243
  function sa(e, t, r, n, o, a) {
2244
2244
  return O((d(), u("div", ra, [
2245
- A(e.$slots, "default")
2245
+ T(e.$slots, "default")
2246
2246
  ], 512)), [
2247
2247
  [F, r.title == n.selectedTitle]
2248
2248
  ]);
2249
2249
  }
2250
- const Bd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
2250
+ const Kd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
2251
2251
  props: {
2252
2252
  elements_to_show_prop: {
2253
2253
  type: Number,
@@ -2433,9 +2433,9 @@ const Bd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
2433
2433
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2434
2434
  }, null, -1)), Pa = [
2435
2435
  Oa
2436
- ], Ea = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Ta = [
2436
+ ], Ea = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Aa = [
2437
2437
  ja
2438
- ], Aa = {
2438
+ ], Ta = {
2439
2439
  key: 1,
2440
2440
  class: "flex justify-between pl-5 pr-5"
2441
2441
  }, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Na = [
@@ -2570,7 +2570,7 @@ function dn(e, t, r, n, o, a) {
2570
2570
  ])
2571
2571
  ])
2572
2572
  ], 2)) : f("", !0),
2573
- A(e.$slots, "default", {}, void 0, !0),
2573
+ T(e.$slots, "default", {}, void 0, !0),
2574
2574
  e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
2575
2575
  key: 1,
2576
2576
  class: b(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", r.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
@@ -2595,9 +2595,9 @@ function dn(e, t, r, n, o, a) {
2595
2595
  class: b(["gl-dot", { active: e.currentDot == i }]),
2596
2596
  key: i,
2597
2597
  onClick: (l) => a.setDot(i)
2598
- }, Ta, 10, Ea))), 128))
2598
+ }, Aa, 10, Ea))), 128))
2599
2599
  ], 2)) : f("", !0),
2600
- r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Aa, [
2600
+ r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ta, [
2601
2601
  s("div", {
2602
2602
  class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
2603
2603
  }, [
@@ -2648,7 +2648,7 @@ function dn(e, t, r, n, o, a) {
2648
2648
  ], 10, na)
2649
2649
  ]);
2650
2650
  }
2651
- const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
2651
+ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
2652
2652
  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",
2653
2653
  tabindex: "-1",
2654
2654
  "aria-hidden": "true"
@@ -2668,7 +2668,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2668
2668
  ])
2669
2669
  ], -1), mn = [
2670
2670
  hn
2671
- ], 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" }, Fd = {
2671
+ ], 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" }, Yd = {
2672
2672
  __name: "GlModal",
2673
2673
  props: {
2674
2674
  is_open: {
@@ -2720,10 +2720,10 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2720
2720
  s("div", {
2721
2721
  class: b(["relative overflow-y-auto", e.bodyClass])
2722
2722
  }, [
2723
- A(l.$slots, "body")
2723
+ T(l.$slots, "body")
2724
2724
  ], 2),
2725
2725
  s("div", bn, [
2726
- A(l.$slots, "buttons"),
2726
+ T(l.$slots, "buttons"),
2727
2727
  s("button", {
2728
2728
  onClick: i,
2729
2729
  type: "button",
@@ -2736,7 +2736,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2736
2736
  [F, e.is_open]
2737
2737
  ]);
2738
2738
  }
2739
- }, 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" }, Rd = {
2739
+ }, 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" }, Xd = {
2740
2740
  __name: "GlToggleBox",
2741
2741
  props: {
2742
2742
  is_required: {
@@ -2841,7 +2841,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2841
2841
  ], 2))
2842
2842
  ], 64));
2843
2843
  }
2844
- }, 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" }, Tn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), An = ["name", "id", "value"], In = {
2844
+ }, 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 = {
2845
2845
  key: 0,
2846
2846
  class: "dropdown"
2847
2847
  }, 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" }, Vn = ["value", "placeholder"], Ln = { 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", {
@@ -2878,7 +2878,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
2878
2878
  d: "M1 5.917 5.724 10.5 15 1.5"
2879
2879
  }, null, -1), Wn = [
2880
2880
  Kn
2881
- ], 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" }, Ud = {
2881
+ ], 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" }, Jd = {
2882
2882
  __name: "GlDropdown",
2883
2883
  props: {
2884
2884
  modelValue: {
@@ -3043,7 +3043,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3043
3043
  s("p", En, [
3044
3044
  s("span", jn, g((E = y.value) == null ? void 0 : E.name), 1)
3045
3045
  ]),
3046
- Tn
3046
+ An
3047
3047
  ], 2)) : f("", !0),
3048
3048
  e.show ? f("", !0) : (d(), u("div", {
3049
3049
  key: 1,
@@ -3054,7 +3054,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3054
3054
  name: e.field_name,
3055
3055
  id: e.field_name,
3056
3056
  value: (B = y.value) == null ? void 0 : B.id
3057
- }, null, 8, An),
3057
+ }, null, 8, Tn),
3058
3058
  e.options ? (d(), u("div", In, [
3059
3059
  e.label_name ? (d(), u("label", {
3060
3060
  key: 0,
@@ -3072,21 +3072,21 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3072
3072
  "gl-input-form-invalid": e.error_message !== ""
3073
3073
  }, "pl-8 pr-2 showOptions"]),
3074
3074
  ref: e.field_name,
3075
- onClick: D[0] || (D[0] = (T) => re()),
3075
+ onClick: D[0] || (D[0] = (A) => re()),
3076
3076
  value: (ye = y.value) == null ? void 0 : ye.name,
3077
3077
  placeholder: e.placeholder,
3078
3078
  autocomplete: "off",
3079
3079
  readonly: ""
3080
3080
  }, null, 10, Vn),
3081
3081
  O(s("i", {
3082
- onClick: D[1] || (D[1] = N((T) => Ye(), ["stop"])),
3082
+ onClick: D[1] || (D[1] = N((A) => Ye(), ["stop"])),
3083
3083
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
3084
3084
  style: { top: "13px" }
3085
3085
  }, null, 512), [
3086
3086
  [F, te(y.value) && e.has_cancel]
3087
3087
  ]),
3088
3088
  s("i", {
3089
- onClick: D[2] || (D[2] = (T) => !l.value && re()),
3089
+ onClick: D[2] || (D[2] = (A) => !l.value && re()),
3090
3090
  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"]),
3091
3091
  style: { top: "11px" }
3092
3092
  }, null, 2)
@@ -3098,11 +3098,11 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3098
3098
  Rn,
3099
3099
  O(s("input", {
3100
3100
  type: "search",
3101
- "onUpdate:modelValue": D[3] || (D[3] = (T) => c.value = T),
3101
+ "onUpdate:modelValue": D[3] || (D[3] = (A) => c.value = A),
3102
3102
  ref: o.value,
3103
3103
  id: `${e.field_name}search${h.value}`,
3104
3104
  onKeydown: C,
3105
- onBlur: D[4] || (D[4] = (T) => pe()),
3105
+ onBlur: D[4] || (D[4] = (A) => pe()),
3106
3106
  autocomplete: "off",
3107
3107
  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",
3108
3108
  placeholder: "Search ..."
@@ -3112,18 +3112,18 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3112
3112
  ])
3113
3113
  ]),
3114
3114
  s("div", qn, [
3115
- (d(!0), u(v, null, k(x.value, (T, se) => {
3115
+ (d(!0), u(v, null, k(x.value, (A, se) => {
3116
3116
  var _e;
3117
3117
  return d(), u("div", {
3118
3118
  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" : ""]),
3119
- onClick: (Xe) => be(T),
3120
- onMousedown: (Xe) => be(T),
3119
+ onClick: (Xe) => be(A),
3120
+ onMousedown: (Xe) => be(A),
3121
3121
  key: se,
3122
3122
  id: `${se + 1}${h.value}`
3123
3123
  }, [
3124
3124
  s("div", Hn, [
3125
- ((_e = y.value) == null ? void 0 : _e.id) === T.id ? (d(), u("svg", Zn, Wn)) : f("", !0),
3126
- s("span", null, g(T.name || T.id || "-"), 1)
3125
+ ((_e = y.value) == null ? void 0 : _e.id) === A.id ? (d(), u("svg", Zn, Wn)) : f("", !0),
3126
+ s("span", null, g(A.name || A.id || "-"), 1)
3127
3127
  ])
3128
3128
  ], 42, zn);
3129
3129
  }), 128))
@@ -3139,7 +3139,7 @@ const Gd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
3139
3139
  ], 64);
3140
3140
  };
3141
3141
  }
3142
- }, 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" }, qd = {
3142
+ }, 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" }, Qd = {
3143
3143
  __name: "GlTextarea",
3144
3144
  props: {
3145
3145
  is_required: {
@@ -3446,7 +3446,7 @@ function vo(e, t, r, n, o, a) {
3446
3446
  "aria-label": "Previous",
3447
3447
  tabindex: !l.computed.prevPageUrl && -1
3448
3448
  }, ae(l.prevButtonEvents, !0)), [
3449
- A(e.$slots, "prev-nav", {}, () => [
3449
+ T(e.$slots, "prev-nav", {}, () => [
3450
3450
  ho,
3451
3451
  mo
3452
3452
  ])
@@ -3474,7 +3474,7 @@ function vo(e, t, r, n, o, a) {
3474
3474
  "aria-label": "Next",
3475
3475
  tabindex: !l.computed.nextPageUrl && -1
3476
3476
  }, ae(l.nextButtonEvents, !0)), [
3477
- A(e.$slots, "next-nav", {}, () => [
3477
+ T(e.$slots, "next-nav", {}, () => [
3478
3478
  yo,
3479
3479
  _o
3480
3480
  ])
@@ -3514,6 +3514,7 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
3514
3514
  page: 1
3515
3515
  };
3516
3516
  },
3517
+ emits: ["editAction"],
3517
3518
  computed: {
3518
3519
  filteredData() {
3519
3520
  const e = this.search.toLowerCase();
@@ -3523,6 +3524,9 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
3523
3524
  }
3524
3525
  },
3525
3526
  methods: {
3527
+ editAction(e) {
3528
+ this.$emit("editAction", e);
3529
+ },
3526
3530
  forDynCompIs(e) {
3527
3531
  return typeof e == "object" ? e : null;
3528
3532
  },
@@ -3579,7 +3583,7 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
3579
3583
  "clip-rule": "evenodd"
3580
3584
  })
3581
3585
  ])
3582
- ], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Ao = { 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 = {
3586
+ ], -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 = {
3583
3587
  key: 0,
3584
3588
  class: "ml-2"
3585
3589
  }, Vo = {
@@ -3667,8 +3671,8 @@ function Ho(e, t, r, n, o, a) {
3667
3671
  ])
3668
3672
  ])
3669
3673
  ]),
3670
- s("div", To, [
3671
- s("table", Ao, [
3674
+ s("div", Ao, [
3675
+ s("table", To, [
3672
3676
  s("thead", Io, [
3673
3677
  s("tr", null, [
3674
3678
  (d(!0), u(v, null, k(r.columns, (c, h) => (d(), u("th", {
@@ -3705,7 +3709,8 @@ function Ho(e, t, r, n, o, a) {
3705
3709
  field: m.field_name,
3706
3710
  xprops: r.xprops,
3707
3711
  tdProps: m.tdProps,
3708
- onDeleteAction: t[3] || (t[3] = (x) => a.GetItemLists())
3712
+ onDeleteAction: t[3] || (t[3] = (x) => a.GetItemLists()),
3713
+ onEditAction: t[4] || (t[4] = (x) => a.editAction(r.data))
3709
3714
  }, null, 40, ["row", "field", "xprops", "tdProps"])) : (d(), u(v, { key: 1 }, [
3710
3715
  w(g(c[m.field_name]), 1)
3711
3716
  ], 64))
@@ -3727,7 +3732,7 @@ function Ho(e, t, r, n, o, a) {
3727
3732
  ])
3728
3733
  ]);
3729
3734
  }
3730
- const zd = /* @__PURE__ */ $(wo, [["render", Ho]]), Zo = {
3735
+ const eu = /* @__PURE__ */ $(wo, [["render", Ho]]), Zo = {
3731
3736
  components: {},
3732
3737
  props: {
3733
3738
  data: Array,
@@ -4019,10 +4024,10 @@ function jl(e, t, r, n, o, a) {
4019
4024
  ])
4020
4025
  ]);
4021
4026
  }
4022
- const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
4027
+ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
4023
4028
  class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
4024
4029
  role: "alert"
4025
- }, Al = {
4030
+ }, Tl = {
4026
4031
  key: 0,
4027
4032
  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"
4028
4033
  }, Il = /* @__PURE__ */ s("svg", {
@@ -4099,8 +4104,8 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
4099
4104
  setTimeout(() => n("remove"), r.duration);
4100
4105
  });
4101
4106
  const n = t;
4102
- return (o, a) => (d(), u("div", Tl, [
4103
- r.type === "success" ? (d(), u("div", Al, Nl)) : f("", !0),
4107
+ return (o, a) => (d(), u("div", Al, [
4108
+ r.type === "success" ? (d(), u("div", Tl, Nl)) : f("", !0),
4104
4109
  r.type === "error" ? (d(), u("div", Vl, Gl)) : f("", !0),
4105
4110
  r.type === "warning" ? (d(), u("div", Fl, ql)) : f("", !0),
4106
4111
  s("div", zl, g(r.message), 1),
@@ -4130,7 +4135,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
4130
4135
  }, $e = {
4131
4136
  state: de,
4132
4137
  methods: Yl
4133
- }, Zd = {
4138
+ }, ru = {
4134
4139
  __name: "GlToastList",
4135
4140
  setup(e) {
4136
4141
  function t(r) {
@@ -4172,7 +4177,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
4172
4177
  ], 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 = {
4173
4178
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4174
4179
  "aria-labelledby": "dropdownDividerButton"
4175
- }, 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), Kd = {
4180
+ }, 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), su = {
4176
4181
  __name: "DatatableAction",
4177
4182
  props: {
4178
4183
  field: {
@@ -4278,7 +4283,7 @@ const Hd = /* @__PURE__ */ $(Zo, [["render", jl]]), Tl = {
4278
4283
  ], 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 = {
4279
4284
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4280
4285
  "aria-labelledby": "dropdownDividerButton"
4281
- }, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Wd = {
4286
+ }, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), au = {
4282
4287
  __name: "DatatableDeleteAction",
4283
4288
  props: {
4284
4289
  field: {
@@ -4441,7 +4446,7 @@ function vi(e, t, r, n, o, a) {
4441
4446
  ])) : f("", !0)
4442
4447
  ]);
4443
4448
  }
4444
- const Yd = /* @__PURE__ */ $(hi, [["render", vi]]), xi = {
4449
+ const nu = /* @__PURE__ */ $(hi, [["render", vi]]), xi = {
4445
4450
  props: ["field", "row"],
4446
4451
  computed: {
4447
4452
  isArray() {
@@ -4517,7 +4522,7 @@ function Di(e, t, r, n, o, a) {
4517
4522
  ])) : f("", !0)
4518
4523
  ]);
4519
4524
  }
4520
- const Xd = /* @__PURE__ */ $(xi, [["render", Di]]), Oi = {
4525
+ const ou = /* @__PURE__ */ $(xi, [["render", Di]]), Oi = {
4521
4526
  props: ["field", "row", "tdProps"]
4522
4527
  }, Pi = { key: 0 }, Ei = ["innerHTML"];
4523
4528
  function ji(e, t, r, n, o, a) {
@@ -4528,7 +4533,7 @@ function ji(e, t, r, n, o, a) {
4528
4533
  }, null, 8, Ei)
4529
4534
  ])) : f("", !0);
4530
4535
  }
4531
- const Jd = /* @__PURE__ */ $(Oi, [["render", ji]]), Ti = {
4536
+ const lu = /* @__PURE__ */ $(Oi, [["render", ji]]), Ai = {
4532
4537
  props: ["field", "row", "tdProps"],
4533
4538
  computed: {
4534
4539
  entry() {
@@ -4542,19 +4547,19 @@ const Jd = /* @__PURE__ */ $(Oi, [["render", ji]]), Ti = {
4542
4547
  return typeof this.row[this.entry.key] == "object";
4543
4548
  }
4544
4549
  }
4545
- }, Ai = { class: "flex flex-wrap gap-2" }, Ii = {
4550
+ }, Ti = { class: "flex flex-wrap gap-2" }, Ii = {
4546
4551
  key: 1,
4547
4552
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4548
4553
  };
4549
4554
  function Mi(e, t, r, n, o, a) {
4550
- return d(), u("div", Ai, [
4555
+ return d(), u("div", Ti, [
4551
4556
  a.isArray ? (d(!0), u(v, { key: 0 }, k(r.row[a.entry.key], (i, l) => (d(), u("span", {
4552
4557
  key: l,
4553
4558
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4554
4559
  }, 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)
4555
4560
  ]);
4556
4561
  }
4557
- const Qd = /* @__PURE__ */ $(Ti, [["render", Mi]]), Ni = {
4562
+ const iu = /* @__PURE__ */ $(Ai, [["render", Mi]]), Ni = {
4558
4563
  props: ["field", "row", "tdProps"]
4559
4564
  }, Vi = { key: 0 }, Li = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
4560
4565
  function Fi(e, t, r, n, o, a) {
@@ -4574,7 +4579,7 @@ function Fi(e, t, r, n, o, a) {
4574
4579
  ])
4575
4580
  ])) : f("", !0);
4576
4581
  }
4577
- const eu = /* @__PURE__ */ $(Ni, [["render", Fi], ["__scopeId", "data-v-3a28c02c"]]), Ri = {
4582
+ const du = /* @__PURE__ */ $(Ni, [["render", Fi], ["__scopeId", "data-v-3a28c02c"]]), Ri = {
4578
4583
  props: ["field", "row", "tdProps"],
4579
4584
  computed: {
4580
4585
  isActive() {
@@ -4599,7 +4604,7 @@ function Ki(e, t, r, n, o, a) {
4599
4604
  ]))
4600
4605
  ]);
4601
4606
  }
4602
- const tu = /* @__PURE__ */ $(Ri, [["render", Ki]]), Wi = {
4607
+ const uu = /* @__PURE__ */ $(Ri, [["render", Ki]]), Wi = {
4603
4608
  props: ["field", "row", "tdProps"],
4604
4609
  computed: {
4605
4610
  hasLabelColor(e) {
@@ -4652,7 +4657,7 @@ function ld(e, t, r, n, o, a) {
4652
4657
  ])) : f("", !0)
4653
4658
  ]);
4654
4659
  }
4655
- const ru = /* @__PURE__ */ $(Wi, [["render", ld]]), id = {
4660
+ const cu = /* @__PURE__ */ $(Wi, [["render", ld]]), id = {
4656
4661
  props: ["field", "row", "tdProps"],
4657
4662
  computed: {
4658
4663
  hasLabelColor() {
@@ -4710,7 +4715,7 @@ function ud(e, t, r, n, o, a) {
4710
4715
  }, g(this.row[this.field]), 3)) : f("", !0)
4711
4716
  ]);
4712
4717
  }
4713
- const su = /* @__PURE__ */ $(id, [["render", ud]]), cd = {
4718
+ const fu = /* @__PURE__ */ $(id, [["render", ud]]), cd = {
4714
4719
  props: ["field", "row", "tdProps"],
4715
4720
  computed: {
4716
4721
  formattedDate() {
@@ -4729,7 +4734,38 @@ const su = /* @__PURE__ */ $(id, [["render", ud]]), cd = {
4729
4734
  function gd(e, t, r, n, o, a) {
4730
4735
  return d(), u("div", fd, g(a.formattedDate), 1);
4731
4736
  }
4732
- const au = /* @__PURE__ */ $(cd, [["render", gd]]), hd = {
4737
+ const gu = /* @__PURE__ */ $(cd, [["render", gd]]), hd = {
4738
+ props: ["field", "row", "tdProps"]
4739
+ }, md = { class: "flex flex-wrap gap-2 text-nowrap" }, bd = {
4740
+ key: 0,
4741
+ 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"
4742
+ }, pd = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
4743
+ /* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
4744
+ /* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
4745
+ ], -1), yd = {
4746
+ key: 1,
4747
+ 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"
4748
+ }, _d = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), vd = {
4749
+ key: 2,
4750
+ 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"
4751
+ }, xd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
4752
+ function wd(e, t, r, n, o, a) {
4753
+ return d(), u("div", md, [
4754
+ r.row[r.field] === 0 ? (d(), u("span", bd, [
4755
+ pd,
4756
+ w(" Connecting")
4757
+ ])) : f("", !0),
4758
+ r.row[r.field] === 2 ? (d(), u("span", yd, [
4759
+ _d,
4760
+ w(" Paused ")
4761
+ ])) : f("", !0),
4762
+ r.row[r.field] === 1 ? (d(), u("span", vd, [
4763
+ xd,
4764
+ w(" Active ")
4765
+ ])) : f("", !0)
4766
+ ]);
4767
+ }
4768
+ const hu = /* @__PURE__ */ $(hd, [["render", wd]]), kd = {
4733
4769
  props: ["isOpen", "title", "button_text"],
4734
4770
  methods: {
4735
4771
  confirmAction() {
@@ -4739,35 +4775,35 @@ const au = /* @__PURE__ */ $(cd, [["render", gd]]), hd = {
4739
4775
  this.$emit("cancel-action");
4740
4776
  }
4741
4777
  }
4742
- }, md = {
4778
+ }, $d = {
4743
4779
  key: 0,
4744
4780
  class: "fixed inset-0 z-50 overflow-y-auto",
4745
4781
  role: "dialog",
4746
4782
  "aria-modal": "true"
4747
- }, bd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, pd = /* @__PURE__ */ s("div", {
4783
+ }, Cd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Sd = /* @__PURE__ */ s("div", {
4748
4784
  class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
4749
4785
  "aria-hidden": "true"
4750
- }, null, -1), yd = /* @__PURE__ */ s("span", {
4786
+ }, null, -1), Dd = /* @__PURE__ */ s("span", {
4751
4787
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
4752
4788
  "aria-hidden": "true"
4753
- }, "​", -1), _d = { 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" }, vd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, xd = { class: "sm:flex sm:items-start" }, wd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, kd = { class: "text-lg font-medium leading-6 text-gray-900" }, $d = { class: "mt-2" }, Cd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4754
- function Sd(e, t, r, n, o, a) {
4755
- return r.isOpen ? (d(), u("div", md, [
4756
- s("div", bd, [
4757
- pd,
4758
- yd,
4759
- s("div", _d, [
4760
- s("div", vd, [
4761
- s("div", xd, [
4762
- s("div", wd, [
4763
- s("h3", kd, g(r.title), 1),
4764
- s("div", $d, [
4765
- A(e.$slots, "default")
4789
+ }, "​", -1), Od = { 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" }, Pd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Ed = { class: "sm:flex sm:items-start" }, jd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Ad = { class: "text-lg font-medium leading-6 text-gray-900" }, Td = { class: "mt-2" }, Id = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4790
+ function Md(e, t, r, n, o, a) {
4791
+ return r.isOpen ? (d(), u("div", $d, [
4792
+ s("div", Cd, [
4793
+ Sd,
4794
+ Dd,
4795
+ s("div", Od, [
4796
+ s("div", Pd, [
4797
+ s("div", Ed, [
4798
+ s("div", jd, [
4799
+ s("h3", Ad, g(r.title), 1),
4800
+ s("div", Td, [
4801
+ T(e.$slots, "default")
4766
4802
  ])
4767
4803
  ])
4768
4804
  ])
4769
4805
  ]),
4770
- s("div", Cd, [
4806
+ s("div", Id, [
4771
4807
  s("button", {
4772
4808
  onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
4773
4809
  type: "button",
@@ -4783,41 +4819,42 @@ function Sd(e, t, r, n, o, a) {
4783
4819
  ])
4784
4820
  ])) : f("", !0);
4785
4821
  }
4786
- const nu = /* @__PURE__ */ $(hd, [["render", Sd]]);
4822
+ const mu = /* @__PURE__ */ $(kd, [["render", Md]]);
4787
4823
  export {
4788
- au as GLDatatableDateTime,
4789
- Ad as GlButton,
4790
- jd as GlCard,
4791
- nu as GlConfirmationModal,
4792
- Hd as GlDataTable,
4793
- zd as GlDataTableServerSide,
4794
- Kd as GlDatatableAction,
4795
- Wd as GlDatatableDeleteAction,
4796
- Yd as GlDatatableFileDownload,
4797
- Xd as GlDatatableFiles,
4798
- Jd as GlDatatableHtml,
4799
- Qd as GlDatatableList,
4800
- eu as GlDatatablePicture,
4801
- tu as GlDatatableStatus,
4802
- ru as GlDatatableStatusGeneral,
4803
- su as GlDatatableStatusSpecficColor,
4824
+ gu as GLDatatableDateTime,
4825
+ hu as GLDatatableStatusServer,
4826
+ Rd as GlButton,
4827
+ Gd as GlCard,
4828
+ mu as GlConfirmationModal,
4829
+ tu as GlDataTable,
4830
+ eu as GlDataTableServerSide,
4831
+ su as GlDatatableAction,
4832
+ au as GlDatatableDeleteAction,
4833
+ nu as GlDatatableFileDownload,
4834
+ ou as GlDatatableFiles,
4835
+ lu as GlDatatableHtml,
4836
+ iu as GlDatatableList,
4837
+ du as GlDatatablePicture,
4838
+ uu as GlDatatableStatus,
4839
+ cu as GlDatatableStatusGeneral,
4840
+ fu as GlDatatableStatusSpecficColor,
4804
4841
  ue as GlDeleteConfirmationModal,
4805
- Ud as GlDropdown,
4806
- Od as GlFilesUpload,
4807
- Ed as GlLanguageSelector,
4808
- Fd as GlModal,
4809
- Gd as GlMultiItemSlide,
4810
- Td as GlMultiSelectDropdown,
4811
- Pd as GlNotify,
4812
- Bd as GlTab,
4813
- Ld as GlTabsWrapper,
4842
+ Jd as GlDropdown,
4843
+ Vd as GlFilesUpload,
4844
+ Bd as GlLanguageSelector,
4845
+ Yd as GlModal,
4846
+ Wd as GlMultiItemSlide,
4847
+ Fd as GlMultiSelectDropdown,
4848
+ Ld as GlNotify,
4849
+ Kd as GlTab,
4850
+ Zd as GlTabsWrapper,
4814
4851
  xo as GlTailwindPagination,
4815
- Vd as GlTextInput,
4816
- Nd as GlTextTranslate,
4817
- qd as GlTextarea,
4818
- Id as GlTextareaTranslate,
4819
- Md as GlTinymceTranslate,
4852
+ Hd as GlTextInput,
4853
+ zd as GlTextTranslate,
4854
+ Qd as GlTextarea,
4855
+ Ud as GlTextareaTranslate,
4856
+ qd as GlTinymceTranslate,
4820
4857
  $e as GlToast,
4821
- Zd as GlToastList,
4822
- Rd as GlToggleBox
4858
+ ru as GlToastList,
4859
+ Xd as GlToggleBox
4823
4860
  };