golden-logic-ui 1.0.35 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as Ie, inject as he, watch as ee, effectScope as Te, computed as fe, reactive as ge, resolveComponent as q, Fragment as y, createVNode as G, normalizeClass as p, toDisplayString as f, withModifiers as A, withDirectives as C, vModelText as I, renderList as w, normalizeStyle as Me, renderSlot as P, createTextVNode as v, vShow as T, createBlock as F, resolveDynamicComponent as X, mergeProps as U, withCtx as z, ref as S, onMounted as M, mergeModels as ae, useModel as Ne, vModelDynamic as Ve, provide as Le, pushScopeId as Be, popScopeId as Ge, toHandlers as K, TransitionGroup as Fe, unref as Re, resolveDirective as me, markRaw as Ue } from "vue";
1
+ import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as g, createStaticVNode as Te, inject as fe, watch as te, effectScope as Me, computed as ge, reactive as me, resolveComponent as q, Fragment as y, createVNode as G, normalizeClass as p, toDisplayString as f, withModifiers as A, withDirectives as C, vModelText as I, renderList as w, normalizeStyle as Ne, renderSlot as P, createTextVNode as v, vShow as T, createBlock as F, resolveDynamicComponent as X, mergeProps as U, withCtx as z, ref as S, onMounted as M, mergeModels as ie, useModel as Ve, vModelDynamic as Le, provide as Be, pushScopeId as Ge, popScopeId as Fe, unref as Y, toHandlers as K, TransitionGroup as Re, resolveDirective as _e, markRaw as Ue } from "vue";
2
2
  const k = (e, t) => {
3
3
  const r = e.__vccOpts || e;
4
4
  for (const [n, a] of t)
@@ -26,7 +26,7 @@ const k = (e, t) => {
26
26
  }, null, -1), Ke = /* @__PURE__ */ s("span", {
27
27
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
28
28
  "aria-hidden": "true"
29
- }, "​", -1), We = { 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" }, Xe = /* @__PURE__ */ Ie('<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), Ye = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
29
+ }, "​", -1), We = { 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" }, Xe = /* @__PURE__ */ Te('<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), Ye = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
30
30
  function Je(e, t, r, n, a, o) {
31
31
  return r.isOpen ? (d(), u("div", ze, [
32
32
  s("div", He, [
@@ -50,21 +50,21 @@ function Je(e, t, r, n, a, o) {
50
50
  ])
51
51
  ])) : g("", !0);
52
52
  }
53
- const te = /* @__PURE__ */ k(qe, [["render", Je]]);
53
+ const re = /* @__PURE__ */ k(qe, [["render", Je]]);
54
54
  function Qe() {
55
- return _e().__VUE_DEVTOOLS_GLOBAL_HOOK__;
55
+ return pe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
56
56
  }
57
- function _e() {
57
+ function pe() {
58
58
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
59
59
  }
60
60
  const et = typeof Proxy == "function", tt = "devtools-plugin:setup", rt = "plugin:settings:set";
61
- let L, Y;
61
+ let L, J;
62
62
  function st() {
63
63
  var e;
64
- return L !== void 0 || (typeof window < "u" && window.performance ? (L = !0, Y = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (L = !0, Y = globalThis.perf_hooks.performance) : L = !1), L;
64
+ return L !== void 0 || (typeof window < "u" && window.performance ? (L = !0, J = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (L = !0, J = globalThis.perf_hooks.performance) : L = !1), L;
65
65
  }
66
66
  function nt() {
67
- return st() ? Y.now() : Date.now();
67
+ return st() ? J.now() : Date.now();
68
68
  }
69
69
  class ot {
70
70
  constructor(t, r) {
@@ -129,7 +129,7 @@ class ot {
129
129
  }
130
130
  }
131
131
  function at(e, t) {
132
- const r = e, n = _e(), a = Qe(), o = et && r.enableEarlyProxy;
132
+ const r = e, n = pe(), a = Qe(), o = et && r.enableEarlyProxy;
133
133
  if (a && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !o))
134
134
  a.emit(tt, e, t);
135
135
  else {
@@ -146,16 +146,16 @@ function at(e, t) {
146
146
  * (c) 2022 Evan You
147
147
  * @license MIT
148
148
  */
149
- var pe = "store";
150
- function be(e) {
151
- return e === void 0 && (e = null), he(e !== null ? e : pe);
149
+ var be = "store";
150
+ function ye(e) {
151
+ return e === void 0 && (e = null), fe(e !== null ? e : be);
152
152
  }
153
153
  function N(e, t) {
154
154
  Object.keys(e).forEach(function(r) {
155
155
  return t(e[r], r);
156
156
  });
157
157
  }
158
- function ye(e) {
158
+ function ve(e) {
159
159
  return e !== null && typeof e == "object";
160
160
  }
161
161
  function it(e) {
@@ -170,24 +170,24 @@ function lt(e, t) {
170
170
  return e(t);
171
171
  };
172
172
  }
173
- function ve(e, t, r) {
173
+ function xe(e, t, r) {
174
174
  return t.indexOf(e) < 0 && (r && r.prepend ? t.unshift(e) : t.push(e)), function() {
175
175
  var n = t.indexOf(e);
176
176
  n > -1 && t.splice(n, 1);
177
177
  };
178
178
  }
179
- function xe(e, t) {
179
+ function we(e, t) {
180
180
  e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
181
181
  var r = e.state;
182
- Z(e, r, [], e._modules.root, !0), re(e, r, t);
182
+ Z(e, r, [], e._modules.root, !0), se(e, r, t);
183
183
  }
184
- function re(e, t, r) {
184
+ function se(e, t, r) {
185
185
  var n = e._state, a = e._scope;
186
186
  e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
187
- var o = e._wrappedGetters, l = {}, i = {}, c = Te(!0);
187
+ var o = e._wrappedGetters, l = {}, i = {}, c = Me(!0);
188
188
  c.run(function() {
189
189
  N(o, function(h, m) {
190
- l[m] = lt(h, e), i[m] = fe(function() {
190
+ l[m] = lt(h, e), i[m] = ge(function() {
191
191
  return l[m]();
192
192
  }), Object.defineProperty(e.getters, m, {
193
193
  get: function() {
@@ -197,7 +197,7 @@ function re(e, t, r) {
197
197
  // for local getters
198
198
  });
199
199
  });
200
- }), e._state = ge({
200
+ }), e._state = me({
201
201
  data: t
202
202
  }), e._scope = c, e.strict && ft(e), n && r && e._withCommit(function() {
203
203
  n.data = null;
@@ -206,7 +206,7 @@ function re(e, t, r) {
206
206
  function Z(e, t, r, n, a) {
207
207
  var o = !r.length, l = e._modules.getNamespace(r);
208
208
  if (n.namespaced && (e._modulesNamespaceMap[l] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + l + " for the namespaced module " + r.join("/")), e._modulesNamespaceMap[l] = n), !o && !a) {
209
- var i = se(t, r.slice(0, -1)), c = r[r.length - 1];
209
+ var i = ne(t, r.slice(0, -1)), c = r[r.length - 1];
210
210
  e._withCommit(function() {
211
211
  process.env.NODE_ENV !== "production" && c in i && console.warn(
212
212
  '[vuex] state field "' + c + '" was overridden by a module with the same name at "' + r.join(".") + '"'
@@ -251,17 +251,17 @@ function dt(e, t, r) {
251
251
  get: n ? function() {
252
252
  return e.getters;
253
253
  } : function() {
254
- return we(e, t);
254
+ return ke(e, t);
255
255
  }
256
256
  },
257
257
  state: {
258
258
  get: function() {
259
- return se(e.state, r);
259
+ return ne(e.state, r);
260
260
  }
261
261
  }
262
262
  }), a;
263
263
  }
264
- function we(e, t) {
264
+ function ke(e, t) {
265
265
  if (!e._makeLocalGettersCache[t]) {
266
266
  var r = {}, n = t.length;
267
267
  Object.keys(e.getters).forEach(function(a) {
@@ -319,21 +319,21 @@ function ht(e, t, r, n) {
319
319
  };
320
320
  }
321
321
  function ft(e) {
322
- ee(function() {
322
+ te(function() {
323
323
  return e._state.data;
324
324
  }, function() {
325
325
  process.env.NODE_ENV !== "production" && E(e._committing, "do not mutate vuex store state outside mutation handlers.");
326
326
  }, { deep: !0, flush: "sync" });
327
327
  }
328
- function se(e, t) {
328
+ function ne(e, t) {
329
329
  return t.reduce(function(r, n) {
330
330
  return r[n];
331
331
  }, e);
332
332
  }
333
333
  function H(e, t, r) {
334
- return ye(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && E(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
334
+ return ve(e) && e.type && (r = t, t = e, e = e.type), process.env.NODE_ENV !== "production" && E(typeof e == "string", "expects string as the type, but found " + typeof e + "."), { type: e, payload: t, options: r };
335
335
  }
336
- var gt = "vuex bindings", ie = "vuex:mutations", W = "vuex:actions", B = "vuex", mt = 0;
336
+ var gt = "vuex bindings", le = "vuex:mutations", W = "vuex:actions", B = "vuex", mt = 0;
337
337
  function _t(e, t) {
338
338
  at(
339
339
  {
@@ -347,13 +347,13 @@ function _t(e, t) {
347
347
  },
348
348
  function(r) {
349
349
  r.addTimelineLayer({
350
- id: ie,
350
+ id: le,
351
351
  label: "Vuex Mutations",
352
- color: le
352
+ color: de
353
353
  }), r.addTimelineLayer({
354
354
  id: W,
355
355
  label: "Vuex Actions",
356
- color: le
356
+ color: de
357
357
  }), r.addInspector({
358
358
  id: B,
359
359
  label: "Vuex",
@@ -363,15 +363,15 @@ function _t(e, t) {
363
363
  if (n.app === e && n.inspectorId === B)
364
364
  if (n.filter) {
365
365
  var a = [];
366
- Se(a, t._modules.root, n.filter, ""), n.rootNodes = a;
366
+ Oe(a, t._modules.root, n.filter, ""), n.rootNodes = a;
367
367
  } else
368
368
  n.rootNodes = [
369
- Ce(t._modules.root, "")
369
+ Se(t._modules.root, "")
370
370
  ];
371
371
  }), r.on.getInspectorState(function(n) {
372
372
  if (n.app === e && n.inspectorId === B) {
373
373
  var a = n.nodeId;
374
- we(t, a), n.state = yt(
374
+ ke(t, a), n.state = yt(
375
375
  xt(t._modules, a),
376
376
  a === "root" ? t.getters : t._makeLocalGettersCache,
377
377
  a
@@ -387,7 +387,7 @@ function _t(e, t) {
387
387
  }), t.subscribe(function(n, a) {
388
388
  var o = {};
389
389
  n.payload && (o.payload = n.payload), o.state = a, r.notifyComponentUpdate(), r.sendInspectorTree(B), r.sendInspectorState(B), r.addTimelineEvent({
390
- layerId: ie,
390
+ layerId: le,
391
391
  event: {
392
392
  time: Date.now(),
393
393
  title: n.type,
@@ -432,25 +432,25 @@ function _t(e, t) {
432
432
  }
433
433
  );
434
434
  }
435
- var le = 8702998, pt = 6710886, bt = 16777215, ke = {
435
+ var de = 8702998, pt = 6710886, bt = 16777215, $e = {
436
436
  label: "namespaced",
437
437
  textColor: bt,
438
438
  backgroundColor: pt
439
439
  };
440
- function $e(e) {
440
+ function Ce(e) {
441
441
  return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
442
442
  }
443
- function Ce(e, t) {
443
+ function Se(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: $e(t),
450
- tags: e.namespaced ? [ke] : [],
449
+ label: Ce(t),
450
+ tags: e.namespaced ? [$e] : [],
451
451
  children: Object.keys(e._children).map(
452
452
  function(r) {
453
- return Ce(
453
+ return Se(
454
454
  e._children[r],
455
455
  t + r + "/"
456
456
  );
@@ -458,13 +458,13 @@ function Ce(e, t) {
458
458
  )
459
459
  };
460
460
  }
461
- function Se(e, t, r, n) {
461
+ function Oe(e, t, r, n) {
462
462
  n.includes(r) && e.push({
463
463
  id: n || "root",
464
464
  label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
465
- tags: t.namespaced ? [ke] : []
465
+ tags: t.namespaced ? [$e] : []
466
466
  }), Object.keys(t._children).forEach(function(a) {
467
- Se(e, t._children[a], r, n + a + "/");
467
+ Oe(e, t._children[a], r, n + a + "/");
468
468
  });
469
469
  }
470
470
  function yt(e, t, r) {
@@ -482,9 +482,9 @@ function yt(e, t, r) {
482
482
  var o = vt(t);
483
483
  a.getters = Object.keys(o).map(function(l) {
484
484
  return {
485
- key: l.endsWith("/") ? $e(l) : l,
485
+ key: l.endsWith("/") ? Ce(l) : l,
486
486
  editable: !1,
487
- value: J(function() {
487
+ value: Q(function() {
488
488
  return o[l];
489
489
  })
490
490
  };
@@ -507,11 +507,11 @@ function vt(e) {
507
507
  abstract: !0
508
508
  }
509
509
  }), a = a[l]._custom.value;
510
- }), a[o] = J(function() {
510
+ }), a[o] = Q(function() {
511
511
  return e[r];
512
512
  });
513
513
  } else
514
- t[r] = J(function() {
514
+ t[r] = Q(function() {
515
515
  return e[r];
516
516
  });
517
517
  }), t;
@@ -530,7 +530,7 @@ function xt(e, t) {
530
530
  t === "root" ? e : e.root._children
531
531
  );
532
532
  }
533
- function J(e) {
533
+ function Q(e) {
534
534
  try {
535
535
  return e();
536
536
  } catch (t) {
@@ -541,8 +541,8 @@ var j = function(t, r) {
541
541
  this.runtime = r, 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
- }, Oe = { namespaced: { configurable: !0 } };
545
- Oe.namespaced.get = function() {
544
+ }, De = { namespaced: { configurable: !0 } };
545
+ De.namespaced.get = function() {
546
546
  return !!this._rawModule.namespaced;
547
547
  };
548
548
  j.prototype.addChild = function(t, r) {
@@ -572,7 +572,7 @@ j.prototype.forEachAction = function(t) {
572
572
  j.prototype.forEachMutation = function(t) {
573
573
  this._rawModule.mutations && N(this._rawModule.mutations, t);
574
574
  };
575
- Object.defineProperties(j.prototype, Oe);
575
+ Object.defineProperties(j.prototype, De);
576
576
  var V = function(t) {
577
577
  this.register([], t, !1);
578
578
  };
@@ -588,11 +588,11 @@ V.prototype.getNamespace = function(t) {
588
588
  }, "");
589
589
  };
590
590
  V.prototype.update = function(t) {
591
- De([], this.root, t);
591
+ Pe([], this.root, t);
592
592
  };
593
593
  V.prototype.register = function(t, r, n) {
594
594
  var a = this;
595
- n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Pe(t, r);
595
+ n === void 0 && (n = !0), process.env.NODE_ENV !== "production" && Ee(t, r);
596
596
  var o = new j(r, n);
597
597
  if (t.length === 0)
598
598
  this.root = o;
@@ -618,8 +618,8 @@ V.prototype.isRegistered = function(t) {
618
618
  var r = this.get(t.slice(0, -1)), n = t[t.length - 1];
619
619
  return r ? r.hasChild(n) : !1;
620
620
  };
621
- function De(e, t, r) {
622
- if (process.env.NODE_ENV !== "production" && Pe(e, r), t.update(r), r.modules)
621
+ function Pe(e, t, r) {
622
+ if (process.env.NODE_ENV !== "production" && Ee(e, r), t.update(r), r.modules)
623
623
  for (var n in r.modules) {
624
624
  if (!t.getChild(n)) {
625
625
  process.env.NODE_ENV !== "production" && console.warn(
@@ -627,14 +627,14 @@ function De(e, t, r) {
627
627
  );
628
628
  return;
629
629
  }
630
- De(
630
+ Pe(
631
631
  e.concat(n),
632
632
  t.getChild(n),
633
633
  r.modules[n]
634
634
  );
635
635
  }
636
636
  }
637
- var de = {
637
+ var ue = {
638
638
  assert: function(e) {
639
639
  return typeof e == "function";
640
640
  },
@@ -644,15 +644,15 @@ var de = {
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
- }, ue = {
648
- getters: de,
649
- mutations: de,
647
+ }, ce = {
648
+ getters: ue,
649
+ mutations: ue,
650
650
  actions: wt
651
651
  };
652
- function Pe(e, t) {
653
- Object.keys(ue).forEach(function(r) {
652
+ function Ee(e, t) {
653
+ Object.keys(ce).forEach(function(r) {
654
654
  if (t[r]) {
655
- var n = ue[r];
655
+ var n = ce[r];
656
656
  N(t[r], function(a, o) {
657
657
  E(
658
658
  n.assert(a),
@@ -682,19 +682,19 @@ var D = function e(t) {
682
682
  return h.call(l, x, $, R);
683
683
  }, this.strict = a;
684
684
  var m = this._modules.root.state;
685
- Z(this, m, [], this._modules.root), re(this, m), n.forEach(function(b) {
685
+ Z(this, m, [], this._modules.root), se(this, m), n.forEach(function(b) {
686
686
  return b(r);
687
687
  });
688
- }, ne = { state: { configurable: !0 } };
688
+ }, oe = { state: { configurable: !0 } };
689
689
  D.prototype.install = function(t, r) {
690
- t.provide(r || pe, this), t.config.globalProperties.$store = this;
690
+ t.provide(r || be, this), t.config.globalProperties.$store = this;
691
691
  var n = this._devtools !== void 0 ? this._devtools : process.env.NODE_ENV !== "production" || !1;
692
692
  n && _t(t, this);
693
693
  };
694
- ne.state.get = function() {
694
+ oe.state.get = function() {
695
695
  return this._state.data;
696
696
  };
697
- ne.state.set = function(e) {
697
+ oe.state.set = function(e) {
698
698
  process.env.NODE_ENV !== "production" && E(!1, "use store.replaceState() to explicit replace store state.");
699
699
  };
700
700
  D.prototype.commit = function(t, r, n) {
@@ -758,15 +758,15 @@ D.prototype.dispatch = function(t, r) {
758
758
  });
759
759
  };
760
760
  D.prototype.subscribe = function(t, r) {
761
- return ve(t, this._subscribers, r);
761
+ return xe(t, this._subscribers, r);
762
762
  };
763
763
  D.prototype.subscribeAction = function(t, r) {
764
764
  var n = typeof t == "function" ? { before: t } : t;
765
- return ve(n, this._actionSubscribers, r);
765
+ return xe(n, this._actionSubscribers, r);
766
766
  };
767
767
  D.prototype.watch = function(t, r, n) {
768
768
  var a = this;
769
- return process.env.NODE_ENV !== "production" && E(typeof t == "function", "store.watch only accepts a function."), ee(function() {
769
+ return process.env.NODE_ENV !== "production" && E(typeof t == "function", "store.watch only accepts a function."), te(function() {
770
770
  return t(a.state, a.getters);
771
771
  }, r, Object.assign({}, n));
772
772
  };
@@ -777,34 +777,34 @@ D.prototype.replaceState = function(t) {
777
777
  });
778
778
  };
779
779
  D.prototype.registerModule = function(t, r, n) {
780
- n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (E(Array.isArray(t), "module path must be a string or an Array."), E(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, r), Z(this, this.state, t, this._modules.get(t), n.preserveState), re(this, this.state);
780
+ n === void 0 && (n = {}), typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && (E(Array.isArray(t), "module path must be a string or an Array."), E(t.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(t, r), Z(this, this.state, t, this._modules.get(t), n.preserveState), se(this, this.state);
781
781
  };
782
782
  D.prototype.unregisterModule = function(t) {
783
783
  var r = this;
784
784
  typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && E(Array.isArray(t), "module path must be a string or an Array."), this._modules.unregister(t), this._withCommit(function() {
785
- var n = se(r.state, t.slice(0, -1));
785
+ var n = ne(r.state, t.slice(0, -1));
786
786
  delete n[t[t.length - 1]];
787
- }), xe(this);
787
+ }), we(this);
788
788
  };
789
789
  D.prototype.hasModule = function(t) {
790
790
  return typeof t == "string" && (t = [t]), process.env.NODE_ENV !== "production" && E(Array.isArray(t), "module path must be a string or an Array."), this._modules.isRegistered(t);
791
791
  };
792
792
  D.prototype.hotUpdate = function(t) {
793
- this._modules.update(t), xe(this, !0);
793
+ this._modules.update(t), we(this, !0);
794
794
  };
795
795
  D.prototype._withCommit = function(t) {
796
796
  var r = this._committing;
797
797
  this._committing = !0, t(), this._committing = r;
798
798
  };
799
- Object.defineProperties(D.prototype, ne);
800
- var $t = je(function(e, t) {
799
+ Object.defineProperties(D.prototype, oe);
800
+ var $t = Ae(function(e, t) {
801
801
  var r = {};
802
- return process.env.NODE_ENV !== "production" && !oe(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), Ee(t).forEach(function(n) {
802
+ return process.env.NODE_ENV !== "production" && !ae(t) && console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"), je(t).forEach(function(n) {
803
803
  var a = n.key, o = n.val;
804
804
  r[a] = function() {
805
805
  var i = this.$store.state, c = this.$store.getters;
806
806
  if (e) {
807
- var h = Ae(this.$store, "mapState", e);
807
+ var h = Ie(this.$store, "mapState", e);
808
808
  if (!h)
809
809
  return;
810
810
  i = h.context.state, c = h.context.getters;
@@ -812,16 +812,16 @@ var $t = je(function(e, t) {
812
812
  return typeof o == "function" ? o.call(this, i, c) : i[o];
813
813
  }, r[a].vuex = !0;
814
814
  }), r;
815
- }), Ct = je(function(e, t) {
815
+ }), Ct = Ae(function(e, t) {
816
816
  var r = {};
817
- return process.env.NODE_ENV !== "production" && !oe(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), Ee(t).forEach(function(n) {
817
+ return process.env.NODE_ENV !== "production" && !ae(t) && console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"), je(t).forEach(function(n) {
818
818
  var a = n.key, o = n.val;
819
819
  r[a] = function() {
820
820
  for (var i = [], c = arguments.length; c--; )
821
821
  i[c] = arguments[c];
822
822
  var h = this.$store.commit;
823
823
  if (e) {
824
- var m = Ae(this.$store, "mapMutations", e);
824
+ var m = Ie(this.$store, "mapMutations", e);
825
825
  if (!m)
826
826
  return;
827
827
  h = m.context.commit;
@@ -830,28 +830,28 @@ var $t = je(function(e, t) {
830
830
  };
831
831
  }), r;
832
832
  });
833
- function Ee(e) {
834
- return oe(e) ? Array.isArray(e) ? e.map(function(t) {
833
+ function je(e) {
834
+ return ae(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 oe(e) {
841
- return Array.isArray(e) || ye(e);
840
+ function ae(e) {
841
+ return Array.isArray(e) || ve(e);
842
842
  }
843
- function je(e) {
843
+ function Ae(e) {
844
844
  return function(t, r) {
845
845
  return typeof t != "string" ? (r = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, r);
846
846
  };
847
847
  }
848
- function Ae(e, t, r) {
848
+ function Ie(e, t, r) {
849
849
  var n = e._modulesNamespaceMap[r];
850
850
  return process.env.NODE_ENV !== "production" && !n && console.error("[vuex] module namespace not found in " + t + "(): " + r), n;
851
851
  }
852
852
  const St = {
853
853
  components: {
854
- DeleteConfirmationModal: te
854
+ DeleteConfirmationModal: re
855
855
  },
856
856
  props: {
857
857
  is_required: {
@@ -1087,7 +1087,7 @@ function rr(e, t, r, n, a, o) {
1087
1087
  s("div", zt, [
1088
1088
  s("div", {
1089
1089
  class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
1090
- style: Me({ width: i.loading + "%" })
1090
+ style: Ne({ width: i.loading + "%" })
1091
1091
  }, null, 4)
1092
1092
  ])
1093
1093
  ])
@@ -1284,7 +1284,7 @@ const td = /* @__PURE__ */ k(cr, [["render", mr]]), _r = { class: "bg-white bord
1284
1284
  }
1285
1285
  },
1286
1286
  setup(e) {
1287
- const t = e, r = fe(() => t.class);
1287
+ const t = e, r = ge(() => t.class);
1288
1288
  return (n, a) => (d(), u("div", {
1289
1289
  class: p(["flex flex-col gap-9", r.value])
1290
1290
  }, [
@@ -2093,7 +2093,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), Ur = { class: "font-bold pte
2093
2093
  }
2094
2094
  }, ys = { class: "font-bold ptext-lg dark:text-white" }, vs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, xs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ws = ["for"], ks = ["required", "name", "id", "type"], $s = { class: "gl-span-form-error" }, Cs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ld = {
2095
2095
  __name: "GlTextInput",
2096
- props: /* @__PURE__ */ ae({
2096
+ props: /* @__PURE__ */ ie({
2097
2097
  is_required: {
2098
2098
  type: Boolean,
2099
2099
  default: !1
@@ -2134,9 +2134,9 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), Ur = { class: "font-bold pte
2134
2134
  modelValue: {},
2135
2135
  modelModifiers: {}
2136
2136
  }),
2137
- emits: /* @__PURE__ */ ae(["update:modelValue", "keydown"], ["update:modelValue"]),
2137
+ emits: /* @__PURE__ */ ie(["update:modelValue", "keydown"], ["update:modelValue"]),
2138
2138
  setup(e, { expose: t, emit: r }) {
2139
- const n = e, a = r, o = S(null), l = Ne(e, "modelValue");
2139
+ const n = e, a = r, o = S(null), l = Ve(e, "modelValue");
2140
2140
  return M(() => {
2141
2141
  o.value !== null && o.value.hasAttribute("autofocus") && o.value.focus(), n.model_value != "" && (a("update:modelValue", n.model_value), o.value.value = n.model_value);
2142
2142
  }), t({ focus: () => o.value.focus() }), (i, c) => (d(), u(y, null, [
@@ -2174,7 +2174,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), Ur = { class: "font-bold pte
2174
2174
  ref_key: "input",
2175
2175
  ref: o
2176
2176
  }, null, 42, ks), [
2177
- [Ve, l.value]
2177
+ [Le, l.value]
2178
2178
  ]),
2179
2179
  s("span", $s, f(e.error_message), 1),
2180
2180
  s("small", Cs, f(e.description), 1)
@@ -2184,7 +2184,7 @@ const nd = /* @__PURE__ */ k(Gr, [["render", Rr]]), Ur = { class: "font-bold pte
2184
2184
  }, Ss = {
2185
2185
  setup(e, { slots: t }) {
2186
2186
  const r = S(t.default().map((a) => a.props)), n = S(r.value[0].title);
2187
- return Le("selectedTitle", n), {
2187
+ return Be("selectedTitle", n), {
2188
2188
  tabs: r,
2189
2189
  selectedTitle: n
2190
2190
  };
@@ -2225,7 +2225,7 @@ const dd = /* @__PURE__ */ k(Ss, [["render", Ts]]), Ms = {
2225
2225
  props: ["title"],
2226
2226
  setup() {
2227
2227
  return {
2228
- selectedTitle: he("selectedTitle")
2228
+ selectedTitle: fe("selectedTitle")
2229
2229
  };
2230
2230
  }
2231
2231
  }, Ns = { class: "block" };
@@ -2335,7 +2335,7 @@ const ud = /* @__PURE__ */ k(Ms, [["render", Vs]]), Ls = {
2335
2335
  this.direction_property == "rtl" ? t.style.marginRight = -this.dotsNavigation[e - 1] + "px" : t.style.marginLeft = -this.dotsNavigation[e - 1] + "px", this.currentDot = e;
2336
2336
  }
2337
2337
  }
2338
- }, O = (e) => (Be("data-v-a94f16a9"), e = e(), Ge(), e), Bs = ["id"], Gs = {
2338
+ }, O = (e) => (Ge("data-v-a94f16a9"), e = e(), Fe(), e), Bs = ["id"], Gs = {
2339
2339
  key: 0,
2340
2340
  class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
2341
2341
  }, Fs = { class: "w-full" }, Rs = {
@@ -2682,7 +2682,7 @@ const cd = /* @__PURE__ */ k(Ls, [["render", Un], ["__scopeId", "data-v-a94f16a9
2682
2682
  }, l = () => {
2683
2683
  n("closeModal"), o();
2684
2684
  };
2685
- return ee(
2685
+ return te(
2686
2686
  () => r.is_open,
2687
2687
  (i, c) => {
2688
2688
  i ? a() : o();
@@ -2761,15 +2761,15 @@ const cd = /* @__PURE__ */ k(Ls, [["render", Un], ["__scopeId", "data-v-a94f16a9
2761
2761
  },
2762
2762
  emits: ["update:modelValue"],
2763
2763
  setup(e, { emit: t }) {
2764
- const r = e, n = t, a = S(null);
2764
+ const r = e, n = t, a = S(null), o = computed(() => r.modelValue);
2765
2765
  M(() => {
2766
- r.model_value != "" && (n("update:modelValue", r.model_value), a.value.checked = r.model_value == 1), r.modelValue != "" && (n("update:modelValue", r.modelValue), a.value.checked = r.modelValue == 1);
2766
+ r.model_value != "" && (n("update:modelValue", r.model_value), a.value.checked = r.model_value == 1), o != "" && (n("update:modelValue", o), a.value.checked = o == 1);
2767
2767
  });
2768
- const o = (l) => {
2769
- const i = l.target.checked ? 1 : 0;
2770
- n("update:modelValue", i);
2768
+ const l = (i) => {
2769
+ const c = i.target.checked ? 1 : 0;
2770
+ n("update:modelValue", c);
2771
2771
  };
2772
- return (l, i) => (d(), u(y, null, [
2772
+ return (i, c) => (d(), u(y, null, [
2773
2773
  e.show ? (d(), u("div", {
2774
2774
  key: 0,
2775
2775
  class: p(e.field_name)
@@ -2807,13 +2807,13 @@ const cd = /* @__PURE__ */ k(Ls, [["render", Un], ["__scopeId", "data-v-a94f16a9
2807
2807
  class: "sr-only peer",
2808
2808
  name: e.field_name,
2809
2809
  id: e.field_name,
2810
- value: e.model_value || e.modelValue,
2811
- checked: e.model_value == 1 || e.modelValue == 1,
2810
+ value: e.model_value || Y(o),
2811
+ checked: e.model_value == 1 || Y(o) == 1,
2812
2812
  "true-value": 1,
2813
2813
  "false-value": 0,
2814
2814
  ref_key: "input",
2815
2815
  ref: a,
2816
- onChange: o
2816
+ onChange: l
2817
2817
  }, null, 40, ao),
2818
2818
  io
2819
2819
  ])
@@ -4080,11 +4080,11 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
4080
4080
  }, Oi)
4081
4081
  ]));
4082
4082
  }
4083
- }, Q = ge({
4083
+ }, ee = me({
4084
4084
  items: []
4085
4085
  }), Pi = {
4086
4086
  add(e) {
4087
- Q.items.unshift({
4087
+ ee.items.unshift({
4088
4088
  key: Symbol(),
4089
4089
  message: e.message,
4090
4090
  type: e.type,
@@ -4092,18 +4092,18 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
4092
4092
  });
4093
4093
  },
4094
4094
  remove(e) {
4095
- Q.items.splice(e, 1);
4095
+ ee.items.splice(e, 1);
4096
4096
  }
4097
- }, ce = {
4098
- state: Q,
4097
+ }, he = {
4098
+ state: ee,
4099
4099
  methods: Pi
4100
4100
  }, bd = {
4101
4101
  __name: "GlToastList",
4102
4102
  setup(e) {
4103
4103
  function t(r) {
4104
- ce.methods.remove(r);
4104
+ he.methods.remove(r);
4105
4105
  }
4106
- return (r, n) => (d(), F(Fe, {
4106
+ return (r, n) => (d(), F(Re, {
4107
4107
  tag: "div",
4108
4108
  "enter-from-class": "translate-x-full opacity-0",
4109
4109
  "enter-active-class": "duration-500",
@@ -4112,7 +4112,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
4112
4112
  class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
4113
4113
  }, {
4114
4114
  default: z(() => [
4115
- (d(!0), u(y, null, w(Re(ce).state.items, (a, o) => (d(), F(Di, {
4115
+ (d(!0), u(y, null, w(Y(he).state.items, (a, o) => (d(), F(Di, {
4116
4116
  key: a.key,
4117
4117
  message: a.message,
4118
4118
  type: a.type,
@@ -4165,7 +4165,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
4165
4165
  },
4166
4166
  emits: ["deleteAction"],
4167
4167
  setup(e, { emit: t }) {
4168
- const r = be(), n = e, a = S(!1), o = S(!1), l = () => {
4168
+ const r = ye(), n = e, a = S(!1), o = S(!1), l = () => {
4169
4169
  a.value = !1;
4170
4170
  }, i = () => {
4171
4171
  a.value = !0;
@@ -4185,9 +4185,9 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
4185
4185
  });
4186
4186
  };
4187
4187
  return (x, $) => {
4188
- const R = me("click-outside");
4188
+ const R = _e("click-outside");
4189
4189
  return d(), u(y, null, [
4190
- G(te, {
4190
+ G(re, {
4191
4191
  isOpen: o.value,
4192
4192
  onConfirmDelete: b,
4193
4193
  onCancelDelete: c
@@ -4271,7 +4271,7 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
4271
4271
  },
4272
4272
  emits: ["deleteAction"],
4273
4273
  setup(e, { emit: t }) {
4274
- const r = be(), n = e, a = S(!1), o = S(!1), l = () => {
4274
+ const r = ye(), n = e, a = S(!1), o = S(!1), l = () => {
4275
4275
  a.value = !1;
4276
4276
  }, i = () => {
4277
4277
  a.value = !0;
@@ -4291,9 +4291,9 @@ const pd = /* @__PURE__ */ k(Sa, [["render", ui]]), ci = {
4291
4291
  });
4292
4292
  };
4293
4293
  return (x, $) => {
4294
- const R = me("click-outside");
4294
+ const R = _e("click-outside");
4295
4295
  return d(), u(y, null, [
4296
- G(te, {
4296
+ G(re, {
4297
4297
  isOpen: o.value,
4298
4298
  onConfirmDelete: b,
4299
4299
  onCancelDelete: c
@@ -4677,7 +4677,7 @@ export {
4677
4677
  Cd as GlDatatablePicture,
4678
4678
  Sd as GlDatatableStatus,
4679
4679
  Od as GlDatatableStatusGeneral,
4680
- te as GlDeleteConfirmationModal,
4680
+ re as GlDeleteConfirmationModal,
4681
4681
  gd as GlDropdown,
4682
4682
  Ql as GlFilesUpload,
4683
4683
  td as GlLanguageSelector,
@@ -4693,7 +4693,7 @@ export {
4693
4693
  md as GlTextarea,
4694
4694
  od as GlTextareaTranslate,
4695
4695
  ad as GlTinymceTranslate,
4696
- ce as GlToast,
4696
+ he as GlToast,
4697
4697
  bd as GlToastList,
4698
4698
  fd as GlToggleBox
4699
4699
  };