golden-logic-ui 1.0.91 → 1.0.93

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 Qe, inject as Ce, watch as Y, effectScope as et, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as h, withModifiers as N, withDirectives as D, vModelText as L, renderList as $, normalizeStyle as tt, 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 rt, provide as st, pushScopeId as at, popScopeId as nt, vModelCheckbox as ot, nextTick as lt, isRef as it, unref as De, toHandlers as ae, TransitionGroup as dt, resolveDirective as Oe, markRaw as ut } from "vue";
1
+ import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Qe, inject as Se, watch as Y, effectScope as et, computed as L, reactive as De, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as h, withModifiers as N, withDirectives as D, vModelText as V, renderList as C, normalizeStyle as tt, renderSlot as T, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as $, onMounted as R, vModelDynamic as rt, provide as st, pushScopeId as at, popScopeId as nt, vModelCheckbox as ot, nextTick as lt, isRef as it, unref as Oe, toHandlers as ae, TransitionGroup as dt, resolveDirective as ue, markRaw as ut } from "vue";
2
2
  const k = (e, t) => {
3
3
  const r = e.__vccOpts || e;
4
4
  for (const [n, o] of t)
@@ -50,7 +50,7 @@ function _t(e, t, r, n, o, a) {
50
50
  ])
51
51
  ])) : f("", !0);
52
52
  }
53
- const ue = /* @__PURE__ */ k(ct, [["render", _t]]);
53
+ const ce = /* @__PURE__ */ k(ct, [["render", _t]]);
54
54
  function vt() {
55
55
  return Pe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
56
56
  }
@@ -58,10 +58,10 @@ function Pe() {
58
58
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
59
59
  }
60
60
  const xt = typeof Proxy == "function", wt = "devtools-plugin:setup", kt = "plugin:settings:set";
