@feedmepos/mf-report 5.4.15-beta.1 → 5.4.15-beta.3

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.
Files changed (45) hide show
  1. package/dist/App-DufL3Y8h.js +152 -0
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DLDk5l4R.js +162 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-Bxuyjrkr.js → Default.vue_vue_type_script_setup_true_lang-DVLxkOOQ.js} +2 -2
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-C29g9w6o.js +999 -0
  5. package/dist/{InsightView-D78TK2E8.js → InsightView-tyeJBlRm.js} +1051 -1049
  6. package/dist/Integration-ILSIf-OL.js +3695 -0
  7. package/dist/Integrations-DwgNrM3U.js +334 -0
  8. package/dist/{Layout-DERpCrQk.js → Layout-Bw1oh6Q-.js} +1 -1
  9. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-DurYBXa5.js → LocationSelect.vue_vue_type_script_setup_true_lang-BFj4d-UF.js} +1861 -1859
  10. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DzZeasAK.js +277 -0
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-C8yzWDXs.js → NavigationTab.vue_vue_type_script_setup_true_lang-_eC_tMk_.js} +5526 -5482
  12. package/dist/NoData.vue_vue_type_script_setup_true_lang-BtQobm-7.js +31 -0
  13. package/dist/OverviewView-Dl8oOobn.js +61 -0
  14. package/dist/Report-BqD8KVZ8.js +424 -0
  15. package/dist/ReportEditor-DkzFUgbO.js +532 -0
  16. package/dist/ReportView-DpWZHV0o.js +169 -0
  17. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-C3VG1mi_.js +104 -0
  18. package/dist/Setting-CYrg_50p.js +320 -0
  19. package/dist/TileEditor-CDrzLbqc.js +2320 -0
  20. package/dist/{TransitionFade-BLDfpF7R.js → TransitionFade-D19wC3tb.js} +225 -220
  21. package/dist/app.js +915 -27
  22. package/dist/{global-loader-CMC9fgBi.js → global-loader-C3JC7z-H.js} +4966 -2240
  23. package/dist/index-9IDzTnHw.js +147 -0
  24. package/dist/{report-schema-G0x3CoJb.js → report-schema-1zQJbLyB.js} +4 -4
  25. package/dist/style.css +1 -1
  26. package/dist/timeFormat-CjNvJMgk.js +9 -0
  27. package/dist/{v4-DF7wffYN.js → v4-D29FkHfi.js} +2666 -1927
  28. package/package.json +1 -1
  29. package/dist/App-mcSgbcVY.js +0 -133
  30. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DPuhMR6i.js +0 -160
  31. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-B6IzlHmr.js +0 -996
  32. package/dist/HeaderTab.vue_vue_type_script_setup_true_lang-B5VBDNwX.js +0 -19
  33. package/dist/Integration-Cm6_YEEE.js +0 -3554
  34. package/dist/Integrations-WWnSho0Q.js +0 -334
  35. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-h87kWy1E.js +0 -261
  36. package/dist/NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js +0 -30
  37. package/dist/OverviewView-D7zAR7_7.js +0 -60
  38. package/dist/Report-BnX5amn0.js +0 -409
  39. package/dist/ReportEditor-DW7uWg_a.js +0 -530
  40. package/dist/ReportView-xSaJA5F6.js +0 -166
  41. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-DBI9op0g.js +0 -103
  42. package/dist/Setting-D8JspXTN.js +0 -326
  43. package/dist/TileEditor-DQ8C5I_M.js +0 -2301
  44. package/dist/index-SmIkb24L.js +0 -143
  45. package/dist/timeFormat-BF-F4Rnt.js +0 -9
