"use strict"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * Licensed Materials - Property of IBM * IBM Business Analytics (C) Copyright IBM Corp. 2019 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /** * @class DnDProviderAPI * @hideconstructor * @classdesc API class that handles drag and drop of metadata to create a visualization. */ define([], function () { return function () { function DnDProviderAPI() { _classCallCheck(this, DnDProviderAPI); } /** * @public * @function DnDProviderAPI#accepts * @param {Object} payload the drag and drop payload * @description called by the DnD manager to check whether to accept the dragged object or not * @returns {Boolean} */ DnDProviderAPI.prototype.accepts = function accepts() {}; /** * @public * @function DnDProviderAPI#onDrop * @param {Object} payload the drag and drop payload * @param {Object} targetNode the DOM target node to accept the drop * @param {Object} event the jQuery event object * @description process the on drop action of drag and drop */ DnDProviderAPI.prototype.onDrop = function onDrop() {}; return DnDProviderAPI; }(); }); //# sourceMappingURL=DnDProviderAPI.js.map