fix:
This commit is contained in:
parent
23103f16d7
commit
459fad908e
|
@ -1,4 +1,4 @@
|
||||||
'use strict';
|
"use strict";
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", {
|
Object.defineProperty(exports, "__esModule", {
|
||||||
value: true
|
value: true
|
||||||
|
@ -8,13 +8,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
||||||
|
|
||||||
exports["default"] = dragColumn;
|
exports["default"] = dragColumn;
|
||||||
|
|
||||||
var _react = require('react');
|
var _react = require("react");
|
||||||
|
|
||||||
var _react2 = _interopRequireDefault(_react);
|
var _react2 = _interopRequireDefault(_react);
|
||||||
|
|
||||||
var _util = require('./util');
|
var _util = require("./util");
|
||||||
|
|
||||||
var _util2 = require('../util');
|
|
||||||
|
|
||||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
||||||
|
|
||||||
|
@ -147,13 +145,13 @@ function dragColumn(Table) {
|
||||||
onDragEnter = _props.onDragEnter,
|
onDragEnter = _props.onDragEnter,
|
||||||
onDragOver = _props.onDragOver,
|
onDragOver = _props.onDragOver,
|
||||||
onDrop = _props.onDrop,
|
onDrop = _props.onDrop,
|
||||||
others = _objectWithoutProperties(_props, ['data', 'dragborder', 'draggable', 'className', 'columns', 'onDragStart', 'onDragEnter', 'onDragOver', 'onDrop']);
|
others = _objectWithoutProperties(_props, ["data", "dragborder", "draggable", "className", "columns", "onDragStart", "onDragEnter", "onDragOver", "onDrop"]);
|
||||||
|
|
||||||
var key = new Date().getTime();
|
var key = new Date().getTime();
|
||||||
return _react2["default"].createElement(Table, _extends({}, others, {
|
return _react2["default"].createElement(Table, _extends({}, others, {
|
||||||
columns: this.state.columns,
|
columns: this.state.columns,
|
||||||
data: data,
|
data: data,
|
||||||
className: className + ' u-table-drag-border',
|
className: className + " u-table-drag-border",
|
||||||
onDragStart: this.onDragStart,
|
onDragStart: this.onDragStart,
|
||||||
onDragOver: this.onDragOver,
|
onDragOver: this.onDragOver,
|
||||||
onDrop: this.onDrop,
|
onDrop: this.onDrop,
|
||||||
|
@ -168,4 +166,4 @@ function dragColumn(Table) {
|
||||||
return DragColumn;
|
return DragColumn;
|
||||||
}(_react.Component);
|
}(_react.Component);
|
||||||
}
|
}
|
||||||
module.exports = exports['default'];
|
module.exports = exports["default"];
|
|
@ -14,8 +14,6 @@ var _react2 = _interopRequireDefault(_react);
|
||||||
|
|
||||||
var _util = require('./util');
|
var _util = require('./util');
|
||||||
|
|
||||||
var _util2 = require('../util');
|
|
||||||
|
|
||||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
||||||
|
|
||||||
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bee-table",
|
"name": "bee-table",
|
||||||
"version": "1.3.8",
|
"version": "1.3.9",
|
||||||
"description": "Table ui component for react",
|
"description": "Table ui component for react",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"react",
|
"react",
|
||||||
|
|
Loading…
Reference in New Issue