golden-logic-ui 1.0.148 → 1.0.149

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,10 +1,10 @@
1
- import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as R, effectScope as rt, computed as L, reactive as Te, resolveComponent as z, Fragment as v, createVNode as q, normalizeClass as p, toDisplayString as f, withModifiers as F, withDirectives as A, vModelText as G, renderList as S, normalizeStyle as st, renderSlot as M, ref as C, onMounted as H, createTextVNode as $, vShow as Q, nextTick as Le, createBlock as Z, resolveDynamicComponent as le, mergeProps as ae, withCtx as ie, vModelDynamic as at, provide as Me, pushScopeId as nt, popScopeId as ot, vModelCheckbox as lt, toHandlers as be, TransitionGroup as it, unref as dt, resolveDirective as Ie, markRaw as ut } from "vue";
1
+ import { openBlock as d, createElementBlock as u, createElementVNode as t, createCommentVNode as g, createStaticVNode as tt, inject as xe, watch as H, effectScope as rt, computed as E, reactive as Le, resolveComponent as z, Fragment as w, createVNode as q, normalizeClass as p, toDisplayString as h, withModifiers as F, withDirectives as A, vModelText as G, renderList as D, normalizeStyle as st, renderSlot as M, ref as C, onMounted as R, createTextVNode as $, vShow as Q, nextTick as Te, createBlock as Z, resolveDynamicComponent as le, mergeProps as ae, withCtx as ie, vModelDynamic as at, provide as Me, pushScopeId as nt, popScopeId as ot, vModelCheckbox as lt, toHandlers as be, onUnmounted as it, TransitionGroup as dt, unref as ut, resolveDirective as Ie, markRaw as ct } from "vue";
2
2
  const O = (e, r) => {
3
3
  const s = e.__vccOpts || e;
4
4
  for (const [n, o] of r)
5
5
  s[n] = o;
6
6
  return s;
7
- }, ct = {
7
+ }, gt = {
8
8
  props: ["isOpen"],
9
9
  methods: {
10
10
  confirmDeletion() {
@@ -14,27 +14,27 @@ const O = (e, r) => {
14
14
  this.$emit("cancel-delete");
15
15
  }
16
16
  }
17
- }, gt = {
17
+ }, ft = {
18
18
  key: 0,
19
19
  class: "fixed inset-0 z-50 overflow-y-auto",
20
20
  "aria-labelledby": "modal-title",
21
21
  role: "dialog",
22
22
  "aria-modal": "true"
23
- }, ft = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, ht = /* @__PURE__ */ t("div", {
23
+ }, ht = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, mt = /* @__PURE__ */ t("div", {
24
24
  class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
25
25
  "aria-hidden": "true"
26
- }, null, -1), mt = /* @__PURE__ */ t("span", {
26
+ }, null, -1), bt = /* @__PURE__ */ t("span", {
27
27
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
28
28
  "aria-hidden": "true"
29
- }, "​", -1), bt = { 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" }, pt = /* @__PURE__ */ tt('<div class="px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6 text-gray-900" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm text-gray-500"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), yt = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
30
- function _t(e, r, s, n, o, a) {
31
- return s.isOpen ? (d(), u("div", gt, [
32
- t("div", ft, [
33
- ht,
29
+ }, "​", -1), pt = { 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" }, yt = /* @__PURE__ */ tt('<div class="px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6 text-gray-900" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm text-gray-500"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), _t = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
30
+ function vt(e, r, s, n, o, a) {
31
+ return s.isOpen ? (d(), u("div", ft, [
32
+ t("div", ht, [
34
33
  mt,
35
- t("div", bt, [
36
- pt,
37
- t("div", yt, [
34
+ bt,
35
+ t("div", pt, [
36
+ yt,
37
+ t("div", _t, [
38
38
  t("button", {
39
39
  onClick: r[0] || (r[0] = (...i) => a.confirmDeletion && a.confirmDeletion(...i)),
40
40
  type: "button",
@@ -50,23 +50,23 @@ function _t(e, r, s, n, o, a) {
50
50
  ])
51
51
  ])) : g("", !0);
52
52
  }
53
- const we = /* @__PURE__ */ O(ct, [["render", _t]]);
54
- function vt() {
53
+ const we = /* @__PURE__ */ O(gt, [["render", vt]]);
54
+ function xt() {
55
55
  return Ne().__VUE_DEVTOOLS_GLOBAL_HOOK__;
56
56
  }
57
57
  function Ne() {
58
58
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
59
59
  }
60
- const xt = typeof Proxy == "function", wt = "devtools-plugin:setup", kt = "plugin:settings:set";
60
+ const wt = typeof Proxy == "function", kt = "devtools-plugin:setup", $t = "plugin:settings:set";
61
61
  let X, ye;
62
- function $t() {
62
+ function Ct() {
63
63
  var e;
64
64
  return X !== void 0 || (typeof window < "u" && window.performance ? (X = !0, ye = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (X = !0, ye = globalThis.perf_hooks.performance) : X = !1), X;
65
65
  }
66
- function Ct() {
67
- return $t() ? ye.now() : Date.now();
66
+ function St() {
67
+ return Ct() ? ye.now() : Date.now();
68
68
  }
69
- class St {
69
+ class Dt {
70
70
  constructor(r, s) {
71
71
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = r, this.hook = s;
72
72
  const n = {};
@@ -94,9 +94,9 @@ class St {
94
94
  a = i;
95
95
  },
96
96
  now() {
97
- return Ct();
97
+ return St();
98
98
  }
99
- }, s && s.on(kt, (i, l) => {
99
+ }, s && s.on($t, (i, l) => {
100
100
  i === this.plugin.id && this.fallbacks.setSettings(l);
101
101
  }), this.proxiedOn = new Proxy({}, {
102
102
  get: (i, l) => this.target ? this.target.on[l] : (...c) => {
@@ -111,11 +111,11 @@ class St {
111
111
  args: c,
112
112
  resolve: () => {
113
113
  }
114
- }), this.fallbacks[l](...c)) : (...c) => new Promise((h) => {
114
+ }), this.fallbacks[l](...c)) : (...c) => new Promise((f) => {
115
115
  this.targetQueue.push({
116
116
  method: l,
117
117
  args: c,
118
- resolve: h
118
+ resolve: f
119
119
  });
120
120
  })
121
121
  });
@@ -128,12 +128,12 @@ class St {
128
128
  s.resolve(await this.target[s.method](...s.args));
129
129
  }
130
130
  }
131
- function Dt(e, r) {
132
- const s = e, n = Ne(), o = vt(), a = xt && s.enableEarlyProxy;
131
+ function Ot(e, r) {
132
+ const s = e, n = Ne(), o = xt(), a = wt && s.enableEarlyProxy;
133
133
  if (o && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
134
- o.emit(wt, e, r);
134
+ o.emit(kt, e, r);
135
135
  else {
136
- const i = a ? new St(s, o) : null;
136
+ const i = a ? new Dt(s, o) : null;
137
137
  (n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({
138
138
  pluginDescriptor: s,
139
139
  setupFn: r,
@@ -158,14 +158,14 @@ function K(e, r) {
158
158
  function Ge(e) {
159
159
  return e !== null && typeof e == "object";
160
160
  }
161
- function Ot(e) {
161
+ function Pt(e) {
162
162
  return e && typeof e.then == "function";
163
163
  }
164
164
  function V(e, r) {
165
165
  if (!e)
166
166
  throw new Error("[vuex] " + r);
167
167
  }
168
- function Pt(e, r) {
168
+ function At(e, r) {
169
169
  return function() {
170
170
  return e(r);
171
171
  };
@@ -186,8 +186,8 @@ function ke(e, r, s) {
186
186
  e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
187
187
  var a = e._wrappedGetters, i = {}, l = {}, c = rt(!0);
188
188
  c.run(function() {
189
- K(a, function(h, m) {
190
- i[m] = Pt(h, e), l[m] = L(function() {
189
+ K(a, function(f, m) {
190
+ i[m] = At(f, e), l[m] = E(function() {
191
191
  return i[m]();
192
192
  }), Object.defineProperty(e.getters, m, {
193
193
  get: function() {
@@ -197,9 +197,9 @@ function ke(e, r, s) {
197
197
  // for local getters
198
198
  });
199
199
  });
200
- }), e._state = Te({
200
+ }), e._state = Le({
201
201
  data: r
202
- }), e._scope = c, e.strict && Lt(e), n && s && e._withCommit(function() {
202
+ }), e._scope = c, e.strict && Mt(e), n && s && e._withCommit(function() {
203
203
  n.data = null;
204
204
  }), o && o.stop();
205
205
  }
@@ -213,37 +213,37 @@ function ue(e, r, s, n, o) {
213
213
  ), l[c] = n.state;
214
214
  });
215
215
  }
216
- var h = n.context = At(e, i, s);
216
+ var f = n.context = jt(e, i, s);
217
217
  n.forEachMutation(function(m, _) {
218
- var x = i + _;
219
- jt(e, x, m, h);
218
+ var v = i + _;
219
+ Et(e, v, m, f);
220
220
  }), n.forEachAction(function(m, _) {
221
- var x = m.root ? _ : i + _, D = m.handler || m;
222
- Et(e, x, D, h);
221
+ var v = m.root ? _ : i + _, S = m.handler || m;
222
+ Lt(e, v, S, f);
223
223
  }), n.forEachGetter(function(m, _) {
224
- var x = i + _;
225
- Tt(e, x, m, h);
224
+ var v = i + _;
225
+ Tt(e, v, m, f);
226
226
  }), n.forEachChild(function(m, _) {
227
227
  ue(e, r, s.concat(_), m, o);
228
228
  });
229
229
  }
230
- function At(e, r, s) {
230
+ function jt(e, r, s) {
231
231
  var n = r === "", o = {
232
232
  dispatch: n ? e.dispatch : function(a, i, l) {
233
- var c = de(a, i, l), h = c.payload, m = c.options, _ = c.type;
233
+ var c = de(a, i, l), f = c.payload, m = c.options, _ = c.type;
234
234
  if ((!m || !m.root) && (_ = r + _, process.env.NODE_ENV !== "production" && !e._actions[_])) {
235
235
  console.error("[vuex] unknown local action type: " + c.type + ", global type: " + _);
236
236
  return;
237
237
  }
238
- return e.dispatch(_, h);
238
+ return e.dispatch(_, f);
239
239
  },
240
240
  commit: n ? e.commit : function(a, i, l) {
241
- var c = de(a, i, l), h = c.payload, m = c.options, _ = c.type;
241
+ var c = de(a, i, l), f = c.payload, m = c.options, _ = c.type;
242
242
  if ((!m || !m.root) && (_ = r + _, process.env.NODE_ENV !== "production" && !e._mutations[_])) {
243
243
  console.error("[vuex] unknown local mutation type: " + c.type + ", global type: " + _);
244
244
  return;
245
245
  }
246
- e.commit(_, h, m);
246
+ e.commit(_, f, m);
247
247
  }
248
248
  };
249
249
  return Object.defineProperties(o, {
@@ -278,13 +278,13 @@ function Re(e, r) {
278
278
  }
279
279
  return e._makeLocalGettersCache[r];
280
280
  }
281
- function jt(e, r, s, n) {
281
+ function Et(e, r, s, n) {
282
282
  var o = e._mutations[r] || (e._mutations[r] = []);
283
283
  o.push(function(i) {
284
284
  s.call(e, n.state, i);
285
285
  });
286
286
  }
287
- function Et(e, r, s, n) {
287
+ function Lt(e, r, s, n) {
288
288
  var o = e._actions[r] || (e._actions[r] = []);
289
289
  o.push(function(i) {
290
290
  var l = s.call(e, {
@@ -295,7 +295,7 @@ function Et(e, r, s, n) {
295
295
  rootGetters: e.getters,
296
296
  rootState: e.state
297
297
  }, i);
298
- return Ot(l) || (l = Promise.resolve(l)), e._devtoolHook ? l.catch(function(c) {
298
+ return Pt(l) || (l = Promise.resolve(l)), e._devtoolHook ? l.catch(function(c) {
299
299
  throw e._devtoolHook.emit("vuex:error", c), c;
300
300
  }) : l;
301
301
  });
@@ -318,8 +318,8 @@ function Tt(e, r, s, n) {
318
318
  );
319
319
  };
320
320
  }
321
- function Lt(e) {
322
- R(function() {
321
+ function Mt(e) {
322
+ H(function() {
323
323
  return e._state.data;
324
324
  }, function() {
325
325
  process.env.NODE_ENV !== "production" && V(e._committing, "do not mutate vuex store state outside mutation handlers.");
@@ -333,9 +333,9 @@ function $e(e, r) {
333
333
  function de(e, r, s) {
334
334
  return Ge(e) && e.type && (s = r, r = e, e = e.type), process.env.NODE_ENV !== "production" && V(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: r, options: s };
335
335
  }
336
- var Mt = "vuex bindings", Oe = "vuex:mutations", pe = "vuex:actions", J = "vuex", It = 0;
337
- function Nt(e, r) {
338
- Dt(
336
+ var It = "vuex bindings", Oe = "vuex:mutations", pe = "vuex:actions", J = "vuex", Nt = 0;
337
+ function Vt(e, r) {
338
+ Ot(
339
339
  {
340
340
  id: "org.vuejs.vuex",
341
341
  app: e,
@@ -343,7 +343,7 @@ function Nt(e, r) {
343
343
  homepage: "https://next.vuex.vuejs.org/",
344
344
  logo: "https://vuejs.org/images/icons/favicon-96x96.png",
345
345
  packageName: "vuex",
346
- componentStateTypes: [Mt]
346
+ componentStateTypes: [It]
347
347
  },
348
348
  function(s) {
349
349
  s.addTimelineLayer({
@@ -371,8 +371,8 @@ function Nt(e, r) {
371
371
  }), s.on.getInspectorState(function(n) {
372
372
  if (n.app === e && n.inspectorId === J) {
373
373
  var o = n.nodeId;
374
- Re(r, o), n.state = Gt(
375
- Ft(r._modules, o),
374
+ Re(r, o), n.state = Ut(
375
+ Rt(r._modules, o),
376
376
  o === "root" ? r.getters : r._makeLocalGettersCache,
377
377
  o
378
378
  );
@@ -397,7 +397,7 @@ function Nt(e, r) {
397
397
  }), r.subscribeAction({
398
398
  before: function(n, o) {
399
399
  var a = {};
400
- n.payload && (a.payload = n.payload), n._id = It++, n._time = Date.now(), a.state = o, s.addTimelineEvent({
400
+ n.payload && (a.payload = n.payload), n._id = Nt++, n._time = Date.now(), a.state = o, s.addTimelineEvent({
401
401
  layerId: pe,
402
402
  event: {
403
403
  time: n._time,
@@ -432,10 +432,10 @@ function Nt(e, r) {
432
432
  }
433
433
  );
434
434
  }
435
- var Pe = 8702998, Vt = 6710886, Bt = 16777215, qe = {
435
+ var Pe = 8702998, Bt = 6710886, Gt = 16777215, qe = {
436
436
  label: "namespaced",
437
- textColor: Bt,
438
- backgroundColor: Vt
437
+ textColor: Gt,
438
+ backgroundColor: Bt
439
439
  };
440
440
  function He(e) {
441
441
  return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
@@ -467,7 +467,7 @@ function Ze(e, r, s, n) {
467
467
  Ze(e, r._children[o], s, n + o + "/");
468
468
  });
469
469
  }
470
- function Gt(e, r, s) {
470
+ function Ut(e, r, s) {
471
471
  r = s === "root" ? r : r[s];
472
472
  var n = Object.keys(r), o = {
473
473
  state: Object.keys(e.state).map(function(i) {
@@ -479,7 +479,7 @@ function Gt(e, r, s) {
479
479
  })
480
480
  };
481
481
  if (n.length) {
482
- var a = Ut(r);
482
+ var a = Ft(r);
483
483
  o.getters = Object.keys(a).map(function(i) {
484
484
  return {
485
485
  key: i.endsWith("/") ? He(i) : i,
@@ -492,7 +492,7 @@ function Gt(e, r, s) {
492
492
  }
493
493
  return o;
494
494
  }
495
- function Ut(e) {
495
+ function Ft(e) {
496
496
  var r = {};
497
497
  return Object.keys(e).forEach(function(s) {
498
498
  var n = s.split("/");
@@ -516,7 +516,7 @@ function Ut(e) {
516
516
  });
517
517
  }), r;
518
518
  }
519
- function Ft(e, r) {
519
+ function Rt(e, r) {
520
520
  var s = r.split("/").filter(function(n) {
521
521
  return n;
522
522
  });
@@ -639,7 +639,7 @@ var Ae = {
639
639
  return typeof e == "function";
640
640
  },
641
641
  expected: "function"
642
- }, Rt = {
642
+ }, qt = {
643
643
  assert: function(e) {
644
644
  return typeof e == "function" || typeof e == "object" && typeof e.handler == "function";
645
645
  },
@@ -647,7 +647,7 @@ var Ae = {
647
647
  }, je = {
648
648
  getters: Ae,
649
649
  mutations: Ae,
650
- actions: Rt
650
+ actions: qt
651
651
  };
652
652
  function Ye(e, r) {
653
653
  Object.keys(je).forEach(function(s) {
@@ -656,13 +656,13 @@ function Ye(e, r) {
656
656
  K(r[s], function(o, a) {
657
657
  V(
658
658
  n.assert(o),
659
- qt(e, s, a, o, n.expected)
659
+ Ht(e, s, a, o, n.expected)
660
660
  );
661
661
  });
662
662
  }
663
663
  });
664
664
  }
665
- function qt(e, r, s, n, o) {
665
+ function Ht(e, r, s, n, o) {
666
666
  var a = r + " should be " + o + ' but "' + r + "." + s + '"';
667
667
  return e.length > 0 && (a += ' in module "' + e.join(".") + '"'), a += " is " + JSON.stringify(n) + ".", a;
668
668
  }
@@ -675,11 +675,11 @@ var I = function e(r) {
675
675
  o === void 0 && (o = !1);
676
676
  var a = r.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 W(r), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null), this._scope = null, this._devtools = a;
678
- var i = this, l = this, c = l.dispatch, h = l.commit;
679
- this.dispatch = function(x, D) {
680
- return c.call(i, x, D);
681
- }, this.commit = function(x, D, N) {
682
- return h.call(i, x, D, N);
678
+ var i = this, l = this, c = l.dispatch, f = l.commit;
679
+ this.dispatch = function(v, S) {
680
+ return c.call(i, v, S);
681
+ }, this.commit = function(v, S, N) {
682
+ return f.call(i, v, S, N);
683
683
  }, this.strict = o;
684
684
  var m = this._modules.root.state;
685
685
  ue(this, m, [], this._modules.root), ke(this, m), n.forEach(function(_) {
@@ -689,7 +689,7 @@ var I = function e(r) {
689
689
  I.prototype.install = function(r, s) {
690
690
  r.provide(s || Ve, this), r.config.globalProperties.$store = this;
691
691
  var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
692
- n && Nt(r, this);
692
+ n && Vt(r, this);
693
693
  };
694
694
  Ce.state.get = function() {
695
695
  return this._state.data;
@@ -698,17 +698,17 @@ Ce.state.set = function(e) {
698
698
  process.env.NODE_ENV !== "production" && V(!1, "use store.replaceState() to explicit replace store state.");
699
699
  };
700
700
  I.prototype.commit = function(r, s, n) {
701
- var o = this, a = de(r, s, n), i = a.type, l = a.payload, c = a.options, h = { type: i, payload: l }, m = this._mutations[i];
701
+ var o = this, a = de(r, s, n), i = a.type, l = a.payload, c = a.options, f = { type: i, payload: l }, m = this._mutations[i];
702
702
  if (!m) {
703
703
  process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + i);
704
704
  return;
705
705
  }
706
706
  this._withCommit(function() {
707
- m.forEach(function(x) {
708
- x(l);
707
+ m.forEach(function(v) {
708
+ v(l);
709
709
  });
710
710
  }), this._subscribers.slice().forEach(function(_) {
711
- return _(h, o.state);
711
+ return _(f, o.state);
712
712
  }), process.env.NODE_ENV !== "production" && c && c.silent && console.warn(
713
713
  "[vuex] mutation type: " + i + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
714
714
  );
@@ -728,32 +728,32 @@ I.prototype.dispatch = function(r, s) {
728
728
  } catch (m) {
729
729
  process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in before action subscribers: "), console.error(m));
730
730
  }
731
- var h = c.length > 1 ? Promise.all(c.map(function(m) {
731
+ var f = c.length > 1 ? Promise.all(c.map(function(m) {
732
732
  return m(i);
733
733
  })) : c[0](i);
734
734
  return new Promise(function(m, _) {
735
- h.then(function(x) {
735
+ f.then(function(v) {
736
736
  try {
737
- n._actionSubscribers.filter(function(D) {
738
- return D.after;
739
- }).forEach(function(D) {
740
- return D.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 (D) {
743
- process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(D));
742
+ } catch (S) {
743
+ process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(S));
744
744
  }
745
- m(x);
746
- }, function(x) {
745
+ m(v);
746
+ }, function(v) {
747
747
  try {
748
- n._actionSubscribers.filter(function(D) {
749
- return D.error;
750
- }).forEach(function(D) {
751
- return D.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, v);
752
752
  });
753
- } catch (D) {
754
- process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(D));
753
+ } catch (S) {
754
+ process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(S));
755
755
  }
756
- _(x);
756
+ _(v);
757
757
  });
758
758
  });
759
759
  };
@@ -766,7 +766,7 @@ I.prototype.subscribeAction = function(r, s) {
766
766
  };
767
767
  I.prototype.watch = function(r, s, n) {
768
768
  var o = this;
769
- return process.env.NODE_ENV !== "production" && V(typeof r == "function", "store.watch only accepts a function."), R(function() {
769
+ return process.env.NODE_ENV !== "production" && V(typeof r == "function", "store.watch only accepts a function."), H(function() {
770
770
  return r(o.state, o.getters);
771
771
  }, s, Object.assign({}, n));
772
772
  };
@@ -797,36 +797,36 @@ I.prototype._withCommit = function(r) {
797
797
  this._committing = !0, r(), this._committing = s;
798
798
  };
799
799
  Object.defineProperties(I.prototype, Ce);
800
- var Ht = Je(function(e, r) {
800
+ var zt = Je(function(e, r) {
801
801
  var s = {};
802
802
  return process.env.NODE_ENV !== "production" && !Se(r) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Xe(r).forEach(function(n) {
803
803
  var o = n.key, a = n.val;
804
804
  s[o] = function() {
805
805
  var l = this.$store.state, c = this.$store.getters;
806
806
  if (e) {
807
- var h = Qe(this.$store, "mapState", e);
808
- if (!h)
807
+ var f = Qe(this.$store, "mapState", e);
808
+ if (!f)
809
809
  return;
810
- l = h.context.state, c = h.context.getters;
810
+ l = f.context.state, c = f.context.getters;
811
811
  }
812
812
  return typeof a == "function" ? a.call(this, l, c) : l[a];
813
813
  }, s[o].vuex = !0;
814
814
  }), s;
815
- }), zt = Je(function(e, r) {
815
+ }), Zt = Je(function(e, r) {
816
816
  var s = {};
817
817
  return process.env.NODE_ENV !== "production" && !Se(r) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Xe(r).forEach(function(n) {
818
818
  var o = n.key, a = n.val;
819
819
  s[o] = function() {
820
820
  for (var l = [], c = arguments.length; c--; )
821
821
  l[c] = arguments[c];
822
- var h = this.$store.commit;
822
+ var f = this.$store.commit;
823
823
  if (e) {
824
824
  var m = Qe(this.$store, "mapMutations", e);
825
825
  if (!m)
826
826
  return;
827
- h = m.context.commit;
827
+ f = m.context.commit;
828
828
  }
829
- return typeof a == "function" ? a.apply(this, [h].concat(l)) : h.apply(this.$store, [a].concat(l));
829
+ return typeof a == "function" ? a.apply(this, [f].concat(l)) : f.apply(this.$store, [a].concat(l));
830
830
  };
831
831
  }), s;
832
832
  });
@@ -849,7 +849,7 @@ function Qe(e, r, s) {
849
849
  var n = e._modulesNamespaceMap[s];
850
850
  return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + r + "(): " + s), n;
851
851
  }
852
- const Zt = {
852
+ const Kt = {
853
853
  components: {
854
854
  DeleteConfirmationModal: we
855
855
  },
@@ -999,7 +999,7 @@ const Zt = {
999
999
  mounted() {
1000
1000
  console.log(this.model_value), this.model_value ? Array.isArray(this.model_value) ? this.uploadFileList = this.model_value : this.uploadFileList = [this.model_value] : this.uploadFileList = [], this.error_message_data = this.error_message;
1001
1001
  }
1002
- }, Kt = { class: "flex flex-col items-center justify-center pt-5 pb-6" }, Wt = ["multiple"], Yt = ["name"], Xt = /* @__PURE__ */ t("svg", {
1002
+ }, Wt = { class: "flex flex-col items-center justify-center pt-5 pb-6" }, Yt = ["multiple"], Xt = ["name"], Jt = /* @__PURE__ */ t("svg", {
1003
1003
  class: "w-8 h-8 mb-4 text-gray-500 dark:text-gray-400",
1004
1004
  "aria-hidden": "true",
1005
1005
  xmlns: "http://www.w3.org/2000/svg",
@@ -1013,21 +1013,21 @@ const Zt = {
1013
1013
  "stroke-width": "2",
1014
1014
  d: "M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2"
1015
1015
  })
1016
- ], -1), Jt = /* @__PURE__ */ t("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, " Drag & drop files or browse ", -1), Qt = [
1017
- Xt,
1018
- Jt
1019
- ], er = { key: 1 }, tr = /* @__PURE__ */ t("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, "Drop files here", -1), rr = [
1020
- tr
1021
- ], sr = { class: "mt-2 gl-span-form-error" }, ar = { class: "block mt-2 mb-3 text-sm font-normal leading-5 text-gray-500" }, nr = {
1016
+ ], -1), Qt = /* @__PURE__ */ t("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, " Drag & drop files or browse ", -1), er = [
1017
+ Jt,
1018
+ Qt
1019
+ ], tr = { key: 1 }, rr = /* @__PURE__ */ t("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, "Drop files here", -1), sr = [
1020
+ rr
1021
+ ], ar = { class: "mt-2 gl-span-form-error" }, nr = { class: "block mt-2 mb-3 text-sm font-normal leading-5 text-gray-500" }, or = {
1022
1022
  key: 0,
1023
1023
  class: ""
1024
- }, or = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, lr = /* @__PURE__ */ t("i", { class: "text-3xl fas fa-file-alt" }, null, -1), ir = { class: "w-full ml-3" }, dr = { class: "flex items-center justify-between mb-1" }, ur = { class: "text-xs text-black dark:text-white" }, cr = { class: "text-xs text-black dark:text-white" }, gr = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, fr = { class: "overflow-x-scroll max-h-56" }, hr = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, mr = { class: "flex items-center" }, br = /* @__PURE__ */ t("i", {
1024
+ }, lr = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, ir = /* @__PURE__ */ t("i", { class: "text-3xl fas fa-file-alt" }, null, -1), dr = { class: "w-full ml-3" }, ur = { class: "flex items-center justify-between mb-1" }, cr = { class: "text-xs text-black dark:text-white" }, gr = { class: "text-xs text-black dark:text-white" }, fr = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, hr = { class: "overflow-x-scroll max-h-56" }, mr = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, br = { class: "flex items-center" }, pr = /* @__PURE__ */ t("i", {
1025
1025
  class: "text-3xl fas fa-file-alt",
1026
1026
  "aria-hidden": "true"
1027
- }, null, -1), pr = { class: "flex flex-col ml-3" }, yr = { class: "text-xs" }, _r = { class: "text-xs" }, vr = { class: "flex gap-2" }, xr = ["href"], wr = ["onClick"];
1028
- function kr(e, r, s, n, o, a) {
1027
+ }, null, -1), yr = { class: "flex flex-col ml-3" }, _r = { class: "text-xs" }, vr = { class: "text-xs" }, xr = { class: "flex gap-2" }, wr = ["href"], kr = ["onClick"];
1028
+ function $r(e, r, s, n, o, a) {
1029
1029
  const i = z("DeleteConfirmationModal");
1030
- return d(), u(v, null, [
1030
+ return d(), u(w, null, [
1031
1031
  q(i, {
1032
1032
  isOpen: o.open_delete_modal,
1033
1033
  onConfirmDelete: a.deleteAction,
@@ -1045,46 +1045,46 @@ function kr(e, r, s, n, o, a) {
1045
1045
  "gl-label-form-invalid": o.error_message_data !== "",
1046
1046
  required: s.is_required
1047
1047
  })
1048
- }, f(s.label_name), 3),
1048
+ }, h(s.label_name), 3),
1049
1049
  t("div", {
1050
1050
  onDragover: r[3] || (r[3] = F((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
1051
1051
  onDragleave: r[4] || (r[4] = F((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
1052
1052
  onDrop: r[5] || (r[5] = F((...l) => a.onDrop && a.onDrop(...l), ["prevent"])),
1053
1053
  class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
1054
1054
  }, [
1055
- t("div", Kt, [
1055
+ t("div", Wt, [
1056
1056
  t("input", {
1057
1057
  type: "file",
1058
1058
  ref: "file_input" + s.field_name,
1059
1059
  hidden: "",
1060
1060
  multiple: s.has_multiple_file,
1061
1061
  onChange: r[0] || (r[0] = (...l) => a.uploadFiles && a.uploadFiles(...l))
1062
- }, null, 40, Wt),
1062
+ }, null, 40, Yt),
1063
1063
  A(t("input", {
1064
1064
  type: "hidden",
1065
1065
  name: s.field_name,
1066
1066
  "onUpdate:modelValue": r[1] || (r[1] = (l) => a.uploadedFileIds = l)
1067
- }, null, 8, Yt), [
1067
+ }, null, 8, Xt), [
1068
1068
  [G, a.uploadedFileIds]
1069
1069
  ]),
1070
- o.isDragging ? (d(), u("div", er, rr)) : (d(), u("div", {
1070
+ o.isDragging ? (d(), u("div", tr, sr)) : (d(), u("div", {
1071
1071
  key: 0,
1072
1072
  class: "flex flex-col items-center justify-center",
1073
1073
  onClick: r[2] || (r[2] = (l) => e.$refs["file_input" + this.field_name].click())
1074
- }, Qt))
1074
+ }, er))
1075
1075
  ])
1076
1076
  ], 32),
1077
- t("span", sr, f(o.error_message_data), 1),
1078
- t("small", ar, f(s.description), 1),
1079
- o.files.length > 0 ? (d(), u("section", nr, [
1080
- (d(!0), u(v, null, S(o.files, (l, c) => (d(), u("li", or, [
1081
- lr,
1082
- t("div", ir, [
1083
- t("div", dr, [
1084
- t("span", ur, f(a.getFileName(l.file_name)), 1),
1085
- t("span", cr, f(l.loading), 1)
1077
+ t("span", ar, h(o.error_message_data), 1),
1078
+ t("small", nr, h(s.description), 1),
1079
+ o.files.length > 0 ? (d(), u("section", or, [
1080
+ (d(!0), u(w, null, D(o.files, (l, c) => (d(), u("li", lr, [
1081
+ ir,
1082
+ t("div", dr, [
1083
+ t("div", ur, [
1084
+ t("span", cr, h(a.getFileName(l.file_name)), 1),
1085
+ t("span", gr, h(l.loading), 1)
1086
1086
  ]),
1087
- t("div", gr, [
1087
+ t("div", fr, [
1088
1088
  t("div", {
1089
1089
  class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
1090
1090
  style: st({ width: l.loading + "%" })
@@ -1093,37 +1093,37 @@ function kr(e, r, s, n, o, a) {
1093
1093
  ])
1094
1094
  ]))), 256))
1095
1095
  ])) : g("", !0),
1096
- t("section", fr, [
1097
- (d(!0), u(v, null, S(o.uploadFileList, (l, c) => (d(), u("li", hr, [
1098
- t("div", mr, [
1099
- br,
1100
- t("div", pr, [
1101
- t("span", yr, f(a.getFileName(l.file_name)), 1),
1102
- t("span", _r, f(a.formatFileSize(l.size)), 1)
1096
+ t("section", hr, [
1097
+ (d(!0), u(w, null, D(o.uploadFileList, (l, c) => (d(), u("li", mr, [
1098
+ t("div", br, [
1099
+ pr,
1100
+ t("div", yr, [
1101
+ t("span", _r, h(a.getFileName(l.file_name)), 1),
1102
+ t("span", vr, h(a.formatFileSize(l.size)), 1)
1103
1103
  ])
1104
1104
  ]),
1105
- t("div", vr, [
1105
+ t("div", xr, [
1106
1106
  t("a", {
1107
1107
  href: l.url,
1108
1108
  target: "_blank",
1109
1109
  class: "text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"
1110
- }, null, 8, xr),
1110
+ }, null, 8, wr),
1111
1111
  s.is_enable_delete ? (d(), u("i", {
1112
1112
  key: 0,
1113
- onClick: (h) => {
1113
+ onClick: (f) => {
1114
1114
  o.media_id = l.id, o.open_delete_modal = !0;
1115
1115
  },
1116
1116
  class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
1117
- }, null, 8, wr)) : g("", !0)
1117
+ }, null, 8, kr)) : g("", !0)
1118
1118
  ])
1119
1119
  ]))), 256))
1120
1120
  ])
1121
1121
  ], 2)
1122
1122
  ], 64);
1123
1123
  }
1124
- const pc = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
1124
+ const bc = /* @__PURE__ */ O(Kt, [["render", $r]]), Cr = {
1125
1125
  computed: {
1126
- ...Ht("notification", ["notification"]),
1126
+ ...zt("notification", ["notification"]),
1127
1127
  alertClasses() {
1128
1128
  switch (this.notification.type) {
1129
1129
  case "info":
@@ -1158,7 +1158,7 @@ const pc = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
1158
1158
  }
1159
1159
  },
1160
1160
  methods: {
1161
- ...zt("notification", ["HIDE_NOTIFICATION"]),
1161
+ ...Zt("notification", ["HIDE_NOTIFICATION"]),
1162
1162
  dismiss() {
1163
1163
  this.HIDE_NOTIFICATION();
1164
1164
  }
@@ -1170,7 +1170,7 @@ const pc = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
1170
1170
  }, this.notification.duration);
1171
1171
  }
1172
1172
  }
1173
- }, Cr = /* @__PURE__ */ t("svg", {
1173
+ }, Sr = /* @__PURE__ */ t("svg", {
1174
1174
  class: "flex-shrink-0 w-4 h-4",
1175
1175
  "aria-hidden": "true",
1176
1176
  xmlns: "http://www.w3.org/2000/svg",
@@ -1178,7 +1178,7 @@ const pc = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
1178
1178
  viewBox: "0 0 20 20"
1179
1179
  }, [
1180
1180
  /* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z" })
1181
- ], -1), Sr = /* @__PURE__ */ t("span", { class: "sr-only" }, "Info", -1), Dr = { class: "mr-3 text-sm font-medium ms-3" }, Or = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Pr = /* @__PURE__ */ t("svg", {
1181
+ ], -1), Dr = /* @__PURE__ */ t("span", { class: "sr-only" }, "Info", -1), Or = { class: "mr-3 text-sm font-medium ms-3" }, Pr = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Ar = /* @__PURE__ */ t("svg", {
1182
1182
  class: "w-3 h-3",
1183
1183
  "aria-hidden": "true",
1184
1184
  xmlns: "http://www.w3.org/2000/svg",
@@ -1192,28 +1192,28 @@ const pc = /* @__PURE__ */ O(Zt, [["render", kr]]), $r = {
1192
1192
  "stroke-width": "2",
1193
1193
  d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
1194
1194
  })
1195
- ], -1), Ar = [
1196
- Or,
1197
- Pr
1195
+ ], -1), jr = [
1196
+ Pr,
1197
+ Ar
1198
1198
  ];
1199
- function jr(e, r, s, n, o, a) {
1199
+ function Er(e, r, s, n, o, a) {
1200
1200
  return e.notification.show ? (d(), u("div", {
1201
1201
  key: 0,
1202
1202
  class: p(["fixed right-0 z-50 flex items-center p-4 m-5 mb-4 rounded-lg shadow-lg", a.alertClasses]),
1203
1203
  role: "alert"
1204
1204
  }, [
1205
- Cr,
1206
1205
  Sr,
1207
- t("div", Dr, f(e.notification.message), 1),
1206
+ Dr,
1207
+ t("div", Or, h(e.notification.message), 1),
1208
1208
  t("button", {
1209
1209
  type: "button",
1210
1210
  onClick: r[0] || (r[0] = (...i) => a.dismiss && a.dismiss(...i)),
1211
1211
  class: p(["inline-flex items-center justify-center w-6 h-6 p-1 -mx-1 -my-1 rounded-lg ms-auto focus:ring-2 hover:bg-opacity-50", a.buttonClasses]),
1212
1212
  "aria-label": "Close"
1213
- }, Ar, 2)
1213
+ }, jr, 2)
1214
1214
  ], 2)) : g("", !0);
1215
1215
  }
1216
- const yc = /* @__PURE__ */ O($r, [["render", jr]]), Er = {
1216
+ const pc = /* @__PURE__ */ O(Cr, [["render", Er]]), Lr = {
1217
1217
  components: {},
1218
1218
  props: {
1219
1219
  field_name: {
@@ -1248,10 +1248,10 @@ const yc = /* @__PURE__ */ O($r, [["render", jr]]), Er = {
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" }, Lr = ["name", "value", "id", "checked"], Mr = ["for"];
1252
- function Ir(e, r, s, n, o, a) {
1251
+ }, Tr = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Mr = ["name", "value", "id", "checked"], Ir = ["for"];
1252
+ function Nr(e, r, s, n, o, a) {
1253
1253
  return d(), u("ul", Tr, [
1254
- (d(!0), u(v, null, S(o.locals, (i, l) => (d(), u("li", null, [
1254
+ (d(!0), u(w, null, D(o.locals, (i, l) => (d(), u("li", null, [
1255
1255
  t("input", {
1256
1256
  type: "radio",
1257
1257
  name: s.trans_selector_name,
@@ -1260,7 +1260,7 @@ function Ir(e, r, s, n, o, a) {
1260
1260
  id: i + "_" + s.field_name,
1261
1261
  autocomplete: "off",
1262
1262
  checked: i === o.default_language
1263
- }, null, 8, Lr),
1263
+ }, null, 8, Mr),
1264
1264
  t("label", {
1265
1265
  for: i + "_" + s.field_name,
1266
1266
  class: p([{
@@ -1268,14 +1268,14 @@ function Ir(e, r, s, n, o, a) {
1268
1268
  "border md:!rounded-e-lg": l === o.locals.length - 1,
1269
1269
  "border-t border-b": l !== 0 && l !== o.locals.length - 1
1270
1270
  }, "w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
1271
- }, f(i), 11, Mr)
1271
+ }, h(i), 11, Ir)
1272
1272
  ]))), 256))
1273
1273
  ]);
1274
1274
  }
1275
- const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), 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" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
1275
+ const yc = /* @__PURE__ */ O(Lr, [["render", Nr]]), Vr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Br = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Gr = { class: "font-semibold text-black dark:text-white" }, Ur = {
1276
1276
  key: 0,
1277
1277
  class: "p-6"
1278
- }, vc = {
1278
+ }, _c = {
1279
1279
  __name: "GlCard",
1280
1280
  props: {
1281
1281
  class: {
@@ -1284,29 +1284,29 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1284
1284
  }
1285
1285
  },
1286
1286
  setup(e) {
1287
- const r = e, s = L(() => r.class);
1287
+ const r = e, s = E(() => r.class);
1288
1288
  return (n, o) => (d(), u("div", {
1289
1289
  class: p(["flex flex-col gap-9", s.value])
1290
1290
  }, [
1291
- t("div", Nr, [
1292
- t("div", Vr, [
1293
- t("h3", Br, [
1291
+ t("div", Vr, [
1292
+ t("div", Br, [
1293
+ t("h3", Gr, [
1294
1294
  M(n.$slots, "header")
1295
1295
  ])
1296
1296
  ]),
1297
- n.$slots.body ? (d(), u("div", Gr, [
1297
+ n.$slots.body ? (d(), u("div", Ur, [
1298
1298
  M(n.$slots, "body")
1299
1299
  ])) : g("", !0)
1300
1300
  ])
1301
1301
  ], 2));
1302
1302
  }
1303
- }, Ur = { class: "font-bold ptext-lg dark:text-white" }, Fr = { class: "mt-3 mb-4" }, Rr = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-3 py-1 rounded dark:bg-blue-900 dark:text-blue-300" }, qr = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Hr = ["name", "value"], zr = {
1303
+ }, Fr = { class: "font-bold ptext-lg dark:text-white" }, Rr = { class: "mt-3 mb-4" }, qr = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-3 py-1 rounded dark:bg-blue-900 dark:text-blue-300" }, Hr = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), zr = ["name", "value"], Zr = {
1304
1304
  key: 0,
1305
1305
  class: "dropdown"
1306
- }, Zr = { 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" }, Kr = { class: "relative" }, Wr = ["onClick"], Yr = { 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] showOptions" }, Xr = { class: "p-1" }, Jr = /* @__PURE__ */ t("label", {
1306
+ }, Kr = { 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" }, Wr = { class: "relative" }, Yr = ["onClick"], Xr = { 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] showOptions" }, Jr = { class: "p-1" }, Qr = /* @__PURE__ */ t("label", {
1307
1307
  for: "default-search",
1308
1308
  class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
1309
- }, "Search", -1), Qr = { class: "relative" }, es = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
1309
+ }, "Search", -1), es = { class: "relative" }, ts = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
1310
1310
  /* @__PURE__ */ t("svg", {
1311
1311
  class: "w-4 h-4 text-gray-500 dark:text-gray-400",
1312
1312
  "aria-hidden": "true",
@@ -1322,7 +1322,7 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1322
1322
  d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
1323
1323
  })
1324
1324
  ])
1325
- ], -1), ts = ["id"], rs = { class: "overflow-y-auto max-h-64" }, ss = ["onClick", "onMousedown", "id"], xc = {
1325
+ ], -1), rs = ["id"], ss = { class: "overflow-y-auto max-h-64" }, as = ["onClick", "onMousedown", "id"], vc = {
1326
1326
  __name: "GlMultiSelectDropdown",
1327
1327
  props: {
1328
1328
  modelValue: {
@@ -1382,19 +1382,19 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1382
1382
  },
1383
1383
  emits: ["update:modelValue", "selected", "selectionChanged"],
1384
1384
  setup(e, { emit: r }) {
1385
- const s = e, n = r, o = C(null), a = C([]), i = C([]), l = C(0), c = C(!1), h = C(""), m = C("");
1386
- H(() => {
1385
+ const s = e, n = r, o = C(null), a = C([]), i = C([]), l = C(0), c = C(!1), f = C(""), m = C("");
1386
+ R(() => {
1387
1387
  m.value = ee(), s.show || (document.body.addEventListener("click", (b) => {
1388
1388
  ne(b);
1389
1389
  }), document.addEventListener("keypress", (b) => {
1390
1390
  b.key === "Enter" && b.target.form && b.preventDefault();
1391
1391
  }));
1392
1392
  });
1393
- const _ = L(() => y()), x = L(() => P()), D = L(() => {
1394
- const b = [], w = new RegExp(h.value, "ig");
1393
+ const _ = E(() => y()), v = E(() => P()), S = E(() => {
1394
+ const b = [], x = new RegExp(f.value, "ig");
1395
1395
  for (const k of _.value) {
1396
- const E = String(k.name);
1397
- (h.value.length < 1 || E.match(w)) && b.length < s.maxItem && b.push(k);
1396
+ const L = String(k.name);
1397
+ (f.value.length < 1 || L.match(x)) && b.length < s.maxItem && b.push(k);
1398
1398
  }
1399
1399
  return b;
1400
1400
  });
@@ -1416,19 +1416,19 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1416
1416
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
1417
1417
  /[xy]/g,
1418
1418
  function(k) {
1419
- const E = (b + Math.random() * 16) % 16 | 0;
1420
- return b = Math.floor(b / 16), (k === "x" ? E : E & 3 | 8).toString(16);
1419
+ const L = (b + Math.random() * 16) % 16 | 0;
1420
+ return b = Math.floor(b / 16), (k === "x" ? L : L & 3 | 8).toString(16);
1421
1421
  }
1422
1422
  );
1423
1423
  }
1424
1424
  function te(b) {
1425
- return Array.isArray(b) && b.length > 0 && b.every((w) => typeof w == "object" && w !== null);
1425
+ return Array.isArray(b) && b.length > 0 && b.every((x) => typeof x == "object" && x !== null);
1426
1426
  }
1427
1427
  function re(b) {
1428
- return b.every((w) => typeof w == "object" && w !== null);
1428
+ return b.every((x) => typeof x == "object" && x !== null);
1429
1429
  }
1430
1430
  function ce(b) {
1431
- return a.value.findIndex((w) => w.id === b) !== -1;
1431
+ return a.value.findIndex((x) => x.id === b) !== -1;
1432
1432
  }
1433
1433
  function ge() {
1434
1434
  a.value = y();
@@ -1437,55 +1437,55 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1437
1437
  a.value = [], n("update:modelValue", []), n("selected", []), n("selectionChanged", []);
1438
1438
  }
1439
1439
  function he(b) {
1440
- let w = a.value.findIndex((k) => k.id === b.id);
1441
- w !== -1 && a.value.splice(w, 1), i.value = a.value.map((k) => k.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1440
+ let x = a.value.findIndex((k) => k.id === b.id);
1441
+ x !== -1 && a.value.splice(x, 1), i.value = a.value.map((k) => k.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1442
1442
  }
1443
1443
  function ne(b) {
1444
1444
  b.target.id != s.field_name + "search" + m.value && b.target.id != s.field_name && !b.target.classList.contains("showOptions") && (se(), l.value = 0);
1445
1445
  }
1446
1446
  function Y(b) {
1447
- const w = `${b}${m.value}`, k = document.getElementById(w);
1447
+ const x = `${b}${m.value}`, k = document.getElementById(x);
1448
1448
  k && k.scrollIntoView();
1449
1449
  }
1450
1450
  function me(b) {
1451
- const w = `${b}${m.value}`, k = document.getElementById(w);
1451
+ const x = `${b}${m.value}`, k = document.getElementById(x);
1452
1452
  k && k.click();
1453
1453
  }
1454
1454
  function oe(b) {
1455
- b === "ArrowDown" && l.value < D.value.length && (l.value++, Y(l.value)), b === "ArrowUp" && l.value > 1 && (l.value--, Y(l.value)), b === "Enter" && me(l.value);
1455
+ b === "ArrowDown" && l.value < S.value.length && (l.value++, Y(l.value)), b === "ArrowUp" && l.value > 1 && (l.value--, Y(l.value)), b === "Enter" && me(l.value);
1456
1456
  }
1457
1457
  function y() {
1458
- return s.options.map((b, w) => typeof b == "object" ? b : { id: b, name: b });
1458
+ return s.options.map((b, x) => typeof b == "object" ? b : { id: b, name: b });
1459
1459
  }
1460
1460
  function P() {
1461
1461
  if (console.log("selected.value", a.value), console.log("isArrayObjectNotEmpty", te(a.value)), te(a.value))
1462
1462
  return re(a.value) ? _.value.filter(
1463
1463
  (b) => a.value.some(
1464
- (w) => String(w.id) === String(b.id)
1464
+ (x) => String(x.id) === String(b.id)
1465
1465
  )
1466
1466
  ) || [] : _.value.filter(
1467
1467
  (b) => a.value.some(
1468
- (w) => String(w) === String(b.id)
1468
+ (x) => String(x) === String(b.id)
1469
1469
  )
1470
1470
  ) || [];
1471
1471
  if (s.modelValue)
1472
1472
  return re(s.modelValue) ? a.value = _.value.filter(
1473
1473
  (b) => s.modelValue.some(
1474
- (w) => String(w.id) === String(b.id)
1474
+ (x) => String(x.id) === String(b.id)
1475
1475
  )
1476
1476
  ) || [] : a.value = _.value.filter(
1477
1477
  (b) => s.modelValue.some(
1478
- (w) => String(w) === String(b.id)
1478
+ (x) => String(x) === String(b.id)
1479
1479
  )
1480
1480
  ) || [];
1481
1481
  }
1482
1482
  function j(b) {
1483
1483
  console.log("selectOption", b);
1484
- let w = a.value.findIndex((k) => k.id === b.id);
1485
- w !== -1 ? a.value.splice(w, 1) : a.value.push(b), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((k) => k.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1484
+ let x = a.value.findIndex((k) => k.id === b.id);
1485
+ x !== -1 ? a.value.splice(x, 1) : a.value.push(b), console.log("selectOption selected", a.value), c.value = !1, i.value = a.value.map((k) => k.id), n("update:modelValue", i.value), n("selected", a.value), n("selectionChanged", a.value);
1486
1486
  }
1487
1487
  function U() {
1488
- s.show || (h.value = "", c.value = !0, Le(() => {
1488
+ s.show || (f.value = "", c.value = !0, Te(() => {
1489
1489
  var b = document.getElementById(
1490
1490
  `${s.field_name}search${m.value}`
1491
1491
  );
@@ -1493,41 +1493,41 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1493
1493
  }));
1494
1494
  }
1495
1495
  function se() {
1496
- h.value = "", n("selected", a.value), c.value = !1;
1496
+ f.value = "", n("selected", a.value), c.value = !1;
1497
1497
  }
1498
- return R(h, () => {
1499
- D.value.length === 0 && (a.value = []);
1500
- }), R(a, (b) => {
1501
- te(a.value) && (i.value = a.value.map((w) => w.id), n("update:modelValue", i.value));
1502
- }), (b, w) => (d(), u(v, null, [
1498
+ return H(f, () => {
1499
+ S.value.length === 0 && (a.value = []);
1500
+ }), H(a, (b) => {
1501
+ te(a.value) && (i.value = a.value.map((x) => x.id), n("update:modelValue", i.value));
1502
+ }), (b, x) => (d(), u(w, null, [
1503
1503
  e.show ? (d(), u("div", {
1504
1504
  key: 0,
1505
1505
  class: p(e.field_name)
1506
1506
  }, [
1507
- t("h3", Ur, f(e.label_name), 1),
1508
- t("p", Fr, [
1509
- (d(!0), u(v, null, S(x.value, (k, E) => (d(), u("span", Rr, f(k == null ? void 0 : k.name), 1))), 256))
1507
+ t("h3", Fr, h(e.label_name), 1),
1508
+ t("p", Rr, [
1509
+ (d(!0), u(w, null, D(v.value, (k, L) => (d(), u("span", qr, h(k == null ? void 0 : k.name), 1))), 256))
1510
1510
  ]),
1511
- qr
1511
+ Hr
1512
1512
  ], 2)) : g("", !0),
1513
1513
  e.show ? g("", !0) : (d(), u("div", {
1514
1514
  key: 1,
1515
1515
  class: p(e.field_name)
1516
1516
  }, [
1517
- (d(!0), u(v, null, S(i.value, (k, E) => (d(), u("input", {
1517
+ (d(!0), u(w, null, D(i.value, (k, L) => (d(), u("input", {
1518
1518
  type: "hidden",
1519
1519
  name: e.field_name + "[]",
1520
- key: E,
1520
+ key: L,
1521
1521
  value: k
1522
- }, null, 8, Hr))), 128)),
1523
- e.options ? (d(), u("div", zr, [
1522
+ }, null, 8, zr))), 128)),
1523
+ e.options ? (d(), u("div", Zr, [
1524
1524
  t("label", {
1525
1525
  class: p({
1526
1526
  "gl-label-form": e.error_message == "",
1527
1527
  "gl-label-form-invalid": e.error_message !== "",
1528
1528
  required: e.is_required
1529
1529
  })
1530
- }, f(e.label_name), 3),
1530
+ }, h(e.label_name), 3),
1531
1531
  t("div", {
1532
1532
  class: "inline-flex ml-2 rounded-md shadow-sm",
1533
1533
  role: "group"
@@ -1543,21 +1543,21 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1543
1543
  class: "px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-e-md hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"
1544
1544
  }, " Deselect all ")
1545
1545
  ]),
1546
- t("div", Zr, [
1547
- t("div", Kr, [
1546
+ t("div", Kr, [
1547
+ t("div", Wr, [
1548
1548
  t("div", {
1549
1549
  class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
1550
- onClick: w[0] || (w[0] = (k) => U())
1550
+ onClick: x[0] || (x[0] = (k) => U())
1551
1551
  }, [
1552
- (d(!0), u(v, null, S(x.value, (k, E) => (d(), u("span", {
1553
- key: E,
1552
+ (d(!0), u(w, null, D(v.value, (k, L) => (d(), u("span", {
1553
+ key: L,
1554
1554
  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"
1555
1555
  }, [
1556
- $(f(k == null ? void 0 : k.name) + " ", 1),
1556
+ $(h(k == null ? void 0 : k.name) + " ", 1),
1557
1557
  t("i", {
1558
1558
  onClick: F((De) => he(k), ["stop"]),
1559
1559
  class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
1560
- }, null, 8, Wr)
1560
+ }, null, 8, Yr)
1561
1561
  ]))), 128))
1562
1562
  ]),
1563
1563
  t("i", {
@@ -1565,37 +1565,37 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1565
1565
  style: { top: "11px" }
1566
1566
  }, null, 2)
1567
1567
  ]),
1568
- A(t("div", Yr, [
1569
- t("div", Xr, [
1570
- Jr,
1571
- t("div", Qr, [
1572
- es,
1568
+ A(t("div", Xr, [
1569
+ t("div", Jr, [
1570
+ Qr,
1571
+ t("div", es, [
1572
+ ts,
1573
1573
  A(t("input", {
1574
1574
  type: "search",
1575
- "onUpdate:modelValue": w[1] || (w[1] = (k) => h.value = k),
1575
+ "onUpdate:modelValue": x[1] || (x[1] = (k) => f.value = k),
1576
1576
  ref: o.value,
1577
1577
  id: `${e.field_name}search${m.value}`,
1578
1578
  onKeydown: N,
1579
- onBlur: w[2] || (w[2] = (k) => se()),
1579
+ onBlur: x[2] || (x[2] = (k) => se()),
1580
1580
  autocomplete: "off",
1581
1581
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
1582
1582
  placeholder: "Search ..."
1583
- }, null, 40, ts), [
1584
- [G, h.value]
1583
+ }, null, 40, rs), [
1584
+ [G, f.value]
1585
1585
  ])
1586
1586
  ])
1587
1587
  ]),
1588
- t("div", rs, [
1589
- (d(!0), u(v, null, S(D.value, (k, E) => (d(), u("div", {
1588
+ t("div", ss, [
1589
+ (d(!0), u(w, null, D(S.value, (k, L) => (d(), u("div", {
1590
1590
  class: p([
1591
1591
  "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",
1592
- E + 1 == l.value || ce(k.id) ? "bg-gray-100 dark:bg-gray-600" : ""
1592
+ L + 1 == l.value || ce(k.id) ? "bg-gray-100 dark:bg-gray-600" : ""
1593
1593
  ]),
1594
1594
  onClick: (De) => j(k),
1595
1595
  onMousedown: (De) => j(k),
1596
- key: E,
1597
- id: `${E + 1}${m.value}`
1598
- }, f(k.name || k.id || "-"), 43, ss))), 128))
1596
+ key: L,
1597
+ id: `${L + 1}${m.value}`
1598
+ }, h(k.name || k.id || "-"), 43, as))), 128))
1599
1599
  ])
1600
1600
  ], 512), [
1601
1601
  [Q, c.value]
@@ -1605,7 +1605,7 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1605
1605
  ], 2))
1606
1606
  ], 64));
1607
1607
  }
1608
- }, as = {
1608
+ }, ns = {
1609
1609
  props: {
1610
1610
  button_type: {
1611
1611
  type: String,
@@ -1661,7 +1661,7 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1661
1661
  }
1662
1662
  },
1663
1663
  methods: {}
1664
- }, ns = /* @__PURE__ */ t("svg", {
1664
+ }, os = /* @__PURE__ */ t("svg", {
1665
1665
  "aria-hidden": "true",
1666
1666
  role: "status",
1667
1667
  class: "inline w-4 h-4 me-3 animate-spin",
@@ -1678,14 +1678,14 @@ const _c = /* @__PURE__ */ O(Er, [["render", Ir]]), Nr = { class: "bg-white bord
1678
1678
  fill: "#1C64F2"
1679
1679
  })
1680
1680
  ], -1);
1681
- function os(e, r, s, n, o, a) {
1681
+ function ls(e, r, s, n, o, a) {
1682
1682
  return s.is_loading ? (d(), Z(le("button"), {
1683
1683
  key: 1,
1684
1684
  disabled: "",
1685
1685
  class: p(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`)
1686
1686
  }, {
1687
1687
  default: ie(() => [
1688
- ns,
1688
+ os,
1689
1689
  $(" Loading... ")
1690
1690
  ]),
1691
1691
  _: 1
@@ -1707,7 +1707,7 @@ function os(e, r, s, n, o, a) {
1707
1707
  _: 3
1708
1708
  }, 16, ["type", "disabled", "href", "class"]));
1709
1709
  }
1710
- const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold ptext-lg dark:text-white" }, is = ["name", "id"], ds = ["id"], us = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), cs = ["for"], gs = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), fs = ["name", "id"], hs = ["required", "name", "id", "type"], ms = { class: "gl-span-form-error" }, bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, kc = {
1710
+ const xc = /* @__PURE__ */ O(ns, [["render", ls]]), is = { class: "font-bold ptext-lg dark:text-white" }, ds = ["name", "id"], us = ["id"], cs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], fs = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), hs = ["name", "id"], ms = ["required", "name", "id", "type"], bs = { class: "gl-span-form-error" }, ps = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, wc = {
1711
1711
  __name: "GlTextareaTranslate",
1712
1712
  props: {
1713
1713
  is_required: {
@@ -1766,7 +1766,7 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1766
1766
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1767
1767
  setup(e, { expose: r, emit: s }) {
1768
1768
  const n = e, o = s, a = C(null), i = C(null);
1769
- return H(() => {
1769
+ return R(() => {
1770
1770
  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", {
1771
1771
  model: n.translatable.model,
1772
1772
  row_id: n.translatable.row_id,
@@ -1776,12 +1776,12 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1776
1776
  }).catch((l) => {
1777
1777
  console.log(l);
1778
1778
  });
1779
- }), r({ focus: () => a.value.focus() }), (l, c) => (d(), u(v, null, [
1779
+ }), r({ focus: () => a.value.focus() }), (l, c) => (d(), u(w, null, [
1780
1780
  e.show ? (d(), u("div", {
1781
1781
  key: 0,
1782
1782
  class: p(e.field_name)
1783
1783
  }, [
1784
- t("h3", ls, f(e.label_name), 1),
1784
+ t("h3", is, h(e.label_name), 1),
1785
1785
  A(t("input", {
1786
1786
  type: "hidden",
1787
1787
  "data-i18n": "true",
@@ -1789,15 +1789,15 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1789
1789
  id: e.field_name + "_i18n",
1790
1790
  ref_key: "input_translate",
1791
1791
  ref: i,
1792
- "onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
1793
- }, null, 8, is), [
1792
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
1793
+ }, null, 8, ds), [
1794
1794
  [G, l.inputTranslateValue]
1795
1795
  ]),
1796
1796
  t("p", {
1797
1797
  id: e.field_name,
1798
1798
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
1799
- }, f(e.model_value), 9, ds),
1800
- us
1799
+ }, h(e.model_value), 9, us),
1800
+ cs
1801
1801
  ], 2)) : g("", !0),
1802
1802
  e.show ? g("", !0) : (d(), u("div", {
1803
1803
  key: 1,
@@ -1810,18 +1810,18 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1810
1810
  required: e.is_required
1811
1811
  }),
1812
1812
  for: e.field_name
1813
- }, f(e.label_name), 11, cs),
1814
- gs,
1813
+ }, h(e.label_name), 11, gs),
1814
+ fs,
1815
1815
  t("input", {
1816
1816
  class: "mb-4",
1817
1817
  type: "hidden",
1818
1818
  "data-i18n": "true",
1819
1819
  name: e.field_name + "_i18n",
1820
1820
  id: e.field_name + "_i18n",
1821
- onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
1821
+ onInput: c[1] || (c[1] = (f) => l.$emit("update:modelValueTranslate", f.target.value)),
1822
1822
  ref_key: "input_translate",
1823
1823
  ref: i
1824
- }, null, 40, fs),
1824
+ }, null, 40, hs),
1825
1825
  t("textarea", {
1826
1826
  required: e.is_required,
1827
1827
  name: e.field_name,
@@ -1831,19 +1831,19 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1831
1831
  " gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
1832
1832
  }),
1833
1833
  type: e.type,
1834
- onInput: c[2] || (c[2] = (h) => l.$emit("update:modelValue", h.target.value)),
1835
- onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
1834
+ onInput: c[2] || (c[2] = (f) => l.$emit("update:modelValue", f.target.value)),
1835
+ onKeydown: c[3] || (c[3] = (f) => l.$emit("keydown", f)),
1836
1836
  ref_key: "input",
1837
1837
  ref: a,
1838
1838
  rows: "4"
1839
1839
  }, `
1840
- `, 42, hs),
1841
- t("span", ms, f(e.error_message), 1),
1842
- t("small", bs, f(e.description), 1)
1840
+ `, 42, ms),
1841
+ t("span", bs, h(e.error_message), 1),
1842
+ t("small", ps, h(e.description), 1)
1843
1843
  ], 2))
1844
1844
  ], 64));
1845
1845
  }
1846
- }, ps = { class: "font-bold ptext-lg dark:text-white" }, ys = ["name", "id"], _s = ["id"], vs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), xs = ["for"], ws = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ks = ["name", "id"], $s = ["name", "id", "type"], Cs = { class: "gl-span-form-error" }, Ss = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, $c = {
1846
+ }, ys = { class: "font-bold ptext-lg dark:text-white" }, _s = ["name", "id"], vs = ["id"], xs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ws = ["for"], ks = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), $s = ["name", "id"], Cs = ["name", "id", "type"], Ss = { class: "gl-span-form-error" }, Ds = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, kc = {
1847
1847
  __name: "GlTinymceTranslate",
1848
1848
  props: {
1849
1849
  is_required: {
@@ -1902,7 +1902,7 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1902
1902
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1903
1903
  setup(e, { expose: r, emit: s }) {
1904
1904
  const n = e, o = s, a = C(null), i = C(null);
1905
- return H(() => {
1905
+ return R(() => {
1906
1906
  tinymce.init({
1907
1907
  selector: "#" + n.field_name,
1908
1908
  width: "100%",
@@ -1916,12 +1916,12 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1916
1916
  }).catch((l) => {
1917
1917
  console.log(l);
1918
1918
  });
1919
- }), r({ focus: () => a.value.focus() }), (l, c) => (d(), u(v, null, [
1919
+ }), r({ focus: () => a.value.focus() }), (l, c) => (d(), u(w, null, [
1920
1920
  e.show ? (d(), u("div", {
1921
1921
  key: 0,
1922
1922
  class: p(e.field_name)
1923
1923
  }, [
1924
- t("h3", ps, f(e.label_name), 1),
1924
+ t("h3", ys, h(e.label_name), 1),
1925
1925
  A(t("input", {
1926
1926
  type: "hidden",
1927
1927
  "data-i18n": "true",
@@ -1929,15 +1929,15 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1929
1929
  id: e.field_name + "_i18n",
1930
1930
  ref_key: "input_translate",
1931
1931
  ref: i,
1932
- "onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
1933
- }, null, 8, ys), [
1932
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
1933
+ }, null, 8, _s), [
1934
1934
  [G, l.inputTranslateValue]
1935
1935
  ]),
1936
1936
  t("p", {
1937
1937
  id: e.field_name,
1938
1938
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
1939
- }, f(e.model_value), 9, _s),
1940
- vs
1939
+ }, h(e.model_value), 9, vs),
1940
+ xs
1941
1941
  ], 2)) : g("", !0),
1942
1942
  e.show ? g("", !0) : (d(), u("div", {
1943
1943
  key: 1,
@@ -1950,18 +1950,18 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1950
1950
  required: e.is_required
1951
1951
  }),
1952
1952
  for: e.field_name
1953
- }, f(e.label_name), 11, xs),
1954
- ws,
1953
+ }, h(e.label_name), 11, ws),
1954
+ ks,
1955
1955
  t("input", {
1956
1956
  class: "mb-4",
1957
1957
  type: "hidden",
1958
1958
  "data-i18n": "true",
1959
1959
  name: e.field_name + "_i18n",
1960
1960
  id: e.field_name + "_i18n",
1961
- onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
1961
+ onInput: c[1] || (c[1] = (f) => l.$emit("update:modelValueTranslate", f.target.value)),
1962
1962
  ref_key: "input_translate",
1963
1963
  ref: i
1964
- }, null, 40, ks),
1964
+ }, null, 40, $s),
1965
1965
  t("textarea", {
1966
1966
  name: e.field_name,
1967
1967
  id: e.field_name,
@@ -1970,19 +1970,19 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
1970
1970
  " gl-textarea-form-invalid form-input-translation mt-4 ": e.error_message !== ""
1971
1971
  }]),
1972
1972
  type: e.type,
1973
- onInput: c[2] || (c[2] = (h) => l.$emit("update:modelValue", h.target.value)),
1974
- onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
1973
+ onInput: c[2] || (c[2] = (f) => l.$emit("update:modelValue", f.target.value)),
1974
+ onKeydown: c[3] || (c[3] = (f) => l.$emit("keydown", f)),
1975
1975
  ref_key: "input",
1976
1976
  ref: a,
1977
1977
  rows: "4"
1978
1978
  }, `
1979
- `, 42, $s),
1980
- t("span", Cs, f(e.error_message), 1),
1981
- t("small", Ss, f(e.description), 1)
1979
+ `, 42, Cs),
1980
+ t("span", Ss, h(e.error_message), 1),
1981
+ t("small", Ds, h(e.description), 1)
1982
1982
  ], 2))
1983
1983
  ], 64));
1984
1984
  }
1985
- }, Ds = { class: "font-bold ptext-lg dark:text-white" }, Os = ["name", "id"], Ps = ["id"], As = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), js = ["for"], Es = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ts = ["name", "id"], Ls = ["required", "name", "id", "type"], Ms = { class: "gl-span-form-error" }, Is = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Cc = {
1985
+ }, Os = { class: "font-bold ptext-lg dark:text-white" }, Ps = ["name", "id"], As = ["id"], js = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Es = ["for"], Ls = /* @__PURE__ */ t("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ts = ["name", "id"], Ms = ["required", "name", "id", "type"], Is = { class: "gl-span-form-error" }, Ns = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, $c = {
1986
1986
  __name: "GlTextTranslate",
1987
1987
  props: {
1988
1988
  is_required: {
@@ -2041,7 +2041,7 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2041
2041
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
2042
2042
  setup(e, { expose: r, emit: s }) {
2043
2043
  const n = e, o = s, a = C(null), i = C(null);
2044
- return H(() => {
2044
+ return R(() => {
2045
2045
  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", {
2046
2046
  model: n.translatable.model,
2047
2047
  row_id: n.translatable.row_id,
@@ -2051,27 +2051,27 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2051
2051
  }).catch((l) => {
2052
2052
  console.log(l);
2053
2053
  });
2054
- }), r({ focus: () => a.value.focus() }), (l, c) => (d(), u(v, null, [
2054
+ }), r({ focus: () => a.value.focus() }), (l, c) => (d(), u(w, null, [
2055
2055
  e.show ? (d(), u("div", {
2056
2056
  key: 0,
2057
2057
  class: p(e.field_name)
2058
2058
  }, [
2059
- t("h3", Ds, f(e.label_name), 1),
2059
+ t("h3", Os, h(e.label_name), 1),
2060
2060
  A(t("input", {
2061
2061
  type: "hidden",
2062
2062
  "data-i18n": "true",
2063
2063
  name: e.field_name + "_i18n",
2064
2064
  id: e.field_name + "_i18n",
2065
2065
  ref: "input_translate_s",
2066
- "onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
2067
- }, null, 8, Os), [
2066
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => l.inputTranslateValue = f)
2067
+ }, null, 8, Ps), [
2068
2068
  [G, l.inputTranslateValue]
2069
2069
  ]),
2070
2070
  t("p", {
2071
2071
  id: e.field_name,
2072
2072
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
2073
- }, f(e.model_value), 9, Ps),
2074
- As
2073
+ }, h(e.model_value), 9, As),
2074
+ js
2075
2075
  ], 2)) : g("", !0),
2076
2076
  e.show ? g("", !0) : (d(), u("div", {
2077
2077
  key: 1,
@@ -2084,15 +2084,15 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2084
2084
  required: e.is_required
2085
2085
  }),
2086
2086
  for: e.field_name
2087
- }, f(e.label_name), 11, js),
2088
- Es,
2087
+ }, h(e.label_name), 11, Es),
2088
+ Ls,
2089
2089
  t("input", {
2090
2090
  class: "mb-4",
2091
2091
  type: "hidden",
2092
2092
  "data-i18n": "true",
2093
2093
  name: e.field_name + "_i18n",
2094
2094
  id: e.field_name + "_i18n",
2095
- onInput: c[1] || (c[1] = (h) => l.$emit("update:modelValueTranslate", h.target.value)),
2095
+ onInput: c[1] || (c[1] = (f) => l.$emit("update:modelValueTranslate", f.target.value)),
2096
2096
  ref_key: "input_translate",
2097
2097
  ref: i
2098
2098
  }, null, 40, Ts),
@@ -2105,17 +2105,17 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2105
2105
  " gl-input-form-invalid form-input-translation mt-2 ": e.error_message !== ""
2106
2106
  }),
2107
2107
  type: e.type,
2108
- onInput: c[2] || (c[2] = (h) => l.$emit("update:modelValue", h.target.value)),
2109
- onKeydown: c[3] || (c[3] = (h) => l.$emit("keydown", h)),
2108
+ onInput: c[2] || (c[2] = (f) => l.$emit("update:modelValue", f.target.value)),
2109
+ onKeydown: c[3] || (c[3] = (f) => l.$emit("keydown", f)),
2110
2110
  ref_key: "input",
2111
2111
  ref: a
2112
- }, null, 42, Ls),
2113
- t("span", Ms, f(e.error_message), 1),
2114
- t("small", Is, f(e.description), 1)
2112
+ }, null, 42, Ms),
2113
+ t("span", Is, h(e.error_message), 1),
2114
+ t("small", Ns, h(e.description), 1)
2115
2115
  ], 2))
2116
2116
  ], 64));
2117
2117
  }
2118
- }, Ns = { class: "font-bold ptext-lg dark:text-white" }, Vs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Bs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Gs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], Fs = { class: "gl-span-form-error" }, Rs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Sc = {
2118
+ }, Vs = { class: "font-bold ptext-lg dark:text-white" }, Bs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Gs = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Us = ["for"], Fs = ["required", "name", "id", "type", "placeholder"], Rs = { class: "gl-span-form-error" }, qs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Cc = {
2119
2119
  __name: "GlTextInput",
2120
2120
  props: {
2121
2121
  is_required: {
@@ -2162,10 +2162,10 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2162
2162
  emits: ["update:modelValue", "keydown"],
2163
2163
  setup(e, { expose: r, emit: s }) {
2164
2164
  const n = e, o = s, a = C(null);
2165
- H(() => {
2165
+ R(() => {
2166
2166
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
2167
2167
  });
2168
- const i = L({
2168
+ const i = E({
2169
2169
  get() {
2170
2170
  return n.modelValue;
2171
2171
  },
@@ -2173,14 +2173,14 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2173
2173
  o("update:modelValue", l);
2174
2174
  }
2175
2175
  });
2176
- return r({ focus: () => a.value.focus() }), (l, c) => (d(), u(v, null, [
2176
+ return r({ focus: () => a.value.focus() }), (l, c) => (d(), u(w, null, [
2177
2177
  e.show ? (d(), u("div", {
2178
2178
  key: 0,
2179
2179
  class: p(e.field_name)
2180
2180
  }, [
2181
- t("h3", Ns, f(e.label_name), 1),
2182
- t("p", Vs, f(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
2183
- Bs
2181
+ t("h3", Vs, h(e.label_name), 1),
2182
+ t("p", Bs, h(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
2183
+ Gs
2184
2184
  ], 2)) : g("", !0),
2185
2185
  e.show ? g("", !0) : (d(), u("div", {
2186
2186
  key: 1,
@@ -2193,7 +2193,7 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2193
2193
  required: e.is_required
2194
2194
  }),
2195
2195
  for: e.field_name
2196
- }, f(e.label_name), 11, Gs),
2196
+ }, h(e.label_name), 11, Us),
2197
2197
  A(t("input", {
2198
2198
  required: e.is_required,
2199
2199
  name: e.field_name,
@@ -2203,20 +2203,20 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2203
2203
  "gl-input-form-invalid": e.error_message !== ""
2204
2204
  }),
2205
2205
  type: e.type,
2206
- "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
2207
- onKeydown: c[1] || (c[1] = (h) => l.$emit("keydown", h)),
2206
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.value = f),
2207
+ onKeydown: c[1] || (c[1] = (f) => l.$emit("keydown", f)),
2208
2208
  ref_key: "input",
2209
2209
  ref: a,
2210
2210
  placeholder: e.placeholder
2211
- }, null, 42, Us), [
2211
+ }, null, 42, Fs), [
2212
2212
  [at, i.value]
2213
2213
  ]),
2214
- t("span", Fs, f(e.error_message), 1),
2215
- t("small", Rs, f(e.description), 1)
2214
+ t("span", Rs, h(e.error_message), 1),
2215
+ t("small", qs, h(e.description), 1)
2216
2216
  ], 2))
2217
2217
  ], 64));
2218
2218
  }
2219
- }, qs = {
2219
+ }, Hs = {
2220
2220
  setup(e, { slots: r }) {
2221
2221
  const s = C(r.default().map((o) => o.props));
2222
2222
  console.log(r.default());
@@ -2226,13 +2226,13 @@ const wc = /* @__PURE__ */ O(as, [["render", os]]), ls = { class: "font-bold pte
2226
2226
  selectedTitle: n
2227
2227
  };
2228
2228
  }
2229
- }, Hs = { class: "flex flex-wrap" }, zs = { class: "w-full" }, Zs = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, Ks = ["onClick"], Ws = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, Ys = { class: "flex-auto px-4 py-5" }, Xs = { class: "tab-content tab-space" };
2230
- function Js(e, r, s, n, o, a) {
2231
- return d(), u(v, null, [
2232
- t("div", Hs, [
2233
- t("div", zs, [
2234
- t("ul", Zs, [
2235
- (d(!0), u(v, null, S(n.tabs, (i) => (d(), u("li", {
2229
+ }, zs = { class: "flex flex-wrap" }, Zs = { class: "w-full" }, Ks = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, Ws = ["onClick"], Ys = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, Xs = { class: "flex-auto px-4 py-5" }, Js = { class: "tab-content tab-space" };
2230
+ function Qs(e, r, s, n, o, a) {
2231
+ return d(), u(w, null, [
2232
+ t("div", zs, [
2233
+ t("div", Zs, [
2234
+ t("ul", Ks, [
2235
+ (d(!0), u(w, null, D(n.tabs, (i) => (d(), u("li", {
2236
2236
  key: i.title,
2237
2237
  onClick: (l) => n.selectedTitle = i.title,
2238
2238
  class: "flex-auto -mb-px text-center"
@@ -2243,38 +2243,38 @@ function Js(e, r, s, n, o, a) {
2243
2243
  t("i", {
2244
2244
  class: p([i.icon, "mr-1 text-base"])
2245
2245
  }, null, 2),
2246
- $(" " + f(i.title), 1)
2246
+ $(" " + h(i.title), 1)
2247
2247
  ], 2)
2248
- ], 8, Ks))), 128))
2248
+ ], 8, Ws))), 128))
2249
2249
  ])
2250
2250
  ])
2251
2251
  ]),
2252
- t("div", Ws, [
2253
- t("div", Ys, [
2254
- t("div", Xs, [
2252
+ t("div", Ys, [
2253
+ t("div", Xs, [
2254
+ t("div", Js, [
2255
2255
  M(e.$slots, "default")
2256
2256
  ])
2257
2257
  ])
2258
2258
  ])
2259
2259
  ], 64);
2260
2260
  }
2261
- const Dc = /* @__PURE__ */ O(qs, [["render", Js]]), Qs = {
2261
+ const Sc = /* @__PURE__ */ O(Hs, [["render", Qs]]), ea = {
2262
2262
  props: ["title"],
2263
2263
  setup() {
2264
2264
  return {
2265
2265
  selectedTitle: xe("selectedTitle")
2266
2266
  };
2267
2267
  }
2268
- }, ea = {
2268
+ }, ta = {
2269
2269
  key: 0,
2270
2270
  class: "block"
2271
2271
  };
2272
- function ta(e, r, s, n, o, a) {
2273
- return s.title == n.selectedTitle ? (d(), u("div", ea, [
2272
+ function ra(e, r, s, n, o, a) {
2273
+ return s.title == n.selectedTitle ? (d(), u("div", ta, [
2274
2274
  M(e.$slots, "default")
2275
2275
  ])) : g("", !0);
2276
2276
  }
2277
- const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2277
+ const Dc = /* @__PURE__ */ O(ea, [["render", ra]]), sa = {
2278
2278
  props: {
2279
2279
  elements_to_show_prop: {
2280
2280
  type: Number,
@@ -2336,7 +2336,7 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2336
2336
  const s = (o) => {
2337
2337
  r.style.cursor = "grabbing";
2338
2338
  const a = (l) => {
2339
- const c = l.clientX || l.touches && l.touches[0] && l.touches[0].clientX, h = l.clientY || l.touches && l.touches[0] && l.touches[0].clientY, m = c - e.initialX, _ = h - e.initialY;
2339
+ const c = l.clientX || l.touches && l.touches[0] && l.touches[0].clientX, f = l.clientY || l.touches && l.touches[0] && l.touches[0].clientY, m = c - e.initialX, _ = f - e.initialY;
2340
2340
  Math.abs(m) > Math.abs(_) ? (l.preventDefault(), Math.abs(m) >= 70 && (m < 0 ? e.next() : e.prev(), e.initialX = c)) : r.style.cursor = "grab", Math.abs(_) > Math.abs(m) && (r.style.cursor = "grab");
2341
2341
  }, i = () => {
2342
2342
  document.removeEventListener("mousemove", a), document.removeEventListener("touchmove", a), document.removeEventListener("mouseup", i), document.removeEventListener("touchend", i), r.style.cursor = "grab";
@@ -2373,10 +2373,10 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2373
2373
  this.direction_property == "rtl" ? r.style.marginRight = -this.dotsNavigation[e - 1] + "px" : r.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
2374
2374
  }
2375
2375
  }
2376
- }, T = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e), sa = ["id"], aa = {
2376
+ }, T = (e) => (nt("data-v-a94f16a9"), e = e(), ot(), e), aa = ["id"], na = {
2377
2377
  key: 0,
2378
2378
  class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
2379
- }, na = { class: "w-full" }, oa = {
2379
+ }, oa = { class: "w-full" }, la = {
2380
2380
  key: 0,
2381
2381
  xmlns: "http://www.w3.org/2000/svg",
2382
2382
  class: "w-6 h-6",
@@ -2384,13 +2384,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2384
2384
  viewBox: "0 0 24 24",
2385
2385
  stroke: "currentColor",
2386
2386
  "stroke-width": "2"
2387
- }, la = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2387
+ }, ia = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2388
2388
  "stroke-linecap": "round",
2389
2389
  "stroke-linejoin": "round",
2390
2390
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2391
- }, null, -1)), ia = [
2392
- la
2393
- ], da = {
2391
+ }, null, -1)), da = [
2392
+ ia
2393
+ ], ua = {
2394
2394
  key: 1,
2395
2395
  xmlns: "http://www.w3.org/2000/svg",
2396
2396
  class: "w-6 h-6",
@@ -2398,13 +2398,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2398
2398
  viewBox: "0 0 24 24",
2399
2399
  stroke: "currentColor",
2400
2400
  "stroke-width": "2"
2401
- }, ua = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2401
+ }, ca = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2402
2402
  "stroke-linecap": "round",
2403
2403
  "stroke-linejoin": "round",
2404
2404
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2405
- }, null, -1)), ca = [
2406
- ua
2407
- ], ga = ["id"], fa = ["id"], ha = { class: "w-full" }, ma = {
2405
+ }, null, -1)), ga = [
2406
+ ca
2407
+ ], fa = ["id"], ha = ["id"], ma = { class: "w-full" }, ba = {
2408
2408
  key: 0,
2409
2409
  xmlns: "http://www.w3.org/2000/svg",
2410
2410
  class: "w-6 h-6",
@@ -2412,13 +2412,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2412
2412
  viewBox: "0 0 24 24",
2413
2413
  stroke: "currentColor",
2414
2414
  "stroke-width": "2"
2415
- }, ba = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2415
+ }, pa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2416
2416
  "stroke-linecap": "round",
2417
2417
  "stroke-linejoin": "round",
2418
2418
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2419
- }, null, -1)), pa = [
2420
- ba
2421
- ], ya = {
2419
+ }, null, -1)), ya = [
2420
+ pa
2421
+ ], _a = {
2422
2422
  key: 1,
2423
2423
  xmlns: "http://www.w3.org/2000/svg",
2424
2424
  class: "w-6 h-6",
@@ -2426,13 +2426,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2426
2426
  viewBox: "0 0 24 24",
2427
2427
  stroke: "currentColor",
2428
2428
  "stroke-width": "2"
2429
- }, _a = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2429
+ }, va = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2430
2430
  "stroke-linecap": "round",
2431
2431
  "stroke-linejoin": "round",
2432
2432
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2433
- }, null, -1)), va = [
2434
- _a
2435
- ], xa = { class: "w-full" }, wa = {
2433
+ }, null, -1)), xa = [
2434
+ va
2435
+ ], wa = { class: "w-full" }, ka = {
2436
2436
  key: 0,
2437
2437
  xmlns: "http://www.w3.org/2000/svg",
2438
2438
  class: "w-6 h-6",
@@ -2440,13 +2440,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2440
2440
  viewBox: "0 0 24 24",
2441
2441
  stroke: "currentColor",
2442
2442
  "stroke-width": "2"
2443
- }, ka = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2443
+ }, $a = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2444
2444
  "stroke-linecap": "round",
2445
2445
  "stroke-linejoin": "round",
2446
2446
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2447
- }, null, -1)), $a = [
2448
- ka
2449
- ], Ca = {
2447
+ }, null, -1)), Ca = [
2448
+ $a
2449
+ ], Sa = {
2450
2450
  key: 1,
2451
2451
  xmlns: "http://www.w3.org/2000/svg",
2452
2452
  class: "w-6 h-6",
@@ -2454,23 +2454,23 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2454
2454
  viewBox: "0 0 24 24",
2455
2455
  stroke: "currentColor",
2456
2456
  "stroke-width": "2"
2457
- }, Sa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2457
+ }, Da = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2458
2458
  "stroke-linecap": "round",
2459
2459
  "stroke-linejoin": "round",
2460
2460
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2461
- }, null, -1)), Da = [
2462
- Sa
2463
- ], Oa = ["onClick"], Pa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), Aa = [
2464
- Pa
2465
- ], ja = {
2461
+ }, null, -1)), Oa = [
2462
+ Da
2463
+ ], Pa = ["onClick"], Aa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), ja = [
2464
+ Aa
2465
+ ], Ea = {
2466
2466
  key: 1,
2467
2467
  class: "flex justify-between pl-5 pr-5"
2468
- }, Ea = ["onClick"], Ta = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), La = [
2468
+ }, La = ["onClick"], Ta = /* @__PURE__ */ T(() => /* @__PURE__ */ t("span", null, null, -1)), Ma = [
2469
2469
  Ta
2470
- ], Ma = {
2470
+ ], Ia = {
2471
2471
  key: 0,
2472
2472
  class: "flex"
2473
- }, Ia = { class: "flex items-center" }, Na = { class: "w-full" }, Va = {
2473
+ }, Na = { class: "flex items-center" }, Va = { class: "w-full" }, Ba = {
2474
2474
  key: 0,
2475
2475
  xmlns: "http://www.w3.org/2000/svg",
2476
2476
  class: "w-6 h-6",
@@ -2478,13 +2478,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2478
2478
  viewBox: "0 0 24 24",
2479
2479
  stroke: "currentColor",
2480
2480
  "stroke-width": "2"
2481
- }, Ba = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2481
+ }, Ga = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2482
2482
  "stroke-linecap": "round",
2483
2483
  "stroke-linejoin": "round",
2484
2484
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2485
- }, null, -1)), Ga = [
2486
- Ba
2487
- ], Ua = {
2485
+ }, null, -1)), Ua = [
2486
+ Ga
2487
+ ], Fa = {
2488
2488
  key: 1,
2489
2489
  xmlns: "http://www.w3.org/2000/svg",
2490
2490
  class: "w-6 h-6",
@@ -2492,13 +2492,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2492
2492
  viewBox: "0 0 24 24",
2493
2493
  stroke: "currentColor",
2494
2494
  "stroke-width": "2"
2495
- }, Fa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2495
+ }, Ra = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2496
2496
  "stroke-linecap": "round",
2497
2497
  "stroke-linejoin": "round",
2498
2498
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2499
- }, null, -1)), Ra = [
2500
- Fa
2501
- ], qa = { class: "flex items-center" }, Ha = { class: "w-full" }, za = {
2499
+ }, null, -1)), qa = [
2500
+ Ra
2501
+ ], Ha = { class: "flex items-center" }, za = { class: "w-full" }, Za = {
2502
2502
  key: 0,
2503
2503
  xmlns: "http://www.w3.org/2000/svg",
2504
2504
  class: "w-6 h-6",
@@ -2506,13 +2506,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2506
2506
  viewBox: "0 0 24 24",
2507
2507
  stroke: "currentColor",
2508
2508
  "stroke-width": "2"
2509
- }, Za = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2509
+ }, Ka = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2510
2510
  "stroke-linecap": "round",
2511
2511
  "stroke-linejoin": "round",
2512
2512
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2513
- }, null, -1)), Ka = [
2514
- Za
2515
- ], Wa = {
2513
+ }, null, -1)), Wa = [
2514
+ Ka
2515
+ ], Ya = {
2516
2516
  key: 1,
2517
2517
  xmlns: "http://www.w3.org/2000/svg",
2518
2518
  class: "w-6 h-6",
@@ -2520,16 +2520,16 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2520
2520
  viewBox: "0 0 24 24",
2521
2521
  stroke: "currentColor",
2522
2522
  "stroke-width": "2"
2523
- }, Ya = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2523
+ }, Xa = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2524
2524
  "stroke-linecap": "round",
2525
2525
  "stroke-linejoin": "round",
2526
2526
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2527
- }, null, -1)), Xa = [
2528
- Ya
2529
- ], Ja = {
2527
+ }, null, -1)), Ja = [
2528
+ Xa
2529
+ ], Qa = {
2530
2530
  key: 1,
2531
2531
  class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
2532
- }, Qa = { class: "w-full" }, en = {
2532
+ }, en = { class: "w-full" }, tn = {
2533
2533
  key: 0,
2534
2534
  xmlns: "http://www.w3.org/2000/svg",
2535
2535
  class: "w-6 h-6",
@@ -2537,13 +2537,13 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2537
2537
  viewBox: "0 0 24 24",
2538
2538
  stroke: "currentColor",
2539
2539
  "stroke-width": "2"
2540
- }, tn = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2540
+ }, rn = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2541
2541
  "stroke-linecap": "round",
2542
2542
  "stroke-linejoin": "round",
2543
2543
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2544
- }, null, -1)), rn = [
2545
- tn
2546
- ], sn = {
2544
+ }, null, -1)), sn = [
2545
+ rn
2546
+ ], an = {
2547
2547
  key: 1,
2548
2548
  xmlns: "http://www.w3.org/2000/svg",
2549
2549
  class: "w-6 h-6",
@@ -2551,27 +2551,27 @@ const Oc = /* @__PURE__ */ O(Qs, [["render", ta]]), ra = {
2551
2551
  viewBox: "0 0 24 24",
2552
2552
  stroke: "currentColor",
2553
2553
  "stroke-width": "2"
2554
- }, an = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2554
+ }, nn = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
2555
2555
  "stroke-linecap": "round",
2556
2556
  "stroke-linejoin": "round",
2557
2557
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2558
- }, null, -1)), nn = [
2559
- an
2558
+ }, null, -1)), on = [
2559
+ nn
2560
2560
  ];
2561
- function on(e, r, s, n, o, a) {
2561
+ function ln(e, r, s, n, o, a) {
2562
2562
  return d(), u("div", null, [
2563
2563
  t("div", {
2564
2564
  class: p(["", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
2565
2565
  id: "mainSliderContainer_" + e.Random_string
2566
2566
  }, [
2567
- e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", aa, [
2568
- t("div", na, [
2567
+ e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", na, [
2568
+ t("div", oa, [
2569
2569
  t("button", {
2570
2570
  class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
2571
2571
  onClick: r[0] || (r[0] = (i) => a.prev())
2572
2572
  }, [
2573
- s.direction_property == "ltr" ? (d(), u("svg", oa, ia)) : g("", !0),
2574
- s.direction_property == "rtl" ? (d(), u("svg", da, ca)) : g("", !0)
2573
+ s.direction_property == "ltr" ? (d(), u("svg", la, da)) : g("", !0),
2574
+ s.direction_property == "rtl" ? (d(), u("svg", ua, ga)) : g("", !0)
2575
2575
  ])
2576
2576
  ])
2577
2577
  ])) : g("", !0),
@@ -2587,13 +2587,13 @@ function on(e, r, s, n, o, a) {
2587
2587
  key: 0,
2588
2588
  class: p(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", s.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
2589
2589
  }, [
2590
- t("div", ha, [
2590
+ t("div", ma, [
2591
2591
  t("button", {
2592
2592
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2593
2593
  onClick: r[1] || (r[1] = F((i) => a.prev(), ["stop"]))
2594
2594
  }, [
2595
- s.direction_property == "ltr" ? (d(), u("svg", ma, pa)) : g("", !0),
2596
- s.direction_property == "rtl" ? (d(), u("svg", ya, va)) : g("", !0)
2595
+ s.direction_property == "ltr" ? (d(), u("svg", ba, ya)) : g("", !0),
2596
+ s.direction_property == "rtl" ? (d(), u("svg", _a, xa)) : g("", !0)
2597
2597
  ])
2598
2598
  ])
2599
2599
  ], 2)) : g("", !0),
@@ -2602,84 +2602,84 @@ function on(e, r, s, n, o, a) {
2602
2602
  key: 1,
2603
2603
  class: p(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", s.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
2604
2604
  }, [
2605
- t("div", xa, [
2605
+ t("div", wa, [
2606
2606
  t("button", {
2607
2607
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2608
2608
  onClick: r[2] || (r[2] = F((i) => a.next(), ["stop"]))
2609
2609
  }, [
2610
- s.direction_property == "ltr" ? (d(), u("svg", wa, $a)) : g("", !0),
2611
- s.direction_property == "rtl" ? (d(), u("svg", Ca, Da)) : g("", !0)
2610
+ s.direction_property == "ltr" ? (d(), u("svg", ka, Ca)) : g("", !0),
2611
+ s.direction_property == "rtl" ? (d(), u("svg", Sa, Oa)) : g("", !0)
2612
2612
  ])
2613
2613
  ])
2614
2614
  ], 2)) : g("", !0)
2615
- ], 8, fa),
2615
+ ], 8, ha),
2616
2616
  s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
2617
2617
  key: 0,
2618
2618
  class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
2619
2619
  }, [
2620
- (d(!0), u(v, null, S(e.dotsNum, (i) => (d(), u("button", {
2620
+ (d(!0), u(w, null, D(e.dotsNum, (i) => (d(), u("button", {
2621
2621
  role: "button",
2622
2622
  class: p(["gl-dot", { active: e.currentDot == i }]),
2623
2623
  key: i,
2624
2624
  onClick: (l) => a.setDot(i)
2625
- }, Aa, 10, Oa))), 128))
2625
+ }, ja, 10, Pa))), 128))
2626
2626
  ], 2)) : g("", !0),
2627
- s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", ja, [
2627
+ s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ea, [
2628
2628
  t("div", {
2629
2629
  class: p(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
2630
2630
  }, [
2631
- (d(!0), u(v, null, S(e.dotsNum, (i) => (d(), u("button", {
2631
+ (d(!0), u(w, null, D(e.dotsNum, (i) => (d(), u("button", {
2632
2632
  role: "button",
2633
2633
  class: p(["gl-dot", { active: e.currentDot == i }]),
2634
2634
  key: i,
2635
2635
  onClick: (l) => a.setDot(i)
2636
- }, La, 10, Ea))), 128))
2636
+ }, Ma, 10, La))), 128))
2637
2637
  ], 2),
2638
- e.dotsNum > 0 ? (d(), u("div", Ma, [
2639
- t("div", Ia, [
2640
- t("div", Na, [
2638
+ e.dotsNum > 0 ? (d(), u("div", Ia, [
2639
+ t("div", Na, [
2640
+ t("div", Va, [
2641
2641
  t("button", {
2642
2642
  class: p(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2643
2643
  onClick: r[3] || (r[3] = (i) => a.prev())
2644
2644
  }, [
2645
- s.direction_property == "ltr" ? (d(), u("svg", Va, Ga)) : g("", !0),
2646
- s.direction_property == "rtl" ? (d(), u("svg", Ua, Ra)) : g("", !0)
2645
+ s.direction_property == "ltr" ? (d(), u("svg", Ba, Ua)) : g("", !0),
2646
+ s.direction_property == "rtl" ? (d(), u("svg", Fa, qa)) : g("", !0)
2647
2647
  ], 2)
2648
2648
  ])
2649
2649
  ]),
2650
- t("div", qa, [
2651
- t("div", Ha, [
2650
+ t("div", Ha, [
2651
+ t("div", za, [
2652
2652
  t("button", {
2653
2653
  class: "p-3 rounded-full arrow_button_styles",
2654
2654
  onClick: r[4] || (r[4] = (i) => a.next())
2655
2655
  }, [
2656
- s.direction_property == "ltr" ? (d(), u("svg", za, Ka)) : g("", !0),
2657
- s.direction_property == "rtl" ? (d(), u("svg", Wa, Xa)) : g("", !0)
2656
+ s.direction_property == "ltr" ? (d(), u("svg", Za, Wa)) : g("", !0),
2657
+ s.direction_property == "rtl" ? (d(), u("svg", Ya, Ja)) : g("", !0)
2658
2658
  ])
2659
2659
  ])
2660
2660
  ])
2661
2661
  ])) : g("", !0)
2662
2662
  ])) : g("", !0)
2663
- ], 10, ga),
2664
- e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", Ja, [
2665
- t("div", Qa, [
2663
+ ], 10, fa),
2664
+ e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", Qa, [
2665
+ t("div", en, [
2666
2666
  t("button", {
2667
2667
  class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
2668
2668
  onClick: r[5] || (r[5] = (i) => a.next())
2669
2669
  }, [
2670
- s.direction_property == "ltr" ? (d(), u("svg", en, rn)) : g("", !0),
2671
- s.direction_property == "rtl" ? (d(), u("svg", sn, nn)) : g("", !0)
2670
+ s.direction_property == "ltr" ? (d(), u("svg", tn, sn)) : g("", !0),
2671
+ s.direction_property == "rtl" ? (d(), u("svg", an, on)) : g("", !0)
2672
2672
  ])
2673
2673
  ])
2674
2674
  ])) : g("", !0)
2675
- ], 10, sa)
2675
+ ], 10, aa)
2676
2676
  ]);
2677
2677
  }
2678
- const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9"]]), ln = {
2678
+ const Oc = /* @__PURE__ */ O(sa, [["render", ln], ["__scopeId", "data-v-a94f16a9"]]), dn = {
2679
2679
  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",
2680
2680
  tabindex: "-1",
2681
2681
  "aria-hidden": "true"
2682
- }, dn = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, un = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, cn = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, gn = /* @__PURE__ */ t("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2682
+ }, un = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, cn = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, gn = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, fn = /* @__PURE__ */ t("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2683
2683
  /* @__PURE__ */ t("svg", {
2684
2684
  xmlns: "http://www.w3.org/2000/svg",
2685
2685
  fill: "currentColor",
@@ -2693,9 +2693,9 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2693
2693
  d: "M6 18L18 6M6 6l12 12"
2694
2694
  })
2695
2695
  ])
2696
- ], -1), fn = [
2697
- gn
2698
- ], hn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Ac = {
2696
+ ], -1), hn = [
2697
+ fn
2698
+ ], mn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Pc = {
2699
2699
  __name: "GlModal",
2700
2700
  props: {
2701
2701
  is_open: {
@@ -2724,32 +2724,32 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2724
2724
  }, i = () => {
2725
2725
  n("closeModal"), a();
2726
2726
  };
2727
- return R(
2727
+ return H(
2728
2728
  () => s.is_open,
2729
2729
  (l, c) => {
2730
2730
  l ? o() : a();
2731
2731
  },
2732
2732
  { immediate: !0, deep: !0 }
2733
- ), (l, c) => A((d(), u("div", ln, [
2733
+ ), (l, c) => A((d(), u("div", dn, [
2734
2734
  t("div", {
2735
2735
  class: p(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", e.max_width])
2736
2736
  }, [
2737
- t("div", dn, [
2738
- t("div", un, [
2739
- t("h5", cn, f(e.title), 1),
2737
+ t("div", un, [
2738
+ t("div", cn, [
2739
+ t("h5", gn, h(e.title), 1),
2740
2740
  t("button", {
2741
2741
  type: "button",
2742
2742
  class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
2743
2743
  onClick: i,
2744
2744
  "aria-label": "Close"
2745
- }, fn)
2745
+ }, hn)
2746
2746
  ]),
2747
2747
  t("div", {
2748
2748
  class: p(["relative overflow-y-auto", e.bodyClass])
2749
2749
  }, [
2750
2750
  M(l.$slots, "body")
2751
2751
  ], 2),
2752
- t("div", hn, [
2752
+ t("div", mn, [
2753
2753
  M(l.$slots, "buttons"),
2754
2754
  t("button", {
2755
2755
  onClick: i,
@@ -2763,10 +2763,10 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2763
2763
  [Q, e.is_open]
2764
2764
  ]);
2765
2765
  }
2766
- }, mn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, bn = { class: "relative inline-flex items-center cursor-pointer" }, pn = ["name", "id", "checked"], yn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), _n = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), vn = {
2766
+ }, bn = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, pn = { class: "relative inline-flex items-center cursor-pointer" }, yn = ["name", "id", "checked"], _n = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), vn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), xn = {
2767
2767
  key: 0,
2768
2768
  class: "flex justify-between items-center"
2769
- }, xn = { class: "gl-label-form" }, wn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, kn = { class: "relative inline-flex items-center cursor-pointer" }, $n = ["name", "id"], Cn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Sn = { class: "gl-span-form-error" }, Dn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, jc = {
2769
+ }, wn = { class: "gl-label-form" }, kn = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ t("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ac = {
2770
2770
  __name: "GlToggleBox",
2771
2771
  props: {
2772
2772
  is_required: {
@@ -2812,7 +2812,7 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2812
2812
  },
2813
2813
  emits: ["update:modelValue"],
2814
2814
  setup(e, { emit: r }) {
2815
- const s = e, n = r, o = C(null), a = L({
2815
+ const s = e, n = r, o = C(null), a = E({
2816
2816
  get() {
2817
2817
  return s.modelValue;
2818
2818
  },
@@ -2820,15 +2820,15 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2820
2820
  n("update:modelValue", i);
2821
2821
  }
2822
2822
  });
2823
- return (i, l) => (d(), u(v, null, [
2823
+ return (i, l) => (d(), u(w, null, [
2824
2824
  e.show ? (d(), u("div", {
2825
2825
  key: 0,
2826
2826
  class: p(e.field_name)
2827
2827
  }, [
2828
2828
  t("div", null, [
2829
- t("li", mn, [
2830
- $(f(e.label_name) + " ", 1),
2831
- t("label", bn, [
2829
+ t("li", bn, [
2830
+ $(h(e.label_name) + " ", 1),
2831
+ t("label", pn, [
2832
2832
  t("input", {
2833
2833
  type: "checkbox",
2834
2834
  class: "sr-only peer",
@@ -2840,23 +2840,23 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2840
2840
  ref_key: "input",
2841
2841
  ref: o,
2842
2842
  disabled: ""
2843
- }, null, 8, pn),
2844
- yn
2843
+ }, null, 8, yn),
2844
+ _n
2845
2845
  ])
2846
2846
  ])
2847
2847
  ]),
2848
- _n
2848
+ vn
2849
2849
  ], 2)) : g("", !0),
2850
2850
  e.show ? g("", !0) : (d(), u("div", {
2851
2851
  key: 1,
2852
2852
  class: p(e.field_name)
2853
2853
  }, [
2854
- e.has_label_up ? (d(), u("div", vn, [
2855
- t("label", xn, f(e.label_name), 1)
2854
+ e.has_label_up ? (d(), u("div", xn, [
2855
+ t("label", wn, h(e.label_name), 1)
2856
2856
  ])) : g("", !0),
2857
- t("li", wn, [
2858
- $(f(e.label_name) + " ", 1),
2859
- t("label", kn, [
2857
+ t("li", kn, [
2858
+ $(h(e.label_name) + " ", 1),
2859
+ t("label", $n, [
2860
2860
  A(t("input", {
2861
2861
  type: "checkbox",
2862
2862
  class: "sr-only peer",
@@ -2867,24 +2867,24 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2867
2867
  ref_key: "input",
2868
2868
  ref: o,
2869
2869
  "onUpdate:modelValue": l[0] || (l[0] = (c) => a.value = c)
2870
- }, null, 8, $n), [
2870
+ }, null, 8, Cn), [
2871
2871
  [lt, a.value]
2872
2872
  ]),
2873
- Cn
2873
+ Sn
2874
2874
  ])
2875
2875
  ]),
2876
- t("span", Sn, f(e.error_message), 1),
2877
- t("small", Dn, f(e.description), 1)
2876
+ t("span", Dn, h(e.error_message), 1),
2877
+ t("small", On, h(e.description), 1)
2878
2878
  ], 2))
2879
2879
  ], 64));
2880
2880
  }
2881
- }, On = { class: "font-bold ptext-lg dark:text-white" }, Pn = { class: "mt-3 mb-4" }, An = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, jn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), En = ["name", "id", "value"], Tn = {
2881
+ }, Pn = { class: "font-bold ptext-lg dark:text-white" }, An = { class: "mt-3 mb-4" }, jn = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, En = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ln = ["name", "id", "value"], Tn = {
2882
2882
  key: 0,
2883
2883
  class: "dropdown"
2884
- }, Ln = { class: "focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Mn = { class: "relative showOptions" }, In = ["value", "placeholder"], Nn = { 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]" }, Vn = { class: "p-1" }, Bn = /* @__PURE__ */ t("label", {
2884
+ }, Mn = { class: "focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, In = { class: "relative showOptions" }, Nn = ["innerHTML", "placeholder"], Vn = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Bn = { class: "p-1" }, Gn = /* @__PURE__ */ t("label", {
2885
2885
  for: "default-search",
2886
2886
  class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
2887
- }, "Search", -1), Gn = { class: "relative" }, Un = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
2887
+ }, "Search", -1), Un = { class: "relative" }, Fn = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
2888
2888
  /* @__PURE__ */ t("svg", {
2889
2889
  class: "w-4 h-4 text-gray-500 dark:text-gray-400",
2890
2890
  "aria-hidden": "true",
@@ -2900,22 +2900,22 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2900
2900
  d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
2901
2901
  })
2902
2902
  ])
2903
- ], -1), Fn = ["id"], Rn = { class: "overflow-y-auto max-h-64" }, qn = ["onClick", "onMousedown", "id"], Hn = { class: "flex items-center py-2 pl-10 pr-4" }, zn = {
2903
+ ], -1), Rn = ["id"], qn = { class: "overflow-y-auto max-h-64" }, Hn = ["onClick", "onMousedown", "id"], zn = { class: "flex items-center py-2 pl-10 pr-4" }, Zn = {
2904
2904
  key: 0,
2905
2905
  class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
2906
2906
  "aria-hidden": "true",
2907
2907
  xmlns: "http://www.w3.org/2000/svg",
2908
2908
  fill: "none",
2909
2909
  viewBox: "0 0 16 12"
2910
- }, Zn = /* @__PURE__ */ t("path", {
2910
+ }, Kn = /* @__PURE__ */ t("path", {
2911
2911
  stroke: "currentColor",
2912
2912
  "stroke-linecap": "round",
2913
2913
  "stroke-linejoin": "round",
2914
2914
  "stroke-width": "2",
2915
2915
  d: "M1 5.917 5.724 10.5 15 1.5"
2916
- }, null, -1), Kn = [
2917
- Zn
2918
- ], Wn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Yn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ec = {
2916
+ }, null, -1), Wn = [
2917
+ Kn
2918
+ ], Yn = ["innerHTML"], 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" }, jc = {
2919
2919
  __name: "GlDropdown",
2920
2920
  props: {
2921
2921
  modelValue: {
@@ -2975,15 +2975,15 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2975
2975
  },
2976
2976
  emits: ["update:modelValue", "selected", "selectionChanged"],
2977
2977
  setup(e, { emit: r }) {
2978
- const s = e, n = r, o = C(null), a = C({}), i = C(0), l = C(!1), c = C(""), h = C("");
2979
- H(() => {
2980
- h.value = N(), s.show || (document.body.addEventListener("click", (y) => {
2978
+ const s = e, n = r, o = C(null), a = C({}), i = C(0), l = C(!1), c = C(""), f = C("");
2979
+ R(() => {
2980
+ f.value = N(), s.show || (document.body.addEventListener("click", (y) => {
2981
2981
  te(y);
2982
2982
  }), document.addEventListener("keypress", (y) => {
2983
2983
  y.key === "Enter" && y.target.form && y.preventDefault();
2984
2984
  }));
2985
2985
  });
2986
- const m = L(() => fe()), _ = L(() => he()), x = L(() => {
2986
+ const m = E(() => fe()), _ = E(() => he()), v = E(() => {
2987
2987
  const y = [], P = new RegExp(c.value, "ig");
2988
2988
  for (const j of m.value) {
2989
2989
  const U = String(j.name);
@@ -2991,7 +2991,7 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
2991
2991
  }
2992
2992
  return y;
2993
2993
  });
2994
- function D(y) {
2994
+ function S(y) {
2995
2995
  if ([
2996
2996
  "ArrowLeft",
2997
2997
  "ArrowUp",
@@ -3018,18 +3018,18 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3018
3018
  return y !== null && typeof y == "object" && Object.keys(y).length > 0;
3019
3019
  }
3020
3020
  function te(y) {
3021
- y.target.id != s.field_name + "search" + h.value && y.target.id != s.field_name && !y.target.classList.contains("showOptions") && (oe(), i.value = 0);
3021
+ y.target.id != s.field_name + "search" + f.value && y.target.id != s.field_name && !y.target.classList.contains("showOptions") && (oe(), i.value = 0);
3022
3022
  }
3023
3023
  function re(y) {
3024
- const P = `${y}${h.value}`, j = document.getElementById(P);
3024
+ const P = `${y}${f.value}`, j = document.getElementById(P);
3025
3025
  j && j.scrollIntoView();
3026
3026
  }
3027
3027
  function ce(y) {
3028
- const P = `${y}${h.value}`, j = document.getElementById(P);
3028
+ const P = `${y}${f.value}`, j = document.getElementById(P);
3029
3029
  j && j.click();
3030
3030
  }
3031
3031
  function ge(y) {
3032
- y === "ArrowDown" && i.value < x.value.length && (i.value++, re(i.value)), y === "ArrowUp" && i.value > 1 && (i.value--, re(i.value)), y === "Enter" && ce(i.value);
3032
+ y === "ArrowDown" && i.value < v.value.length && (i.value++, re(i.value)), y === "ArrowUp" && i.value > 1 && (i.value--, re(i.value)), y === "Enter" && ce(i.value);
3033
3033
  }
3034
3034
  function fe() {
3035
3035
  return s.options.map((y, P) => typeof y == "object" ? y : { id: y, name: y });
@@ -3052,9 +3052,9 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3052
3052
  a.value = y, l.value = !1, n("update:modelValue", a.value.id), n("selected", a.value), n("selectionChanged", a.value);
3053
3053
  }
3054
3054
  function Y() {
3055
- s.show || (c.value = "", l.value = !0, Le(() => {
3055
+ s.show || (c.value = "", l.value = !0, Te(() => {
3056
3056
  var y = document.getElementById(
3057
- `${s.field_name}search${h.value}`
3057
+ `${s.field_name}search${f.value}`
3058
3058
  );
3059
3059
  y && y.focus();
3060
3060
  }));
@@ -3065,22 +3065,22 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3065
3065
  function oe() {
3066
3066
  a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), l.value = !1;
3067
3067
  }
3068
- return R(c, () => {
3069
- x.value.length === 0 && (a.value = {});
3070
- }), R(a, (y) => {
3068
+ return H(c, () => {
3069
+ v.value.length === 0 && (a.value = {});
3070
+ }), H(a, (y) => {
3071
3071
  ee(y) && n("update:modelValue", y.id);
3072
3072
  }), (y, P) => {
3073
3073
  var j, U, se;
3074
- return d(), u(v, null, [
3074
+ return d(), u(w, null, [
3075
3075
  e.show ? (d(), u("div", {
3076
3076
  key: 0,
3077
3077
  class: p(e.field_name)
3078
3078
  }, [
3079
- t("h3", On, f(e.label_name), 1),
3080
- t("p", Pn, [
3081
- t("span", An, f((j = _.value) == null ? void 0 : j.name), 1)
3079
+ t("h3", Pn, h(e.label_name), 1),
3080
+ t("p", An, [
3081
+ t("span", jn, h((j = _.value) == null ? void 0 : j.name), 1)
3082
3082
  ]),
3083
- jn
3083
+ En
3084
3084
  ], 2)) : g("", !0),
3085
3085
  e.show ? g("", !0) : (d(), u("div", {
3086
3086
  key: 1,
@@ -3091,7 +3091,7 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3091
3091
  name: e.field_name,
3092
3092
  id: e.field_name,
3093
3093
  value: (U = _.value) == null ? void 0 : U.id
3094
- }, null, 8, En),
3094
+ }, null, 8, Ln),
3095
3095
  e.options ? (d(), u("div", Tn, [
3096
3096
  e.label_name ? (d(), u("label", {
3097
3097
  key: 0,
@@ -3100,9 +3100,9 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3100
3100
  "gl-label-form-invalid": e.error_message !== "",
3101
3101
  required: e.is_required
3102
3102
  })
3103
- }, f(e.label_name), 3)) : g("", !0),
3104
- t("div", Ln, [
3105
- t("div", Mn, [
3103
+ }, h(e.label_name), 3)) : g("", !0),
3104
+ t("div", Mn, [
3105
+ t("div", In, [
3106
3106
  t("input", {
3107
3107
  class: p([{
3108
3108
  "gl-input-form": e.error_message == "",
@@ -3110,11 +3110,11 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3110
3110
  }, "pl-8 pr-2 showOptions"]),
3111
3111
  ref: e.field_name,
3112
3112
  onClick: P[0] || (P[0] = (b) => Y()),
3113
- value: (se = _.value) == null ? void 0 : se.name,
3113
+ innerHTML: (se = _.value) == null ? void 0 : se.name,
3114
3114
  placeholder: e.placeholder,
3115
3115
  autocomplete: "off",
3116
3116
  readonly: ""
3117
- }, null, 10, In),
3117
+ }, null, 10, Nn),
3118
3118
  A(t("i", {
3119
3119
  onClick: P[1] || (P[1] = F((b) => me(), ["stop"])),
3120
3120
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
@@ -3128,41 +3128,43 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3128
3128
  style: { top: "11px" }
3129
3129
  }, null, 2)
3130
3130
  ]),
3131
- A(t("div", Nn, [
3132
- t("div", Vn, [
3133
- Bn,
3134
- t("div", Gn, [
3135
- Un,
3131
+ A(t("div", Vn, [
3132
+ t("div", Bn, [
3133
+ Gn,
3134
+ t("div", Un, [
3135
+ Fn,
3136
3136
  A(t("input", {
3137
3137
  type: "search",
3138
3138
  "onUpdate:modelValue": P[3] || (P[3] = (b) => c.value = b),
3139
3139
  ref: o.value,
3140
- id: `${e.field_name}search${h.value}`,
3141
- onKeydown: D,
3140
+ id: `${e.field_name}search${f.value}`,
3141
+ onKeydown: S,
3142
3142
  onBlur: P[4] || (P[4] = (b) => oe()),
3143
3143
  autocomplete: "off",
3144
3144
  class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
3145
3145
  placeholder: "Search ..."
3146
- }, null, 40, Fn), [
3146
+ }, null, 40, Rn), [
3147
3147
  [G, c.value]
3148
3148
  ])
3149
3149
  ])
3150
3150
  ]),
3151
- t("div", Rn, [
3152
- (d(!0), u(v, null, S(x.value, (b, w) => {
3151
+ t("div", qn, [
3152
+ (d(!0), u(w, null, D(v.value, (b, x) => {
3153
3153
  var k;
3154
3154
  return d(), u("div", {
3155
- class: p(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", w + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
3156
- onClick: (E) => ne(b),
3157
- onMousedown: (E) => ne(b),
3158
- key: w,
3159
- id: `${w + 1}${h.value}`
3155
+ class: p(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", x + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
3156
+ onClick: (L) => ne(b),
3157
+ onMousedown: (L) => ne(b),
3158
+ key: x,
3159
+ id: `${x + 1}${f.value}`
3160
3160
  }, [
3161
- t("div", Hn, [
3162
- ((k = _.value) == null ? void 0 : k.id) === b.id ? (d(), u("svg", zn, Kn)) : g("", !0),
3163
- t("span", null, f(b.name || b.id || "-"), 1)
3161
+ t("div", zn, [
3162
+ ((k = _.value) == null ? void 0 : k.id) === b.id ? (d(), u("svg", Zn, Wn)) : g("", !0),
3163
+ t("span", {
3164
+ innerHTML: b.name || b.id || "-"
3165
+ }, null, 8, Yn)
3164
3166
  ])
3165
- ], 42, qn);
3167
+ ], 42, Hn);
3166
3168
  }), 128))
3167
3169
  ])
3168
3170
  ], 512), [
@@ -3170,13 +3172,13 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3170
3172
  ])
3171
3173
  ])
3172
3174
  ])) : g("", !0),
3173
- t("span", Wn, f(e.error_message), 1),
3174
- t("small", Yn, f(e.description), 1)
3175
+ t("span", Xn, h(e.error_message), 1),
3176
+ t("small", Jn, h(e.description), 1)
3175
3177
  ], 2))
3176
3178
  ], 64);
3177
3179
  };
3178
3180
  }
3179
- }, Xn = { class: "font-bold ptext-lg dark:text-white" }, Jn = ["id"], Qn = /* @__PURE__ */ t("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), eo = ["for"], to = ["required", "name", "id", "type", "placeholder"], ro = { class: "gl-span-form-error" }, so = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Tc = {
3181
+ }, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ t("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" }, Ec = {
3180
3182
  __name: "GlTextarea",
3181
3183
  props: {
3182
3184
  is_required: {
@@ -3223,10 +3225,10 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3223
3225
  emits: ["update:modelValue", "keydown"],
3224
3226
  setup(e, { expose: r, emit: s }) {
3225
3227
  const n = e, o = s, a = C(null);
3226
- H(() => {
3228
+ R(() => {
3227
3229
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
3228
3230
  });
3229
- const i = L({
3231
+ const i = E({
3230
3232
  get() {
3231
3233
  return n.modelValue;
3232
3234
  },
@@ -3234,17 +3236,17 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3234
3236
  o("update:modelValue", l);
3235
3237
  }
3236
3238
  });
3237
- return r({ focus: () => a.value.focus() }), (l, c) => (d(), u(v, null, [
3239
+ return r({ focus: () => a.value.focus() }), (l, c) => (d(), u(w, null, [
3238
3240
  e.show ? (d(), u("div", {
3239
3241
  key: 0,
3240
3242
  class: p(e.field_name)
3241
3243
  }, [
3242
- t("h3", Xn, f(e.label_name), 1),
3244
+ t("h3", Qn, h(e.label_name), 1),
3243
3245
  t("p", {
3244
3246
  id: e.field_name,
3245
3247
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
3246
- }, f(e.model_value), 9, Jn),
3247
- Qn
3248
+ }, h(e.model_value), 9, eo),
3249
+ to
3248
3250
  ], 2)) : g("", !0),
3249
3251
  e.show ? g("", !0) : (d(), u("div", {
3250
3252
  key: 1,
@@ -3257,7 +3259,7 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3257
3259
  required: e.is_required
3258
3260
  }),
3259
3261
  for: e.field_name
3260
- }, f(e.label_name), 11, eo),
3262
+ }, h(e.label_name), 11, ro),
3261
3263
  A(t("textarea", {
3262
3264
  required: e.is_required,
3263
3265
  name: e.field_name,
@@ -3267,21 +3269,21 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3267
3269
  " gl-textarea-form-invalid mt-4 ": e.error_message !== ""
3268
3270
  }),
3269
3271
  type: e.type,
3270
- "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
3271
- onKeydown: c[1] || (c[1] = (h) => l.$emit("keydown", h)),
3272
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.value = f),
3273
+ onKeydown: c[1] || (c[1] = (f) => l.$emit("keydown", f)),
3272
3274
  ref_key: "input",
3273
3275
  ref: a,
3274
3276
  rows: "4",
3275
3277
  placeholder: e.placeholder
3276
- }, null, 42, to), [
3278
+ }, null, 42, so), [
3277
3279
  [G, i.value]
3278
3280
  ]),
3279
- t("span", ro, f(e.error_message), 1),
3280
- t("small", so, f(e.description), 1)
3281
+ t("span", ao, h(e.error_message), 1),
3282
+ t("small", no, h(e.description), 1)
3281
3283
  ], 2))
3282
3284
  ], 64));
3283
3285
  }
3284
- }, ao = {
3286
+ }, oo = {
3285
3287
  emits: ["pagination-change-page"],
3286
3288
  props: {
3287
3289
  data: {
@@ -3335,8 +3337,8 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3335
3337
  return this.lastPage;
3336
3338
  for (var e = this.currentPage, r = this.lastPage, s = this.limit, n = e - s, o = e + s + 1, a = [], i = [], l, c = 1; c <= r; c++)
3337
3339
  (c === 1 || c === r || c >= n && c < o) && a.push(c);
3338
- return a.forEach(function(h) {
3339
- l && (h - l === 2 ? i.push(l + 1) : h - l !== 1 && i.push("...")), i.push(h), l = h;
3340
+ return a.forEach(function(f) {
3341
+ l && (f - l === 2 ? i.push(l + 1) : f - l !== 1 && i.push("...")), i.push(f), l = f;
3340
3342
  }), i;
3341
3343
  }
3342
3344
  },
@@ -3386,14 +3388,14 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3386
3388
  })
3387
3389
  });
3388
3390
  }
3389
- }, no = {
3391
+ }, lo = {
3390
3392
  compatConfig: {
3391
3393
  MODE: 3
3392
3394
  },
3393
3395
  inheritAttrs: !1,
3394
3396
  emits: ["pagination-change-page"],
3395
3397
  components: {
3396
- RenderlessPagination: ao
3398
+ RenderlessPagination: oo
3397
3399
  },
3398
3400
  props: {
3399
3401
  data: {
@@ -3427,10 +3429,10 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3427
3429
  },
3428
3430
  mounted() {
3429
3431
  }
3430
- }, oo = { class: "flex flex-col items-center" }, lo = {
3432
+ }, io = { class: "flex flex-col items-center" }, uo = {
3431
3433
  key: 0,
3432
3434
  class: "text-sm text-gray-700 dark:text-gray-400"
3433
- }, io = { class: "font-semibold text-gray-900 dark:text-white" }, uo = { class: "font-semibold text-gray-900 dark:text-white" }, co = { class: "font-semibold text-gray-900 dark:text-white" }, go = ["tabindex"], fo = /* @__PURE__ */ t("span", { class: "sr-only" }, "Previous", -1), ho = /* @__PURE__ */ t("svg", {
3435
+ }, co = { class: "font-semibold text-gray-900 dark:text-white" }, go = { class: "font-semibold text-gray-900 dark:text-white" }, fo = { class: "font-semibold text-gray-900 dark:text-white" }, ho = ["tabindex"], mo = /* @__PURE__ */ t("span", { class: "sr-only" }, "Previous", -1), bo = /* @__PURE__ */ t("svg", {
3434
3436
  class: "w-2.5 h-2.5 rtl:rotate-180",
3435
3437
  "aria-hidden": "true",
3436
3438
  xmlns: "http://www.w3.org/2000/svg",
@@ -3444,7 +3446,7 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3444
3446
  "stroke-width": "2",
3445
3447
  d: "M5 1 1 5l4 4"
3446
3448
  })
3447
- ], -1), mo = ["aria-current"], bo = ["tabindex"], po = /* @__PURE__ */ t("span", { class: "sr-only" }, "Next", -1), yo = /* @__PURE__ */ t("svg", {
3449
+ ], -1), po = ["aria-current"], yo = ["tabindex"], _o = /* @__PURE__ */ t("span", { class: "sr-only" }, "Next", -1), vo = /* @__PURE__ */ t("svg", {
3448
3450
  class: "w-2.5 h-2.5 rtl:rotate-180",
3449
3451
  "aria-hidden": "true",
3450
3452
  xmlns: "http://www.w3.org/2000/svg",
@@ -3459,7 +3461,7 @@ const Pc = /* @__PURE__ */ O(ra, [["render", on], ["__scopeId", "data-v-a94f16a9
3459
3461
  d: "m1 9 4-4-4-4"
3460
3462
  })
3461
3463
  ], -1);
3462
- function _o(e, r, s, n, o, a) {
3464
+ function xo(e, r, s, n, o, a) {
3463
3465
  const i = z("RenderlessPagination");
3464
3466
  return d(), Z(i, {
3465
3467
  data: s.data,
@@ -3467,14 +3469,14 @@ function _o(e, r, s, n, o, a) {
3467
3469
  onPaginationChangePage: a.onPaginationChangePage
3468
3470
  }, {
3469
3471
  default: ie((l) => [
3470
- t("div", oo, [
3471
- l.computed.total > l.computed.perPage ? (d(), u("span", lo, [
3472
+ t("div", io, [
3473
+ l.computed.total > l.computed.perPage ? (d(), u("span", uo, [
3472
3474
  $(" Showing "),
3473
- t("span", io, f(l.computed.from), 1),
3475
+ t("span", co, h(l.computed.from), 1),
3474
3476
  $(" to "),
3475
- t("span", uo, f(l.computed.to), 1),
3477
+ t("span", go, h(l.computed.to), 1),
3476
3478
  $(" of "),
3477
- t("span", co, f(l.computed.total), 1),
3479
+ t("span", fo, h(l.computed.total), 1),
3478
3480
  $(" Entries ")
3479
3481
  ])) : g("", !0),
3480
3482
  l.computed.total > l.computed.perPage ? (d(), u("ul", ae({ key: 1 }, e.$attrs, {
@@ -3496,14 +3498,14 @@ function _o(e, r, s, n, o, a) {
3496
3498
  tabindex: !l.computed.prevPageUrl && -1
3497
3499
  }, be(l.prevButtonEvents, !0)), [
3498
3500
  M(e.$slots, "prev-nav", {}, () => [
3499
- fo,
3500
- ho
3501
+ mo,
3502
+ bo
3501
3503
  ])
3502
- ], 16, go)
3504
+ ], 16, ho)
3503
3505
  ], 2)) : g("", !0),
3504
- (d(!0), u(v, null, S(l.computed.pageRange, (c, h) => (d(), u("li", {
3506
+ (d(!0), u(w, null, D(l.computed.pageRange, (c, f) => (d(), u("li", {
3505
3507
  class: p(["", { active: c == l.computed.currentPage }]),
3506
- key: h
3508
+ key: f
3507
3509
  }, [
3508
3510
  t("a", ae({
3509
3511
  class: "",
@@ -3511,7 +3513,7 @@ function _o(e, r, s, n, o, a) {
3511
3513
  }, be(l.pageButtonEvents(c), !0), {
3512
3514
  "aria-current": c == l.computed.currentPage ? "page" : null,
3513
3515
  class: c == l.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
3514
- }), f(c), 17, mo)
3516
+ }), h(c), 17, po)
3515
3517
  ], 2))), 128)),
3516
3518
  l.computed.nextPageUrl || s.showDisabled ? (d(), u("li", {
3517
3519
  key: 1,
@@ -3524,10 +3526,10 @@ function _o(e, r, s, n, o, a) {
3524
3526
  tabindex: !l.computed.nextPageUrl && -1
3525
3527
  }, be(l.nextButtonEvents, !0)), [
3526
3528
  M(e.$slots, "next-nav", {}, () => [
3527
- po,
3528
- yo
3529
+ _o,
3530
+ vo
3529
3531
  ])
3530
- ], 16, bo)
3532
+ ], 16, yo)
3531
3533
  ], 2)) : g("", !0)
3532
3534
  ], 16)) : g("", !0)
3533
3535
  ])
@@ -3535,7 +3537,7 @@ function _o(e, r, s, n, o, a) {
3535
3537
  _: 3
3536
3538
  }, 8, ["data", "limit", "onPaginationChangePage"]);
3537
3539
  }
3538
- const et = /* @__PURE__ */ O(no, [["render", _o]]), vo = {
3540
+ const et = /* @__PURE__ */ O(lo, [["render", xo]]), wo = {
3539
3541
  components: { TailwindPagination: et },
3540
3542
  props: {
3541
3543
  data: Array,
@@ -3615,10 +3617,10 @@ const et = /* @__PURE__ */ O(no, [["render", _o]]), vo = {
3615
3617
  this.isMounted && e !== r && this.GetItemLists();
3616
3618
  }
3617
3619
  }
3618
- }, xo = { class: "p-2" }, wo = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, ko = { class: "flex items-center gap-2" }, $o = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Co = { style: { "margin-top": "9px" } }, So = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Do = /* @__PURE__ */ t("label", {
3620
+ }, ko = { class: "p-2" }, $o = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Co = { class: "flex items-center gap-2" }, So = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Do = { style: { "margin-top": "9px" } }, Oo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Po = /* @__PURE__ */ t("label", {
3619
3621
  for: "table-search",
3620
3622
  class: "sr-only"
3621
- }, "Search", -1), Oo = { class: "relative" }, Po = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3623
+ }, "Search", -1), Ao = { class: "relative" }, jo = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3622
3624
  /* @__PURE__ */ t("svg", {
3623
3625
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
3624
3626
  "aria-hidden": "true",
@@ -3632,16 +3634,16 @@ const et = /* @__PURE__ */ O(no, [["render", _o]]), vo = {
3632
3634
  "clip-rule": "evenodd"
3633
3635
  })
3634
3636
  ])
3635
- ], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, jo = { 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" }, Eo = { 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" }, To = ["onClick"], Lo = {
3637
+ ], -1), Eo = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Lo = { 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" }, To = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Mo = ["onClick"], Io = {
3636
3638
  key: 0,
3637
3639
  class: "ml-2"
3638
- }, Mo = {
3640
+ }, No = {
3639
3641
  key: 0,
3640
3642
  class: "fa fa-arrow-up"
3641
- }, Io = {
3643
+ }, Vo = {
3642
3644
  key: 1,
3643
3645
  class: "fa fa-arrow-down"
3644
- }, No = { key: 0 }, Vo = ["colspan"], Bo = /* @__PURE__ */ t("div", {
3646
+ }, Bo = { key: 0 }, Go = ["colspan"], Uo = /* @__PURE__ */ t("div", {
3645
3647
  role: "status",
3646
3648
  class: "p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"
3647
3649
  }, [
@@ -3681,16 +3683,16 @@ const et = /* @__PURE__ */ O(no, [["render", _o]]), vo = {
3681
3683
  /* @__PURE__ */ t("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3682
3684
  ]),
3683
3685
  /* @__PURE__ */ t("span", { class: "sr-only" }, "Loading...")
3684
- ], -1), Go = [
3685
- Bo
3686
- ], Uo = ["data-label"], Fo = { class: "overflow-auto max-h-40" }, Ro = { 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" };
3687
- function qo(e, r, s, n, o, a) {
3686
+ ], -1), Fo = [
3687
+ Uo
3688
+ ], Ro = ["data-label"], qo = { 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" };
3689
+ function zo(e, r, s, n, o, a) {
3688
3690
  const i = z("dropdown"), l = z("TailwindPagination");
3689
- return d(), u("div", xo, [
3690
- t("div", wo, [
3691
- t("div", ko, [
3692
- $o,
3693
- t("div", Co, [
3691
+ return d(), u("div", ko, [
3692
+ t("div", $o, [
3693
+ t("div", Co, [
3694
+ So,
3695
+ t("div", Do, [
3694
3696
  q(i, {
3695
3697
  has_cancel: !1,
3696
3698
  options: o.pageOptions,
@@ -3704,11 +3706,11 @@ function qo(e, r, s, n, o, a) {
3704
3706
  placeholder: "Please select an option"
3705
3707
  }, null, 8, ["options", "modelValue"])
3706
3708
  ]),
3707
- So
3709
+ Oo
3708
3710
  ]),
3709
- Do,
3710
- t("div", Oo, [
3711
- Po,
3711
+ Po,
3712
+ t("div", Ao, [
3713
+ jo,
3712
3714
  A(t("input", {
3713
3715
  type: "text",
3714
3716
  "onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
@@ -3720,56 +3722,56 @@ function qo(e, r, s, n, o, a) {
3720
3722
  ])
3721
3723
  ])
3722
3724
  ]),
3723
- t("div", Ao, [
3724
- t("table", jo, [
3725
- t("thead", Eo, [
3725
+ t("div", Eo, [
3726
+ t("table", Lo, [
3727
+ t("thead", To, [
3726
3728
  t("tr", null, [
3727
- (d(!0), u(v, null, S(s.columns, (c, h) => (d(), u("th", {
3728
- key: h,
3729
+ (d(!0), u(w, null, D(s.columns, (c, f) => (d(), u("th", {
3730
+ key: f,
3729
3731
  onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
3730
3732
  class: "w-full px-4 py-2 lg:w-2/12"
3731
3733
  }, [
3732
- $(f(c.field_label) + " ", 1),
3733
- o.sortField === c.field_name ? (d(), u("span", Lo, [
3734
- o.sortOrder === "asc" ? (d(), u("i", Mo)) : (d(), u("i", Io))
3734
+ $(h(c.field_label) + " ", 1),
3735
+ o.sortField === c.field_name ? (d(), u("span", Io, [
3736
+ o.sortOrder === "asc" ? (d(), u("i", No)) : (d(), u("i", Vo))
3735
3737
  ])) : g("", !0)
3736
- ], 8, To))), 128))
3738
+ ], 8, Mo))), 128))
3737
3739
  ])
3738
3740
  ]),
3739
3741
  t("tbody", null, [
3740
- o.isLoading ? (d(), u("tr", No, [
3742
+ o.isLoading ? (d(), u("tr", Bo, [
3741
3743
  t("td", {
3742
3744
  colspan: s.columns.length
3743
- }, Go, 8, Vo)
3745
+ }, Fo, 8, Go)
3744
3746
  ])) : g("", !0),
3745
- o.isLoading ? g("", !0) : (d(!0), u(v, { key: 1 }, S(o.itemLists.data, (c, h) => (d(), u("tr", {
3746
- key: h,
3747
+ o.isLoading ? g("", !0) : (d(!0), u(w, { key: 1 }, D(o.itemLists.data, (c, f) => (d(), u("tr", {
3748
+ key: f,
3747
3749
  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"
3748
3750
  }, [
3749
- (d(!0), u(v, null, S(s.columns, (m, _) => (d(), u("td", {
3751
+ (d(!0), u(w, null, D(s.columns, (m, _) => (d(), u("td", {
3750
3752
  key: _,
3751
3753
  "data-label": m.field_label,
3752
3754
  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"
3753
3755
  }, [
3754
- t("div", Fo, [
3756
+ t("div", qo, [
3755
3757
  m.tdComp ? (d(), Z(le(a.forDynCompIs(m.tdComp)), {
3756
3758
  key: 0,
3757
3759
  row: c,
3758
3760
  field: m.field_name,
3759
3761
  xprops: s.xprops,
3760
3762
  tdProps: m.tdProps,
3761
- onDeleteAction: r[3] || (r[3] = (x) => a.GetItemLists()),
3762
- onEditAction: (x) => a.editAction(c)
3763
- }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(v, { key: 1 }, [
3764
- $(f(c[m.field_name]), 1)
3763
+ onDeleteAction: r[3] || (r[3] = (v) => a.GetItemLists()),
3764
+ onEditAction: (v) => a.editAction(c)
3765
+ }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(w, { key: 1 }, [
3766
+ $(h(c[m.field_name]), 1)
3765
3767
  ], 64))
3766
3768
  ])
3767
- ], 8, Uo))), 128))
3769
+ ], 8, Ro))), 128))
3768
3770
  ]))), 128))
3769
3771
  ])
3770
3772
  ])
3771
3773
  ]),
3772
- t("div", Ro, [
3774
+ t("div", Ho, [
3773
3775
  q(l, {
3774
3776
  class: "mt-3 mb-0",
3775
3777
  data: o.itemLists,
@@ -3781,7 +3783,7 @@ function qo(e, r, s, n, o, a) {
3781
3783
  ])
3782
3784
  ]);
3783
3785
  }
3784
- const Lc = /* @__PURE__ */ O(vo, [["render", qo]]), Ho = {
3786
+ const Lc = /* @__PURE__ */ O(wo, [["render", zo]]), Zo = {
3785
3787
  components: { TailwindPagination: et },
3786
3788
  props: {
3787
3789
  data: Array,
@@ -3873,10 +3875,10 @@ const Lc = /* @__PURE__ */ O(vo, [["render", qo]]), Ho = {
3873
3875
  this.isMounted && e !== r && this.GetItemLists();
3874
3876
  }
3875
3877
  }
3876
- }, zo = { class: "p-2" }, Zo = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Ko = { class: "flex items-center gap-2" }, Wo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Yo = { style: { "margin-top": "9px" } }, Xo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Jo = /* @__PURE__ */ t("label", {
3878
+ }, Ko = { class: "p-2" }, Wo = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, Yo = { class: "flex items-center gap-2" }, Xo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Jo = { style: { "margin-top": "9px" } }, Qo = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), el = /* @__PURE__ */ t("label", {
3877
3879
  for: "table-search",
3878
3880
  class: "sr-only"
3879
- }, "Search", -1), Qo = { class: "relative" }, el = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3881
+ }, "Search", -1), tl = { class: "relative" }, rl = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3880
3882
  /* @__PURE__ */ t("svg", {
3881
3883
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
3882
3884
  "aria-hidden": "true",
@@ -3890,16 +3892,16 @@ const Lc = /* @__PURE__ */ O(vo, [["render", qo]]), Ho = {
3890
3892
  "clip-rule": "evenodd"
3891
3893
  })
3892
3894
  ])
3893
- ], -1), tl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, rl = { 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" }, sl = { 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" }, al = ["onClick"], nl = {
3895
+ ], -1), sl = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, al = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, nl = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, ol = ["onClick"], ll = {
3894
3896
  key: 0,
3895
3897
  class: "ml-2"
3896
- }, ol = {
3898
+ }, il = {
3897
3899
  key: 0,
3898
3900
  class: "fa fa-arrow-up"
3899
- }, ll = {
3901
+ }, dl = {
3900
3902
  key: 1,
3901
3903
  class: "fa fa-arrow-down"
3902
- }, il = { key: 0 }, dl = ["colspan"], ul = /* @__PURE__ */ t("div", {
3904
+ }, ul = { key: 0 }, cl = ["colspan"], gl = /* @__PURE__ */ t("div", {
3903
3905
  role: "status",
3904
3906
  class: "p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"
3905
3907
  }, [
@@ -3939,16 +3941,16 @@ const Lc = /* @__PURE__ */ O(vo, [["render", qo]]), Ho = {
3939
3941
  /* @__PURE__ */ t("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3940
3942
  ]),
3941
3943
  /* @__PURE__ */ t("span", { class: "sr-only" }, "Loading...")
3942
- ], -1), cl = [
3943
- ul
3944
- ], gl = { 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" }, fl = ["colspan"], hl = ["data-label"], ml = { class: "overflow-auto max-h-40" }, bl = { 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" };
3945
- function pl(e, r, s, n, o, a) {
3944
+ ], -1), fl = [
3945
+ gl
3946
+ ], hl = { 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" }, ml = ["colspan"], bl = ["data-label"], pl = { class: "overflow-auto max-h-40" }, yl = { 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" };
3947
+ function _l(e, r, s, n, o, a) {
3946
3948
  const i = z("dropdown"), l = z("TailwindPagination");
3947
- return d(), u("div", zo, [
3948
- t("div", Zo, [
3949
- t("div", Ko, [
3950
- Wo,
3951
- t("div", Yo, [
3949
+ return d(), u("div", Ko, [
3950
+ t("div", Wo, [
3951
+ t("div", Yo, [
3952
+ Xo,
3953
+ t("div", Jo, [
3952
3954
  q(i, {
3953
3955
  has_cancel: !1,
3954
3956
  options: o.pageOptions,
@@ -3962,11 +3964,11 @@ function pl(e, r, s, n, o, a) {
3962
3964
  placeholder: "Please select an option"
3963
3965
  }, null, 8, ["options", "modelValue"])
3964
3966
  ]),
3965
- Xo
3967
+ Qo
3966
3968
  ]),
3967
- Jo,
3968
- t("div", Qo, [
3969
- el,
3969
+ el,
3970
+ t("div", tl, [
3971
+ rl,
3970
3972
  A(t("input", {
3971
3973
  type: "text",
3972
3974
  "onUpdate:modelValue": r[1] || (r[1] = (c) => o.search = c),
@@ -3978,64 +3980,64 @@ function pl(e, r, s, n, o, a) {
3978
3980
  ])
3979
3981
  ])
3980
3982
  ]),
3981
- t("div", tl, [
3982
- t("table", rl, [
3983
- t("thead", sl, [
3983
+ t("div", sl, [
3984
+ t("table", al, [
3985
+ t("thead", nl, [
3984
3986
  t("tr", null, [
3985
- (d(!0), u(v, null, S(s.columns, (c, h) => (d(), u("th", {
3986
- key: h,
3987
+ (d(!0), u(w, null, D(s.columns, (c, f) => (d(), u("th", {
3988
+ key: f,
3987
3989
  onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
3988
3990
  class: "w-full px-4 py-2 lg:w-2/12"
3989
3991
  }, [
3990
- $(f(c.field_label) + " ", 1),
3991
- o.sortField === c.field_name ? (d(), u("span", nl, [
3992
- o.sortOrder === "asc" ? (d(), u("i", ol)) : (d(), u("i", ll))
3992
+ $(h(c.field_label) + " ", 1),
3993
+ o.sortField === c.field_name ? (d(), u("span", ll, [
3994
+ o.sortOrder === "asc" ? (d(), u("i", il)) : (d(), u("i", dl))
3993
3995
  ])) : g("", !0)
3994
- ], 8, al))), 128))
3996
+ ], 8, ol))), 128))
3995
3997
  ])
3996
3998
  ]),
3997
3999
  t("tbody", null, [
3998
- o.isLoading ? (d(), u("tr", il, [
4000
+ o.isLoading ? (d(), u("tr", ul, [
3999
4001
  t("td", {
4000
4002
  colspan: s.columns.length
4001
- }, cl, 8, dl)
4003
+ }, fl, 8, cl)
4002
4004
  ])) : g("", !0),
4003
- o.isLoading ? g("", !0) : (d(!0), u(v, { key: 1 }, S(a.groupedItems, (c, h) => (d(), u(v, null, [
4004
- t("tr", gl, [
4005
+ o.isLoading ? g("", !0) : (d(!0), u(w, { key: 1 }, D(a.groupedItems, (c, f) => (d(), u(w, null, [
4006
+ t("tr", hl, [
4005
4007
  t("td", {
4006
4008
  colspan: s.columns.length,
4007
4009
  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-3 lg:px-4 border dark:border-gray-700"
4008
- }, f(h), 9, fl)
4010
+ }, h(f), 9, ml)
4009
4011
  ]),
4010
- (d(!0), u(v, null, S(c, (m, _) => (d(), u("tr", {
4012
+ (d(!0), u(w, null, D(c, (m, _) => (d(), u("tr", {
4011
4013
  key: _,
4012
4014
  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"
4013
4015
  }, [
4014
- (d(!0), u(v, null, S(s.columns, (x, D) => (d(), u("td", {
4015
- key: D,
4016
- "data-label": x.field_label,
4016
+ (d(!0), u(w, null, D(s.columns, (v, S) => (d(), u("td", {
4017
+ key: S,
4018
+ "data-label": v.field_label,
4017
4019
  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-3 lg:px-4 border dark:border-gray-700"
4018
4020
  }, [
4019
- t("div", ml, [
4020
- x.tdComp ? (d(), Z(le(a.forDynCompIs(x.tdComp)), {
4021
+ t("div", pl, [
4022
+ v.tdComp ? (d(), Z(le(a.forDynCompIs(v.tdComp)), {
4021
4023
  key: 0,
4022
4024
  row: m,
4023
- field: x.field_name,
4025
+ field: v.field_name,
4024
4026
  xprops: s.xprops,
4025
- tdProps: x.tdProps,
4027
+ tdProps: v.tdProps,
4026
4028
  onDeleteAction: r[3] || (r[3] = (N) => a.GetItemLists()),
4027
4029
  onEditAction: (N) => a.editAction(m)
4028
- }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(v, { key: 1 }, [
4029
- $(f(m[x.field_name]), 1)
4030
+ }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(w, { key: 1 }, [
4031
+ $(h(m[v.field_name]), 1)
4030
4032
  ], 64))
4031
4033
  ])
4032
- ], 8, hl))), 128))
4034
+ ], 8, bl))), 128))
4033
4035
  ]))), 128))
4034
4036
  ], 64))), 256))
4035
4037
  ])
4036
4038
  ])
4037
4039
  ]),
4038
- t("div", bl, [
4040
+ t("div", yl, [
4039
4041
  q(l, {
4040
4042
  class: "mt-3 mb-0",
4041
4043
  data: o.itemLists,
@@ -4047,7 +4049,7 @@ function pl(e, r, s, n, o, a) {
4047
4049
  ])
4048
4050
  ]);
4049
4051
  }
4050
- const Mc = /* @__PURE__ */ O(Ho, [["render", pl]]), yl = {
4052
+ const Tc = /* @__PURE__ */ O(Zo, [["render", _l]]), vl = {
4051
4053
  components: {},
4052
4054
  props: {
4053
4055
  data: Array,
@@ -4127,10 +4129,10 @@ const Mc = /* @__PURE__ */ O(Ho, [["render", pl]]), yl = {
4127
4129
  e >= 1 && e <= this.totalPages && (this.currentPage = e);
4128
4130
  }
4129
4131
  }
4130
- }, _l = { class: "p-2" }, vl = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, xl = { class: "flex items-center gap-2" }, wl = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), kl = { style: { "margin-top": "9px" } }, $l = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Cl = /* @__PURE__ */ t("label", {
4132
+ }, xl = { class: "p-2" }, wl = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, kl = { class: "flex items-center gap-2" }, $l = /* @__PURE__ */ t("span", { class: "font-medium" }, " Show ", -1), Cl = { style: { "margin-top": "9px" } }, Sl = /* @__PURE__ */ t("span", { class: "font-medium" }, " Entries ", -1), Dl = /* @__PURE__ */ t("label", {
4131
4133
  for: "table-search",
4132
4134
  class: "sr-only"
4133
- }, "Search", -1), Sl = { class: "relative" }, Dl = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
4135
+ }, "Search", -1), Ol = { class: "relative" }, Pl = /* @__PURE__ */ t("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
4134
4136
  /* @__PURE__ */ t("svg", {
4135
4137
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
4136
4138
  "aria-hidden": "true",
@@ -4144,19 +4146,19 @@ const Mc = /* @__PURE__ */ O(Ho, [["render", pl]]), yl = {
4144
4146
  "clip-rule": "evenodd"
4145
4147
  })
4146
4148
  ])
4147
- ], -1), Ol = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Pl = { 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" }, Al = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, jl = ["onClick"], El = {
4149
+ ], -1), Al = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, jl = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, El = { class: "hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Ll = ["onClick"], Tl = {
4148
4150
  key: 0,
4149
4151
  class: "ml-2"
4150
- }, Tl = {
4152
+ }, Ml = {
4151
4153
  key: 0,
4152
4154
  class: "fa fa-arrow-up"
4153
- }, Ll = {
4155
+ }, Il = {
4154
4156
  key: 1,
4155
4157
  class: "fa fa-arrow-down"
4156
- }, Ml = ["data-label"], Il = ["innerHTML"], Nl = {
4158
+ }, Nl = ["data-label"], Vl = ["innerHTML"], Bl = {
4157
4159
  key: 0,
4158
4160
  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"
4159
- }, Vl = { class: "flex justify-between flex-1 sm:hidden" }, Bl = ["disabled"], Gl = ["disabled"], Ul = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, Fl = { class: "text-sm text-gray-700 dark:text-gray-400" }, Rl = { class: "font-medium" }, ql = { class: "font-medium" }, Hl = { class: "font-medium" }, zl = { "aria-label": "Page navigation" }, Zl = { class: "flex items-center h-8 -space-x-px text-sm" }, Kl = ["disabled"], Wl = /* @__PURE__ */ t("span", { class: "sr-only" }, "Previous", -1), Yl = /* @__PURE__ */ t("svg", {
4161
+ }, Gl = { class: "flex justify-between flex-1 sm:hidden" }, Ul = ["disabled"], Fl = ["disabled"], Rl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, ql = { class: "text-sm text-gray-700 dark:text-gray-400" }, Hl = { class: "font-medium" }, zl = { class: "font-medium" }, Zl = { class: "font-medium" }, Kl = { "aria-label": "Page navigation" }, Wl = { class: "flex items-center h-8 -space-x-px text-sm" }, Yl = ["disabled"], Xl = /* @__PURE__ */ t("span", { class: "sr-only" }, "Previous", -1), Jl = /* @__PURE__ */ t("svg", {
4160
4162
  class: "w-2.5 h-2.5 rtl:rotate-180",
4161
4163
  "aria-hidden": "true",
4162
4164
  xmlns: "http://www.w3.org/2000/svg",
@@ -4170,10 +4172,10 @@ const Mc = /* @__PURE__ */ O(Ho, [["render", pl]]), yl = {
4170
4172
  "stroke-width": "2",
4171
4173
  d: "M5 1 1 5l4 4"
4172
4174
  })
4173
- ], -1), Xl = [
4174
- Wl,
4175
- Yl
4176
- ], Jl = ["onClick"], Ql = ["onClick"], ei = ["disabled"], ti = /* @__PURE__ */ t("span", { class: "sr-only" }, "Next", -1), ri = /* @__PURE__ */ t("svg", {
4175
+ ], -1), Ql = [
4176
+ Xl,
4177
+ Jl
4178
+ ], ei = ["onClick"], ti = ["onClick"], ri = ["disabled"], si = /* @__PURE__ */ t("span", { class: "sr-only" }, "Next", -1), ai = /* @__PURE__ */ t("svg", {
4177
4179
  class: "w-2.5 h-2.5 rtl:rotate-180",
4178
4180
  "aria-hidden": "true",
4179
4181
  xmlns: "http://www.w3.org/2000/svg",
@@ -4187,17 +4189,17 @@ const Mc = /* @__PURE__ */ O(Ho, [["render", pl]]), yl = {
4187
4189
  "stroke-width": "2",
4188
4190
  d: "m1 9 4-4-4-4"
4189
4191
  })
4190
- ], -1), si = [
4191
- ti,
4192
- ri
4192
+ ], -1), ni = [
4193
+ si,
4194
+ ai
4193
4195
  ];
4194
- function ai(e, r, s, n, o, a) {
4196
+ function oi(e, r, s, n, o, a) {
4195
4197
  const i = z("dropdown");
4196
- return d(), u("div", _l, [
4197
- t("div", vl, [
4198
- t("div", xl, [
4199
- wl,
4200
- t("div", kl, [
4198
+ return d(), u("div", xl, [
4199
+ t("div", wl, [
4200
+ t("div", kl, [
4201
+ $l,
4202
+ t("div", Cl, [
4201
4203
  q(i, {
4202
4204
  has_cancel: !1,
4203
4205
  options: o.showNoOfEntries,
@@ -4211,11 +4213,11 @@ function ai(e, r, s, n, o, a) {
4211
4213
  placeholder: "Please select an option"
4212
4214
  }, null, 8, ["options", "modelValue"])
4213
4215
  ]),
4214
- $l
4216
+ Sl
4215
4217
  ]),
4216
- Cl,
4217
- t("div", Sl, [
4218
- Dl,
4218
+ Dl,
4219
+ t("div", Ol, [
4220
+ Pl,
4219
4221
  A(t("input", {
4220
4222
  type: "text",
4221
4223
  "onUpdate:modelValue": r[1] || (r[1] = (l) => o.search = l),
@@ -4226,87 +4228,87 @@ function ai(e, r, s, n, o, a) {
4226
4228
  ])
4227
4229
  ])
4228
4230
  ]),
4229
- t("div", Ol, [
4230
- t("table", Pl, [
4231
- t("thead", Al, [
4231
+ t("div", Al, [
4232
+ t("table", jl, [
4233
+ t("thead", El, [
4232
4234
  t("tr", null, [
4233
- (d(!0), u(v, null, S(s.columns, (l, c) => (d(), u("th", {
4235
+ (d(!0), u(w, null, D(s.columns, (l, c) => (d(), u("th", {
4234
4236
  key: c,
4235
- onClick: (h) => a.sort(l),
4237
+ onClick: (f) => a.sort(l),
4236
4238
  class: "w-full px-4 py-2 lg:w-2/12"
4237
4239
  }, [
4238
- $(f(l) + " ", 1),
4239
- o.sortKey === l ? (d(), u("span", El, [
4240
- o.sortOrder === "asc" ? (d(), u("i", Tl)) : (d(), u("i", Ll))
4240
+ $(h(l) + " ", 1),
4241
+ o.sortKey === l ? (d(), u("span", Tl, [
4242
+ o.sortOrder === "asc" ? (d(), u("i", Ml)) : (d(), u("i", Il))
4241
4243
  ])) : g("", !0)
4242
- ], 8, jl))), 128))
4244
+ ], 8, Ll))), 128))
4243
4245
  ])
4244
4246
  ]),
4245
4247
  t("tbody", null, [
4246
- (d(!0), u(v, null, S(a.paginatedData, (l, c) => (d(), u("tr", {
4248
+ (d(!0), u(w, null, D(a.paginatedData, (l, c) => (d(), u("tr", {
4247
4249
  key: c,
4248
4250
  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"
4249
4251
  }, [
4250
- (d(!0), u(v, null, S(s.columns, (h, m) => (d(), u("td", {
4252
+ (d(!0), u(w, null, D(s.columns, (f, m) => (d(), u("td", {
4251
4253
  key: m,
4252
- "data-label": h,
4254
+ "data-label": f,
4253
4255
  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"
4254
4256
  }, [
4255
4257
  t("p", {
4256
4258
  class: "text-pretty",
4257
4259
  innerHTML: l[m]
4258
- }, null, 8, Il)
4259
- ], 8, Ml))), 128))
4260
+ }, null, 8, Vl)
4261
+ ], 8, Nl))), 128))
4260
4262
  ]))), 128))
4261
4263
  ])
4262
4264
  ])
4263
4265
  ]),
4264
- a.paginatedData.length > 0 ? (d(), u("div", Nl, [
4265
- t("div", Vl, [
4266
+ a.paginatedData.length > 0 ? (d(), u("div", Bl, [
4267
+ t("div", Gl, [
4266
4268
  t("a", {
4267
4269
  href: "#",
4268
4270
  onClick: r[2] || (r[2] = (...l) => a.previousPage && a.previousPage(...l)),
4269
4271
  disabled: o.currentPage === 1,
4270
4272
  class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
4271
- }, "Previous", 8, Bl),
4273
+ }, "Previous", 8, Ul),
4272
4274
  t("a", {
4273
4275
  href: "#",
4274
4276
  onClick: r[3] || (r[3] = (...l) => a.nextPage && a.nextPage(...l)),
4275
4277
  disabled: o.currentPage === a.totalPages,
4276
4278
  class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
4277
- }, "Next", 8, Gl)
4279
+ }, "Next", 8, Fl)
4278
4280
  ]),
4279
- t("div", Ul, [
4281
+ t("div", Rl, [
4280
4282
  t("div", null, [
4281
- t("p", Fl, [
4283
+ t("p", ql, [
4282
4284
  $(" Showing "),
4283
- t("span", Rl, f(a.firstItemIndex), 1),
4285
+ t("span", Hl, h(a.firstItemIndex), 1),
4284
4286
  $(" to "),
4285
- t("span", ql, f(a.lastItemIndex), 1),
4287
+ t("span", zl, h(a.lastItemIndex), 1),
4286
4288
  $(" of "),
4287
- t("span", Hl, f(a.filteredData.length), 1),
4289
+ t("span", Zl, h(a.filteredData.length), 1),
4288
4290
  $(" entries ")
4289
4291
  ])
4290
4292
  ]),
4291
4293
  t("div", null, [
4292
- t("nav", zl, [
4293
- t("ul", Zl, [
4294
+ t("nav", Kl, [
4295
+ t("ul", Wl, [
4294
4296
  t("li", null, [
4295
4297
  t("a", {
4296
4298
  href: "#",
4297
4299
  onClick: r[4] || (r[4] = (...l) => a.previousPage && a.previousPage(...l)),
4298
4300
  disabled: o.currentPage === 1,
4299
4301
  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"
4300
- }, Xl, 8, Kl)
4302
+ }, Ql, 8, Yl)
4301
4303
  ]),
4302
- (d(!0), u(v, null, S(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
4304
+ (d(!0), u(w, null, D(a.displayedPageNumbers, (l) => (d(), u(w, { key: l }, [
4303
4305
  t("li", null, [
4304
4306
  o.currentPage !== l ? (d(), u("a", {
4305
4307
  key: 0,
4306
4308
  href: "#",
4307
4309
  onClick: (c) => a.goToPage(l),
4308
4310
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
4309
- }, f(l), 9, Jl)) : g("", !0)
4311
+ }, h(l), 9, ei)) : g("", !0)
4310
4312
  ]),
4311
4313
  t("li", null, [
4312
4314
  o.currentPage === l ? (d(), u("a", {
@@ -4315,7 +4317,7 @@ function ai(e, r, s, n, o, a) {
4315
4317
  onClick: (c) => a.goToPage(l),
4316
4318
  "aria-current": "page",
4317
4319
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
4318
- }, f(l), 9, Ql)) : g("", !0)
4320
+ }, h(l), 9, ti)) : g("", !0)
4319
4321
  ])
4320
4322
  ], 64))), 128)),
4321
4323
  t("li", null, [
@@ -4324,7 +4326,7 @@ function ai(e, r, s, n, o, a) {
4324
4326
  onClick: r[5] || (r[5] = (...l) => a.nextPage && a.nextPage(...l)),
4325
4327
  disabled: o.currentPage === a.totalPages,
4326
4328
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
4327
- }, si, 8, ei)
4329
+ }, ni, 8, ri)
4328
4330
  ])
4329
4331
  ])
4330
4332
  ])
@@ -4333,91 +4335,123 @@ function ai(e, r, s, n, o, a) {
4333
4335
  ])) : g("", !0)
4334
4336
  ]);
4335
4337
  }
4336
- const Ic = /* @__PURE__ */ O(yl, [["render", ai]]), ni = {
4337
- setup(e, { slots: r }) {
4338
- const s = C(r.default().filter((o) => o.props).map((o) => o.props)), n = C("");
4339
- return Me("selectedTitle", n), R(() => r.default(), (o, a) => {
4340
- console.log("New slots:", o), console.log("Old slots:", a), s.value = o.filter((i) => i.props).map((i) => i.props);
4341
- }), {
4342
- tabs: s,
4343
- selectedTitle: n
4344
- };
4338
+ const Mc = /* @__PURE__ */ O(vl, [["render", oi]]), li = {
4339
+ setup() {
4340
+ const e = C([]);
4341
+ return Me("accordionsWrapper", {
4342
+ registerAccordion: (o) => {
4343
+ e.value.push(o);
4344
+ },
4345
+ unregisterAccordion: (o) => {
4346
+ const a = e.value.indexOf(o);
4347
+ a > -1 && e.value.splice(a, 1);
4348
+ },
4349
+ toggleAccordion: (o) => {
4350
+ e.value.forEach((a) => {
4351
+ a !== o && a.isOpen && a.isOpen.value !== void 0 && (a.isOpen.value = !1);
4352
+ }), o.isOpen && o.isOpen.value !== void 0 && (o.isOpen.value = !o.isOpen.value);
4353
+ },
4354
+ accordions: e
4355
+ }), {};
4356
+ }
4357
+ };
4358
+ function ii(e, r, s, n, o, a) {
4359
+ return d(), u("div", null, [
4360
+ M(e.$slots, "default")
4361
+ ]);
4362
+ }
4363
+ const Ic = /* @__PURE__ */ O(li, [["render", ii]]), di = {
4364
+ props: {
4365
+ title: {
4366
+ type: String,
4367
+ required: !0
4368
+ }
4369
+ },
4370
+ setup() {
4371
+ const e = C(!1), r = xe("accordionsWrapper"), n = (() => {
4372
+ var f = (/* @__PURE__ */ new Date()).getTime();
4373
+ typeof performance < "u" && typeof performance.now == "function" && (f += performance.now());
4374
+ var m = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(_) {
4375
+ var v = (f + Math.random() * 16) % 16 | 0;
4376
+ return f = Math.floor(f / 16), (_ === "x" ? v : v & 3 | 8).toString(16);
4377
+ });
4378
+ return m;
4379
+ })(), o = { isOpen: e, id: n }, a = E(() => r.accordions.value), i = E(() => a.value.length > 0 && a.value[0].id === n), l = E(() => a.value.length > 0 && a.value[a.value.length - 1].id === n);
4380
+ return R(() => {
4381
+ r.registerAccordion(o);
4382
+ }), it(() => {
4383
+ r.unregisterAccordion(o);
4384
+ }), { isOpen: e, isFirstAccordion: i, isLastAccordion: l, toggle: () => {
4385
+ r.toggleAccordion(o);
4386
+ } };
4345
4387
  }
4346
- }, oi = ["onClick"], li = { class: "flex items-center" }, ii = {
4388
+ }, ui = { class: "flex items-center" }, ci = {
4347
4389
  key: 0,
4348
4390
  class: "w-3 h-3 rotate-180 shrink-0",
4349
4391
  "aria-hidden": "true",
4350
4392
  xmlns: "http://www.w3.org/2000/svg",
4351
4393
  fill: "none",
4352
4394
  viewBox: "0 0 10 6"
4353
- }, di = /* @__PURE__ */ t("path", {
4395
+ }, gi = /* @__PURE__ */ t("path", {
4354
4396
  stroke: "currentColor",
4355
4397
  "stroke-linecap": "round",
4356
4398
  "stroke-linejoin": "round",
4357
4399
  "stroke-width": "2",
4358
4400
  d: "M9 5 5 1 1 5"
4359
- }, null, -1), ui = [
4360
- di
4361
- ], ci = {
4401
+ }, null, -1), fi = [
4402
+ gi
4403
+ ], hi = {
4362
4404
  key: 1,
4363
4405
  class: "w-3 h-3 shrink-0",
4364
4406
  "aria-hidden": "true",
4365
4407
  xmlns: "http://www.w3.org/2000/svg",
4366
4408
  fill: "none",
4367
4409
  viewBox: "0 0 10 6"
4368
- }, gi = /* @__PURE__ */ t("path", {
4410
+ }, mi = /* @__PURE__ */ t("path", {
4369
4411
  stroke: "currentColor",
4370
4412
  "stroke-linecap": "round",
4371
4413
  "stroke-linejoin": "round",
4372
4414
  "stroke-width": "2",
4373
4415
  d: "M9 5 5 1 1 5"
4374
- }, null, -1), fi = [
4375
- gi
4376
- ], hi = { key: 0 };
4377
- function mi(e, r, s, n, o, a) {
4416
+ }, null, -1), bi = [
4417
+ mi
4418
+ ];
4419
+ function pi(e, r, s, n, o, a) {
4378
4420
  return d(), u("div", null, [
4379
- (d(!0), u(v, null, S(n.tabs, (i, l) => (d(), u("div", { key: l }, [
4380
- t("h2", null, [
4381
- t("button", {
4382
- onClick: (c) => n.selectedTitle = i.title,
4383
- type: "button",
4384
- class: "flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",
4385
- "aria-expanded": "true"
4386
- }, [
4387
- t("span", li, f(i.title), 1),
4388
- n.selectedTitle != i.title ? (d(), u("svg", ii, ui)) : g("", !0),
4389
- n.selectedTitle === i.title ? (d(), u("svg", ci, fi)) : g("", !0)
4390
- ], 8, oi)
4391
- ]),
4392
- n.selectedTitle === i.title ? (d(), u("div", hi, [
4393
- M(e.$slots, "default")
4394
- ])) : g("", !0)
4395
- ]))), 128))
4421
+ t("h2", null, [
4422
+ t("button", {
4423
+ onClick: r[0] || (r[0] = (...i) => n.toggle && n.toggle(...i)),
4424
+ type: "button",
4425
+ class: p(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
4426
+ "rounded-t-xl": n.isFirstAccordion,
4427
+ "border-b-0": !n.isLastAccordion,
4428
+ "bg-gray-100 dark:bg-gray-800": n.isOpen
4429
+ }]),
4430
+ "aria-expanded": "true"
4431
+ }, [
4432
+ t("span", ui, h(s.title), 1),
4433
+ n.isOpen ? g("", !0) : (d(), u("svg", ci, fi)),
4434
+ n.isOpen ? (d(), u("svg", hi, bi)) : g("", !0)
4435
+ ], 2)
4436
+ ]),
4437
+ n.isOpen ? (d(), u("div", {
4438
+ key: 0,
4439
+ class: p([{
4440
+ "border-b-0": !n.isLastAccordion,
4441
+ "border-t-0": n.isLastAccordion
4442
+ }, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
4443
+ }, [
4444
+ M(e.$slots, "default")
4445
+ ], 2)) : g("", !0)
4396
4446
  ]);
4397
4447
  }
4398
- const Nc = /* @__PURE__ */ O(ni, [["render", mi]]), bi = {
4399
- props: ["title"],
4400
- setup() {
4401
- return {
4402
- selectedTitle: xe("selectedTitle")
4403
- };
4404
- }
4405
- }, pi = {
4406
- key: 0,
4407
- class: "p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900"
4408
- };
4409
- function yi(e, r, s, n, o, a) {
4410
- return s.title == n.selectedTitle ? (d(), u("div", pi, [
4411
- M(e.$slots, "default")
4412
- ])) : g("", !0);
4413
- }
4414
- const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4448
+ const Nc = /* @__PURE__ */ O(di, [["render", pi]]), yi = {
4415
4449
  class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
4416
4450
  role: "alert"
4417
- }, vi = {
4451
+ }, _i = {
4418
4452
  key: 0,
4419
4453
  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"
4420
- }, xi = /* @__PURE__ */ t("svg", {
4454
+ }, vi = /* @__PURE__ */ t("svg", {
4421
4455
  class: "w-5 h-5",
4422
4456
  "aria-hidden": "true",
4423
4457
  xmlns: "http://www.w3.org/2000/svg",
@@ -4425,13 +4459,13 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4425
4459
  viewBox: "0 0 20 20"
4426
4460
  }, [
4427
4461
  /* @__PURE__ */ t("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" })
4428
- ], -1), wi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Check icon", -1), ki = [
4429
- xi,
4430
- wi
4431
- ], $i = {
4462
+ ], -1), xi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Check icon", -1), wi = [
4463
+ vi,
4464
+ xi
4465
+ ], ki = {
4432
4466
  key: 1,
4433
4467
  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"
4434
- }, Ci = /* @__PURE__ */ t("svg", {
4468
+ }, $i = /* @__PURE__ */ t("svg", {
4435
4469
  class: "w-5 h-5",
4436
4470
  "aria-hidden": "true",
4437
4471
  xmlns: "http://www.w3.org/2000/svg",
@@ -4439,13 +4473,13 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4439
4473
  viewBox: "0 0 20 20"
4440
4474
  }, [
4441
4475
  /* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
4442
- ], -1), Si = /* @__PURE__ */ t("span", { class: "sr-only" }, "Error icon", -1), Di = [
4443
- Ci,
4444
- Si
4445
- ], Oi = {
4476
+ ], -1), Ci = /* @__PURE__ */ t("span", { class: "sr-only" }, "Error icon", -1), Si = [
4477
+ $i,
4478
+ Ci
4479
+ ], Di = {
4446
4480
  key: 2,
4447
4481
  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"
4448
- }, Pi = /* @__PURE__ */ t("svg", {
4482
+ }, Oi = /* @__PURE__ */ t("svg", {
4449
4483
  class: "w-5 h-5",
4450
4484
  "aria-hidden": "true",
4451
4485
  xmlns: "http://www.w3.org/2000/svg",
@@ -4453,10 +4487,10 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4453
4487
  viewBox: "0 0 20 20"
4454
4488
  }, [
4455
4489
  /* @__PURE__ */ t("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
4456
- ], -1), Ai = /* @__PURE__ */ t("span", { class: "sr-only" }, "Warning icon", -1), ji = [
4457
- Pi,
4458
- Ai
4459
- ], Ei = { class: "ml-3 text-sm font-normal" }, Ti = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Li = /* @__PURE__ */ t("svg", {
4490
+ ], -1), Pi = /* @__PURE__ */ t("span", { class: "sr-only" }, "Warning icon", -1), Ai = [
4491
+ Oi,
4492
+ Pi
4493
+ ], ji = { class: "ml-3 text-sm font-normal" }, Ei = /* @__PURE__ */ t("span", { class: "sr-only" }, "Close", -1), Li = /* @__PURE__ */ t("svg", {
4460
4494
  "aria-hidden": "true",
4461
4495
  class: "w-5 h-5",
4462
4496
  fill: "currentColor",
@@ -4468,10 +4502,10 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4468
4502
  d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
4469
4503
  "clip-rule": "evenodd"
4470
4504
  })
4471
- ], -1), Mi = [
4472
- Ti,
4505
+ ], -1), Ti = [
4506
+ Ei,
4473
4507
  Li
4474
- ], Ii = {
4508
+ ], Mi = {
4475
4509
  __name: "ToastListItem",
4476
4510
  props: {
4477
4511
  message: String,
@@ -4487,27 +4521,27 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4487
4521
  emits: ["remove"],
4488
4522
  setup(e, { emit: r }) {
4489
4523
  const s = e;
4490
- H(() => {
4524
+ R(() => {
4491
4525
  setTimeout(() => n("remove"), s.duration);
4492
4526
  });
4493
4527
  const n = r;
4494
- return (o, a) => (d(), u("div", _i, [
4495
- s.type === "success" ? (d(), u("div", vi, ki)) : g("", !0),
4496
- s.type === "error" ? (d(), u("div", $i, Di)) : g("", !0),
4497
- s.type === "warning" ? (d(), u("div", Oi, ji)) : g("", !0),
4498
- t("div", Ei, f(s.message), 1),
4528
+ return (o, a) => (d(), u("div", yi, [
4529
+ s.type === "success" ? (d(), u("div", _i, wi)) : g("", !0),
4530
+ s.type === "error" ? (d(), u("div", ki, Si)) : g("", !0),
4531
+ s.type === "warning" ? (d(), u("div", Di, Ai)) : g("", !0),
4532
+ t("div", ji, h(s.message), 1),
4499
4533
  t("button", {
4500
4534
  onClick: a[0] || (a[0] = (i) => n("remove")),
4501
4535
  type: "button",
4502
4536
  class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
4503
4537
  "data-dismiss-target": "#toast-default",
4504
4538
  "aria-label": "Close"
4505
- }, Mi)
4539
+ }, Ti)
4506
4540
  ]));
4507
4541
  }
4508
- }, ve = Te({
4542
+ }, ve = Le({
4509
4543
  items: []
4510
- }), Ni = {
4544
+ }), Ii = {
4511
4545
  add(e) {
4512
4546
  ve.items.unshift({
4513
4547
  key: Symbol(),
@@ -4521,14 +4555,14 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4521
4555
  }
4522
4556
  }, Ee = {
4523
4557
  state: ve,
4524
- methods: Ni
4525
- }, Bc = {
4558
+ methods: Ii
4559
+ }, Vc = {
4526
4560
  __name: "GlToastList",
4527
4561
  setup(e) {
4528
4562
  function r(s) {
4529
4563
  Ee.methods.remove(s);
4530
4564
  }
4531
- return (s, n) => (d(), Z(it, {
4565
+ return (s, n) => (d(), Z(dt, {
4532
4566
  tag: "div",
4533
4567
  "enter-from-class": "translate-x-full opacity-0",
4534
4568
  "enter-active-class": "duration-500",
@@ -4537,7 +4571,7 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4537
4571
  class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
4538
4572
  }, {
4539
4573
  default: ie(() => [
4540
- (d(!0), u(v, null, S(dt(Ee).state.items, (o, a) => (d(), Z(Ii, {
4574
+ (d(!0), u(w, null, D(ut(Ee).state.items, (o, a) => (d(), Z(Mi, {
4541
4575
  key: o.key,
4542
4576
  message: o.message,
4543
4577
  type: o.type,
@@ -4548,10 +4582,10 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4548
4582
  _: 1
4549
4583
  }));
4550
4584
  }
4551
- }, Vi = {
4585
+ }, Ni = {
4552
4586
  key: 0,
4553
4587
  class: "flex justify-center"
4554
- }, Bi = /* @__PURE__ */ t("svg", {
4588
+ }, Vi = /* @__PURE__ */ t("svg", {
4555
4589
  class: "w-5 h-5",
4556
4590
  "aria-hidden": "true",
4557
4591
  xmlns: "http://www.w3.org/2000/svg",
@@ -4559,12 +4593,12 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4559
4593
  viewBox: "0 0 4 15"
4560
4594
  }, [
4561
4595
  /* @__PURE__ */ t("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
4562
- ], -1), Gi = [
4563
- Bi
4564
- ], 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" }, Fi = {
4596
+ ], -1), Bi = [
4597
+ Vi
4598
+ ], 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" }, Ui = {
4565
4599
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4566
4600
  "aria-labelledby": "dropdownDividerButton"
4567
- }, Ri = { key: 0 }, qi = ["href"], Hi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), zi = { key: 1 }, Zi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Gc = {
4601
+ }, Fi = { key: 0 }, Ri = ["href"], qi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), Hi = { key: 1 }, zi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Bc = {
4568
4602
  __name: "DatatableAction",
4569
4603
  props: {
4570
4604
  field: {
@@ -4596,7 +4630,7 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4596
4630
  o.value = !0;
4597
4631
  }, c = () => {
4598
4632
  a.value = !1;
4599
- }, h = () => {
4633
+ }, f = () => {
4600
4634
  a.value = !0;
4601
4635
  }, m = r, _ = () => {
4602
4636
  axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
@@ -4605,42 +4639,42 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4605
4639
  type: "success",
4606
4640
  duration: 5e3
4607
4641
  });
4608
- }).catch((x) => {
4609
- console.log(x);
4642
+ }).catch((v) => {
4643
+ console.log(v);
4610
4644
  });
4611
4645
  };
4612
- return (x, D) => {
4646
+ return (v, S) => {
4613
4647
  const N = Ie("click-outside");
4614
- return d(), u(v, null, [
4648
+ return d(), u(w, null, [
4615
4649
  q(we, {
4616
4650
  isOpen: a.value,
4617
4651
  onConfirmDelete: _,
4618
4652
  onCancelDelete: c
4619
4653
  }, null, 8, ["isOpen"]),
4620
- e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? A((d(), u("div", Vi, [
4654
+ e.row && v.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? A((d(), u("div", Ni, [
4621
4655
  t("button", {
4622
4656
  onClick: l,
4623
4657
  class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
4624
4658
  type: "button"
4625
- }, Gi),
4626
- A(t("div", Ui, [
4627
- t("ul", Fi, [
4628
- x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Ri, [
4659
+ }, Bi),
4660
+ A(t("div", Gi, [
4661
+ t("ul", Ui, [
4662
+ v.can(`edit_${e.xprops.permission}`) ? (d(), u("li", Fi, [
4629
4663
  t("a", {
4630
4664
  href: e.xprops.route + "/" + e.row.id + "/edit",
4631
4665
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4632
4666
  }, [
4633
- Hi,
4667
+ qi,
4634
4668
  $(" Edit")
4635
- ], 8, qi)
4669
+ ], 8, Ri)
4636
4670
  ])) : g("", !0),
4637
- x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", zi, [
4671
+ v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Hi, [
4638
4672
  t("a", {
4639
4673
  href: "#",
4640
- onClick: F(h, ["prevent"]),
4674
+ onClick: F(f, ["prevent"]),
4641
4675
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4642
4676
  }, [
4643
- Zi,
4677
+ zi,
4644
4678
  $(" Remove")
4645
4679
  ])
4646
4680
  ])) : g("", !0)
@@ -4654,10 +4688,10 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4654
4688
  ], 64);
4655
4689
  };
4656
4690
  }
4657
- }, Ki = {
4691
+ }, Zi = {
4658
4692
  key: 0,
4659
4693
  class: "flex justify-center"
4660
- }, Wi = /* @__PURE__ */ t("svg", {
4694
+ }, Ki = /* @__PURE__ */ t("svg", {
4661
4695
  class: "w-5 h-5",
4662
4696
  "aria-hidden": "true",
4663
4697
  xmlns: "http://www.w3.org/2000/svg",
@@ -4665,12 +4699,12 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4665
4699
  viewBox: "0 0 4 15"
4666
4700
  }, [
4667
4701
  /* @__PURE__ */ t("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
4668
- ], -1), Yi = [
4669
- Wi
4670
- ], Xi = { 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" }, Ji = {
4702
+ ], -1), Wi = [
4703
+ Ki
4704
+ ], Yi = { 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" }, Xi = {
4671
4705
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4672
4706
  "aria-labelledby": "dropdownDividerButton"
4673
- }, Qi = { key: 0 }, ed = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Uc = {
4707
+ }, Ji = { key: 0 }, Qi = /* @__PURE__ */ t("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Gc = {
4674
4708
  __name: "DatatableDeleteAction",
4675
4709
  props: {
4676
4710
  field: {
@@ -4702,7 +4736,7 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4702
4736
  o.value = !0;
4703
4737
  }, c = () => {
4704
4738
  a.value = !1;
4705
- }, h = () => {
4739
+ }, f = () => {
4706
4740
  a.value = !0;
4707
4741
  }, m = r, _ = () => {
4708
4742
  axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
@@ -4711,33 +4745,33 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4711
4745
  type: "success",
4712
4746
  duration: 5e3
4713
4747
  });
4714
- }).catch((x) => {
4715
- console.log(x);
4748
+ }).catch((v) => {
4749
+ console.log(v);
4716
4750
  });
4717
4751
  };
4718
- return (x, D) => {
4752
+ return (v, S) => {
4719
4753
  const N = Ie("click-outside");
4720
- return d(), u(v, null, [
4754
+ return d(), u(w, null, [
4721
4755
  q(we, {
4722
4756
  isOpen: a.value,
4723
4757
  onConfirmDelete: _,
4724
4758
  onCancelDelete: c
4725
4759
  }, null, 8, ["isOpen"]),
4726
- e.row && x.can(`delete_${e.xprops.permission}`) ? A((d(), u("div", Ki, [
4760
+ e.row && v.can(`delete_${e.xprops.permission}`) ? A((d(), u("div", Zi, [
4727
4761
  t("button", {
4728
4762
  onClick: l,
4729
4763
  class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
4730
4764
  type: "button"
4731
- }, Yi),
4732
- A(t("div", Xi, [
4733
- t("ul", Ji, [
4734
- x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Qi, [
4765
+ }, Wi),
4766
+ A(t("div", Yi, [
4767
+ t("ul", Xi, [
4768
+ v.can(`delete_${e.xprops.permission}`) ? (d(), u("li", Ji, [
4735
4769
  t("a", {
4736
4770
  href: "#",
4737
- onClick: F(h, ["prevent"]),
4771
+ onClick: F(f, ["prevent"]),
4738
4772
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4739
4773
  }, [
4740
- ed,
4774
+ Qi,
4741
4775
  $(" Remove")
4742
4776
  ])
4743
4777
  ])) : g("", !0)
@@ -4751,7 +4785,7 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4751
4785
  ], 64);
4752
4786
  };
4753
4787
  }
4754
- }, td = {
4788
+ }, ed = {
4755
4789
  props: ["field", "row"],
4756
4790
  computed: {
4757
4791
  isArray() {
@@ -4766,7 +4800,7 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4766
4800
  },
4767
4801
  mounted() {
4768
4802
  }
4769
- }, rd = ["href", "title"], sd = /* @__PURE__ */ t("svg", {
4803
+ }, td = ["href", "title"], rd = /* @__PURE__ */ t("svg", {
4770
4804
  class: "w-3 h-3 text-white me-2",
4771
4805
  "aria-hidden": "true",
4772
4806
  xmlns: "http://www.w3.org/2000/svg",
@@ -4783,10 +4817,10 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4783
4817
  d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
4784
4818
  "clip-rule": "evenodd"
4785
4819
  })
4786
- ], -1), ad = {
4820
+ ], -1), sd = {
4787
4821
  key: 1,
4788
4822
  class: "m-1 d-inline-block"
4789
- }, nd = ["href", "title"], od = /* @__PURE__ */ t("svg", {
4823
+ }, ad = ["href", "title"], nd = /* @__PURE__ */ t("svg", {
4790
4824
  class: "w-3 h-3 text-white me-2",
4791
4825
  "aria-hidden": "true",
4792
4826
  xmlns: "http://www.w3.org/2000/svg",
@@ -4804,9 +4838,9 @@ const Vc = /* @__PURE__ */ O(bi, [["render", yi]]), _i = {
4804
4838
  "clip-rule": "evenodd"
4805
4839
  })
4806
4840
  ], -1);
4807
- function ld(e, r, s, n, o, a) {
4841
+ function od(e, r, s, n, o, a) {
4808
4842
  return d(), u("div", null, [
4809
- a.isArray ? (d(!0), u(v, { key: 0 }, S(s.row, (i, l) => (d(), u("div", {
4843
+ a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row, (i, l) => (d(), u("div", {
4810
4844
  key: l,
4811
4845
  class: "m-1 d-inline-block"
4812
4846
  }, [
@@ -4816,23 +4850,23 @@ function ld(e, r, s, n, o, a) {
4816
4850
  target: "_blank",
4817
4851
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4818
4852
  }, [
4819
- sd,
4853
+ rd,
4820
4854
  $(" Download ")
4821
- ], 8, rd)
4822
- ]))), 128)) : a.isString ? (d(), u("div", ad, [
4855
+ ], 8, td)
4856
+ ]))), 128)) : a.isString ? (d(), u("div", sd, [
4823
4857
  t("a", {
4824
4858
  href: s.row,
4825
4859
  title: s.row,
4826
4860
  target: "_blank",
4827
4861
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4828
4862
  }, [
4829
- od,
4863
+ nd,
4830
4864
  $(" Download ")
4831
- ], 8, nd)
4865
+ ], 8, ad)
4832
4866
  ])) : g("", !0)
4833
4867
  ]);
4834
4868
  }
4835
- const Fc = /* @__PURE__ */ O(td, [["render", ld]]), id = {
4869
+ const Uc = /* @__PURE__ */ O(ed, [["render", od]]), ld = {
4836
4870
  props: ["field", "row"],
4837
4871
  computed: {
4838
4872
  isArray() {
@@ -4842,7 +4876,7 @@ const Fc = /* @__PURE__ */ O(td, [["render", ld]]), id = {
4842
4876
  return typeof this.row[this.field] == "object";
4843
4877
  }
4844
4878
  }
4845
- }, dd = ["href", "title"], ud = /* @__PURE__ */ t("svg", {
4879
+ }, id = ["href", "title"], dd = /* @__PURE__ */ t("svg", {
4846
4880
  class: "w-3 h-3 text-white me-2",
4847
4881
  "aria-hidden": "true",
4848
4882
  xmlns: "http://www.w3.org/2000/svg",
@@ -4859,10 +4893,10 @@ const Fc = /* @__PURE__ */ O(td, [["render", ld]]), id = {
4859
4893
  d: "M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z",
4860
4894
  "clip-rule": "evenodd"
4861
4895
  })
4862
- ], -1), cd = {
4896
+ ], -1), ud = {
4863
4897
  key: 1,
4864
4898
  class: "m-1 d-inline-block"
4865
- }, gd = ["href", "title"], fd = /* @__PURE__ */ t("svg", {
4899
+ }, cd = ["href", "title"], gd = /* @__PURE__ */ t("svg", {
4866
4900
  class: "w-3 h-3 text-white me-2",
4867
4901
  "aria-hidden": "true",
4868
4902
  xmlns: "http://www.w3.org/2000/svg",
@@ -4880,9 +4914,9 @@ const Fc = /* @__PURE__ */ O(td, [["render", ld]]), id = {
4880
4914
  "clip-rule": "evenodd"
4881
4915
  })
4882
4916
  ], -1);
4883
- function hd(e, r, s, n, o, a) {
4917
+ function fd(e, r, s, n, o, a) {
4884
4918
  return d(), u("div", null, [
4885
- a.isArray ? (d(!0), u(v, { key: 0 }, S(s.row[s.field], (i) => (d(), u("div", {
4919
+ a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row[s.field], (i) => (d(), u("div", {
4886
4920
  key: i.id,
4887
4921
  class: "m-1 d-inline-block"
4888
4922
  }, [
@@ -4892,39 +4926,39 @@ function hd(e, r, s, n, o, a) {
4892
4926
  target: "_blank",
4893
4927
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4894
4928
  }, [
4895
- ud,
4929
+ dd,
4896
4930
  $(" Download ")
4897
- ], 8, dd)
4898
- ]))), 128)) : a.isObject ? (d(), u("div", cd, [
4931
+ ], 8, id)
4932
+ ]))), 128)) : a.isObject ? (d(), u("div", ud, [
4899
4933
  t("a", {
4900
4934
  href: s.row[s.field].url,
4901
4935
  title: s.row[s.field].name,
4902
4936
  target: "_blank",
4903
4937
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
4904
4938
  }, [
4905
- fd,
4939
+ gd,
4906
4940
  $(" Download ")
4907
- ], 8, gd)
4941
+ ], 8, cd)
4908
4942
  ])) : g("", !0)
4909
4943
  ]);
4910
4944
  }
4911
- const Rc = /* @__PURE__ */ O(id, [["render", hd]]), md = {
4945
+ const Fc = /* @__PURE__ */ O(ld, [["render", fd]]), hd = {
4912
4946
  props: ["field", "row", "tdProps"]
4913
- }, bd = { key: 0 }, pd = ["innerHTML"];
4914
- function yd(e, r, s, n, o, a) {
4915
- return s.row[s.field] ? (d(), u("div", bd, [
4947
+ }, md = { key: 0 }, bd = ["innerHTML"];
4948
+ function pd(e, r, s, n, o, a) {
4949
+ return s.row[s.field] ? (d(), u("div", md, [
4916
4950
  t("div", {
4917
4951
  class: "w-full",
4918
4952
  innerHTML: s.row[s.field]
4919
- }, null, 8, pd)
4953
+ }, null, 8, bd)
4920
4954
  ])) : g("", !0);
4921
4955
  }
4922
- const qc = /* @__PURE__ */ O(md, [["render", yd]]), _d = {
4956
+ const Rc = /* @__PURE__ */ O(hd, [["render", pd]]), yd = {
4923
4957
  props: ["field", "row", "tdProps"],
4924
4958
  computed: {
4925
4959
  entry() {
4926
4960
  const [e, r] = this.field.split(".");
4927
- return ut({ key: e, field: r });
4961
+ return ct({ key: e, field: r });
4928
4962
  },
4929
4963
  isArray() {
4930
4964
  return Array.isArray(this.row[this.entry.key]);
@@ -4933,24 +4967,24 @@ const qc = /* @__PURE__ */ O(md, [["render", yd]]), _d = {
4933
4967
  return typeof this.row[this.entry.key] == "object";
4934
4968
  }
4935
4969
  }
4936
- }, vd = { class: "flex flex-wrap gap-2" }, xd = {
4970
+ }, _d = { class: "flex flex-wrap gap-2" }, vd = {
4937
4971
  key: 1,
4938
4972
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4939
4973
  };
4940
- function wd(e, r, s, n, o, a) {
4941
- return d(), u("div", vd, [
4942
- a.isArray ? (d(!0), u(v, { key: 0 }, S(s.row[a.entry.key], (i, l) => (d(), u("span", {
4974
+ function xd(e, r, s, n, o, a) {
4975
+ return d(), u("div", _d, [
4976
+ a.isArray ? (d(!0), u(w, { key: 0 }, D(s.row[a.entry.key], (i, l) => (d(), u("span", {
4943
4977
  key: l,
4944
4978
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4945
- }, f(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", xd, f(s.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
4979
+ }, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", vd, h(s.row[a.entry.key][a.entry.field]), 1)) : g("", !0)
4946
4980
  ]);
4947
4981
  }
4948
- const Hc = /* @__PURE__ */ O(_d, [["render", wd]]), kd = {
4982
+ const qc = /* @__PURE__ */ O(yd, [["render", xd]]), wd = {
4949
4983
  props: ["field", "row", "tdProps"]
4950
- }, $d = { key: 0 }, Cd = { class: "m-1 d-inline-block" }, Sd = ["href", "title"], Dd = ["src", "alt", "title"];
4951
- function Od(e, r, s, n, o, a) {
4952
- return s.row[s.field] ? (d(), u("div", $d, [
4953
- t("div", Cd, [
4984
+ }, kd = { key: 0 }, $d = { class: "m-1 d-inline-block" }, Cd = ["href", "title"], Sd = ["src", "alt", "title"];
4985
+ function Dd(e, r, s, n, o, a) {
4986
+ return s.row[s.field] ? (d(), u("div", kd, [
4987
+ t("div", $d, [
4954
4988
  t("a", {
4955
4989
  href: s.row[s.field].url,
4956
4990
  title: s.row[s.field].name,
@@ -4960,37 +4994,37 @@ function Od(e, r, s, n, o, a) {
4960
4994
  src: s.row[s.field].thumbnail,
4961
4995
  alt: s.row[s.field].name,
4962
4996
  title: s.row[s.field].name
4963
- }, null, 8, Dd)
4964
- ], 8, Sd)
4997
+ }, null, 8, Sd)
4998
+ ], 8, Cd)
4965
4999
  ])
4966
5000
  ])) : g("", !0);
4967
5001
  }
4968
- const zc = /* @__PURE__ */ O(kd, [["render", Od], ["__scopeId", "data-v-3a28c02c"]]), Pd = {
5002
+ const Hc = /* @__PURE__ */ O(wd, [["render", Dd], ["__scopeId", "data-v-3a28c02c"]]), Od = {
4969
5003
  props: ["field", "row", "tdProps"],
4970
5004
  computed: {
4971
5005
  isActive() {
4972
5006
  return this.row[this.field] === 1;
4973
5007
  }
4974
5008
  }
4975
- }, Ad = { class: "flex flex-wrap gap-2 text-nowrap" }, jd = {
5009
+ }, Pd = { class: "flex flex-wrap gap-2 text-nowrap" }, Ad = {
4976
5010
  key: 0,
4977
5011
  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"
4978
- }, Ed = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Td = {
5012
+ }, jd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Ed = {
4979
5013
  key: 1,
4980
5014
  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"
4981
5015
  }, Ld = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
4982
- function Md(e, r, s, n, o, a) {
4983
- return d(), u("div", Ad, [
4984
- a.isActive ? (d(), u("span", jd, [
4985
- Ed,
5016
+ function Td(e, r, s, n, o, a) {
5017
+ return d(), u("div", Pd, [
5018
+ a.isActive ? (d(), u("span", Ad, [
5019
+ jd,
4986
5020
  $(" Active ")
4987
- ])) : a.isActive ? g("", !0) : (d(), u("span", Td, [
5021
+ ])) : a.isActive ? g("", !0) : (d(), u("span", Ed, [
4988
5022
  Ld,
4989
5023
  $(" Inactive ")
4990
5024
  ]))
4991
5025
  ]);
4992
5026
  }
4993
- const Zc = /* @__PURE__ */ O(Pd, [["render", Md]]), Id = {
5027
+ const zc = /* @__PURE__ */ O(Od, [["render", Td]]), Md = {
4994
5028
  props: ["field", "row", "tdProps"],
4995
5029
  computed: {
4996
5030
  hasLabelColor(e) {
@@ -5000,50 +5034,50 @@ const Zc = /* @__PURE__ */ O(Pd, [["render", Md]]), Id = {
5000
5034
  return r ? r.class : "";
5001
5035
  }
5002
5036
  }
5003
- }, Nd = { class: "flex flex-wrap gap-2 text-nowrap" }, Vd = {
5037
+ }, Id = { class: "flex flex-wrap gap-2 text-nowrap" }, Nd = {
5004
5038
  key: 0,
5005
5039
  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"
5006
- }, Bd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Gd = {
5040
+ }, Vd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Bd = {
5007
5041
  key: 1,
5008
5042
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"
5009
- }, Ud = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Fd = {
5043
+ }, Gd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), Ud = {
5010
5044
  key: 2,
5011
5045
  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"
5012
- }, Rd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), qd = {
5046
+ }, Fd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), Rd = {
5013
5047
  key: 3,
5014
5048
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"
5015
- }, Hd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), zd = {
5049
+ }, qd = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), Hd = {
5016
5050
  key: 4,
5017
5051
  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"
5018
- }, Zd = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
5052
+ }, zd = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
5019
5053
  /* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
5020
5054
  /* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
5021
5055
  ], -1);
5022
- function Kd(e, r, s, n, o, a) {
5023
- return d(), u("div", Nd, [
5024
- a.hasLabelColor == "green" ? (d(), u("span", Vd, [
5025
- Bd,
5026
- $(" " + f(this.row[this.field]), 1)
5056
+ function Zd(e, r, s, n, o, a) {
5057
+ return d(), u("div", Id, [
5058
+ a.hasLabelColor == "green" ? (d(), u("span", Nd, [
5059
+ Vd,
5060
+ $(" " + h(this.row[this.field]), 1)
5027
5061
  ])) : g("", !0),
5028
- a.hasLabelColor == "red" ? (d(), u("span", Gd, [
5029
- Ud,
5030
- $(" " + f(this.row[this.field]), 1)
5062
+ a.hasLabelColor == "red" ? (d(), u("span", Bd, [
5063
+ Gd,
5064
+ $(" " + h(this.row[this.field]), 1)
5031
5065
  ])) : g("", !0),
5032
- a.hasLabelColor == "yellow" ? (d(), u("span", Fd, [
5033
- Rd,
5034
- $(" " + f(this.row[this.field]), 1)
5066
+ a.hasLabelColor == "yellow" ? (d(), u("span", Ud, [
5067
+ Fd,
5068
+ $(" " + h(this.row[this.field]), 1)
5035
5069
  ])) : g("", !0),
5036
- a.hasLabelColor == "default" ? (d(), u("span", qd, [
5037
- Hd,
5038
- $(" " + f(this.row[this.field]), 1)
5070
+ a.hasLabelColor == "default" ? (d(), u("span", Rd, [
5071
+ qd,
5072
+ $(" " + h(this.row[this.field]), 1)
5039
5073
  ])) : g("", !0),
5040
- a.hasLabelColor == "animate" ? (d(), u("span", zd, [
5041
- Zd,
5042
- $(" " + f(this.row[this.field]), 1)
5074
+ a.hasLabelColor == "animate" ? (d(), u("span", Hd, [
5075
+ zd,
5076
+ $(" " + h(this.row[this.field]), 1)
5043
5077
  ])) : g("", !0)
5044
5078
  ]);
5045
5079
  }
5046
- const Kc = /* @__PURE__ */ O(Id, [["render", Kd]]), Wd = {
5080
+ const Zc = /* @__PURE__ */ O(Md, [["render", Zd]]), Kd = {
5047
5081
  props: ["field", "row", "tdProps"],
5048
5082
  computed: {
5049
5083
  hasLabelColor() {
@@ -5064,44 +5098,44 @@ const Kc = /* @__PURE__ */ O(Id, [["render", Kd]]), Wd = {
5064
5098
  }
5065
5099
  }
5066
5100
  }
5067
- }, Yd = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
5068
- function Xd(e, r, s, n, o, a) {
5069
- return d(), u("div", Yd, [
5101
+ }, Wd = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
5102
+ function Yd(e, r, s, n, o, a) {
5103
+ return d(), u("div", Wd, [
5070
5104
  a.hasLabelColor == "Default" ? (d(), u("span", {
5071
5105
  key: 0,
5072
5106
  class: p(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", a.badgeType])
5073
- }, f(this.row[this.field]), 3)) : g("", !0),
5107
+ }, h(this.row[this.field]), 3)) : g("", !0),
5074
5108
  a.hasLabelColor == "Dark" ? (d(), u("span", {
5075
5109
  key: 1,
5076
5110
  class: p(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", a.badgeType])
5077
- }, f(this.row[this.field]), 3)) : g("", !0),
5111
+ }, h(this.row[this.field]), 3)) : g("", !0),
5078
5112
  a.hasLabelColor == "Red" ? (d(), u("span", {
5079
5113
  key: 2,
5080
5114
  class: p(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", a.badgeType])
5081
- }, f(this.row[this.field]), 3)) : g("", !0),
5115
+ }, h(this.row[this.field]), 3)) : g("", !0),
5082
5116
  a.hasLabelColor == "Green" ? (d(), u("span", {
5083
5117
  key: 3,
5084
5118
  class: p(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", a.badgeType])
5085
- }, f(this.row[this.field]), 3)) : g("", !0),
5119
+ }, h(this.row[this.field]), 3)) : g("", !0),
5086
5120
  a.hasLabelColor == "Yellow" ? (d(), u("span", {
5087
5121
  key: 4,
5088
5122
  class: p(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", a.badgeType])
5089
- }, f(this.row[this.field]), 3)) : g("", !0),
5123
+ }, h(this.row[this.field]), 3)) : g("", !0),
5090
5124
  a.hasLabelColor == "Indigo" ? (d(), u("span", {
5091
5125
  key: 5,
5092
5126
  class: p(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", a.badgeType])
5093
- }, f(this.row[this.field]), 3)) : g("", !0),
5127
+ }, h(this.row[this.field]), 3)) : g("", !0),
5094
5128
  a.hasLabelColor == "Purple" ? (d(), u("span", {
5095
5129
  key: 6,
5096
5130
  class: p(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", a.badgeType])
5097
- }, f(this.row[this.field]), 3)) : g("", !0),
5131
+ }, h(this.row[this.field]), 3)) : g("", !0),
5098
5132
  a.hasLabelColor == "Pink" ? (d(), u("span", {
5099
5133
  key: 7,
5100
5134
  class: p(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", a.badgeType])
5101
- }, f(this.row[this.field]), 3)) : g("", !0)
5135
+ }, h(this.row[this.field]), 3)) : g("", !0)
5102
5136
  ]);
5103
5137
  }
5104
- const Wc = /* @__PURE__ */ O(Wd, [["render", Xd]]), Jd = {
5138
+ const Kc = /* @__PURE__ */ O(Kd, [["render", Yd]]), Xd = {
5105
5139
  props: ["field", "row", "tdProps"],
5106
5140
  computed: {
5107
5141
  hasLabelColor(e) {
@@ -5117,50 +5151,50 @@ const Wc = /* @__PURE__ */ O(Wd, [["render", Xd]]), Jd = {
5117
5151
  return e ? e.label : "";
5118
5152
  }
5119
5153
  }
5120
- }, Qd = { class: "flex flex-wrap gap-2 text-nowrap" }, eu = {
5154
+ }, Jd = { class: "flex flex-wrap gap-2 text-nowrap" }, Qd = {
5121
5155
  key: 0,
5122
5156
  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"
5123
- }, tu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), ru = {
5157
+ }, eu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), tu = {
5124
5158
  key: 1,
5125
5159
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"
5126
- }, su = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), au = {
5160
+ }, ru = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), su = {
5127
5161
  key: 2,
5128
5162
  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"
5129
- }, nu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), ou = {
5163
+ }, au = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), nu = {
5130
5164
  key: 3,
5131
5165
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"
5132
- }, lu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), iu = {
5166
+ }, ou = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), lu = {
5133
5167
  key: 4,
5134
5168
  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"
5135
- }, du = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
5169
+ }, iu = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
5136
5170
  /* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
5137
5171
  /* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
5138
5172
  ], -1);
5139
- function uu(e, r, s, n, o, a) {
5140
- return d(), u("div", Qd, [
5141
- a.hasLabelColor == "green" ? (d(), u("span", eu, [
5142
- tu,
5143
- $(" " + f(a.getLabel), 1)
5173
+ function du(e, r, s, n, o, a) {
5174
+ return d(), u("div", Jd, [
5175
+ a.hasLabelColor == "green" ? (d(), u("span", Qd, [
5176
+ eu,
5177
+ $(" " + h(a.getLabel), 1)
5144
5178
  ])) : g("", !0),
5145
- a.hasLabelColor == "red" ? (d(), u("span", ru, [
5146
- su,
5147
- $(" " + f(a.getLabel), 1)
5179
+ a.hasLabelColor == "red" ? (d(), u("span", tu, [
5180
+ ru,
5181
+ $(" " + h(a.getLabel), 1)
5148
5182
  ])) : g("", !0),
5149
- a.hasLabelColor == "yellow" ? (d(), u("span", au, [
5150
- nu,
5151
- $(" " + f(a.getLabel), 1)
5183
+ a.hasLabelColor == "yellow" ? (d(), u("span", su, [
5184
+ au,
5185
+ $(" " + h(a.getLabel), 1)
5152
5186
  ])) : g("", !0),
5153
- a.hasLabelColor == "default" ? (d(), u("span", ou, [
5154
- lu,
5155
- $(" " + f(a.getLabel), 1)
5187
+ a.hasLabelColor == "default" ? (d(), u("span", nu, [
5188
+ ou,
5189
+ $(" " + h(a.getLabel), 1)
5156
5190
  ])) : g("", !0),
5157
- a.hasLabelColor == "animate" ? (d(), u("span", iu, [
5158
- du,
5159
- $(" " + f(a.getLabel), 1)
5191
+ a.hasLabelColor == "animate" ? (d(), u("span", lu, [
5192
+ iu,
5193
+ $(" " + h(a.getLabel), 1)
5160
5194
  ])) : g("", !0)
5161
5195
  ]);
5162
5196
  }
5163
- const Yc = /* @__PURE__ */ O(Jd, [["render", uu]]), cu = {
5197
+ const Wc = /* @__PURE__ */ O(Xd, [["render", du]]), uu = {
5164
5198
  props: ["field", "row", "tdProps"],
5165
5199
  computed: {
5166
5200
  formattedDate() {
@@ -5175,54 +5209,54 @@ const Yc = /* @__PURE__ */ O(Jd, [["render", uu]]), cu = {
5175
5209
  return this.row[this.field] === 1;
5176
5210
  }
5177
5211
  }
5178
- }, gu = { class: "w-full" };
5179
- function fu(e, r, s, n, o, a) {
5180
- return d(), u("div", gu, f(a.formattedDate), 1);
5212
+ }, cu = { class: "w-full" };
5213
+ function gu(e, r, s, n, o, a) {
5214
+ return d(), u("div", cu, h(a.formattedDate), 1);
5181
5215
  }
5182
- const Xc = /* @__PURE__ */ O(cu, [["render", fu]]), hu = {
5216
+ const Yc = /* @__PURE__ */ O(uu, [["render", gu]]), fu = {
5183
5217
  props: ["field", "row", "tdProps"]
5184
- }, mu = { class: "flex flex-wrap gap-2 text-nowrap" }, bu = {
5218
+ }, hu = { class: "flex flex-wrap gap-2 text-nowrap" }, mu = {
5185
5219
  key: 0,
5186
5220
  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"
5187
- }, pu = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
5221
+ }, bu = /* @__PURE__ */ t("span", { class: "relative flex w-2 h-2 mr-1" }, [
5188
5222
  /* @__PURE__ */ t("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
5189
5223
  /* @__PURE__ */ t("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
5190
- ], -1), yu = {
5224
+ ], -1), pu = {
5191
5225
  key: 1,
5192
5226
  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"
5193
- }, _u = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), vu = {
5227
+ }, yu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), _u = {
5194
5228
  key: 2,
5195
5229
  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"
5196
- }, xu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
5197
- function wu(e, r, s, n, o, a) {
5198
- return d(), u("div", mu, [
5199
- s.row[s.field] === 0 ? (d(), u("span", bu, [
5200
- pu,
5230
+ }, vu = /* @__PURE__ */ t("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
5231
+ function xu(e, r, s, n, o, a) {
5232
+ return d(), u("div", hu, [
5233
+ s.row[s.field] === 0 ? (d(), u("span", mu, [
5234
+ bu,
5201
5235
  $(" Provisioning")
5202
5236
  ])) : g("", !0),
5203
- s.row[s.field] === 2 ? (d(), u("span", yu, [
5204
- _u,
5237
+ s.row[s.field] === 2 ? (d(), u("span", pu, [
5238
+ yu,
5205
5239
  $(" Paused ")
5206
5240
  ])) : g("", !0),
5207
- s.row[s.field] === 1 ? (d(), u("span", vu, [
5208
- xu,
5241
+ s.row[s.field] === 1 ? (d(), u("span", _u, [
5242
+ vu,
5209
5243
  $(" Active ")
5210
5244
  ])) : g("", !0)
5211
5245
  ]);
5212
5246
  }
5213
- const Jc = /* @__PURE__ */ O(hu, [["render", wu]]), ku = {
5247
+ const Xc = /* @__PURE__ */ O(fu, [["render", xu]]), wu = {
5214
5248
  props: ["field", "row", "tdProps"]
5215
- }, $u = {
5249
+ }, ku = {
5216
5250
  key: 0,
5217
5251
  class: "text-nowrap"
5218
- }, Cu = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
5219
- function Su(e, r, s, n, o, a) {
5220
- return s.row[s.field] ? (d(), u("div", $u, [
5221
- t("pre", Cu, " " + f(s.row[s.field]) + `
5252
+ }, $u = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
5253
+ function Cu(e, r, s, n, o, a) {
5254
+ return s.row[s.field] ? (d(), u("div", ku, [
5255
+ t("pre", $u, " " + h(s.row[s.field]) + `
5222
5256
  `, 1)
5223
5257
  ])) : g("", !0);
5224
5258
  }
5225
- const Qc = /* @__PURE__ */ O(ku, [["render", Su]]), Du = {
5259
+ const Jc = /* @__PURE__ */ O(wu, [["render", Cu]]), Su = {
5226
5260
  props: ["isOpen", "title", "button_text"],
5227
5261
  methods: {
5228
5262
  confirmAction() {
@@ -5232,40 +5266,40 @@ const Qc = /* @__PURE__ */ O(ku, [["render", Su]]), Du = {
5232
5266
  this.$emit("cancel-action");
5233
5267
  }
5234
5268
  }
5235
- }, Ou = {
5269
+ }, Du = {
5236
5270
  key: 0,
5237
5271
  class: "fixed inset-0 z-50 overflow-y-auto",
5238
5272
  role: "dialog",
5239
5273
  "aria-modal": "true"
5240
- }, Pu = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Au = /* @__PURE__ */ t("div", {
5274
+ }, Ou = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Pu = /* @__PURE__ */ t("div", {
5241
5275
  class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
5242
5276
  "aria-hidden": "true"
5243
- }, null, -1), ju = /* @__PURE__ */ t("span", {
5277
+ }, null, -1), Au = /* @__PURE__ */ t("span", {
5244
5278
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
5245
5279
  "aria-hidden": "true"
5246
- }, "​", -1), Eu = { 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" }, Tu = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Lu = { class: "sm:flex sm:items-start" }, Mu = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Iu = { class: "text-lg font-medium leading-6 text-gray-900" }, Nu = { class: "mt-2" }, Vu = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
5247
- function Bu(e, r, s, n, o, a) {
5248
- return s.isOpen ? (d(), u("div", Ou, [
5249
- t("div", Pu, [
5280
+ }, "​", -1), ju = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Eu = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Lu = { class: "sm:flex sm:items-start" }, Tu = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Mu = { class: "text-lg font-medium leading-6 text-gray-900" }, Iu = { class: "mt-2" }, Nu = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
5281
+ function Vu(e, r, s, n, o, a) {
5282
+ return s.isOpen ? (d(), u("div", Du, [
5283
+ t("div", Ou, [
5284
+ Pu,
5250
5285
  Au,
5251
- ju,
5252
- t("div", Eu, [
5253
- t("div", Tu, [
5286
+ t("div", ju, [
5287
+ t("div", Eu, [
5254
5288
  t("div", Lu, [
5255
- t("div", Mu, [
5256
- t("h3", Iu, f(s.title), 1),
5257
- t("div", Nu, [
5289
+ t("div", Tu, [
5290
+ t("h3", Mu, h(s.title), 1),
5291
+ t("div", Iu, [
5258
5292
  M(e.$slots, "default")
5259
5293
  ])
5260
5294
  ])
5261
5295
  ])
5262
5296
  ]),
5263
- t("div", Vu, [
5297
+ t("div", Nu, [
5264
5298
  t("button", {
5265
5299
  onClick: r[0] || (r[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
5266
5300
  type: "button",
5267
5301
  class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
5268
- }, f(s.button_text), 1),
5302
+ }, h(s.button_text), 1),
5269
5303
  t("button", {
5270
5304
  onClick: r[1] || (r[1] = (...i) => a.cancelAction && a.cancelAction(...i)),
5271
5305
  type: "button",
@@ -5276,10 +5310,10 @@ function Bu(e, r, s, n, o, a) {
5276
5310
  ])
5277
5311
  ])) : g("", !0);
5278
5312
  }
5279
- const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu = { class: "mb-2 flex justify-between items-center" }, Fu = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Ru = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, qu = { class: "overflow-auto max-h-32" }, Hu = { class: "text-sm text-gray-500 dark:text-gray-400" }, zu = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Zu = {
5313
+ const Qc = /* @__PURE__ */ O(Su, [["render", Vu]]), Bu = { class: "w-full" }, Gu = { class: "mb-2 flex justify-between items-center" }, Uu = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Fu = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Ru = { class: "overflow-auto max-h-32" }, qu = { class: "text-sm text-gray-500 dark:text-gray-400" }, Hu = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, zu = {
5280
5314
  key: 0,
5281
5315
  class: "inline-flex items-center"
5282
- }, Ku = /* @__PURE__ */ t("svg", {
5316
+ }, Zu = /* @__PURE__ */ t("svg", {
5283
5317
  class: "w-3 h-3 me-2",
5284
5318
  "aria-hidden": "true",
5285
5319
  xmlns: "http://www.w3.org/2000/svg",
@@ -5287,13 +5321,13 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5287
5321
  viewBox: "0 0 18 20"
5288
5322
  }, [
5289
5323
  /* @__PURE__ */ t("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" })
5290
- ], -1), Wu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold" }, "Copy", -1), Yu = [
5291
- Ku,
5292
- Wu
5293
- ], Xu = {
5324
+ ], -1), Ku = /* @__PURE__ */ t("span", { class: "text-xs font-semibold" }, "Copy", -1), Wu = [
5325
+ Zu,
5326
+ Ku
5327
+ ], Yu = {
5294
5328
  key: 1,
5295
5329
  class: "inline-flex items-center"
5296
- }, Ju = /* @__PURE__ */ t("svg", {
5330
+ }, Xu = /* @__PURE__ */ t("svg", {
5297
5331
  class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
5298
5332
  "aria-hidden": "true",
5299
5333
  xmlns: "http://www.w3.org/2000/svg",
@@ -5307,10 +5341,10 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5307
5341
  "stroke-width": "2",
5308
5342
  d: "M1 5.917 5.724 10.5 15 1.5"
5309
5343
  })
5310
- ], -1), Qu = /* @__PURE__ */ t("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), ec = [
5311
- Ju,
5312
- Qu
5313
- ], tc = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, t0 = {
5344
+ ], -1), Ju = /* @__PURE__ */ t("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), Qu = [
5345
+ Xu,
5346
+ Ju
5347
+ ], ec = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, e0 = {
5314
5348
  __name: "GlCodeCopy",
5315
5349
  props: {
5316
5350
  label_name: {
@@ -5335,29 +5369,29 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5335
5369
  }).catch(function(i) {
5336
5370
  console.error("Error copying to clipboard: ", i);
5337
5371
  });
5338
- }, o = L(() => r.code);
5339
- return (a, i) => (d(), u("div", Gu, [
5340
- t("div", Uu, [
5341
- t("p", Fu, f(e.label_name), 1)
5372
+ }, o = E(() => r.code);
5373
+ return (a, i) => (d(), u("div", Bu, [
5374
+ t("div", Gu, [
5375
+ t("p", Uu, h(e.label_name), 1)
5342
5376
  ]),
5343
- t("div", Ru, [
5344
- t("div", qu, [
5345
- t("code", Hu, f(o.value), 1)
5377
+ t("div", Fu, [
5378
+ t("div", Ru, [
5379
+ t("code", qu, h(o.value), 1)
5346
5380
  ]),
5347
- t("div", zu, [
5381
+ t("div", Hu, [
5348
5382
  t("button", {
5349
5383
  onClick: i[0] || (i[0] = (l) => n(o.value)),
5350
5384
  class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
5351
5385
  }, [
5352
- s.value ? g("", !0) : (d(), u("span", Zu, Yu)),
5353
- s.value ? (d(), u("span", Xu, ec)) : g("", !0)
5386
+ s.value ? g("", !0) : (d(), u("span", zu, Wu)),
5387
+ s.value ? (d(), u("span", Yu, Qu)) : g("", !0)
5354
5388
  ])
5355
5389
  ])
5356
5390
  ]),
5357
- t("p", tc, f(e.description), 1)
5391
+ t("p", ec, h(e.description), 1)
5358
5392
  ]));
5359
5393
  }
5360
- }, rc = { class: "w-full" }, sc = { class: "flex justify-between items-center" }, ac = { class: "gl-label-form" }, nc = { class: "flex items-center" }, oc = { class: "flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, lc = { class: "relative w-full" }, ic = ["value"], dc = { key: 0 }, uc = /* @__PURE__ */ t("svg", {
5394
+ }, tc = { class: "w-full" }, rc = { class: "flex justify-between items-center" }, sc = { class: "gl-label-form" }, ac = { class: "flex items-center" }, nc = { class: "flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, oc = { class: "relative w-full" }, lc = ["value"], ic = { key: 0 }, dc = /* @__PURE__ */ t("svg", {
5361
5395
  class: "w-4 h-4",
5362
5396
  "aria-hidden": "true",
5363
5397
  xmlns: "http://www.w3.org/2000/svg",
@@ -5365,12 +5399,12 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5365
5399
  viewBox: "0 0 18 20"
5366
5400
  }, [
5367
5401
  /* @__PURE__ */ t("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" })
5368
- ], -1), cc = [
5369
- uc
5370
- ], gc = {
5402
+ ], -1), uc = [
5403
+ dc
5404
+ ], cc = {
5371
5405
  key: 1,
5372
5406
  class: "inline-flex items-center"
5373
- }, fc = /* @__PURE__ */ t("svg", {
5407
+ }, gc = /* @__PURE__ */ t("svg", {
5374
5408
  class: "w-4 h-4",
5375
5409
  "aria-hidden": "true",
5376
5410
  xmlns: "http://www.w3.org/2000/svg",
@@ -5384,9 +5418,9 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5384
5418
  "stroke-width": "2",
5385
5419
  d: "M1 5.917 5.724 10.5 15 1.5"
5386
5420
  })
5387
- ], -1), hc = [
5388
- fc
5389
- ], mc = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, r0 = {
5421
+ ], -1), fc = [
5422
+ gc
5423
+ ], hc = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, t0 = {
5390
5424
  __name: "GlTextCopy",
5391
5425
  props: {
5392
5426
  label_name: {
@@ -5415,14 +5449,14 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5415
5449
  }).catch(function(i) {
5416
5450
  console.error("Error copying to clipboard: ", i);
5417
5451
  });
5418
- }, o = L(() => r.code);
5419
- return (a, i) => (d(), u("div", rc, [
5420
- t("div", sc, [
5421
- t("label", ac, f(e.label_name), 1)
5452
+ }, o = E(() => r.code);
5453
+ return (a, i) => (d(), u("div", tc, [
5454
+ t("div", rc, [
5455
+ t("label", sc, h(e.label_name), 1)
5422
5456
  ]),
5423
- t("div", nc, [
5424
- t("span", oc, f(e.text_name), 1),
5425
- t("div", lc, [
5457
+ t("div", ac, [
5458
+ t("span", nc, h(e.text_name), 1),
5459
+ t("div", oc, [
5426
5460
  t("input", {
5427
5461
  type: "text",
5428
5462
  "aria-describedby": "helper-text-explanation",
@@ -5430,7 +5464,7 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5430
5464
  value: o.value,
5431
5465
  readonly: "",
5432
5466
  disabled: ""
5433
- }, null, 8, ic)
5467
+ }, null, 8, lc)
5434
5468
  ]),
5435
5469
  t("button", {
5436
5470
  style: { padding: ".61rem" },
@@ -5438,56 +5472,56 @@ const e0 = /* @__PURE__ */ O(Du, [["render", Bu]]), Gu = { class: "w-full" }, Uu
5438
5472
  class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
5439
5473
  type: "button"
5440
5474
  }, [
5441
- s.value ? g("", !0) : (d(), u("span", dc, cc)),
5442
- s.value ? (d(), u("span", gc, hc)) : g("", !0)
5475
+ s.value ? g("", !0) : (d(), u("span", ic, uc)),
5476
+ s.value ? (d(), u("span", cc, fc)) : g("", !0)
5443
5477
  ])
5444
5478
  ]),
5445
- t("p", mc, f(e.description), 1)
5479
+ t("p", hc, h(e.description), 1)
5446
5480
  ]));
5447
5481
  }
5448
5482
  };
5449
5483
  export {
5450
- Yc as DatatableStatusTextLabelGeneral,
5451
- Qc as GLDatatableCommand,
5452
- Xc as GLDatatableDateTime,
5453
- Jc as GLDatatableStatusServer,
5454
- Vc as GlAccordion,
5455
- Nc as GlAccordionsWrapper,
5456
- wc as GlButton,
5457
- vc as GlCard,
5458
- t0 as GlCodeCopy,
5459
- e0 as GlConfirmationModal,
5460
- Ic as GlDataTable,
5484
+ Wc as DatatableStatusTextLabelGeneral,
5485
+ Jc as GLDatatableCommand,
5486
+ Yc as GLDatatableDateTime,
5487
+ Xc as GLDatatableStatusServer,
5488
+ Nc as GlAccordion,
5489
+ Ic as GlAccordionsWrapper,
5490
+ xc as GlButton,
5491
+ _c as GlCard,
5492
+ e0 as GlCodeCopy,
5493
+ Qc as GlConfirmationModal,
5494
+ Mc as GlDataTable,
5461
5495
  Lc as GlDataTableServerSide,
5462
- Mc as GlDataTableServerSideGroupBy,
5463
- Gc as GlDatatableAction,
5464
- Uc as GlDatatableDeleteAction,
5465
- Fc as GlDatatableFileDownload,
5466
- Rc as GlDatatableFiles,
5467
- qc as GlDatatableHtml,
5468
- Hc as GlDatatableList,
5469
- zc as GlDatatablePicture,
5470
- Zc as GlDatatableStatus,
5471
- Kc as GlDatatableStatusGeneral,
5472
- Wc as GlDatatableStatusSpecficColor,
5496
+ Tc as GlDataTableServerSideGroupBy,
5497
+ Bc as GlDatatableAction,
5498
+ Gc as GlDatatableDeleteAction,
5499
+ Uc as GlDatatableFileDownload,
5500
+ Fc as GlDatatableFiles,
5501
+ Rc as GlDatatableHtml,
5502
+ qc as GlDatatableList,
5503
+ Hc as GlDatatablePicture,
5504
+ zc as GlDatatableStatus,
5505
+ Zc as GlDatatableStatusGeneral,
5506
+ Kc as GlDatatableStatusSpecficColor,
5473
5507
  we as GlDeleteConfirmationModal,
5474
- Ec as GlDropdown,
5475
- pc as GlFilesUpload,
5476
- _c as GlLanguageSelector,
5477
- Ac as GlModal,
5478
- Pc as GlMultiItemSlide,
5479
- xc as GlMultiSelectDropdown,
5480
- yc as GlNotify,
5481
- Oc as GlTab,
5482
- Dc as GlTabsWrapper,
5508
+ jc as GlDropdown,
5509
+ bc as GlFilesUpload,
5510
+ yc as GlLanguageSelector,
5511
+ Pc as GlModal,
5512
+ Oc as GlMultiItemSlide,
5513
+ vc as GlMultiSelectDropdown,
5514
+ pc as GlNotify,
5515
+ Dc as GlTab,
5516
+ Sc as GlTabsWrapper,
5483
5517
  et as GlTailwindPagination,
5484
- r0 as GlTextCopy,
5485
- Sc as GlTextInput,
5486
- Cc as GlTextTranslate,
5487
- Tc as GlTextarea,
5488
- kc as GlTextareaTranslate,
5489
- $c as GlTinymceTranslate,
5518
+ t0 as GlTextCopy,
5519
+ Cc as GlTextInput,
5520
+ $c as GlTextTranslate,
5521
+ Ec as GlTextarea,
5522
+ wc as GlTextareaTranslate,
5523
+ kc as GlTinymceTranslate,
5490
5524
  Ee as GlToast,
5491
- Bc as GlToastList,
5492
- jc as GlToggleBox
5525
+ Vc as GlToastList,
5526
+ Ac as GlToggleBox
5493
5527
  };