@@ -1,19 +1,19 @@
1
- import { defineComponent as Ne, onBeforeMount as sn, onBeforeUnmount as un, resolveComponent as ge, createElementBlock as ce, openBlock as ne, normalizeStyle as cn, unref as Xe, renderSlot as Pe, createVNode as ue, createElementVNode as Lt, TransitionGroup as dn, nextTick as Rt, h as St, mergeModels as fn, useModel as Bt, Fragment as vt, renderList as hn, createBlock as pn, normalizeClass as mn, withCtx as ze, createTextVNode as gn, toDisplayString as vn, ref as bn, Transition as ct, createCommentVNode as dt } from "vue";
2
- import { d as _n } from "./global-loader-CMC9fgBi.js";
3
- import { useCoreStore as yn } from "@feedmepos/mf-common";
4
- import { storeToRefs as wn } from "pinia";
5
- import { useRoute as En } from "vue-router";
6
- import { W as x } from "./v4-DF7wffYN.js";
7
- import { p as Sn } from "./index-SmIkb24L.js";
1
+ import { defineComponent as Ne, onBeforeMount as sn, onBeforeUnmount as un, resolveComponent as ge, createElementBlock as ce, openBlock as ne, normalizeStyle as cn, unref as Qe, renderSlot as Pe, createVNode as ue, createElementVNode as Lt, TransitionGroup as dn, nextTick as Rt, h as St, mergeModels as fn, useModel as Bt, computed as hn, Fragment as vt, renderList as pn, createBlock as mn, normalizeClass as gn, withCtx as je, createTextVNode as vn, toDisplayString as bn, ref as yn, Transition as ct, createCommentVNode as dt } from "vue";
2
+ import { f as _n, u as wn } from "./global-loader-C3JC7z-H.js";
3
+ import { useCoreStore as En } from "@feedmepos/mf-common";
4
+ import { storeToRefs as Sn } from "pinia";
5
+ import { useRoute as Dn } from "vue-router";
6
+ import { W as x } from "./v4-D29FkHfi.js";
7
+ import { p as Cn } from "./index-9IDzTnHw.js";
8
8
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { R as Dn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B6IzlHmr.js";
10
- const Cn = {
9
+ import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-C29g9w6o.js";
10
+ const xn = {
11
11
  key: 0,
12
12
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
13
- }, Ro = /* @__PURE__ */ Ne({
13
+ }, Vo = /* @__PURE__ */ Ne({
14
14
  __name: "FullScreen",
15
15
  setup(t) {
16
- const e = En(), { isLoading: n } = wn(_n()), o = yn();
16
+ const e = Dn(), { isLoading: n } = Sn(_n()), o = En();
17
17
  return sn(() => {
18
18
  o.hideSidebarToggle(!0);
19
19
  }), un(() => {
@@ -23,10 +23,10 @@ const Cn = {
23
23
  return ne(), ce("div", {
24
24
  class: "mx-auto",
25
25
  style: cn({
26
- height: `calc(100vh - ${Xe(e).query.token && Xe(e).query.businessId ? "0" : "64"}px)`
26
+ height: `calc(100vh - ${Qe(e).query.token && Qe(e).query.businessId ? "0" : "64"}px)`
27
27
  })
28
28
  }, [
29
- Xe(n) ? (ne(), ce("div", Cn, [
29
+ Qe(n) ? (ne(), ce("div", xn, [
30
30
  ue(a, { size: "xl" }),
31
31
  i[0] || (i[0] = Lt("span", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Loading data... ", -1))
32
32
  ])) : Pe(r.$slots, "default", { key: 1 })
@@ -54,22 +54,22 @@ function j(t) {
54
54
  for (var e = 1; e < arguments.length; e++) {
55
55
  var n = arguments[e] != null ? arguments[e] : {};
56
56
  e % 2 ? Dt(Object(n), !0).forEach(function(o) {
57
- Tn(t, o, n[o]);
57
+ In(t, o, n[o]);
58
58
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Dt(Object(n)).forEach(function(o) {
59
59
  Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
60
60
  });
61
61
  }
62
62
  return t;
63
63
  }
64
- function Ye(t) {
64
+ function Xe(t) {
65
65
  "@babel/helpers - typeof";
66
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ye = function(e) {
66
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Xe = function(e) {
67
67
  return typeof e;
68
- } : Ye = function(e) {
68
+ } : Xe = function(e) {
69
69
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
70
- }, Ye(t);
70
+ }, Xe(t);
71
71
  }
72
- function Tn(t, e, n) {
72
+ function In(t, e, n) {
73
73
  return e in t ? Object.defineProperty(t, e, {
74
74
  value: n,
75
75
  enumerable: !0,
@@ -87,16 +87,16 @@ function q() {
87
87
  return t;
88
88
  }, q.apply(this, arguments);
89
89
  }
90
- function xn(t, e) {
90
+ function On(t, e) {
91
91
  if (t == null) return {};
92
92
  var n = {}, o = Object.keys(t), r, i;
93
93
  for (i = 0; i < o.length; i++)
94
94
  r = o[i], !(e.indexOf(r) >= 0) && (n[r] = t[r]);
95
95
  return n;
96
96
  }
97
- function In(t, e) {
97
+ function An(t, e) {
98
98
  if (t == null) return {};
99
- var n = xn(t, e), o, r;
99
+ var n = On(t, e), o, r;
100
100
  if (Object.getOwnPropertySymbols) {
101
101
  var i = Object.getOwnPropertySymbols(t);
102
102
  for (r = 0; r < i.length; r++)
@@ -104,22 +104,22 @@ function In(t, e) {
104
104
  }
105
105
  return n;
106
106
  }
107
- var On = "1.14.0";
107
+ var Pn = "1.14.0";
108
108
  function U(t) {
109
109
  if (typeof window < "u" && window.navigator)
110
110
  return !!/* @__PURE__ */ navigator.userAgent.match(t);
111
111
  }
112
- var K = U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ke = U(/Edge/i), Ct = U(/firefox/i), Te = U(/safari/i) && !U(/chrome/i) && !U(/android/i), Vt = U(/iP(ad|od|hone)/i), An = U(/chrome/i) && U(/android/i), Xt = {
112
+ var K = U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ke = U(/Edge/i), Ct = U(/firefox/i), Te = U(/safari/i) && !U(/chrome/i) && !U(/android/i), Vt = U(/iP(ad|od|hone)/i), Nn = U(/chrome/i) && U(/android/i), Xt = {
113
113
  capture: !1,
114
114
  passive: !1
115
115
  };
116
- function _(t, e, n) {
116
+ function y(t, e, n) {
117
117
  t.addEventListener(e, n, !K && Xt);
118
118
  }
119
119
  function b(t, e, n) {
120
120
  t.removeEventListener(e, n, !K && Xt);
121
121
  }
122
- function Ge(t, e) {
122
+ function ze(t, e) {
123
123
  if (e) {
124
124
  if (e[0] === ">" && (e = e.substring(1)), t)
125
125
  try {
@@ -135,17 +135,17 @@ function Ge(t, e) {
135
135
  return !1;
136
136
  }
137
137
  }
138
- function Pn(t) {
138
+ function kn(t) {
139
139
  return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
140
140
  }
141
141
  function W(t, e, n, o) {
142
142
  if (t) {
143
143
  n = n || document;
144
144
  do {
145
- if (e != null && (e[0] === ">" ? t.parentNode === n && Ge(t, e) : Ge(t, e)) || o && t === n)
145
+ if (e != null && (e[0] === ">" ? t.parentNode === n && ze(t, e) : ze(t, e)) || o && t === n)
146
146
  return t;
147
147
  if (t === n) break;
148
- } while (t = Pn(t));
148
+ } while (t = kn(t));
149
149
  }
150
150
  return null;
151
151
  }
@@ -179,7 +179,7 @@ function me(t, e) {
179
179
  var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
180
180
  return r && new r(n);
181
181
  }
182
- function Yt(t, e, n) {
182
+ function $t(t, e, n) {
183
183
  if (t) {
184
184
  var o = t.getElementsByTagName(e), r = 0, i = o.length;
185
185
  if (n)
@@ -205,8 +205,8 @@ function T(t, e, n, o, r) {
205
205
  }
206
206
  while (r = r.parentNode);
207
207
  if (o && t !== window) {
208
- var w = me(r || t), v = w && w.a, y = w && w.d;
209
- w && (a /= y, l /= v, f /= v, d /= y, s = a + d, u = l + f);
208
+ var w = me(r || t), v = w && w.a, _ = w && w.d;
209
+ w && (a /= _, l /= v, f /= v, d /= _, s = a + d, u = l + f);
210
210
  }
211
211
  return {
212
212
  top: a,
@@ -238,8 +238,8 @@ function ve(t, e, n, o) {
238
238
  }
239
239
  return null;
240
240
  }
241
- function _t(t, e) {
242
- for (var n = t.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || e && !Ge(n, e)); )
241
+ function yt(t, e) {
242
+ for (var n = t.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || e && !ze(n, e)); )
243
243
  n = n.previousElementSibling;
244
244
  return n || null;
245
245
  }
@@ -248,7 +248,7 @@ function R(t, e) {
248
248
  if (!t || !t.parentNode)
249
249
  return -1;
250
250
  for (; t = t.previousElementSibling; )
251
- t.nodeName.toUpperCase() !== "TEMPLATE" && t !== p.clone && (!e || Ge(t, e)) && n++;
251
+ t.nodeName.toUpperCase() !== "TEMPLATE" && t !== p.clone && (!e || ze(t, e)) && n++;
252
252
  return n;
253
253
  }
254
254
  function It(t) {
@@ -260,7 +260,7 @@ function It(t) {
260
260
  } while (t !== o && (t = t.parentNode));
261
261
  return [e, n];
262
262
  }
263
- function Nn(t, e) {
263
+ function Fn(t, e) {
264
264
  for (var n in t)
265
265
  if (t.hasOwnProperty(n)) {
266
266
  for (var o in e)
@@ -283,7 +283,7 @@ function te(t, e) {
283
283
  while (n = n.parentNode);
284
284
  return H();
285
285
  }
286
- function kn(t, e) {
286
+ function Mn(t, e) {
287
287
  if (t && e)
288
288
  for (var n in e)
289
289
  e.hasOwnProperty(n) && (t[n] = e[n]);
@@ -293,7 +293,7 @@ function Je(t, e) {
293
293
  return Math.round(t.top) === Math.round(e.top) && Math.round(t.left) === Math.round(e.left) && Math.round(t.height) === Math.round(e.height) && Math.round(t.width) === Math.round(e.width);
294
294
  }
295
295
  var xe;
296
- function $t(t, e) {
296
+ function Yt(t, e) {
297
297
  return function() {
298
298
  if (!xe) {
299
299
  var n = arguments, o = this;
@@ -303,7 +303,7 @@ function $t(t, e) {
303
303
  }
304
304
  };
305
305
  }
306
- function Fn() {
306
+ function Ln() {
307
307
  clearTimeout(xe), xe = void 0;
308
308
  }
309
309
  function Wt(t, e, n) {
@@ -314,7 +314,7 @@ function Ht(t) {
314
314
  return e && e.dom ? e.dom(t).cloneNode(!0) : n ? n(t).clone(!0)[0] : t.cloneNode(!0);
315
315
  }
316
316
  var L = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
317
- function Mn() {
317
+ function Rn() {
318
318
  var t = [], e;
319
319
  return {
320
320
  captureAnimationState: function() {
@@ -340,7 +340,7 @@ function Mn() {
340
340
  t.push(o);
341
341
  },
342
342
  removeAnimationState: function(o) {
343
- t.splice(Nn(t, {
343
+ t.splice(Fn(t, {
344
344
  target: o
345
345
  }), 1);
346
346
  },
@@ -352,9 +352,9 @@ function Mn() {
352
352
  }
353
353
  var i = !1, a = 0;
354
354
  t.forEach(function(l) {
355
- var s = 0, u = l.target, d = u.fromRect, f = T(u), g = u.prevFromRect, w = u.prevToRect, v = l.rect, y = me(u, !0);
356
- y && (f.top -= y.f, f.left -= y.e), u.toRect = f, u.thisAnimationDuration && Je(g, f) && !Je(d, f) && // Make sure animatingRect is on line between toRect & fromRect
357
- (v.top - f.top) / (v.left - f.left) === (d.top - f.top) / (d.left - f.left) && (s = Rn(v, g, w, r.options)), Je(f, d) || (u.prevFromRect = d, u.prevToRect = f, s || (s = r.options.animation), r.animate(u, v, f, s)), s && (i = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
355
+ var s = 0, u = l.target, d = u.fromRect, f = T(u), g = u.prevFromRect, w = u.prevToRect, v = l.rect, _ = me(u, !0);
356
+ _ && (f.top -= _.f, f.left -= _.e), u.toRect = f, u.thisAnimationDuration && Je(g, f) && !Je(d, f) && // Make sure animatingRect is on line between toRect & fromRect
357
+ (v.top - f.top) / (v.left - f.left) === (d.top - f.top) / (d.left - f.left) && (s = Vn(v, g, w, r.options)), Je(f, d) || (u.prevFromRect = d, u.prevToRect = f, s || (s = r.options.animation), r.animate(u, v, f, s)), s && (i = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
358
358
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
359
359
  }, s), u.thisAnimationDuration = s);
360
360
  }), clearTimeout(e), i ? e = setTimeout(function() {
@@ -365,17 +365,17 @@ function Mn() {
365
365
  if (a) {
366
366
  h(o, "transition", ""), h(o, "transform", "");
367
367
  var l = me(this.el), s = l && l.a, u = l && l.d, d = (r.left - i.left) / (s || 1), f = (r.top - i.top) / (u || 1);
368
- o.animatingX = !!d, o.animatingY = !!f, h(o, "transform", "translate3d(" + d + "px," + f + "px,0)"), this.forRepaintDummy = Ln(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
368
+ o.animatingX = !!d, o.animatingY = !!f, h(o, "transform", "translate3d(" + d + "px," + f + "px,0)"), this.forRepaintDummy = Bn(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
369
369
  h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
370
370
  }, a);
371
371
  }
372
372
  }
373
373
  };
374
374
  }
375
- function Ln(t) {
375
+ function Bn(t) {
376
376
  return t.offsetWidth;
377
377
  }
378
- function Rn(t, e, n, o) {
378
+ function Vn(t, e, n, o) {
379
379
  return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) * o.animation;
380
380
  }
381
381
  var de = [], et = {
@@ -430,22 +430,22 @@ var de = [], et = {
430
430
  }), r;
431
431
  }
432
432
  };
433
- function Bn(t) {
433
+ function Xn(t) {
434
434
  var e = t.sortable, n = t.rootEl, o = t.name, r = t.targetEl, i = t.cloneEl, a = t.toEl, l = t.fromEl, s = t.oldIndex, u = t.newIndex, d = t.oldDraggableIndex, f = t.newDraggableIndex, g = t.originalEvent, w = t.putSortable, v = t.extraEventProperties;
435
435
  if (e = e || n && n[L], !!e) {
436
- var y, B = e.options, z = "on" + o.charAt(0).toUpperCase() + o.substr(1);
437
- window.CustomEvent && !K && !ke ? y = new CustomEvent(o, {
436
+ var _, B = e.options, z = "on" + o.charAt(0).toUpperCase() + o.substr(1);
437
+ window.CustomEvent && !K && !ke ? _ = new CustomEvent(o, {
438
438
  bubbles: !0,
439
439
  cancelable: !0
440
- }) : (y = document.createEvent("Event"), y.initEvent(o, !0, !0)), y.to = a || n, y.from = l || n, y.item = r || n, y.clone = i, y.oldIndex = s, y.newIndex = u, y.oldDraggableIndex = d, y.newDraggableIndex = f, y.originalEvent = g, y.pullMode = w ? w.lastPutMode : void 0;
440
+ }) : (_ = document.createEvent("Event"), _.initEvent(o, !0, !0)), _.to = a || n, _.from = l || n, _.item = r || n, _.clone = i, _.oldIndex = s, _.newIndex = u, _.oldDraggableIndex = d, _.newDraggableIndex = f, _.originalEvent = g, _.pullMode = w ? w.lastPutMode : void 0;
441
441
  var A = j(j({}, v), Fe.getEventProperties(o, e));
442
442
  for (var V in A)
443
- y[V] = A[V];
444
- n && n.dispatchEvent(y), B[z] && B[z].call(e, y);
443
+ _[V] = A[V];
444
+ n && n.dispatchEvent(_), B[z] && B[z].call(e, _);
445
445
  }
446
446
  }
447
- var Vn = ["evt"], N = function(e, n) {
448
- var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, i = In(o, Vn);
447
+ var $n = ["evt"], N = function(e, n) {
448
+ var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, i = An(o, $n);
449
449
  Fe.pluginEvent.bind(p)(e, n, j({
450
450
  dragEl: c,
451
451
  parentEl: S,
@@ -481,7 +481,7 @@ var Vn = ["evt"], N = function(e, n) {
481
481
  }, i));
482
482
  };
483
483
  function P(t) {
484
- Bn(j({
484
+ Xn(j({
485
485
  putSortable: I,
486
486
  cloneEl: D,
487
487
  targetEl: c,
@@ -492,8 +492,8 @@ function P(t) {
492
492
  newDraggableIndex: J
493
493
  }, t));
494
494
  }
495
- var c, S, m, E, se, $e, D, ee, pe, M, Ie, J, Le, I, he = !1, Ue = !1, qe = [], ae, X, tt, nt, Ot, At, Se, fe, Oe, Ae = !1, Re = !1, We, O, ot = [], ft = !1, Ke = [], Qe = typeof document < "u", Be = Vt, Pt = ke || K ? "cssFloat" : "float", Xn = Qe && !An && !Vt && "draggable" in document.createElement("div"), jt = function() {
496
- if (Qe) {
495
+ var c, S, m, E, se, $e, D, ee, pe, M, Ie, J, Le, I, he = !1, Ge = !1, Ue = [], ae, X, tt, nt, Ot, At, Se, fe, Oe, Ae = !1, Re = !1, Ye, O, ot = [], ft = !1, qe = [], Ze = typeof document < "u", Be = Vt, Pt = ke || K ? "cssFloat" : "float", Yn = Ze && !Nn && !Vt && "draggable" in document.createElement("div"), jt = function() {
496
+ if (Ze) {
497
497
  if (K)
498
498
  return !1;
499
499
  var t = document.createElement("x");
@@ -510,14 +510,14 @@ var c, S, m, E, se, $e, D, ee, pe, M, Ie, J, Le, I, he = !1, Ue = !1, qe = [], a
510
510
  return a && (s.clear === "both" || s.clear === f) ? "vertical" : "horizontal";
511
511
  }
512
512
  return i && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && o[Pt] === "none" || a && o[Pt] === "none" && u + d > r) ? "vertical" : "horizontal";
513
- }, Yn = function(e, n, o) {
513
+ }, Wn = function(e, n, o) {
514
514
  var r = o ? e.left : e.top, i = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
515
515
  return r === l || i === s || r + a / 2 === l + u / 2;
516
- }, $n = function(e, n) {
516
+ }, Hn = function(e, n) {
517
517
  var o;
518
- return qe.some(function(r) {
518
+ return Ue.some(function(r) {
519
519
  var i = r[L].options.emptyInsertThreshold;
520
- if (!(!i || _t(r))) {
520
+ if (!(!i || yt(r))) {
521
521
  var a = T(r), l = e >= a.left - i && e <= a.right + i, s = n >= a.top - i && n <= a.bottom + i;
522
522
  if (l && s)
523
523
  return o = r;
@@ -540,7 +540,7 @@ var c, S, m, E, se, $e, D, ee, pe, M, Ie, J, Le, I, he = !1, Ue = !1, qe = [], a
540
540
  };
541
541
  }
542
542
  var o = {}, r = e.group;
543
- (!r || Ye(r) != "object") && (r = {
543
+ (!r || Xe(r) != "object") && (r = {
544
544
  name: r
545
545
  }), o.name = r.name, o.checkPull = n(r.pull, !0), o.checkPut = n(r.put), o.revertClone = r.revertClone, e.group = o;
546
546
  }, Ut = function() {
@@ -548,14 +548,14 @@ var c, S, m, E, se, $e, D, ee, pe, M, Ie, J, Le, I, he = !1, Ue = !1, qe = [], a
548
548
  }, qt = function() {
549
549
  !jt && m && h(m, "display", "");
550
550
  };
551
- Qe && document.addEventListener("click", function(t) {
552
- if (Ue)
553
- return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Ue = !1, !1;
551
+ Ze && document.addEventListener("click", function(t) {
552
+ if (Ge)
553
+ return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Ge = !1, !1;
554
554
  }, !0);
555
555
  var le = function(e) {
556
556
  if (c) {
557
557
  e = e.touches ? e.touches[0] : e;
558
- var n = $n(e.clientX, e.clientY);
558
+ var n = Hn(e.clientX, e.clientY);
559
559
  if (n) {
560
560
  var o = {};
561
561
  for (var r in e)
@@ -563,7 +563,7 @@ var le = function(e) {
563
563
  o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[L]._onDragOver(o);
564
564
  }
565
565
  }
566
- }, Wn = function(e) {
566
+ }, jn = function(e) {
567
567
  c && c.parentNode[L]._isOutsideThisEl(e.target);
568
568
  };
569
569
  function p(t, e) {
@@ -621,7 +621,7 @@ function p(t, e) {
621
621
  Gt(e);
622
622
  for (var r in this)
623
623
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
624
- this.nativeDraggable = e.forceFallback ? !1 : Xn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? _(t, "pointerdown", this._onTapStart) : (_(t, "mousedown", this._onTapStart), _(t, "touchstart", this._onTapStart)), this.nativeDraggable && (_(t, "dragover", this), _(t, "dragenter", this)), qe.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), q(this, Mn());
624
+ this.nativeDraggable = e.forceFallback ? !1 : Yn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? y(t, "pointerdown", this._onTapStart) : (y(t, "mousedown", this._onTapStart), y(t, "touchstart", this._onTapStart)), this.nativeDraggable && (y(t, "dragover", this), y(t, "dragenter", this)), Ue.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), q(this, Rn());
625
625
  }
626
626
  p.prototype = /** @lends Sortable.prototype */
627
627
  {
@@ -635,7 +635,7 @@ p.prototype = /** @lends Sortable.prototype */
635
635
  _onTapStart: function(e) {
636
636
  if (e.cancelable) {
637
637
  var n = this, o = this.el, r = this.options, i = r.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, d = r.filter;
638
- if (Zn(o), !c && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Te && s && s.tagName.toUpperCase() === "SELECT") && (s = W(s, r.draggable, o, !1), !(s && s.animated) && $e !== s)) {
638
+ if (Jn(o), !c && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Te && s && s.tagName.toUpperCase() === "SELECT") && (s = W(s, r.draggable, o, !1), !(s && s.animated) && $e !== s)) {
639
639
  if (pe = R(s), Ie = R(s, r.draggable), typeof d == "function") {
640
640
  if (d.call(this, e, s, this)) {
641
641
  P({
@@ -691,15 +691,15 @@ p.prototype = /** @lends Sortable.prototype */
691
691
  originalEvent: e
692
692
  }), F(c, a.chosenClass, !0);
693
693
  }, a.ignore.split(",").forEach(function(d) {
694
- Yt(c, d.trim(), rt);
695
- }), _(l, "dragover", le), _(l, "mousemove", le), _(l, "touchmove", le), _(l, "mouseup", r._onDrop), _(l, "touchend", r._onDrop), _(l, "touchcancel", r._onDrop), Ct && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), N("delayStart", this, {
694
+ $t(c, d.trim(), rt);
695
+ }), y(l, "dragover", le), y(l, "mousemove", le), y(l, "touchmove", le), y(l, "mouseup", r._onDrop), y(l, "touchend", r._onDrop), y(l, "touchcancel", r._onDrop), Ct && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), N("delayStart", this, {
696
696
  evt: e
697
697
  }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(ke || K))) {
698
698
  if (p.eventCanceled) {
699
699
  this._onDrop();
700
700
  return;
701
701
  }
702
- _(l, "mouseup", r._disableDelayedDrag), _(l, "touchend", r._disableDelayedDrag), _(l, "touchcancel", r._disableDelayedDrag), _(l, "mousemove", r._delayedDragTouchMoveHandler), _(l, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && _(l, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(s, a.delay);
702
+ y(l, "mouseup", r._disableDelayedDrag), y(l, "touchend", r._disableDelayedDrag), y(l, "touchcancel", r._disableDelayedDrag), y(l, "mousemove", r._delayedDragTouchMoveHandler), y(l, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && y(l, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(s, a.delay);
703
703
  } else
704
704
  s();
705
705
  }
@@ -716,9 +716,9 @@ p.prototype = /** @lends Sortable.prototype */
716
716
  b(e, "mouseup", this._disableDelayedDrag), b(e, "touchend", this._disableDelayedDrag), b(e, "touchcancel", this._disableDelayedDrag), b(e, "mousemove", this._delayedDragTouchMoveHandler), b(e, "touchmove", this._delayedDragTouchMoveHandler), b(e, "pointermove", this._delayedDragTouchMoveHandler);
717
717
  },
718
718
  _triggerDragStart: function(e, n) {
719
- n = n || e.pointerType == "touch" && e, !this.nativeDraggable || n ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : n ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(c, "dragend", this), _(E, "dragstart", this._onDragStart));
719
+ n = n || e.pointerType == "touch" && e, !this.nativeDraggable || n ? this.options.supportPointer ? y(document, "pointermove", this._onTouchMove) : n ? y(document, "touchmove", this._onTouchMove) : y(document, "mousemove", this._onTouchMove) : (y(c, "dragend", this), y(E, "dragstart", this._onDragStart));
720
720
  try {
721
- document.selection ? He(function() {
721
+ document.selection ? We(function() {
722
722
  document.selection.empty();
723
723
  }) : window.getSelection().removeAllRanges();
724
724
  } catch {
@@ -728,7 +728,7 @@ p.prototype = /** @lends Sortable.prototype */
728
728
  if (he = !1, E && c) {
729
729
  N("dragStarted", this, {
730
730
  evt: n
731
- }), this.nativeDraggable && _(document, "dragover", Wn);
731
+ }), this.nativeDraggable && y(document, "dragover", jn);
732
732
  var o = this.options;
733
733
  !e && F(c, o.dragClass, !1), F(c, o.ghostClass, !0), p.active = this, e && this._appendGhost(), P({
734
734
  sortable: this,
@@ -802,16 +802,16 @@ p.prototype = /** @lends Sortable.prototype */
802
802
  this._onDrop();
803
803
  return;
804
804
  }
805
- N("setupClone", this), p.eventCanceled || (D = Ht(c), D.draggable = !1, D.style["will-change"] = "", this._hideClone(), F(D, this.options.chosenClass, !1), p.clone = D), o.cloneId = He(function() {
805
+ N("setupClone", this), p.eventCanceled || (D = Ht(c), D.draggable = !1, D.style["will-change"] = "", this._hideClone(), F(D, this.options.chosenClass, !1), p.clone = D), o.cloneId = We(function() {
806
806
  N("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || E.insertBefore(D, c), o._hideClone(), P({
807
807
  sortable: o,
808
808
  name: "clone"
809
809
  }));
810
- }), !n && F(c, i.dragClass, !0), n ? (Ue = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(o, r, c)), _(document, "drop", o), h(c, "transform", "translateZ(0)")), he = !0, o._dragStartId = He(o._dragStarted.bind(o, n, e)), _(document, "selectstart", o), Se = !0, Te && h(document.body, "user-select", "none");
810
+ }), !n && F(c, i.dragClass, !0), n ? (Ge = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(o, r, c)), y(document, "drop", o), h(c, "transform", "translateZ(0)")), he = !0, o._dragStartId = We(o._dragStarted.bind(o, n, e)), y(document, "selectstart", o), Se = !0, Te && h(document.body, "user-select", "none");
811
811
  },
812
812
  // Returns true - if no further action is needed (either inserted or another condition)
813
813
  _onDragOver: function(e) {
814
- var n = this.el, o = e.target, r, i, a, l = this.options, s = l.group, u = p.active, d = Le === s, f = l.sort, g = I || u, w, v = this, y = !1;
814
+ var n = this.el, o = e.target, r, i, a, l = this.options, s = l.group, u = p.active, d = Le === s, f = l.sort, g = I || u, w, v = this, _ = !1;
815
815
  if (ft) return;
816
816
  function B(Ee, an) {
817
817
  N(Ee, v, j({
@@ -839,7 +839,7 @@ p.prototype = /** @lends Sortable.prototype */
839
839
  insertion: Ee
840
840
  }), Ee && (d ? u._hideClone() : u._showClone(v), v !== g && (F(c, I ? I.options.ghostClass : u.options.ghostClass, !1), F(c, l.ghostClass, !0)), I !== v && v !== p.active ? I = v : v === p.active && I && (I = null), g === v && (v._ignoreWhileAnimating = o), v.animateAll(function() {
841
841
  B("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
842
- }), v !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (o === c && !c.animated || o === n && !o.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && o !== document && (c.parentNode[L]._isOutsideThisEl(e.target), !Ee && le(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), y = !0;
842
+ }), v !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (o === c && !c.animated || o === n && !o.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && o !== document && (c.parentNode[L]._isOutsideThisEl(e.target), !Ee && le(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), _ = !0;
843
843
  }
844
844
  function V() {
845
845
  M = R(c), J = R(c, l.draggable), P({
@@ -851,20 +851,20 @@ p.prototype = /** @lends Sortable.prototype */
851
851
  originalEvent: e
852
852
  });
853
853
  }
854
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = W(o, l.draggable, n, !0), B("dragOver"), p.eventCanceled) return y;
854
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = W(o, l.draggable, n, !0), B("dragOver"), p.eventCanceled) return _;
855
855
  if (c.contains(e.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
856
856
  return A(!1);
857
- if (Ue = !1, u && !l.disabled && (d ? f || (a = S !== E) : I === this || (this.lastPutMode = Le.checkPull(this, u, c, e)) && s.checkPut(this, u, c, e))) {
858
- if (w = this._getDirection(e, o) === "vertical", r = T(c), B("dragOverValid"), p.eventCanceled) return y;
857
+ if (Ge = !1, u && !l.disabled && (d ? f || (a = S !== E) : I === this || (this.lastPutMode = Le.checkPull(this, u, c, e)) && s.checkPut(this, u, c, e))) {
858
+ if (w = this._getDirection(e, o) === "vertical", r = T(c), B("dragOverValid"), p.eventCanceled) return _;
859
859
  if (a)
860
860
  return S = E, z(), this._hideClone(), B("revert"), p.eventCanceled || (se ? E.insertBefore(c, se) : E.appendChild(c)), A(!0);
861
- var Y = _t(n, l.draggable);
862
- if (!Y || Gn(e, w, this) && !Y.animated) {
863
- if (Y === c)
861
+ var $ = yt(n, l.draggable);
862
+ if (!$ || qn(e, w, this) && !$.animated) {
863
+ if ($ === c)
864
864
  return A(!1);
865
- if (Y && n === e.target && (o = Y), o && (i = T(o)), Ve(E, n, c, r, o, i, e, !!o) !== !1)
865
+ if ($ && n === e.target && (o = $), o && (i = T(o)), Ve(E, n, c, r, o, i, e, !!o) !== !1)
866
866
  return z(), n.appendChild(c), S = n, V(), A(!0);
867
- } else if (Y && zn(e, w, this)) {
867
+ } else if ($ && Un(e, w, this)) {
868
868
  var oe = ve(n, 0, l, !0);
869
869
  if (oe === c)
870
870
  return A(!1);
@@ -872,23 +872,23 @@ p.prototype = /** @lends Sortable.prototype */
872
872
  return z(), n.insertBefore(c, oe), S = n, V(), A(!0);
873
873
  } else if (o.parentNode === n) {
874
874
  i = T(o);
875
- var $ = 0, re, be = c.parentNode !== n, k = !Yn(c.animated && c.toRect || r, o.animated && o.toRect || i, w), _e = w ? "top" : "left", Z = xt(o, "top", "top") || xt(c, "top", "top"), ye = Z ? Z.scrollTop : void 0;
876
- fe !== o && (re = i[_e], Ae = !1, Re = !k && l.invertSwap || be), $ = Un(e, o, i, w, k ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Re, fe === o);
875
+ var Y = 0, re, be = c.parentNode !== n, k = !Wn(c.animated && c.toRect || r, o.animated && o.toRect || i, w), ye = w ? "top" : "left", Z = xt(o, "top", "top") || xt(c, "top", "top"), _e = Z ? Z.scrollTop : void 0;
876
+ fe !== o && (re = i[ye], Ae = !1, Re = !k && l.invertSwap || be), Y = Kn(e, o, i, w, k ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Re, fe === o);
877
877
  var G;
878
- if ($ !== 0) {
878
+ if (Y !== 0) {
879
879
  var ie = R(c);
880
880
  do
881
- ie -= $, G = S.children[ie];
881
+ ie -= Y, G = S.children[ie];
882
882
  while (G && (h(G, "display") === "none" || G === m));
883
883
  }
884
- if ($ === 0 || G === o)
884
+ if (Y === 0 || G === o)
885
885
  return A(!1);
886
- fe = o, Oe = $;
886
+ fe = o, Oe = Y;
887
887
  var we = o.nextElementSibling, Q = !1;
888
- Q = $ === 1;
888
+ Q = Y === 1;
889
889
  var Me = Ve(E, n, c, r, o, i, e, Q);
890
890
  if (Me !== !1)
891
- return (Me === 1 || Me === -1) && (Q = Me === 1), ft = !0, setTimeout(jn, 30), z(), Q && !we ? n.appendChild(c) : o.parentNode.insertBefore(c, Q ? we : o), Z && Wt(Z, 0, ye - Z.scrollTop), S = c.parentNode, re !== void 0 && !Re && (We = Math.abs(re - T(o)[_e])), V(), A(!0);
891
+ return (Me === 1 || Me === -1) && (Q = Me === 1), ft = !0, setTimeout(Gn, 30), z(), Q && !we ? n.appendChild(c) : o.parentNode.insertBefore(c, Q ? we : o), Z && Wt(Z, 0, _e - Z.scrollTop), S = c.parentNode, re !== void 0 && !Re && (Ye = Math.abs(re - T(o)[ye])), V(), A(!0);
892
892
  }
893
893
  if (n.contains(c))
894
894
  return A(!1);
@@ -958,9 +958,9 @@ p.prototype = /** @lends Sortable.prototype */
958
958
  }), this.save()))), this._nulling();
959
959
  },
960
960
  _nulling: function() {
961
- N("nulling", this), E = c = S = m = se = D = $e = ee = ae = X = Se = M = J = pe = Ie = fe = Oe = I = Le = p.dragged = p.ghost = p.clone = p.active = null, Ke.forEach(function(e) {
961
+ N("nulling", this), E = c = S = m = se = D = $e = ee = ae = X = Se = M = J = pe = Ie = fe = Oe = I = Le = p.dragged = p.ghost = p.clone = p.active = null, qe.forEach(function(e) {
962
962
  e.checked = !0;
963
- }), Ke.length = tt = nt = 0;
963
+ }), qe.length = tt = nt = 0;
964
964
  },
965
965
  handleEvent: function(e) {
966
966
  switch (e.type) {
@@ -970,7 +970,7 @@ p.prototype = /** @lends Sortable.prototype */
970
970
  break;
971
971
  case "dragenter":
972
972
  case "dragover":
973
- c && (this._onDragOver(e), Hn(e));
973
+ c && (this._onDragOver(e), zn(e));
974
974
  break;
975
975
  case "selectstart":
976
976
  e.preventDefault();
@@ -983,7 +983,7 @@ p.prototype = /** @lends Sortable.prototype */
983
983
  */
984
984
  toArray: function() {
985
985
  for (var e = [], n, o = this.el.children, r = 0, i = o.length, a = this.options; r < i; r++)
986
- n = o[r], W(n, a.draggable, this.el, !1) && e.push(n.getAttribute(a.dataIdAttr) || Kn(n));
986
+ n = o[r], W(n, a.draggable, this.el, !1) && e.push(n.getAttribute(a.dataIdAttr) || Qn(n));
987
987
  return e;
988
988
  },
989
989
  /**
@@ -1036,7 +1036,7 @@ p.prototype = /** @lends Sortable.prototype */
1036
1036
  var e = this.el;
1037
1037
  e[L] = null, b(e, "mousedown", this._onTapStart), b(e, "touchstart", this._onTapStart), b(e, "pointerdown", this._onTapStart), this.nativeDraggable && (b(e, "dragover", this), b(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(n) {
1038
1038
  n.removeAttribute("draggable");
1039
- }), this._onDrop(), this._disableDelayedDragEvents(), qe.splice(qe.indexOf(this.el), 1), this.el = e = null;
1039
+ }), this._onDrop(), this._disableDelayedDragEvents(), Ue.splice(Ue.indexOf(this.el), 1), this.el = e = null;
1040
1040
  },
1041
1041
  _hideClone: function() {
1042
1042
  if (!ee) {
@@ -1055,7 +1055,7 @@ p.prototype = /** @lends Sortable.prototype */
1055
1055
  }
1056
1056
  }
1057
1057
  };
1058
- function Hn(t) {
1058
+ function zn(t) {
1059
1059
  t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
1060
1060
  }
1061
1061
  function Ve(t, e, n, o, r, i, a, l) {
@@ -1068,69 +1068,69 @@ function Ve(t, e, n, o, r, i, a, l) {
1068
1068
  function rt(t) {
1069
1069
  t.draggable = !1;
1070
1070
  }
1071
- function jn() {
1071
+ function Gn() {
1072
1072
  ft = !1;
1073
1073
  }
1074
- function zn(t, e, n) {
1074
+ function Un(t, e, n) {
1075
1075
  var o = T(ve(n.el, 0, n.options, !0)), r = 10;
1076
1076
  return e ? t.clientX < o.left - r || t.clientY < o.top && t.clientX < o.right : t.clientY < o.top - r || t.clientY < o.bottom && t.clientX < o.left;
1077
1077
  }
1078
- function Gn(t, e, n) {
1079
- var o = T(_t(n.el, n.options.draggable)), r = 10;
1078
+ function qn(t, e, n) {
1079
+ var o = T(yt(n.el, n.options.draggable)), r = 10;
1080
1080
  return e ? t.clientX > o.right + r || t.clientX <= o.right && t.clientY > o.bottom && t.clientX >= o.left : t.clientX > o.right && t.clientY > o.top || t.clientX <= o.right && t.clientY > o.bottom + r;
1081
1081
  }
1082
- function Un(t, e, n, o, r, i, a, l) {
1082
+ function Kn(t, e, n, o, r, i, a, l) {
1083
1083
  var s = o ? t.clientY : t.clientX, u = o ? n.height : n.width, d = o ? n.top : n.left, f = o ? n.bottom : n.right, g = !1;
1084
1084
  if (!a) {
1085
- if (l && We < u * r) {
1085
+ if (l && Ye < u * r) {
1086
1086
  if (!Ae && (Oe === 1 ? s > d + u * i / 2 : s < f - u * i / 2) && (Ae = !0), Ae)
1087
1087
  g = !0;
1088
- else if (Oe === 1 ? s < d + We : s > f - We)
1088
+ else if (Oe === 1 ? s < d + Ye : s > f - Ye)
1089
1089
  return -Oe;
1090
1090
  } else if (s > d + u * (1 - r) / 2 && s < f - u * (1 - r) / 2)
1091
- return qn(e);
1091
+ return Zn(e);
1092
1092
  }
1093
1093
  return g = g || a, g && (s < d + u * i / 2 || s > f - u * i / 2) ? s > d + u / 2 ? 1 : -1 : 0;
1094
1094
  }
1095
- function qn(t) {
1095
+ function Zn(t) {
1096
1096
  return R(c) < R(t) ? 1 : -1;
1097
1097
  }
1098
- function Kn(t) {
1098
+ function Qn(t) {
1099
1099
  for (var e = t.tagName + t.className + t.src + t.href + t.textContent, n = e.length, o = 0; n--; )
1100
1100
  o += e.charCodeAt(n);
1101
1101
  return o.toString(36);
1102
1102
  }
1103
- function Zn(t) {
1104
- Ke.length = 0;
1103
+ function Jn(t) {
1104
+ qe.length = 0;
1105
1105
  for (var e = t.getElementsByTagName("input"), n = e.length; n--; ) {
1106
1106
  var o = e[n];
1107
- o.checked && Ke.push(o);
1107
+ o.checked && qe.push(o);
1108
1108
  }
1109
1109
  }
1110
- function He(t) {
1110
+ function We(t) {
1111
1111
  return setTimeout(t, 0);
1112
1112
  }
1113
1113
  function ht(t) {
1114
1114
  return clearTimeout(t);
1115
1115
  }
1116
- Qe && _(document, "touchmove", function(t) {
1116
+ Ze && y(document, "touchmove", function(t) {
1117
1117
  (p.active || he) && t.cancelable && t.preventDefault();
1118
1118
  });
1119
1119
  p.utils = {
1120
- on: _,
1120
+ on: y,
1121
1121
  off: b,
1122
1122
  css: h,
1123
- find: Yt,
1123
+ find: $t,
1124
1124
  is: function(e, n) {
1125
1125
  return !!W(e, n, e, !1);
1126
1126
  },
1127
- extend: kn,
1128
- throttle: $t,
1127
+ extend: Mn,
1128
+ throttle: Yt,
1129
1129
  closest: W,
1130
1130
  toggleClass: F,
1131
1131
  clone: Ht,
1132
1132
  index: R,
1133
- nextTick: He,
1133
+ nextTick: We,
1134
1134
  cancelNextTick: ht,
1135
1135
  detectDirection: zt,
1136
1136
  getChild: ve
@@ -1150,9 +1150,9 @@ p.mount = function() {
1150
1150
  p.create = function(t, e) {
1151
1151
  return new p(t, e);
1152
1152
  };
1153
- p.version = On;
1154
- var C = [], De, pt, mt = !1, it, at, Ze, Ce;
1155
- function Qn() {
1153
+ p.version = Pn;
1154
+ var C = [], De, pt, mt = !1, it, at, Ke, Ce;
1155
+ function eo() {
1156
1156
  function t() {
1157
1157
  this.defaults = {
1158
1158
  scroll: !0,
@@ -1167,33 +1167,33 @@ function Qn() {
1167
1167
  return t.prototype = {
1168
1168
  dragStarted: function(n) {
1169
1169
  var o = n.originalEvent;
1170
- this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? _(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? _(document, "touchmove", this._handleFallbackAutoScroll) : _(document, "mousemove", this._handleFallbackAutoScroll);
1170
+ this.sortable.nativeDraggable ? y(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? y(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? y(document, "touchmove", this._handleFallbackAutoScroll) : y(document, "mousemove", this._handleFallbackAutoScroll);
1171
1171
  },
1172
1172
  dragOverCompleted: function(n) {
1173
1173
  var o = n.originalEvent;
1174
1174
  !this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
1175
1175
  },
1176
1176
  drop: function() {
1177
- this.sortable.nativeDraggable ? b(document, "dragover", this._handleAutoScroll) : (b(document, "pointermove", this._handleFallbackAutoScroll), b(document, "touchmove", this._handleFallbackAutoScroll), b(document, "mousemove", this._handleFallbackAutoScroll)), Nt(), je(), Fn();
1177
+ this.sortable.nativeDraggable ? b(document, "dragover", this._handleAutoScroll) : (b(document, "pointermove", this._handleFallbackAutoScroll), b(document, "touchmove", this._handleFallbackAutoScroll), b(document, "mousemove", this._handleFallbackAutoScroll)), Nt(), He(), Ln();
1178
1178
  },
1179
1179
  nulling: function() {
1180
- Ze = pt = De = mt = Ce = it = at = null, C.length = 0;
1180
+ Ke = pt = De = mt = Ce = it = at = null, C.length = 0;
1181
1181
  },
1182
1182
  _handleFallbackAutoScroll: function(n) {
1183
1183
  this._handleAutoScroll(n, !0);
1184
1184
  },
1185
1185
  _handleAutoScroll: function(n, o) {
1186
1186
  var r = this, i = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(i, a);
1187
- if (Ze = n, o || this.options.forceAutoScrollFallback || ke || K || Te) {
1187
+ if (Ke = n, o || this.options.forceAutoScrollFallback || ke || K || Te) {
1188
1188
  lt(n, this.options, l, o);
1189
1189
  var s = te(l, !0);
1190
1190
  mt && (!Ce || i !== it || a !== at) && (Ce && Nt(), Ce = setInterval(function() {
1191
1191
  var u = te(document.elementFromPoint(i, a), !0);
1192
- u !== s && (s = u, je()), lt(n, r.options, u, o);
1192
+ u !== s && (s = u, He()), lt(n, r.options, u, o);
1193
1193
  }, 10), it = i, at = a);
1194
1194
  } else {
1195
1195
  if (!this.options.bubbleScroll || te(l, !0) === H()) {
1196
- je();
1196
+ He();
1197
1197
  return;
1198
1198
  }
1199
1199
  lt(n, this.options, te(l, !1), !1);
@@ -1204,7 +1204,7 @@ function Qn() {
1204
1204
  initializeByDefault: !0
1205
1205
  });
1206
1206
  }
1207
- function je() {
1207
+ function He() {
1208
1208
  C.forEach(function(t) {
1209
1209
  clearInterval(t.pid);
1210
1210
  }), C = [];
@@ -1212,22 +1212,22 @@ function je() {
1212
1212
  function Nt() {
1213
1213
  clearInterval(Ce);
1214
1214
  }
1215
- var lt = $t(function(t, e, n, o) {
1215
+ var lt = Yt(function(t, e, n, o) {
1216
1216
  if (e.scroll) {
1217
1217
  var r = (t.touches ? t.touches[0] : t).clientX, i = (t.touches ? t.touches[0] : t).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = H(), u = !1, d;
1218
- pt !== n && (pt = n, je(), De = e.scroll, d = e.scrollFn, De === !0 && (De = te(n, !0)));
1218
+ pt !== n && (pt = n, He(), De = e.scroll, d = e.scrollFn, De === !0 && (De = te(n, !0)));
1219
1219
  var f = 0, g = De;
1220
1220
  do {
1221
- var w = g, v = T(w), y = v.top, B = v.bottom, z = v.left, A = v.right, V = v.width, Y = v.height, oe = void 0, $ = void 0, re = w.scrollWidth, be = w.scrollHeight, k = h(w), _e = w.scrollLeft, Z = w.scrollTop;
1222
- w === s ? (oe = V < re && (k.overflowX === "auto" || k.overflowX === "scroll" || k.overflowX === "visible"), $ = Y < be && (k.overflowY === "auto" || k.overflowY === "scroll" || k.overflowY === "visible")) : (oe = V < re && (k.overflowX === "auto" || k.overflowX === "scroll"), $ = Y < be && (k.overflowY === "auto" || k.overflowY === "scroll"));
1223
- var ye = oe && (Math.abs(A - r) <= a && _e + V < re) - (Math.abs(z - r) <= a && !!_e), G = $ && (Math.abs(B - i) <= a && Z + Y < be) - (Math.abs(y - i) <= a && !!Z);
1221
+ var w = g, v = T(w), _ = v.top, B = v.bottom, z = v.left, A = v.right, V = v.width, $ = v.height, oe = void 0, Y = void 0, re = w.scrollWidth, be = w.scrollHeight, k = h(w), ye = w.scrollLeft, Z = w.scrollTop;
1222
+ w === s ? (oe = V < re && (k.overflowX === "auto" || k.overflowX === "scroll" || k.overflowX === "visible"), Y = $ < be && (k.overflowY === "auto" || k.overflowY === "scroll" || k.overflowY === "visible")) : (oe = V < re && (k.overflowX === "auto" || k.overflowX === "scroll"), Y = $ < be && (k.overflowY === "auto" || k.overflowY === "scroll"));
1223
+ var _e = oe && (Math.abs(A - r) <= a && ye + V < re) - (Math.abs(z - r) <= a && !!ye), G = Y && (Math.abs(B - i) <= a && Z + $ < be) - (Math.abs(_ - i) <= a && !!Z);
1224
1224
  if (!C[f])
1225
1225
  for (var ie = 0; ie <= f; ie++)
1226
1226
  C[ie] || (C[ie] = {});
1227
- (C[f].vx != ye || C[f].vy != G || C[f].el !== w) && (C[f].el = w, C[f].vx = ye, C[f].vy = G, clearInterval(C[f].pid), (ye != 0 || G != 0) && (u = !0, C[f].pid = setInterval((function() {
1228
- o && this.layer === 0 && p.active._onTouchMove(Ze);
1227
+ (C[f].vx != _e || C[f].vy != G || C[f].el !== w) && (C[f].el = w, C[f].vx = _e, C[f].vy = G, clearInterval(C[f].pid), (_e != 0 || G != 0) && (u = !0, C[f].pid = setInterval((function() {
1228
+ o && this.layer === 0 && p.active._onTouchMove(Ke);
1229
1229
  var we = C[this.layer].vy ? C[this.layer].vy * l : 0, Q = C[this.layer].vx ? C[this.layer].vx * l : 0;
1230
- typeof d == "function" && d.call(p.dragged.parentNode[L], Q, we, t, Ze, C[this.layer].el) !== "continue" || Wt(C[this.layer].el, Q, we);
1230
+ typeof d == "function" && d.call(p.dragged.parentNode[L], Q, we, t, Ke, C[this.layer].el) !== "continue" || Wt(C[this.layer].el, Q, we);
1231
1231
  }).bind({
1232
1232
  layer: f
1233
1233
  }), 24))), f++;
@@ -1246,9 +1246,9 @@ var lt = $t(function(t, e, n, o) {
1246
1246
  }));
1247
1247
  }
1248
1248
  };
1249
- function yt() {
1249
+ function _t() {
1250
1250
  }
1251
- yt.prototype = {
1251
+ _t.prototype = {
1252
1252
  startIndex: null,
1253
1253
  dragStart: function(e) {
1254
1254
  var n = e.oldDraggableIndex;
@@ -1262,7 +1262,7 @@ yt.prototype = {
1262
1262
  },
1263
1263
  drop: Kt
1264
1264
  };
1265
- q(yt, {
1265
+ q(_t, {
1266
1266
  pluginName: "revertOnSpill"
1267
1267
  });
1268
1268
  function wt() {
@@ -1277,8 +1277,8 @@ wt.prototype = {
1277
1277
  q(wt, {
1278
1278
  pluginName: "removeOnSpill"
1279
1279
  });
1280
- p.mount(new Qn());
1281
- p.mount(wt, yt);
1280
+ p.mount(new eo());
1281
+ p.mount(wt, _t);
1282
1282
  function st(t) {
1283
1283
  t.parentElement !== null && t.parentElement.removeChild(t);
1284
1284
  }
@@ -1286,25 +1286,25 @@ function kt(t, e, n) {
1286
1286
  const o = n === 0 ? t.children[0] : t.children[n - 1].nextSibling;
1287
1287
  t.insertBefore(e, o);
1288
1288
  }
1289
- function Jn() {
1289
+ function to() {
1290
1290
  return typeof window < "u" ? window.console : global.console;
1291
1291
  }
1292
- const eo = Jn();
1293
- function to(t) {
1292
+ const no = to();
1293
+ function oo(t) {
1294
1294
  const e = /* @__PURE__ */ Object.create(null);
1295
1295
  return function(o) {
1296
1296
  return e[o] || (e[o] = t(o));
1297
1297
  };
1298
1298
  }
1299
- const no = /-(\w)/g, oo = to((t) => t.replace(no, (e, n) => n.toUpperCase())), Zt = ["Start", "Add", "Remove", "Update", "End"], Qt = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], Jt = ["Move"], ro = [Jt, Zt, Qt].flatMap((t) => t).map((t) => `on${t}`), gt = {
1299
+ const ro = /-(\w)/g, io = oo((t) => t.replace(ro, (e, n) => n.toUpperCase())), Zt = ["Start", "Add", "Remove", "Update", "End"], Qt = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], Jt = ["Move"], ao = [Jt, Zt, Qt].flatMap((t) => t).map((t) => `on${t}`), gt = {
1300
1300
  manage: Jt,
1301
1301
  manageAndEmit: Zt,
1302
1302
  emit: Qt
1303
1303
  };
1304
- function io(t) {
1305
- return ro.indexOf(t) !== -1;
1304
+ function lo(t) {
1305
+ return ao.indexOf(t) !== -1;
1306
1306
  }
1307
- const ao = [
1307
+ const so = [
1308
1308
  "a",
1309
1309
  "abbr",
1310
1310
  "address",
@@ -1423,10 +1423,10 @@ const ao = [
1423
1423
  "video",
1424
1424
  "wbr"
1425
1425
  ];
1426
- function lo(t) {
1427
- return ao.includes(t);
1426
+ function uo(t) {
1427
+ return so.includes(t);
1428
1428
  }
1429
- function so(t) {
1429
+ function co(t) {
1430
1430
  return ["transition-group", "TransitionGroup"].includes(t);
1431
1431
  }
1432
1432
  function en(t) {
@@ -1435,7 +1435,7 @@ function en(t) {
1435
1435
  function tn(t) {
1436
1436
  return t.reduce((e, [n, o]) => (e[n] = o, e), {});
1437
1437
  }
1438
- function uo({ $attrs: t, componentData: e = {} }) {
1438
+ function fo({ $attrs: t, componentData: e = {} }) {
1439
1439
  return {
1440
1440
  ...tn(
1441
1441
  Object.entries(t).filter(([o, r]) => en(o))
@@ -1443,7 +1443,7 @@ function uo({ $attrs: t, componentData: e = {} }) {
1443
1443
  ...e
1444
1444
  };
1445
1445
  }
1446
- function co({ $attrs: t, callBackBuilder: e }) {
1446
+ function ho({ $attrs: t, callBackBuilder: e }) {
1447
1447
  const n = tn(nn(t));
1448
1448
  Object.entries(e).forEach(([r, i]) => {
1449
1449
  gt[r].forEach((a) => {
@@ -1457,10 +1457,10 @@ function co({ $attrs: t, callBackBuilder: e }) {
1457
1457
  };
1458
1458
  }
1459
1459
  function nn(t) {
1460
- return Object.entries(t).filter(([e, n]) => !en(e)).map(([e, n]) => [oo(e), n]).filter(([e, n]) => !io(e));
1460
+ return Object.entries(t).filter(([e, n]) => !en(e)).map(([e, n]) => [io(e), n]).filter(([e, n]) => !lo(e));
1461
1461
  }
1462
- const Ft = ({ el: t }) => t, fo = (t, e) => t.__draggable_context = e, Mt = (t) => t.__draggable_context;
1463
- class ho {
1462
+ const Ft = ({ el: t }) => t, po = (t, e) => t.__draggable_context = e, Mt = (t) => t.__draggable_context;
1463
+ class mo {
1464
1464
  constructor({
1465
1465
  nodes: { header: e, default: n, footer: o },
1466
1466
  root: r,
@@ -1478,7 +1478,7 @@ class ho {
1478
1478
  updated() {
1479
1479
  const { defaultNodes: e, realList: n } = this;
1480
1480
  e.forEach((o, r) => {
1481
- fo(Ft(o), {
1481
+ po(Ft(o), {
1482
1482
  element: n[r],
1483
1483
  index: r
1484
1484
  });
@@ -1502,13 +1502,13 @@ class ho {
1502
1502
  return e < u ? 0 : r;
1503
1503
  }
1504
1504
  }
1505
- function po(t, e) {
1505
+ function go(t, e) {
1506
1506
  const n = t[e];
1507
1507
  return n ? n() : [];
1508
1508
  }
1509
- function mo({ $slots: t, realList: e, getKey: n }) {
1509
+ function vo({ $slots: t, realList: e, getKey: n }) {
1510
1510
  const o = e || [], [r, i] = ["header", "footer"].map(
1511
- (s) => po(t, s)
1511
+ (s) => go(t, s)
1512
1512
  ), { item: a } = t;
1513
1513
  if (!a)
1514
1514
  throw new Error("draggable element must have an item slot");
@@ -1523,17 +1523,17 @@ function mo({ $slots: t, realList: e, getKey: n }) {
1523
1523
  default: l
1524
1524
  };
1525
1525
  }
1526
- function go(t) {
1527
- const e = so(t), n = !lo(t) && !e;
1526
+ function bo(t) {
1527
+ const e = co(t), n = !uo(t) && !e;
1528
1528
  return {
1529
1529
  transition: e,
1530
1530
  externalComponent: n,
1531
1531
  tag: n ? ge(t) : e ? dn : t
1532
1532
  };
1533
1533
  }
1534
- function vo({ $slots: t, tag: e, realList: n, getKey: o }) {
1535
- const r = mo({ $slots: t, realList: n, getKey: o }), i = go(e);
1536
- return new ho({ nodes: r, root: i, realList: n });
1534
+ function yo({ $slots: t, tag: e, realList: n, getKey: o }) {
1535
+ const r = vo({ $slots: t, realList: n, getKey: o }), i = bo(e);
1536
+ return new mo({ nodes: r, root: i, realList: n });
1537
1537
  }
1538
1538
  function on(t, e) {
1539
1539
  Rt(() => this.$emit(t.toLowerCase(), e));
@@ -1544,14 +1544,14 @@ function rn(t) {
1544
1544
  return this[`onDrag${t}`](e, n);
1545
1545
  };
1546
1546
  }
1547
- function bo(t) {
1547
+ function _o(t) {
1548
1548
  const e = rn.call(this, t);
1549
1549
  return (n, o) => {
1550
1550
  e.call(this, n, o), on.call(this, t, n);
1551
1551
  };
1552
1552
  }
1553
1553
  let ut = null;
1554
- const _o = {
1554
+ const wo = {
1555
1555
  list: {
1556
1556
  type: Array,
1557
1557
  required: !1,
@@ -1583,15 +1583,15 @@ const _o = {
1583
1583
  required: !1,
1584
1584
  default: null
1585
1585
  }
1586
- }, yo = [
1586
+ }, Eo = [
1587
1587
  "update:modelValue",
1588
1588
  "change",
1589
1589
  ...[...gt.manageAndEmit, ...gt.emit].map((t) => t.toLowerCase())
1590
- ], Bo = Ne({
1590
+ ], Xo = Ne({
1591
1591
  name: "draggable",
1592
1592
  inheritAttrs: !1,
1593
- props: _o,
1594
- emits: yo,
1593
+ props: wo,
1594
+ emits: Eo,
1595
1595
  data() {
1596
1596
  return {
1597
1597
  error: !1
@@ -1600,21 +1600,21 @@ const _o = {
1600
1600
  render() {
1601
1601
  try {
1602
1602
  this.error = !1;
1603
- const { $slots: t, $attrs: e, tag: n, componentData: o, realList: r, getKey: i } = this, a = vo({
1603
+ const { $slots: t, $attrs: e, tag: n, componentData: o, realList: r, getKey: i } = this, a = yo({
1604
1604
  $slots: t,
1605
1605
  tag: n,
1606
1606
  realList: r,
1607
1607
  getKey: i
1608
1608
  });
1609
1609
  this.componentStructure = a;
1610
- const l = uo({ $attrs: e, componentData: o });
1610
+ const l = fo({ $attrs: e, componentData: o });
1611
1611
  return a.render(St, l);
1612
1612
  } catch (t) {
1613
1613
  return this.error = !0, St("pre", { style: { color: "red" } }, t.stack);
1614
1614
  }
1615
1615
  },
1616
1616
  created() {
1617
- this.list !== null && this.modelValue !== null && eo.error(
1617
+ this.list !== null && this.modelValue !== null && no.error(
1618
1618
  "modelValue and list props are mutually exclusive! Please set one or another."
1619
1619
  );
1620
1620
  },
@@ -1623,10 +1623,10 @@ const _o = {
1623
1623
  return;
1624
1624
  const { $attrs: t, $el: e, componentStructure: n } = this;
1625
1625
  n.updated();
1626
- const o = co({
1626
+ const o = ho({
1627
1627
  $attrs: t,
1628
1628
  callBackBuilder: {
1629
- manageAndEmit: (i) => bo.call(this, i),
1629
+ manageAndEmit: (i) => _o.call(this, i),
1630
1630
  emit: (i) => on.bind(this, i),
1631
1631
  manage: (i) => rn.call(this, i)
1632
1632
  }
@@ -1757,7 +1757,7 @@ const _o = {
1757
1757
  ut = null;
1758
1758
  }
1759
1759
  }
1760
- }), wo = Object.entries(x).map((t) => {
1760
+ }), So = Object.entries(x).map((t) => {
1761
1761
  let e = "";
1762
1762
  switch (t[1]) {
1763
1763
  case x.BarChart:
@@ -1786,11 +1786,11 @@ const _o = {
1786
1786
  break;
1787
1787
  }
1788
1788
  return {
1789
- label: Sn(t[0]),
1789
+ label: Cn(t[0]),
1790
1790
  icon: e,
1791
1791
  value: t[1]
1792
1792
  };
1793
- }), Eo = /* @__PURE__ */ Ne({
1793
+ }), Do = /* @__PURE__ */ Ne({
1794
1794
  __name: "WidgetTypeList",
1795
1795
  props: /* @__PURE__ */ fn({
1796
1796
  childClass: {
@@ -1814,37 +1814,42 @@ const _o = {
1814
1814
  }),
1815
1815
  emits: ["update:modelValue"],
1816
1816
  setup(t) {
1817
- const e = Bt(t, "modelValue"), n = t;
1818
- return (o, r) => {
1819
- const i = ge("FmIcon"), a = ge("FmCard");
1817
+ const { t: e } = wn(), n = Bt(t, "modelValue"), o = t, r = hn(
1818
+ () => So.map((i) => ({
1819
+ ...i,
1820
+ label: e(`report.widget.types.${i.value.toLowerCase()}`)
1821
+ }))
1822
+ );
1823
+ return (i, a) => {
1824
+ const l = ge("FmIcon"), s = ge("FmCard");
1820
1825
  return ne(), ce("div", null, [
1821
- (ne(!0), ce(vt, null, hn(Xe(wo).filter(
1822
- (l) => n.excludeWidgeType.indexOf(l.value) === -1
1823
- ), (l, s) => (ne(), pn(a, {
1824
- key: s,
1825
- class: mn(`items-center ${n.childClass} cursor-pointer rounded-[8px] ${n.isList ? "" : "gap-[16px]"} ${e.value === l.value ? "selected-widget" : ""}`),
1826
+ (ne(!0), ce(vt, null, pn(r.value.filter(
1827
+ (u) => o.excludeWidgeType.indexOf(u.value) === -1
1828
+ ), (u, d) => (ne(), mn(s, {
1829
+ key: d,
1830
+ class: gn(`items-center ${o.childClass} cursor-pointer rounded-[8px] ${o.isList ? "" : "gap-[16px]"} ${n.value === u.value ? "selected-widget" : ""}`),
1826
1831
  variant: "outlined",
1827
- onClick: (u) => e.value = l.value
1832
+ onClick: (f) => n.value = u.value
1828
1833
  }, {
1829
- default: ze(() => [
1830
- ue(i, {
1831
- name: l.icon,
1832
- size: n.isList ? "md" : "lg",
1834
+ default: je(() => [
1835
+ ue(l, {
1836
+ name: u.icon,
1837
+ size: o.isList ? "md" : "lg",
1833
1838
  outline: !0
1834
1839
  }, null, 8, ["name", "size"]),
1835
- gn(" " + vn(l.label), 1)
1840
+ vn(" " + bn(u.label), 1)
1836
1841
  ]),
1837
1842
  _: 2
1838
1843
  }, 1032, ["class", "onClick"]))), 128))
1839
1844
  ]);
1840
1845
  };
1841
1846
  }
1842
- }), Vo = /* @__PURE__ */ bt(Eo, [["__scopeId", "data-v-c42ca7ee"]]);
1843
- function So(t) {
1847
+ }), $o = /* @__PURE__ */ bt(Do, [["__scopeId", "data-v-d75aa4ca"]]);
1848
+ function Co(t) {
1844
1849
  let e, n, o;
1845
1850
  switch (t) {
1846
1851
  case x.Table:
1847
- e = [], n = !1, o = Dn.top;
1852
+ e = [], n = !1, o = Tn.top;
1848
1853
  break;
1849
1854
  }
1850
1855
  return {
@@ -1866,7 +1871,7 @@ function So(t) {
1866
1871
  joinDatasources: e
1867
1872
  };
1868
1873
  }
1869
- function Xo(t, e) {
1874
+ function Yo(t, e) {
1870
1875
  let n = 1, o = 1;
1871
1876
  switch (t) {
1872
1877
  case x.Scorecard:
@@ -1896,20 +1901,20 @@ function Xo(t, e) {
1896
1901
  widget: {
1897
1902
  title: e || "New widget",
1898
1903
  type: t,
1899
- config: So(t)
1904
+ config: Co(t)
1900
1905
  }
1901
1906
  };
1902
1907
  }
1903
- function Yo(t, e) {
1908
+ function Wo(t, e) {
1904
1909
  return t.filter((n, o) => o !== e);
1905
1910
  }
1906
- const Do = {
1911
+ const To = {
1907
1912
  key: 0,
1908
1913
  class: "flex flex-col gap-5"
1909
- }, Co = /* @__PURE__ */ Ne({
1914
+ }, xo = /* @__PURE__ */ Ne({
1910
1915
  __name: "Section",
1911
1916
  setup(t) {
1912
- const e = bn(!1);
1917
+ const e = yn(!1);
1913
1918
  return (n, o) => {
1914
1919
  const r = ge("FmIcon"), i = ge("FmMenuDivider");
1915
1920
  return ne(), ce(vt, null, [
@@ -1923,8 +1928,8 @@ const Do = {
1923
1928
  }, null, 8, ["name"])
1924
1929
  ]),
1925
1930
  ue(ct, { name: "slide-fade" }, {
1926
- default: ze(() => [
1927
- e.value ? dt("", !0) : (ne(), ce("div", Do, [
1931
+ default: je(() => [
1932
+ e.value ? dt("", !0) : (ne(), ce("div", To, [
1928
1933
  Pe(n.$slots, "content", {}, void 0, !0)
1929
1934
  ]))
1930
1935
  ]),
@@ -1934,7 +1939,7 @@ const Do = {
1934
1939
  ], 64);
1935
1940
  };
1936
1941
  }
1937
- }), $o = /* @__PURE__ */ bt(Co, [["__scopeId", "data-v-f83598f1"]]), To = /* @__PURE__ */ Ne({
1942
+ }), Ho = /* @__PURE__ */ bt(xo, [["__scopeId", "data-v-f83598f1"]]), Io = /* @__PURE__ */ Ne({
1938
1943
  __name: "TransitionFade",
1939
1944
  props: {
1940
1945
  modelValue: { type: Boolean, required: !0, default: !0 },
@@ -1945,27 +1950,27 @@ const Do = {
1945
1950
  const e = Bt(t, "modelValue");
1946
1951
  return (n, o) => (ne(), ce(vt, null, [
1947
1952
  ue(ct, { name: "slide-fade-right" }, {
1948
- default: ze(() => [
1953
+ default: je(() => [
1949
1954
  e.value ? Pe(n.$slots, "right", { key: 0 }, void 0, !0) : dt("", !0)
1950
1955
  ]),
1951
1956
  _: 3
1952
1957
  }),
1953
1958
  ue(ct, { name: "slide-fade-left" }, {
1954
- default: ze(() => [
1959
+ default: je(() => [
1955
1960
  e.value ? dt("", !0) : Pe(n.$slots, "left", { key: 0 }, void 0, !0)
1956
1961
  ]),
1957
1962
  _: 3
1958
1963
  })
1959
1964
  ], 64));
1960
1965
  }
1961
- }), Wo = /* @__PURE__ */ bt(To, [["__scopeId", "data-v-a98ca9bc"]]);
1966
+ }), jo = /* @__PURE__ */ bt(Io, [["__scopeId", "data-v-a98ca9bc"]]);
1962
1967
  export {
1963
- $o as S,
1964
- Wo as T,
1965
- Vo as W,
1966
- Ro as _,
1967
- So as a,
1968
- Bo as d,
1969
- Yo as h,
1970
- Xo as i
1968
+ Ho as S,
1969
+ jo as T,
1970
+ $o as W,
1971
+ Vo as _,
1972
+ Co as a,
1973
+ Xo as d,
1974
+ Wo as h,
1975
+ Yo as i
1971
1976
  };