@ianicdev/datatables2 0.11.4 → 0.11.5

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 (44) hide show
  1. package/dist/{Comparison-C4t1CoQN.js → Comparison-DL9ojj3w.js} +3 -3
  2. package/dist/{Comparison-K_C8fK5q.cjs → Comparison-zf9wgAkk.cjs} +1 -1
  3. package/dist/{Datepicker-8vMCYK64.cjs → Datepicker-Dg15YseP.cjs} +1 -1
  4. package/dist/{Datepicker-CvoUCd6e.js → Datepicker-Duwv3zQB.js} +7 -7
  5. package/dist/{Options-CLwvsyYI.cjs → Options-BE82c0Zz.cjs} +1 -1
  6. package/dist/{Options-DtOz8dqa.js → Options-CurNvolo.js} +17 -17
  7. package/dist/{RefreshTable-BDCdK574.cjs → RefreshTable-Cc0I1PA5.cjs} +1 -1
  8. package/dist/{RefreshTable-03hYqy0d.js → RefreshTable-Cn3y6Lyg.js} +3 -3
  9. package/dist/{Search-DCvbaw38.js → Search-BUb6ZctR.js} +4 -4
  10. package/dist/{Search-BfHfgRqm.cjs → Search-CvOD_IHr.cjs} +1 -1
  11. package/dist/{Table-BdiBnyG7.js → Table-D5xj84Hx.js} +6 -6
  12. package/dist/{Table-hSaWsE5Z.cjs → Table-DRC6dqmS.cjs} +1 -1
  13. package/dist/{TableServer-DfNCjOUI.cjs → TableServer-BrktC88-.cjs} +1 -1
  14. package/dist/{TableServer-eOtGylb9.js → TableServer-DGx2_VC7.js} +11 -11
  15. package/dist/{cellRender-B7hkYbUV.js → cellRender-DN6k6hHB.js} +2 -2
  16. package/dist/{cellRender-BN5jkrLA.cjs → cellRender-DcK06KSn.cjs} +1 -1
  17. package/dist/{dataTables-EUusYEBd.js → dataTables-BEIZ1GFJ.js} +17 -17
  18. package/dist/{dataTables-B51qe1LD.cjs → dataTables-DocfWkcv.cjs} +1 -1
  19. package/dist/datatables.cjs +1 -1
  20. package/dist/datatables.js +1 -1
  21. package/dist/{index-BTwaqzMN.js → index-A7VzNfop.js} +3 -3
  22. package/dist/{index-DG3Vs3j9.js → index-BfwTwETw.js} +8 -8
  23. package/dist/{index-BSh8Y0C1.cjs → index-C9IAfraU.cjs} +1 -1
  24. package/dist/{index-sB-PMcO7.cjs → index-CqeIrUKn.cjs} +1 -1
  25. package/dist/{index-CsgCe_gz.js → index-DIJYRSnI.js} +14 -14
  26. package/dist/{index-Hcb-nE49.cjs → index-Db7uKS4O.cjs} +1 -1
  27. package/dist/{index-B_fG3b5A.js → index-DdbT75rv.js} +5 -5
  28. package/dist/{index-9hGXBnYN.cjs → index-kEBJD9Uz.cjs} +1 -1
  29. package/dist/{index.es-D48oZl91.js → index.es-DB0V-0tm.js} +1 -1
  30. package/dist/{index.es-DQaLNvpD.cjs → index.es-DZnpWbiI.cjs} +1 -1
  31. package/dist/jspdf-BDAGZhm6.cjs +79 -0
  32. package/dist/{jspdf-v7nU-ziX.js → jspdf-DpfxfImq.js} +2930 -2948
  33. package/dist/{purify.es-B-PIlM9I.js → purify.es-DIxY135m.js} +142 -142
  34. package/dist/purify.es-DSa7RKfV.cjs +2 -0
  35. package/dist/{useColumns-UM_zCt0D.js → useColumns-Dmca5HPg.js} +316 -302
  36. package/dist/useColumns-FMszZoTi.cjs +1 -0
  37. package/dist/{useDownload-CR3A1-nS.js → useDownload-DVYhgsLa.js} +1 -1
  38. package/dist/{useDownload-wLFMGFcn.cjs → useDownload-YBEDFv5z.cjs} +1 -1
  39. package/dist/{useRefreshTable-Dg9LI59z.cjs → useRefreshTable-BjtSww_t.cjs} +1 -1
  40. package/dist/{useRefreshTable-CRquY8ZU.js → useRefreshTable-BoTF0YZF.js} +1 -1
  41. package/package.json +6 -6
  42. package/dist/jspdf-D8dTvh2d.cjs +0 -79
  43. package/dist/purify.es-B-_4ubwQ.cjs +0 -2
  44. package/dist/useColumns-DV---ndr.cjs +0 -1
