|
|
|
@@ -21191,11 +21191,11 @@
|
|
|
|
|
|
|
|
|
|
var _Handle2 = _interopRequireDefault(_Handle);
|
|
|
|
|
|
|
|
|
|
var _Steps = __webpack_require__(216);
|
|
|
|
|
var _Steps = __webpack_require__(215);
|
|
|
|
|
|
|
|
|
|
var _Steps2 = _interopRequireDefault(_Steps);
|
|
|
|
|
|
|
|
|
|
var _Marks = __webpack_require__(218);
|
|
|
|
|
var _Marks = __webpack_require__(217);
|
|
|
|
|
|
|
|
|
|
var _Marks2 = _interopRequireDefault(_Marks);
|
|
|
|
|
|
|
|
|
@@ -21605,15 +21605,29 @@
|
|
|
|
|
|
|
|
|
|
var isNoTip = step === null || tipFormatter === null;
|
|
|
|
|
|
|
|
|
|
var upper = (0, _react.cloneElement)(customHandle, { className: upperClassName,
|
|
|
|
|
noTip: isNoTip, tipTransitionName: tipTransitionName, tipFormatter: tipFormatter,
|
|
|
|
|
vertical: vertical, offset: upperOffset, value: upperBound, dragging: handle === 'upperBound' });
|
|
|
|
|
var commonHandleProps = {
|
|
|
|
|
prefixCls: prefixCls,
|
|
|
|
|
noTip: isNoTip,
|
|
|
|
|
tipTransitionName: tipTransitionName,
|
|
|
|
|
tipFormatter: tipFormatter,
|
|
|
|
|
vertical: vertical
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var upper = (0, _react.cloneElement)(customHandle, _extends({}, commonHandleProps, {
|
|
|
|
|
className: upperClassName,
|
|
|
|
|
value: upperBound,
|
|
|
|
|
offset: upperOffset,
|
|
|
|
|
dragging: handle === 'upperBound'
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
var lower = null;
|
|
|
|
|
if (range) {
|
|
|
|
|
lower = (0, _react.cloneElement)(customHandle, { className: lowerClassName,
|
|
|
|
|
noTip: isNoTip, tipTransitionName: tipTransitionName, tipFormatter: tipFormatter,
|
|
|
|
|
vertical: vertical, offset: lowerOffset, value: lowerBound, dragging: handle === 'lowerBound' });
|
|
|
|
|
lower = (0, _react.cloneElement)(customHandle, _extends({}, commonHandleProps, {
|
|
|
|
|
className: lowerClassName,
|
|
|
|
|
value: lowerBound,
|
|
|
|
|
offset: lowerOffset,
|
|
|
|
|
dragging: handle === 'lowerBound'
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var sliderClassName = (0, _classnames2['default'])((_classNames3 = {}, _defineProperty(_classNames3, prefixCls, true), _defineProperty(_classNames3, prefixCls + '-disabled', disabled), _defineProperty(_classNames3, className, !!className), _defineProperty(_classNames3, prefixCls + '-vertical', this.props.vertical), _classNames3));
|
|
|
|
@@ -21622,7 +21636,8 @@
|
|
|
|
|
'div',
|
|
|
|
|
{ ref: 'slider', className: sliderClassName,
|
|
|
|
|
onTouchStart: disabled ? noop : this.onTouchStart.bind(this),
|
|
|
|
|
onMouseDown: disabled ? noop : this.onMouseDown.bind(this) },
|
|
|
|
|
onMouseDown: disabled ? noop : this.onMouseDown.bind(this)
|
|
|
|
|
},
|
|
|
|
|
upper,
|
|
|
|
|
lower,
|
|
|
|
|
_react2['default'].createElement(_Track2['default'], { className: prefixCls + '-track', vertical: vertical, included: isIncluded,
|
|
|
|
@@ -22265,21 +22280,23 @@
|
|
|
|
|
}, {
|
|
|
|
|
key: 'render',
|
|
|
|
|
value: function render() {
|
|
|
|
|
var props = this.props;
|
|
|
|
|
var className = props.className;
|
|
|
|
|
var tipTransitionName = props.tipTransitionName;
|
|
|
|
|
var tipFormatter = props.tipFormatter;
|
|
|
|
|
var vertical = props.vertical;
|
|
|
|
|
var offset = props.offset;
|
|
|
|
|
var value = props.value;
|
|
|
|
|
var dragging = props.dragging;
|
|
|
|
|
var noTip = props.noTip;
|
|
|
|
|
var _props = this.props;
|
|
|
|
|
var prefixCls = _props.prefixCls;
|
|
|
|
|
var className = _props.className;
|
|
|
|
|
var tipTransitionName = _props.tipTransitionName;
|
|
|
|
|
var tipFormatter = _props.tipFormatter;
|
|
|
|
|
var vertical = _props.vertical;
|
|
|
|
|
var offset = _props.offset;
|
|
|
|
|
var value = _props.value;
|
|
|
|
|
var dragging = _props.dragging;
|
|
|
|
|
var noTip = _props.noTip;
|
|
|
|
|
|
|
|
|
|
var style = vertical ? { bottom: offset + '%' } : { left: offset + '%' };
|
|
|
|
|
var handle = _react2['default'].createElement('div', { className: className, style: style,
|
|
|
|
|
onMouseUp: this.showTooltip.bind(this),
|
|
|
|
|
onMouseEnter: this.showTooltip.bind(this),
|
|
|
|
|
onMouseLeave: this.hideTooltip.bind(this) });
|
|
|
|
|
onMouseLeave: this.hideTooltip.bind(this)
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (noTip) {
|
|
|
|
|
return handle;
|
|
|
|
@@ -22289,7 +22306,7 @@
|
|
|
|
|
return _react2['default'].createElement(
|
|
|
|
|
_rcTooltip2['default'],
|
|
|
|
|
{
|
|
|
|
|
prefixCls: className.replace('slider-handle', 'tooltip'),
|
|
|
|
|
prefixCls: prefixCls.replace('slider', 'tooltip'),
|
|
|
|
|
placement: 'top',
|
|
|
|
|
visible: isTooltipVisible,
|
|
|
|
|
overlay: _react2['default'].createElement(
|
|
|
|
@@ -22298,7 +22315,8 @@
|
|
|
|
|
tipFormatter(value)
|
|
|
|
|
),
|
|
|
|
|
delay: 0,
|
|
|
|
|
transitionName: tipTransitionName },
|
|
|
|
|
transitionName: tipTransitionName
|
|
|
|
|
},
|
|
|
|
|
handle
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
@@ -22310,6 +22328,7 @@
|
|
|
|
|
exports['default'] = Handle;
|
|
|
|
|
|
|
|
|
|
Handle.propTypes = {
|
|
|
|
|
prefixCls: _react2['default'].PropTypes.string,
|
|
|
|
|
className: _react2['default'].PropTypes.string,
|
|
|
|
|
vertical: _react2['default'].PropTypes.bool,
|
|
|
|
|
offset: _react2['default'].PropTypes.number,
|
|
|
|
@@ -22585,11 +22604,7 @@
|
|
|
|
|
|
|
|
|
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
|
|
|
|
|
|
|
|
var _createChainedFunction = __webpack_require__(189);
|
|
|
|
|
|
|
|
|
|
var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
|
|
|
|
|
|
|
|
|
|
var _contains = __webpack_require__(190);
|
|
|
|
|
var _contains = __webpack_require__(189);
|
|
|
|
|
|
|
|
|
|
var _contains2 = _interopRequireDefault(_contains);
|
|
|
|
|
|
|
|
|
@@ -22597,13 +22612,13 @@
|
|
|
|
|
|
|
|
|
|
var _addEventListener2 = _interopRequireDefault(_addEventListener);
|
|
|
|
|
|
|
|
|
|
var _Popup = __webpack_require__(191);
|
|
|
|
|
var _Popup = __webpack_require__(190);
|
|
|
|
|
|
|
|
|
|
var _Popup2 = _interopRequireDefault(_Popup);
|
|
|
|
|
|
|
|
|
|
var _utils = __webpack_require__(214);
|
|
|
|
|
var _utils = __webpack_require__(213);
|
|
|
|
|
|
|
|
|
|
var _getContainerRenderMixin = __webpack_require__(215);
|
|
|
|
|
var _getContainerRenderMixin = __webpack_require__(214);
|
|
|
|
|
|
|
|
|
|
var _getContainerRenderMixin2 = _interopRequireDefault(_getContainerRenderMixin);
|
|
|
|
|
|
|
|
|
@@ -22621,7 +22636,8 @@
|
|
|
|
|
displayName: 'Trigger',
|
|
|
|
|
|
|
|
|
|
propTypes: {
|
|
|
|
|
action: _react.PropTypes.any,
|
|
|
|
|
children: _react.PropTypes.any,
|
|
|
|
|
action: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.arrayOf(_react.PropTypes.string)]),
|
|
|
|
|
showAction: _react.PropTypes.any,
|
|
|
|
|
hideAction: _react.PropTypes.any,
|
|
|
|
|
getPopupClassNameFromAlign: _react.PropTypes.any,
|
|
|
|
@@ -22668,10 +22684,10 @@
|
|
|
|
|
|
|
|
|
|
var mouseProps = {};
|
|
|
|
|
if (instance.isMouseEnterToShow()) {
|
|
|
|
|
mouseProps.onMouseEnter = instance.onMouseEnter;
|
|
|
|
|
mouseProps.onMouseEnter = instance.onPopupMouseEnter;
|
|
|
|
|
}
|
|
|
|
|
if (instance.isMouseLeaveToHide()) {
|
|
|
|
|
mouseProps.onMouseLeave = instance.onMouseLeave;
|
|
|
|
|
mouseProps.onMouseLeave = instance.onPopupMouseLeave;
|
|
|
|
|
}
|
|
|
|
|
return _react2["default"].createElement(
|
|
|
|
|
_Popup2["default"],
|
|
|
|
@@ -22733,6 +22749,15 @@
|
|
|
|
|
popupVisible: popupVisible
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
componentWillMount: function componentWillMount() {
|
|
|
|
|
var _this = this;
|
|
|
|
|
|
|
|
|
|
ALL_HANDLERS.forEach(function (h) {
|
|
|
|
|
_this['fire' + h] = function (e) {
|
|
|
|
|
_this.fireEvents(h, e);
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
componentDidMount: function componentDidMount() {
|
|
|
|
|
this.componentDidUpdate({}, {
|
|
|
|
|
popupVisible: this.state.popupVisible
|
|
|
|
@@ -22780,18 +22805,27 @@
|
|
|
|
|
this.touchOutsideHandler = null;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onMouseEnter: function onMouseEnter() {
|
|
|
|
|
onMouseEnter: function onMouseEnter(e) {
|
|
|
|
|
this.fireEvents('onMouseEnter', e);
|
|
|
|
|
this.delaySetPopupVisible(true, this.props.mouseEnterDelay);
|
|
|
|
|
},
|
|
|
|
|
onMouseLeave: function onMouseLeave(e) {
|
|
|
|
|
this.fireEvents('onMouseLeave', e);
|
|
|
|
|
this.delaySetPopupVisible(false, this.props.mouseLeaveDelay);
|
|
|
|
|
},
|
|
|
|
|
onPopupMouseEnter: function onPopupMouseEnter() {
|
|
|
|
|
this.clearDelayTimer();
|
|
|
|
|
},
|
|
|
|
|
onPopupMouseLeave: function onPopupMouseLeave(e) {
|
|
|
|
|
// https://github.com/react-component/trigger/pull/13
|
|
|
|
|
// react bug?
|
|
|
|
|
if (e.relatedTarget && !e.relatedTarget.setTimeout && (0, _contains2["default"])(this.popupContainer, e.relatedTarget)) {
|
|
|
|
|
if (e.relatedTarget && !e.relatedTarget.setTimeout && this._component && (0, _contains2["default"])(this._component.getPopupDomNode(), e.relatedTarget)) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.delaySetPopupVisible(false, this.props.mouseLeaveDelay);
|
|
|
|
|
},
|
|
|
|
|
onFocus: function onFocus() {
|
|
|
|
|
onFocus: function onFocus(e) {
|
|
|
|
|
this.fireEvents('onFocus', e);
|
|
|
|
|
// incase focusin and focusout
|
|
|
|
|
this.clearDelayTimer();
|
|
|
|
|
if (this.isFocusToShow()) {
|
|
|
|
@@ -22799,19 +22833,23 @@
|
|
|
|
|
this.delaySetPopupVisible(true, this.props.focusDelay);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onMouseDown: function onMouseDown() {
|
|
|
|
|
onMouseDown: function onMouseDown(e) {
|
|
|
|
|
this.fireEvents('onMouseDown', e);
|
|
|
|
|
this.preClickTime = Date.now();
|
|
|
|
|
},
|
|
|
|
|
onTouchStart: function onTouchStart() {
|
|
|
|
|
onTouchStart: function onTouchStart(e) {
|
|
|
|
|
this.fireEvents('onTouchStart', e);
|
|
|
|
|
this.preTouchTime = Date.now();
|
|
|
|
|
},
|
|
|
|
|
onBlur: function onBlur() {
|
|
|
|
|
onBlur: function onBlur(e) {
|
|
|
|
|
this.fireEvents('onBlur', e);
|
|
|
|
|
this.clearDelayTimer();
|
|
|
|
|
if (this.isBlurToHide()) {
|
|
|
|
|
this.delaySetPopupVisible(false, this.props.blurDelay);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick(event) {
|
|
|
|
|
this.fireEvents('onClick', event);
|
|
|
|
|
// focus will trigger click
|
|
|
|
|
if (this.focusTime) {
|
|
|
|
|
var preTime = void 0;
|
|
|
|
@@ -22891,14 +22929,14 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
delaySetPopupVisible: function delaySetPopupVisible(visible, delayS) {
|
|
|
|
|
var _this = this;
|
|
|
|
|
var _this2 = this;
|
|
|
|
|
|
|
|
|
|
var delay = delayS * 1000;
|
|
|
|
|
this.clearDelayTimer();
|
|
|
|
|
if (delay) {
|
|
|
|
|
this.delayTimer = setTimeout(function () {
|
|
|
|
|
_this.setPopupVisible(visible);
|
|
|
|
|
_this.clearDelayTimer();
|
|
|
|
|
_this2.setPopupVisible(visible);
|
|
|
|
|
_this2.clearDelayTimer();
|
|
|
|
|
}, delay);
|
|
|
|
|
} else {
|
|
|
|
|
this.setPopupVisible(visible);
|
|
|
|
@@ -22910,6 +22948,14 @@
|
|
|
|
|
this.delayTimer = null;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
createTwoChains: function createTwoChains(event) {
|
|
|
|
|
var childPros = this.props.children.props;
|
|
|
|
|
var props = this.props;
|
|
|
|
|
if (childPros[event] && props[event]) {
|
|
|
|
|
return this['fire' + event];
|
|
|
|
|
}
|
|
|
|
|
return childPros[event] || props[event];
|
|
|
|
|
},
|
|
|
|
|
isClickToShow: function isClickToShow() {
|
|
|
|
|
var _props = this.props;
|
|
|
|
|
var action = _props.action;
|
|
|
|
@@ -22957,41 +23003,49 @@
|
|
|
|
|
this.popupInstance.alignInstance.forceAlign();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fireEvents: function fireEvents(type, e) {
|
|
|
|
|
var childCallback = this.props.children.props[type];
|
|
|
|
|
if (childCallback) {
|
|
|
|
|
childCallback(e);
|
|
|
|
|
}
|
|
|
|
|
var callback = this.props[type];
|
|
|
|
|
if (callback) {
|
|
|
|
|
callback(e);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
render: function render() {
|
|
|
|
|
var props = this.props;
|
|
|
|
|
var children = props.children;
|
|
|
|
|
var child = _react2["default"].Children.only(children);
|
|
|
|
|
var childProps = child.props || {};
|
|
|
|
|
var newChildProps = {};
|
|
|
|
|
|
|
|
|
|
if (this.isClickToHide() || this.isClickToShow()) {
|
|
|
|
|
newChildProps.onClick = (0, _createChainedFunction2["default"])(this.onClick, childProps.onClick);
|
|
|
|
|
newChildProps.onMouseDown = (0, _createChainedFunction2["default"])(this.onMouseDown, childProps.onMouseDown);
|
|
|
|
|
newChildProps.onTouchStart = (0, _createChainedFunction2["default"])(this.onTouchStart, childProps.onTouchStart);
|
|
|
|
|
newChildProps.onClick = this.onClick;
|
|
|
|
|
newChildProps.onMouseDown = this.onMouseDown;
|
|
|
|
|
newChildProps.onTouchStart = this.onTouchStart;
|
|
|
|
|
} else {
|
|
|
|
|
newChildProps.onClick = this.createTwoChains('onClick');
|
|
|
|
|
newChildProps.onMouseDown = this.createTwoChains('onMouseDown');
|
|
|
|
|
newChildProps.onTouchStart = this.createTwoChains('onTouchStart');
|
|
|
|
|
}
|
|
|
|
|
if (this.isMouseEnterToShow()) {
|
|
|
|
|
newChildProps.onMouseEnter = (0, _createChainedFunction2["default"])(this.onMouseEnter, childProps.onMouseEnter);
|
|
|
|
|
newChildProps.onMouseEnter = this.onMouseEnter;
|
|
|
|
|
} else {
|
|
|
|
|
newChildProps.onMouseEnter = this.createTwoChains('onMouseEnter');
|
|
|
|
|
}
|
|
|
|
|
if (this.isMouseLeaveToHide()) {
|
|
|
|
|
newChildProps.onMouseLeave = (0, _createChainedFunction2["default"])(this.onMouseLeave, childProps.onMouseLeave);
|
|
|
|
|
newChildProps.onMouseLeave = this.onMouseLeave;
|
|
|
|
|
} else {
|
|
|
|
|
newChildProps.onMouseLeave = this.createTwoChains('onMouseLeave');
|
|
|
|
|
}
|
|
|
|
|
if (this.isFocusToShow() || this.isBlurToHide()) {
|
|
|
|
|
newChildProps.onFocus = (0, _createChainedFunction2["default"])(this.onFocus, childProps.onFocus);
|
|
|
|
|
newChildProps.onBlur = (0, _createChainedFunction2["default"])(this.onBlur, childProps.onBlur);
|
|
|
|
|
newChildProps.onFocus = this.onFocus;
|
|
|
|
|
newChildProps.onBlur = this.onBlur;
|
|
|
|
|
} else {
|
|
|
|
|
newChildProps.onFocus = this.createTwoChains('onFocus');
|
|
|
|
|
newChildProps.onBlur = this.createTwoChains('onBlur');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ALL_HANDLERS.forEach(function (handler) {
|
|
|
|
|
var newFn = void 0;
|
|
|
|
|
if (props[handler] && newChildProps[handler]) {
|
|
|
|
|
newFn = (0, _createChainedFunction2["default"])(props[handler], newChildProps[handler]);
|
|
|
|
|
} else {
|
|
|
|
|
newFn = props[handler] || newChildProps[handler];
|
|
|
|
|
}
|
|
|
|
|
if (newFn) {
|
|
|
|
|
newChildProps[handler] = newFn;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return _react2["default"].cloneElement(child, newChildProps);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@@ -23005,33 +23059,6 @@
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Safe chained function
|
|
|
|
|
*
|
|
|
|
|
* Will only create a new function if needed,
|
|
|
|
|
* otherwise will pass back existing functions or null.
|
|
|
|
|
*
|
|
|
|
|
* @returns {function|null}
|
|
|
|
|
*/
|
|
|
|
|
function createChainedFunction() {
|
|
|
|
|
var args = arguments;
|
|
|
|
|
return function chainedFunction() {
|
|
|
|
|
for (var i = 0; i < args.length; i++) {
|
|
|
|
|
if (args[i] && args[i].apply) {
|
|
|
|
|
args[i].apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = createChainedFunction;
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 190 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
|
module.exports = function contains(root, n) {
|
|
|
|
|
var node = n;
|
|
|
|
|
while (node) {
|
|
|
|
@@ -23045,7 +23072,7 @@
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 191 */
|
|
|
|
|
/* 190 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -23064,19 +23091,19 @@
|
|
|
|
|
|
|
|
|
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
|
|
|
|
|
|
|
|
var _rcAlign = __webpack_require__(192);
|
|
|
|
|
var _rcAlign = __webpack_require__(191);
|
|
|
|
|
|
|
|
|
|
var _rcAlign2 = _interopRequireDefault(_rcAlign);
|
|
|
|
|
|
|
|
|
|
var _rcAnimate = __webpack_require__(203);
|
|
|
|
|
var _rcAnimate = __webpack_require__(202);
|
|
|
|
|
|
|
|
|
|
var _rcAnimate2 = _interopRequireDefault(_rcAnimate);
|
|
|
|
|
|
|
|
|
|
var _PopupInner = __webpack_require__(212);
|
|
|
|
|
var _PopupInner = __webpack_require__(211);
|
|
|
|
|
|
|
|
|
|
var _PopupInner2 = _interopRequireDefault(_PopupInner);
|
|
|
|
|
|
|
|
|
|
var _LazyRenderBox = __webpack_require__(213);
|
|
|
|
|
var _LazyRenderBox = __webpack_require__(212);
|
|
|
|
|
|
|
|
|
|
var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
|
|
|
|
|
|
|
|
|
@@ -23274,7 +23301,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 192 */
|
|
|
|
|
/* 191 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -23283,7 +23310,7 @@
|
|
|
|
|
value: true
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var _Align = __webpack_require__(193);
|
|
|
|
|
var _Align = __webpack_require__(192);
|
|
|
|
|
|
|
|
|
|
var _Align2 = _interopRequireDefault(_Align);
|
|
|
|
|
|
|
|
|
@@ -23294,7 +23321,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 193 */
|
|
|
|
|
/* 192 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -23311,7 +23338,7 @@
|
|
|
|
|
|
|
|
|
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
|
|
|
|
|
|
|
|
var _domAlign = __webpack_require__(194);
|
|
|
|
|
var _domAlign = __webpack_require__(193);
|
|
|
|
|
|
|
|
|
|
var _domAlign2 = _interopRequireDefault(_domAlign);
|
|
|
|
|
|
|
|
|
@@ -23319,7 +23346,7 @@
|
|
|
|
|
|
|
|
|
|
var _addEventListener2 = _interopRequireDefault(_addEventListener);
|
|
|
|
|
|
|
|
|
|
var _isWindow = __webpack_require__(202);
|
|
|
|
|
var _isWindow = __webpack_require__(201);
|
|
|
|
|
|
|
|
|
|
var _isWindow2 = _interopRequireDefault(_isWindow);
|
|
|
|
|
|
|
|
|
@@ -23327,12 +23354,22 @@
|
|
|
|
|
|
|
|
|
|
function buffer(fn, ms) {
|
|
|
|
|
var timer = void 0;
|
|
|
|
|
return function bufferFn() {
|
|
|
|
|
|
|
|
|
|
function clear() {
|
|
|
|
|
if (timer) {
|
|
|
|
|
clearTimeout(timer);
|
|
|
|
|
timer = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function bufferFn() {
|
|
|
|
|
clear();
|
|
|
|
|
timer = setTimeout(fn, ms);
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bufferFn.clear = clear;
|
|
|
|
|
|
|
|
|
|
return bufferFn;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var Align = _react2["default"].createClass({
|
|
|
|
@@ -23402,11 +23439,13 @@
|
|
|
|
|
},
|
|
|
|
|
startMonitorWindowResize: function startMonitorWindowResize() {
|
|
|
|
|
if (!this.resizeHandler) {
|
|
|
|
|
this.resizeHandler = (0, _addEventListener2["default"])(window, 'resize', buffer(this.forceAlign, this.props.monitorBufferTime));
|
|
|
|
|
this.bufferMonitor = buffer(this.forceAlign, this.props.monitorBufferTime);
|
|
|
|
|
this.resizeHandler = (0, _addEventListener2["default"])(window, 'resize', this.bufferMonitor);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
stopMonitorWindowResize: function stopMonitorWindowResize() {
|
|
|
|
|
if (this.resizeHandler) {
|
|
|
|
|
this.bufferMonitor.clear();
|
|
|
|
|
this.resizeHandler.remove();
|
|
|
|
|
this.resizeHandler = null;
|
|
|
|
|
}
|
|
|
|
@@ -23441,7 +23480,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 194 */
|
|
|
|
|
/* 193 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@@ -23457,27 +23496,27 @@
|
|
|
|
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
|
|
|
|
|
|
|
|
var _utils = __webpack_require__(195);
|
|
|
|
|
var _utils = __webpack_require__(194);
|
|
|
|
|
|
|
|
|
|
var _utils2 = _interopRequireDefault(_utils);
|
|
|
|
|
|
|
|
|
|
var _getOffsetParent = __webpack_require__(196);
|
|
|
|
|
var _getOffsetParent = __webpack_require__(195);
|
|
|
|
|
|
|
|
|
|
var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
|
|
|
|
|
|
|
|
|
|
var _getVisibleRectForElement = __webpack_require__(197);
|
|
|
|
|
var _getVisibleRectForElement = __webpack_require__(196);
|
|
|
|
|
|
|
|
|
|
var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);
|
|
|
|
|
|
|
|
|
|
var _adjustForViewport = __webpack_require__(198);
|
|
|
|
|
var _adjustForViewport = __webpack_require__(197);
|
|
|
|
|
|
|
|
|
|
var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);
|
|
|
|
|
|
|
|
|
|
var _getRegion = __webpack_require__(199);
|
|
|
|
|
var _getRegion = __webpack_require__(198);
|
|
|
|
|
|
|
|
|
|
var _getRegion2 = _interopRequireDefault(_getRegion);
|
|
|
|
|
|
|
|
|
|
var _getElFuturePos = __webpack_require__(200);
|
|
|
|
|
var _getElFuturePos = __webpack_require__(199);
|
|
|
|
|
|
|
|
|
|
var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);
|
|
|
|
|
|
|
|
|
@@ -23664,7 +23703,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 195 */
|
|
|
|
|
/* 194 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24162,7 +24201,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 196 */
|
|
|
|
|
/* 195 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24173,7 +24212,7 @@
|
|
|
|
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
|
|
|
|
|
|
|
|
var _utils = __webpack_require__(195);
|
|
|
|
|
var _utils = __webpack_require__(194);
|
|
|
|
|
|
|
|
|
|
var _utils2 = _interopRequireDefault(_utils);
|
|
|
|
|
|
|
|
|
@@ -24220,7 +24259,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 197 */
|
|
|
|
|
/* 196 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24231,11 +24270,11 @@
|
|
|
|
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
|
|
|
|
|
|
|
|
var _utils = __webpack_require__(195);
|
|
|
|
|
var _utils = __webpack_require__(194);
|
|
|
|
|
|
|
|
|
|
var _utils2 = _interopRequireDefault(_utils);
|
|
|
|
|
|
|
|
|
|
var _getOffsetParent = __webpack_require__(196);
|
|
|
|
|
var _getOffsetParent = __webpack_require__(195);
|
|
|
|
|
|
|
|
|
|
var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
|
|
|
|
|
|
|
|
|
@@ -24301,7 +24340,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 198 */
|
|
|
|
|
/* 197 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24312,7 +24351,7 @@
|
|
|
|
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
|
|
|
|
|
|
|
|
var _utils = __webpack_require__(195);
|
|
|
|
|
var _utils = __webpack_require__(194);
|
|
|
|
|
|
|
|
|
|
var _utils2 = _interopRequireDefault(_utils);
|
|
|
|
|
|
|
|
|
@@ -24361,7 +24400,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 199 */
|
|
|
|
|
/* 198 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24372,7 +24411,7 @@
|
|
|
|
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
|
|
|
|
|
|
|
|
var _utils = __webpack_require__(195);
|
|
|
|
|
var _utils = __webpack_require__(194);
|
|
|
|
|
|
|
|
|
|
var _utils2 = _interopRequireDefault(_utils);
|
|
|
|
|
|
|
|
|
@@ -24402,7 +24441,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 200 */
|
|
|
|
|
/* 199 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24413,7 +24452,7 @@
|
|
|
|
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
|
|
|
|
|
|
|
|
var _getAlignOffset = __webpack_require__(201);
|
|
|
|
|
var _getAlignOffset = __webpack_require__(200);
|
|
|
|
|
|
|
|
|
|
var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);
|
|
|
|
|
|
|
|
|
@@ -24443,7 +24482,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 201 */
|
|
|
|
|
/* 200 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@@ -24488,7 +24527,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 202 */
|
|
|
|
|
/* 201 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
@@ -24505,16 +24544,16 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 203 */
|
|
|
|
|
/* 202 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
// export this package's api
|
|
|
|
|
module.exports = __webpack_require__(204);
|
|
|
|
|
module.exports = __webpack_require__(203);
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 204 */
|
|
|
|
|
/* 203 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24527,13 +24566,13 @@
|
|
|
|
|
|
|
|
|
|
var _react2 = _interopRequireDefault(_react);
|
|
|
|
|
|
|
|
|
|
var _ChildrenUtils = __webpack_require__(205);
|
|
|
|
|
var _ChildrenUtils = __webpack_require__(204);
|
|
|
|
|
|
|
|
|
|
var _AnimateChild = __webpack_require__(206);
|
|
|
|
|
var _AnimateChild = __webpack_require__(205);
|
|
|
|
|
|
|
|
|
|
var _AnimateChild2 = _interopRequireDefault(_AnimateChild);
|
|
|
|
|
|
|
|
|
|
var _util = __webpack_require__(211);
|
|
|
|
|
var _util = __webpack_require__(210);
|
|
|
|
|
|
|
|
|
|
var _util2 = _interopRequireDefault(_util);
|
|
|
|
|
|
|
|
|
@@ -24846,7 +24885,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 205 */
|
|
|
|
|
/* 204 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24968,7 +25007,7 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 206 */
|
|
|
|
|
/* 205 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -24987,11 +25026,11 @@
|
|
|
|
|
|
|
|
|
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
|
|
|
|
|
|
|
|
var _cssAnimation = __webpack_require__(207);
|
|
|
|
|
var _cssAnimation = __webpack_require__(206);
|
|
|
|
|
|
|
|
|
|
var _cssAnimation2 = _interopRequireDefault(_cssAnimation);
|
|
|
|
|
|
|
|
|
|
var _util = __webpack_require__(211);
|
|
|
|
|
var _util = __webpack_require__(210);
|
|
|
|
|
|
|
|
|
|
var _util2 = _interopRequireDefault(_util);
|
|
|
|
|
|
|
|
|
@@ -25072,7 +25111,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 207 */
|
|
|
|
|
/* 206 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -25081,11 +25120,11 @@
|
|
|
|
|
value: true
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var _Event = __webpack_require__(208);
|
|
|
|
|
var _Event = __webpack_require__(207);
|
|
|
|
|
|
|
|
|
|
var _Event2 = _interopRequireDefault(_Event);
|
|
|
|
|
|
|
|
|
|
var _componentClasses = __webpack_require__(209);
|
|
|
|
|
var _componentClasses = __webpack_require__(208);
|
|
|
|
|
|
|
|
|
|
var _componentClasses2 = _interopRequireDefault(_componentClasses);
|
|
|
|
|
|
|
|
|
@@ -25264,7 +25303,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 208 */
|
|
|
|
|
/* 207 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -25357,7 +25396,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 209 */
|
|
|
|
|
/* 208 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@@ -25365,9 +25404,9 @@
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
var index = __webpack_require__(210);
|
|
|
|
|
var index = __webpack_require__(209);
|
|
|
|
|
} catch (err) {
|
|
|
|
|
var index = __webpack_require__(210);
|
|
|
|
|
var index = __webpack_require__(209);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@@ -25554,7 +25593,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 210 */
|
|
|
|
|
/* 209 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
module.exports = function(arr, obj){
|
|
|
|
@@ -25566,7 +25605,7 @@
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 211 */
|
|
|
|
|
/* 210 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
@@ -25598,7 +25637,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 212 */
|
|
|
|
|
/* 211 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -25611,7 +25650,7 @@
|
|
|
|
|
|
|
|
|
|
var _react2 = _interopRequireDefault(_react);
|
|
|
|
|
|
|
|
|
|
var _LazyRenderBox = __webpack_require__(213);
|
|
|
|
|
var _LazyRenderBox = __webpack_require__(212);
|
|
|
|
|
|
|
|
|
|
var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
|
|
|
|
|
|
|
|
|
@@ -25655,7 +25694,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 213 */
|
|
|
|
|
/* 212 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -25706,7 +25745,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 214 */
|
|
|
|
|
/* 213 */
|
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -25741,7 +25780,7 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 215 */
|
|
|
|
|
/* 214 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -25840,7 +25879,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 216 */
|
|
|
|
|
/* 215 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
@@ -25861,7 +25900,7 @@
|
|
|
|
|
|
|
|
|
|
var _classnames2 = _interopRequireDefault(_classnames);
|
|
|
|
|
|
|
|
|
|
var _warning = __webpack_require__(217);
|
|
|
|
|
var _warning = __webpack_require__(216);
|
|
|
|
|
|
|
|
|
|
var _warning2 = _interopRequireDefault(_warning);
|
|
|
|
|
|
|
|
|
@@ -25913,7 +25952,7 @@
|
|
|
|
|
module.exports = exports['default'];
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 217 */
|
|
|
|
|
/* 216 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
/* WEBPACK VAR INJECTION */(function(process) {/**
|
|
|
|
@@ -25980,7 +26019,7 @@
|
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
|
/* 218 */
|
|
|
|
|
/* 217 */
|
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|