@uva-glass/component-library
Version:
React components UvA
34 lines (33 loc) • 849 B
JavaScript
import { SET_DRAGGING_TARGET as o, SET_DRAGGING_SOURCE as e, SET_CLONE as a, RESET as p, MOVE_TO_POSITION as r, DROP as n, DRAG_START as g, DRAG_END as G, CLEAR_DRAGGING_TARGET as s, CLEAR_DRAGGING_SOURCE as y } from "./constants.js";
const R = (t) => ({
type: a,
payload: t
}), T = () => ({ type: y }), c = () => ({ type: s }), _ = () => ({ type: G }), D = (t) => ({
type: g,
payload: t
}), A = (t) => ({
type: n,
payload: t
}), S = (t) => ({
type: r,
payload: t
}), d = () => ({ type: p }), l = (t) => ({
type: e,
payload: t
}), O = (t) => ({
type: o,
payload: t
});
export {
T as clearDraggingSource,
c as clearDraggingTarget,
_ as dragEnd,
D as dragStart,
A as drop,
S as moveToPosition,
d as reset,
R as setClone,
l as setDraggingSource,
O as setDraggingTarget
};
//# sourceMappingURL=actions.js.map