Liferay.Loader.define('sharing-web$dnd-core@11.1.3/dist/esm/actions/dragDrop/publishDragSource', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import { PUBLISH_DRAG_SOURCE } from './types';
    export function createPublishDragSource(manager) {
      return function publishDragSource() {
        var monitor = manager.getMonitor();

        if (monitor.isDragging()) {
          return {
            type: PUBLISH_DRAG_SOURCE
          };
        }
      };
    }
  }
});
//# sourceMappingURL=publishDragSource.js.map