"use strict";

Liferay.Loader.define("portal-search-web$dnd-core@11.1.3/dist/cjs/actions/dragDrop/publishDragSource", ['module', 'exports', 'require', './types'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.createPublishDragSource = createPublishDragSource;

    var _types = require("./types");

    function createPublishDragSource(manager) {
      return function publishDragSource() {
        var monitor = manager.getMonitor();

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