@feedmepos/mf-report 5.4.36 → 5.5.0-beta.0

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 (30) hide show
  1. package/dist/{App-DcfI_XNW.js → App-Cgynv4z6.js} +42 -42
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-i3aSXdHt.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js} +2 -2
  3. package/dist/Default.vue_vue_type_script_setup_true_lang-DoZjQrXi.js +41 -0
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-9HLzKjix.js +1004 -0
  5. package/dist/{InsightView-PI6dgol0.js → InsightView-CazscxFM.js} +7 -7
  6. package/dist/{Integration-C1po_0N1.js → Integration-bg1bO0u3.js} +1319 -1319
  7. package/dist/{Integrations-BqqDb5qr.js → Integrations-B6ACZi86.js} +3 -3
  8. package/dist/{Layout-BUWlLMP4.js → Layout-B6nbTiWn.js} +1 -1
  9. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-CF4VlKJk.js → LocationSelect.vue_vue_type_script_setup_true_lang-BRAZAoJz.js} +2 -2
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CkQjrXwQ.js → MenuTab.vue_vue_type_script_setup_true_lang-BdDMXz7S.js} +4 -4
  11. package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-DfXW3V-Z.js +26466 -0
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-BFnX-1M0.js → NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js} +1 -1
  13. package/dist/{OverviewView-CoubbhjM.js → OverviewView-D4f5GD94.js} +5 -5
  14. package/dist/{Report-bQSl3Plq.js → Report-t5C_RytN.js} +4 -4
  15. package/dist/{ReportEditor-DswBRaYe.js → ReportEditor-CyI-OeIq.js} +5 -5
  16. package/dist/{ReportView-BoipuiKU.js → ReportView-DSa6UBCG.js} +72 -61
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-C_5JqpZI.js → SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js} +1 -1
  18. package/dist/{Setting-D1cxNFnN.js → Setting-C3cEoUqd.js} +4 -4
  19. package/dist/{TileEditor-BmWA9yaI.js → TileEditor-DpD-oLcv.js} +8 -8
  20. package/dist/{TransitionFade-Bl7Fs0Kr.js → TransitionFade-DGn_cYeQ.js} +264 -264
  21. package/dist/app.js +17 -14
  22. package/dist/{global-loader-j3FZYjO_.js → global-loader-BqFQzk46.js} +1021 -1023
  23. package/dist/{index-BsN83BDH.js → index-Cmh079Bh.js} +1 -1
  24. package/dist/{report-schema-Bk6c6uMR.js → report-schema-OJAFh4P6.js} +1 -1
  25. package/dist/{timeFormat-DJ-S2Pv8.js → timeFormat-CAyeO7-a.js} +1 -1
  26. package/dist/{v4-BdEILobK.js → v4-BDHq16P_.js} +427 -404
  27. package/package.json +1 -1
  28. package/dist/Default.vue_vue_type_script_setup_true_lang-BvcF29hM.js +0 -41
  29. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-B6izaIir.js +0 -999
  30. package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-CoAZxwTP.js +0 -26128
@@ -1,35 +1,35 @@
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-j3FZYjO_.js";
1
+ import { defineComponent as Ne, onBeforeMount as cn, onBeforeUnmount as dn, resolveComponent as ge, createElementBlock as ce, openBlock as ne, normalizeStyle as fn, unref as Le, renderSlot as Pe, createVNode as ue, createElementVNode as Lt, toDisplayString as Rt, TransitionGroup as hn, nextTick as Bt, h as St, mergeModels as pn, useModel as Vt, computed as mn, Fragment as vt, renderList as gn, createBlock as vn, normalizeClass as bn, withCtx as ze, createTextVNode as _n, ref as yn, Transition as ct, createCommentVNode as dt } from "vue";
2
+ import { u as Xt, f as wn } from "./global-loader-BqFQzk46.js";
3
3
  import { useCoreStore as En } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as Sn } from "pinia";
5
5
  import { useRoute as Dn } from "vue-router";
