@caspeco/casper-ui-library 9.0.2 → 9.2.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 (105) hide show
  1. package/README.md +10 -4
  2. package/dist/components/combobox/combobox.d.ts.map +1 -1
  3. package/dist/components/icon/icons/calendar-icon.d.ts +2 -0
  4. package/dist/components/icon/icons/calendar-icon.d.ts.map +1 -0
  5. package/dist/components/icon/icons/calendar-icon.js +8 -0
  6. package/dist/components/icon/icons/cart-icon.js +1 -1
  7. package/dist/components/icon/icons/closed-icon.d.ts +2 -0
  8. package/dist/components/icon/icons/closed-icon.d.ts.map +1 -0
  9. package/dist/components/icon/icons/closed-icon.js +8 -0
  10. package/dist/components/icon/icons/comment-add-icon.d.ts +2 -0
  11. package/dist/components/icon/icons/comment-add-icon.d.ts.map +1 -0
  12. package/dist/components/icon/icons/comment-add-icon.js +8 -0
  13. package/dist/components/icon/icons/comment-icon.js +1 -1
  14. package/dist/components/icon/icons/deliverect-icon.d.ts +2 -0
  15. package/dist/components/icon/icons/deliverect-icon.d.ts.map +1 -0
  16. package/dist/components/icon/icons/deliverect-icon.js +8 -0
  17. package/dist/components/icon/icons/door-closed-icon.d.ts +2 -0
  18. package/dist/components/icon/icons/door-closed-icon.d.ts.map +1 -0
  19. package/dist/components/icon/icons/door-closed-icon.js +8 -0
  20. package/dist/components/icon/icons/door-open-icon.d.ts +2 -0
  21. package/dist/components/icon/icons/door-open-icon.d.ts.map +1 -0
  22. package/dist/components/icon/icons/door-open-icon.js +8 -0
  23. package/dist/components/icon/icons/failed-print-icon.d.ts +2 -0
  24. package/dist/components/icon/icons/failed-print-icon.d.ts.map +1 -0
  25. package/dist/components/icon/icons/failed-print-icon.js +8 -0
  26. package/dist/components/icon/icons/index.d.ts +27 -4
  27. package/dist/components/icon/icons/index.d.ts.map +1 -1
  28. package/dist/components/icon/icons/key-command-icon.d.ts +2 -0
  29. package/dist/components/icon/icons/key-command-icon.d.ts.map +1 -0
  30. package/dist/components/icon/icons/key-command-icon.js +8 -0
  31. package/dist/components/icon/icons/key-enter-icon.d.ts +2 -0
  32. package/dist/components/icon/icons/key-enter-icon.d.ts.map +1 -0
  33. package/dist/components/icon/icons/key-enter-icon.js +8 -0
  34. package/dist/components/icon/icons/key-option-icon.d.ts +2 -0
  35. package/dist/components/icon/icons/key-option-icon.d.ts.map +1 -0
  36. package/dist/components/icon/icons/key-option-icon.js +8 -0
  37. package/dist/components/icon/icons/message-add-icon.d.ts +2 -0
  38. package/dist/components/icon/icons/message-add-icon.d.ts.map +1 -0
  39. package/dist/components/icon/icons/message-add-icon.js +8 -0
  40. package/dist/components/icon/icons/message-icon.js +1 -1
  41. package/dist/components/icon/icons/message-lines-icon.d.ts +2 -0
  42. package/dist/components/icon/icons/message-lines-icon.d.ts.map +1 -0
  43. package/dist/components/icon/icons/message-lines-icon.js +8 -0
  44. package/dist/components/icon/icons/module-home-icon.js +1 -1
  45. package/dist/components/icon/icons/no-cart-icon.d.ts +2 -0
  46. package/dist/components/icon/icons/no-cart-icon.d.ts.map +1 -0
  47. package/dist/components/icon/icons/no-cart-icon.js +8 -0
  48. package/dist/components/icon/icons/note-icon.d.ts +2 -0
  49. package/dist/components/icon/icons/note-icon.d.ts.map +1 -0
  50. package/dist/components/icon/icons/note-icon.js +8 -0
  51. package/dist/components/icon/icons/product-my-pages-icon.d.ts +2 -0
  52. package/dist/components/icon/icons/product-my-pages-icon.d.ts.map +1 -0
  53. package/dist/components/icon/icons/product-my-pages-icon.js +8 -0
  54. package/dist/components/icon/icons/puck-icon.d.ts +2 -0
  55. package/dist/components/icon/icons/puck-icon.d.ts.map +1 -0
  56. package/dist/components/icon/icons/puck-icon.js +8 -0
  57. package/dist/components/icon/icons/redo-icon.d.ts +2 -0
  58. package/dist/components/icon/icons/redo-icon.d.ts.map +1 -0
  59. package/dist/components/icon/icons/redo-icon.js +8 -0
  60. package/dist/components/icon/icons/sidebar-hide-icon.d.ts +2 -0
  61. package/dist/components/icon/icons/sidebar-hide-icon.d.ts.map +1 -0
  62. package/dist/components/icon/icons/sidebar-hide-icon.js +8 -0
  63. package/dist/components/icon/icons/sidebar-left-icon.d.ts +2 -0
  64. package/dist/components/icon/icons/sidebar-left-icon.d.ts.map +1 -0
  65. package/dist/components/icon/icons/sidebar-left-icon.js +8 -0
  66. package/dist/components/icon/icons/sidebar-right-icon.d.ts +2 -0
  67. package/dist/components/icon/icons/sidebar-right-icon.d.ts.map +1 -0
  68. package/dist/components/icon/icons/sidebar-right-icon.js +8 -0
  69. package/dist/components/icon/icons/sidebar-show-icon.d.ts +2 -0
  70. package/dist/components/icon/icons/sidebar-show-icon.d.ts.map +1 -0
  71. package/dist/components/icon/icons/sidebar-show-icon.js +8 -0
  72. package/dist/components/icon/icons/swatch-icon.d.ts +2 -0
  73. package/dist/components/icon/icons/swatch-icon.d.ts.map +1 -0
  74. package/dist/components/icon/icons/swatch-icon.js +8 -0
  75. package/dist/components/icon/icons/trivec-icon.d.ts +2 -0
  76. package/dist/components/icon/icons/trivec-icon.d.ts.map +1 -0
  77. package/dist/components/icon/icons/trivec-icon.js +9 -0
  78. package/dist/components/icon/icons/waste-icon.d.ts +2 -0
  79. package/dist/components/icon/icons/waste-icon.d.ts.map +1 -0
  80. package/dist/components/icon/icons/waste-icon.js +8 -0
  81. package/dist/components/table/table-toolbar-settings.d.ts +15 -1
  82. package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
  83. package/dist/components/table/table-toolbar-settings.js +71 -44
  84. package/dist/components/table/table-toolbar-settings.spec.d.ts +2 -0
  85. package/dist/components/table/table-toolbar-settings.spec.d.ts.map +1 -0
  86. package/dist/components/table/table.constants.d.ts +2 -0
  87. package/dist/components/table/table.constants.d.ts.map +1 -0
  88. package/dist/components/table/table.constants.js +4 -0
  89. package/dist/components/table/translations.d.ts +14 -0
  90. package/dist/components/table/translations.d.ts.map +1 -1
  91. package/dist/components/table/translations.js +12 -0
  92. package/dist/index.js +727 -681
  93. package/dist/node_modules/@dnd-kit/abstract/index.js +502 -442
  94. package/dist/node_modules/@dnd-kit/dom/index.js +817 -779
  95. package/dist/node_modules/@dnd-kit/dom/sortable.js +260 -262
  96. package/dist/node_modules/@dnd-kit/dom/utilities.js +470 -463
  97. package/dist/node_modules/@dnd-kit/react/hooks.js +26 -26
  98. package/dist/node_modules/@dnd-kit/react/index.js +8 -1
  99. package/dist/node_modules/@dnd-kit/react/sortable.js +45 -46
  100. package/dist/node_modules/@preact/signals-core/dist/signals-core.module.js +11 -11
  101. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +85 -73
  102. package/package.json +20 -18
  103. package/dist/components/icon/icons/tablet-icon.d.ts +0 -2
  104. package/dist/components/icon/icons/tablet-icon.d.ts.map +0 -1
  105. package/dist/components/icon/icons/tablet-icon.js +0 -8