@@ -1,15 +1,15 @@
1
- import { ref as ue, useId as Kt, createVNode as R, mergeProps as bt, isRef as at, toValue as yt, nextTick as lt, inject as st, useTemplateRef as Zt, onMounted as Qt, createBlock as wt, openBlock as Ue, unref as ce, withCtx as J, createElementVNode as Jt, toDisplayString as en, createElementBlock as tn, Fragment as nn, renderList as on, computed as rn } from "vue";
2
- import { defaultDocument as an, tryOnMounted as ln, tryOnScopeDispose as sn, unrefElement as un } from "@vueuse/core";
3
- import { p as cn, q as Et, c as _t, r as dn, s as fn, u as hn, k as pn, t as gn, g as mn, v as vn, h as bn, w as yn, a as qe } from "./index-CsgCe_gz.js";
4
- import { g as wn, p as En, E as _n, h as Dn, a3 as Sn, ao as Tn, a7 as Dt, aL as Ke, ax as St, au as Cn, av as In, i as On } from "./dataTables-EUusYEBd.js";
5
- import { useI18n as xn } from "vue-i18n";
6
- const Pn = En({
7
- ...Dt(fn(), ["direction"]),
8
- ...Dt(dn(), ["inline"])
9
- }, "VCheckbox"), An = wn()({
1
+ import { ref as ue, useId as Zt, createVNode as R, mergeProps as bt, computed as Mt, watch as Qt, isRef as at, toValue as yt, nextTick as lt, inject as st, useTemplateRef as Jt, onMounted as en, openBlock as Ue, createBlock as wt, unref as ce, withCtx as J, createElementVNode as tn, toDisplayString as nn, createElementBlock as on, Fragment as rn, renderList as an } from "vue";
2
+ import { defaultDocument as ln, unrefElement as sn, tryOnMounted as un, tryOnScopeDispose as cn } from "@vueuse/core";
3
+ import { p as dn, q as Et, c as _t, r as fn, s as hn, u as pn, k as gn, t as mn, g as vn, v as bn, h as yn, w as wn, a as qe } from "./index-DIJYRSnI.js";
4
+ import { g as En, E as _n, h as Dn, a3 as Sn, ao as Tn, p as Cn, a7 as Dt, aL as Ke, ax as St, au as In, av as On, i as xn } from "./dataTables-BEIZ1GFJ.js";
5
+ import { useI18n as Pn } from "vue-i18n";
6
+ const An = Cn({
7
+ ...Dt(hn(), ["direction"]),
8
+ ...Dt(fn(), ["inline"])
9
+ }, "VCheckbox"), Nn = En()({
10
10
  name: "VCheckbox",
11
11
  inheritAttrs: !1,
12
- props: Pn(),
12
+ props: An(),
13
13
  emits: {
14
14
  "update:modelValue": (n) => !0,
15
15
  "update:focused": (n) => !0
@@ -23,13 +23,13 @@ const Pn = En({
23
23
  isFocused: r,
24
24
  focus: a,
25
25
  blur: l
26
- } = cn(n), s = ue(), u = Kt();
26
+ } = dn(n), s = ue(), u = Zt();
27
27
  return Dn(() => {
28
- const [d, f] = Sn(o), b = Et.filterProps(n), E = _t.filterProps(n);
28
+ const [f, d] = Sn(o), b = Et.filterProps(n), y = _t.filterProps(n);
29
29
  return R(Et, bt({
30
30
  ref: s,
31
31
  class: ["v-checkbox", n.class]
32
- }, d, b, {
32
+ }, f, b, {
33
33
  modelValue: i.value,
34
34
  "onUpdate:modelValue": (m) => i.value = m,
35
35
  id: n.id || `checkbox-${u}`,
@@ -39,18 +39,18 @@ const Pn = En({
39
39
  ...t,
40
40
  default: (m) => {
41
41
  let {
42
- id: v,
43
- messagesId: D,
42
+ id: h,
43
+ messagesId: _,
44
44
  isDisabled: O,
45
45
  isReadonly: x,
46
46
  isValid: N
47
47
  } = m;
48
- return R(_t, bt(E, {
49
- id: v.value,
50
- "aria-describedby": D.value,
48
+ return R(_t, bt(y, {
49
+ id: h.value,
50
+ "aria-describedby": _.value,
51
51
  disabled: O.value,
52
52
  readonly: x.value
53
- }, f, {
53
+ }, d, {
54
54
  error: N.value === !1,
55
55
  modelValue: i.value,
56
56
  "onUpdate:modelValue": (k) => i.value = k,
@@ -76,7 +76,7 @@ function j(n) {
76
76
  for (var e = 1; e < arguments.length; e++) {
77
77
  var o = arguments[e] != null ? arguments[e] : {};
78
78
  e % 2 ? Tt(Object(o), !0).forEach(function(t) {
79
- Nn(n, t, o[t]);
79
+ kn(n, t, o[t]);
80
80
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(o)) : Tt(Object(o)).forEach(function(t) {
81
81
  Object.defineProperty(n, t, Object.getOwnPropertyDescriptor(o, t));
82
82
  });
@@ -91,7 +91,7 @@ function Ve(n) {
91
91
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
92
92
  }, Ve(n);
93
93
  }
94
- function Nn(n, e, o) {
94
+ function kn(n, e, o) {
95
95
  return e in n ? Object.defineProperty(n, e, {
96
96
  value: o,
97
97
  enumerable: !0,
@@ -109,16 +109,16 @@ function q() {
109
109
  return n;
110
110
  }, q.apply(this, arguments);
111
111
  }
112
- function kn(n, e) {
112
+ function Mn(n, e) {
113
113
  if (n == null) return {};
114
114
  var o = {}, t = Object.keys(n), i, r;
115
115
  for (r = 0; r < t.length; r++)
116
116
  i = t[r], !(e.indexOf(i) >= 0) && (o[i] = n[i]);
117
117
  return o;
118
118
  }
119
- function Mn(n, e) {
119
+ function Fn(n, e) {
120
120
  if (n == null) return {};
121
- var o = kn(n, e), t, i;
121
+ var o = Mn(n, e), t, i;
122
122
  if (Object.getOwnPropertySymbols) {
123
123
  var r = Object.getOwnPropertySymbols(n);
124
124
  for (i = 0; i < r.length; i++)
@@ -126,20 +126,20 @@ function Mn(n, e) {
126
126
  }
127
127
  return o;
128
128
  }
129
- var Fn = "1.15.6";
129
+ var Rn = "1.15.6";
130
130
  function U(n) {
131
131
  if (typeof window < "u" && window.navigator)
132
132
  return !!/* @__PURE__ */ navigator.userAgent.match(n);
133
133
  }
134
- var K = U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Pe = U(/Edge/i), Ct = U(/firefox/i), Te = U(/safari/i) && !U(/chrome/i) && !U(/android/i), ht = U(/iP(ad|od|hone)/i), Mt = U(/chrome/i) && U(/android/i), Ft = {
134
+ var K = U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Pe = U(/Edge/i), Ct = U(/firefox/i), Te = U(/safari/i) && !U(/chrome/i) && !U(/android/i), ht = U(/iP(ad|od|hone)/i), Ft = U(/chrome/i) && U(/android/i), Rt = {
135
135
  capture: !1,
136
136
  passive: !1
137
137
  };
138
- function w(n, e, o) {
139
- n.addEventListener(e, o, !K && Ft);
138
+ function E(n, e, o) {
139
+ n.addEventListener(e, o, !K && Rt);
140
140
  }
141
- function y(n, e, o) {
142
- n.removeEventListener(e, o, !K && Ft);
141
+ function w(n, e, o) {
142
+ n.removeEventListener(e, o, !K && Rt);
143
143
  }
144
144
  function He(n, e) {
145
145
  if (e) {
@@ -157,7 +157,7 @@ function He(n, e) {
157
157
  return !1;
158
158
  }
159
159
  }
160
- function Rt(n) {
160
+ function Vt(n) {
161
161
  return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
162
162
  }
163
163
  function W(n, e, o, t) {
@@ -167,7 +167,7 @@ function W(n, e, o, t) {
167
167
  if (e != null && (e[0] === ">" ? n.parentNode === o && He(n, e) : He(n, e)) || t && n === o)
168
168
  return n;
169
169
  if (n === o) break;
170
- } while (n = Rt(n));
170
+ } while (n = Vt(n));
171
171
  }
172
172
  return null;
173
173
  }
@@ -181,7 +181,7 @@ function X(n, e, o) {
181
181
  n.className = (t + (o ? " " + e : "")).replace(It, " ");
182
182
  }
183
183
  }
184
- function h(n, e, o) {
184
+ function p(n, e, o) {
185
185
  var t = n && n.style;
186
186
  if (t) {
187
187
  if (o === void 0)
@@ -195,13 +195,13 @@ function ge(n, e) {
195
195
  o = n;
196
196
  else
197
197
  do {
198
- var t = h(n, "transform");
198
+ var t = p(n, "transform");
199
199
  t && t !== "none" && (o = t + " " + o);
200
200
  } while (!e && (n = n.parentNode));
201
201
  var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
202
202
  return i && new i(o);
203
203
  }
204
- function Vt(n, e, o) {
204
+ function Bt(n, e, o) {
205
205
  if (n) {
206
206
  var t = n.getElementsByTagName(e), i = 0, r = t.length;
207
207
  if (o)
@@ -217,26 +217,26 @@ function G() {
217
217
  }
218
218
  function I(n, e, o, t, i) {
219
219
  if (!(!n.getBoundingClientRect && n !== window)) {
220
- var r, a, l, s, u, d, f;
221
- if (n !== window && n.parentNode && n !== G() ? (r = n.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, d = r.height, f = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, d = window.innerHeight, f = window.innerWidth), (e || o) && n !== window && (i = i || n.parentNode, !K))
220
+ var r, a, l, s, u, f, d;
221
+ if (n !== window && n.parentNode && n !== G() ? (r = n.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, f = r.height, d = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, d = window.innerWidth), (e || o) && n !== window && (i = i || n.parentNode, !K))
222
222
  do
223
- if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || o && h(i, "position") !== "static")) {
223
+ if (i && i.getBoundingClientRect && (p(i, "transform") !== "none" || o && p(i, "position") !== "static")) {
224
224
  var b = i.getBoundingClientRect();
225
- a -= b.top + parseInt(h(i, "border-top-width")), l -= b.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
225
+ a -= b.top + parseInt(p(i, "border-top-width")), l -= b.left + parseInt(p(i, "border-left-width")), s = a + r.height, u = l + r.width;
226
226
  break;
227
227
  }
228
228
  while (i = i.parentNode);
229
229
  if (t && n !== window) {
230
- var E = ge(i || n), m = E && E.a, v = E && E.d;
231
- E && (a /= v, l /= m, f /= m, d /= v, s = a + d, u = l + f);
230
+ var y = ge(i || n), m = y && y.a, h = y && y.d;
231
+ y && (a /= h, l /= m, d /= m, f /= h, s = a + f, u = l + d);
232
232
  }
233
233
  return {
234
234
  top: a,
235
235
  left: l,
236
236
  bottom: s,
237
237
  right: u,
238
- width: f,
239
- height: d
238
+ width: d,
239
+ height: f
240
240
  };
241
241
  }
242
242
  }
@@ -251,7 +251,7 @@ function Ot(n, e, o) {
251
251
  }
252
252
  function me(n, e, o, t) {
253
253
  for (var i = 0, r = 0, a = n.children; r < a.length; ) {
254
- if (a[r].style.display !== "none" && a[r] !== p.ghost && (t || a[r] !== p.dragged) && W(a[r], o.draggable, n, !1)) {
254
+ if (a[r].style.display !== "none" && a[r] !== g.ghost && (t || a[r] !== g.dragged) && W(a[r], o.draggable, n, !1)) {
255
255
  if (i === e)
256
256
  return a[r];
257
257
  i++;
@@ -261,7 +261,7 @@ function me(n, e, o, t) {
261
261
  return null;
262
262
  }
263
263
  function pt(n, e) {
264
- for (var o = n.lastElementChild; o && (o === p.ghost || h(o, "display") === "none" || e && !He(o, e)); )
264
+ for (var o = n.lastElementChild; o && (o === g.ghost || p(o, "display") === "none" || e && !He(o, e)); )
265
265
  o = o.previousElementSibling;
266
266
  return o || null;
267
267
  }
@@ -270,7 +270,7 @@ function L(n, e) {
270
270
  if (!n || !n.parentNode)
271
271
  return -1;
272
272
  for (; n = n.previousElementSibling; )
273
- n.nodeName.toUpperCase() !== "TEMPLATE" && n !== p.clone && (!e || He(n, e)) && o++;
273
+ n.nodeName.toUpperCase() !== "TEMPLATE" && n !== g.clone && (!e || He(n, e)) && o++;
274
274
  return o;
275
275
  }
276
276
  function xt(n) {
@@ -282,7 +282,7 @@ function xt(n) {
282
282
  } while (n !== t && (n = n.parentNode));
283
283
  return [e, o];
284
284
  }
285
- function Rn(n, e) {
285
+ function Vn(n, e) {
286
286
  for (var o in n)
287
287
  if (n.hasOwnProperty(o)) {
288
288
  for (var t in e)
@@ -295,7 +295,7 @@ function ne(n, e) {
295
295
  var o = n, t = !1;
296
296
  do
297
297
  if (o.clientWidth < o.scrollWidth || o.clientHeight < o.scrollHeight) {
298
- var i = h(o);
298
+ var i = p(o);
299
299
  if (o.clientWidth < o.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || o.clientHeight < o.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
300
300
  if (!o.getBoundingClientRect || o === document.body) return G();
301
301
  if (t || e) return o;
@@ -305,7 +305,7 @@ function ne(n, e) {
305
305
  while (o = o.parentNode);
306
306
  return G();
307
307
  }
308
- function Vn(n, e) {
308
+ function Bn(n, e) {
309
309
  if (n && e)
310
310
  for (var o in e)
311
311
  e.hasOwnProperty(o) && (n[o] = e[o]);
@@ -315,7 +315,7 @@ function Ze(n, e) {
315
315
  return Math.round(n.top) === Math.round(e.top) && Math.round(n.left) === Math.round(e.left) && Math.round(n.height) === Math.round(e.height) && Math.round(n.width) === Math.round(e.width);
316
316
  }
317
317
  var Ce;
318
- function Bt(n, e) {
318
+ function Xt(n, e) {
319
319
  return function() {
320
320
  if (!Ce) {
321
321
  var o = arguments, t = this;
@@ -325,17 +325,17 @@ function Bt(n, e) {
325
325
  }
326
326
  };
327
327
  }
328
- function Bn() {
328
+ function Xn() {
329
329
  clearTimeout(Ce), Ce = void 0;
330
330
  }
331
- function Xt(n, e, o) {
331
+ function Yt(n, e, o) {
332
332
  n.scrollLeft += e, n.scrollTop += o;
333
333
  }
334
- function Yt(n) {
334
+ function Lt(n) {
335
335
  var e = window.Polymer, o = window.jQuery || window.Zepto;
336
336
  return e && e.dom ? e.dom(n).cloneNode(!0) : o ? o(n).clone(!0)[0] : n.cloneNode(!0);
337
337
  }
338
- function Lt(n, e, o) {
338
+ function Ht(n, e, o) {
339
339
  var t = {};
340
340
  return Array.from(n.children).forEach(function(i) {
341
341
  var r, a, l, s;
@@ -346,14 +346,14 @@ function Lt(n, e, o) {
346
346
  }), t.width = t.right - t.left, t.height = t.bottom - t.top, t.x = t.left, t.y = t.top, t;
347
347
  }
348
348
  var V = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
349
- function Xn() {
349
+ function Yn() {
350
350
  var n = [], e;
351
351
  return {
352
352
  captureAnimationState: function() {
353
353
  if (n = [], !!this.options.animation) {
354
354
  var t = [].slice.call(this.el.children);
355
355
  t.forEach(function(i) {
356
- if (!(h(i, "display") === "none" || i === p.ghost)) {
356
+ if (!(p(i, "display") === "none" || i === g.ghost)) {
357
357
  n.push({
358
358
  target: i,
359
359
  rect: I(i)
@@ -372,7 +372,7 @@ function Xn() {
372
372
  n.push(t);
373
373
  },
374
374
  removeAnimationState: function(t) {
375
- n.splice(Rn(n, {
375
+ n.splice(Vn(n, {
376
376
  target: t
377
377
  }), 1);
378
378
  },
@@ -384,9 +384,9 @@ function Xn() {
384
384
  }
385
385
  var r = !1, a = 0;
386
386
  n.forEach(function(l) {
387
- var s = 0, u = l.target, d = u.fromRect, f = I(u), b = u.prevFromRect, E = u.prevToRect, m = l.rect, v = ge(u, !0);
388
- v && (f.top -= v.f, f.left -= v.e), u.toRect = f, u.thisAnimationDuration && Ze(b, f) && !Ze(d, f) && // Make sure animatingRect is on line between toRect & fromRect
389
- (m.top - f.top) / (m.left - f.left) === (d.top - f.top) / (d.left - f.left) && (s = Ln(m, b, E, i.options)), Ze(f, d) || (u.prevFromRect = d, u.prevToRect = f, s || (s = i.options.animation), i.animate(u, m, f, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
387
+ var s = 0, u = l.target, f = u.fromRect, d = I(u), b = u.prevFromRect, y = u.prevToRect, m = l.rect, h = ge(u, !0);
388
+ h && (d.top -= h.f, d.left -= h.e), u.toRect = d, u.thisAnimationDuration && Ze(b, d) && !Ze(f, d) && // Make sure animatingRect is on line between toRect & fromRect
389
+ (m.top - d.top) / (m.left - d.left) === (f.top - d.top) / (f.left - d.left) && (s = Hn(m, b, y, i.options)), Ze(d, f) || (u.prevFromRect = f, u.prevToRect = d, s || (s = i.options.animation), i.animate(u, m, d, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
390
390
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
391
391
  }, s), u.thisAnimationDuration = s);
392
392
  }), clearTimeout(e), r ? e = setTimeout(function() {
@@ -395,19 +395,19 @@ function Xn() {
395
395
  },
396
396
  animate: function(t, i, r, a) {
397
397
  if (a) {
398
- h(t, "transition", ""), h(t, "transform", "");
399
- var l = ge(this.el), s = l && l.a, u = l && l.d, d = (i.left - r.left) / (s || 1), f = (i.top - r.top) / (u || 1);
400
- t.animatingX = !!d, t.animatingY = !!f, h(t, "transform", "translate3d(" + d + "px," + f + "px,0)"), this.forRepaintDummy = Yn(t), h(t, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(t, "transform", "translate3d(0,0,0)"), typeof t.animated == "number" && clearTimeout(t.animated), t.animated = setTimeout(function() {
401
- h(t, "transition", ""), h(t, "transform", ""), t.animated = !1, t.animatingX = !1, t.animatingY = !1;
398
+ p(t, "transition", ""), p(t, "transform", "");
399
+ var l = ge(this.el), s = l && l.a, u = l && l.d, f = (i.left - r.left) / (s || 1), d = (i.top - r.top) / (u || 1);
400
+ t.animatingX = !!f, t.animatingY = !!d, p(t, "transform", "translate3d(" + f + "px," + d + "px,0)"), this.forRepaintDummy = Ln(t), p(t, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), p(t, "transform", "translate3d(0,0,0)"), typeof t.animated == "number" && clearTimeout(t.animated), t.animated = setTimeout(function() {
401
+ p(t, "transition", ""), p(t, "transform", ""), t.animated = !1, t.animatingX = !1, t.animatingY = !1;
402
402
  }, a);
403
403
  }
404
404
  }
405
405
  };
406
406
  }
407
- function Yn(n) {
407
+ function Ln(n) {
408
408
  return n.offsetWidth;
409
409
  }
410
- function Ln(n, e, o, t) {
410
+ function Hn(n, e, o, t) {
411
411
  return Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) / Math.sqrt(Math.pow(e.top - o.top, 2) + Math.pow(e.left - o.left, 2)) * t.animation;
412
412
  }
413
413
  var de = [], Qe = {
@@ -462,41 +462,41 @@ var de = [], Qe = {
462
462
  }), i;
463
463
  }
464
464
  };
465
- function Hn(n) {
466
- var e = n.sortable, o = n.rootEl, t = n.name, i = n.targetEl, r = n.cloneEl, a = n.toEl, l = n.fromEl, s = n.oldIndex, u = n.newIndex, d = n.oldDraggableIndex, f = n.newDraggableIndex, b = n.originalEvent, E = n.putSortable, m = n.extraEventProperties;
465
+ function Wn(n) {
466
+ var e = n.sortable, o = n.rootEl, t = n.name, i = n.targetEl, r = n.cloneEl, a = n.toEl, l = n.fromEl, s = n.oldIndex, u = n.newIndex, f = n.oldDraggableIndex, d = n.newDraggableIndex, b = n.originalEvent, y = n.putSortable, m = n.extraEventProperties;
467
467
  if (e = e || o && o[V], !!e) {
468
- var v, D = e.options, O = "on" + t.charAt(0).toUpperCase() + t.substr(1);
469
- window.CustomEvent && !K && !Pe ? v = new CustomEvent(t, {
468
+ var h, _ = e.options, O = "on" + t.charAt(0).toUpperCase() + t.substr(1);
469
+ window.CustomEvent && !K && !Pe ? h = new CustomEvent(t, {
470
470
  bubbles: !0,
471
471
  cancelable: !0
472
- }) : (v = document.createEvent("Event"), v.initEvent(t, !0, !0)), v.to = a || o, v.from = l || o, v.item = i || o, v.clone = r, v.oldIndex = s, v.newIndex = u, v.oldDraggableIndex = d, v.newDraggableIndex = f, v.originalEvent = b, v.pullMode = E ? E.lastPutMode : void 0;
472
+ }) : (h = document.createEvent("Event"), h.initEvent(t, !0, !0)), h.to = a || o, h.from = l || o, h.item = i || o, h.clone = r, h.oldIndex = s, h.newIndex = u, h.oldDraggableIndex = f, h.newDraggableIndex = d, h.originalEvent = b, h.pullMode = y ? y.lastPutMode : void 0;
473
473
  var x = j(j({}, m), Ae.getEventProperties(t, e));
474
474
  for (var N in x)
475
- v[N] = x[N];
476
- o && o.dispatchEvent(v), D[O] && D[O].call(e, v);
475
+ h[N] = x[N];
476
+ o && o.dispatchEvent(h), _[O] && _[O].call(e, h);
477
477
  }
478
478
  }
479
- var Wn = ["evt"], F = function(e, o) {
480
- var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = t.evt, r = Mn(t, Wn);
481
- Ae.pluginEvent.bind(p)(e, o, j({
479
+ var $n = ["evt"], F = function(e, o) {
480
+ var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = t.evt, r = Fn(t, $n);
481
+ Ae.pluginEvent.bind(g)(e, o, j({
482
482
  dragEl: c,
483
483
  parentEl: T,
484
- ghostEl: g,
485
- rootEl: _,
484
+ ghostEl: v,
485
+ rootEl: D,
486
486
  nextEl: se,
487
487
  lastDownEl: Be,
488
488
  cloneEl: S,
489
489
  cloneHidden: te,
490
490
  dragStarted: _e,
491
491
  putSortable: P,
492
- activeSortable: p.active,
492
+ activeSortable: g.active,
493
493
  originalEvent: i,
494
494
  oldIndex: pe,
495
495
  oldDraggableIndex: Ie,
496
496
  newIndex: Y,
497
497
  newDraggableIndex: ee,
498
- hideGhostForTarget: Gt,
499
- unhideGhostForTarget: jt,
498
+ hideGhostForTarget: jt,
499
+ unhideGhostForTarget: zt,
500
500
  cloneNowHidden: function() {
501
501
  te = !0;
502
502
  },
@@ -513,39 +513,39 @@ var Wn = ["evt"], F = function(e, o) {
513
513
  }, r));
514
514
  };
515
515
  function M(n) {
516
- Hn(j({
516
+ Wn(j({
517
517
  putSortable: P,
518
518
  cloneEl: S,
519
519
  targetEl: c,
520
- rootEl: _,
520
+ rootEl: D,
521
521
  oldIndex: pe,
522
522
  oldDraggableIndex: Ie,
523
523
  newIndex: Y,
524
524
  newDraggableIndex: ee
525
525
  }, n));
526
526
  }
527
- var c, T, g, _, se, Be, S, te, pe, Y, Ie, ee, ke, P, he = !1, We = !1, $e = [], ae, H, Je, et, Pt, At, _e, fe, Oe, xe = !1, Me = !1, Xe, A, tt = [], ut = !1, Ge = [], ze = typeof document < "u", Fe = ht, Nt = Pe || K ? "cssFloat" : "float", $n = ze && !Mt && !ht && "draggable" in document.createElement("div"), Ht = (function() {
527
+ var c, T, v, D, se, Be, S, te, pe, Y, Ie, ee, ke, P, he = !1, We = !1, $e = [], ae, H, Je, et, Pt, At, _e, fe, Oe, xe = !1, Me = !1, Xe, A, tt = [], ut = !1, Ge = [], ze = typeof document < "u", Fe = ht, Nt = Pe || K ? "cssFloat" : "float", Gn = ze && !Ft && !ht && "draggable" in document.createElement("div"), Wt = (function() {
528
528
  if (ze) {
529
529
  if (K)
530
530
  return !1;
531
531
  var n = document.createElement("x");
532
532
  return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
533
533
  }
534
- })(), Wt = function(e, o) {
535
- var t = h(e), i = parseInt(t.width) - parseInt(t.paddingLeft) - parseInt(t.paddingRight) - parseInt(t.borderLeftWidth) - parseInt(t.borderRightWidth), r = me(e, 0, o), a = me(e, 1, o), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + I(r).width, d = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + I(a).width;
534
+ })(), $t = function(e, o) {
535
+ var t = p(e), i = parseInt(t.width) - parseInt(t.paddingLeft) - parseInt(t.paddingRight) - parseInt(t.borderLeftWidth) - parseInt(t.borderRightWidth), r = me(e, 0, o), a = me(e, 1, o), l = r && p(r), s = a && p(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + I(r).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + I(a).width;
536
536
  if (t.display === "flex")
537
537
  return t.flexDirection === "column" || t.flexDirection === "column-reverse" ? "vertical" : "horizontal";
538
538
  if (t.display === "grid")
539
539
  return t.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
540
540
  if (r && l.float && l.float !== "none") {
541
- var f = l.float === "left" ? "left" : "right";
542
- return a && (s.clear === "both" || s.clear === f) ? "vertical" : "horizontal";
541
+ var d = l.float === "left" ? "left" : "right";
542
+ return a && (s.clear === "both" || s.clear === d) ? "vertical" : "horizontal";
543
543
  }
544
- return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && t[Nt] === "none" || a && t[Nt] === "none" && u + d > i) ? "vertical" : "horizontal";
545
- }, Gn = function(e, o, t) {
544
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && t[Nt] === "none" || a && t[Nt] === "none" && u + f > i) ? "vertical" : "horizontal";
545
+ }, jn = function(e, o, t) {
546
546
  var i = t ? e.left : e.top, r = t ? e.right : e.bottom, a = t ? e.width : e.height, l = t ? o.left : o.top, s = t ? o.right : o.bottom, u = t ? o.width : o.height;
547
547
  return i === l || r === s || i + a / 2 === l + u / 2;
548
- }, jn = function(e, o) {
548
+ }, zn = function(e, o) {
549
549
  var t;
550
550
  return $e.some(function(i) {
551
551
  var r = i[V].options.emptyInsertThreshold;
@@ -555,18 +555,18 @@ var c, T, g, _, se, Be, S, te, pe, Y, Ie, ee, ke, P, he = !1, We = !1, $e = [],
555
555
  return t = i;
556
556
  }
557
557
  }), t;
558
- }, $t = function(e) {
558
+ }, Gt = function(e) {
559
559
  function o(r, a) {
560
- return function(l, s, u, d) {
561
- var f = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
562
- if (r == null && (a || f))
560
+ return function(l, s, u, f) {
561
+ var d = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
562
+ if (r == null && (a || d))
563
563
  return !0;
564
564
  if (r == null || r === !1)
565
565
  return !1;
566
566
  if (a && r === "clone")
567
567
  return r;
568
568
  if (typeof r == "function")
569
- return o(r(l, s, u, d), a)(l, s, u, d);
569
+ return o(r(l, s, u, f), a)(l, s, u, f);
570
570
  var b = (a ? l : s).options.group.name;
571
571
  return r === !0 || typeof r == "string" && r === b || r.join && r.indexOf(b) > -1;
572
572
  };
@@ -575,19 +575,19 @@ var c, T, g, _, se, Be, S, te, pe, Y, Ie, ee, ke, P, he = !1, We = !1, $e = [],
575
575
  (!i || Ve(i) != "object") && (i = {
576
576
  name: i
577
577
  }), t.name = i.name, t.checkPull = o(i.pull, !0), t.checkPut = o(i.put), t.revertClone = i.revertClone, e.group = t;
578
- }, Gt = function() {
579
- !Ht && g && h(g, "display", "none");
580
578
  }, jt = function() {
581
- !Ht && g && h(g, "display", "");
579
+ !Wt && v && p(v, "display", "none");
580
+ }, zt = function() {
581
+ !Wt && v && p(v, "display", "");
582
582
  };
583
- ze && !Mt && document.addEventListener("click", function(n) {
583
+ ze && !Ft && document.addEventListener("click", function(n) {
584
584
  if (We)
585
585
  return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), We = !1, !1;
586
586
  }, !0);
587
587
  var le = function(e) {
588
588
  if (c) {
589
589
  e = e.touches ? e.touches[0] : e;
590
- var o = jn(e.clientX, e.clientY);
590
+ var o = zn(e.clientX, e.clientY);
591
591
  if (o) {
592
592
  var t = {};
593
593
  for (var i in e)
@@ -595,10 +595,10 @@ var le = function(e) {
595
595
  t.target = t.rootEl = o, t.preventDefault = void 0, t.stopPropagation = void 0, o[V]._onDragOver(t);
596
596
  }
597
597
  }
598
- }, zn = function(e) {
598
+ }, Un = function(e) {
599
599
  c && c.parentNode[V]._isOutsideThisEl(e.target);
600
600
  };
601
- function p(n, e) {
601
+ function g(n, e) {
602
602
  if (!(n && n.nodeType && n.nodeType === 1))
603
603
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));
604
604
  this.el = n, this.options = e = q({}, e), n[V] = this;
@@ -617,7 +617,7 @@ function p(n, e) {
617
617
  // will be set to same as swapThreshold if default
618
618
  removeCloneOnHide: !0,
619
619
  direction: function() {
620
- return Wt(n, this.options);
620
+ return $t(n, this.options);
621
621
  },
622
622
  ghostClass: "sortable-ghost",
623
623
  chosenClass: "sortable-chosen",
@@ -645,20 +645,20 @@ function p(n, e) {
645
645
  y: 0
646
646
  },
647
647
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
648
- supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!Te || ht),
648
+ supportPointer: g.supportPointer !== !1 && "PointerEvent" in window && (!Te || ht),
649
649
  emptyInsertThreshold: 5
650
650
  };
651
651
  Ae.initializePlugins(this, n, o);
652
652
  for (var t in o)
653
653
  !(t in e) && (e[t] = o[t]);
654
- $t(e);
654
+ Gt(e);
655
655
  for (var i in this)
656
656
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
657
- this.nativeDraggable = e.forceFallback ? !1 : $n, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? w(n, "pointerdown", this._onTapStart) : (w(n, "mousedown", this._onTapStart), w(n, "touchstart", this._onTapStart)), this.nativeDraggable && (w(n, "dragover", this), w(n, "dragenter", this)), $e.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), q(this, Xn());
657
+ this.nativeDraggable = e.forceFallback ? !1 : Gn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? E(n, "pointerdown", this._onTapStart) : (E(n, "mousedown", this._onTapStart), E(n, "touchstart", this._onTapStart)), this.nativeDraggable && (E(n, "dragover", this), E(n, "dragenter", this)), $e.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), q(this, Yn());
658
658
  }
659
- p.prototype = /** @lends Sortable.prototype */
659
+ g.prototype = /** @lends Sortable.prototype */
660
660
  {
661
- constructor: p,
661
+ constructor: g,
662
662
  _isOutsideThisEl: function(e) {
663
663
  !this.el.contains(e) && e !== this.el && (fe = null);
664
664
  },
@@ -667,10 +667,10 @@ p.prototype = /** @lends Sortable.prototype */
667
667
  },
668
668
  _onTapStart: function(e) {
669
669
  if (e.cancelable) {
670
- var o = this, t = this.el, i = this.options, r = i.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 = i.filter;
671
- if (to(t), !c && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Te && s && s.tagName.toUpperCase() === "SELECT") && (s = W(s, i.draggable, t, !1), !(s && s.animated) && Be !== s)) {
672
- if (pe = L(s), Ie = L(s, i.draggable), typeof d == "function") {
673
- if (d.call(this, e, s, this)) {
670
+ var o = this, t = this.el, i = this.options, r = i.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, f = i.filter;
671
+ if (no(t), !c && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Te && s && s.tagName.toUpperCase() === "SELECT") && (s = W(s, i.draggable, t, !1), !(s && s.animated) && Be !== s)) {
672
+ if (pe = L(s), Ie = L(s, i.draggable), typeof f == "function") {
673
+ if (f.call(this, e, s, this)) {
674
674
  M({
675
675
  sortable: o,
676
676
  rootEl: u,
@@ -683,11 +683,11 @@ p.prototype = /** @lends Sortable.prototype */
683
683
  }), r && e.preventDefault();
684
684
  return;
685
685
  }
686
- } else if (d && (d = d.split(",").some(function(f) {
687
- if (f = W(u, f.trim(), t, !1), f)
686
+ } else if (f && (f = f.split(",").some(function(d) {
687
+ if (d = W(u, d.trim(), t, !1), d)
688
688
  return M({
689
689
  sortable: o,
690
- rootEl: f,
690
+ rootEl: d,
691
691
  name: "filter",
692
692
  targetEl: s,
693
693
  fromEl: t,
@@ -695,7 +695,7 @@ p.prototype = /** @lends Sortable.prototype */
695
695
  }), F("filter", o, {
696
696
  evt: e
697
697
  }), !0;
698
- }), d)) {
698
+ }), f)) {
699
699
  r && e.preventDefault();
700
700
  return;
701
701
  }
@@ -707,14 +707,14 @@ p.prototype = /** @lends Sortable.prototype */
707
707
  var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
708
708
  if (t && !c && t.parentNode === r) {
709
709
  var u = I(t);
710
- if (_ = r, c = t, T = c.parentNode, se = c.nextSibling, Be = t, ke = a.group, p.dragged = c, ae = {
710
+ if (D = r, c = t, T = c.parentNode, se = c.nextSibling, Be = t, ke = a.group, g.dragged = c, ae = {
711
711
  target: c,
712
712
  clientX: (o || e).clientX,
713
713
  clientY: (o || e).clientY
714
714
  }, Pt = ae.clientX - u.left, At = ae.clientY - u.top, this._lastX = (o || e).clientX, this._lastY = (o || e).clientY, c.style["will-change"] = "all", s = function() {
715
715
  if (F("delayEnded", i, {
716
716
  evt: e
717
- }), p.eventCanceled) {
717
+ }), g.eventCanceled) {
718
718
  i._onDrop();
719
719
  return;
720
720
  }
@@ -723,16 +723,16 @@ p.prototype = /** @lends Sortable.prototype */
723
723
  name: "choose",
724
724
  originalEvent: e
725
725
  }), X(c, a.chosenClass, !0);
726
- }, a.ignore.split(",").forEach(function(d) {
727
- Vt(c, d.trim(), nt);
728
- }), w(l, "dragover", le), w(l, "mousemove", le), w(l, "touchmove", le), a.supportPointer ? (w(l, "pointerup", i._onDrop), !this.nativeDraggable && w(l, "pointercancel", i._onDrop)) : (w(l, "mouseup", i._onDrop), w(l, "touchend", i._onDrop), w(l, "touchcancel", i._onDrop)), Ct && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), F("delayStart", this, {
726
+ }, a.ignore.split(",").forEach(function(f) {
727
+ Bt(c, f.trim(), nt);
728
+ }), E(l, "dragover", le), E(l, "mousemove", le), E(l, "touchmove", le), a.supportPointer ? (E(l, "pointerup", i._onDrop), !this.nativeDraggable && E(l, "pointercancel", i._onDrop)) : (E(l, "mouseup", i._onDrop), E(l, "touchend", i._onDrop), E(l, "touchcancel", i._onDrop)), Ct && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), F("delayStart", this, {
729
729
  evt: e
730
730
  }), a.delay && (!a.delayOnTouchOnly || o) && (!this.nativeDraggable || !(Pe || K))) {
731
- if (p.eventCanceled) {
731
+ if (g.eventCanceled) {
732
732
  this._onDrop();
733
733
  return;
734
734
  }
735
- a.supportPointer ? (w(l, "pointerup", i._disableDelayedDrag), w(l, "pointercancel", i._disableDelayedDrag)) : (w(l, "mouseup", i._disableDelayedDrag), w(l, "touchend", i._disableDelayedDrag), w(l, "touchcancel", i._disableDelayedDrag)), w(l, "mousemove", i._delayedDragTouchMoveHandler), w(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && w(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
735
+ a.supportPointer ? (E(l, "pointerup", i._disableDelayedDrag), E(l, "pointercancel", i._disableDelayedDrag)) : (E(l, "mouseup", i._disableDelayedDrag), E(l, "touchend", i._disableDelayedDrag), E(l, "touchcancel", i._disableDelayedDrag)), E(l, "mousemove", i._delayedDragTouchMoveHandler), E(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && E(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
736
736
  } else
737
737
  s();
738
738
  }
@@ -746,10 +746,10 @@ p.prototype = /** @lends Sortable.prototype */
746
746
  },
747
747
  _disableDelayedDragEvents: function() {
748
748
  var e = this.el.ownerDocument;
749
- y(e, "mouseup", this._disableDelayedDrag), y(e, "touchend", this._disableDelayedDrag), y(e, "touchcancel", this._disableDelayedDrag), y(e, "pointerup", this._disableDelayedDrag), y(e, "pointercancel", this._disableDelayedDrag), y(e, "mousemove", this._delayedDragTouchMoveHandler), y(e, "touchmove", this._delayedDragTouchMoveHandler), y(e, "pointermove", this._delayedDragTouchMoveHandler);
749
+ w(e, "mouseup", this._disableDelayedDrag), w(e, "touchend", this._disableDelayedDrag), w(e, "touchcancel", this._disableDelayedDrag), w(e, "pointerup", this._disableDelayedDrag), w(e, "pointercancel", this._disableDelayedDrag), w(e, "mousemove", this._delayedDragTouchMoveHandler), w(e, "touchmove", this._delayedDragTouchMoveHandler), w(e, "pointermove", this._delayedDragTouchMoveHandler);
750
750
  },
751
751
  _triggerDragStart: function(e, o) {
752
- o = o || e.pointerType == "touch" && e, !this.nativeDraggable || o ? this.options.supportPointer ? w(document, "pointermove", this._onTouchMove) : o ? w(document, "touchmove", this._onTouchMove) : w(document, "mousemove", this._onTouchMove) : (w(c, "dragend", this), w(_, "dragstart", this._onDragStart));
752
+ o = o || e.pointerType == "touch" && e, !this.nativeDraggable || o ? this.options.supportPointer ? E(document, "pointermove", this._onTouchMove) : o ? E(document, "touchmove", this._onTouchMove) : E(document, "mousemove", this._onTouchMove) : (E(c, "dragend", this), E(D, "dragstart", this._onDragStart));
753
753
  try {
754
754
  document.selection ? Ye(function() {
755
755
  document.selection.empty();
@@ -758,12 +758,12 @@ p.prototype = /** @lends Sortable.prototype */
758
758
  }
759
759
  },
760
760
  _dragStarted: function(e, o) {
761
- if (he = !1, _ && c) {
761
+ if (he = !1, D && c) {
762
762
  F("dragStarted", this, {
763
763
  evt: o
764
- }), this.nativeDraggable && w(document, "dragover", zn);
764
+ }), this.nativeDraggable && E(document, "dragover", Un);
765
765
  var t = this.options;
766
- !e && X(c, t.dragClass, !1), X(c, t.ghostClass, !0), p.active = this, e && this._appendGhost(), M({
766
+ !e && X(c, t.dragClass, !1), X(c, t.ghostClass, !0), g.active = this, e && this._appendGhost(), M({
767
767
  sortable: this,
768
768
  name: "start",
769
769
  originalEvent: o
@@ -773,7 +773,7 @@ p.prototype = /** @lends Sortable.prototype */
773
773
  },
774
774
  _emulateDragOver: function() {
775
775
  if (H) {
776
- this._lastX = H.clientX, this._lastY = H.clientY, Gt();
776
+ this._lastX = H.clientX, this._lastY = H.clientY, jt();
777
777
  for (var e = document.elementFromPoint(H.clientX, H.clientY), o = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(H.clientX, H.clientY), e !== o); )
778
778
  o = e;
779
779
  if (c.parentNode[V]._isOutsideThisEl(e), o)
@@ -789,90 +789,90 @@ p.prototype = /** @lends Sortable.prototype */
789
789
  break;
790
790
  }
791
791
  e = o;
792
- } while (o = Rt(o));
793
- jt();
792
+ } while (o = Vt(o));
793
+ zt();
794
794
  }
795
795
  },
796
796
  _onTouchMove: function(e) {
797
797
  if (ae) {
798
- var o = this.options, t = o.fallbackTolerance, i = o.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && ge(g, !0), l = g && a && a.a, s = g && a && a.d, u = Fe && A && xt(A), d = (r.clientX - ae.clientX + i.x) / (l || 1) + (u ? u[0] - tt[0] : 0) / (l || 1), f = (r.clientY - ae.clientY + i.y) / (s || 1) + (u ? u[1] - tt[1] : 0) / (s || 1);
799
- if (!p.active && !he) {
798
+ var o = this.options, t = o.fallbackTolerance, i = o.fallbackOffset, r = e.touches ? e.touches[0] : e, a = v && ge(v, !0), l = v && a && a.a, s = v && a && a.d, u = Fe && A && xt(A), f = (r.clientX - ae.clientX + i.x) / (l || 1) + (u ? u[0] - tt[0] : 0) / (l || 1), d = (r.clientY - ae.clientY + i.y) / (s || 1) + (u ? u[1] - tt[1] : 0) / (s || 1);
799
+ if (!g.active && !he) {
800
800
  if (t && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < t)
801
801
  return;
802
802
  this._onDragStart(e, !0);
803
803
  }
804
- if (g) {
805
- a ? (a.e += d - (Je || 0), a.f += f - (et || 0)) : a = {
804
+ if (v) {
805
+ a ? (a.e += f - (Je || 0), a.f += d - (et || 0)) : a = {
806
806
  a: 1,
807
807
  b: 0,
808
808
  c: 0,
809
809
  d: 1,
810
- e: d,
811
- f
810
+ e: f,
811
+ f: d
812
812
  };
813
813
  var b = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
814
- h(g, "webkitTransform", b), h(g, "mozTransform", b), h(g, "msTransform", b), h(g, "transform", b), Je = d, et = f, H = r;
814
+ p(v, "webkitTransform", b), p(v, "mozTransform", b), p(v, "msTransform", b), p(v, "transform", b), Je = f, et = d, H = r;
815
815
  }
816
816
  e.cancelable && e.preventDefault();
817
817
  }
818
818
  },
819
819
  _appendGhost: function() {
820
- if (!g) {
821
- var e = this.options.fallbackOnBody ? document.body : _, o = I(c, !0, Fe, !0, e), t = this.options;
820
+ if (!v) {
821
+ var e = this.options.fallbackOnBody ? document.body : D, o = I(c, !0, Fe, !0, e), t = this.options;
822
822
  if (Fe) {
823
- for (A = e; h(A, "position") === "static" && h(A, "transform") === "none" && A !== document; )
823
+ for (A = e; p(A, "position") === "static" && p(A, "transform") === "none" && A !== document; )
824
824
  A = A.parentNode;
825
825
  A !== document.body && A !== document.documentElement ? (A === document && (A = G()), o.top += A.scrollTop, o.left += A.scrollLeft) : A = G(), tt = xt(A);
826
826
  }
827
- g = c.cloneNode(!0), X(g, t.ghostClass, !1), X(g, t.fallbackClass, !0), X(g, t.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", o.top), h(g, "left", o.left), h(g, "width", o.width), h(g, "height", o.height), h(g, "opacity", "0.8"), h(g, "position", Fe ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", Pt / parseInt(g.style.width) * 100 + "% " + At / parseInt(g.style.height) * 100 + "%");
827
+ v = c.cloneNode(!0), X(v, t.ghostClass, !1), X(v, t.fallbackClass, !0), X(v, t.dragClass, !0), p(v, "transition", ""), p(v, "transform", ""), p(v, "box-sizing", "border-box"), p(v, "margin", 0), p(v, "top", o.top), p(v, "left", o.left), p(v, "width", o.width), p(v, "height", o.height), p(v, "opacity", "0.8"), p(v, "position", Fe ? "absolute" : "fixed"), p(v, "zIndex", "100000"), p(v, "pointerEvents", "none"), g.ghost = v, e.appendChild(v), p(v, "transform-origin", Pt / parseInt(v.style.width) * 100 + "% " + At / parseInt(v.style.height) * 100 + "%");
828
828
  }
829
829
  },
830
830
  _onDragStart: function(e, o) {
831
831
  var t = this, i = e.dataTransfer, r = t.options;
832
832
  if (F("dragStart", this, {
833
833
  evt: e
834
- }), p.eventCanceled) {
834
+ }), g.eventCanceled) {
835
835
  this._onDrop();
836
836
  return;
837
837
  }
838
- F("setupClone", this), p.eventCanceled || (S = Yt(c), S.removeAttribute("id"), S.draggable = !1, S.style["will-change"] = "", this._hideClone(), X(S, this.options.chosenClass, !1), p.clone = S), t.cloneId = Ye(function() {
839
- F("clone", t), !p.eventCanceled && (t.options.removeCloneOnHide || _.insertBefore(S, c), t._hideClone(), M({
838
+ F("setupClone", this), g.eventCanceled || (S = Lt(c), S.removeAttribute("id"), S.draggable = !1, S.style["will-change"] = "", this._hideClone(), X(S, this.options.chosenClass, !1), g.clone = S), t.cloneId = Ye(function() {
839
+ F("clone", t), !g.eventCanceled && (t.options.removeCloneOnHide || D.insertBefore(S, c), t._hideClone(), M({
840
840
  sortable: t,
841
841
  name: "clone"
842
842
  }));
843
- }), !o && X(c, r.dragClass, !0), o ? (We = !0, t._loopId = setInterval(t._emulateDragOver, 50)) : (y(document, "mouseup", t._onDrop), y(document, "touchend", t._onDrop), y(document, "touchcancel", t._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(t, i, c)), w(document, "drop", t), h(c, "transform", "translateZ(0)")), he = !0, t._dragStartId = Ye(t._dragStarted.bind(t, o, e)), w(document, "selectstart", t), _e = !0, window.getSelection().removeAllRanges(), Te && h(document.body, "user-select", "none");
843
+ }), !o && X(c, r.dragClass, !0), o ? (We = !0, t._loopId = setInterval(t._emulateDragOver, 50)) : (w(document, "mouseup", t._onDrop), w(document, "touchend", t._onDrop), w(document, "touchcancel", t._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(t, i, c)), E(document, "drop", t), p(c, "transform", "translateZ(0)")), he = !0, t._dragStartId = Ye(t._dragStarted.bind(t, o, e)), E(document, "selectstart", t), _e = !0, window.getSelection().removeAllRanges(), Te && p(document.body, "user-select", "none");
844
844
  },
845
845
  // Returns true - if no further action is needed (either inserted or another condition)
846
846
  _onDragOver: function(e) {
847
- var o = this.el, t = e.target, i, r, a, l = this.options, s = l.group, u = p.active, d = ke === s, f = l.sort, b = P || u, E, m = this, v = !1;
847
+ var o = this.el, t = e.target, i, r, a, l = this.options, s = l.group, u = g.active, f = ke === s, d = l.sort, b = P || u, y, m = this, h = !1;
848
848
  if (ut) return;
849
- function D(Ee, Ut) {
849
+ function _(Ee, qt) {
850
850
  F(Ee, m, j({
851
851
  evt: e,
852
- isOwner: d,
853
- axis: E ? "vertical" : "horizontal",
852
+ isOwner: f,
853
+ axis: y ? "vertical" : "horizontal",
854
854
  revert: a,
855
855
  dragRect: i,
856
856
  targetRect: r,
857
- canSort: f,
857
+ canSort: d,
858
858
  fromSortable: b,
859
859
  target: t,
860
860
  completed: x,
861
- onMove: function(vt, qt) {
862
- return Re(_, o, c, i, vt, I(vt), e, qt);
861
+ onMove: function(vt, Kt) {
862
+ return Re(D, o, c, i, vt, I(vt), e, Kt);
863
863
  },
864
864
  changed: N
865
- }, Ut));
865
+ }, qt));
866
866
  }
867
867
  function O() {
868
- D("dragOverAnimationCapture"), m.captureAnimationState(), m !== b && b.captureAnimationState();
868
+ _("dragOverAnimationCapture"), m.captureAnimationState(), m !== b && b.captureAnimationState();
869
869
  }
870
870
  function x(Ee) {
871
- return D("dragOverCompleted", {
871
+ return _("dragOverCompleted", {
872
872
  insertion: Ee
873
- }), Ee && (d ? u._hideClone() : u._showClone(m), m !== b && (X(c, P ? P.options.ghostClass : u.options.ghostClass, !1), X(c, l.ghostClass, !0)), P !== m && m !== p.active ? P = m : m === p.active && P && (P = null), b === m && (m._ignoreWhileAnimating = t), m.animateAll(function() {
874
- D("dragOverAnimationComplete"), m._ignoreWhileAnimating = null;
875
- }), m !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (t === c && !c.animated || t === o && !t.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && t !== document && (c.parentNode[V]._isOutsideThisEl(e.target), !Ee && le(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), v = !0;
873
+ }), Ee && (f ? u._hideClone() : u._showClone(m), m !== b && (X(c, P ? P.options.ghostClass : u.options.ghostClass, !1), X(c, l.ghostClass, !0)), P !== m && m !== g.active ? P = m : m === g.active && P && (P = null), b === m && (m._ignoreWhileAnimating = t), m.animateAll(function() {
874
+ _("dragOverAnimationComplete"), m._ignoreWhileAnimating = null;
875
+ }), m !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (t === c && !c.animated || t === o && !t.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && t !== document && (c.parentNode[V]._isOutsideThisEl(e.target), !Ee && le(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), h = !0;
876
876
  }
877
877
  function N() {
878
878
  Y = L(c), ee = L(c, l.draggable), M({
@@ -884,44 +884,44 @@ p.prototype = /** @lends Sortable.prototype */
884
884
  originalEvent: e
885
885
  });
886
886
  }
887
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), t = W(t, l.draggable, o, !0), D("dragOver"), p.eventCanceled) return v;
887
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), t = W(t, l.draggable, o, !0), _("dragOver"), g.eventCanceled) return h;
888
888
  if (c.contains(e.target) || t.animated && t.animatingX && t.animatingY || m._ignoreWhileAnimating === t)
889
889
  return x(!1);
890
- if (We = !1, u && !l.disabled && (d ? f || (a = T !== _) : P === this || (this.lastPutMode = ke.checkPull(this, u, c, e)) && s.checkPut(this, u, c, e))) {
891
- if (E = this._getDirection(e, t) === "vertical", i = I(c), D("dragOverValid"), p.eventCanceled) return v;
890
+ if (We = !1, u && !l.disabled && (f ? d || (a = T !== D) : P === this || (this.lastPutMode = ke.checkPull(this, u, c, e)) && s.checkPut(this, u, c, e))) {
891
+ if (y = this._getDirection(e, t) === "vertical", i = I(c), _("dragOverValid"), g.eventCanceled) return h;
892
892
  if (a)
893
- return T = _, O(), this._hideClone(), D("revert"), p.eventCanceled || (se ? _.insertBefore(c, se) : _.appendChild(c)), x(!0);
893
+ return T = D, O(), this._hideClone(), _("revert"), g.eventCanceled || (se ? D.insertBefore(c, se) : D.appendChild(c)), x(!0);
894
894
  var k = pt(o, l.draggable);
895
- if (!k || Zn(e, E, this) && !k.animated) {
895
+ if (!k || Qn(e, y, this) && !k.animated) {
896
896
  if (k === c)
897
897
  return x(!1);
898
- if (k && o === e.target && (t = k), t && (r = I(t)), Re(_, o, c, i, t, r, e, !!t) !== !1)
898
+ if (k && o === e.target && (t = k), t && (r = I(t)), Re(D, o, c, i, t, r, e, !!t) !== !1)
899
899
  return O(), k && k.nextSibling ? o.insertBefore(c, k.nextSibling) : o.appendChild(c), T = o, N(), x(!0);
900
- } else if (k && Kn(e, E, this)) {
900
+ } else if (k && Zn(e, y, this)) {
901
901
  var oe = me(o, 0, l, !0);
902
902
  if (oe === c)
903
903
  return x(!1);
904
- if (t = oe, r = I(t), Re(_, o, c, i, t, r, e, !1) !== !1)
904
+ if (t = oe, r = I(t), Re(D, o, c, i, t, r, e, !1) !== !1)
905
905
  return O(), o.insertBefore(c, oe), T = o, N(), x(!0);
906
906
  } else if (t.parentNode === o) {
907
907
  r = I(t);
908
- var $ = 0, ie, ve = c.parentNode !== o, B = !Gn(c.animated && c.toRect || i, t.animated && t.toRect || r, E), be = E ? "top" : "left", Z = Ot(t, "top", "top") || Ot(c, "top", "top"), ye = Z ? Z.scrollTop : void 0;
909
- fe !== t && (ie = r[be], xe = !1, Me = !B && l.invertSwap || ve), $ = Qn(e, t, r, E, B ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Me, fe === t);
908
+ var $ = 0, ie, ve = c.parentNode !== o, B = !jn(c.animated && c.toRect || i, t.animated && t.toRect || r, y), be = y ? "top" : "left", Z = Ot(t, "top", "top") || Ot(c, "top", "top"), ye = Z ? Z.scrollTop : void 0;
909
+ fe !== t && (ie = r[be], xe = !1, Me = !B && l.invertSwap || ve), $ = Jn(e, t, r, y, B ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Me, fe === t);
910
910
  var z;
911
911
  if ($ !== 0) {
912
912
  var re = L(c);
913
913
  do
914
914
  re -= $, z = T.children[re];
915
- while (z && (h(z, "display") === "none" || z === g));
915
+ while (z && (p(z, "display") === "none" || z === v));
916
916
  }
917
917
  if ($ === 0 || z === t)
918
918
  return x(!1);
919
919
  fe = t, Oe = $;
920
920
  var we = t.nextElementSibling, Q = !1;
921
921
  Q = $ === 1;
922
- var Ne = Re(_, o, c, i, t, r, e, Q);
922
+ var Ne = Re(D, o, c, i, t, r, e, Q);
923
923
  if (Ne !== !1)
924
- return (Ne === 1 || Ne === -1) && (Q = Ne === 1), ut = !0, setTimeout(qn, 30), O(), Q && !we ? o.appendChild(c) : t.parentNode.insertBefore(c, Q ? we : t), Z && Xt(Z, 0, ye - Z.scrollTop), T = c.parentNode, ie !== void 0 && !Me && (Xe = Math.abs(ie - I(t)[be])), N(), x(!0);
924
+ return (Ne === 1 || Ne === -1) && (Q = Ne === 1), ut = !0, setTimeout(Kn, 30), O(), Q && !we ? o.appendChild(c) : t.parentNode.insertBefore(c, Q ? we : t), Z && Yt(Z, 0, ye - Z.scrollTop), T = c.parentNode, ie !== void 0 && !Me && (Xe = Math.abs(ie - I(t)[be])), N(), x(!0);
925
925
  }
926
926
  if (o.contains(c))
927
927
  return x(!1);
@@ -930,32 +930,32 @@ p.prototype = /** @lends Sortable.prototype */
930
930
  },
931
931
  _ignoreWhileAnimating: null,
932
932
  _offMoveEvents: function() {
933
- y(document, "mousemove", this._onTouchMove), y(document, "touchmove", this._onTouchMove), y(document, "pointermove", this._onTouchMove), y(document, "dragover", le), y(document, "mousemove", le), y(document, "touchmove", le);
933
+ w(document, "mousemove", this._onTouchMove), w(document, "touchmove", this._onTouchMove), w(document, "pointermove", this._onTouchMove), w(document, "dragover", le), w(document, "mousemove", le), w(document, "touchmove", le);
934
934
  },
935
935
  _offUpEvents: function() {
936
936
  var e = this.el.ownerDocument;
937
- y(e, "mouseup", this._onDrop), y(e, "touchend", this._onDrop), y(e, "pointerup", this._onDrop), y(e, "pointercancel", this._onDrop), y(e, "touchcancel", this._onDrop), y(document, "selectstart", this);
937
+ w(e, "mouseup", this._onDrop), w(e, "touchend", this._onDrop), w(e, "pointerup", this._onDrop), w(e, "pointercancel", this._onDrop), w(e, "touchcancel", this._onDrop), w(document, "selectstart", this);
938
938
  },
939
939
  _onDrop: function(e) {
940
940
  var o = this.el, t = this.options;
941
941
  if (Y = L(c), ee = L(c, t.draggable), F("drop", this, {
942
942
  evt: e
943
- }), T = c && c.parentNode, Y = L(c), ee = L(c, t.draggable), p.eventCanceled) {
943
+ }), T = c && c.parentNode, Y = L(c), ee = L(c, t.draggable), g.eventCanceled) {
944
944
  this._nulling();
945
945
  return;
946
946
  }
947
- he = !1, Me = !1, xe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ct(this.cloneId), ct(this._dragStartId), this.nativeDraggable && (y(document, "drop", this), y(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Te && h(document.body, "user-select", ""), h(c, "transform", ""), e && (_e && (e.cancelable && e.preventDefault(), !t.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (_ === T || P && P.lastPutMode !== "clone") && S && S.parentNode && S.parentNode.removeChild(S), c && (this.nativeDraggable && y(c, "dragend", this), nt(c), c.style["will-change"] = "", _e && !he && X(c, P ? P.options.ghostClass : this.options.ghostClass, !1), X(c, this.options.chosenClass, !1), M({
947
+ he = !1, Me = !1, xe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ct(this.cloneId), ct(this._dragStartId), this.nativeDraggable && (w(document, "drop", this), w(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Te && p(document.body, "user-select", ""), p(c, "transform", ""), e && (_e && (e.cancelable && e.preventDefault(), !t.dropBubble && e.stopPropagation()), v && v.parentNode && v.parentNode.removeChild(v), (D === T || P && P.lastPutMode !== "clone") && S && S.parentNode && S.parentNode.removeChild(S), c && (this.nativeDraggable && w(c, "dragend", this), nt(c), c.style["will-change"] = "", _e && !he && X(c, P ? P.options.ghostClass : this.options.ghostClass, !1), X(c, this.options.chosenClass, !1), M({
948
948
  sortable: this,
949
949
  name: "unchoose",
950
950
  toEl: T,
951
951
  newIndex: null,
952
952
  newDraggableIndex: null,
953
953
  originalEvent: e
954
- }), _ !== T ? (Y >= 0 && (M({
954
+ }), D !== T ? (Y >= 0 && (M({
955
955
  rootEl: T,
956
956
  name: "add",
957
957
  toEl: T,
958
- fromEl: _,
958
+ fromEl: D,
959
959
  originalEvent: e
960
960
  }), M({
961
961
  sortable: this,
@@ -966,7 +966,7 @@ p.prototype = /** @lends Sortable.prototype */
966
966
  rootEl: T,
967
967
  name: "sort",
968
968
  toEl: T,
969
- fromEl: _,
969
+ fromEl: D,
970
970
  originalEvent: e
971
971
  }), M({
972
972
  sortable: this,
@@ -983,7 +983,7 @@ p.prototype = /** @lends Sortable.prototype */
983
983
  name: "sort",
984
984
  toEl: T,
985
985
  originalEvent: e
986
- })), p.active && ((Y == null || Y === -1) && (Y = pe, ee = Ie), M({
986
+ })), g.active && ((Y == null || Y === -1) && (Y = pe, ee = Ie), M({
987
987
  sortable: this,
988
988
  name: "end",
989
989
  toEl: T,
@@ -991,7 +991,7 @@ p.prototype = /** @lends Sortable.prototype */
991
991
  }), this.save()))), this._nulling();
992
992
  },
993
993
  _nulling: function() {
994
- F("nulling", this), _ = c = T = g = se = S = Be = te = ae = H = _e = Y = ee = pe = Ie = fe = Oe = P = ke = p.dragged = p.ghost = p.clone = p.active = null, Ge.forEach(function(e) {
994
+ F("nulling", this), D = c = T = v = se = S = Be = te = ae = H = _e = Y = ee = pe = Ie = fe = Oe = P = ke = g.dragged = g.ghost = g.clone = g.active = null, Ge.forEach(function(e) {
995
995
  e.checked = !0;
996
996
  }), Ge.length = Je = et = 0;
997
997
  },
@@ -1003,7 +1003,7 @@ p.prototype = /** @lends Sortable.prototype */
1003
1003
  break;
1004
1004
  case "dragenter":
1005
1005
  case "dragover":
1006
- c && (this._onDragOver(e), Un(e));
1006
+ c && (this._onDragOver(e), qn(e));
1007
1007
  break;
1008
1008
  case "selectstart":
1009
1009
  e.preventDefault();
@@ -1016,7 +1016,7 @@ p.prototype = /** @lends Sortable.prototype */
1016
1016
  */
1017
1017
  toArray: function() {
1018
1018
  for (var e = [], o, t = this.el.children, i = 0, r = t.length, a = this.options; i < r; i++)
1019
- o = t[i], W(o, a.draggable, this.el, !1) && e.push(o.getAttribute(a.dataIdAttr) || eo(o));
1019
+ o = t[i], W(o, a.draggable, this.el, !1) && e.push(o.getAttribute(a.dataIdAttr) || to(o));
1020
1020
  return e;
1021
1021
  },
1022
1022
  /**
@@ -1059,7 +1059,7 @@ p.prototype = /** @lends Sortable.prototype */
1059
1059
  if (o === void 0)
1060
1060
  return t[e];
1061
1061
  var i = Ae.modifyOption(this, e, o);
1062
- typeof i < "u" ? t[e] = i : t[e] = o, e === "group" && $t(t);
1062
+ typeof i < "u" ? t[e] = i : t[e] = o, e === "group" && Gt(t);
1063
1063
  },
1064
1064
  /**
1065
1065
  * Destroy
@@ -1067,14 +1067,14 @@ p.prototype = /** @lends Sortable.prototype */
1067
1067
  destroy: function() {
1068
1068
  F("destroy", this);
1069
1069
  var e = this.el;
1070
- e[V] = null, y(e, "mousedown", this._onTapStart), y(e, "touchstart", this._onTapStart), y(e, "pointerdown", this._onTapStart), this.nativeDraggable && (y(e, "dragover", this), y(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(o) {
1070
+ e[V] = null, w(e, "mousedown", this._onTapStart), w(e, "touchstart", this._onTapStart), w(e, "pointerdown", this._onTapStart), this.nativeDraggable && (w(e, "dragover", this), w(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(o) {
1071
1071
  o.removeAttribute("draggable");
1072
1072
  }), this._onDrop(), this._disableDelayedDragEvents(), $e.splice($e.indexOf(this.el), 1), this.el = e = null;
1073
1073
  },
1074
1074
  _hideClone: function() {
1075
1075
  if (!te) {
1076
- if (F("hideClone", this), p.eventCanceled) return;
1077
- h(S, "display", "none"), this.options.removeCloneOnHide && S.parentNode && S.parentNode.removeChild(S), te = !0;
1076
+ if (F("hideClone", this), g.eventCanceled) return;
1077
+ p(S, "display", "none"), this.options.removeCloneOnHide && S.parentNode && S.parentNode.removeChild(S), te = !0;
1078
1078
  }
1079
1079
  },
1080
1080
  _showClone: function(e) {
@@ -1083,57 +1083,57 @@ p.prototype = /** @lends Sortable.prototype */
1083
1083
  return;
1084
1084
  }
1085
1085
  if (te) {
1086
- if (F("showClone", this), p.eventCanceled) return;
1087
- c.parentNode == _ && !this.options.group.revertClone ? _.insertBefore(S, c) : se ? _.insertBefore(S, se) : _.appendChild(S), this.options.group.revertClone && this.animate(c, S), h(S, "display", ""), te = !1;
1086
+ if (F("showClone", this), g.eventCanceled) return;
1087
+ c.parentNode == D && !this.options.group.revertClone ? D.insertBefore(S, c) : se ? D.insertBefore(S, se) : D.appendChild(S), this.options.group.revertClone && this.animate(c, S), p(S, "display", ""), te = !1;
1088
1088
  }
1089
1089
  }
1090
1090
  };
1091
- function Un(n) {
1091
+ function qn(n) {
1092
1092
  n.dataTransfer && (n.dataTransfer.dropEffect = "move"), n.cancelable && n.preventDefault();
1093
1093
  }
1094
1094
  function Re(n, e, o, t, i, r, a, l) {
1095
- var s, u = n[V], d = u.options.onMove, f;
1095
+ var s, u = n[V], f = u.options.onMove, d;
1096
1096
  return window.CustomEvent && !K && !Pe ? s = new CustomEvent("move", {
1097
1097
  bubbles: !0,
1098
1098
  cancelable: !0
1099
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = n, s.dragged = o, s.draggedRect = t, s.related = i || e, s.relatedRect = r || I(e), s.willInsertAfter = l, s.originalEvent = a, n.dispatchEvent(s), d && (f = d.call(u, s, a)), f;
1099
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = n, s.dragged = o, s.draggedRect = t, s.related = i || e, s.relatedRect = r || I(e), s.willInsertAfter = l, s.originalEvent = a, n.dispatchEvent(s), f && (d = f.call(u, s, a)), d;
1100
1100
  }
1101
1101
  function nt(n) {
1102
1102
  n.draggable = !1;
1103
1103
  }
1104
- function qn() {
1104
+ function Kn() {
1105
1105
  ut = !1;
1106
1106
  }
1107
- function Kn(n, e, o) {
1108
- var t = I(me(o.el, 0, o.options, !0)), i = Lt(o.el, o.options, g), r = 10;
1107
+ function Zn(n, e, o) {
1108
+ var t = I(me(o.el, 0, o.options, !0)), i = Ht(o.el, o.options, v), r = 10;
1109
1109
  return e ? n.clientX < i.left - r || n.clientY < t.top && n.clientX < t.right : n.clientY < i.top - r || n.clientY < t.bottom && n.clientX < t.left;
1110
1110
  }
1111
- function Zn(n, e, o) {
1112
- var t = I(pt(o.el, o.options.draggable)), i = Lt(o.el, o.options, g), r = 10;
1111
+ function Qn(n, e, o) {
1112
+ var t = I(pt(o.el, o.options.draggable)), i = Ht(o.el, o.options, v), r = 10;
1113
1113
  return e ? n.clientX > i.right + r || n.clientY > t.bottom && n.clientX > t.left : n.clientY > i.bottom + r || n.clientX > t.right && n.clientY > t.top;
1114
1114
  }
1115
- function Qn(n, e, o, t, i, r, a, l) {
1116
- var s = t ? n.clientY : n.clientX, u = t ? o.height : o.width, d = t ? o.top : o.left, f = t ? o.bottom : o.right, b = !1;
1115
+ function Jn(n, e, o, t, i, r, a, l) {
1116
+ var s = t ? n.clientY : n.clientX, u = t ? o.height : o.width, f = t ? o.top : o.left, d = t ? o.bottom : o.right, b = !1;
1117
1117
  if (!a) {
1118
1118
  if (l && Xe < u * i) {
1119
- if (!xe && (Oe === 1 ? s > d + u * r / 2 : s < f - u * r / 2) && (xe = !0), xe)
1119
+ if (!xe && (Oe === 1 ? s > f + u * r / 2 : s < d - u * r / 2) && (xe = !0), xe)
1120
1120
  b = !0;
1121
- else if (Oe === 1 ? s < d + Xe : s > f - Xe)
1121
+ else if (Oe === 1 ? s < f + Xe : s > d - Xe)
1122
1122
  return -Oe;
1123
- } else if (s > d + u * (1 - i) / 2 && s < f - u * (1 - i) / 2)
1124
- return Jn(e);
1123
+ } else if (s > f + u * (1 - i) / 2 && s < d - u * (1 - i) / 2)
1124
+ return eo(e);
1125
1125
  }
1126
- return b = b || a, b && (s < d + u * r / 2 || s > f - u * r / 2) ? s > d + u / 2 ? 1 : -1 : 0;
1126
+ return b = b || a, b && (s < f + u * r / 2 || s > d - u * r / 2) ? s > f + u / 2 ? 1 : -1 : 0;
1127
1127
  }
1128
- function Jn(n) {
1128
+ function eo(n) {
1129
1129
  return L(c) < L(n) ? 1 : -1;
1130
1130
  }
1131
- function eo(n) {
1131
+ function to(n) {
1132
1132
  for (var e = n.tagName + n.className + n.src + n.href + n.textContent, o = e.length, t = 0; o--; )
1133
1133
  t += e.charCodeAt(o);
1134
1134
  return t.toString(36);
1135
1135
  }
1136
- function to(n) {
1136
+ function no(n) {
1137
1137
  Ge.length = 0;
1138
1138
  for (var e = n.getElementsByTagName("input"), o = e.length; o--; ) {
1139
1139
  var t = e[o];
@@ -1146,47 +1146,47 @@ function Ye(n) {
1146
1146
  function ct(n) {
1147
1147
  return clearTimeout(n);
1148
1148
  }
1149
- ze && w(document, "touchmove", function(n) {
1150
- (p.active || he) && n.cancelable && n.preventDefault();
1149
+ ze && E(document, "touchmove", function(n) {
1150
+ (g.active || he) && n.cancelable && n.preventDefault();
1151
1151
  });
1152
- p.utils = {
1153
- on: w,
1154
- off: y,
1155
- css: h,
1156
- find: Vt,
1152
+ g.utils = {
1153
+ on: E,
1154
+ off: w,
1155
+ css: p,
1156
+ find: Bt,
1157
1157
  is: function(e, o) {
1158
1158
  return !!W(e, o, e, !1);
1159
1159
  },
1160
- extend: Vn,
1161
- throttle: Bt,
1160
+ extend: Bn,
1161
+ throttle: Xt,
1162
1162
  closest: W,
1163
1163
  toggleClass: X,
1164
- clone: Yt,
1164
+ clone: Lt,
1165
1165
  index: L,
1166
1166
  nextTick: Ye,
1167
1167
  cancelNextTick: ct,
1168
- detectDirection: Wt,
1168
+ detectDirection: $t,
1169
1169
  getChild: me,
1170
1170
  expando: V
1171
1171
  };
1172
- p.get = function(n) {
1172
+ g.get = function(n) {
1173
1173
  return n[V];
1174
1174
  };
1175
- p.mount = function() {
1175
+ g.mount = function() {
1176
1176
  for (var n = arguments.length, e = new Array(n), o = 0; o < n; o++)
1177
1177
  e[o] = arguments[o];
1178
1178
  e[0].constructor === Array && (e = e[0]), e.forEach(function(t) {
1179
1179
  if (!t.prototype || !t.prototype.constructor)
1180
1180
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));
1181
- t.utils && (p.utils = j(j({}, p.utils), t.utils)), Ae.mount(t);
1181
+ t.utils && (g.utils = j(j({}, g.utils), t.utils)), Ae.mount(t);
1182
1182
  });
1183
1183
  };
1184
- p.create = function(n, e) {
1185
- return new p(n, e);
1184
+ g.create = function(n, e) {
1185
+ return new g(n, e);
1186
1186
  };
1187
- p.version = Fn;
1187
+ g.version = Rn;
1188
1188
  var C = [], De, dt, ft = !1, ot, it, je, Se;
1189
- function no() {
1189
+ function oo() {
1190
1190
  function n() {
1191
1191
  this.defaults = {
1192
1192
  scroll: !0,
@@ -1201,14 +1201,14 @@ function no() {
1201
1201
  return n.prototype = {
1202
1202
  dragStarted: function(o) {
1203
1203
  var t = o.originalEvent;
1204
- this.sortable.nativeDraggable ? w(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? w(document, "pointermove", this._handleFallbackAutoScroll) : t.touches ? w(document, "touchmove", this._handleFallbackAutoScroll) : w(document, "mousemove", this._handleFallbackAutoScroll);
1204
+ this.sortable.nativeDraggable ? E(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? E(document, "pointermove", this._handleFallbackAutoScroll) : t.touches ? E(document, "touchmove", this._handleFallbackAutoScroll) : E(document, "mousemove", this._handleFallbackAutoScroll);
1205
1205
  },
1206
1206
  dragOverCompleted: function(o) {
1207
1207
  var t = o.originalEvent;
1208
1208
  !this.options.dragOverBubble && !t.rootEl && this._handleAutoScroll(t);
1209
1209
  },
1210
1210
  drop: function() {
1211
- this.sortable.nativeDraggable ? y(document, "dragover", this._handleAutoScroll) : (y(document, "pointermove", this._handleFallbackAutoScroll), y(document, "touchmove", this._handleFallbackAutoScroll), y(document, "mousemove", this._handleFallbackAutoScroll)), kt(), Le(), Bn();
1211
+ this.sortable.nativeDraggable ? w(document, "dragover", this._handleAutoScroll) : (w(document, "pointermove", this._handleFallbackAutoScroll), w(document, "touchmove", this._handleFallbackAutoScroll), w(document, "mousemove", this._handleFallbackAutoScroll)), kt(), Le(), Xn();
1212
1212
  },
1213
1213
  nulling: function() {
1214
1214
  je = dt = De = ft = Se = ot = it = null, C.length = 0;
@@ -1246,35 +1246,35 @@ function Le() {
1246
1246
  function kt() {
1247
1247
  clearInterval(Se);
1248
1248
  }
1249
- var rt = Bt(function(n, e, o, t) {
1249
+ var rt = Xt(function(n, e, o, t) {
1250
1250
  if (e.scroll) {
1251
- var i = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = G(), u = !1, d;
1252
- dt !== o && (dt = o, Le(), De = e.scroll, d = e.scrollFn, De === !0 && (De = ne(o, !0)));
1253
- var f = 0, b = De;
1251
+ var i = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = G(), u = !1, f;
1252
+ dt !== o && (dt = o, Le(), De = e.scroll, f = e.scrollFn, De === !0 && (De = ne(o, !0)));
1253
+ var d = 0, b = De;
1254
1254
  do {
1255
- var E = b, m = I(E), v = m.top, D = m.bottom, O = m.left, x = m.right, N = m.width, k = m.height, oe = void 0, $ = void 0, ie = E.scrollWidth, ve = E.scrollHeight, B = h(E), be = E.scrollLeft, Z = E.scrollTop;
1256
- E === s ? (oe = N < ie && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), $ = k < ve && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (oe = N < ie && (B.overflowX === "auto" || B.overflowX === "scroll"), $ = k < ve && (B.overflowY === "auto" || B.overflowY === "scroll"));
1257
- var ye = oe && (Math.abs(x - i) <= a && be + N < ie) - (Math.abs(O - i) <= a && !!be), z = $ && (Math.abs(D - r) <= a && Z + k < ve) - (Math.abs(v - r) <= a && !!Z);
1258
- if (!C[f])
1259
- for (var re = 0; re <= f; re++)
1255
+ var y = b, m = I(y), h = m.top, _ = m.bottom, O = m.left, x = m.right, N = m.width, k = m.height, oe = void 0, $ = void 0, ie = y.scrollWidth, ve = y.scrollHeight, B = p(y), be = y.scrollLeft, Z = y.scrollTop;
1256
+ y === s ? (oe = N < ie && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), $ = k < ve && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (oe = N < ie && (B.overflowX === "auto" || B.overflowX === "scroll"), $ = k < ve && (B.overflowY === "auto" || B.overflowY === "scroll"));
1257
+ var ye = oe && (Math.abs(x - i) <= a && be + N < ie) - (Math.abs(O - i) <= a && !!be), z = $ && (Math.abs(_ - r) <= a && Z + k < ve) - (Math.abs(h - r) <= a && !!Z);
1258
+ if (!C[d])
1259
+ for (var re = 0; re <= d; re++)
1260
1260
  C[re] || (C[re] = {});
1261
- (C[f].vx != ye || C[f].vy != z || C[f].el !== E) && (C[f].el = E, C[f].vx = ye, C[f].vy = z, clearInterval(C[f].pid), (ye != 0 || z != 0) && (u = !0, C[f].pid = setInterval((function() {
1262
- t && this.layer === 0 && p.active._onTouchMove(je);
1261
+ (C[d].vx != ye || C[d].vy != z || C[d].el !== y) && (C[d].el = y, C[d].vx = ye, C[d].vy = z, clearInterval(C[d].pid), (ye != 0 || z != 0) && (u = !0, C[d].pid = setInterval((function() {
1262
+ t && this.layer === 0 && g.active._onTouchMove(je);
1263
1263
  var we = C[this.layer].vy ? C[this.layer].vy * l : 0, Q = C[this.layer].vx ? C[this.layer].vx * l : 0;
1264
- typeof d == "function" && d.call(p.dragged.parentNode[V], Q, we, n, je, C[this.layer].el) !== "continue" || Xt(C[this.layer].el, Q, we);
1264
+ typeof f == "function" && f.call(g.dragged.parentNode[V], Q, we, n, je, C[this.layer].el) !== "continue" || Yt(C[this.layer].el, Q, we);
1265
1265
  }).bind({
1266
- layer: f
1267
- }), 24))), f++;
1266
+ layer: d
1267
+ }), 24))), d++;
1268
1268
  } while (e.bubbleScroll && b !== s && (b = ne(b, !1)));
1269
1269
  ft = u;
1270
1270
  }
1271
- }, 30), zt = function(e) {
1271
+ }, 30), Ut = function(e) {
1272
1272
  var o = e.originalEvent, t = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1273
1273
  if (o) {
1274
1274
  var u = t || r;
1275
1275
  l();
1276
- var d = o.changedTouches && o.changedTouches.length ? o.changedTouches[0] : o, f = document.elementFromPoint(d.clientX, d.clientY);
1277
- s(), u && !u.el.contains(f) && (a("spill"), this.onSpill({
1276
+ var f = o.changedTouches && o.changedTouches.length ? o.changedTouches[0] : o, d = document.elementFromPoint(f.clientX, f.clientY);
1277
+ s(), u && !u.el.contains(d) && (a("spill"), this.onSpill({
1278
1278
  dragEl: i,
1279
1279
  putSortable: t
1280
1280
  }));
@@ -1294,7 +1294,7 @@ gt.prototype = {
1294
1294
  var i = me(this.sortable.el, this.startIndex, this.options);
1295
1295
  i ? this.sortable.el.insertBefore(o, i) : this.sortable.el.appendChild(o), this.sortable.animateAll(), t && t.animateAll();
1296
1296
  },
1297
- drop: zt
1297
+ drop: Ut
1298
1298
  };
1299
1299
  q(gt, {
1300
1300
  pluginName: "revertOnSpill"
@@ -1306,44 +1306,58 @@ mt.prototype = {
1306
1306
  var o = e.dragEl, t = e.putSortable, i = t || this.sortable;
1307
1307
  i.captureAnimationState(), o.parentNode && o.parentNode.removeChild(o), i.animateAll();
1308
1308
  },
1309
- drop: zt
1309
+ drop: Ut
1310
1310
  };
1311
1311
  q(mt, {
1312
1312
  pluginName: "removeOnSpill"
1313
1313
  });
1314
- p.mount(new no());
1315
- p.mount(mt, gt);
1316
- function oo(n, e, o = {}) {
1314
+ g.mount(new oo());
1315
+ g.mount(mt, gt);
1316
+ function io(n, e, o = {}) {
1317
1317
  let t;
1318
- const { document: i = an, ...r } = o, a = { onUpdate: (d) => {
1319
- ao(e, d.oldIndex, d.newIndex, d);
1320
- } }, l = () => {
1321
- const d = typeof n == "string" ? i?.querySelector(n) : un(n);
1322
- !d || t !== void 0 || (t = new p(d, {
1323
- ...a,
1324
- ...r
1325
- }));
1326
- }, s = () => {
1318
+ const { document: i = ln, watchElement: r = !1, ...a } = o, l = { onUpdate: (h) => {
1319
+ lo(e, h.oldIndex, h.newIndex, h);
1320
+ } }, s = Mt(() => typeof n == "string" ? i?.querySelector(n) : sn(n)), u = () => {
1327
1321
  t?.destroy(), t = void 0;
1328
- }, u = (d, f) => {
1329
- if (f !== void 0) t?.option(d, f);
1330
- else return t?.option(d);
1322
+ }, f = (h) => {
1323
+ !h || t !== void 0 || (t = new g(h, {
1324
+ ...l,
1325
+ ...a
1326
+ }));
1327
+ }, d = () => {
1328
+ const h = s.value;
1329
+ h && f(h);
1330
+ }, b = (h, _) => {
1331
+ if (_ !== void 0) t?.option(h, _);
1332
+ else return t?.option(h);
1333
+ };
1334
+ let y;
1335
+ r && typeof n != "string" ? y = Qt(s, (h) => {
1336
+ u(), h && f(h);
1337
+ }, {
1338
+ immediate: !0,
1339
+ flush: "post"
1340
+ }) : un(d);
1341
+ const m = () => {
1342
+ u();
1331
1343
  };
1332
- return ln(l), sn(s), {
1333
- stop: s,
1334
- start: l,
1335
- option: u
1344
+ return cn(() => {
1345
+ y?.(), u();
1346
+ }), {
1347
+ stop: m,
1348
+ start: d,
1349
+ option: b
1336
1350
  };
1337
1351
  }
1338
- function io(n, e, o) {
1352
+ function ro(n, e, o) {
1339
1353
  const t = n.children[o];
1340
1354
  n.insertBefore(e, t);
1341
1355
  }
1342
- function ro(n) {
1356
+ function ao(n) {
1343
1357
  n.parentNode && n.parentNode.removeChild(n);
1344
1358
  }
1345
- function ao(n, e, o, t = null) {
1346
- t != null && (ro(t.item), io(t.from, t.item, e));
1359
+ function lo(n, e, o, t = null) {
1360
+ t != null && (ao(t.item), ro(t.from, t.item, e));
1347
1361
  const i = at(n), r = i ? [...yt(n)] : yt(n);
1348
1362
  if (o >= 0 && o < r.length) {
1349
1363
  const a = r.splice(e, 1)[0];
@@ -1352,58 +1366,58 @@ function ao(n, e, o, t = null) {
1352
1366
  });
1353
1367
  }
1354
1368
  }
1355
- const lo = { class: "text-medium-emphasis ps-2" }, go = {
1369
+ const so = { class: "text-medium-emphasis ps-2" }, mo = {
1356
1370
  __name: "Dialog",
1357
1371
  setup(n, { expose: e }) {
1358
- const o = st("table_props"), t = st("datatablesPluginOptions"), { tableState: i } = hn(), { tableDataState: r } = pn(o), a = ue(0), l = Zt("listRef"), s = ue(!1), u = ue([]), d = ue([]), f = ue([]), b = () => {
1372
+ const o = st("table_props"), t = st("datatablesPluginOptions"), { tableState: i } = pn(), { tableDataState: r } = gn(o), a = ue(0), l = Jt("listRef"), s = ue(!1), u = ue([]), f = ue([]), d = ue([]), b = () => {
1359
1373
  s.value = !0;
1360
1374
  };
1361
- Qt(async () => {
1362
- d.value = i.value.options.columns?.selected, f.value = i.value.options.columns?.sorted, u.value = f.value.map((v) => o.headers.find((D) => D.key === v)), await lt();
1363
- const { option: m } = oo(l, u, {
1364
- onUpdate: async (v) => {
1375
+ en(async () => {
1376
+ f.value = i.value.options.columns?.selected, d.value = i.value.options.columns?.sorted, u.value = d.value.map((h) => o.headers.find((_) => _.key === h)), await lt();
1377
+ const { option: m } = io(l, u, {
1378
+ onUpdate: async (h) => {
1365
1379
  await lt();
1366
- const D = Array.from(v.from.children).map(function(O) {
1380
+ const _ = Array.from(h.from.children).map(function(O) {
1367
1381
  return O.getAttribute("header-keys");
1368
1382
  });
1369
- qe(D, f.value) || (f.value = D);
1383
+ qe(_, d.value) || (d.value = _);
1370
1384
  }
1371
1385
  });
1372
1386
  m("animation", 200);
1373
1387
  });
1374
- const E = () => {
1375
- (!qe(d.value, i.value.options.columns?.selected) || !qe(f.value, i.value.options.columns?.sorted)) && (r.value.options.columns.selected = d.value, r.value.options.columns.sorted = f.value), s.value = !1;
1388
+ const y = () => {
1389
+ (!qe(f.value, i.value.options.columns?.selected) || !qe(d.value, i.value.options.columns?.sorted)) && (r.value.options.columns.selected = f.value, r.value.options.columns.sorted = d.value), s.value = !1;
1376
1390
  };
1377
- return e({ openDialog: b }), (m, v) => (Ue(), wt(gn, {
1391
+ return e({ openDialog: b }), (m, h) => (Ue(), wt(mn, {
1378
1392
  modelValue: ce(s),
1379
- "onUpdate:modelValue": v[1] || (v[1] = (D) => at(s) ? s.value = D : null),
1393
+ "onUpdate:modelValue": h[1] || (h[1] = (_) => at(s) ? s.value = _ : null),
1380
1394
  "max-width": "500",
1381
1395
  eager: "",
1382
1396
  "retain-focus": !1
1383
1397
  }, {
1384
- default: J(({ isActive: D }) => [
1385
- R(mn, { rounded: "lg" }, {
1398
+ default: J(({ isActive: _ }) => [
1399
+ R(vn, { rounded: "lg" }, {
1386
1400
  default: J(() => [
1387
- R(vn, { class: "d-flex justify-space-between align-center" }, {
1401
+ R(bn, { class: "d-flex justify-space-between align-center" }, {
1388
1402
  default: J(() => [
1389
- Jt("div", lo, en(m.$t("$datatables.selectColumns")), 1),
1403
+ tn("div", so, nn(m.$t("$datatables.selectColumns")), 1),
1390
1404
  R(Ke, {
1391
1405
  icon: ce(t).header.icons.close,
1392
1406
  variant: "text",
1393
- onClick: (O) => D.value = !1
1407
+ onClick: (O) => _.value = !1
1394
1408
  }, null, 8, ["icon", "onClick"])
1395
1409
  ]),
1396
1410
  _: 2
1397
1411
  }, 1024),
1398
1412
  R(St),
1399
- R(bn, { class: "overflow-auto pt-8" }, {
1413
+ R(yn, { class: "overflow-auto pt-8" }, {
1400
1414
  default: J(() => [
1401
- R(Cn, {
1415
+ R(In, {
1402
1416
  ref_key: "listRef",
1403
1417
  ref: l
1404
1418
  }, {
1405
1419
  default: J(() => [
1406
- (Ue(!0), tn(nn, null, on(ce(u), (O, x) => (Ue(), wt(In, {
1420
+ (Ue(!0), on(rn, null, an(ce(u), (O, x) => (Ue(), wt(On, {
1407
1421
  key: `${ce(a)}-${x}`,
1408
1422
  title: O?.title,
1409
1423
  "header-keys": O?.key,
@@ -1411,15 +1425,15 @@ const lo = { class: "text-medium-emphasis ps-2" }, go = {
1411
1425
  }
1412
1426
  }, {
1413
1427
  prepend: J(() => [
1414
- R(An, {
1415
- modelValue: ce(d),
1416
- "onUpdate:modelValue": v[0] || (v[0] = (N) => at(d) ? d.value = N : null),
1428
+ R(Nn, {
1429
+ modelValue: ce(f),
1430
+ "onUpdate:modelValue": h[0] || (h[0] = (N) => at(f) ? f.value = N : null),
1417
1431
  value: O?.key,
1418
1432
  "hide-details": ""
1419
1433
  }, null, 8, ["modelValue", "value"])
1420
1434
  ]),
1421
1435
  append: J(() => [
1422
- R(On, {
1436
+ R(xn, {
1423
1437
  icon: ce(t).header.icons.drag
1424
1438
  }, null, 8, ["icon"])
1425
1439
  ]),
@@ -1432,19 +1446,19 @@ const lo = { class: "text-medium-emphasis ps-2" }, go = {
1432
1446
  _: 1
1433
1447
  }),
1434
1448
  R(St, { class: "mt-2" }),
1435
- R(yn, { class: "my-2 d-flex justify-end" }, {
1449
+ R(wn, { class: "my-2 d-flex justify-end" }, {
1436
1450
  default: J(() => [
1437
1451
  R(Ke, {
1438
1452
  class: "text-none",
1439
1453
  text: m.$t("$datatables.cancel"),
1440
- onClick: (O) => D.value = !1
1454
+ onClick: (O) => _.value = !1
1441
1455
  }, null, 8, ["text", "onClick"]),
1442
1456
  R(Ke, {
1443
1457
  class: "text-none",
1444
1458
  color: "primary",
1445
1459
  text: m.$t("$datatables.submit"),
1446
1460
  variant: "flat",
1447
- onClick: E
1461
+ onClick: y
1448
1462
  }, null, 8, ["text"])
1449
1463
  ]),
1450
1464
  _: 2
@@ -1457,9 +1471,9 @@ const lo = { class: "text-medium-emphasis ps-2" }, go = {
1457
1471
  }, 8, ["modelValue"]));
1458
1472
  }
1459
1473
  };
1460
- function mo() {
1461
- const n = st("datatablesPluginOptions"), { t: e } = xn(), o = ue();
1462
- return { columnsItems: rn(() => [
1474
+ function vo() {
1475
+ const n = st("datatablesPluginOptions"), { t: e } = Pn(), o = ue();
1476
+ return { columnsItems: Mt(() => [
1463
1477
  {
1464
1478
  title: `${e("$datatables.columns")}`,
1465
1479
  onClick: o.value?.openDialog,
@@ -1468,6 +1482,6 @@ function mo() {
1468
1482
  ]), columnsRef: o };
1469
1483
  }
1470
1484
  export {
1471
- go as _,
1472
- mo as u
1485
+ mo as _,
1486
+ vo as u
1473
1487
  };