@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.
- package/README.md +10 -4
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/icon/icons/calendar-icon.d.ts +2 -0
- package/dist/components/icon/icons/calendar-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/calendar-icon.js +8 -0
- package/dist/components/icon/icons/cart-icon.js +1 -1
- package/dist/components/icon/icons/closed-icon.d.ts +2 -0
- package/dist/components/icon/icons/closed-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/closed-icon.js +8 -0
- package/dist/components/icon/icons/comment-add-icon.d.ts +2 -0
- package/dist/components/icon/icons/comment-add-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/comment-add-icon.js +8 -0
- package/dist/components/icon/icons/comment-icon.js +1 -1
- package/dist/components/icon/icons/deliverect-icon.d.ts +2 -0
- package/dist/components/icon/icons/deliverect-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/deliverect-icon.js +8 -0
- package/dist/components/icon/icons/door-closed-icon.d.ts +2 -0
- package/dist/components/icon/icons/door-closed-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/door-closed-icon.js +8 -0
- package/dist/components/icon/icons/door-open-icon.d.ts +2 -0
- package/dist/components/icon/icons/door-open-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/door-open-icon.js +8 -0
- package/dist/components/icon/icons/failed-print-icon.d.ts +2 -0
- package/dist/components/icon/icons/failed-print-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/failed-print-icon.js +8 -0
- package/dist/components/icon/icons/index.d.ts +27 -4
- package/dist/components/icon/icons/index.d.ts.map +1 -1
- package/dist/components/icon/icons/key-command-icon.d.ts +2 -0
- package/dist/components/icon/icons/key-command-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/key-command-icon.js +8 -0
- package/dist/components/icon/icons/key-enter-icon.d.ts +2 -0
- package/dist/components/icon/icons/key-enter-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/key-enter-icon.js +8 -0
- package/dist/components/icon/icons/key-option-icon.d.ts +2 -0
- package/dist/components/icon/icons/key-option-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/key-option-icon.js +8 -0
- package/dist/components/icon/icons/message-add-icon.d.ts +2 -0
- package/dist/components/icon/icons/message-add-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/message-add-icon.js +8 -0
- package/dist/components/icon/icons/message-icon.js +1 -1
- package/dist/components/icon/icons/message-lines-icon.d.ts +2 -0
- package/dist/components/icon/icons/message-lines-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/message-lines-icon.js +8 -0
- package/dist/components/icon/icons/module-home-icon.js +1 -1
- package/dist/components/icon/icons/no-cart-icon.d.ts +2 -0
- package/dist/components/icon/icons/no-cart-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/no-cart-icon.js +8 -0
- package/dist/components/icon/icons/note-icon.d.ts +2 -0
- package/dist/components/icon/icons/note-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/note-icon.js +8 -0
- package/dist/components/icon/icons/product-my-pages-icon.d.ts +2 -0
- package/dist/components/icon/icons/product-my-pages-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/product-my-pages-icon.js +8 -0
- package/dist/components/icon/icons/puck-icon.d.ts +2 -0
- package/dist/components/icon/icons/puck-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/puck-icon.js +8 -0
- package/dist/components/icon/icons/redo-icon.d.ts +2 -0
- package/dist/components/icon/icons/redo-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/redo-icon.js +8 -0
- package/dist/components/icon/icons/sidebar-hide-icon.d.ts +2 -0
- package/dist/components/icon/icons/sidebar-hide-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/sidebar-hide-icon.js +8 -0
- package/dist/components/icon/icons/sidebar-left-icon.d.ts +2 -0
- package/dist/components/icon/icons/sidebar-left-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/sidebar-left-icon.js +8 -0
- package/dist/components/icon/icons/sidebar-right-icon.d.ts +2 -0
- package/dist/components/icon/icons/sidebar-right-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/sidebar-right-icon.js +8 -0
- package/dist/components/icon/icons/sidebar-show-icon.d.ts +2 -0
- package/dist/components/icon/icons/sidebar-show-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/sidebar-show-icon.js +8 -0
- package/dist/components/icon/icons/swatch-icon.d.ts +2 -0
- package/dist/components/icon/icons/swatch-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/swatch-icon.js +8 -0
- package/dist/components/icon/icons/trivec-icon.d.ts +2 -0
- package/dist/components/icon/icons/trivec-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/trivec-icon.js +9 -0
- package/dist/components/icon/icons/waste-icon.d.ts +2 -0
- package/dist/components/icon/icons/waste-icon.d.ts.map +1 -0
- package/dist/components/icon/icons/waste-icon.js +8 -0
- package/dist/components/table/table-toolbar-settings.d.ts +15 -1
- package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-settings.js +71 -44
- package/dist/components/table/table-toolbar-settings.spec.d.ts +2 -0
- package/dist/components/table/table-toolbar-settings.spec.d.ts.map +1 -0
- package/dist/components/table/table.constants.d.ts +2 -0
- package/dist/components/table/table.constants.d.ts.map +1 -0
- package/dist/components/table/table.constants.js +4 -0
- package/dist/components/table/translations.d.ts +14 -0
- package/dist/components/table/translations.d.ts.map +1 -1
- package/dist/components/table/translations.js +12 -0
- package/dist/index.js +727 -681
- package/dist/node_modules/@dnd-kit/abstract/index.js +502 -442
- package/dist/node_modules/@dnd-kit/dom/index.js +817 -779
- package/dist/node_modules/@dnd-kit/dom/sortable.js +260 -262
- package/dist/node_modules/@dnd-kit/dom/utilities.js +470 -463
- package/dist/node_modules/@dnd-kit/react/hooks.js +26 -26
- package/dist/node_modules/@dnd-kit/react/index.js +8 -1
- package/dist/node_modules/@dnd-kit/react/sortable.js +45 -46
- package/dist/node_modules/@preact/signals-core/dist/signals-core.module.js +11 -11
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +85 -73
- package/package.json +20 -18
- package/dist/components/icon/icons/tablet-icon.d.ts +0 -2
- package/dist/components/icon/icons/tablet-icon.d.ts.map +0 -1
- package/dist/components/icon/icons/tablet-icon.js +0 -8
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
import { WeakStore as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Rectangle as
|
|
7
|
-
import {
|
|
8
|
-
var
|
|
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 ?
|
|
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
|
-
|
|
12
|
+
ve.call(t, r) && U(e, r, t[r]);
|
|
13
13
|
if (J)
|
|
14
14
|
for (var r of J(t))
|
|
15
|
-
|
|
15
|
+
_e.call(t, r) && U(e, r, t[r]);
|
|
16
16
|
return e;
|
|
17
|
-
},
|
|
17
|
+
}, de = (e, t) => Le(e, Ve(t)), Fe = (e, t) => {
|
|
18
18
|
var r = {};
|
|
19
19
|
for (var i in e)
|
|
20
|
-
|
|
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 &&
|
|
23
|
+
t.indexOf(i) < 0 && _e.call(e, i) && (r[i] = e[i]);
|
|
24
24
|
return r;
|
|
25
|
-
},
|
|
25
|
+
}, Ke = (e) => {
|
|
26
26
|
var t;
|
|
27
|
-
return [, , ,
|
|
28
|
-
},
|
|
29
|
-
for (var
|
|
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
|
-
},
|
|
32
|
-
for (var n, s,
|
|
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](
|
|
35
|
-
return G(this, p,
|
|
36
|
-
} }, r)),
|
|
37
|
-
|
|
38
|
-
return I &&
|
|
39
|
-
},
|
|
40
|
-
function
|
|
41
|
-
return e instanceof ee || e instanceof
|
|
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,
|
|
43
|
+
var F = 10, Qe = class extends he {
|
|
44
44
|
constructor(e) {
|
|
45
45
|
super(e);
|
|
46
|
-
const t =
|
|
46
|
+
const t = $e(() => {
|
|
47
47
|
const { dragOperation: i } = e;
|
|
48
|
-
if (ne(i.activatorEvent) &&
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
51
|
-
return
|
|
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,
|
|
55
|
+
(i, o) => {
|
|
56
56
|
queueMicrotask(() => {
|
|
57
57
|
if (this.disabled || i.defaultPrevented || !i.nativeEvent)
|
|
58
58
|
return;
|
|
59
|
-
const { dragOperation: p } =
|
|
60
|
-
if (!ne(i.nativeEvent) || !
|
|
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:
|
|
63
|
-
if (!
|
|
62
|
+
const { actions: n, collisionObserver: s, registry: _ } = o, { by: b } = i;
|
|
63
|
+
if (!b)
|
|
64
64
|
return;
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
for (const
|
|
68
|
-
const { id: u } =
|
|
69
|
-
if (!
|
|
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
|
|
72
|
-
const O = new ie(
|
|
73
|
-
getBoundingClientRect: (
|
|
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 || (
|
|
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
|
|
79
|
-
|
|
78
|
+
const y = s.computeCollisions(
|
|
79
|
+
f,
|
|
80
80
|
Se
|
|
81
81
|
);
|
|
82
|
-
|
|
83
|
-
const [
|
|
84
|
-
if (!
|
|
82
|
+
m(() => v.forEach((l) => l()));
|
|
83
|
+
const [w] = y;
|
|
84
|
+
if (!w)
|
|
85
85
|
return;
|
|
86
|
-
const { id: I } =
|
|
86
|
+
const { id: I } = w, { index: P, group: d } = g.sortable;
|
|
87
87
|
n.setDropTarget(I).then(() => {
|
|
88
|
-
const { source:
|
|
89
|
-
if (!
|
|
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:
|
|
93
|
+
group: M,
|
|
94
94
|
target: D
|
|
95
|
-
} =
|
|
96
|
-
if (!
|
|
97
|
-
|
|
98
|
-
const V = new ie(
|
|
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
|
|
101
|
+
const R = oe.delta(
|
|
102
102
|
V,
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
oe.from(x.current.boundingRectangle),
|
|
104
|
+
l.alignment
|
|
105
105
|
);
|
|
106
106
|
n.move({
|
|
107
|
-
by:
|
|
108
|
-
}),
|
|
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
|
|
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
|
|
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
|
-
|
|
132
|
-
if (
|
|
133
|
-
for (var r of
|
|
134
|
-
|
|
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
|
-
},
|
|
137
|
-
function
|
|
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
|
|
147
|
-
var i,
|
|
148
|
-
const { source: n, target: s, canceled:
|
|
149
|
-
if (!n || !s ||
|
|
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
|
|
151
|
+
const b = (d, l) => d === l || typeof d == "object" && "id" in d && d.id === l;
|
|
152
152
|
if (Array.isArray(e)) {
|
|
153
|
-
const
|
|
154
|
-
if (
|
|
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,
|
|
157
|
-
return 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 (!
|
|
161
|
+
if (!_ && "index" in n && typeof n.index == "number") {
|
|
162
162
|
const u = n.index;
|
|
163
|
-
if (u !==
|
|
164
|
-
return r(e,
|
|
163
|
+
if (u !== d)
|
|
164
|
+
return r(e, d, u);
|
|
165
165
|
}
|
|
166
|
-
return r(e,
|
|
166
|
+
return r(e, d, l);
|
|
167
167
|
}
|
|
168
|
-
const
|
|
169
|
-
let
|
|
170
|
-
for (const [
|
|
171
|
-
if (
|
|
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 (
|
|
174
|
-
const
|
|
175
|
-
if (
|
|
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 (
|
|
178
|
-
return
|
|
179
|
-
[
|
|
177
|
+
if (d === u)
|
|
178
|
+
return j(T({}, e), {
|
|
179
|
+
[d]: r(e[d], l, x)
|
|
180
180
|
});
|
|
181
|
-
const O = e[
|
|
182
|
-
return
|
|
183
|
-
[
|
|
184
|
-
...e[
|
|
185
|
-
...e[
|
|
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:
|
|
196
|
-
if (
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
if (
|
|
201
|
-
if (
|
|
202
|
-
const
|
|
203
|
-
if (
|
|
204
|
-
const u = (p = n.group) != null ? p :
|
|
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 (
|
|
207
|
-
return
|
|
208
|
-
[
|
|
209
|
-
e[
|
|
210
|
-
|
|
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
|
|
215
|
-
return
|
|
216
|
-
[
|
|
217
|
-
...e[
|
|
218
|
-
...e[
|
|
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 (
|
|
232
|
-
return
|
|
233
|
-
[
|
|
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(
|
|
236
|
-
return
|
|
237
|
-
[
|
|
238
|
-
...e[
|
|
239
|
-
...e[
|
|
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
|
-
[
|
|
242
|
-
...e[
|
|
243
|
-
|
|
244
|
-
...e[
|
|
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
|
|
249
|
-
return
|
|
248
|
+
function it(e, t) {
|
|
249
|
+
return nt(e, t, rt);
|
|
250
250
|
}
|
|
251
|
-
var
|
|
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
|
|
257
|
-
if (
|
|
258
|
-
const { sortable: 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 [
|
|
263
|
-
i.set(
|
|
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,
|
|
266
|
+
e.monitor.addEventListener("dragover", (i, o) => {
|
|
267
267
|
if (this.disabled)
|
|
268
268
|
return;
|
|
269
|
-
const { dragOperation: p } =
|
|
270
|
-
if (!
|
|
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
|
|
273
|
-
!
|
|
274
|
-
i.defaultPrevented ||
|
|
275
|
-
var
|
|
276
|
-
const
|
|
277
|
-
for (const [D,
|
|
278
|
-
const
|
|
279
|
-
for (const [V,
|
|
280
|
-
if (
|
|
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
|
|
284
|
-
if (!
|
|
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(
|
|
287
|
-
[
|
|
288
|
-
[
|
|
289
|
-
},
|
|
290
|
-
if (u ===
|
|
291
|
-
const O =
|
|
292
|
-
|
|
293
|
-
for (const [D,
|
|
294
|
-
|
|
295
|
-
if (!
|
|
296
|
-
for (const [D,
|
|
297
|
-
|
|
298
|
-
}),
|
|
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,
|
|
302
|
+
e.monitor.addEventListener("dragend", (i, o) => {
|
|
303
303
|
if (!i.canceled)
|
|
304
304
|
return;
|
|
305
|
-
const { dragOperation: p } =
|
|
306
|
-
|
|
307
|
-
const s = t(),
|
|
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
|
-
|
|
311
|
-
for (const [
|
|
312
|
-
const
|
|
313
|
-
for (const [
|
|
314
|
-
if (
|
|
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
|
|
318
|
-
!
|
|
319
|
-
for (const [
|
|
320
|
-
const
|
|
321
|
-
for (const
|
|
322
|
-
|
|
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
|
|
336
|
-
const
|
|
337
|
-
r.insertAdjacentElement(
|
|
335
|
+
function ge(e, t, r, i) {
|
|
336
|
+
const o = i < t ? "afterend" : "beforebegin";
|
|
337
|
+
r.insertAdjacentElement(o, e);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
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(
|
|
343
|
+
return Array.from(e).sort(ot);
|
|
344
344
|
}
|
|
345
|
-
var
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
],
|
|
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
|
|
353
|
-
|
|
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,
|
|
357
|
-
var
|
|
358
|
-
(
|
|
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
|
-
|
|
361
|
-
var
|
|
362
|
-
(
|
|
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
|
-
|
|
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:
|
|
371
|
+
group: o,
|
|
372
372
|
index: p,
|
|
373
373
|
sensors: n,
|
|
374
374
|
type: s,
|
|
375
|
-
transition:
|
|
376
|
-
plugins:
|
|
377
|
-
} = 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
|
-
|
|
387
|
-
|
|
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
|
|
391
|
-
const
|
|
392
|
-
|
|
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
|
-
|
|
397
|
+
ae(() => ({
|
|
396
398
|
initialIndex: this.index,
|
|
397
399
|
initialGroup: this.group
|
|
398
400
|
}))
|
|
399
401
|
);
|
|
400
402
|
},
|
|
401
403
|
() => {
|
|
402
|
-
const { index:
|
|
403
|
-
(
|
|
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
|
-
|
|
407
|
-
|
|
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,
|
|
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
|
-
|
|
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:
|
|
438
|
-
if (!
|
|
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 } =
|
|
446
|
+
}, { translate: s } = Me(o), _ = se(o, s, !1), b = se(o, s);
|
|
447
447
|
if (n.x || n.y) {
|
|
448
|
-
const
|
|
449
|
-
|
|
450
|
-
element:
|
|
448
|
+
const h = Ae(Re(o)) ? de(le({}, t), { duration: 0 }) : t;
|
|
449
|
+
ze({
|
|
450
|
+
element: o,
|
|
451
451
|
keyframes: {
|
|
452
452
|
translate: [
|
|
453
|
-
`${
|
|
454
|
-
`${
|
|
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:
|
|
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
|
-
|
|
469
|
+
m(() => {
|
|
470
470
|
this.draggable.manager = e, this.droppable.manager = e;
|
|
471
471
|
});
|
|
472
472
|
}
|
|
473
473
|
set element(e) {
|
|
474
|
-
|
|
475
|
-
const t = $(this,
|
|
476
|
-
(!r || r === t) && (this.droppable.element = e), (!i || i === t) && (this.draggable.element = e), G(this,
|
|
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,
|
|
481
|
+
const r = $(this, C);
|
|
482
482
|
if (r)
|
|
483
|
-
return (t = (e =
|
|
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
|
|
501
|
-
this.draggable.
|
|
500
|
+
set plugins(e) {
|
|
501
|
+
this.draggable.plugins = re(e, fe);
|
|
502
502
|
}
|
|
503
503
|
set disabled(e) {
|
|
504
|
-
|
|
504
|
+
m(() => {
|
|
505
505
|
this.droppable.disabled = e, this.draggable.disabled = e;
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
508
|
set data(e) {
|
|
509
|
-
|
|
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
|
-
|
|
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 ??
|
|
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
|
-
|
|
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 =
|
|
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
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
var
|
|
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
|
|
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
|
-
|
|
622
|
+
st as OptimisticSortingPlugin,
|
|
625
623
|
Z as Sortable,
|
|
626
|
-
|
|
624
|
+
we as SortableDraggable,
|
|
627
625
|
ee as SortableDroppable,
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
626
|
+
Qe as SortableKeyboardPlugin,
|
|
627
|
+
at as defaultSortableTransition,
|
|
628
|
+
k as isSortable
|
|
631
629
|
};
|