"use strict";

var _tslib = require("tslib");

var _util = require("@antv/util");

var _f6Core = require("@antv/f6-core");

var _dragCanvas = _interopRequireDefault(require("./drag-canvas"));

var _dragNode = _interopRequireDefault(require("./drag-node"));

var _activateRelations = _interopRequireDefault(require("./activate-relations"));

var _clickSelect = _interopRequireDefault(require("./click-select"));

var _zoomCanvas = _interopRequireDefault(require("./zoom-canvas"));

var _collapseExpand = _interopRequireDefault(require("./collapse-expand"));

var _dragCombo = _interopRequireDefault(require("./drag-combo"));

var _collapseExpandCombo = _interopRequireDefault(require("./collapse-expand-combo"));

var _createEdge = _interopRequireDefault(require("./create-edge"));

var _mobileBehavior = _interopRequireDefault(require("./mobile-behavior"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var behaviors = {
  'drag-canvas': _dragCanvas.default,
  'zoom-canvas': _zoomCanvas.default,
  'drag-node': _dragNode.default,
  'activate-relations': _activateRelations.default,
  'click-select': _clickSelect.default,
  'collapse-expand': _collapseExpand.default,
  'drag-combo': _dragCombo.default,
  'collapse-expand-combo': _collapseExpandCombo.default,
  'create-edge': _createEdge.default
};
(0, _util.each)(behaviors, function (behavior, type) {
  (0, _f6Core.registerBehavior)(type, (0, _tslib.__assign)((0, _tslib.__assign)({}, behavior), _mobileBehavior.default));
}); // export default Behavior;