@@ -1,111 +1,111 @@
1
- import { WeakStore as we, reactive as te } from "../state/dist/index.js";
2
- import { defaultCollisionDetection as me, closestCorners as Se } from "../collision/dist/index.js";
3
- import { Droppable as Pe, Draggable as De, Scroller as Ee } from "./index.js";
4
- import { getComputedStyles as Ge, computeTranslate as re, prefersReducedMotion as Te, getWindow as ke, animateTransform as Me, ProxiedElements as je, isKeyboardEvent as ne, DOMRectangle as ie, getVisibleBoundingRectangle as Ce, scrollIntoViewIfNeeded as Re } from "./utilities.js";
5
- import { Plugin as ge } from "../abstract/index.js";
6
- import { Rectangle as se } from "../geometry/dist/index.js";
7
- import { batch as w, untracked as oe, effect as Ae } from "../../@preact/signals-core/dist/signals-core.module.js";
8
- var ze = Object.create, fe = Object.defineProperty, We = Object.defineProperties, $e = Object.getOwnPropertyDescriptor, Be = Object.getOwnPropertyDescriptors, J = Object.getOwnPropertySymbols, he = Object.prototype.hasOwnProperty, be = Object.prototype.propertyIsEnumerable, Le = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), N = (e) => {
1
+ import { WeakStore as Pe, reactive as te } from "../state/dist/index.js";
2
+ import { Plugin as he, resolveCustomizable as re } from "../abstract/index.js";
3
+ import { closestCorners as Se, defaultCollisionDetection as De } from "../collision/dist/index.js";
4
+ import { Droppable as Ee, Draggable as Ge, Scroller as ke, Feedback as Te } from "./index.js";
5
+ import { isKeyboardEvent as ne, DOMRectangle as ie, getVisibleBoundingRectangle as je, scrollIntoViewIfNeeded as Ce, getComputedStyles as Me, computeTranslate as se, prefersReducedMotion as Ae, getWindow as Re, animateTransform as ze, ProxiedElements as We } from "./utilities.js";
6
+ import { Rectangle as oe } from "../geometry/dist/index.js";
7
+ import { effect as $e, batch as m, untracked as ae } from "../../@preact/signals-core/dist/signals-core.module.js";
8
+ var Be = Object.create, be = Object.defineProperty, Le = Object.defineProperties, Ne = Object.getOwnPropertyDescriptor, Ve = Object.getOwnPropertyDescriptors, J = Object.getOwnPropertySymbols, ve = Object.prototype.hasOwnProperty, _e = Object.prototype.propertyIsEnumerable, qe = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), N = (e) => {
9
9
  throw TypeError(e);
10
- }, U = (e, t, r) => t in e ? fe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ae = (e, t) => {
10
+ }, U = (e, t, r) => t in e ? be(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, le = (e, t) => {
11
11
  for (var r in t || (t = {}))
12
- he.call(t, r) && U(e, r, t[r]);
12
+ ve.call(t, r) && U(e, r, t[r]);
13
13
  if (J)
14
14
  for (var r of J(t))
15
- be.call(t, r) && U(e, r, t[r]);
15
+ _e.call(t, r) && U(e, r, t[r]);
16
16
  return e;
17
- }, le = (e, t) => We(e, Be(t)), Ne = (e, t) => {
17
+ }, de = (e, t) => Le(e, Ve(t)), Fe = (e, t) => {
18
18
  var r = {};
19
19
  for (var i in e)
20
- he.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
20
+ ve.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
21
21
  if (e != null && J)
22
22
  for (var i of J(e))
23
- t.indexOf(i) < 0 && be.call(e, i) && (r[i] = e[i]);
23
+ t.indexOf(i) < 0 && _e.call(e, i) && (r[i] = e[i]);
24
24
  return r;
25
- }, Ve = (e) => {
25
+ }, Ke = (e) => {
26
26
  var t;
27
- return [, , , ze((t = void 0) != null ? t : null)];
28
- }, ve = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], W = (e) => e !== void 0 && typeof e != "function" ? N("Function expected") : e, qe = (e, t, r, i, a) => ({ kind: ve[e], name: t, metadata: i, addInitializer: (p) => r._ ? N("Already initialized") : a.push(W(p || null)) }), Fe = (e, t) => U(t, Le("metadata"), e[3]), q = (e, t, r, i) => {
29
- for (var a = 0, p = e[t >> 1], n = p && p.length; a < n; a++) t & 1 ? p[a].call(r) : i = p[a].call(r, i);
27
+ return [, , , Be((t = void 0) != null ? t : null)];
28
+ }, xe = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], W = (e) => e !== void 0 && typeof e != "function" ? N("Function expected") : e, He = (e, t, r, i, o) => ({ kind: xe[e], name: t, metadata: i, addInitializer: (p) => r._ ? N("Already initialized") : o.push(W(p || null)) }), Je = (e, t) => U(t, qe("metadata"), e[3]), q = (e, t, r, i) => {
29
+ for (var o = 0, p = e[t >> 1], n = p && p.length; o < n; o++) t & 1 ? p[o].call(r) : i = p[o].call(r, i);
30
30
  return i;
31
- }, _e = (e, t, r, i, a, p) => {
32
- for (var n, s, v, h, b, l = t & 7, o = !1, f = !1, g = e.length + 1, y = ve[l + 5], x = e[g - 1] = [], m = e[g] || (e[g] = []), I = (a = a.prototype, $e({ get [r]() {
31
+ }, ye = (e, t, r, i, o, p) => {
32
+ for (var n, s, _, b, h, g = t & 7, a = !1, c = !1, f = e.length + 1, v = xe[g + 5], y = e[f - 1] = [], w = e[f] || (e[f] = []), I = (o = o.prototype, Ne({ get [r]() {
33
33
  return $(this, p);
34
- }, set [r](c) {
35
- return G(this, p, c);
36
- } }, r)), S = i.length - 1; S >= 0; S--)
37
- h = qe(l, r, v = {}, e[3], m), h.static = o, h.private = f, b = h.access = { has: (c) => r in c }, b.get = (c) => c[r], b.set = (c, d) => c[r] = d, s = (0, i[S])({ get: I.get, set: I.set }, h), v._ = 1, s === void 0 ? W(s) && (I[y] = s) : typeof s != "object" || s === null ? N("Object expected") : (W(n = s.get) && (I.get = n), W(n = s.set) && (I.set = n), W(n = s.init) && x.unshift(n));
38
- return I && fe(a, r, I), a;
39
- }, xe = (e, t, r) => t.has(e) || N("Cannot " + r), $ = (e, t, r) => (xe(e, t, "read from private field"), t.get(e)), z = (e, t, r) => t.has(e) ? N("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), G = (e, t, r, i) => (xe(e, t, "write to private field"), t.set(e, r), r);
40
- function T(e) {
41
- return e instanceof ee || e instanceof Oe;
34
+ }, set [r](d) {
35
+ return G(this, p, d);
36
+ } }, r)), P = i.length - 1; P >= 0; P--)
37
+ b = He(g, r, _ = {}, e[3], w), b.static = a, b.private = c, h = b.access = { has: (d) => r in d }, h.get = (d) => d[r], h.set = (d, l) => d[r] = l, s = (0, i[P])({ get: I.get, set: I.set }, b), _._ = 1, s === void 0 ? W(s) && (I[v] = s) : typeof s != "object" || s === null ? N("Object expected") : (W(n = s.get) && (I.get = n), W(n = s.set) && (I.set = n), W(n = s.init) && y.unshift(n));
38
+ return I && be(o, r, I), o;
39
+ }, Ie = (e, t, r) => t.has(e) || N("Cannot " + r), $ = (e, t, r) => (Ie(e, t, "read from private field"), t.get(e)), z = (e, t, r) => t.has(e) ? N("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), G = (e, t, r, i) => (Ie(e, t, "write to private field"), t.set(e, r), r);
40
+ function k(e) {
41
+ return e instanceof ee || e instanceof we;
42
42
  }
43
- var F = 10, Ke = class extends ge {
43
+ var F = 10, Qe = class extends he {
44
44
  constructor(e) {
45
45
  super(e);
46
- const t = Ae(() => {
46
+ const t = $e(() => {
47
47
  const { dragOperation: i } = e;
48
- if (ne(i.activatorEvent) && T(i.source) && i.status.initialized) {
49
- const a = e.registry.plugins.get(Ee);
50
- if (a)
51
- return a.disable(), () => a.enable();
48
+ if (ne(i.activatorEvent) && k(i.source) && i.status.initialized) {
49
+ const o = e.registry.plugins.get(ke);
50
+ if (o)
51
+ return o.disable(), () => o.enable();
52
52
  }
53
53
  }), r = e.monitor.addEventListener(
54
54
  "dragmove",
55
- (i, a) => {
55
+ (i, o) => {
56
56
  queueMicrotask(() => {
57
57
  if (this.disabled || i.defaultPrevented || !i.nativeEvent)
58
58
  return;
59
- const { dragOperation: p } = a;
60
- if (!ne(i.nativeEvent) || !T(p.source) || !p.shape)
59
+ const { dragOperation: p } = o;
60
+ if (!ne(i.nativeEvent) || !k(p.source) || !p.shape)
61
61
  return;
62
- const { actions: n, collisionObserver: s, registry: v } = a, { by: h } = i;
63
- if (!h)
62
+ const { actions: n, collisionObserver: s, registry: _ } = o, { by: b } = i;
63
+ if (!b)
64
64
  return;
65
- const b = He(h), { source: l, target: o } = p, { center: f } = p.shape.current, g = [], y = [];
66
- w(() => {
67
- for (const d of v.droppables) {
68
- const { id: u } = d;
69
- if (!d.accepts(l) || u === o?.id && T(d) || !d.element)
65
+ const h = Ue(b), { source: g, target: a } = p, { center: c } = p.shape.current, f = [], v = [];
66
+ m(() => {
67
+ for (const l of _.droppables) {
68
+ const { id: u } = l;
69
+ if (!l.accepts(g) || u === a?.id && k(l) || !l.element)
70
70
  continue;
71
- let _ = d.shape;
72
- const O = new ie(d.element, {
73
- getBoundingClientRect: (C) => Ce(C, void 0, 0.2)
71
+ let x = l.shape;
72
+ const O = new ie(l.element, {
73
+ getBoundingClientRect: (M) => je(M, void 0, 0.2)
74
74
  });
75
- !O.height || !O.width || (b == "down" && f.y + F < O.center.y || b == "up" && f.y - F > O.center.y || b == "left" && f.x - F > O.center.x || b == "right" && f.x + F < O.center.x) && (g.push(d), d.shape = O, y.push(() => d.shape = _));
75
+ !O.height || !O.width || (h == "down" && c.y + F < O.center.y || h == "up" && c.y - F > O.center.y || h == "left" && c.x - F > O.center.x || h == "right" && c.x + F < O.center.x) && (f.push(l), l.shape = O, v.push(() => l.shape = x));
76
76
  }
77
77
  }), i.preventDefault(), s.disable();
78
- const x = s.computeCollisions(
79
- g,
78
+ const y = s.computeCollisions(
79
+ f,
80
80
  Se
81
81
  );
82
- w(() => y.forEach((d) => d()));
83
- const [m] = x;
84
- if (!m)
82
+ m(() => v.forEach((l) => l()));
83
+ const [w] = y;
84
+ if (!w)
85
85
  return;
86
- const { id: I } = m, { index: S, group: c } = l.sortable;
86
+ const { id: I } = w, { index: P, group: d } = g.sortable;
87
87
  n.setDropTarget(I).then(() => {
88
- const { source: d, target: u, shape: _ } = p;
89
- if (!d || !T(d) || !_)
88
+ const { source: l, target: u, shape: x } = p;
89
+ if (!l || !k(l) || !x)
90
90
  return;
91
91
  const {
92
92
  index: O,
93
- group: C,
93
+ group: M,
94
94
  target: D
95
- } = d.sortable, P = S !== O || c !== C, R = P ? D : u?.element;
96
- if (!R) return;
97
- Re(R);
98
- const V = new ie(R);
95
+ } = l.sortable, S = P !== O || d !== M, A = S ? D : u?.element;
96
+ if (!A) return;
97
+ Ce(A);
98
+ const V = new ie(A);
99
99
  if (!V)
100
100
  return;
101
- const A = se.delta(
101
+ const R = oe.delta(
102
102
  V,
103
- se.from(_.current.boundingRectangle),
104
- d.alignment
103
+ oe.from(x.current.boundingRectangle),
104
+ l.alignment
105
105
  );
106
106
  n.move({
107
- by: A
108
- }), P ? n.setDropTarget(d.id).then(() => s.enable()) : s.enable();
107
+ by: R
108
+ }), S ? n.setDropTarget(l.id).then(() => s.enable()) : s.enable();
109
109
  });
110
110
  });
111
111
  }
@@ -115,7 +115,7 @@ var F = 10, Ke = class extends ge {
115
115
  };
116
116
  }
117
117
  };
118
- function He(e) {
118
+ function Ue(e) {
119
119
  const { x: t, y: r } = e;
120
120
  if (t > 0)
121
121
  return "right";
@@ -126,15 +126,15 @@ function He(e) {
126
126
  if (r < 0)
127
127
  return "up";
128
128
  }
129
- var Je = Object.defineProperty, Qe = Object.defineProperties, Ue = Object.getOwnPropertyDescriptors, de = Object.getOwnPropertySymbols, Xe = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable, ce = (e, t, r) => t in e ? Je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, k = (e, t) => {
129
+ var Xe = Object.defineProperty, Ye = Object.defineProperties, Ze = Object.getOwnPropertyDescriptors, ce = Object.getOwnPropertySymbols, et = Object.prototype.hasOwnProperty, tt = Object.prototype.propertyIsEnumerable, ue = (e, t, r) => t in e ? Xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, T = (e, t) => {
130
130
  for (var r in t || (t = {}))
131
- Xe.call(t, r) && ce(e, r, t[r]);
132
- if (de)
133
- for (var r of de(t))
134
- Ye.call(t, r) && ce(e, r, t[r]);
131
+ et.call(t, r) && ue(e, r, t[r]);
132
+ if (ce)
133
+ for (var r of ce(t))
134
+ tt.call(t, r) && ue(e, r, t[r]);
135
135
  return e;
136
- }, M = (e, t) => Qe(e, Ue(t));
137
- function Ze(e, t, r) {
136
+ }, j = (e, t) => Ye(e, Ze(t));
137
+ function rt(e, t, r) {
138
138
  if (t === r)
139
139
  return e;
140
140
  const i = e.slice();
@@ -143,83 +143,83 @@ function Ze(e, t, r) {
143
143
  function Q(e) {
144
144
  return "initialIndex" in e && typeof e.initialIndex == "number" && "index" in e && typeof e.index == "number";
145
145
  }
146
- function et(e, t, r) {
147
- var i, a, p;
148
- const { source: n, target: s, canceled: v } = t.operation;
149
- if (!n || !s || v)
146
+ function nt(e, t, r) {
147
+ var i, o, p;
148
+ const { source: n, target: s, canceled: _ } = t.operation;
149
+ if (!n || !s || _)
150
150
  return "preventDefault" in t && t.preventDefault(), e;
151
- const h = (c, d) => c === d || typeof c == "object" && "id" in c && c.id === d;
151
+ const b = (d, l) => d === l || typeof d == "object" && "id" in d && d.id === l;
152
152
  if (Array.isArray(e)) {
153
- const c = e.findIndex((u) => h(u, n.id)), d = e.findIndex((u) => h(u, s.id));
154
- if (c === -1 || d === -1) {
153
+ const d = e.findIndex((u) => b(u, n.id)), l = e.findIndex((u) => b(u, s.id));
154
+ if (d === -1 || l === -1) {
155
155
  if (Q(n)) {
156
- const u = n.initialIndex, _ = n.index;
157
- return u === _ || u < 0 || u >= e.length ? ("preventDefault" in t && t.preventDefault(), e) : r(e, u, _);
156
+ const u = n.initialIndex, x = n.index;
157
+ return u === x || u < 0 || u >= e.length ? ("preventDefault" in t && t.preventDefault(), e) : r(e, u, x);
158
158
  }
159
159
  return e;
160
160
  }
161
- if (!v && "index" in n && typeof n.index == "number") {
161
+ if (!_ && "index" in n && typeof n.index == "number") {
162
162
  const u = n.index;
163
- if (u !== c)
164
- return r(e, c, u);
163
+ if (u !== d)
164
+ return r(e, d, u);
165
165
  }
166
- return r(e, c, d);
166
+ return r(e, d, l);
167
167
  }
168
- const b = Object.entries(e);
169
- let l = -1, o, f = -1, g;
170
- for (const [c, d] of b)
171
- if (l === -1 && (l = d.findIndex((u) => h(u, n.id)), l !== -1 && (o = c)), f === -1 && (f = d.findIndex((u) => h(u, s.id)), f !== -1 && (g = c)), l !== -1 && f !== -1)
168
+ const h = Object.entries(e);
169
+ let g = -1, a, c = -1, f;
170
+ for (const [d, l] of h)
171
+ if (g === -1 && (g = l.findIndex((u) => b(u, n.id)), g !== -1 && (a = d)), c === -1 && (c = l.findIndex((u) => b(u, s.id)), c !== -1 && (f = d)), g !== -1 && c !== -1)
172
172
  break;
173
- if (l === -1 && Q(n)) {
174
- const c = n.initialGroup, d = n.initialIndex, u = n.group, _ = n.index;
175
- if (c == null || u == null || !(c in e) || !(u in e) || c === u && d === _)
173
+ if (g === -1 && Q(n)) {
174
+ const d = n.initialGroup, l = n.initialIndex, u = n.group, x = n.index;
175
+ if (d == null || u == null || !(d in e) || !(u in e) || d === u && l === x)
176
176
  return "preventDefault" in t && t.preventDefault(), e;
177
- if (c === u)
178
- return M(k({}, e), {
179
- [c]: r(e[c], d, _)
177
+ if (d === u)
178
+ return j(T({}, e), {
179
+ [d]: r(e[d], l, x)
180
180
  });
181
- const O = e[c][d];
182
- return M(k({}, e), {
183
- [c]: [
184
- ...e[c].slice(0, d),
185
- ...e[c].slice(d + 1)
181
+ const O = e[d][l];
182
+ return j(T({}, e), {
183
+ [d]: [
184
+ ...e[d].slice(0, l),
185
+ ...e[d].slice(l + 1)
186
186
  ],
187
187
  [u]: [
188
- ...e[u].slice(0, _),
188
+ ...e[u].slice(0, x),
189
189
  O,
190
- ...e[u].slice(_)
190
+ ...e[u].slice(x)
191
191
  ]
192
192
  });
193
193
  }
194
194
  if (!n.manager) return e;
195
- const { dragOperation: y } = n.manager, x = (a = (i = y.shape) == null ? void 0 : i.current.center) != null ? a : y.position.current;
196
- if (g == null && s.id in e) {
197
- const c = s.shape && x.y > s.shape.center.y ? e[s.id].length : 0;
198
- g = s.id, f = c;
199
- }
200
- if (o == null || g == null || o === g && l === f) {
201
- if (o != null && o === g && l === f && Q(n)) {
202
- const c = n.group != null && n.group !== o, d = n.index !== l;
203
- if (c || d) {
204
- const u = (p = n.group) != null ? p : o;
195
+ const { dragOperation: v } = n.manager, y = (o = (i = v.shape) == null ? void 0 : i.current.center) != null ? o : v.position.current;
196
+ if (f == null && s.id in e) {
197
+ const d = s.shape && y.y > s.shape.center.y ? e[s.id].length : 0;
198
+ f = s.id, c = d;
199
+ }
200
+ if (a == null || f == null || a === f && g === c) {
201
+ if (a != null && a === f && g === c && Q(n)) {
202
+ const d = n.group != null && n.group !== a, l = n.index !== g;
203
+ if (d || l) {
204
+ const u = (p = n.group) != null ? p : a;
205
205
  if (u in e) {
206
- if (o === u)
207
- return M(k({}, e), {
208
- [o]: r(
209
- e[o],
210
- l,
206
+ if (a === u)
207
+ return j(T({}, e), {
208
+ [a]: r(
209
+ e[a],
210
+ g,
211
211
  n.index
212
212
  )
213
213
  });
214
- const _ = e[o][l];
215
- return M(k({}, e), {
216
- [o]: [
217
- ...e[o].slice(0, l),
218
- ...e[o].slice(l + 1)
214
+ const x = e[a][g];
215
+ return j(T({}, e), {
216
+ [a]: [
217
+ ...e[a].slice(0, g),
218
+ ...e[a].slice(g + 1)
219
219
  ],
220
220
  [u]: [
221
221
  ...e[u].slice(0, n.index),
222
- _,
222
+ x,
223
223
  ...e[u].slice(n.index)
224
224
  ]
225
225
  });
@@ -228,98 +228,98 @@ function et(e, t, r) {
228
228
  }
229
229
  return "preventDefault" in t && t.preventDefault(), e;
230
230
  }
231
- if (o === g)
232
- return M(k({}, e), {
233
- [o]: r(e[o], l, f)
231
+ if (a === f)
232
+ return j(T({}, e), {
233
+ [a]: r(e[a], g, c)
234
234
  });
235
- const I = s.shape && Math.round(x.y) > Math.round(s.shape.center.y) ? 1 : 0, S = e[o][l];
236
- return M(k({}, e), {
237
- [o]: [
238
- ...e[o].slice(0, l),
239
- ...e[o].slice(l + 1)
235
+ const I = s.shape && Math.round(y.y) > Math.round(s.shape.center.y) ? 1 : 0, P = e[a][g];
236
+ return j(T({}, e), {
237
+ [a]: [
238
+ ...e[a].slice(0, g),
239
+ ...e[a].slice(g + 1)
240
240
  ],
241
- [g]: [
242
- ...e[g].slice(0, f + I),
243
- S,
244
- ...e[g].slice(f + I)
241
+ [f]: [
242
+ ...e[f].slice(0, c + I),
243
+ P,
244
+ ...e[f].slice(c + I)
245
245
  ]
246
246
  });
247
247
  }
248
- function tt(e, t) {
249
- return et(e, t, Ze);
248
+ function it(e, t) {
249
+ return nt(e, t, rt);
250
250
  }
251
- var ue = "__default__", rt = class extends ge {
251
+ var pe = "__default__", st = class extends he {
252
252
  constructor(e) {
253
253
  super(e);
254
254
  const t = () => {
255
255
  const i = /* @__PURE__ */ new Map();
256
- for (const a of e.registry.droppables)
257
- if (a instanceof ee) {
258
- const { sortable: p } = a, { group: n } = p;
256
+ for (const o of e.registry.droppables)
257
+ if (o instanceof ee) {
258
+ const { sortable: p } = o, { group: n } = p;
259
259
  let s = i.get(n);
260
260
  s || (s = /* @__PURE__ */ new Set(), i.set(n, s)), s.add(p);
261
261
  }
262
- for (const [a, p] of i)
263
- i.set(a, new Set(K(p)));
262
+ for (const [o, p] of i)
263
+ i.set(o, new Set(K(p)));
264
264
  return i;
265
265
  }, r = [
266
- e.monitor.addEventListener("dragover", (i, a) => {
266
+ e.monitor.addEventListener("dragover", (i, o) => {
267
267
  if (this.disabled)
268
268
  return;
269
- const { dragOperation: p } = a, { source: n, target: s } = p;
270
- if (!T(n) || !T(s) || n.sortable === s.sortable)
269
+ const { dragOperation: p } = o, { source: n, target: s } = p;
270
+ if (!k(n) || !k(s) || n.sortable === s.sortable)
271
271
  return;
272
- const v = t(), h = n.sortable.group === s.sortable.group, b = v.get(n.sortable.group), l = h ? b : v.get(s.sortable.group);
273
- !b || !l || queueMicrotask(() => {
274
- i.defaultPrevented || a.renderer.rendering.then(() => {
275
- var o, f, g;
276
- const y = t();
277
- for (const [D, P] of v.entries()) {
278
- const R = Array.from(P).entries();
279
- for (const [V, A] of R)
280
- if (A.index !== V || A.group !== D || !((o = y.get(D)) != null && o.has(A)))
272
+ const _ = t(), b = n.sortable.group === s.sortable.group, h = _.get(n.sortable.group), g = b ? h : _.get(s.sortable.group);
273
+ !h || !g || queueMicrotask(() => {
274
+ i.defaultPrevented || o.renderer.rendering.then(() => {
275
+ var a, c, f;
276
+ const v = t();
277
+ for (const [D, S] of _.entries()) {
278
+ const A = Array.from(S).entries();
279
+ for (const [V, R] of A)
280
+ if (R.index !== V || R.group !== D || !((a = v.get(D)) != null && a.has(R)))
281
281
  return;
282
282
  }
283
- const x = n.sortable.element, m = s.sortable.element;
284
- if (!m || !x || !h && s.id === n.sortable.group)
283
+ const y = n.sortable.element, w = s.sortable.element;
284
+ if (!w || !y || !b && s.id === n.sortable.group)
285
285
  return;
286
- const I = K(b), S = h ? I : K(l), c = (f = n.sortable.group) != null ? f : ue, d = (g = s.sortable.group) != null ? g : ue, u = {
287
- [c]: I,
288
- [d]: S
289
- }, _ = tt(u, i);
290
- if (u === _) return;
291
- const O = _[d].indexOf(n.sortable), C = _[d].indexOf(s.sortable);
292
- a.collisionObserver.disable(), pe(x, O, m, C), w(() => {
293
- for (const [D, P] of _[c].entries())
294
- P.index = D;
295
- if (!h)
296
- for (const [D, P] of _[d].entries())
297
- P.group = s.sortable.group, P.index = D;
298
- }), a.actions.setDropTarget(n.id).then(() => a.collisionObserver.enable());
286
+ const I = K(h), P = b ? I : K(g), d = (c = n.sortable.group) != null ? c : pe, l = (f = s.sortable.group) != null ? f : pe, u = {
287
+ [d]: I,
288
+ [l]: P
289
+ }, x = it(u, i);
290
+ if (u === x) return;
291
+ const O = x[l].indexOf(n.sortable), M = x[l].indexOf(s.sortable);
292
+ o.collisionObserver.disable(), ge(y, O, w, M), m(() => {
293
+ for (const [D, S] of x[d].entries())
294
+ S.index = D;
295
+ if (!b)
296
+ for (const [D, S] of x[l].entries())
297
+ S.group = s.sortable.group, S.index = D;
298
+ }), o.actions.setDropTarget(n.id).then(() => o.collisionObserver.enable());
299
299
  });
300
300
  });
301
301
  }),
302
- e.monitor.addEventListener("dragend", (i, a) => {
302
+ e.monitor.addEventListener("dragend", (i, o) => {
303
303
  if (!i.canceled)
304
304
  return;
305
- const { dragOperation: p } = a, { source: n } = p;
306
- T(n) && (n.sortable.initialIndex === n.sortable.index && n.sortable.initialGroup === n.sortable.group || queueMicrotask(() => {
307
- const s = t(), v = s.get(
305
+ const { dragOperation: p } = o, { source: n } = p;
306
+ k(n) && (n.sortable.initialIndex === n.sortable.index && n.sortable.initialGroup === n.sortable.group || queueMicrotask(() => {
307
+ const s = t(), _ = s.get(
308
308
  n.sortable.initialGroup
309
309
  );
310
- v && a.renderer.rendering.then(() => {
311
- for (const [f, g] of s.entries()) {
312
- const y = Array.from(g).entries();
313
- for (const [x, m] of y)
314
- if (m.index !== x || m.group !== f)
310
+ _ && o.renderer.rendering.then(() => {
311
+ for (const [c, f] of s.entries()) {
312
+ const v = Array.from(f).entries();
313
+ for (const [y, w] of v)
314
+ if (w.index !== y || w.group !== c)
315
315
  return;
316
316
  }
317
- const h = K(v), b = n.sortable.element, l = h[n.sortable.initialIndex], o = l?.element;
318
- !l || !o || !b || (pe(b, l.index, o, n.index), w(() => {
319
- for (const [f, g] of s.entries()) {
320
- const y = Array.from(g).values();
321
- for (const x of y)
322
- x.index = x.initialIndex, x.group = x.initialGroup;
317
+ const b = K(_), h = n.sortable.element, g = b[n.sortable.initialIndex], a = g?.element;
318
+ !g || !a || !h || (ge(h, g.index, a, n.index), m(() => {
319
+ for (const [c, f] of s.entries()) {
320
+ const v = Array.from(f).values();
321
+ for (const y of v)
322
+ y.index = y.initialIndex, y.group = y.initialGroup;
323
323
  }
324
324
  }));
325
325
  });
@@ -332,49 +332,49 @@ var ue = "__default__", rt = class extends ge {
332
332
  };
333
333
  }
334
334
  };
335
- function pe(e, t, r, i) {
336
- const a = i < t ? "afterend" : "beforebegin";
337
- r.insertAdjacentElement(a, e);
335
+ function ge(e, t, r, i) {
336
+ const o = i < t ? "afterend" : "beforebegin";
337
+ r.insertAdjacentElement(o, e);
338
338
  }
339
- function nt(e, t) {
339
+ function ot(e, t) {
340
340
  return e.index - t.index;
341
341
  }
342
342
  function K(e) {
343
- return Array.from(e).sort(nt);
343
+ return Array.from(e).sort(ot);
344
344
  }
345
- var it = [
346
- Ke,
347
- rt
348
- ], st = {
345
+ var fe = [
346
+ Qe,
347
+ st
348
+ ], at = {
349
349
  duration: 250,
350
350
  easing: "cubic-bezier(0.25, 1, 0.5, 1)",
351
351
  idle: !1
352
- }, H = new we(), ye, Ie, E, X, B, L, Y, j;
353
- Ie = [te], ye = [te];
352
+ }, H = new Pe(), Oe, me, E, X, B, L, Y, C;
353
+ me = [te], Oe = [te];
354
354
  var Z = class {
355
355
  constructor(e, t) {
356
- z(this, X, q(E, 8, this)), q(E, 11, this), z(this, B), z(this, L), z(this, Y, q(E, 12, this)), q(E, 15, this), z(this, j), this.register = () => (w(() => {
357
- var l, o;
358
- (l = this.manager) == null || l.registry.register(this.droppable), (o = this.manager) == null || o.registry.register(this.draggable);
356
+ z(this, X, q(E, 8, this)), q(E, 11, this), z(this, B), z(this, L), z(this, Y, q(E, 12, this)), q(E, 15, this), z(this, C), this.register = () => (m(() => {
357
+ var a, c;
358
+ (a = this.manager) == null || a.registry.register(this.droppable), (c = this.manager) == null || c.registry.register(this.draggable);
359
359
  }), () => this.unregister()), this.unregister = () => {
360
- w(() => {
361
- var l, o;
362
- (l = this.manager) == null || l.registry.unregister(this.droppable), (o = this.manager) == null || o.registry.unregister(this.draggable);
360
+ m(() => {
361
+ var a, c;
362
+ (a = this.manager) == null || a.registry.unregister(this.droppable), (c = this.manager) == null || c.registry.unregister(this.draggable);
363
363
  });
364
364
  }, this.destroy = () => {
365
- w(() => {
365
+ m(() => {
366
366
  this.droppable.destroy(), this.draggable.destroy();
367
367
  });
368
368
  };
369
369
  var r = e, {
370
370
  effects: i = () => [],
371
- group: a,
371
+ group: o,
372
372
  index: p,
373
373
  sensors: n,
374
374
  type: s,
375
- transition: v = st,
376
- plugins: h = it
377
- } = r, b = Ne(r, [
375
+ transition: _ = at,
376
+ plugins: b
377
+ } = r, h = Fe(r, [
378
378
  "effects",
379
379
  "group",
380
380
  "index",
@@ -383,33 +383,31 @@ var Z = class {
383
383
  "transition",
384
384
  "plugins"
385
385
  ]);
386
- this.droppable = new ee(b, t, this), this.draggable = new Oe(
387
- le(ae({}, b), {
386
+ const g = re(b, fe);
387
+ this.droppable = new ee(h, t, this), this.draggable = new we(
388
+ de(le({}, h), {
389
+ plugins: g,
388
390
  effects: () => [
389
391
  () => {
390
- var l, o, f;
391
- const g = (l = this.manager) == null ? void 0 : l.dragOperation.status;
392
- g?.initializing && this.id === ((f = (o = this.manager) == null ? void 0 : o.dragOperation.source) == null ? void 0 : f.id) && H.clear(this.manager), g?.dragging && H.set(
392
+ var a, c, f;
393
+ const v = (a = this.manager) == null ? void 0 : a.dragOperation.status;
394
+ v?.initializing && this.id === ((f = (c = this.manager) == null ? void 0 : c.dragOperation.source) == null ? void 0 : f.id) && H.clear(this.manager), v?.dragging && H.set(
393
395
  this.manager,
394
396
  this.id,
395
- oe(() => ({
397
+ ae(() => ({
396
398
  initialIndex: this.index,
397
399
  initialGroup: this.group
398
400
  }))
399
401
  );
400
402
  },
401
403
  () => {
402
- const { index: l, group: o, manager: f } = this, g = $(this, L), y = $(this, B);
403
- (l !== g || o !== y) && (G(this, L, l), G(this, B, o), this.animate());
404
+ const { index: a, group: c, manager: f } = this, v = $(this, L), y = $(this, B);
405
+ (a !== v || c !== y) && (G(this, L, a), G(this, B, c), this.animate());
404
406
  },
405
407
  () => {
406
- const { target: l } = this, { feedback: o, isDragSource: f } = this.draggable;
407
- o == "move" && f && (this.droppable.disabled = !l);
408
- },
409
- () => {
410
- const { manager: l } = this;
411
- for (const o of h)
412
- l?.registry.register(o);
408
+ var a, c;
409
+ const { target: f } = this, { isDragSource: v } = this.draggable;
410
+ ((c = (a = this.draggable.pluginConfig(Te)) == null ? void 0 : a.feedback) != null ? c : "default") === "move" && v && (this.droppable.disabled = !f);
413
411
  },
414
412
  ...i()
415
413
  ],
@@ -418,7 +416,7 @@ var Z = class {
418
416
  }),
419
417
  t,
420
418
  this
421
- ), G(this, j, b.element), this.manager = t, this.index = p, G(this, L, p), this.group = a, G(this, B, a), this.type = s, this.transition = v;
419
+ ), G(this, C, h.element), this.manager = t, this.index = p, G(this, L, p), this.group = o, G(this, B, o), this.type = s, this.transition = _;
422
420
  }
423
421
  get initialIndex() {
424
422
  var e, t;
@@ -429,32 +427,34 @@ var Z = class {
429
427
  return (t = (e = H.get(this.manager, this.id)) == null ? void 0 : e.initialGroup) != null ? t : this.group;
430
428
  }
431
429
  animate() {
432
- oe(() => {
430
+ ae(() => {
433
431
  const { manager: e, transition: t } = this, { shape: r } = this.droppable;
434
432
  if (!e) return;
435
433
  const { idle: i } = e.dragOperation.status;
436
434
  !r || !t || i && !t.idle || e.renderer.rendering.then(() => {
437
- const { element: a } = this;
438
- if (!a)
435
+ const { element: o } = this;
436
+ if (!o)
439
437
  return;
438
+ for (const h of o.getAnimations())
439
+ "transitionProperty" in h && (h.transitionProperty === "transform" || h.transitionProperty === "translate" || h.transitionProperty === "scale") && h.cancel();
440
440
  const p = this.refreshShape();
441
441
  if (!p)
442
442
  return;
443
443
  const n = {
444
444
  x: r.boundingRectangle.left - p.boundingRectangle.left,
445
445
  y: r.boundingRectangle.top - p.boundingRectangle.top
446
- }, { translate: s } = Ge(a), v = re(a, s, !1), h = re(a, s);
446
+ }, { translate: s } = Me(o), _ = se(o, s, !1), b = se(o, s);
447
447
  if (n.x || n.y) {
448
- const b = Te(ke(a)) ? le(ae({}, t), { duration: 0 }) : t;
449
- Me({
450
- element: a,
448
+ const h = Ae(Re(o)) ? de(le({}, t), { duration: 0 }) : t;
449
+ ze({
450
+ element: o,
451
451
  keyframes: {
452
452
  translate: [
453
- `${v.x + n.x}px ${v.y + n.y}px ${v.z}`,
454
- `${h.x}px ${h.y}px ${h.z}`
453
+ `${_.x + n.x}px ${_.y + n.y}px ${_.z}`,
454
+ `${b.x}px ${b.y}px ${b.z}`
455
455
  ]
456
456
  },
457
- options: b
457
+ options: h
458
458
  }).then(() => {
459
459
  e.dragOperation.status.dragging || (this.droppable.shape = void 0);
460
460
  });
@@ -466,21 +466,21 @@ var Z = class {
466
466
  return this.draggable.manager;
467
467
  }
468
468
  set manager(e) {
469
- w(() => {
469
+ m(() => {
470
470
  this.draggable.manager = e, this.droppable.manager = e;
471
471
  });
472
472
  }
473
473
  set element(e) {
474
- w(() => {
475
- const t = $(this, j), r = this.droppable.element, i = this.draggable.element;
476
- (!r || r === t) && (this.droppable.element = e), (!i || i === t) && (this.draggable.element = e), G(this, j, e);
474
+ m(() => {
475
+ const t = $(this, C), r = this.droppable.element, i = this.draggable.element;
476
+ (!r || r === t) && (this.droppable.element = e), (!i || i === t) && (this.draggable.element = e), G(this, C, e);
477
477
  });
478
478
  }
479
479
  get element() {
480
480
  var e, t;
481
- const r = $(this, j);
481
+ const r = $(this, C);
482
482
  if (r)
483
- return (t = (e = je.get(r)) != null ? e : r) != null ? t : this.droppable.element;
483
+ return (t = (e = We.get(r)) != null ? e : r) != null ? t : this.droppable.element;
484
484
  }
485
485
  set target(e) {
486
486
  this.droppable.element = e;
@@ -497,16 +497,16 @@ var Z = class {
497
497
  get disabled() {
498
498
  return this.draggable.disabled && this.droppable.disabled;
499
499
  }
500
- set feedback(e) {
501
- this.draggable.feedback = e;
500
+ set plugins(e) {
501
+ this.draggable.plugins = re(e, fe);
502
502
  }
503
503
  set disabled(e) {
504
- w(() => {
504
+ m(() => {
505
505
  this.droppable.disabled = e, this.draggable.disabled = e;
506
506
  });
507
507
  }
508
508
  set data(e) {
509
- w(() => {
509
+ m(() => {
510
510
  this.droppable.data = e, this.draggable.data = e;
511
511
  });
512
512
  }
@@ -514,9 +514,7 @@ var Z = class {
514
514
  this.draggable.handle = e;
515
515
  }
516
516
  set id(e) {
517
- w(() => {
518
- this.droppable.id = e, this.draggable.id = e;
519
- });
517
+ this.droppable.id = e, this.draggable.id = e;
520
518
  }
521
519
  get id() {
522
520
  return this.droppable.id;
@@ -531,7 +529,7 @@ var Z = class {
531
529
  this.droppable.collisionPriority = e;
532
530
  }
533
531
  set collisionDetector(e) {
534
- this.droppable.collisionDetector = e ?? me;
532
+ this.droppable.collisionDetector = e ?? De;
535
533
  }
536
534
  set alignment(e) {
537
535
  this.draggable.alignment = e;
@@ -540,7 +538,7 @@ var Z = class {
540
538
  return this.draggable.alignment;
541
539
  }
542
540
  set type(e) {
543
- w(() => {
541
+ m(() => {
544
542
  this.droppable.type = e, this.draggable.type = e;
545
543
  });
546
544
  }
@@ -584,16 +582,16 @@ var Z = class {
584
582
  return this.droppable.accepts(e);
585
583
  }
586
584
  };
587
- E = Ve();
585
+ E = Ke();
588
586
  X = /* @__PURE__ */ new WeakMap();
589
587
  B = /* @__PURE__ */ new WeakMap();
590
588
  L = /* @__PURE__ */ new WeakMap();
591
589
  Y = /* @__PURE__ */ new WeakMap();
592
- j = /* @__PURE__ */ new WeakMap();
593
- _e(E, 4, "index", Ie, Z, X);
594
- _e(E, 4, "group", ye, Z, Y);
595
- Fe(E, Z);
596
- var Oe = class extends De {
590
+ C = /* @__PURE__ */ new WeakMap();
591
+ ye(E, 4, "index", me, Z, X);
592
+ ye(E, 4, "group", Oe, Z, Y);
593
+ Je(E, Z);
594
+ var we = class extends Ge {
597
595
  constructor(e, t, r) {
598
596
  super(e, t), this.sortable = r;
599
597
  }
@@ -609,7 +607,7 @@ var Oe = class extends De {
609
607
  get initialGroup() {
610
608
  return this.sortable.initialGroup;
611
609
  }
612
- }, ee = class extends Pe {
610
+ }, ee = class extends Ee {
613
611
  constructor(e, t, r) {
614
612
  super(e, t), this.sortable = r;
615
613
  }
@@ -621,11 +619,11 @@ var Oe = class extends De {
621
619
  }
622
620
  };
623
621
  export {
624
- rt as OptimisticSortingPlugin,
622
+ st as OptimisticSortingPlugin,
625
623
  Z as Sortable,
626
- Oe as SortableDraggable,
624
+ we as SortableDraggable,
627
625
  ee as SortableDroppable,
628
- Ke as SortableKeyboardPlugin,
629
- st as defaultSortableTransition,
630
- T as isSortable
626
+ Qe as SortableKeyboardPlugin,
627
+ at as defaultSortableTransition,
628
+ k as isSortable
631
629
  };