aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/pick-time.js
diff options
context:
space:
mode:
author崖鹰 <zhao.wuz@alipay.com>2015-11-19 08:38:51 +0800
committer崖鹰 <zhao.wuz@alipay.com>2015-11-19 08:38:51 +0800
commit4f54a8df81f39e4a43c27ebc0da2a8f82cb0c8e3 (patch)
tree8ee79f7d3cbd090d2590794a87c2db373b569d9f /examples/pick-time.js
parentd9527a303eb610256874f90007c218a2ed90bb80 (diff)
downloadtime-picker-4f54a8df81f39e4a43c27ebc0da2a8f82cb0c8e3.tar.gz
time-picker-4f54a8df81f39e4a43c27ebc0da2a8f82cb0c8e3.tar.zst
time-picker-4f54a8df81f39e4a43c27ebc0da2a8f82cb0c8e3.zip
Updates
Diffstat (limited to 'examples/pick-time.js')
-rw-r--r--examples/pick-time.js1547
1 files changed, 978 insertions, 569 deletions
diff --git a/examples/pick-time.js b/examples/pick-time.js
index 1cf37c0..a8784fb 100644
--- a/examples/pick-time.js
+++ b/examples/pick-time.js
@@ -35,11 +35,11 @@ webpackJsonp([0,1],[
35 35
36 var _gregorianCalendarLibLocaleZh_CN2 = _interopRequireDefault(_gregorianCalendarLibLocaleZh_CN); 36 var _gregorianCalendarLibLocaleZh_CN2 = _interopRequireDefault(_gregorianCalendarLibLocaleZh_CN);
37 37
38 var _rcTimePickerSrcTimePicker = __webpack_require__(169); 38 var _rcTimePicker = __webpack_require__(169);
39 39
40 var _rcTimePickerSrcTimePicker2 = _interopRequireDefault(_rcTimePickerSrcTimePicker); 40 var _rcTimePicker2 = _interopRequireDefault(_rcTimePicker);
41 41
42 var _rcTimePickerSrcLocaleZh_CN = __webpack_require__(234); 42 var _rcTimePickerSrcLocaleZh_CN = __webpack_require__(245);
43 43
44 var _rcTimePickerSrcLocaleZh_CN2 = _interopRequireDefault(_rcTimePickerSrcLocaleZh_CN); 44 var _rcTimePickerSrcLocaleZh_CN2 = _interopRequireDefault(_rcTimePickerSrcLocaleZh_CN);
45 45
@@ -48,7 +48,7 @@ webpackJsonp([0,1],[
48 var now = new _gregorianCalendar2['default'](_gregorianCalendarLibLocaleZh_CN2['default']); 48 var now = new _gregorianCalendar2['default'](_gregorianCalendarLibLocaleZh_CN2['default']);
49 now.setTime(Date.now()); 49 now.setTime(Date.now());
50 50
51 _reactDom2['default'].render(_react2['default'].createElement(_rcTimePickerSrcTimePicker2['default'], { formatter: formatter, locale: _rcTimePickerSrcLocaleZh_CN2['default'], value: now }), document.getElementById('__react-content')); 51 _reactDom2['default'].render(_react2['default'].createElement(_rcTimePicker2['default'], { formatter: formatter, locale: _rcTimePickerSrcLocaleZh_CN2['default'], defaultValue: now }), document.getElementById('__react-content'));
52 52
53/***/ }, 53/***/ },
54/* 2 */ 54/* 2 */
@@ -22201,6 +22201,44 @@ webpackJsonp([0,1],[
22201 22201
22202 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 22202 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
22203 22203
22204 var _src = __webpack_require__(170);
22205
22206 var _src2 = _interopRequireDefault(_src);
22207
22208 exports['default'] = _src2['default'];
22209 module.exports = exports['default'];
22210
22211/***/ },
22212/* 170 */
22213/***/ function(module, exports, __webpack_require__) {
22214
22215 'use strict';
22216
22217 Object.defineProperty(exports, '__esModule', {
22218 value: true
22219 });
22220
22221 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
22222
22223 var _TimePicker = __webpack_require__(171);
22224
22225 var _TimePicker2 = _interopRequireDefault(_TimePicker);
22226
22227 exports['default'] = _TimePicker2['default'];
22228 module.exports = exports['default'];
22229
22230/***/ },
22231/* 171 */
22232/***/ function(module, exports, __webpack_require__) {
22233
22234 'use strict';
22235
22236 Object.defineProperty(exports, '__esModule', {
22237 value: true
22238 });
22239
22240 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
22241
22204 var _react = __webpack_require__(3); 22242 var _react = __webpack_require__(3);
22205 22243
22206 var _react2 = _interopRequireDefault(_react); 22244 var _react2 = _interopRequireDefault(_react);
@@ -22209,21 +22247,21 @@ webpackJsonp([0,1],[
22209 22247
22210 var _reactDom2 = _interopRequireDefault(_reactDom); 22248 var _reactDom2 = _interopRequireDefault(_reactDom);
22211 22249
22212 var _rcTrigger = __webpack_require__(170); 22250 var _rcTrigger = __webpack_require__(172);
22213 22251
22214 var _rcTrigger2 = _interopRequireDefault(_rcTrigger); 22252 var _rcTrigger2 = _interopRequireDefault(_rcTrigger);
22215 22253
22216 var _rcUtil = __webpack_require__(211); 22254 var _rcUtil = __webpack_require__(225);
22217 22255
22218 var _modulePanel = __webpack_require__(226); 22256 var _modulePanel = __webpack_require__(237);
22219 22257
22220 var _modulePanel2 = _interopRequireDefault(_modulePanel); 22258 var _modulePanel2 = _interopRequireDefault(_modulePanel);
22221 22259
22222 var _utilPlacements = __webpack_require__(233); 22260 var _utilPlacements = __webpack_require__(244);
22223 22261
22224 var _utilPlacements2 = _interopRequireDefault(_utilPlacements); 22262 var _utilPlacements2 = _interopRequireDefault(_utilPlacements);
22225 22263
22226 var _mixinCommonMixin = __webpack_require__(227); 22264 var _mixinCommonMixin = __webpack_require__(238);
22227 22265
22228 var _mixinCommonMixin2 = _interopRequireDefault(_mixinCommonMixin); 22266 var _mixinCommonMixin2 = _interopRequireDefault(_mixinCommonMixin);
22229 22267
@@ -22238,10 +22276,11 @@ webpackJsonp([0,1],[
22238 22276
22239 propTypes: { 22277 propTypes: {
22240 prefixCls: _react.PropTypes.string, 22278 prefixCls: _react.PropTypes.string,
22279 inputClassName: _react.PropTypes.string,
22241 locale: _react.PropTypes.object, 22280 locale: _react.PropTypes.object,
22242 children: _react.PropTypes.func, 22281 children: _react.PropTypes.func,
22243 disabled: _react.PropTypes.bool, 22282 disabled: _react.PropTypes.bool,
22244 value: _react.PropTypes.object, 22283 defaultValue: _react.PropTypes.object,
22245 open: _react.PropTypes.bool, 22284 open: _react.PropTypes.bool,
22246 align: _react.PropTypes.object, 22285 align: _react.PropTypes.object,
22247 placement: _react.PropTypes.any, 22286 placement: _react.PropTypes.any,
@@ -22279,11 +22318,11 @@ webpackJsonp([0,1],[
22279 }, 22318 },
22280 22319
22281 componentWillReceiveProps: function componentWillReceiveProps(nextProps) { 22320 componentWillReceiveProps: function componentWillReceiveProps(nextProps) {
22282 var value = nextProps.value; 22321 var defaultValue = nextProps.defaultValue;
22283 var open = nextProps.open; 22322 var open = nextProps.open;
22284 22323
22285 if (value !== undefined) { 22324 if (defaultValue !== undefined) {
22286 this.setState({ value: value }); 22325 this.setState({ value: defaultValue });
22287 } 22326 }
22288 if (open !== undefined) { 22327 if (open !== undefined) {
22289 this.setState({ open: open }); 22328 this.setState({ open: open });
@@ -22291,14 +22330,18 @@ webpackJsonp([0,1],[
22291 }, 22330 },
22292 22331
22293 onPanelChange: function onPanelChange(value) { 22332 onPanelChange: function onPanelChange(value) {
22294 var props = this.props;
22295 this.setState({ 22333 this.setState({
22296 value: value 22334 value: value
22297 }); 22335 });
22298 props.onChange(value); 22336 this.props.onChange(value);
22299 }, 22337 },
22300 22338
22301 onPanelClear: function onPanelClear() {}, 22339 onPanelClear: function onPanelClear() {
22340 this.setState({
22341 value: ''
22342 });
22343 this.setOpen(false);
22344 },
22302 22345
22303 onVisibleChange: function onVisibleChange(open) { 22346 onVisibleChange: function onVisibleChange(open) {
22304 var _this = this; 22347 var _this = this;
@@ -22314,7 +22357,7 @@ webpackJsonp([0,1],[
22314 getPanel: function getPanel() { 22357 getPanel: function getPanel() {
22315 var _props2 = this.props; 22358 var _props2 = this.props;
22316 var prefixCls = _props2.prefixCls; 22359 var prefixCls = _props2.prefixCls;
22317 var value = _props2.value; 22360 var defaultValue = _props2.defaultValue;
22318 var locale = _props2.locale; 22361 var locale = _props2.locale;
22319 var formatter = _props2.formatter; 22362 var formatter = _props2.formatter;
22320 var placeholder = _props2.placeholder; 22363 var placeholder = _props2.placeholder;
@@ -22324,7 +22367,7 @@ webpackJsonp([0,1],[
22324 22367
22325 return _react2['default'].createElement(_modulePanel2['default'], { 22368 return _react2['default'].createElement(_modulePanel2['default'], {
22326 prefixCls: prefixCls, 22369 prefixCls: prefixCls,
22327 defaultValue: value, 22370 defaultValue: defaultValue,
22328 locale: locale, 22371 locale: locale,
22329 formatter: formatter, 22372 formatter: formatter,
22330 placeholder: placeholder, 22373 placeholder: placeholder,
@@ -22376,6 +22419,7 @@ webpackJsonp([0,1],[
22376 var transitionName = _props4.transitionName; 22419 var transitionName = _props4.transitionName;
22377 var children = _props4.children; 22420 var children = _props4.children;
22378 var formatter = _props4.formatter; 22421 var formatter = _props4.formatter;
22422 var inputClassName = _props4.inputClassName;
22379 var _state = this.state; 22423 var _state = this.state;
22380 var open = _state.open; 22424 var open = _state.open;
22381 var value = _state.value; 22425 var value = _state.value;
@@ -22397,7 +22441,7 @@ webpackJsonp([0,1],[
22397 _react2['default'].createElement( 22441 _react2['default'].createElement(
22398 'span', 22442 'span',
22399 { className: prefixCls + '-picker' }, 22443 { className: prefixCls + '-picker' },
22400 _react2['default'].createElement('input', { ref: 'picker', type: 'text', placeholder: placeholder, readOnly: true, disabled: disabled, value: value && formatter.format(value) }), 22444 _react2['default'].createElement('input', { className: inputClassName, ref: 'picker', type: 'text', placeholder: placeholder, readOnly: true, disabled: disabled, value: value && formatter.format(value) }),
22401 _react2['default'].createElement('span', { className: prefixCls + '-picker-icon' }) 22445 _react2['default'].createElement('span', { className: prefixCls + '-picker-icon' })
22402 ) 22446 )
22403 ); 22447 );
@@ -22408,15 +22452,15 @@ webpackJsonp([0,1],[
22408 module.exports = exports['default']; 22452 module.exports = exports['default'];
22409 22453
22410/***/ }, 22454/***/ },
22411/* 170 */ 22455/* 172 */
22412/***/ function(module, exports, __webpack_require__) { 22456/***/ function(module, exports, __webpack_require__) {
22413 22457
22414 'use strict'; 22458 'use strict';
22415 22459
22416 module.exports = __webpack_require__(171); 22460 module.exports = __webpack_require__(173);
22417 22461
22418/***/ }, 22462/***/ },
22419/* 171 */ 22463/* 173 */
22420/***/ function(module, exports, __webpack_require__) { 22464/***/ function(module, exports, __webpack_require__) {
22421 22465
22422 'use strict'; 22466 'use strict';
@@ -22437,13 +22481,13 @@ webpackJsonp([0,1],[
22437 22481
22438 var _reactDom2 = _interopRequireDefault(_reactDom); 22482 var _reactDom2 = _interopRequireDefault(_reactDom);
22439 22483
22440 var _rcUtil = __webpack_require__(172); 22484 var _rcUtil = __webpack_require__(174);
22441 22485
22442 var _Popup = __webpack_require__(189); 22486 var _Popup = __webpack_require__(191);
22443 22487
22444 var _Popup2 = _interopRequireDefault(_Popup); 22488 var _Popup2 = _interopRequireDefault(_Popup);
22445 22489
22446 var _utils = __webpack_require__(210); 22490 var _utils = __webpack_require__(224);
22447 22491
22448 function noop() {} 22492 function noop() {}
22449 22493
@@ -22768,31 +22812,31 @@ webpackJsonp([0,1],[
22768 module.exports = exports['default']; 22812 module.exports = exports['default'];
22769 22813
22770/***/ }, 22814/***/ },
22771/* 172 */ 22815/* 174 */
22772/***/ function(module, exports, __webpack_require__) { 22816/***/ function(module, exports, __webpack_require__) {
22773 22817
22774 'use strict'; 22818 'use strict';
22775 22819
22776 module.exports = { 22820 module.exports = {
22777 guid: __webpack_require__(173), 22821 guid: __webpack_require__(175),
22778 classSet: __webpack_require__(174), 22822 classSet: __webpack_require__(176),
22779 joinClasses: __webpack_require__(176), 22823 joinClasses: __webpack_require__(178),
22780 KeyCode: __webpack_require__(177), 22824 KeyCode: __webpack_require__(179),
22781 PureRenderMixin: __webpack_require__(178), 22825 PureRenderMixin: __webpack_require__(180),
22782 shallowEqual: __webpack_require__(179), 22826 shallowEqual: __webpack_require__(181),
22783 createChainedFunction: __webpack_require__(180), 22827 createChainedFunction: __webpack_require__(182),
22784 Dom: { 22828 Dom: {
22785 addEventListener: __webpack_require__(181), 22829 addEventListener: __webpack_require__(183),
22786 contains: __webpack_require__(186) 22830 contains: __webpack_require__(188)
22787 }, 22831 },
22788 Children: { 22832 Children: {
22789 toArray: __webpack_require__(187), 22833 toArray: __webpack_require__(189),
22790 mapSelf: __webpack_require__(188) 22834 mapSelf: __webpack_require__(190)
22791 } 22835 }
22792 }; 22836 };
22793 22837
22794/***/ }, 22838/***/ },
22795/* 173 */ 22839/* 175 */
22796/***/ function(module, exports) { 22840/***/ function(module, exports) {
22797 22841
22798 'use strict'; 22842 'use strict';
@@ -22803,15 +22847,15 @@ webpackJsonp([0,1],[
22803 }; 22847 };
22804 22848
22805/***/ }, 22849/***/ },
22806/* 174 */ 22850/* 176 */
22807/***/ function(module, exports, __webpack_require__) { 22851/***/ function(module, exports, __webpack_require__) {
22808 22852
22809 'use strict'; 22853 'use strict';
22810 22854
22811 module.exports = __webpack_require__(175); 22855 module.exports = __webpack_require__(177);
22812 22856
22813/***/ }, 22857/***/ },
22814/* 175 */ 22858/* 177 */
22815/***/ function(module, exports, __webpack_require__) { 22859/***/ function(module, exports, __webpack_require__) {
22816 22860
22817 var __WEBPACK_AMD_DEFINE_RESULT__;/*! 22861 var __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -22865,7 +22909,7 @@ webpackJsonp([0,1],[
22865 22909
22866 22910
22867/***/ }, 22911/***/ },
22868/* 176 */ 22912/* 178 */
22869/***/ function(module, exports) { 22913/***/ function(module, exports) {
22870 22914
22871 /** 22915 /**
@@ -22899,7 +22943,7 @@ webpackJsonp([0,1],[
22899 module.exports = joinClasses; 22943 module.exports = joinClasses;
22900 22944
22901/***/ }, 22945/***/ },
22902/* 177 */ 22946/* 179 */
22903/***/ function(module, exports) { 22947/***/ function(module, exports) {
22904 22948
22905 /** 22949 /**
@@ -23424,12 +23468,12 @@ webpackJsonp([0,1],[
23424 module.exports = KeyCode; 23468 module.exports = KeyCode;
23425 23469
23426/***/ }, 23470/***/ },
23427/* 178 */ 23471/* 180 */
23428/***/ function(module, exports, __webpack_require__) { 23472/***/ function(module, exports, __webpack_require__) {
23429 23473
23430 'use strict'; 23474 'use strict';
23431 23475
23432 var shallowEqual = __webpack_require__(179); 23476 var shallowEqual = __webpack_require__(181);
23433 23477
23434 /** 23478 /**
23435 * If your React component's render function is "pure", e.g. it will render the 23479 * If your React component's render function is "pure", e.g. it will render the
@@ -23464,7 +23508,7 @@ webpackJsonp([0,1],[
23464 module.exports = ReactComponentWithPureRenderMixin; 23508 module.exports = ReactComponentWithPureRenderMixin;
23465 23509
23466/***/ }, 23510/***/ },
23467/* 179 */ 23511/* 181 */
23468/***/ function(module, exports) { 23512/***/ function(module, exports) {
23469 23513
23470 "use strict"; 23514 "use strict";
@@ -23492,7 +23536,7 @@ webpackJsonp([0,1],[
23492 module.exports = shallowEqual; 23536 module.exports = shallowEqual;
23493 23537
23494/***/ }, 23538/***/ },
23495/* 180 */ 23539/* 182 */
23496/***/ function(module, exports) { 23540/***/ function(module, exports) {
23497 23541
23498 /** 23542 /**
@@ -23519,7 +23563,7 @@ webpackJsonp([0,1],[
23519 module.exports = createChainedFunction; 23563 module.exports = createChainedFunction;
23520 23564
23521/***/ }, 23565/***/ },
23522/* 181 */ 23566/* 183 */
23523/***/ function(module, exports, __webpack_require__) { 23567/***/ function(module, exports, __webpack_require__) {
23524 23568
23525 'use strict'; 23569 'use strict';
@@ -23531,7 +23575,7 @@ webpackJsonp([0,1],[
23531 23575
23532 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 23576 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
23533 23577
23534 var _addDomEventListener = __webpack_require__(182); 23578 var _addDomEventListener = __webpack_require__(184);
23535 23579
23536 var _addDomEventListener2 = _interopRequireDefault(_addDomEventListener); 23580 var _addDomEventListener2 = _interopRequireDefault(_addDomEventListener);
23537 23581
@@ -23550,7 +23594,7 @@ webpackJsonp([0,1],[
23550 module.exports = exports['default']; 23594 module.exports = exports['default'];
23551 23595
23552/***/ }, 23596/***/ },
23553/* 182 */ 23597/* 184 */
23554/***/ function(module, exports, __webpack_require__) { 23598/***/ function(module, exports, __webpack_require__) {
23555 23599
23556 'use strict'; 23600 'use strict';
@@ -23562,7 +23606,7 @@ webpackJsonp([0,1],[
23562 23606
23563 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 23607 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
23564 23608
23565 var _EventObject = __webpack_require__(183); 23609 var _EventObject = __webpack_require__(185);
23566 23610
23567 var _EventObject2 = _interopRequireDefault(_EventObject); 23611 var _EventObject2 = _interopRequireDefault(_EventObject);
23568 23612
@@ -23592,7 +23636,7 @@ webpackJsonp([0,1],[
23592 module.exports = exports['default']; 23636 module.exports = exports['default'];
23593 23637
23594/***/ }, 23638/***/ },
23595/* 183 */ 23639/* 185 */
23596/***/ function(module, exports, __webpack_require__) { 23640/***/ function(module, exports, __webpack_require__) {
23597 23641
23598 /** 23642 /**
@@ -23609,11 +23653,11 @@ webpackJsonp([0,1],[
23609 23653
23610 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 23654 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
23611 23655
23612 var _EventBaseObject = __webpack_require__(184); 23656 var _EventBaseObject = __webpack_require__(186);
23613 23657
23614 var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject); 23658 var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject);
23615 23659
23616 var _objectAssign = __webpack_require__(185); 23660 var _objectAssign = __webpack_require__(187);
23617 23661
23618 var _objectAssign2 = _interopRequireDefault(_objectAssign); 23662 var _objectAssign2 = _interopRequireDefault(_objectAssign);
23619 23663
@@ -23875,7 +23919,7 @@ webpackJsonp([0,1],[
23875 module.exports = exports['default']; 23919 module.exports = exports['default'];
23876 23920
23877/***/ }, 23921/***/ },
23878/* 184 */ 23922/* 186 */
23879/***/ function(module, exports) { 23923/***/ function(module, exports) {
23880 23924
23881 /** 23925 /**
@@ -23943,7 +23987,7 @@ webpackJsonp([0,1],[
23943 module.exports = exports["default"]; 23987 module.exports = exports["default"];
23944 23988
23945/***/ }, 23989/***/ },
23946/* 185 */ 23990/* 187 */
23947/***/ function(module, exports) { 23991/***/ function(module, exports) {
23948 23992
23949 /* eslint-disable no-unused-vars */ 23993 /* eslint-disable no-unused-vars */
@@ -23988,7 +24032,7 @@ webpackJsonp([0,1],[
23988 24032
23989 24033
23990/***/ }, 24034/***/ },
23991/* 186 */ 24035/* 188 */
23992/***/ function(module, exports) { 24036/***/ function(module, exports) {
23993 24037
23994 "use strict"; 24038 "use strict";
@@ -24006,7 +24050,7 @@ webpackJsonp([0,1],[
24006 }; 24050 };
24007 24051
24008/***/ }, 24052/***/ },
24009/* 187 */ 24053/* 189 */
24010/***/ function(module, exports, __webpack_require__) { 24054/***/ function(module, exports, __webpack_require__) {
24011 24055
24012 'use strict'; 24056 'use strict';
@@ -24022,7 +24066,7 @@ webpackJsonp([0,1],[
24022 }; 24066 };
24023 24067
24024/***/ }, 24068/***/ },
24025/* 188 */ 24069/* 190 */
24026/***/ function(module, exports, __webpack_require__) { 24070/***/ function(module, exports, __webpack_require__) {
24027 24071
24028 'use strict'; 24072 'use strict';
@@ -24039,7 +24083,7 @@ webpackJsonp([0,1],[
24039 }; 24083 };
24040 24084
24041/***/ }, 24085/***/ },
24042/* 189 */ 24086/* 191 */
24043/***/ function(module, exports, __webpack_require__) { 24087/***/ function(module, exports, __webpack_require__) {
24044 24088
24045 'use strict'; 24089 'use strict';
@@ -24058,15 +24102,15 @@ webpackJsonp([0,1],[
24058 24102
24059 var _reactDom2 = _interopRequireDefault(_reactDom); 24103 var _reactDom2 = _interopRequireDefault(_reactDom);
24060 24104
24061 var _rcAlign = __webpack_require__(190); 24105 var _rcAlign = __webpack_require__(192);
24062 24106
24063 var _rcAlign2 = _interopRequireDefault(_rcAlign); 24107 var _rcAlign2 = _interopRequireDefault(_rcAlign);
24064 24108
24065 var _rcAnimate = __webpack_require__(201); 24109 var _rcAnimate = __webpack_require__(215);
24066 24110
24067 var _rcAnimate2 = _interopRequireDefault(_rcAnimate); 24111 var _rcAnimate2 = _interopRequireDefault(_rcAnimate);
24068 24112
24069 var _PopupInner = __webpack_require__(209); 24113 var _PopupInner = __webpack_require__(223);
24070 24114
24071 var _PopupInner2 = _interopRequireDefault(_PopupInner); 24115 var _PopupInner2 = _interopRequireDefault(_PopupInner);
24072 24116
@@ -24199,7 +24243,7 @@ webpackJsonp([0,1],[
24199 module.exports = exports['default']; 24243 module.exports = exports['default'];
24200 24244
24201/***/ }, 24245/***/ },
24202/* 190 */ 24246/* 192 */
24203/***/ function(module, exports, __webpack_require__) { 24247/***/ function(module, exports, __webpack_require__) {
24204 24248
24205 // export this package's api 24249 // export this package's api
@@ -24211,7 +24255,7 @@ webpackJsonp([0,1],[
24211 24255
24212 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 24256 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
24213 24257
24214 var _Align = __webpack_require__(191); 24258 var _Align = __webpack_require__(193);
24215 24259
24216 var _Align2 = _interopRequireDefault(_Align); 24260 var _Align2 = _interopRequireDefault(_Align);
24217 24261
@@ -24219,7 +24263,7 @@ webpackJsonp([0,1],[
24219 module.exports = exports['default']; 24263 module.exports = exports['default'];
24220 24264
24221/***/ }, 24265/***/ },
24222/* 191 */ 24266/* 193 */
24223/***/ function(module, exports, __webpack_require__) { 24267/***/ function(module, exports, __webpack_require__) {
24224 24268
24225 'use strict'; 24269 'use strict';
@@ -24238,13 +24282,13 @@ webpackJsonp([0,1],[
24238 24282
24239 var _reactDom2 = _interopRequireDefault(_reactDom); 24283 var _reactDom2 = _interopRequireDefault(_reactDom);
24240 24284
24241 var _domAlign = __webpack_require__(192); 24285 var _domAlign = __webpack_require__(194);
24242 24286
24243 var _domAlign2 = _interopRequireDefault(_domAlign); 24287 var _domAlign2 = _interopRequireDefault(_domAlign);
24244 24288
24245 var _rcUtil = __webpack_require__(172); 24289 var _rcUtil = __webpack_require__(202);
24246 24290
24247 var _isWindow = __webpack_require__(200); 24291 var _isWindow = __webpack_require__(214);
24248 24292
24249 var _isWindow2 = _interopRequireDefault(_isWindow); 24293 var _isWindow2 = _interopRequireDefault(_isWindow);
24250 24294
@@ -24376,7 +24420,7 @@ webpackJsonp([0,1],[
24376 module.exports = exports['default']; 24420 module.exports = exports['default'];
24377 24421
24378/***/ }, 24422/***/ },
24379/* 192 */ 24423/* 194 */
24380/***/ function(module, exports, __webpack_require__) { 24424/***/ function(module, exports, __webpack_require__) {
24381 24425
24382 /** 24426 /**
@@ -24392,27 +24436,27 @@ webpackJsonp([0,1],[
24392 24436
24393 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 24437 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
24394 24438
24395 var _utils = __webpack_require__(193); 24439 var _utils = __webpack_require__(195);
24396 24440
24397 var _utils2 = _interopRequireDefault(_utils); 24441 var _utils2 = _interopRequireDefault(_utils);
24398 24442
24399 var _getOffsetParent = __webpack_require__(194); 24443 var _getOffsetParent = __webpack_require__(196);
24400 24444
24401 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent); 24445 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
24402 24446
24403 var _getVisibleRectForElement = __webpack_require__(195); 24447 var _getVisibleRectForElement = __webpack_require__(197);
24404 24448
24405 var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement); 24449 var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);
24406 24450
24407 var _adjustForViewport = __webpack_require__(196); 24451 var _adjustForViewport = __webpack_require__(198);
24408 24452
24409 var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport); 24453 var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);
24410 24454
24411 var _getRegion = __webpack_require__(197); 24455 var _getRegion = __webpack_require__(199);
24412 24456
24413 var _getRegion2 = _interopRequireDefault(_getRegion); 24457 var _getRegion2 = _interopRequireDefault(_getRegion);
24414 24458
24415 var _getElFuturePos = __webpack_require__(198); 24459 var _getElFuturePos = __webpack_require__(200);
24416 24460
24417 var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos); 24461 var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);
24418 24462
@@ -24579,7 +24623,7 @@ webpackJsonp([0,1],[
24579 module.exports = exports['default']; 24623 module.exports = exports['default'];
24580 24624
24581/***/ }, 24625/***/ },
24582/* 193 */ 24626/* 195 */
24583/***/ function(module, exports) { 24627/***/ function(module, exports) {
24584 24628
24585 'use strict'; 24629 'use strict';
@@ -25077,7 +25121,7 @@ webpackJsonp([0,1],[
25077 module.exports = exports['default']; 25121 module.exports = exports['default'];
25078 25122
25079/***/ }, 25123/***/ },
25080/* 194 */ 25124/* 196 */
25081/***/ function(module, exports, __webpack_require__) { 25125/***/ function(module, exports, __webpack_require__) {
25082 25126
25083 'use strict'; 25127 'use strict';
@@ -25088,7 +25132,7 @@ webpackJsonp([0,1],[
25088 25132
25089 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 25133 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
25090 25134
25091 var _utils = __webpack_require__(193); 25135 var _utils = __webpack_require__(195);
25092 25136
25093 var _utils2 = _interopRequireDefault(_utils); 25137 var _utils2 = _interopRequireDefault(_utils);
25094 25138
@@ -25135,7 +25179,7 @@ webpackJsonp([0,1],[
25135 module.exports = exports['default']; 25179 module.exports = exports['default'];
25136 25180
25137/***/ }, 25181/***/ },
25138/* 195 */ 25182/* 197 */
25139/***/ function(module, exports, __webpack_require__) { 25183/***/ function(module, exports, __webpack_require__) {
25140 25184
25141 'use strict'; 25185 'use strict';
@@ -25146,11 +25190,11 @@ webpackJsonp([0,1],[
25146 25190
25147 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 25191 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
25148 25192
25149 var _utils = __webpack_require__(193); 25193 var _utils = __webpack_require__(195);
25150 25194
25151 var _utils2 = _interopRequireDefault(_utils); 25195 var _utils2 = _interopRequireDefault(_utils);
25152 25196
25153 var _getOffsetParent = __webpack_require__(194); 25197 var _getOffsetParent = __webpack_require__(196);
25154 25198
25155 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent); 25199 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
25156 25200
@@ -25216,7 +25260,7 @@ webpackJsonp([0,1],[
25216 module.exports = exports['default']; 25260 module.exports = exports['default'];
25217 25261
25218/***/ }, 25262/***/ },
25219/* 196 */ 25263/* 198 */
25220/***/ function(module, exports, __webpack_require__) { 25264/***/ function(module, exports, __webpack_require__) {
25221 25265
25222 'use strict'; 25266 'use strict';
@@ -25227,7 +25271,7 @@ webpackJsonp([0,1],[
25227 25271
25228 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 25272 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
25229 25273
25230 var _utils = __webpack_require__(193); 25274 var _utils = __webpack_require__(195);
25231 25275
25232 var _utils2 = _interopRequireDefault(_utils); 25276 var _utils2 = _interopRequireDefault(_utils);
25233 25277
@@ -25276,7 +25320,7 @@ webpackJsonp([0,1],[
25276 module.exports = exports['default']; 25320 module.exports = exports['default'];
25277 25321
25278/***/ }, 25322/***/ },
25279/* 197 */ 25323/* 199 */
25280/***/ function(module, exports, __webpack_require__) { 25324/***/ function(module, exports, __webpack_require__) {
25281 25325
25282 'use strict'; 25326 'use strict';
@@ -25287,7 +25331,7 @@ webpackJsonp([0,1],[
25287 25331
25288 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 25332 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
25289 25333
25290 var _utils = __webpack_require__(193); 25334 var _utils = __webpack_require__(195);
25291 25335
25292 var _utils2 = _interopRequireDefault(_utils); 25336 var _utils2 = _interopRequireDefault(_utils);
25293 25337
@@ -25317,7 +25361,7 @@ webpackJsonp([0,1],[
25317 module.exports = exports['default']; 25361 module.exports = exports['default'];
25318 25362
25319/***/ }, 25363/***/ },
25320/* 198 */ 25364/* 200 */
25321/***/ function(module, exports, __webpack_require__) { 25365/***/ function(module, exports, __webpack_require__) {
25322 25366
25323 'use strict'; 25367 'use strict';
@@ -25328,7 +25372,7 @@ webpackJsonp([0,1],[
25328 25372
25329 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 25373 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
25330 25374
25331 var _getAlignOffset = __webpack_require__(199); 25375 var _getAlignOffset = __webpack_require__(201);
25332 25376
25333 var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset); 25377 var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);
25334 25378
@@ -25358,7 +25402,7 @@ webpackJsonp([0,1],[
25358 module.exports = exports['default']; 25402 module.exports = exports['default'];
25359 25403
25360/***/ }, 25404/***/ },
25361/* 199 */ 25405/* 201 */
25362/***/ function(module, exports) { 25406/***/ function(module, exports) {
25363 25407
25364 /** 25408 /**
@@ -25403,7 +25447,786 @@ webpackJsonp([0,1],[
25403 module.exports = exports['default']; 25447 module.exports = exports['default'];
25404 25448
25405/***/ }, 25449/***/ },
25406/* 200 */ 25450/* 202 */
25451/***/ function(module, exports, __webpack_require__) {
25452
25453 'use strict';
25454
25455 module.exports = {
25456 guid: __webpack_require__(203),
25457 classSet: __webpack_require__(204),
25458 joinClasses: __webpack_require__(205),
25459 KeyCode: __webpack_require__(206),
25460 PureRenderMixin: __webpack_require__(207),
25461 shallowEqual: __webpack_require__(208),
25462 createChainedFunction: __webpack_require__(209),
25463 Dom: {
25464 addEventListener: __webpack_require__(210),
25465 contains: __webpack_require__(211)
25466 },
25467 Children: {
25468 toArray: __webpack_require__(212),
25469 mapSelf: __webpack_require__(213)
25470 }
25471 };
25472
25473/***/ },
25474/* 203 */
25475/***/ function(module, exports) {
25476
25477 'use strict';
25478
25479 var seed = 0;
25480 module.exports = function guid() {
25481 return Date.now() + '_' + seed++;
25482 };
25483
25484/***/ },
25485/* 204 */
25486/***/ function(module, exports, __webpack_require__) {
25487
25488 'use strict';
25489
25490 module.exports = __webpack_require__(177);
25491
25492/***/ },
25493/* 205 */
25494/***/ function(module, exports) {
25495
25496 /**
25497 * Combines multiple className strings into one.
25498 * http://jsperf.com/joinclasses-args-vs-array
25499 *
25500 * @param {...?string} classes
25501 * @return {string}
25502 */
25503
25504 'use strict';
25505
25506 function joinClasses(cn) {
25507 var className = cn;
25508 if (!className) {
25509 className = '';
25510 }
25511 var nextClass = undefined;
25512 var argLength = arguments.length;
25513 if (argLength > 1) {
25514 for (var ii = 1; ii < argLength; ii++) {
25515 nextClass = arguments[ii];
25516 if (nextClass) {
25517 className = (className ? className + ' ' : '') + nextClass;
25518 }
25519 }
25520 }
25521 return className;
25522 }
25523
25524 module.exports = joinClasses;
25525
25526/***/ },
25527/* 206 */
25528/***/ function(module, exports) {
25529
25530 /**
25531 * @ignore
25532 * some key-codes definition and utils from closure-library
25533 * @author yiminghe@gmail.com
25534 */
25535
25536 'use strict';
25537
25538 var KeyCode = {
25539 /**
25540 * MAC_ENTER
25541 */
25542 MAC_ENTER: 3,
25543 /**
25544 * BACKSPACE
25545 */
25546 BACKSPACE: 8,
25547 /**
25548 * TAB
25549 */
25550 TAB: 9,
25551 /**
25552 * NUMLOCK on FF/Safari Mac
25553 */
25554 NUM_CENTER: 12, // NUMLOCK on FF/Safari Mac
25555 /**
25556 * ENTER
25557 */
25558 ENTER: 13,
25559 /**
25560 * SHIFT
25561 */
25562 SHIFT: 16,
25563 /**
25564 * CTRL
25565 */
25566 CTRL: 17,
25567 /**
25568 * ALT
25569 */
25570 ALT: 18,
25571 /**
25572 * PAUSE
25573 */
25574 PAUSE: 19,
25575 /**
25576 * CAPS_LOCK
25577 */
25578 CAPS_LOCK: 20,
25579 /**
25580 * ESC
25581 */
25582 ESC: 27,
25583 /**
25584 * SPACE
25585 */
25586 SPACE: 32,
25587 /**
25588 * PAGE_UP
25589 */
25590 PAGE_UP: 33, // also NUM_NORTH_EAST
25591 /**
25592 * PAGE_DOWN
25593 */
25594 PAGE_DOWN: 34, // also NUM_SOUTH_EAST
25595 /**
25596 * END
25597 */
25598 END: 35, // also NUM_SOUTH_WEST
25599 /**
25600 * HOME
25601 */
25602 HOME: 36, // also NUM_NORTH_WEST
25603 /**
25604 * LEFT
25605 */
25606 LEFT: 37, // also NUM_WEST
25607 /**
25608 * UP
25609 */
25610 UP: 38, // also NUM_NORTH
25611 /**
25612 * RIGHT
25613 */
25614 RIGHT: 39, // also NUM_EAST
25615 /**
25616 * DOWN
25617 */
25618 DOWN: 40, // also NUM_SOUTH
25619 /**
25620 * PRINT_SCREEN
25621 */
25622 PRINT_SCREEN: 44,
25623 /**
25624 * INSERT
25625 */
25626 INSERT: 45, // also NUM_INSERT
25627 /**
25628 * DELETE
25629 */
25630 DELETE: 46, // also NUM_DELETE
25631 /**
25632 * ZERO
25633 */
25634 ZERO: 48,
25635 /**
25636 * ONE
25637 */
25638 ONE: 49,
25639 /**
25640 * TWO
25641 */
25642 TWO: 50,
25643 /**
25644 * THREE
25645 */
25646 THREE: 51,
25647 /**
25648 * FOUR
25649 */
25650 FOUR: 52,
25651 /**
25652 * FIVE
25653 */
25654 FIVE: 53,
25655 /**
25656 * SIX
25657 */
25658 SIX: 54,
25659 /**
25660 * SEVEN
25661 */
25662 SEVEN: 55,
25663 /**
25664 * EIGHT
25665 */
25666 EIGHT: 56,
25667 /**
25668 * NINE
25669 */
25670 NINE: 57,
25671 /**
25672 * QUESTION_MARK
25673 */
25674 QUESTION_MARK: 63, // needs localization
25675 /**
25676 * A
25677 */
25678 A: 65,
25679 /**
25680 * B
25681 */
25682 B: 66,
25683 /**
25684 * C
25685 */
25686 C: 67,
25687 /**
25688 * D
25689 */
25690 D: 68,
25691 /**
25692 * E
25693 */
25694 E: 69,
25695 /**
25696 * F
25697 */
25698 F: 70,
25699 /**
25700 * G
25701 */
25702 G: 71,
25703 /**
25704 * H
25705 */
25706 H: 72,
25707 /**
25708 * I
25709 */
25710 I: 73,
25711 /**
25712 * J
25713 */
25714 J: 74,
25715 /**
25716 * K
25717 */
25718 K: 75,
25719 /**
25720 * L
25721 */
25722 L: 76,
25723 /**
25724 * M
25725 */
25726 M: 77,
25727 /**
25728 * N
25729 */
25730 N: 78,
25731 /**
25732 * O
25733 */
25734 O: 79,
25735 /**
25736 * P
25737 */
25738 P: 80,
25739 /**
25740 * Q
25741 */
25742 Q: 81,
25743 /**
25744 * R
25745 */
25746 R: 82,
25747 /**
25748 * S
25749 */
25750 S: 83,
25751 /**
25752 * T
25753 */
25754 T: 84,
25755 /**
25756 * U
25757 */
25758 U: 85,
25759 /**
25760 * V
25761 */
25762 V: 86,
25763 /**
25764 * W
25765 */
25766 W: 87,
25767 /**
25768 * X
25769 */
25770 X: 88,
25771 /**
25772 * Y
25773 */
25774 Y: 89,
25775 /**
25776 * Z
25777 */
25778 Z: 90,
25779 /**
25780 * META
25781 */
25782 META: 91, // WIN_KEY_LEFT
25783 /**
25784 * WIN_KEY_RIGHT
25785 */
25786 WIN_KEY_RIGHT: 92,
25787 /**
25788 * CONTEXT_MENU
25789 */
25790 CONTEXT_MENU: 93,
25791 /**
25792 * NUM_ZERO
25793 */
25794 NUM_ZERO: 96,
25795 /**
25796 * NUM_ONE
25797 */
25798 NUM_ONE: 97,
25799 /**
25800 * NUM_TWO
25801 */
25802 NUM_TWO: 98,
25803 /**
25804 * NUM_THREE
25805 */
25806 NUM_THREE: 99,
25807 /**
25808 * NUM_FOUR
25809 */
25810 NUM_FOUR: 100,
25811 /**
25812 * NUM_FIVE
25813 */
25814 NUM_FIVE: 101,
25815 /**
25816 * NUM_SIX
25817 */
25818 NUM_SIX: 102,
25819 /**
25820 * NUM_SEVEN
25821 */
25822 NUM_SEVEN: 103,
25823 /**
25824 * NUM_EIGHT
25825 */
25826 NUM_EIGHT: 104,
25827 /**
25828 * NUM_NINE
25829 */
25830 NUM_NINE: 105,
25831 /**
25832 * NUM_MULTIPLY
25833 */
25834 NUM_MULTIPLY: 106,
25835 /**
25836 * NUM_PLUS
25837 */
25838 NUM_PLUS: 107,
25839 /**
25840 * NUM_MINUS
25841 */
25842 NUM_MINUS: 109,
25843 /**
25844 * NUM_PERIOD
25845 */
25846 NUM_PERIOD: 110,
25847 /**
25848 * NUM_DIVISION
25849 */
25850 NUM_DIVISION: 111,
25851 /**
25852 * F1
25853 */
25854 F1: 112,
25855 /**
25856 * F2
25857 */
25858 F2: 113,
25859 /**
25860 * F3
25861 */
25862 F3: 114,
25863 /**
25864 * F4
25865 */
25866 F4: 115,
25867 /**
25868 * F5
25869 */
25870 F5: 116,
25871 /**
25872 * F6
25873 */
25874 F6: 117,
25875 /**
25876 * F7
25877 */
25878 F7: 118,
25879 /**
25880 * F8
25881 */
25882 F8: 119,
25883 /**
25884 * F9
25885 */
25886 F9: 120,
25887 /**
25888 * F10
25889 */
25890 F10: 121,
25891 /**
25892 * F11
25893 */
25894 F11: 122,
25895 /**
25896 * F12
25897 */
25898 F12: 123,
25899 /**
25900 * NUMLOCK
25901 */
25902 NUMLOCK: 144,
25903 /**
25904 * SEMICOLON
25905 */
25906 SEMICOLON: 186, // needs localization
25907 /**
25908 * DASH
25909 */
25910 DASH: 189, // needs localization
25911 /**
25912 * EQUALS
25913 */
25914 EQUALS: 187, // needs localization
25915 /**
25916 * COMMA
25917 */
25918 COMMA: 188, // needs localization
25919 /**
25920 * PERIOD
25921 */
25922 PERIOD: 190, // needs localization
25923 /**
25924 * SLASH
25925 */
25926 SLASH: 191, // needs localization
25927 /**
25928 * APOSTROPHE
25929 */
25930 APOSTROPHE: 192, // needs localization
25931 /**
25932 * SINGLE_QUOTE
25933 */
25934 SINGLE_QUOTE: 222, // needs localization
25935 /**
25936 * OPEN_SQUARE_BRACKET
25937 */
25938 OPEN_SQUARE_BRACKET: 219, // needs localization
25939 /**
25940 * BACKSLASH
25941 */
25942 BACKSLASH: 220, // needs localization
25943 /**
25944 * CLOSE_SQUARE_BRACKET
25945 */
25946 CLOSE_SQUARE_BRACKET: 221, // needs localization
25947 /**
25948 * WIN_KEY
25949 */
25950 WIN_KEY: 224,
25951 /**
25952 * MAC_FF_META
25953 */
25954 MAC_FF_META: 224, // Firefox (Gecko) fires this for the meta key instead of 91
25955 /**
25956 * WIN_IME
25957 */
25958 WIN_IME: 229
25959 };
25960
25961 /*
25962 whether text and modified key is entered at the same time.
25963 */
25964 KeyCode.isTextModifyingKeyEvent = function isTextModifyingKeyEvent(e) {
25965 var keyCode = e.keyCode;
25966 if (e.altKey && !e.ctrlKey || e.metaKey ||
25967 // Function keys don't generate text
25968 keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {
25969 return false;
25970 }
25971
25972 // The following keys are quite harmless, even in combination with
25973 // CTRL, ALT or SHIFT.
25974 switch (keyCode) {
25975 case KeyCode.ALT:
25976 case KeyCode.CAPS_LOCK:
25977 case KeyCode.CONTEXT_MENU:
25978 case KeyCode.CTRL:
25979 case KeyCode.DOWN:
25980 case KeyCode.END:
25981 case KeyCode.ESC:
25982 case KeyCode.HOME:
25983 case KeyCode.INSERT:
25984 case KeyCode.LEFT:
25985 case KeyCode.MAC_FF_META:
25986 case KeyCode.META:
25987 case KeyCode.NUMLOCK:
25988 case KeyCode.NUM_CENTER:
25989 case KeyCode.PAGE_DOWN:
25990 case KeyCode.PAGE_UP:
25991 case KeyCode.PAUSE:
25992 case KeyCode.PRINT_SCREEN:
25993 case KeyCode.RIGHT:
25994 case KeyCode.SHIFT:
25995 case KeyCode.UP:
25996 case KeyCode.WIN_KEY:
25997 case KeyCode.WIN_KEY_RIGHT:
25998 return false;
25999 default:
26000 return true;
26001 }
26002 };
26003
26004 /*
26005 whether character is entered.
26006 */
26007 KeyCode.isCharacterKey = function isCharacterKey(keyCode) {
26008 if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {
26009 return true;
26010 }
26011
26012 if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {
26013 return true;
26014 }
26015
26016 if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {
26017 return true;
26018 }
26019
26020 // Safari sends zero key code for non-latin characters.
26021 if (window.navigation.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {
26022 return true;
26023 }
26024
26025 switch (keyCode) {
26026 case KeyCode.SPACE:
26027 case KeyCode.QUESTION_MARK:
26028 case KeyCode.NUM_PLUS:
26029 case KeyCode.NUM_MINUS:
26030 case KeyCode.NUM_PERIOD:
26031 case KeyCode.NUM_DIVISION:
26032 case KeyCode.SEMICOLON:
26033 case KeyCode.DASH:
26034 case KeyCode.EQUALS:
26035 case KeyCode.COMMA:
26036 case KeyCode.PERIOD:
26037 case KeyCode.SLASH:
26038 case KeyCode.APOSTROPHE:
26039 case KeyCode.SINGLE_QUOTE:
26040 case KeyCode.OPEN_SQUARE_BRACKET:
26041 case KeyCode.BACKSLASH:
26042 case KeyCode.CLOSE_SQUARE_BRACKET:
26043 return true;
26044 default:
26045 return false;
26046 }
26047 };
26048
26049 module.exports = KeyCode;
26050
26051/***/ },
26052/* 207 */
26053/***/ function(module, exports, __webpack_require__) {
26054
26055 'use strict';
26056
26057 var shallowEqual = __webpack_require__(208);
26058
26059 /**
26060 * If your React component's render function is "pure", e.g. it will render the
26061 * same result given the same props and state, provide this Mixin for a
26062 * considerable performance boost.
26063 *
26064 * Most React components have pure render functions.
26065 *
26066 * Example:
26067 *
26068 * const ReactComponentWithPureRenderMixin =
26069 * require('ReactComponentWithPureRenderMixin');
26070 * React.createClass({
26071 * mixins: [ReactComponentWithPureRenderMixin],
26072 *
26073 * render: function() {
26074 * return <div className={this.props.className}>foo</div>;
26075 * }
26076 * });
26077 *
26078 * Note: This only checks shallow equality for props and state. If these contain
26079 * complex data structures this mixin may have false-negatives for deeper
26080 * differences. Only mixin to components which have simple props and state, or
26081 * use `forceUpdate()` when you know deep data structures have changed.
26082 */
26083 var ReactComponentWithPureRenderMixin = {
26084 shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {
26085 return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);
26086 }
26087 };
26088
26089 module.exports = ReactComponentWithPureRenderMixin;
26090
26091/***/ },
26092/* 208 */
26093/***/ function(module, exports) {
26094
26095 "use strict";
26096
26097 function shallowEqual(objA, objB) {
26098 if (objA === objB) {
26099 return true;
26100 }
26101 var key = undefined;
26102 // Test for A's keys different from B.
26103 for (key in objA) {
26104 if (objA.hasOwnProperty(key) && (!objB.hasOwnProperty(key) || objA[key] !== objB[key])) {
26105 return false;
26106 }
26107 }
26108 // Test for B's keys missing from A.
26109 for (key in objB) {
26110 if (objB.hasOwnProperty(key) && !objA.hasOwnProperty(key)) {
26111 return false;
26112 }
26113 }
26114 return true;
26115 }
26116
26117 module.exports = shallowEqual;
26118
26119/***/ },
26120/* 209 */
26121/***/ function(module, exports) {
26122
26123 /**
26124 * Safe chained function
26125 *
26126 * Will only create a new function if needed,
26127 * otherwise will pass back existing functions or null.
26128 *
26129 * @returns {function|null}
26130 */
26131 "use strict";
26132
26133 function createChainedFunction() {
26134 var args = arguments;
26135 return function chainedFunction() {
26136 for (var i = 0; i < args.length; i++) {
26137 if (args[i] && args[i].apply) {
26138 args[i].apply(this, arguments);
26139 }
26140 }
26141 };
26142 }
26143
26144 module.exports = createChainedFunction;
26145
26146/***/ },
26147/* 210 */
26148/***/ function(module, exports, __webpack_require__) {
26149
26150 'use strict';
26151
26152 Object.defineProperty(exports, '__esModule', {
26153 value: true
26154 });
26155 exports['default'] = addEventListenerWrap;
26156
26157 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
26158
26159 var _addDomEventListener = __webpack_require__(184);
26160
26161 var _addDomEventListener2 = _interopRequireDefault(_addDomEventListener);
26162
26163 var _reactDom = __webpack_require__(160);
26164
26165 var _reactDom2 = _interopRequireDefault(_reactDom);
26166
26167 function addEventListenerWrap(target, eventType, cb) {
26168 /* eslint camelcase: 2 */
26169 var callback = _reactDom2['default'].unstable_batchedUpdates ? function run(e) {
26170 _reactDom2['default'].unstable_batchedUpdates(cb, e);
26171 } : cb;
26172 return (0, _addDomEventListener2['default'])(target, eventType, callback);
26173 }
26174
26175 module.exports = exports['default'];
26176
26177/***/ },
26178/* 211 */
26179/***/ function(module, exports) {
26180
26181 "use strict";
26182
26183 module.exports = function contains(root, n) {
26184 var node = n;
26185 while (node) {
26186 if (node === root) {
26187 return true;
26188 }
26189 node = node.parentNode;
26190 }
26191
26192 return false;
26193 };
26194
26195/***/ },
26196/* 212 */
26197/***/ function(module, exports, __webpack_require__) {
26198
26199 'use strict';
26200
26201 var React = __webpack_require__(3);
26202
26203 module.exports = function toArray(children) {
26204 var ret = [];
26205 React.Children.forEach(children, function each(c) {
26206 ret.push(c);
26207 });
26208 return ret;
26209 };
26210
26211/***/ },
26212/* 213 */
26213/***/ function(module, exports, __webpack_require__) {
26214
26215 'use strict';
26216
26217 var React = __webpack_require__(3);
26218
26219 function mirror(o) {
26220 return o;
26221 }
26222
26223 module.exports = function mapSelf(children) {
26224 // return ReactFragment
26225 return React.Children.map(children, mirror);
26226 };
26227
26228/***/ },
26229/* 214 */
25407/***/ function(module, exports) { 26230/***/ function(module, exports) {
25408 26231
25409 "use strict"; 26232 "use strict";
@@ -25422,16 +26245,16 @@ webpackJsonp([0,1],[
25422 module.exports = exports["default"]; 26245 module.exports = exports["default"];
25423 26246
25424/***/ }, 26247/***/ },
25425/* 201 */ 26248/* 215 */
25426/***/ function(module, exports, __webpack_require__) { 26249/***/ function(module, exports, __webpack_require__) {
25427 26250
25428 // export this package's api 26251 // export this package's api
25429 'use strict'; 26252 'use strict';
25430 26253
25431 module.exports = __webpack_require__(202); 26254 module.exports = __webpack_require__(216);
25432 26255
25433/***/ }, 26256/***/ },
25434/* 202 */ 26257/* 216 */
25435/***/ function(module, exports, __webpack_require__) { 26258/***/ function(module, exports, __webpack_require__) {
25436 26259
25437 'use strict'; 26260 'use strict';
@@ -25448,13 +26271,13 @@ webpackJsonp([0,1],[
25448 26271
25449 var _react2 = _interopRequireDefault(_react); 26272 var _react2 = _interopRequireDefault(_react);
25450 26273
25451 var _ChildrenUtils = __webpack_require__(203); 26274 var _ChildrenUtils = __webpack_require__(217);
25452 26275
25453 var _AnimateChild = __webpack_require__(204); 26276 var _AnimateChild = __webpack_require__(218);
25454 26277
25455 var _AnimateChild2 = _interopRequireDefault(_AnimateChild); 26278 var _AnimateChild2 = _interopRequireDefault(_AnimateChild);
25456 26279
25457 var _util = __webpack_require__(208); 26280 var _util = __webpack_require__(222);
25458 26281
25459 var _util2 = _interopRequireDefault(_util); 26282 var _util2 = _interopRequireDefault(_util);
25460 26283
@@ -25751,7 +26574,7 @@ webpackJsonp([0,1],[
25751 module.exports = exports['default']; 26574 module.exports = exports['default'];
25752 26575
25753/***/ }, 26576/***/ },
25754/* 203 */ 26577/* 217 */
25755/***/ function(module, exports, __webpack_require__) { 26578/***/ function(module, exports, __webpack_require__) {
25756 26579
25757 'use strict'; 26580 'use strict';
@@ -25869,7 +26692,7 @@ webpackJsonp([0,1],[
25869 } 26692 }
25870 26693
25871/***/ }, 26694/***/ },
25872/* 204 */ 26695/* 218 */
25873/***/ function(module, exports, __webpack_require__) { 26696/***/ function(module, exports, __webpack_require__) {
25874 26697
25875 'use strict'; 26698 'use strict';
@@ -25888,11 +26711,11 @@ webpackJsonp([0,1],[
25888 26711
25889 var _reactDom2 = _interopRequireDefault(_reactDom); 26712 var _reactDom2 = _interopRequireDefault(_reactDom);
25890 26713
25891 var _cssAnimation = __webpack_require__(205); 26714 var _cssAnimation = __webpack_require__(219);
25892 26715
25893 var _cssAnimation2 = _interopRequireDefault(_cssAnimation); 26716 var _cssAnimation2 = _interopRequireDefault(_cssAnimation);
25894 26717
25895 var _util = __webpack_require__(208); 26718 var _util = __webpack_require__(222);
25896 26719
25897 var _util2 = _interopRequireDefault(_util); 26720 var _util2 = _interopRequireDefault(_util);
25898 26721
@@ -25972,13 +26795,13 @@ webpackJsonp([0,1],[
25972 module.exports = exports['default']; 26795 module.exports = exports['default'];
25973 26796
25974/***/ }, 26797/***/ },
25975/* 205 */ 26798/* 219 */
25976/***/ function(module, exports, __webpack_require__) { 26799/***/ function(module, exports, __webpack_require__) {
25977 26800
25978 'use strict'; 26801 'use strict';
25979 26802
25980 var Event = __webpack_require__(206); 26803 var Event = __webpack_require__(220);
25981 var Css = __webpack_require__(207); 26804 var Css = __webpack_require__(221);
25982 var isCssAnimationSupported = Event.endEvents.length !== 0; 26805 var isCssAnimationSupported = Event.endEvents.length !== 0;
25983 26806
25984 function getDuration(node, name) { 26807 function getDuration(node, name) {
@@ -26130,7 +26953,7 @@ webpackJsonp([0,1],[
26130 module.exports = cssAnimation; 26953 module.exports = cssAnimation;
26131 26954
26132/***/ }, 26955/***/ },
26133/* 206 */ 26956/* 220 */
26134/***/ function(module, exports) { 26957/***/ function(module, exports) {
26135 26958
26136 'use strict'; 26959 'use strict';
@@ -26218,7 +27041,7 @@ webpackJsonp([0,1],[
26218 module.exports = TransitionEvents; 27041 module.exports = TransitionEvents;
26219 27042
26220/***/ }, 27043/***/ },
26221/* 207 */ 27044/* 221 */
26222/***/ function(module, exports) { 27045/***/ function(module, exports) {
26223 27046
26224 'use strict'; 27047 'use strict';
@@ -26249,7 +27072,7 @@ webpackJsonp([0,1],[
26249 }; 27072 };
26250 27073
26251/***/ }, 27074/***/ },
26252/* 208 */ 27075/* 222 */
26253/***/ function(module, exports) { 27076/***/ function(module, exports) {
26254 27077
26255 "use strict"; 27078 "use strict";
@@ -26282,7 +27105,7 @@ webpackJsonp([0,1],[
26282 module.exports = exports["default"]; 27105 module.exports = exports["default"];
26283 27106
26284/***/ }, 27107/***/ },
26285/* 209 */ 27108/* 223 */
26286/***/ function(module, exports, __webpack_require__) { 27109/***/ function(module, exports, __webpack_require__) {
26287 27110
26288 'use strict'; 27111 'use strict';
@@ -26328,7 +27151,7 @@ webpackJsonp([0,1],[
26328 module.exports = exports['default']; 27151 module.exports = exports['default'];
26329 27152
26330/***/ }, 27153/***/ },
26331/* 210 */ 27154/* 224 */
26332/***/ function(module, exports, __webpack_require__) { 27155/***/ function(module, exports, __webpack_require__) {
26333 27156
26334 'use strict'; 27157 'use strict';
@@ -26341,7 +27164,7 @@ webpackJsonp([0,1],[
26341 27164
26342 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 27165 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
26343 27166
26344 var _objectAssign = __webpack_require__(185); 27167 var _objectAssign = __webpack_require__(187);
26345 27168
26346 var _objectAssign2 = _interopRequireDefault(_objectAssign); 27169 var _objectAssign2 = _interopRequireDefault(_objectAssign);
26347 27170
@@ -26367,30 +27190,30 @@ webpackJsonp([0,1],[
26367 } 27190 }
26368 27191
26369/***/ }, 27192/***/ },
26370/* 211 */ 27193/* 225 */
26371/***/ function(module, exports, __webpack_require__) { 27194/***/ function(module, exports, __webpack_require__) {
26372 27195
26373 module.exports = { 27196 module.exports = {
26374 guid: __webpack_require__(212), 27197 guid: __webpack_require__(226),
26375 classSet: __webpack_require__(213), 27198 classSet: __webpack_require__(227),
26376 joinClasses: __webpack_require__(214), 27199 joinClasses: __webpack_require__(228),
26377 KeyCode: __webpack_require__(215), 27200 KeyCode: __webpack_require__(229),
26378 PureRenderMixin: __webpack_require__(216), 27201 PureRenderMixin: __webpack_require__(230),
26379 shallowEqual: __webpack_require__(217), 27202 shallowEqual: __webpack_require__(231),
26380 createChainedFunction: __webpack_require__(218), 27203 createChainedFunction: __webpack_require__(232),
26381 Dom: { 27204 Dom: {
26382 addEventListener: __webpack_require__(219), 27205 addEventListener: __webpack_require__(233),
26383 contains: __webpack_require__(223) 27206 contains: __webpack_require__(234)
26384 }, 27207 },
26385 Children: { 27208 Children: {
26386 toArray: __webpack_require__(224), 27209 toArray: __webpack_require__(235),
26387 mapSelf: __webpack_require__(225) 27210 mapSelf: __webpack_require__(236)
26388 } 27211 }
26389 }; 27212 };
26390 27213
26391 27214
26392/***/ }, 27215/***/ },
26393/* 212 */ 27216/* 226 */
26394/***/ function(module, exports) { 27217/***/ function(module, exports) {
26395 27218
26396 var seed = 0; 27219 var seed = 0;
@@ -26400,14 +27223,14 @@ webpackJsonp([0,1],[
26400 27223
26401 27224
26402/***/ }, 27225/***/ },
26403/* 213 */ 27226/* 227 */
26404/***/ function(module, exports, __webpack_require__) { 27227/***/ function(module, exports, __webpack_require__) {
26405 27228
26406 module.exports = __webpack_require__(175); 27229 module.exports = __webpack_require__(177);
26407 27230
26408 27231
26409/***/ }, 27232/***/ },
26410/* 214 */ 27233/* 228 */
26411/***/ function(module, exports) { 27234/***/ function(module, exports) {
26412 27235
26413 /** 27236 /**
@@ -26454,7 +27277,7 @@ webpackJsonp([0,1],[
26454 27277
26455 27278
26456/***/ }, 27279/***/ },
26457/* 215 */ 27280/* 229 */
26458/***/ function(module, exports) { 27281/***/ function(module, exports) {
26459 27282
26460 /** 27283 /**
@@ -26981,7 +27804,7 @@ webpackJsonp([0,1],[
26981 27804
26982 27805
26983/***/ }, 27806/***/ },
26984/* 216 */ 27807/* 230 */
26985/***/ function(module, exports, __webpack_require__) { 27808/***/ function(module, exports, __webpack_require__) {
26986 27809
26987 /** 27810 /**
@@ -26997,7 +27820,7 @@ webpackJsonp([0,1],[
26997 27820
26998 "use strict"; 27821 "use strict";
26999 27822
27000 var shallowEqual = __webpack_require__(217); 27823 var shallowEqual = __webpack_require__(231);
27001 27824
27002 /** 27825 /**
27003 * If your React component's render function is "pure", e.g. it will render the 27826 * If your React component's render function is "pure", e.g. it will render the
@@ -27034,7 +27857,7 @@ webpackJsonp([0,1],[
27034 27857
27035 27858
27036/***/ }, 27859/***/ },
27037/* 217 */ 27860/* 231 */
27038/***/ function(module, exports) { 27861/***/ function(module, exports) {
27039 27862
27040 /** 27863 /**
@@ -27082,7 +27905,7 @@ webpackJsonp([0,1],[
27082 27905
27083 27906
27084/***/ }, 27907/***/ },
27085/* 218 */ 27908/* 232 */
27086/***/ function(module, exports) { 27909/***/ function(module, exports) {
27087 27910
27088 /** 27911 /**
@@ -27109,409 +27932,16 @@ webpackJsonp([0,1],[
27109 27932
27110 27933
27111/***/ }, 27934/***/ },
27112/* 219 */ 27935/* 233 */
27113/***/ function(module, exports, __webpack_require__) { 27936/***/ function(module, exports, __webpack_require__) {
27114 27937
27115 var addDOMEventListener = __webpack_require__(220); 27938 var addDOMEventListener = __webpack_require__(184);
27116 27939
27117 module.exports = addDOMEventListener['default'] || addDOMEventListener; 27940 module.exports = addDOMEventListener['default'] || addDOMEventListener;
27118 27941
27119 27942
27120/***/ }, 27943/***/ },
27121/* 220 */ 27944/* 234 */
27122/***/ function(module, exports, __webpack_require__) {
27123
27124 'use strict';
27125
27126 Object.defineProperty(exports, '__esModule', {
27127 value: true
27128 });
27129 exports['default'] = addEventListener;
27130
27131 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
27132
27133 var _EventObject = __webpack_require__(221);
27134
27135 var _EventObject2 = _interopRequireDefault(_EventObject);
27136
27137 function addEventListener(target, eventType, callback) {
27138 function wrapCallback(e) {
27139 var ne = new _EventObject2['default'](e);
27140 callback.call(target, ne);
27141 }
27142
27143 if (target.addEventListener) {
27144 target.addEventListener(eventType, wrapCallback, false);
27145 return {
27146 remove: function remove() {
27147 target.removeEventListener(eventType, wrapCallback, false);
27148 }
27149 };
27150 } else if (target.attachEvent) {
27151 target.attachEvent('on' + eventType, wrapCallback);
27152 return {
27153 remove: function remove() {
27154 target.detachEvent('on' + eventType, wrapCallback);
27155 }
27156 };
27157 }
27158 }
27159
27160 module.exports = exports['default'];
27161
27162/***/ },
27163/* 221 */
27164/***/ function(module, exports, __webpack_require__) {
27165
27166 /**
27167 * @ignore
27168 * event object for dom
27169 * @author yiminghe@gmail.com
27170 */
27171
27172 'use strict';
27173
27174 Object.defineProperty(exports, '__esModule', {
27175 value: true
27176 });
27177
27178 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
27179
27180 var _EventBaseObject = __webpack_require__(222);
27181
27182 var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject);
27183
27184 var _objectAssign = __webpack_require__(185);
27185
27186 var _objectAssign2 = _interopRequireDefault(_objectAssign);
27187
27188 var TRUE = true;
27189 var FALSE = false;
27190 var commonProps = ['altKey', 'bubbles', 'cancelable', 'ctrlKey', 'currentTarget', 'eventPhase', 'metaKey', 'shiftKey', 'target', 'timeStamp', 'view', 'type'];
27191
27192 function isNullOrUndefined(w) {
27193 return w === null || w === undefined;
27194 }
27195
27196 var eventNormalizers = [{
27197 reg: /^key/,
27198 props: ['char', 'charCode', 'key', 'keyCode', 'which'],
27199 fix: function fix(event, nativeEvent) {
27200 if (isNullOrUndefined(event.which)) {
27201 event.which = !isNullOrUndefined(nativeEvent.charCode) ? nativeEvent.charCode : nativeEvent.keyCode;
27202 }
27203
27204 // add metaKey to non-Mac browsers (use ctrl for PC 's and Meta for Macs)
27205 if (event.metaKey === undefined) {
27206 event.metaKey = event.ctrlKey;
27207 }
27208 }
27209 }, {
27210 reg: /^touch/,
27211 props: ['touches', 'changedTouches', 'targetTouches']
27212 }, {
27213 reg: /^hashchange$/,
27214 props: ['newURL', 'oldURL']
27215 }, {
27216 reg: /^gesturechange$/i,
27217 props: ['rotation', 'scale']
27218 }, {
27219 reg: /^(mousewheel|DOMMouseScroll)$/,
27220 props: [],
27221 fix: function fix(event, nativeEvent) {
27222 var deltaX = undefined;
27223 var deltaY = undefined;
27224 var delta = undefined;
27225 var wheelDelta = nativeEvent.wheelDelta;
27226 var axis = nativeEvent.axis;
27227 var wheelDeltaY = nativeEvent.wheelDeltaY;
27228 var wheelDeltaX = nativeEvent.wheelDeltaX;
27229 var detail = nativeEvent.detail;
27230
27231 // ie/webkit
27232 if (wheelDelta) {
27233 delta = wheelDelta / 120;
27234 }
27235
27236 // gecko
27237 if (detail) {
27238 // press control e.detail == 1 else e.detail == 3
27239 delta = 0 - (detail % 3 === 0 ? detail / 3 : detail);
27240 }
27241
27242 // Gecko
27243 if (axis !== undefined) {
27244 if (axis === event.HORIZONTAL_AXIS) {
27245 deltaY = 0;
27246 deltaX = 0 - delta;
27247 } else if (axis === event.VERTICAL_AXIS) {
27248 deltaX = 0;
27249 deltaY = delta;
27250 }
27251 }
27252
27253 // Webkit
27254 if (wheelDeltaY !== undefined) {
27255 deltaY = wheelDeltaY / 120;
27256 }
27257 if (wheelDeltaX !== undefined) {
27258 deltaX = -1 * wheelDeltaX / 120;
27259 }
27260
27261 // 默认 deltaY (ie)
27262 if (!deltaX && !deltaY) {
27263 deltaY = delta;
27264 }
27265
27266 if (deltaX !== undefined) {
27267 /**
27268 * deltaX of mousewheel event
27269 * @property deltaX
27270 * @member Event.DomEvent.Object
27271 */
27272 event.deltaX = deltaX;
27273 }
27274
27275 if (deltaY !== undefined) {
27276 /**
27277 * deltaY of mousewheel event
27278 * @property deltaY
27279 * @member Event.DomEvent.Object
27280 */
27281 event.deltaY = deltaY;
27282 }
27283
27284 if (delta !== undefined) {
27285 /**
27286 * delta of mousewheel event
27287 * @property delta
27288 * @member Event.DomEvent.Object
27289 */
27290 event.delta = delta;
27291 }
27292 }
27293 }, {
27294 reg: /^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,
27295 props: ['buttons', 'clientX', 'clientY', 'button', 'offsetX', 'relatedTarget', 'which', 'fromElement', 'toElement', 'offsetY', 'pageX', 'pageY', 'screenX', 'screenY'],
27296 fix: function fix(event, nativeEvent) {
27297 var eventDoc = undefined;
27298 var doc = undefined;
27299 var body = undefined;
27300 var target = event.target;
27301 var button = nativeEvent.button;
27302
27303 // Calculate pageX/Y if missing and clientX/Y available
27304 if (target && isNullOrUndefined(event.pageX) && !isNullOrUndefined(nativeEvent.clientX)) {
27305 eventDoc = target.ownerDocument || document;
27306 doc = eventDoc.documentElement;
27307 body = eventDoc.body;
27308 event.pageX = nativeEvent.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0);
27309 event.pageY = nativeEvent.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0);
27310 }
27311
27312 // which for click: 1 === left; 2 === middle; 3 === right
27313 // do not use button
27314 if (!event.which && button !== undefined) {
27315 if (button & 1) {
27316 event.which = 1;
27317 } else if (button & 2) {
27318 event.which = 3;
27319 } else if (button & 4) {
27320 event.which = 2;
27321 } else {
27322 event.which = 0;
27323 }
27324 }
27325
27326 // add relatedTarget, if necessary
27327 if (!event.relatedTarget && event.fromElement) {
27328 event.relatedTarget = event.fromElement === target ? event.toElement : event.fromElement;
27329 }
27330
27331 return event;
27332 }
27333 }];
27334
27335 function retTrue() {
27336 return TRUE;
27337 }
27338
27339 function retFalse() {
27340 return FALSE;
27341 }
27342
27343 function DomEventObject(nativeEvent) {
27344 var type = nativeEvent.type;
27345
27346 var isNative = typeof nativeEvent.stopPropagation === 'function' || typeof nativeEvent.cancelBubble === 'boolean';
27347
27348 _EventBaseObject2['default'].call(this);
27349
27350 this.nativeEvent = nativeEvent;
27351
27352 // in case dom event has been mark as default prevented by lower dom node
27353 var isDefaultPrevented = retFalse;
27354 if ('defaultPrevented' in nativeEvent) {
27355 isDefaultPrevented = nativeEvent.defaultPrevented ? retTrue : retFalse;
27356 } else if ('getPreventDefault' in nativeEvent) {
27357 // https://bugzilla.mozilla.org/show_bug.cgi?id=691151
27358 isDefaultPrevented = nativeEvent.getPreventDefault() ? retTrue : retFalse;
27359 } else if ('returnValue' in nativeEvent) {
27360 isDefaultPrevented = nativeEvent.returnValue === FALSE ? retTrue : retFalse;
27361 }
27362
27363 this.isDefaultPrevented = isDefaultPrevented;
27364
27365 var fixFns = [];
27366 var fixFn = undefined;
27367 var l = undefined;
27368 var prop = undefined;
27369 var props = commonProps.concat();
27370
27371 eventNormalizers.forEach(function (normalizer) {
27372 if (type.match(normalizer.reg)) {
27373 props = props.concat(normalizer.props);
27374 if (normalizer.fix) {
27375 fixFns.push(normalizer.fix);
27376 }
27377 }
27378 });
27379
27380 l = props.length;
27381
27382 // clone properties of the original event object
27383 while (l) {
27384 prop = props[--l];
27385 this[prop] = nativeEvent[prop];
27386 }
27387
27388 // fix target property, if necessary
27389 if (!this.target && isNative) {
27390 this.target = nativeEvent.srcElement || document; // srcElement might not be defined either
27391 }
27392
27393 // check if target is a text node (safari)
27394 if (this.target && this.target.nodeType === 3) {
27395 this.target = this.target.parentNode;
27396 }
27397
27398 l = fixFns.length;
27399
27400 while (l) {
27401 fixFn = fixFns[--l];
27402 fixFn(this, nativeEvent);
27403 }
27404
27405 this.timeStamp = nativeEvent.timeStamp || Date.now();
27406 }
27407
27408 var EventBaseObjectProto = _EventBaseObject2['default'].prototype;
27409
27410 (0, _objectAssign2['default'])(DomEventObject.prototype, EventBaseObjectProto, {
27411 constructor: DomEventObject,
27412
27413 preventDefault: function preventDefault() {
27414 var e = this.nativeEvent;
27415
27416 // if preventDefault exists run it on the original event
27417 if (e.preventDefault) {
27418 e.preventDefault();
27419 } else {
27420 // otherwise set the returnValue property of the original event to FALSE (IE)
27421 e.returnValue = FALSE;
27422 }
27423
27424 EventBaseObjectProto.preventDefault.call(this);
27425 },
27426
27427 stopPropagation: function stopPropagation() {
27428 var e = this.nativeEvent;
27429
27430 // if stopPropagation exists run it on the original event
27431 if (e.stopPropagation) {
27432 e.stopPropagation();
27433 } else {
27434 // otherwise set the cancelBubble property of the original event to TRUE (IE)
27435 e.cancelBubble = TRUE;
27436 }
27437
27438 EventBaseObjectProto.stopPropagation.call(this);
27439 }
27440 });
27441
27442 exports['default'] = DomEventObject;
27443 module.exports = exports['default'];
27444
27445/***/ },
27446/* 222 */
27447/***/ function(module, exports) {
27448
27449 /**
27450 * @ignore
27451 * base event object for custom and dom event.
27452 * @author yiminghe@gmail.com
27453 */
27454
27455 "use strict";
27456
27457 Object.defineProperty(exports, "__esModule", {
27458 value: true
27459 });
27460 function returnFalse() {
27461 return false;
27462 }
27463
27464 function returnTrue() {
27465 return true;
27466 }
27467
27468 function EventBaseObject() {
27469 this.timeStamp = Date.now();
27470 this.target = undefined;
27471 this.currentTarget = undefined;
27472 }
27473
27474 EventBaseObject.prototype = {
27475 isEventObject: 1,
27476
27477 constructor: EventBaseObject,
27478
27479 isDefaultPrevented: returnFalse,
27480
27481 isPropagationStopped: returnFalse,
27482
27483 isImmediatePropagationStopped: returnFalse,
27484
27485 preventDefault: function preventDefault() {
27486 this.isDefaultPrevented = returnTrue;
27487 },
27488
27489 stopPropagation: function stopPropagation() {
27490 this.isPropagationStopped = returnTrue;
27491 },
27492
27493 stopImmediatePropagation: function stopImmediatePropagation() {
27494 this.isImmediatePropagationStopped = returnTrue;
27495 // fixed 1.2
27496 // call stopPropagation implicitly
27497 this.stopPropagation();
27498 },
27499
27500 halt: function halt(immediate) {
27501 if (immediate) {
27502 this.stopImmediatePropagation();
27503 } else {
27504 this.stopPropagation();
27505 }
27506 this.preventDefault();
27507 }
27508 };
27509
27510 exports["default"] = EventBaseObject;
27511 module.exports = exports["default"];
27512
27513/***/ },
27514/* 223 */
27515/***/ function(module, exports) { 27945/***/ function(module, exports) {
27516 27946
27517 module.exports = function (root, node) { 27947 module.exports = function (root, node) {
@@ -27527,7 +27957,7 @@ webpackJsonp([0,1],[
27527 27957
27528 27958
27529/***/ }, 27959/***/ },
27530/* 224 */ 27960/* 235 */
27531/***/ function(module, exports, __webpack_require__) { 27961/***/ function(module, exports, __webpack_require__) {
27532 27962
27533 var React = __webpack_require__(3); 27963 var React = __webpack_require__(3);
@@ -27542,7 +27972,7 @@ webpackJsonp([0,1],[
27542 27972
27543 27973
27544/***/ }, 27974/***/ },
27545/* 225 */ 27975/* 236 */
27546/***/ function(module, exports, __webpack_require__) { 27976/***/ function(module, exports, __webpack_require__) {
27547 27977
27548 var React = __webpack_require__(3); 27978 var React = __webpack_require__(3);
@@ -27558,7 +27988,7 @@ webpackJsonp([0,1],[
27558 27988
27559 27989
27560/***/ }, 27990/***/ },
27561/* 226 */ 27991/* 237 */
27562/***/ function(module, exports, __webpack_require__) { 27992/***/ function(module, exports, __webpack_require__) {
27563 27993
27564 'use strict'; 27994 'use strict';
@@ -27573,7 +28003,7 @@ webpackJsonp([0,1],[
27573 28003
27574 var _react2 = _interopRequireDefault(_react); 28004 var _react2 = _interopRequireDefault(_react);
27575 28005
27576 var _classnames = __webpack_require__(175); 28006 var _classnames = __webpack_require__(177);
27577 28007
27578 var _classnames2 = _interopRequireDefault(_classnames); 28008 var _classnames2 = _interopRequireDefault(_classnames);
27579 28009
@@ -27585,15 +28015,15 @@ webpackJsonp([0,1],[
27585 28015
27586 var _gregorianCalendarLibLocaleZh_CN2 = _interopRequireDefault(_gregorianCalendarLibLocaleZh_CN); 28016 var _gregorianCalendarLibLocaleZh_CN2 = _interopRequireDefault(_gregorianCalendarLibLocaleZh_CN);
27587 28017
27588 var _mixinCommonMixin = __webpack_require__(227); 28018 var _mixinCommonMixin = __webpack_require__(238);
27589 28019
27590 var _mixinCommonMixin2 = _interopRequireDefault(_mixinCommonMixin); 28020 var _mixinCommonMixin2 = _interopRequireDefault(_mixinCommonMixin);
27591 28021
27592 var _Header = __webpack_require__(230); 28022 var _Header = __webpack_require__(241);
27593 28023
27594 var _Header2 = _interopRequireDefault(_Header); 28024 var _Header2 = _interopRequireDefault(_Header);
27595 28025
27596 var _Combobox = __webpack_require__(231); 28026 var _Combobox = __webpack_require__(242);
27597 28027
27598 var _Combobox2 = _interopRequireDefault(_Combobox); 28028 var _Combobox2 = _interopRequireDefault(_Combobox);
27599 28029
@@ -27663,21 +28093,6 @@ webpackJsonp([0,1],[
27663 this.props.onClear(); 28093 this.props.onClear();
27664 }, 28094 },
27665 28095
27666 getPlaceholder: function getPlaceholder(placeholder) {
27667 if (placeholder) {
27668 return placeholder;
27669 }
27670
27671 var locale = this.props.locale;
27672
27673 if (!this.showHour) {
27674 return locale.placeholdermmss;
27675 } else if (!this.showSecond) {
27676 return locale.placeholderHHmm;
27677 }
27678 return locale.placeholderHHmmss;
27679 },
27680
27681 showHour: true, 28096 showHour: true,
27682 showSecond: true, 28097 showSecond: true,
27683 28098
@@ -27703,7 +28118,7 @@ webpackJsonp([0,1],[
27703 locale: locale, 28118 locale: locale,
27704 value: value, 28119 value: value,
27705 formatter: this.getFormatter(), 28120 formatter: this.getFormatter(),
27706 placeholder: this.getPlaceholder(placeholder), 28121 placeholder: placeholder,
27707 hourOptions: hourOptions, 28122 hourOptions: hourOptions,
27708 minuteOptions: minuteOptions, 28123 minuteOptions: minuteOptions,
27709 secondOptions: secondOptions, 28124 secondOptions: secondOptions,
@@ -27730,7 +28145,7 @@ webpackJsonp([0,1],[
27730 module.exports = exports['default']; 28145 module.exports = exports['default'];
27731 28146
27732/***/ }, 28147/***/ },
27733/* 227 */ 28148/* 238 */
27734/***/ function(module, exports, __webpack_require__) { 28149/***/ function(module, exports, __webpack_require__) {
27735 28150
27736 'use strict'; 28151 'use strict';
@@ -27743,11 +28158,11 @@ webpackJsonp([0,1],[
27743 28158
27744 var _react = __webpack_require__(3); 28159 var _react = __webpack_require__(3);
27745 28160
27746 var _localeEn_US = __webpack_require__(228); 28161 var _localeEn_US = __webpack_require__(239);
27747 28162
27748 var _localeEn_US2 = _interopRequireDefault(_localeEn_US); 28163 var _localeEn_US2 = _interopRequireDefault(_localeEn_US);
27749 28164
27750 var _utilIndex = __webpack_require__(229); 28165 var _utilIndex = __webpack_require__(240);
27751 28166
27752 exports['default'] = { 28167 exports['default'] = {
27753 propTypes: { 28168 propTypes: {
@@ -27794,7 +28209,7 @@ webpackJsonp([0,1],[
27794 module.exports = exports['default']; 28209 module.exports = exports['default'];
27795 28210
27796/***/ }, 28211/***/ },
27797/* 228 */ 28212/* 239 */
27798/***/ function(module, exports, __webpack_require__) { 28213/***/ function(module, exports, __webpack_require__) {
27799 28214
27800 'use strict'; 28215 'use strict';
@@ -27810,16 +28225,13 @@ webpackJsonp([0,1],[
27810 var _gregorianCalendarFormatLibLocaleEn_US2 = _interopRequireDefault(_gregorianCalendarFormatLibLocaleEn_US); 28225 var _gregorianCalendarFormatLibLocaleEn_US2 = _interopRequireDefault(_gregorianCalendarFormatLibLocaleEn_US);
27811 28226
27812 exports['default'] = { 28227 exports['default'] = {
27813 placeholderHHmmss: 'HH:MM:SS',
27814 placeholderHHmm: 'HH:MM',
27815 placeholdermmss: 'MM:SS',
27816 clear: 'Clear', 28228 clear: 'Clear',
27817 format: _gregorianCalendarFormatLibLocaleEn_US2['default'] 28229 format: _gregorianCalendarFormatLibLocaleEn_US2['default']
27818 }; 28230 };
27819 module.exports = exports['default']; 28231 module.exports = exports['default'];
27820 28232
27821/***/ }, 28233/***/ },
27822/* 229 */ 28234/* 240 */
27823/***/ function(module, exports, __webpack_require__) { 28235/***/ function(module, exports, __webpack_require__) {
27824 28236
27825 'use strict'; 28237 'use strict';
@@ -27843,7 +28255,7 @@ webpackJsonp([0,1],[
27843 } 28255 }
27844 28256
27845/***/ }, 28257/***/ },
27846/* 230 */ 28258/* 241 */
27847/***/ function(module, exports, __webpack_require__) { 28259/***/ function(module, exports, __webpack_require__) {
27848 28260
27849 'use strict'; 28261 'use strict';
@@ -27996,7 +28408,7 @@ webpackJsonp([0,1],[
27996 module.exports = exports['default']; 28408 module.exports = exports['default'];
27997 28409
27998/***/ }, 28410/***/ },
27999/* 231 */ 28411/* 242 */
28000/***/ function(module, exports, __webpack_require__) { 28412/***/ function(module, exports, __webpack_require__) {
28001 28413
28002 'use strict'; 28414 'use strict';
@@ -28011,7 +28423,7 @@ webpackJsonp([0,1],[
28011 28423
28012 var _react2 = _interopRequireDefault(_react); 28424 var _react2 = _interopRequireDefault(_react);
28013 28425
28014 var _Select = __webpack_require__(232); 28426 var _Select = __webpack_require__(243);
28015 28427
28016 var _Select2 = _interopRequireDefault(_Select); 28428 var _Select2 = _interopRequireDefault(_Select);
28017 28429
@@ -28129,7 +28541,7 @@ webpackJsonp([0,1],[
28129 module.exports = exports['default']; 28541 module.exports = exports['default'];
28130 28542
28131/***/ }, 28543/***/ },
28132/* 232 */ 28544/* 243 */
28133/***/ function(module, exports, __webpack_require__) { 28545/***/ function(module, exports, __webpack_require__) {
28134 28546
28135 'use strict'; 28547 'use strict';
@@ -28148,7 +28560,7 @@ webpackJsonp([0,1],[
28148 28560
28149 var _reactDom2 = _interopRequireDefault(_reactDom); 28561 var _reactDom2 = _interopRequireDefault(_reactDom);
28150 28562
28151 var _classnames = __webpack_require__(175); 28563 var _classnames = __webpack_require__(177);
28152 28564
28153 var _classnames2 = _interopRequireDefault(_classnames); 28565 var _classnames2 = _interopRequireDefault(_classnames);
28154 28566
@@ -28257,7 +28669,7 @@ webpackJsonp([0,1],[
28257 module.exports = exports['default']; 28669 module.exports = exports['default'];
28258 28670
28259/***/ }, 28671/***/ },
28260/* 233 */ 28672/* 244 */
28261/***/ function(module, exports) { 28673/***/ function(module, exports) {
28262 28674
28263 'use strict'; 28675 'use strict';
@@ -28303,7 +28715,7 @@ webpackJsonp([0,1],[
28303 module.exports = exports['default']; 28715 module.exports = exports['default'];
28304 28716
28305/***/ }, 28717/***/ },
28306/* 234 */ 28718/* 245 */
28307/***/ function(module, exports, __webpack_require__) { 28719/***/ function(module, exports, __webpack_require__) {
28308 28720
28309 'use strict'; 28721 'use strict';
@@ -28314,21 +28726,18 @@ webpackJsonp([0,1],[
28314 28726
28315 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 28727 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
28316 28728
28317 var _gregorianCalendarFormatLibLocaleZh_CN = __webpack_require__(235); 28729 var _gregorianCalendarFormatLibLocaleZh_CN = __webpack_require__(246);
28318 28730
28319 var _gregorianCalendarFormatLibLocaleZh_CN2 = _interopRequireDefault(_gregorianCalendarFormatLibLocaleZh_CN); 28731 var _gregorianCalendarFormatLibLocaleZh_CN2 = _interopRequireDefault(_gregorianCalendarFormatLibLocaleZh_CN);
28320 28732
28321 exports['default'] = { 28733 exports['default'] = {
28322 placeholderHHmmss: '时:分:秒',
28323 placeholderHHmm: '时:分',
28324 placeholdermmss: '分:秒',
28325 clear: '清除', 28734 clear: '清除',
28326 format: _gregorianCalendarFormatLibLocaleZh_CN2['default'] 28735 format: _gregorianCalendarFormatLibLocaleZh_CN2['default']
28327 }; 28736 };
28328 module.exports = exports['default']; 28737 module.exports = exports['default'];
28329 28738
28330/***/ }, 28739/***/ },
28331/* 235 */ 28740/* 246 */
28332/***/ function(module, exports) { 28741/***/ function(module, exports) {
28333 28742
28334 'use strict'; 28743 'use strict';