golden-logic-ui 1.0.91 → 1.0.92

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,9 +1,9 @@
1
- import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Qe, inject as Ce, watch as Y, effectScope as et, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as h, withModifiers as N, withDirectives as D, vModelText as L, renderList as $, normalizeStyle as tt, renderSlot as T, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as S, onMounted as R, vModelDynamic as rt, provide as st, pushScopeId as at, popScopeId as nt, vModelCheckbox as ot, nextTick as lt, isRef as it, unref as De, toHandlers as ae, TransitionGroup as dt, resolveDirective as Oe, markRaw as ut } from "vue";
1
+ import { openBlock as d, createElementBlock as u, createElementVNode as r, createCommentVNode as f, createStaticVNode as Qe, inject as Se, watch as Y, effectScope as et, computed as L, reactive as De, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as h, withModifiers as N, withDirectives as D, vModelText as V, renderList as C, normalizeStyle as tt, renderSlot as T, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as $, onMounted as R, vModelDynamic as rt, provide as st, pushScopeId as at, popScopeId as nt, vModelCheckbox as ot, nextTick as lt, isRef as it, unref as Oe, toHandlers as ae, TransitionGroup as dt, resolveDirective as ue, markRaw as ut } from "vue";
2
2
  const k = (e, t) => {
3
- const r = e.__vccOpts || e;
3
+ const s = e.__vccOpts || e;
4
4
  for (const [n, o] of t)
5
- r[n] = o;
6
- return r;
5
+ s[n] = o;
6
+ return s;
7
7
  }, ct = {
8
8
  props: ["isOpen"],
9
9
  methods: {
@@ -20,27 +20,27 @@ const k = (e, t) => {
20
20
  "aria-labelledby": "modal-title",
21
21
  role: "dialog",
22
22
  "aria-modal": "true"
23
- }, gt = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, ht = /* @__PURE__ */ s("div", {
23
+ }, gt = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, ht = /* @__PURE__ */ r("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__ */ s("span", {
26
+ }, null, -1), mt = /* @__PURE__ */ r("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__ */ Qe('<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, t, r, n, o, a) {
31
- return r.isOpen ? (d(), u("div", ft, [
32
- s("div", gt, [
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__ */ Qe('<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 yt(e, t, s, n, o, a) {
31
+ return s.isOpen ? (d(), u("div", ft, [
32
+ r("div", gt, [
33
33
  ht,
34
34
  mt,
35
- s("div", bt, [
35
+ r("div", bt, [
36
36
  pt,
37
- s("div", yt, [
38
- s("button", {
37
+ r("div", _t, [
38
+ r("button", {
39
39
  onClick: t[0] || (t[0] = (...i) => a.confirmDeletion && a.confirmDeletion(...i)),
40
40
  type: "button",
41
41
  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"
42
42
  }, " Delete "),
43
- s("button", {
43
+ r("button", {
44
44
  onClick: t[1] || (t[1] = (...i) => a.cancelDeletion && a.cancelDeletion(...i)),
45
45
  type: "button",
46
46
  class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
@@ -50,7 +50,7 @@ function _t(e, t, r, n, o, a) {
50
50
  ])
51
51
  ])) : f("", !0);
52
52
  }
53
- const ue = /* @__PURE__ */ k(ct, [["render", _t]]);
53
+ const ce = /* @__PURE__ */ k(ct, [["render", yt]]);
54
54
  function vt() {
55
55
  return Pe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
56
56
  }
@@ -58,17 +58,17 @@ function Pe() {
58
58
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
59
59
  }
60
60
  const xt = typeof Proxy == "function", wt = "devtools-plugin:setup", kt = "plugin:settings:set";
61
- let z, le;
61
+ let H, le;
62
62
  function $t() {
63
63
  var e;
64
- return z !== void 0 || (typeof window < "u" && window.performance ? (z = !0, le = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (z = !0, le = globalThis.perf_hooks.performance) : z = !1), z;
64
+ return H !== void 0 || (typeof window < "u" && window.performance ? (H = !0, le = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (H = !0, le = globalThis.perf_hooks.performance) : H = !1), H;
65
65
  }
66
66
  function Ct() {
67
67
  return $t() ? le.now() : Date.now();
68
68
  }
69
69
  class St {
70
- constructor(t, r) {
71
- this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = r;
70
+ constructor(t, s) {
71
+ this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = s;
72
72
  const n = {};
73
73
  if (t.settings)
74
74
  for (const i in t.settings) {
@@ -96,7 +96,7 @@ class St {
96
96
  now() {
97
97
  return Ct();
98
98
  }
99
- }, r && r.on(kt, (i, l) => {
99
+ }, s && s.on(kt, (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) => {
@@ -122,20 +122,20 @@ class St {
122
122
  }
123
123
  async setRealTarget(t) {
124
124
  this.target = t;
125
- for (const r of this.onQueue)
126
- this.target.on[r.method](...r.args);
127
- for (const r of this.targetQueue)
128
- r.resolve(await this.target[r.method](...r.args));
125
+ for (const s of this.onQueue)
126
+ this.target.on[s.method](...s.args);
127
+ for (const s of this.targetQueue)
128
+ s.resolve(await this.target[s.method](...s.args));
129
129
  }
130
130
  }
131
131
  function Dt(e, t) {
132
- const r = e, n = Pe(), o = vt(), a = xt && r.enableEarlyProxy;
132
+ const s = e, n = Pe(), o = vt(), a = xt && s.enableEarlyProxy;
133
133
  if (o && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
134
134
  o.emit(wt, e, t);
135
135
  else {
136
- const i = a ? new St(r, o) : null;
136
+ const i = a ? new St(s, o) : null;
137
137
  (n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({
138
- pluginDescriptor: r,
138
+ pluginDescriptor: s,
139
139
  setupFn: t,
140
140
  proxy: i
141
141
  }), i && t(i.proxiedTarget);
@@ -148,11 +148,11 @@ function Dt(e, t) {
148
148
  */
149
149
  var Ee = "store";
150
150
  function Ae(e) {
151
- return e === void 0 && (e = null), Ce(e !== null ? e : Ee);
151
+ return e === void 0 && (e = null), Se(e !== null ? e : Ee);
152
152
  }
153
153
  function U(e, t) {
154
- Object.keys(e).forEach(function(r) {
155
- return t(e[r], r);
154
+ Object.keys(e).forEach(function(s) {
155
+ return t(e[s], s);
156
156
  });
157
157
  }
158
158
  function je(e) {
@@ -170,24 +170,24 @@ function Pt(e, t) {
170
170
  return e(t);
171
171
  };
172
172
  }
173
- function Te(e, t, r) {
174
- return t.indexOf(e) < 0 && (r && r.prepend ? t.unshift(e) : t.push(e)), function() {
173
+ function Te(e, t, s) {
174
+ return t.indexOf(e) < 0 && (s && s.prepend ? t.unshift(e) : t.push(e)), function() {
175
175
  var n = t.indexOf(e);
176
176
  n > -1 && t.splice(n, 1);
177
177
  };
178
178
  }
179
179
  function Ie(e, t) {
180
180
  e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
181
- var r = e.state;
182
- ee(e, r, [], e._modules.root, !0), ce(e, r, t);
181
+ var s = e.state;
182
+ ee(e, s, [], e._modules.root, !0), fe(e, s, t);
183
183
  }
184
- function ce(e, t, r) {
184
+ function fe(e, t, s) {
185
185
  var n = e._state, o = e._scope;
186
186
  e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
187
187
  var a = e._wrappedGetters, i = {}, l = {}, c = et(!0);
188
188
  c.run(function() {
189
189
  U(a, function(g, m) {
190
- i[m] = Pt(g, e), l[m] = G(function() {
190
+ i[m] = Pt(g, e), l[m] = L(function() {
191
191
  return i[m]();
192
192
  }), Object.defineProperty(e.getters, m, {
193
193
  get: function() {
@@ -197,37 +197,37 @@ function ce(e, t, r) {
197
197
  // for local getters
198
198
  });
199
199
  });
200
- }), e._state = Se({
200
+ }), e._state = De({
201
201
  data: t
202
- }), e._scope = c, e.strict && It(e), n && r && e._withCommit(function() {
202
+ }), e._scope = c, e.strict && It(e), n && s && e._withCommit(function() {
203
203
  n.data = null;
204
204
  }), o && o.stop();
205
205
  }
206
- function ee(e, t, r, n, o) {
207
- var a = !r.length, i = e._modules.getNamespace(r);
208
- if (n.namespaced && (e._modulesNamespaceMap[i] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + i + " for the namespaced module " + r.join("/")), e._modulesNamespaceMap[i] = n), !a && !o) {
209
- var l = fe(t, r.slice(0, -1)), c = r[r.length - 1];
206
+ function ee(e, t, s, n, o) {
207
+ var a = !s.length, i = e._modules.getNamespace(s);
208
+ if (n.namespaced && (e._modulesNamespaceMap[i] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + i + " for the namespaced module " + s.join("/")), e._modulesNamespaceMap[i] = n), !a && !o) {
209
+ var l = ge(t, s.slice(0, -1)), c = s[s.length - 1];
210
210
  e._withCommit(function() {
211
211
  process.env.NODE_ENV !== "production" && c in l && console.warn(
212
- '[vuex] state field "' + c + '" was overridden by a module with the same name at "' + r.join(".") + '"'
212
+ '[vuex] state field "' + c + '" was overridden by a module with the same name at "' + s.join(".") + '"'
213
213
  ), l[c] = n.state;
214
214
  });
215
215
  }
216
- var g = n.context = Et(e, i, r);
216
+ var g = n.context = Et(e, i, s);
217
217
  n.forEachMutation(function(m, y) {
218
218
  var x = i + y;
219
219
  At(e, x, m, g);
220
220
  }), n.forEachAction(function(m, y) {
221
- var x = m.root ? y : i + y, C = m.handler || m;
222
- jt(e, x, C, g);
221
+ var x = m.root ? y : i + y, S = m.handler || m;
222
+ jt(e, x, S, g);
223
223
  }), n.forEachGetter(function(m, y) {
224
224
  var x = i + y;
225
225
  Tt(e, x, m, g);
226
226
  }), n.forEachChild(function(m, y) {
227
- ee(e, t, r.concat(y), m, o);
227
+ ee(e, t, s.concat(y), m, o);
228
228
  });
229
229
  }
230
- function Et(e, t, r) {
230
+ function Et(e, t, s) {
231
231
  var n = t === "", o = {
232
232
  dispatch: n ? e.dispatch : function(a, i, l) {
233
233
  var c = Q(a, i, l), g = c.payload, m = c.options, y = c.type;
@@ -256,38 +256,38 @@ function Et(e, t, r) {
256
256
  },
257
257
  state: {
258
258
  get: function() {
259
- return fe(e.state, r);
259
+ return ge(e.state, s);
260
260
  }
261
261
  }
262
262
  }), o;
263
263
  }
264
264
  function Me(e, t) {
265
265
  if (!e._makeLocalGettersCache[t]) {
266
- var r = {}, n = t.length;
266
+ var s = {}, n = t.length;
267
267
  Object.keys(e.getters).forEach(function(o) {
268
268
  if (o.slice(0, n) === t) {
269
269
  var a = o.slice(n);
270
- Object.defineProperty(r, a, {
270
+ Object.defineProperty(s, a, {
271
271
  get: function() {
272
272
  return e.getters[o];
273
273
  },
274
274
  enumerable: !0
275
275
  });
276
276
  }
277
- }), e._makeLocalGettersCache[t] = r;
277
+ }), e._makeLocalGettersCache[t] = s;
278
278
  }
279
279
  return e._makeLocalGettersCache[t];
280
280
  }
281
- function At(e, t, r, n) {
281
+ function At(e, t, s, n) {
282
282
  var o = e._mutations[t] || (e._mutations[t] = []);
283
283
  o.push(function(i) {
284
- r.call(e, n.state, i);
284
+ s.call(e, n.state, i);
285
285
  });
286
286
  }
287
- function jt(e, t, r, n) {
287
+ function jt(e, t, s, n) {
288
288
  var o = e._actions[t] || (e._actions[t] = []);
289
289
  o.push(function(i) {
290
- var l = r.call(e, {
290
+ var l = s.call(e, {
291
291
  dispatch: n.dispatch,
292
292
  commit: n.commit,
293
293
  getters: n.getters,
@@ -300,13 +300,13 @@ function jt(e, t, r, n) {
300
300
  }) : l;
301
301
  });
302
302
  }
303
- function Tt(e, t, r, n) {
303
+ function Tt(e, t, s, n) {
304
304
  if (e._wrappedGetters[t]) {
305
305
  process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + t);
306
306
  return;
307
307
  }
308
308
  e._wrappedGetters[t] = function(a) {
309
- return r(
309
+ return s(
310
310
  n.state,
311
311
  // local state
312
312
  n.getters,
@@ -325,16 +325,16 @@ function It(e) {
325
325
  process.env.NODE_ENV !== "production" && I(e._committing, "do not mutate vuex store state outside mutation handlers.");
326
326
  }, { deep: !0, flush: "sync" });
327
327
  }
328
- function fe(e, t) {
329
- return t.reduce(function(r, n) {
330
- return r[n];
328
+ function ge(e, t) {
329
+ return t.reduce(function(s, n) {
330
+ return s[n];
331
331
  }, e);
332
332
  }
333
- function Q(e, t, r) {
334
- return je(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && I(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
333
+ function Q(e, t, s) {
334
+ return je(e) && e.type && (s = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && I(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: s };
335
335
  }
336
- var Mt = "vuex bindings", ve = "vuex:mutations", ne = "vuex:actions", H = "vuex", Nt = 0;
337
- function Lt(e, t) {
336
+ var Mt = "vuex bindings", xe = "vuex:mutations", ne = "vuex:actions", z = "vuex", Nt = 0;
337
+ function Vt(e, t) {
338
338
  Dt(
339
339
  {
340
340
  id: "org.vuejs.vuex",
@@ -345,31 +345,31 @@ function Lt(e, t) {
345
345
  packageName: "vuex",
346
346
  componentStateTypes: [Mt]
347
347
  },
348
- function(r) {
349
- r.addTimelineLayer({
350
- id: ve,
348
+ function(s) {
349
+ s.addTimelineLayer({
350
+ id: xe,
351
351
  label: "Vuex Mutations",
352
- color: xe
353
- }), r.addTimelineLayer({
352
+ color: we
353
+ }), s.addTimelineLayer({
354
354
  id: ne,
355
355
  label: "Vuex Actions",
356
- color: xe
357
- }), r.addInspector({
358
- id: H,
356
+ color: we
357
+ }), s.addInspector({
358
+ id: z,
359
359
  label: "Vuex",
360
360
  icon: "storage",
361
361
  treeFilterPlaceholder: "Filter stores..."
362
- }), r.on.getInspectorTree(function(n) {
363
- if (n.app === e && n.inspectorId === H)
362
+ }), s.on.getInspectorTree(function(n) {
363
+ if (n.app === e && n.inspectorId === z)
364
364
  if (n.filter) {
365
365
  var o = [];
366
366
  Be(o, t._modules.root, n.filter, ""), n.rootNodes = o;
367
367
  } else
368
368
  n.rootNodes = [
369
- Ve(t._modules.root, "")
369
+ Le(t._modules.root, "")
370
370
  ];
371
- }), r.on.getInspectorState(function(n) {
372
- if (n.app === e && n.inspectorId === H) {
371
+ }), s.on.getInspectorState(function(n) {
372
+ if (n.app === e && n.inspectorId === z) {
373
373
  var o = n.nodeId;
374
374
  Me(t, o), n.state = Gt(
375
375
  Rt(t._modules, o),
@@ -377,8 +377,8 @@ function Lt(e, t) {
377
377
  o
378
378
  );
379
379
  }
380
- }), r.on.editInspectorState(function(n) {
381
- if (n.app === e && n.inspectorId === H) {
380
+ }), s.on.editInspectorState(function(n) {
381
+ if (n.app === e && n.inspectorId === z) {
382
382
  var o = n.nodeId, a = n.path;
383
383
  o !== "root" && (a = o.split("/").filter(Boolean).concat(a)), t._withCommit(function() {
384
384
  n.set(t._state.data, a, n.state.value);
@@ -386,8 +386,8 @@ function Lt(e, t) {
386
386
  }
387
387
  }), t.subscribe(function(n, o) {
388
388
  var a = {};
389
- n.payload && (a.payload = n.payload), a.state = o, r.notifyComponentUpdate(), r.sendInspectorTree(H), r.sendInspectorState(H), r.addTimelineEvent({
390
- layerId: ve,
389
+ n.payload && (a.payload = n.payload), a.state = o, s.notifyComponentUpdate(), s.sendInspectorTree(z), s.sendInspectorState(z), s.addTimelineEvent({
390
+ layerId: xe,
391
391
  event: {
392
392
  time: Date.now(),
393
393
  title: n.type,
@@ -397,7 +397,7 @@ function Lt(e, t) {
397
397
  }), t.subscribeAction({
398
398
  before: function(n, o) {
399
399
  var a = {};
400
- n.payload && (a.payload = n.payload), n._id = Nt++, n._time = Date.now(), a.state = o, r.addTimelineEvent({
400
+ n.payload && (a.payload = n.payload), n._id = Nt++, n._time = Date.now(), a.state = o, s.addTimelineEvent({
401
401
  layerId: ne,
402
402
  event: {
403
403
  time: n._time,
@@ -417,7 +417,7 @@ function Lt(e, t) {
417
417
  tooltip: "Action duration",
418
418
  value: i
419
419
  }
420
- }, n.payload && (a.payload = n.payload), a.state = o, r.addTimelineEvent({
420
+ }, n.payload && (a.payload = n.payload), a.state = o, s.addTimelineEvent({
421
421
  layerId: ne,
422
422
  event: {
423
423
  time: Date.now(),
@@ -432,43 +432,43 @@ function Lt(e, t) {
432
432
  }
433
433
  );
434
434
  }
435
- var xe = 8702998, Vt = 6710886, Bt = 16777215, Ne = {
435
+ var we = 8702998, Lt = 6710886, Bt = 16777215, Ne = {
436
436
  label: "namespaced",
437
437
  textColor: Bt,
438
- backgroundColor: Vt
438
+ backgroundColor: Lt
439
439
  };
440
- function Le(e) {
440
+ function Ve(e) {
441
441
  return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
442
442
  }
443
- function Ve(e, t) {
443
+ function Le(e, t) {
444
444
  return {
445
445
  id: t || "root",
446
446
  // all modules end with a `/`, we want the last segment only
447
447
  // cart/ -> cart
448
448
  // nested/cart/ -> cart
449
- label: Le(t),
449
+ label: Ve(t),
450
450
  tags: e.namespaced ? [Ne] : [],
451
451
  children: Object.keys(e._children).map(
452
- function(r) {
453
- return Ve(
454
- e._children[r],
455
- t + r + "/"
452
+ function(s) {
453
+ return Le(
454
+ e._children[s],
455
+ t + s + "/"
456
456
  );
457
457
  }
458
458
  )
459
459
  };
460
460
  }
461
- function Be(e, t, r, n) {
462
- n.includes(r) && e.push({
461
+ function Be(e, t, s, n) {
462
+ n.includes(s) && e.push({
463
463
  id: n || "root",
464
464
  label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
465
465
  tags: t.namespaced ? [Ne] : []
466
466
  }), Object.keys(t._children).forEach(function(o) {
467
- Be(e, t._children[o], r, n + o + "/");
467
+ Be(e, t._children[o], s, n + o + "/");
468
468
  });
469
469
  }
470
- function Gt(e, t, r) {
471
- t = r === "root" ? t : t[r];
470
+ function Gt(e, t, s) {
471
+ t = s === "root" ? t : t[s];
472
472
  var n = Object.keys(t), o = {
473
473
  state: Object.keys(e.state).map(function(i) {
474
474
  return {
@@ -482,7 +482,7 @@ function Gt(e, t, r) {
482
482
  var a = Ft(t);
483
483
  o.getters = Object.keys(a).map(function(i) {
484
484
  return {
485
- key: i.endsWith("/") ? Le(i) : i,
485
+ key: i.endsWith("/") ? Ve(i) : i,
486
486
  editable: !1,
487
487
  value: ie(function() {
488
488
  return a[i];
@@ -494,8 +494,8 @@ function Gt(e, t, r) {
494
494
  }
495
495
  function Ft(e) {
496
496
  var t = {};
497
- return Object.keys(e).forEach(function(r) {
498
- var n = r.split("/");
497
+ return Object.keys(e).forEach(function(s) {
498
+ var n = s.split("/");
499
499
  if (n.length > 1) {
500
500
  var o = t, a = n.pop();
501
501
  n.forEach(function(i) {
@@ -508,24 +508,24 @@ function Ft(e) {
508
508
  }
509
509
  }), o = o[i]._custom.value;
510
510
  }), o[a] = ie(function() {
511
- return e[r];
511
+ return e[s];
512
512
  });
513
513
  } else
514
- t[r] = ie(function() {
515
- return e[r];
514
+ t[s] = ie(function() {
515
+ return e[s];
516
516
  });
517
517
  }), t;
518
518
  }
519
519
  function Rt(e, t) {
520
- var r = t.split("/").filter(function(n) {
520
+ var s = t.split("/").filter(function(n) {
521
521
  return n;
522
522
  });
523
- return r.reduce(
523
+ return s.reduce(
524
524
  function(n, o, a) {
525
525
  var i = n[o];
526
526
  if (!i)
527
527
  throw new Error('Missing module "' + o + '" for path "' + t + '".');
528
- return a === r.length - 1 ? i : i._children;
528
+ return a === s.length - 1 ? i : i._children;
529
529
  },
530
530
  t === "root" ? e : e.root._children
531
531
  );
@@ -537,16 +537,16 @@ function ie(e) {
537
537
  return t;
538
538
  }
539
539
  }
540
- var M = function(t, r) {
541
- this.runtime = r, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = t;
540
+ var M = function(t, s) {
541
+ this.runtime = s, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = t;
542
542
  var n = t.state;
543
543
  this.state = (typeof n == "function" ? n() : n) || {};
544
544
  }, Ge = { namespaced: { configurable: !0 } };
545
545
  Ge.namespaced.get = function() {
546
546
  return !!this._rawModule.namespaced;
547
547
  };
548
- M.prototype.addChild = function(t, r) {
549
- this._children[t] = r;
548
+ M.prototype.addChild = function(t, s) {
549
+ this._children[t] = s;
550
550
  };
551
551
  M.prototype.removeChild = function(t) {
552
552
  delete this._children[t];
@@ -577,50 +577,50 @@ var q = function(t) {
577
577
  this.register([], t, !1);
578
578
  };
579
579
  q.prototype.get = function(t) {
580
- return t.reduce(function(r, n) {
581
- return r.getChild(n);
580
+ return t.reduce(function(s, n) {
581
+ return s.getChild(n);
582
582
  }, this.root);
583
583
  };
584
584
  q.prototype.getNamespace = function(t) {
585
- var r = this.root;
585
+ var s = this.root;
586
586
  return t.reduce(function(n, o) {
587
- return r = r.getChild(o), n + (r.namespaced ? o + "/" : "");
587
+ return s = s.getChild(o), n + (s.namespaced ? o + "/" : "");
588
588
  }, "");
589
589
  };
590
590
  q.prototype.update = function(t) {
591
591
  Fe([], this.root, t);
592
592
  };
593
- q.prototype.register = function(t, r, n) {
593
+ q.prototype.register = function(t, s, n) {
594
594
  var o = this;
595
- n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Re(t, r);
596
- var a = new M(r, n);
595
+ n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Re(t, s);
596
+ var a = new M(s, n);
597
597
  if (t.length === 0)
598
598
  this.root = a;
599
599
  else {
600
600
  var i = this.get(t.slice(0, -1));
601
601
  i.addChild(t[t.length - 1], a);
602
602
  }
603
- r.modules && U(r.modules, function(l, c) {
603
+ s.modules && U(s.modules, function(l, c) {
604
604
  o.register(t.concat(c), l, n);
605
605
  });
606
606
  };
607
607
  q.prototype.unregister = function(t) {
608
- var r = this.get(t.slice(0, -1)), n = t[t.length - 1], o = r.getChild(n);
608
+ var s = this.get(t.slice(0, -1)), n = t[t.length - 1], o = s.getChild(n);
609
609
  if (!o) {
610
610
  process.env.NODE_ENV !== "production" && console.warn(
611
611
  "[vuex] trying to unregister module '" + n + "', which is not registered"
612
612
  );
613
613
  return;
614
614
  }
615
- o.runtime && r.removeChild(n);
615
+ o.runtime && s.removeChild(n);
616
616
  };
617
617
  q.prototype.isRegistered = function(t) {
618
- var r = this.get(t.slice(0, -1)), n = t[t.length - 1];
619
- return r ? r.hasChild(n) : !1;
618
+ var s = this.get(t.slice(0, -1)), n = t[t.length - 1];
619
+ return s ? s.hasChild(n) : !1;
620
620
  };
621
- function Fe(e, t, r) {
622
- if (process.env.NODE_ENV !== "production" && Re(e, r), t.update(r), r.modules)
623
- for (var n in r.modules) {
621
+ function Fe(e, t, s) {
622
+ if (process.env.NODE_ENV !== "production" && Re(e, s), t.update(s), s.modules)
623
+ for (var n in s.modules) {
624
624
  if (!t.getChild(n)) {
625
625
  process.env.NODE_ENV !== "production" && console.warn(
626
626
  "[vuex] trying to add a new module '" + n + "' on hot reloading, manual reload is needed"
@@ -630,11 +630,11 @@ function Fe(e, t, r) {
630
630
  Fe(
631
631
  e.concat(n),
632
632
  t.getChild(n),
633
- r.modules[n]
633
+ s.modules[n]
634
634
  );
635
635
  }
636
636
  }
637
- var we = {
637
+ var ke = {
638
638
  assert: function(e) {
639
639
  return typeof e == "function";
640
640
  },
@@ -644,30 +644,30 @@ var we = {
644
644
  return typeof e == "function" || typeof e == "object" && typeof e.handler == "function";
645
645
  },
646
646
  expected: 'function or object with "handler" function'
647
- }, ke = {
648
- getters: we,
649
- mutations: we,
647
+ }, $e = {
648
+ getters: ke,
649
+ mutations: ke,
650
650
  actions: Ut
651
651
  };
652
652
  function Re(e, t) {
653
- Object.keys(ke).forEach(function(r) {
654
- if (t[r]) {
655
- var n = ke[r];
656
- U(t[r], function(o, a) {
653
+ Object.keys($e).forEach(function(s) {
654
+ if (t[s]) {
655
+ var n = $e[s];
656
+ U(t[s], function(o, a) {
657
657
  I(
658
658
  n.assert(o),
659
- qt(e, r, a, o, n.expected)
659
+ qt(e, s, a, o, n.expected)
660
660
  );
661
661
  });
662
662
  }
663
663
  });
664
664
  }
665
- function qt(e, t, r, n, o) {
666
- var a = t + " should be " + o + ' but "' + t + "." + r + '"';
665
+ function qt(e, t, s, n, o) {
666
+ var a = t + " should be " + o + ' but "' + t + "." + s + '"';
667
667
  return e.length > 0 && (a += ' in module "' + e.join(".") + '"'), a += " is " + JSON.stringify(n) + ".", a;
668
668
  }
669
669
  var A = function e(t) {
670
- var r = this;
670
+ var s = this;
671
671
  t === void 0 && (t = {}), process.env.NODE_ENV !== "production" && (I(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), I(this instanceof e, "store must be called with the new operator."));
672
672
  var n = t.plugins;
673
673
  n === void 0 && (n = []);
@@ -676,29 +676,29 @@ var A = function e(t) {
676
676
  var a = t.devtools;
677
677
  this._committing = !1, this._actions = /* @__PURE__ */ Object.create(null), this._actionSubscribers = [], this._mutations = /* @__PURE__ */ Object.create(null), this._wrappedGetters = /* @__PURE__ */ Object.create(null), this._modules = new q(t), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null), this._scope = null, this._devtools = a;
678
678
  var i = this, l = this, c = l.dispatch, g = l.commit;
679
- this.dispatch = function(x, C) {
680
- return c.call(i, x, C);
681
- }, this.commit = function(x, C, V) {
682
- return g.call(i, x, C, V);
679
+ this.dispatch = function(x, S) {
680
+ return c.call(i, x, S);
681
+ }, this.commit = function(x, S, B) {
682
+ return g.call(i, x, S, B);
683
683
  }, this.strict = o;
684
684
  var m = this._modules.root.state;
685
- ee(this, m, [], this._modules.root), ce(this, m), n.forEach(function(y) {
686
- return y(r);
685
+ ee(this, m, [], this._modules.root), fe(this, m), n.forEach(function(y) {
686
+ return y(s);
687
687
  });
688
- }, ge = { state: { configurable: !0 } };
689
- A.prototype.install = function(t, r) {
690
- t.provide(r || Ee, this), t.config.globalProperties.$store = this;
688
+ }, he = { state: { configurable: !0 } };
689
+ A.prototype.install = function(t, s) {
690
+ t.provide(s || Ee, this), t.config.globalProperties.$store = this;
691
691
  var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
692
- n && Lt(t, this);
692
+ n && Vt(t, this);
693
693
  };
694
- ge.state.get = function() {
694
+ he.state.get = function() {
695
695
  return this._state.data;
696
696
  };
697
- ge.state.set = function(e) {
697
+ he.state.set = function(e) {
698
698
  process.env.NODE_ENV !== "production" && I(!1, "use store.replaceState() to explicit replace store state.");
699
699
  };
700
- A.prototype.commit = function(t, r, n) {
701
- var o = this, a = Q(t, r, n), i = a.type, l = a.payload, c = a.options, g = { type: i, payload: l }, m = this._mutations[i];
700
+ A.prototype.commit = function(t, s, n) {
701
+ var o = this, a = Q(t, s, n), i = a.type, l = a.payload, c = a.options, g = { 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;
@@ -713,8 +713,8 @@ A.prototype.commit = function(t, r, n) {
713
713
  "[vuex] mutation type: " + i + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
714
714
  );
715
715
  };
716
- A.prototype.dispatch = function(t, r) {
717
- var n = this, o = Q(t, r), a = o.type, i = o.payload, l = { type: a, payload: i }, c = this._actions[a];
716
+ A.prototype.dispatch = function(t, s) {
717
+ var n = this, o = Q(t, s), a = o.type, i = o.payload, l = { type: a, payload: i }, c = this._actions[a];
718
718
  if (!c) {
719
719
  process.env.NODE_ENV !== "production" && console.error("[vuex] unknown action type: " + a);
720
720
  return;
@@ -734,55 +734,55 @@ A.prototype.dispatch = function(t, r) {
734
734
  return new Promise(function(m, y) {
735
735
  g.then(function(x) {
736
736
  try {
737
- n._actionSubscribers.filter(function(C) {
738
- return C.after;
739
- }).forEach(function(C) {
740
- return C.after(l, n.state);
737
+ n._actionSubscribers.filter(function(S) {
738
+ return S.after;
739
+ }).forEach(function(S) {
740
+ return S.after(l, n.state);
741
741
  });
742
- } catch (C) {
743
- process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(C));
742
+ } catch (S) {
743
+ process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(S));
744
744
  }
745
745
  m(x);
746
746
  }, function(x) {
747
747
  try {
748
- n._actionSubscribers.filter(function(C) {
749
- return C.error;
750
- }).forEach(function(C) {
751
- return C.error(l, n.state, x);
748
+ n._actionSubscribers.filter(function(S) {
749
+ return S.error;
750
+ }).forEach(function(S) {
751
+ return S.error(l, n.state, x);
752
752
  });
753
- } catch (C) {
754
- process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(C));
753
+ } catch (S) {
754
+ process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(S));
755
755
  }
756
756
  y(x);
757
757
  });
758
758
  });
759
759
  };
760
- A.prototype.subscribe = function(t, r) {
761
- return Te(t, this._subscribers, r);
760
+ A.prototype.subscribe = function(t, s) {
761
+ return Te(t, this._subscribers, s);
762
762
  };
763
- A.prototype.subscribeAction = function(t, r) {
763
+ A.prototype.subscribeAction = function(t, s) {
764
764
  var n = typeof t == "function" ? { before: t } : t;
765
- return Te(n, this._actionSubscribers, r);
765
+ return Te(n, this._actionSubscribers, s);
766
766
  };
767
- A.prototype.watch = function(t, r, n) {
767
+ A.prototype.watch = function(t, s, n) {
768
768
  var o = this;
769
769
  return process.env.NODE_ENV !== "production" && I(typeof t == "function", "store.watch only accepts a function."), Y(function() {
770
770
  return t(o.state, o.getters);
771
- }, r, Object.assign({}, n));
771
+ }, s, Object.assign({}, n));
772
772
  };
773
773
  A.prototype.replaceState = function(t) {
774
- var r = this;
774
+ var s = this;
775
775
  this._withCommit(function() {
776
- r._state.data = t;
776
+ s._state.data = t;
777
777
  });
778
778
  };
779
- A.prototype.registerModule = function(t, r, n) {
780
- n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (I(Array.isArray(t), "module path must be a string or an Array."), I(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, r), ee(this, this.state, t, this._modules.get(t), n.preserveState), ce(this, this.state);
779
+ A.prototype.registerModule = function(t, s, n) {
780
+ n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (I(Array.isArray(t), "module path must be a string or an Array."), I(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, s), ee(this, this.state, t, this._modules.get(t), n.preserveState), fe(this, this.state);
781
781
  };
782
782
  A.prototype.unregisterModule = function(t) {
783
- var r = this;
783
+ var s = this;
784
784
  typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && I(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
785
- var n = fe(r.state, t.slice(0, -1));
785
+ var n = ge(s.state, t.slice(0, -1));
786
786
  delete n[t[t.length - 1]];
787
787
  }), Ie(this);
788
788
  };
@@ -793,65 +793,65 @@ A.prototype.hotUpdate = function(t) {
793
793
  this._modules.update(t), Ie(this, !0);
794
794
  };
795
795
  A.prototype._withCommit = function(t) {
796
- var r = this._committing;
797
- this._committing = !0, t(), this._committing = r;
796
+ var s = this._committing;
797
+ this._committing = !0, t(), this._committing = s;
798
798
  };
799
- Object.defineProperties(A.prototype, ge);
800
- var zt = qe(function(e, t) {
801
- var r = {};
802
- return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
799
+ Object.defineProperties(A.prototype, he);
800
+ var Ht = qe(function(e, t) {
801
+ var s = {};
802
+ return process.env.NODE_ENV !== "production" && !me(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
803
803
  var o = n.key, a = n.val;
804
- r[o] = function() {
804
+ s[o] = function() {
805
805
  var l = this.$store.state, c = this.$store.getters;
806
806
  if (e) {
807
- var g = ze(this.$store, "mapState", e);
807
+ var g = He(this.$store, "mapState", e);
808
808
  if (!g)
809
809
  return;
810
810
  l = g.context.state, c = g.context.getters;
811
811
  }
812
812
  return typeof a == "function" ? a.call(this, l, c) : l[a];
813
- }, r[o].vuex = !0;
814
- }), r;
815
- }), Ht = qe(function(e, t) {
816
- var r = {};
817
- return process.env.NODE_ENV !== "production" && !he(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
813
+ }, s[o].vuex = !0;
814
+ }), s;
815
+ }), zt = qe(function(e, t) {
816
+ var s = {};
817
+ return process.env.NODE_ENV !== "production" && !me(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ue(t).forEach(function(n) {
818
818
  var o = n.key, a = n.val;
819
- r[o] = function() {
819
+ s[o] = function() {
820
820
  for (var l = [], c = arguments.length; c--; )
821
821
  l[c] = arguments[c];
822
822
  var g = this.$store.commit;
823
823
  if (e) {
824
- var m = ze(this.$store, "mapMutations", e);
824
+ var m = He(this.$store, "mapMutations", e);
825
825
  if (!m)
826
826
  return;
827
827
  g = m.context.commit;
828
828
  }
829
829
  return typeof a == "function" ? a.apply(this, [g].concat(l)) : g.apply(this.$store, [a].concat(l));
830
830
  };
831
- }), r;
831
+ }), s;
832
832
  });
833
833
  function Ue(e) {
834
- return he(e) ? Array.isArray(e) ? e.map(function(t) {
834
+ return me(e) ? Array.isArray(e) ? e.map(function(t) {
835
835
  return { key: t, val: t };
836
836
  }) : Object.keys(e).map(function(t) {
837
837
  return { key: t, val: e[t] };
838
838
  }) : [];
839
839
  }
840
- function he(e) {
840
+ function me(e) {
841
841
  return Array.isArray(e) || je(e);
842
842
  }
843
843
  function qe(e) {
844
- return function(t, r) {
845
- return typeof t != "string" ? (r = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, r);
844
+ return function(t, s) {
845
+ return typeof t != "string" ? (s = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, s);
846
846
  };
847
847
  }
848
- function ze(e, t, r) {
849
- var n = e._modulesNamespaceMap[r];
850
- return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + t + "(): " + r), n;
848
+ function He(e, t, s) {
849
+ var n = e._modulesNamespaceMap[s];
850
+ return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + t + "(): " + s), n;
851
851
  }
852
852
  const Zt = {
853
853
  components: {
854
- DeleteConfirmationModal: ue
854
+ DeleteConfirmationModal: ce
855
855
  },
856
856
  props: {
857
857
  is_required: {
@@ -916,7 +916,7 @@ const Zt = {
916
916
  },
917
917
  deleteAction() {
918
918
  axios.delete(this.route_url + "/destroyMedia/" + this.media_id).then((e) => {
919
- let t = this.uploadFileList.findIndex((r) => r.id === this.media_id);
919
+ let t = this.uploadFileList.findIndex((s) => s.id === this.media_id);
920
920
  t !== -1 && this.uploadFileList.splice(t, 1), this.closeDeleteModal(), this.$store.commit("notification/SHOW_NOTIFICATION", {
921
921
  message: "Item deleted successfully.",
922
922
  type: "success",
@@ -932,8 +932,8 @@ const Zt = {
932
932
  formatFileSize(e) {
933
933
  if (e === 0)
934
934
  return "0 Bytes";
935
- const t = 1024, r = ["Bytes", "KB", "MB", "GB", "TB"], n = Math.floor(Math.log(e) / Math.log(t));
936
- return parseFloat((e / Math.pow(t, n)).toFixed(2)) + " " + r[n];
935
+ const t = 1024, s = ["Bytes", "KB", "MB", "GB", "TB"], n = Math.floor(Math.log(e) / Math.log(t));
936
+ return parseFloat((e / Math.pow(t, n)).toFixed(2)) + " " + s[n];
937
937
  },
938
938
  onDragOver(e) {
939
939
  e.preventDefault(), this.isDragging = !0, e.dataTransfer.dropEffect = "copy";
@@ -944,19 +944,19 @@ const Zt = {
944
944
  onDrop(e) {
945
945
  e.preventDefault(), this.isDragging = !1;
946
946
  const t = e.dataTransfer.files;
947
- Array.from(t).forEach((r) => {
948
- this.uploadFile(r);
947
+ Array.from(t).forEach((s) => {
948
+ this.uploadFile(s);
949
949
  });
950
950
  },
951
951
  async uploadFiles(e) {
952
- const t = e.target.files, r = Array.from(t).map((n) => this.uploadFile(n));
953
- await Promise.all(r), this.$emit("uploaded");
952
+ const t = e.target.files, s = Array.from(t).map((n) => this.uploadFile(n));
953
+ await Promise.all(s), this.$emit("uploaded");
954
954
  },
955
955
  getFirstError(e, t) {
956
956
  return e.hasOwnProperty(t) ? e[t][0] : "";
957
957
  },
958
958
  async uploadFile(e) {
959
- return new Promise((t, r) => {
959
+ return new Promise((t, s) => {
960
960
  e || t();
961
961
  const n = new FormData();
962
962
  n.append("file", e), Object.entries(this.file_config).forEach(([o, a]) => {
@@ -999,33 +999,33 @@ 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__ */ s("svg", {
1002
+ }, Kt = { class: "flex flex-col items-center justify-center pt-5 pb-6" }, Wt = ["multiple"], Yt = ["name"], Xt = /* @__PURE__ */ r("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",
1006
1006
  fill: "none",
1007
1007
  viewBox: "0 0 20 16"
1008
1008
  }, [
1009
- /* @__PURE__ */ s("path", {
1009
+ /* @__PURE__ */ r("path", {
1010
1010
  stroke: "currentColor",
1011
1011
  "stroke-linecap": "round",
1012
1012
  "stroke-linejoin": "round",
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__ */ s("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, " Drag & drop files or browse ", -1), Qt = [
1016
+ ], -1), Jt = /* @__PURE__ */ r("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, " Drag & drop files or browse ", -1), Qt = [
1017
1017
  Xt,
1018
1018
  Jt
1019
- ], er = { key: 1 }, tr = /* @__PURE__ */ s("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, "Drop files here", -1), rr = [
1019
+ ], er = { key: 1 }, tr = /* @__PURE__ */ r("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, "Drop files here", -1), rr = [
1020
1020
  tr
1021
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 = {
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__ */ s("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" }, fr = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, gr = { 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__ */ s("i", {
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__ */ r("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" }, fr = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, gr = { 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__ */ r("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, t, r, n, o, a) {
1027
+ }, null, -1), pr = { class: "flex flex-col ml-3" }, _r = { class: "text-xs" }, yr = { class: "text-xs" }, vr = { class: "flex gap-2" }, xr = ["href"], wr = ["onClick"];
1028
+ function kr(e, t, s, n, o, a) {
1029
1029
  const i = X("DeleteConfirmationModal");
1030
1030
  return d(), u(v, null, [
1031
1031
  Z(i, {
@@ -1033,39 +1033,39 @@ function kr(e, t, r, n, o, a) {
1033
1033
  onConfirmDelete: a.deleteAction,
1034
1034
  onCancelDelete: a.closeDeleteModal
1035
1035
  }, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
1036
- s("div", {
1036
+ r("div", {
1037
1037
  class: b([{
1038
1038
  "border-red-500 dark:border-red-500": o.error_message_data !== "",
1039
1039
  "border-gray-200 dark:border-gray-700": o.error_message_data == ""
1040
1040
  }, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
1041
1041
  }, [
1042
- s("label", {
1042
+ r("label", {
1043
1043
  class: b({
1044
1044
  "gl-label-form": o.error_message_data == "",
1045
1045
  "gl-label-form-invalid": o.error_message_data !== "",
1046
- required: r.is_required
1046
+ required: s.is_required
1047
1047
  })
1048
- }, h(r.label_name), 3),
1049
- s("div", {
1048
+ }, h(s.label_name), 3),
1049
+ r("div", {
1050
1050
  onDragover: t[3] || (t[3] = N((...l) => a.onDragOver && a.onDragOver(...l), ["prevent"])),
1051
1051
  onDragleave: t[4] || (t[4] = N((...l) => a.onDragLeave && a.onDragLeave(...l), ["prevent"])),
1052
1052
  onDrop: t[5] || (t[5] = N((...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
- s("div", Kt, [
1056
- s("input", {
1055
+ r("div", Kt, [
1056
+ r("input", {
1057
1057
  type: "file",
1058
- ref: "file_input" + r.field_name,
1058
+ ref: "file_input" + s.field_name,
1059
1059
  hidden: "",
1060
- multiple: r.has_multiple_file,
1060
+ multiple: s.has_multiple_file,
1061
1061
  onChange: t[0] || (t[0] = (...l) => a.uploadFiles && a.uploadFiles(...l))
1062
1062
  }, null, 40, Wt),
1063
- D(s("input", {
1063
+ D(r("input", {
1064
1064
  type: "hidden",
1065
- name: r.field_name,
1065
+ name: s.field_name,
1066
1066
  "onUpdate:modelValue": t[1] || (t[1] = (l) => a.uploadedFileIds = l)
1067
1067
  }, null, 8, Yt), [
1068
- [L, a.uploadedFileIds]
1068
+ [V, a.uploadedFileIds]
1069
1069
  ]),
1070
1070
  o.isDragging ? (d(), u("div", er, rr)) : (d(), u("div", {
1071
1071
  key: 0,
@@ -1074,18 +1074,18 @@ function kr(e, t, r, n, o, a) {
1074
1074
  }, Qt))
1075
1075
  ])
1076
1076
  ], 32),
1077
- s("span", sr, h(o.error_message_data), 1),
1078
- s("small", ar, h(r.description), 1),
1077
+ r("span", sr, h(o.error_message_data), 1),
1078
+ r("small", ar, h(s.description), 1),
1079
1079
  o.files.length > 0 ? (d(), u("section", nr, [
1080
- (d(!0), u(v, null, $(o.files, (l, c) => (d(), u("li", or, [
1080
+ (d(!0), u(v, null, C(o.files, (l, c) => (d(), u("li", or, [
1081
1081
  lr,
1082
- s("div", ir, [
1083
- s("div", dr, [
1084
- s("span", ur, h(a.getFileName(l.file_name)), 1),
1085
- s("span", cr, h(l.loading), 1)
1082
+ r("div", ir, [
1083
+ r("div", dr, [
1084
+ r("span", ur, h(a.getFileName(l.file_name)), 1),
1085
+ r("span", cr, h(l.loading), 1)
1086
1086
  ]),
1087
- s("div", fr, [
1088
- s("div", {
1087
+ r("div", fr, [
1088
+ r("div", {
1089
1089
  class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
1090
1090
  style: tt({ width: l.loading + "%" })
1091
1091
  }, null, 4)
@@ -1093,22 +1093,22 @@ function kr(e, t, r, n, o, a) {
1093
1093
  ])
1094
1094
  ]))), 256))
1095
1095
  ])) : f("", !0),
1096
- s("section", gr, [
1097
- (d(!0), u(v, null, $(o.uploadFileList, (l, c) => (d(), u("li", hr, [
1098
- s("div", mr, [
1096
+ r("section", gr, [
1097
+ (d(!0), u(v, null, C(o.uploadFileList, (l, c) => (d(), u("li", hr, [
1098
+ r("div", mr, [
1099
1099
  br,
1100
- s("div", pr, [
1101
- s("span", yr, h(a.getFileName(l.file_name)), 1),
1102
- s("span", _r, h(a.formatFileSize(l.size)), 1)
1100
+ r("div", pr, [
1101
+ r("span", _r, h(a.getFileName(l.file_name)), 1),
1102
+ r("span", yr, h(a.formatFileSize(l.size)), 1)
1103
1103
  ])
1104
1104
  ]),
1105
- s("div", vr, [
1106
- s("a", {
1105
+ r("div", vr, [
1106
+ r("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
1110
  }, null, 8, xr),
1111
- r.is_enable_delete ? (d(), u("i", {
1111
+ s.is_enable_delete ? (d(), u("i", {
1112
1112
  key: 0,
1113
1113
  onClick: (g) => {
1114
1114
  o.media_id = l.id, o.open_delete_modal = !0;
@@ -1121,9 +1121,9 @@ function kr(e, t, r, n, o, a) {
1121
1121
  ], 2)
1122
1122
  ], 64);
1123
1123
  }
1124
- const qd = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1124
+ const lu = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1125
1125
  computed: {
1126
- ...zt("notification", ["notification"]),
1126
+ ...Ht("notification", ["notification"]),
1127
1127
  alertClasses() {
1128
1128
  switch (this.notification.type) {
1129
1129
  case "info":
@@ -1158,7 +1158,7 @@ const qd = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1158
1158
  }
1159
1159
  },
1160
1160
  methods: {
1161
- ...Ht("notification", ["HIDE_NOTIFICATION"]),
1161
+ ...zt("notification", ["HIDE_NOTIFICATION"]),
1162
1162
  dismiss() {
1163
1163
  this.HIDE_NOTIFICATION();
1164
1164
  }
@@ -1170,22 +1170,22 @@ const qd = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1170
1170
  }, this.notification.duration);
1171
1171
  }
1172
1172
  }
1173
- }, Cr = /* @__PURE__ */ s("svg", {
1173
+ }, Cr = /* @__PURE__ */ r("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",
1177
1177
  fill: "currentColor",
1178
1178
  viewBox: "0 0 20 20"
1179
1179
  }, [
1180
- /* @__PURE__ */ s("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__ */ s("span", { class: "sr-only" }, "Info", -1), Dr = { class: "mr-3 text-sm font-medium ms-3" }, Or = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Pr = /* @__PURE__ */ s("svg", {
1180
+ /* @__PURE__ */ r("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__ */ r("span", { class: "sr-only" }, "Info", -1), Dr = { class: "mr-3 text-sm font-medium ms-3" }, Or = /* @__PURE__ */ r("span", { class: "sr-only" }, "Close", -1), Pr = /* @__PURE__ */ r("svg", {
1182
1182
  class: "w-3 h-3",
1183
1183
  "aria-hidden": "true",
1184
1184
  xmlns: "http://www.w3.org/2000/svg",
1185
1185
  fill: "none",
1186
1186
  viewBox: "0 0 14 14"
1187
1187
  }, [
1188
- /* @__PURE__ */ s("path", {
1188
+ /* @__PURE__ */ r("path", {
1189
1189
  stroke: "currentColor",
1190
1190
  "stroke-linecap": "round",
1191
1191
  "stroke-linejoin": "round",
@@ -1196,7 +1196,7 @@ const qd = /* @__PURE__ */ k(Zt, [["render", kr]]), $r = {
1196
1196
  Or,
1197
1197
  Pr
1198
1198
  ];
1199
- function Ar(e, t, r, n, o, a) {
1199
+ function Ar(e, t, s, n, o, a) {
1200
1200
  return e.notification.show ? (d(), u("div", {
1201
1201
  key: 0,
1202
1202
  class: b(["fixed right-0 z-50 flex items-center p-4 m-5 mb-4 rounded-lg shadow-lg", a.alertClasses]),
@@ -1204,8 +1204,8 @@ function Ar(e, t, r, n, o, a) {
1204
1204
  }, [
1205
1205
  Cr,
1206
1206
  Sr,
1207
- s("div", Dr, h(e.notification.message), 1),
1208
- s("button", {
1207
+ r("div", Dr, h(e.notification.message), 1),
1208
+ r("button", {
1209
1209
  type: "button",
1210
1210
  onClick: t[0] || (t[0] = (...i) => a.dismiss && a.dismiss(...i)),
1211
1211
  class: b(["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]),
@@ -1213,7 +1213,7 @@ function Ar(e, t, r, n, o, a) {
1213
1213
  }, Er, 2)
1214
1214
  ], 2)) : f("", !0);
1215
1215
  }
1216
- const zd = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
1216
+ const iu = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
1217
1217
  components: {},
1218
1218
  props: {
1219
1219
  field_name: {
@@ -1249,20 +1249,20 @@ const zd = /* @__PURE__ */ k($r, [["render", Ar]]), jr = {
1249
1249
  mounted() {
1250
1250
  }
1251
1251
  }, Tr = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Ir = ["name", "value", "id", "checked"], Mr = ["for"];
1252
- function Nr(e, t, r, n, o, a) {
1252
+ function Nr(e, t, s, n, o, a) {
1253
1253
  return d(), u("ul", Tr, [
1254
- (d(!0), u(v, null, $(o.locals, (i, l) => (d(), u("li", null, [
1255
- s("input", {
1254
+ (d(!0), u(v, null, C(o.locals, (i, l) => (d(), u("li", null, [
1255
+ r("input", {
1256
1256
  type: "radio",
1257
- name: r.trans_selector_name,
1257
+ name: s.trans_selector_name,
1258
1258
  value: i,
1259
1259
  class: "hidden peer",
1260
- id: i + "_" + r.field_name,
1260
+ id: i + "_" + s.field_name,
1261
1261
  autocomplete: "off",
1262
1262
  checked: i === o.default_language
1263
1263
  }, null, 8, Ir),
1264
- s("label", {
1265
- for: i + "_" + r.field_name,
1264
+ r("label", {
1265
+ for: i + "_" + s.field_name,
1266
1266
  class: b([{
1267
1267
  "border md:!rounded-s-lg": l === 0,
1268
1268
  "border md:!rounded-e-lg": l === o.locals.length - 1,
@@ -1272,10 +1272,10 @@ function Nr(e, t, r, n, o, a) {
1272
1272
  ]))), 256))
1273
1273
  ]);
1274
1274
  }
1275
- const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Vr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
1275
+ const du = /* @__PURE__ */ k(jr, [["render", Nr]]), Vr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Lr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Br = { class: "font-semibold text-black dark:text-white" }, Gr = {
1276
1276
  key: 0,
1277
1277
  class: "p-6"
1278
- }, Zd = {
1278
+ }, uu = {
1279
1279
  __name: "GlCard",
1280
1280
  props: {
1281
1281
  class: {
@@ -1284,13 +1284,13 @@ const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white bord
1284
1284
  }
1285
1285
  },
1286
1286
  setup(e) {
1287
- const t = e, r = G(() => t.class);
1287
+ const t = e, s = L(() => t.class);
1288
1288
  return (n, o) => (d(), u("div", {
1289
- class: b(["flex flex-col gap-9", r.value])
1289
+ class: b(["flex flex-col gap-9", s.value])
1290
1290
  }, [
1291
- s("div", Lr, [
1292
- s("div", Vr, [
1293
- s("h3", Br, [
1291
+ r("div", Vr, [
1292
+ r("div", Lr, [
1293
+ r("h3", Br, [
1294
1294
  T(n.$slots, "header")
1295
1295
  ])
1296
1296
  ]),
@@ -1391,9 +1391,9 @@ const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white bord
1391
1391
  },
1392
1392
  filteredOptions() {
1393
1393
  const e = [], t = new RegExp(this.searchFilter, "ig");
1394
- for (const r of this.options_values) {
1395
- const n = String(r.name);
1396
- (this.searchFilter.length < 1 || n.match(t)) && e.length < this.maxItem && e.push(r);
1394
+ for (const s of this.options_values) {
1395
+ const n = String(s.name);
1396
+ (this.searchFilter.length < 1 || n.match(t)) && e.length < this.maxItem && e.push(s);
1397
1397
  }
1398
1398
  return e;
1399
1399
  }
@@ -1422,12 +1422,12 @@ const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white bord
1422
1422
  return this.default_value.map((e, t) => typeof e == "object" ? e.id + "" : e + "");
1423
1423
  },
1424
1424
  clearOption(e) {
1425
- let t = this.selected.findIndex((r) => r.id === e.id);
1426
- t !== -1 && this.selected.splice(t, 1), this.selectedIds = this.selected.map((r) => r.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds);
1425
+ let t = this.selected.findIndex((s) => s.id === e.id);
1426
+ t !== -1 && this.selected.splice(t, 1), this.selectedIds = this.selected.map((s) => s.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds);
1427
1427
  },
1428
1428
  selectOption(e) {
1429
- let t = this.selected.findIndex((r) => r.id === e.id);
1430
- t !== -1 ? this.selected.splice(t, 1) : this.selected.push(e), this.selectedIds = this.selected.map((r) => r.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds);
1429
+ let t = this.selected.findIndex((s) => s.id === e.id);
1430
+ t !== -1 ? this.selected.splice(t, 1) : this.selected.push(e), this.selectedIds = this.selected.map((s) => s.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds);
1431
1431
  },
1432
1432
  showOptions() {
1433
1433
  this.show || (this.searchFilter = "", this.optionsShown = !0, this.$nextTick(() => {
@@ -1457,24 +1457,24 @@ const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white bord
1457
1457
  this.selectedIds = e.map((t) => t.id), this.$emit("update:modelValue", this.selectedIds), this.$emit("selected", this.selectedIds), this.$emit("selectionChanged", this.selectedIds);
1458
1458
  }
1459
1459
  }
1460
- }, Rr = { class: "font-bold ptext-lg dark:text-white" }, Ur = { class: "mt-3 mb-4" }, qr = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, zr = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Hr = ["name", "value"], Zr = {
1460
+ }, Rr = { class: "font-bold ptext-lg dark:text-white" }, Ur = { class: "mt-3 mb-4" }, qr = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, Hr = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), zr = ["name", "value"], Zr = {
1461
1461
  key: 0,
1462
1462
  class: "dropdown"
1463
1463
  }, Kr = {
1464
1464
  class: "inline-flex ml-2 rounded-md shadow-sm",
1465
1465
  role: "group"
1466
- }, Wr = { 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" }, Yr = { class: "relative" }, Xr = ["onClick"], Jr = { 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" }, Qr = { class: "p-1" }, es = /* @__PURE__ */ s("label", {
1466
+ }, Wr = { 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" }, Yr = { class: "relative" }, Xr = ["onClick"], Jr = { 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" }, Qr = { class: "p-1" }, es = /* @__PURE__ */ r("label", {
1467
1467
  for: "default-search",
1468
1468
  class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
1469
- }, "Search", -1), ts = { class: "relative" }, rs = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
1470
- /* @__PURE__ */ s("svg", {
1469
+ }, "Search", -1), ts = { class: "relative" }, rs = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
1470
+ /* @__PURE__ */ r("svg", {
1471
1471
  class: "w-4 h-4 text-gray-500 dark:text-gray-400",
1472
1472
  "aria-hidden": "true",
1473
1473
  xmlns: "http://www.w3.org/2000/svg",
1474
1474
  fill: "none",
1475
1475
  viewBox: "0 0 20 20"
1476
1476
  }, [
1477
- /* @__PURE__ */ s("path", {
1477
+ /* @__PURE__ */ r("path", {
1478
1478
  stroke: "currentColor",
1479
1479
  "stroke-linecap": "round",
1480
1480
  "stroke-linejoin": "round",
@@ -1483,91 +1483,91 @@ const Hd = /* @__PURE__ */ k(jr, [["render", Nr]]), Lr = { class: "bg-white bord
1483
1483
  })
1484
1484
  ])
1485
1485
  ], -1), ss = ["id"], as = { class: "overflow-y-auto max-h-64" }, ns = ["onClick", "onMousedown", "id"];
1486
- function os(e, t, r, n, o, a) {
1486
+ function os(e, t, s, n, o, a) {
1487
1487
  return d(), u(v, null, [
1488
- r.show ? (d(), u("div", {
1488
+ s.show ? (d(), u("div", {
1489
1489
  key: 0,
1490
- class: b(r.field_name)
1490
+ class: b(s.field_name)
1491
1491
  }, [
1492
- s("h3", Rr, h(r.label_name), 1),
1493
- s("p", Ur, [
1494
- (d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", qr, h(i.name), 1))), 256))
1492
+ r("h3", Rr, h(s.label_name), 1),
1493
+ r("p", Ur, [
1494
+ (d(!0), u(v, null, C(o.selected, (i, l) => (d(), u("span", qr, h(i.name), 1))), 256))
1495
1495
  ]),
1496
- zr
1496
+ Hr
1497
1497
  ], 2)) : f("", !0),
1498
- r.show ? f("", !0) : (d(), u("div", {
1498
+ s.show ? f("", !0) : (d(), u("div", {
1499
1499
  key: 1,
1500
- class: b(["mb-4", r.field_name])
1500
+ class: b(["mb-4", s.field_name])
1501
1501
  }, [
1502
- (d(!0), u(v, null, $(o.selectedIds, (i, l) => (d(), u("input", {
1502
+ (d(!0), u(v, null, C(o.selectedIds, (i, l) => (d(), u("input", {
1503
1503
  type: "hidden",
1504
- name: r.field_name + "[]",
1504
+ name: s.field_name + "[]",
1505
1505
  key: l,
1506
1506
  value: i
1507
- }, null, 8, Hr))), 128)),
1508
- r.options ? (d(), u("div", Zr, [
1509
- s("label", {
1507
+ }, null, 8, zr))), 128)),
1508
+ s.options ? (d(), u("div", Zr, [
1509
+ r("label", {
1510
1510
  class: b({
1511
- "gl-label-form": r.error_message == "",
1512
- "gl-label-form-invalid": r.error_message !== "",
1513
- required: r.is_required
1511
+ "gl-label-form": s.error_message == "",
1512
+ "gl-label-form-invalid": s.error_message !== "",
1513
+ required: s.is_required
1514
1514
  })
1515
- }, h(r.label_name), 3),
1516
- s("div", Kr, [
1517
- s("button", {
1515
+ }, h(s.label_name), 3),
1516
+ r("div", Kr, [
1517
+ r("button", {
1518
1518
  onClick: t[0] || (t[0] = (...i) => a.selectAll && a.selectAll(...i)),
1519
1519
  type: "button",
1520
1520
  class: "px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-s-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"
1521
1521
  }, " Select all "),
1522
- s("button", {
1522
+ r("button", {
1523
1523
  onClick: t[1] || (t[1] = (...i) => a.deselectAll && a.deselectAll(...i)),
1524
1524
  type: "button",
1525
1525
  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"
1526
1526
  }, " Deselect all ")
1527
1527
  ]),
1528
- s("div", Wr, [
1529
- s("div", Yr, [
1530
- s("div", {
1528
+ r("div", Wr, [
1529
+ r("div", Yr, [
1530
+ r("div", {
1531
1531
  class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
1532
1532
  onClick: t[2] || (t[2] = (i) => a.showOptions())
1533
1533
  }, [
1534
- (d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", {
1534
+ (d(!0), u(v, null, C(o.selected, (i, l) => (d(), u("span", {
1535
1535
  key: l,
1536
1536
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
1537
1537
  }, [
1538
1538
  w(h(i.name) + " ", 1),
1539
- s("i", {
1539
+ r("i", {
1540
1540
  onClick: N((c) => a.clearOption(i), ["stop"]),
1541
1541
  class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
1542
1542
  }, null, 8, Xr)
1543
1543
  ]))), 128))
1544
1544
  ]),
1545
- s("i", {
1545
+ r("i", {
1546
1546
  class: b([o.optionsShown ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700"]),
1547
1547
  style: { top: "11px" }
1548
1548
  }, null, 2)
1549
1549
  ]),
1550
- D(s("div", Jr, [
1551
- s("div", Qr, [
1550
+ D(r("div", Jr, [
1551
+ r("div", Qr, [
1552
1552
  es,
1553
- s("div", ts, [
1553
+ r("div", ts, [
1554
1554
  rs,
1555
- D(s("input", {
1555
+ D(r("input", {
1556
1556
  type: "search",
1557
1557
  "onUpdate:modelValue": t[3] || (t[3] = (i) => o.searchFilter = i),
1558
- id: r.field_name + "search",
1559
- ref: r.field_name + "search",
1558
+ id: s.field_name + "search",
1559
+ ref: s.field_name + "search",
1560
1560
  onBlur: t[4] || (t[4] = (i) => a.exit()),
1561
1561
  autocomplete: "off",
1562
1562
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
1563
1563
  placeholder: "Search ..."
1564
1564
  }, null, 40, ss), [
1565
- [L, o.searchFilter]
1565
+ [V, o.searchFilter]
1566
1566
  ])
1567
1567
  ])
1568
1568
  ]),
1569
- s("div", as, [
1570
- (d(!0), u(v, null, $(a.filteredOptions, (i, l) => (d(), u("div", {
1569
+ r("div", as, [
1570
+ (d(!0), u(v, null, C(a.filteredOptions, (i, l) => (d(), u("div", {
1571
1571
  class: b([
1572
1572
  "block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
1573
1573
  l + 1 == o.count || a.isOptionSelected(i.id) ? "bg-gray-100 dark:bg-gray-600" : ""
@@ -1586,7 +1586,7 @@ function os(e, t, r, n, o, a) {
1586
1586
  ], 2))
1587
1587
  ], 64);
1588
1588
  }
1589
- const Kd = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
1589
+ const cu = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
1590
1590
  props: {
1591
1591
  button_type: {
1592
1592
  type: String,
@@ -1642,7 +1642,7 @@ const Kd = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
1642
1642
  }
1643
1643
  },
1644
1644
  methods: {}
1645
- }, is = /* @__PURE__ */ s("svg", {
1645
+ }, is = /* @__PURE__ */ r("svg", {
1646
1646
  "aria-hidden": "true",
1647
1647
  role: "status",
1648
1648
  class: "inline w-4 h-4 me-3 animate-spin",
@@ -1650,17 +1650,17 @@ const Kd = /* @__PURE__ */ k(Fr, [["render", os]]), ls = {
1650
1650
  fill: "none",
1651
1651
  xmlns: "http://www.w3.org/2000/svg"
1652
1652
  }, [
1653
- /* @__PURE__ */ s("path", {
1653
+ /* @__PURE__ */ r("path", {
1654
1654
  d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",
1655
1655
  fill: "currentColor"
1656
1656
  }),
1657
- /* @__PURE__ */ s("path", {
1657
+ /* @__PURE__ */ r("path", {
1658
1658
  d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
1659
1659
  fill: "#1C64F2"
1660
1660
  })
1661
1661
  ], -1);
1662
- function ds(e, t, r, n, o, a) {
1663
- return r.is_loading ? (d(), K(oe("button"), {
1662
+ function ds(e, t, s, n, o, a) {
1663
+ return s.is_loading ? (d(), K(oe("button"), {
1664
1664
  key: 1,
1665
1665
  disabled: "",
1666
1666
  class: b(`flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`)
@@ -1670,25 +1670,25 @@ function ds(e, t, r, n, o, a) {
1670
1670
  w(" Loading... ")
1671
1671
  ]),
1672
1672
  _: 1
1673
- }, 8, ["class"])) : (d(), K(oe(r.tag), W({
1673
+ }, 8, ["class"])) : (d(), K(oe(s.tag), W({
1674
1674
  key: 0,
1675
- type: r.is_submit,
1676
- disabled: r.is_disabled
1677
- }, { type: r.is_submit ? "submit" : void 0 }, {
1678
- href: r.tag === "a" ? r.href : void 0,
1679
- class: ` ${r.is_disabled ? "cursor-not-allowed opacity-50" : ""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`
1675
+ type: s.is_submit,
1676
+ disabled: s.is_disabled
1677
+ }, { type: s.is_submit ? "submit" : void 0 }, {
1678
+ href: s.tag === "a" ? s.href : void 0,
1679
+ class: ` ${s.is_disabled ? "cursor-not-allowed opacity-50" : ""} flex items-center gap-2 focus:outline-none text-sm px-5 py-2 me-2 font-medium rounded-lg ${a.buttonTypeClass}`
1680
1680
  }), {
1681
1681
  default: J(() => [
1682
- r.icon ? (d(), u("i", {
1682
+ s.icon ? (d(), u("i", {
1683
1683
  key: 0,
1684
- class: b([r.icon, "text-base"])
1684
+ class: b([s.icon, "text-base"])
1685
1685
  }, null, 2)) : f("", !0),
1686
1686
  T(e.$slots, "default")
1687
1687
  ]),
1688
1688
  _: 3
1689
1689
  }, 16, ["type", "disabled", "href", "class"]));
1690
1690
  }
1691
- const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold ptext-lg dark:text-white" }, cs = ["name", "id"], fs = ["id"], gs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hs = ["for"], ms = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), bs = ["name", "id"], ps = ["required", "name", "id", "type"], ys = { class: "gl-span-form-error" }, _s = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Yd = {
1691
+ const fu = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold ptext-lg dark:text-white" }, cs = ["name", "id"], fs = ["id"], gs = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hs = ["for"], ms = /* @__PURE__ */ r("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), bs = ["name", "id"], ps = ["required", "name", "id", "type"], _s = { class: "gl-span-form-error" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, gu = {
1692
1692
  __name: "GlTextareaTranslate",
1693
1693
  props: {
1694
1694
  is_required: {
@@ -1745,8 +1745,8 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1745
1745
  }
1746
1746
  },
1747
1747
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1748
- setup(e, { expose: t, emit: r }) {
1749
- const n = e, o = r, a = S(null), i = S(null);
1748
+ setup(e, { expose: t, emit: s }) {
1749
+ const n = e, o = s, a = $(null), i = $(null);
1750
1750
  return R(() => {
1751
1751
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus(), n.model_value && (o("update:modelValue", n.model_value), a.value.value = n.model_value), n.model_value_translate, n.translatable && axios.post("/admin/get_field_translations", {
1752
1752
  model: n.translatable.model,
@@ -1762,8 +1762,8 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1762
1762
  key: 0,
1763
1763
  class: b(e.field_name)
1764
1764
  }, [
1765
- s("h3", us, h(e.label_name), 1),
1766
- D(s("input", {
1765
+ r("h3", us, h(e.label_name), 1),
1766
+ D(r("input", {
1767
1767
  type: "hidden",
1768
1768
  "data-i18n": "true",
1769
1769
  name: e.field_name + "_i18n",
@@ -1772,9 +1772,9 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1772
1772
  ref: i,
1773
1773
  "onUpdate:modelValue": c[0] || (c[0] = (g) => l.inputTranslateValue = g)
1774
1774
  }, null, 8, cs), [
1775
- [L, l.inputTranslateValue]
1775
+ [V, l.inputTranslateValue]
1776
1776
  ]),
1777
- s("p", {
1777
+ r("p", {
1778
1778
  id: e.field_name,
1779
1779
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
1780
1780
  }, h(e.model_value), 9, fs),
@@ -1784,7 +1784,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1784
1784
  key: 1,
1785
1785
  class: b(["mb-4", e.field_name])
1786
1786
  }, [
1787
- s("label", {
1787
+ r("label", {
1788
1788
  class: b({
1789
1789
  "gl-label-translation-form": e.error_message == "",
1790
1790
  "gl-label-translation-form-invalid": e.error_message !== "",
@@ -1793,7 +1793,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1793
1793
  for: e.field_name
1794
1794
  }, h(e.label_name), 11, hs),
1795
1795
  ms,
1796
- s("input", {
1796
+ r("input", {
1797
1797
  class: "mb-4",
1798
1798
  type: "hidden",
1799
1799
  "data-i18n": "true",
@@ -1803,7 +1803,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1803
1803
  ref_key: "input_translate",
1804
1804
  ref: i
1805
1805
  }, null, 40, bs),
1806
- s("textarea", {
1806
+ r("textarea", {
1807
1807
  required: e.is_required,
1808
1808
  name: e.field_name,
1809
1809
  id: e.field_name,
@@ -1819,12 +1819,12 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1819
1819
  rows: "4"
1820
1820
  }, `
1821
1821
  `, 42, ps),
1822
- s("span", ys, h(e.error_message), 1),
1823
- s("small", _s, h(e.description), 1)
1822
+ r("span", _s, h(e.error_message), 1),
1823
+ r("small", ys, h(e.description), 1)
1824
1824
  ], 2))
1825
1825
  ], 64));
1826
1826
  }
1827
- }, vs = { class: "font-bold ptext-lg dark:text-white" }, xs = ["name", "id"], ws = ["id"], ks = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $s = ["for"], Cs = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ss = ["name", "id"], Ds = ["name", "id", "type"], Os = { class: "gl-span-form-error" }, Ps = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Xd = {
1827
+ }, vs = { class: "font-bold ptext-lg dark:text-white" }, xs = ["name", "id"], ws = ["id"], ks = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $s = ["for"], Cs = /* @__PURE__ */ r("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ss = ["name", "id"], Ds = ["name", "id", "type"], Os = { class: "gl-span-form-error" }, Ps = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, hu = {
1828
1828
  __name: "GlTinymceTranslate",
1829
1829
  props: {
1830
1830
  is_required: {
@@ -1881,8 +1881,8 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1881
1881
  }
1882
1882
  },
1883
1883
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1884
- setup(e, { expose: t, emit: r }) {
1885
- const n = e, o = r, a = S(null), i = S(null);
1884
+ setup(e, { expose: t, emit: s }) {
1885
+ const n = e, o = s, a = $(null), i = $(null);
1886
1886
  return R(() => {
1887
1887
  tinymce.init({
1888
1888
  selector: "#" + n.field_name,
@@ -1902,8 +1902,8 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1902
1902
  key: 0,
1903
1903
  class: b(e.field_name)
1904
1904
  }, [
1905
- s("h3", vs, h(e.label_name), 1),
1906
- D(s("input", {
1905
+ r("h3", vs, h(e.label_name), 1),
1906
+ D(r("input", {
1907
1907
  type: "hidden",
1908
1908
  "data-i18n": "true",
1909
1909
  name: e.field_name + "_i18n",
@@ -1912,9 +1912,9 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1912
1912
  ref: i,
1913
1913
  "onUpdate:modelValue": c[0] || (c[0] = (g) => l.inputTranslateValue = g)
1914
1914
  }, null, 8, xs), [
1915
- [L, l.inputTranslateValue]
1915
+ [V, l.inputTranslateValue]
1916
1916
  ]),
1917
- s("p", {
1917
+ r("p", {
1918
1918
  id: e.field_name,
1919
1919
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
1920
1920
  }, h(e.model_value), 9, ws),
@@ -1924,7 +1924,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1924
1924
  key: 1,
1925
1925
  class: b(["mb-4", e.field_name])
1926
1926
  }, [
1927
- s("label", {
1927
+ r("label", {
1928
1928
  class: b({
1929
1929
  "gl-label-translation-form": e.error_message == "",
1930
1930
  "gl-label-translation-form-invalid": e.error_message !== "",
@@ -1933,7 +1933,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1933
1933
  for: e.field_name
1934
1934
  }, h(e.label_name), 11, $s),
1935
1935
  Cs,
1936
- s("input", {
1936
+ r("input", {
1937
1937
  class: "mb-4",
1938
1938
  type: "hidden",
1939
1939
  "data-i18n": "true",
@@ -1943,7 +1943,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1943
1943
  ref_key: "input_translate",
1944
1944
  ref: i
1945
1945
  }, null, 40, Ss),
1946
- s("textarea", {
1946
+ r("textarea", {
1947
1947
  name: e.field_name,
1948
1948
  id: e.field_name,
1949
1949
  class: b(["tiny", {
@@ -1958,12 +1958,12 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
1958
1958
  rows: "4"
1959
1959
  }, `
1960
1960
  `, 42, Ds),
1961
- s("span", Os, h(e.error_message), 1),
1962
- s("small", Ps, h(e.description), 1)
1961
+ r("span", Os, h(e.error_message), 1),
1962
+ r("small", Ps, h(e.description), 1)
1963
1963
  ], 2))
1964
1964
  ], 64));
1965
1965
  }
1966
- }, Es = { class: "font-bold ptext-lg dark:text-white" }, As = ["name", "id"], js = ["id"], Ts = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Is = ["for"], Ms = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ns = ["name", "id"], Ls = ["required", "name", "id", "type"], Vs = { class: "gl-span-form-error" }, Bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Jd = {
1966
+ }, Es = { class: "font-bold ptext-lg dark:text-white" }, As = ["name", "id"], js = ["id"], Ts = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Is = ["for"], Ms = /* @__PURE__ */ r("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ns = ["name", "id"], Vs = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Bs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, mu = {
1967
1967
  __name: "GlTextTranslate",
1968
1968
  props: {
1969
1969
  is_required: {
@@ -2020,8 +2020,8 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2020
2020
  }
2021
2021
  },
2022
2022
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
2023
- setup(e, { expose: t, emit: r }) {
2024
- const n = e, o = r, a = S(null), i = S(null);
2023
+ setup(e, { expose: t, emit: s }) {
2024
+ const n = e, o = s, a = $(null), i = $(null);
2025
2025
  return R(() => {
2026
2026
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus(), n.model_value && (o("update:modelValue", n.model_value), a.value.value = n.model_value), n.model_value_translate, n.translatable && axios.post("/admin/get_field_translations", {
2027
2027
  model: n.translatable.model,
@@ -2037,8 +2037,8 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2037
2037
  key: 0,
2038
2038
  class: b(e.field_name)
2039
2039
  }, [
2040
- s("h3", Es, h(e.label_name), 1),
2041
- D(s("input", {
2040
+ r("h3", Es, h(e.label_name), 1),
2041
+ D(r("input", {
2042
2042
  type: "hidden",
2043
2043
  "data-i18n": "true",
2044
2044
  name: e.field_name + "_i18n",
@@ -2046,9 +2046,9 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2046
2046
  ref: "input_translate_s",
2047
2047
  "onUpdate:modelValue": c[0] || (c[0] = (g) => l.inputTranslateValue = g)
2048
2048
  }, null, 8, As), [
2049
- [L, l.inputTranslateValue]
2049
+ [V, l.inputTranslateValue]
2050
2050
  ]),
2051
- s("p", {
2051
+ r("p", {
2052
2052
  id: e.field_name,
2053
2053
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
2054
2054
  }, h(e.model_value), 9, js),
@@ -2058,7 +2058,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2058
2058
  key: 1,
2059
2059
  class: b(["mb-4", e.field_name])
2060
2060
  }, [
2061
- s("label", {
2061
+ r("label", {
2062
2062
  class: b({
2063
2063
  "gl-label-translation-form": e.error_message == "",
2064
2064
  "gl-label-translation-form-invalid": e.error_message !== "",
@@ -2067,7 +2067,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2067
2067
  for: e.field_name
2068
2068
  }, h(e.label_name), 11, Is),
2069
2069
  Ms,
2070
- s("input", {
2070
+ r("input", {
2071
2071
  class: "mb-4",
2072
2072
  type: "hidden",
2073
2073
  "data-i18n": "true",
@@ -2077,7 +2077,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2077
2077
  ref_key: "input_translate",
2078
2078
  ref: i
2079
2079
  }, null, 40, Ns),
2080
- s("input", {
2080
+ r("input", {
2081
2081
  required: e.is_required,
2082
2082
  name: e.field_name,
2083
2083
  id: e.field_name,
@@ -2090,13 +2090,13 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2090
2090
  onKeydown: c[3] || (c[3] = (g) => l.$emit("keydown", g)),
2091
2091
  ref_key: "input",
2092
2092
  ref: a
2093
- }, null, 42, Ls),
2094
- s("span", Vs, h(e.error_message), 1),
2095
- s("small", Bs, h(e.description), 1)
2093
+ }, null, 42, Vs),
2094
+ r("span", Ls, h(e.error_message), 1),
2095
+ r("small", Bs, h(e.description), 1)
2096
2096
  ], 2))
2097
2097
  ], 64));
2098
2098
  }
2099
- }, Gs = { class: "font-bold ptext-lg dark:text-white" }, Fs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Rs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Us = ["for"], qs = ["required", "name", "id", "type", "placeholder"], zs = { class: "gl-span-form-error" }, Hs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Qd = {
2099
+ }, Gs = { class: "font-bold ptext-lg dark:text-white" }, Fs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Rs = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Us = ["for"], qs = ["required", "name", "id", "type", "placeholder"], Hs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, bu = {
2100
2100
  __name: "GlTextInput",
2101
2101
  props: {
2102
2102
  is_required: {
@@ -2141,12 +2141,12 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2141
2141
  }
2142
2142
  },
2143
2143
  emits: ["update:modelValue", "keydown"],
2144
- setup(e, { expose: t, emit: r }) {
2145
- const n = e, o = r, a = S(null);
2144
+ setup(e, { expose: t, emit: s }) {
2145
+ const n = e, o = s, a = $(null);
2146
2146
  R(() => {
2147
2147
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
2148
2148
  });
2149
- const i = G({
2149
+ const i = L({
2150
2150
  get() {
2151
2151
  return n.modelValue;
2152
2152
  },
@@ -2159,15 +2159,15 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2159
2159
  key: 0,
2160
2160
  class: b(e.field_name)
2161
2161
  }, [
2162
- s("h3", Gs, h(e.label_name), 1),
2163
- s("p", Fs, h(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
2162
+ r("h3", Gs, h(e.label_name), 1),
2163
+ r("p", Fs, h(e.type == "password" ? e.modelValue.replace(/./g, "*") : e.modelValue), 1),
2164
2164
  Rs
2165
2165
  ], 2)) : f("", !0),
2166
2166
  e.show ? f("", !0) : (d(), u("div", {
2167
2167
  key: 1,
2168
2168
  class: b(["mb-4", e.field_name])
2169
2169
  }, [
2170
- s("label", {
2170
+ r("label", {
2171
2171
  class: b({
2172
2172
  "gl-label-form": e.error_message == "",
2173
2173
  "gl-label-form-invalid": e.error_message !== "",
@@ -2175,7 +2175,7 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2175
2175
  }),
2176
2176
  for: e.field_name
2177
2177
  }, h(e.label_name), 11, Us),
2178
- D(s("input", {
2178
+ D(r("input", {
2179
2179
  required: e.is_required,
2180
2180
  name: e.field_name,
2181
2181
  id: e.field_name,
@@ -2192,34 +2192,34 @@ const Wd = /* @__PURE__ */ k(ls, [["render", ds]]), us = { class: "font-bold pte
2192
2192
  }, null, 42, qs), [
2193
2193
  [rt, i.value]
2194
2194
  ]),
2195
- s("span", zs, h(e.error_message), 1),
2196
- s("small", Hs, h(e.description), 1)
2195
+ r("span", Hs, h(e.error_message), 1),
2196
+ r("small", zs, h(e.description), 1)
2197
2197
  ], 2))
2198
2198
  ], 64));
2199
2199
  }
2200
2200
  }, Zs = {
2201
2201
  setup(e, { slots: t }) {
2202
- const r = S(t.default().map((o) => o.props)), n = S(r.value[0].title);
2202
+ const s = $(t.default().map((o) => o.props)), n = $(s.value[0].title);
2203
2203
  return st("selectedTitle", n), {
2204
- tabs: r,
2204
+ tabs: s,
2205
2205
  selectedTitle: n
2206
2206
  };
2207
2207
  }
2208
2208
  }, Ks = { class: "flex flex-wrap" }, Ws = { class: "w-full" }, Ys = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, Xs = ["onClick"], Js = { 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" }, Qs = { class: "flex-auto px-4 py-5" }, ea = { class: "tab-content tab-space" };
2209
- function ta(e, t, r, n, o, a) {
2209
+ function ta(e, t, s, n, o, a) {
2210
2210
  return d(), u(v, null, [
2211
- s("div", Ks, [
2212
- s("div", Ws, [
2213
- s("ul", Ys, [
2214
- (d(!0), u(v, null, $(n.tabs, (i) => (d(), u("li", {
2211
+ r("div", Ks, [
2212
+ r("div", Ws, [
2213
+ r("ul", Ys, [
2214
+ (d(!0), u(v, null, C(n.tabs, (i) => (d(), u("li", {
2215
2215
  key: i.title,
2216
2216
  onClick: (l) => n.selectedTitle = i.title,
2217
2217
  class: "flex-auto -mb-px text-center"
2218
2218
  }, [
2219
- s("a", {
2219
+ r("a", {
2220
2220
  class: b([{ "text-slate-600 bg-white dark:bg-meta-4": n.selectedTitle != i.title, "text-white bg-slate-600 dark:bg-primary": n.selectedTitle === i.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
2221
2221
  }, [
2222
- s("i", {
2222
+ r("i", {
2223
2223
  class: b([i.icon, "mr-1 text-base"])
2224
2224
  }, null, 2),
2225
2225
  w(" " + h(i.title), 1)
@@ -2228,31 +2228,31 @@ function ta(e, t, r, n, o, a) {
2228
2228
  ])
2229
2229
  ])
2230
2230
  ]),
2231
- s("div", Js, [
2232
- s("div", Qs, [
2233
- s("div", ea, [
2231
+ r("div", Js, [
2232
+ r("div", Qs, [
2233
+ r("div", ea, [
2234
2234
  T(e.$slots, "default")
2235
2235
  ])
2236
2236
  ])
2237
2237
  ])
2238
2238
  ], 64);
2239
2239
  }
2240
- const eu = /* @__PURE__ */ k(Zs, [["render", ta]]), ra = {
2240
+ const pu = /* @__PURE__ */ k(Zs, [["render", ta]]), ra = {
2241
2241
  props: ["title"],
2242
2242
  setup() {
2243
2243
  return {
2244
- selectedTitle: Ce("selectedTitle")
2244
+ selectedTitle: Se("selectedTitle")
2245
2245
  };
2246
2246
  }
2247
2247
  }, sa = { class: "block" };
2248
- function aa(e, t, r, n, o, a) {
2248
+ function aa(e, t, s, n, o, a) {
2249
2249
  return D((d(), u("div", sa, [
2250
2250
  T(e.$slots, "default")
2251
2251
  ], 512)), [
2252
- [F, r.title == n.selectedTitle]
2252
+ [F, s.title == n.selectedTitle]
2253
2253
  ]);
2254
2254
  }
2255
- const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2255
+ const _u = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2256
2256
  props: {
2257
2257
  elements_to_show_prop: {
2258
2258
  type: Number,
@@ -2304,14 +2304,14 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2304
2304
  },
2305
2305
  generateRandomString(e) {
2306
2306
  let t = "";
2307
- const r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", n = r.length;
2307
+ const s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", n = s.length;
2308
2308
  for (let o = 0; o < e; o++)
2309
- t += r.charAt(Math.floor(Math.random() * n));
2309
+ t += s.charAt(Math.floor(Math.random() * n));
2310
2310
  return t;
2311
2311
  },
2312
2312
  movingActions() {
2313
2313
  let e = this, t = document.getElementById("slider_" + this.Random_string);
2314
- const r = (o) => {
2314
+ const s = (o) => {
2315
2315
  t.style.cursor = "grabbing";
2316
2316
  const a = (l) => {
2317
2317
  const c = l.clientX || l.touches && l.touches[0] && l.touches[0].clientX, g = l.clientY || l.touches && l.touches[0] && l.touches[0].clientY, m = c - e.initialX, y = g - e.initialY;
@@ -2323,7 +2323,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2323
2323
  }, n = (o) => {
2324
2324
  o.key === "ArrowLeft" ? e.prev() : o.key === "ArrowRight" && e.next();
2325
2325
  };
2326
- t.addEventListener("mousedown", r), t.addEventListener("touchstart", r), document.addEventListener("keydown", n);
2326
+ t.addEventListener("mousedown", s), t.addEventListener("touchstart", s), document.addEventListener("keydown", n);
2327
2327
  },
2328
2328
  next() {
2329
2329
  this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
@@ -2332,7 +2332,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2332
2332
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
2333
2333
  },
2334
2334
  initSlider() {
2335
- let e = document.getElementById("sliderContainer_" + this.Random_string), t = document.getElementById("mainSliderContainer_" + this.Random_string), r = document.getElementById("slider_" + this.Random_string), n = r.querySelectorAll("li"), o = Array.from(n).filter((l) => l.parentNode === r), a = e.clientWidth, i = a / this.elementsToShow;
2335
+ let e = document.getElementById("sliderContainer_" + this.Random_string), t = document.getElementById("mainSliderContainer_" + this.Random_string), s = document.getElementById("slider_" + this.Random_string), n = s.querySelectorAll("li"), o = Array.from(n).filter((l) => l.parentNode === s), a = e.clientWidth, i = a / this.elementsToShow;
2336
2336
  if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, i = this.hide_arrow ? t.clientWidth : a) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, i = this.hide_arrow ? t.clientWidth : a), o.length > 1) {
2337
2337
  this.dotsNum = this.elementsToShow == 1 ? o.length : o.length - this.elementsToShow + 1;
2338
2338
  let l = this.elementsToShow == 1 ? i * o.length / this.dotsNum : i * (o.length - this.elementsToShow) / (this.dotsNum - 1);
@@ -2340,7 +2340,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2340
2340
  for (let c = 0; c < this.dotsNum; c++)
2341
2341
  this.dotsNavigation.push(l * c);
2342
2342
  }
2343
- r.style.width = o.length * i + "px", r.style.transition = "margin", r.style.transitionDuration = "1s";
2343
+ s.style.width = o.length * i + "px", s.style.transition = "margin", s.style.transitionDuration = "1s";
2344
2344
  for (let l = 0; l < o.length; l++) {
2345
2345
  const c = o[l];
2346
2346
  c.style.width = i + "px";
@@ -2362,7 +2362,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2362
2362
  viewBox: "0 0 24 24",
2363
2363
  stroke: "currentColor",
2364
2364
  "stroke-width": "2"
2365
- }, ua = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2365
+ }, ua = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2366
2366
  "stroke-linecap": "round",
2367
2367
  "stroke-linejoin": "round",
2368
2368
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2376,13 +2376,13 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2376
2376
  viewBox: "0 0 24 24",
2377
2377
  stroke: "currentColor",
2378
2378
  "stroke-width": "2"
2379
- }, ga = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2379
+ }, ga = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2380
2380
  "stroke-linecap": "round",
2381
2381
  "stroke-linejoin": "round",
2382
2382
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2383
2383
  }, null, -1)), ha = [
2384
2384
  ga
2385
- ], ma = ["id"], ba = ["id"], pa = { class: "w-full" }, ya = {
2385
+ ], ma = ["id"], ba = ["id"], pa = { class: "w-full" }, _a = {
2386
2386
  key: 0,
2387
2387
  xmlns: "http://www.w3.org/2000/svg",
2388
2388
  class: "w-6 h-6",
@@ -2390,12 +2390,12 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2390
2390
  viewBox: "0 0 24 24",
2391
2391
  stroke: "currentColor",
2392
2392
  "stroke-width": "2"
2393
- }, _a = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2393
+ }, ya = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2394
2394
  "stroke-linecap": "round",
2395
2395
  "stroke-linejoin": "round",
2396
2396
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2397
2397
  }, null, -1)), va = [
2398
- _a
2398
+ ya
2399
2399
  ], xa = {
2400
2400
  key: 1,
2401
2401
  xmlns: "http://www.w3.org/2000/svg",
@@ -2404,7 +2404,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2404
2404
  viewBox: "0 0 24 24",
2405
2405
  stroke: "currentColor",
2406
2406
  "stroke-width": "2"
2407
- }, wa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2407
+ }, wa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2408
2408
  "stroke-linecap": "round",
2409
2409
  "stroke-linejoin": "round",
2410
2410
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2418,7 +2418,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2418
2418
  viewBox: "0 0 24 24",
2419
2419
  stroke: "currentColor",
2420
2420
  "stroke-width": "2"
2421
- }, Sa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2421
+ }, Sa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2422
2422
  "stroke-linecap": "round",
2423
2423
  "stroke-linejoin": "round",
2424
2424
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2432,20 +2432,20 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2432
2432
  viewBox: "0 0 24 24",
2433
2433
  stroke: "currentColor",
2434
2434
  "stroke-width": "2"
2435
- }, Pa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2435
+ }, Pa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2436
2436
  "stroke-linecap": "round",
2437
2437
  "stroke-linejoin": "round",
2438
2438
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2439
2439
  }, null, -1)), Ea = [
2440
2440
  Pa
2441
- ], Aa = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Ta = [
2441
+ ], Aa = ["onClick"], ja = /* @__PURE__ */ P(() => /* @__PURE__ */ r("span", null, null, -1)), Ta = [
2442
2442
  ja
2443
2443
  ], Ia = {
2444
2444
  key: 1,
2445
2445
  class: "flex justify-between pl-5 pr-5"
2446
- }, Ma = ["onClick"], Na = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), La = [
2446
+ }, Ma = ["onClick"], Na = /* @__PURE__ */ P(() => /* @__PURE__ */ r("span", null, null, -1)), Va = [
2447
2447
  Na
2448
- ], Va = {
2448
+ ], La = {
2449
2449
  key: 0,
2450
2450
  class: "flex"
2451
2451
  }, Ba = { class: "flex items-center" }, Ga = { class: "w-full" }, Fa = {
@@ -2456,7 +2456,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2456
2456
  viewBox: "0 0 24 24",
2457
2457
  stroke: "currentColor",
2458
2458
  "stroke-width": "2"
2459
- }, Ra = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2459
+ }, Ra = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2460
2460
  "stroke-linecap": "round",
2461
2461
  "stroke-linejoin": "round",
2462
2462
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2470,12 +2470,12 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2470
2470
  viewBox: "0 0 24 24",
2471
2471
  stroke: "currentColor",
2472
2472
  "stroke-width": "2"
2473
- }, za = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2473
+ }, Ha = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2474
2474
  "stroke-linecap": "round",
2475
2475
  "stroke-linejoin": "round",
2476
2476
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
2477
- }, null, -1)), Ha = [
2478
- za
2477
+ }, null, -1)), za = [
2478
+ Ha
2479
2479
  ], Za = { class: "flex items-center" }, Ka = { class: "w-full" }, Wa = {
2480
2480
  key: 0,
2481
2481
  xmlns: "http://www.w3.org/2000/svg",
@@ -2484,7 +2484,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2484
2484
  viewBox: "0 0 24 24",
2485
2485
  stroke: "currentColor",
2486
2486
  "stroke-width": "2"
2487
- }, Ya = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2487
+ }, Ya = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2488
2488
  "stroke-linecap": "round",
2489
2489
  "stroke-linejoin": "round",
2490
2490
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2498,7 +2498,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2498
2498
  viewBox: "0 0 24 24",
2499
2499
  stroke: "currentColor",
2500
2500
  "stroke-width": "2"
2501
- }, Qa = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2501
+ }, Qa = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2502
2502
  "stroke-linecap": "round",
2503
2503
  "stroke-linejoin": "round",
2504
2504
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
@@ -2515,7 +2515,7 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2515
2515
  viewBox: "0 0 24 24",
2516
2516
  stroke: "currentColor",
2517
2517
  "stroke-width": "2"
2518
- }, an = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2518
+ }, an = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2519
2519
  "stroke-linecap": "round",
2520
2520
  "stroke-linejoin": "round",
2521
2521
  d: "M13 7l5 5m0 0l-5 5m5-5H6"
@@ -2529,143 +2529,143 @@ const tu = /* @__PURE__ */ k(ra, [["render", aa]]), na = {
2529
2529
  viewBox: "0 0 24 24",
2530
2530
  stroke: "currentColor",
2531
2531
  "stroke-width": "2"
2532
- }, ln = /* @__PURE__ */ P(() => /* @__PURE__ */ s("path", {
2532
+ }, ln = /* @__PURE__ */ P(() => /* @__PURE__ */ r("path", {
2533
2533
  "stroke-linecap": "round",
2534
2534
  "stroke-linejoin": "round",
2535
2535
  d: "M11 17l-5-5m0 0l5-5m-5 5h12"
2536
2536
  }, null, -1)), dn = [
2537
2537
  ln
2538
2538
  ];
2539
- function un(e, t, r, n, o, a) {
2539
+ function un(e, t, s, n, o, a) {
2540
2540
  return d(), u("div", null, [
2541
- s("div", {
2542
- class: b(["", !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
2541
+ r("div", {
2542
+ class: b(["", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
2543
2543
  id: "mainSliderContainer_" + e.Random_string
2544
2544
  }, [
2545
- e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", la, [
2546
- s("div", ia, [
2547
- s("button", {
2545
+ e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", la, [
2546
+ r("div", ia, [
2547
+ r("button", {
2548
2548
  class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
2549
2549
  onClick: t[0] || (t[0] = (i) => a.prev())
2550
2550
  }, [
2551
- r.direction_property == "ltr" ? (d(), u("svg", da, ca)) : f("", !0),
2552
- r.direction_property == "rtl" ? (d(), u("svg", fa, ha)) : f("", !0)
2551
+ s.direction_property == "ltr" ? (d(), u("svg", da, ca)) : f("", !0),
2552
+ s.direction_property == "rtl" ? (d(), u("svg", fa, ha)) : f("", !0)
2553
2553
  ])
2554
2554
  ])
2555
2555
  ])) : f("", !0),
2556
- s("div", {
2556
+ r("div", {
2557
2557
  class: b(["overflow-hidden", a.sliderContainerAction()]),
2558
2558
  id: "sliderContainer_" + e.Random_string
2559
2559
  }, [
2560
- s("ul", {
2560
+ r("ul", {
2561
2561
  class: "flex",
2562
2562
  id: "slider_" + e.Random_string
2563
2563
  }, [
2564
- e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
2564
+ e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
2565
2565
  key: 0,
2566
- class: b(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", r.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
2566
+ class: b(["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"])
2567
2567
  }, [
2568
- s("div", pa, [
2569
- s("button", {
2568
+ r("div", pa, [
2569
+ r("button", {
2570
2570
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2571
2571
  onClick: t[1] || (t[1] = N((i) => a.prev(), ["stop"]))
2572
2572
  }, [
2573
- r.direction_property == "ltr" ? (d(), u("svg", ya, va)) : f("", !0),
2574
- r.direction_property == "rtl" ? (d(), u("svg", xa, ka)) : f("", !0)
2573
+ s.direction_property == "ltr" ? (d(), u("svg", _a, va)) : f("", !0),
2574
+ s.direction_property == "rtl" ? (d(), u("svg", xa, ka)) : f("", !0)
2575
2575
  ])
2576
2576
  ])
2577
2577
  ], 2)) : f("", !0),
2578
2578
  T(e.$slots, "default", {}, void 0, !0),
2579
- e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
2579
+ e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (d(), u("div", {
2580
2580
  key: 1,
2581
- class: b(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", r.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
2581
+ class: b(["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"])
2582
2582
  }, [
2583
- s("div", $a, [
2584
- s("button", {
2583
+ r("div", $a, [
2584
+ r("button", {
2585
2585
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2586
2586
  onClick: t[2] || (t[2] = N((i) => a.next(), ["stop"]))
2587
2587
  }, [
2588
- r.direction_property == "ltr" ? (d(), u("svg", Ca, Da)) : f("", !0),
2589
- r.direction_property == "rtl" ? (d(), u("svg", Oa, Ea)) : f("", !0)
2588
+ s.direction_property == "ltr" ? (d(), u("svg", Ca, Da)) : f("", !0),
2589
+ s.direction_property == "rtl" ? (d(), u("svg", Oa, Ea)) : f("", !0)
2590
2590
  ])
2591
2591
  ])
2592
2592
  ], 2)) : f("", !0)
2593
2593
  ], 8, ba),
2594
- r.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
2594
+ s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (d(), u("div", {
2595
2595
  key: 0,
2596
2596
  class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
2597
2597
  }, [
2598
- (d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
2598
+ (d(!0), u(v, null, C(e.dotsNum, (i) => (d(), u("button", {
2599
2599
  role: "button",
2600
2600
  class: b(["gl-dot", { active: e.currentDot == i }]),
2601
2601
  key: i,
2602
2602
  onClick: (l) => a.setDot(i)
2603
2603
  }, Ta, 10, Aa))), 128))
2604
2604
  ], 2)) : f("", !0),
2605
- r.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ia, [
2606
- s("div", {
2605
+ s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (d(), u("div", Ia, [
2606
+ r("div", {
2607
2607
  class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
2608
2608
  }, [
2609
- (d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
2609
+ (d(!0), u(v, null, C(e.dotsNum, (i) => (d(), u("button", {
2610
2610
  role: "button",
2611
2611
  class: b(["gl-dot", { active: e.currentDot == i }]),
2612
2612
  key: i,
2613
2613
  onClick: (l) => a.setDot(i)
2614
- }, La, 10, Ma))), 128))
2614
+ }, Va, 10, Ma))), 128))
2615
2615
  ], 2),
2616
- e.dotsNum > 0 ? (d(), u("div", Va, [
2617
- s("div", Ba, [
2618
- s("div", Ga, [
2619
- s("button", {
2620
- class: b(["p-3 rounded-full arrow_button_styles", r.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2616
+ e.dotsNum > 0 ? (d(), u("div", La, [
2617
+ r("div", Ba, [
2618
+ r("div", Ga, [
2619
+ r("button", {
2620
+ class: b(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2621
2621
  onClick: t[3] || (t[3] = (i) => a.prev())
2622
2622
  }, [
2623
- r.direction_property == "ltr" ? (d(), u("svg", Fa, Ua)) : f("", !0),
2624
- r.direction_property == "rtl" ? (d(), u("svg", qa, Ha)) : f("", !0)
2623
+ s.direction_property == "ltr" ? (d(), u("svg", Fa, Ua)) : f("", !0),
2624
+ s.direction_property == "rtl" ? (d(), u("svg", qa, za)) : f("", !0)
2625
2625
  ], 2)
2626
2626
  ])
2627
2627
  ]),
2628
- s("div", Za, [
2629
- s("div", Ka, [
2630
- s("button", {
2628
+ r("div", Za, [
2629
+ r("div", Ka, [
2630
+ r("button", {
2631
2631
  class: "p-3 rounded-full arrow_button_styles",
2632
2632
  onClick: t[4] || (t[4] = (i) => a.next())
2633
2633
  }, [
2634
- r.direction_property == "ltr" ? (d(), u("svg", Wa, Xa)) : f("", !0),
2635
- r.direction_property == "rtl" ? (d(), u("svg", Ja, en)) : f("", !0)
2634
+ s.direction_property == "ltr" ? (d(), u("svg", Wa, Xa)) : f("", !0),
2635
+ s.direction_property == "rtl" ? (d(), u("svg", Ja, en)) : f("", !0)
2636
2636
  ])
2637
2637
  ])
2638
2638
  ])
2639
2639
  ])) : f("", !0)
2640
2640
  ])) : f("", !0)
2641
2641
  ], 10, ma),
2642
- e.dotsNum > 0 && !r.hide_arrow && r.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", tn, [
2643
- s("div", rn, [
2644
- s("button", {
2642
+ e.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (d(), u("div", tn, [
2643
+ r("div", rn, [
2644
+ r("button", {
2645
2645
  class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
2646
2646
  onClick: t[5] || (t[5] = (i) => a.next())
2647
2647
  }, [
2648
- r.direction_property == "ltr" ? (d(), u("svg", sn, nn)) : f("", !0),
2649
- r.direction_property == "rtl" ? (d(), u("svg", on, dn)) : f("", !0)
2648
+ s.direction_property == "ltr" ? (d(), u("svg", sn, nn)) : f("", !0),
2649
+ s.direction_property == "rtl" ? (d(), u("svg", on, dn)) : f("", !0)
2650
2650
  ])
2651
2651
  ])
2652
2652
  ])) : f("", !0)
2653
2653
  ], 10, oa)
2654
2654
  ]);
2655
2655
  }
2656
- const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9"]]), cn = {
2656
+ const yu = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9"]]), cn = {
2657
2657
  class: "fixed left-0 top-13 z-[1055] h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80",
2658
2658
  tabindex: "-1",
2659
2659
  "aria-hidden": "true"
2660
- }, fn = { 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" }, gn = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, hn = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, mn = /* @__PURE__ */ s("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2661
- /* @__PURE__ */ s("svg", {
2660
+ }, fn = { 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" }, gn = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, hn = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, mn = /* @__PURE__ */ r("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2661
+ /* @__PURE__ */ r("svg", {
2662
2662
  xmlns: "http://www.w3.org/2000/svg",
2663
2663
  fill: "currentColor",
2664
2664
  viewBox: "0 0 24 24",
2665
2665
  "stroke-width": "1.5",
2666
2666
  stroke: "currentColor"
2667
2667
  }, [
2668
- /* @__PURE__ */ s("path", {
2668
+ /* @__PURE__ */ r("path", {
2669
2669
  "stroke-linecap": "round",
2670
2670
  "stroke-linejoin": "round",
2671
2671
  d: "M6 18L18 6M6 6l12 12"
@@ -2673,7 +2673,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2673
2673
  ])
2674
2674
  ], -1), bn = [
2675
2675
  mn
2676
- ], pn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, su = {
2676
+ ], pn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, vu = {
2677
2677
  __name: "GlModal",
2678
2678
  props: {
2679
2679
  is_open: {
@@ -2695,7 +2695,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2695
2695
  },
2696
2696
  emits: ["closeModal"],
2697
2697
  setup(e, { emit: t }) {
2698
- const r = e, n = t, o = () => {
2698
+ const s = e, n = t, o = () => {
2699
2699
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2700
2700
  }, a = () => {
2701
2701
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -2703,33 +2703,33 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2703
2703
  n("closeModal"), a();
2704
2704
  };
2705
2705
  return Y(
2706
- () => r.is_open,
2706
+ () => s.is_open,
2707
2707
  (l, c) => {
2708
2708
  l ? o() : a();
2709
2709
  },
2710
2710
  { immediate: !0, deep: !0 }
2711
2711
  ), (l, c) => D((d(), u("div", cn, [
2712
- s("div", {
2712
+ r("div", {
2713
2713
  class: b(["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])
2714
2714
  }, [
2715
- s("div", fn, [
2716
- s("div", gn, [
2717
- s("h5", hn, h(e.title), 1),
2718
- s("button", {
2715
+ r("div", fn, [
2716
+ r("div", gn, [
2717
+ r("h5", hn, h(e.title), 1),
2718
+ r("button", {
2719
2719
  type: "button",
2720
2720
  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",
2721
2721
  onClick: i,
2722
2722
  "aria-label": "Close"
2723
2723
  }, bn)
2724
2724
  ]),
2725
- s("div", {
2725
+ r("div", {
2726
2726
  class: b(["relative overflow-y-auto", e.bodyClass])
2727
2727
  }, [
2728
2728
  T(l.$slots, "body")
2729
2729
  ], 2),
2730
- s("div", pn, [
2730
+ r("div", pn, [
2731
2731
  T(l.$slots, "buttons"),
2732
- s("button", {
2732
+ r("button", {
2733
2733
  onClick: i,
2734
2734
  type: "button",
2735
2735
  class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
@@ -2741,7 +2741,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2741
2741
  [F, e.is_open]
2742
2742
  ]);
2743
2743
  }
2744
- }, yn = { class: "mb-4" }, _n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, vn = { class: "relative inline-flex items-center cursor-pointer" }, xn = ["name", "id", "checked"], wn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), kn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, au = {
2744
+ }, _n = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, vn = { class: "relative inline-flex items-center cursor-pointer" }, xn = ["name", "id", "checked"], wn = /* @__PURE__ */ r("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), kn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), $n = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, Cn = { class: "relative inline-flex items-center cursor-pointer" }, Sn = ["name", "id"], Dn = /* @__PURE__ */ r("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), On = { class: "gl-span-form-error" }, Pn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, xu = {
2745
2745
  __name: "GlToggleBox",
2746
2746
  props: {
2747
2747
  is_required: {
@@ -2783,9 +2783,9 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2783
2783
  },
2784
2784
  emits: ["update:modelValue"],
2785
2785
  setup(e, { emit: t }) {
2786
- const r = e, n = t, o = S(null), a = G({
2786
+ const s = e, n = t, o = $(null), a = L({
2787
2787
  get() {
2788
- return r.modelValue;
2788
+ return s.modelValue;
2789
2789
  },
2790
2790
  set(i) {
2791
2791
  n("update:modelValue", i);
@@ -2796,11 +2796,11 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2796
2796
  key: 0,
2797
2797
  class: b(e.field_name)
2798
2798
  }, [
2799
- s("div", yn, [
2800
- s("li", _n, [
2799
+ r("div", _n, [
2800
+ r("li", yn, [
2801
2801
  w(h(e.label_name) + " ", 1),
2802
- s("label", vn, [
2803
- s("input", {
2802
+ r("label", vn, [
2803
+ r("input", {
2804
2804
  type: "checkbox",
2805
2805
  class: "sr-only peer",
2806
2806
  name: e.field_name,
@@ -2822,10 +2822,10 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2822
2822
  key: 1,
2823
2823
  class: b(["mb-4", e.field_name])
2824
2824
  }, [
2825
- s("li", $n, [
2825
+ r("li", $n, [
2826
2826
  w(h(e.label_name) + " ", 1),
2827
- s("label", Cn, [
2828
- D(s("input", {
2827
+ r("label", Cn, [
2828
+ D(r("input", {
2829
2829
  type: "checkbox",
2830
2830
  class: "sr-only peer",
2831
2831
  name: e.field_name,
@@ -2841,26 +2841,26 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2841
2841
  Dn
2842
2842
  ])
2843
2843
  ]),
2844
- s("span", On, h(e.error_message), 1),
2845
- s("small", Pn, h(e.description), 1)
2844
+ r("span", On, h(e.error_message), 1),
2845
+ r("small", Pn, h(e.description), 1)
2846
2846
  ], 2))
2847
2847
  ], 64));
2848
2848
  }
2849
- }, En = { class: "font-bold ptext-lg dark:text-white" }, An = { class: "mt-3 mb-4" }, jn = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, Tn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), In = ["name", "id", "value"], Mn = {
2849
+ }, En = { class: "font-bold ptext-lg dark:text-white" }, An = { class: "mt-3 mb-4" }, jn = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, Tn = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), In = ["name", "id", "value"], Mn = {
2850
2850
  key: 0,
2851
2851
  class: "dropdown"
2852
- }, Nn = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Ln = { class: "relative showOptions" }, Vn = ["value", "placeholder"], Bn = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Gn = { class: "p-1" }, Fn = /* @__PURE__ */ s("label", {
2852
+ }, Nn = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Vn = { class: "relative showOptions" }, Ln = ["value", "placeholder"], Bn = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Gn = { class: "p-1" }, Fn = /* @__PURE__ */ r("label", {
2853
2853
  for: "default-search",
2854
2854
  class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
2855
- }, "Search", -1), Rn = { class: "relative" }, Un = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
2856
- /* @__PURE__ */ s("svg", {
2855
+ }, "Search", -1), Rn = { class: "relative" }, Un = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
2856
+ /* @__PURE__ */ r("svg", {
2857
2857
  class: "w-4 h-4 text-gray-500 dark:text-gray-400",
2858
2858
  "aria-hidden": "true",
2859
2859
  xmlns: "http://www.w3.org/2000/svg",
2860
2860
  fill: "none",
2861
2861
  viewBox: "0 0 20 20"
2862
2862
  }, [
2863
- /* @__PURE__ */ s("path", {
2863
+ /* @__PURE__ */ r("path", {
2864
2864
  stroke: "currentColor",
2865
2865
  "stroke-linecap": "round",
2866
2866
  "stroke-linejoin": "round",
@@ -2868,14 +2868,14 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2868
2868
  d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
2869
2869
  })
2870
2870
  ])
2871
- ], -1), qn = ["id"], zn = { class: "overflow-y-auto max-h-64" }, Hn = ["onClick", "onMousedown", "id"], Zn = { class: "flex items-center py-2 pl-10 pr-4" }, Kn = {
2871
+ ], -1), qn = ["id"], Hn = { class: "overflow-y-auto max-h-64" }, zn = ["onClick", "onMousedown", "id"], Zn = { class: "flex items-center py-2 pl-10 pr-4" }, Kn = {
2872
2872
  key: 0,
2873
2873
  class: "absolute flex items-center flex-shrink-0 w-4 h-4 text-green-500 left-2 dark:text-green-400",
2874
2874
  "aria-hidden": "true",
2875
2875
  xmlns: "http://www.w3.org/2000/svg",
2876
2876
  fill: "none",
2877
2877
  viewBox: "0 0 16 12"
2878
- }, Wn = /* @__PURE__ */ s("path", {
2878
+ }, Wn = /* @__PURE__ */ r("path", {
2879
2879
  stroke: "currentColor",
2880
2880
  "stroke-linecap": "round",
2881
2881
  "stroke-linejoin": "round",
@@ -2883,7 +2883,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2883
2883
  d: "M1 5.917 5.724 10.5 15 1.5"
2884
2884
  }, null, -1), Yn = [
2885
2885
  Wn
2886
- ], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, nu = {
2886
+ ], Xn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Jn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, wu = {
2887
2887
  __name: "GlDropdown",
2888
2888
  props: {
2889
2889
  modelValue: {
@@ -2943,23 +2943,23 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2943
2943
  },
2944
2944
  emits: ["update:modelValue", "selected", "selectionChanged"],
2945
2945
  setup(e, { emit: t }) {
2946
- const r = e, n = t, o = S(null), a = S({}), i = S(0), l = S(!1), c = S(""), g = S("");
2946
+ const s = e, n = t, o = $(null), a = $({}), i = $(0), l = $(!1), c = $(""), g = $("");
2947
2947
  R(() => {
2948
- g.value = V(), r.show || (document.body.addEventListener("click", (p) => {
2949
- He(p);
2948
+ g.value = B(), s.show || (document.body.addEventListener("click", (p) => {
2949
+ ze(p);
2950
2950
  }), document.addEventListener("keypress", (p) => {
2951
2951
  p.key === "Enter" && p.target.form && p.preventDefault();
2952
2952
  }));
2953
2953
  });
2954
- const m = G(() => We()), y = G(() => Ye()), x = G(() => {
2954
+ const m = L(() => We()), y = L(() => Ye()), x = L(() => {
2955
2955
  const p = [], O = new RegExp(c.value, "ig");
2956
2956
  for (const E of m.value) {
2957
- const B = String(E.name);
2958
- (c.value.length < 1 || B.match(O)) && p.length < r.maxItem && p.push(E);
2957
+ const G = String(E.name);
2958
+ (c.value.length < 1 || G.match(O)) && p.length < s.maxItem && p.push(E);
2959
2959
  }
2960
2960
  return p;
2961
2961
  });
2962
- function C(p) {
2962
+ function S(p) {
2963
2963
  if ([
2964
2964
  "ArrowLeft",
2965
2965
  "ArrowUp",
@@ -2967,28 +2967,28 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2967
2967
  "ArrowDown",
2968
2968
  "Enter"
2969
2969
  ].includes(p.key)) {
2970
- if (["ArrowUp", "ArrowDown"].includes(p.key) && p.preventDefault(), p.key === "ArrowDown" && r.posts === "")
2970
+ if (["ArrowUp", "ArrowDown"].includes(p.key) && p.preventDefault(), p.key === "ArrowDown" && s.posts === "")
2971
2971
  return;
2972
2972
  Ke(p.key);
2973
2973
  }
2974
2974
  }
2975
- function V() {
2975
+ function B() {
2976
2976
  let p = (/* @__PURE__ */ new Date()).getTime();
2977
2977
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
2978
2978
  /[xy]/g,
2979
2979
  function(E) {
2980
- const B = (p + Math.random() * 16) % 16 | 0;
2981
- return p = Math.floor(p / 16), (E === "x" ? B : B & 3 | 8).toString(16);
2980
+ const G = (p + Math.random() * 16) % 16 | 0;
2981
+ return p = Math.floor(p / 16), (E === "x" ? G : G & 3 | 8).toString(16);
2982
2982
  }
2983
2983
  );
2984
2984
  }
2985
2985
  function te(p) {
2986
2986
  return p !== null && typeof p == "object" && Object.keys(p).length > 0;
2987
2987
  }
2988
- function He(p) {
2989
- p.target.id != r.field_name + "search" + g.value && p.target.id != r.field_name && !p.target.classList.contains("showOptions") && (pe(), i.value = 0);
2988
+ function ze(p) {
2989
+ p.target.id != s.field_name + "search" + g.value && p.target.id != s.field_name && !p.target.classList.contains("showOptions") && (_e(), i.value = 0);
2990
2990
  }
2991
- function me(p) {
2991
+ function be(p) {
2992
2992
  const O = `${p}${g.value}`, E = document.getElementById(O);
2993
2993
  E && E.scrollIntoView();
2994
2994
  }
@@ -2997,10 +2997,10 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
2997
2997
  E && E.click();
2998
2998
  }
2999
2999
  function Ke(p) {
3000
- p === "ArrowDown" && i.value < x.value.length && (i.value++, me(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, me(i.value)), p === "Enter" && Ze(i.value);
3000
+ p === "ArrowDown" && i.value < x.value.length && (i.value++, be(i.value)), p === "ArrowUp" && i.value > 1 && (i.value--, be(i.value)), p === "Enter" && Ze(i.value);
3001
3001
  }
3002
3002
  function We() {
3003
- return r.options.map((p, O) => typeof p == "object" ? p : { id: p, name: p });
3003
+ return s.options.map((p, O) => typeof p == "object" ? p : { id: p, name: p });
3004
3004
  }
3005
3005
  function Ye() {
3006
3006
  if (te(a.value))
@@ -3009,28 +3009,28 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3009
3009
  ) || {} : m.value.find(
3010
3010
  (p) => String(p.id) === String(a.value)
3011
3011
  ) || {};
3012
- if (r.modelValue)
3013
- return typeof r.modelValue == "object" ? m.value.find(
3014
- (p) => String(p.id) === String(r.modelValue.id)
3012
+ if (s.modelValue)
3013
+ return typeof s.modelValue == "object" ? m.value.find(
3014
+ (p) => String(p.id) === String(s.modelValue.id)
3015
3015
  ) || {} : m.value.find(
3016
- (p) => String(p.id) === String(r.modelValue)
3016
+ (p) => String(p.id) === String(s.modelValue)
3017
3017
  ) || {};
3018
3018
  }
3019
- function be(p) {
3019
+ function pe(p) {
3020
3020
  a.value = p, l.value = !1, n("update:modelValue", a.value.id), n("selected", a.value), n("selectionChanged", a.value);
3021
3021
  }
3022
3022
  function re() {
3023
- r.show || (c.value = "", l.value = !0, lt(() => {
3023
+ s.show || (c.value = "", l.value = !0, lt(() => {
3024
3024
  var p = document.getElementById(
3025
- `${r.field_name}search${g.value}`
3025
+ `${s.field_name}search${g.value}`
3026
3026
  );
3027
3027
  p && p.focus();
3028
3028
  }));
3029
3029
  }
3030
3030
  function Xe() {
3031
- r.show || (a.value = {}, c.value = "", n("update:modelValue", ""), re());
3031
+ s.show || (a.value = {}, c.value = "", n("update:modelValue", ""), re());
3032
3032
  }
3033
- function pe() {
3033
+ function _e() {
3034
3034
  a.value.id || (a.value = {}, c.value = ""), n("selected", a.value), l.value = !1;
3035
3035
  }
3036
3036
  return Y(c, () => {
@@ -3038,15 +3038,15 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3038
3038
  }), Y(a, (p) => {
3039
3039
  te(p) && n("update:modelValue", p.id);
3040
3040
  }), (p, O) => {
3041
- var E, B, ye;
3041
+ var E, G, ye;
3042
3042
  return d(), u(v, null, [
3043
3043
  e.show ? (d(), u("div", {
3044
3044
  key: 0,
3045
3045
  class: b(e.field_name)
3046
3046
  }, [
3047
- s("h3", En, h(e.label_name), 1),
3048
- s("p", An, [
3049
- s("span", jn, h((E = y.value) == null ? void 0 : E.name), 1)
3047
+ r("h3", En, h(e.label_name), 1),
3048
+ r("p", An, [
3049
+ r("span", jn, h((E = y.value) == null ? void 0 : E.name), 1)
3050
3050
  ]),
3051
3051
  Tn
3052
3052
  ], 2)) : f("", !0),
@@ -3054,11 +3054,11 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3054
3054
  key: 1,
3055
3055
  class: b(["mb-4", e.field_name])
3056
3056
  }, [
3057
- s("input", {
3057
+ r("input", {
3058
3058
  type: "hidden",
3059
3059
  name: e.field_name,
3060
3060
  id: e.field_name,
3061
- value: (B = y.value) == null ? void 0 : B.id
3061
+ value: (G = y.value) == null ? void 0 : G.id
3062
3062
  }, null, 8, In),
3063
3063
  e.options ? (d(), u("div", Mn, [
3064
3064
  e.label_name ? (d(), u("label", {
@@ -3069,9 +3069,9 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3069
3069
  required: e.is_required
3070
3070
  })
3071
3071
  }, h(e.label_name), 3)) : f("", !0),
3072
- s("div", Nn, [
3073
- s("div", Ln, [
3074
- s("input", {
3072
+ r("div", Nn, [
3073
+ r("div", Vn, [
3074
+ r("input", {
3075
3075
  class: b([{
3076
3076
  "gl-input-form": e.error_message == "",
3077
3077
  "gl-input-form-invalid": e.error_message !== ""
@@ -3082,55 +3082,55 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3082
3082
  placeholder: e.placeholder,
3083
3083
  autocomplete: "off",
3084
3084
  readonly: ""
3085
- }, null, 10, Vn),
3086
- D(s("i", {
3085
+ }, null, 10, Ln),
3086
+ D(r("i", {
3087
3087
  onClick: O[1] || (O[1] = N((j) => Xe(), ["stop"])),
3088
3088
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
3089
3089
  style: { top: "13px" }
3090
3090
  }, null, 512), [
3091
3091
  [F, te(y.value) && e.has_cancel]
3092
3092
  ]),
3093
- s("i", {
3093
+ r("i", {
3094
3094
  onClick: O[2] || (O[2] = (j) => !l.value && re()),
3095
3095
  class: b([l.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
3096
3096
  style: { top: "11px" }
3097
3097
  }, null, 2)
3098
3098
  ]),
3099
- D(s("div", Bn, [
3100
- s("div", Gn, [
3099
+ D(r("div", Bn, [
3100
+ r("div", Gn, [
3101
3101
  Fn,
3102
- s("div", Rn, [
3102
+ r("div", Rn, [
3103
3103
  Un,
3104
- D(s("input", {
3104
+ D(r("input", {
3105
3105
  type: "search",
3106
3106
  "onUpdate:modelValue": O[3] || (O[3] = (j) => c.value = j),
3107
3107
  ref: o.value,
3108
3108
  id: `${e.field_name}search${g.value}`,
3109
- onKeydown: C,
3110
- onBlur: O[4] || (O[4] = (j) => pe()),
3109
+ onKeydown: S,
3110
+ onBlur: O[4] || (O[4] = (j) => _e()),
3111
3111
  autocomplete: "off",
3112
3112
  class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
3113
3113
  placeholder: "Search ..."
3114
3114
  }, null, 40, qn), [
3115
- [L, c.value]
3115
+ [V, c.value]
3116
3116
  ])
3117
3117
  ])
3118
3118
  ]),
3119
- s("div", zn, [
3120
- (d(!0), u(v, null, $(x.value, (j, se) => {
3121
- var _e;
3119
+ r("div", Hn, [
3120
+ (d(!0), u(v, null, C(x.value, (j, se) => {
3121
+ var ve;
3122
3122
  return d(), u("div", {
3123
3123
  class: b(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", se + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
3124
- onClick: (Je) => be(j),
3125
- onMousedown: (Je) => be(j),
3124
+ onClick: (Je) => pe(j),
3125
+ onMousedown: (Je) => pe(j),
3126
3126
  key: se,
3127
3127
  id: `${se + 1}${g.value}`
3128
3128
  }, [
3129
- s("div", Zn, [
3130
- ((_e = y.value) == null ? void 0 : _e.id) === j.id ? (d(), u("svg", Kn, Yn)) : f("", !0),
3131
- s("span", null, h(j.name || j.id || "-"), 1)
3129
+ r("div", Zn, [
3130
+ ((ve = y.value) == null ? void 0 : ve.id) === j.id ? (d(), u("svg", Kn, Yn)) : f("", !0),
3131
+ r("span", null, h(j.name || j.id || "-"), 1)
3132
3132
  ])
3133
- ], 42, Hn);
3133
+ ], 42, zn);
3134
3134
  }), 128))
3135
3135
  ])
3136
3136
  ], 512), [
@@ -3138,13 +3138,13 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3138
3138
  ])
3139
3139
  ])
3140
3140
  ])) : f("", !0),
3141
- s("span", Xn, h(e.error_message), 1),
3142
- s("small", Jn, h(e.description), 1)
3141
+ r("span", Xn, h(e.error_message), 1),
3142
+ r("small", Jn, h(e.description), 1)
3143
3143
  ], 2))
3144
3144
  ], 64);
3145
3145
  };
3146
3146
  }
3147
- }, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ou = {
3147
+ }, Qn = { class: "font-bold ptext-lg dark:text-white" }, eo = ["id"], to = /* @__PURE__ */ r("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ro = ["for"], so = ["required", "name", "id", "type", "placeholder"], ao = { class: "gl-span-form-error" }, no = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ku = {
3148
3148
  __name: "GlTextarea",
3149
3149
  props: {
3150
3150
  is_required: {
@@ -3189,8 +3189,8 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3189
3189
  }
3190
3190
  },
3191
3191
  emits: ["update:modelValue", "keydown"],
3192
- setup(e, { expose: t, emit: r }) {
3193
- const n = e, o = r, a = S(null);
3192
+ setup(e, { expose: t, emit: s }) {
3193
+ const n = e, o = s, a = $(null);
3194
3194
  R(() => {
3195
3195
  a.value !== null && a.value.hasAttribute("autofocus") && a.value.focus();
3196
3196
  });
@@ -3207,8 +3207,8 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3207
3207
  key: 0,
3208
3208
  class: b(e.field_name)
3209
3209
  }, [
3210
- s("h3", Qn, h(e.label_name), 1),
3211
- s("p", {
3210
+ r("h3", Qn, h(e.label_name), 1),
3211
+ r("p", {
3212
3212
  id: e.field_name,
3213
3213
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
3214
3214
  }, h(e.model_value), 9, eo),
@@ -3218,7 +3218,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3218
3218
  key: 1,
3219
3219
  class: b(["mb-4", e.field_name])
3220
3220
  }, [
3221
- s("label", {
3221
+ r("label", {
3222
3222
  class: b({
3223
3223
  "gl-label-form": e.error_message == "",
3224
3224
  "gl-label-form-invalid": e.error_message !== "",
@@ -3226,7 +3226,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3226
3226
  }),
3227
3227
  for: e.field_name
3228
3228
  }, h(e.label_name), 11, ro),
3229
- D(s("textarea", {
3229
+ D(r("textarea", {
3230
3230
  required: e.is_required,
3231
3231
  name: e.field_name,
3232
3232
  id: e.field_name,
@@ -3242,10 +3242,10 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3242
3242
  rows: "4",
3243
3243
  placeholder: e.placeholder
3244
3244
  }, null, 42, so), [
3245
- [L, De(i)]
3245
+ [V, Oe(i)]
3246
3246
  ]),
3247
- s("span", ao, h(e.error_message), 1),
3248
- s("small", no, h(e.description), 1)
3247
+ r("span", ao, h(e.error_message), 1),
3248
+ r("small", no, h(e.description), 1)
3249
3249
  ], 2))
3250
3250
  ], 64));
3251
3251
  }
@@ -3301,7 +3301,7 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3301
3301
  return 0;
3302
3302
  if (this.limit === 0)
3303
3303
  return this.lastPage;
3304
- for (var e = this.currentPage, t = this.lastPage, r = this.limit, n = e - r, o = e + r + 1, a = [], i = [], l, c = 1; c <= t; c++)
3304
+ for (var e = this.currentPage, t = this.lastPage, s = this.limit, n = e - s, o = e + s + 1, a = [], i = [], l, c = 1; c <= t; c++)
3305
3305
  (c === 1 || c === t || c >= n && c < o) && a.push(c);
3306
3306
  return a.forEach(function(g) {
3307
3307
  l && (g - l === 2 ? i.push(l + 1) : g - l !== 1 && i.push("...")), i.push(g), l = g;
@@ -3398,28 +3398,28 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3398
3398
  }, io = { class: "flex flex-col items-center" }, uo = {
3399
3399
  key: 0,
3400
3400
  class: "text-sm text-gray-700 dark:text-gray-400"
3401
- }, co = { class: "font-semibold text-gray-900 dark:text-white" }, fo = { class: "font-semibold text-gray-900 dark:text-white" }, go = { class: "font-semibold text-gray-900 dark:text-white" }, ho = ["tabindex"], mo = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), bo = /* @__PURE__ */ s("svg", {
3401
+ }, co = { class: "font-semibold text-gray-900 dark:text-white" }, fo = { class: "font-semibold text-gray-900 dark:text-white" }, go = { class: "font-semibold text-gray-900 dark:text-white" }, ho = ["tabindex"], mo = /* @__PURE__ */ r("span", { class: "sr-only" }, "Previous", -1), bo = /* @__PURE__ */ r("svg", {
3402
3402
  class: "w-2.5 h-2.5 rtl:rotate-180",
3403
3403
  "aria-hidden": "true",
3404
3404
  xmlns: "http://www.w3.org/2000/svg",
3405
3405
  fill: "none",
3406
3406
  viewBox: "0 0 6 10"
3407
3407
  }, [
3408
- /* @__PURE__ */ s("path", {
3408
+ /* @__PURE__ */ r("path", {
3409
3409
  stroke: "currentColor",
3410
3410
  "stroke-linecap": "round",
3411
3411
  "stroke-linejoin": "round",
3412
3412
  "stroke-width": "2",
3413
3413
  d: "M5 1 1 5l4 4"
3414
3414
  })
3415
- ], -1), po = ["aria-current"], yo = ["tabindex"], _o = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), vo = /* @__PURE__ */ s("svg", {
3415
+ ], -1), po = ["aria-current"], _o = ["tabindex"], yo = /* @__PURE__ */ r("span", { class: "sr-only" }, "Next", -1), vo = /* @__PURE__ */ r("svg", {
3416
3416
  class: "w-2.5 h-2.5 rtl:rotate-180",
3417
3417
  "aria-hidden": "true",
3418
3418
  xmlns: "http://www.w3.org/2000/svg",
3419
3419
  fill: "none",
3420
3420
  viewBox: "0 0 6 10"
3421
3421
  }, [
3422
- /* @__PURE__ */ s("path", {
3422
+ /* @__PURE__ */ r("path", {
3423
3423
  stroke: "currentColor",
3424
3424
  "stroke-linecap": "round",
3425
3425
  "stroke-linejoin": "round",
@@ -3427,37 +3427,37 @@ const ru = /* @__PURE__ */ k(na, [["render", un], ["__scopeId", "data-v-a94f16a9
3427
3427
  d: "m1 9 4-4-4-4"
3428
3428
  })
3429
3429
  ], -1);
3430
- function xo(e, t, r, n, o, a) {
3430
+ function xo(e, t, s, n, o, a) {
3431
3431
  const i = X("RenderlessPagination");
3432
3432
  return d(), K(i, {
3433
- data: r.data,
3434
- limit: r.limit,
3433
+ data: s.data,
3434
+ limit: s.limit,
3435
3435
  onPaginationChangePage: a.onPaginationChangePage
3436
3436
  }, {
3437
3437
  default: J((l) => [
3438
- s("div", io, [
3438
+ r("div", io, [
3439
3439
  l.computed.total > l.computed.perPage ? (d(), u("span", uo, [
3440
3440
  w(" Showing "),
3441
- s("span", co, h(l.computed.from), 1),
3441
+ r("span", co, h(l.computed.from), 1),
3442
3442
  w(" to "),
3443
- s("span", fo, h(l.computed.to), 1),
3443
+ r("span", fo, h(l.computed.to), 1),
3444
3444
  w(" of "),
3445
- s("span", go, h(l.computed.total), 1),
3445
+ r("span", go, h(l.computed.total), 1),
3446
3446
  w(" Entries ")
3447
3447
  ])) : f("", !0),
3448
3448
  l.computed.total > l.computed.perPage ? (d(), u("ul", W({ key: 1 }, e.$attrs, {
3449
3449
  class: ["flex items-center h-8 -space-x-px text-sm", {
3450
- "pagination-sm": r.size == "small",
3451
- "pagination-lg": r.size == "large",
3452
- "justify-content-center": r.align == "center",
3453
- "justify-content-end": r.align == "right"
3450
+ "pagination-sm": s.size == "small",
3451
+ "pagination-lg": s.size == "large",
3452
+ "justify-content-center": s.align == "center",
3453
+ "justify-content-end": s.align == "right"
3454
3454
  }]
3455
3455
  }), [
3456
- l.computed.prevPageUrl || r.showDisabled ? (d(), u("li", {
3456
+ l.computed.prevPageUrl || s.showDisabled ? (d(), u("li", {
3457
3457
  key: 0,
3458
3458
  class: b(["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", { disabled: !l.computed.prevPageUrl }])
3459
3459
  }, [
3460
- s("a", W({
3460
+ r("a", W({
3461
3461
  class: "page-link",
3462
3462
  href: "#",
3463
3463
  "aria-label": "Previous",
@@ -3469,11 +3469,11 @@ function xo(e, t, r, n, o, a) {
3469
3469
  ])
3470
3470
  ], 16, ho)
3471
3471
  ], 2)) : f("", !0),
3472
- (d(!0), u(v, null, $(l.computed.pageRange, (c, g) => (d(), u("li", {
3472
+ (d(!0), u(v, null, C(l.computed.pageRange, (c, g) => (d(), u("li", {
3473
3473
  class: b(["", { active: c == l.computed.currentPage }]),
3474
3474
  key: g
3475
3475
  }, [
3476
- s("a", W({
3476
+ r("a", W({
3477
3477
  class: "",
3478
3478
  href: "#"
3479
3479
  }, ae(l.pageButtonEvents(c), !0), {
@@ -3481,21 +3481,21 @@ function xo(e, t, r, n, o, a) {
3481
3481
  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"
3482
3482
  }), h(c), 17, po)
3483
3483
  ], 2))), 128)),
3484
- l.computed.nextPageUrl || r.showDisabled ? (d(), u("li", {
3484
+ l.computed.nextPageUrl || s.showDisabled ? (d(), u("li", {
3485
3485
  key: 1,
3486
3486
  class: b(["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", { disabled: !l.computed.nextPageUrl }])
3487
3487
  }, [
3488
- s("a", W({
3488
+ r("a", W({
3489
3489
  class: "",
3490
3490
  href: "#",
3491
3491
  "aria-label": "Next",
3492
3492
  tabindex: !l.computed.nextPageUrl && -1
3493
3493
  }, ae(l.nextButtonEvents, !0)), [
3494
3494
  T(e.$slots, "next-nav", {}, () => [
3495
- _o,
3495
+ yo,
3496
3496
  vo
3497
3497
  ])
3498
- ], 16, yo)
3498
+ ], 16, _o)
3499
3499
  ], 2)) : f("", !0)
3500
3500
  ], 16)) : f("", !0)
3501
3501
  ])
@@ -3535,7 +3535,7 @@ const wo = /* @__PURE__ */ k(lo, [["render", xo]]), ko = {
3535
3535
  computed: {
3536
3536
  filteredData() {
3537
3537
  const e = this.search.toLowerCase();
3538
- return this.sortData(this.data).filter((r) => Object.values(r).some(
3538
+ return this.sortData(this.data).filter((s) => Object.values(s).some(
3539
3539
  (n) => n.toString().toLowerCase().includes(e)
3540
3540
  ));
3541
3541
  }
@@ -3556,10 +3556,10 @@ const wo = /* @__PURE__ */ k(lo, [["render", xo]]), ko = {
3556
3556
  limit: this.perPage,
3557
3557
  page: this.page
3558
3558
  };
3559
- axios.get(this.xprops.route_get_data, { params: t }).then((r) => {
3560
- this.itemLists = r.data, this.isLoading = !1;
3561
- }).catch((r) => {
3562
- console.error(r), this.isLoading = !1;
3559
+ axios.get(this.xprops.route_get_data, { params: t }).then((s) => {
3560
+ this.itemLists = s.data, this.isLoading = !1;
3561
+ }).catch((s) => {
3562
+ console.error(s), this.isLoading = !1;
3563
3563
  });
3564
3564
  },
3565
3565
  updateSortColumn(e, t) {
@@ -3583,82 +3583,82 @@ const wo = /* @__PURE__ */ k(lo, [["render", xo]]), ko = {
3583
3583
  this.isMounted && e !== t && this.GetItemLists();
3584
3584
  }
3585
3585
  }
3586
- }, $o = { class: "p-2" }, Co = { 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" }, So = { class: "flex items-center gap-2" }, Do = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Oo = { style: { "margin-top": "9px" } }, Po = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), Eo = /* @__PURE__ */ s("label", {
3586
+ }, $o = { class: "p-2" }, Co = { 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" }, So = { class: "flex items-center gap-2" }, Do = /* @__PURE__ */ r("span", { class: "font-medium" }, " Show ", -1), Oo = { style: { "margin-top": "9px" } }, Po = /* @__PURE__ */ r("span", { class: "font-medium" }, " Entries ", -1), Eo = /* @__PURE__ */ r("label", {
3587
3587
  for: "table-search",
3588
3588
  class: "sr-only"
3589
- }, "Search", -1), Ao = { class: "relative" }, jo = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3590
- /* @__PURE__ */ s("svg", {
3589
+ }, "Search", -1), Ao = { class: "relative" }, jo = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3590
+ /* @__PURE__ */ r("svg", {
3591
3591
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
3592
3592
  "aria-hidden": "true",
3593
3593
  fill: "currentColor",
3594
3594
  viewBox: "0 0 20 20",
3595
3595
  xmlns: "http://www.w3.org/2000/svg"
3596
3596
  }, [
3597
- /* @__PURE__ */ s("path", {
3597
+ /* @__PURE__ */ r("path", {
3598
3598
  "fill-rule": "evenodd",
3599
3599
  d: "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",
3600
3600
  "clip-rule": "evenodd"
3601
3601
  })
3602
3602
  ])
3603
- ], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Mo = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, No = ["onClick"], Lo = {
3603
+ ], -1), To = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Io = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Mo = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, No = ["onClick"], Vo = {
3604
3604
  key: 0,
3605
3605
  class: "ml-2"
3606
- }, Vo = {
3606
+ }, Lo = {
3607
3607
  key: 0,
3608
3608
  class: "fa fa-arrow-up"
3609
3609
  }, Bo = {
3610
3610
  key: 1,
3611
3611
  class: "fa fa-arrow-down"
3612
- }, Go = { key: 0 }, Fo = ["colspan"], Ro = /* @__PURE__ */ s("div", {
3612
+ }, Go = { key: 0 }, Fo = ["colspan"], Ro = /* @__PURE__ */ r("div", {
3613
3613
  role: "status",
3614
3614
  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"
3615
3615
  }, [
3616
- /* @__PURE__ */ s("div", { class: "flex items-center justify-between" }, [
3617
- /* @__PURE__ */ s("div", null, [
3618
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3619
- /* @__PURE__ */ s("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3616
+ /* @__PURE__ */ r("div", { class: "flex items-center justify-between" }, [
3617
+ /* @__PURE__ */ r("div", null, [
3618
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3619
+ /* @__PURE__ */ r("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3620
3620
  ]),
3621
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3621
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3622
3622
  ]),
3623
- /* @__PURE__ */ s("div", { class: "flex items-center justify-between pt-4" }, [
3624
- /* @__PURE__ */ s("div", null, [
3625
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3626
- /* @__PURE__ */ s("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3623
+ /* @__PURE__ */ r("div", { class: "flex items-center justify-between pt-4" }, [
3624
+ /* @__PURE__ */ r("div", null, [
3625
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3626
+ /* @__PURE__ */ r("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3627
3627
  ]),
3628
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3628
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3629
3629
  ]),
3630
- /* @__PURE__ */ s("div", { class: "flex items-center justify-between pt-4" }, [
3631
- /* @__PURE__ */ s("div", null, [
3632
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3633
- /* @__PURE__ */ s("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3630
+ /* @__PURE__ */ r("div", { class: "flex items-center justify-between pt-4" }, [
3631
+ /* @__PURE__ */ r("div", null, [
3632
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3633
+ /* @__PURE__ */ r("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3634
3634
  ]),
3635
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3635
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3636
3636
  ]),
3637
- /* @__PURE__ */ s("div", { class: "flex items-center justify-between pt-4" }, [
3638
- /* @__PURE__ */ s("div", null, [
3639
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3640
- /* @__PURE__ */ s("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3637
+ /* @__PURE__ */ r("div", { class: "flex items-center justify-between pt-4" }, [
3638
+ /* @__PURE__ */ r("div", null, [
3639
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3640
+ /* @__PURE__ */ r("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3641
3641
  ]),
3642
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3642
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3643
3643
  ]),
3644
- /* @__PURE__ */ s("div", { class: "flex items-center justify-between pt-4" }, [
3645
- /* @__PURE__ */ s("div", null, [
3646
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3647
- /* @__PURE__ */ s("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3644
+ /* @__PURE__ */ r("div", { class: "flex items-center justify-between pt-4" }, [
3645
+ /* @__PURE__ */ r("div", null, [
3646
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3" }),
3647
+ /* @__PURE__ */ r("div", { class: "w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" })
3648
3648
  ]),
3649
- /* @__PURE__ */ s("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3649
+ /* @__PURE__ */ r("div", { class: "h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12" })
3650
3650
  ]),
3651
- /* @__PURE__ */ s("span", { class: "sr-only" }, "Loading...")
3651
+ /* @__PURE__ */ r("span", { class: "sr-only" }, "Loading...")
3652
3652
  ], -1), Uo = [
3653
3653
  Ro
3654
- ], qo = ["data-label"], zo = { class: "overflow-auto max-h-40" }, Ho = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
3655
- function Zo(e, t, r, n, o, a) {
3654
+ ], qo = ["data-label"], Ho = { class: "overflow-auto max-h-40" }, zo = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
3655
+ function Zo(e, t, s, n, o, a) {
3656
3656
  const i = X("dropdown"), l = X("TailwindPagination");
3657
3657
  return d(), u("div", $o, [
3658
- s("div", Co, [
3659
- s("div", So, [
3658
+ r("div", Co, [
3659
+ r("div", So, [
3660
3660
  Do,
3661
- s("div", Oo, [
3661
+ r("div", Oo, [
3662
3662
  Z(i, {
3663
3663
  has_cancel: !1,
3664
3664
  options: o.pageOptions,
@@ -3675,56 +3675,56 @@ function Zo(e, t, r, n, o, a) {
3675
3675
  Po
3676
3676
  ]),
3677
3677
  Eo,
3678
- s("div", Ao, [
3678
+ r("div", Ao, [
3679
3679
  jo,
3680
- D(s("input", {
3680
+ D(r("input", {
3681
3681
  type: "text",
3682
3682
  "onUpdate:modelValue": t[1] || (t[1] = (c) => o.search = c),
3683
3683
  onInput: t[2] || (t[2] = (c) => a.handleSearch()),
3684
3684
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
3685
3685
  placeholder: "Search ..."
3686
3686
  }, null, 544), [
3687
- [L, o.search]
3687
+ [V, o.search]
3688
3688
  ])
3689
3689
  ])
3690
3690
  ]),
3691
- s("div", To, [
3692
- s("table", Io, [
3693
- s("thead", Mo, [
3694
- s("tr", null, [
3695
- (d(!0), u(v, null, $(r.columns, (c, g) => (d(), u("th", {
3691
+ r("div", To, [
3692
+ r("table", Io, [
3693
+ r("thead", Mo, [
3694
+ r("tr", null, [
3695
+ (d(!0), u(v, null, C(s.columns, (c, g) => (d(), u("th", {
3696
3696
  key: g,
3697
3697
  onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
3698
3698
  class: "w-full px-4 py-2 lg:w-2/12"
3699
3699
  }, [
3700
3700
  w(h(c.field_label) + " ", 1),
3701
- o.sortField === c.field_name ? (d(), u("span", Lo, [
3702
- o.sortOrder === "asc" ? (d(), u("i", Vo)) : (d(), u("i", Bo))
3701
+ o.sortField === c.field_name ? (d(), u("span", Vo, [
3702
+ o.sortOrder === "asc" ? (d(), u("i", Lo)) : (d(), u("i", Bo))
3703
3703
  ])) : f("", !0)
3704
3704
  ], 8, No))), 128))
3705
3705
  ])
3706
3706
  ]),
3707
- s("tbody", null, [
3707
+ r("tbody", null, [
3708
3708
  o.isLoading ? (d(), u("tr", Go, [
3709
- s("td", {
3710
- colspan: r.columns.length
3709
+ r("td", {
3710
+ colspan: s.columns.length
3711
3711
  }, Uo, 8, Fo)
3712
3712
  ])) : f("", !0),
3713
- o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, $(o.itemLists.data, (c, g) => (d(), u("tr", {
3713
+ o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, C(o.itemLists.data, (c, g) => (d(), u("tr", {
3714
3714
  key: g,
3715
3715
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
3716
3716
  }, [
3717
- (d(!0), u(v, null, $(r.columns, (m, y) => (d(), u("td", {
3717
+ (d(!0), u(v, null, C(s.columns, (m, y) => (d(), u("td", {
3718
3718
  key: y,
3719
3719
  "data-label": m.field_label,
3720
3720
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
3721
3721
  }, [
3722
- s("div", zo, [
3722
+ r("div", Ho, [
3723
3723
  m.tdComp ? (d(), K(oe(a.forDynCompIs(m.tdComp)), {
3724
3724
  key: 0,
3725
3725
  row: c,
3726
3726
  field: m.field_name,
3727
- xprops: r.xprops,
3727
+ xprops: s.xprops,
3728
3728
  tdProps: m.tdProps,
3729
3729
  onDeleteAction: t[3] || (t[3] = (x) => a.GetItemLists()),
3730
3730
  onEditAction: (x) => a.editAction(c)
@@ -3737,7 +3737,7 @@ function Zo(e, t, r, n, o, a) {
3737
3737
  ])
3738
3738
  ])
3739
3739
  ]),
3740
- s("div", Ho, [
3740
+ r("div", zo, [
3741
3741
  Z(l, {
3742
3742
  class: "mt-3 mb-0",
3743
3743
  data: o.itemLists,
@@ -3749,7 +3749,7 @@ function Zo(e, t, r, n, o, a) {
3749
3749
  ])
3750
3750
  ]);
3751
3751
  }
3752
- const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3752
+ const $u = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3753
3753
  components: {},
3754
3754
  props: {
3755
3755
  data: Array,
@@ -3771,7 +3771,7 @@ const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3771
3771
  computed: {
3772
3772
  filteredData() {
3773
3773
  const e = this.search.toLowerCase();
3774
- return this.sortData(this.data).filter((r) => Object.values(r).some(
3774
+ return this.sortData(this.data).filter((s) => Object.values(s).some(
3775
3775
  (n) => n != null && n.toString().toLowerCase().includes(e)
3776
3776
  ));
3777
3777
  },
@@ -3789,7 +3789,7 @@ const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3789
3789
  ), t = e + this.maxDisplayedPages - 1;
3790
3790
  return t > this.totalPages && (t = this.totalPages, e = Math.max(t - this.maxDisplayedPages + 1, 1)), Array.from(
3791
3791
  { length: t - e + 1 },
3792
- (r, n) => e + n
3792
+ (s, n) => e + n
3793
3793
  );
3794
3794
  },
3795
3795
  firstItemIndex() {
@@ -3811,7 +3811,7 @@ const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3811
3811
  e === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = e, this.sortOrder = 1);
3812
3812
  },
3813
3813
  sortData(e) {
3814
- return this.sortKey ? e.slice().sort((t, r) => (t[this.sortKey] < r[this.sortKey] ? -1 : 1) * this.sortOrder) : e;
3814
+ return this.sortKey ? e.slice().sort((t, s) => (t[this.sortKey] < s[this.sortKey] ? -1 : 1) * this.sortOrder) : e;
3815
3815
  },
3816
3816
  previousPage() {
3817
3817
  this.currentPage > 1 && this.currentPage--;
@@ -3829,18 +3829,18 @@ const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3829
3829
  e >= 1 && e <= this.totalPages && (this.currentPage = e);
3830
3830
  }
3831
3831
  }
3832
- }, Wo = { class: "p-2" }, Yo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Xo = { class: "flex items-center gap-2" }, Jo = /* @__PURE__ */ s("span", { class: "font-medium" }, " Show ", -1), Qo = { style: { "margin-top": "9px" } }, el = /* @__PURE__ */ s("span", { class: "font-medium" }, " Entries ", -1), tl = /* @__PURE__ */ s("label", {
3832
+ }, Wo = { class: "p-2" }, Yo = { class: "flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0" }, Xo = { class: "flex items-center gap-2" }, Jo = /* @__PURE__ */ r("span", { class: "font-medium" }, " Show ", -1), Qo = { style: { "margin-top": "9px" } }, el = /* @__PURE__ */ r("span", { class: "font-medium" }, " Entries ", -1), tl = /* @__PURE__ */ r("label", {
3833
3833
  for: "table-search",
3834
3834
  class: "sr-only"
3835
- }, "Search", -1), rl = { class: "relative" }, sl = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3836
- /* @__PURE__ */ s("svg", {
3835
+ }, "Search", -1), rl = { class: "relative" }, sl = /* @__PURE__ */ r("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, [
3836
+ /* @__PURE__ */ r("svg", {
3837
3837
  class: "w-5 h-5 text-gray-500 dark:text-gray-400",
3838
3838
  "aria-hidden": "true",
3839
3839
  fill: "currentColor",
3840
3840
  viewBox: "0 0 20 20",
3841
3841
  xmlns: "http://www.w3.org/2000/svg"
3842
3842
  }, [
3843
- /* @__PURE__ */ s("path", {
3843
+ /* @__PURE__ */ r("path", {
3844
3844
  "fill-rule": "evenodd",
3845
3845
  d: "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",
3846
3846
  "clip-rule": "evenodd"
@@ -3858,14 +3858,14 @@ const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3858
3858
  }, cl = ["data-label"], fl = ["innerHTML"], gl = {
3859
3859
  key: 0,
3860
3860
  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"
3861
- }, hl = { class: "flex justify-between flex-1 sm:hidden" }, ml = ["disabled"], bl = ["disabled"], pl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, yl = { class: "text-sm text-gray-700 dark:text-gray-400" }, _l = { class: "font-medium" }, vl = { class: "font-medium" }, xl = { class: "font-medium" }, wl = { "aria-label": "Page navigation" }, kl = { class: "flex items-center h-8 -space-x-px text-sm" }, $l = ["disabled"], Cl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Previous", -1), Sl = /* @__PURE__ */ s("svg", {
3861
+ }, hl = { class: "flex justify-between flex-1 sm:hidden" }, ml = ["disabled"], bl = ["disabled"], pl = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, _l = { class: "text-sm text-gray-700 dark:text-gray-400" }, yl = { class: "font-medium" }, vl = { class: "font-medium" }, xl = { class: "font-medium" }, wl = { "aria-label": "Page navigation" }, kl = { class: "flex items-center h-8 -space-x-px text-sm" }, $l = ["disabled"], Cl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Previous", -1), Sl = /* @__PURE__ */ r("svg", {
3862
3862
  class: "w-2.5 h-2.5 rtl:rotate-180",
3863
3863
  "aria-hidden": "true",
3864
3864
  xmlns: "http://www.w3.org/2000/svg",
3865
3865
  fill: "none",
3866
3866
  viewBox: "0 0 6 10"
3867
3867
  }, [
3868
- /* @__PURE__ */ s("path", {
3868
+ /* @__PURE__ */ r("path", {
3869
3869
  stroke: "currentColor",
3870
3870
  "stroke-linecap": "round",
3871
3871
  "stroke-linejoin": "round",
@@ -3875,14 +3875,14 @@ const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3875
3875
  ], -1), Dl = [
3876
3876
  Cl,
3877
3877
  Sl
3878
- ], Ol = ["onClick"], Pl = ["onClick"], El = ["disabled"], Al = /* @__PURE__ */ s("span", { class: "sr-only" }, "Next", -1), jl = /* @__PURE__ */ s("svg", {
3878
+ ], Ol = ["onClick"], Pl = ["onClick"], El = ["disabled"], Al = /* @__PURE__ */ r("span", { class: "sr-only" }, "Next", -1), jl = /* @__PURE__ */ r("svg", {
3879
3879
  class: "w-2.5 h-2.5 rtl:rotate-180",
3880
3880
  "aria-hidden": "true",
3881
3881
  xmlns: "http://www.w3.org/2000/svg",
3882
3882
  fill: "none",
3883
3883
  viewBox: "0 0 6 10"
3884
3884
  }, [
3885
- /* @__PURE__ */ s("path", {
3885
+ /* @__PURE__ */ r("path", {
3886
3886
  stroke: "currentColor",
3887
3887
  "stroke-linecap": "round",
3888
3888
  "stroke-linejoin": "round",
@@ -3893,13 +3893,13 @@ const lu = /* @__PURE__ */ k(ko, [["render", Zo]]), Ko = {
3893
3893
  Al,
3894
3894
  jl
3895
3895
  ];
3896
- function Il(e, t, r, n, o, a) {
3896
+ function Il(e, t, s, n, o, a) {
3897
3897
  const i = X("dropdown");
3898
3898
  return d(), u("div", Wo, [
3899
- s("div", Yo, [
3900
- s("div", Xo, [
3899
+ r("div", Yo, [
3900
+ r("div", Xo, [
3901
3901
  Jo,
3902
- s("div", Qo, [
3902
+ r("div", Qo, [
3903
3903
  Z(i, {
3904
3904
  has_cancel: !1,
3905
3905
  options: o.showNoOfEntries,
@@ -3916,23 +3916,23 @@ function Il(e, t, r, n, o, a) {
3916
3916
  el
3917
3917
  ]),
3918
3918
  tl,
3919
- s("div", rl, [
3919
+ r("div", rl, [
3920
3920
  sl,
3921
- D(s("input", {
3921
+ D(r("input", {
3922
3922
  type: "text",
3923
3923
  "onUpdate:modelValue": t[1] || (t[1] = (l) => o.search = l),
3924
3924
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
3925
3925
  placeholder: "Search ..."
3926
3926
  }, null, 512), [
3927
- [L, o.search]
3927
+ [V, o.search]
3928
3928
  ])
3929
3929
  ])
3930
3930
  ]),
3931
- s("div", al, [
3932
- s("table", nl, [
3933
- s("thead", ol, [
3934
- s("tr", null, [
3935
- (d(!0), u(v, null, $(r.columns, (l, c) => (d(), u("th", {
3931
+ r("div", al, [
3932
+ r("table", nl, [
3933
+ r("thead", ol, [
3934
+ r("tr", null, [
3935
+ (d(!0), u(v, null, C(s.columns, (l, c) => (d(), u("th", {
3936
3936
  key: c,
3937
3937
  onClick: (g) => a.sort(l),
3938
3938
  class: "w-full px-4 py-2 lg:w-2/12"
@@ -3944,17 +3944,17 @@ function Il(e, t, r, n, o, a) {
3944
3944
  ], 8, ll))), 128))
3945
3945
  ])
3946
3946
  ]),
3947
- s("tbody", null, [
3948
- (d(!0), u(v, null, $(a.paginatedData, (l, c) => (d(), u("tr", {
3947
+ r("tbody", null, [
3948
+ (d(!0), u(v, null, C(a.paginatedData, (l, c) => (d(), u("tr", {
3949
3949
  key: c,
3950
3950
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
3951
3951
  }, [
3952
- (d(!0), u(v, null, $(r.columns, (g, m) => (d(), u("td", {
3952
+ (d(!0), u(v, null, C(s.columns, (g, m) => (d(), u("td", {
3953
3953
  key: m,
3954
3954
  "data-label": g,
3955
3955
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
3956
3956
  }, [
3957
- s("p", {
3957
+ r("p", {
3958
3958
  class: "text-pretty",
3959
3959
  innerHTML: l[m]
3960
3960
  }, null, 8, fl)
@@ -3964,45 +3964,45 @@ function Il(e, t, r, n, o, a) {
3964
3964
  ])
3965
3965
  ]),
3966
3966
  a.paginatedData.length > 0 ? (d(), u("div", gl, [
3967
- s("div", hl, [
3968
- s("a", {
3967
+ r("div", hl, [
3968
+ r("a", {
3969
3969
  href: "#",
3970
3970
  onClick: t[2] || (t[2] = (...l) => a.previousPage && a.previousPage(...l)),
3971
3971
  disabled: o.currentPage === 1,
3972
3972
  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"
3973
3973
  }, "Previous", 8, ml),
3974
- s("a", {
3974
+ r("a", {
3975
3975
  href: "#",
3976
3976
  onClick: t[3] || (t[3] = (...l) => a.nextPage && a.nextPage(...l)),
3977
3977
  disabled: o.currentPage === a.totalPages,
3978
3978
  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"
3979
3979
  }, "Next", 8, bl)
3980
3980
  ]),
3981
- s("div", pl, [
3982
- s("div", null, [
3983
- s("p", yl, [
3981
+ r("div", pl, [
3982
+ r("div", null, [
3983
+ r("p", _l, [
3984
3984
  w(" Showing "),
3985
- s("span", _l, h(a.firstItemIndex), 1),
3985
+ r("span", yl, h(a.firstItemIndex), 1),
3986
3986
  w(" to "),
3987
- s("span", vl, h(a.lastItemIndex), 1),
3987
+ r("span", vl, h(a.lastItemIndex), 1),
3988
3988
  w(" of "),
3989
- s("span", xl, h(a.filteredData.length), 1),
3989
+ r("span", xl, h(a.filteredData.length), 1),
3990
3990
  w(" entries ")
3991
3991
  ])
3992
3992
  ]),
3993
- s("div", null, [
3994
- s("nav", wl, [
3995
- s("ul", kl, [
3996
- s("li", null, [
3997
- s("a", {
3993
+ r("div", null, [
3994
+ r("nav", wl, [
3995
+ r("ul", kl, [
3996
+ r("li", null, [
3997
+ r("a", {
3998
3998
  href: "#",
3999
3999
  onClick: t[4] || (t[4] = (...l) => a.previousPage && a.previousPage(...l)),
4000
4000
  disabled: o.currentPage === 1,
4001
4001
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
4002
4002
  }, Dl, 8, $l)
4003
4003
  ]),
4004
- (d(!0), u(v, null, $(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
4005
- s("li", null, [
4004
+ (d(!0), u(v, null, C(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
4005
+ r("li", null, [
4006
4006
  o.currentPage !== l ? (d(), u("a", {
4007
4007
  key: 0,
4008
4008
  href: "#",
@@ -4010,7 +4010,7 @@ function Il(e, t, r, n, o, a) {
4010
4010
  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"
4011
4011
  }, h(l), 9, Ol)) : f("", !0)
4012
4012
  ]),
4013
- s("li", null, [
4013
+ r("li", null, [
4014
4014
  o.currentPage === l ? (d(), u("a", {
4015
4015
  key: 0,
4016
4016
  href: "#",
@@ -4020,8 +4020,8 @@ function Il(e, t, r, n, o, a) {
4020
4020
  }, h(l), 9, Pl)) : f("", !0)
4021
4021
  ])
4022
4022
  ], 64))), 128)),
4023
- s("li", null, [
4024
- s("a", {
4023
+ r("li", null, [
4024
+ r("a", {
4025
4025
  href: "#",
4026
4026
  onClick: t[5] || (t[5] = (...l) => a.nextPage && a.nextPage(...l)),
4027
4027
  disabled: o.currentPage === a.totalPages,
@@ -4035,59 +4035,59 @@ function Il(e, t, r, n, o, a) {
4035
4035
  ])) : f("", !0)
4036
4036
  ]);
4037
4037
  }
4038
- const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4038
+ const Cu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4039
4039
  class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
4040
4040
  role: "alert"
4041
4041
  }, Nl = {
4042
4042
  key: 0,
4043
4043
  class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"
4044
- }, Ll = /* @__PURE__ */ s("svg", {
4044
+ }, Vl = /* @__PURE__ */ r("svg", {
4045
4045
  class: "w-5 h-5",
4046
4046
  "aria-hidden": "true",
4047
4047
  xmlns: "http://www.w3.org/2000/svg",
4048
4048
  fill: "currentColor",
4049
4049
  viewBox: "0 0 20 20"
4050
4050
  }, [
4051
- /* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
4052
- ], -1), Vl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Bl = [
4053
- Ll,
4054
- Vl
4051
+ /* @__PURE__ */ r("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
4052
+ ], -1), Ll = /* @__PURE__ */ r("span", { class: "sr-only" }, "Check icon", -1), Bl = [
4053
+ Vl,
4054
+ Ll
4055
4055
  ], Gl = {
4056
4056
  key: 1,
4057
4057
  class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
4058
- }, Fl = /* @__PURE__ */ s("svg", {
4058
+ }, Fl = /* @__PURE__ */ r("svg", {
4059
4059
  class: "w-5 h-5",
4060
4060
  "aria-hidden": "true",
4061
4061
  xmlns: "http://www.w3.org/2000/svg",
4062
4062
  fill: "currentColor",
4063
4063
  viewBox: "0 0 20 20"
4064
4064
  }, [
4065
- /* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
4066
- ], -1), Rl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Ul = [
4065
+ /* @__PURE__ */ r("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" })
4066
+ ], -1), Rl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Error icon", -1), Ul = [
4067
4067
  Fl,
4068
4068
  Rl
4069
4069
  ], ql = {
4070
4070
  key: 2,
4071
4071
  class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"
4072
- }, zl = /* @__PURE__ */ s("svg", {
4072
+ }, Hl = /* @__PURE__ */ r("svg", {
4073
4073
  class: "w-5 h-5",
4074
4074
  "aria-hidden": "true",
4075
4075
  xmlns: "http://www.w3.org/2000/svg",
4076
4076
  fill: "currentColor",
4077
4077
  viewBox: "0 0 20 20"
4078
4078
  }, [
4079
- /* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
4080
- ], -1), Hl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Warning icon", -1), Zl = [
4081
- zl,
4082
- Hl
4083
- ], Kl = { class: "ml-3 text-sm font-normal" }, Wl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Close", -1), Yl = /* @__PURE__ */ s("svg", {
4079
+ /* @__PURE__ */ r("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
4080
+ ], -1), zl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Warning icon", -1), Zl = [
4081
+ Hl,
4082
+ zl
4083
+ ], Kl = { class: "ml-3 text-sm font-normal" }, Wl = /* @__PURE__ */ r("span", { class: "sr-only" }, "Close", -1), Yl = /* @__PURE__ */ r("svg", {
4084
4084
  "aria-hidden": "true",
4085
4085
  class: "w-5 h-5",
4086
4086
  fill: "currentColor",
4087
4087
  viewBox: "0 0 20 20",
4088
4088
  xmlns: "http://www.w3.org/2000/svg"
4089
4089
  }, [
4090
- /* @__PURE__ */ s("path", {
4090
+ /* @__PURE__ */ r("path", {
4091
4091
  "fill-rule": "evenodd",
4092
4092
  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",
4093
4093
  "clip-rule": "evenodd"
@@ -4110,17 +4110,17 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4110
4110
  },
4111
4111
  emits: ["remove"],
4112
4112
  setup(e, { emit: t }) {
4113
- const r = e;
4113
+ const s = e;
4114
4114
  R(() => {
4115
- setTimeout(() => n("remove"), r.duration);
4115
+ setTimeout(() => n("remove"), s.duration);
4116
4116
  });
4117
4117
  const n = t;
4118
4118
  return (o, a) => (d(), u("div", Ml, [
4119
- r.type === "success" ? (d(), u("div", Nl, Bl)) : f("", !0),
4120
- r.type === "error" ? (d(), u("div", Gl, Ul)) : f("", !0),
4121
- r.type === "warning" ? (d(), u("div", ql, Zl)) : f("", !0),
4122
- s("div", Kl, h(r.message), 1),
4123
- s("button", {
4119
+ s.type === "success" ? (d(), u("div", Nl, Bl)) : f("", !0),
4120
+ s.type === "error" ? (d(), u("div", Gl, Ul)) : f("", !0),
4121
+ s.type === "warning" ? (d(), u("div", ql, Zl)) : f("", !0),
4122
+ r("div", Kl, h(s.message), 1),
4123
+ r("button", {
4124
4124
  onClick: a[0] || (a[0] = (i) => n("remove")),
4125
4125
  type: "button",
4126
4126
  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",
@@ -4129,7 +4129,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4129
4129
  }, Xl)
4130
4130
  ]));
4131
4131
  }
4132
- }, de = Se({
4132
+ }, de = De({
4133
4133
  items: []
4134
4134
  }), Ql = {
4135
4135
  add(e) {
@@ -4143,16 +4143,16 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4143
4143
  remove(e) {
4144
4144
  de.items.splice(e, 1);
4145
4145
  }
4146
- }, $e = {
4146
+ }, Ce = {
4147
4147
  state: de,
4148
4148
  methods: Ql
4149
- }, du = {
4149
+ }, Su = {
4150
4150
  __name: "GlToastList",
4151
4151
  setup(e) {
4152
- function t(r) {
4153
- $e.methods.remove(r);
4152
+ function t(s) {
4153
+ Ce.methods.remove(s);
4154
4154
  }
4155
- return (r, n) => (d(), K(dt, {
4155
+ return (s, n) => (d(), K(dt, {
4156
4156
  tag: "div",
4157
4157
  "enter-from-class": "translate-x-full opacity-0",
4158
4158
  "enter-active-class": "duration-500",
@@ -4161,7 +4161,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4161
4161
  class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
4162
4162
  }, {
4163
4163
  default: J(() => [
4164
- (d(!0), u(v, null, $(De($e).state.items, (o, a) => (d(), K(Jl, {
4164
+ (d(!0), u(v, null, C(Oe(Ce).state.items, (o, a) => (d(), K(Jl, {
4165
4165
  key: o.key,
4166
4166
  message: o.message,
4167
4167
  type: o.type,
@@ -4175,20 +4175,20 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4175
4175
  }, ei = {
4176
4176
  key: 0,
4177
4177
  class: "flex justify-center"
4178
- }, ti = /* @__PURE__ */ s("svg", {
4178
+ }, ti = /* @__PURE__ */ r("svg", {
4179
4179
  class: "w-5 h-5",
4180
4180
  "aria-hidden": "true",
4181
4181
  xmlns: "http://www.w3.org/2000/svg",
4182
4182
  fill: "currentColor",
4183
4183
  viewBox: "0 0 4 15"
4184
4184
  }, [
4185
- /* @__PURE__ */ s("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
4185
+ /* @__PURE__ */ r("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" })
4186
4186
  ], -1), ri = [
4187
4187
  ti
4188
4188
  ], si = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ai = {
4189
4189
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4190
4190
  "aria-labelledby": "dropdownDividerButton"
4191
- }, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), uu = {
4191
+ }, ni = { key: 0 }, oi = ["href"], li = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ii = { key: 1 }, di = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Du = {
4192
4192
  __name: "DatatableAction",
4193
4193
  props: {
4194
4194
  field: {
@@ -4214,7 +4214,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4214
4214
  },
4215
4215
  emits: ["deleteAction"],
4216
4216
  setup(e, { emit: t }) {
4217
- const r = Ae(), n = e, o = S(!1), a = S(!1), i = () => {
4217
+ const s = Ae(), n = e, o = $(!1), a = $(!1), i = () => {
4218
4218
  o.value = !1;
4219
4219
  }, l = () => {
4220
4220
  o.value = !0;
@@ -4224,7 +4224,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4224
4224
  a.value = !0;
4225
4225
  }, m = t, y = () => {
4226
4226
  axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
4227
- c(), m("deleteAction"), r.commit("notification/SHOW_NOTIFICATION", {
4227
+ c(), m("deleteAction"), s.commit("notification/SHOW_NOTIFICATION", {
4228
4228
  message: "Item deleted successfully.",
4229
4229
  type: "success",
4230
4230
  duration: 5e3
@@ -4233,24 +4233,24 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4233
4233
  console.log(x);
4234
4234
  });
4235
4235
  };
4236
- return (x, C) => {
4237
- const V = Oe("click-outside");
4236
+ return (x, S) => {
4237
+ const B = ue("click-outside");
4238
4238
  return d(), u(v, null, [
4239
- Z(ue, {
4239
+ Z(ce, {
4240
4240
  isOpen: a.value,
4241
4241
  onConfirmDelete: y,
4242
4242
  onCancelDelete: c
4243
4243
  }, null, 8, ["isOpen"]),
4244
4244
  e.row && x.can(`edit_${e.xprops.permission} || delete_${e.xprops.permission}`) ? D((d(), u("div", ei, [
4245
- s("button", {
4245
+ r("button", {
4246
4246
  onClick: l,
4247
4247
  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",
4248
4248
  type: "button"
4249
4249
  }, ri),
4250
- D(s("div", si, [
4251
- s("ul", ai, [
4250
+ D(r("div", si, [
4251
+ r("ul", ai, [
4252
4252
  x.can(`edit_${e.xprops.permission}`) ? (d(), u("li", ni, [
4253
- s("a", {
4253
+ r("a", {
4254
4254
  href: e.xprops.route + "/" + e.row.id + "/edit",
4255
4255
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
4256
4256
  }, [
@@ -4259,7 +4259,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4259
4259
  ], 8, oi)
4260
4260
  ])) : f("", !0),
4261
4261
  x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", ii, [
4262
- s("a", {
4262
+ r("a", {
4263
4263
  href: "#",
4264
4264
  onClick: N(g, ["prevent"]),
4265
4265
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
@@ -4273,7 +4273,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4273
4273
  [F, o.value]
4274
4274
  ])
4275
4275
  ])), [
4276
- [V, i]
4276
+ [B, i]
4277
4277
  ]) : f("", !0)
4278
4278
  ], 64);
4279
4279
  };
@@ -4281,20 +4281,20 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4281
4281
  }, ui = {
4282
4282
  key: 0,
4283
4283
  class: "flex justify-center"
4284
- }, ci = /* @__PURE__ */ s("svg", {
4284
+ }, ci = /* @__PURE__ */ r("svg", {
4285
4285
  class: "w-5 h-5",
4286
4286
  "aria-hidden": "true",
4287
4287
  xmlns: "http://www.w3.org/2000/svg",
4288
4288
  fill: "currentColor",
4289
4289
  viewBox: "0 0 4 15"
4290
4290
  }, [
4291
- /* @__PURE__ */ s("path", { d: "M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" })
4291
+ /* @__PURE__ */ r("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" })
4292
4292
  ], -1), fi = [
4293
4293
  ci
4294
4294
  ], gi = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, hi = {
4295
4295
  class: "py-2 text-sm text-gray-700 dark:text-gray-200",
4296
4296
  "aria-labelledby": "dropdownDividerButton"
4297
- }, mi = { key: 0 }, bi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), cu = {
4297
+ }, mi = { key: 0 }, bi = /* @__PURE__ */ r("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), Ou = {
4298
4298
  __name: "DatatableDeleteAction",
4299
4299
  props: {
4300
4300
  field: {
@@ -4320,7 +4320,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4320
4320
  },
4321
4321
  emits: ["deleteAction"],
4322
4322
  setup(e, { emit: t }) {
4323
- const r = Ae(), n = e, o = S(!1), a = S(!1), i = () => {
4323
+ const s = Ae(), n = e, o = $(!1), a = $(!1), i = () => {
4324
4324
  o.value = !1;
4325
4325
  }, l = () => {
4326
4326
  o.value = !0;
@@ -4330,7 +4330,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4330
4330
  a.value = !0;
4331
4331
  }, m = t, y = () => {
4332
4332
  axios.delete(`${n.xprops.route}/${n.row.id}`).then(() => {
4333
- c(), m("deleteAction"), r.commit("notification/SHOW_NOTIFICATION", {
4333
+ c(), m("deleteAction"), s.commit("notification/SHOW_NOTIFICATION", {
4334
4334
  message: "Item deleted successfully.",
4335
4335
  type: "success",
4336
4336
  duration: 5e3
@@ -4339,24 +4339,24 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4339
4339
  console.log(x);
4340
4340
  });
4341
4341
  };
4342
- return (x, C) => {
4343
- const V = Oe("click-outside");
4342
+ return (x, S) => {
4343
+ const B = ue("click-outside");
4344
4344
  return d(), u(v, null, [
4345
- Z(ue, {
4345
+ Z(ce, {
4346
4346
  isOpen: a.value,
4347
4347
  onConfirmDelete: y,
4348
4348
  onCancelDelete: c
4349
4349
  }, null, 8, ["isOpen"]),
4350
4350
  e.row && x.can(`delete_${e.xprops.permission}`) ? D((d(), u("div", ui, [
4351
- s("button", {
4351
+ r("button", {
4352
4352
  onClick: l,
4353
4353
  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",
4354
4354
  type: "button"
4355
4355
  }, fi),
4356
- D(s("div", gi, [
4357
- s("ul", hi, [
4356
+ D(r("div", gi, [
4357
+ r("ul", hi, [
4358
4358
  x.can(`delete_${e.xprops.permission}`) ? (d(), u("li", mi, [
4359
- s("a", {
4359
+ r("a", {
4360
4360
  href: "#",
4361
4361
  onClick: N(g, ["prevent"]),
4362
4362
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
@@ -4370,7 +4370,7 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4370
4370
  [F, o.value]
4371
4371
  ])
4372
4372
  ])), [
4373
- [V, i]
4373
+ [B, i]
4374
4374
  ]) : f("", !0)
4375
4375
  ], 64);
4376
4376
  };
@@ -4390,19 +4390,19 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4390
4390
  },
4391
4391
  mounted() {
4392
4392
  }
4393
- }, yi = ["href", "title"], _i = /* @__PURE__ */ s("svg", {
4393
+ }, _i = ["href", "title"], yi = /* @__PURE__ */ r("svg", {
4394
4394
  class: "w-3 h-3 text-white me-2",
4395
4395
  "aria-hidden": "true",
4396
4396
  xmlns: "http://www.w3.org/2000/svg",
4397
4397
  fill: "currentColor",
4398
4398
  viewBox: "0 0 24 24"
4399
4399
  }, [
4400
- /* @__PURE__ */ s("path", {
4400
+ /* @__PURE__ */ r("path", {
4401
4401
  "fill-rule": "evenodd",
4402
4402
  d: "M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z",
4403
4403
  "clip-rule": "evenodd"
4404
4404
  }),
4405
- /* @__PURE__ */ s("path", {
4405
+ /* @__PURE__ */ r("path", {
4406
4406
  "fill-rule": "evenodd",
4407
4407
  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",
4408
4408
  "clip-rule": "evenodd"
@@ -4410,43 +4410,43 @@ const iu = /* @__PURE__ */ k(Ko, [["render", Il]]), Ml = {
4410
4410
  ], -1), vi = {
4411
4411
  key: 1,
4412
4412
  class: "m-1 d-inline-block"
4413
- }, xi = ["href", "title"], wi = /* @__PURE__ */ s("svg", {
4413
+ }, xi = ["href", "title"], wi = /* @__PURE__ */ r("svg", {
4414
4414
  class: "w-3 h-3 text-white me-2",
4415
4415
  "aria-hidden": "true",
4416
4416
  xmlns: "http://www.w3.org/2000/svg",
4417
4417
  fill: "currentColor",
4418
4418
  viewBox: "0 0 24 24"
4419
4419
  }, [
4420
- /* @__PURE__ */ s("path", {
4420
+ /* @__PURE__ */ r("path", {
4421
4421
  "fill-rule": "evenodd",
4422
4422
  d: "M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z",
4423
4423
  "clip-rule": "evenodd"
4424
4424
  }),
4425
- /* @__PURE__ */ s("path", {
4425
+ /* @__PURE__ */ r("path", {
4426
4426
  "fill-rule": "evenodd",
4427
4427
  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",
4428
4428
  "clip-rule": "evenodd"
4429
4429
  })
4430
4430
  ], -1);
4431
- function ki(e, t, r, n, o, a) {
4431
+ function ki(e, t, s, n, o, a) {
4432
4432
  return d(), u("div", null, [
4433
- a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row, (i, l) => (d(), u("div", {
4433
+ a.isArray ? (d(!0), u(v, { key: 0 }, C(s.row, (i, l) => (d(), u("div", {
4434
4434
  key: l,
4435
4435
  class: "m-1 d-inline-block"
4436
4436
  }, [
4437
- s("a", {
4437
+ r("a", {
4438
4438
  href: i,
4439
4439
  title: i,
4440
4440
  target: "_blank",
4441
4441
  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"
4442
4442
  }, [
4443
- _i,
4443
+ yi,
4444
4444
  w(" Download ")
4445
- ], 8, yi)
4445
+ ], 8, _i)
4446
4446
  ]))), 128)) : a.isString ? (d(), u("div", vi, [
4447
- s("a", {
4448
- href: r.row,
4449
- title: r.row,
4447
+ r("a", {
4448
+ href: s.row,
4449
+ title: s.row,
4450
4450
  target: "_blank",
4451
4451
  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"
4452
4452
  }, [
@@ -4456,7 +4456,7 @@ function ki(e, t, r, n, o, a) {
4456
4456
  ])) : f("", !0)
4457
4457
  ]);
4458
4458
  }
4459
- const fu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
4459
+ const Pu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
4460
4460
  props: ["field", "row"],
4461
4461
  computed: {
4462
4462
  isArray() {
@@ -4466,19 +4466,19 @@ const fu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
4466
4466
  return typeof this.row[this.field] == "object";
4467
4467
  }
4468
4468
  }
4469
- }, Ci = ["href", "title"], Si = /* @__PURE__ */ s("svg", {
4469
+ }, Ci = ["href", "title"], Si = /* @__PURE__ */ r("svg", {
4470
4470
  class: "w-3 h-3 text-white me-2",
4471
4471
  "aria-hidden": "true",
4472
4472
  xmlns: "http://www.w3.org/2000/svg",
4473
4473
  fill: "currentColor",
4474
4474
  viewBox: "0 0 24 24"
4475
4475
  }, [
4476
- /* @__PURE__ */ s("path", {
4476
+ /* @__PURE__ */ r("path", {
4477
4477
  "fill-rule": "evenodd",
4478
4478
  d: "M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z",
4479
4479
  "clip-rule": "evenodd"
4480
4480
  }),
4481
- /* @__PURE__ */ s("path", {
4481
+ /* @__PURE__ */ r("path", {
4482
4482
  "fill-rule": "evenodd",
4483
4483
  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",
4484
4484
  "clip-rule": "evenodd"
@@ -4486,31 +4486,31 @@ const fu = /* @__PURE__ */ k(pi, [["render", ki]]), $i = {
4486
4486
  ], -1), Di = {
4487
4487
  key: 1,
4488
4488
  class: "m-1 d-inline-block"
4489
- }, Oi = ["href", "title"], Pi = /* @__PURE__ */ s("svg", {
4489
+ }, Oi = ["href", "title"], Pi = /* @__PURE__ */ r("svg", {
4490
4490
  class: "w-3 h-3 text-white me-2",
4491
4491
  "aria-hidden": "true",
4492
4492
  xmlns: "http://www.w3.org/2000/svg",
4493
4493
  fill: "currentColor",
4494
4494
  viewBox: "0 0 24 24"
4495
4495
  }, [
4496
- /* @__PURE__ */ s("path", {
4496
+ /* @__PURE__ */ r("path", {
4497
4497
  "fill-rule": "evenodd",
4498
4498
  d: "M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z",
4499
4499
  "clip-rule": "evenodd"
4500
4500
  }),
4501
- /* @__PURE__ */ s("path", {
4501
+ /* @__PURE__ */ r("path", {
4502
4502
  "fill-rule": "evenodd",
4503
4503
  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",
4504
4504
  "clip-rule": "evenodd"
4505
4505
  })
4506
4506
  ], -1);
4507
- function Ei(e, t, r, n, o, a) {
4507
+ function Ei(e, t, s, n, o, a) {
4508
4508
  return d(), u("div", null, [
4509
- a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[r.field], (i) => (d(), u("div", {
4509
+ a.isArray ? (d(!0), u(v, { key: 0 }, C(s.row[s.field], (i) => (d(), u("div", {
4510
4510
  key: i.id,
4511
4511
  class: "m-1 d-inline-block"
4512
4512
  }, [
4513
- s("a", {
4513
+ r("a", {
4514
4514
  href: i.url,
4515
4515
  title: i.name,
4516
4516
  target: "_blank",
@@ -4520,9 +4520,9 @@ function Ei(e, t, r, n, o, a) {
4520
4520
  w(" Download ")
4521
4521
  ], 8, Ci)
4522
4522
  ]))), 128)) : a.isObject ? (d(), u("div", Di, [
4523
- s("a", {
4524
- href: r.row[r.field].url,
4525
- title: r.row[r.field].name,
4523
+ r("a", {
4524
+ href: s.row[s.field].url,
4525
+ title: s.row[s.field].name,
4526
4526
  target: "_blank",
4527
4527
  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"
4528
4528
  }, [
@@ -4532,18 +4532,18 @@ function Ei(e, t, r, n, o, a) {
4532
4532
  ])) : f("", !0)
4533
4533
  ]);
4534
4534
  }
4535
- const gu = /* @__PURE__ */ k($i, [["render", Ei]]), Ai = {
4535
+ const Eu = /* @__PURE__ */ k($i, [["render", Ei]]), Ai = {
4536
4536
  props: ["field", "row", "tdProps"]
4537
4537
  }, ji = { key: 0 }, Ti = ["innerHTML"];
4538
- function Ii(e, t, r, n, o, a) {
4539
- return r.row[r.field] ? (d(), u("div", ji, [
4540
- s("div", {
4538
+ function Ii(e, t, s, n, o, a) {
4539
+ return s.row[s.field] ? (d(), u("div", ji, [
4540
+ r("div", {
4541
4541
  class: "w-full",
4542
- innerHTML: r.row[r.field]
4542
+ innerHTML: s.row[s.field]
4543
4543
  }, null, 8, Ti)
4544
4544
  ])) : f("", !0);
4545
4545
  }
4546
- const hu = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
4546
+ const Au = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
4547
4547
  props: ["field", "row", "tdProps"],
4548
4548
  computed: {
4549
4549
  entry() {
@@ -4557,54 +4557,54 @@ const hu = /* @__PURE__ */ k(Ai, [["render", Ii]]), Mi = {
4557
4557
  return typeof this.row[this.entry.key] == "object";
4558
4558
  }
4559
4559
  }
4560
- }, Ni = { class: "flex flex-wrap gap-2" }, Li = {
4560
+ }, Ni = { class: "flex flex-wrap gap-2" }, Vi = {
4561
4561
  key: 1,
4562
4562
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4563
4563
  };
4564
- function Vi(e, t, r, n, o, a) {
4564
+ function Li(e, t, s, n, o, a) {
4565
4565
  return d(), u("div", Ni, [
4566
- a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[a.entry.key], (i, l) => (d(), u("span", {
4566
+ a.isArray ? (d(!0), u(v, { key: 0 }, C(s.row[a.entry.key], (i, l) => (d(), u("span", {
4567
4567
  key: l,
4568
4568
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
4569
- }, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Li, h(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
4569
+ }, h(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Vi, h(s.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
4570
4570
  ]);
4571
4571
  }
4572
- const mu = /* @__PURE__ */ k(Mi, [["render", Vi]]), Bi = {
4572
+ const ju = /* @__PURE__ */ k(Mi, [["render", Li]]), Bi = {
4573
4573
  props: ["field", "row", "tdProps"]
4574
4574
  }, Gi = { key: 0 }, Fi = { class: "m-1 d-inline-block" }, Ri = ["href", "title"], Ui = ["src", "alt", "title"];
4575
- function qi(e, t, r, n, o, a) {
4576
- return r.row[r.field] ? (d(), u("div", Gi, [
4577
- s("div", Fi, [
4578
- s("a", {
4579
- href: r.row[r.field].url,
4580
- title: r.row[r.field].name,
4575
+ function qi(e, t, s, n, o, a) {
4576
+ return s.row[s.field] ? (d(), u("div", Gi, [
4577
+ r("div", Fi, [
4578
+ r("a", {
4579
+ href: s.row[s.field].url,
4580
+ title: s.row[s.field].name,
4581
4581
  target: "_blank"
4582
4582
  }, [
4583
- s("img", {
4584
- src: r.row[r.field].thumbnail,
4585
- alt: r.row[r.field].name,
4586
- title: r.row[r.field].name
4583
+ r("img", {
4584
+ src: s.row[s.field].thumbnail,
4585
+ alt: s.row[s.field].name,
4586
+ title: s.row[s.field].name
4587
4587
  }, null, 8, Ui)
4588
4588
  ], 8, Ri)
4589
4589
  ])
4590
4590
  ])) : f("", !0);
4591
4591
  }
4592
- const bu = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c"]]), zi = {
4592
+ const Tu = /* @__PURE__ */ k(Bi, [["render", qi], ["__scopeId", "data-v-3a28c02c"]]), Hi = {
4593
4593
  props: ["field", "row", "tdProps"],
4594
4594
  computed: {
4595
4595
  isActive() {
4596
4596
  return this.row[this.field] === 1;
4597
4597
  }
4598
4598
  }
4599
- }, Hi = { class: "flex flex-wrap gap-2 text-nowrap" }, Zi = {
4599
+ }, zi = { class: "flex flex-wrap gap-2 text-nowrap" }, Zi = {
4600
4600
  key: 0,
4601
4601
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
4602
- }, Ki = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Wi = {
4602
+ }, Ki = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), Wi = {
4603
4603
  key: 1,
4604
4604
  class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
4605
- }, Yi = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
4606
- function Xi(e, t, r, n, o, a) {
4607
- return d(), u("div", Hi, [
4605
+ }, Yi = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
4606
+ function Xi(e, t, s, n, o, a) {
4607
+ return d(), u("div", zi, [
4608
4608
  a.isActive ? (d(), u("span", Zi, [
4609
4609
  Ki,
4610
4610
  w(" Active ")
@@ -4614,12 +4614,12 @@ function Xi(e, t, r, n, o, a) {
4614
4614
  ]))
4615
4615
  ]);
4616
4616
  }
4617
- const pu = /* @__PURE__ */ k(zi, [["render", Xi]]), Ji = {
4617
+ const Iu = /* @__PURE__ */ k(Hi, [["render", Xi]]), Ji = {
4618
4618
  props: ["field", "row", "tdProps"],
4619
4619
  computed: {
4620
4620
  hasLabelColor(e) {
4621
4621
  const t = this.tdProps.status_general_labels_color.find(
4622
- (r) => r.label === this.row[this.field]
4622
+ (s) => s.label === this.row[this.field]
4623
4623
  );
4624
4624
  return t ? t.class : "";
4625
4625
  }
@@ -4627,23 +4627,23 @@ const pu = /* @__PURE__ */ k(zi, [["render", Xi]]), Ji = {
4627
4627
  }, Qi = { class: "flex flex-wrap gap-2 text-nowrap" }, ed = {
4628
4628
  key: 0,
4629
4629
  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"
4630
- }, td = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), rd = {
4630
+ }, td = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), rd = {
4631
4631
  key: 1,
4632
4632
  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"
4633
- }, sd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), ad = {
4633
+ }, sd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), ad = {
4634
4634
  key: 2,
4635
4635
  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"
4636
- }, nd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), od = {
4636
+ }, nd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), od = {
4637
4637
  key: 3,
4638
4638
  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"
4639
- }, ld = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), id = {
4639
+ }, ld = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1), id = {
4640
4640
  key: 4,
4641
4641
  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"
4642
- }, dd = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
4643
- /* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
4644
- /* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
4642
+ }, dd = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
4643
+ /* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
4644
+ /* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
4645
4645
  ], -1);
4646
- function ud(e, t, r, n, o, a) {
4646
+ function ud(e, t, s, n, o, a) {
4647
4647
  return d(), u("div", Qi, [
4648
4648
  a.hasLabelColor == "green" ? (d(), u("span", ed, [
4649
4649
  td,
@@ -4667,7 +4667,7 @@ function ud(e, t, r, n, o, a) {
4667
4667
  ])) : f("", !0)
4668
4668
  ]);
4669
4669
  }
4670
- const yu = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
4670
+ const Mu = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
4671
4671
  props: ["field", "row", "tdProps"],
4672
4672
  computed: {
4673
4673
  hasLabelColor() {
@@ -4689,7 +4689,7 @@ const yu = /* @__PURE__ */ k(Ji, [["render", ud]]), cd = {
4689
4689
  }
4690
4690
  }
4691
4691
  }, fd = { class: "flex flex-wrap gap-2 text-nowrap" };
4692
- function gd(e, t, r, n, o, a) {
4692
+ function gd(e, t, s, n, o, a) {
4693
4693
  return d(), u("div", fd, [
4694
4694
  a.hasLabelColor == "Default" ? (d(), u("span", {
4695
4695
  key: 0,
@@ -4725,69 +4725,69 @@ function gd(e, t, r, n, o, a) {
4725
4725
  }, h(this.row[this.field]), 3)) : f("", !0)
4726
4726
  ]);
4727
4727
  }
4728
- const _u = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
4728
+ const Nu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
4729
4729
  props: ["field", "row", "tdProps"],
4730
4730
  computed: {
4731
4731
  formattedDate() {
4732
4732
  if (!this.row[this.field])
4733
4733
  return "";
4734
- const e = new Date(this.row[this.field]), t = e.getFullYear(), r = e.toLocaleString("default", { month: "long" }), n = e.getDate();
4734
+ const e = new Date(this.row[this.field]), t = e.getFullYear(), s = e.toLocaleString("default", { month: "long" }), n = e.getDate();
4735
4735
  let o = e.getHours();
4736
4736
  const a = e.getMinutes(), i = e.getSeconds(), l = o >= 12 ? "pm" : "am";
4737
- return o = o % 12, o = o || 12, `${r} ${n}, ${t}, ${o}:${a}:${i} ${l}`;
4737
+ return o = o % 12, o = o || 12, `${s} ${n}, ${t}, ${o}:${a}:${i} ${l}`;
4738
4738
  },
4739
4739
  isActive() {
4740
4740
  return this.row[this.field] === 1;
4741
4741
  }
4742
4742
  }
4743
4743
  }, md = { class: "w-full" };
4744
- function bd(e, t, r, n, o, a) {
4744
+ function bd(e, t, s, n, o, a) {
4745
4745
  return d(), u("div", md, h(a.formattedDate), 1);
4746
4746
  }
4747
- const vu = /* @__PURE__ */ k(hd, [["render", bd]]), pd = {
4747
+ const Vu = /* @__PURE__ */ k(hd, [["render", bd]]), pd = {
4748
4748
  props: ["field", "row", "tdProps"]
4749
- }, yd = { class: "flex flex-wrap gap-2 text-nowrap" }, _d = {
4749
+ }, _d = { class: "flex flex-wrap gap-2 text-nowrap" }, yd = {
4750
4750
  key: 0,
4751
4751
  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"
4752
- }, vd = /* @__PURE__ */ s("span", { class: "relative flex w-2 h-2 mr-1" }, [
4753
- /* @__PURE__ */ s("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
4754
- /* @__PURE__ */ s("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
4752
+ }, vd = /* @__PURE__ */ r("span", { class: "relative flex w-2 h-2 mr-1" }, [
4753
+ /* @__PURE__ */ r("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
4754
+ /* @__PURE__ */ r("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
4755
4755
  ], -1), xd = {
4756
4756
  key: 1,
4757
4757
  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"
4758
- }, wd = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), kd = {
4758
+ }, wd = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1), kd = {
4759
4759
  key: 2,
4760
4760
  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"
4761
- }, $d = /* @__PURE__ */ s("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
4762
- function Cd(e, t, r, n, o, a) {
4763
- return d(), u("div", yd, [
4764
- r.row[r.field] === 0 ? (d(), u("span", _d, [
4761
+ }, $d = /* @__PURE__ */ r("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
4762
+ function Cd(e, t, s, n, o, a) {
4763
+ return d(), u("div", _d, [
4764
+ s.row[s.field] === 0 ? (d(), u("span", yd, [
4765
4765
  vd,
4766
4766
  w(" Provisioning")
4767
4767
  ])) : f("", !0),
4768
- r.row[r.field] === 2 ? (d(), u("span", xd, [
4768
+ s.row[s.field] === 2 ? (d(), u("span", xd, [
4769
4769
  wd,
4770
4770
  w(" Paused ")
4771
4771
  ])) : f("", !0),
4772
- r.row[r.field] === 1 ? (d(), u("span", kd, [
4772
+ s.row[s.field] === 1 ? (d(), u("span", kd, [
4773
4773
  $d,
4774
4774
  w(" Active ")
4775
4775
  ])) : f("", !0)
4776
4776
  ]);
4777
4777
  }
4778
- const xu = /* @__PURE__ */ k(pd, [["render", Cd]]), Sd = {
4778
+ const Lu = /* @__PURE__ */ k(pd, [["render", Cd]]), Sd = {
4779
4779
  props: ["field", "row", "tdProps"]
4780
4780
  }, Dd = {
4781
4781
  key: 0,
4782
4782
  class: "text-nowrap"
4783
4783
  }, Od = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left text-white break-words rounded cursor-default whitespace-nowrap bg-zinc-700" };
4784
- function Pd(e, t, r, n, o, a) {
4785
- return r.row[r.field] ? (d(), u("div", Dd, [
4786
- s("pre", Od, " " + h(r.row[r.field]) + `
4784
+ function Pd(e, t, s, n, o, a) {
4785
+ return s.row[s.field] ? (d(), u("div", Dd, [
4786
+ r("pre", Od, " " + h(s.row[s.field]) + `
4787
4787
  `, 1)
4788
4788
  ])) : f("", !0);
4789
4789
  }
4790
- const wu = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
4790
+ const Bu = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
4791
4791
  props: ["isOpen", "title", "button_text"],
4792
4792
  methods: {
4793
4793
  confirmAction() {
@@ -4802,36 +4802,36 @@ const wu = /* @__PURE__ */ k(Sd, [["render", Pd]]), Ed = {
4802
4802
  class: "fixed inset-0 z-50 overflow-y-auto",
4803
4803
  role: "dialog",
4804
4804
  "aria-modal": "true"
4805
- }, jd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Td = /* @__PURE__ */ s("div", {
4805
+ }, jd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Td = /* @__PURE__ */ r("div", {
4806
4806
  class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
4807
4807
  "aria-hidden": "true"
4808
- }, null, -1), Id = /* @__PURE__ */ s("span", {
4808
+ }, null, -1), Id = /* @__PURE__ */ r("span", {
4809
4809
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
4810
4810
  "aria-hidden": "true"
4811
- }, "​", -1), Md = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Nd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Ld = { class: "sm:flex sm:items-start" }, Vd = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Bd = { class: "text-lg font-medium leading-6 text-gray-900" }, Gd = { class: "mt-2" }, Fd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4812
- function Rd(e, t, r, n, o, a) {
4813
- return r.isOpen ? (d(), u("div", Ad, [
4814
- s("div", jd, [
4811
+ }, "​", -1), Md = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Nd = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Vd = { class: "sm:flex sm:items-start" }, Ld = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Bd = { class: "text-lg font-medium leading-6 text-gray-900" }, Gd = { class: "mt-2" }, Fd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
4812
+ function Rd(e, t, s, n, o, a) {
4813
+ return s.isOpen ? (d(), u("div", Ad, [
4814
+ r("div", jd, [
4815
4815
  Td,
4816
4816
  Id,
4817
- s("div", Md, [
4818
- s("div", Nd, [
4819
- s("div", Ld, [
4820
- s("div", Vd, [
4821
- s("h3", Bd, h(r.title), 1),
4822
- s("div", Gd, [
4817
+ r("div", Md, [
4818
+ r("div", Nd, [
4819
+ r("div", Vd, [
4820
+ r("div", Ld, [
4821
+ r("h3", Bd, h(s.title), 1),
4822
+ r("div", Gd, [
4823
4823
  T(e.$slots, "default")
4824
4824
  ])
4825
4825
  ])
4826
4826
  ])
4827
4827
  ]),
4828
- s("div", Fd, [
4829
- s("button", {
4828
+ r("div", Fd, [
4829
+ r("button", {
4830
4830
  onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
4831
4831
  type: "button",
4832
4832
  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"
4833
- }, h(r.button_text), 1),
4834
- s("button", {
4833
+ }, h(s.button_text), 1),
4834
+ r("button", {
4835
4835
  onClick: t[1] || (t[1] = (...i) => a.cancelAction && a.cancelAction(...i)),
4836
4836
  type: "button",
4837
4837
  class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
@@ -4841,43 +4841,132 @@ function Rd(e, t, r, n, o, a) {
4841
4841
  ])
4842
4842
  ])) : f("", !0);
4843
4843
  }
4844
- const ku = /* @__PURE__ */ k(Ed, [["render", Rd]]);
4844
+ const Gu = /* @__PURE__ */ k(Ed, [["render", Rd]]), Ud = { class: "w-full max-w-lg" }, qd = { class: "mb-2 flex justify-between items-center" }, Hd = { class: "text-sm font-medium text-gray-900 dark:text-white" }, zd = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-64" }, Zd = { class: "overflow-scroll max-h-full" }, Kd = { class: "text-sm text-gray-500 dark:text-gray-400 whitespace-pre" }, Wd = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Yd = { class: "text-gray-900 dark:text-gray-400 m-0.5 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-2.5 inline-flex items-center justify-center bg-white border-gray-200 border" }, Xd = {
4845
+ key: 0,
4846
+ class: "inline-flex items-center"
4847
+ }, Jd = /* @__PURE__ */ r("svg", {
4848
+ class: "w-3 h-3 me-1.5",
4849
+ "aria-hidden": "true",
4850
+ xmlns: "http://www.w3.org/2000/svg",
4851
+ fill: "currentColor",
4852
+ viewBox: "0 0 18 20"
4853
+ }, [
4854
+ /* @__PURE__ */ r("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
4855
+ ], -1), Qd = /* @__PURE__ */ r("span", { class: "text-xs font-semibold" }, "Copy", -1), eu = [
4856
+ Jd,
4857
+ Qd
4858
+ ], tu = {
4859
+ key: 1,
4860
+ class: "hidden inline-flex items-center"
4861
+ }, ru = /* @__PURE__ */ r("svg", {
4862
+ class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-1.5",
4863
+ "aria-hidden": "true",
4864
+ xmlns: "http://www.w3.org/2000/svg",
4865
+ fill: "none",
4866
+ viewBox: "0 0 16 12"
4867
+ }, [
4868
+ /* @__PURE__ */ r("path", {
4869
+ stroke: "currentColor",
4870
+ "stroke-linecap": "round",
4871
+ "stroke-linejoin": "round",
4872
+ "stroke-width": "2",
4873
+ d: "M1 5.917 5.724 10.5 15 1.5"
4874
+ })
4875
+ ], -1), su = /* @__PURE__ */ r("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), au = [
4876
+ ru,
4877
+ su
4878
+ ], nu = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, Fu = {
4879
+ __name: "GlCodeCopy",
4880
+ props: {
4881
+ label_name: {
4882
+ type: String,
4883
+ default: ""
4884
+ },
4885
+ code: {
4886
+ type: String,
4887
+ default: ""
4888
+ },
4889
+ description: {
4890
+ type: String,
4891
+ default: ""
4892
+ }
4893
+ },
4894
+ setup(e) {
4895
+ $(null);
4896
+ const t = $(!1), s = (o) => {
4897
+ navigator.clipboard.writeText(o).then(function() {
4898
+ t.value = !0, setTimeout(() => {
4899
+ t.value = !1;
4900
+ }, 2e3);
4901
+ }).catch(function(a) {
4902
+ console.error("Error copying to clipboard: ", a);
4903
+ });
4904
+ }, n = L(() => code.value);
4905
+ return (o, a) => {
4906
+ const i = ue("click");
4907
+ return d(), u("div", Ud, [
4908
+ r("div", qd, [
4909
+ r("p", Hd, h(e.label_name), 1)
4910
+ ]),
4911
+ r("div", zd, [
4912
+ r("div", Zd, [
4913
+ r("pre", null, [
4914
+ r("code", Kd, `
4915
+ ` + h(n.value) + `
4916
+ `, 1)
4917
+ ])
4918
+ ]),
4919
+ r("div", Wd, [
4920
+ D((d(), u("button", Yd, [
4921
+ t.value ? f("", !0) : (d(), u("span", Xd, eu)),
4922
+ t.value ? (d(), u("span", tu, au)) : f("", !0)
4923
+ ])), [
4924
+ [i, s(n.value)]
4925
+ ])
4926
+ ])
4927
+ ]),
4928
+ r("p", nu, h(e.description), 1)
4929
+ ]);
4930
+ };
4931
+ }
4932
+ };
4845
4933
  export {
4846
- wu as GLDatatableCommand,
4847
- vu as GLDatatableDateTime,
4848
- xu as GLDatatableStatusServer,
4849
- Wd as GlButton,
4850
- Zd as GlCard,
4851
- ku as GlConfirmationModal,
4852
- iu as GlDataTable,
4853
- lu as GlDataTableServerSide,
4854
- uu as GlDatatableAction,
4855
- cu as GlDatatableDeleteAction,
4856
- fu as GlDatatableFileDownload,
4857
- gu as GlDatatableFiles,
4858
- hu as GlDatatableHtml,
4859
- mu as GlDatatableList,
4860
- bu as GlDatatablePicture,
4861
- pu as GlDatatableStatus,
4862
- yu as GlDatatableStatusGeneral,
4863
- _u as GlDatatableStatusSpecficColor,
4864
- ue as GlDeleteConfirmationModal,
4865
- nu as GlDropdown,
4866
- qd as GlFilesUpload,
4867
- Hd as GlLanguageSelector,
4868
- su as GlModal,
4869
- ru as GlMultiItemSlide,
4870
- Kd as GlMultiSelectDropdown,
4871
- zd as GlNotify,
4872
- tu as GlTab,
4873
- eu as GlTabsWrapper,
4934
+ Bu as GLDatatableCommand,
4935
+ Vu as GLDatatableDateTime,
4936
+ Lu as GLDatatableStatusServer,
4937
+ fu as GlButton,
4938
+ uu as GlCard,
4939
+ Fu as GlCodeCopy,
4940
+ Gu as GlConfirmationModal,
4941
+ Cu as GlDataTable,
4942
+ $u as GlDataTableServerSide,
4943
+ Du as GlDatatableAction,
4944
+ Ou as GlDatatableDeleteAction,
4945
+ Pu as GlDatatableFileDownload,
4946
+ Eu as GlDatatableFiles,
4947
+ Au as GlDatatableHtml,
4948
+ ju as GlDatatableList,
4949
+ Tu as GlDatatablePicture,
4950
+ Iu as GlDatatableStatus,
4951
+ Mu as GlDatatableStatusGeneral,
4952
+ Nu as GlDatatableStatusSpecficColor,
4953
+ ce as GlDeleteConfirmationModal,
4954
+ wu as GlDropdown,
4955
+ lu as GlFilesUpload,
4956
+ du as GlLanguageSelector,
4957
+ vu as GlModal,
4958
+ yu as GlMultiItemSlide,
4959
+ cu as GlMultiSelectDropdown,
4960
+ iu as GlNotify,
4961
+ _u as GlTab,
4962
+ pu as GlTabsWrapper,
4874
4963
  wo as GlTailwindPagination,
4875
- Qd as GlTextInput,
4876
- Jd as GlTextTranslate,
4877
- ou as GlTextarea,
4878
- Yd as GlTextareaTranslate,
4879
- Xd as GlTinymceTranslate,
4880
- $e as GlToast,
4881
- du as GlToastList,
4882
- au as GlToggleBox
4964
+ bu as GlTextInput,
4965
+ mu as GlTextTranslate,
4966
+ ku as GlTextarea,
4967
+ gu as GlTextareaTranslate,
4968
+ hu as GlTinymceTranslate,
4969
+ Ce as GlToast,
4970
+ Su as GlToastList,
4971
+ xu as GlToggleBox
4883
4972
  };