lml-main
Version:
This is now a mono repository published into many standalone packages.
16 lines • 913 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SET_DRAG_TARGET = 'SET_DRAG_TARGET';
exports.SET_DROP_TARGET = 'SET_DROP_TARGET';
exports.RESET_DRAG_AND_DROP = 'RESET_DRAG_AND_DROP';
exports.RESET_DROP_TARGET = 'RESET_DROP_TARGET';
var DRAG_TYPES;
(function (DRAG_TYPES) {
DRAG_TYPES[DRAG_TYPES["JOB"] = 0] = "JOB";
DRAG_TYPES[DRAG_TYPES["COURIER"] = 1] = "COURIER";
})(DRAG_TYPES = exports.DRAG_TYPES || (exports.DRAG_TYPES = {}));
exports.setDragTarget = (draggingType, refId) => ({ type: exports.SET_DRAG_TARGET, draggingType, refId });
exports.setDropTarget = (draggingType, refId) => ({ type: exports.SET_DROP_TARGET, draggingType, refId });
exports.resetDragAndDrop = () => ({ type: exports.RESET_DRAG_AND_DROP });
exports.resetDropTarget = (draggingType, refId) => ({ type: exports.RESET_DROP_TARGET, draggingType, refId });
//# sourceMappingURL=dragging.js.map