6
- import { W as x } from "./v4-BdEILobK.js";
7
- import { p as Cn } from "./index-BsN83BDH.js";
6
+ import { W as x } from "./v4-BDHq16P_.js";
7
+ import { p as Cn } from "./index-Cmh079Bh.js";
8
8
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-B6izaIir.js";
9
+ import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-9HLzKjix.js";
10
10
  const xn = {
11
11
  key: 0,
12
12
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
13
- }, Vo = /* @__PURE__ */ Ne({
13
+ }, In = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xo = /* @__PURE__ */ Ne({
14
14
  __name: "FullScreen",
15
15
  setup(t) {
16
- const e = Dn(), { isLoading: n } = Sn(_n()), o = En();
17
- return sn(() => {
18
- o.hideSidebarToggle(!0);
19
- }), un(() => {
20
- o.hideSidebarToggle(!1);
21
- }), (r, i) => {
22
- const a = ge("FmCircularProgress");
16
+ const { t: e } = Xt(), n = Dn(), { isLoading: o } = Sn(wn()), r = En();
17
+ return cn(() => {
18
+ r.hideSidebarToggle(!0);
19
+ }), dn(() => {
20
+ r.hideSidebarToggle(!1);
21
+ }), (i, a) => {
22
+ const l = ge("FmCircularProgress");
23
23
  return ne(), ce("div", {
24
24
  class: "mx-auto",
25
- style: cn({
26
- height: `calc(100vh - ${Qe(e).query.token && Qe(e).query.businessId ? "0" : "64"}px)`
25
+ style: fn({
26
+ height: `calc(100vh - ${Le(n).query.token && Le(n).query.businessId ? "0" : "64"}px)`
27
27
  })
28
28
  }, [
29
- Qe(n) ? (ne(), ce("div", xn, [
30
- ue(a, { size: "xl" }),
31
- i[0] || (i[0] = Lt("span", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Loading data... ", -1))
32
- ])) : Pe(r.$slots, "default", { key: 1 })
29
+ Le(o) ? (ne(), ce("div", xn, [
30
+ ue(l, { size: "xl" }),
31
+ Lt("span", In, Rt(Le(e)("report.common.isLoading")), 1)
32
+ ])) : Pe(i.$slots, "default", { key: 1 })
33
33
  ], 4);
34
34
  };
35
35
  }
@@ -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
- In(t, o, n[o]);
57
+ On(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 Xe(t) {
64
+ function $e(t) {
65
65
  "@babel/helpers - typeof";
66
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Xe = function(e) {
66
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? $e = function(e) {
67
67
  return typeof e;
68
- } : Xe = function(e) {
68
+ } : $e = function(e) {
69
69
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
70
- }, Xe(t);
70
+ }, $e(t);
71
71
  }
72
- function In(t, e, n) {
72
+ function On(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 On(t, e) {
90
+ function An(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 An(t, e) {
97
+ function Pn(t, e) {
98
98
  if (t == null) return {};
99
- var n = On(t, e), o, r;
99
+ var n = An(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 An(t, e) {
104
104
  }
105
105
  return n;
106
106
  }
107
- var Pn = "1.14.0";
107
+ var Nn = "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), Nn = 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), $t = U(/iP(ad|od|hone)/i), kn = U(/chrome/i) && U(/android/i), Yt = {
113
113
  capture: !1,
114
114
  passive: !1
115
115
  };
116
- function y(t, e, n) {
117
- t.addEventListener(e, n, !K && Xt);
116
+ function _(t, e, n) {
117
+ t.addEventListener(e, n, !K && Yt);
118
118
  }
119
119
  function b(t, e, n) {
120
- t.removeEventListener(e, n, !K && Xt);
120
+ t.removeEventListener(e, n, !K && Yt);
121
121
  }
122
- function ze(t, e) {
122
+ function Ge(t, e) {
123
123
  if (e) {
124
124
  if (e[0] === ">" && (e = e.substring(1)), t)
125
125
  try {
@@ -135,17 +135,17 @@ function ze(t, e) {
135
135
  return !1;
136
136
  }
137
137
  }
138
- function kn(t) {
138
+ function Fn(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 && ze(t, e) : ze(t, e)) || o && t === n)
145
+ if (e != null && (e[0] === ">" ? t.parentNode === n && Ge(t, e) : Ge(t, e)) || o && t === n)
146
146
  return t;
147
147
  if (t === n) break;
148
- } while (t = kn(t));
148
+ } while (t = Fn(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 $t(t, e, n) {
182
+ function Wt(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, _ = w && w.d;
209
- w && (a /= _, l /= v, f /= v, d /= _, s = a + d, u = l + f);
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);
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 yt(t, e) {
242
- for (var n = t.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || e && !ze(n, e)); )
241
+ function _t(t, e) {
242
+ for (var n = t.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || e && !Ge(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 || ze(t, e)) && n++;
251
+ t.nodeName.toUpperCase() !== "TEMPLATE" && t !== p.clone && (!e || Ge(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 Fn(t, e) {
263
+ function Mn(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 Mn(t, e) {
286
+ function Ln(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 Yt(t, e) {
296
+ function Ht(t, e) {
297
297
  return function() {
298
298
  if (!xe) {
299
299
  var n = arguments, o = this;
@@ -303,18 +303,18 @@ function Yt(t, e) {
303
303
  }
304
304
  };
305
305
  }
306
- function Ln() {
306
+ function Rn() {
307
307
  clearTimeout(xe), xe = void 0;
308
308
  }
309
- function Wt(t, e, n) {
309
+ function jt(t, e, n) {
310
310
  t.scrollLeft += e, t.scrollTop += n;
311
311
  }
312
- function Ht(t) {
312
+ function zt(t) {
313
313
  var e = window.Polymer, n = window.jQuery || window.Zepto;
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 Rn() {
317
+ function Bn() {
318
318
  var t = [], e;
319
319
  return {
320
320
  captureAnimationState: function() {
@@ -340,7 +340,7 @@ function Rn() {
340
340
  t.push(o);
341
341
  },
342
342
  removeAnimationState: function(o) {
343
- t.splice(Fn(t, {
343
+ t.splice(Mn(t, {
344
344
  target: o
345
345
  }), 1);
346
346
  },
@@ -352,9 +352,9 @@ function Rn() {
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, _ = 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() {
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 = Xn(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 Rn() {
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 = 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() {
368
+ o.animatingX = !!d, o.animatingY = !!f, h(o, "transform", "translate3d(" + d + "px," + f + "px,0)"), this.forRepaintDummy = Vn(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 Bn(t) {
375
+ function Vn(t) {
376
376
  return t.offsetWidth;
377
377
  }
378
- function Vn(t, e, n, o) {
378
+ function Xn(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,29 +430,29 @@ var de = [], et = {
430
430
  }), r;
431
431
  }
432
432
  };
433
- function Xn(t) {
433
+ function $n(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 _, B = e.options, z = "on" + o.charAt(0).toUpperCase() + o.substr(1);
437
- window.CustomEvent && !K && !ke ? _ = new CustomEvent(o, {
436
+ var y, B = e.options, z = "on" + o.charAt(0).toUpperCase() + o.substr(1);
437
+ window.CustomEvent && !K && !ke ? y = new CustomEvent(o, {
438
438
  bubbles: !0,
439
439
  cancelable: !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;
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;
441
441
  var A = j(j({}, v), Fe.getEventProperties(o, e));
442
442
  for (var V in A)
443
- _[V] = A[V];
444
- n && n.dispatchEvent(_), B[z] && B[z].call(e, _);
443
+ y[V] = A[V];
444
+ n && n.dispatchEvent(y), B[z] && B[z].call(e, y);
445
445
  }
446
446
  }
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);
447
+ var Yn = ["evt"], N = function(e, n) {
448
+ var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, i = Pn(o, Yn);
449
449
  Fe.pluginEvent.bind(p)(e, n, j({
450
450
  dragEl: c,
451
451
  parentEl: S,
452
452
  ghostEl: m,
453
453
  rootEl: E,
454
454
  nextEl: se,
455
- lastDownEl: $e,
455
+ lastDownEl: Ye,
456
456
  cloneEl: D,
457
457
  cloneHidden: ee,
458
458
  dragStarted: Se,
@@ -463,8 +463,8 @@ var $n = ["evt"], N = function(e, n) {
463
463
  oldDraggableIndex: Ie,
464
464
  newIndex: M,
465
465
  newDraggableIndex: J,
466
- hideGhostForTarget: Ut,
467
- unhideGhostForTarget: qt,
466
+ hideGhostForTarget: Kt,
467
+ unhideGhostForTarget: Zt,
468
468
  cloneNowHidden: function() {
469
469
  ee = !0;
470
470
  },
@@ -481,7 +481,7 @@ var $n = ["evt"], N = function(e, n) {
481
481
  }, i));
482
482
  };
483
483
  function P(t) {
484
- Xn(j({
484
+ $n(j({
485
485
  putSortable: I,
486
486
  cloneEl: D,
487
487
  targetEl: c,
@@ -492,14 +492,14 @@ 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, 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) {
495
+ var c, S, m, E, se, Ye, D, ee, pe, M, Ie, J, Re, I, he = !1, Ue = !1, qe = [], ae, X, tt, nt, Ot, At, Se, fe, Oe, Ae = !1, Be = !1, We, O, ot = [], ft = !1, Ke = [], Qe = typeof document < "u", Ve = $t, Pt = ke || K ? "cssFloat" : "float", Wn = Qe && !kn && !$t && "draggable" in document.createElement("div"), Gt = function() {
496
+ if (Qe) {
497
497
  if (K)
498
498
  return !1;
499
499
  var t = document.createElement("x");
500
500
  return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
501
501
  }
502
- }(), zt = function(e, n) {
502
+ }(), Ut = function(e, n) {
503
503
  var o = h(e), r = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), i = ve(e, 0, n), a = ve(e, 1, n), l = i && h(i), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + T(i).width, d = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + T(a).width;
504
504
  if (o.display === "flex")
505
505
  return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
@@ -510,20 +510,20 @@ var c, S, m, E, se, $e, D, ee, pe, M, Ie, J, Le, I, he = !1, Ge = !1, Ue = [], 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
- }, Wn = function(e, n, o) {
513
+ }, Hn = 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
- }, Hn = function(e, n) {
516
+ }, jn = function(e, n) {
517
517
  var o;
518
- return Ue.some(function(r) {
518
+ return qe.some(function(r) {
519
519
  var i = r[L].options.emptyInsertThreshold;
520
- if (!(!i || yt(r))) {
520
+ if (!(!i || _t(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;
524
524
  }
525
525
  }), o;
526
- }, Gt = function(e) {
526
+ }, qt = function(e) {
527
527
  function n(i, a) {
528
528
  return function(l, s, u, d) {
529
529
  var f = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
@@ -540,22 +540,22 @@ var c, S, m, E, se, $e, D, ee, pe, M, Ie, J, Le, I, he = !1, Ge = !1, Ue = [], a
540
540
  };
541
541
  }
542
542
  var o = {}, r = e.group;
543
- (!r || Xe(r) != "object") && (r = {
543
+ (!r || $e(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
- }, Ut = function() {
547
- !jt && m && h(m, "display", "none");
548
- }, qt = function() {
549
- !jt && m && h(m, "display", "");
546
+ }, Kt = function() {
547
+ !Gt && m && h(m, "display", "none");
548
+ }, Zt = function() {
549
+ !Gt && m && h(m, "display", "");
550
550
  };
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;
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;
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 = Hn(e.clientX, e.clientY);
558
+ var n = jn(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
- }, jn = function(e) {
566
+ }, zn = function(e) {
567
567
  c && c.parentNode[L]._isOutsideThisEl(e.target);
568
568
  };
569
569
  function p(t, e) {
@@ -585,7 +585,7 @@ function p(t, e) {
585
585
  // will be set to same as swapThreshold if default
586
586
  removeCloneOnHide: !0,
587
587
  direction: function() {
588
- return zt(t, this.options);
588
+ return Ut(t, this.options);
589
589
  },
590
590
  ghostClass: "sortable-ghost",
591
591
  chosenClass: "sortable-chosen",
@@ -618,10 +618,10 @@ function p(t, e) {
618
618
  Fe.initializePlugins(this, t, n);
619
619
  for (var o in n)
620
620
  !(o in e) && (e[o] = n[o]);
621
- Gt(e);
621
+ qt(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 : 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());
624
+ this.nativeDraggable = e.forceFallback ? !1 : Wn, 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, Bn());
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 (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)) {
638
+ if (eo(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) && Ye !== 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({
@@ -674,7 +674,7 @@ p.prototype = /** @lends Sortable.prototype */
674
674
  var r = this, i = r.el, a = r.options, l = i.ownerDocument, s;
675
675
  if (o && !c && o.parentNode === i) {
676
676
  var u = T(o);
677
- if (E = i, c = o, S = c.parentNode, se = c.nextSibling, $e = o, Le = a.group, p.dragged = c, ae = {
677
+ if (E = i, c = o, S = c.parentNode, se = c.nextSibling, Ye = o, Re = a.group, p.dragged = c, ae = {
678
678
  target: c,
679
679
  clientX: (n || e).clientX,
680
680
  clientY: (n || e).clientY
@@ -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
- $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, {
694
+ Wt(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, {
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
- 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);
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);
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 ? 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));
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));
720
720
  try {
721
- document.selection ? We(function() {
721
+ document.selection ? He(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 && y(document, "dragover", jn);
731
+ }), this.nativeDraggable && _(document, "dragover", zn);
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,
@@ -740,7 +740,7 @@ p.prototype = /** @lends Sortable.prototype */
740
740
  },
741
741
  _emulateDragOver: function() {
742
742
  if (X) {
743
- this._lastX = X.clientX, this._lastY = X.clientY, Ut();
743
+ this._lastX = X.clientX, this._lastY = X.clientY, Kt();
744
744
  for (var e = document.elementFromPoint(X.clientX, X.clientY), n = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(X.clientX, X.clientY), e !== n); )
745
745
  n = e;
746
746
  if (c.parentNode[L]._isOutsideThisEl(e), n)
@@ -757,12 +757,12 @@ p.prototype = /** @lends Sortable.prototype */
757
757
  }
758
758
  e = n;
759
759
  } while (n = n.parentNode);
760
- qt();
760
+ Zt();
761
761
  }
762
762
  },
763
763
  _onTouchMove: function(e) {
764
764
  if (ae) {
765
- var n = this.options, o = n.fallbackTolerance, r = n.fallbackOffset, i = e.touches ? e.touches[0] : e, a = m && me(m, !0), l = m && a && a.a, s = m && a && a.d, u = Be && O && It(O), d = (i.clientX - ae.clientX + r.x) / (l || 1) + (u ? u[0] - ot[0] : 0) / (l || 1), f = (i.clientY - ae.clientY + r.y) / (s || 1) + (u ? u[1] - ot[1] : 0) / (s || 1);
765
+ var n = this.options, o = n.fallbackTolerance, r = n.fallbackOffset, i = e.touches ? e.touches[0] : e, a = m && me(m, !0), l = m && a && a.a, s = m && a && a.d, u = Ve && O && It(O), d = (i.clientX - ae.clientX + r.x) / (l || 1) + (u ? u[0] - ot[0] : 0) / (l || 1), f = (i.clientY - ae.clientY + r.y) / (s || 1) + (u ? u[1] - ot[1] : 0) / (s || 1);
766
766
  if (!p.active && !he) {
767
767
  if (o && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < o)
768
768
  return;
@@ -785,13 +785,13 @@ p.prototype = /** @lends Sortable.prototype */
785
785
  },
786
786
  _appendGhost: function() {
787
787
  if (!m) {
788
- var e = this.options.fallbackOnBody ? document.body : E, n = T(c, !0, Be, !0, e), o = this.options;
789
- if (Be) {
788
+ var e = this.options.fallbackOnBody ? document.body : E, n = T(c, !0, Ve, !0, e), o = this.options;
789
+ if (Ve) {
790
790
  for (O = e; h(O, "position") === "static" && h(O, "transform") === "none" && O !== document; )
791
791
  O = O.parentNode;
792
792
  O !== document.body && O !== document.documentElement ? (O === document && (O = H()), n.top += O.scrollTop, n.left += O.scrollLeft) : O = H(), ot = It(O);
793
793
  }
794
- m = c.cloneNode(!0), F(m, o.ghostClass, !1), F(m, o.fallbackClass, !0), F(m, o.dragClass, !0), h(m, "transition", ""), h(m, "transform", ""), h(m, "box-sizing", "border-box"), h(m, "margin", 0), h(m, "top", n.top), h(m, "left", n.left), h(m, "width", n.width), h(m, "height", n.height), h(m, "opacity", "0.8"), h(m, "position", Be ? "absolute" : "fixed"), h(m, "zIndex", "100000"), h(m, "pointerEvents", "none"), p.ghost = m, e.appendChild(m), h(m, "transform-origin", Ot / parseInt(m.style.width) * 100 + "% " + At / parseInt(m.style.height) * 100 + "%");
794
+ m = c.cloneNode(!0), F(m, o.ghostClass, !1), F(m, o.fallbackClass, !0), F(m, o.dragClass, !0), h(m, "transition", ""), h(m, "transform", ""), h(m, "box-sizing", "border-box"), h(m, "margin", 0), h(m, "top", n.top), h(m, "left", n.left), h(m, "width", n.width), h(m, "height", n.height), h(m, "opacity", "0.8"), h(m, "position", Ve ? "absolute" : "fixed"), h(m, "zIndex", "100000"), h(m, "pointerEvents", "none"), p.ghost = m, e.appendChild(m), h(m, "transform-origin", Ot / parseInt(m.style.width) * 100 + "% " + At / parseInt(m.style.height) * 100 + "%");
795
795
  }
796
796
  },
797
797
  _onDragStart: function(e, n) {
@@ -802,18 +802,18 @@ 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 = We(function() {
805
+ N("setupClone", this), p.eventCanceled || (D = zt(c), D.draggable = !1, D.style["will-change"] = "", this._hideClone(), F(D, this.options.chosenClass, !1), p.clone = D), o.cloneId = He(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 ? (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");
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");
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, _ = !1;
814
+ var n = this.el, o = e.target, r, i, a, l = this.options, s = l.group, u = p.active, d = Re === s, f = l.sort, g = I || u, w, v = this, y = !1;
815
815
  if (ft) return;
816
- function B(Ee, an) {
816
+ function B(Ee, sn) {
817
817
  N(Ee, v, j({
818
818
  evt: e,
819
819
  isOwner: d,
@@ -825,11 +825,11 @@ p.prototype = /** @lends Sortable.prototype */
825
825
  fromSortable: g,
826
826
  target: o,
827
827
  completed: A,
828
- onMove: function(Et, ln) {
829
- return Ve(E, n, c, r, Et, T(Et), e, ln);
828
+ onMove: function(Et, un) {
829
+ return Xe(E, n, c, r, Et, T(Et), e, un);
830
830
  },
831
831
  changed: V
832
- }, an));
832
+ }, sn));
833
833
  }
834
834
  function z() {
835
835
  B("dragOverAnimationCapture"), v.captureAnimationState(), v !== g && g.captureAnimationState();
@@ -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(), _ = !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(), y = !0;
843
843
  }
844
844
  function V() {
845
845
  M = R(c), J = R(c, l.draggable), P({
@@ -851,29 +851,29 @@ 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 _;
854
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = W(o, l.draggable, n, !0), B("dragOver"), p.eventCanceled) return y;
855
855
  if (c.contains(e.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
856
856
  return A(!1);
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 _;
857
+ if (Ue = !1, u && !l.disabled && (d ? f || (a = S !== E) : I === this || (this.lastPutMode = Re.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;
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 $ = yt(n, l.draggable);
862
- if (!$ || qn(e, w, this) && !$.animated) {
861
+ var $ = _t(n, l.draggable);
862
+ if (!$ || Kn(e, w, this) && !$.animated) {
863
863
  if ($ === c)
864
864
  return A(!1);
865
- if ($ && n === e.target && (o = $), o && (i = T(o)), Ve(E, n, c, r, o, i, e, !!o) !== !1)
865
+ if ($ && n === e.target && (o = $), o && (i = T(o)), Xe(E, n, c, r, o, i, e, !!o) !== !1)
866
866
  return z(), n.appendChild(c), S = n, V(), A(!0);
867
- } else if ($ && Un(e, w, this)) {
867
+ } else if ($ && qn(e, w, this)) {
868
868
  var oe = ve(n, 0, l, !0);
869
869
  if (oe === c)
870
870
  return A(!1);
871
- if (o = oe, i = T(o), Ve(E, n, c, r, o, i, e, !1) !== !1)
871
+ if (o = oe, i = T(o), Xe(E, n, c, r, o, i, e, !1) !== !1)
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 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);
875
+ var Y = 0, re, be = c.parentNode !== n, k = !Hn(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, Be = !k && l.invertSwap || be), Y = Zn(e, o, i, w, k ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Be, fe === o);
877
877
  var G;
878
878
  if (Y !== 0) {
879
879
  var ie = R(c);
@@ -886,9 +886,9 @@ p.prototype = /** @lends Sortable.prototype */
886
886
  fe = o, Oe = Y;
887
887
  var we = o.nextElementSibling, Q = !1;
888
888
  Q = Y === 1;
889
- var Me = Ve(E, n, c, r, o, i, e, Q);
889
+ var Me = Xe(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(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);
891
+ return (Me === 1 || Me === -1) && (Q = Me === 1), ft = !0, setTimeout(Un, 30), z(), Q && !we ? n.appendChild(c) : o.parentNode.insertBefore(c, Q ? we : o), Z && jt(Z, 0, ye - Z.scrollTop), S = c.parentNode, re !== void 0 && !Be && (We = Math.abs(re - T(o)[_e])), V(), A(!0);
892
892
  }
893
893
  if (n.contains(c))
894
894
  return A(!1);
@@ -911,7 +911,7 @@ p.prototype = /** @lends Sortable.prototype */
911
911
  this._nulling();
912
912
  return;
913
913
  }
914
- he = !1, Re = !1, Ae = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ht(this.cloneId), ht(this._dragStartId), this.nativeDraggable && (b(document, "drop", this), b(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Te && h(document.body, "user-select", ""), h(c, "transform", ""), e && (Se && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), m && m.parentNode && m.parentNode.removeChild(m), (E === S || I && I.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), c && (this.nativeDraggable && b(c, "dragend", this), rt(c), c.style["will-change"] = "", Se && !he && F(c, I ? I.options.ghostClass : this.options.ghostClass, !1), F(c, this.options.chosenClass, !1), P({
914
+ he = !1, Be = !1, Ae = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ht(this.cloneId), ht(this._dragStartId), this.nativeDraggable && (b(document, "drop", this), b(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Te && h(document.body, "user-select", ""), h(c, "transform", ""), e && (Se && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), m && m.parentNode && m.parentNode.removeChild(m), (E === S || I && I.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), c && (this.nativeDraggable && b(c, "dragend", this), rt(c), c.style["will-change"] = "", Se && !he && F(c, I ? I.options.ghostClass : this.options.ghostClass, !1), F(c, this.options.chosenClass, !1), P({
915
915
  sortable: this,
916
916
  name: "unchoose",
917
917
  toEl: S,
@@ -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, qe.forEach(function(e) {
961
+ N("nulling", this), E = c = S = m = se = D = Ye = ee = ae = X = Se = M = J = pe = Ie = fe = Oe = I = Re = p.dragged = p.ghost = p.clone = p.active = null, Ke.forEach(function(e) {
962
962
  e.checked = !0;
963
- }), qe.length = tt = nt = 0;
963
+ }), Ke.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), zn(e));
973
+ c && (this._onDragOver(e), Gn(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) || Qn(n));
986
+ n = o[r], W(n, a.draggable, this.el, !1) && e.push(n.getAttribute(a.dataIdAttr) || Jn(n));
987
987
  return e;
988
988
  },
989
989
  /**
@@ -1026,7 +1026,7 @@ p.prototype = /** @lends Sortable.prototype */
1026
1026
  if (n === void 0)
1027
1027
  return o[e];
1028
1028
  var r = Fe.modifyOption(this, e, n);
1029
- typeof r < "u" ? o[e] = r : o[e] = n, e === "group" && Gt(o);
1029
+ typeof r < "u" ? o[e] = r : o[e] = n, e === "group" && qt(o);
1030
1030
  },
1031
1031
  /**
1032
1032
  * Destroy
@@ -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(), Ue.splice(Ue.indexOf(this.el), 1), this.el = e = null;
1039
+ }), this._onDrop(), this._disableDelayedDragEvents(), qe.splice(qe.indexOf(this.el), 1), this.el = e = null;
1040
1040
  },
1041
1041
  _hideClone: function() {
1042
1042
  if (!ee) {
@@ -1055,10 +1055,10 @@ p.prototype = /** @lends Sortable.prototype */
1055
1055
  }
1056
1056
  }
1057
1057
  };
1058
- function zn(t) {
1058
+ function Gn(t) {
1059
1059
  t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
1060
1060
  }
1061
- function Ve(t, e, n, o, r, i, a, l) {
1061
+ function Xe(t, e, n, o, r, i, a, l) {
1062
1062
  var s, u = t[L], d = u.options.onMove, f;
1063
1063
  return window.CustomEvent && !K && !ke ? s = new CustomEvent("move", {
1064
1064
  bubbles: !0,
@@ -1068,71 +1068,71 @@ function Ve(t, e, n, o, r, i, a, l) {
1068
1068
  function rt(t) {
1069
1069
  t.draggable = !1;
1070
1070
  }
1071
- function Gn() {
1071
+ function Un() {
1072
1072
  ft = !1;
1073
1073
  }
1074
- function Un(t, e, n) {
1074
+ function qn(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 qn(t, e, n) {
1079
- var o = T(yt(n.el, n.options.draggable)), r = 10;
1078
+ function Kn(t, e, n) {
1079
+ var o = T(_t(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 Kn(t, e, n, o, r, i, a, l) {
1082
+ function Zn(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 && Ye < u * r) {
1085
+ if (l && We < 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 + Ye : s > f - Ye)
1088
+ else if (Oe === 1 ? s < d + We : s > f - We)
1089
1089
  return -Oe;
1090
1090
  } else if (s > d + u * (1 - r) / 2 && s < f - u * (1 - r) / 2)
1091
- return Zn(e);
1091
+ return Qn(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 Zn(t) {
1095
+ function Qn(t) {
1096
1096
  return R(c) < R(t) ? 1 : -1;
1097
1097
  }
1098
- function Qn(t) {
1098
+ function Jn(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 Jn(t) {
1104
- qe.length = 0;
1103
+ function eo(t) {
1104
+ Ke.length = 0;
1105
1105
  for (var e = t.getElementsByTagName("input"), n = e.length; n--; ) {
1106
1106
  var o = e[n];
1107
- o.checked && qe.push(o);
1107
+ o.checked && Ke.push(o);
1108
1108
  }
1109
1109
  }
1110
- function We(t) {
1110
+ function He(t) {
1111
1111
  return setTimeout(t, 0);
1112
1112
  }
1113
1113
  function ht(t) {
1114
1114
  return clearTimeout(t);
1115
1115
  }
1116
- Ze && y(document, "touchmove", function(t) {
1116
+ Qe && _(document, "touchmove", function(t) {
1117
1117
  (p.active || he) && t.cancelable && t.preventDefault();
1118
1118
  });
1119
1119
  p.utils = {
1120
- on: y,
1120
+ on: _,
1121
1121
  off: b,
1122
1122
  css: h,
1123
- find: $t,
1123
+ find: Wt,
1124
1124
  is: function(e, n) {
1125
1125
  return !!W(e, n, e, !1);
1126
1126
  },
1127
- extend: Mn,
1128
- throttle: Yt,
1127
+ extend: Ln,
1128
+ throttle: Ht,
1129
1129
  closest: W,
1130
1130
  toggleClass: F,
1131
- clone: Ht,
1131
+ clone: zt,
1132
1132
  index: R,
1133
- nextTick: We,
1133
+ nextTick: He,
1134
1134
  cancelNextTick: ht,
1135
- detectDirection: zt,
1135
+ detectDirection: Ut,
1136
1136
  getChild: ve
1137
1137
  };
1138
1138
  p.get = function(t) {
@@ -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 = Pn;
1154
- var C = [], De, pt, mt = !1, it, at, Ke, Ce;
1155
- function eo() {
1153
+ p.version = Nn;
1154
+ var C = [], De, pt, mt = !1, it, at, Ze, Ce;
1155
+ function to() {
1156
1156
  function t() {
1157
1157
  this.defaults = {
1158
1158
  scroll: !0,
@@ -1167,33 +1167,33 @@ function eo() {
1167
1167
  return t.prototype = {
1168
1168
  dragStarted: function(n) {
1169
1169
  var o = n.originalEvent;
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);
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);
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(), He(), Ln();
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(), Rn();
1178
1178
  },
1179
1179
  nulling: function() {
1180
- Ke = pt = De = mt = Ce = it = at = null, C.length = 0;
1180
+ Ze = 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 (Ke = n, o || this.options.forceAutoScrollFallback || ke || K || Te) {
1187
+ if (Ze = 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, He()), lt(n, r.options, u, o);
1192
+ u !== s && (s = u, je()), 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
- He();
1196
+ je();
1197
1197
  return;
1198
1198
  }
1199
1199
  lt(n, this.options, te(l, !1), !1);
@@ -1204,7 +1204,7 @@ function eo() {
1204
1204
  initializeByDefault: !0
1205
1205
  });
1206
1206
  }
1207
- function He() {
1207
+ function je() {
1208
1208
  C.forEach(function(t) {
1209
1209
  clearInterval(t.pid);
1210
1210
  }), C = [];
@@ -1212,29 +1212,29 @@ function He() {
1212
1212
  function Nt() {
1213
1213
  clearInterval(Ce);
1214
1214
  }
1215
- var lt = Yt(function(t, e, n, o) {
1215
+ var lt = Ht(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, He(), De = e.scroll, d = e.scrollFn, De === !0 && (De = te(n, !0)));
1218
+ pt !== n && (pt = n, je(), 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), _ = 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;
1221
+ var w = g, v = T(w), y = 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), _e = w.scrollLeft, Z = w.scrollTop;
1222
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);
1223
+ var ye = oe && (Math.abs(A - r) <= a && _e + V < re) - (Math.abs(z - r) <= a && !!_e), G = Y && (Math.abs(B - i) <= a && Z + $ < be) - (Math.abs(y - 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 != _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);
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);
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, Ke, 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, Ze, C[this.layer].el) !== "continue" || jt(C[this.layer].el, Q, we);
1231
1231
  }).bind({
1232
1232
  layer: f
1233
1233
  }), 24))), f++;
1234
1234
  } while (e.bubbleScroll && g !== s && (g = te(g, !1)));
1235
1235
  mt = u;
1236
1236
  }
1237
- }, 30), Kt = function(e) {
1237
+ }, 30), Qt = function(e) {
1238
1238
  var n = e.originalEvent, o = e.putSortable, r = e.dragEl, i = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1239
1239
  if (n) {
1240
1240
  var u = o || i;
@@ -1246,9 +1246,9 @@ var lt = Yt(function(t, e, n, o) {
1246
1246
  }));
1247
1247
  }
1248
1248
  };
1249
- function _t() {
1249
+ function yt() {
1250
1250
  }
1251
- _t.prototype = {
1251
+ yt.prototype = {
1252
1252
  startIndex: null,
1253
1253
  dragStart: function(e) {
1254
1254
  var n = e.oldDraggableIndex;
@@ -1260,9 +1260,9 @@ _t.prototype = {
1260
1260
  var r = ve(this.sortable.el, this.startIndex, this.options);
1261
1261
  r ? this.sortable.el.insertBefore(n, r) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
1262
1262
  },
1263
- drop: Kt
1263
+ drop: Qt
1264
1264
  };
1265
- q(_t, {
1265
+ q(yt, {
1266
1266
  pluginName: "revertOnSpill"
1267
1267
  });
1268
1268
  function wt() {
@@ -1272,13 +1272,13 @@ wt.prototype = {
1272
1272
  var n = e.dragEl, o = e.putSortable, r = o || this.sortable;
1273
1273
  r.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), r.animateAll();
1274
1274
  },
1275
- drop: Kt
1275
+ drop: Qt
1276
1276
  };
1277
1277
  q(wt, {
1278
1278
  pluginName: "removeOnSpill"
1279
1279
  });
1280
- p.mount(new eo());
1281
- p.mount(wt, _t);
1280
+ p.mount(new to());
1281
+ p.mount(wt, yt);
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 to() {
1289
+ function no() {
1290
1290
  return typeof window < "u" ? window.console : global.console;
1291
1291
  }
1292
- const no = to();
1293
- function oo(t) {
1292
+ const oo = no();
1293
+ function ro(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 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
- manage: Jt,
1301
- manageAndEmit: Zt,
1302
- emit: Qt
1299
+ const io = /-(\w)/g, ao = ro((t) => t.replace(io, (e, n) => n.toUpperCase())), Jt = ["Start", "Add", "Remove", "Update", "End"], en = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], tn = ["Move"], lo = [tn, Jt, en].flatMap((t) => t).map((t) => `on${t}`), gt = {
1300
+ manage: tn,
1301
+ manageAndEmit: Jt,
1302
+ emit: en
1303
1303
  };
1304
- function lo(t) {
1305
- return ao.indexOf(t) !== -1;
1304
+ function so(t) {
1305
+ return lo.indexOf(t) !== -1;
1306
1306
  }
1307
- const so = [
1307
+ const uo = [
1308
1308
  "a",
1309
1309
  "abbr",
1310
1310
  "address",
@@ -1423,28 +1423,28 @@ const so = [
1423
1423
  "video",
1424
1424
  "wbr"
1425
1425
  ];
1426
- function uo(t) {
1427
- return so.includes(t);
1428
- }
1429
1426
  function co(t) {
1427
+ return uo.includes(t);
1428
+ }
1429
+ function fo(t) {
1430
1430
  return ["transition-group", "TransitionGroup"].includes(t);
1431
1431
  }
1432
- function en(t) {
1432
+ function nn(t) {
1433
1433
  return ["id", "class", "role", "style"].includes(t) || t.startsWith("data-") || t.startsWith("aria-") || t.startsWith("on");
1434
1434
  }
1435
- function tn(t) {
1435
+ function on(t) {
1436
1436
  return t.reduce((e, [n, o]) => (e[n] = o, e), {});
1437
1437
  }
1438
- function fo({ $attrs: t, componentData: e = {} }) {
1438
+ function ho({ $attrs: t, componentData: e = {} }) {
1439
1439
  return {
1440
- ...tn(
1441
- Object.entries(t).filter(([o, r]) => en(o))
1440
+ ...on(
1441
+ Object.entries(t).filter(([o, r]) => nn(o))
1442
1442
  ),
1443
1443
  ...e
1444
1444
  };
1445
1445
  }
1446
- function ho({ $attrs: t, callBackBuilder: e }) {
1447
- const n = tn(nn(t));
1446
+ function po({ $attrs: t, callBackBuilder: e }) {
1447
+ const n = on(rn(t));
1448
1448
  Object.entries(e).forEach(([r, i]) => {
1449
1449
  gt[r].forEach((a) => {
1450
1450
  n[`on${a}`] = i(a);
@@ -1456,11 +1456,11 @@ function ho({ $attrs: t, callBackBuilder: e }) {
1456
1456
  draggable: o
1457
1457
  };
1458
1458
  }
1459
- function nn(t) {
1460
- return Object.entries(t).filter(([e, n]) => !en(e)).map(([e, n]) => [io(e), n]).filter(([e, n]) => !lo(e));
1459
+ function rn(t) {
1460
+ return Object.entries(t).filter(([e, n]) => !nn(e)).map(([e, n]) => [ao(e), n]).filter(([e, n]) => !so(e));
1461
1461
  }
1462
- const Ft = ({ el: t }) => t, po = (t, e) => t.__draggable_context = e, Mt = (t) => t.__draggable_context;
1463
- class mo {
1462
+ const Ft = ({ el: t }) => t, mo = (t, e) => t.__draggable_context = e, Mt = (t) => t.__draggable_context;
1463
+ class go {
1464
1464
  constructor({
1465
1465
  nodes: { header: e, default: n, footer: o },
1466
1466
  root: r,
@@ -1478,7 +1478,7 @@ class mo {
1478
1478
  updated() {
1479
1479
  const { defaultNodes: e, realList: n } = this;
1480
1480
  e.forEach((o, r) => {
1481
- po(Ft(o), {
1481
+ mo(Ft(o), {
1482
1482
  element: n[r],
1483
1483
  index: r
1484
1484
  });
@@ -1502,13 +1502,13 @@ class mo {
1502
1502
  return e < u ? 0 : r;
1503
1503
  }
1504
1504
  }
1505
- function go(t, e) {
1505
+ function vo(t, e) {
1506
1506
  const n = t[e];
1507
1507
  return n ? n() : [];
1508
1508
  }
1509
- function vo({ $slots: t, realList: e, getKey: n }) {
1509
+ function bo({ $slots: t, realList: e, getKey: n }) {
1510
1510
  const o = e || [], [r, i] = ["header", "footer"].map(
1511
- (s) => go(t, s)
1511
+ (s) => vo(t, s)
1512
1512
  ), { item: a } = t;
1513
1513
  if (!a)
1514
1514
  throw new Error("draggable element must have an item slot");
@@ -1523,35 +1523,35 @@ function vo({ $slots: t, realList: e, getKey: n }) {
1523
1523
  default: l
1524
1524
  };
1525
1525
  }
1526
- function bo(t) {
1527
- const e = co(t), n = !uo(t) && !e;
1526
+ function _o(t) {
1527
+ const e = fo(t), n = !co(t) && !e;
1528
1528
  return {
1529
1529
  transition: e,
1530
1530
  externalComponent: n,
1531
- tag: n ? ge(t) : e ? dn : t
1531
+ tag: n ? ge(t) : e ? hn : t
1532
1532
  };
1533
1533
  }
1534
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 });
1535
+ const r = bo({ $slots: t, realList: n, getKey: o }), i = _o(e);
1536
+ return new go({ nodes: r, root: i, realList: n });
1537
1537
  }
1538
- function on(t, e) {
1539
- Rt(() => this.$emit(t.toLowerCase(), e));
1538
+ function an(t, e) {
1539
+ Bt(() => this.$emit(t.toLowerCase(), e));
1540
1540
  }
1541
- function rn(t) {
1541
+ function ln(t) {
1542
1542
  return (e, n) => {
1543
1543
  if (this.realList !== null)
1544
1544
  return this[`onDrag${t}`](e, n);
1545
1545
  };
1546
1546
  }
1547
- function _o(t) {
1548
- const e = rn.call(this, t);
1547
+ function wo(t) {
1548
+ const e = ln.call(this, t);
1549
1549
  return (n, o) => {
1550
- e.call(this, n, o), on.call(this, t, n);
1550
+ e.call(this, n, o), an.call(this, t, n);
1551
1551
  };
1552
1552
  }
1553
1553
  let ut = null;
1554
- const wo = {
1554
+ const Eo = {
1555
1555
  list: {
1556
1556
  type: Array,
1557
1557
  required: !1,
@@ -1583,15 +1583,15 @@ const wo = {
1583
1583
  required: !1,
1584
1584
  default: null
1585
1585
  }
1586
- }, Eo = [
1586
+ }, So = [
1587
1587
  "update:modelValue",
1588
1588
  "change",
1589
1589
  ...[...gt.manageAndEmit, ...gt.emit].map((t) => t.toLowerCase())
1590
- ], Xo = Ne({
1590
+ ], $o = Ne({
1591
1591
  name: "draggable",
1592
1592
  inheritAttrs: !1,
1593
- props: wo,
1594
- emits: Eo,
1593
+ props: Eo,
1594
+ emits: So,
1595
1595
  data() {
1596
1596
  return {
1597
1597
  error: !1
@@ -1607,14 +1607,14 @@ const wo = {
1607
1607
  getKey: i
1608
1608
  });
1609
1609
  this.componentStructure = a;
1610
- const l = fo({ $attrs: e, componentData: o });
1610
+ const l = ho({ $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 && no.error(
1617
+ this.list !== null && this.modelValue !== null && oo.error(
1618
1618
  "modelValue and list props are mutually exclusive! Please set one or another."
1619
1619
  );
1620
1620
  },
@@ -1623,12 +1623,12 @@ const wo = {
1623
1623
  return;
1624
1624
  const { $attrs: t, $el: e, componentStructure: n } = this;
1625
1625
  n.updated();
1626
- const o = ho({
1626
+ const o = po({
1627
1627
  $attrs: t,
1628
1628
  callBackBuilder: {
1629
- manageAndEmit: (i) => _o.call(this, i),
1630
- emit: (i) => on.bind(this, i),
1631
- manage: (i) => rn.call(this, i)
1629
+ manageAndEmit: (i) => wo.call(this, i),
1630
+ emit: (i) => an.bind(this, i),
1631
+ manage: (i) => ln.call(this, i)
1632
1632
  }
1633
1633
  }), r = e.nodeType === 1 ? e : e.parentElement;
1634
1634
  this._sortable = new p(r, o), this.targetDomElement = r, r.__draggable_component__ = this;
@@ -1653,7 +1653,7 @@ const wo = {
1653
1653
  $attrs: {
1654
1654
  handler(t) {
1655
1655
  const { _sortable: e } = this;
1656
- e && nn(t).forEach(([n, o]) => {
1656
+ e && rn(t).forEach(([n, o]) => {
1657
1657
  e.option(n, o);
1658
1658
  });
1659
1659
  },
@@ -1668,7 +1668,7 @@ const wo = {
1668
1668
  return t.__draggable_component__;
1669
1669
  },
1670
1670
  emitChanges(t) {
1671
- Rt(() => this.$emit("change", t));
1671
+ Bt(() => this.$emit("change", t));
1672
1672
  },
1673
1673
  alterList(t) {
1674
1674
  if (this.list) {
@@ -1757,7 +1757,7 @@ const wo = {
1757
1757
  ut = null;
1758
1758
  }
1759
1759
  }
1760
- }), So = Object.entries(x).map((t) => {
1760
+ }), Do = Object.entries(x).map((t) => {
1761
1761
  let e = "";
1762
1762
  switch (t[1]) {
1763
1763
  case x.BarChart:
@@ -1790,9 +1790,9 @@ const wo = {
1790
1790
  icon: e,
1791
1791
  value: t[1]
1792
1792
  };
1793
- }), Do = /* @__PURE__ */ Ne({
1793
+ }), Co = /* @__PURE__ */ Ne({
1794
1794
  __name: "WidgetTypeList",
1795
- props: /* @__PURE__ */ fn({
1795
+ props: /* @__PURE__ */ pn({
1796
1796
  childClass: {
1797
1797
  type: String,
1798
1798
  default: ""
@@ -1814,8 +1814,8 @@ const wo = {
1814
1814
  }),
1815
1815
  emits: ["update:modelValue"],
1816
1816
  setup(t) {
1817
- const { t: e } = wn(), n = Bt(t, "modelValue"), o = t, r = hn(
1818
- () => So.map((i) => ({
1817
+ const { t: e } = Xt(), n = Vt(t, "modelValue"), o = t, r = mn(
1818
+ () => Do.map((i) => ({
1819
1819
  ...i,
1820
1820
  label: e(`report.widget.types.${i.value.toLowerCase()}`)
1821
1821
  }))
@@ -1823,29 +1823,29 @@ const wo = {
1823
1823
  return (i, a) => {
1824
1824
  const l = ge("FmIcon"), s = ge("FmCard");
1825
1825
  return ne(), ce("div", null, [
1826
- (ne(!0), ce(vt, null, pn(r.value.filter(
1826
+ (ne(!0), ce(vt, null, gn(r.value.filter(
1827
1827
  (u) => o.excludeWidgeType.indexOf(u.value) === -1
1828
- ), (u, d) => (ne(), mn(s, {
1828
+ ), (u, d) => (ne(), vn(s, {
1829
1829
  key: d,
1830
- class: gn(`items-center ${o.childClass} cursor-pointer rounded-[8px] ${o.isList ? "" : "gap-[16px]"} ${n.value === u.value ? "selected-widget" : ""}`),
1830
+ class: bn(`items-center ${o.childClass} cursor-pointer rounded-[8px] ${o.isList ? "" : "gap-[16px]"} ${n.value === u.value ? "selected-widget" : ""}`),
1831
1831
  variant: "outlined",
1832
1832
  onClick: (f) => n.value = u.value
1833
1833
  }, {
1834
- default: je(() => [
1834
+ default: ze(() => [
1835
1835
  ue(l, {
1836
1836
  name: u.icon,
1837
1837
  size: o.isList ? "md" : "lg",
1838
1838
  outline: !0
1839
1839
  }, null, 8, ["name", "size"]),
1840
- vn(" " + bn(u.label), 1)
1840
+ _n(" " + Rt(u.label), 1)
1841
1841
  ]),
1842
1842
  _: 2
1843
1843
  }, 1032, ["class", "onClick"]))), 128))
1844
1844
  ]);
1845
1845
  };
1846
1846
  }
1847
- }), $o = /* @__PURE__ */ bt(Do, [["__scopeId", "data-v-d75aa4ca"]]);
1848
- function Co(t) {
1847
+ }), Yo = /* @__PURE__ */ bt(Co, [["__scopeId", "data-v-d75aa4ca"]]);
1848
+ function To(t) {
1849
1849
  let e, n, o;
1850
1850
  switch (t) {
1851
1851
  case x.Table:
@@ -1871,7 +1871,7 @@ function Co(t) {
1871
1871
  joinDatasources: e
1872
1872
  };
1873
1873
  }
1874
- function Yo(t, e) {
1874
+ function Wo(t, e) {
1875
1875
  let n = 1, o = 1;
1876
1876
  switch (t) {
1877
1877
  case x.Scorecard:
@@ -1901,17 +1901,17 @@ function Yo(t, e) {
1901
1901
  widget: {
1902
1902
  title: e || "New widget",
1903
1903
  type: t,
1904
- config: Co(t)
1904
+ config: To(t)
1905
1905
  }
1906
1906
  };
1907
1907
  }
1908
- function Wo(t, e) {
1908
+ function Ho(t, e) {
1909
1909
  return t.filter((n, o) => o !== e);
1910
1910
  }
1911
- const To = {
1911
+ const xo = {
1912
1912
  key: 0,
1913
1913
  class: "flex flex-col gap-5"
1914
- }, xo = /* @__PURE__ */ Ne({
1914
+ }, Io = /* @__PURE__ */ Ne({
1915
1915
  __name: "Section",
1916
1916
  setup(t) {
1917
1917
  const e = yn(!1);
@@ -1928,8 +1928,8 @@ const To = {
1928
1928
  }, null, 8, ["name"])
1929
1929
  ]),
1930
1930
  ue(ct, { name: "slide-fade" }, {
1931
- default: je(() => [
1932
- e.value ? dt("", !0) : (ne(), ce("div", To, [
1931
+ default: ze(() => [
1932
+ e.value ? dt("", !0) : (ne(), ce("div", xo, [
1933
1933
  Pe(n.$slots, "content", {}, void 0, !0)
1934
1934
  ]))
1935
1935
  ]),
@@ -1939,7 +1939,7 @@ const To = {
1939
1939
  ], 64);
1940
1940
  };
1941
1941
  }
1942
- }), Ho = /* @__PURE__ */ bt(xo, [["__scopeId", "data-v-f83598f1"]]), Io = /* @__PURE__ */ Ne({
1942
+ }), jo = /* @__PURE__ */ bt(Io, [["__scopeId", "data-v-f83598f1"]]), Oo = /* @__PURE__ */ Ne({
1943
1943
  __name: "TransitionFade",
1944
1944
  props: {
1945
1945
  modelValue: { type: Boolean, required: !0, default: !0 },
@@ -1947,30 +1947,30 @@ const To = {
1947
1947
  },
1948
1948
  emits: ["update:modelValue"],
1949
1949
  setup(t) {
1950
- const e = Bt(t, "modelValue");
1950
+ const e = Vt(t, "modelValue");
1951
1951
  return (n, o) => (ne(), ce(vt, null, [
1952
1952
  ue(ct, { name: "slide-fade-right" }, {
1953
- default: je(() => [
1953
+ default: ze(() => [
1954
1954
  e.value ? Pe(n.$slots, "right", { key: 0 }, void 0, !0) : dt("", !0)
1955
1955
  ]),
1956
1956
  _: 3
1957
1957
  }),
1958
1958
  ue(ct, { name: "slide-fade-left" }, {
1959
- default: je(() => [
1959
+ default: ze(() => [
1960
1960
  e.value ? dt("", !0) : Pe(n.$slots, "left", { key: 0 }, void 0, !0)
1961
1961
  ]),
1962
1962
  _: 3
1963
1963
  })
1964
1964
  ], 64));
1965
1965
  }
1966
- }), jo = /* @__PURE__ */ bt(Io, [["__scopeId", "data-v-a98ca9bc"]]);
1966
+ }), zo = /* @__PURE__ */ bt(Oo, [["__scopeId", "data-v-a98ca9bc"]]);
1967
1967
  export {
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
1968
+ jo as S,
1969
+ zo as T,
1970
+ Yo as W,
1971
+ Xo as _,
1972
+ To as a,
1973
+ $o as d,
1974
+ Ho as h,
1975
+ Wo as i
1976
1976
  };