61
- let z, le;
61
+ let H, le;
62
62
  function $t() {
63
63
  var e;
64
- return z !== void 0 || (typeof window < "u" && window.performance ? (z = !0, le = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (z = !0, le = globalThis.perf_hooks.performance) : z = !1), z;
64
+ return H !== void 0 || (typeof window < "u" && window.performance ? (H = !0, le = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (H = !0, le = globalThis.perf_hooks.performance) : H = !1), H;
65
65
  }
66
66
  function Ct() {
67
67
  return $t() ? le.now() : Date.now();
@@ -148,7 +148,7 @@ function Dt(e, t) {
148
148
  */
149
149
  var Ee = "store";
150
150
  function Ae(e) {
151
- return e === void 0 && (e = null), Ce(e !== null ? e : Ee);
151
+ return e === void 0 && (e = null), Se(e !== null ? e : Ee);
152
152
  }
153
153
  function U(e, t) {
154
154
  Object.keys(e).forEach(function(r) {
@@ -179,15 +179,15 @@ function Te(e, t, r) {
179
179
  function Ie(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
- ee(e, r, [], e._modules.root, !0), ce(e, r, t);
182
+ ee(e, r, [], e._modules.root, !0), fe(e, r, t);
183
183
  }
184
- function ce(e, t, r) {
184
+ function fe(e, t, r) {
185
185
  var n = e._state, o = e._scope;
186
186
  e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
187
187
  var a = e._wrappedGetters, i = {}, l = {}, c = et(!0);
188
188
  c.run(function() {
189
189
  U(a, function(g, m) {
190
- i[m] = Pt(g, e), l[m] = G(function() {
190
+ i[m] = Pt(g, e), l[m] = L(function() {
191
191
  return i[m]();
192
192
  }), Object.defineProperty(e.getters, m, {
193
193
  get: function() {
@@ -197,7 +197,7 @@ function ce(e, t, r) {
197
197
  // for local getters
198
198
  });
199
199
  });
200
- }), e._state = Se({
200
+ }), e._state = De({
201
201
  data: t
202
202
  }), e._scope = c, e.strict && It(e), n && r && e._withCommit(function() {
203
203
  n.data = null;
@@ -206,7 +206,7 @@ function ce(e, t, r) {
206
206
  function ee(e, t, r, n, o) {
207
207
  var a = !r.length, i = e._modules.getNamespace(r);
208
208
  if (n.namespaced && (e._modulesNamespaceMap[i] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + i + " for the namespaced module " + r.join("/")), e._modulesNamespaceMap[i] = n), !a && !o) {
209
- var l = fe(t, r.slice(0, -1)), c = r[r.length - 1];
209
+ var l = ge(t, r.slice(0, -1)), c = r[r.length - 1];
210
210
  e._withCommit(function() {
211
211
  process.env.NODE_ENV !== "production" && c in l && console.warn(
212
212
  '[vuex] state field "' + c + '" was overridden by a module with the same name at "' + r.join(".") + '"'
@@ -218,8 +218,8 @@ function ee(e, t, r, n, o) {
218
218
  var x = i + y;
219
219
  At(e, x, m, g);
220
220
  }), n.forEachAction(function(m, y) {
221
- var x = m.root ? y : i + y, C = m.handler || m;
222
- jt(e, x, C, g);
221
+ var x = m.root ? y : i + y, S = m.handler || m;
222
+ jt(e, x, S, g);
223
223
  }), n.forEachGetter(function(m, y) {
224
224
  var x = i + y;
225
225
  Tt(e, x, m, g);
@@ -256,7 +256,7 @@ function Et(e, t, r) {
256
256
  },
257
257
  state: {
258
258
  get: function() {
259
- return fe(e.state, r);
259
+ return ge(e.state, r);
260
260
  }
261
261
  }
262
262
  }), o;
@@ -325,7 +325,7 @@ function It(e) {
325
325
  process.env.NODE_ENV !== "production" && I(e._committing, "do not mutate vuex store state outside mutation handlers.");
326
326
  }, { deep: !0, flush: "sync" });
327
327
  }
328
- function fe(e, t) {
328
+ function ge(e, t) {
329
329
  return t.reduce(function(r, n) {
330
330
  return r[n];
331
331
  }, e);
@@ -333,8 +333,8 @@ function fe(e, t) {
333
333
  function Q(e, t, r) {
334
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 };
335
335
  }
336
- var Mt = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", H = "vuex", Nt = 0;
337
- function Lt(e, t) {
336
+ var Mt = "vuex bindings", xe = "vuex:mutations", ne = "vuex:actions", z = "vuex", Nt = 0;
337
+ function Vt(e, t) {
338
338
  Dt(
339
339
  {
340
340
  id: "org.vuejs.vuex",
@@ -347,29 +347,29 @@ function Lt(e, t) {
347
347
  },
348
348
  function(r) {
349
349
  r.addTimelineLayer({
350
- id: ve,
350
+ id: xe,
351
351
  label: "Vuex Mutations",
352
- color: xe
352
+ color: we
353
353
  }), r.addTimelineLayer({
354
354
  id: ne,
355
355
  label: "Vuex Actions",
356
- color: xe
356
+ color: we
357
357
  }), r.addInspector({
358
- id: H,
358
+ id: z,
359
359
  label: "Vuex",
360
360
  icon: "storage",
361
361
  treeFilterPlaceholder: "Filter stores..."
362
362
  }), r.on.getInspectorTree(function(n) {
363
- if (n.app === e && n.inspectorId === H)
363
+ if (n.app === e && n.inspectorId === z)
364
364
  if (n.filter) {
365
365
  var o = [];
366
366
  Be(o, t._modules.root, n.filter, ""), n.rootNodes = o;
367
367
  } else
368
368
  n.rootNodes = [
369
- Ve(t._modules.root, "")
369
+ Le(t._modules.root, "")
370
370
  ];
371
371
  }), r.on.getInspectorState(function(n) {
372
- if (n.app === e && n.inspectorId === H) {
372
+ if (n.app === e && n.inspectorId === z) {
373
373
  var o = n.nodeId;
374
374
  Me(t, o), n.state = Gt(
375
375
  Rt(t._modules, o),
@@ -378,7 +378,7 @@ function Lt(e, t) {
378
378
  );
379
379
  }
380
380
  }), r.on.editInspectorState(function(n) {
381
- if (n.app === e && n.inspectorId === H) {
381
+ if (n.app === e && n.inspectorId === z) {
382
382
  var o = n.nodeId, a = n.path;
383
383
  o !== "root" && (a = o.split("/").filter(Boolean).concat(a)), t._withCommit(function() {
384
384
  n.set(t._state.data, a, n.state.value);
@@ -386,8 +386,8 @@ function Lt(e, t) {
386
386
  }
387
387
  }), t.subscribe(function(n, o) {
388
388
  var a = {};
389
- n.payload && (a.payload = n.payload), a.state = o, r.notifyComponentUpdate(), r.sendInspectorTree(H), r.sendInspectorState(H), r.addTimelineEvent({
390
- layerId: ve,
389
+ n.payload && (a.payload = n.payload), a.state = o, r.notifyComponentUpdate(), r.sendInspectorTree(z), r.sendInspectorState(z), r.addTimelineEvent({
390
+ layerId: xe,
391
391
  event: {
392
392
  time: Date.now(),
393
393
  title: n.type,
@@ -432,25 +432,25 @@ function Lt(e, t) {
432
432
  }
433
433
  );
434
434
  }
435
- var xe = 8702998, Vt = 6710886, Bt = 16777215, Ne = {
435
+ var we = 8702998, Lt = 6710886, Bt = 16777215, Ne = {
436
436
  label: "namespaced",
437
437
  textColor: Bt,
438
- backgroundColor: Vt
438
+ backgroundColor: Lt
439
439
  };
440
- function Le(e) {
440
+ function Ve(e) {
441
441
  return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
442
442
  }
443
- function Ve(e, t) {
443
+ function Le(e, t) {
444
444
  return {
445
445
  id: t || "root",
446
446
  // all modules end with a `/`, we want the last segment only
447
447
  // cart/ -> cart
448
448
  // nested/cart/ -> cart
449
- label: Le(t),
449
+ label: Ve(t),
450
450
  tags: e.namespaced ? [Ne] : [],
451
451
  children: Object.keys(e._children).map(
452
452
  function(r) {
453
- return Ve(
453
+ return Le(
454
454
  e._children[r],
455
455
  t + r + "/"
456
456
  );
@@ -482,7 +482,7 @@ function Gt(e, t, r) {
482
482
  var a = Ft(t);
483
483
  o.getters = Object.keys(a).map(function(i) {
484
484
  return {
485
- key: i.endsWith("/") ? Le(i) : i,
485
+ key: i.endsWith("/") ? Ve(i) : i,
486
486
  editable: !1,
487
487
  value: ie(function() {
488
488
  return a[i];
@@ -634,7 +634,7 @@ function Fe(e, t, r) {
634
634
  );
635
635
  }
636
636
  }
637
- var we = {
637
+ var ke = {
638
638
  assert: function(e) {
639
639
  return typeof e == "function";
640
640
  },
@@ -644,15 +644,15 @@ var we = {
644
644
  return typeof e == "function" || typeof e == "object" && typeof e.handler == "function";
645
645
  },
646
646
  expected: 'function or object with "handler" function'
647
- }, ke = {
648
- getters: we,
649
- mutations: we,
647
+ }, $e = {
648
+ getters: ke,
649
+ mutations: ke,
650
650
  actions: Ut
651
651
  };
652
652
  function Re(e, t) {
653
- Object.keys(ke).forEach(function(r) {
653
+ Object.keys($e).forEach(function(r) {
654
654
  if (t[r]) {
655
- var n = ke[r];
655
+ var n = $e[r];
656
656
  U(t[r], function(o, a) {
657
657
  I(
658
658
  n.assert(o),
@@ -676,25 +676,25 @@ var A = function e(t) {
676
676
  var a = t.devtools;
677
677
  this._committing = !1, this._actions = /* @__PURE__ */ Object.create(null), this._actionSubscribers = [], this._mutations = /* @__PURE__ */ Object.create(null), this._wrappedGetters = /* @__PURE__ */ Object.create(null), this._modules = new q(t), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null), this._scope = null, this._devtools = a;
678
678
  var i = this, l = this, c = l.dispatch, g = l.commit;
679
- this.dispatch = function(x, C) {
680
- return c.call(i, x, C);
681
- }, this.commit = function(x, C, V) {
682
- return g.call(i, x, C, V);
679
+ this.dispatch = function(x, S) {
680
+ return c.call(i, x, S);
681
+ }, this.commit = function(x, S, B) {
682
+ return g.call(i, x, S, B);
683
683
  }, this.strict = o;
684
684
  var m = this._modules.root.state;
685
- ee(this, m, [], this._modules.root), ce(this, m), n.forEach(function(y) {
685
+ ee(this, m, [], this._modules.root), fe(this, m), n.forEach(function(y) {
686
686
  return y(r);
687
687
  });
688
- }, ge = { state: { configurable: !0 } };
688
+ }, he = { state: { configurable: !0 } };
689
689
  A.prototype.install = function(t, r) {
690
690
  t.provide(r || Ee, this), t.config.globalProperties.$store = this;
691
691
  var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
692
- n && Lt(t, this);
692
+ n && Vt(t, this);
693
693
  };
694
- ge.state.get = function() {
694
+ he.state.get = function() {
695
695
  return this._state.data;
696
696
  };
697
- ge.state.set = function(e) {
697
+ he.state.set = function(e) {
698
698
  process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
699
699
  };
700
700
  A.prototype.commit = function(t, r, n) {
@@ -734,24 +734,24 @@ A.prototype.dispatch = function(t, r) {
734
734
  return new Promise(function(m, y) {
735
735
  g.then(function(x) {
736
736
  try {
737
- n._actionSubscribers.filter(function(C) {
738
- return C.after;
739
- }).forEach(function(C) {
740
- return C.after(l, n.state);
737
+ n._actionSubscribers.filter(function(S) {
738
+ return S.after;
739
+ }).forEach(function(S) {
740
+ return S.after(l, n.state);
741
741
  });
742
- } catch (C) {
743
- process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(C));
742
+ } catch (S) {
743
+ process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(S));
744
744
  }
745
745
  m(x);
746
746
  }, function(x) {
747
747
  try {
748
- n._actionSubscribers.filter(function(C) {
749
- return C.error;
750
- }).forEach(function(C) {
751
- return C.error(l, n.state, x);
748
+ n._actionSubscribers.filter(function(S) {
749
+ return S.error;
750
+ }).forEach(function(S) {
751
+ return S.error(l, n.state, x);
752
752
  });
753
- } catch (C) {
754
- process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(C));
753
+ } catch (S) {
754
+ process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(S));
755
755
  }
756
756
  y(x);
757
757
  });
@@ -777,12 +777,12 @@ A.prototype.replaceState = function(t) {
777
777
  });
778
778
  };
779
779
  A.prototype.registerModule = function(t, r, n) {
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);
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), fe(this, this.state);
781
781
  };
782
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
- var n = fe(r.state, t.slice(0, -1));
785
+ var n = ge(r.state, t.slice(0, -1));
786
786
  delete n[t[t.length - 1]];
787
787
  }), Ie(this);
788
788
  };
@@ -796,15 +796,15 @@ 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(A.prototype, ge);
800
- var zt = qe(function(e, t) {
799
+ Object.defineProperties(A.prototype, he);
800
+ var Ht = qe(function(e, t) {
801
801
  var r = {};
802
- return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
802
+ return process.env.NODE_ENV !== "production" && !me(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
803
803
  var o = n.key, a = n.val;
804
804
  r[o] = function() {
805
805
  var l = this.$store.state, c = this.$store.getters;
806
806
  if (e) {
807
- var g = ze(this.$store, "mapState", e);
807
+ var g = He(this.$store, "mapState", e);
808
808
  if (!g)
809
809
  return;
810
810
  l = g.context.state, c = g.context.getters;
@@ -812,16 +812,16 @@ var zt = qe(function(e, t) {
812
812
  return typeof a == "function" ? a.call(this, l, c) : l[a];
813
813
  }, r[o].vuex = !0;
814
814
  }), r;
815
- }), Ht = qe(function(e, t) {
815
+ }), zt = qe(function(e, t) {
816
816
  var r = {};
817
- return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
817
+ return process.env.NODE_ENV !== "production" && !me(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
818
818
  var o = n.key, a = n.val;
819
819
  r[o] = function() {
820
820
  for (var l = [], c = arguments.length; c--; )
821
821
  l[c] = arguments[c];
822
822
  var g = this.$store.commit;
823
823
  if (e) {
824
- var m = ze(this.$store, "mapMutations", e);
824
+ var m = He(this.$store, "mapMutations", e);
825
825
  if (!m)
826
826
  return;
827
827
  g = m.context.commit;
@@ -831,13 +831,13 @@ var zt = qe(function(e, t) {
831
831
  }), r;
832
832
  });
833
833
  function Ue(e) {
834
- return he(e) ? Array.isArray(e) ? e.map(function(t) {
834
+ return me(e) ? Array.isArray(e) ? e.map(function(t) {
835
835
  return { key: t, val: t };
836
836
  }) : Object.keys(e).map(function(t) {
837
837
  return { key: t, val: e[t] };
838
838
  }) : [];
839
839
  }
840
- function he(e) {
840
+ function me(e) {
841
841
  return Array.isArray(e) || je(e);
842
842
  }
843
843
  function qe(e) {
@@ -845,13 +845,13 @@ function qe(e) {
845
845
  return typeof t != "string" ? (r = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, r);
846
846
  };
847
847
  }
848
- function ze(e, t, r) {
848
+ function He(e, t, r) {
849
849
  var n = e._modulesNamespaceMap[r];
850
850
  return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + t + "(): " + r), n;
851
851
  }
852
852
  const Zt = {
853
853
  components: {
854
- DeleteConfirmationModal: ue
854
+ DeleteConfirmationModal: ce
855
855
  },
856
856
  props: {
857
857
  is_required: {
@@ -1065,7 +1065,7 @@ function kr(e, t, r, n, o, a) {
1065
1065
  name: r.field_name,
1066
1066
  "onUpdate:modelValue": t[1] || (t[1] = (l) => a.uploadedFileIds = l)
1067
1067
  }, null, 8, Yt), [
1068
- [L, a.uploadedFileIds]
1068
+ [V, a.uploadedFileIds]
1069
1069
  ]),
1070
1070
  o.isDragging ? (d(), u("div", er, rr)) : (d(), u("div", {
1071
1071
  key: 0,
@@ -1077,7 +1077,7 @@ function kr(e, t, r, n, o, a) {
1077
1077
  s("span", sr, h(o.error_message_data), 1),
1078
1078
  s("small", ar, h(r.description), 1),
1079
1079
  o.files.length > 0 ? (d(), u("section", nr, [
1080
- (d(!0), u(v, null, $(o.files, (l, c) => (d(), u("li", or, [
1080
+ (d(!0), u(v, null, C(o.files, (l, c) => (d(), u("li", or, [
1081
1081
  lr,
1082
1082
  s("div", ir, [
1083
1083
  s("div", dr, [
@@ -1094,7 +1094,7 @@ function kr(e, t, r, n, o, a) {
1094
1094
  ]))), 256))
1095
1095
  ])) : f("", !0),
1096
1096
  s("section", gr, [
1097
- (d(!0), u(v, null, $(o.uploadFileList, (l, c) => (d(), u("li", hr, [
1097
+ (d(!0), u(v, null, C(o.uploadFileList, (l, c) => (d(), u("li", hr, [
1098
1098
  s("div", mr, [
1099
1099
  br,
1100
1100
  s("div", pr, [
@@ -1121,9 +1121,9 @@ function kr(e, t, r, n, o, a) {
1121
1121
  ], 2)
1122
1122
  ], 64);
1123
1123
  }
1124
- const qd = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1124
+ const lu = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1125
1125
  computed: {
1126
- ...zt("notification", ["notification"]),
1126
+ ...Ht("notification", ["notification"]),
1127
1127
  alertClasses() {
1128
1128
  switch (this.notification.type) {
1129
1129
  case "info":
@@ -1158,7 +1158,7 @@ const qd = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1158
1158
  }
1159
1159
  },
1160
1160
  methods: {
1161
- ...Ht("notification", ["HIDE_NOTIFICATION"]),
1161
+ ...zt("notification", ["HIDE_NOTIFICATION"]),
1162
1162
  dismiss() {
1163
1163
  this.HIDE_NOTIFICATION();
1164
1164
  }
@@ -1213,7 +1213,7 @@ function Ar(e, t, r, n, o, a) {
1213
1213
  }, Er, 2)
1214
1214
  ], 2)) : f("", !0);
1215
1215
  }
1216
- const zd = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
1216
+ const iu = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
1217
1217
  components: {},
1218
1218
  props: {
1219
1219
  field_name: {
@@ -1251,7 +1251,7 @@ const zd = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
1251
1251
  }, Tr = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Ir = ["name", "value", "id", "checked"], Mr = ["for"];
1252
1252
  function Nr(e, t, r, n, o, a) {
1253
1253
  return d(), u("ul", Tr, [
1254
- (d(!0), u(v, null, $(o.locals, (i, l) => (d(), u("li", null, [
1254
+ (d(!0), u(v, null, C(o.locals, (i, l) => (d(), u("li", null, [
1255
1255
  s("input", {
1256
1256
  type: "radio",
1257
1257
  name: r.trans_selector_name,
@@ -1272,10 +1272,10 @@ function Nr(e, t, r, n, o, a) {
1272
1272
  ]))), 256))
1273
1273
  ]);
1274
1274
  }
1275
- const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { 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" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
1275
+ const du = /* @__PURE__ */ k(jr, [["render", Nr]]), Vr = { 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" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
1276
1276
  key: 0,
1277
1277
  class: "p-6"
1278
- }, Zd = {
1278
+ }, uu = {
1279
1279
  __name: "GlCard",
1280
1280
  props: {
1281
1281
  class: {
@@ -1284,12 +1284,12 @@ const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white bord
1284
1284
  }
1285
1285
  },
1286
1286
  setup(e) {
1287
- const t = e, r = G(() => t.class);
1287
+ const t = e, r = L(() => t.class);
1288
1288
  return (n, o) => (d(), u("div", {
1289
1289
  class: b(["flex flex-col gap-9", r.value])
1290
1290
  }, [
1291
- s("div", Lr, [
1292
- s("div", Vr, [
1291
+ s("div", Vr, [
1292
+ s("div", Lr, [
1293
1293
  s("h3", Br, [
1294
1294
  T(n.$slots, "header")
1295
1295
  ])
@@ -1457,7 +1457,7 @@ const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white bord
1457
1457
  this.selectedIds = e.map((t) => t.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds), this.$emit("selectionChanged", this.selectedIds);
1458
1458
  }
1459
1459
  }
1460
- }, Rr = { class: "font-bold ptext-lg dark:text-white" }, Ur = { class: "mt-3 mb-4" }, qr = { 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" }, zr = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Hr = ["name", "value"], Zr = {
1460
+ }, Rr = { class: "font-bold ptext-lg dark:text-white" }, Ur = { class: "mt-3 mb-4" }, qr = { 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" }, Hr = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), zr = ["name", "value"], Zr = {
1461
1461
  key: 0,
1462
1462
  class: "dropdown"
1463
1463
  }, Kr = {
@@ -1491,20 +1491,20 @@ function os(e, t, r, n, o, a) {
1491
1491
  }, [
1492
1492
  s("h3", Rr, h(r.label_name), 1),
1493
1493
  s("p", Ur, [
1494
- (d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", qr, h(i.name), 1))), 256))
1494
+ (d(!0), u(v, null, C(o.selected, (i, l) => (d(), u("span", qr, h(i.name), 1))), 256))
1495
1495
  ]),
1496
- zr
1496
+ Hr
1497
1497
  ], 2)) : f("", !0),
1498
1498
  r.show ? f("", !0) : (d(), u("div", {
1499
1499
  key: 1,
1500
1500
  class: b(["mb-4", r.field_name])
1501
1501
  }, [
1502
- (d(!0), u(v, null, $(o.selectedIds, (i, l) => (d(), u("input", {
1502
+ (d(!0), u(v, null, C(o.selectedIds, (i, l) => (d(), u("input", {
1503
1503
  type: "hidden",
1504
1504
  name: r.field_name + "[]",
1505
1505
  key: l,
1506
1506
  value: i
1507
- }, null, 8, Hr))), 128)),
1507
+ }, null, 8, zr))), 128)),
1508
1508
  r.options ? (d(), u("div", Zr, [
1509
1509
  s("label", {
1510
1510
  class: b({
@@ -1531,7 +1531,7 @@ function os(e, t, r, n, o, a) {
1531
1531
  class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
1532
1532
  onClick: t[2] || (t[2] = (i) => a.showOptions())
1533
1533
  }, [
1534
- (d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", {
1534
+ (d(!0), u(v, null, C(o.selected, (i, l) => (d(), u("span", {
1535
1535
  key: l,
1536
1536
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
1537
1537
  }, [
@@ -1562,12 +1562,12 @@ function os(e, t, r, n, o, a) {
1562
1562
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
1563
1563
  placeholder: "Search ..."
1564
1564
  }, null, 40, ss), [
1565
- [L, o.searchFilter]
1565
+ [V, o.searchFilter]
1566
1566
  ])
1567
1567
  ])
1568
1568
  ]),
1569
1569
  s("div", as, [
1570
- (d(!0), u(v, null, $(a.filteredOptions, (i, l) => (d(), u("div", {
1570
+ (d(!0), u(v, null, C(a.filteredOptions, (i, l) => (d(), u("div", {
1571
1571
  class: b([
1572
1572
  "block 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",
1573
1573
  l + 1 == o.count || a.isOptionSelected(i.id) ? "bg-gray-100 dark:bg-gray-600" : ""
@@ -1586,7 +1586,7 @@ function os(e, t, r, n, o, a) {
1586
1586
  ], 2))
1587
1587
  ], 64);
1588
1588
  }
1589
- const Kd = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
1589
+ const cu = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
1590
1590
  props: {
1591
1591
  button_type: {
1592
1592
  type: String,
@@ -1688,7 +1688,7 @@ function ds(e, t, r, n, o, a) {
1688
1688
  _: 3
1689
1689
  }, 16, ["type", "disabled", "href", "class"]));
1690
1690
  }
1691
- const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold ptext-lg dark:text-white" }, cs = ["name", "id"], fs = ["id"], gs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hs = ["for"], ms = /* @__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), bs = ["name", "id"], ps = ["required", "name", "id", "type"], ys = { class: "gl-span-form-error" }, _s = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Yd = {
1691
+ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold ptext-lg dark:text-white" }, cs = ["name", "id"], fs = ["id"], gs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hs = ["for"], ms = /* @__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), bs = ["name", "id"], ps = ["required", "name", "id", "type"], ys = { class: "gl-span-form-error" }, _s = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, gu = {
1692
1692
  __name: "GlTextareaTranslate",
1693
1693
  props: {
1694
1694
  is_required: {
@@ -1746,7 +1746,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1746
1746
  },
1747
1747
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1748
1748
  setup(e, { expose: t, emit: r }) {
1749
- const n = e, o = r, a = S(null), i = S(null);
1749
+ const n = e, o = r, a = $(null), i = $(null);
1750
1750
  return R(() => {
1751
1751
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus(), n.model_value && (o("update:modelValue", n.model_value), a.value.value = n.model_value), n.model_value_translate, n.translatable && axios.post("/admin/get_field_translations", {
1752
1752
  model: n.translatable.model,
@@ -1772,7 +1772,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1772
1772
  ref: i,
1773
1773
  "onUpdate:modelValue": c[0] || (c[0] = (g) => l.inputTranslateValue = g)
1774
1774
  }, null, 8, cs), [
1775
- [L, l.inputTranslateValue]
1775
+ [V, l.inputTranslateValue]
1776
1776
  ]),
1777
1777
  s("p", {
1778
1778
  id: e.field_name,
@@ -1824,7 +1824,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1824
1824
  ], 2))
1825
1825
  ], 64));
1826
1826
  }
1827
- }, vs = { class: "font-bold ptext-lg dark:text-white" }, xs = ["name", "id"], ws = ["id"], ks = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $s = ["for"], Cs = /* @__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), Ss = ["name", "id"], Ds = ["name", "id", "type"], Os = { class: "gl-span-form-error" }, Ps = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Xd = {
1827
+ }, vs = { class: "font-bold ptext-lg dark:text-white" }, xs = ["name", "id"], ws = ["id"], ks = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $s = ["for"], Cs = /* @__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), Ss = ["name", "id"], Ds = ["name", "id", "type"], Os = { class: "gl-span-form-error" }, Ps = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, hu = {
1828
1828
  __name: "GlTinymceTranslate",
1829
1829
  props: {
1830
1830
  is_required: {
@@ -1882,7 +1882,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1882
1882
  },
1883
1883
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1884
1884
  setup(e, { expose: t, emit: r }) {
1885
- const n = e, o = r, a = S(null), i = S(null);
1885
+ const n = e, o = r, a = $(null), i = $(null);
1886
1886
  return R(() => {
1887
1887
  tinymce.init({
1888
1888
  selector: "#" + n.field_name,
@@ -1912,7 +1912,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1912
1912
  ref: i,
1913
1913
  "onUpdate:modelValue": c[0] || (c[0] = (g) => l.inputTranslateValue = g)
1914
1914
  }, null, 8, xs), [
1915
- [L, l.inputTranslateValue]
1915
+ [V, l.inputTranslateValue]
1916
1916
  ]),
1917
1917
  s("p", {
1918
1918
  id: e.field_name,
@@ -1963,7 +1963,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1963
1963
  ], 2))
1964
1964
  ], 64));
1965
1965
  }
1966
- }, Es = { class: "font-bold ptext-lg dark:text-white" }, As = ["name", "id"], js = ["id"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Is = ["for"], Ms = /* @__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), Ns = ["name", "id"], Ls = ["required", "name", "id", "type"], Vs = { class: "gl-span-form-error" }, Bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Jd = {
1966
+ }, Es = { class: "font-bold ptext-lg dark:text-white" }, As = ["name", "id"], js = ["id"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Is = ["for"], Ms = /* @__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), Ns = ["name", "id"], Vs = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, mu = {
1967
1967
  __name: "GlTextTranslate",
1968
1968
  props: {
1969
1969
  is_required: {
@@ -2021,7 +2021,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2021
2021
  },
2022
2022
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
2023
2023
  setup(e, { expose: t, emit: r }) {
2024
- const n = e, o = r, a = S(null), i = S(null);
2024
+ const n = e, o = r, a = $(null), i = $(null);
2025
2025
  return R(() => {
2026
2026
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus(), n.model_value && (o("update:modelValue", n.model_value), a.value.value = n.model_value), n.model_value_translate, n.translatable && axios.post("/admin/get_field_translations", {
2027
2027
  model: n.translatable.model,
@@ -2046,7 +2046,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2046
2046
  ref: "input_translate_s",
2047
2047
  "onUpdate:modelValue": c[0] || (c[0] = (g) => l.inputTranslateValue = g)
2048
2048
  }, null, 8, As), [
2049
- [L, l.inputTranslateValue]
2049
+ [V, l.inputTranslateValue]
2050
2050
  ]),
2051
2051
  s("p", {
2052
2052
  id: e.field_name,
@@ -2090,13 +2090,13 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2090
2090
  onKeydown: c[3] || (c[3] = (g) => l.$emit("keydown", g)),
2091
2091
  ref_key: "input",
2092
2092
  ref: a
2093
- }, null, 42, Ls),
2094
- s("span", Vs, h(e.error_message), 1),
2093
+ }, null, 42, Vs),
2094
+ s("span", Ls, h(e.error_message), 1),
2095
2095
  s("small", Bs, h(e.description), 1)
2096
2096
  ], 2))
2097
2097
  ], 64));
2098
2098
  }
2099
- }, Gs = { class: "font-bold ptext-lg dark:text-white" }, Fs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Rs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Us = ["for"], qs = ["required", "name", "id", "type", "placeholder"], zs = { class: "gl-span-form-error" }, Hs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Qd = {
2099
+ }, Gs = { class: "font-bold ptext-lg dark:text-white" }, Fs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Rs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Us = ["for"], qs = ["required", "name", "id", "type", "placeholder"], Hs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, bu = {
2100
2100
  __name: "GlTextInput",
2101
2101
  props: {
2102
2102
  is_required: {
@@ -2142,11 +2142,11 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2142
2142
  },
2143
2143
  emits: ["update:modelValue", "keydown"],
2144
2144
  setup(e, { expose: t, emit: r }) {
2145
- const n = e, o = r, a = S(null);
2145
+ const n = e, o = r, a = $(null);
2146
2146
  R(() => {
2147
2147
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
2148
2148
  });
2149
- const i = G({
2149
+ const i = L({
2150
2150
  get() {
2151
2151
  return n.modelValue;
2152
2152
  },
@@ -2192,14 +2192,14 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2192
2192
  }, null, 42, qs), [
2193
2193
  [rt, i.value]
2194
2194
  ]),
2195
- s("span", zs, h(e.error_message), 1),
2196
- s("small", Hs, h(e.description), 1)
2195
+ s("span", Hs, h(e.error_message), 1),
2196
+ s("small", zs, h(e.description), 1)
2197
2197
  ], 2))
2198
2198
  ], 64));
2199
2199
  }
2200
2200
  }, Zs = {
2201
2201
  setup(e, { slots: t }) {
2202
- const r = S(t.default().map((o) => o.props)), n = S(r.value[0].title);
2202
+ const r = $(t.default().map((o) => o.props)), n = $(r.value[0].title);
2203
2203
  return st("selectedTitle", n), {
2204
2204
  tabs: r,
2205
2205
  selectedTitle: n
@@ -2211,7 +2211,7 @@ function ta(e, t, r, n, o, a) {
2211
2211
  s("div", Ks, [
2212
2212
  s("div", Ws, [
2213
2213
  s("ul", Ys, [
2214
- (d(!0), u(v, null, $(n.tabs, (i) => (d(), u("li", {
2214
+ (d(!0), u(v, null, C(n.tabs, (i) => (d(), u("li", {
2215
2215
  key: i.title,
2216
2216
  onClick: (l) => n.selectedTitle = i.title,
2217
2217
  class: "flex-auto -mb-px text-center"
@@ -2237,11 +2237,11 @@ function ta(e, t, r, n, o, a) {
2237
2237
  ])
2238
2238
  ], 64);
2239
2239
  }
2240
- const eu = /* @__PURE__ */ k(Zs, [["render", ta]]), ra = {
2240
+ const pu = /* @__PURE__ */ k(Zs, [["render", ta]]), ra = {
2241
2241
  props: ["title"],
2242
2242
  setup() {
2243
2243
  return {
2244
- selectedTitle: Ce("selectedTitle")
2244
+ selectedTitle: Se("selectedTitle")
2245
2245
  };
2246
2246
  }
2247
2247
  }, sa = { class: "block" };
@@ -2252,7 +2252,7 @@ function aa(e, t, r, n, o, a) {
2252
2252
  [F, r.title == n.selectedTitle]
2253
2253
  ]);
2254
2254
  }
2255
- const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2255
+ const yu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2256
2256
  props: {
2257
2257
  elements_to_show_prop: {
2258
2258
  type: Number,
@@ -2443,9 +2443,9 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2443
2443
  ], Ia = {
2444
2444
  key: 1,
2445
2445
  class: "flex justify-between pl-5 pr-5"
2446
- }, Ma = ["onClick"], Na = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), La = [
2446
+ }, Ma = ["onClick"], Na = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Va = [
2447
2447
  Na
2448
- ], Va = {
2448
+ ], La = {
2449
2449
  key: 0,
2450
2450
  class: "flex"
2451
2451
  }, Ba = { class: "flex items-center" }, Ga = { class: "w-full" }, Fa = {
@@ -2470,12 +2470,12 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2470
2470
  viewBox: "0 0 24 24",
2471
2471
  stroke: "currentColor",
2472
2472
  "stroke-width": "2"
2473
- }, za = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2473
+ }, Ha = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2474
2474
  "stroke-linecap": "round",
2475
2475
  "stroke-linejoin": "round",
2476
2476
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2477
- }, null, -1)), Ha = [
2478
- za
2477
+ }, null, -1)), za = [
2478
+ Ha
2479
2479
  ], Za = { class: "flex items-center" }, Ka = { class: "w-full" }, Wa = {
2480
2480
  key: 0,
2481
2481
  xmlns: "http://www.w3.org/2000/svg",
@@ -2595,7 +2595,7 @@ function un(e, t, r, n, o, a) {
2595
2595
  key: 0,
2596
2596
  class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
2597
2597
  }, [
2598
- (d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
2598
+ (d(!0), u(v, null, C(e.dotsNum, (i) => (d(), u("button", {
2599
2599
  role: "button",
2600
2600
  class: b(["gl-dot", { active: e.currentDot == i }]),
2601
2601
  key: i,
@@ -2606,14 +2606,14 @@ function un(e, t, r, n, o, a) {
2606
2606
  s("div", {
2607
2607
  class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
2608
2608
  }, [
2609
- (d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
2609
+ (d(!0), u(v, null, C(e.dotsNum, (i) => (d(), u("button", {
2610
2610
  role: "button",
2611
2611
  class: b(["gl-dot", { active: e.currentDot == i }]),
2612
2612
  key: i,
2613
2613
  onClick: (l) => a.setDot(i)
2614
- }, La, 10, Ma))), 128))
2614
+ }, Va, 10, Ma))), 128))
2615
2615
  ], 2),
2616
- e.dotsNum > 0 ? (d(), u("div", Va, [
2616
+ e.dotsNum > 0 ? (d(), u("div", La, [
2617
2617
  s("div", Ba, [
2618
2618
  s("div", Ga, [
2619
2619
  s("button", {
@@ -2621,7 +2621,7 @@ function un(e, t, r, n, o, a) {
2621
2621
  onClick: t[3] || (t[3] = (i) => a.prev())
2622
2622
  }, [
2623
2623
  r.direction_property == "ltr" ? (d(), u("svg", Fa, Ua)) : f("", !0),
2624
- r.direction_property == "rtl" ? (d(), u("svg", qa, Ha)) : f("", !0)
2624
+ r.direction_property == "rtl" ? (d(), u("svg", qa, za)) : f("", !0)
2625
2625
  ], 2)
2626
2626
  ])
2627
2627
  ]),
@@ -2653,7 +2653,7 @@ function un(e, t, r, n, o, a) {
2653
2653
  ], 10, oa)
2654
2654
  ]);
2655
2655
  }
2656
- const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9"]]), cn = {
2656
+ const _u = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9"]]), cn = {
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 ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2673
2673
  ])
2674
2674
  ], -1), bn = [
2675
2675
  mn
2676
- ], pn = { 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" }, su = {
2676
+ ], pn = { 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" }, vu = {
2677
2677
  __name: "GlModal",
2678
2678
  props: {
2679
2679
  is_open: {
@@ -2741,7 +2741,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2741
2741
  [F, e.is_open]
2742
2742
  ]);
2743
2743
  }
2744
- }, yn = { class: "mb-4" }, _n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, vn = { class: "relative inline-flex items-center cursor-pointer" }, xn = ["name", "id", "checked"], wn = /* @__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), kn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $n = { 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" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__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), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, au = {
2744
+ }, yn = { class: "mb-4" }, _n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, vn = { class: "relative inline-flex items-center cursor-pointer" }, xn = ["name", "id", "checked"], wn = /* @__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), kn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $n = { 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" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__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), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, xu = {
2745
2745
  __name: "GlToggleBox",
2746
2746
  props: {
2747
2747
  is_required: {
@@ -2783,7 +2783,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2783
2783
  },
2784
2784
  emits: ["update:modelValue"],
2785
2785
  setup(e, { emit: t }) {
2786
- const r = e, n = t, o = S(null), a = G({
2786
+ const r = e, n = t, o = $(null), a = L({
2787
2787
  get() {
2788
2788
  return r.modelValue;
2789
2789
  },
@@ -2849,7 +2849,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2849
2849
  }, En = { class: "font-bold ptext-lg dark:text-white" }, An = { class: "mt-3 mb-4" }, jn = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, Tn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), In = ["name", "id", "value"], Mn = {
2850
2850
  key: 0,
2851
2851
  class: "dropdown"
2852
- }, Nn = { 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" }, Ln = { class: "relative showOptions" }, Vn = ["value", "placeholder"], Bn = { 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]" }, Gn = { class: "p-1" }, Fn = /* @__PURE__ */ s("label", {
2852
+ }, Nn = { 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" }, Vn = { class: "relative showOptions" }, Ln = ["value", "placeholder"], Bn = { 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]" }, Gn = { class: "p-1" }, Fn = /* @__PURE__ */ s("label", {
2853
2853
  for: "default-search",
2854
2854
  class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
2855
2855
  }, "Search", -1), Rn = { class: "relative" }, Un = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
@@ -2868,7 +2868,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2868
2868
  d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
2869
2869
  })
2870
2870
  ])
2871
- ], -1), qn = ["id"], zn = { class: "overflow-y-auto max-h-64" }, Hn = ["onClick", "onMousedown", "id"], Zn = { class: "flex items-center py-2 pl-10 pr-4" }, Kn = {
2871
+ ], -1), qn = ["id"], Hn = { class: "overflow-y-auto max-h-64" }, zn = ["onClick", "onMousedown", "id"], Zn = { class: "flex items-center py-2 pl-10 pr-4" }, Kn = {
2872
2872
  key: 0,
2873
2873
  class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
2874
2874
  "aria-hidden": "true",
@@ -2883,7 +2883,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2883
2883
  d: "M1 5.917 5.724 10.5 15 1.5"
2884
2884
  }, null, -1), Yn = [
2885
2885
  Wn
2886
- ], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, nu = {
2886
+ ], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, wu = {
2887
2887
  __name: "GlDropdown",
2888
2888
  props: {
2889
2889
  modelValue: {
@@ -2943,23 +2943,23 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2943
2943
  },
2944
2944
  emits: ["update:modelValue", "selected", "selectionChanged"],
2945
2945
  setup(e, { emit: t }) {
2946
- const r = e, n = t, o = S(null), a = S({}), i = S(0), l = S(!1), c = S(""), g = S("");
2946
+ const r = e, n = t, o = $(null), a = $({}), i = $(0), l = $(!1), c = $(""), g = $("");
2947
2947
  R(() => {
2948
- g.value = V(), r.show || (document.body.addEventListener("click", (p) => {
2949
- He(p);
2948
+ g.value = B(), r.show || (document.body.addEventListener("click", (p) => {
2949
+ ze(p);
2950
2950
  }), document.addEventListener("keypress", (p) => {
2951
2951
  p.key === "Enter" && p.target.form && p.preventDefault();
2952
2952
  }));
2953
2953
  });
2954
- const m = G(() => We()), y = G(() => Ye()), x = G(() => {
2954
+ const m = L(() => We()), y = L(() => Ye()), x = L(() => {
2955
2955
  const p = [], O = new RegExp(c.value, "ig");
2956
2956
  for (const E of m.value) {
2957
- const B = String(E.name);
2958
- (c.value.length < 1 || B.match(O)) && p.length < r.maxItem && p.push(E);
2957
+ const G = String(E.name);
2958
+ (c.value.length < 1 || G.match(O)) && p.length < r.maxItem && p.push(E);
2959
2959
  }
2960
2960
  return p;
2961
2961
  });
2962
- function C(p) {
2962
+ function S(p) {
2963
2963
  if ([
2964
2964
  "ArrowLeft",
2965
2965
  "ArrowUp",
@@ -2972,23 +2972,23 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2972
2972
  Ke(p.key);
2973
2973
  }
2974
2974
  }
2975
- function V() {
2975
+ function B() {
2976
2976
  let p = (/* @__PURE__ */ new Date()).getTime();
2977
2977
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
2978
2978
  /[xy]/g,
2979
2979
  function(E) {
2980
- const B = (p + Math.random() * 16) % 16 | 0;
2981
- return p = Math.floor(p / 16), (E === "x" ? B : B & 3 | 8).toString(16);
2980
+ const G = (p + Math.random() * 16) % 16 | 0;
2981
+ return p = Math.floor(p / 16), (E === "x" ? G : G & 3 | 8).toString(16);
2982
2982
  }
2983
2983
  );
2984
2984
  }
2985
2985
  function te(p) {
2986
2986
  return p !== null && typeof p == "object" && Object.keys(p).length > 0;
2987
2987
  }
2988
- function He(p) {
2989
- p.target.id != r.field_name + "search" + g.value && p.target.id != r.field_name && !p.target.classList.contains("showOptions") && (pe(), i.value = 0);
2988
+ function ze(p) {
2989
+ p.target.id != r.field_name + "search" + g.value && p.target.id != r.field_name && !p.target.classList.contains("showOptions") && (ye(), i.value = 0);
2990
2990
  }
2991
- function me(p) {
2991
+ function be(p) {
2992
2992
  const O = `${p}${g.value}`, E = document.getElementById(O);
2993
2993
  E && E.scrollIntoView();
2994
2994
  }
@@ -2997,7 +2997,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2997
2997
  E && E.click();
2998
2998
  }
2999
2999
  function Ke(p) {
3000
- p === "ArrowDown" && i.value < x.value.length && (i.value++, me(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, me(i.value)), p === "Enter" && Ze(i.value);
3000
+ p === "ArrowDown" && i.value < x.value.length && (i.value++, be(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, be(i.value)), p === "Enter" && Ze(i.value);
3001
3001
  }
3002
3002
  function We() {
3003
3003
  return r.options.map((p, O) => typeof p == "object" ? p : { id: p, name: p });
@@ -3016,7 +3016,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3016
3016
  (p) => String(p.id) === String(r.modelValue)
3017
3017
  ) || {};
3018
3018
  }
3019
- function be(p) {
3019
+ function pe(p) {
3020
3020
  a.value = p, l.value = !1, n("update:modelValue", a.value.id), n("selected", a.value), n("selectionChanged", a.value);
3021
3021
  }
3022
3022
  function re() {
@@ -3030,7 +3030,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3030
3030
  function Xe() {
3031
3031
  r.show || (a.value = {}, c.value = "", n("update:modelValue", ""), re());
3032
3032
  }
3033
- function pe() {
3033
+ function ye() {
3034
3034
  a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), l.value = !1;
3035
3035
  }
3036
3036
  return Y(c, () => {
@@ -3038,7 +3038,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3038
3038
  }), Y(a, (p) => {
3039
3039
  te(p) && n("update:modelValue", p.id);
3040
3040
  }), (p, O) => {
3041
- var E, B, ye;
3041
+ var E, G, _e;
3042
3042
  return d(), u(v, null, [
3043
3043
  e.show ? (d(), u("div", {
3044
3044
  key: 0,
@@ -3058,7 +3058,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3058
3058
  type: "hidden",
3059
3059
  name: e.field_name,
3060
3060
  id: e.field_name,
3061
- value: (B = y.value) == null ? void 0 : B.id
3061
+ value: (G = y.value) == null ? void 0 : G.id
3062
3062
  }, null, 8, In),
3063
3063
  e.options ? (d(), u("div", Mn, [
3064
3064
  e.label_name ? (d(), u("label", {
@@ -3070,7 +3070,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3070
3070
  })
3071
3071
  }, h(e.label_name), 3)) : f("", !0),
3072
3072
  s("div", Nn, [
3073
- s("div", Ln, [
3073
+ s("div", Vn, [
3074
3074
  s("input", {
3075
3075
  class: b([{
3076
3076
  "gl-input-form": e.error_message == "",
@@ -3078,11 +3078,11 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3078
3078
  }, "pl-8 pr-2 showOptions"]),
3079
3079
  ref: e.field_name,
3080
3080
  onClick: O[0] || (O[0] = (j) => re()),
3081
- value: (ye = y.value) == null ? void 0 : ye.name,
3081
+ value: (_e = y.value) == null ? void 0 : _e.name,
3082
3082
  placeholder: e.placeholder,
3083
3083
  autocomplete: "off",
3084
3084
  readonly: ""
3085
- }, null, 10, Vn),
3085
+ }, null, 10, Ln),
3086
3086
  D(s("i", {
3087
3087
  onClick: O[1] || (O[1] = N((j) => Xe(), ["stop"])),
3088
3088
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
@@ -3106,31 +3106,31 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3106
3106
  "onUpdate:modelValue": O[3] || (O[3] = (j) => c.value = j),
3107
3107
  ref: o.value,
3108
3108
  id: `${e.field_name}search${g.value}`,
3109
- onKeydown: C,
3110
- onBlur: O[4] || (O[4] = (j) => pe()),
3109
+ onKeydown: S,
3110
+ onBlur: O[4] || (O[4] = (j) => ye()),
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 ..."
3114
3114
  }, null, 40, qn), [
3115
- [L, c.value]
3115
+ [V, c.value]
3116
3116
  ])
3117
3117
  ])
3118
3118
  ]),
3119
- s("div", zn, [
3120
- (d(!0), u(v, null, $(x.value, (j, se) => {
3121
- var _e;
3119
+ s("div", Hn, [
3120
+ (d(!0), u(v, null, C(x.value, (j, se) => {
3121
+ var ve;
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: (Je) => be(j),
3125
- onMousedown: (Je) => be(j),
3124
+ onClick: (Je) => pe(j),
3125
+ onMousedown: (Je) => pe(j),
3126
3126
  key: se,
3127
3127
  id: `${se + 1}${g.value}`
3128
3128
  }, [
3129
3129
  s("div", Zn, [
3130
- ((_e = y.value) == null ? void 0 : _e.id) === j.id ? (d(), u("svg", Kn, Yn)) : f("", !0),
3130
+ ((ve = y.value) == null ? void 0 : ve.id) === j.id ? (d(), u("svg", Kn, Yn)) : f("", !0),
3131
3131
  s("span", null, h(j.name || j.id || "-"), 1)
3132
3132
  ])
3133
- ], 42, Hn);
3133
+ ], 42, zn);
3134
3134
  }), 128))
3135
3135
  ])
3136
3136
  ], 512), [
@@ -3144,7 +3144,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3144
3144
  ], 64);
3145
3145
  };
3146
3146
  }
3147
- }, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ou = {
3147
+ }, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ku = {
3148
3148
  __name: "GlTextarea",
3149
3149
  props: {
3150
3150
  is_required: {
@@ -3190,7 +3190,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3190
3190
  },
3191
3191
  emits: ["update:modelValue", "keydown"],
3192
3192
  setup(e, { expose: t, emit: r }) {
3193
- const n = e, o = r, a = S(null);
3193
+ const n = e, o = r, a = $(null);
3194
3194
  R(() => {
3195
3195
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
3196
3196
  });
@@ -3242,7 +3242,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3242
3242
  rows: "4",
3243
3243
  placeholder: e.placeholder
3244
3244
  }, null, 42, so), [
3245
- [L, De(i)]
3245
+ [V, Oe(i)]
3246
3246
  ]),
3247
3247
  s("span", ao, h(e.error_message), 1),
3248
3248
  s("small", no, h(e.description), 1)
@@ -3469,7 +3469,7 @@ function xo(e, t, r, n, o, a) {
3469
3469
  ])
3470
3470
  ], 16, ho)
3471
3471
  ], 2)) : f("", !0),
3472
- (d(!0), u(v, null, $(l.computed.pageRange, (c, g) => (d(), u("li", {
3472
+ (d(!0), u(v, null, C(l.computed.pageRange, (c, g) => (d(), u("li", {
3473
3473
  class: b(["", { active: c == l.computed.currentPage }]),
3474
3474
  key: g
3475
3475
  }, [
@@ -3600,10 +3600,10 @@ const wo = /* @__PURE__ */ k(lo, [["render", xo]]), ko = {
3600
3600
  "clip-rule": "evenodd"
3601
3601
  })
3602
3602
  ])
3603
- ], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { 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" }, Mo = { 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" }, No = ["onClick"], Lo = {
3603
+ ], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { 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" }, Mo = { 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" }, No = ["onClick"], Vo = {
3604
3604
  key: 0,
3605
3605
  class: "ml-2"
3606
- }, Vo = {
3606
+ }, Lo = {
3607
3607
  key: 0,
3608
3608
  class: "fa fa-arrow-up"
3609
3609
  }, Bo = {
@@ -3651,7 +3651,7 @@ const wo = /* @__PURE__ */ k(lo, [["render", xo]]), ko = {
3651
3651
  /* @__PURE__ */ s("span", { class: "sr-only" }, "Loading...")
3652
3652
  ], -1), Uo = [
3653
3653
  Ro
3654
- ], qo = ["data-label"], zo = { class: "overflow-auto max-h-40" }, Ho = { 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" };
3654
+ ], qo = ["data-label"], Ho = { class: "overflow-auto max-h-40" }, zo = { 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" };
3655
3655
  function Zo(e, t, r, n, o, a) {
3656
3656
  const i = X("dropdown"), l = X("TailwindPagination");
3657
3657
  return d(), u("div", $o, [
@@ -3684,7 +3684,7 @@ function Zo(e, t, r, n, o, a) {
3684
3684
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
3685
3685
  placeholder: "Search ..."
3686
3686
  }, null, 544), [
3687
- [L, o.search]
3687
+ [V, o.search]
3688
3688
  ])
3689
3689
  ])
3690
3690
  ]),
@@ -3692,14 +3692,14 @@ function Zo(e, t, r, n, o, a) {
3692
3692
  s("table", Io, [
3693
3693
  s("thead", Mo, [
3694
3694
  s("tr", null, [
3695
- (d(!0), u(v, null, $(r.columns, (c, g) => (d(), u("th", {
3695
+ (d(!0), u(v, null, C(r.columns, (c, g) => (d(), u("th", {
3696
3696
  key: g,
3697
3697
  onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
3698
3698
  class: "w-full px-4 py-2 lg:w-2/12"
3699
3699
  }, [
3700
3700
  w(h(c.field_label) + " ", 1),
3701
- o.sortField === c.field_name ? (d(), u("span", Lo, [
3702
- o.sortOrder === "asc" ? (d(), u("i", Vo)) : (d(), u("i", Bo))
3701
+ o.sortField === c.field_name ? (d(), u("span", Vo, [
3702
+ o.sortOrder === "asc" ? (d(), u("i", Lo)) : (d(), u("i", Bo))
3703
3703
  ])) : f("", !0)
3704
3704
  ], 8, No))), 128))
3705
3705
  ])
@@ -3710,16 +3710,16 @@ function Zo(e, t, r, n, o, a) {
3710
3710
  colspan: r.columns.length
3711
3711
  }, Uo, 8, Fo)
3712
3712
  ])) : f("", !0),
3713
- o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, $(o.itemLists.data, (c, g) => (d(), u("tr", {
3713
+ o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, C(o.itemLists.data, (c, g) => (d(), u("tr", {
3714
3714
  key: g,
3715
3715
  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"
3716
3716
  }, [
3717
- (d(!0), u(v, null, $(r.columns, (m, y) => (d(), u("td", {
3717
+ (d(!0), u(v, null, C(r.columns, (m, y) => (d(), u("td", {
3718
3718
  key: y,
3719
3719
  "data-label": m.field_label,
3720
3720
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
3721
3721
  }, [
3722
- s("div", zo, [
3722
+ s("div", Ho, [
3723
3723
  m.tdComp ? (d(), K(oe(a.forDynCompIs(m.tdComp)), {
3724
3724
  key: 0,
3725
3725
  row: c,
@@ -3737,7 +3737,7 @@ function Zo(e, t, r, n, o, a) {
3737
3737
  ])
3738
3738
  ])
3739
3739
  ]),
3740
- s("div", Ho, [
3740
+ s("div", zo, [
3741
3741
  Z(l, {
3742
3742
  class: "mt-3 mb-0",
3743
3743
  data: o.itemLists,
@@ -3749,7 +3749,7 @@ function Zo(e, t, r, n, o, a) {
3749
3749
  ])
3750
3750
  ]);
3751
3751
  }
3752
- const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3752
+ const $u = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3753
3753
  components: {},
3754
3754
  props: {
3755
3755
  data: Array,
@@ -3924,7 +3924,7 @@ function Il(e, t, r, n, o, a) {
3924
3924
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
3925
3925
  placeholder: "Search ..."
3926
3926
  }, null, 512), [
3927
- [L, o.search]
3927
+ [V, o.search]
3928
3928
  ])
3929
3929
  ])
3930
3930
  ]),
@@ -3932,7 +3932,7 @@ function Il(e, t, r, n, o, a) {
3932
3932
  s("table", nl, [
3933
3933
  s("thead", ol, [
3934
3934
  s("tr", null, [
3935
- (d(!0), u(v, null, $(r.columns, (l, c) => (d(), u("th", {
3935
+ (d(!0), u(v, null, C(r.columns, (l, c) => (d(), u("th", {
3936
3936
  key: c,
3937
3937
  onClick: (g) => a.sort(l),
3938
3938
  class: "w-full px-4 py-2 lg:w-2/12"
@@ -3945,11 +3945,11 @@ function Il(e, t, r, n, o, a) {
3945
3945
  ])
3946
3946
  ]),
3947
3947
  s("tbody", null, [
3948
- (d(!0), u(v, null, $(a.paginatedData, (l, c) => (d(), u("tr", {
3948
+ (d(!0), u(v, null, C(a.paginatedData, (l, c) => (d(), u("tr", {
3949
3949
  key: c,
3950
3950
  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"
3951
3951
  }, [
3952
- (d(!0), u(v, null, $(r.columns, (g, m) => (d(), u("td", {
3952
+ (d(!0), u(v, null, C(r.columns, (g, m) => (d(), u("td", {
3953
3953
  key: m,
3954
3954
  "data-label": g,
3955
3955
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
@@ -4001,7 +4001,7 @@ function Il(e, t, r, n, o, a) {
4001
4001
  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"
4002
4002
  }, Dl, 8, $l)
4003
4003
  ]),
4004
- (d(!0), u(v, null, $(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
4004
+ (d(!0), u(v, null, C(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
4005
4005
  s("li", null, [
4006
4006
  o.currentPage !== l ? (d(), u("a", {
4007
4007
  key: 0,
@@ -4035,13 +4035,13 @@ function Il(e, t, r, n, o, a) {
4035
4035
  ])) : f("", !0)
4036
4036
  ]);
4037
4037
  }
4038
- const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4038
+ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4039
4039
  class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
4040
4040
  role: "alert"
4041
4041
  }, Nl = {
4042
4042
  key: 0,
4043
4043
  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"
4044
- }, Ll = /* @__PURE__ */ s("svg", {
4044
+ }, Vl = /* @__PURE__ */ s("svg", {
4045
4045
  class: "w-5 h-5",
4046
4046
  "aria-hidden": "true",
4047
4047
  xmlns: "http://www.w3.org/2000/svg",
@@ -4049,9 +4049,9 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4049
4049
  viewBox: "0 0 20 20"
4050
4050
  }, [
4051
4051
  /* @__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" })
4052
- ], -1), Vl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Bl = [
4053
- Ll,
4054
- Vl
4052
+ ], -1), Ll = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Bl = [
4053
+ Vl,
4054
+ Ll
4055
4055
  ], Gl = {
4056
4056
  key: 1,
4057
4057
  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"
@@ -4069,7 +4069,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4069
4069
  ], ql = {
4070
4070
  key: 2,
4071
4071
  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"
4072
- }, zl = /* @__PURE__ */ s("svg", {
4072
+ }, Hl = /* @__PURE__ */ s("svg", {
4073
4073
  class: "w-5 h-5",
4074
4074
  "aria-hidden": "true",
4075
4075
  xmlns: "http://www.w3.org/2000/svg",
@@ -4077,9 +4077,9 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4077
4077
  viewBox: "0 0 20 20"
4078
4078
  }, [
4079
4079
  /* @__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" })
4080
- ], -1), Hl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Zl = [
4081
- zl,
4082
- Hl
4080
+ ], -1), zl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Zl = [
4081
+ Hl,
4082
+ zl
4083
4083
  ], Kl = { class: "ml-3 text-sm font-normal" }, Wl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Yl = /* @__PURE__ */ s("svg", {
4084
4084
  "aria-hidden": "true",
4085
4085
  class: "w-5 h-5",
@@ -4129,7 +4129,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4129
4129
  }, Xl)
4130
4130
  ]));
4131
4131
  }
4132
- }, de = Se({
4132
+ }, de = De({
4133
4133
  items: []
4134
4134
  }), Ql = {
4135
4135
  add(e) {
@@ -4143,14 +4143,14 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4143
4143
  remove(e) {
4144
4144
  de.items.splice(e, 1);
4145
4145
  }
4146
- }, $e = {
4146
+ }, Ce = {
4147
4147
  state: de,
4148
4148
  methods: Ql
4149
- }, du = {
4149
+ }, Su = {
4150
4150
  __name: "GlToastList",
4151
4151
  setup(e) {
4152
4152
  function t(r) {
4153
- $e.methods.remove(r);
4153
+ Ce.methods.remove(r);
4154
4154
  }
4155
4155
  return (r, n) => (d(), K(dt, {
4156
4156
  tag: "div",
@@ -4161,7 +4161,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4161
4161
  class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
4162
4162
  }, {
4163
4163
  default: J(() => [
4164
- (d(!0), u(v, null, $(De($e).state.items, (o, a) => (d(), K(Jl, {
4164
+ (d(!0), u(v, null, C(Oe(Ce).state.items, (o, a) => (d(), K(Jl, {
4165
4165
  key: o.key,
4166
4166
  message: o.message,
4167
4167
  type: o.type,
@@ -4188,7 +4188,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4188
4188
  ], si = { 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" }, ai = {
4189
4189
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4190
4190
  "aria-labelledby": "dropdownDividerButton"
4191
- }, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), uu = {
4191
+ }, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Du = {
4192
4192
  __name: "DatatableAction",
4193
4193
  props: {
4194
4194
  field: {
@@ -4214,7 +4214,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4214
4214
  },
4215
4215
  emits: ["deleteAction"],
4216
4216
  setup(e, { emit: t }) {
4217
- const r = Ae(), n = e, o = S(!1), a = S(!1), i = () => {
4217
+ const r = Ae(), n = e, o = $(!1), a = $(!1), i = () => {
4218
4218
  o.value = !1;
4219
4219
  }, l = () => {
4220
4220
  o.value = !0;
@@ -4233,10 +4233,10 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4233
4233
  console.log(x);
4234
4234
  });
4235
4235
  };
4236
- return (x, C) => {
4237
- const V = Oe("click-outside");
4236
+ return (x, S) => {
4237
+ const B = ue("click-outside");
4238
4238
  return d(), u(v, null, [
4239
- Z(ue, {
4239
+ Z(ce, {
4240
4240
  isOpen: a.value,
4241
4241
  onConfirmDelete: y,
4242
4242
  onCancelDelete: c
@@ -4273,7 +4273,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4273
4273
  [F, o.value]
4274
4274
  ])
4275
4275
  ])), [
4276
- [V, i]
4276
+ [B, i]
4277
4277
  ]) : f("", !0)
4278
4278
  ], 64);
4279
4279
  };
@@ -4294,7 +4294,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4294
4294
  ], gi = { 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" }, hi = {
4295
4295
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4296
4296
  "aria-labelledby": "dropdownDividerButton"
4297
- }, mi = { key: 0 }, bi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), cu = {
4297
+ }, mi = { key: 0 }, bi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Ou = {
4298
4298
  __name: "DatatableDeleteAction",
4299
4299
  props: {
4300
4300
  field: {
@@ -4320,7 +4320,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4320
4320
  },
4321
4321
  emits: ["deleteAction"],
4322
4322
  setup(e, { emit: t }) {
4323
- const r = Ae(), n = e, o = S(!1), a = S(!1), i = () => {
4323
+ const r = Ae(), n = e, o = $(!1), a = $(!1), i = () => {
4324
4324
  o.value = !1;
4325
4325
  }, l = () => {
4326
4326
  o.value = !0;
@@ -4339,10 +4339,10 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4339
4339
  console.log(x);
4340
4340
  });
4341
4341
  };
4342
- return (x, C) => {
4343
- const V = Oe("click-outside");
4342
+ return (x, S) => {
4343
+ const B = ue("click-outside");
4344
4344
  return d(), u(v, null, [
4345
- Z(ue, {
4345
+ Z(ce, {
4346
4346
  isOpen: a.value,
4347
4347
  onConfirmDelete: y,
4348
4348
  onCancelDelete: c
@@ -4370,7 +4370,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4370
4370
  [F, o.value]
4371
4371
  ])
4372
4372
  ])), [
4373
- [V, i]
4373
+ [B, i]
4374
4374
  ]) : f("", !0)
4375
4375
  ], 64);
4376
4376
  };
@@ -4430,7 +4430,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4430
4430
  ], -1);
4431
4431
  function ki(e, t, r, n, o, a) {
4432
4432
  return d(), u("div", null, [
4433
- a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row, (i, l) => (d(), u("div", {
4433
+ a.isArray ? (d(!0), u(v, { key: 0 }, C(r.row, (i, l) => (d(), u("div", {
4434
4434
  key: l,
4435
4435
  class: "m-1 d-inline-block"
4436
4436
  }, [
@@ -4456,7 +4456,7 @@ function ki(e, t, r, n, o, a) {
4456
4456
  ])) : f("", !0)
4457
4457
  ]);
4458
4458
  }
4459
- const fu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
4459
+ const Pu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
4460
4460
  props: ["field", "row"],
4461
4461
  computed: {
4462
4462
  isArray() {
@@ -4506,7 +4506,7 @@ const fu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
4506
4506
  ], -1);
4507
4507
  function Ei(e, t, r, n, o, a) {
4508
4508
  return d(), u("div", null, [
4509
- a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[r.field], (i) => (d(), u("div", {
4509
+ a.isArray ? (d(!0), u(v, { key: 0 }, C(r.row[r.field], (i) => (d(), u("div", {
4510
4510
  key: i.id,
4511
4511
  class: "m-1 d-inline-block"
4512
4512
  }, [
@@ -4532,7 +4532,7 @@ function Ei(e, t, r, n, o, a) {
4532
4532
  ])) : f("", !0)
4533
4533
  ]);
4534
4534
  }
4535
- const gu = /* @__PURE__ */ k($i, [["render", Ei]]), Ai = {
4535
+ const Eu = /* @__PURE__ */ k($i, [["render", Ei]]), Ai = {
4536
4536
  props: ["field", "row", "tdProps"]
4537
4537
  }, ji = { key: 0 }, Ti = ["innerHTML"];
4538
4538
  function Ii(e, t, r, n, o, a) {
@@ -4543,7 +4543,7 @@ function Ii(e, t, r, n, o, a) {
4543
4543
  }, null, 8, Ti)
4544
4544
  ])) : f("", !0);
4545
4545
  }
4546
- const hu = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
4546
+ const Au = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
4547
4547
  props: ["field", "row", "tdProps"],
4548
4548
  computed: {
4549
4549
  entry() {
@@ -4557,19 +4557,19 @@ const hu = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
4557
4557
  return typeof this.row[this.entry.key] == "object";
4558
4558
  }
4559
4559
  }
4560
- }, Ni = { class: "flex flex-wrap gap-2" }, Li = {
4560
+ }, Ni = { class: "flex flex-wrap gap-2" }, Vi = {
4561
4561
  key: 1,
4562
4562
  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
4563
  };
4564
- function Vi(e, t, r, n, o, a) {
4564
+ function Li(e, t, r, n, o, a) {
4565
4565
  return d(), u("div", Ni, [
4566
- a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[a.entry.key], (i, l) => (d(), u("span", {
4566
+ a.isArray ? (d(!0), u(v, { key: 0 }, C(r.row[a.entry.key], (i, l) => (d(), u("span", {
4567
4567
  key: l,
4568
4568
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4569
- }, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Li, h(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
4569
+ }, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Vi, h(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
4570
4570
  ]);
4571
4571
  }
4572
- const mu = /* @__PURE__ */ k(Mi, [["render", Vi]]), Bi = {
4572
+ const ju = /* @__PURE__ */ k(Mi, [["render", Li]]), Bi = {
4573
4573
  props: ["field", "row", "tdProps"]
4574
4574
  }, Gi = { key: 0 }, Fi = { class: "m-1 d-inline-block" }, Ri = ["href", "title"], Ui = ["src", "alt", "title"];
4575
4575
  function qi(e, t, r, n, o, a) {
@@ -4589,14 +4589,14 @@ function qi(e, t, r, n, o, a) {
4589
4589
  ])
4590
4590
  ])) : f("", !0);
4591
4591
  }
4592
- const bu = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c"]]), zi = {
4592
+ const Tu = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c"]]), Hi = {
4593
4593
  props: ["field", "row", "tdProps"],
4594
4594
  computed: {
4595
4595
  isActive() {
4596
4596
  return this.row[this.field] === 1;
4597
4597
  }
4598
4598
  }
4599
- }, Hi = { class: "flex flex-wrap gap-2 text-nowrap" }, Zi = {
4599
+ }, zi = { class: "flex flex-wrap gap-2 text-nowrap" }, Zi = {
4600
4600
  key: 0,
4601
4601
  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"
4602
4602
  }, Ki = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Wi = {
@@ -4604,7 +4604,7 @@ const bu = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c
4604
4604
  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"
4605
4605
  }, Yi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
4606
4606
  function Xi(e, t, r, n, o, a) {
4607
- return d(), u("div", Hi, [
4607
+ return d(), u("div", zi, [
4608
4608
  a.isActive ? (d(), u("span", Zi, [
4609
4609
  Ki,
4610
4610
  w(" Active ")
@@ -4614,7 +4614,7 @@ function Xi(e, t, r, n, o, a) {
4614
4614
  ]))
4615
4615
  ]);
4616
4616
  }
4617
- const pu = /* @__PURE__ */ k(zi, [["render", Xi]]), Ji = {
4617
+ const Iu = /* @__PURE__ */ k(Hi, [["render", Xi]]), Ji = {
4618
4618
  props: ["field", "row", "tdProps"],
4619
4619
  computed: {
4620
4620
  hasLabelColor(e) {
@@ -4667,7 +4667,7 @@ function ud(e, t, r, n, o, a) {
4667
4667
  ])) : f("", !0)
4668
4668
  ]);
4669
4669
  }
4670
- const yu = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
4670
+ const Mu = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
4671
4671
  props: ["field", "row", "tdProps"],
4672
4672
  computed: {
4673
4673
  hasLabelColor() {
@@ -4725,7 +4725,7 @@ function gd(e, t, r, n, o, a) {
4725
4725
  }, h(this.row[this.field]), 3)) : f("", !0)
4726
4726
  ]);
4727
4727
  }
4728
- const _u = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
4728
+ const Nu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
4729
4729
  props: ["field", "row", "tdProps"],
4730
4730
  computed: {
4731
4731
  formattedDate() {
@@ -4744,7 +4744,7 @@ const _u = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
4744
4744
  function bd(e, t, r, n, o, a) {
4745
4745
  return d(), u("div", md, h(a.formattedDate), 1);
4746
4746
  }
4747
- const vu = /* @__PURE__ */ k(hd, [["render", bd]]), pd = {
4747
+ const Vu = /* @__PURE__ */ k(hd, [["render", bd]]), pd = {
4748
4748
  props: ["field", "row", "tdProps"]
4749
4749
  }, yd = { class: "flex flex-wrap gap-2 text-nowrap" }, _d = {
4750
4750
  key: 0,
@@ -4775,7 +4775,7 @@ function Cd(e, t, r, n, o, a) {
4775
4775
  ])) : f("", !0)
4776
4776
  ]);
4777
4777
  }
4778
- const xu = /* @__PURE__ */ k(pd, [["render", Cd]]), Sd = {
4778
+ const Lu = /* @__PURE__ */ k(pd, [["render", Cd]]), Sd = {
4779
4779
  props: ["field", "row", "tdProps"]
4780
4780
  }, Dd = {
4781
4781
  key: 0,
@@ -4787,7 +4787,7 @@ function Pd(e, t, r, n, o, a) {
4787
4787
  `, 1)
4788
4788
  ])) : f("", !0);
4789
4789
  }
4790
- const wu = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
4790
+ const Bu = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
4791
4791
  props: ["isOpen", "title", "button_text"],
4792
4792
  methods: {
4793
4793
  confirmAction() {
@@ -4808,7 +4808,7 @@ const wu = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
4808
4808
  }, null, -1), Id = /* @__PURE__ */ s("span", {
4809
4809
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
4810
4810
  "aria-hidden": "true"
4811
- }, "​", -1), Md = { 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" }, Nd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Ld = { class: "sm:flex sm:items-start" }, Vd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Bd = { class: "text-lg font-medium leading-6 text-gray-900" }, Gd = { class: "mt-2" }, Fd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4811
+ }, "​", -1), Md = { 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" }, Nd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Vd = { class: "sm:flex sm:items-start" }, Ld = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Bd = { class: "text-lg font-medium leading-6 text-gray-900" }, Gd = { class: "mt-2" }, Fd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4812
4812
  function Rd(e, t, r, n, o, a) {
4813
4813
  return r.isOpen ? (d(), u("div", Ad, [
4814
4814
  s("div", jd, [
@@ -4816,8 +4816,8 @@ function Rd(e, t, r, n, o, a) {
4816
4816
  Id,
4817
4817
  s("div", Md, [
4818
4818
  s("div", Nd, [
4819
- s("div", Ld, [
4820
- s("div", Vd, [
4819
+ s("div", Vd, [
4820
+ s("div", Ld, [
4821
4821
  s("h3", Bd, h(r.title), 1),
4822
4822
  s("div", Gd, [
4823
4823
  T(e.$slots, "default")
@@ -4841,43 +4841,133 @@ function Rd(e, t, r, n, o, a) {
4841
4841
  ])
4842
4842
  ])) : f("", !0);
4843
4843
  }
4844
- const ku = /* @__PURE__ */ k(Ed, [["render", Rd]]);
4844
+ const Gu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full max-w-lg" }, qd = { class: "mb-2 flex justify-between items-center" }, Hd = { class: "text-sm font-medium text-gray-900 dark:text-white" }, zd = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-64" }, Zd = { class: "overflow-scroll max-h-full" }, Kd = { class: "text-sm text-gray-500 dark:text-gray-400 whitespace-pre" }, Wd = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Yd = { class: "text-gray-900 dark:text-gray-400 m-0.5 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-2.5 inline-flex items-center justify-center bg-white border-gray-200 border" }, Xd = {
4845
+ key: 0,
4846
+ class: "inline-flex items-center"
4847
+ }, Jd = /* @__PURE__ */ s("svg", {
4848
+ class: "w-3 h-3 me-1.5",
4849
+ "aria-hidden": "true",
4850
+ xmlns: "http://www.w3.org/2000/svg",
4851
+ fill: "currentColor",
4852
+ viewBox: "0 0 18 20"
4853
+ }, [
4854
+ /* @__PURE__ */ s("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
4855
+ ], -1), Qd = /* @__PURE__ */ s("span", { class: "text-xs font-semibold" }, "Copy", -1), eu = [
4856
+ Jd,
4857
+ Qd
4858
+ ], tu = {
4859
+ key: 1,
4860
+ class: "hidden inline-flex items-center"
4861
+ }, ru = /* @__PURE__ */ s("svg", {
4862
+ class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-1.5",
4863
+ "aria-hidden": "true",
4864
+ xmlns: "http://www.w3.org/2000/svg",
4865
+ fill: "none",
4866
+ viewBox: "0 0 16 12"
4867
+ }, [
4868
+ /* @__PURE__ */ s("path", {
4869
+ stroke: "currentColor",
4870
+ "stroke-linecap": "round",
4871
+ "stroke-linejoin": "round",
4872
+ "stroke-width": "2",
4873
+ d: "M1 5.917 5.724 10.5 15 1.5"
4874
+ })
4875
+ ], -1), su = /* @__PURE__ */ s("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), au = [
4876
+ ru,
4877
+ su
4878
+ ], nu = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, Fu = {
4879
+ __name: "GlCodeCopy",
4880
+ props: {
4881
+ label_name: {
4882
+ type: String,
4883
+ default: ""
4884
+ },
4885
+ code: {
4886
+ type: String,
4887
+ default: ""
4888
+ },
4889
+ description: {
4890
+ type: String,
4891
+ default: ""
4892
+ }
4893
+ },
4894
+ setup(e) {
4895
+ const t = e;
4896
+ $(null);
4897
+ const r = $(!1), n = (a) => {
4898
+ navigator.clipboard.writeText(a).then(function() {
4899
+ r.value = !0, setTimeout(() => {
4900
+ r.value = !1;
4901
+ }, 2e3);
4902
+ }).catch(function(i) {
4903
+ console.error("Error copying to clipboard: ", i);
4904
+ });
4905
+ }, o = L(() => t.code.value);
4906
+ return (a, i) => {
4907
+ const l = ue("click");
4908
+ return d(), u("div", Ud, [
4909
+ s("div", qd, [
4910
+ s("p", Hd, h(e.label_name), 1)
4911
+ ]),
4912
+ s("div", zd, [
4913
+ s("div", Zd, [
4914
+ s("pre", null, [
4915
+ s("code", Kd, `
4916
+ ` + h(o.value) + `
4917
+ `, 1)
4918
+ ])
4919
+ ]),
4920
+ s("div", Wd, [
4921
+ D((d(), u("button", Yd, [
4922
+ r.value ? f("", !0) : (d(), u("span", Xd, eu)),
4923
+ r.value ? (d(), u("span", tu, au)) : f("", !0)
4924
+ ])), [
4925
+ [l, n(o.value)]
4926
+ ])
4927
+ ])
4928
+ ]),
4929
+ s("p", nu, h(e.description), 1)
4930
+ ]);
4931
+ };
4932
+ }
4933
+ };
4845
4934
  export {
4846
- wu as GLDatatableCommand,
4847
- vu as GLDatatableDateTime,
4848
- xu as GLDatatableStatusServer,
4849
- Wd as GlButton,
4850
- Zd as GlCard,
4851
- ku as GlConfirmationModal,
4852
- iu as GlDataTable,
4853
- lu as GlDataTableServerSide,
4854
- uu as GlDatatableAction,
4855
- cu as GlDatatableDeleteAction,
4856
- fu as GlDatatableFileDownload,
4857
- gu as GlDatatableFiles,
4858
- hu as GlDatatableHtml,
4859
- mu as GlDatatableList,
4860
- bu as GlDatatablePicture,
4861
- pu as GlDatatableStatus,
4862
- yu as GlDatatableStatusGeneral,
4863
- _u as GlDatatableStatusSpecficColor,
4864
- ue as GlDeleteConfirmationModal,
4865
- nu as GlDropdown,
4866
- qd as GlFilesUpload,
4867
- Hd as GlLanguageSelector,
4868
- su as GlModal,
4869
- ru as GlMultiItemSlide,
4870
- Kd as GlMultiSelectDropdown,
4871
- zd as GlNotify,
4872
- tu as GlTab,
4873
- eu as GlTabsWrapper,
4935
+ Bu as GLDatatableCommand,
4936
+ Vu as GLDatatableDateTime,
4937
+ Lu as GLDatatableStatusServer,
4938
+ fu as GlButton,
4939
+ uu as GlCard,
4940
+ Fu as GlCodeCopy,
4941
+ Gu as GlConfirmationModal,
4942
+ Cu as GlDataTable,
4943
+ $u as GlDataTableServerSide,
4944
+ Du as GlDatatableAction,
4945
+ Ou as GlDatatableDeleteAction,
4946
+ Pu as GlDatatableFileDownload,
4947
+ Eu as GlDatatableFiles,
4948
+ Au as GlDatatableHtml,
4949
+ ju as GlDatatableList,
4950
+ Tu as GlDatatablePicture,
4951
+ Iu as GlDatatableStatus,
4952
+ Mu as GlDatatableStatusGeneral,
4953
+ Nu as GlDatatableStatusSpecficColor,
4954
+ ce as GlDeleteConfirmationModal,
4955
+ wu as GlDropdown,
4956
+ lu as GlFilesUpload,
4957
+ du as GlLanguageSelector,
4958
+ vu as GlModal,
4959
+ _u as GlMultiItemSlide,
4960
+ cu as GlMultiSelectDropdown,
4961
+ iu as GlNotify,
4962
+ yu as GlTab,
4963
+ pu as GlTabsWrapper,
4874
4964
  wo as GlTailwindPagination,
4875
- Qd as GlTextInput,
4876
- Jd as GlTextTranslate,
4877
- ou as GlTextarea,
4878
- Yd as GlTextareaTranslate,
4879
- Xd as GlTinymceTranslate,
4880
- $e as GlToast,
4881
- du as GlToastList,
4882
- au as GlToggleBox
4965
+ bu as GlTextInput,
4966
+ mu as GlTextTranslate,
4967
+ ku as GlTextarea,
4968
+ gu as GlTextareaTranslate,
4969
+ hu as GlTinymceTranslate,
4970
+ Ce as GlToast,
4971
+ Su as GlToastList,
4972
+ xu as GlToggleBox
4883
4973
  };