From a84067bdadfc2e6f1b4b67bfd1dce9a16c5cc16a Mon Sep 17 00:00:00 2001
From: Boyuzhou <2470200492@qq.com>
Date: Tue, 22 May 2018 19:38:15 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mixin=E5=92=8Crender=E6=96=B9?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 691 +-
build/Table.css | 10 +-
build/lib/dragColumn.js | 20 +-
build/lib/filterColumn.js | 37 +-
build/lib/multiSelect.js | 64 +-
build/lib/sort.js | 25 +-
build/render/CheckboxRender.js | 151 +-
build/render/DateRender.js | 240 +-
build/render/InputRender.js | 322 +-
build/render/SelectRender.js | 272 +-
demo/demolist/Demo13.js | 3 +-
demo/demolist/Demo14.js | 16 +-
demo/demolist/Demo16.js | 2 -
demo/demolist/Demo19.js | 40 +-
demo/demolist/Demo21.js | 4 +-
demo/index.js | 2 +-
dist/demo.js | 16570 +++++++++++++++----------------
dist/demo.js.map | 2 +-
docs/mixin.md | 68 +-
docs/rendertype.md | 76 +-
src/lib/dragColumn.js | 43 +-
src/lib/filterColumn.js | 1 -
src/lib/sort.js | 1 -
src/render/CheckboxRender.js | 3 +-
src/render/InputRender.js | 316 +-
src/render/SelectRender.js | 216 +-
26 files changed, 9589 insertions(+), 9606 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f1397f4..5d90962 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,12 +3,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -20,164 +39,83 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -195,9 +133,23 @@
remove
Icon
moment
+ src/lib
+ dragColumn
+ Tooltip
+ multiSelect
+ sort
+ CheckboxRender
+ DateRender
+ build/render
+ InputRender
+ filterColumn
+ sortBy
+ props
$PROJECT_DIR$/src
+ $PROJECT_DIR$/demo
+ $PROJECT_DIR$/demo/demolist
@@ -214,16 +166,24 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
+
@@ -238,7 +198,7 @@
-
+
@@ -262,86 +222,46 @@
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
@@ -383,44 +303,34 @@
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
@@ -442,6 +352,9 @@
+
+
+
@@ -452,51 +365,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -547,13 +415,6 @@
-
-
-
-
-
-
-
@@ -575,47 +436,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -721,13 +541,6 @@
-
-
-
-
-
-
-
@@ -736,13 +549,6 @@
-
-
-
-
-
-
-
@@ -751,37 +557,25 @@
-
-
-
-
+
-
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
+
-
+
-
+
@@ -789,39 +583,192 @@
-
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/build/Table.css b/build/Table.css
index 25dbd40..348ef73 100644
--- a/build/Table.css
+++ b/build/Table.css
@@ -188,7 +188,7 @@
background: rgb(227,242,253); }
.u-table th,
.u-table td {
- padding: 16px 8px;
+ padding: 12px 8px;
word-break: break-all; }
.u-table-row-hover {
background: #e3f2fd; }
@@ -223,19 +223,19 @@
overflow-y: auto;
box-sizing: border-box; }
.u-table-title {
- padding: 16px 8px;
+ padding: 12px 8px;
border-top: 1px solid #e9e9e9; }
.u-table-content {
position: relative; }
.u-table-footer {
- padding: 16px 8px;
+ padding: 12px 8px;
border-bottom: 1px solid #e9e9e9; }
.u-table-footer .u-table-scroll {
overflow-x: hidden; }
.u-table-footer .u-table {
- margin: -16px -8px; }
+ margin: -12px -8px; }
.u-table-placeholder {
- padding: 16px 8px;
+ padding: 12px 8px;
background: #fff;
border-bottom: 1px solid #e9e9e9;
text-align: center;
diff --git a/build/lib/dragColumn.js b/build/lib/dragColumn.js
index 6592422..81a06b4 100644
--- a/build/lib/dragColumn.js
+++ b/build/lib/dragColumn.js
@@ -12,14 +12,6 @@ var _react = require("react");
var _react2 = _interopRequireDefault(_react);
-var _beeIcon = require("bee-icon");
-
-var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
-var _reactDom = require("react-dom");
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
var _util = require("./util");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -41,10 +33,10 @@ function dragColumn(Table) {
var _class, _temp, _initialiseProps;
return _temp = _class = function (_Component) {
- _inherits(dragColumn, _Component);
+ _inherits(DragColumn, _Component);
- function dragColumn(props) {
- _classCallCheck(this, dragColumn);
+ function DragColumn(props) {
+ _classCallCheck(this, DragColumn);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -56,13 +48,13 @@ function dragColumn(Table) {
return _this;
}
- dragColumn.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ DragColumn.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
if (nextProps.columns != this.props.columns) {
this.setColumOrderByIndex();
}
};
- dragColumn.prototype.render = function render() {
+ DragColumn.prototype.render = function render() {
var _props = this.props,
data = _props.data,
dragborder = _props.dragborder,
@@ -82,7 +74,7 @@ function dragColumn(Table) {
}));
};
- return dragColumn;
+ return DragColumn;
}(_react.Component), _initialiseProps = function _initialiseProps() {
var _this2 = this;
diff --git a/build/lib/filterColumn.js b/build/lib/filterColumn.js
index 077df36..504991f 100644
--- a/build/lib/filterColumn.js
+++ b/build/lib/filterColumn.js
@@ -12,22 +12,6 @@ var _react = require("react");
var _react2 = _interopRequireDefault(_react);
-var _beeIcon = require("bee-icon");
-
-var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
-var _beeCheckbox = require("bee-checkbox");
-
-var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
-
-var _reactDom = require("react-dom");
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _beePopover = require("bee-popover");
-
-var _beePopover2 = _interopRequireDefault(_beePopover);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -41,16 +25,19 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
/**
* 参数: 过滤表头
* @param {*} Table
+ * @param {*} Checkbox
+ * @param {*} Popover
+ * @param {*} Icon
*/
-function filterColumn(Table) {
+function filterColumn(Table, Checkbox, Popover, Icon) {
var _class, _temp, _initialiseProps;
return _temp = _class = function (_Component) {
- _inherits(filterColumn, _Component);
+ _inherits(FilterColumn, _Component);
- function filterColumn(props) {
- _classCallCheck(this, filterColumn);
+ function FilterColumn(props) {
+ _classCallCheck(this, FilterColumn);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -74,7 +61,7 @@ function filterColumn(Table) {
return _this;
}
- filterColumn.prototype.render = function render() {
+ FilterColumn.prototype.render = function render() {
var _props = this.props,
data = _props.data,
prefixCls = _props.prefixCls;
@@ -112,7 +99,7 @@ function filterColumn(Table) {
{ className: prefixCls + "-cont" },
_react2["default"].createElement(Table, _extends({}, this.props, { columns: _columns, data: data })),
_react2["default"].createElement(
- _beePopover2["default"],
+ Popover,
{
placement: "leftTop",
content: content, id: "aa",
@@ -120,13 +107,13 @@ function filterColumn(Table) {
_react2["default"].createElement(
"div",
{ className: prefixCls + "-pop-column-filter" },
- _react2["default"].createElement(_beeIcon2["default"], { type: "uf-navmenu", onClick: this.openCloumList })
+ _react2["default"].createElement(Icon, { type: "uf-navmenu", onClick: this.openCloumList })
)
)
);
};
- return filterColumn;
+ return FilterColumn;
}(_react.Component), _class.defaultProps = {
prefixCls: "u-table-filter-column"
}, _initialiseProps = function _initialiseProps() {
@@ -169,7 +156,7 @@ function filterColumn(Table) {
{ key: da.key + "_" + i, className: prefixCls + "-pop-cont-item", onClick: function onClick() {
_this2.checkedColumItemClick(da);
} },
- _react2["default"].createElement(_beeCheckbox2["default"], { id: da.key, checked: da.checked }),
+ _react2["default"].createElement(Checkbox, { id: da.key, checked: da.checked }),
_react2["default"].createElement(
"span",
null,
diff --git a/build/lib/multiSelect.js b/build/lib/multiSelect.js
index 46fc491..3053803 100644
--- a/build/lib/multiSelect.js
+++ b/build/lib/multiSelect.js
@@ -1,4 +1,4 @@
-"use strict";
+'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
@@ -8,14 +8,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
exports["default"] = multiSelect;
-var _react = require("react");
+var _react = require('react');
var _react2 = _interopRequireDefault(_react);
-var _beeCheckbox = require("bee-checkbox");
-
-var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -28,6 +24,20 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+function indexOf(array, val) {
+ for (var i = 0; i < array.length; i++) {
+ if (array[i] === val) return i;
+ }
+ return -1;
+};
+
+function remove(array, val) {
+ var index = indexOf(array, val);
+ if (index > -1) {
+ array.splice(index, 1);
+ }
+};
+
/**
* multiSelect={
* type--默认值为checkbox
@@ -36,26 +46,14 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
* getSelectedDataFunc--function,能获取到选中的数据
* 使用全选时得注意,data中的key值一定要是唯一值
*/
-function multiSelect(Table) {
+function multiSelect(Table, Checkbox) {
var _class, _temp, _initialiseProps;
- Array.prototype.indexOf = function (val) {
- for (var i = 0; i < this.length; i++) {
- if (this[i] == val) return i;
- }
- return -1;
- };
- Array.prototype.remove = function (val) {
- var index = this.indexOf(val);
- if (index > -1) {
- this.splice(index, 1);
- }
- };
return _temp = _class = function (_Component) {
- _inherits(multiSelect, _Component);
+ _inherits(MultiSelect, _Component);
- function multiSelect(props) {
- _classCallCheck(this, multiSelect);
+ function MultiSelect(props) {
+ _classCallCheck(this, MultiSelect);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -70,11 +68,11 @@ function multiSelect(Table) {
return _this;
}
- multiSelect.prototype.componentDidMount = function componentDidMount() {
+ MultiSelect.prototype.componentDidMount = function componentDidMount() {
this.setState(this.initCheckedObj(this.props));
};
- multiSelect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ MultiSelect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
var props = this.props,
selectDisabled = props.selectDisabled,
selectedRow = props.selectedRow,
@@ -96,7 +94,7 @@ function multiSelect(Table) {
}
};
- multiSelect.prototype.renderColumnsMultiSelect = function renderColumnsMultiSelect(columns) {
+ MultiSelect.prototype.renderColumnsMultiSelect = function renderColumnsMultiSelect(columns) {
var _this2 = this;
var data = this.state.data;
@@ -119,8 +117,8 @@ function multiSelect(Table) {
}
}
var defaultColumns = [{
- title: _react2["default"].createElement(_beeCheckbox2["default"], {
- className: "table-checkbox",
+ title: _react2["default"].createElement(Checkbox, {
+ className: 'table-checkbox',
checked: this.state.checkedAll,
indeterminate: indeterminate_bool && !this.state.checkedAll,
onChange: this.onAllCheckChange
@@ -131,8 +129,8 @@ function multiSelect(Table) {
render: function render(text, record, index) {
var rowKey = record["key"] ? record["key"] : _this2.getRowKey(record, i);
var bool = checkedObj.hasOwnProperty(rowKey);
- return _react2["default"].createElement(_beeCheckbox2["default"], {
- className: "table-checkbox",
+ return _react2["default"].createElement(Checkbox, {
+ className: 'table-checkbox',
checked: checkedObj[rowKey],
disabled: !bool,
onClick: _this2.handleClick,
@@ -145,7 +143,7 @@ function multiSelect(Table) {
return columns;
};
- multiSelect.prototype.render = function render() {
+ MultiSelect.prototype.render = function render() {
var _this3 = this;
var columns = this.renderColumnsMultiSelect(this.props.columns).concat();
@@ -154,7 +152,7 @@ function multiSelect(Table) {
} }, this.props, { columns: columns }));
};
- return multiSelect;
+ return MultiSelect;
}(_react.Component), _initialiseProps = function _initialiseProps() {
var _this4 = this;
@@ -246,7 +244,7 @@ function multiSelect(Table) {
var rowKey = record["key"] ? record["key"] : _this4.getRowKey(record, i);
if (checkedObj[rowKey]) {
- selIds.remove(id);
+ remove(selIds, id);
} else {
selIds.push(id);
}
@@ -274,4 +272,4 @@ function multiSelect(Table) {
};
}, _temp;
}
-module.exports = exports["default"];
\ No newline at end of file
+module.exports = exports['default'];
\ No newline at end of file
diff --git a/build/lib/sort.js b/build/lib/sort.js
index 1d7531b..6265990 100644
--- a/build/lib/sort.js
+++ b/build/lib/sort.js
@@ -12,10 +12,6 @@ var _react = require("react");
var _react2 = _interopRequireDefault(_react);
-var _beeIcon = require("bee-icon");
-
-var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -29,13 +25,14 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
/**
* 参数:prefixCls,默认bee-table,用于设置图标的样式
* @param {*} Table
+ * @param {*} Icon
*/
-function sort(Table) {
+function sort(Table, Icon) {
return function (_Component) {
- _inherits(Demo11, _Component);
+ _inherits(SortTable, _Component);
- function Demo11(props) {
- _classCallCheck(this, Demo11);
+ function SortTable(props) {
+ _classCallCheck(this, SortTable);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -87,7 +84,7 @@ function sort(Table) {
return _this;
}
- Demo11.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ SortTable.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
if (nextProps.data !== this.props.data) {
this.setState({
sortOrder: "",
@@ -97,7 +94,7 @@ function sort(Table) {
}
};
- Demo11.prototype.renderColumnsDropdown = function renderColumnsDropdown(columns) {
+ SortTable.prototype.renderColumnsDropdown = function renderColumnsDropdown(columns) {
var _this2 = this;
var sortOrder = this.state.sortOrder;
@@ -121,7 +118,7 @@ function sort(Table) {
return _this2.toggleSortOrder("ascend", column);
}
},
- _react2["default"].createElement(_beeIcon2["default"], { type: "uf-triangle-up" })
+ _react2["default"].createElement(Icon, { type: "uf-triangle-up" })
),
_react2["default"].createElement(
"span",
@@ -132,7 +129,7 @@ function sort(Table) {
return _this2.toggleSortOrder("descend", column);
}
},
- _react2["default"].createElement(_beeIcon2["default"], { type: "uf-triangle-down" })
+ _react2["default"].createElement(Icon, { type: "uf-triangle-down" })
)
);
}
@@ -146,12 +143,12 @@ function sort(Table) {
});
};
- Demo11.prototype.render = function render() {
+ SortTable.prototype.render = function render() {
var columns = this.renderColumnsDropdown(this.props.columns.concat());
return _react2["default"].createElement(Table, _extends({}, this.props, { columns: columns, data: this.state.data }));
};
- return Demo11;
+ return SortTable;
}(_react.Component);
}
module.exports = exports["default"];
\ No newline at end of file
diff --git a/build/render/CheckboxRender.js b/build/render/CheckboxRender.js
index e02f152..1cef142 100644
--- a/build/render/CheckboxRender.js
+++ b/build/render/CheckboxRender.js
@@ -1,21 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
- value: true
+ value: true
});
+exports["default"] = renderCheckbox;
var _react = require("react");
var _react2 = _interopRequireDefault(_react);
-var _beeIcon = require("bee-icon");
-
-var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
-var _beeCheckbox = require("bee-checkbox");
-
-var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -26,78 +19,84 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-var CheckboxRender = function (_Component) {
- _inherits(CheckboxRender, _Component);
+/**
+ * 渲染checkbox
+ * @param Checkbox
+ * @param Icon
+ * @returns {CheckboxRender}
+ */
+function renderCheckbox(Checkbox, Icon) {
+ return function (_Component) {
+ _inherits(CheckboxRender, _Component);
- function CheckboxRender() {
- var _temp, _this, _ret;
+ function CheckboxRender() {
+ var _temp, _this, _ret;
- _classCallCheck(this, CheckboxRender);
+ _classCallCheck(this, CheckboxRender);
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
- value: _this.props.value,
- editable: false
- }, _this.handleChange = function (e) {
- var value = e.target.value;
- _this.setState({ value: value });
- }, _this.check = function () {
- _this.setState({ editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(_this.state.value);
- }
- }, _this.edit = function () {
- _this.setState({ editable: true });
- }, _this.handleKeydown = function (event) {
- if (event.keyCode == 13) {
- _this.check();
- }
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
+ value: _this.props.value,
+ editable: false
+ }, _this.handleChange = function (e) {
+ var value = e.target.value;
+ _this.setState({ value: value });
+ }, _this.check = function () {
+ _this.setState({ editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(_this.state.value);
+ }
+ }, _this.edit = function () {
+ _this.setState({ editable: true });
+ }, _this.handleKeydown = function (event) {
+ if (event.keyCode == 13) {
+ _this.check();
+ }
+ }, _temp), _possibleConstructorReturn(_this, _ret);
+ }
- CheckboxRender.prototype.render = function render() {
- var _state = this.state,
- value = _state.value,
- editable = _state.editable;
- var isclickTrigger = this.props.isclickTrigger;
+ CheckboxRender.prototype.render = function render() {
+ var _state = this.state,
+ value = _state.value,
+ editable = _state.editable;
+ var isclickTrigger = this.props.isclickTrigger;
- var cellContent = "";
- if (editable) {
- cellContent = _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(_beeCheckbox2["default"], {
- onChange: this.handleChange,
- onKeyDown: this.handleKeydown,
- onBlur: this.check,
- autoFocus: true,
- value: value
- })
- );
- } else {
- cellContent = _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper" },
- value || " ",
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-pencil",
- className: "editable-cell-icon",
- onClick: this.edit
- })
- );
- }
- return _react2["default"].createElement(
- "div",
- { className: "editable-cell" },
- cellContent
- );
- };
+ var cellContent = "";
+ if (editable) {
+ cellContent = _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(Checkbox, {
+ onChange: this.handleChange,
+ onKeyDown: this.handleKeydown,
+ onBlur: this.check,
+ autoFocus: true,
+ value: value
+ })
+ );
+ } else {
+ cellContent = _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper" },
+ value || " ",
+ _react2["default"].createElement(Icon, {
+ type: "uf-pencil",
+ className: "editable-cell-icon",
+ onClick: this.edit
+ })
+ );
+ }
+ return _react2["default"].createElement(
+ "div",
+ { className: "editable-cell" },
+ cellContent
+ );
+ };
- return CheckboxRender;
-}(_react.Component);
-
-exports["default"] = CheckboxRender;
+ return CheckboxRender;
+ }(_react.Component);
+}
module.exports = exports["default"];
\ No newline at end of file
diff --git a/build/render/DateRender.js b/build/render/DateRender.js
index 7d21b76..752ef11 100644
--- a/build/render/DateRender.js
+++ b/build/render/DateRender.js
@@ -1,23 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
- value: true
+ value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+exports["default"] = renderDate;
+
var _react = require("react");
var _react2 = _interopRequireDefault(_react);
-var _beeIcon = require("bee-icon");
-
-var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
-var _beeDatepicker = require("bee-datepicker");
-
-var _beeDatepicker2 = _interopRequireDefault(_beeDatepicker);
-
var _moment = require("moment");
var _moment2 = _interopRequireDefault(_moment);
@@ -32,129 +26,129 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-var MonthPicker = _beeDatepicker2["default"].MonthPicker,
- RangePicker = _beeDatepicker2["default"].RangePicker,
- WeekPicker = _beeDatepicker2["default"].WeekPicker;
+function renderDate(DatePicker, Icon) {
+ var _class, _temp2;
-var DateRender = function (_Component) {
- _inherits(DateRender, _Component);
+ var MonthPicker = DatePicker.MonthPicker,
+ RangePicker = DatePicker.RangePicker,
+ WeekPicker = DatePicker.WeekPicker;
- function DateRender() {
- var _temp, _this, _ret;
+ return _temp2 = _class = function (_Component) {
+ _inherits(DateRender, _Component);
- _classCallCheck(this, DateRender);
+ function DateRender() {
+ var _temp, _this, _ret;
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
+ _classCallCheck(this, DateRender);
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
- value: _this.props.value,
- editable: false
- }, _this.handleChange = function (e) {
- var _ref = _this.props || "YYYY-MM-DD",
- format = _ref.format;
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
- var value = e ? e.format(format) : "";
- _this.setState({ value: value, editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(value);
- }
- }, _this.check = function () {
- _this.setState({ editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(_this.state.value);
- }
- }, _this.edit = function () {
- _this.setState({ editable: true });
- }, _this.handleKeydown = function (event) {
- if (event.keyCode == 13) {
- _this.check();
- }
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
+ value: _this.props.value,
+ editable: false
+ }, _this.handleChange = function (e) {
+ var _ref = _this.props || "YYYY-MM-DD",
+ format = _ref.format;
- DateRender.prototype.render = function render() {
- var _state = this.state,
- value = _state.value,
- editable = _state.editable;
- var _props = this.props,
- isclickTrigger = _props.isclickTrigger,
- type = _props.type;
+ var value = e ? e.format(format) : "";
+ _this.setState({ value: value, editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(value);
+ }
+ }, _this.check = function () {
+ _this.setState({ editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(_this.state.value);
+ }
+ }, _this.edit = function () {
+ _this.setState({ editable: true });
+ }, _this.handleKeydown = function (event) {
+ if (event.keyCode == 13) {
+ _this.check();
+ }
+ }, _temp), _possibleConstructorReturn(_this, _ret);
+ }
- var cellContent = "";
- var TComponent = void 0;
- switch (type.toLowerCase()) {
- case "monthpicker":
- TComponent = MonthPicker;
- break;
- // case "rangepicker":
- // TComponent = RangePicker;
- // break;
- case "weekpicker":
- TComponent = WeekPicker;
- break;
- default:
- TComponent = _beeDatepicker2["default"];
- break;
- }
- TComponent;
- var date_value = value ? (0, _moment2["default"])(value) : value;
- if (editable) {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(TComponent, _extends({}, this.props, {
- value: date_value,
- onChange: this.handleChange
- })),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(TComponent, _extends({}, this.props, {
- value: date_value,
- onChange: this.handleChange
- })),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- );
- } else {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper", onClick: this.edit },
- value || " "
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper" },
- value || " ",
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-pencil",
- className: "editable-cell-icon",
- onClick: this.edit
- })
- );
- }
- return _react2["default"].createElement(
- "div",
- { className: "editable-cell" },
- cellContent
- );
- };
+ DateRender.prototype.render = function render() {
+ var _state = this.state,
+ value = _state.value,
+ editable = _state.editable;
+ var _props = this.props,
+ isclickTrigger = _props.isclickTrigger,
+ type = _props.type;
- return DateRender;
-}(_react.Component);
+ var cellContent = "";
+ var TComponent = void 0;
+ switch (type.toLowerCase()) {
+ case "monthpicker":
+ TComponent = MonthPicker;
+ break;
+ // case "rangepicker":
+ // TComponent = RangePicker;
+ // break;
+ case "weekpicker":
+ TComponent = WeekPicker;
+ break;
+ default:
+ TComponent = DatePicker;
+ break;
+ }
-exports["default"] = DateRender;
+ var date_value = value ? (0, _moment2["default"])(value) : value;
+ if (editable) {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(TComponent, _extends({}, this.props, {
+ value: date_value,
+ onChange: this.handleChange
+ })),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(TComponent, _extends({}, this.props, {
+ value: date_value,
+ onChange: this.handleChange
+ })),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ );
+ } else {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper", onClick: this.edit },
+ value || " "
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper" },
+ value || " ",
+ _react2["default"].createElement(Icon, {
+ type: "uf-pencil",
+ className: "editable-cell-icon",
+ onClick: this.edit
+ })
+ );
+ }
+ return _react2["default"].createElement(
+ "div",
+ { className: "editable-cell" },
+ cellContent
+ );
+ };
-DateRender.defaultProps = {
- type: "DatePicker"
-};
+ return DateRender;
+ }(_react.Component), _class.defaultProps = {
+ type: "DatePicker"
+ }, _temp2;
+}
module.exports = exports["default"];
\ No newline at end of file
diff --git a/build/render/InputRender.js b/build/render/InputRender.js
index 97f0355..04c7002 100644
--- a/build/render/InputRender.js
+++ b/build/render/InputRender.js
@@ -1,31 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
- value: true
+ value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+exports["default"] = renderInput;
+
var _react = require("react");
var _react2 = _interopRequireDefault(_react);
-var _beeIcon = require("bee-icon");
-
-var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
-var _beeFormControl = require("bee-form-control");
-
-var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
-
-var _beeForm = require("bee-form");
-
-var _beeForm2 = _interopRequireDefault(_beeForm);
-
-var _beeTooltip = require("bee-tooltip");
-
-var _beeTooltip2 = _interopRequireDefault(_beeTooltip);
-
var _propTypes = require("prop-types");
var _propTypes2 = _interopRequireDefault(_propTypes);
@@ -42,165 +28,167 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-var propTypes = {
- check: _propTypes2["default"].func
-};
+/**
+ * 渲染输入框
+ * @param Form
+ * @param Input
+ * @param Icon
+ * @returns {InputRender}
+ */
+function renderInput(Form, Input, Icon) {
+ var _class, _temp2;
-var defaultProps = {
- check: function check() {
- return "";
- }
-};
+ return _temp2 = _class = function (_Component) {
+ _inherits(InputRender, _Component);
-var InputRender = function (_Component) {
- _inherits(InputRender, _Component);
+ function InputRender() {
+ var _temp, _this, _ret;
- function InputRender() {
- var _temp, _this, _ret;
+ _classCallCheck(this, InputRender);
- _classCallCheck(this, InputRender);
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
- value: _this.props.value,
- editable: false
- }, _this.handleChange = function (e) {
- var value = e;
- _this.setState({ value: value });
- }, _this.check = function () {
- if (typeof _this.flag === "undefined" || _this.flag) {
- _this.props.check(_this.flag, _this.obj);
- _this.setState({ editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(_this.state.value);
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
+ value: _this.props.value,
+ editable: false
+ }, _this.handleChange = function (e) {
+ var value = e;
+ _this.setState({ value: value });
+ }, _this.check = function () {
+ if (typeof _this.flag === "undefined" || _this.flag) {
+ _this.props.check(_this.flag, _this.obj);
+ _this.setState({ editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(_this.state.value);
+ }
+ _this.flag = undefined;
+ }
+ }, _this.checkValidate = function (flag, obj) {
+ _this.flag = flag;
+ _this.obj = obj;
+ }, _this.edit = function () {
+ _this.setState({ editable: true });
+ }, _this.handleKeydown = function (event) {
+ if (event.keyCode == 13) {
+ _this.check();
+ } else if (event.keyCode == 9) {}
+ }, _this.formatCurrency = function (money) {
+ if (money && money != null && !!Number(money)) {
+ money = String(money);
+ var left = money.split(".")[0],
+ right = money.split(".")[1];
+ right = right ? right.length >= 2 ? "." + right.substr(0, 2) : "." + right + "0" : ".00";
+ var temp = left.split("").reverse().join("").match(/(\d{1,3})/g);
+ return (Number(money) < 0 ? "-" : "") + temp.join(",").split("").reverse().join("") + right;
+ } else if (money === 0) {
+ //注意===在这里的使用,如果传入的money为0,if中会将其判定为boolean类型,故而要另外做===判断
+ return "0.00";
+ } else {
+ return "";
+ }
+ }, _temp), _possibleConstructorReturn(_this, _ret);
}
- _this.flag = undefined;
- }
- }, _this.checkValidate = function (flag, obj) {
- _this.flag = flag;
- _this.obj = obj;
- }, _this.edit = function () {
- _this.setState({ editable: true });
- }, _this.handleKeydown = function (event) {
- if (event.keyCode == 13) {
- _this.check();
- } else if (event.keyCode == 9) {}
- }, _this.formatCurrency = function (money) {
- if (money && money != null && !!Number(money)) {
- money = String(money);
- var left = money.split(".")[0],
- right = money.split(".")[1];
- right = right ? right.length >= 2 ? "." + right.substr(0, 2) : "." + right + "0" : ".00";
- var temp = left.split("").reverse().join("").match(/(\d{1,3})/g);
- return (Number(money) < 0 ? "-" : "") + temp.join(",").split("").reverse().join("") + right;
- } else if (money === 0) {
- //注意===在这里的使用,如果传入的money为0,if中会将其判定为boolean类型,故而要另外做===判断
- return "0.00";
- } else {
- return "";
- }
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
- //货币的格式化方法
+ //货币的格式化方法
- InputRender.prototype.render = function render() {
- var _state = this.state,
- value = _state.value,
- editable = _state.editable;
+ InputRender.prototype.render = function render() {
+ var _state = this.state,
+ value = _state.value,
+ editable = _state.editable;
- var _props = this.props,
- name = _props.name,
- placeholder = _props.placeholder,
- isclickTrigger = _props.isclickTrigger,
- format = _props.format,
- formItemClassName = _props.formItemClassName,
- mesClassName = _props.mesClassName,
- check = _props.check,
- other = _objectWithoutProperties(_props, ["name", "placeholder", "isclickTrigger", "format", "formItemClassName", "mesClassName", "check"]);
+ var _props = this.props,
+ name = _props.name,
+ placeholder = _props.placeholder,
+ isclickTrigger = _props.isclickTrigger,
+ format = _props.format,
+ formItemClassName = _props.formItemClassName,
+ mesClassName = _props.mesClassName,
+ check = _props.check,
+ other = _objectWithoutProperties(_props, ["name", "placeholder", "isclickTrigger", "format", "formItemClassName", "mesClassName", "check"]);
- var cellContent = "";
- if (editable) {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeForm2["default"].FormItem,
- _extends({
- className: "formItem-style " + formItemClassName,
- mesClassName: "errMessage-style " + mesClassName,
- change: this.handleChange,
- blur: this.check,
- check: this.checkValidate
- }, other),
- _react2["default"].createElement(_beeFormControl2["default"], {
- name: name,
- placeholder: placeholder,
- onKeyDown: this.handleKeydown,
- autoFocus: true,
- value: value
- })
- )
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeForm2["default"].FormItem,
- _extends({
- className: "formItem-style " + formItemClassName,
- mesClassName: "errMessage-style " + mesClassName,
- change: this.handleChange,
- blur: this.check,
- check: this.checkValidate
- }, other),
- _react2["default"].createElement(_beeFormControl2["default"], {
- name: name,
- placeholder: placeholder,
- onKeyDown: this.handleKeydown,
- autoFocus: true,
- value: value
- })
- ),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- );
- } else {
- if (format && format === "Currency") {
- value = this.formatCurrency(value);
- }
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper", onClick: this.edit },
- value || " "
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper" },
- value || " ",
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-pencil",
- className: "editable-cell-icon",
- onClick: this.edit
- })
- );
- }
- return _react2["default"].createElement(
- "div",
- { className: "editable-cell" },
- cellContent
- );
- };
+ var cellContent = "";
+ if (editable) {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Form.FormItem,
+ _extends({
+ className: "formItem-style " + formItemClassName,
+ mesClassName: "errMessage-style " + mesClassName,
+ change: this.handleChange,
+ blur: this.check,
+ check: this.checkValidate
+ }, other),
+ _react2["default"].createElement(Input, {
+ name: name,
+ placeholder: placeholder,
+ onKeyDown: this.handleKeydown,
+ autoFocus: true,
+ value: value
+ })
+ )
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Form.FormItem,
+ _extends({
+ className: "formItem-style " + formItemClassName,
+ mesClassName: "errMessage-style " + mesClassName,
+ change: this.handleChange,
+ blur: this.check,
+ check: this.checkValidate
+ }, other),
+ _react2["default"].createElement(Input, {
+ name: name,
+ placeholder: placeholder,
+ onKeyDown: this.handleKeydown,
+ autoFocus: true,
+ value: value
+ })
+ ),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ );
+ } else {
+ if (format && format === "Currency") {
+ value = this.formatCurrency(value);
+ }
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper", onClick: this.edit },
+ value || " "
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper" },
+ value || " ",
+ _react2["default"].createElement(Icon, {
+ type: "uf-pencil",
+ className: "editable-cell-icon",
+ onClick: this.edit
+ })
+ );
+ }
+ return _react2["default"].createElement(
+ "div",
+ { className: "editable-cell" },
+ cellContent
+ );
+ };
- return InputRender;
-}(_react.Component);
-
-exports["default"] = InputRender;
-
-InputRender.PropTypes = propTypes;
-InputRender.defaultProps = defaultProps;
+ return InputRender;
+ }(_react.Component), _class.propTypes = {
+ check: _propTypes2["default"].func
+ }, _class.defaultProps = {
+ check: function check() {
+ return "";
+ }
+ }, _temp2;
+}
module.exports = exports["default"];
\ No newline at end of file
diff --git a/build/render/SelectRender.js b/build/render/SelectRender.js
index 670a059..a1d55db 100644
--- a/build/render/SelectRender.js
+++ b/build/render/SelectRender.js
@@ -1,11 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
- value: true
+ value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+exports["default"] = renderSelect;
+
var _react = require("react");
var _react2 = _interopRequireDefault(_react);
@@ -14,14 +16,6 @@ var _propTypes = require("prop-types");
var _propTypes2 = _interopRequireDefault(_propTypes);
-var _beeIcon = require("bee-icon");
-
-var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
-var _beeSelect = require("bee-select");
-
-var _beeSelect2 = _interopRequireDefault(_beeSelect);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -32,141 +26,145 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-var propTypes = {
- dataSource: _propTypes2["default"].array
-};
+/**
+ * 渲染下拉框
+ * @param Select
+ * @param Icon
+ * @returns {SelectRender}
+ */
+function renderSelect(Select, Icon) {
+ var _class, _temp2;
-var SelectRender = function (_Component) {
- _inherits(SelectRender, _Component);
+ return _temp2 = _class = function (_Component) {
+ _inherits(SelectRender, _Component);
- function SelectRender() {
- var _temp, _this, _ret;
+ function SelectRender() {
+ var _temp, _this, _ret;
- _classCallCheck(this, SelectRender);
+ _classCallCheck(this, SelectRender);
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
- value: _this.props.value,
- editable: false
- }, _this.handleChange = function (e) {
- var value = e;
- if (_this.props.onChange) {
- _this.props.onChange(value);
- }
- _this.setState({ value: value });
- setTimeout(function () {
- _this.setState({ editable: false });
- }, 0);
- }, _this.check = function () {
- _this.setState({ editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(_this.state.value);
- }
- }, _this.edit = function () {
- _this.setState({ editable: true });
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- SelectRender.prototype.render = function render() {
- var _this2 = this;
-
- var _state = this.state,
- value = _state.value,
- editable = _state.editable;
- var _props = this.props,
- isclickTrigger = _props.isclickTrigger,
- dataSource = _props.dataSource;
-
- var cellContent = "";
- if (editable) {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeSelect2["default"],
- _extends({}, this.props, {
- value: this.state.value,
- onBlur: function onBlur(value) {
- console.log(value);
- // this.props.onBlur();
- },
-
- onFocus: function onFocus(value) {
- console.log(value);
- // this.props.onBlur();
- },
-
- onChange: this.handleChange
- }),
- this.props.children
- ),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeSelect2["default"],
- _extends({}, this.props, {
- value: this.state.value,
- onBlur: function onBlur() {
- _this2.setState({
- editable: true
- });
- _this2.props.onBlur();
- },
- onChange: this.handleChange
- }),
- this.props.children
- ),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- );
- } else {
- if (dataSource && dataSource.length > 0) {
- for (var index = 0; index < dataSource.length; index++) {
- var element = dataSource[index];
- if (element.value === value) {
- value = element.key;
- break;
- }
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
+ value: _this.props.value,
+ editable: false
+ }, _this.handleChange = function (e) {
+ var value = e;
+ if (_this.props.onChange) {
+ _this.props.onChange(value);
+ }
+ _this.setState({ value: value });
+ setTimeout(function () {
+ _this.setState({ editable: false });
+ }, 0);
+ }, _this.check = function () {
+ _this.setState({ editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(_this.state.value);
+ }
+ }, _this.edit = function () {
+ _this.setState({ editable: true });
+ }, _temp), _possibleConstructorReturn(_this, _ret);
}
- }
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper", onClick: this.edit },
- value || " "
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper" },
- value || " ",
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-pencil",
- className: "editable-cell-icon",
- onClick: this.edit
- })
- );
- }
- return _react2["default"].createElement(
- "div",
- { className: "editable-cell" },
- cellContent
- );
- };
- return SelectRender;
-}(_react.Component);
+ SelectRender.prototype.render = function render() {
+ var _this2 = this;
-exports["default"] = SelectRender;
+ var _state = this.state,
+ value = _state.value,
+ editable = _state.editable;
+ var _props = this.props,
+ isclickTrigger = _props.isclickTrigger,
+ dataSource = _props.dataSource;
-SelectRender.propTypes = propTypes;
+ var cellContent = "";
+ if (editable) {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Select,
+ _extends({}, this.props, {
+ value: this.state.value,
+ onBlur: function onBlur(value) {
+ console.log(value);
+ // this.props.onBlur();
+ },
+
+ onFocus: function onFocus(value) {
+ console.log(value);
+ // this.props.onBlur();
+ },
+
+ onChange: this.handleChange
+ }),
+ this.props.children
+ ),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Select,
+ _extends({}, this.props, {
+ value: this.state.value,
+ onBlur: function onBlur() {
+ _this2.setState({
+ editable: true
+ });
+ _this2.props.onBlur();
+ },
+ onChange: this.handleChange
+ }),
+ this.props.children
+ ),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ );
+ } else {
+ if (dataSource && dataSource.length > 0) {
+ for (var index = 0; index < dataSource.length; index++) {
+ var element = dataSource[index];
+ if (element.value === value) {
+ value = element.key;
+ break;
+ }
+ }
+ }
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper", onClick: this.edit },
+ value || " "
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper" },
+ value || " ",
+ _react2["default"].createElement(Icon, {
+ type: "uf-pencil",
+ className: "editable-cell-icon",
+ onClick: this.edit
+ })
+ );
+ }
+ return _react2["default"].createElement(
+ "div",
+ { className: "editable-cell" },
+ cellContent
+ );
+ };
+
+ return SelectRender;
+ }(_react.Component), _class.propTypes = {
+ dataSource: _propTypes2["default"].array
+ }, _temp2;
+}
module.exports = exports["default"];
\ No newline at end of file
diff --git a/demo/demolist/Demo13.js b/demo/demolist/Demo13.js
index 4942348..a2a9a77 100644
--- a/demo/demolist/Demo13.js
+++ b/demo/demolist/Demo13.js
@@ -9,6 +9,7 @@ import React, { Component } from "react";
import Table from "../../src";
import Checkbox from "bee-checkbox";
import Button from "bee-button";
+import Icon from "bee-icon";
import multiSelect from "../../src/lib/multiSelect.js";
import sort from "../../src/lib/sort.js";
import sum from "../../src/lib/sum.js";
@@ -55,7 +56,7 @@ const data13_1 = [
{ a: "郭靖", b: "男", c: 25, d: "大侠", key: "3" }
];
//拼接成复杂功能的table组件不能在render中定义,需要像此例子声明在组件的外侧,不然操作state会导致功能出现异常
-let ComplexTable = multiSelect(sum(sort(Table)));
+let ComplexTable = multiSelect(sum(sort(Table, Icon)), Checkbox);
class Demo13 extends Component {
constructor(props) {
diff --git a/demo/demolist/Demo14.js b/demo/demolist/Demo14.js
index 927356f..b5a2c6a 100644
--- a/demo/demolist/Demo14.js
+++ b/demo/demolist/Demo14.js
@@ -5,18 +5,24 @@
*
*/
-import Button from "bee-button";
-import React, { Component } from "react";
+import React from "react";
import Table from "../../src";
import Animate from "bee-animate";
import Tooltip from "bee-tooltip";
+import Button from "bee-button";
+import Form from "bee-form";
import Icon from "bee-icon";
import Input from "bee-form-control";
import Checkbox from "bee-checkbox";
+import Datepicker from "bee-datepicker";
import Select from "bee-select";
-import InputRender from "../../build/render/InputRender.js";
-import DateRender from "../../build/render/DateRender.js";
-import SelectRender from "../../build/render/SelectRender.js";
+import renderInput from "../../build/render/InputRender.js";
+import renderDate from "../../build/render/DateRender.js";
+import renderSelect from "../../build/render/SelectRender.js";
+
+const InputRender = renderInput(Form, Input, Icon);
+const DateRender = renderDate(Datepicker, Icon);
+const SelectRender = renderSelect(Select, Icon);
const format = "YYYY-MM-DD";
const format2 = "YYYY-MM";
diff --git a/demo/demolist/Demo16.js b/demo/demolist/Demo16.js
index cb43c57..98d9685 100644
--- a/demo/demolist/Demo16.js
+++ b/demo/demolist/Demo16.js
@@ -7,7 +7,6 @@
import React, { Component } from "react";
import Table from "../../src";
-import multiSelect from "../../src/lib/multiSelect.js";
const columns16 = [
{ title: "用户名", dataIndex: "a", key: "a", width: 100 },
@@ -38,7 +37,6 @@ const data16 = [
{ a: "郭靖", b: "男", c: 25, d: "操作", key: "3" }
];
-// let Table1 = multiSelect(Table)
class Demo16 extends Component {
constructor(props){
diff --git a/demo/demolist/Demo19.js b/demo/demolist/Demo19.js
index 0eb1422..06a5bf9 100644
--- a/demo/demolist/Demo19.js
+++ b/demo/demolist/Demo19.js
@@ -6,24 +6,22 @@
*/
import Button from "bee-button";
-import React, { Component } from "react";
+import React from "react";
import Table from "../../src";
import Animate from "bee-animate";
import Tooltip from "bee-tooltip";
import Icon from "bee-icon";
import Input from "bee-form-control";
-import Checkbox from "bee-checkbox";
+import Form from "bee-form";
import Select from "bee-select";
-import InputRender from "../../build/render/InputRender.js";
-import DateRender from "../../build/render/DateRender.js";
-import SelectRender from "../../build/render/SelectRender.js";
+import renderInput from "../../build/render/InputRender.js";
+import renderSelect from "../../build/render/SelectRender.js";
-const format = "YYYY-MM-DD";
-const format2 = "YYYY-MM";
-const format3 = "YYYY-MM-DD HH:mm:ss";
+const InputRender = renderInput(Form, Input, Icon);
+const SelectRender = renderSelect(Select, Icon);
+
+const Option = Select.Option;
-const dateInputPlaceholder = "选择日期";
-const dateInputPlaceholder2 = "选择年月";
const dataSource = [
{
key: "boyuzhou",
@@ -155,13 +153,7 @@ class Demo19 extends React.Component {
this.setState({ dataSource });
};
};
- onCheckChange = (index, key) => {
- return value => {
- const dataSource = [...this.state.dataSource];
- dataSource[index][key] = value;
- this.setState({ dataSource });
- };
- };
+
onSelectChange = (index, key) => {
return value => {
console.log(`selected ${value}`);
@@ -170,19 +162,7 @@ class Demo19 extends React.Component {
this.setState({ dataSource });
};
};
- onDateChange = d => {
- console.log(d);
- };
- onDateSelect = d => {
- console.log(d);
- };
- onDelete = index => {
- return () => {
- const dataSource = [...this.state.dataSource];
- dataSource.splice(index, 1);
- this.setState({ dataSource });
- };
- };
+
handleAdd = () => {
const { count, dataSource } = this.state;
const newData = {
diff --git a/demo/demolist/Demo21.js b/demo/demolist/Demo21.js
index 8f22f71..cdf383e 100644
--- a/demo/demolist/Demo21.js
+++ b/demo/demolist/Demo21.js
@@ -11,6 +11,8 @@ import Table from '../../src';
import filterColumn from '../../src/lib/filterColumn';
import sum from '../../src/lib/sum';
import Icon from "bee-icon";
+import Checkbox from 'bee-checkbox';
+import Popover from 'bee-popover';
const columns21 = [
{
@@ -46,7 +48,7 @@ const data21 = [
{ a: "郭靖", b: "男", c: 25,d:'大侠', key: "3" }
];
-const FilterColumnTable = filterColumn(sum(Table));
+const FilterColumnTable = filterColumn(sum(Table), Checkbox, Popover, Icon);
const defaultProps21 = {
prefixCls: "bee-table"
diff --git a/demo/index.js b/demo/index.js
index 274c4fd..e1697cb 100644
--- a/demo/index.js
+++ b/demo/index.js
@@ -11,7 +11,7 @@ const CARET = ;
const CARETUP = ;
-var Demo1 = require("./demolist/Demo1");var Demo10 = require("./demolist/Demo10");var Demo11 = require("./demolist/Demo11");var Demo12 = require("./demolist/Demo12");var Demo13 = require("./demolist/Demo13");var Demo14 = require("./demolist/Demo14");var Demo15 = require("./demolist/Demo15");var Demo16 = require("./demolist/Demo16");var Demo17 = require("./demolist/Demo17");var Demo18 = require("./demolist/Demo18");var Demo19 = require("./demolist/Demo19");var Demo2 = require("./demolist/Demo2");var Demo21 = require("./demolist/Demo21");var Demo22 = require("./demolist/Demo22");var Demo23 = require("./demolist/Demo23");var Demo24 = require("./demolist/Demo24");var Demo3 = require("./demolist/Demo3");var Demo4 = require("./demolist/Demo4");var Demo5 = require("./demolist/Demo5");var Demo6 = require("./demolist/Demo6");var Demo7 = require("./demolist/Demo7");var Demo8 = require("./demolist/Demo8");var Demo9 = require("./demolist/Demo9");var DemoArray = [{"example":,"title":" 简单表格、两种tip、选中行背景色、文字过长","code":"/**\n*\n* @title 简单表格、两种tip、选中行背景色、文字过长\n* 【一种是bee-popover实现、一种是标签本身的tooltip】\n* @description\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button, Popover } from 'tinper-bee';\n\nfunction getTitleTip(text){\n return(
\n
{text}
\n )\n}\n\n\nconst columns = [\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width:80 , className:\"rowClassName\",\n render(text, record, index) {\n return();\n }},\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n \n );\n }\n }\n];\n\nconst data = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过叔叔的女儿黄蓉\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo1 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data,\n factoryValue: 0,\n selectedRow: new Array(data.length)//状态同步\n }\n }\n\n render() {\n return (\n {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n title={currentData => 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n /> \n );\n }\n}\n\n\n","desc":""},{"example":,"title":" 无数据时显示","code":"/**\n*\n* @title 无数据时显示\n* @description 无数据时显示效果展示(可自定义)\n *\n* import {Table} from 'tinper-bee';\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns10 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n ];\n \n const data10 = [\n \n ];\n\n const emptyFunc = () => 这里没有数据!\n \n class Demo10 extends Component {\n render() {\n return ;\n }\n }\n\n","desc":" 无数据时显示效果展示(可自定义)"},{"example":,"title":" 列排序","code":"/**\n*\n* @title 列排序\n* @description 点击列的上下按钮即可排序\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee';\n\nconst columns11 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data11 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps11 = {\n prefixCls: \"bee-table\"\n};\nclass Demo11 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n sortOrder: \"\",\n data: data11\n };\n }\n toggleSortOrder=(order, column)=> {\n let { sortOrder, data, oldData } = this.state;\n let ascend_sort = function(key) {\n return function(a, b) {\n return a.key - b.key;\n };\n };\n let descend_sort = function(key) {\n return function(a, b) {\n return b.key - a.key;\n };\n };\n if (sortOrder === order) {\n // 切换为未排序状态\n order = \"\";\n }\n if (!oldData) {\n oldData = data.concat();\n }\n if (order === \"ascend\") {\n data = data.sort(function(a, b) {\n return column.sorter(a, b);\n });\n } else if (order === \"descend\") {\n data = data.sort(function(a, b) {\n return column.sorter(b, a);\n });\n } else {\n data = oldData.concat();\n }\n this.setState({\n sortOrder: order,\n data: data,\n oldData: oldData\n });\n }\n renderColumnsDropdown(columns) {\n const { sortOrder } = this.state;\n const { prefixCls } = this.props;\n\n return columns.map(originColumn => {\n let column = Object.assign({}, originColumn);\n let sortButton;\n if (column.sorter) {\n const isAscend = sortOrder === \"ascend\";\n const isDescend = sortOrder === \"descend\";\n sortButton = (\n \n this.toggleSortOrder(\"ascend\", column)}\n >\n \n \n this.toggleSortOrder(\"descend\", column)}\n >\n \n \n
\n );\n }\n column.title = (\n \n {column.title}\n {sortButton}\n \n );\n return column;\n });\n }\n render() {\n let columns = this.renderColumnsDropdown(columns11);\n return ;\n }\n}\nDemo11.defaultProps = defaultProps11;\n\n\n","desc":" 点击列的上下按钮即可排序"},{"example":,"title":" 全选功能","code":"/**\n*\n* @title 全选功能\n* @description 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Checkbox } from 'tinper-bee';\n\nconst columns12 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data12 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps12 = {\n prefixCls: \"bee-table\",\n multiSelect: {\n type: \"checkbox\",\n param: \"key\"\n }\n};\nclass Demo12 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n checkedAll:false,\n checkedArray: [\n false,\n false,\n false,\n ],\n data: data12\n };\n }\n onAllCheckChange = () => {\n let self = this;\n let checkedArray = [];\n let listData = self.state.data.concat();\n let selIds = [];\n // let id = self.props.multiSelect.param;\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n checkedArray[i] = !self.state.checkedAll;\n }\n // if (self.state.checkedAll) {\n // selIds = [];\n // } else {\n // for (var i = 0; i < listData.length; i++) {\n // selIds[i] = listData[i][id];\n // }\n // }\n self.setState({\n checkedAll: !self.state.checkedAll,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n onCheckboxChange = (text, record, index) => {\n let self = this;\n let allFlag = false;\n // let selIds = self.state.selIds;\n // let id = self.props.postId;\n let checkedArray = self.state.checkedArray.concat();\n // if (self.state.checkedArray[index]) {\n // selIds.remove(record[id]);\n // } else {\n // selIds.push(record[id]);\n // }\n checkedArray[index] = !self.state.checkedArray[index];\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n if (!checkedArray[i]) {\n allFlag = false;\n break;\n } else {\n allFlag = true;\n }\n }\n self.setState({\n checkedAll: allFlag,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n renderColumnsMultiSelect(columns) {\n const { data,checkedArray } = this.state;\n const { multiSelect } = this.props;\n let select_column = {};\n let indeterminate_bool = false;\n // let indeterminate_bool1 = true;\n if (multiSelect && multiSelect.type === \"checkbox\") {\n let i = checkedArray.length;\n while(i--){\n if(checkedArray[i]){\n indeterminate_bool = true;\n break;\n }\n }\n let defaultColumns = [\n {\n title: (\n \n ),\n key: \"checkbox\",\n dataIndex: \"checkbox\",\n width: \"5%\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n columns = defaultColumns.concat(columns);\n }\n return columns;\n }\n render() {\n let columns = this.renderColumnsMultiSelect(columns12);\n return ;\n }\n}\nDemo12.defaultProps = defaultProps12;\n\n","desc":" 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)"},{"example":,"title":" 列排序、全选功能、合计","code":"/**\n *\n * @title 列排序、全选功能、合计\n * @description 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button, Checkbox } from 'tinper-bee';\nimport multiSelect from \"tinper-bee/lib/multiSelect.js\";;\nimport sort from \"tinper-bee/lib/sort.js\";;\nimport sum from \"tinper-bee/lib/sum.js\";;\n\nconst columns13 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 200\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200\n }\n];\n\nconst data13 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\nconst data13_1 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"22\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"222\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n//拼接成复杂功能的table组件不能在render中定义,需要像此例子声明在组件的外侧,不然操作state会导致功能出现异常\nlet ComplexTable = multiSelect(sum(sort(Table)));\n\nclass Demo13 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data13: data13,\n selectedRow: this.selectedRow,\n selectDisabled: this.selectDisabled\n };\n }\n getSelectedDataFunc = data => {\n // console.log(data);\n };\n selectDisabled = (record, index) => {\n // console.log(record);\n if (index === 1) {\n return true;\n }\n return false;\n };\n selectedRow = (record, index) => {\n // console.log(record);\n if (index === 0) {\n return true;\n }\n return false;\n };\n onClick = () => {\n this.setState({\n selectedRow: function() {}\n });\n };\n onClick1 = () => {\n this.setState({\n selectDisabled: (record, index) => {\n // console.log(record);\n if (index === 2) {\n return true;\n }\n return false;\n }\n });\n };\n render() {\n let multiObj = {\n type: \"checkbox\"\n };\n return (\n \n \n \n \n
\n );\n }\n}\n\n","desc":" 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)"},{"example":,"title":" 编辑态表格","code":"/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Select, Checkbox, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\nimport InputRender from \"tinper-bee/lib/InputRender.js\";;\nimport DateRender from \"tinper-bee/lib/DateRender.js\";;\nimport SelectRender from \"tinper-bee/lib/SelectRender.js\";;\n\nconst format = \"YYYY-MM-DD\";\nconst format2 = \"YYYY-MM\";\nconst format3 = \"YYYY-MM-DD HH:mm:ss\";\n\nconst dateInputPlaceholder = \"选择日期\";\nconst dateInputPlaceholder2 = \"选择年月\";\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo14 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [\n {\n title: \"普通输入\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n reg={/^[0-9]+$/}\n />\n )\n },\n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n {\n title: \"复选\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"100px\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"下拉框\",\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n },\n {\n title: \"年月日\",\n dataIndex: \"datepicker\",\n key: \"datepicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n },\n {\n title: \"年月\",\n dataIndex: \"MonthPicker\",\n key: \"MonthPicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onCheckChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDateChange = d => {\n console.log(d);\n };\n onDateSelect = d => {\n console.log(d);\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n","desc":" 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)"},{"example":,"title":" 表格行/列合并","code":"/**\n*\n* @title 表格行/列合并\n* @description 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst renderContent = (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n};\n\nconst columns = [{\n title: 'Name',\n key: \"name\",\n dataIndex: 'name',\n render: (text, row, index) => {\n if (index < 4) {\n return {text};\n }\n return {\n children: {text},\n props: {\n colSpan: 5,\n },\n };\n },\n}, {\n title: 'Age',\n key: \"Age\",\n dataIndex: 'age',\n render: renderContent,\n}, {\n title: 'Home phone',\n colSpan: 2,\n key: \"tel\",\n dataIndex: 'tel',\n render: (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 2) {\n obj.props.rowSpan = 2;\n }\n if (index === 3) {\n obj.props.rowSpan = 0;\n }\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n },\n}, {\n title: 'Phone',\n colSpan: 0,\n key: \"phone\",\n dataIndex: 'phone',\n render: renderContent,\n}, {\n title: 'Address',\n key: \"address\",\n dataIndex: 'address',\n render: renderContent,\n}];\n\nconst data = [{\n key: '1',\n name: 'John Brown',\n age: 32,\n tel: '0571-22098909',\n phone: 18889898989,\n address: 'New York No. 1 Lake Park',\n}, {\n key: '2',\n name: 'Jim Green',\n tel: '0571-22098333',\n phone: 18889898888,\n age: 42,\n address: 'London No. 1 Lake Park',\n}, {\n key: '3',\n name: 'Joe Black',\n age: 32,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Sidney No. 1 Lake Park',\n}, {\n key: '4',\n name: 'Jim Red',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'London No. 2 Lake Park',\n}, {\n key: '5',\n name: 'Jake White',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Dublin No. 2 Lake Park',\n}];\n\nclass Demo15 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n\n","desc":" 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。"},{"example":,"title":" 嵌套子表格","code":"/**\n*\n* @title 嵌套子表格\n* @description 通过expandedRowRender参数来实现子表格\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\nimport multiSelect from \"tinper-bee/lib/multiSelect.js\";;\n\nconst columns16 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert(\"这是第\" + index + \"列,内容为:\" + text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data16 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\n// let Table1 = multiSelect(Table)\n\nclass Demo16 extends Component {\n constructor(props){\n super(props);\n this.state={\n data_obj:{}\n }\n }\n expandedRowRender = (record, index, indent) => {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n };\n getData=(expanded, record)=>{\n //当点击展开的时候才去请求数据\n let new_obj = Object.assign({},this.state.data_obj);\n if(expanded){\n if(record.key==='1'){\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }else{\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }\n }\n }\n haveExpandIcon=(record, index)=>{\n //控制是否显示行展开icon,该参数只有在和expandedRowRender同时使用才生效\n if(index == 0){\n return true;\n }\n return false;\n }\n render() {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n }\n}\n\n\n","desc":" 通过expandedRowRender参数来实现子表格"},{"example":,"title":" loading属性指定表格是否加载中","code":"/**\n*\n* @title loading属性指定表格是否加载中\n* @description loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst columns17 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert('这是第'+index+'列,内容为:'+text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data17 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo17 extends Component {\n constructor(props){\n super(props);\n this.state = {\n loading : true\n }\n }\n changeLoading = () => {\n this.setState({\n loading : !this.state.loading\n })\n }\n render() {\n return (\n \n
\n
标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n // loading={this.state.loading}或者是boolean\n loading={{show:this.state.loading,loadingType:\"line\"}}\n />\n \n );\n }\n}\n\n\n","desc":" loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型"},{"example":,"title":" 合并标题后的合计,且支持多字段统计","code":"/**\n *\n * @title 合并标题后的合计,且支持多字段统计\n * @description 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee'; \nimport sum from \"tinper-bee/lib/sum.js\";;\n \nlet ComplexTable = sum(Table);\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200,\n sumCol: true,\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n // width: 100,\n sumCol: true,\n }\n ]\n }\n ]\n }\n ]\n },\n // {\n // title: \"Company\",\n // children: [\n // {\n // title: \"Company Address\",\n // dataIndex: \"companyAddress\",\n // key: \"companyAddress\",\n // width: 100,\n // },\n // {\n // title: \"Company Name\",\n // dataIndex: \"companyName\",\n // key: \"companyName\",\n // width: 100,\n // }\n // ]\n // },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 80,\n fixed: \"right\"\n }\n];\n\nfunction getData(){\n const data = [];\n for (let i = 0; i < 5; i++) {\n data.push({\n key: i,\n name: \"John Brown\"+i,\n age: i + Math.floor(Math.random()*10),\n street: \"Lake Park\",\n building: \"C\",\n number: 20 * Math.floor(Math.random()*10),\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n }\n return data;\n}\n\nclass Demo18 extends Component {\n \n constructor(props) {\n super(props);\n this.state = {\n data: getData()\n };\n }\n\n changeData = ()=>{\n this.setState({\n data: getData()\n });\n }\n\n render() {\n const {data} = this.state;\n return (\n \n \n\n \n
\n );\n }\n}\n\n","desc":" 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)"},{"example":,"title":" 编辑态表格","code":"/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Select, Checkbox, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\nimport InputRender from \"tinper-bee/lib/InputRender.js\";;\nimport DateRender from \"tinper-bee/lib/DateRender.js\";;\nimport SelectRender from \"tinper-bee/lib/SelectRender.js\";;\n\nconst format = \"YYYY-MM-DD\";\nconst format2 = \"YYYY-MM\";\nconst format3 = \"YYYY-MM-DD HH:mm:ss\";\n\nconst dateInputPlaceholder = \"选择日期\";\nconst dateInputPlaceholder2 = \"选择年月\";\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo19 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [ \n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n \n {\n title:(下拉框的div
),\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n handFocus = (value,e) => {\n console.log(value+` 获取焦点事件`);\n };\n onBlur = (value,e) => {\n console.log(value+` onBlur`);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onCheckChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDateChange = d => {\n console.log(d);\n };\n onDateSelect = d => {\n console.log(d);\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n","desc":" 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)"},{"example":,"title":" 增删改表格","code":"/**\n*\n* @title 增删改表格\n* @description 这是带有增删改功能的表格(此编辑功能未使用render组件)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Popconfirm, Input, Icon, Animate, Button } from 'tinper-bee';\n\nclass EditableCell extends React.Component {\n state = {\n value: this.props.value,\n editable: false\n };\n handleChange = e => {\n const value = e.target.value;\n this.setState({ value });\n };\n check = () => {\n this.setState({ editable: false });\n if (this.props.onChange) {\n this.props.onChange(this.state.value);\n }\n };\n edit = () => {\n this.setState({ editable: true });\n };\n handleKeydown = event => {\n if (event.keyCode == 13) {\n this.check();\n }\n };\n render() {\n const { value, editable } = this.state;\n return (\n \n {editable ? (\n
\n \n \n
\n ) : (\n
\n {value || \" \"}\n \n
\n )}\n
\n );\n }\n}\n\nclass Demo2 extends React.Component {\n constructor(props) {\n super(props);\n this.columns = [\n {\n title: \"姓名\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"30%\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"年龄\",\n dataIndex: \"age\",\n key: \"age\"\n },\n {\n title: \"你懂的\",\n dataIndex: \"address\",\n key: \"address\"\n },\n {\n title: \"操作\",\n dataIndex: \"operation\",\n key: \"operation\",\n render: (text, record, index) => {\n return this.state.dataSource.length > 1 ? (\n \n \n \n ) : null;\n }\n }\n ];\n\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n age: \"18\",\n address: \"96, 77, 89\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n age: \"16\",\n address: \"90, 70, 80\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n age: \"17\",\n address: \"80, 60, 80\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n age: \"20\",\n address: \"120, 60, 90\"\n }\n ],\n count: 4\n };\n }\n onCellChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: `100 100 100`\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n );\n }\n}\n\n\n","desc":" 这是带有增删改功能的表格(此编辑功能未使用render组件)"},{"example":,"title":" 根据列进行过滤","code":"/**\n*\n* @title 根据列进行过滤\n* @description 点击表格右侧按钮,进行表格列的数据过滤。\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee';\nimport filterColumn from \"tinper-bee/lib/filterColumn\";;\nimport sum from \"tinper-bee/lib/sum\";;\n\nconst columns21 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n // width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n // width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n // width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data21 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst FilterColumnTable = filterColumn(sum(Table));\n\nconst defaultProps21 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo21 extends Component {\n constructor(props) {\n super(props);\n }\n \n render() {\n \n return ;\n }\n}\nDemo21.defaultProps = defaultProps21;\n\n\n","desc":" 点击表格右侧按钮,进行表格列的数据过滤。"},{"example":,"title":" 列的拖拽,交换表头的顺序","code":"/**\n*\n* @title 列的拖拽,交换表头的顺序\n* @description 点击列的表头,进行左右拖拽\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns22 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data22 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps22 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo22 extends Component {\n constructor(props) {\n super(props); \n }\n \n render() {\n return ;\n }\n}\nDemo22.defaultProps = defaultProps22;\n\n\n","desc":" 点击列的表头,进行左右拖拽"},{"example":,"title":" 拖拽调整列的宽度","code":"/**\n*\n* @title 拖拽调整列的宽度\n* @description 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns23 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data23 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps23 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo23 extends Component {\n constructor(props) {\n super(props); \n }\n\n render() {\n return ;\n }\n}\nDemo23.defaultProps = defaultProps23;\n\n\n","desc":" 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】"},{"example":,"title":" 动态设置固、取消固定列","code":"/**\n*\n* @title 动态设置固、取消固定列\n* @description 动态设置固、取消固定列\n*\n*/\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\nconst columns24 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\",\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" , fixed: \"left\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 24\", dataIndex: \"address\", key: \"24\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\n\nconst data24 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo24 extends Component {\n\n constructor(props) {\n super(props);\n let columns = [];\n Object.assign(columns,columns24);\n columns.forEach(da=>da.onHeadCellClick=this.onHeadCellClick);\n this.state = {\n columns\n }\n }\n\n onHeadCellClick=(data,event)=>{\n const {columns:_columns} = this.state;\n let columns = [];\n Object.assign(columns,_columns);\n let currObj = columns.find(da=>da.key == data.key);\n currObj.fixed?delete currObj.fixed:currObj.fixed = \"left\";\n this.setState({\n columns\n });\n }\n\n render() {\n const {columns} = this.state;\n return ;\n }\n}\n\n","desc":" 动态设置固、取消固定列"},{"example":,"title":" 表头分组","code":"/**\n *\n * @title 表头分组\n * @description columns[n] 可以内嵌 children,以渲染分组表头。\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst { ColumnGroup, Column } = Table;\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n width: 100\n }\n ]\n }\n ]\n }\n ]\n },\n {\n title: \"Company\",\n children: [\n {\n title: \"Company Address\",\n dataIndex: \"companyAddress\",\n key: \"companyAddress\"\n },\n {\n title: \"Company Name\",\n dataIndex: \"companyName\",\n key: \"companyName\"\n }\n ]\n },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 60,\n fixed: \"right\"\n }\n];\n\nconst data = [];\nfor (let i = 0; i < 20; i++) {\n data.push({\n key: i,\n name: \"John Brown\",\n age: i + 1,\n street: \"Lake Park\",\n building: \"C\",\n number: 2035,\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n}\n\nclass Demo3 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n","desc":" columns[n] 可以内嵌 children,以渲染分组表头。"},{"example":,"title":" 树形数据展示","code":"/**\n*\n* @title 树形数据展示\n* @description 通过在data中配置children数据,来自动生成树形数据\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns4 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n];\n\nconst data4 = [\n {\n key: 1,\n name: \"John Brown sr.\",\n age: 60,\n address: \"New York No. 1 Lake Park\",\n children: [\n {\n key: 11,\n name: \"John Brown\",\n age: 42,\n address: \"New York No. 2 Lake Park\"\n },\n {\n key: 12,\n name: \"John Brown jr.\",\n age: 30,\n address: \"New York No. 3 Lake Park\",\n children: [\n {\n key: 121,\n name: \"Jimmy Brown\",\n age: 16,\n address: \"New York No. 3 Lake Park\"\n }\n ]\n },\n {\n key: 13,\n name: \"Jim Green sr.\",\n age: 72,\n address: \"London No. 1 Lake Park\",\n children: [\n {\n key: 131,\n name: \"Jim Green\",\n age: 42,\n address: \"London No. 2 Lake Park\",\n children: [\n {\n key: 1311,\n name: \"Jim Green jr.\",\n age: 25,\n address: \"London No. 3 Lake Park\"\n },\n {\n key: 1312,\n name: \"Jimmy Green sr.\",\n age: 18,\n address: \"London No. 4 Lake Park\"\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key: 2,\n name: \"Joe Black\",\n age: 32,\n address: \"Sidney No. 1 Lake Park\"\n }\n];\nclass Demo4 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data4,\n factoryValue: 0,\n selectedRow: new Array(data4.length)//状态同步\n }\n }\n\n render() {\n return {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n \n columns={columns4} data={data4} />;\n }\n}\n\n\n","desc":" 通过在data中配置children数据,来自动生成树形数据"},{"example":,"title":" 固定列","code":"/**\n*\n* @title 固定列\n* @description 固定列到表格的某侧\n*\n*/\n\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\n\nconst columns5 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 5\", dataIndex: \"address\", key: \"5\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\nconst data5 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo5 extends Component {\n render() {\n return ;\n }\n}\n\n","desc":" 固定列到表格的某侧"},{"example":,"title":" 固定表头","code":"/**\n*\n* @title 固定表头\n* @description 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns6 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\"},\n { title: \"Address\", dataIndex: \"address\", key: \"1\" }\n];\n\nconst data6 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },{\n key: \"11\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"12\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"13\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"14\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo6 extends Component {\n render() {\n return ;\n }\n}\n\n","desc":" 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)"},{"example":,"title":" 主子表","code":"/**\n *\n * @title 主子表\n * @description 主表点击子表联动\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst columns7 = [\n { title: \"班级\", dataIndex: \"a\", key: \"a\" },\n { title: \"人数\", dataIndex: \"b\", key: \"b\" },\n { title: \"班主任\", dataIndex: \"c\", key: \"c\" },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data7 = [\n { a: \"02级一班\", b: \"2\", c: \"欧阳锋\", d: \"大侠\", key: \"1\" },\n { a: \"03级二班\", b: \"3\", c: \"归海一刀\", d: \"大侠\", key: \"2\" },\n { a: \"05级三班\", b: \"1\", c: \"一拳超人\", d: \"愣头青\", key: \"3\" }\n];\n\nconst columns7_1 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\" },\n { title: \"班级\", dataIndex: \"b\", key: \"b\" },\n { title: \"系别\", dataIndex: \"c\", key: \"c\" }\n];\n\nclass Demo7 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n children_data: []\n };\n }\n\n rowclick = (record, index) => {\n if (record.a === \"02级一班\") {\n this.setState({\n children_data: [\n { a: \"郭靖\", b: \"02级一班\", c: \"文学系\", key: \"1\" },\n { a: \"黄蓉\", b: \"02级一班\", c: \"文学系\", key: \"2\" }\n ]\n });\n } else if (record.a === \"03级二班\") {\n this.setState({\n children_data: [\n { a: \"杨过\", b: \"03级二班\", c: \"外语系\", key: \"1\" },\n { a: \"小龙女\", b: \"03级二班\", c: \"外语系\", key: \"2\" },\n { a: \"傻姑\", b: \"03级二班\", c: \"外语系\", key: \"3\" }\n ]\n });\n } else if (record.a === \"05级三班\") {\n this.setState({\n children_data: [{ a: \"金圣叹\", b: \"05级三班\", c: \"美术系\", key: \"1\" }]\n });\n }\n };\n\n render() {\n return (\n \n
标题: 我是主表
}\n />\n 标题: 我是子表
}\n />\n \n );\n }\n}\n\n\n","desc":" 主表点击子表联动"},{"example":,"title":" 表格+分页","code":"/**\n *\n * @title 表格+分页\n * @description 点击分页联动表格\n *\n *import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, Pagination } from 'tinper-bee';\n\nconst columns8 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst pageData = {\n 1: [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n ],\n 2: [\n { a: \"芙蓉姐姐\", b: \"女\", c: 23, d: \"大侠\", key: \"1\" },\n { a: \"芙蓉妹妹\", b: \"女\", c: 23, d: \"内行\", key: \"2\" }\n ]\n};\n\nclass Demo8 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: pageData[1],\n activePage: 1\n };\n }\n\n handleSelect(eventKey) {\n this.setState({\n data: pageData[eventKey],\n activePage: eventKey\n });\n }\n\n render() {\n return (\n \n );\n }\n}\n\n","desc":" 点击分页联动表格"},{"example":,"title":" 表格+搜索","code":"/**\n *\n * @title 表格+搜索\n * @description 搜索刷新表格数据\n *\n *\n * import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, FormControl, InputGroup, Icon } from 'tinper-bee';\n\nclass Search extends Component {\n state = {\n searchValue: \"\",\n empty: false\n };\n\n /**\n * 搜索\n */\n handleSearch = () => {\n let { onSearch } = this.props;\n this.setState({\n empty: true\n });\n onSearch && onSearch(this.state.searchValue);\n };\n\n /**\n * 捕获回车\n * @param e\n */\n handleKeyDown = e => {\n if (e.keyCode === 13) {\n this.handleSearch();\n }\n };\n\n /**\n * 输入框改变\n * @param e\n */\n handleChange = e => {\n this.setState({\n searchValue: e.target.value\n });\n };\n\n /**\n * 清空输入框\n */\n emptySearch = () => {\n let { onEmpty } = this.props;\n this.setState({\n searchValue: \"\",\n empty: false\n });\n onEmpty && onEmpty();\n };\n\n render() {\n return (\n \n \n {this.state.empty ? (\n \n ) : null}\n\n \n \n \n \n );\n }\n}\n\nconst columns9 = [\n {\n title: \"姓名\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst userData = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n\nclass Demo9 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: userData\n };\n }\n\n handleSearch = value => {\n if (value === \"\") {\n return this.setState({\n data: userData\n });\n }\n let regExp = new RegExp(value, \"ig\");\n let data = userData.filter(item => regExp.test(item.a));\n this.setState({\n data\n });\n };\n\n handleEmpty = () => {\n this.setState({\n data: userData\n });\n };\n\n render() {\n return (\n \n );\n }\n}\n\n\n","desc":" 搜索刷新表格数据"}]
+var Demo1 = require("./demolist/Demo1");var Demo10 = require("./demolist/Demo10");var Demo11 = require("./demolist/Demo11");var Demo12 = require("./demolist/Demo12");var Demo13 = require("./demolist/Demo13");var Demo14 = require("./demolist/Demo14");var Demo15 = require("./demolist/Demo15");var Demo16 = require("./demolist/Demo16");var Demo17 = require("./demolist/Demo17");var Demo18 = require("./demolist/Demo18");var Demo19 = require("./demolist/Demo19");var Demo2 = require("./demolist/Demo2");var Demo21 = require("./demolist/Demo21");var Demo22 = require("./demolist/Demo22");var Demo23 = require("./demolist/Demo23");var Demo24 = require("./demolist/Demo24");var Demo3 = require("./demolist/Demo3");var Demo4 = require("./demolist/Demo4");var Demo5 = require("./demolist/Demo5");var Demo6 = require("./demolist/Demo6");var Demo7 = require("./demolist/Demo7");var Demo8 = require("./demolist/Demo8");var Demo9 = require("./demolist/Demo9");var DemoArray = [{"example":,"title":" 简单表格、两种tip、选中行背景色、文字过长","code":"/**\n*\n* @title 简单表格、两种tip、选中行背景色、文字过长\n* 【一种是bee-popover实现、一种是标签本身的tooltip】\n* @description\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button, Popover } from 'tinper-bee';\n\nfunction getTitleTip(text){\n return(\n
{text}
\n )\n}\n\n\nconst columns = [\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width:80 , className:\"rowClassName\",\n render(text, record, index) {\n return();\n }},\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n \n );\n }\n }\n];\n\nconst data = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过叔叔的女儿黄蓉\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo1 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data,\n factoryValue: 0,\n selectedRow: new Array(data.length)//状态同步\n }\n }\n\n render() {\n return (\n {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n title={currentData => 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n /> \n );\n }\n}\n\n\n","desc":""},{"example":,"title":" 无数据时显示","code":"/**\n*\n* @title 无数据时显示\n* @description 无数据时显示效果展示(可自定义)\n *\n* import {Table} from 'tinper-bee';\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns10 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n ];\n \n const data10 = [\n \n ];\n\n const emptyFunc = () => 这里没有数据!\n \n class Demo10 extends Component {\n render() {\n return ;\n }\n }\n\n","desc":" 无数据时显示效果展示(可自定义)"},{"example":,"title":" 列排序","code":"/**\n*\n* @title 列排序\n* @description 点击列的上下按钮即可排序\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee';\n\nconst columns11 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data11 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps11 = {\n prefixCls: \"bee-table\"\n};\nclass Demo11 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n sortOrder: \"\",\n data: data11\n };\n }\n toggleSortOrder=(order, column)=> {\n let { sortOrder, data, oldData } = this.state;\n let ascend_sort = function(key) {\n return function(a, b) {\n return a.key - b.key;\n };\n };\n let descend_sort = function(key) {\n return function(a, b) {\n return b.key - a.key;\n };\n };\n if (sortOrder === order) {\n // 切换为未排序状态\n order = \"\";\n }\n if (!oldData) {\n oldData = data.concat();\n }\n if (order === \"ascend\") {\n data = data.sort(function(a, b) {\n return column.sorter(a, b);\n });\n } else if (order === \"descend\") {\n data = data.sort(function(a, b) {\n return column.sorter(b, a);\n });\n } else {\n data = oldData.concat();\n }\n this.setState({\n sortOrder: order,\n data: data,\n oldData: oldData\n });\n }\n renderColumnsDropdown(columns) {\n const { sortOrder } = this.state;\n const { prefixCls } = this.props;\n\n return columns.map(originColumn => {\n let column = Object.assign({}, originColumn);\n let sortButton;\n if (column.sorter) {\n const isAscend = sortOrder === \"ascend\";\n const isDescend = sortOrder === \"descend\";\n sortButton = (\n \n this.toggleSortOrder(\"ascend\", column)}\n >\n \n \n this.toggleSortOrder(\"descend\", column)}\n >\n \n \n
\n );\n }\n column.title = (\n \n {column.title}\n {sortButton}\n \n );\n return column;\n });\n }\n render() {\n let columns = this.renderColumnsDropdown(columns11);\n return ;\n }\n}\nDemo11.defaultProps = defaultProps11;\n\n\n","desc":" 点击列的上下按钮即可排序"},{"example":,"title":" 全选功能","code":"/**\n*\n* @title 全选功能\n* @description 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Checkbox } from 'tinper-bee';\n\nconst columns12 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data12 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps12 = {\n prefixCls: \"bee-table\",\n multiSelect: {\n type: \"checkbox\",\n param: \"key\"\n }\n};\nclass Demo12 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n checkedAll:false,\n checkedArray: [\n false,\n false,\n false,\n ],\n data: data12\n };\n }\n onAllCheckChange = () => {\n let self = this;\n let checkedArray = [];\n let listData = self.state.data.concat();\n let selIds = [];\n // let id = self.props.multiSelect.param;\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n checkedArray[i] = !self.state.checkedAll;\n }\n // if (self.state.checkedAll) {\n // selIds = [];\n // } else {\n // for (var i = 0; i < listData.length; i++) {\n // selIds[i] = listData[i][id];\n // }\n // }\n self.setState({\n checkedAll: !self.state.checkedAll,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n onCheckboxChange = (text, record, index) => {\n let self = this;\n let allFlag = false;\n // let selIds = self.state.selIds;\n // let id = self.props.postId;\n let checkedArray = self.state.checkedArray.concat();\n // if (self.state.checkedArray[index]) {\n // selIds.remove(record[id]);\n // } else {\n // selIds.push(record[id]);\n // }\n checkedArray[index] = !self.state.checkedArray[index];\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n if (!checkedArray[i]) {\n allFlag = false;\n break;\n } else {\n allFlag = true;\n }\n }\n self.setState({\n checkedAll: allFlag,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n renderColumnsMultiSelect(columns) {\n const { data,checkedArray } = this.state;\n const { multiSelect } = this.props;\n let select_column = {};\n let indeterminate_bool = false;\n // let indeterminate_bool1 = true;\n if (multiSelect && multiSelect.type === \"checkbox\") {\n let i = checkedArray.length;\n while(i--){\n if(checkedArray[i]){\n indeterminate_bool = true;\n break;\n }\n }\n let defaultColumns = [\n {\n title: (\n \n ),\n key: \"checkbox\",\n dataIndex: \"checkbox\",\n width: \"5%\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n columns = defaultColumns.concat(columns);\n }\n return columns;\n }\n render() {\n let columns = this.renderColumnsMultiSelect(columns12);\n return ;\n }\n}\nDemo12.defaultProps = defaultProps12;\n\n","desc":" 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)"},{"example":,"title":" 列排序、全选功能、合计","code":"/**\n *\n * @title 列排序、全选功能、合计\n * @description 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Icon, Button, Checkbox } from 'tinper-bee';\nimport multiSelect from \"tinper-bee/lib/multiSelect.js\";;\nimport sort from \"tinper-bee/lib/sort.js\";;\nimport sum from \"tinper-bee/lib/sum.js\";;\n\nconst columns13 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 200\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200\n }\n];\n\nconst data13 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\nconst data13_1 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"22\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"222\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n//拼接成复杂功能的table组件不能在render中定义,需要像此例子声明在组件的外侧,不然操作state会导致功能出现异常\nlet ComplexTable = multiSelect(sum(sort(Table, Icon)), Checkbox);\n\nclass Demo13 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data13: data13,\n selectedRow: this.selectedRow,\n selectDisabled: this.selectDisabled\n };\n }\n getSelectedDataFunc = data => {\n // console.log(data);\n };\n selectDisabled = (record, index) => {\n // console.log(record);\n if (index === 1) {\n return true;\n }\n return false;\n };\n selectedRow = (record, index) => {\n // console.log(record);\n if (index === 0) {\n return true;\n }\n return false;\n };\n onClick = () => {\n this.setState({\n selectedRow: function() {}\n });\n };\n onClick1 = () => {\n this.setState({\n selectDisabled: (record, index) => {\n // console.log(record);\n if (index === 2) {\n return true;\n }\n return false;\n }\n });\n };\n render() {\n let multiObj = {\n type: \"checkbox\"\n };\n return (\n \n \n \n \n
\n );\n }\n}\n\n","desc":" 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)"},{"example":,"title":" 编辑态表格","code":"/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React from \"react\";\nimport { Table, Select, Datepicker, Checkbox, Input, Icon, Form, Button, Tooltip, Animate } from 'tinper-bee';\nimport renderInput from \"tinper-bee/lib/InputRender.js\";;\nimport renderDate from \"tinper-bee/lib/DateRender.js\";;\nimport renderSelect from \"tinper-bee/lib/SelectRender.js\";;\n\nconst InputRender = renderInput(Form, Input, Icon);\nconst DateRender = renderDate(Datepicker, Icon);\nconst SelectRender = renderSelect(Select, Icon);\n\nconst format = \"YYYY-MM-DD\";\nconst format2 = \"YYYY-MM\";\nconst format3 = \"YYYY-MM-DD HH:mm:ss\";\n\nconst dateInputPlaceholder = \"选择日期\";\nconst dateInputPlaceholder2 = \"选择年月\";\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo14 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [\n {\n title: \"普通输入\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n reg={/^[0-9]+$/}\n />\n )\n },\n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n {\n title: \"复选\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"100px\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"下拉框\",\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n },\n {\n title: \"年月日\",\n dataIndex: \"datepicker\",\n key: \"datepicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n },\n {\n title: \"年月\",\n dataIndex: \"MonthPicker\",\n key: \"MonthPicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onCheckChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDateChange = d => {\n console.log(d);\n };\n onDateSelect = d => {\n console.log(d);\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n","desc":" 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)"},{"example":,"title":" 表格行/列合并","code":"/**\n*\n* @title 表格行/列合并\n* @description 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst renderContent = (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n};\n\nconst columns = [{\n title: 'Name',\n key: \"name\",\n dataIndex: 'name',\n render: (text, row, index) => {\n if (index < 4) {\n return {text};\n }\n return {\n children: {text},\n props: {\n colSpan: 5,\n },\n };\n },\n}, {\n title: 'Age',\n key: \"Age\",\n dataIndex: 'age',\n render: renderContent,\n}, {\n title: 'Home phone',\n colSpan: 2,\n key: \"tel\",\n dataIndex: 'tel',\n render: (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 2) {\n obj.props.rowSpan = 2;\n }\n if (index === 3) {\n obj.props.rowSpan = 0;\n }\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n },\n}, {\n title: 'Phone',\n colSpan: 0,\n key: \"phone\",\n dataIndex: 'phone',\n render: renderContent,\n}, {\n title: 'Address',\n key: \"address\",\n dataIndex: 'address',\n render: renderContent,\n}];\n\nconst data = [{\n key: '1',\n name: 'John Brown',\n age: 32,\n tel: '0571-22098909',\n phone: 18889898989,\n address: 'New York No. 1 Lake Park',\n}, {\n key: '2',\n name: 'Jim Green',\n tel: '0571-22098333',\n phone: 18889898888,\n age: 42,\n address: 'London No. 1 Lake Park',\n}, {\n key: '3',\n name: 'Joe Black',\n age: 32,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Sidney No. 1 Lake Park',\n}, {\n key: '4',\n name: 'Jim Red',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'London No. 2 Lake Park',\n}, {\n key: '5',\n name: 'Jake White',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Dublin No. 2 Lake Park',\n}];\n\nclass Demo15 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n\n","desc":" 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。"},{"example":,"title":" 嵌套子表格","code":"/**\n*\n* @title 嵌套子表格\n* @description 通过expandedRowRender参数来实现子表格\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst columns16 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert(\"这是第\" + index + \"列,内容为:\" + text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data16 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\n\nclass Demo16 extends Component {\n constructor(props){\n super(props);\n this.state={\n data_obj:{}\n }\n }\n expandedRowRender = (record, index, indent) => {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n };\n getData=(expanded, record)=>{\n //当点击展开的时候才去请求数据\n let new_obj = Object.assign({},this.state.data_obj);\n if(expanded){\n if(record.key==='1'){\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }else{\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }\n }\n }\n haveExpandIcon=(record, index)=>{\n //控制是否显示行展开icon,该参数只有在和expandedRowRender同时使用才生效\n if(index == 0){\n return true;\n }\n return false;\n }\n render() {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n }\n}\n\n\n","desc":" 通过expandedRowRender参数来实现子表格"},{"example":,"title":" loading属性指定表格是否加载中","code":"/**\n*\n* @title loading属性指定表格是否加载中\n* @description loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst columns17 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert('这是第'+index+'列,内容为:'+text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data17 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo17 extends Component {\n constructor(props){\n super(props);\n this.state = {\n loading : true\n }\n }\n changeLoading = () => {\n this.setState({\n loading : !this.state.loading\n })\n }\n render() {\n return (\n \n
\n
标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n // loading={this.state.loading}或者是boolean\n loading={{show:this.state.loading,loadingType:\"line\"}}\n />\n \n );\n }\n}\n\n\n","desc":" loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型"},{"example":,"title":" 合并标题后的合计,且支持多字段统计","code":"/**\n *\n * @title 合并标题后的合计,且支持多字段统计\n * @description 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee'; \nimport sum from \"tinper-bee/lib/sum.js\";;\n \nlet ComplexTable = sum(Table);\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200,\n sumCol: true,\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n // width: 100,\n sumCol: true,\n }\n ]\n }\n ]\n }\n ]\n },\n // {\n // title: \"Company\",\n // children: [\n // {\n // title: \"Company Address\",\n // dataIndex: \"companyAddress\",\n // key: \"companyAddress\",\n // width: 100,\n // },\n // {\n // title: \"Company Name\",\n // dataIndex: \"companyName\",\n // key: \"companyName\",\n // width: 100,\n // }\n // ]\n // },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 80,\n fixed: \"right\"\n }\n];\n\nfunction getData(){\n const data = [];\n for (let i = 0; i < 5; i++) {\n data.push({\n key: i,\n name: \"John Brown\"+i,\n age: i + Math.floor(Math.random()*10),\n street: \"Lake Park\",\n building: \"C\",\n number: 20 * Math.floor(Math.random()*10),\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n }\n return data;\n}\n\nclass Demo18 extends Component {\n \n constructor(props) {\n super(props);\n this.state = {\n data: getData()\n };\n }\n\n changeData = ()=>{\n this.setState({\n data: getData()\n });\n }\n\n render() {\n const {data} = this.state;\n return (\n \n \n\n \n
\n );\n }\n}\n\n","desc":" 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)"},{"example":,"title":" 编辑态表格","code":"/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React from \"react\";\nimport { Table, Select, Form, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\nimport renderInput from \"tinper-bee/lib/InputRender.js\";;\nimport renderSelect from \"tinper-bee/lib/SelectRender.js\";;\n\nconst InputRender = renderInput(Form, Input, Icon);\nconst SelectRender = renderSelect(Select, Icon);\n\nconst Option = Select.Option;\n\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo19 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [ \n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n \n {\n title:(下拉框的div
),\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n handFocus = (value,e) => {\n console.log(value+` 获取焦点事件`);\n };\n onBlur = (value,e) => {\n console.log(value+` onBlur`);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n","desc":" 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)"},{"example":,"title":" 增删改表格","code":"/**\n*\n* @title 增删改表格\n* @description 这是带有增删改功能的表格(此编辑功能未使用render组件)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Popconfirm, Input, Icon, Animate, Button } from 'tinper-bee';\n\nclass EditableCell extends React.Component {\n state = {\n value: this.props.value,\n editable: false\n };\n handleChange = e => {\n const value = e.target.value;\n this.setState({ value });\n };\n check = () => {\n this.setState({ editable: false });\n if (this.props.onChange) {\n this.props.onChange(this.state.value);\n }\n };\n edit = () => {\n this.setState({ editable: true });\n };\n handleKeydown = event => {\n if (event.keyCode == 13) {\n this.check();\n }\n };\n render() {\n const { value, editable } = this.state;\n return (\n \n {editable ? (\n
\n \n \n
\n ) : (\n
\n {value || \" \"}\n \n
\n )}\n
\n );\n }\n}\n\nclass Demo2 extends React.Component {\n constructor(props) {\n super(props);\n this.columns = [\n {\n title: \"姓名\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"30%\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"年龄\",\n dataIndex: \"age\",\n key: \"age\"\n },\n {\n title: \"你懂的\",\n dataIndex: \"address\",\n key: \"address\"\n },\n {\n title: \"操作\",\n dataIndex: \"operation\",\n key: \"operation\",\n render: (text, record, index) => {\n return this.state.dataSource.length > 1 ? (\n \n \n \n ) : null;\n }\n }\n ];\n\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n age: \"18\",\n address: \"96, 77, 89\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n age: \"16\",\n address: \"90, 70, 80\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n age: \"17\",\n address: \"80, 60, 80\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n age: \"20\",\n address: \"120, 60, 90\"\n }\n ],\n count: 4\n };\n }\n onCellChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: `100 100 100`\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n );\n }\n}\n\n\n","desc":" 这是带有增删改功能的表格(此编辑功能未使用render组件)"},{"example":,"title":" 根据列进行过滤","code":"/**\n*\n* @title 根据列进行过滤\n* @description 点击表格右侧按钮,进行表格列的数据过滤。\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Popover, Checkbox, Icon } from 'tinper-bee';\nimport filterColumn from \"tinper-bee/lib/filterColumn\";;\nimport sum from \"tinper-bee/lib/sum\";;\n\nconst columns21 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n // width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n // width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n // width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data21 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst FilterColumnTable = filterColumn(sum(Table), Checkbox, Popover, Icon);\n\nconst defaultProps21 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo21 extends Component {\n constructor(props) {\n super(props);\n }\n \n render() {\n \n return ;\n }\n}\nDemo21.defaultProps = defaultProps21;\n\n\n","desc":" 点击表格右侧按钮,进行表格列的数据过滤。"},{"example":,"title":" 列的拖拽,交换表头的顺序","code":"/**\n*\n* @title 列的拖拽,交换表头的顺序\n* @description 点击列的表头,进行左右拖拽\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns22 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data22 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps22 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo22 extends Component {\n constructor(props) {\n super(props); \n }\n \n render() {\n return ;\n }\n}\nDemo22.defaultProps = defaultProps22;\n\n\n","desc":" 点击列的表头,进行左右拖拽"},{"example":,"title":" 拖拽调整列的宽度","code":"/**\n*\n* @title 拖拽调整列的宽度\n* @description 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns23 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data23 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps23 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo23 extends Component {\n constructor(props) {\n super(props); \n }\n\n render() {\n return ;\n }\n}\nDemo23.defaultProps = defaultProps23;\n\n\n","desc":" 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】"},{"example":,"title":" 动态设置固、取消固定列","code":"/**\n*\n* @title 动态设置固、取消固定列\n* @description 动态设置固、取消固定列\n*\n*/\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\nconst columns24 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\",\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" , fixed: \"left\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 24\", dataIndex: \"address\", key: \"24\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\n\nconst data24 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo24 extends Component {\n\n constructor(props) {\n super(props);\n let columns = [];\n Object.assign(columns,columns24);\n columns.forEach(da=>da.onHeadCellClick=this.onHeadCellClick);\n this.state = {\n columns\n }\n }\n\n onHeadCellClick=(data,event)=>{\n const {columns:_columns} = this.state;\n let columns = [];\n Object.assign(columns,_columns);\n let currObj = columns.find(da=>da.key == data.key);\n currObj.fixed?delete currObj.fixed:currObj.fixed = \"left\";\n this.setState({\n columns\n });\n }\n\n render() {\n const {columns} = this.state;\n return ;\n }\n}\n\n","desc":" 动态设置固、取消固定列"},{"example":,"title":" 表头分组","code":"/**\n *\n * @title 表头分组\n * @description columns[n] 可以内嵌 children,以渲染分组表头。\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst { ColumnGroup, Column } = Table;\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n width: 100\n }\n ]\n }\n ]\n }\n ]\n },\n {\n title: \"Company\",\n children: [\n {\n title: \"Company Address\",\n dataIndex: \"companyAddress\",\n key: \"companyAddress\"\n },\n {\n title: \"Company Name\",\n dataIndex: \"companyName\",\n key: \"companyName\"\n }\n ]\n },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 60,\n fixed: \"right\"\n }\n];\n\nconst data = [];\nfor (let i = 0; i < 20; i++) {\n data.push({\n key: i,\n name: \"John Brown\",\n age: i + 1,\n street: \"Lake Park\",\n building: \"C\",\n number: 2035,\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n}\n\nclass Demo3 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n","desc":" columns[n] 可以内嵌 children,以渲染分组表头。"},{"example":,"title":" 树形数据展示","code":"/**\n*\n* @title 树形数据展示\n* @description 通过在data中配置children数据,来自动生成树形数据\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns4 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n];\n\nconst data4 = [\n {\n key: 1,\n name: \"John Brown sr.\",\n age: 60,\n address: \"New York No. 1 Lake Park\",\n children: [\n {\n key: 11,\n name: \"John Brown\",\n age: 42,\n address: \"New York No. 2 Lake Park\"\n },\n {\n key: 12,\n name: \"John Brown jr.\",\n age: 30,\n address: \"New York No. 3 Lake Park\",\n children: [\n {\n key: 121,\n name: \"Jimmy Brown\",\n age: 16,\n address: \"New York No. 3 Lake Park\"\n }\n ]\n },\n {\n key: 13,\n name: \"Jim Green sr.\",\n age: 72,\n address: \"London No. 1 Lake Park\",\n children: [\n {\n key: 131,\n name: \"Jim Green\",\n age: 42,\n address: \"London No. 2 Lake Park\",\n children: [\n {\n key: 1311,\n name: \"Jim Green jr.\",\n age: 25,\n address: \"London No. 3 Lake Park\"\n },\n {\n key: 1312,\n name: \"Jimmy Green sr.\",\n age: 18,\n address: \"London No. 4 Lake Park\"\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key: 2,\n name: \"Joe Black\",\n age: 32,\n address: \"Sidney No. 1 Lake Park\"\n }\n];\nclass Demo4 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data4,\n factoryValue: 0,\n selectedRow: new Array(data4.length)//状态同步\n }\n }\n\n render() {\n return {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n \n columns={columns4} data={data4} />;\n }\n}\n\n\n","desc":" 通过在data中配置children数据,来自动生成树形数据"},{"example":,"title":" 固定列","code":"/**\n*\n* @title 固定列\n* @description 固定列到表格的某侧\n*\n*/\n\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\n\nconst columns5 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 5\", dataIndex: \"address\", key: \"5\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\nconst data5 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo5 extends Component {\n render() {\n return ;\n }\n}\n\n","desc":" 固定列到表格的某侧"},{"example":,"title":" 固定表头","code":"/**\n*\n* @title 固定表头\n* @description 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns6 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\"},\n { title: \"Address\", dataIndex: \"address\", key: \"1\" }\n];\n\nconst data6 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },{\n key: \"11\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"12\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"13\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"14\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo6 extends Component {\n render() {\n return ;\n }\n}\n\n","desc":" 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)"},{"example":,"title":" 主子表","code":"/**\n *\n * @title 主子表\n * @description 主表点击子表联动\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst columns7 = [\n { title: \"班级\", dataIndex: \"a\", key: \"a\" },\n { title: \"人数\", dataIndex: \"b\", key: \"b\" },\n { title: \"班主任\", dataIndex: \"c\", key: \"c\" },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data7 = [\n { a: \"02级一班\", b: \"2\", c: \"欧阳锋\", d: \"大侠\", key: \"1\" },\n { a: \"03级二班\", b: \"3\", c: \"归海一刀\", d: \"大侠\", key: \"2\" },\n { a: \"05级三班\", b: \"1\", c: \"一拳超人\", d: \"愣头青\", key: \"3\" }\n];\n\nconst columns7_1 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\" },\n { title: \"班级\", dataIndex: \"b\", key: \"b\" },\n { title: \"系别\", dataIndex: \"c\", key: \"c\" }\n];\n\nclass Demo7 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n children_data: []\n };\n }\n\n rowclick = (record, index) => {\n if (record.a === \"02级一班\") {\n this.setState({\n children_data: [\n { a: \"郭靖\", b: \"02级一班\", c: \"文学系\", key: \"1\" },\n { a: \"黄蓉\", b: \"02级一班\", c: \"文学系\", key: \"2\" }\n ]\n });\n } else if (record.a === \"03级二班\") {\n this.setState({\n children_data: [\n { a: \"杨过\", b: \"03级二班\", c: \"外语系\", key: \"1\" },\n { a: \"小龙女\", b: \"03级二班\", c: \"外语系\", key: \"2\" },\n { a: \"傻姑\", b: \"03级二班\", c: \"外语系\", key: \"3\" }\n ]\n });\n } else if (record.a === \"05级三班\") {\n this.setState({\n children_data: [{ a: \"金圣叹\", b: \"05级三班\", c: \"美术系\", key: \"1\" }]\n });\n }\n };\n\n render() {\n return (\n \n
标题: 我是主表
}\n />\n 标题: 我是子表
}\n />\n \n );\n }\n}\n\n\n","desc":" 主表点击子表联动"},{"example":,"title":" 表格+分页","code":"/**\n *\n * @title 表格+分页\n * @description 点击分页联动表格\n *\n *import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, Pagination } from 'tinper-bee';\n\nconst columns8 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst pageData = {\n 1: [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n ],\n 2: [\n { a: \"芙蓉姐姐\", b: \"女\", c: 23, d: \"大侠\", key: \"1\" },\n { a: \"芙蓉妹妹\", b: \"女\", c: 23, d: \"内行\", key: \"2\" }\n ]\n};\n\nclass Demo8 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: pageData[1],\n activePage: 1\n };\n }\n\n handleSelect(eventKey) {\n this.setState({\n data: pageData[eventKey],\n activePage: eventKey\n });\n }\n\n render() {\n return (\n \n );\n }\n}\n\n","desc":" 点击分页联动表格"},{"example":,"title":" 表格+搜索","code":"/**\n *\n * @title 表格+搜索\n * @description 搜索刷新表格数据\n *\n *\n * import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, FormControl, InputGroup, Icon } from 'tinper-bee';\n\nclass Search extends Component {\n state = {\n searchValue: \"\",\n empty: false\n };\n\n /**\n * 搜索\n */\n handleSearch = () => {\n let { onSearch } = this.props;\n this.setState({\n empty: true\n });\n onSearch && onSearch(this.state.searchValue);\n };\n\n /**\n * 捕获回车\n * @param e\n */\n handleKeyDown = e => {\n if (e.keyCode === 13) {\n this.handleSearch();\n }\n };\n\n /**\n * 输入框改变\n * @param e\n */\n handleChange = e => {\n this.setState({\n searchValue: e.target.value\n });\n };\n\n /**\n * 清空输入框\n */\n emptySearch = () => {\n let { onEmpty } = this.props;\n this.setState({\n searchValue: \"\",\n empty: false\n });\n onEmpty && onEmpty();\n };\n\n render() {\n return (\n \n \n {this.state.empty ? (\n \n ) : null}\n\n \n \n \n \n );\n }\n}\n\nconst columns9 = [\n {\n title: \"姓名\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst userData = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n\nclass Demo9 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: userData\n };\n }\n\n handleSearch = value => {\n if (value === \"\") {\n return this.setState({\n data: userData\n });\n }\n let regExp = new RegExp(value, \"ig\");\n let data = userData.filter(item => regExp.test(item.a));\n this.setState({\n data\n });\n };\n\n handleEmpty = () => {\n this.setState({\n data: userData\n });\n };\n\n render() {\n return (\n \n );\n }\n}\n\n\n","desc":" 搜索刷新表格数据"}]
class Demo extends Component {
diff --git a/dist/demo.js b/dist/demo.js
index 0cd9687..f72cca4 100644
--- a/dist/demo.js
+++ b/dist/demo.js
@@ -76,7 +76,7 @@
var CARETUP = _react2['default'].createElement('i', { className: 'uf uf-arrow-up' });
- var Demo1 = __webpack_require__(64);var Demo10 = __webpack_require__(116);var Demo11 = __webpack_require__(117);var Demo12 = __webpack_require__(120);var Demo13 = __webpack_require__(123);var Demo14 = __webpack_require__(127);var Demo15 = __webpack_require__(453);var Demo16 = __webpack_require__(454);var Demo17 = __webpack_require__(455);var Demo18 = __webpack_require__(456);var Demo19 = __webpack_require__(457);var Demo2 = __webpack_require__(458);var Demo21 = __webpack_require__(464);var Demo22 = __webpack_require__(466);var Demo23 = __webpack_require__(469);var Demo24 = __webpack_require__(470);var Demo3 = __webpack_require__(471);var Demo4 = __webpack_require__(472);var Demo5 = __webpack_require__(473);var Demo6 = __webpack_require__(474);var Demo7 = __webpack_require__(475);var Demo8 = __webpack_require__(476);var Demo9 = __webpack_require__(480);var DemoArray = [{ "example": _react2['default'].createElement(Demo1, null), "title": " 简单表格、两种tip、选中行背景色、文字过长", "code": "/**\n*\n* @title 简单表格、两种tip、选中行背景色、文字过长\n* 【一种是bee-popover实现、一种是标签本身的tooltip】\n* @description\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button, Popover } from 'tinper-bee';\n\nfunction getTitleTip(text){\n return(\n
{text}
\n )\n}\n\n\nconst columns = [\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width:80 , className:\"rowClassName\",\n render(text, record, index) {\n return();\n }},\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n \n );\n }\n }\n];\n\nconst data = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过叔叔的女儿黄蓉\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo1 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data,\n factoryValue: 0,\n selectedRow: new Array(data.length)//状态同步\n }\n }\n\n render() {\n return (\n {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n title={currentData => 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n /> \n );\n }\n}\n\n\n", "desc": "" }, { "example": _react2['default'].createElement(Demo10, null), "title": " 无数据时显示", "code": "/**\n*\n* @title 无数据时显示\n* @description 无数据时显示效果展示(可自定义)\n *\n* import {Table} from 'tinper-bee';\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns10 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n ];\n \n const data10 = [\n \n ];\n\n const emptyFunc = () => 这里没有数据!\n \n class Demo10 extends Component {\n render() {\n return ;\n }\n }\n\n", "desc": " 无数据时显示效果展示(可自定义)" }, { "example": _react2['default'].createElement(Demo11, null), "title": " 列排序", "code": "/**\n*\n* @title 列排序\n* @description 点击列的上下按钮即可排序\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee';\n\nconst columns11 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data11 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps11 = {\n prefixCls: \"bee-table\"\n};\nclass Demo11 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n sortOrder: \"\",\n data: data11\n };\n }\n toggleSortOrder=(order, column)=> {\n let { sortOrder, data, oldData } = this.state;\n let ascend_sort = function(key) {\n return function(a, b) {\n return a.key - b.key;\n };\n };\n let descend_sort = function(key) {\n return function(a, b) {\n return b.key - a.key;\n };\n };\n if (sortOrder === order) {\n // 切换为未排序状态\n order = \"\";\n }\n if (!oldData) {\n oldData = data.concat();\n }\n if (order === \"ascend\") {\n data = data.sort(function(a, b) {\n return column.sorter(a, b);\n });\n } else if (order === \"descend\") {\n data = data.sort(function(a, b) {\n return column.sorter(b, a);\n });\n } else {\n data = oldData.concat();\n }\n this.setState({\n sortOrder: order,\n data: data,\n oldData: oldData\n });\n }\n renderColumnsDropdown(columns) {\n const { sortOrder } = this.state;\n const { prefixCls } = this.props;\n\n return columns.map(originColumn => {\n let column = Object.assign({}, originColumn);\n let sortButton;\n if (column.sorter) {\n const isAscend = sortOrder === \"ascend\";\n const isDescend = sortOrder === \"descend\";\n sortButton = (\n \n this.toggleSortOrder(\"ascend\", column)}\n >\n \n \n this.toggleSortOrder(\"descend\", column)}\n >\n \n \n
\n );\n }\n column.title = (\n \n {column.title}\n {sortButton}\n \n );\n return column;\n });\n }\n render() {\n let columns = this.renderColumnsDropdown(columns11);\n return ;\n }\n}\nDemo11.defaultProps = defaultProps11;\n\n\n", "desc": " 点击列的上下按钮即可排序" }, { "example": _react2['default'].createElement(Demo12, null), "title": " 全选功能", "code": "/**\n*\n* @title 全选功能\n* @description 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Checkbox } from 'tinper-bee';\n\nconst columns12 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data12 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps12 = {\n prefixCls: \"bee-table\",\n multiSelect: {\n type: \"checkbox\",\n param: \"key\"\n }\n};\nclass Demo12 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n checkedAll:false,\n checkedArray: [\n false,\n false,\n false,\n ],\n data: data12\n };\n }\n onAllCheckChange = () => {\n let self = this;\n let checkedArray = [];\n let listData = self.state.data.concat();\n let selIds = [];\n // let id = self.props.multiSelect.param;\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n checkedArray[i] = !self.state.checkedAll;\n }\n // if (self.state.checkedAll) {\n // selIds = [];\n // } else {\n // for (var i = 0; i < listData.length; i++) {\n // selIds[i] = listData[i][id];\n // }\n // }\n self.setState({\n checkedAll: !self.state.checkedAll,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n onCheckboxChange = (text, record, index) => {\n let self = this;\n let allFlag = false;\n // let selIds = self.state.selIds;\n // let id = self.props.postId;\n let checkedArray = self.state.checkedArray.concat();\n // if (self.state.checkedArray[index]) {\n // selIds.remove(record[id]);\n // } else {\n // selIds.push(record[id]);\n // }\n checkedArray[index] = !self.state.checkedArray[index];\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n if (!checkedArray[i]) {\n allFlag = false;\n break;\n } else {\n allFlag = true;\n }\n }\n self.setState({\n checkedAll: allFlag,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n renderColumnsMultiSelect(columns) {\n const { data,checkedArray } = this.state;\n const { multiSelect } = this.props;\n let select_column = {};\n let indeterminate_bool = false;\n // let indeterminate_bool1 = true;\n if (multiSelect && multiSelect.type === \"checkbox\") {\n let i = checkedArray.length;\n while(i--){\n if(checkedArray[i]){\n indeterminate_bool = true;\n break;\n }\n }\n let defaultColumns = [\n {\n title: (\n \n ),\n key: \"checkbox\",\n dataIndex: \"checkbox\",\n width: \"5%\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n columns = defaultColumns.concat(columns);\n }\n return columns;\n }\n render() {\n let columns = this.renderColumnsMultiSelect(columns12);\n return ;\n }\n}\nDemo12.defaultProps = defaultProps12;\n\n", "desc": " 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)" }, { "example": _react2['default'].createElement(Demo13, null), "title": " 列排序、全选功能、合计", "code": "/**\n *\n * @title 列排序、全选功能、合计\n * @description 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button, Checkbox } from 'tinper-bee';\nimport multiSelect from \"tinper-bee/lib/multiSelect.js\";;\nimport sort from \"tinper-bee/lib/sort.js\";;\nimport sum from \"tinper-bee/lib/sum.js\";;\n\nconst columns13 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 200\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200\n }\n];\n\nconst data13 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\nconst data13_1 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"22\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"222\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n//拼接成复杂功能的table组件不能在render中定义,需要像此例子声明在组件的外侧,不然操作state会导致功能出现异常\nlet ComplexTable = multiSelect(sum(sort(Table)));\n\nclass Demo13 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data13: data13,\n selectedRow: this.selectedRow,\n selectDisabled: this.selectDisabled\n };\n }\n getSelectedDataFunc = data => {\n // console.log(data);\n };\n selectDisabled = (record, index) => {\n // console.log(record);\n if (index === 1) {\n return true;\n }\n return false;\n };\n selectedRow = (record, index) => {\n // console.log(record);\n if (index === 0) {\n return true;\n }\n return false;\n };\n onClick = () => {\n this.setState({\n selectedRow: function() {}\n });\n };\n onClick1 = () => {\n this.setState({\n selectDisabled: (record, index) => {\n // console.log(record);\n if (index === 2) {\n return true;\n }\n return false;\n }\n });\n };\n render() {\n let multiObj = {\n type: \"checkbox\"\n };\n return (\n \n \n \n \n
\n );\n }\n}\n\n", "desc": " 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)" }, { "example": _react2['default'].createElement(Demo14, null), "title": " 编辑态表格", "code": "/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Select, Checkbox, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\nimport InputRender from \"tinper-bee/lib/InputRender.js\";;\nimport DateRender from \"tinper-bee/lib/DateRender.js\";;\nimport SelectRender from \"tinper-bee/lib/SelectRender.js\";;\n\nconst format = \"YYYY-MM-DD\";\nconst format2 = \"YYYY-MM\";\nconst format3 = \"YYYY-MM-DD HH:mm:ss\";\n\nconst dateInputPlaceholder = \"选择日期\";\nconst dateInputPlaceholder2 = \"选择年月\";\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo14 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [\n {\n title: \"普通输入\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n reg={/^[0-9]+$/}\n />\n )\n },\n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n {\n title: \"复选\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"100px\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"下拉框\",\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n },\n {\n title: \"年月日\",\n dataIndex: \"datepicker\",\n key: \"datepicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n },\n {\n title: \"年月\",\n dataIndex: \"MonthPicker\",\n key: \"MonthPicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onCheckChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDateChange = d => {\n console.log(d);\n };\n onDateSelect = d => {\n console.log(d);\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n", "desc": " 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)" }, { "example": _react2['default'].createElement(Demo15, null), "title": " 表格行/列合并", "code": "/**\n*\n* @title 表格行/列合并\n* @description 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst renderContent = (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n};\n\nconst columns = [{\n title: 'Name',\n key: \"name\",\n dataIndex: 'name',\n render: (text, row, index) => {\n if (index < 4) {\n return {text};\n }\n return {\n children: {text},\n props: {\n colSpan: 5,\n },\n };\n },\n}, {\n title: 'Age',\n key: \"Age\",\n dataIndex: 'age',\n render: renderContent,\n}, {\n title: 'Home phone',\n colSpan: 2,\n key: \"tel\",\n dataIndex: 'tel',\n render: (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 2) {\n obj.props.rowSpan = 2;\n }\n if (index === 3) {\n obj.props.rowSpan = 0;\n }\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n },\n}, {\n title: 'Phone',\n colSpan: 0,\n key: \"phone\",\n dataIndex: 'phone',\n render: renderContent,\n}, {\n title: 'Address',\n key: \"address\",\n dataIndex: 'address',\n render: renderContent,\n}];\n\nconst data = [{\n key: '1',\n name: 'John Brown',\n age: 32,\n tel: '0571-22098909',\n phone: 18889898989,\n address: 'New York No. 1 Lake Park',\n}, {\n key: '2',\n name: 'Jim Green',\n tel: '0571-22098333',\n phone: 18889898888,\n age: 42,\n address: 'London No. 1 Lake Park',\n}, {\n key: '3',\n name: 'Joe Black',\n age: 32,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Sidney No. 1 Lake Park',\n}, {\n key: '4',\n name: 'Jim Red',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'London No. 2 Lake Park',\n}, {\n key: '5',\n name: 'Jake White',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Dublin No. 2 Lake Park',\n}];\n\nclass Demo15 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n\n", "desc": " 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。" }, { "example": _react2['default'].createElement(Demo16, null), "title": " 嵌套子表格", "code": "/**\n*\n* @title 嵌套子表格\n* @description 通过expandedRowRender参数来实现子表格\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\nimport multiSelect from \"tinper-bee/lib/multiSelect.js\";;\n\nconst columns16 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert(\"这是第\" + index + \"列,内容为:\" + text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data16 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\n// let Table1 = multiSelect(Table)\n\nclass Demo16 extends Component {\n constructor(props){\n super(props);\n this.state={\n data_obj:{}\n }\n }\n expandedRowRender = (record, index, indent) => {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n };\n getData=(expanded, record)=>{\n //当点击展开的时候才去请求数据\n let new_obj = Object.assign({},this.state.data_obj);\n if(expanded){\n if(record.key==='1'){\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }else{\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }\n }\n }\n haveExpandIcon=(record, index)=>{\n //控制是否显示行展开icon,该参数只有在和expandedRowRender同时使用才生效\n if(index == 0){\n return true;\n }\n return false;\n }\n render() {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n }\n}\n\n\n", "desc": " 通过expandedRowRender参数来实现子表格" }, { "example": _react2['default'].createElement(Demo17, null), "title": " loading属性指定表格是否加载中", "code": "/**\n*\n* @title loading属性指定表格是否加载中\n* @description loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst columns17 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert('这是第'+index+'列,内容为:'+text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data17 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo17 extends Component {\n constructor(props){\n super(props);\n this.state = {\n loading : true\n }\n }\n changeLoading = () => {\n this.setState({\n loading : !this.state.loading\n })\n }\n render() {\n return (\n \n
\n
标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n // loading={this.state.loading}或者是boolean\n loading={{show:this.state.loading,loadingType:\"line\"}}\n />\n \n );\n }\n}\n\n\n", "desc": " loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型" }, { "example": _react2['default'].createElement(Demo18, null), "title": " 合并标题后的合计,且支持多字段统计", "code": "/**\n *\n * @title 合并标题后的合计,且支持多字段统计\n * @description 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee'; \nimport sum from \"tinper-bee/lib/sum.js\";;\n \nlet ComplexTable = sum(Table);\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200,\n sumCol: true,\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n // width: 100,\n sumCol: true,\n }\n ]\n }\n ]\n }\n ]\n },\n // {\n // title: \"Company\",\n // children: [\n // {\n // title: \"Company Address\",\n // dataIndex: \"companyAddress\",\n // key: \"companyAddress\",\n // width: 100,\n // },\n // {\n // title: \"Company Name\",\n // dataIndex: \"companyName\",\n // key: \"companyName\",\n // width: 100,\n // }\n // ]\n // },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 80,\n fixed: \"right\"\n }\n];\n\nfunction getData(){\n const data = [];\n for (let i = 0; i < 5; i++) {\n data.push({\n key: i,\n name: \"John Brown\"+i,\n age: i + Math.floor(Math.random()*10),\n street: \"Lake Park\",\n building: \"C\",\n number: 20 * Math.floor(Math.random()*10),\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n }\n return data;\n}\n\nclass Demo18 extends Component {\n \n constructor(props) {\n super(props);\n this.state = {\n data: getData()\n };\n }\n\n changeData = ()=>{\n this.setState({\n data: getData()\n });\n }\n\n render() {\n const {data} = this.state;\n return (\n \n \n\n \n
\n );\n }\n}\n\n", "desc": " 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)" }, { "example": _react2['default'].createElement(Demo19, null), "title": " 编辑态表格", "code": "/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Select, Checkbox, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\nimport InputRender from \"tinper-bee/lib/InputRender.js\";;\nimport DateRender from \"tinper-bee/lib/DateRender.js\";;\nimport SelectRender from \"tinper-bee/lib/SelectRender.js\";;\n\nconst format = \"YYYY-MM-DD\";\nconst format2 = \"YYYY-MM\";\nconst format3 = \"YYYY-MM-DD HH:mm:ss\";\n\nconst dateInputPlaceholder = \"选择日期\";\nconst dateInputPlaceholder2 = \"选择年月\";\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo19 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [ \n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n \n {\n title:(下拉框的div
),\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n handFocus = (value,e) => {\n console.log(value+` 获取焦点事件`);\n };\n onBlur = (value,e) => {\n console.log(value+` onBlur`);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onCheckChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDateChange = d => {\n console.log(d);\n };\n onDateSelect = d => {\n console.log(d);\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n", "desc": " 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)" }, { "example": _react2['default'].createElement(Demo2, null), "title": " 增删改表格", "code": "/**\n*\n* @title 增删改表格\n* @description 这是带有增删改功能的表格(此编辑功能未使用render组件)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Popconfirm, Input, Icon, Animate, Button } from 'tinper-bee';\n\nclass EditableCell extends React.Component {\n state = {\n value: this.props.value,\n editable: false\n };\n handleChange = e => {\n const value = e.target.value;\n this.setState({ value });\n };\n check = () => {\n this.setState({ editable: false });\n if (this.props.onChange) {\n this.props.onChange(this.state.value);\n }\n };\n edit = () => {\n this.setState({ editable: true });\n };\n handleKeydown = event => {\n if (event.keyCode == 13) {\n this.check();\n }\n };\n render() {\n const { value, editable } = this.state;\n return (\n \n {editable ? (\n
\n \n \n
\n ) : (\n
\n {value || \" \"}\n \n
\n )}\n
\n );\n }\n}\n\nclass Demo2 extends React.Component {\n constructor(props) {\n super(props);\n this.columns = [\n {\n title: \"姓名\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"30%\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"年龄\",\n dataIndex: \"age\",\n key: \"age\"\n },\n {\n title: \"你懂的\",\n dataIndex: \"address\",\n key: \"address\"\n },\n {\n title: \"操作\",\n dataIndex: \"operation\",\n key: \"operation\",\n render: (text, record, index) => {\n return this.state.dataSource.length > 1 ? (\n \n \n \n ) : null;\n }\n }\n ];\n\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n age: \"18\",\n address: \"96, 77, 89\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n age: \"16\",\n address: \"90, 70, 80\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n age: \"17\",\n address: \"80, 60, 80\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n age: \"20\",\n address: \"120, 60, 90\"\n }\n ],\n count: 4\n };\n }\n onCellChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: `100 100 100`\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n );\n }\n}\n\n\n", "desc": " 这是带有增删改功能的表格(此编辑功能未使用render组件)" }, { "example": _react2['default'].createElement(Demo21, null), "title": " 根据列进行过滤", "code": "/**\n*\n* @title 根据列进行过滤\n* @description 点击表格右侧按钮,进行表格列的数据过滤。\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee';\nimport filterColumn from \"tinper-bee/lib/filterColumn\";;\nimport sum from \"tinper-bee/lib/sum\";;\n\nconst columns21 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n // width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n // width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n // width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data21 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst FilterColumnTable = filterColumn(sum(Table));\n\nconst defaultProps21 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo21 extends Component {\n constructor(props) {\n super(props);\n }\n \n render() {\n \n return ;\n }\n}\nDemo21.defaultProps = defaultProps21;\n\n\n", "desc": " 点击表格右侧按钮,进行表格列的数据过滤。" }, { "example": _react2['default'].createElement(Demo22, null), "title": " 列的拖拽,交换表头的顺序", "code": "/**\n*\n* @title 列的拖拽,交换表头的顺序\n* @description 点击列的表头,进行左右拖拽\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns22 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data22 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps22 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo22 extends Component {\n constructor(props) {\n super(props); \n }\n \n render() {\n return ;\n }\n}\nDemo22.defaultProps = defaultProps22;\n\n\n", "desc": " 点击列的表头,进行左右拖拽" }, { "example": _react2['default'].createElement(Demo23, null), "title": " 拖拽调整列的宽度", "code": "/**\n*\n* @title 拖拽调整列的宽度\n* @description 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns23 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data23 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps23 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo23 extends Component {\n constructor(props) {\n super(props); \n }\n\n render() {\n return ;\n }\n}\nDemo23.defaultProps = defaultProps23;\n\n\n", "desc": " 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】" }, { "example": _react2['default'].createElement(Demo24, null), "title": " 动态设置固、取消固定列", "code": "/**\n*\n* @title 动态设置固、取消固定列\n* @description 动态设置固、取消固定列\n*\n*/\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\nconst columns24 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\",\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" , fixed: \"left\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 24\", dataIndex: \"address\", key: \"24\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\n\nconst data24 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo24 extends Component {\n\n constructor(props) {\n super(props);\n let columns = [];\n Object.assign(columns,columns24);\n columns.forEach(da=>da.onHeadCellClick=this.onHeadCellClick);\n this.state = {\n columns\n }\n }\n\n onHeadCellClick=(data,event)=>{\n const {columns:_columns} = this.state;\n let columns = [];\n Object.assign(columns,_columns);\n let currObj = columns.find(da=>da.key == data.key);\n currObj.fixed?delete currObj.fixed:currObj.fixed = \"left\";\n this.setState({\n columns\n });\n }\n\n render() {\n const {columns} = this.state;\n return ;\n }\n}\n\n", "desc": " 动态设置固、取消固定列" }, { "example": _react2['default'].createElement(Demo3, null), "title": " 表头分组", "code": "/**\n *\n * @title 表头分组\n * @description columns[n] 可以内嵌 children,以渲染分组表头。\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst { ColumnGroup, Column } = Table;\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n width: 100\n }\n ]\n }\n ]\n }\n ]\n },\n {\n title: \"Company\",\n children: [\n {\n title: \"Company Address\",\n dataIndex: \"companyAddress\",\n key: \"companyAddress\"\n },\n {\n title: \"Company Name\",\n dataIndex: \"companyName\",\n key: \"companyName\"\n }\n ]\n },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 60,\n fixed: \"right\"\n }\n];\n\nconst data = [];\nfor (let i = 0; i < 20; i++) {\n data.push({\n key: i,\n name: \"John Brown\",\n age: i + 1,\n street: \"Lake Park\",\n building: \"C\",\n number: 2035,\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n}\n\nclass Demo3 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n", "desc": " columns[n] 可以内嵌 children,以渲染分组表头。" }, { "example": _react2['default'].createElement(Demo4, null), "title": " 树形数据展示", "code": "/**\n*\n* @title 树形数据展示\n* @description 通过在data中配置children数据,来自动生成树形数据\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns4 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n];\n\nconst data4 = [\n {\n key: 1,\n name: \"John Brown sr.\",\n age: 60,\n address: \"New York No. 1 Lake Park\",\n children: [\n {\n key: 11,\n name: \"John Brown\",\n age: 42,\n address: \"New York No. 2 Lake Park\"\n },\n {\n key: 12,\n name: \"John Brown jr.\",\n age: 30,\n address: \"New York No. 3 Lake Park\",\n children: [\n {\n key: 121,\n name: \"Jimmy Brown\",\n age: 16,\n address: \"New York No. 3 Lake Park\"\n }\n ]\n },\n {\n key: 13,\n name: \"Jim Green sr.\",\n age: 72,\n address: \"London No. 1 Lake Park\",\n children: [\n {\n key: 131,\n name: \"Jim Green\",\n age: 42,\n address: \"London No. 2 Lake Park\",\n children: [\n {\n key: 1311,\n name: \"Jim Green jr.\",\n age: 25,\n address: \"London No. 3 Lake Park\"\n },\n {\n key: 1312,\n name: \"Jimmy Green sr.\",\n age: 18,\n address: \"London No. 4 Lake Park\"\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key: 2,\n name: \"Joe Black\",\n age: 32,\n address: \"Sidney No. 1 Lake Park\"\n }\n];\nclass Demo4 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data4,\n factoryValue: 0,\n selectedRow: new Array(data4.length)//状态同步\n }\n }\n\n render() {\n return {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n \n columns={columns4} data={data4} />;\n }\n}\n\n\n", "desc": " 通过在data中配置children数据,来自动生成树形数据" }, { "example": _react2['default'].createElement(Demo5, null), "title": " 固定列", "code": "/**\n*\n* @title 固定列\n* @description 固定列到表格的某侧\n*\n*/\n\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\n\nconst columns5 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 5\", dataIndex: \"address\", key: \"5\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\nconst data5 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo5 extends Component {\n render() {\n return ;\n }\n}\n\n", "desc": " 固定列到表格的某侧" }, { "example": _react2['default'].createElement(Demo6, null), "title": " 固定表头", "code": "/**\n*\n* @title 固定表头\n* @description 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns6 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\"},\n { title: \"Address\", dataIndex: \"address\", key: \"1\" }\n];\n\nconst data6 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },{\n key: \"11\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"12\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"13\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"14\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo6 extends Component {\n render() {\n return ;\n }\n}\n\n", "desc": " 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)" }, { "example": _react2['default'].createElement(Demo7, null), "title": " 主子表", "code": "/**\n *\n * @title 主子表\n * @description 主表点击子表联动\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst columns7 = [\n { title: \"班级\", dataIndex: \"a\", key: \"a\" },\n { title: \"人数\", dataIndex: \"b\", key: \"b\" },\n { title: \"班主任\", dataIndex: \"c\", key: \"c\" },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data7 = [\n { a: \"02级一班\", b: \"2\", c: \"欧阳锋\", d: \"大侠\", key: \"1\" },\n { a: \"03级二班\", b: \"3\", c: \"归海一刀\", d: \"大侠\", key: \"2\" },\n { a: \"05级三班\", b: \"1\", c: \"一拳超人\", d: \"愣头青\", key: \"3\" }\n];\n\nconst columns7_1 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\" },\n { title: \"班级\", dataIndex: \"b\", key: \"b\" },\n { title: \"系别\", dataIndex: \"c\", key: \"c\" }\n];\n\nclass Demo7 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n children_data: []\n };\n }\n\n rowclick = (record, index) => {\n if (record.a === \"02级一班\") {\n this.setState({\n children_data: [\n { a: \"郭靖\", b: \"02级一班\", c: \"文学系\", key: \"1\" },\n { a: \"黄蓉\", b: \"02级一班\", c: \"文学系\", key: \"2\" }\n ]\n });\n } else if (record.a === \"03级二班\") {\n this.setState({\n children_data: [\n { a: \"杨过\", b: \"03级二班\", c: \"外语系\", key: \"1\" },\n { a: \"小龙女\", b: \"03级二班\", c: \"外语系\", key: \"2\" },\n { a: \"傻姑\", b: \"03级二班\", c: \"外语系\", key: \"3\" }\n ]\n });\n } else if (record.a === \"05级三班\") {\n this.setState({\n children_data: [{ a: \"金圣叹\", b: \"05级三班\", c: \"美术系\", key: \"1\" }]\n });\n }\n };\n\n render() {\n return (\n \n
标题: 我是主表
}\n />\n 标题: 我是子表
}\n />\n \n );\n }\n}\n\n\n", "desc": " 主表点击子表联动" }, { "example": _react2['default'].createElement(Demo8, null), "title": " 表格+分页", "code": "/**\n *\n * @title 表格+分页\n * @description 点击分页联动表格\n *\n *import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, Pagination } from 'tinper-bee';\n\nconst columns8 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst pageData = {\n 1: [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n ],\n 2: [\n { a: \"芙蓉姐姐\", b: \"女\", c: 23, d: \"大侠\", key: \"1\" },\n { a: \"芙蓉妹妹\", b: \"女\", c: 23, d: \"内行\", key: \"2\" }\n ]\n};\n\nclass Demo8 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: pageData[1],\n activePage: 1\n };\n }\n\n handleSelect(eventKey) {\n this.setState({\n data: pageData[eventKey],\n activePage: eventKey\n });\n }\n\n render() {\n return (\n \n );\n }\n}\n\n", "desc": " 点击分页联动表格" }, { "example": _react2['default'].createElement(Demo9, null), "title": " 表格+搜索", "code": "/**\n *\n * @title 表格+搜索\n * @description 搜索刷新表格数据\n *\n *\n * import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, FormControl, InputGroup, Icon } from 'tinper-bee';\n\nclass Search extends Component {\n state = {\n searchValue: \"\",\n empty: false\n };\n\n /**\n * 搜索\n */\n handleSearch = () => {\n let { onSearch } = this.props;\n this.setState({\n empty: true\n });\n onSearch && onSearch(this.state.searchValue);\n };\n\n /**\n * 捕获回车\n * @param e\n */\n handleKeyDown = e => {\n if (e.keyCode === 13) {\n this.handleSearch();\n }\n };\n\n /**\n * 输入框改变\n * @param e\n */\n handleChange = e => {\n this.setState({\n searchValue: e.target.value\n });\n };\n\n /**\n * 清空输入框\n */\n emptySearch = () => {\n let { onEmpty } = this.props;\n this.setState({\n searchValue: \"\",\n empty: false\n });\n onEmpty && onEmpty();\n };\n\n render() {\n return (\n \n \n {this.state.empty ? (\n \n ) : null}\n\n \n \n \n \n );\n }\n}\n\nconst columns9 = [\n {\n title: \"姓名\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst userData = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n\nclass Demo9 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: userData\n };\n }\n\n handleSearch = value => {\n if (value === \"\") {\n return this.setState({\n data: userData\n });\n }\n let regExp = new RegExp(value, \"ig\");\n let data = userData.filter(item => regExp.test(item.a));\n this.setState({\n data\n });\n };\n\n handleEmpty = () => {\n this.setState({\n data: userData\n });\n };\n\n render() {\n return (\n \n );\n }\n}\n\n\n", "desc": " 搜索刷新表格数据" }];
+ var Demo1 = __webpack_require__(64);var Demo10 = __webpack_require__(116);var Demo11 = __webpack_require__(117);var Demo12 = __webpack_require__(120);var Demo13 = __webpack_require__(123);var Demo14 = __webpack_require__(127);var Demo15 = __webpack_require__(453);var Demo16 = __webpack_require__(454);var Demo17 = __webpack_require__(455);var Demo18 = __webpack_require__(456);var Demo19 = __webpack_require__(457);var Demo2 = __webpack_require__(458);var Demo21 = __webpack_require__(464);var Demo22 = __webpack_require__(466);var Demo23 = __webpack_require__(469);var Demo24 = __webpack_require__(470);var Demo3 = __webpack_require__(471);var Demo4 = __webpack_require__(472);var Demo5 = __webpack_require__(473);var Demo6 = __webpack_require__(474);var Demo7 = __webpack_require__(475);var Demo8 = __webpack_require__(476);var Demo9 = __webpack_require__(480);var DemoArray = [{ "example": _react2['default'].createElement(Demo1, null), "title": " 简单表格、两种tip、选中行背景色、文字过长", "code": "/**\n*\n* @title 简单表格、两种tip、选中行背景色、文字过长\n* 【一种是bee-popover实现、一种是标签本身的tooltip】\n* @description\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button, Popover } from 'tinper-bee';\n\nfunction getTitleTip(text){\n return(\n
{text}
\n )\n}\n\n\nconst columns = [\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width:80 , className:\"rowClassName\",\n render(text, record, index) {\n return();\n }},\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n \n );\n }\n }\n];\n\nconst data = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过叔叔的女儿黄蓉\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo1 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data,\n factoryValue: 0,\n selectedRow: new Array(data.length)//状态同步\n }\n }\n\n render() {\n return (\n {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n title={currentData => 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n /> \n );\n }\n}\n\n\n", "desc": "" }, { "example": _react2['default'].createElement(Demo10, null), "title": " 无数据时显示", "code": "/**\n*\n* @title 无数据时显示\n* @description 无数据时显示效果展示(可自定义)\n *\n* import {Table} from 'tinper-bee';\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns10 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n ];\n \n const data10 = [\n \n ];\n\n const emptyFunc = () => 这里没有数据!\n \n class Demo10 extends Component {\n render() {\n return ;\n }\n }\n\n", "desc": " 无数据时显示效果展示(可自定义)" }, { "example": _react2['default'].createElement(Demo11, null), "title": " 列排序", "code": "/**\n*\n* @title 列排序\n* @description 点击列的上下按钮即可排序\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee';\n\nconst columns11 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data11 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps11 = {\n prefixCls: \"bee-table\"\n};\nclass Demo11 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n sortOrder: \"\",\n data: data11\n };\n }\n toggleSortOrder=(order, column)=> {\n let { sortOrder, data, oldData } = this.state;\n let ascend_sort = function(key) {\n return function(a, b) {\n return a.key - b.key;\n };\n };\n let descend_sort = function(key) {\n return function(a, b) {\n return b.key - a.key;\n };\n };\n if (sortOrder === order) {\n // 切换为未排序状态\n order = \"\";\n }\n if (!oldData) {\n oldData = data.concat();\n }\n if (order === \"ascend\") {\n data = data.sort(function(a, b) {\n return column.sorter(a, b);\n });\n } else if (order === \"descend\") {\n data = data.sort(function(a, b) {\n return column.sorter(b, a);\n });\n } else {\n data = oldData.concat();\n }\n this.setState({\n sortOrder: order,\n data: data,\n oldData: oldData\n });\n }\n renderColumnsDropdown(columns) {\n const { sortOrder } = this.state;\n const { prefixCls } = this.props;\n\n return columns.map(originColumn => {\n let column = Object.assign({}, originColumn);\n let sortButton;\n if (column.sorter) {\n const isAscend = sortOrder === \"ascend\";\n const isDescend = sortOrder === \"descend\";\n sortButton = (\n \n this.toggleSortOrder(\"ascend\", column)}\n >\n \n \n this.toggleSortOrder(\"descend\", column)}\n >\n \n \n
\n );\n }\n column.title = (\n \n {column.title}\n {sortButton}\n \n );\n return column;\n });\n }\n render() {\n let columns = this.renderColumnsDropdown(columns11);\n return ;\n }\n}\nDemo11.defaultProps = defaultProps11;\n\n\n", "desc": " 点击列的上下按钮即可排序" }, { "example": _react2['default'].createElement(Demo12, null), "title": " 全选功能", "code": "/**\n*\n* @title 全选功能\n* @description 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Checkbox } from 'tinper-bee';\n\nconst columns12 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data12 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst defaultProps12 = {\n prefixCls: \"bee-table\",\n multiSelect: {\n type: \"checkbox\",\n param: \"key\"\n }\n};\nclass Demo12 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n checkedAll:false,\n checkedArray: [\n false,\n false,\n false,\n ],\n data: data12\n };\n }\n onAllCheckChange = () => {\n let self = this;\n let checkedArray = [];\n let listData = self.state.data.concat();\n let selIds = [];\n // let id = self.props.multiSelect.param;\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n checkedArray[i] = !self.state.checkedAll;\n }\n // if (self.state.checkedAll) {\n // selIds = [];\n // } else {\n // for (var i = 0; i < listData.length; i++) {\n // selIds[i] = listData[i][id];\n // }\n // }\n self.setState({\n checkedAll: !self.state.checkedAll,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n onCheckboxChange = (text, record, index) => {\n let self = this;\n let allFlag = false;\n // let selIds = self.state.selIds;\n // let id = self.props.postId;\n let checkedArray = self.state.checkedArray.concat();\n // if (self.state.checkedArray[index]) {\n // selIds.remove(record[id]);\n // } else {\n // selIds.push(record[id]);\n // }\n checkedArray[index] = !self.state.checkedArray[index];\n for (var i = 0; i < self.state.checkedArray.length; i++) {\n if (!checkedArray[i]) {\n allFlag = false;\n break;\n } else {\n allFlag = true;\n }\n }\n self.setState({\n checkedAll: allFlag,\n checkedArray: checkedArray,\n // selIds: selIds\n });\n // self.props.onSelIds(selIds);\n };\n renderColumnsMultiSelect(columns) {\n const { data,checkedArray } = this.state;\n const { multiSelect } = this.props;\n let select_column = {};\n let indeterminate_bool = false;\n // let indeterminate_bool1 = true;\n if (multiSelect && multiSelect.type === \"checkbox\") {\n let i = checkedArray.length;\n while(i--){\n if(checkedArray[i]){\n indeterminate_bool = true;\n break;\n }\n }\n let defaultColumns = [\n {\n title: (\n \n ),\n key: \"checkbox\",\n dataIndex: \"checkbox\",\n width: \"5%\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n columns = defaultColumns.concat(columns);\n }\n return columns;\n }\n render() {\n let columns = this.renderColumnsMultiSelect(columns12);\n return ;\n }\n}\nDemo12.defaultProps = defaultProps12;\n\n", "desc": " 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)" }, { "example": _react2['default'].createElement(Demo13, null), "title": " 列排序、全选功能、合计", "code": "/**\n *\n * @title 列排序、全选功能、合计\n * @description 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Icon, Button, Checkbox } from 'tinper-bee';\nimport multiSelect from \"tinper-bee/lib/multiSelect.js\";;\nimport sort from \"tinper-bee/lib/sort.js\";;\nimport sum from \"tinper-bee/lib/sum.js\";;\n\nconst columns13 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 200\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200\n }\n];\n\nconst data13 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\nconst data13_1 = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"22\" },\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"222\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n//拼接成复杂功能的table组件不能在render中定义,需要像此例子声明在组件的外侧,不然操作state会导致功能出现异常\nlet ComplexTable = multiSelect(sum(sort(Table, Icon)), Checkbox);\n\nclass Demo13 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data13: data13,\n selectedRow: this.selectedRow,\n selectDisabled: this.selectDisabled\n };\n }\n getSelectedDataFunc = data => {\n // console.log(data);\n };\n selectDisabled = (record, index) => {\n // console.log(record);\n if (index === 1) {\n return true;\n }\n return false;\n };\n selectedRow = (record, index) => {\n // console.log(record);\n if (index === 0) {\n return true;\n }\n return false;\n };\n onClick = () => {\n this.setState({\n selectedRow: function() {}\n });\n };\n onClick1 = () => {\n this.setState({\n selectDisabled: (record, index) => {\n // console.log(record);\n if (index === 2) {\n return true;\n }\n return false;\n }\n });\n };\n render() {\n let multiObj = {\n type: \"checkbox\"\n };\n return (\n \n \n \n \n
\n );\n }\n}\n\n", "desc": " 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)" }, { "example": _react2['default'].createElement(Demo14, null), "title": " 编辑态表格", "code": "/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React from \"react\";\nimport { Table, Select, Datepicker, Checkbox, Input, Icon, Form, Button, Tooltip, Animate } from 'tinper-bee';\nimport renderInput from \"tinper-bee/lib/InputRender.js\";;\nimport renderDate from \"tinper-bee/lib/DateRender.js\";;\nimport renderSelect from \"tinper-bee/lib/SelectRender.js\";;\n\nconst InputRender = renderInput(Form, Input, Icon);\nconst DateRender = renderDate(Datepicker, Icon);\nconst SelectRender = renderSelect(Select, Icon);\n\nconst format = \"YYYY-MM-DD\";\nconst format2 = \"YYYY-MM\";\nconst format3 = \"YYYY-MM-DD HH:mm:ss\";\n\nconst dateInputPlaceholder = \"选择日期\";\nconst dateInputPlaceholder2 = \"选择年月\";\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo14 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [\n {\n title: \"普通输入\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n reg={/^[0-9]+$/}\n />\n )\n },\n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n {\n title: \"复选\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"100px\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"下拉框\",\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n },\n {\n title: \"年月日\",\n dataIndex: \"datepicker\",\n key: \"datepicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n },\n {\n title: \"年月\",\n dataIndex: \"MonthPicker\",\n key: \"MonthPicker\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onCheckChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDateChange = d => {\n console.log(d);\n };\n onDateSelect = d => {\n console.log(d);\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n", "desc": " 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)" }, { "example": _react2['default'].createElement(Demo15, null), "title": " 表格行/列合并", "code": "/**\n*\n* @title 表格行/列合并\n* @description 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst renderContent = (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n};\n\nconst columns = [{\n title: 'Name',\n key: \"name\",\n dataIndex: 'name',\n render: (text, row, index) => {\n if (index < 4) {\n return {text};\n }\n return {\n children: {text},\n props: {\n colSpan: 5,\n },\n };\n },\n}, {\n title: 'Age',\n key: \"Age\",\n dataIndex: 'age',\n render: renderContent,\n}, {\n title: 'Home phone',\n colSpan: 2,\n key: \"tel\",\n dataIndex: 'tel',\n render: (value, row, index) => {\n const obj = {\n children: value,\n props: {},\n };\n if (index === 2) {\n obj.props.rowSpan = 2;\n }\n if (index === 3) {\n obj.props.rowSpan = 0;\n }\n if (index === 4) {\n obj.props.colSpan = 0;\n }\n return obj;\n },\n}, {\n title: 'Phone',\n colSpan: 0,\n key: \"phone\",\n dataIndex: 'phone',\n render: renderContent,\n}, {\n title: 'Address',\n key: \"address\",\n dataIndex: 'address',\n render: renderContent,\n}];\n\nconst data = [{\n key: '1',\n name: 'John Brown',\n age: 32,\n tel: '0571-22098909',\n phone: 18889898989,\n address: 'New York No. 1 Lake Park',\n}, {\n key: '2',\n name: 'Jim Green',\n tel: '0571-22098333',\n phone: 18889898888,\n age: 42,\n address: 'London No. 1 Lake Park',\n}, {\n key: '3',\n name: 'Joe Black',\n age: 32,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Sidney No. 1 Lake Park',\n}, {\n key: '4',\n name: 'Jim Red',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'London No. 2 Lake Park',\n}, {\n key: '5',\n name: 'Jake White',\n age: 18,\n tel: '0575-22098909',\n phone: 18900010002,\n address: 'Dublin No. 2 Lake Park',\n}];\n\nclass Demo15 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n\n", "desc": " 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。" }, { "example": _react2['default'].createElement(Demo16, null), "title": " 嵌套子表格", "code": "/**\n*\n* @title 嵌套子表格\n* @description 通过expandedRowRender参数来实现子表格\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst columns16 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert(\"这是第\" + index + \"列,内容为:\" + text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data16 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\n\nclass Demo16 extends Component {\n constructor(props){\n super(props);\n this.state={\n data_obj:{}\n }\n }\n expandedRowRender = (record, index, indent) => {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n };\n getData=(expanded, record)=>{\n //当点击展开的时候才去请求数据\n let new_obj = Object.assign({},this.state.data_obj);\n if(expanded){\n if(record.key==='1'){\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }else{\n new_obj[record.key] = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" }\n ]\n this.setState({\n data_obj:new_obj\n })\n }\n }\n }\n haveExpandIcon=(record, index)=>{\n //控制是否显示行展开icon,该参数只有在和expandedRowRender同时使用才生效\n if(index == 0){\n return true;\n }\n return false;\n }\n render() {\n return (\n 标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n />\n );\n }\n}\n\n\n", "desc": " 通过expandedRowRender参数来实现子表格" }, { "example": _react2['default'].createElement(Demo17, null), "title": " loading属性指定表格是否加载中", "code": "/**\n*\n* @title loading属性指定表格是否加载中\n* @description loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst columns17 = [\n { title: \"用户名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"操作\",\n dataIndex: \"d\",\n key: \"d\",\n render(text, record, index) {\n return (\n {\n alert('这是第'+index+'列,内容为:'+text);\n }}\n >\n 一些操作\n \n );\n }\n }\n];\n\nconst data17 = [\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"操作\", key: \"1\" },\n { a: \"杨过\", b: \"男\", c: 67, d: \"操作\", key: \"2\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"操作\", key: \"3\" }\n];\n\nclass Demo17 extends Component {\n constructor(props){\n super(props);\n this.state = {\n loading : true\n }\n }\n changeLoading = () => {\n this.setState({\n loading : !this.state.loading\n })\n }\n render() {\n return (\n \n
\n
标题: 这是一个标题
}\n footer={currentData => 表尾: 我是小尾巴
}\n // loading={this.state.loading}或者是boolean\n loading={{show:this.state.loading,loadingType:\"line\"}}\n />\n \n );\n }\n}\n\n\n", "desc": " loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型" }, { "example": _react2['default'].createElement(Demo18, null), "title": " 合并标题后的合计,且支持多字段统计", "code": "/**\n *\n * @title 合并标题后的合计,且支持多字段统计\n * @description 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee'; \nimport sum from \"tinper-bee/lib/sum.js\";;\n \nlet ComplexTable = sum(Table);\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200,\n sumCol: true,\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n // width: 100,\n sumCol: true,\n }\n ]\n }\n ]\n }\n ]\n },\n // {\n // title: \"Company\",\n // children: [\n // {\n // title: \"Company Address\",\n // dataIndex: \"companyAddress\",\n // key: \"companyAddress\",\n // width: 100,\n // },\n // {\n // title: \"Company Name\",\n // dataIndex: \"companyName\",\n // key: \"companyName\",\n // width: 100,\n // }\n // ]\n // },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 80,\n fixed: \"right\"\n }\n];\n\nfunction getData(){\n const data = [];\n for (let i = 0; i < 5; i++) {\n data.push({\n key: i,\n name: \"John Brown\"+i,\n age: i + Math.floor(Math.random()*10),\n street: \"Lake Park\",\n building: \"C\",\n number: 20 * Math.floor(Math.random()*10),\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n }\n return data;\n}\n\nclass Demo18 extends Component {\n \n constructor(props) {\n super(props);\n this.state = {\n data: getData()\n };\n }\n\n changeData = ()=>{\n this.setState({\n data: getData()\n });\n }\n\n render() {\n const {data} = this.state;\n return (\n \n \n\n \n
\n );\n }\n}\n\n", "desc": " 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)" }, { "example": _react2['default'].createElement(Demo19, null), "title": " 编辑态表格", "code": "/**\n*\n* @title 编辑态表格\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\n*\n*/\n\nimport React from \"react\";\nimport { Table, Select, Form, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\nimport renderInput from \"tinper-bee/lib/InputRender.js\";;\nimport renderSelect from \"tinper-bee/lib/SelectRender.js\";;\n\nconst InputRender = renderInput(Form, Input, Icon);\nconst SelectRender = renderSelect(Select, Icon);\n\nconst Option = Select.Option;\n\nconst dataSource = [\n {\n key: \"boyuzhou\",\n value: \"jack\"\n },\n {\n key: \"renhualiu\",\n value: \"lucy\"\n },\n {\n key: \"yuzhao\",\n value: \"yiminghe\"\n }\n];\nclass Demo19 extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n number: \"10\",\n age: \"y\",\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n number: \"100\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n number: \"1000\",\n age: \"n\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n number: \"9999\",\n age: \"y\",\n address: \"lucy\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n }\n ],\n count: 4\n };\n this.columns = [ \n {\n title: \"货币输入\",\n dataIndex: \"number\",\n key: \"number\",\n width: \"150px\",\n render: (text, record, index) => (\n \n \n \n }\n />\n )\n },\n \n {\n title:(下拉框的div
),\n dataIndex: \"address\",\n key: \"address\",\n width: \"200px\",\n render: (text, record, index) => {\n return (\n \n \n \n \n \n \n );\n }\n }\n ];\n }\n check = (flag, obj) => {\n console.log(flag);\n console.log(obj);\n };\n\n handFocus = (value,e) => {\n console.log(value+` 获取焦点事件`);\n };\n onBlur = (value,e) => {\n console.log(value+` onBlur`);\n };\n\n onInputChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n\n onSelectChange = (index, key) => {\n return value => {\n console.log(`selected ${value}`);\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: \"jack\",\n datepicker: \"2017-06-12\",\n MonthPicker: \"2017-02\"\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n getData = () => {\n console.log(this.state.dataSource);\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n
\n
\n
\n
\n );\n }\n}\n\n\n", "desc": " 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)" }, { "example": _react2['default'].createElement(Demo2, null), "title": " 增删改表格", "code": "/**\n*\n* @title 增删改表格\n* @description 这是带有增删改功能的表格(此编辑功能未使用render组件)\n*\n*/\n\nimport React, { Component } from \"react\";\nimport { Table, Popconfirm, Input, Icon, Animate, Button } from 'tinper-bee';\n\nclass EditableCell extends React.Component {\n state = {\n value: this.props.value,\n editable: false\n };\n handleChange = e => {\n const value = e.target.value;\n this.setState({ value });\n };\n check = () => {\n this.setState({ editable: false });\n if (this.props.onChange) {\n this.props.onChange(this.state.value);\n }\n };\n edit = () => {\n this.setState({ editable: true });\n };\n handleKeydown = event => {\n if (event.keyCode == 13) {\n this.check();\n }\n };\n render() {\n const { value, editable } = this.state;\n return (\n \n {editable ? (\n
\n \n \n
\n ) : (\n
\n {value || \" \"}\n \n
\n )}\n
\n );\n }\n}\n\nclass Demo2 extends React.Component {\n constructor(props) {\n super(props);\n this.columns = [\n {\n title: \"姓名\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"30%\",\n render: (text, record, index) => (\n \n )\n },\n {\n title: \"年龄\",\n dataIndex: \"age\",\n key: \"age\"\n },\n {\n title: \"你懂的\",\n dataIndex: \"address\",\n key: \"address\"\n },\n {\n title: \"操作\",\n dataIndex: \"operation\",\n key: \"operation\",\n render: (text, record, index) => {\n return this.state.dataSource.length > 1 ? (\n \n \n \n ) : null;\n }\n }\n ];\n\n this.state = {\n dataSource: [\n {\n key: \"0\",\n name: \"沉鱼\",\n age: \"18\",\n address: \"96, 77, 89\"\n },\n {\n key: \"1\",\n name: \"落雁\",\n age: \"16\",\n address: \"90, 70, 80\"\n },\n {\n key: \"2\",\n name: \"闭月\",\n age: \"17\",\n address: \"80, 60, 80\"\n },\n {\n key: \"3\",\n name: \"羞花\",\n age: \"20\",\n address: \"120, 60, 90\"\n }\n ],\n count: 4\n };\n }\n onCellChange = (index, key) => {\n return value => {\n const dataSource = [...this.state.dataSource];\n dataSource[index][key] = value;\n this.setState({ dataSource });\n };\n };\n onDelete = index => {\n return () => {\n const dataSource = [...this.state.dataSource];\n dataSource.splice(index, 1);\n this.setState({ dataSource });\n };\n };\n handleAdd = () => {\n const { count, dataSource } = this.state;\n const newData = {\n key: count,\n name: `凤姐 ${count}`,\n age: 32,\n address: `100 100 100`\n };\n this.setState({\n dataSource: [...dataSource, newData],\n count: count + 1\n });\n };\n\n getBodyWrapper = body => {\n return (\n \n {body.props.children}\n \n );\n };\n render() {\n const { dataSource } = this.state;\n const columns = this.columns;\n return (\n \n );\n }\n}\n\n\n", "desc": " 这是带有增删改功能的表格(此编辑功能未使用render组件)" }, { "example": _react2['default'].createElement(Demo21, null), "title": " 根据列进行过滤", "code": "/**\n*\n* @title 根据列进行过滤\n* @description 点击表格右侧按钮,进行表格列的数据过滤。\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table, Popover, Checkbox, Icon } from 'tinper-bee';\nimport filterColumn from \"tinper-bee/lib/filterColumn\";;\nimport sum from \"tinper-bee/lib/sum\";;\n\nconst columns21 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n // width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n // width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n // width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data21 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst FilterColumnTable = filterColumn(sum(Table), Checkbox, Popover, Icon);\n\nconst defaultProps21 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo21 extends Component {\n constructor(props) {\n super(props);\n }\n \n render() {\n \n return ;\n }\n}\nDemo21.defaultProps = defaultProps21;\n\n\n", "desc": " 点击表格右侧按钮,进行表格列的数据过滤。" }, { "example": _react2['default'].createElement(Demo22, null), "title": " 列的拖拽,交换表头的顺序", "code": "/**\n*\n* @title 列的拖拽,交换表头的顺序\n* @description 点击列的表头,进行左右拖拽\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns22 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data22 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps22 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo22 extends Component {\n constructor(props) {\n super(props); \n }\n \n render() {\n return ;\n }\n}\nDemo22.defaultProps = defaultProps22;\n\n\n", "desc": " 点击列的表头,进行左右拖拽" }, { "example": _react2['default'].createElement(Demo23, null), "title": " 拖拽调整列的宽度", "code": "/**\n*\n* @title 拖拽调整列的宽度\n* @description 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】\n*/\nimport React, { Component } from 'react';\nimport { Table, Icon } from 'tinper-bee'; \nimport dragColumn from \"tinper-bee/lib/dragColumn\";;\n\n\nconst columns23 = [\n {\n title: \"名字\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 200\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200,\n sumCol: true,\n sorter: (a, b) => a.c - b.c\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\",\n width: 200,\n }\n];\n\nconst data23 = [\n { a: \"杨过\", b: \"男\", c: 30,d:'内行', key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41,d:'大侠', key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25,d:'大侠', key: \"3\" }\n];\n\nconst DragColumnTable = dragColumn(Table);\n\nconst defaultProps23 = {\n prefixCls: \"bee-table\"\n};\n\nclass Demo23 extends Component {\n constructor(props) {\n super(props); \n }\n\n render() {\n return ;\n }\n}\nDemo23.defaultProps = defaultProps23;\n\n\n", "desc": " 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】" }, { "example": _react2['default'].createElement(Demo24, null), "title": " 动态设置固、取消固定列", "code": "/**\n*\n* @title 动态设置固、取消固定列\n* @description 动态设置固、取消固定列\n*\n*/\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\nconst columns24 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\",\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" , fixed: \"left\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 24\", dataIndex: \"address\", key: \"24\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\n\nconst data24 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo24 extends Component {\n\n constructor(props) {\n super(props);\n let columns = [];\n Object.assign(columns,columns24);\n columns.forEach(da=>da.onHeadCellClick=this.onHeadCellClick);\n this.state = {\n columns\n }\n }\n\n onHeadCellClick=(data,event)=>{\n const {columns:_columns} = this.state;\n let columns = [];\n Object.assign(columns,_columns);\n let currObj = columns.find(da=>da.key == data.key);\n currObj.fixed?delete currObj.fixed:currObj.fixed = \"left\";\n this.setState({\n columns\n });\n }\n\n render() {\n const {columns} = this.state;\n return ;\n }\n}\n\n", "desc": " 动态设置固、取消固定列" }, { "example": _react2['default'].createElement(Demo3, null), "title": " 表头分组", "code": "/**\n *\n * @title 表头分组\n * @description columns[n] 可以内嵌 children,以渲染分组表头。\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table, Button } from 'tinper-bee';\n\nconst { ColumnGroup, Column } = Table;\n\nconst columns = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: 100,\n fixed: \"left\"\n },\n {\n title: \"Other\",\n children: [\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: 200\n },\n {\n title: \"Address\",\n children: [\n {\n title: \"Street\",\n dataIndex: \"street\",\n key: \"street\",\n width: 200\n },\n {\n title: \"Block\",\n children: [\n {\n title: \"Building\",\n dataIndex: \"building\",\n key: \"building\",\n width: 100\n },\n {\n title: \"Door No.\",\n dataIndex: \"number\",\n key: \"number\",\n width: 100\n }\n ]\n }\n ]\n }\n ]\n },\n {\n title: \"Company\",\n children: [\n {\n title: \"Company Address\",\n dataIndex: \"companyAddress\",\n key: \"companyAddress\"\n },\n {\n title: \"Company Name\",\n dataIndex: \"companyName\",\n key: \"companyName\"\n }\n ]\n },\n {\n title: \"Gender\",\n dataIndex: \"gender\",\n key: \"gender\",\n width: 60,\n fixed: \"right\"\n }\n];\n\nconst data = [];\nfor (let i = 0; i < 20; i++) {\n data.push({\n key: i,\n name: \"John Brown\",\n age: i + 1,\n street: \"Lake Park\",\n building: \"C\",\n number: 2035,\n companyAddress: \"Lake Street 42\",\n companyName: \"SoftLake Co\",\n gender: \"M\"\n });\n}\n\nclass Demo3 extends Component {\n render() {\n return (\n \n );\n }\n}\n\n\n", "desc": " columns[n] 可以内嵌 children,以渲染分组表头。" }, { "example": _react2['default'].createElement(Demo4, null), "title": " 树形数据展示", "code": "/**\n*\n* @title 树形数据展示\n* @description 通过在data中配置children数据,来自动生成树形数据\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns4 = [\n {\n title: \"Name\",\n dataIndex: \"name\",\n key: \"name\",\n width: \"40%\"\n },\n {\n title: \"Age\",\n dataIndex: \"age\",\n key: \"age\",\n width: \"30%\"\n },\n {\n title: \"Address\",\n dataIndex: \"address\",\n key: \"address\"\n }\n];\n\nconst data4 = [\n {\n key: 1,\n name: \"John Brown sr.\",\n age: 60,\n address: \"New York No. 1 Lake Park\",\n children: [\n {\n key: 11,\n name: \"John Brown\",\n age: 42,\n address: \"New York No. 2 Lake Park\"\n },\n {\n key: 12,\n name: \"John Brown jr.\",\n age: 30,\n address: \"New York No. 3 Lake Park\",\n children: [\n {\n key: 121,\n name: \"Jimmy Brown\",\n age: 16,\n address: \"New York No. 3 Lake Park\"\n }\n ]\n },\n {\n key: 13,\n name: \"Jim Green sr.\",\n age: 72,\n address: \"London No. 1 Lake Park\",\n children: [\n {\n key: 131,\n name: \"Jim Green\",\n age: 42,\n address: \"London No. 2 Lake Park\",\n children: [\n {\n key: 1311,\n name: \"Jim Green jr.\",\n age: 25,\n address: \"London No. 3 Lake Park\"\n },\n {\n key: 1312,\n name: \"Jimmy Green sr.\",\n age: 18,\n address: \"London No. 4 Lake Park\"\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key: 2,\n name: \"Joe Black\",\n age: 32,\n address: \"Sidney No. 1 Lake Park\"\n }\n];\nclass Demo4 extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n data: data4,\n factoryValue: 0,\n selectedRow: new Array(data4.length)//状态同步\n }\n }\n\n render() {\n return {\n if (this.state.selectedRow[index]) {\n return 'selected';\n } else {\n return '';\n }\n }}\n onRowClick={(record,index,indent)=>{\n let selectedRow = new Array(this.state.data.length);\n selectedRow[index] = true;\n this.setState({\n factoryValue: record,\n selectedRow: selectedRow\n });\n }}\n \n columns={columns4} data={data4} />;\n }\n}\n\n\n", "desc": " 通过在data中配置children数据,来自动生成树形数据" }, { "example": _react2['default'].createElement(Demo5, null), "title": " 固定列", "code": "/**\n*\n* @title 固定列\n* @description 固定列到表格的某侧\n*\n*/\n\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\n\nconst columns5 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\",\n fixed: \"left\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\", fixed: \"left\" },\n { title: \"Column 1\", dataIndex: \"address\", key: \"1\" },\n { title: \"Column 2\", dataIndex: \"address\", key: \"2\" },\n { title: \"Column 3\", dataIndex: \"address\", key: \"3\" },\n { title: \"Column 4\", dataIndex: \"address\", key: \"4\" },\n { title: \"Column 5\", dataIndex: \"address\", key: \"5\" },\n { title: \"Column 6\", dataIndex: \"address\", key: \"6\" },\n { title: \"Column 7\", dataIndex: \"address\", key: \"7\" },\n { title: \"Column 8\", dataIndex: \"address\", key: \"8\" }\n];\n\nconst data5 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo5 extends Component {\n render() {\n return ;\n }\n}\n\n", "desc": " 固定列到表格的某侧" }, { "example": _react2['default'].createElement(Demo6, null), "title": " 固定表头", "code": "/**\n*\n* @title 固定表头\n* @description 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)\n*\n*/\n\n\nimport React, { Component } from 'react';\nimport { Table } from 'tinper-bee';\n\n\nconst columns6 = [\n {\n title: \"Full Name\",\n width: 100,\n dataIndex: \"name\",\n key: \"name\"\n },\n { title: \"Age\", width: 100, dataIndex: \"age\", key: \"age\"},\n { title: \"Address\", dataIndex: \"address\", key: \"1\" }\n];\n\nconst data6 = [\n {\n key: \"1\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"2\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"3\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"4\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },{\n key: \"11\",\n name: \"John Brown\",\n age: 32,\n address: \"New York Park\"\n },\n {\n key: \"12\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"13\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n },\n {\n key: \"14\",\n name: \"Jim Green\",\n age: 40,\n address: \"London Park\"\n }\n];\n\nclass Demo6 extends Component {\n render() {\n return ;\n }\n}\n\n", "desc": " 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)" }, { "example": _react2['default'].createElement(Demo7, null), "title": " 主子表", "code": "/**\n *\n * @title 主子表\n * @description 主表点击子表联动\n *\n */\n\nimport React, { Component } from \"react\";\nimport { Table } from 'tinper-bee';\n\nconst columns7 = [\n { title: \"班级\", dataIndex: \"a\", key: \"a\" },\n { title: \"人数\", dataIndex: \"b\", key: \"b\" },\n { title: \"班主任\", dataIndex: \"c\", key: \"c\" },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst data7 = [\n { a: \"02级一班\", b: \"2\", c: \"欧阳锋\", d: \"大侠\", key: \"1\" },\n { a: \"03级二班\", b: \"3\", c: \"归海一刀\", d: \"大侠\", key: \"2\" },\n { a: \"05级三班\", b: \"1\", c: \"一拳超人\", d: \"愣头青\", key: \"3\" }\n];\n\nconst columns7_1 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\" },\n { title: \"班级\", dataIndex: \"b\", key: \"b\" },\n { title: \"系别\", dataIndex: \"c\", key: \"c\" }\n];\n\nclass Demo7 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n children_data: []\n };\n }\n\n rowclick = (record, index) => {\n if (record.a === \"02级一班\") {\n this.setState({\n children_data: [\n { a: \"郭靖\", b: \"02级一班\", c: \"文学系\", key: \"1\" },\n { a: \"黄蓉\", b: \"02级一班\", c: \"文学系\", key: \"2\" }\n ]\n });\n } else if (record.a === \"03级二班\") {\n this.setState({\n children_data: [\n { a: \"杨过\", b: \"03级二班\", c: \"外语系\", key: \"1\" },\n { a: \"小龙女\", b: \"03级二班\", c: \"外语系\", key: \"2\" },\n { a: \"傻姑\", b: \"03级二班\", c: \"外语系\", key: \"3\" }\n ]\n });\n } else if (record.a === \"05级三班\") {\n this.setState({\n children_data: [{ a: \"金圣叹\", b: \"05级三班\", c: \"美术系\", key: \"1\" }]\n });\n }\n };\n\n render() {\n return (\n \n
标题: 我是主表
}\n />\n 标题: 我是子表
}\n />\n \n );\n }\n}\n\n\n", "desc": " 主表点击子表联动" }, { "example": _react2['default'].createElement(Demo8, null), "title": " 表格+分页", "code": "/**\n *\n * @title 表格+分页\n * @description 点击分页联动表格\n *\n *import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, Pagination } from 'tinper-bee';\n\nconst columns8 = [\n { title: \"姓名\", dataIndex: \"a\", key: \"a\", width: 100 },\n { id: \"123\", title: \"性别\", dataIndex: \"b\", key: \"b\", width: 100 },\n { title: \"年龄\", dataIndex: \"c\", key: \"c\", width: 200 },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst pageData = {\n 1: [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n ],\n 2: [\n { a: \"芙蓉姐姐\", b: \"女\", c: 23, d: \"大侠\", key: \"1\" },\n { a: \"芙蓉妹妹\", b: \"女\", c: 23, d: \"内行\", key: \"2\" }\n ]\n};\n\nclass Demo8 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: pageData[1],\n activePage: 1\n };\n }\n\n handleSelect(eventKey) {\n this.setState({\n data: pageData[eventKey],\n activePage: eventKey\n });\n }\n\n render() {\n return (\n \n );\n }\n}\n\n", "desc": " 点击分页联动表格" }, { "example": _react2['default'].createElement(Demo9, null), "title": " 表格+搜索", "code": "/**\n *\n * @title 表格+搜索\n * @description 搜索刷新表格数据\n *\n *\n * import {Table} from 'tinper-bee';\n */\n\nimport React, { Component } from \"react\";\n\nimport { Table, FormControl, InputGroup, Icon } from 'tinper-bee';\n\nclass Search extends Component {\n state = {\n searchValue: \"\",\n empty: false\n };\n\n /**\n * 搜索\n */\n handleSearch = () => {\n let { onSearch } = this.props;\n this.setState({\n empty: true\n });\n onSearch && onSearch(this.state.searchValue);\n };\n\n /**\n * 捕获回车\n * @param e\n */\n handleKeyDown = e => {\n if (e.keyCode === 13) {\n this.handleSearch();\n }\n };\n\n /**\n * 输入框改变\n * @param e\n */\n handleChange = e => {\n this.setState({\n searchValue: e.target.value\n });\n };\n\n /**\n * 清空输入框\n */\n emptySearch = () => {\n let { onEmpty } = this.props;\n this.setState({\n searchValue: \"\",\n empty: false\n });\n onEmpty && onEmpty();\n };\n\n render() {\n return (\n \n \n {this.state.empty ? (\n \n ) : null}\n\n \n \n \n \n );\n }\n}\n\nconst columns9 = [\n {\n title: \"姓名\",\n dataIndex: \"a\",\n key: \"a\",\n width: 100\n },\n {\n title: \"性别\",\n dataIndex: \"b\",\n key: \"b\",\n width: 100\n },\n {\n title: \"年龄\",\n dataIndex: \"c\",\n key: \"c\",\n width: 200\n },\n {\n title: \"武功级别\",\n dataIndex: \"d\",\n key: \"d\"\n }\n];\n\nconst userData = [\n { a: \"杨过\", b: \"男\", c: 30, d: \"内行\", key: \"2\" },\n { a: \"令狐冲\", b: \"男\", c: 41, d: \"大侠\", key: \"1\" },\n { a: \"郭靖\", b: \"男\", c: 25, d: \"大侠\", key: \"3\" }\n];\n\nclass Demo9 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n data: userData\n };\n }\n\n handleSearch = value => {\n if (value === \"\") {\n return this.setState({\n data: userData\n });\n }\n let regExp = new RegExp(value, \"ig\");\n let data = userData.filter(item => regExp.test(item.a));\n this.setState({\n data\n });\n };\n\n handleEmpty = () => {\n this.setState({\n data: userData\n });\n };\n\n render() {\n return (\n \n );\n }\n}\n\n\n", "desc": " 搜索刷新表格数据" }];
var Demo = function (_Component) {
_inherits(Demo, _Component);
@@ -12868,6 +12868,10 @@
var _beeButton2 = _interopRequireDefault(_beeButton);
+ var _beeIcon = __webpack_require__(118);
+
+ var _beeIcon2 = _interopRequireDefault(_beeIcon);
+
var _multiSelect = __webpack_require__(124);
var _multiSelect2 = _interopRequireDefault(_multiSelect);
@@ -12924,7 +12928,7 @@
var data13 = [{ a: "杨过", b: "男", c: 30, d: "内行", key: "2" }, { a: "令狐冲", b: "男", c: 41, d: "大侠", key: "1" }, { a: "郭靖", b: "男", c: 25, d: "大侠", key: "3" }];
var data13_1 = [{ a: "杨过", b: "男", c: 30, d: "内行", key: "2" }, { a: "杨过", b: "男", c: 30, d: "内行", key: "22" }, { a: "杨过", b: "男", c: 30, d: "内行", key: "222" }, { a: "令狐冲", b: "男", c: 41, d: "大侠", key: "1" }, { a: "郭靖", b: "男", c: 25, d: "大侠", key: "3" }];
//拼接成复杂功能的table组件不能在render中定义,需要像此例子声明在组件的外侧,不然操作state会导致功能出现异常
- var ComplexTable = (0, _multiSelect2["default"])((0, _sum2["default"])((0, _sort2["default"])(_src2["default"])));
+ var ComplexTable = (0, _multiSelect2["default"])((0, _sum2["default"])((0, _sort2["default"])(_src2["default"], _beeIcon2["default"])), _beeCheckbox2["default"]);
var Demo13 = function (_Component) {
_inherits(Demo13, _Component);
@@ -13022,7 +13026,7 @@
/* 124 */
/***/ (function(module, exports, __webpack_require__) {
- "use strict";
+ 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
@@ -13030,17 +13034,13 @@
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
- exports["default"] = multiSelect;
+ exports['default'] = multiSelect;
var _react = __webpack_require__(4);
var _react2 = _interopRequireDefault(_react);
- var _beeCheckbox = __webpack_require__(121);
-
- var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -13052,6 +13052,20 @@
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+ function indexOf(array, val) {
+ for (var i = 0; i < array.length; i++) {
+ if (array[i] === val) return i;
+ }
+ return -1;
+ };
+
+ function remove(array, val) {
+ var index = indexOf(array, val);
+ if (index > -1) {
+ array.splice(index, 1);
+ }
+ };
+
/**
* multiSelect={
* type--默认值为checkbox
@@ -13060,26 +13074,14 @@
* getSelectedDataFunc--function,能获取到选中的数据
* 使用全选时得注意,data中的key值一定要是唯一值
*/
- function multiSelect(Table) {
+ function multiSelect(Table, Checkbox) {
var _class, _temp, _initialiseProps;
- Array.prototype.indexOf = function (val) {
- for (var i = 0; i < this.length; i++) {
- if (this[i] == val) return i;
- }
- return -1;
- };
- Array.prototype.remove = function (val) {
- var index = this.indexOf(val);
- if (index > -1) {
- this.splice(index, 1);
- }
- };
return _temp = _class = function (_Component) {
- _inherits(multiSelect, _Component);
+ _inherits(MultiSelect, _Component);
- function multiSelect(props) {
- _classCallCheck(this, multiSelect);
+ function MultiSelect(props) {
+ _classCallCheck(this, MultiSelect);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -13094,11 +13096,11 @@
return _this;
}
- multiSelect.prototype.componentDidMount = function componentDidMount() {
+ MultiSelect.prototype.componentDidMount = function componentDidMount() {
this.setState(this.initCheckedObj(this.props));
};
- multiSelect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ MultiSelect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
var props = this.props,
selectDisabled = props.selectDisabled,
selectedRow = props.selectedRow,
@@ -13120,7 +13122,7 @@
}
};
- multiSelect.prototype.renderColumnsMultiSelect = function renderColumnsMultiSelect(columns) {
+ MultiSelect.prototype.renderColumnsMultiSelect = function renderColumnsMultiSelect(columns) {
var _this2 = this;
var data = this.state.data;
@@ -13143,8 +13145,8 @@
}
}
var defaultColumns = [{
- title: _react2["default"].createElement(_beeCheckbox2["default"], {
- className: "table-checkbox",
+ title: _react2['default'].createElement(Checkbox, {
+ className: 'table-checkbox',
checked: this.state.checkedAll,
indeterminate: indeterminate_bool && !this.state.checkedAll,
onChange: this.onAllCheckChange
@@ -13155,8 +13157,8 @@
render: function render(text, record, index) {
var rowKey = record["key"] ? record["key"] : _this2.getRowKey(record, i);
var bool = checkedObj.hasOwnProperty(rowKey);
- return _react2["default"].createElement(_beeCheckbox2["default"], {
- className: "table-checkbox",
+ return _react2['default'].createElement(Checkbox, {
+ className: 'table-checkbox',
checked: checkedObj[rowKey],
disabled: !bool,
onClick: _this2.handleClick,
@@ -13169,16 +13171,16 @@
return columns;
};
- multiSelect.prototype.render = function render() {
+ MultiSelect.prototype.render = function render() {
var _this3 = this;
var columns = this.renderColumnsMultiSelect(this.props.columns).concat();
- return _react2["default"].createElement(Table, _extends({ ref: function ref(table_ref) {
+ return _react2['default'].createElement(Table, _extends({ ref: function ref(table_ref) {
_this3.table_ref = table_ref;
} }, this.props, { columns: columns }));
};
- return multiSelect;
+ return MultiSelect;
}(_react.Component), _initialiseProps = function _initialiseProps() {
var _this4 = this;
@@ -13270,7 +13272,7 @@
var rowKey = record["key"] ? record["key"] : _this4.getRowKey(record, i);
if (checkedObj[rowKey]) {
- selIds.remove(id);
+ remove(selIds, id);
} else {
selIds.push(id);
}
@@ -13298,7 +13300,7 @@
};
}, _temp;
}
- module.exports = exports["default"];
+ module.exports = exports['default'];
/***/ }),
/* 125 */
@@ -13318,10 +13320,6 @@
var _react2 = _interopRequireDefault(_react);
- var _beeIcon = __webpack_require__(118);
-
- var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -13335,13 +13333,14 @@
/**
* 参数:prefixCls,默认bee-table,用于设置图标的样式
* @param {*} Table
+ * @param {*} Icon
*/
- function sort(Table) {
+ function sort(Table, Icon) {
return function (_Component) {
- _inherits(Demo11, _Component);
+ _inherits(SortTable, _Component);
- function Demo11(props) {
- _classCallCheck(this, Demo11);
+ function SortTable(props) {
+ _classCallCheck(this, SortTable);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -13393,7 +13392,7 @@
return _this;
}
- Demo11.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ SortTable.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
if (nextProps.data !== this.props.data) {
this.setState({
sortOrder: "",
@@ -13403,7 +13402,7 @@
}
};
- Demo11.prototype.renderColumnsDropdown = function renderColumnsDropdown(columns) {
+ SortTable.prototype.renderColumnsDropdown = function renderColumnsDropdown(columns) {
var _this2 = this;
var sortOrder = this.state.sortOrder;
@@ -13427,7 +13426,7 @@
return _this2.toggleSortOrder("ascend", column);
}
},
- _react2["default"].createElement(_beeIcon2["default"], { type: "uf-triangle-up" })
+ _react2["default"].createElement(Icon, { type: "uf-triangle-up" })
),
_react2["default"].createElement(
"span",
@@ -13438,7 +13437,7 @@
return _this2.toggleSortOrder("descend", column);
}
},
- _react2["default"].createElement(_beeIcon2["default"], { type: "uf-triangle-down" })
+ _react2["default"].createElement(Icon, { type: "uf-triangle-down" })
)
);
}
@@ -13452,12 +13451,12 @@
});
};
- Demo11.prototype.render = function render() {
+ SortTable.prototype.render = function render() {
var columns = this.renderColumnsDropdown(this.props.columns.concat());
return _react2["default"].createElement(Table, _extends({}, this.props, { columns: columns, data: this.state.data }));
};
- return Demo11;
+ return SortTable;
}(_react.Component);
}
module.exports = exports["default"];
@@ -13679,10 +13678,6 @@
value: true
});
- var _beeButton = __webpack_require__(62);
-
- var _beeButton2 = _interopRequireDefault(_beeButton);
-
var _react = __webpack_require__(4);
var _react2 = _interopRequireDefault(_react);
@@ -13699,11 +13694,19 @@
var _beeTooltip2 = _interopRequireDefault(_beeTooltip);
+ var _beeButton = __webpack_require__(62);
+
+ var _beeButton2 = _interopRequireDefault(_beeButton);
+
+ var _beeForm = __webpack_require__(137);
+
+ var _beeForm2 = _interopRequireDefault(_beeForm);
+
var _beeIcon = __webpack_require__(118);
var _beeIcon2 = _interopRequireDefault(_beeIcon);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
@@ -13711,15 +13714,19 @@
var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
- var _beeSelect = __webpack_require__(139);
+ var _beeDatepicker = __webpack_require__(151);
+
+ var _beeDatepicker2 = _interopRequireDefault(_beeDatepicker);
+
+ var _beeSelect = __webpack_require__(418);
var _beeSelect2 = _interopRequireDefault(_beeSelect);
- var _InputRender = __webpack_require__(171);
+ var _InputRender = __webpack_require__(450);
var _InputRender2 = _interopRequireDefault(_InputRender);
- var _DateRender = __webpack_require__(184);
+ var _DateRender = __webpack_require__(451);
var _DateRender2 = _interopRequireDefault(_DateRender);
@@ -13744,6 +13751,10 @@
*
*/
+ var InputRender = (0, _InputRender2["default"])(_beeForm2["default"], _beeFormControl2["default"], _beeIcon2["default"]);
+ var DateRender = (0, _DateRender2["default"])(_beeDatepicker2["default"], _beeIcon2["default"]);
+ var SelectRender = (0, _SelectRender2["default"])(_beeSelect2["default"], _beeIcon2["default"]);
+
var format = "YYYY-MM-DD";
var format2 = "YYYY-MM";
var format3 = "YYYY-MM-DD HH:mm:ss";
@@ -13892,7 +13903,7 @@
key: "name",
width: "150px",
render: function render(text, record, index) {
- return _react2["default"].createElement(_InputRender2["default"], {
+ return _react2["default"].createElement(InputRender, {
name: "name",
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D",
value: text,
@@ -13915,7 +13926,7 @@
key: "number",
width: "150px",
render: function render(text, record, index) {
- return _react2["default"].createElement(_InputRender2["default"], {
+ return _react2["default"].createElement(InputRender, {
format: "Currency",
name: "name",
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D",
@@ -13950,7 +13961,7 @@
width: "200px",
render: function render(text, record, index) {
return _react2["default"].createElement(
- _SelectRender2["default"],
+ SelectRender,
{
dataSource: dataSource,
isclickTrigger: true,
@@ -13985,7 +13996,7 @@
key: "datepicker",
width: "200px",
render: function render(text, record, index) {
- return _react2["default"].createElement(_DateRender2["default"], {
+ return _react2["default"].createElement(DateRender, {
value: text,
isclickTrigger: true,
format: format,
@@ -14000,7 +14011,7 @@
key: "MonthPicker",
width: "200px",
render: function render(text, record, index) {
- return _react2["default"].createElement(_DateRender2["default"], {
+ return _react2["default"].createElement(DateRender, {
value: text,
type: "MonthPicker",
isclickTrigger: true,
@@ -15341,6882 +15352,11 @@
value: true
});
- var _FormControl = __webpack_require__(138);
-
- var _FormControl2 = _interopRequireDefault(_FormControl);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- exports["default"] = _FormControl2["default"];
- module.exports = exports['default'];
-
-/***/ }),
-/* 138 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _beeIcon = __webpack_require__(118);
-
- var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- componentClass: _propTypes2["default"].oneOfType([_propTypes2["default"].element, _propTypes2["default"].string]),
- type: _propTypes2["default"].string,
- size: _propTypes2["default"].oneOf(['sm', 'md', 'lg']),
- onSearch: _propTypes2["default"].func,
- onChange: _propTypes2["default"].func
- };
-
- var defaultProps = {
- componentClass: 'input',
- clsPrefix: 'u-form-control',
- type: 'text',
- size: 'md'
- };
-
- var FormControl = function (_React$Component) {
- _inherits(FormControl, _React$Component);
-
- function FormControl(props) {
- _classCallCheck(this, FormControl);
-
- var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));
-
- _this.handleSearchChange = function (e) {
- var onChange = _this.props.onChange;
-
- var value = _this.input.value;
- _this.setState({
- value: value,
- showSearch: value == null || value === ""
- });
- if (onChange) {
- onChange(value, e);
- }
- };
-
- _this.handleChange = function (e) {
- var onChange = _this.props.onChange;
-
- var value = _this.input.value;
-
- if (onChange) {
- onChange(value, e);
- }
- };
-
- _this.clearValue = function () {
- var onChange = _this.props.onChange;
-
- _this.setState({ showSearch: true, value: "" });
- if (onChange) {
- onChange("");
- }
- _this.input.focus();
- };
-
- _this.handleKeyDown = function (e) {
- var _this$props = _this.props,
- onSearch = _this$props.onSearch,
- value = _this$props.value,
- type = _this$props.type;
-
- if (e.keyCode === 13 && type === "search") {
- if (onSearch) {
- onSearch(value);
- }
- }
- };
-
- _this.renderInput = function () {
- var _this$props2 = _this.props,
- Component = _this$props2.componentClass,
- type = _this$props2.type,
- className = _this$props2.className,
- size = _this$props2.size,
- clsPrefix = _this$props2.clsPrefix,
- value = _this$props2.value,
- onChange = _this$props2.onChange,
- onSearch = _this$props2.onSearch,
- others = _objectWithoutProperties(_this$props2, ['componentClass', 'type', 'className', 'size', 'clsPrefix', 'value', 'onChange', 'onSearch']);
- // input[type="file"] 不应该有类名 .form-control.
-
-
- var classes = {};
- if (size) {
- classes['' + size] = true;
- }
-
- var classNames = void 0;
- if (type !== 'file') {
- classNames = (0, _classnames2["default"])(clsPrefix, classes);
- }
-
- return _react2["default"].createElement(Component, _extends({}, others, {
- type: type,
- ref: function ref(el) {
- return _this.input = el;
- },
- value: value,
- onChange: _this.handleChange,
- className: (0, _classnames2["default"])(className, classNames)
- }));
- };
-
- _this.renderSearch = function () {
- var _this$props3 = _this.props,
- Component = _this$props3.componentClass,
- type = _this$props3.type,
- className = _this$props3.className,
- size = _this$props3.size,
- clsPrefix = _this$props3.clsPrefix,
- value = _this$props3.value,
- onChange = _this$props3.onChange,
- onSearch = _this$props3.onSearch,
- others = _objectWithoutProperties(_this$props3, ['componentClass', 'type', 'className', 'size', 'clsPrefix', 'value', 'onChange', 'onSearch']);
- // input[type="file"] 不应该有类名 .form-control.
-
-
- var classes = {};
- if (size) {
- classes['' + size] = true;
- }
- classes[clsPrefix + '-search'] = true;
-
- if (type === "search") {
- return _react2["default"].createElement(
- 'div',
- { className: (0, _classnames2["default"])(clsPrefix + '-search', clsPrefix + '-affix-wrapper', className) },
- _react2["default"].createElement(Component, _extends({}, others, {
- type: type,
- ref: function ref(el) {
- return _this.input = el;
- },
- onChange: _this.handleSearchChange,
- value: value,
- onKeyDown: _this.handleKeyDown,
- className: (0, _classnames2["default"])(className, clsPrefix, classes)
- })),
- _react2["default"].createElement(
- 'div',
- { className: clsPrefix + '-suffix' },
- _this.state.showSearch ? _react2["default"].createElement(_beeIcon2["default"], { type: 'uf-search' }) : _react2["default"].createElement(_beeIcon2["default"], { onClick: _this.clearValue, type: 'uf-close-c' })
- )
- );
- }
- };
-
- _this.state = {
- showSearch: !props.value,
- value: props.value == null ? "" : props.value
- };
- _this.input = {};
- return _this;
- }
-
- FormControl.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProp) {
- if (nextProp.value !== this.state.value) {
- this.setState({ value: nextProp.value });
- }
- };
-
- FormControl.prototype.render = function render() {
-
- if (this.props.type === "search") {
- return this.renderSearch();
- }
-
- return this.renderInput();
- };
-
- return FormControl;
- }(_react2["default"].Component);
-
- FormControl.propTypes = propTypes;
- FormControl.defaultProps = defaultProps;
-
- exports["default"] = FormControl;
- module.exports = exports['default'];
-
-/***/ }),
-/* 139 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _Select = __webpack_require__(140);
-
- var _Select2 = _interopRequireDefault(_Select);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- exports["default"] = _Select2["default"];
- module.exports = exports['default'];
-
-/***/ }),
-/* 140 */
-/***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _RcSelect = __webpack_require__(141);
-
- var _RcSelect2 = _interopRequireDefault(_RcSelect);
-
- var _Option = __webpack_require__(170);
-
- var _Option2 = _interopRequireDefault(_Option);
-
- var _OptGroup = __webpack_require__(157);
-
- var _OptGroup2 = _interopRequireDefault(_OptGroup);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var SelectContext = {
- antLocale: {
- Select: _propTypes2["default"].any
- }
- };
-
- var defaultProps = {
- clsPrefix: "u-select",
- showSearch: false,
- transitionName: "slide-up",
- choiceTransitionName: "zoom"
- };
-
- var propTypes = {
- clsPrefix: _propTypes2["default"].string,
- className: _propTypes2["default"].string,
- value: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].any]),
- defaultValue: _propTypes2["default"].oneOfType([_propTypes2["default"].node, _propTypes2["default"].array, _propTypes2["default"].any]),
- size: _propTypes2["default"].oneOf(["default", "lg", "sm"]),
- combobox: _propTypes2["default"].bool,
- notFoundContent: _propTypes2["default"].oneOfType([_propTypes2["default"].node, _propTypes2["default"].array, _propTypes2["default"].any]),
- showSearch: _propTypes2["default"].bool,
- transitionName: _propTypes2["default"].string,
- choiceTransitionName: _propTypes2["default"].string,
- multiple: _propTypes2["default"].bool,
- allowClear: _propTypes2["default"].bool,
- filterOption: _propTypes2["default"].oneOfType([_propTypes2["default"].bool, _propTypes2["default"].func]),
- tags: _propTypes2["default"].bool,
- onSelect: _propTypes2["default"].func,
- onDeselect: _propTypes2["default"].func,
- onSearch: _propTypes2["default"].func,
- placeholder: _propTypes2["default"].string,
- dropdownMatchSelectWidth: _propTypes2["default"].bool,
- optionFilterProp: _propTypes2["default"].string,
- optionLabelProp: _propTypes2["default"].string,
- disabled: _propTypes2["default"].bool,
- defaultActiveFirstOption: _propTypes2["default"].bool,
- labelInValue: _propTypes2["default"].bool,
- getPopupContainer: _propTypes2["default"].func,
- style: _propTypes2["default"].object,
- dropdownStyle: _propTypes2["default"].object,
- dropdownMenuStyle: _propTypes2["default"].object,
- onChange: _propTypes2["default"].func,
- scrollToEnd: _propTypes2["default"].func
- };
-
- var Select = function (_Component) {
- _inherits(Select, _Component);
-
- function Select(props) {
- _classCallCheck(this, Select);
-
- return _possibleConstructorReturn(this, _Component.call(this, props));
- }
-
- Select.prototype.render = function render() {
- var _classNames;
-
- var _props = this.props,
- clsPrefix = _props.clsPrefix,
- _props$className = _props.className,
- className = _props$className === undefined ? "" : _props$className,
- size = _props.size,
- combobox = _props.combobox,
- showSearch = _props.showSearch,
- data = _props.data;
- var _props2 = this.props,
- _props2$notFoundConte = _props2.notFoundContent,
- notFoundContent = _props2$notFoundConte === undefined ? "Not Found" : _props2$notFoundConte,
- optionLabelProp = _props2.optionLabelProp;
-
-
- var cls = (0, _classnames2["default"])((_classNames = {}, _defineProperty(_classNames, clsPrefix + "-lg", size === "lg"), _defineProperty(_classNames, clsPrefix + "-sm", size === "sm"), _defineProperty(_classNames, clsPrefix + "-show-search", showSearch), _classNames), className);
-
- var antLocale = this.context.antLocale;
-
- if (antLocale && antLocale.Select) {
- notFoundContent = "notFoundContent" in this.props ? notFoundContent : antLocale.Select.notFoundContent;
- }
-
- if (combobox) {
- notFoundContent = null;
- // children 带 dom 结构时,无法填入输入框
- optionLabelProp = optionLabelProp || "value";
- }
- if (data) {
- data.map(function (item) {
- return _react2["default"].createElement(
- _Option2["default"],
- { value: item.value },
- item.key
- );
- });
- }
- return data ? _react2["default"].createElement(
- _RcSelect2["default"],
- _extends({}, this.props, {
- className: cls,
- optionLabelProp: optionLabelProp || "children",
- notFoundContent: notFoundContent
- }),
- data.map(function (item) {
- return _react2["default"].createElement(
- _Option2["default"],
- { key: item.value, value: item.value, disabled: item.disabled ? true : false },
- item.key
- );
- })
- ) : _react2["default"].createElement(_RcSelect2["default"], _extends({}, this.props, {
- className: cls,
- optionLabelProp: optionLabelProp || "children",
- notFoundContent: notFoundContent
- }));
- };
-
- return Select;
- }(_react.Component);
-
- Select.context = SelectContext;
- Select.propTypes = propTypes;
- Select.defaultProps = defaultProps;
- Select.Option = _Option2["default"];
- Select.OptGroup = _OptGroup2["default"];
-
- exports["default"] = Select;
- module.exports = exports["default"];
-
-/***/ }),
-/* 141 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _beeMenus = __webpack_require__(142);
-
- var _reactDom = __webpack_require__(12);
-
- var _reactDom2 = _interopRequireDefault(_reactDom);
-
- var _tinperBeeCore = __webpack_require__(26);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _OptGroup = __webpack_require__(157);
-
- var _OptGroup2 = _interopRequireDefault(_OptGroup);
-
- var _warning = __webpack_require__(31);
-
- var _warning2 = _interopRequireDefault(_warning);
-
- var _componentClasses = __webpack_require__(46);
-
- var _componentClasses2 = _interopRequireDefault(_componentClasses);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _contains = __webpack_require__(76);
-
- var _contains2 = _interopRequireDefault(_contains);
-
- var _util = __webpack_require__(158);
-
- var _SelectTrigger = __webpack_require__(159);
-
- var _SelectTrigger2 = _interopRequireDefault(_SelectTrigger);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- //import FilterMixin from './FilterMixin';
-
- function noop() {}
-
- function filterFn(input, child) {
- return String((0, _util.getPropValue)(child, this.props.optionFilterProp)).indexOf(input) > -1;
- }
-
- function saveRef(name, component) {
- this[name] = component;
- }
-
- var valueObjectShape = void 0;
-
- if (_propTypes2["default"]) {
- valueObjectShape = _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].shape({
- key: _propTypes2["default"].string,
- label: _propTypes2["default"].node
- })]);
- }
-
- var propTypes = {
- defaultActiveFirstOption: _propTypes2["default"].bool,
- multiple: _propTypes2["default"].bool,
- filterOption: _propTypes2["default"].any,
- children: _propTypes2["default"].any,
- showSearch: _propTypes2["default"].bool,
- disabled: _propTypes2["default"].bool,
- allowClear: _propTypes2["default"].bool,
- showArrow: _propTypes2["default"].bool,
- tags: _propTypes2["default"].bool,
- clsPrefix: _propTypes2["default"].string,
- className: _propTypes2["default"].string,
- transitionName: _propTypes2["default"].string,
- optionLabelProp: _propTypes2["default"].string,
- optionFilterProp: _propTypes2["default"].string,
- animation: _propTypes2["default"].string,
- choiceTransitionName: _propTypes2["default"].string,
- onChange: _propTypes2["default"].func,
- onBlur: _propTypes2["default"].func,
- onFocus: _propTypes2["default"].func,
- onSelect: _propTypes2["default"].func,
- onSearch: _propTypes2["default"].func,
- placeholder: _propTypes2["default"].any,
- onDeselect: _propTypes2["default"].func,
- labelInValue: _propTypes2["default"].bool,
- value: _propTypes2["default"].oneOfType([valueObjectShape, _propTypes2["default"].arrayOf(valueObjectShape)]),
- defaultValue: _propTypes2["default"].oneOfType([valueObjectShape, _propTypes2["default"].arrayOf(valueObjectShape)]),
- dropdownStyle: _propTypes2["default"].object,
- maxTagTextLength: _propTypes2["default"].number,
- tokenSeparators: _propTypes2["default"].arrayOf(_propTypes2["default"].string)
- };
-
- var defaultProps = {
- clsPrefix: 'rc-select',
- filterOption: filterFn,
- defaultOpen: false,
- labelInValue: false,
- defaultActiveFirstOption: true,
- showSearch: true,
- allowClear: false,
- placeholder: '',
- defaultValue: [],
- onChange: noop,
- onFocus: noop,
- onBlur: noop,
- onSelect: noop,
- onSearch: noop,
- onDeselect: noop,
- showArrow: true,
- dropdownMatchSelectWidth: true,
- dropdownStyle: {},
- dropdownMenuStyle: {},
- optionFilterProp: 'value',
- optionLabelProp: 'value',
- notFoundContent: 'Not Found'
- };
-
- var RcSelect = function (_Component) {
- _inherits(RcSelect, _Component);
-
- //mixins: [FilterMixin],
-
- function RcSelect(props) {
- _classCallCheck(this, RcSelect);
-
- var _this2 = _possibleConstructorReturn(this, _Component.call(this, props));
-
- _this2.getInit = function (event) {
- var _this = _reactDom2["default"].findDOMNode(_this2);
- if (event.target && (0, _contains2["default"])(_this, event.target)) {
- if (_this2._focused) return;
- _this2._focused = true;
- _this2.updateFocusClassName();
- } else {
- if (!_this2._focused) return;
- _this2._focused = false;
- _this2.updateFocusClassName();
- }
- };
-
- _this2.onOutClick = function (event) {
- // this.clearBlurTime();
- _this2._focused = true;
- _this2.updateFocusClassName();
- _this2.props.onFocus(_this2.state.value);
- };
-
- var value = [];
- if ('value' in props) {
- value = (0, _util.toArray)(props.value);
- } else {
- value = (0, _util.toArray)(props.defaultValue);
- }
- value = _this2.addLabelToValue(props, value);
- value = _this2.addTitleToValue(props, value);
- var inputValue = '';
- if (props.combobox) {
- inputValue = value.length ? String(value[0].key) : '';
- }
- _this2.saveInputRef = saveRef.bind(_this2, 'inputInstance');
- _this2.saveInputMirrorRef = saveRef.bind(_this2, 'inputMirrorInstance');
- var open = props.open;
- if (open === undefined) {
- open = props.defaultOpen;
- }
- _this2.state = {
- value: value,
- inputValue: inputValue,
- open: open
- };
-
- _this2.filterOption = _this2.filterOption.bind(_this2);
- _this2.renderFilterOptions = _this2.renderFilterOptions.bind(_this2);
- _this2.renderFilterOptionsFromChildren = _this2.renderFilterOptionsFromChildren.bind(_this2);
- _this2.onInputChange = _this2.onInputChange.bind(_this2);
- _this2.onDropdownVisibleChange = _this2.onDropdownVisibleChange.bind(_this2);
-
- _this2.onKeyDown = _this2.onKeyDown.bind(_this2);
- _this2.onInputKeyDown = _this2.onInputKeyDown.bind(_this2);
- _this2.onMenuSelect = _this2.onMenuSelect.bind(_this2);
- _this2.onMenuDeselect = _this2.onMenuDeselect.bind(_this2);
- _this2.onArrowClick = _this2.onArrowClick.bind(_this2);
-
- _this2.onPlaceholderClick = _this2.onPlaceholderClick.bind(_this2);
- _this2.onOuterFocus = _this2.onOuterFocus.bind(_this2);
- _this2.onPopupFocus = _this2.onPopupFocus.bind(_this2);
- _this2.onOuterBlur = _this2.onOuterBlur.bind(_this2);
- _this2.onClearSelection = _this2.onClearSelection.bind(_this2);
-
- _this2.onChoiceAnimationLeave = _this2.onChoiceAnimationLeave.bind(_this2);
- _this2.getLabelBySingleValue = _this2.getLabelBySingleValue.bind(_this2);
- _this2.getValueByLabel = _this2.getValueByLabel.bind(_this2);
- _this2.getLabelFromOption = _this2.getLabelFromOption.bind(_this2);
- _this2.getLabelFromProps = _this2.getLabelFromProps.bind(_this2);
-
- _this2.getVLForOnChange = _this2.getVLForOnChange.bind(_this2);
- _this2.getLabelByValue = _this2.getLabelByValue.bind(_this2);
- _this2.getDropdownContainer = _this2.getDropdownContainer.bind(_this2);
- _this2.getPlaceholderElement = _this2.getPlaceholderElement.bind(_this2);
- _this2.getInputElement = _this2.getInputElement.bind(_this2);
-
- _this2.getInputDOMNode = _this2.getInputDOMNode.bind(_this2);
- _this2.getInputMirrorDOMNode = _this2.getInputMirrorDOMNode.bind(_this2);
- _this2.getPopupDOMNode = _this2.getPopupDOMNode.bind(_this2);
- _this2.getPopupMenuComponent = _this2.getPopupMenuComponent.bind(_this2);
- _this2.setOpenState = _this2.setOpenState.bind(_this2);
-
- _this2.setInputValue = _this2.setInputValue.bind(_this2);
- _this2.clearBlurTime = _this2.clearBlurTime.bind(_this2);
- _this2.clearAdjustTimer = _this2.clearAdjustTimer.bind(_this2);
- _this2.clearAdjustTimer = _this2.clearAdjustTimer.bind(_this2);
- _this2.updateFocusClassName = _this2.updateFocusClassName.bind(_this2);
-
- _this2.maybeFocus = _this2.maybeFocus.bind(_this2);
- _this2.addLabelToValue = _this2.addLabelToValue.bind(_this2);
- _this2.addTitleToValue = _this2.addTitleToValue.bind(_this2);
- _this2.removeSelected = _this2.removeSelected.bind(_this2);
- _this2.openIfHasChildren = _this2.openIfHasChildren.bind(_this2);
-
- _this2.fireChange = _this2.fireChange.bind(_this2);
- _this2.isChildDisabled = _this2.isChildDisabled.bind(_this2);
- _this2.tokenize = _this2.tokenize.bind(_this2);
- _this2.adjustOpenState = _this2.adjustOpenState.bind(_this2);
- _this2.renderTopControlNode = _this2.renderTopControlNode.bind(_this2);
- return _this2;
- }
-
- RcSelect.prototype.componentWillMount = function componentWillMount() {
- this.adjustOpenState();
- };
-
- RcSelect.prototype.componentDidMount = function componentDidMount() {
- if (this.props.autofocus) {
- this.onOuterFocus();
- }
- if (!this.props.autofocus) return;
- _reactDom2["default"].findDOMNode(this.refs.root).click();
- this.setState({
- open: false
- });
- };
-
- RcSelect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
-
- if ('value' in nextProps) {
- var value = (0, _util.toArray)(nextProps.value);
- value = this.addLabelToValue(nextProps, value);
- value = this.addTitleToValue(nextProps, value);
- this.setState({
- value: value
- });
- if (nextProps.combobox) {
- this.setState({
- inputValue: value.length ? this.getLabelFromProps(nextProps, value[0].key) : ''
- });
- }
- }
-
- if (this.props.autofocus) {
- this.onOuterFocus();
- }
- };
-
- RcSelect.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
- this.props = nextProps;
- this.state = nextState;
- this.adjustOpenState();
- };
-
- RcSelect.prototype.componentDidUpdate = function componentDidUpdate() {
- var state = this.state,
- props = this.props;
-
- if (state.open && (0, _util.isMultipleOrTags)(props)) {
- var inputNode = this.getInputDOMNode();
- var mirrorNode = this.getInputMirrorDOMNode();
- if (inputNode.value) {
- inputNode.style.width = '';
- inputNode.style.width = mirrorNode.clientWidth + 'px';
- } else {
- inputNode.style.width = '';
- }
- }
- };
-
- RcSelect.prototype.componentWillUnmount = function componentWillUnmount() {
- this.clearBlurTime();
- this.clearAdjustTimer();
- if (this.dropdownContainer) {
- _reactDom2["default"].unmountComponentAtNode(this.dropdownContainer);
- document.body.removeChild(this.dropdownContainer);
- this.dropdownContainer = null;
- }
- };
-
- RcSelect.prototype.filterOption = function filterOption(input, child) {
- if (!input) {
- return true;
- }
- var filterOption = this.props.filterOption;
- if (!filterOption) {
- return true;
- }
- if (child.props.disabled) {
- return false;
- }
- return filterOption.call(this, input, child);
- };
-
- RcSelect.prototype.renderFilterOptions = function renderFilterOptions(inputValue) {
- return this.renderFilterOptionsFromChildren(this.props.children, true, inputValue);
- };
-
- RcSelect.prototype.renderFilterOptionsFromChildren = function renderFilterOptionsFromChildren(children, showNotFound, iv) {
- var _this3 = this;
-
- var sel = [];
- var props = this.props;
- var inputValue = iv === undefined ? this.state.inputValue : iv;
- var childrenKeys = [];
- var tags = props.tags;
- _react2["default"].Children.forEach(children, function (child) {
- if (child.type === _OptGroup2["default"]) {
- var innerItems = _this3.renderFilterOptionsFromChildren(child.props.children, false);
- if (innerItems.length) {
- var label = child.props.label;
- var key = child.key;
- if (!key && typeof label === 'string') {
- key = label;
- } else if (!label && key) {
- label = key;
- }
- sel.push(_react2["default"].createElement(
- _beeMenus.ItemGroup,
- { key: key, title: label },
- innerItems
- ));
- }
- return;
- }
-
- // warning(
- // child.type === Option,
- // 'the children of `Select` should be `Select.Option` or `Select.OptGroup`, ' +
- // `instead of \`${child.type.name || child.type.displayName || child.type}\`.`
- // );
-
- var childValue = (0, _util.getValuePropValue)(child);
- if (_this3.filterOption(inputValue, child)) {
- sel.push(_react2["default"].createElement(_beeMenus.Item, _extends({
- style: _util.UNSELECTABLE_STYLE,
- attribute: _util.UNSELECTABLE_ATTRIBUTE,
- value: childValue,
- key: childValue
- }, child.props)));
- }
- if (tags && !child.props.disabled) {
- childrenKeys.push(childValue);
- }
- });
- if (tags) {
- // tags value must be string
- var value = this.state.value || [];
- value = value.filter(function (singleValue) {
- return childrenKeys.indexOf(singleValue.key) === -1 && (!inputValue || String(singleValue.key).indexOf(String(inputValue)) > -1);
- });
- sel = sel.concat(value.map(function (singleValue) {
- var key = singleValue.key;
- return _react2["default"].createElement(
- _beeMenus.Item,
- {
- style: _util.UNSELECTABLE_STYLE,
- attribute: _util.UNSELECTABLE_ATTRIBUTE,
- value: key,
- key: key
- },
- key
- );
- }));
- if (inputValue) {
- var notFindInputItem = sel.every(function (option) {
- return (0, _util.getValuePropValue)(option) !== inputValue;
- });
- if (notFindInputItem) {
- sel.unshift(_react2["default"].createElement(
- _beeMenus.Item,
- {
- style: _util.UNSELECTABLE_STYLE,
- attribute: _util.UNSELECTABLE_ATTRIBUTE,
- value: inputValue,
- key: inputValue
- },
- inputValue
- ));
- }
- }
- }
- if (!sel.length && showNotFound && props.notFoundContent) {
- sel = [_react2["default"].createElement(
- _beeMenus.Item,
- {
- style: _util.UNSELECTABLE_STYLE,
- attribute: _util.UNSELECTABLE_ATTRIBUTE,
- disabled: true,
- value: 'NOT_FOUND',
- key: 'NOT_FOUND'
- },
- props.notFoundContent
- )];
- }
- return sel;
- };
-
- RcSelect.prototype.onInputChange = function onInputChange(event) {
- var tokenSeparators = this.props.tokenSeparators;
-
- var val = event.target.value;
- if ((0, _util.isMultipleOrTags)(this.props) && tokenSeparators && (0, _util.includesSeparators)(val, tokenSeparators)) {
- var nextValue = this.tokenize(val);
- this.fireChange(nextValue);
- this.setOpenState(false, true);
- this.setInputValue('', false);
- return;
- }
- this.setInputValue(val);
- this.setState({
- open: true
- });
- if ((0, _util.isCombobox)(this.props)) {
- this.fireChange([{
- key: val
- }]);
- }
- };
-
- RcSelect.prototype.onDropdownVisibleChange = function onDropdownVisibleChange(open) {
- this.setOpenState(open);
- };
-
- // combobox ignore
-
-
- RcSelect.prototype.onKeyDown = function onKeyDown(event) {
- var props = this.props;
- if (props.disabled) {
- return;
- }
- var keyCode = event.keyCode;
- if (this.state.open && !this.getInputDOMNode()) {
- this.onInputKeyDown(event);
- } else if (keyCode === _tinperBeeCore.KeyCode.ENTER || keyCode === _tinperBeeCore.KeyCode.DOWN) {
- this.setOpenState(true);
- event.preventDefault();
- }
- };
-
- RcSelect.prototype.onInputKeyDown = function onInputKeyDown(event) {
- var props = this.props;
- if (props.disabled) {
- return;
- }
- var state = this.state;
- var keyCode = event.keyCode;
- if ((0, _util.isMultipleOrTags)(props) && !event.target.value && keyCode === _tinperBeeCore.KeyCode.BACKSPACE) {
- event.preventDefault();
- var value = state.value;
-
- if (value.length) {
- this.removeSelected(value[value.length - 1].key);
- }
- return;
- }
- if (keyCode === _tinperBeeCore.KeyCode.DOWN) {
- if (!state.open) {
- this.openIfHasChildren();
- event.preventDefault();
- event.stopPropagation();
- return;
- }
- } else if (keyCode === _tinperBeeCore.KeyCode.ESC) {
- if (state.open) {
- this.setOpenState(false);
- event.preventDefault();
- event.stopPropagation();
- }
- return;
- }
-
- if (state.open) {
- var menu = this.refs.trigger.getInnerMenu();
-
- if (menu && menu.rcMenu.onKeyDown(event)) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
- };
-
- RcSelect.prototype.onMenuSelect = function onMenuSelect(_ref) {
- var _this4 = this;
-
- var item = _ref.item;
-
- var value = this.state.value;
- var props = this.props;
- var selectedValue = (0, _util.getValuePropValue)(item);
- var selectedLabel = this.getLabelFromOption(item);
- var event = selectedValue;
- if (props.labelInValue) {
- event = {
- key: event,
- label: selectedLabel
- };
- }
- props.onSelect(event, item);
- var selectedTitle = item.props.title;
- if ((0, _util.isMultipleOrTags)(props)) {
- if ((0, _util.findIndexInValueByKey)(value, selectedValue) !== -1) {
- return;
- }
- value = value.concat([{
- key: selectedValue,
- label: selectedLabel,
- title: selectedTitle
- }]);
- } else {
- if ((0, _util.isCombobox)(props)) {
- this.skipAdjustOpen = true;
- this.clearAdjustTimer();
- this.skipAdjustOpenTimer = setTimeout(function () {
- _this4.skipAdjustOpen = false;
- }, 0);
- }
- if (value.length && value[0].key === selectedValue) {
- this.setOpenState(false, true);
- return;
- }
- value = [{
- key: selectedValue,
- label: selectedLabel,
- title: selectedTitle
- }];
- this.setOpenState(false, true);
- }
- this.fireChange(value);
- var inputValue = void 0;
- if ((0, _util.isCombobox)(props)) {
- inputValue = (0, _util.getPropValue)(item, props.optionLabelProp);
- } else {
- inputValue = '';
- }
- this.setInputValue(inputValue, false);
- };
-
- RcSelect.prototype.onMenuDeselect = function onMenuDeselect(_ref2) {
- var item = _ref2.item,
- domEvent = _ref2.domEvent;
-
- if (domEvent.type === 'click') {
- this.removeSelected((0, _util.getValuePropValue)(item));
- }
- this.setInputValue('', false);
- };
-
- RcSelect.prototype.onArrowClick = function onArrowClick(e) {
- e.stopPropagation();
- if (!this.props.disabled) {
- this.setOpenState(!this.state.open, true);
- }
- };
-
- RcSelect.prototype.onPlaceholderClick = function onPlaceholderClick() {
- if (this.getInputDOMNode()) {
- this.getInputDOMNode().focus();
- }
- };
-
- RcSelect.prototype.onOuterFocus = function onOuterFocus(event) {
- this.clearBlurTime();
- this._focused = true;
- this.updateFocusClassName();
- this.props.onFocus(this.state.value);
- };
-
- RcSelect.prototype.onPopupFocus = function onPopupFocus() {
- // fix ie scrollbar, focus element again
- this.maybeFocus(true, true);
- };
-
- RcSelect.prototype.onOuterBlur = function onOuterBlur() {
- var _this5 = this;
-
- this.blurTimer = setTimeout(function () {
- _this5._focused = false;
- _this5.updateFocusClassName();
- var props = _this5.props;
- var value = _this5.state.value;
- var inputValue = _this5.state.inputValue;
-
- if ((0, _util.isSingleMode)(props) && props.showSearch && inputValue && props.defaultActiveFirstOption) {
- var options = _this5._options || [];
- if (options.length) {
- var firstOption = (0, _util.findFirstMenuItem)(options);
- if (firstOption) {
- value = [{
- key: firstOption.key,
- label: _this5.getLabelFromOption(firstOption)
- }];
- _this5.fireChange(value);
- }
- }
- } else if ((0, _util.isMultipleOrTags)(props) && inputValue) {
- // why not use setState?
- _this5.state.inputValue = _this5.getInputDOMNode().value = '';
- }
- //todu 返回数组对象
- // props.onBlur(this.getVLForOnChange(value));
- props.onBlur(_this5.state.value);
- }, 10);
- };
-
- RcSelect.prototype.onClearSelection = function onClearSelection(event) {
- var props = this.props;
- var state = this.state;
- if (props.disabled) {
- return;
- }
- var inputValue = state.inputValue,
- value = state.value;
-
- event.stopPropagation();
- if (inputValue || value.length) {
- if (value.length) {
- this.fireChange([]);
- }
- this.setOpenState(false, true);
- if (inputValue) {
- this.setInputValue('');
- }
- }
- };
-
- RcSelect.prototype.onChoiceAnimationLeave = function onChoiceAnimationLeave() {
- this.refs.trigger.refs.trigger.forcePopupAlign();
- };
-
- RcSelect.prototype.getLabelBySingleValue = function getLabelBySingleValue(children, value) {
- var _this6 = this;
-
- if (value === undefined) {
- return null;
- }
- var label = null;
- _react2["default"].Children.forEach(children, function (child) {
- if (child.type === _OptGroup2["default"]) {
- var maybe = _this6.getLabelBySingleValue(child.props.children, value);
- if (maybe !== null) {
- label = maybe;
- }
- } else if ((0, _util.getValuePropValue)(child) === value) {
- label = _this6.getLabelFromOption(child);
- }
- });
- return label;
- };
-
- RcSelect.prototype.getValueByLabel = function getValueByLabel(children, label) {
- var _this7 = this;
-
- if (label === undefined) {
- return null;
- }
- var value = null;
- _react2["default"].Children.forEach(children, function (child) {
- if (child.type === _OptGroup2["default"]) {
- var maybe = _this7.getValueByLabel(child.props.children, label);
- if (maybe !== null) {
- value = maybe;
- }
- } else if ((0, _util.toArray)(_this7.getLabelFromOption(child)).join('') === label) {
- value = (0, _util.getValuePropValue)(child);
- }
- });
- return value;
- };
-
- RcSelect.prototype.getLabelFromOption = function getLabelFromOption(child) {
- return (0, _util.getPropValue)(child, this.props.optionLabelProp);
- };
-
- RcSelect.prototype.getLabelFromProps = function getLabelFromProps(props, value) {
- return this.getLabelByValue(props.children, value);
- };
-
- RcSelect.prototype.getVLForOnChange = function getVLForOnChange(vls_) {
- var vls = vls_;
- if (vls !== undefined) {
- if (!this.props.labelInValue) {
- vls = vls.map(function (v) {
- return v.key;
- });
- } else {
- vls = vls.map(function (vl) {
- return { key: vl.key, label: vl.label };
- });
- }
- return (0, _util.isMultipleOrTags)(this.props) ? vls : vls[0];
- }
- return vls;
- };
-
- RcSelect.prototype.getLabelByValue = function getLabelByValue(children, value) {
- var label = this.getLabelBySingleValue(children, value);
- if (label === null) {
- return value;
- }
- return label;
- };
-
- RcSelect.prototype.getDropdownContainer = function getDropdownContainer() {
- if (!this.dropdownContainer) {
- this.dropdownContainer = document.createElement('div');
- document.body.appendChild(this.dropdownContainer);
- }
- return this.dropdownContainer;
- };
-
- RcSelect.prototype.getPlaceholderElement = function getPlaceholderElement() {
- var props = this.props,
- state = this.state;
-
- var hidden = false;
- if (state.inputValue) {
- hidden = true;
- }
- if (state.value.length) {
- hidden = true;
- }
- if ((0, _util.isCombobox)(props) && state.value.length === 1 && !state.value[0].key) {
- hidden = false;
- }
- var placeholder = props.placeholder;
- if (placeholder) {
- return _react2["default"].createElement(
- 'div',
- _extends({
- onMouseDown: _util.preventDefaultEvent,
- style: _extends({
- display: hidden ? 'none' : 'block'
- }, _util.UNSELECTABLE_STYLE)
- }, _util.UNSELECTABLE_ATTRIBUTE, {
- onClick: this.onPlaceholderClick,
- className: props.clsPrefix + '-selection-placeholder'
- }),
- placeholder
- );
- }
- return null;
- };
-
- RcSelect.prototype.getInputElement = function getInputElement() {
- var props = this.props;
- return _react2["default"].createElement(
- 'div',
- { className: props.clsPrefix + '-search-field-wrap' },
- _react2["default"].createElement('input', {
- ref: this.saveInputRef,
- onChange: this.onInputChange,
- onKeyDown: this.onInputKeyDown,
- value: this.state.inputValue,
- disabled: props.disabled,
- className: props.clsPrefix + '-search-field'
- }),
- _react2["default"].createElement(
- 'span',
- {
- ref: this.saveInputMirrorRef,
- className: props.clsPrefix + '-search-field-mirror'
- },
- this.state.inputValue
- )
- );
- };
-
- RcSelect.prototype.getInputDOMNode = function getInputDOMNode() {
- return this.inputInstance;
- };
-
- RcSelect.prototype.getInputMirrorDOMNode = function getInputMirrorDOMNode() {
- return this.inputMirrorInstance;
- };
-
- RcSelect.prototype.getPopupDOMNode = function getPopupDOMNode() {
- return this.refs.trigger.getPopupDOMNode();
- };
-
- RcSelect.prototype.getPopupMenuComponent = function getPopupMenuComponent() {
- return this.refs.trigger.getInnerMenu();
- };
-
- RcSelect.prototype.setOpenState = function setOpenState(open, needFocus) {
- var _this8 = this;
-
- var props = this.props,
- state = this.state;
-
- if (state.open === open) {
- this.maybeFocus(open, needFocus);
- return;
- }
- var nextState = {
- open: open
- };
- // clear search input value when open is false in singleMode.
- if (!open && (0, _util.isSingleMode)(props) && props.showSearch) {
- this.setInputValue('');
- }
- if (!open) {
- this.maybeFocus(open, needFocus);
- }
- this.setState(nextState, function () {
- if (open) {
- _this8.maybeFocus(open, needFocus);
- }
- });
- };
-
- RcSelect.prototype.setInputValue = function setInputValue(inputValue) {
- var fireSearch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
- this.setState({
- inputValue: inputValue
- });
- if (fireSearch) {
- this.props.onSearch(inputValue);
- }
- };
-
- RcSelect.prototype.clearBlurTime = function clearBlurTime() {
- if (this.blurTimer) {
- clearTimeout(this.blurTimer);
- this.blurTimer = null;
- }
- };
-
- RcSelect.prototype.clearAdjustTimer = function clearAdjustTimer() {
- if (this.skipAdjustOpenTimer) {
- clearTimeout(this.skipAdjustOpenTimer);
- this.skipAdjustOpenTimer = null;
- }
- };
-
- RcSelect.prototype.updateFocusClassName = function updateFocusClassName() {
- var refs = this.refs,
- props = this.props;
-
-
- if (this._focused) {
- (0, _componentClasses2["default"])(refs.root).add(props.clsPrefix + '-focused');
- } else {
- (0, _componentClasses2["default"])(refs.root).remove(props.clsPrefix + '-focused');
- }
- };
-
- RcSelect.prototype.maybeFocus = function maybeFocus(open, needFocus) {
- if (needFocus || open) {
- var input = this.getInputDOMNode();
- var _document = document,
- activeElement = _document.activeElement;
-
- if (input && (open || (0, _util.isMultipleOrTagsOrCombobox)(this.props))) {
- if (activeElement !== input) {
- input.focus();
- }
- } else {
- var selection = this.refs.selection;
- if (activeElement !== selection) {
- selection.focus();
- }
- }
- }
- };
-
- RcSelect.prototype.addLabelToValue = function addLabelToValue(props, value_) {
- var _this9 = this;
-
- var value = value_;
- if (props.labelInValue) {
- value.forEach(function (v) {
- v.label = v.label || _this9.getLabelFromProps(props, v.key);
- });
- } else {
- value = value.map(function (v) {
- return {
- key: v,
- label: _this9.getLabelFromProps(props, v)
- };
- });
- }
- return value;
- };
-
- RcSelect.prototype.addTitleToValue = function addTitleToValue(props, values) {
- var _this10 = this;
-
- var nextValues = values;
- var keys = values.map(function (v) {
- return v.key;
- });
- _react2["default"].Children.forEach(props.children, function (child) {
- if (child.type === _OptGroup2["default"]) {
- nextValues = _this10.addTitleToValue(child.props, nextValues);
- } else {
- var value = (0, _util.getValuePropValue)(child);
- var valueIndex = keys.indexOf(value);
- if (valueIndex > -1) {
- nextValues[valueIndex].title = child.props.title;
- }
- }
- });
- return nextValues;
- };
-
- RcSelect.prototype.removeSelected = function removeSelected(selectedKey) {
- var props = this.props;
- if (props.disabled || this.isChildDisabled(selectedKey)) {
- return;
- }
- var label = void 0;
- var value = this.state.value.filter(function (singleValue) {
- if (singleValue.key === selectedKey) {
- label = singleValue.label;
- }
- return singleValue.key !== selectedKey;
- });
- var canMultiple = (0, _util.isMultipleOrTags)(props);
-
- if (canMultiple) {
- var event = selectedKey;
- if (props.labelInValue) {
- event = {
- key: selectedKey,
- label: label
- };
- }
- props.onDeselect(event);
- }
- this.fireChange(value);
- };
-
- RcSelect.prototype.openIfHasChildren = function openIfHasChildren() {
- var props = this.props;
- if (_react2["default"].Children.count(props.children) || (0, _util.isSingleMode)(props)) {
- this.setOpenState(true);
- }
- };
-
- RcSelect.prototype.fireChange = function fireChange(value) {
- var props = this.props;
- if (!('value' in props)) {
- this.setState({
- value: value
- });
- }
- props.onChange(this.getVLForOnChange(value));
- };
-
- RcSelect.prototype.isChildDisabled = function isChildDisabled(key) {
- return (0, _util.toArray)(this.props.children).some(function (child) {
- var childValue = (0, _util.getValuePropValue)(child);
- return childValue === key && child.props && child.props.disabled;
- });
- };
-
- RcSelect.prototype.tokenize = function tokenize(string) {
- var _this11 = this;
-
- var _props = this.props,
- multiple = _props.multiple,
- tokenSeparators = _props.tokenSeparators,
- children = _props.children;
-
- var nextValue = this.state.value;
- (0, _util.splitBySeparators)(string, tokenSeparators).forEach(function (label) {
- var selectedValue = { key: label, label: label };
- if ((0, _util.findIndexInValueByLabel)(nextValue, label) === -1) {
- if (multiple) {
- var value = _this11.getValueByLabel(children, label);
- if (value) {
- selectedValue.key = value;
- nextValue = nextValue.concat(selectedValue);
- }
- } else {
- nextValue = nextValue.concat(selectedValue);
- }
- }
- });
- return nextValue;
- };
-
- RcSelect.prototype.adjustOpenState = function adjustOpenState() {
- if (this.skipAdjustOpen) {
- return;
- }
- var open = this.state.open;
-
- if (typeof document !== 'undefined' && this.getInputDOMNode() && document.activeElement === this.getInputDOMNode()) {
- open = true;
- }
- var options = [];
- if (open) {
- options = this.renderFilterOptions();
- }
- this._options = options;
- if (open && ((0, _util.isMultipleOrTagsOrCombobox)(this.props) || !this.props.showSearch) && !options.length) {
- open = false;
- }
- this.state.open = open;
- };
-
- RcSelect.prototype.renderTopControlNode = function renderTopControlNode() {
- var _this12 = this;
-
- var _state = this.state,
- value = _state.value,
- open = _state.open,
- inputValue = _state.inputValue;
-
- var props = this.props;
- var choiceTransitionName = props.choiceTransitionName,
- clsPrefix = props.clsPrefix,
- maxTagTextLength = props.maxTagTextLength,
- showSearch = props.showSearch;
-
- var className = clsPrefix + '-selection-rendered';
- // search input is inside topControlNode in single, multiple & combobox. 2016/04/13
- var innerNode = null;
- if ((0, _util.isSingleMode)(props)) {
- var selectedValue = null;
- if (value.length) {
- var showSelectedValue = false;
- var opacity = 1;
- if (!showSearch) {
- showSelectedValue = true;
- } else {
- if (open) {
- showSelectedValue = !inputValue;
- if (showSelectedValue) {
- opacity = 0.4;
- }
- } else {
- showSelectedValue = true;
- }
- }
- var singleValue = value[0];
- selectedValue = _react2["default"].createElement(
- 'div',
- {
- key: 'value',
- className: clsPrefix + '-selection-selected-value',
- title: singleValue.title || singleValue.label,
- style: {
- display: showSelectedValue ? 'block' : 'none',
- opacity: opacity
- }
- },
- value[0].label
- );
- }
- if (!showSearch) {
- innerNode = [selectedValue];
- } else {
- innerNode = [selectedValue, _react2["default"].createElement(
- 'div',
- {
- className: clsPrefix + '-search ' + clsPrefix + '-search--inline',
- key: 'input',
- style: {
- display: open ? 'block' : 'none'
- }
- },
- this.getInputElement()
- )];
- }
- } else {
- var selectedValueNodes = [];
- if ((0, _util.isMultipleOrTags)(props)) {
- selectedValueNodes = value.map(function (singleValue) {
- var content = singleValue.label;
- var title = singleValue.title || content;
- if (maxTagTextLength && typeof content === 'string' && content.length > maxTagTextLength) {
- content = content.slice(0, maxTagTextLength) + '...';
- }
- var disabled = _this12.isChildDisabled(singleValue.key);
- var choiceClassName = disabled ? clsPrefix + '-selection-choice ' + clsPrefix + '-selection-choice-disabled' : clsPrefix + '-selection-choice';
- return _react2["default"].createElement(
- 'li',
- _extends({
- style: _util.UNSELECTABLE_STYLE
- }, _util.UNSELECTABLE_ATTRIBUTE, {
- onMouseDown: _util.preventDefaultEvent,
- className: choiceClassName,
- key: singleValue.key,
- title: title
- }),
- _react2["default"].createElement(
- 'div',
- { className: clsPrefix + '-selection-choice-content' },
- content
- ),
- disabled ? null : _react2["default"].createElement('span', {
- className: clsPrefix + '-selection-choice-remove',
- onClick: _this12.removeSelected.bind(_this12, singleValue.key)
- })
- );
- });
- }
- selectedValueNodes.push(_react2["default"].createElement(
- 'li',
- {
- className: clsPrefix + '-search ' + clsPrefix + '-search--inline',
- key: '__input'
- },
- this.getInputElement()
- ));
-
- innerNode = _react2["default"].createElement(
- 'ul',
- null,
- selectedValueNodes
- );
- }
- return _react2["default"].createElement(
- 'div',
- { className: className, name: 'input', ref: 'input' },
- this.getPlaceholderElement(),
- innerNode
- );
- };
-
- RcSelect.prototype.render = function render() {
- var _rootCls;
-
- var props = this.props;
- var multiple = (0, _util.isMultipleOrTags)(props);
- var state = this.state;
- var className = props.className,
- disabled = props.disabled,
- allowClear = props.allowClear,
- clsPrefix = props.clsPrefix;
-
- var ctrlNode = this.renderTopControlNode();
- var extraSelectionProps = {};
- var open = this.state.open;
-
- var options = this._options;
- if (!(0, _util.isMultipleOrTagsOrCombobox)(props)) {
- extraSelectionProps = {
- onKeyDown: this.onKeyDown,
- tabIndex: 0
- };
- }
- var rootCls = (_rootCls = {}, _defineProperty(_rootCls, className, !!className), _defineProperty(_rootCls, clsPrefix, 1), _defineProperty(_rootCls, clsPrefix + '-open', open), _defineProperty(_rootCls, clsPrefix + '-focused', open || !!this._focused), _defineProperty(_rootCls, clsPrefix + '-combobox', (0, _util.isCombobox)(props)), _defineProperty(_rootCls, clsPrefix + '-disabled', disabled), _defineProperty(_rootCls, clsPrefix + '-enabled', !disabled), _defineProperty(_rootCls, clsPrefix + '-allow-clear', !!props.allowClear), _rootCls);
- var clearStyle = _extends({}, _util.UNSELECTABLE_STYLE, {
- display: 'none'
- });
- if (state.inputValue || state.value.length) {
- clearStyle.display = 'block';
- }
- var clear = _react2["default"].createElement('span', _extends({
- key: 'clear',
- onMouseDown: _util.preventDefaultEvent,
- style: clearStyle
- }, _util.UNSELECTABLE_ATTRIBUTE, {
- className: clsPrefix + '-selection-clear',
- onClick: this.onClearSelection
- }));
- return _react2["default"].createElement(
- _SelectTrigger2["default"],
- {
- onPopupFocus: this.onPopupFocus,
- dropdownAlign: props.dropdownAlign,
- dropdownClassName: props.dropdownClassName,
- dropdownMatchSelectWidth: props.dropdownMatchSelectWidth,
- defaultActiveFirstOption: props.defaultActiveFirstOption,
- dropdownMenuStyle: props.dropdownMenuStyle,
- transitionName: props.transitionName,
- animation: props.animation,
- clsPrefix: props.clsPrefix,
- dropdownStyle: props.dropdownStyle,
- combobox: props.combobox,
- showSearch: props.showSearch,
- options: options,
- multiple: multiple,
- disabled: disabled,
- visible: open,
- inputValue: state.inputValue,
- value: state.value,
- onDropdownVisibleChange: this.onDropdownVisibleChange,
- getPopupContainer: props.getPopupContainer,
- onMenuSelect: this.onMenuSelect,
- onMenuDeselect: this.onMenuDeselect,
- scrollToEnd: props.scrollToEnd,
- ref: 'trigger'
- },
- _react2["default"].createElement(
- 'div',
- {
- style: props.style,
- ref: 'root',
- onBlur: this.onOuterBlur,
- onFocus: this.onOuterFocus,
- onClick: this.onOutClick,
- className: (0, _classnames2["default"])(rootCls)
- },
- _react2["default"].createElement(
- 'div',
- _extends({
- ref: 'selection',
- key: 'selection',
- className: clsPrefix + '-selection \n ' + clsPrefix + '-selection--' + (multiple ? 'multiple' : 'single'),
- role: 'combobox',
- 'aria-autocomplete': 'list',
- 'aria-haspopup': 'true',
- 'aria-expanded': open
- }, extraSelectionProps),
- ctrlNode,
- allowClear && !multiple ? clear : null,
- multiple || !props.showArrow ? null : _react2["default"].createElement(
- 'span',
- _extends({
- key: 'arrow',
- className: clsPrefix + '-arrow',
- style: _util.UNSELECTABLE_STYLE
- }, _util.UNSELECTABLE_ATTRIBUTE, {
- onMouseDown: _util.preventDefaultEvent,
- onClick: this.onArrowClick
- }),
- _react2["default"].createElement('b', null)
- )
- )
- )
- );
- };
-
- return RcSelect;
- }(_react.Component);
-
- ;
-
- RcSelect.defaultProps = defaultProps;
- RcSelect.propTypes = propTypes;
-
- exports["default"] = RcSelect;
- module.exports = exports['default'];
-
-/***/ }),
-/* 142 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _VerticalMenu = __webpack_require__(143);
-
- var _VerticalMenu2 = _interopRequireDefault(_VerticalMenu);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- exports["default"] = _VerticalMenu2["default"];
- module.exports = exports['default'];
-
-/***/ }),
-/* 143 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _ExportMenu = __webpack_require__(144);
-
- var _ExportMenu2 = _interopRequireDefault(_ExportMenu);
-
- var _openAnimation = __webpack_require__(155);
-
- var _openAnimation2 = _interopRequireDefault(_openAnimation);
-
- var _warning = __webpack_require__(156);
-
- var _warning2 = _interopRequireDefault(_warning);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var Menu = function (_React$Component) {
- _inherits(Menu, _React$Component);
-
- function Menu(props) {
- _classCallCheck(this, Menu);
-
- var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));
-
- _this.handleClick = function (e) {
- _this.setOpenKeys([]);
-
- var onClick = _this.props.onClick;
- if (onClick) {
- onClick(e);
- }
- };
-
- _this.handleOpenChange = function (openKeys) {
- _this.setOpenKeys(openKeys);
-
- var onOpenChange = _this.props.onOpenChange;
- if (onOpenChange) {
- onOpenChange(openKeys);
- }
- };
-
- (0, _warning2["default"])(!('onOpen' in props || 'onClose' in props), '`onOpen` and `onClose` are removed, please use `onOpenChange` instead.');
-
- _this.state = {
- openKeys: []
- };
- _this.rcMenu = {};
- return _this;
- }
-
- Menu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (this.props.mode === 'inline' && nextProps.mode !== 'inline') {
- this.switchModeFromInline = true;
- }
- if ('openKeys' in nextProps) {
- this.setOpenKeys(nextProps.openKeys);
- }
- };
-
- Menu.prototype.setOpenKeys = function setOpenKeys(openKeys) {
- if (!('openKeys' in this.props)) {
- this.setState({ openKeys: openKeys });
- }
- };
-
- Menu.prototype.render = function render() {
- var _this2 = this;
-
- var openAnimation = this.props.openAnimation || this.props.openTransitionName;
- if (!openAnimation) {
- switch (this.props.mode) {
- case 'horizontal':
- openAnimation = 'slide-up';
- break;
- case 'vertical':
- // When mode switch from inline
- // submenu should hide without animation
- if (this.switchModeFromInline) {
- openAnimation = '';
- this.switchModeFromInline = false;
- } else {
- openAnimation = 'zoom-big';
- }
- break;
- case 'inline':
- openAnimation = _openAnimation2["default"];
- break;
- default:
- }
- }
-
- var props = {};
- var className = this.props.className + ' ' + this.props.prefixCls + '-' + this.props.theme;
- if (this.props.mode !== 'inline') {
- // 这组属性的目的是
- // 弹出型的菜单需要点击后立即关闭
- // 另外,弹出型的菜单的受控模式没有使用场景
- props = {
- openKeys: this.state.openKeys,
- onClick: this.handleClick,
- onOpenChange: this.handleOpenChange,
- openTransitionName: openAnimation,
- className: className
- };
- } else {
- props = {
- openAnimation: openAnimation,
- className: className
- };
- }
- return _react2["default"].createElement(_ExportMenu2["default"], _extends({ ref: function ref(el) {
- return _this2.rcMenu = el;
- } }, this.props, props));
- };
-
- return Menu;
- }(_react2["default"].Component);
-
- Menu.defaultProps = {
- prefixCls: 'u-menu',
- className: '',
- theme: 'light' // or dark
- };
-
- Menu.Divider = _ExportMenu.Divider;
- Menu.Item = _ExportMenu.Item;
- Menu.SubMenu = _ExportMenu.SubMenu;
- Menu.ItemGroup = _ExportMenu.ItemGroup;
- Menu.MenuToggle = _ExportMenu.MenuToggle;
- Menu.SideContainer = _ExportMenu.SideContainer;
- exports["default"] = Menu;
- module.exports = exports['default'];
-
-/***/ }),
-/* 144 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.MenuToggle = exports.SideContainer = exports.Divider = exports.ItemGroup = exports.MenuItemGroup = exports.MenuItem = exports.Item = exports.SubMenu = undefined;
-
- var _Menu = __webpack_require__(145);
-
- var _Menu2 = _interopRequireDefault(_Menu);
-
- var _SubMenu = __webpack_require__(148);
-
- var _SubMenu2 = _interopRequireDefault(_SubMenu);
-
- var _MenuItem = __webpack_require__(150);
-
- var _MenuItem2 = _interopRequireDefault(_MenuItem);
-
- var _MenuItemGroup = __webpack_require__(151);
-
- var _MenuItemGroup2 = _interopRequireDefault(_MenuItemGroup);
-
- var _Divider = __webpack_require__(152);
-
- var _Divider2 = _interopRequireDefault(_Divider);
-
- var _SideContainer = __webpack_require__(153);
-
- var _SideContainer2 = _interopRequireDefault(_SideContainer);
-
- var _MenuToggle = __webpack_require__(154);
-
- var _MenuToggle2 = _interopRequireDefault(_MenuToggle);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- exports.SubMenu = _SubMenu2["default"];
- exports.Item = _MenuItem2["default"];
- exports.MenuItem = _MenuItem2["default"];
- exports.MenuItemGroup = _MenuItemGroup2["default"];
- exports.ItemGroup = _MenuItemGroup2["default"];
- exports.Divider = _Divider2["default"];
- exports.SideContainer = _SideContainer2["default"];
- exports.MenuToggle = _MenuToggle2["default"];
- exports["default"] = _Menu2["default"];
-
-/***/ }),
-/* 145 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _util = __webpack_require__(146);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _DOMWrap = __webpack_require__(147);
-
- var _DOMWrap2 = _interopRequireDefault(_DOMWrap);
-
- var _tinperBeeCore = __webpack_require__(26);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- function saveRef(index, subIndex, c) {
- if (c) {
- if (subIndex !== undefined) {
- this.instanceArray[index] = this.instanceArray[index] || [];
- this.instanceArray[index][subIndex] = c;
- } else {
- this.instanceArray[index] = c;
- }
- }
- }
- function allDisabled(arr) {
- if (!arr.length) {
- return true;
- }
- return arr.every(function (c) {
- return !!c.props.disabled;
- });
- }
-
- function getActiveKey(props, originalActiveKey) {
- var activeKey = originalActiveKey;
- var children = props.children,
- eventKey = props.eventKey;
-
- if (activeKey) {
- var found = void 0;
- (0, _util.loopMenuItem)(children, function (c, i) {
- if (c && !c.props.disabled && activeKey === (0, _util.getKeyFromChildrenIndex)(c, eventKey, i)) {
- found = true;
- }
- });
- if (found) {
- return activeKey;
- }
- }
- activeKey = null;
- if (props.defaultActiveFirst) {
- (0, _util.loopMenuItem)(children, function (c, i) {
- if (!activeKey && c && !c.props.disabled) {
- activeKey = (0, _util.getKeyFromChildrenIndex)(c, eventKey, i);
- }
- });
- return activeKey;
- }
- return activeKey;
- }
-
- var propTypes = {
-
- openSubMenuOnMouseEnter: _propTypes2["default"].bool,
- closeSubMenuOnMouseLeave: _propTypes2["default"].bool,
- selectedKeys: _propTypes2["default"].oneOfType([_propTypes2["default"].array, _propTypes2["default"].string]),
- defaultSelectedKeys: _propTypes2["default"].arrayOf(_propTypes2["default"].string),
- defaultOpenKeys: _propTypes2["default"].arrayOf(_propTypes2["default"].string),
- openKeys: _propTypes2["default"].arrayOf(_propTypes2["default"].string),
- mode: _propTypes2["default"].string,
- onClick: _propTypes2["default"].func,
- onSelect: _propTypes2["default"].func,
- onDeselect: _propTypes2["default"].func,
- onDestroy: _propTypes2["default"].func,
- openTransitionName: _propTypes2["default"].string,
- openAnimation: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].object]),
- level: _propTypes2["default"].number,
- eventKey: _propTypes2["default"].string,
- selectable: _propTypes2["default"].bool,
- children: _propTypes2["default"].any,
-
- focusable: _propTypes2["default"].bool,
- multiple: _propTypes2["default"].bool,
- style: _propTypes2["default"].object,
- defaultActiveFirst: _propTypes2["default"].bool,
- visible: _propTypes2["default"].bool,
- activeKey: _propTypes2["default"].string
-
- };
- var defaultProps = {
- openSubMenuOnMouseEnter: true,
- closeSubMenuOnMouseLeave: true,
- selectable: true,
- onClick: _util.noop,
- onSelect: _util.noop,
- onOpenChange: _util.noop,
- onDeselect: _util.noop,
- defaultSelectedKeys: [],
- defaultOpenKeys: [],
-
- clsPrefix: 'u-menu',
- className: '',
- mode: 'vertical',
- level: 1,
- inlineIndent: 24,
- visible: true,
- focusable: true,
- style: {}
- };
-
- var Menu = function (_Component) {
- _inherits(Menu, _Component);
-
- function Menu(props) {
- _classCallCheck(this, Menu);
-
- var _this = _possibleConstructorReturn(this, _Component.call(this, props));
-
- var selectedKeys = _this.props.defaultSelectedKeys;
- var openKeys = _this.props.defaultOpenKeys;
- if ('selectedKeys' in _this.props) {
- selectedKeys = _this.props.selectedKeys || [];
- }
- if ('openKeys' in props) {
- openKeys = _this.props.openKeys || [];
- }
-
- _this.state = {
- selectedKeys: selectedKeys,
- openKeys: openKeys,
- activeKey: getActiveKey(_this.props, _this.props.activeKey)
- //activeKey: getActiveKey(this.props, this.props.activeKey),
- };
- _this.renderMenuItem = _this.renderMenuItem.bind(_this);
- _this.onDestroy = _this.onDestroy.bind(_this);
- _this.onItemHover = _this.onItemHover.bind(_this);
- _this.onSelect = _this.onSelect.bind(_this);
- _this.onOpenChange = _this.onOpenChange.bind(_this);
- _this.onClick = _this.onClick.bind(_this);
- _this.onDeselect = _this.onDeselect.bind(_this);
- _this.getOpenTransitionName = _this.getOpenTransitionName.bind(_this);
- _this.isInlineMode = _this.isInlineMode.bind(_this);
- _this.lastOpenSubMenu = _this.lastOpenSubMenu.bind(_this);
- _this.renderMenuItem = _this.renderMenuItem.bind(_this);
-
- _this.renderCommonMenuItem = _this.renderCommonMenuItem.bind(_this);
- _this.renderRoot = _this.renderRoot.bind(_this);
- _this.getOpenChangesOnItemHover = _this.getOpenChangesOnItemHover.bind(_this);
- _this.getFlatInstanceArray = _this.getFlatInstanceArray.bind(_this);
- _this.onKeyDown = _this.onKeyDown.bind(_this);
- _this.step = _this.step.bind(_this);
-
- return _this;
- }
-
- Menu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- var props = {};
- if ('selectedKeys' in nextProps) {
- props.selectedKeys = nextProps.selectedKeys;
- }
- if ('openKeys' in nextProps) {
- props.openKeys = nextProps.openKeys;
- }
-
- if ('activeKey' in nextProps) {
- props.activeKey = getActiveKey(nextProps, nextProps.activeKey);
- } else {
- var originalActiveKey = this.state.activeKey;
- var activeKey = getActiveKey(nextProps, originalActiveKey);
- // fix: this.setState(), parent.render(),
- if (activeKey !== originalActiveKey) {
- props.activeKey = activeKey;
- }
- }
-
- this.setState(props);
- };
-
- Menu.prototype.componentWillMount = function componentWillMount() {
- this.instanceArray = [];
- };
-
- Menu.prototype.onDestroy = function onDestroy(key) {
- var state = this.state;
- var props = this.props;
- var selectedKeys = state.selectedKeys;
- var openKeys = state.openKeys;
- var index = selectedKeys.indexOf(key);
- if (!('selectedKeys' in props) && index !== -1) {
- selectedKeys.splice(index, 1);
- }
- index = openKeys.indexOf(key);
- if (!('openKeys' in props) && index !== -1) {
- openKeys.splice(index, 1);
- }
- };
-
- Menu.prototype.onItemHover = function onItemHover(e) {
- var item = e.item;
- var _props = this.props,
- mode = _props.mode,
- closeSubMenuOnMouseLeave = _props.closeSubMenuOnMouseLeave;
- var _e$openChanges = e.openChanges,
- openChanges = _e$openChanges === undefined ? [] : _e$openChanges;
- // special for top sub menu
-
- if (mode !== 'inline' && !closeSubMenuOnMouseLeave && item.isSubMenu) {
- var activeKey = this.state.activeKey;
- var activeItem = this.getFlatInstanceArray().filter(function (c) {
- return c && c.props.eventKey === activeKey;
- })[0];
- if (activeItem && activeItem.props.open) {
- openChanges = openChanges.concat({
- key: item.props.eventKey,
- item: item,
- originalEvent: e,
- open: true
- });
- }
- }
- openChanges = openChanges.concat(this.getOpenChangesOnItemHover(e));
- if (openChanges.length) {
- this.onOpenChange(openChanges);
- }
- };
-
- Menu.prototype.onSelect = function onSelect(selectInfo) {
- var props = this.props;
- if (props.selectable) {
- // root menu
- var selectedKeys = this.state.selectedKeys;
- var selectedKey = selectInfo.key;
- if (props.multiple) {
- selectedKeys = selectedKeys.concat([selectedKey]);
- } else {
- selectedKeys = [selectedKey];
- }
- if (!('selectedKeys' in props)) {
- this.setState({
- selectedKeys: selectedKeys
- });
- }
- props.onSelect(_extends({}, selectInfo, {
- selectedKeys: selectedKeys
- }));
- }
- };
-
- Menu.prototype.onClick = function onClick(e) {
- this.props.onClick(e);
- };
-
- Menu.prototype.onOpenChange = function onOpenChange(e_) {
- var props = this.props;
- var openKeys = this.state.openKeys.concat();
- var changed = false;
- var processSingle = function processSingle(e) {
- var oneChanged = false;
- if (e.open) {
- oneChanged = openKeys.indexOf(e.key) === -1;
- if (oneChanged) {
- openKeys.push(e.key);
- }
- } else {
- var index = openKeys.indexOf(e.key);
- oneChanged = index !== -1;
- if (oneChanged) {
- openKeys.splice(index, 1);
- }
- }
- changed = changed || oneChanged;
- };
- if (Array.isArray(e_)) {
- // batch change call
- e_.forEach(processSingle);
- } else {
- processSingle(e_);
- }
- if (changed) {
- if (!('openKeys' in this.props)) {
- this.setState({ openKeys: openKeys });
- }
- props.onOpenChange(openKeys);
- }
- };
-
- Menu.prototype.onDeselect = function onDeselect(selectInfo) {
- var props = this.props;
- if (props.selectable) {
- var selectedKeys = this.state.selectedKeys.concat();
- var selectedKey = selectInfo.key;
- var index = selectedKeys.indexOf(selectedKey);
- if (index !== -1) {
- selectedKeys.splice(index, 1);
- }
- if (!('selectedKeys' in props)) {
- this.setState({
- selectedKeys: selectedKeys
- });
- }
- props.onDeselect(_extends({}, selectInfo, {
- selectedKeys: selectedKeys
- }));
- }
- };
-
- Menu.prototype.getOpenTransitionName = function getOpenTransitionName() {
- var props = this.props;
- var transitionName = props.openTransitionName;
- var animationName = props.openAnimation;
- if (!transitionName && typeof animationName === 'string') {
- transitionName = props.clsPrefix + '-open-' + animationName;
- }
- return transitionName;
- };
-
- Menu.prototype.isInlineMode = function isInlineMode() {
- return this.props.mode === 'inline';
- };
-
- Menu.prototype.lastOpenSubMenu = function lastOpenSubMenu() {
- var lastOpen = [];
- var openKeys = this.state.openKeys;
-
- if (openKeys.length) {
- lastOpen = this.getFlatInstanceArray().filter(function (c) {
- return c && openKeys.indexOf(c.props.eventKey) !== -1;
- });
- }
- return lastOpen[0];
- };
-
- Menu.prototype.renderMenuItem = function renderMenuItem(c, i, subIndex) {
- if (!c) {
- return null;
- }
- var state = this.state;
- var extraProps = {
- openKeys: state.openKeys,
- selectedKeys: state.selectedKeys,
- openSubMenuOnMouseEnter: this.props.openSubMenuOnMouseEnter
- };
- return this.renderCommonMenuItem(c, i, subIndex, extraProps);
- };
-
- Menu.prototype.renderCommonMenuItem = function renderCommonMenuItem(child, i, subIndex, extraProps) {
- var state = this.state;
- var props = this.props;
- var key = (0, _util.getKeyFromChildrenIndex)(child, props.eventKey, i);
- var childProps = child.props;
- var isActive = key === state.activeKey;
- var newChildProps = _extends({
- mode: props.mode,
- level: props.level,
- inlineIndent: props.inlineIndent,
- renderMenuItem: this.renderMenuItem,
- rootPrefixCls: props.clsPrefix,
- index: i,
- parentMenu: this,
- ref: childProps.disabled ? undefined : (0, _tinperBeeCore.createChainedFunction)(child.ref, saveRef.bind(this, i, subIndex)),
- eventKey: key,
- closeSubMenuOnMouseLeave: props.closeSubMenuOnMouseLeave,
- onItemHover: this.onItemHover,
- active: !childProps.disabled && isActive,
- multiple: props.multiple,
- onClick: this.onClick,
- openTransitionName: this.getOpenTransitionName(),
- openAnimation: props.openAnimation,
- onOpenChange: this.onOpenChange,
- onDeselect: this.onDeselect,
- onDestroy: this.onDestroy,
- onSelect: this.onSelect
- }, extraProps);
- if (props.mode === 'inline') {
- newChildProps.closeSubMenuOnMouseLeave = newChildProps.openSubMenuOnMouseEnter = false;
- }
- return _react2["default"].cloneElement(child, newChildProps);
- };
-
- Menu.prototype.getOpenChangesOnItemHover = function getOpenChangesOnItemHover(e) {
- var mode = this.props.mode;
- var key = e.key,
- hover = e.hover,
- trigger = e.trigger;
-
- var activeKey = this.state.activeKey;
- if (!trigger || hover || this.props.closeSubMenuOnMouseLeave || !e.item.isSubMenu || mode === 'inline') {
- this.setState({
- activeKey: hover ? key : null
- });
- } else {}
- // keep active for sub menu for click active
- // empty
-
- // clear last open status
- if (hover && mode !== 'inline') {
- var activeItem = this.getFlatInstanceArray().filter(function (c) {
- return c && c.props.eventKey === activeKey;
- })[0];
- if (activeItem && activeItem.isSubMenu && activeItem.props.eventKey !== key) {
- return {
- item: activeItem,
- originalEvent: e,
- key: activeItem.props.eventKey,
- open: false
- };
- }
- }
- return [];
- };
-
- Menu.prototype.getFlatInstanceArray = function getFlatInstanceArray() {
- var instanceArray = this.instanceArray;
- var hasInnerArray = instanceArray.some(function (a) {
- return Array.isArray(a);
- });
- if (hasInnerArray) {
- instanceArray = [];
- this.instanceArray.forEach(function (a) {
- if (Array.isArray(a)) {
- instanceArray.push.apply(instanceArray, a);
- } else {
- instanceArray.push(a);
- }
- });
- this.instanceArray = instanceArray;
- }
- return instanceArray;
- };
-
- Menu.prototype.step = function step(direction) {
- var children = this.getFlatInstanceArray();
- var activeKey = this.state.activeKey;
- var len = children.length;
- if (!len) {
- return null;
- }
- if (direction < 0) {
- children = children.concat().reverse();
- }
- // find current activeIndex
- var activeIndex = -1;
- children.every(function (c, ci) {
- if (c && c.props.eventKey === activeKey) {
- activeIndex = ci;
- return false;
- }
- return true;
- });
- if (!this.props.defaultActiveFirst && activeIndex !== -1) {
- if (allDisabled(children.slice(activeIndex, len - 1))) {
- return undefined;
- }
- }
- var start = (activeIndex + 1) % len;
- var i = start;
- for (;;) {
- var child = children[i];
- if (!child || child.props.disabled) {
- i = (i + 1 + len) % len;
- // complete a loop
- if (i === start) {
- return null;
- }
- } else {
- return child;
- }
- }
- };
-
- Menu.prototype.onKeyDown = function onKeyDown(e) {
- var _this2 = this;
-
- var keyCode = e.keyCode;
- var handled = void 0;
- this.getFlatInstanceArray().forEach(function (obj) {
- if (obj && obj.props.active) {
- handled = obj.onKeyDown(e);
- }
- });
- if (handled) {
- return 1;
- }
- var activeItem = null;
- if (keyCode === _tinperBeeCore.KeyCode.UP || keyCode === _tinperBeeCore.KeyCode.DOWN) {
- activeItem = this.step(keyCode === _tinperBeeCore.KeyCode.UP ? -1 : 1);
- }
- if (activeItem) {
- e.preventDefault();
- this.setState({
- activeKey: activeItem.props.eventKey
- }, function () {
- scrollIntoView(ReactDOM.findDOMNode(activeItem), ReactDOM.findDOMNode(_this2), {
- onlyScrollIfNeeded: true
- });
- });
- return 1;
- } else if (activeItem === undefined) {
- e.preventDefault();
- this.setState({
- activeKey: null
- });
- return 1;
- }
- };
-
- Menu.prototype.renderRoot = function renderRoot(props) {
- var _classes;
-
- this.instanceArray = [];
- var classes = (_classes = {}, _defineProperty(_classes, props.clsPrefix, 1), _defineProperty(_classes, props.clsPrefix + '-' + props.mode, 1), _defineProperty(_classes, props.className, !!props.className), _classes);
- var domProps = {
- className: (0, _classnames2["default"])(classes),
- role: 'menu',
- 'aria-activedescendant': ''
- };
- if (props.id) {
- domProps.id = props.id;
- }
- if (props.focusable) {
- domProps.tabIndex = '0';
- domProps.onKeyDown = this.onKeyDown;
- }
- return (
- // ESLint is not smart enough to know that the type of `children` was checked.
- /* eslint-disable */
- _react2["default"].createElement(
- _DOMWrap2["default"],
- _extends({
- style: props.style,
- tag: 'ul',
- hiddenClassName: props.clsPrefix + '-hidden',
- visible: props.visible
- }, domProps),
- _react2["default"].Children.map(props.children, this.renderMenuItem.bind(this))
- )
- /*eslint-enable */
-
- );
- };
-
- Menu.prototype.render = function render() {
- var props = _extends({}, this.props);
- props.className += ' ' + props.clsPrefix + '-root';
- return this.renderRoot(props);
- };
-
- return Menu;
- }(_react.Component);
-
- ;
-
- Menu.propTypes = propTypes;
- Menu.defaultProps = defaultProps;
-
- exports["default"] = Menu;
- module.exports = exports['default'];
-
-/***/ }),
-/* 146 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.noop = noop;
- exports.getKeyFromChildrenIndex = getKeyFromChildrenIndex;
- exports.loopMenuItem = loopMenuItem;
- exports.loopMenuItemRecusively = loopMenuItemRecusively;
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function noop() {}
-
- function getKeyFromChildrenIndex(child, menuEventKey, index) {
- var prefix = menuEventKey || '';
- return child.key || prefix + 'item_' + index;
- }
-
- function loopMenuItem(children, cb) {
- var index = -1;
- _react2["default"].Children.forEach(children, function (c) {
- index++;
- if (c && c.type && c.type.isMenuItemGroup) {
- _react2["default"].Children.forEach(c.props.children, function (c2) {
- index++;
- cb(c2, index);
- });
- } else {
- cb(c, index);
- }
- });
- }
-
- function loopMenuItemRecusively(children, keys, ret) {
- if (!children || ret.find) {
- return;
- }
- _react2["default"].Children.forEach(children, function (c) {
- if (ret.find) {
- return;
- }
- if (c) {
- var construt = c.type;
- if (!construt || !(construt.isSubMenu || construt.isMenuItem || construt.isMenuItemGroup)) {
- return;
- }
- if (keys.indexOf(c.key) !== -1) {
- ret.find = true;
- } else if (c.props.children) {
- loopMenuItemRecusively(c.props.children, keys, ret);
- }
- }
- });
- }
-
-/***/ }),
-/* 147 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- tag: _propTypes2["default"].string,
- hiddenClassName: _propTypes2["default"].string,
- visible: _propTypes2["default"].bool
- };
- var defaultProps = {
- tag: 'div'
- };
-
- var DOMWrap = function (_Component) {
- _inherits(DOMWrap, _Component);
-
- function DOMWrap() {
- _classCallCheck(this, DOMWrap);
-
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- DOMWrap.prototype.render = function render() {
- var props = _extends({}, this.props);
- if (!props.visible) {
- props.className = props.className || '';
- props.className += ' ' + props.hiddenClassName;
- }
- var Tag = props.tag;
- delete props.tag;
- delete props.hiddenClassName;
- delete props.visible;
- return _react2["default"].createElement(Tag, props);
- };
-
- return DOMWrap;
- }(_react.Component);
-
- ;
-
- DOMWrap.propTypes = propTypes;
- DOMWrap.defaultProps = defaultProps;
-
- exports["default"] = DOMWrap;
- module.exports = exports['default'];
-
-/***/ }),
-/* 148 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _SubPopupMenu = __webpack_require__(149);
-
- var _SubPopupMenu2 = _interopRequireDefault(_SubPopupMenu);
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _keyCode = __webpack_require__(37);
-
- var _keyCode2 = _interopRequireDefault(_keyCode);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _util = __webpack_require__(146);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var guid = 0;
-
- var propTypes = {
- parentMenu: _propTypes2["default"].object,
- title: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].node]),
- children: _propTypes2["default"].any,
- selectedKeys: _propTypes2["default"].array,
- openKeys: _propTypes2["default"].array,
- onClick: _propTypes2["default"].func,
- onOpenChange: _propTypes2["default"].func,
- rootPrefixCls: _propTypes2["default"].string,
- eventKey: _propTypes2["default"].string,
- multiple: _propTypes2["default"].bool,
- active: _propTypes2["default"].bool,
- onSelect: _propTypes2["default"].func,
- closeSubMenuOnMouseLeave: _propTypes2["default"].bool,
- openSubMenuOnMouseEnter: _propTypes2["default"].bool,
- onDeselect: _propTypes2["default"].func,
- onDestroy: _propTypes2["default"].func,
- onItemHover: _propTypes2["default"].func,
- onMouseEnter: _propTypes2["default"].func,
- onMouseLeave: _propTypes2["default"].func,
- onTitleMouseEnter: _propTypes2["default"].func,
- onTitleMouseLeave: _propTypes2["default"].func,
- onTitleClick: _propTypes2["default"].func
- };
- var defaultProps = {
- onMouseEnter: _util.noop,
- onMouseLeave: _util.noop,
- onTitleMouseEnter: _util.noop,
- onTitleMouseLeave: _util.noop,
- onTitleClick: _util.noop,
- title: ''
- };
-
- var SubMenu = function (_Component) {
- _inherits(SubMenu, _Component);
-
- function SubMenu(props) {
- _classCallCheck(this, SubMenu);
-
- var _this = _possibleConstructorReturn(this, _Component.call(this, props));
-
- _this.isSubMenu = 1;
- _this.state = {
- defaultActiveFirst: false
- };
-
- _this.onDestroy = _this.onDestroy.bind(_this);
- _this.onKeyDown = _this.onKeyDown.bind(_this);
- _this.onOpenChange = _this.onOpenChange.bind(_this);
- _this.onMouseEnter = _this.onMouseEnter.bind(_this);
- _this.onTitleMouseEnter = _this.onTitleMouseEnter.bind(_this);
-
- _this.onTitleMouseLeave = _this.onTitleMouseLeave.bind(_this);
- _this.onMouseLeave = _this.onMouseLeave.bind(_this);
- _this.onTitleClick = _this.onTitleClick.bind(_this);
- _this.onSubMenuClick = _this.onSubMenuClick.bind(_this);
- _this.onSelect = _this.onSelect.bind(_this);
- _this.onDeselect = _this.onDeselect.bind(_this);
-
- _this.getPrefixCls = _this.getPrefixCls.bind(_this);
- _this.getActiveClassName = _this.getActiveClassName.bind(_this);
- _this.getSelectedClassName = _this.getSelectedClassName.bind(_this);
-
- _this.getDisabledClassName = _this.getDisabledClassName.bind(_this);
- _this.getOpenClassName = _this.getOpenClassName.bind(_this);
- _this.saveMenuInstance = _this.saveMenuInstance.bind(_this);
- _this.addKeyPath = _this.addKeyPath.bind(_this);
- _this.triggerOpenChange = _this.triggerOpenChange.bind(_this);
- _this.clearSubMenuTimers = _this.clearSubMenuTimers.bind(_this);
-
- _this.clearSubMenuLeaveTimer = _this.clearSubMenuLeaveTimer.bind(_this);
- _this.clearSubMenuTitleLeaveTimer = _this.clearSubMenuTitleLeaveTimer.bind(_this);
- _this.isChildrenSelected = _this.isChildrenSelected.bind(_this);
- _this.isOpen = _this.isOpen.bind(_this);
- _this.renderChildren = _this.renderChildren.bind(_this);
- return _this;
- }
-
- SubMenu.prototype.componentWillUnmount = function componentWillUnmount() {
- var _props = this.props,
- onDestroy = _props.onDestroy,
- eventKey = _props.eventKey,
- parentMenu = _props.parentMenu;
-
- this.mounted = true;
- if (onDestroy) {
- onDestroy(eventKey);
- }
- if (parentMenu.subMenuInstance === this) {
- this.clearSubMenuTimers();
- }
- };
-
- SubMenu.prototype.componentDidMount = function componentDidMount() {
- this.mounted = true;
- };
-
- SubMenu.prototype.onDestroy = function onDestroy(key) {
- this.props.onDestroy(key);
- };
-
- SubMenu.prototype.onKeyDown = function onKeyDown(e) {
- var keyCode = e.keyCode;
- var menu = this.menuInstance;
- var isOpen = this.isOpen();
-
- if (keyCode === _keyCode2["default"].ENTER) {
- this.onTitleClick(e);
- this.setState({
- defaultActiveFirst: true
- });
- return true;
- }
-
- if (keyCode === _keyCode2["default"].RIGHT) {
- if (isOpen) {
- menu.onKeyDown(e);
- } else {
- this.triggerOpenChange(true);
- this.setState({
- defaultActiveFirst: true
- });
- }
- return true;
- }
- if (keyCode === _keyCode2["default"].LEFT) {
- var handled = void 0;
- if (isOpen) {
- handled = menu.onKeyDown(e);
- } else {
- return undefined;
- }
- if (!handled) {
- this.triggerOpenChange(false);
- handled = true;
- }
- return handled;
- }
-
- if (isOpen && (keyCode === _keyCode2["default"].UP || keyCode === _keyCode2["default"].DOWN)) {
- return menu.onKeyDown(e);
- }
- };
-
- SubMenu.prototype.onOpenChange = function onOpenChange(e) {
- this.props.onOpenChange(e);
- };
-
- SubMenu.prototype.onMouseEnter = function onMouseEnter(e) {
- var props = this.props;
- this.clearSubMenuLeaveTimer(props.parentMenu.subMenuInstance !== this);
- props.onMouseEnter({
- key: props.eventKey,
- domEvent: e
- });
- };
-
- SubMenu.prototype.onTitleMouseEnter = function onTitleMouseEnter(domEvent) {
- var props = this.props;
- var parentMenu = props.parentMenu,
- key = props.eventKey;
-
- var item = this;
- this.clearSubMenuTitleLeaveTimer(parentMenu.subMenuInstance !== item);
- if (parentMenu.menuItemInstance) {
- parentMenu.menuItemInstance.clearMenuItemMouseLeaveTimer(true);
- }
- var openChanges = [];
- if (props.openSubMenuOnMouseEnter) {
- openChanges.push({
- key: key,
- item: item,
- trigger: 'mouseenter',
- open: true
- });
- }
- props.onItemHover({
- key: key,
- item: item,
- hover: true,
- trigger: 'mouseenter',
- openChanges: openChanges
- });
- this.setState({
- defaultActiveFirst: false
- });
- props.onTitleMouseEnter({
- key: key,
- domEvent: domEvent
- });
- };
-
- SubMenu.prototype.onTitleMouseLeave = function onTitleMouseLeave(e) {
- var _this2 = this;
-
- var props = this.props;
- var parentMenu = props.parentMenu,
- eventKey = props.eventKey;
-
- parentMenu.subMenuInstance = this;
- parentMenu.subMenuTitleLeaveFn = function () {
- if (_this2.mounted) {
- // leave whole sub tree
- // still active
- if (props.mode === 'inline' && props.active) {
- props.onItemHover({
- key: eventKey,
- item: _this2,
- hover: false,
- trigger: 'mouseleave'
- });
- }
- props.onTitleMouseLeave({
- key: props.eventKey,
- domEvent: e
- });
- }
- };
- parentMenu.subMenuTitleLeaveTimer = setTimeout(parentMenu.subMenuTitleLeaveFn, 100);
- };
-
- SubMenu.prototype.onMouseLeave = function onMouseLeave(e) {
- var _this3 = this;
-
- var props = this.props;
- var parentMenu = props.parentMenu,
- eventKey = props.eventKey;
-
- parentMenu.subMenuInstance = this;
- parentMenu.subMenuLeaveFn = function () {
- if (_this3.mounted) {
- // leave whole sub tree
- // still active
- if (props.mode !== 'inline') {
- var isOpen = _this3.isOpen();
- if (isOpen && props.closeSubMenuOnMouseLeave && props.active) {
- props.onItemHover({
- key: eventKey,
- item: _this3,
- hover: false,
- trigger: 'mouseleave',
- openChanges: [{
- key: eventKey,
- item: _this3,
- trigger: 'mouseleave',
- open: false
- }]
- });
- } else {
- if (props.active) {
- props.onItemHover({
- key: eventKey,
- item: _this3,
- hover: false,
- trigger: 'mouseleave'
- });
- }
- if (isOpen && props.closeSubMenuOnMouseLeave) {
- _this3.triggerOpenChange(false);
- }
- }
- }
- // trigger mouseleave
- props.onMouseLeave({
- key: eventKey,
- domEvent: e
- });
- }
- };
- // prevent popup menu and submenu gap
- parentMenu.subMenuLeaveTimer = setTimeout(parentMenu.subMenuLeaveFn, 100);
- };
-
- SubMenu.prototype.onTitleClick = function onTitleClick(e) {
- var props = this.props;
-
- props.onTitleClick({
- key: props.eventKey,
- domEvent: e
- });
- if (props.openSubMenuOnMouseEnter) {
- return;
- }
- this.triggerOpenChange(!this.isOpen(), 'click');
- this.setState({
- defaultActiveFirst: false
- });
- };
-
- SubMenu.prototype.onSubMenuClick = function onSubMenuClick(info) {
- this.props.onClick(this.addKeyPath(info));
- };
-
- SubMenu.prototype.onSelect = function onSelect(info) {
- this.props.onSelect(info);
- };
-
- SubMenu.prototype.onDeselect = function onDeselect(info) {
- this.props.onDeselect(info);
- };
-
- SubMenu.prototype.getPrefixCls = function getPrefixCls() {
- return this.props.rootPrefixCls + '-submenu';
- };
-
- SubMenu.prototype.getActiveClassName = function getActiveClassName() {
- return this.getPrefixCls() + '-active';
- };
-
- SubMenu.prototype.getDisabledClassName = function getDisabledClassName() {
- return this.getPrefixCls() + '-disabled';
- };
-
- SubMenu.prototype.getSelectedClassName = function getSelectedClassName() {
- return this.getPrefixCls() + '-selected';
- };
-
- SubMenu.prototype.getOpenClassName = function getOpenClassName() {
- return this.props.rootPrefixCls + '-submenu-open';
- };
-
- SubMenu.prototype.saveMenuInstance = function saveMenuInstance(c) {
- this.menuInstance = c;
- };
-
- SubMenu.prototype.addKeyPath = function addKeyPath(info) {
- return _extends({}, info, {
- keyPath: (info.keyPath || []).concat(this.props.eventKey)
- });
- };
-
- SubMenu.prototype.triggerOpenChange = function triggerOpenChange(open, type) {
- var key = this.props.eventKey;
- this.onOpenChange({
- key: key,
- item: this,
- trigger: type,
- open: open
- });
- };
-
- SubMenu.prototype.clearSubMenuTimers = function clearSubMenuTimers() {
- var callFn = void 0;
- this.clearSubMenuLeaveTimer(callFn);
- this.clearSubMenuTitleLeaveTimer(callFn);
- };
-
- SubMenu.prototype.clearSubMenuTitleLeaveTimer = function clearSubMenuTitleLeaveTimer() {
- var callFn = void 0;
- var parentMenu = this.props.parentMenu;
- if (parentMenu.subMenuTitleLeaveTimer) {
- clearTimeout(parentMenu.subMenuTitleLeaveTimer);
- parentMenu.subMenuTitleLeaveTimer = null;
- if (callFn && parentMenu.subMenuTitleLeaveFn) {
- parentMenu.subMenuTitleLeaveFn();
- }
- parentMenu.subMenuTitleLeaveFn = null;
- }
- };
-
- SubMenu.prototype.clearSubMenuLeaveTimer = function clearSubMenuLeaveTimer() {
- var callFn = void 0;
- var parentMenu = this.props.parentMenu;
- if (parentMenu.subMenuLeaveTimer) {
- clearTimeout(parentMenu.subMenuLeaveTimer);
- parentMenu.subMenuLeaveTimer = null;
- if (callFn && parentMenu.subMenuLeaveFn) {
- parentMenu.subMenuLeaveFn();
- }
- parentMenu.subMenuLeaveFn = null;
- }
- };
-
- SubMenu.prototype.isChildrenSelected = function isChildrenSelected() {
- var ret = { find: false };
- (0, _util.loopMenuItemRecusively)(this.props.children, this.props.selectedKeys, ret);
- return ret.find;
- };
-
- SubMenu.prototype.isOpen = function isOpen() {
- return this.props.openKeys.indexOf(this.props.eventKey) !== -1;
- };
-
- SubMenu.prototype.renderChildren = function renderChildren(children) {
- var props = this.props;
- var baseProps = {
- mode: props.mode === 'horizontal' ? 'vertical' : props.mode,
- visible: this.isOpen(),
- level: props.level + 1,
- inlineIndent: props.inlineIndent,
- focusable: false,
- onClick: this.onSubMenuClick,
- onSelect: this.onSelect,
- onDeselect: this.onDeselect,
- onDestroy: this.onDestroy,
- selectedKeys: props.selectedKeys,
- eventKey: props.eventKey + '-menu-',
- openKeys: props.openKeys,
- openTransitionName: props.openTransitionName,
- openAnimation: props.openAnimation,
- onOpenChange: this.onOpenChange,
- closeSubMenuOnMouseLeave: props.closeSubMenuOnMouseLeave,
- defaultActiveFirst: this.state.defaultActiveFirst,
- multiple: props.multiple,
- prefixCls: props.rootPrefixCls,
- id: this._menuId,
- ref: this.saveMenuInstance
- };
- return _react2["default"].createElement(
- _SubPopupMenu2["default"],
- baseProps,
- children
- );
- };
-
- SubMenu.prototype.render = function render() {
- var _classes;
-
- var isOpen = this.isOpen();
- this.haveOpen = this.haveOpen || isOpen;
- var props = this.props;
- var prefixCls = this.getPrefixCls();
- var classes = (_classes = {}, _defineProperty(_classes, props.className, !!props.className), _defineProperty(_classes, prefixCls + '-' + props.mode, 1), _classes);
-
- classes[this.getOpenClassName()] = isOpen;
- classes[this.getActiveClassName()] = props.active;
- classes[this.getDisabledClassName()] = props.disabled;
- classes[this.getSelectedClassName()] = this.isChildrenSelected();
-
- if (!this._menuId) {
- if (props.eventKey) {
- this._menuId = props.eventKey + '$Menu';
- } else {
- this._menuId = '$__$' + ++guid + '$Menu';
- }
- }
-
- classes[prefixCls] = true;
- classes[prefixCls + '-' + props.mode] = 1;
- var titleClickEvents = {};
- var mouseEvents = {};
- var titleMouseEvents = {};
- if (!props.disabled) {
- titleClickEvents = {
- onClick: this.onTitleClick
- };
- mouseEvents = {
- onMouseLeave: this.onMouseLeave,
- onMouseEnter: this.onMouseEnter
- };
- // only works in title, not outer li
- titleMouseEvents = {
- onMouseEnter: this.onTitleMouseEnter,
- onMouseLeave: this.onTitleMouseLeave
- };
- }
- var style = {};
- if (props.mode === 'inline') {
- style.paddingLeft = props.inlineIndent * props.level;
- }
- return _react2["default"].createElement(
- 'li',
- _extends({ className: (0, _classnames2["default"])(classes) }, mouseEvents),
- _react2["default"].createElement(
- 'div',
- _extends({
- style: style,
- className: prefixCls + '-title'
- }, titleMouseEvents, titleClickEvents, {
- 'aria-expanded': isOpen,
- 'aria-owns': this._menuId,
- 'aria-haspopup': 'true'
- }),
- props.title
- ),
- this.renderChildren(props.children)
- );
- };
-
- return SubMenu;
- }(_react.Component);
-
- ;
-
- SubMenu.propTypes = propTypes;
- SubMenu.defaultProps = defaultProps;
- SubMenu.isSubMenu = 1;
-
- exports["default"] = SubMenu;
- module.exports = exports['default'];
-
-/***/ }),
-/* 149 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _beeAnimate = __webpack_require__(128);
-
- var _beeAnimate2 = _interopRequireDefault(_beeAnimate);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _createChainedFunction = __webpack_require__(36);
-
- var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
- var _util = __webpack_require__(146);
-
- var _DOMWrap = __webpack_require__(147);
-
- var _DOMWrap2 = _interopRequireDefault(_DOMWrap);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- function allDisabled(arr) {
- if (!arr.length) {
- return true;
- }
- return arr.every(function (c) {
- return !!c.props.disabled;
- });
- }
-
- function getActiveKey(props, originalActiveKey) {
- var activeKey = originalActiveKey;
- var children = props.children,
- eventKey = props.eventKey;
-
- if (activeKey) {
- var found = void 0;
- (0, _util.loopMenuItem)(children, function (c, i) {
- if (c && !c.props.disabled && activeKey === (0, _util.getKeyFromChildrenIndex)(c, eventKey, i)) {
- found = true;
- }
- });
- if (found) {
- return activeKey;
- }
- }
- activeKey = null;
- if (props.defaultActiveFirst) {
- (0, _util.loopMenuItem)(children, function (c, i) {
- if (!activeKey && c && !c.props.disabled) {
- activeKey = (0, _util.getKeyFromChildrenIndex)(c, eventKey, i);
- }
- });
- return activeKey;
- }
- return activeKey;
- }
-
- function saveRef(index, subIndex, c) {
- if (c) {
- if (subIndex !== undefined) {
- this.instanceArray[index] = this.instanceArray[index] || [];
- this.instanceArray[index][subIndex] = c;
- } else {
- this.instanceArray[index] = c;
- }
- }
- }
-
- var propTypes = {
- onSelect: _propTypes2["default"].func,
- onClick: _propTypes2["default"].func,
- onDeselect: _propTypes2["default"].func,
- onOpenChange: _propTypes2["default"].func,
- onDestroy: _propTypes2["default"].func,
- openTransitionName: _propTypes2["default"].string,
- openAnimation: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].object]),
- openKeys: _propTypes2["default"].array,
- closeSubMenuOnMouseLeave: _propTypes2["default"].bool,
- visible: _propTypes2["default"].bool,
- children: _propTypes2["default"].any
- };
-
- var SubPopupMenu = function (_Component) {
- _inherits(SubPopupMenu, _Component);
-
- function SubPopupMenu(props) {
- _classCallCheck(this, SubPopupMenu);
-
- var _this = _possibleConstructorReturn(this, _Component.call(this, props));
-
- _this.state = {
- activeKey: getActiveKey(_this.props, _this.props.activeKey)
- };
- _this.getOpenChangesOnItemHover = _this.getOpenChangesOnItemHover.bind(_this);
- _this.onDeselect = _this.onDeselect.bind(_this);
- _this.onClick = _this.onClick.bind(_this);
- _this.onOpenChange = _this.onOpenChange.bind(_this);
- _this.onDestroy = _this.onDestroy.bind(_this);
- _this.onSelect = _this.onSelect.bind(_this);
-
- _this.onItemHover = _this.onItemHover.bind(_this);
- _this.getOpenTransitionName = _this.getOpenTransitionName.bind(_this);
- _this.renderMenuItem = _this.renderMenuItem.bind(_this);
-
- _this.getFlatInstanceArray = _this.getFlatInstanceArray.bind(_this);
- _this.renderCommonMenuItem = _this.renderCommonMenuItem.bind(_this);
- _this.renderRoot = _this.renderRoot.bind(_this);
-
- return _this;
- }
-
- SubPopupMenu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- var props = void 0;
- if ('activeKey' in nextProps) {
- props = {
- activeKey: getActiveKey(nextProps, nextProps.activeKey)
- };
- } else {
- var originalActiveKey = this.state.activeKey;
- var activeKey = getActiveKey(nextProps, originalActiveKey);
- // fix: this.setState(), parent.render(),
- if (activeKey !== originalActiveKey) {
- props = {
- activeKey: activeKey
- };
- }
- }
- if (props) {
- this.setState(props);
- }
- };
-
- SubPopupMenu.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
- return this.props.visible || nextProps.visible;
- };
-
- SubPopupMenu.prototype.onDeselect = function onDeselect(selectInfo) {
- this.props.onDeselect(selectInfo);
- };
-
- SubPopupMenu.prototype.onSelect = function onSelect(selectInfo) {
- this.props.onSelect(selectInfo);
- };
-
- SubPopupMenu.prototype.onClick = function onClick(e) {
- this.props.onClick(e);
- };
-
- SubPopupMenu.prototype.onOpenChange = function onOpenChange(e) {
- this.props.onOpenChange(e);
- };
-
- SubPopupMenu.prototype.onDestroy = function onDestroy(key) {
- this.props.onDestroy(key);
- };
-
- SubPopupMenu.prototype.onItemHover = function onItemHover(e) {
- var _e$openChanges = e.openChanges,
- openChanges = _e$openChanges === undefined ? [] : _e$openChanges;
-
- openChanges = openChanges.concat(this.getOpenChangesOnItemHover(e));
- if (openChanges.length) {
- this.onOpenChange(openChanges);
- }
- };
-
- SubPopupMenu.prototype.getOpenTransitionName = function getOpenTransitionName() {
- return this.props.openTransitionName;
- };
-
- SubPopupMenu.prototype.renderMenuItem = function renderMenuItem(c, i, subIndex) {
- var props = this.props;
- var extraProps = {
- openKeys: props.openKeys,
- selectedKeys: props.selectedKeys,
- openSubMenuOnMouseEnter: true
- };
- return this.renderCommonMenuItem(c, i, subIndex, extraProps);
- };
-
- SubPopupMenu.prototype.getOpenChangesOnItemHover = function getOpenChangesOnItemHover(e) {
- var mode = this.props.mode;
- var key = e.key,
- hover = e.hover,
- trigger = e.trigger;
-
- var activeKey = this.state.activeKey;
- if (!trigger || hover || this.props.closeSubMenuOnMouseLeave || !e.item.isSubMenu || mode === 'inline') {
- this.setState({
- activeKey: hover ? key : null
- });
- } else {}
- // keep active for sub menu for click active
- // empty
-
- // clear last open status
- if (hover && mode !== 'inline') {
- var activeItem = this.getFlatInstanceArray().filter(function (c) {
- return c && c.props.eventKey === activeKey;
- })[0];
- if (activeItem && activeItem.isSubMenu && activeItem.props.eventKey !== key) {
- return {
- item: activeItem,
- originalEvent: e,
- key: activeItem.props.eventKey,
- open: false
- };
- }
- }
- return [];
- };
-
- SubPopupMenu.prototype.renderCommonMenuItem = function renderCommonMenuItem(child, i, subIndex, extraProps) {
- var state = this.state;
- var props = this.props;
- var key = (0, _util.getKeyFromChildrenIndex)(child, props.eventKey, i);
- var childProps = child.props;
- var isActive = key === state.activeKey;
- var newChildProps = _extends({
- mode: props.mode,
- level: props.level,
- inlineIndent: props.inlineIndent,
- renderMenuItem: this.renderMenuItem,
- rootPrefixCls: props.prefixCls,
- index: i,
- parentMenu: this,
- ref: childProps.disabled ? undefined : (0, _createChainedFunction2["default"])(child.ref, saveRef.bind(this, i, subIndex)),
- eventKey: key,
- closeSubMenuOnMouseLeave: props.closeSubMenuOnMouseLeave,
- onItemHover: this.onItemHover,
- active: !childProps.disabled && isActive,
- multiple: props.multiple,
- onClick: this.onClick,
- openTransitionName: this.getOpenTransitionName(),
- openAnimation: props.openAnimation,
- onOpenChange: this.onOpenChange,
- onDeselect: this.onDeselect,
- onDestroy: this.onDestroy,
- onSelect: this.onSelect
- }, extraProps);
- if (props.mode === 'inline') {
- newChildProps.closeSubMenuOnMouseLeave = newChildProps.openSubMenuOnMouseEnter = false;
- }
- return _react2["default"].cloneElement(child, newChildProps);
- };
-
- SubPopupMenu.prototype.getFlatInstanceArray = function getFlatInstanceArray() {
- var instanceArray = this.instanceArray;
- var hasInnerArray = instanceArray.some(function (a) {
- return Array.isArray(a);
- });
- if (hasInnerArray) {
- instanceArray = [];
- this.instanceArray.forEach(function (a) {
- if (Array.isArray(a)) {
- instanceArray.push.apply(instanceArray, a);
- } else {
- instanceArray.push(a);
- }
- });
- this.instanceArray = instanceArray;
- }
- return instanceArray;
- };
-
- SubPopupMenu.prototype.renderRoot = function renderRoot(props) {
- var _classes;
-
- this.instanceArray = [];
- var classes = (_classes = {}, _defineProperty(_classes, props.prefixCls, 1), _defineProperty(_classes, props.prefixCls + '-' + props.mode, 1), _defineProperty(_classes, props.className, !!props.className), _classes);
- var domProps = {
- className: (0, _classnames2["default"])(classes),
- role: 'menu',
- 'aria-activedescendant': ''
- };
- if (props.id) {
- domProps.id = props.id;
- }
- if (props.focusable) {
- domProps.tabIndex = '0';
- domProps.onKeyDown = this.onKeyDown;
- }
- return (
- // ESLint is not smart enough to know that the type of `children` was checked.
- /* eslint-disable */
- _react2["default"].createElement(
- _DOMWrap2["default"],
- _extends({
- style: props.style,
- tag: 'ul',
- hiddenClassName: props.prefixCls + '-hidden',
- visible: props.visible
- }, domProps),
- _react2["default"].Children.map(props.children, this.renderMenuItem.bind(this))
- )
- /*eslint-enable */
-
- );
- };
-
- SubPopupMenu.prototype.render = function render() {
- var renderFirst = this.renderFirst;
- this.renderFirst = 1;
- this.haveOpened = this.haveOpened || this.props.visible;
- if (!this.haveOpened) {
- return null;
- }
- var transitionAppear = true;
- if (!renderFirst && this.props.visible) {
- transitionAppear = false;
- }
- var props = _extends({}, this.props);
- props.className += ' ' + props.prefixCls + '-sub';
- var animProps = {};
- if (props.openTransitionName) {
- animProps.transitionName = props.openTransitionName;
- } else if (_typeof(props.openAnimation) === 'object') {
- animProps.animation = _extends({}, props.openAnimation);
- if (!transitionAppear) {
- delete animProps.animation.appear;
- }
- }
- return _react2["default"].createElement(
- _beeAnimate2["default"],
- _extends({}, animProps, {
- showProp: 'visible',
- component: '',
- transitionAppear: transitionAppear
- }),
- this.renderRoot(props)
- );
- };
-
- return SubPopupMenu;
- }(_react.Component);
-
- ;
- SubPopupMenu.propTypes = propTypes;
- exports["default"] = SubPopupMenu;
- module.exports = exports['default'];
-
-/***/ }),
-/* 150 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _keyCode = __webpack_require__(37);
-
- var _keyCode2 = _interopRequireDefault(_keyCode);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _util = __webpack_require__(146);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- /* eslint react/no-is-mounted:0 */
- var propTypes = {
- rootPrefixCls: _propTypes2["default"].string,
- eventKey: _propTypes2["default"].string,
- active: _propTypes2["default"].bool,
- children: _propTypes2["default"].any,
- selectedKeys: _propTypes2["default"].array,
- disabled: _propTypes2["default"].bool,
- title: _propTypes2["default"].string,
- onSelect: _propTypes2["default"].func,
- onClick: _propTypes2["default"].func,
- onDeselect: _propTypes2["default"].func,
- parentMenu: _propTypes2["default"].object,
- onItemHover: _propTypes2["default"].func,
- onDestroy: _propTypes2["default"].func,
- onMouseEnter: _propTypes2["default"].func,
- onMouseLeave: _propTypes2["default"].func
- };
-
- var defaultProps = {
- onSelect: _util.noop,
- onMouseEnter: _util.noop,
- onMouseLeave: _util.noop
- };
-
- var MenuItem = function (_Component) {
- _inherits(MenuItem, _Component);
-
- function MenuItem(props) {
- _classCallCheck(this, MenuItem);
-
- var _this = _possibleConstructorReturn(this, _Component.call(this, props));
-
- _this.onMouseLeave = _this.onMouseLeave.bind(_this);
- _this.onMouseEnter = _this.onMouseEnter.bind(_this);
- _this.onKeyDown = _this.onKeyDown.bind(_this);
- _this.onClick = _this.onClick.bind(_this);
- _this.getPrefixCls = _this.getPrefixCls.bind(_this);
- _this.getActiveClassName = _this.getActiveClassName.bind(_this);
- _this.getDisabledClassName = _this.getDisabledClassName.bind(_this);
- _this.getSelectedClassName = _this.getSelectedClassName.bind(_this);
- _this.clearMenuItemMouseLeaveTimer = _this.clearMenuItemMouseLeaveTimer.bind(_this);
- _this.isSelected = _this.isSelected.bind(_this);
- return _this;
- }
-
- MenuItem.prototype.componentWillUnmount = function componentWillUnmount() {
- var props = this.props;
- this.mounted = false;
- if (props.onDestroy) {
- props.onDestroy(props.eventKey);
- }
- if (props.parentMenu.menuItemInstance === this) {
- this.clearMenuItemMouseLeaveTimer();
- }
- };
-
- MenuItem.prototype.componentDidMount = function componentDidMount() {
- this.mounted = true;
- };
-
- MenuItem.prototype.onKeyDown = function onKeyDown(e) {
- var keyCode = e.keyCode;
- if (keyCode === _keyCode2["default"].ENTER) {
- this.onClick(e);
- return true;
- }
- };
-
- MenuItem.prototype.onMouseLeave = function onMouseLeave(e) {
- var _this2 = this;
-
- var props = this.props;
- var eventKey = props.eventKey,
- parentMenu = props.parentMenu;
-
- parentMenu.menuItemInstance = this;
- parentMenu.menuItemMouseLeaveFn = function () {
- if (_this2.mounted && props.active) {
- props.onItemHover({
- key: eventKey,
- item: _this2,
- hover: false,
- domEvent: e,
- trigger: 'mouseleave'
- });
- }
- };
- parentMenu.menuItemMouseLeaveTimer = setTimeout(parentMenu.menuItemMouseLeaveFn, 30);
- props.onMouseLeave({
- key: eventKey,
- domEvent: e
- });
- };
-
- MenuItem.prototype.onMouseEnter = function onMouseEnter(e) {
- var props = this.props;
- var eventKey = props.eventKey,
- parentMenu = props.parentMenu;
-
- this.clearMenuItemMouseLeaveTimer(parentMenu.menuItemInstance !== this);
- if (parentMenu.subMenuInstance) {
- parentMenu.subMenuInstance.clearSubMenuTimers();
- }
- props.onItemHover({
- key: eventKey,
- item: this,
- hover: true,
- domEvent: e,
- trigger: 'mouseenter'
- });
- props.onMouseEnter({
- key: eventKey,
- domEvent: e
- });
- };
-
- MenuItem.prototype.onClick = function onClick(e) {
- var props = this.props;
- var selected = this.isSelected();
- var eventKey = props.eventKey;
- var info = {
- key: eventKey,
- keyPath: [eventKey],
- item: this,
- domEvent: e
- };
- props.onClick(info);
- if (props.multiple) {
- if (selected) {
- props.onDeselect(info);
- } else {
- props.onSelect(info);
- }
- } else if (!selected) {
- props.onSelect(info);
- }
- };
-
- MenuItem.prototype.getPrefixCls = function getPrefixCls() {
- return this.props.rootPrefixCls + '-item';
- };
-
- MenuItem.prototype.getActiveClassName = function getActiveClassName() {
- return this.getPrefixCls() + '-active';
- };
-
- MenuItem.prototype.getSelectedClassName = function getSelectedClassName() {
- return this.getPrefixCls() + '-selected';
- };
-
- MenuItem.prototype.getDisabledClassName = function getDisabledClassName() {
- return this.getPrefixCls() + '-disabled';
- };
-
- MenuItem.prototype.clearMenuItemMouseLeaveTimer = function clearMenuItemMouseLeaveTimer() {
- var props = this.props;
- var callFn = void 0;
- var parentMenu = props.parentMenu;
- if (parentMenu.menuItemMouseLeaveTimer) {
- clearTimeout(parentMenu.menuItemMouseLeaveTimer);
- parentMenu.menuItemMouseLeaveTimer = null;
- if (callFn && parentMenu.menuItemMouseLeaveFn) {
- parentMenu.menuItemMouseLeaveFn();
- }
- parentMenu.menuItemMouseLeaveFn = null;
- }
- };
-
- MenuItem.prototype.isSelected = function isSelected() {
- return this.props.selectedKeys.indexOf(this.props.eventKey) !== -1;
- };
-
- MenuItem.prototype.render = function render() {
- var props = this.props;
- var selected = this.isSelected();
- var classes = {};
- classes[this.getActiveClassName()] = !props.disabled && props.active;
- classes[this.getSelectedClassName()] = selected;
- classes[this.getDisabledClassName()] = props.disabled;
- classes[this.getPrefixCls()] = true;
- classes[props.className] = !!props.className;
- var attrs = _extends({}, props.attribute, {
- title: props.title,
- className: (0, _classnames2["default"])(classes),
- role: 'menuitem',
- 'aria-selected': selected,
- 'aria-disabled': props.disabled
- });
- var mouseEvent = {};
- if (!props.disabled) {
- mouseEvent = {
- onClick: this.onClick,
- onMouseLeave: this.onMouseLeave,
- onMouseEnter: this.onMouseEnter
- };
- }
- var style = _extends({}, props.style);
- if (props.mode === 'inline') {
- style.paddingLeft = props.inlineIndent * props.level;
- }
- return _react2["default"].createElement(
- 'li',
- _extends({
- style: style
- }, attrs, mouseEvent),
- props.children
- );
- };
-
- return MenuItem;
- }(_react.Component);
-
- ;
-
- MenuItem.isMenuItem = 1;
-
- MenuItem.defaultProps = defaultProps;
- MenuItem.propTypes = propTypes;
-
- exports["default"] = MenuItem;
- module.exports = exports['default'];
-
-/***/ }),
-/* 151 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- renderMenuItem: _propTypes2["default"].func,
- index: _propTypes2["default"].number,
- className: _propTypes2["default"].string,
- rootPrefixCls: _propTypes2["default"].string,
- title: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].node]),
- children: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].node])
- };
-
- var defaultProps = {
- disabled: true
- };
-
- var MenuItemGroup = function (_Component) {
- _inherits(MenuItemGroup, _Component);
-
- function MenuItemGroup() {
- _classCallCheck(this, MenuItemGroup);
-
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- MenuItemGroup.prototype.renderInnerMenuItem = function renderInnerMenuItem(item, subIndex) {
- var _props = this.props,
- renderMenuItem = _props.renderMenuItem,
- index = _props.index;
-
- return renderMenuItem(item, index, subIndex);
- };
-
- MenuItemGroup.prototype.render = function render() {
- var _props2 = this.props,
- _props2$className = _props2.className,
- className = _props2$className === undefined ? '' : _props2$className,
- title = _props2.title,
- children = _props2.children,
- rootPrefixCls = _props2.rootPrefixCls;
-
- var titleClassName = rootPrefixCls + '-item-group-title';
- var listClassName = rootPrefixCls + '-item-group-list';
-
- return _react2["default"].createElement(
- 'li',
- { className: className + ' ' + rootPrefixCls + '-item-group' },
- _react2["default"].createElement(
- 'div',
- { className: titleClassName },
- title
- ),
- _react2["default"].createElement(
- 'ul',
- { className: listClassName },
- _react2["default"].Children.map(children, this.renderInnerMenuItem.bind(this))
- )
- );
- };
-
- return MenuItemGroup;
- }(_react.Component);
-
- ;
-
- MenuItemGroup.isMenuItemGroup = true;
- MenuItemGroup.propTypes = propTypes;
- MenuItemGroup.defaultProps = defaultProps;
-
- exports["default"] = MenuItemGroup;
- module.exports = exports['default'];
-
-/***/ }),
-/* 152 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- className: _propTypes2["default"].string,
- rootPrefixCls: _propTypes2["default"].string
- };
-
- var Divider = function (_Component) {
- _inherits(Divider, _Component);
-
- function Divider() {
- _classCallCheck(this, Divider);
-
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Divider.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- rootPrefixCls = _props.rootPrefixCls;
-
- return _react2["default"].createElement('li', { className: className + ' ' + rootPrefixCls + '-item-divider' });
- };
-
- return Divider;
- }(_react.Component);
-
- ;
-
- Divider.propTypes = propTypes;
-
- exports["default"] = Divider;
- module.exports = exports['default'];
-
-/***/ }),
-/* 153 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var defaultProps = {
- clsPrefix: "u-navbar-side-container",
- sideActive: false
- };
-
- var NavSideContainer = function (_React$Component) {
- _inherits(NavSideContainer, _React$Component);
-
- function NavSideContainer() {
- _classCallCheck(this, NavSideContainer);
-
- return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
- }
-
- NavSideContainer.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- children = _props.children,
- clsPrefix = _props.clsPrefix,
- sideActive = _props.sideActive,
- expanded = _props.expanded,
- props = _objectWithoutProperties(_props, ['className', 'children', 'clsPrefix', 'sideActive', 'expanded']);
-
- //const navbarProps = this.context.u_navbar;
-
- return _react2["default"].createElement(
- 'div',
- { className: (0, _classnames2["default"])(className, clsPrefix, expanded && 'expanded') },
- children
- );
- };
-
- return NavSideContainer;
- }(_react2["default"].Component);
-
- NavSideContainer.defaultProps = defaultProps;
-
- exports["default"] = NavSideContainer;
- module.exports = exports['default'];
-
-/***/ }),
-/* 154 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _createChainedFunction = __webpack_require__(36);
-
- var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- onClick: _propTypes2["default"].func,
- /**
- * The toggle content, if left empty it will render the default toggle (seen above).
- */
- show: _propTypes2["default"].bool,
- children: _propTypes2["default"].node
- };
-
- var contextTypes = {
- u_navbar: _propTypes2["default"].shape({
- expanded: _propTypes2["default"].bool,
- onToggle: _propTypes2["default"].func
- })
- };
-
- var defaultProps = {
- clsPrefix: 'u-navbar-toggle',
- show: false
- };
-
- var MenuToggle = function (_React$Component) {
- _inherits(MenuToggle, _React$Component);
-
- function MenuToggle(props) {
- _classCallCheck(this, MenuToggle);
-
- var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));
-
- _this.state = {
- toggleState: false
- //this.handleRender = this.handleRender.bind(this);
- };return _this;
- }
-
- MenuToggle.prototype.handleClick = function handleClick() {
- var _context$u_navbar = this.context.u_navbar,
- expanded = _context$u_navbar.expanded,
- onToggle = _context$u_navbar.onToggle;
-
- this.setState({ toggleState: !this.state.toggleState });
- if (onToggle) {
- onToggle(!expanded);
- }
- };
-
- MenuToggle.prototype.render = function render() {
- var _props = this.props,
- onClick = _props.onClick,
- className = _props.className,
- children = _props.children,
- clsPrefix = _props.clsPrefix,
- show = _props.show,
- props = _objectWithoutProperties(_props, ['onClick', 'className', 'children', 'clsPrefix', 'show']);
- //const navbarProps = this.context.u_navbar || { bsClass: 'navbar' };
- //console.log(navbarProps.onToggle, navbarProps.expanded);
-
- var buttonProps = _extends({
- type: 'button'
- }, props, {
- onClick: (0, _createChainedFunction2["default"])(onClick, this.handleClick.bind(this)),
- className: (0, _classnames2["default"])(className, clsPrefix, show && 'show')
- //!this.context.u_navbar.expanded && 'collapsed',
- });
-
- if (children) {
- return _react2["default"].createElement(
- 'button',
- buttonProps,
- children
- );
- }
- //当show存在时,渲染左侧静态面包按钮
- return _react2["default"].createElement(
- 'div',
- null,
- show && this.state.toggleState && _react2["default"].createElement(
- 'button',
- buttonProps,
- _react2["default"].createElement(
- 'span',
- { className: 'sr-only' },
- 'Toggle navigation'
- ),
- _react2["default"].createElement('span', { className: 'icon-bar' }),
- _react2["default"].createElement('span', { className: 'icon-bar' }),
- _react2["default"].createElement('span', { className: 'icon-bar' })
- ),
- show && !this.state.toggleState && _react2["default"].createElement(
- 'button',
- buttonProps,
- _react2["default"].createElement('span', { className: 'uf uf-arrow-left' })
- ),
- !show && !this.state.toggleState && _react2["default"].createElement(
- 'button',
- buttonProps,
- _react2["default"].createElement(
- 'span',
- { className: 'sr-only' },
- 'Toggle navigation'
- ),
- _react2["default"].createElement('span', { className: 'icon-bar' }),
- _react2["default"].createElement('span', { className: 'icon-bar' }),
- _react2["default"].createElement('span', { className: 'icon-bar' })
- )
- );
- };
-
- return MenuToggle;
- }(_react2["default"].Component);
-
- MenuToggle.propTypes = propTypes;
- MenuToggle.defaultProps = defaultProps;
- MenuToggle.contextTypes = contextTypes;
-
- exports["default"] = MenuToggle;
- module.exports = exports['default'];
-
-/***/ }),
-/* 155 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _tinperBeeCore = __webpack_require__(26);
-
- function animate(node, show, done) {
- var height = void 0;
- return (0, _tinperBeeCore.cssAnimation)(node, 'u-motion-collapse', {
- start: function start() {
- if (!show) {
- node.style.height = node.offsetHeight + 'px';
- } else {
- height = node.offsetHeight;
- node.style.height = 0;
- }
- },
- active: function active() {
- node.style.height = (show ? height : 0) + 'px';
- },
- end: function end() {
- node.style.height = '';
- done();
- }
- });
- }
-
- var animation = {
- enter: function enter(node, done) {
- return animate(node, true, done);
- },
- leave: function leave(node, done) {
- return animate(node, false, done);
- },
- appear: function appear(node, done) {
- return animate(node, true, done);
- }
- };
-
- exports["default"] = animation;
- module.exports = exports['default'];
-
-/***/ }),
-/* 156 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _warning = __webpack_require__(31);
-
- var _warning2 = _interopRequireDefault(_warning);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- var warned = {};
-
- exports["default"] = function (valid, message) {
- if (!valid && !warned[message]) {
- (0, _warning2["default"])(false, message);
- warned[message] = true;
- }
- };
-
- module.exports = exports['default'];
-
-/***/ }),
-/* 157 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- label: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].object])
- };
-
- var OptGroup = function (_React$Component) {
- _inherits(OptGroup, _React$Component);
-
- function OptGroup() {
- _classCallCheck(this, OptGroup);
-
- return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
- }
-
- return OptGroup;
- }(_react2["default"].Component);
-
- OptGroup.propTypes = propTypes;
- exports["default"] = OptGroup;
- module.exports = exports['default'];
-
-/***/ }),
-/* 158 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.UNSELECTABLE_ATTRIBUTE = exports.UNSELECTABLE_STYLE = undefined;
- exports.getValuePropValue = getValuePropValue;
- exports.getPropValue = getPropValue;
- exports.isCombobox = isCombobox;
- exports.isMultipleOrTags = isMultipleOrTags;
- exports.isMultipleOrTagsOrCombobox = isMultipleOrTagsOrCombobox;
- exports.isSingleMode = isSingleMode;
- exports.toArray = toArray;
- exports.preventDefaultEvent = preventDefaultEvent;
- exports.findIndexInValueByKey = findIndexInValueByKey;
- exports.findIndexInValueByLabel = findIndexInValueByLabel;
- exports.getSelectKeys = getSelectKeys;
- exports.findFirstMenuItem = findFirstMenuItem;
- exports.includesSeparators = includesSeparators;
- exports.splitBySeparators = splitBySeparators;
-
- var _beeMenus = __webpack_require__(142);
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function getValuePropValue(child) {
- var props = child.props;
- if ('value' in props) {
- return props.value;
- }
- if (child.key) {
- return child.key;
- }
- throw new Error('no key or value for ' + child);
- }
-
- function getPropValue(child, prop) {
- if (prop === 'value') {
- return getValuePropValue(child);
- }
- return child.props[prop];
- }
-
- function isCombobox(props) {
- return props.combobox;
- }
-
- function isMultipleOrTags(props) {
- return props.multiple || props.tags;
- }
-
- function isMultipleOrTagsOrCombobox(props) {
- return isMultipleOrTags(props) || isCombobox(props);
- }
-
- function isSingleMode(props) {
- return !isMultipleOrTagsOrCombobox(props);
- }
-
- function toArray(value) {
- var ret = value;
- if (value === undefined) {
- ret = [];
- } else if (!Array.isArray(value)) {
- ret = [value];
- }
- return ret;
- }
-
- function preventDefaultEvent(e) {
- e.preventDefault();
- }
-
- function findIndexInValueByKey(value, key) {
- var index = -1;
- for (var i = 0; i < value.length; i++) {
- if (value[i].key === key) {
- index = i;
- break;
- }
- }
- return index;
- }
-
- function findIndexInValueByLabel(value, label) {
- var index = -1;
- for (var i = 0; i < value.length; i++) {
- if (toArray(value[i].label).join('') === label) {
- index = i;
- break;
- }
- }
- return index;
- }
-
- function getSelectKeys(menuItems, value) {
- if (value === null || value === undefined) {
- return [];
- }
- var selectedKeys = [];
- _react2["default"].Children.forEach(menuItems, function (item) {
- if (item.type === _beeMenus.ItemGroup) {
- selectedKeys = selectedKeys.concat(getSelectKeys(item.props.children, value));
- } else {
- var itemValue = getValuePropValue(item);
- var itemKey = item.key;
- if (findIndexInValueByKey(value, itemValue) !== -1 && itemKey) {
- selectedKeys.push(itemKey);
- }
- }
- });
- return selectedKeys;
- }
-
- var UNSELECTABLE_STYLE = exports.UNSELECTABLE_STYLE = {
- userSelect: 'none',
- WebkitUserSelect: 'none'
- };
-
- var UNSELECTABLE_ATTRIBUTE = exports.UNSELECTABLE_ATTRIBUTE = {
- unselectable: 'unselectable'
- };
-
- function findFirstMenuItem(children) {
- for (var i = 0; i < children.length; i++) {
- var child = children[i];
- if (child.type === _beeMenus.ItemGroup) {
- var found = findFirstMenuItem(child.props.children);
- if (found) {
- return found;
- }
- } else if (!child.props.disabled) {
- return child;
- }
- }
- return null;
- }
-
- function includesSeparators(string, separators) {
- for (var i = 0; i < separators.length; ++i) {
- if (string.lastIndexOf(separators[i]) > 0) {
- return true;
- }
- }
- return false;
- }
-
- function splitBySeparators(string, separators) {
- var reg = new RegExp('[' + separators.join() + ']');
- var array = string.split(reg);
- if (array[0] === '') {
- array.shift();
- }
- if (array[array.length - 1] === '') {
- array.pop();
- }
- return array;
- }
-
-/***/ }),
-/* 159 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _trigger = __webpack_require__(160);
-
- var _trigger2 = _interopRequireDefault(_trigger);
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _classnames = __webpack_require__(3);
-
- var _classnames2 = _interopRequireDefault(_classnames);
-
- var _DropdownMenu = __webpack_require__(166);
-
- var _DropdownMenu2 = _interopRequireDefault(_DropdownMenu);
-
- var _reactDom = __webpack_require__(12);
-
- var _reactDom2 = _interopRequireDefault(_reactDom);
-
- var _util = __webpack_require__(158);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var BUILT_IN_PLACEMENTS = {
- bottomLeft: {
- points: ['tl', 'bl'],
- offset: [0, 4],
- overflow: {
- adjustX: 0,
- adjustY: 1
- }
- },
- topLeft: {
- points: ['bl', 'tl'],
- offset: [0, -4],
- overflow: {
- adjustX: 0,
- adjustY: 1
- }
- }
- };
-
- var propTypes = {
- onPopupFocus: _propTypes2["default"].func,
- dropdownMatchSelectWidth: _propTypes2["default"].bool,
- dropdownAlign: _propTypes2["default"].object,
- visible: _propTypes2["default"].bool,
- disabled: _propTypes2["default"].bool,
- showSearch: _propTypes2["default"].bool,
- dropdownClassName: _propTypes2["default"].string,
- multiple: _propTypes2["default"].bool,
- inputValue: _propTypes2["default"].string,
- filterOption: _propTypes2["default"].any,
- options: _propTypes2["default"].any,
- clsPrefix: _propTypes2["default"].string,
- popupClassName: _propTypes2["default"].string,
- children: _propTypes2["default"].any
- };
-
- var SelectTrigger = function (_Component) {
- _inherits(SelectTrigger, _Component);
-
- function SelectTrigger(props) {
- _classCallCheck(this, SelectTrigger);
-
- var _this = _possibleConstructorReturn(this, _Component.call(this, props));
-
- _this.setDropdownWidth = function () {
- var width = _reactDom2["default"].findDOMNode(_this).offsetWidth;
- if (width !== _this.state.dropdownWidth) {
- _this.setState({ dropdownWidth: width });
- }
- };
-
- _this.getInnerMenu = _this.getInnerMenu.bind(_this);
- _this.getPopupDOMNode = _this.getPopupDOMNode.bind(_this);
- _this.getDropdownTransitionName = _this.getDropdownTransitionName.bind(_this);
- _this.getDropdownElement = _this.getDropdownElement.bind(_this);
- _this.getDropdownPrefixCls = _this.getDropdownPrefixCls.bind(_this);
- _this.saveMenu = _this.saveMenu.bind(_this);
- _this.state = {
- dropdownWidth: null
- };
-
- return _this;
- }
-
- SelectTrigger.prototype.componentDidMount = function componentDidMount() {
- this.setDropdownWidth();
- };
-
- SelectTrigger.prototype.componentDidUpdate = function componentDidUpdate() {
- this.setDropdownWidth();
- };
-
- SelectTrigger.prototype.getInnerMenu = function getInnerMenu() {
- return this.popupMenu && this.popupMenu.refs.menu;
- };
-
- SelectTrigger.prototype.getPopupDOMNode = function getPopupDOMNode() {
- return this.refs.trigger.getPopupDomNode();
- };
-
- SelectTrigger.prototype.getDropdownElement = function getDropdownElement(newProps) {
- var props = this.props;
- return _react2["default"].createElement(_DropdownMenu2["default"], _extends({
- ref: this.saveMenu
- }, newProps, {
- clsPrefix: this.getDropdownPrefixCls(),
- onMenuSelect: props.onMenuSelect,
- scrollToEnd: props.scrollToEnd,
- onMenuDeselect: props.onMenuDeselect,
- value: props.value,
- defaultActiveFirstOption: props.defaultActiveFirstOption,
- dropdownMenuStyle: props.dropdownMenuStyle
- }));
- };
-
- SelectTrigger.prototype.getDropdownTransitionName = function getDropdownTransitionName() {
- var props = this.props;
- var transitionName = props.transitionName;
- if (!transitionName && props.animation) {
- transitionName = this.getDropdownPrefixCls() + '-' + props.animation;
- }
- return transitionName;
- };
-
- SelectTrigger.prototype.getDropdownPrefixCls = function getDropdownPrefixCls() {
- return this.props.clsPrefix + '-dropdown';
- };
-
- SelectTrigger.prototype.saveMenu = function saveMenu(menu) {
- this.popupMenu = menu;
- };
-
- SelectTrigger.prototype.render = function render() {
- var _popupClassName;
-
- var _props = this.props,
- onPopupFocus = _props.onPopupFocus,
- props = _objectWithoutProperties(_props, ['onPopupFocus']);
-
- var multiple = props.multiple,
- visible = props.visible,
- inputValue = props.inputValue,
- dropdownAlign = props.dropdownAlign,
- disabled = props.disabled,
- showSearch = props.showSearch,
- dropdownClassName = props.dropdownClassName,
- dropdownStyle = props.dropdownStyle,
- dropdownMatchSelectWidth = props.dropdownMatchSelectWidth;
-
- var dropdownPrefixCls = this.getDropdownPrefixCls();
- var popupClassName = (_popupClassName = {}, _defineProperty(_popupClassName, dropdownClassName, !!dropdownClassName), _defineProperty(_popupClassName, dropdownPrefixCls + '--' + (multiple ? 'multiple' : 'single'), 1), _popupClassName);
- var popupElement = this.getDropdownElement({
- menuItems: props.options,
- onPopupFocus: onPopupFocus,
- multiple: multiple,
- inputValue: inputValue,
- visible: visible
- });
- var hideAction = void 0;
- if (disabled) {
- hideAction = [];
- } else if ((0, _util.isSingleMode)(props) && !showSearch) {
- hideAction = ['click'];
- } else {
- hideAction = ['blur'];
- }
- var popupStyle = _extends({}, dropdownStyle);
- var widthProp = dropdownMatchSelectWidth ? 'width' : 'minWidth';
- if (this.state.dropdownWidth) {
- popupStyle[widthProp] = this.state.dropdownWidth + 'px';
- }
- return _react2["default"].createElement(
- _trigger2["default"],
- _extends({}, props, {
- showAction: disabled ? [] : ['click'],
- hideAction: hideAction,
- ref: 'trigger',
- popupPlacement: 'bottomLeft',
- builtinPlacements: BUILT_IN_PLACEMENTS,
- clsPrefix: dropdownPrefixCls
- // popupTransitionName={this.getDropdownTransitionName()}
- , onPopupVisibleChange: props.onDropdownVisibleChange,
- popup: popupElement,
- popupAlign: dropdownAlign,
- popupVisible: visible,
- getPopupContainer: props.getPopupContainer,
- popupClassName: (0, _classnames2["default"])(popupClassName),
- popupStyle: popupStyle
- }),
- props.children
- );
- };
-
- return SelectTrigger;
- }(_react.Component);
-
- ;
-
- SelectTrigger.propTypes = propTypes;
-
- exports["default"] = SelectTrigger;
- module.exports = exports['default'];
-
-/***/ }),
-/* 160 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- module.exports = __webpack_require__(161);
-
-/***/ }),
-/* 161 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _reactDom = __webpack_require__(12);
-
- var _reactDom2 = _interopRequireDefault(_reactDom);
-
- var _contains = __webpack_require__(76);
-
- var _contains2 = _interopRequireDefault(_contains);
-
- var _tinperBeeCore = __webpack_require__(26);
-
- var _Popup = __webpack_require__(162);
-
- var _Popup2 = _interopRequireDefault(_Popup);
-
- var _utils = __webpack_require__(165);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- //import getContainerRenderMixin from './getContainerRenderMixin';
-
- function noop() {}
-
- function returnEmptyString() {
- return '';
- }
-
- var ALL_HANDLERS = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur'];
-
- var propTypes = {
- children: _propTypes2["default"].any,
- action: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].arrayOf(_propTypes2["default"].string)]),
- showAction: _propTypes2["default"].any,
- hideAction: _propTypes2["default"].any,
- getPopupClassNameFromAlign: _propTypes2["default"].any,
- onPopupVisibleChange: _propTypes2["default"].func,
- afterPopupVisibleChange: _propTypes2["default"].func,
- popup: _propTypes2["default"].oneOfType([_propTypes2["default"].node, _propTypes2["default"].func]).isRequired,
- popupStyle: _propTypes2["default"].object,
- clsPrefix: _propTypes2["default"].string,
- popupClassName: _propTypes2["default"].string,
- popupPlacement: _propTypes2["default"].string,
- builtinPlacements: _propTypes2["default"].object,
- popupTransitionName: _propTypes2["default"].string,
- popupAnimation: _propTypes2["default"].any,
- mouseEnterDelay: _propTypes2["default"].number,
- mouseLeaveDelay: _propTypes2["default"].number,
- zIndex: _propTypes2["default"].number,
- focusDelay: _propTypes2["default"].number,
- blurDelay: _propTypes2["default"].number,
- getPopupContainer: _propTypes2["default"].func,
- destroyPopupOnHide: _propTypes2["default"].bool,
- mask: _propTypes2["default"].bool,
- maskClosable: _propTypes2["default"].bool,
- onPopupAlign: _propTypes2["default"].func,
- popupAlign: _propTypes2["default"].object,
- popupVisible: _propTypes2["default"].bool,
- maskTransitionName: _propTypes2["default"].string,
- maskAnimation: _propTypes2["default"].string
- };
-
- var defaultProps = {
- clsPrefix: 'rc-trigger-popup',
- getPopupClassNameFromAlign: returnEmptyString,
- onPopupVisibleChange: noop,
- afterPopupVisibleChange: noop,
- onPopupAlign: noop,
- popupClassName: '',
- mouseEnterDelay: 0,
- mouseLeaveDelay: 0.1,
- focusDelay: 0,
- blurDelay: 0.15,
- popupStyle: {},
- destroyPopupOnHide: false,
- popupAlign: {},
- defaultPopupVisible: false,
- mask: false,
- maskClosable: true,
- action: [],
- showAction: [],
- hideAction: []
- };
-
- var Trigger = function (_Component) {
- _inherits(Trigger, _Component);
-
- function Trigger(props) {
- _classCallCheck(this, Trigger);
-
- var _this = _possibleConstructorReturn(this, _Component.call(this, props));
-
- _this.state = {
- popupVisible: !!_this.props.popupVisible || _this.props.defaultPopupVisible
- //this.removeContainer = this.removeContainer.bind(this);
- };_this.getContainer = _this.getContainer.bind(_this);
- _this.renderComponent = _this.renderComponent.bind(_this);
- _this.isVisible = _this.isVisible.bind(_this);
-
- _this.onMouseEnter = _this.onMouseEnter.bind(_this);
- _this.onMouseLeave = _this.onMouseLeave.bind(_this);
- _this.onPopupMouseEnter = _this.onPopupMouseEnter.bind(_this);
- _this.onPopupMouseLeave = _this.onPopupMouseLeave.bind(_this);
- _this.onFocus = _this.onFocus.bind(_this);
-
- _this.onMouseDown = _this.onMouseDown.bind(_this);
- _this.onTouchStart = _this.onTouchStart.bind(_this);
- _this.onBlur = _this.onBlur.bind(_this);
- _this.onDocumentClick = _this.onDocumentClick.bind(_this);
- _this.getPopupDomNode = _this.getPopupDomNode.bind(_this);
-
- _this.getRootDomNode = _this.getRootDomNode.bind(_this);
- _this.getPopupClassNameFromAlign = _this.getPopupClassNameFromAlign.bind(_this);
- _this.getPopupAlign = _this.getPopupAlign.bind(_this);
- _this.getComponent = _this.getComponent.bind(_this);
- _this.setPopupVisible = _this.setPopupVisible.bind(_this);
-
- _this.delaySetPopupVisible = _this.delaySetPopupVisible.bind(_this);
- _this.clearDelayTimer = _this.clearDelayTimer.bind(_this);
- _this.createTwoChains = _this.createTwoChains.bind(_this);
- _this.isClickToShow = _this.isClickToShow.bind(_this);
- _this.isClickToHide = _this.isClickToHide.bind(_this);
-
- _this.isMouseEnterToShow = _this.isMouseEnterToShow.bind(_this);
- _this.isMouseLeaveToHide = _this.isMouseLeaveToHide.bind(_this);
- _this.isFocusToShow = _this.isFocusToShow.bind(_this);
- _this.isBlurToHide = _this.isBlurToHide.bind(_this);
- _this.forcePopupAlign = _this.forcePopupAlign.bind(_this);
-
- _this.fireEvents = _this.fireEvents.bind(_this);
- _this.close = _this.close.bind(_this);
- _this.onClick = _this.onClick.bind(_this);
- return _this;
- }
-
- Trigger.prototype.isVisible = function isVisible(instance) {
- return instance.state.popupVisible;
- };
-
- Trigger.prototype.getContainer = function getContainer(instance) {
- var popupContainer = document.createElement('div');
- var mountNode = instance.props.getPopupContainer ? instance.props.getPopupContainer((0, _reactDom.findDOMNode)(instance)) : document.body;
- mountNode.appendChild(popupContainer);
- return popupContainer;
- };
-
- Trigger.prototype.renderComponent = function renderComponent(instance, componentArg, ready) {
- if (instance._component || this.isVisible(instance)) {
- if (!instance._container) {
- instance._container = this.getContainer(instance);
- }
- var component = instance.getComponent(componentArg);
- _reactDom2["default"].unstable_renderSubtreeIntoContainer(instance, component, instance._container, function callback() {
- instance._component = this;
- if (ready) {
- ready.call(this);
- }
- });
- }
- };
-
- Trigger.prototype.componentWillMount = function componentWillMount() {
- var _this2 = this;
-
- this.mounted = false;
- ALL_HANDLERS.forEach(function (h) {
- _this2['fire' + h] = function (e) {
- _this2.fireEvents(h, e);
- };
- });
- };
-
- Trigger.prototype.componentDidMount = function componentDidMount() {
- this.mounted = true;
- this.componentDidUpdate({}, {
- popupVisible: this.state.popupVisible
- });
- };
-
- Trigger.prototype.componentWillReceiveProps = function componentWillReceiveProps(_ref) {
- var popupVisible = _ref.popupVisible;
-
- if (popupVisible !== undefined) {
- this.setState({
- popupVisible: popupVisible
- });
- }
- };
-
- Trigger.prototype.componentDidUpdate = function componentDidUpdate(_, prevState) {
- var props = this.props;
- var state = this.state;
- this.renderComponent(this, null, function () {
- if (prevState.popupVisible !== state.popupVisible) {
- props.afterPopupVisibleChange(state.popupVisible);
- }
- });
- if (this.isClickToHide()) {
- if (state.popupVisible) {
- if (!this.clickOutsideHandler) {
- this.clickOutsideHandler = (0, _tinperBeeCore.addEventListener)(document, 'mousedown', this.onDocumentClick);
- this.touchOutsideHandler = (0, _tinperBeeCore.addEventListener)(document, 'touchstart', this.onDocumentClick);
- }
- return;
- }
- }
- if (this.clickOutsideHandler) {
- this.clickOutsideHandler.remove();
- this.touchOutsideHandler.remove();
- this.clickOutsideHandler = null;
- this.touchOutsideHandler = null;
- }
- };
-
- Trigger.prototype.componentWillUnmount = function componentWillUnmount() {
- this.clearDelayTimer();
- if (this.clickOutsideHandler) {
- this.clickOutsideHandler.remove();
- this.touchOutsideHandler.remove();
- this.clickOutsideHandler = null;
- this.touchOutsideHandler = null;
- }
- if (this._container) {
- _reactDom2["default"].unmountComponentAtNode(this._container);
- }
-
- //this.removeContainer();
- };
-
- Trigger.prototype.onMouseEnter = function onMouseEnter(e) {
- this.fireEvents('onMouseEnter', e);
- this.delaySetPopupVisible(true, this.props.mouseEnterDelay);
- };
-
- Trigger.prototype.onMouseLeave = function onMouseLeave(e) {
- this.fireEvents('onMouseLeave', e);
- this.delaySetPopupVisible(false, this.props.mouseLeaveDelay);
- };
-
- Trigger.prototype.onPopupMouseEnter = function onPopupMouseEnter() {
- this.clearDelayTimer();
- };
-
- Trigger.prototype.onPopupMouseLeave = function onPopupMouseLeave(e) {
- // https://github.com/react-component/trigger/pull/13
- // react bug?
- if (e.relatedTarget && !e.relatedTarget.setTimeout && this._component && (0, _contains2["default"])(this._component.getPopupDomNode(), e.relatedTarget)) {
- return;
- }
- this.delaySetPopupVisible(false, this.props.mouseLeaveDelay);
- };
-
- Trigger.prototype.onFocus = function onFocus(e) {
- this.fireEvents('onFocus', e);
- // incase focusin and focusout
- this.clearDelayTimer();
- if (this.isFocusToShow()) {
- this.focusTime = Date.now();
- this.delaySetPopupVisible(true, this.props.focusDelay);
- }
- };
-
- Trigger.prototype.onMouseDown = function onMouseDown(e) {
- this.fireEvents('onMouseDown', e);
- this.preClickTime = Date.now();
- };
-
- Trigger.prototype.onTouchStart = function onTouchStart(e) {
- this.fireEvents('onTouchStart', e);
- this.preTouchTime = Date.now();
- };
-
- Trigger.prototype.onBlur = function onBlur(e) {
- this.fireEvents('onBlur', e);
- this.clearDelayTimer();
- if (this.isBlurToHide()) {
- this.delaySetPopupVisible(false, this.props.blurDelay);
- }
- };
-
- Trigger.prototype.onClick = function onClick(event) {
- this.fireEvents('onClick', event);
- // focus will trigger click
- if (this.focusTime) {
- var preTime = void 0;
- if (this.preClickTime && this.preTouchTime) {
- preTime = Math.min(this.preClickTime, this.preTouchTime);
- } else if (this.preClickTime) {
- preTime = this.preClickTime;
- } else if (this.preTouchTime) {
- preTime = this.preTouchTime;
- }
- if (Math.abs(preTime - this.focusTime) < 20) {
- return;
- }
- this.focusTime = 0;
- }
- this.preClickTime = 0;
- this.preTouchTime = 0;
- event.preventDefault();
- var nextVisible = !this.state.popupVisible;
- if (this.isClickToHide() && !nextVisible || nextVisible && this.isClickToShow()) {
- this.setPopupVisible(!this.state.popupVisible);
- }
- };
-
- Trigger.prototype.onDocumentClick = function onDocumentClick(event) {
- if (this.props.mask && !this.props.maskClosable) {
- return;
- }
- var target = event.target;
- var root = (0, _reactDom.findDOMNode)(this);
- var popupNode = this.getPopupDomNode();
- if (!(0, _contains2["default"])(root, target) && !(0, _contains2["default"])(popupNode, target)) {
- this.close();
- }
- };
-
- Trigger.prototype.getPopupDomNode = function getPopupDomNode() {
- // for test
- if (this._component) {
- return this.mounted ? this._component.getPopupDomNode() : null;
- }
- return null;
- };
-
- Trigger.prototype.getRootDomNode = function getRootDomNode() {
- return _reactDom2["default"].findDOMNode(this);
- };
-
- Trigger.prototype.getPopupClassNameFromAlign = function getPopupClassNameFromAlign(align) {
- var className = [];
- var props = this.props;
- var popupPlacement = props.popupPlacement,
- builtinPlacements = props.builtinPlacements,
- clsPrefix = props.clsPrefix;
-
- if (popupPlacement && builtinPlacements) {
- className.push((0, _utils.getPopupClassNameFromAlign)(builtinPlacements, clsPrefix, align));
- }
- if (props.getPopupClassNameFromAlign) {
- className.push(props.getPopupClassNameFromAlign(align));
- }
- return className.join(' ');
- };
-
- Trigger.prototype.getPopupAlign = function getPopupAlign() {
- var props = this.props;
- var popupPlacement = props.popupPlacement,
- popupAlign = props.popupAlign,
- builtinPlacements = props.builtinPlacements;
-
- if (popupPlacement && builtinPlacements) {
- return (0, _utils.getAlignFromPlacement)(builtinPlacements, popupPlacement, popupAlign);
- }
- return popupAlign;
- };
-
- Trigger.prototype.getComponent = function getComponent() {
- var props = this.props,
- state = this.state;
-
- var mouseProps = {};
- if (this.isMouseEnterToShow()) {
- mouseProps.onMouseEnter = this.onPopupMouseEnter;
- }
- if (this.isMouseLeaveToHide()) {
- mouseProps.onMouseLeave = this.onPopupMouseLeave;
- }
- return _react2["default"].createElement(
- _Popup2["default"],
- _extends({
- clsPrefix: props.clsPrefix,
- destroyPopupOnHide: props.destroyPopupOnHide,
- visible: state.popupVisible,
- className: props.popupClassName,
- action: props.action,
- align: this.getPopupAlign(),
- onAlign: props.onPopupAlign,
- animation: props.popupAnimation,
- getClassNameFromAlign: this.getPopupClassNameFromAlign
- }, mouseProps, {
- getRootDomNode: this.getRootDomNode,
- style: props.popupStyle,
- mask: props.mask,
- zIndex: props.zIndex,
- transitionName: props.popupTransitionName,
- maskAnimation: props.maskAnimation,
- maskTransitionName: props.maskTransitionName
- }),
- typeof props.popup === 'function' ? props.popup() : props.popup
- );
- };
-
- Trigger.prototype.setPopupVisible = function setPopupVisible(popupVisible) {
- this.clearDelayTimer();
- if (this.state.popupVisible !== popupVisible) {
- if (!('popupVisible' in this.props)) {
- this.setState({
- popupVisible: popupVisible
- });
- }
- this.props.onPopupVisibleChange(popupVisible);
- }
- };
-
- Trigger.prototype.delaySetPopupVisible = function delaySetPopupVisible(visible, delayS) {
- var _this3 = this;
-
- var delay = delayS * 1000;
- this.clearDelayTimer();
- if (delay) {
- this.delayTimer = setTimeout(function () {
- _this3.setPopupVisible(visible);
- _this3.clearDelayTimer();
- }, delay);
- } else {
- this.setPopupVisible(visible);
- }
- };
-
- Trigger.prototype.clearDelayTimer = function clearDelayTimer() {
- if (this.delayTimer) {
- clearTimeout(this.delayTimer);
- this.delayTimer = null;
- }
- };
-
- Trigger.prototype.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];
- };
-
- Trigger.prototype.isClickToShow = function isClickToShow() {
- var _props = this.props,
- action = _props.action,
- showAction = _props.showAction;
-
- return action.indexOf('click') !== -1 || showAction.indexOf('click') !== -1;
- };
-
- Trigger.prototype.isClickToHide = function isClickToHide() {
- var _props2 = this.props,
- action = _props2.action,
- hideAction = _props2.hideAction;
-
- return action.indexOf('click') !== -1 || hideAction.indexOf('click') !== -1;
- };
-
- Trigger.prototype.isMouseEnterToShow = function isMouseEnterToShow() {
- var _props3 = this.props,
- action = _props3.action,
- showAction = _props3.showAction;
-
- return action.indexOf('hover') !== -1 || showAction.indexOf('mouseEnter') !== -1;
- };
-
- Trigger.prototype.isMouseLeaveToHide = function isMouseLeaveToHide() {
- var _props4 = this.props,
- action = _props4.action,
- hideAction = _props4.hideAction;
-
- return action.indexOf('hover') !== -1 || hideAction.indexOf('mouseLeave') !== -1;
- };
-
- Trigger.prototype.isFocusToShow = function isFocusToShow() {
- var _props5 = this.props,
- action = _props5.action,
- showAction = _props5.showAction;
-
- return action.indexOf('focus') !== -1 || showAction.indexOf('focus') !== -1;
- };
-
- Trigger.prototype.isBlurToHide = function isBlurToHide() {
- var _props6 = this.props,
- action = _props6.action,
- hideAction = _props6.hideAction;
-
- return action.indexOf('focus') !== -1 || hideAction.indexOf('blur') !== -1;
- };
-
- Trigger.prototype.forcePopupAlign = function forcePopupAlign() {
- if (this.state.popupVisible && this.popupInstance && this.popupInstance.alignInstance) {
- this.popupInstance.alignInstance.forceAlign();
- }
- };
-
- Trigger.prototype.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);
- }
- };
-
- Trigger.prototype.close = function close() {
- this.setPopupVisible(false);
- };
-
- Trigger.prototype.render = function render() {
- var props = this.props;
- var children = props.children;
- var child = _react2["default"].Children.only(children);
- var newChildProps = {};
-
- if (this.isClickToHide() || this.isClickToShow()) {
- 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 = this.onMouseEnter;
- } else {
- newChildProps.onMouseEnter = this.createTwoChains('onMouseEnter');
- }
- if (this.isMouseLeaveToHide()) {
- newChildProps.onMouseLeave = this.onMouseLeave;
- } else {
- newChildProps.onMouseLeave = this.createTwoChains('onMouseLeave');
- }
- if (this.isFocusToShow() || this.isBlurToHide()) {
- newChildProps.onFocus = this.onFocus;
- newChildProps.onBlur = this.onBlur;
- } else {
- newChildProps.onFocus = this.createTwoChains('onFocus');
- newChildProps.onBlur = this.createTwoChains('onBlur');
- }
-
- return _react2["default"].cloneElement(child, newChildProps);
- };
-
- return Trigger;
- }(_react.Component);
-
- ;
-
- Trigger.propTypes = propTypes;
- Trigger.defaultProps = defaultProps;
- exports["default"] = Trigger;
- module.exports = exports['default'];
-
-/***/ }),
-/* 162 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _reactDom = __webpack_require__(12);
-
- var _reactDom2 = _interopRequireDefault(_reactDom);
-
- var _Align = __webpack_require__(49);
-
- var _Align2 = _interopRequireDefault(_Align);
-
- var _beeAnimate = __webpack_require__(128);
-
- var _beeAnimate2 = _interopRequireDefault(_beeAnimate);
-
- var _PopupInner = __webpack_require__(163);
-
- var _PopupInner2 = _interopRequireDefault(_PopupInner);
-
- var _LazyRenderBox = __webpack_require__(164);
-
- var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- visible: _propTypes2["default"].bool,
- style: _propTypes2["default"].object,
- getClassNameFromAlign: _propTypes2["default"].func,
- onAlign: _propTypes2["default"].func,
- getRootDomNode: _propTypes2["default"].func,
- onMouseEnter: _propTypes2["default"].func,
- align: _propTypes2["default"].any,
- destroyPopupOnHide: _propTypes2["default"].bool,
- className: _propTypes2["default"].string,
- clsPrefix: _propTypes2["default"].string,
- onMouseLeave: _propTypes2["default"].func
- };
-
- var Popup = function (_Component) {
- _inherits(Popup, _Component);
-
- function Popup() {
- _classCallCheck(this, Popup);
-
- var _this = _possibleConstructorReturn(this, _Component.call(this));
-
- _this.onAlign = _this.onAlign.bind(_this);
- _this.getPopupDomNode = _this.getPopupDomNode.bind(_this);
- _this.getTarget = _this.getTarget.bind(_this);
- _this.getMaskTransitionName = _this.getMaskTransitionName.bind(_this);
- _this.getTransitionName = _this.getTransitionName.bind(_this);
- _this.getClassName = _this.getClassName.bind(_this);
- _this.getPopupElement = _this.getPopupElement.bind(_this);
- _this.getZIndexStyle = _this.getZIndexStyle.bind(_this);
- _this.getMaskElement = _this.getMaskElement.bind(_this);
- _this.saveAlign = _this.saveAlign.bind(_this);
- return _this;
- }
-
- Popup.prototype.componentDidMount = function componentDidMount() {
- this.rootNode = this.getPopupDomNode();
- };
-
- Popup.prototype.onAlign = function onAlign(popupDomNode, align) {
- var props = this.props;
- var alignClassName = props.getClassNameFromAlign(props.align);
- var currentAlignClassName = props.getClassNameFromAlign(align);
- if (alignClassName !== currentAlignClassName) {
- this.currentAlignClassName = currentAlignClassName;
- popupDomNode.className = this.getClassName(currentAlignClassName);
- }
- props.onAlign(popupDomNode, align);
- };
-
- Popup.prototype.getPopupDomNode = function getPopupDomNode() {
- return _reactDom2["default"].findDOMNode(this.refs.popup);
- };
-
- Popup.prototype.getTarget = function getTarget() {
- return this.props.getRootDomNode();
- };
-
- Popup.prototype.getMaskTransitionName = function getMaskTransitionName() {
- var props = this.props;
- var transitionName = props.maskTransitionName;
- var animation = props.maskAnimation;
- if (!transitionName && animation) {
- transitionName = props.clsPrefix + '-' + animation;
- }
- return transitionName;
- };
-
- Popup.prototype.getTransitionName = function getTransitionName() {
- var props = this.props;
- var transitionName = props.transitionName;
- if (!transitionName && props.animation) {
- transitionName = props.clsPrefix + '-' + props.animation;
- }
- return transitionName;
- };
-
- Popup.prototype.getClassName = function getClassName(currentAlignClassName) {
- return this.props.clsPrefix + ' ' + this.props.className + ' ' + currentAlignClassName;
- };
-
- Popup.prototype.getPopupElement = function getPopupElement() {
- var props = this.props;
- var align = props.align,
- style = props.style,
- visible = props.visible,
- clsPrefix = props.clsPrefix,
- destroyPopupOnHide = props.destroyPopupOnHide;
-
- var className = this.getClassName(this.currentAlignClassName || props.getClassNameFromAlign(align));
- var hiddenClassName = clsPrefix + '-hidden';
- if (!visible) {
- this.currentAlignClassName = null;
- }
- var newStyle = _extends({}, style, this.getZIndexStyle());
- var popupInnerProps = {
- className: className,
- clsPrefix: clsPrefix,
- ref: 'popup',
- onMouseEnter: props.onMouseEnter,
- onMouseLeave: props.onMouseLeave,
- style: newStyle
- };
- if (destroyPopupOnHide) {
- return _react2["default"].createElement(
- _beeAnimate2["default"],
- {
- component: '',
- exclusive: true,
- transitionAppear: true,
- transitionName: this.getTransitionName()
- },
- visible ? _react2["default"].createElement(
- _Align2["default"],
- {
- target: this.getTarget,
- key: 'popup',
- ref: this.saveAlign,
- monitorWindowResize: true,
- align: align,
- onAlign: this.onAlign
- },
- _react2["default"].createElement(
- _PopupInner2["default"],
- _extends({
- visible: true
- }, popupInnerProps),
- props.children
- )
- ) : null
- );
- }
- return _react2["default"].createElement(
- _beeAnimate2["default"],
- {
- component: '',
- exclusive: true,
- transitionAppear: true,
- transitionName: this.getTransitionName(),
- showProp: 'xVisible'
- },
- _react2["default"].createElement(
- _Align2["default"],
- {
- target: this.getTarget,
- key: 'popup',
- ref: this.saveAlign,
- monitorWindowResize: true,
- xVisible: visible,
- childrenProps: { visible: 'xVisible' },
- disabled: !visible,
- align: align,
- onAlign: this.onAlign
- },
- _react2["default"].createElement(
- _PopupInner2["default"],
- _extends({
- hiddenClassName: hiddenClassName
- }, popupInnerProps),
- props.children
- )
- )
- );
- };
-
- Popup.prototype.getZIndexStyle = function getZIndexStyle() {
- var style = {};
- var props = this.props;
- if (props.zIndex !== undefined) {
- style.zIndex = props.zIndex;
- }
- return style;
- };
-
- Popup.prototype.getMaskElement = function getMaskElement() {
- var props = this.props;
- var maskElement = void 0;
- if (props.mask) {
- var maskTransition = this.getMaskTransitionName();
- maskElement = _react2["default"].createElement(_LazyRenderBox2["default"], {
- style: this.getZIndexStyle(),
- key: 'mask',
- className: props.clsPrefix + '-mask',
- hiddenClassName: props.clsPrefix + '-mask-hidden',
- visible: props.visible
- });
- if (maskTransition) {
- maskElement = _react2["default"].createElement(
- _beeAnimate2["default"],
- {
- key: 'mask',
- showProp: 'visible',
- transitionAppear: true,
- component: '',
- transitionName: maskTransition
- },
- maskElement
- );
- }
- }
- return maskElement;
- };
-
- Popup.prototype.saveAlign = function saveAlign(align) {
- this.alignInstance = align;
- };
-
- Popup.prototype.render = function render() {
- return _react2["default"].createElement(
- 'div',
- null,
- this.getMaskElement(),
- this.getPopupElement()
- );
- };
-
- return Popup;
- }(_react.Component);
-
- ;
-
- Popup.propTypes = propTypes;
- exports["default"] = Popup;
- module.exports = exports['default'];
-
-/***/ }),
-/* 163 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- var _LazyRenderBox = __webpack_require__(164);
-
- var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- hiddenClassName: _propTypes2["default"].string,
- className: _propTypes2["default"].string,
- clsPrefix: _propTypes2["default"].string,
- onMouseEnter: _propTypes2["default"].func,
- onMouseLeave: _propTypes2["default"].func,
- children: _propTypes2["default"].any
- };
-
- var PopupInner = function (_Component) {
- _inherits(PopupInner, _Component);
-
- function PopupInner() {
- _classCallCheck(this, PopupInner);
-
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- PopupInner.prototype.render = function render() {
- var props = this.props;
- var className = props.className;
- if (!props.visible) {
- className += ' ' + props.hiddenClassName;
- }
- return _react2["default"].createElement(
- 'div',
- {
- className: className,
- onMouseEnter: props.onMouseEnter,
- onMouseLeave: props.onMouseLeave,
- style: props.style
- },
- _react2["default"].createElement(
- _LazyRenderBox2["default"],
- { className: props.clsPrefix + '-content', visible: props.visible },
- props.children
- )
- );
- };
-
- return PopupInner;
- }(_react.Component);
-
- ;
-
- PopupInner.propTypes = propTypes;
- exports["default"] = PopupInner;
- module.exports = exports['default'];
-
-/***/ }),
-/* 164 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- children: _propTypes2["default"].any,
- className: _propTypes2["default"].string,
- visible: _propTypes2["default"].bool,
- hiddenClassName: _propTypes2["default"].string
- };
-
- var LazyRenderBox = function (_Component) {
- _inherits(LazyRenderBox, _Component);
-
- function LazyRenderBox() {
- _classCallCheck(this, LazyRenderBox);
-
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- LazyRenderBox.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
- return nextProps.hiddenClassName || nextProps.visible;
- };
-
- LazyRenderBox.prototype.render = function render() {
- var _props = this.props,
- hiddenClassName = _props.hiddenClassName,
- visible = _props.visible,
- props = _objectWithoutProperties(_props, ['hiddenClassName', 'visible']);
-
- if (hiddenClassName || _react2["default"].Children.count(props.children) > 1) {
- if (!visible && hiddenClassName) {
- props.className += ' ' + hiddenClassName;
- }
- return _react2["default"].createElement('div', props);
- }
-
- return _react2["default"].Children.only(props.children);
- };
-
- return LazyRenderBox;
- }(_react.Component);
-
- ;
- LazyRenderBox.propTypes = propTypes;
-
- exports["default"] = LazyRenderBox;
- module.exports = exports['default'];
-
-/***/ }),
-/* 165 */
-/***/ (function(module, exports) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- exports.getAlignFromPlacement = getAlignFromPlacement;
- exports.getPopupClassNameFromAlign = getPopupClassNameFromAlign;
- function isPointsEq(a1, a2) {
- return a1[0] === a2[0] && a1[1] === a2[1];
- }
-
- function getAlignFromPlacement(builtinPlacements, placementStr, align) {
- var baseAlign = builtinPlacements[placementStr] || {};
- return _extends({}, baseAlign, align);
- }
-
- function getPopupClassNameFromAlign(builtinPlacements, clsPrefix, align) {
- var points = align.points;
- for (var placement in builtinPlacements) {
- if (builtinPlacements.hasOwnProperty(placement)) {
- if (isPointsEq(builtinPlacements[placement].points, points)) {
- return clsPrefix + '-placement-' + placement;
- }
- }
- }
- return '';
- }
-
-/***/ }),
-/* 166 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _reactDom = __webpack_require__(12);
-
- var _tinperBeeCore = __webpack_require__(26);
-
- var _beeMenus = __webpack_require__(142);
-
- var _beeMenus2 = _interopRequireDefault(_beeMenus);
-
- var _domScrollIntoView = __webpack_require__(167);
-
- var _domScrollIntoView2 = _interopRequireDefault(_domScrollIntoView);
-
- var _util = __webpack_require__(158);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- defaultActiveFirstOption: _propTypes2["default"].bool,
- value: _propTypes2["default"].any,
- dropdownMenuStyle: _propTypes2["default"].object,
- multiple: _propTypes2["default"].bool,
- onPopupFocus: _propTypes2["default"].func,
- onMenuDeSelect: _propTypes2["default"].func,
- onMenuSelect: _propTypes2["default"].func,
- clsPrefix: _propTypes2["default"].string,
- menuItems: _propTypes2["default"].any,
- inputValue: _propTypes2["default"].string,
- visible: _propTypes2["default"].bool
- };
-
- var DropdownMenu = function (_Component) {
- _inherits(DropdownMenu, _Component);
-
- function DropdownMenu() {
- _classCallCheck(this, DropdownMenu);
-
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- DropdownMenu.prototype.componentWillMount = function componentWillMount() {
- this.lastInputValue = this.props.inputValue;
- };
-
- DropdownMenu.prototype.componentDidMount = function componentDidMount() {
- this.scrollActiveItemToView();
- this.lastVisible = this.props.visible;
- var scrollDom = (0, _reactDom.findDOMNode)(this.refs.menu);
- scrollDom.addEventListener('scroll', this.handleScroll.bind(this));
- };
-
- DropdownMenu.prototype.componentWillUnmount = function componentWillUnmount() {
- var scrollDom = (0, _reactDom.findDOMNode)(this.refs.menu);
- scrollDom.removeEventListener('scroll', this.handleScroll.bind(this));
- };
-
- DropdownMenu.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
- if (!nextProps.visible) {
- this.lastVisible = false;
- }
- // freeze when hide
- return nextProps.visible;
- };
-
- DropdownMenu.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- var props = this.props;
- if (!prevProps.visible && props.visible) {
- this.scrollActiveItemToView();
- }
- this.lastVisible = props.visible;
- this.lastInputValue = props.inputValue;
- };
-
- DropdownMenu.prototype.handleScroll = function handleScroll(event) {
- var scrollToEnd = this.props.scrollToEnd;
-
- var el = event.target;
- if (el.scrollHeight < el.clientHeight + el.scrollTop + 1) {
- if (scrollToEnd) {
- scrollToEnd();
- }
- }
- };
-
- DropdownMenu.prototype.scrollActiveItemToView = function scrollActiveItemToView() {
- // scroll into view
- var itemComponent = (0, _reactDom.findDOMNode)(this.firstActiveItem);
- if (itemComponent) {
- (0, _domScrollIntoView2["default"])(itemComponent, (0, _reactDom.findDOMNode)(this.refs.menu), {
- onlyScrollIfNeeded: true
- });
- }
- };
-
- DropdownMenu.prototype.renderMenu = function renderMenu() {
- var _this2 = this;
-
- var props = this.props;
- var menuItems = props.menuItems,
- defaultActiveFirstOption = props.defaultActiveFirstOption,
- value = props.value,
- clsPrefix = props.clsPrefix,
- multiple = props.multiple,
- onMenuSelect = props.onMenuSelect,
- inputValue = props.inputValue;
-
- if (menuItems && menuItems.length) {
- var menuProps = {};
- if (multiple) {
- menuProps.onDeselect = props.onMenuDeselect;
- menuProps.onSelect = onMenuSelect;
- } else {
- menuProps.onClick = onMenuSelect;
- }
-
- var selectedKeys = (0, _util.getSelectKeys)(menuItems, value);
- var activeKeyProps = {};
-
- var clonedMenuItems = menuItems;
- if (selectedKeys.length) {
- if (props.visible && !this.lastVisible) {
- activeKeyProps.activeKey = selectedKeys[0];
- }
- var foundFirst = false;
- // set firstActiveItem via cloning menus
- // for scroll into view
- var clone = function clone(item) {
- if (!foundFirst && selectedKeys.indexOf(item.key) !== -1) {
- foundFirst = true;
- return (0, _react.cloneElement)(item, {
- ref: function ref(_ref) {
- _this2.firstActiveItem = _ref;
- }
- });
- }
- return item;
- };
-
- clonedMenuItems = menuItems.map(function (item) {
- if (item.type === _beeMenus.ItemGroup) {
- var children = (0, _tinperBeeCore.toArray)(item.props.children).map(clone);
- return (0, _react.cloneElement)(item, {}, children);
- }
- return clone(item);
- });
- }
-
- // clear activeKey when inputValue change
- if (inputValue !== this.lastInputValue) {
- activeKeyProps.activeKey = '';
- }
-
- return _react2["default"].createElement(
- _beeMenus2["default"],
- _extends({
- ref: 'menu',
- style: this.props.dropdownMenuStyle,
- defaultActiveFirst: defaultActiveFirstOption
- }, activeKeyProps, {
- multiple: multiple,
- focusable: false
- }, menuProps, {
- selectedKeys: selectedKeys,
- clsPrefix: clsPrefix + '-menu'
- }),
- clonedMenuItems
- );
- }
- return null;
- };
-
- DropdownMenu.prototype.render = function render() {
- var renderMenu = this.renderMenu();
- return renderMenu ? _react2["default"].createElement(
- 'div',
- {
- style: { overflow: 'auto' },
- onFocus: this.props.onPopupFocus,
- onMouseDown: _util.preventDefaultEvent
- },
- renderMenu
- ) : null;
- };
-
- return DropdownMenu;
- }(_react.Component);
-
- ;
-
- exports["default"] = DropdownMenu;
- module.exports = exports['default'];
-
-/***/ }),
-/* 167 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- module.exports = __webpack_require__(168);
-
-/***/ }),
-/* 168 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- var util = __webpack_require__(169);
-
- function scrollIntoView(elem, container, config) {
- config = config || {};
- // document 归一化到 window
- if (container.nodeType === 9) {
- container = util.getWindow(container);
- }
-
- var allowHorizontalScroll = config.allowHorizontalScroll;
- var onlyScrollIfNeeded = config.onlyScrollIfNeeded;
- var alignWithTop = config.alignWithTop;
- var alignWithLeft = config.alignWithLeft;
- var offsetTop = config.offsetTop || 0;
- var offsetLeft = config.offsetLeft || 0;
- var offsetBottom = config.offsetBottom || 0;
- var offsetRight = config.offsetRight || 0;
-
- allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;
-
- var isWin = util.isWindow(container);
- var elemOffset = util.offset(elem);
- var eh = util.outerHeight(elem);
- var ew = util.outerWidth(elem);
- var containerOffset = undefined;
- var ch = undefined;
- var cw = undefined;
- var containerScroll = undefined;
- var diffTop = undefined;
- var diffBottom = undefined;
- var win = undefined;
- var winScroll = undefined;
- var ww = undefined;
- var wh = undefined;
-
- if (isWin) {
- win = container;
- wh = util.height(win);
- ww = util.width(win);
- winScroll = {
- left: util.scrollLeft(win),
- top: util.scrollTop(win)
- };
- // elem 相对 container 可视视窗的距离
- diffTop = {
- left: elemOffset.left - winScroll.left - offsetLeft,
- top: elemOffset.top - winScroll.top - offsetTop
- };
- diffBottom = {
- left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,
- top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom
- };
- containerScroll = winScroll;
- } else {
- containerOffset = util.offset(container);
- ch = container.clientHeight;
- cw = container.clientWidth;
- containerScroll = {
- left: container.scrollLeft,
- top: container.scrollTop
- };
- // elem 相对 container 可视视窗的距离
- // 注意边框, offset 是边框到根节点
- diffTop = {
- left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,
- top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop
- };
- diffBottom = {
- left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,
- top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom
- };
- }
-
- if (diffTop.top < 0 || diffBottom.top > 0) {
- // 强制向上
- if (alignWithTop === true) {
- util.scrollTop(container, containerScroll.top + diffTop.top);
- } else if (alignWithTop === false) {
- util.scrollTop(container, containerScroll.top + diffBottom.top);
- } else {
- // 自动调整
- if (diffTop.top < 0) {
- util.scrollTop(container, containerScroll.top + diffTop.top);
- } else {
- util.scrollTop(container, containerScroll.top + diffBottom.top);
- }
- }
- } else {
- if (!onlyScrollIfNeeded) {
- alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;
- if (alignWithTop) {
- util.scrollTop(container, containerScroll.top + diffTop.top);
- } else {
- util.scrollTop(container, containerScroll.top + diffBottom.top);
- }
- }
- }
-
- if (allowHorizontalScroll) {
- if (diffTop.left < 0 || diffBottom.left > 0) {
- // 强制向上
- if (alignWithLeft === true) {
- util.scrollLeft(container, containerScroll.left + diffTop.left);
- } else if (alignWithLeft === false) {
- util.scrollLeft(container, containerScroll.left + diffBottom.left);
- } else {
- // 自动调整
- if (diffTop.left < 0) {
- util.scrollLeft(container, containerScroll.left + diffTop.left);
- } else {
- util.scrollLeft(container, containerScroll.left + diffBottom.left);
- }
- }
- } else {
- if (!onlyScrollIfNeeded) {
- alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;
- if (alignWithLeft) {
- util.scrollLeft(container, containerScroll.left + diffTop.left);
- } else {
- util.scrollLeft(container, containerScroll.left + diffBottom.left);
- }
- }
- }
- }
- }
-
- module.exports = scrollIntoView;
-
-/***/ }),
-/* 169 */
-/***/ (function(module, exports) {
-
- 'use strict';
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
-
- var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
-
- function getClientPosition(elem) {
- var box = undefined;
- var x = undefined;
- var y = undefined;
- var doc = elem.ownerDocument;
- var body = doc.body;
- var docElem = doc && doc.documentElement;
- // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式
- box = elem.getBoundingClientRect();
-
- // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop
- // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
- // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin
-
- x = box.left;
- y = box.top;
-
- // In IE, most of the time, 2 extra pixels are added to the top and left
- // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and
- // IE6 standards mode, this border can be overridden by setting the
- // document element's border to zero -- thus, we cannot rely on the
- // offset always being 2 pixels.
-
- // In quirks mode, the offset can be determined by querying the body's
- // clientLeft/clientTop, but in standards mode, it is found by querying
- // the document element's clientLeft/clientTop. Since we already called
- // getClientBoundingRect we have already forced a reflow, so it is not
- // too expensive just to query them all.
-
- // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的
- // 窗口边框标准是设 documentElement ,quirks 时设置 body
- // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去
- // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置
- // 标准 ie 下 docElem.clientTop 就是 border-top
- // ie7 html 即窗口边框改变不了。永远为 2
- // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0
-
- x -= docElem.clientLeft || body.clientLeft || 0;
- y -= docElem.clientTop || body.clientTop || 0;
-
- return {
- left: x,
- top: y
- };
- }
-
- function getScroll(w, top) {
- var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];
- var method = 'scroll' + (top ? 'Top' : 'Left');
- if (typeof ret !== 'number') {
- var d = w.document;
- // ie6,7,8 standard mode
- ret = d.documentElement[method];
- if (typeof ret !== 'number') {
- // quirks mode
- ret = d.body[method];
- }
- }
- return ret;
- }
-
- function getScrollLeft(w) {
- return getScroll(w);
- }
-
- function getScrollTop(w) {
- return getScroll(w, true);
- }
-
- function getOffset(el) {
- var pos = getClientPosition(el);
- var doc = el.ownerDocument;
- var w = doc.defaultView || doc.parentWindow;
- pos.left += getScrollLeft(w);
- pos.top += getScrollTop(w);
- return pos;
- }
- function _getComputedStyle(elem, name, computedStyle_) {
- var val = '';
- var d = elem.ownerDocument;
- var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null);
-
- // https://github.com/kissyteam/kissy/issues/61
- if (computedStyle) {
- val = computedStyle.getPropertyValue(name) || computedStyle[name];
- }
-
- return val;
- }
-
- var _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');
- var RE_POS = /^(top|right|bottom|left)$/;
- var CURRENT_STYLE = 'currentStyle';
- var RUNTIME_STYLE = 'runtimeStyle';
- var LEFT = 'left';
- var PX = 'px';
-
- function _getComputedStyleIE(elem, name) {
- // currentStyle maybe null
- // http://msdn.microsoft.com/en-us/library/ms535231.aspx
- var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];
-
- // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值
- // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19
- // 在 ie 下不对,需要直接用 offset 方式
- // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了
-
- // From the awesome hack by Dean Edwards
- // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
- // If we're not dealing with a regular pixel number
- // but a number that has a weird ending, we need to convert it to pixels
- // exclude left right for relativity
- if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {
- // Remember the original values
- var style = elem.style;
- var left = style[LEFT];
- var rsLeft = elem[RUNTIME_STYLE][LEFT];
-
- // prevent flashing of content
- elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];
-
- // Put in the new values to get a computed value out
- style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;
- ret = style.pixelLeft + PX;
-
- // Revert the changed values
- style[LEFT] = left;
-
- elem[RUNTIME_STYLE][LEFT] = rsLeft;
- }
- return ret === '' ? 'auto' : ret;
- }
-
- var getComputedStyleX = undefined;
- if (typeof window !== 'undefined') {
- getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
- }
-
- function each(arr, fn) {
- for (var i = 0; i < arr.length; i++) {
- fn(arr[i]);
- }
- }
-
- function isBorderBoxFn(elem) {
- return getComputedStyleX(elem, 'boxSizing') === 'border-box';
- }
-
- var BOX_MODELS = ['margin', 'border', 'padding'];
- var CONTENT_INDEX = -1;
- var PADDING_INDEX = 2;
- var BORDER_INDEX = 1;
- var MARGIN_INDEX = 0;
-
- function swap(elem, options, callback) {
- var old = {};
- var style = elem.style;
- var name = undefined;
-
- // Remember the old values, and insert the new ones
- for (name in options) {
- if (options.hasOwnProperty(name)) {
- old[name] = style[name];
- style[name] = options[name];
- }
- }
-
- callback.call(elem);
-
- // Revert the old values
- for (name in options) {
- if (options.hasOwnProperty(name)) {
- style[name] = old[name];
- }
- }
- }
-
- function getPBMWidth(elem, props, which) {
- var value = 0;
- var prop = undefined;
- var j = undefined;
- var i = undefined;
- for (j = 0; j < props.length; j++) {
- prop = props[j];
- if (prop) {
- for (i = 0; i < which.length; i++) {
- var cssProp = undefined;
- if (prop === 'border') {
- cssProp = prop + which[i] + 'Width';
- } else {
- cssProp = prop + which[i];
- }
- value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
- }
- }
- }
- return value;
- }
-
- /**
- * A crude way of determining if an object is a window
- * @member util
- */
- function isWindow(obj) {
- // must use == for ie8
- /* eslint eqeqeq:0 */
- return obj != null && obj == obj.window;
- }
-
- var domUtils = {};
-
- each(['Width', 'Height'], function (name) {
- domUtils['doc' + name] = function (refWin) {
- var d = refWin.document;
- return Math.max(
- // firefox chrome documentElement.scrollHeight< body.scrollHeight
- // ie standard mode : documentElement.scrollHeight> body.scrollHeight
- d.documentElement['scroll' + name],
- // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?
- d.body['scroll' + name], domUtils['viewport' + name](d));
- };
-
- domUtils['viewport' + name] = function (win) {
- // pc browser includes scrollbar in window.innerWidth
- var prop = 'client' + name;
- var doc = win.document;
- var body = doc.body;
- var documentElement = doc.documentElement;
- var documentElementProp = documentElement[prop];
- // 标准模式取 documentElement
- // backcompat 取 body
- return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;
- };
- });
-
- /*
- 得到元素的大小信息
- @param elem
- @param name
- @param {String} [extra] 'padding' : (css width) + padding
- 'border' : (css width) + padding + border
- 'margin' : (css width) + padding + border + margin
- */
- function getWH(elem, name, extra) {
- if (isWindow(elem)) {
- return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
- } else if (elem.nodeType === 9) {
- return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
- }
- var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
- var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;
- var computedStyle = getComputedStyleX(elem);
- var isBorderBox = isBorderBoxFn(elem, computedStyle);
- var cssBoxValue = 0;
- if (borderBoxValue == null || borderBoxValue <= 0) {
- borderBoxValue = undefined;
- // Fall back to computed then un computed css if necessary
- cssBoxValue = getComputedStyleX(elem, name);
- if (cssBoxValue == null || Number(cssBoxValue) < 0) {
- cssBoxValue = elem.style[name] || 0;
- }
- // Normalize '', auto, and prepare for extra
- cssBoxValue = parseFloat(cssBoxValue) || 0;
- }
- if (extra === undefined) {
- extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
- }
- var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;
- var val = borderBoxValue || cssBoxValue;
- if (extra === CONTENT_INDEX) {
- if (borderBoxValueOrIsBorderBox) {
- return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);
- }
- return cssBoxValue;
- }
- if (borderBoxValueOrIsBorderBox) {
- var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle);
- return val + (extra === BORDER_INDEX ? 0 : padding);
- }
- return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);
- }
-
- var cssShow = {
- position: 'absolute',
- visibility: 'hidden',
- display: 'block'
- };
-
- // fix #119 : https://github.com/kissyteam/kissy/issues/119
- function getWHIgnoreDisplay(elem) {
- var val = undefined;
- var args = arguments;
- // in case elem is window
- // elem.offsetWidth === undefined
- if (elem.offsetWidth !== 0) {
- val = getWH.apply(undefined, args);
- } else {
- swap(elem, cssShow, function () {
- val = getWH.apply(undefined, args);
- });
- }
- return val;
- }
-
- function css(el, name, v) {
- var value = v;
- if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {
- for (var i in name) {
- if (name.hasOwnProperty(i)) {
- css(el, i, name[i]);
- }
- }
- return undefined;
- }
- if (typeof value !== 'undefined') {
- if (typeof value === 'number') {
- value += 'px';
- }
- el.style[name] = value;
- return undefined;
- }
- return getComputedStyleX(el, name);
- }
-
- each(['width', 'height'], function (name) {
- var first = name.charAt(0).toUpperCase() + name.slice(1);
- domUtils['outer' + first] = function (el, includeMargin) {
- return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
- };
- var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
-
- domUtils[name] = function (elem, val) {
- if (val !== undefined) {
- if (elem) {
- var computedStyle = getComputedStyleX(elem);
- var isBorderBox = isBorderBoxFn(elem);
- if (isBorderBox) {
- val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);
- }
- return css(elem, name, val);
- }
- return undefined;
- }
- return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
- };
- });
-
- // 设置 elem 相对 elem.ownerDocument 的坐标
- function setOffset(elem, offset) {
- // set position first, in-case top/left are set even on static elem
- if (css(elem, 'position') === 'static') {
- elem.style.position = 'relative';
- }
-
- var old = getOffset(elem);
- var ret = {};
- var current = undefined;
- var key = undefined;
-
- for (key in offset) {
- if (offset.hasOwnProperty(key)) {
- current = parseFloat(css(elem, key)) || 0;
- ret[key] = current + offset[key] - old[key];
- }
- }
- css(elem, ret);
- }
-
- module.exports = _extends({
- getWindow: function getWindow(node) {
- var doc = node.ownerDocument || node;
- return doc.defaultView || doc.parentWindow;
- },
- offset: function offset(el, value) {
- if (typeof value !== 'undefined') {
- setOffset(el, value);
- } else {
- return getOffset(el);
- }
- },
-
- isWindow: isWindow,
- each: each,
- css: css,
- clone: function clone(obj) {
- var ret = {};
- for (var i in obj) {
- if (obj.hasOwnProperty(i)) {
- ret[i] = obj[i];
- }
- }
- var overflow = obj.overflow;
- if (overflow) {
- for (var i in obj) {
- if (obj.hasOwnProperty(i)) {
- ret.overflow[i] = obj.overflow[i];
- }
- }
- }
- return ret;
- },
- scrollLeft: function scrollLeft(w, v) {
- if (isWindow(w)) {
- if (v === undefined) {
- return getScrollLeft(w);
- }
- window.scrollTo(v, getScrollTop(w));
- } else {
- if (v === undefined) {
- return w.scrollLeft;
- }
- w.scrollLeft = v;
- }
- },
- scrollTop: function scrollTop(w, v) {
- if (isWindow(w)) {
- if (v === undefined) {
- return getScrollTop(w);
- }
- window.scrollTo(getScrollLeft(w), v);
- } else {
- if (v === undefined) {
- return w.scrollTop;
- }
- w.scrollTop = v;
- }
- },
-
- viewportWidth: 0,
- viewportHeight: 0
- }, domUtils);
-
-/***/ }),
-/* 170 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- disabled: _propTypes2["default"].bool,
- value: _propTypes2["default"].string
- };
-
- var Option = function (_React$Component) {
- _inherits(Option, _React$Component);
-
- function Option() {
- _classCallCheck(this, Option);
-
- return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
- }
-
- return Option;
- }(_react2["default"].Component);
-
- Option.propTypes = propTypes;
- exports["default"] = Option;
- module.exports = exports['default'];
-
-/***/ }),
-/* 171 */
-/***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _beeIcon = __webpack_require__(118);
-
- var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
- var _beeFormControl = __webpack_require__(137);
-
- var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
-
- var _beeForm = __webpack_require__(172);
-
- var _beeForm2 = _interopRequireDefault(_beeForm);
-
- var _beeTooltip = __webpack_require__(133);
-
- var _beeTooltip2 = _interopRequireDefault(_beeTooltip);
-
- var _propTypes = __webpack_require__(5);
-
- var _propTypes2 = _interopRequireDefault(_propTypes);
-
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
-
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
-
- var propTypes = {
- check: _propTypes2["default"].func
- };
-
- var defaultProps = {
- check: function check() {
- return "";
- }
- };
-
- var InputRender = function (_Component) {
- _inherits(InputRender, _Component);
-
- function InputRender() {
- var _temp, _this, _ret;
-
- _classCallCheck(this, InputRender);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
- value: _this.props.value,
- editable: false
- }, _this.handleChange = function (e) {
- var value = e;
- _this.setState({ value: value });
- }, _this.check = function () {
- if (typeof _this.flag === "undefined" || _this.flag) {
- _this.props.check(_this.flag, _this.obj);
- _this.setState({ editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(_this.state.value);
- }
- _this.flag = undefined;
- }
- }, _this.checkValidate = function (flag, obj) {
- _this.flag = flag;
- _this.obj = obj;
- }, _this.edit = function () {
- _this.setState({ editable: true });
- }, _this.handleKeydown = function (event) {
- if (event.keyCode == 13) {
- _this.check();
- } else if (event.keyCode == 9) {}
- }, _this.formatCurrency = function (money) {
- if (money && money != null && !!Number(money)) {
- money = String(money);
- var left = money.split(".")[0],
- right = money.split(".")[1];
- right = right ? right.length >= 2 ? "." + right.substr(0, 2) : "." + right + "0" : ".00";
- var temp = left.split("").reverse().join("").match(/(\d{1,3})/g);
- return (Number(money) < 0 ? "-" : "") + temp.join(",").split("").reverse().join("") + right;
- } else if (money === 0) {
- //注意===在这里的使用,如果传入的money为0,if中会将其判定为boolean类型,故而要另外做===判断
- return "0.00";
- } else {
- return "";
- }
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
- //货币的格式化方法
-
-
- InputRender.prototype.render = function render() {
- var _state = this.state,
- value = _state.value,
- editable = _state.editable;
-
- var _props = this.props,
- name = _props.name,
- placeholder = _props.placeholder,
- isclickTrigger = _props.isclickTrigger,
- format = _props.format,
- formItemClassName = _props.formItemClassName,
- mesClassName = _props.mesClassName,
- check = _props.check,
- other = _objectWithoutProperties(_props, ["name", "placeholder", "isclickTrigger", "format", "formItemClassName", "mesClassName", "check"]);
-
- var cellContent = "";
- if (editable) {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeForm2["default"].FormItem,
- _extends({
- className: "formItem-style " + formItemClassName,
- mesClassName: "errMessage-style " + mesClassName,
- change: this.handleChange,
- blur: this.check,
- check: this.checkValidate
- }, other),
- _react2["default"].createElement(_beeFormControl2["default"], {
- name: name,
- placeholder: placeholder,
- onKeyDown: this.handleKeydown,
- autoFocus: true,
- value: value
- })
- )
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeForm2["default"].FormItem,
- _extends({
- className: "formItem-style " + formItemClassName,
- mesClassName: "errMessage-style " + mesClassName,
- change: this.handleChange,
- blur: this.check,
- check: this.checkValidate
- }, other),
- _react2["default"].createElement(_beeFormControl2["default"], {
- name: name,
- placeholder: placeholder,
- onKeyDown: this.handleKeydown,
- autoFocus: true,
- value: value
- })
- ),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- );
- } else {
- if (format && format === "Currency") {
- value = this.formatCurrency(value);
- }
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper", onClick: this.edit },
- value || " "
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper" },
- value || " ",
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-pencil",
- className: "editable-cell-icon",
- onClick: this.edit
- })
- );
- }
- return _react2["default"].createElement(
- "div",
- { className: "editable-cell" },
- cellContent
- );
- };
-
- return InputRender;
- }(_react.Component);
-
- exports["default"] = InputRender;
-
- InputRender.PropTypes = propTypes;
- InputRender.defaultProps = defaultProps;
- module.exports = exports["default"];
-
-/***/ }),
-/* 172 */
-/***/ (function(module, exports, __webpack_require__) {
-
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- var _Form = __webpack_require__(173);
+ var _Form = __webpack_require__(138);
var _Form2 = _interopRequireDefault(_Form);
- var _FormItem = __webpack_require__(176);
+ var _FormItem = __webpack_require__(141);
var _FormItem2 = _interopRequireDefault(_FormItem);
@@ -22227,7 +15367,7 @@
module.exports = exports['default'];
/***/ }),
-/* 173 */
+/* 138 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -22250,7 +15390,7 @@
var _beeLayout = __webpack_require__(1);
- var _beeLabel = __webpack_require__(174);
+ var _beeLabel = __webpack_require__(139);
var _beeLabel2 = _interopRequireDefault(_beeLabel);
@@ -22529,7 +15669,7 @@
module.exports = exports['default'];
/***/ }),
-/* 174 */
+/* 139 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -22538,7 +15678,7 @@
value: true
});
- var _Label = __webpack_require__(175);
+ var _Label = __webpack_require__(140);
var _Label2 = _interopRequireDefault(_Label);
@@ -22548,7 +15688,7 @@
module.exports = exports['default'];
/***/ }),
-/* 175 */
+/* 140 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -22627,7 +15767,7 @@
module.exports = exports['default'];
/***/ }),
-/* 176 */
+/* 141 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -22652,15 +15792,15 @@
var _classnames2 = _interopRequireDefault(_classnames);
- var _beeInputGroup = __webpack_require__(177);
+ var _beeInputGroup = __webpack_require__(142);
var _beeInputGroup2 = _interopRequireDefault(_beeInputGroup);
- var _beeLabel = __webpack_require__(174);
+ var _beeLabel = __webpack_require__(139);
var _beeLabel2 = _interopRequireDefault(_beeLabel);
- var _lodash = __webpack_require__(182);
+ var _lodash = __webpack_require__(147);
var _lodash2 = _interopRequireDefault(_lodash);
@@ -23084,15 +16224,15 @@
module.exports = exports['default'];
/***/ }),
-/* 177 */
+/* 142 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
- module.exports = __webpack_require__(178);
+ module.exports = __webpack_require__(143);
/***/ }),
-/* 178 */
+/* 143 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -23111,11 +16251,11 @@
var _react2 = _interopRequireDefault(_react);
- var _beeInputGroupAddon = __webpack_require__(179);
+ var _beeInputGroupAddon = __webpack_require__(144);
var _beeInputGroupAddon2 = _interopRequireDefault(_beeInputGroupAddon);
- var _InputGroupButton = __webpack_require__(181);
+ var _InputGroupButton = __webpack_require__(146);
var _InputGroupButton2 = _interopRequireDefault(_InputGroupButton);
@@ -23172,7 +16312,7 @@
module.exports = exports['default'];
/***/ }),
-/* 179 */
+/* 144 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -23181,7 +16321,7 @@
value: true
});
- var _InputGroupAddon = __webpack_require__(180);
+ var _InputGroupAddon = __webpack_require__(145);
var _InputGroupAddon2 = _interopRequireDefault(_InputGroupAddon);
@@ -23191,7 +16331,7 @@
module.exports = exports['default'];
/***/ }),
-/* 180 */
+/* 145 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -23255,7 +16395,7 @@
module.exports = exports['default'];
/***/ }),
-/* 181 */
+/* 146 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -23318,7 +16458,7 @@
module.exports = exports['default'];
/***/ }),
-/* 182 */
+/* 147 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global, module) {/**
@@ -25170,10 +18310,10 @@
module.exports = isEqual;
- /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(183)(module)))
+ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(148)(module)))
/***/ }),
-/* 183 */
+/* 148 */
/***/ (function(module, exports) {
module.exports = function(module) {
@@ -25189,172 +18329,245 @@
/***/ }),
-/* 184 */
+/* 149 */
/***/ (function(module, exports, __webpack_require__) {
- "use strict";
+ 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
+ var _FormControl = __webpack_require__(150);
+
+ var _FormControl2 = _interopRequireDefault(_FormControl);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ exports["default"] = _FormControl2["default"];
+ module.exports = exports['default'];
+
+/***/ }),
+/* 150 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _react = __webpack_require__(4);
var _react2 = _interopRequireDefault(_react);
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
var _beeIcon = __webpack_require__(118);
var _beeIcon2 = _interopRequireDefault(_beeIcon);
- var _beeDatepicker = __webpack_require__(185);
+ var _propTypes = __webpack_require__(5);
- var _beeDatepicker2 = _interopRequireDefault(_beeDatepicker);
-
- var _moment = __webpack_require__(261);
-
- var _moment2 = _interopRequireDefault(_moment);
+ var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
- var MonthPicker = _beeDatepicker2["default"].MonthPicker,
- RangePicker = _beeDatepicker2["default"].RangePicker,
- WeekPicker = _beeDatepicker2["default"].WeekPicker;
-
- var DateRender = function (_Component) {
- _inherits(DateRender, _Component);
-
- function DateRender() {
- var _temp, _this, _ret;
-
- _classCallCheck(this, DateRender);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
- value: _this.props.value,
- editable: false
- }, _this.handleChange = function (e) {
- var _ref = _this.props || "YYYY-MM-DD",
- format = _ref.format;
-
- var value = e ? e.format(format) : "";
- _this.setState({ value: value, editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(value);
- }
- }, _this.check = function () {
- _this.setState({ editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(_this.state.value);
- }
- }, _this.edit = function () {
- _this.setState({ editable: true });
- }, _this.handleKeydown = function (event) {
- if (event.keyCode == 13) {
- _this.check();
- }
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- DateRender.prototype.render = function render() {
- var _state = this.state,
- value = _state.value,
- editable = _state.editable;
- var _props = this.props,
- isclickTrigger = _props.isclickTrigger,
- type = _props.type;
-
- var cellContent = "";
- var TComponent = void 0;
- switch (type.toLowerCase()) {
- case "monthpicker":
- TComponent = MonthPicker;
- break;
- // case "rangepicker":
- // TComponent = RangePicker;
- // break;
- case "weekpicker":
- TComponent = WeekPicker;
- break;
- default:
- TComponent = _beeDatepicker2["default"];
- break;
- }
- TComponent;
- var date_value = value ? (0, _moment2["default"])(value) : value;
- if (editable) {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(TComponent, _extends({}, this.props, {
- value: date_value,
- onChange: this.handleChange
- })),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(TComponent, _extends({}, this.props, {
- value: date_value,
- onChange: this.handleChange
- })),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- );
- } else {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper", onClick: this.edit },
- value || " "
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper" },
- value || " ",
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-pencil",
- className: "editable-cell-icon",
- onClick: this.edit
- })
- );
- }
- return _react2["default"].createElement(
- "div",
- { className: "editable-cell" },
- cellContent
- );
- };
-
- return DateRender;
- }(_react.Component);
-
- exports["default"] = DateRender;
-
- DateRender.defaultProps = {
- type: "DatePicker"
+ var propTypes = {
+ componentClass: _propTypes2["default"].oneOfType([_propTypes2["default"].element, _propTypes2["default"].string]),
+ type: _propTypes2["default"].string,
+ size: _propTypes2["default"].oneOf(['sm', 'md', 'lg']),
+ onSearch: _propTypes2["default"].func,
+ onChange: _propTypes2["default"].func
};
- module.exports = exports["default"];
+
+ var defaultProps = {
+ componentClass: 'input',
+ clsPrefix: 'u-form-control',
+ type: 'text',
+ size: 'md'
+ };
+
+ var FormControl = function (_React$Component) {
+ _inherits(FormControl, _React$Component);
+
+ function FormControl(props) {
+ _classCallCheck(this, FormControl);
+
+ var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));
+
+ _this.handleSearchChange = function (e) {
+ var onChange = _this.props.onChange;
+
+ var value = _this.input.value;
+ _this.setState({
+ value: value,
+ showSearch: value == null || value === ""
+ });
+ if (onChange) {
+ onChange(value, e);
+ }
+ };
+
+ _this.handleChange = function (e) {
+ var onChange = _this.props.onChange;
+
+ var value = _this.input.value;
+
+ if (onChange) {
+ onChange(value, e);
+ }
+ };
+
+ _this.clearValue = function () {
+ var onChange = _this.props.onChange;
+
+ _this.setState({ showSearch: true, value: "" });
+ if (onChange) {
+ onChange("");
+ }
+ _this.input.focus();
+ };
+
+ _this.handleKeyDown = function (e) {
+ var _this$props = _this.props,
+ onSearch = _this$props.onSearch,
+ value = _this$props.value,
+ type = _this$props.type;
+
+ if (e.keyCode === 13 && type === "search") {
+ if (onSearch) {
+ onSearch(value);
+ }
+ }
+ };
+
+ _this.renderInput = function () {
+ var _this$props2 = _this.props,
+ Component = _this$props2.componentClass,
+ type = _this$props2.type,
+ className = _this$props2.className,
+ size = _this$props2.size,
+ clsPrefix = _this$props2.clsPrefix,
+ value = _this$props2.value,
+ onChange = _this$props2.onChange,
+ onSearch = _this$props2.onSearch,
+ others = _objectWithoutProperties(_this$props2, ['componentClass', 'type', 'className', 'size', 'clsPrefix', 'value', 'onChange', 'onSearch']);
+ // input[type="file"] 不应该有类名 .form-control.
+
+
+ var classes = {};
+ if (size) {
+ classes['' + size] = true;
+ }
+
+ var classNames = void 0;
+ if (type !== 'file') {
+ classNames = (0, _classnames2["default"])(clsPrefix, classes);
+ }
+
+ return _react2["default"].createElement(Component, _extends({}, others, {
+ type: type,
+ ref: function ref(el) {
+ return _this.input = el;
+ },
+ value: value,
+ onChange: _this.handleChange,
+ className: (0, _classnames2["default"])(className, classNames)
+ }));
+ };
+
+ _this.renderSearch = function () {
+ var _this$props3 = _this.props,
+ Component = _this$props3.componentClass,
+ type = _this$props3.type,
+ className = _this$props3.className,
+ size = _this$props3.size,
+ clsPrefix = _this$props3.clsPrefix,
+ value = _this$props3.value,
+ onChange = _this$props3.onChange,
+ onSearch = _this$props3.onSearch,
+ others = _objectWithoutProperties(_this$props3, ['componentClass', 'type', 'className', 'size', 'clsPrefix', 'value', 'onChange', 'onSearch']);
+ // input[type="file"] 不应该有类名 .form-control.
+
+
+ var classes = {};
+ if (size) {
+ classes['' + size] = true;
+ }
+ classes[clsPrefix + '-search'] = true;
+
+ if (type === "search") {
+ return _react2["default"].createElement(
+ 'div',
+ { className: (0, _classnames2["default"])(clsPrefix + '-search', clsPrefix + '-affix-wrapper', className) },
+ _react2["default"].createElement(Component, _extends({}, others, {
+ type: type,
+ ref: function ref(el) {
+ return _this.input = el;
+ },
+ onChange: _this.handleSearchChange,
+ value: value,
+ onKeyDown: _this.handleKeyDown,
+ className: (0, _classnames2["default"])(className, clsPrefix, classes)
+ })),
+ _react2["default"].createElement(
+ 'div',
+ { className: clsPrefix + '-suffix' },
+ _this.state.showSearch ? _react2["default"].createElement(_beeIcon2["default"], { type: 'uf-search' }) : _react2["default"].createElement(_beeIcon2["default"], { onClick: _this.clearValue, type: 'uf-close-c' })
+ )
+ );
+ }
+ };
+
+ _this.state = {
+ showSearch: !props.value,
+ value: props.value == null ? "" : props.value
+ };
+ _this.input = {};
+ return _this;
+ }
+
+ FormControl.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProp) {
+ if (nextProp.value !== this.state.value) {
+ this.setState({ value: nextProp.value });
+ }
+ };
+
+ FormControl.prototype.render = function render() {
+
+ if (this.props.type === "search") {
+ return this.renderSearch();
+ }
+
+ return this.renderInput();
+ };
+
+ return FormControl;
+ }(_react2["default"].Component);
+
+ FormControl.propTypes = propTypes;
+ FormControl.defaultProps = defaultProps;
+
+ exports["default"] = FormControl;
+ module.exports = exports['default'];
/***/ }),
-/* 185 */
+/* 151 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -25367,19 +18580,19 @@
var _react2 = _interopRequireDefault(_react);
- var _DatePicker = __webpack_require__(186);
+ var _DatePicker = __webpack_require__(152);
var _DatePicker2 = _interopRequireDefault(_DatePicker);
- var _MonthPicker = __webpack_require__(428);
+ var _MonthPicker = __webpack_require__(394);
var _MonthPicker2 = _interopRequireDefault(_MonthPicker);
- var _RangePicker = __webpack_require__(430);
+ var _RangePicker = __webpack_require__(396);
var _RangePicker2 = _interopRequireDefault(_RangePicker);
- var _WeekPicker = __webpack_require__(451);
+ var _WeekPicker = __webpack_require__(417);
var _WeekPicker2 = _interopRequireDefault(_WeekPicker);
@@ -25393,7 +18606,7 @@
module.exports = exports['default'];
/***/ }),
-/* 186 */
+/* 152 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -25404,7 +18617,7 @@
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
- var _rcCalendar = __webpack_require__(187);
+ var _rcCalendar = __webpack_require__(153);
var _rcCalendar2 = _interopRequireDefault(_rcCalendar);
@@ -25412,19 +18625,19 @@
var _react2 = _interopRequireDefault(_react);
- var _Picker = __webpack_require__(403);
+ var _Picker = __webpack_require__(369);
var _Picker2 = _interopRequireDefault(_Picker);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
- var _Panel = __webpack_require__(424);
+ var _Panel = __webpack_require__(390);
var _Panel2 = _interopRequireDefault(_Panel);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
@@ -25432,7 +18645,7 @@
var _beeIcon2 = _interopRequireDefault(_beeIcon);
- var _beeInputGroup = __webpack_require__(177);
+ var _beeInputGroup = __webpack_require__(142);
var _beeInputGroup2 = _interopRequireDefault(_beeInputGroup);
@@ -25486,7 +18699,6 @@
var pickerChangeHandler = {};
var calendarHandler = {};
- var autofocus = this.props.autofocus ? { autofocus: 'autofocus' } : null;
if (props.showTime) {
calendarHandler = {
@@ -25522,13 +18734,13 @@
return _react2["default"].createElement(
_beeInputGroup2["default"],
{ simple: true, className: "datepicker-input-group" },
- _react2["default"].createElement(_beeFormControl2["default"], _extends({
+ _react2["default"].createElement(_beeFormControl2["default"], {
disabled: props.disabled,
readOnly: true,
placeholder: _this2.props.placeholder,
className: _this2.props.className,
value: value && value.format(props.format) || ""
- }, autofocus)),
+ }),
_react2["default"].createElement(
_beeInputGroup2["default"].Button,
{ shape: "border" },
@@ -25581,7 +18793,7 @@
module.exports = exports["default"];
/***/ }),
-/* 187 */
+/* 153 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -25590,7 +18802,7 @@
value: true
});
- var _Calendar = __webpack_require__(188);
+ var _Calendar = __webpack_require__(154);
var _Calendar2 = _interopRequireDefault(_Calendar);
@@ -25600,7 +18812,7 @@
module.exports = exports['default'];
/***/ }),
-/* 188 */
+/* 154 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -25609,7 +18821,7 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
@@ -25621,7 +18833,7 @@
var _reactDom2 = _interopRequireDefault(_reactDom);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -25629,35 +18841,35 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _KeyCode = __webpack_require__(211);
+ var _KeyCode = __webpack_require__(177);
var _KeyCode2 = _interopRequireDefault(_KeyCode);
- var _DateTable = __webpack_require__(212);
+ var _DateTable = __webpack_require__(178);
var _DateTable2 = _interopRequireDefault(_DateTable);
- var _CalendarHeader = __webpack_require__(389);
+ var _CalendarHeader = __webpack_require__(355);
var _CalendarHeader2 = _interopRequireDefault(_CalendarHeader);
- var _CalendarFooter = __webpack_require__(395);
+ var _CalendarFooter = __webpack_require__(361);
var _CalendarFooter2 = _interopRequireDefault(_CalendarFooter);
- var _CalendarMixin = __webpack_require__(399);
+ var _CalendarMixin = __webpack_require__(365);
var _CalendarMixin2 = _interopRequireDefault(_CalendarMixin);
- var _CommonMixin = __webpack_require__(400);
+ var _CommonMixin = __webpack_require__(366);
var _CommonMixin2 = _interopRequireDefault(_CommonMixin);
- var _DateInput = __webpack_require__(402);
+ var _DateInput = __webpack_require__(368);
var _DateInput2 = _interopRequireDefault(_DateInput);
- var _util = __webpack_require__(388);
+ var _util = __webpack_require__(354);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -25966,14 +19178,14 @@
module.exports = exports['default'];
/***/ }),
-/* 189 */
+/* 155 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _assign = __webpack_require__(190);
+ var _assign = __webpack_require__(156);
var _assign2 = _interopRequireDefault(_assign);
@@ -25994,34 +19206,34 @@
};
/***/ }),
-/* 190 */
+/* 156 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(191), __esModule: true };
+ module.exports = { "default": __webpack_require__(157), __esModule: true };
/***/ }),
-/* 191 */
+/* 157 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(192);
- module.exports = __webpack_require__(195).Object.assign;
+ __webpack_require__(158);
+ module.exports = __webpack_require__(161).Object.assign;
/***/ }),
-/* 192 */
+/* 158 */
/***/ (function(module, exports, __webpack_require__) {
// 19.1.3.1 Object.assign(target, source)
- var $export = __webpack_require__(193);
+ var $export = __webpack_require__(159);
- $export($export.S + $export.F, 'Object', {assign: __webpack_require__(198)});
+ $export($export.S + $export.F, 'Object', {assign: __webpack_require__(164)});
/***/ }),
-/* 193 */
+/* 159 */
/***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(194)
- , core = __webpack_require__(195)
- , ctx = __webpack_require__(196)
+ var global = __webpack_require__(160)
+ , core = __webpack_require__(161)
+ , ctx = __webpack_require__(162)
, PROTOTYPE = 'prototype';
var $export = function(type, name, source){
@@ -26067,7 +19279,7 @@
module.exports = $export;
/***/ }),
-/* 194 */
+/* 160 */
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
@@ -26076,18 +19288,18 @@
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
/***/ }),
-/* 195 */
+/* 161 */
/***/ (function(module, exports) {
var core = module.exports = {version: '1.2.6'};
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
/***/ }),
-/* 196 */
+/* 162 */
/***/ (function(module, exports, __webpack_require__) {
// optional / simple context binding
- var aFunction = __webpack_require__(197);
+ var aFunction = __webpack_require__(163);
module.exports = function(fn, that, length){
aFunction(fn);
if(that === undefined)return fn;
@@ -26108,7 +19320,7 @@
};
/***/ }),
-/* 197 */
+/* 163 */
/***/ (function(module, exports) {
module.exports = function(it){
@@ -26117,16 +19329,16 @@
};
/***/ }),
-/* 198 */
+/* 164 */
/***/ (function(module, exports, __webpack_require__) {
// 19.1.2.1 Object.assign(target, source, ...)
- var $ = __webpack_require__(199)
- , toObject = __webpack_require__(200)
- , IObject = __webpack_require__(202);
+ var $ = __webpack_require__(165)
+ , toObject = __webpack_require__(166)
+ , IObject = __webpack_require__(168);
// should work with symbols and should have deterministic property order (V8 bug)
- module.exports = __webpack_require__(204)(function(){
+ module.exports = __webpack_require__(170)(function(){
var a = Object.assign
, A = {}
, B = {}
@@ -26155,7 +19367,7 @@
} : Object.assign;
/***/ }),
-/* 199 */
+/* 165 */
/***/ (function(module, exports) {
var $Object = Object;
@@ -26173,17 +19385,17 @@
};
/***/ }),
-/* 200 */
+/* 166 */
/***/ (function(module, exports, __webpack_require__) {
// 7.1.13 ToObject(argument)
- var defined = __webpack_require__(201);
+ var defined = __webpack_require__(167);
module.exports = function(it){
return Object(defined(it));
};
/***/ }),
-/* 201 */
+/* 167 */
/***/ (function(module, exports) {
// 7.2.1 RequireObjectCoercible(argument)
@@ -26193,17 +19405,17 @@
};
/***/ }),
-/* 202 */
+/* 168 */
/***/ (function(module, exports, __webpack_require__) {
// fallback for non-array-like ES3 and non-enumerable old V8 strings
- var cof = __webpack_require__(203);
+ var cof = __webpack_require__(169);
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
return cof(it) == 'String' ? it.split('') : Object(it);
};
/***/ }),
-/* 203 */
+/* 169 */
/***/ (function(module, exports) {
var toString = {}.toString;
@@ -26213,7 +19425,7 @@
};
/***/ }),
-/* 204 */
+/* 170 */
/***/ (function(module, exports) {
module.exports = function(exec){
@@ -26225,7 +19437,7 @@
};
/***/ }),
-/* 205 */
+/* 171 */
/***/ (function(module, exports, __webpack_require__) {
/**
@@ -26239,7 +19451,7 @@
'use strict';
var React = __webpack_require__(4);
- var factory = __webpack_require__(206);
+ var factory = __webpack_require__(172);
if (typeof React === 'undefined') {
throw Error(
@@ -26259,7 +19471,7 @@
/***/ }),
-/* 206 */
+/* 172 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(process) {/**
@@ -26274,11 +19486,11 @@
var _assign = __webpack_require__(43);
- var emptyObject = __webpack_require__(207);
- var _invariant = __webpack_require__(208);
+ var emptyObject = __webpack_require__(173);
+ var _invariant = __webpack_require__(174);
if (process.env.NODE_ENV !== 'production') {
- var warning = __webpack_require__(209);
+ var warning = __webpack_require__(175);
}
var MIXINS_KEY = 'mixins';
@@ -27192,7 +20404,7 @@
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)))
/***/ }),
-/* 207 */
+/* 173 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(process) {/**
@@ -27215,7 +20427,7 @@
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)))
/***/ }),
-/* 208 */
+/* 174 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(process) {/**
@@ -27274,7 +20486,7 @@
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)))
/***/ }),
-/* 209 */
+/* 175 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(process) {/**
@@ -27287,7 +20499,7 @@
'use strict';
- var emptyFunction = __webpack_require__(210);
+ var emptyFunction = __webpack_require__(176);
/**
* Similar to invariant but only logs a warning if the condition is not met.
@@ -27342,7 +20554,7 @@
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)))
/***/ }),
-/* 210 */
+/* 176 */
/***/ (function(module, exports) {
"use strict";
@@ -27383,7 +20595,7 @@
module.exports = emptyFunction;
/***/ }),
-/* 211 */
+/* 177 */
/***/ (function(module, exports) {
'use strict';
@@ -27912,7 +21124,7 @@
module.exports = exports['default'];
/***/ }),
-/* 212 */
+/* 178 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -27921,19 +21133,19 @@
value: true
});
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -27941,11 +21153,11 @@
var _react2 = _interopRequireDefault(_react);
- var _DateTHead = __webpack_require__(259);
+ var _DateTHead = __webpack_require__(225);
var _DateTHead2 = _interopRequireDefault(_DateTHead);
- var _DateTBody = __webpack_require__(386);
+ var _DateTBody = __webpack_require__(352);
var _DateTBody2 = _interopRequireDefault(_DateTBody);
@@ -27979,7 +21191,7 @@
module.exports = exports['default'];
/***/ }),
-/* 213 */
+/* 179 */
/***/ (function(module, exports) {
"use strict";
@@ -27993,14 +21205,14 @@
};
/***/ }),
-/* 214 */
+/* 180 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _defineProperty = __webpack_require__(215);
+ var _defineProperty = __webpack_require__(181);
var _defineProperty2 = _interopRequireDefault(_defineProperty);
@@ -28025,29 +21237,29 @@
}();
/***/ }),
-/* 215 */
+/* 181 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(216), __esModule: true };
+ module.exports = { "default": __webpack_require__(182), __esModule: true };
/***/ }),
-/* 216 */
+/* 182 */
/***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(199);
+ var $ = __webpack_require__(165);
module.exports = function defineProperty(it, key, desc){
return $.setDesc(it, key, desc);
};
/***/ }),
-/* 217 */
+/* 183 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _typeof2 = __webpack_require__(218);
+ var _typeof2 = __webpack_require__(184);
var _typeof3 = _interopRequireDefault(_typeof2);
@@ -28062,18 +21274,18 @@
};
/***/ }),
-/* 218 */
+/* 184 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _iterator = __webpack_require__(219);
+ var _iterator = __webpack_require__(185);
var _iterator2 = _interopRequireDefault(_iterator);
- var _symbol = __webpack_require__(242);
+ var _symbol = __webpack_require__(208);
var _symbol2 = _interopRequireDefault(_symbol);
@@ -28088,28 +21300,28 @@
};
/***/ }),
-/* 219 */
+/* 185 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(220), __esModule: true };
+ module.exports = { "default": __webpack_require__(186), __esModule: true };
/***/ }),
-/* 220 */
+/* 186 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(221);
- __webpack_require__(237);
- module.exports = __webpack_require__(234)('iterator');
+ __webpack_require__(187);
+ __webpack_require__(203);
+ module.exports = __webpack_require__(200)('iterator');
/***/ }),
-/* 221 */
+/* 187 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
- var $at = __webpack_require__(222)(true);
+ var $at = __webpack_require__(188)(true);
// 21.1.3.27 String.prototype[@@iterator]()
- __webpack_require__(224)(String, 'String', function(iterated){
+ __webpack_require__(190)(String, 'String', function(iterated){
this._t = String(iterated); // target
this._i = 0; // next index
// 21.1.5.2.1 %StringIteratorPrototype%.next()
@@ -28124,11 +21336,11 @@
});
/***/ }),
-/* 222 */
+/* 188 */
/***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(223)
- , defined = __webpack_require__(201);
+ var toInteger = __webpack_require__(189)
+ , defined = __webpack_require__(167);
// true -> String#at
// false -> String#codePointAt
module.exports = function(TO_STRING){
@@ -28146,7 +21358,7 @@
};
/***/ }),
-/* 223 */
+/* 189 */
/***/ (function(module, exports) {
// 7.1.4 ToInteger
@@ -28157,20 +21369,20 @@
};
/***/ }),
-/* 224 */
+/* 190 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
- var LIBRARY = __webpack_require__(225)
- , $export = __webpack_require__(193)
- , redefine = __webpack_require__(226)
- , hide = __webpack_require__(227)
- , has = __webpack_require__(230)
- , Iterators = __webpack_require__(231)
- , $iterCreate = __webpack_require__(232)
- , setToStringTag = __webpack_require__(233)
- , getProto = __webpack_require__(199).getProto
- , ITERATOR = __webpack_require__(234)('iterator')
+ var LIBRARY = __webpack_require__(191)
+ , $export = __webpack_require__(159)
+ , redefine = __webpack_require__(192)
+ , hide = __webpack_require__(193)
+ , has = __webpack_require__(196)
+ , Iterators = __webpack_require__(197)
+ , $iterCreate = __webpack_require__(198)
+ , setToStringTag = __webpack_require__(199)
+ , getProto = __webpack_require__(165).getProto
+ , ITERATOR = __webpack_require__(200)('iterator')
, BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
, FF_ITERATOR = '@@iterator'
, KEYS = 'keys'
@@ -28228,24 +21440,24 @@
};
/***/ }),
-/* 225 */
+/* 191 */
/***/ (function(module, exports) {
module.exports = true;
/***/ }),
-/* 226 */
+/* 192 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__(227);
+ module.exports = __webpack_require__(193);
/***/ }),
-/* 227 */
+/* 193 */
/***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(199)
- , createDesc = __webpack_require__(228);
- module.exports = __webpack_require__(229) ? function(object, key, value){
+ var $ = __webpack_require__(165)
+ , createDesc = __webpack_require__(194);
+ module.exports = __webpack_require__(195) ? function(object, key, value){
return $.setDesc(object, key, createDesc(1, value));
} : function(object, key, value){
object[key] = value;
@@ -28253,7 +21465,7 @@
};
/***/ }),
-/* 228 */
+/* 194 */
/***/ (function(module, exports) {
module.exports = function(bitmap, value){
@@ -28266,16 +21478,16 @@
};
/***/ }),
-/* 229 */
+/* 195 */
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
- module.exports = !__webpack_require__(204)(function(){
+ module.exports = !__webpack_require__(170)(function(){
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
});
/***/ }),
-/* 230 */
+/* 196 */
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
@@ -28284,23 +21496,23 @@
};
/***/ }),
-/* 231 */
+/* 197 */
/***/ (function(module, exports) {
module.exports = {};
/***/ }),
-/* 232 */
+/* 198 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
- var $ = __webpack_require__(199)
- , descriptor = __webpack_require__(228)
- , setToStringTag = __webpack_require__(233)
+ var $ = __webpack_require__(165)
+ , descriptor = __webpack_require__(194)
+ , setToStringTag = __webpack_require__(199)
, IteratorPrototype = {};
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
- __webpack_require__(227)(IteratorPrototype, __webpack_require__(234)('iterator'), function(){ return this; });
+ __webpack_require__(193)(IteratorPrototype, __webpack_require__(200)('iterator'), function(){ return this; });
module.exports = function(Constructor, NAME, next){
Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});
@@ -28308,34 +21520,34 @@
};
/***/ }),
-/* 233 */
+/* 199 */
/***/ (function(module, exports, __webpack_require__) {
- var def = __webpack_require__(199).setDesc
- , has = __webpack_require__(230)
- , TAG = __webpack_require__(234)('toStringTag');
+ var def = __webpack_require__(165).setDesc
+ , has = __webpack_require__(196)
+ , TAG = __webpack_require__(200)('toStringTag');
module.exports = function(it, tag, stat){
if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
};
/***/ }),
-/* 234 */
+/* 200 */
/***/ (function(module, exports, __webpack_require__) {
- var store = __webpack_require__(235)('wks')
- , uid = __webpack_require__(236)
- , Symbol = __webpack_require__(194).Symbol;
+ var store = __webpack_require__(201)('wks')
+ , uid = __webpack_require__(202)
+ , Symbol = __webpack_require__(160).Symbol;
module.exports = function(name){
return store[name] || (store[name] =
Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));
};
/***/ }),
-/* 235 */
+/* 201 */
/***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(194)
+ var global = __webpack_require__(160)
, SHARED = '__core-js_shared__'
, store = global[SHARED] || (global[SHARED] = {});
module.exports = function(key){
@@ -28343,7 +21555,7 @@
};
/***/ }),
-/* 236 */
+/* 202 */
/***/ (function(module, exports) {
var id = 0
@@ -28353,28 +21565,28 @@
};
/***/ }),
-/* 237 */
+/* 203 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(238);
- var Iterators = __webpack_require__(231);
+ __webpack_require__(204);
+ var Iterators = __webpack_require__(197);
Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
/***/ }),
-/* 238 */
+/* 204 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
- var addToUnscopables = __webpack_require__(239)
- , step = __webpack_require__(240)
- , Iterators = __webpack_require__(231)
- , toIObject = __webpack_require__(241);
+ var addToUnscopables = __webpack_require__(205)
+ , step = __webpack_require__(206)
+ , Iterators = __webpack_require__(197)
+ , toIObject = __webpack_require__(207);
// 22.1.3.4 Array.prototype.entries()
// 22.1.3.13 Array.prototype.keys()
// 22.1.3.29 Array.prototype.values()
// 22.1.3.30 Array.prototype[@@iterator]()
- module.exports = __webpack_require__(224)(Array, 'Array', function(iterated, kind){
+ module.exports = __webpack_require__(190)(Array, 'Array', function(iterated, kind){
this._t = toIObject(iterated); // target
this._i = 0; // next index
this._k = kind; // kind
@@ -28400,13 +21612,13 @@
addToUnscopables('entries');
/***/ }),
-/* 239 */
+/* 205 */
/***/ (function(module, exports) {
module.exports = function(){ /* empty */ };
/***/ }),
-/* 240 */
+/* 206 */
/***/ (function(module, exports) {
module.exports = function(done, value){
@@ -28414,54 +21626,54 @@
};
/***/ }),
-/* 241 */
+/* 207 */
/***/ (function(module, exports, __webpack_require__) {
// to indexed object, toObject with fallback for non-array-like ES3 strings
- var IObject = __webpack_require__(202)
- , defined = __webpack_require__(201);
+ var IObject = __webpack_require__(168)
+ , defined = __webpack_require__(167);
module.exports = function(it){
return IObject(defined(it));
};
/***/ }),
-/* 242 */
+/* 208 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(243), __esModule: true };
+ module.exports = { "default": __webpack_require__(209), __esModule: true };
/***/ }),
-/* 243 */
+/* 209 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(244);
- __webpack_require__(251);
- module.exports = __webpack_require__(195).Symbol;
+ __webpack_require__(210);
+ __webpack_require__(217);
+ module.exports = __webpack_require__(161).Symbol;
/***/ }),
-/* 244 */
+/* 210 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
// ECMAScript 6 symbols shim
- var $ = __webpack_require__(199)
- , global = __webpack_require__(194)
- , has = __webpack_require__(230)
- , DESCRIPTORS = __webpack_require__(229)
- , $export = __webpack_require__(193)
- , redefine = __webpack_require__(226)
- , $fails = __webpack_require__(204)
- , shared = __webpack_require__(235)
- , setToStringTag = __webpack_require__(233)
- , uid = __webpack_require__(236)
- , wks = __webpack_require__(234)
- , keyOf = __webpack_require__(245)
- , $names = __webpack_require__(246)
- , enumKeys = __webpack_require__(247)
- , isArray = __webpack_require__(248)
- , anObject = __webpack_require__(249)
- , toIObject = __webpack_require__(241)
- , createDesc = __webpack_require__(228)
+ var $ = __webpack_require__(165)
+ , global = __webpack_require__(160)
+ , has = __webpack_require__(196)
+ , DESCRIPTORS = __webpack_require__(195)
+ , $export = __webpack_require__(159)
+ , redefine = __webpack_require__(192)
+ , $fails = __webpack_require__(170)
+ , shared = __webpack_require__(201)
+ , setToStringTag = __webpack_require__(199)
+ , uid = __webpack_require__(202)
+ , wks = __webpack_require__(200)
+ , keyOf = __webpack_require__(211)
+ , $names = __webpack_require__(212)
+ , enumKeys = __webpack_require__(213)
+ , isArray = __webpack_require__(214)
+ , anObject = __webpack_require__(215)
+ , toIObject = __webpack_require__(207)
+ , createDesc = __webpack_require__(194)
, getDesc = $.getDesc
, setDesc = $.setDesc
, _create = $.create
@@ -28601,7 +21813,7 @@
$.getNames = $names.get = $getOwnPropertyNames;
$.getSymbols = $getOwnPropertySymbols;
- if(DESCRIPTORS && !__webpack_require__(225)){
+ if(DESCRIPTORS && !__webpack_require__(191)){
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
}
}
@@ -28671,11 +21883,11 @@
setToStringTag(global.JSON, 'JSON', true);
/***/ }),
-/* 245 */
+/* 211 */
/***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(199)
- , toIObject = __webpack_require__(241);
+ var $ = __webpack_require__(165)
+ , toIObject = __webpack_require__(207);
module.exports = function(object, el){
var O = toIObject(object)
, keys = $.getKeys(O)
@@ -28686,12 +21898,12 @@
};
/***/ }),
-/* 246 */
+/* 212 */
/***/ (function(module, exports, __webpack_require__) {
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
- var toIObject = __webpack_require__(241)
- , getNames = __webpack_require__(199).getNames
+ var toIObject = __webpack_require__(207)
+ , getNames = __webpack_require__(165).getNames
, toString = {}.toString;
var windowNames = typeof window == 'object' && Object.getOwnPropertyNames
@@ -28711,11 +21923,11 @@
};
/***/ }),
-/* 247 */
+/* 213 */
/***/ (function(module, exports, __webpack_require__) {
// all enumerable object keys, includes symbols
- var $ = __webpack_require__(199);
+ var $ = __webpack_require__(165);
module.exports = function(it){
var keys = $.getKeys(it)
, getSymbols = $.getSymbols;
@@ -28730,27 +21942,27 @@
};
/***/ }),
-/* 248 */
+/* 214 */
/***/ (function(module, exports, __webpack_require__) {
// 7.2.2 IsArray(argument)
- var cof = __webpack_require__(203);
+ var cof = __webpack_require__(169);
module.exports = Array.isArray || function(arg){
return cof(arg) == 'Array';
};
/***/ }),
-/* 249 */
+/* 215 */
/***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(250);
+ var isObject = __webpack_require__(216);
module.exports = function(it){
if(!isObject(it))throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
-/* 250 */
+/* 216 */
/***/ (function(module, exports) {
module.exports = function(it){
@@ -28758,28 +21970,28 @@
};
/***/ }),
-/* 251 */
+/* 217 */
/***/ (function(module, exports) {
/***/ }),
-/* 252 */
+/* 218 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _setPrototypeOf = __webpack_require__(253);
+ var _setPrototypeOf = __webpack_require__(219);
var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
- var _create = __webpack_require__(257);
+ var _create = __webpack_require__(223);
var _create2 = _interopRequireDefault(_create);
- var _typeof2 = __webpack_require__(218);
+ var _typeof2 = __webpack_require__(184);
var _typeof3 = _interopRequireDefault(_typeof2);
@@ -28802,35 +22014,35 @@
};
/***/ }),
-/* 253 */
+/* 219 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(254), __esModule: true };
+ module.exports = { "default": __webpack_require__(220), __esModule: true };
/***/ }),
-/* 254 */
+/* 220 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(255);
- module.exports = __webpack_require__(195).Object.setPrototypeOf;
+ __webpack_require__(221);
+ module.exports = __webpack_require__(161).Object.setPrototypeOf;
/***/ }),
-/* 255 */
+/* 221 */
/***/ (function(module, exports, __webpack_require__) {
// 19.1.3.19 Object.setPrototypeOf(O, proto)
- var $export = __webpack_require__(193);
- $export($export.S, 'Object', {setPrototypeOf: __webpack_require__(256).set});
+ var $export = __webpack_require__(159);
+ $export($export.S, 'Object', {setPrototypeOf: __webpack_require__(222).set});
/***/ }),
-/* 256 */
+/* 222 */
/***/ (function(module, exports, __webpack_require__) {
// Works with __proto__ only. Old v8 can't work with null proto objects.
/* eslint-disable no-proto */
- var getDesc = __webpack_require__(199).getDesc
- , isObject = __webpack_require__(250)
- , anObject = __webpack_require__(249);
+ var getDesc = __webpack_require__(165).getDesc
+ , isObject = __webpack_require__(216)
+ , anObject = __webpack_require__(215);
var check = function(O, proto){
anObject(O);
if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
@@ -28839,7 +22051,7 @@
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
function(test, buggy, set){
try {
- set = __webpack_require__(196)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
+ set = __webpack_require__(162)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
set(test, []);
buggy = !(test instanceof Array);
} catch(e){ buggy = true; }
@@ -28854,22 +22066,22 @@
};
/***/ }),
-/* 257 */
+/* 223 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(258), __esModule: true };
+ module.exports = { "default": __webpack_require__(224), __esModule: true };
/***/ }),
-/* 258 */
+/* 224 */
/***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(199);
+ var $ = __webpack_require__(165);
module.exports = function create(P, D){
return $.create(P, D);
};
/***/ }),
-/* 259 */
+/* 225 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -28878,19 +22090,19 @@
value: true
});
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -28898,11 +22110,11 @@
var _react2 = _interopRequireDefault(_react);
- var _DateConstants = __webpack_require__(260);
+ var _DateConstants = __webpack_require__(226);
var _DateConstants2 = _interopRequireDefault(_DateConstants);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
@@ -28984,7 +22196,7 @@
module.exports = exports['default'];
/***/ }),
-/* 260 */
+/* 226 */
/***/ (function(module, exports) {
"use strict";
@@ -28999,7 +22211,7 @@
module.exports = exports['default'];
/***/ }),
-/* 261 */
+/* 227 */
/***/ (function(module, exports, __webpack_require__) {
var require;/* WEBPACK VAR INJECTION */(function(module) {//! moment.js
@@ -30837,7 +24049,7 @@
try {
oldLocale = globalLocale._abbr;
var aliasedRequire = require;
- __webpack_require__(262)("./" + name);
+ __webpack_require__(228)("./" + name);
getSetGlobalLocale(oldLocale);
} catch (e) {}
}
@@ -33509,259 +26721,259 @@
})));
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(183)(module)))
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(148)(module)))
/***/ }),
-/* 262 */
+/* 228 */
/***/ (function(module, exports, __webpack_require__) {
var map = {
- "./af": 263,
- "./af.js": 263,
- "./ar": 264,
- "./ar-dz": 265,
- "./ar-dz.js": 265,
- "./ar-kw": 266,
- "./ar-kw.js": 266,
- "./ar-ly": 267,
- "./ar-ly.js": 267,
- "./ar-ma": 268,
- "./ar-ma.js": 268,
- "./ar-sa": 269,
- "./ar-sa.js": 269,
- "./ar-tn": 270,
- "./ar-tn.js": 270,
- "./ar.js": 264,
- "./az": 271,
- "./az.js": 271,
- "./be": 272,
- "./be.js": 272,
- "./bg": 273,
- "./bg.js": 273,
- "./bm": 274,
- "./bm.js": 274,
- "./bn": 275,
- "./bn.js": 275,
- "./bo": 276,
- "./bo.js": 276,
- "./br": 277,
- "./br.js": 277,
- "./bs": 278,
- "./bs.js": 278,
- "./ca": 279,
- "./ca.js": 279,
- "./cs": 280,
- "./cs.js": 280,
- "./cv": 281,
- "./cv.js": 281,
- "./cy": 282,
- "./cy.js": 282,
- "./da": 283,
- "./da.js": 283,
- "./de": 284,
- "./de-at": 285,
- "./de-at.js": 285,
- "./de-ch": 286,
- "./de-ch.js": 286,
- "./de.js": 284,
- "./dv": 287,
- "./dv.js": 287,
- "./el": 288,
- "./el.js": 288,
- "./en-au": 289,
- "./en-au.js": 289,
- "./en-ca": 290,
- "./en-ca.js": 290,
- "./en-gb": 291,
- "./en-gb.js": 291,
- "./en-ie": 292,
- "./en-ie.js": 292,
- "./en-il": 293,
- "./en-il.js": 293,
- "./en-nz": 294,
- "./en-nz.js": 294,
- "./eo": 295,
- "./eo.js": 295,
- "./es": 296,
- "./es-do": 297,
- "./es-do.js": 297,
- "./es-us": 298,
- "./es-us.js": 298,
- "./es.js": 296,
- "./et": 299,
- "./et.js": 299,
- "./eu": 300,
- "./eu.js": 300,
- "./fa": 301,
- "./fa.js": 301,
- "./fi": 302,
- "./fi.js": 302,
- "./fo": 303,
- "./fo.js": 303,
- "./fr": 304,
- "./fr-ca": 305,
- "./fr-ca.js": 305,
- "./fr-ch": 306,
- "./fr-ch.js": 306,
- "./fr.js": 304,
- "./fy": 307,
- "./fy.js": 307,
- "./gd": 308,
- "./gd.js": 308,
- "./gl": 309,
- "./gl.js": 309,
- "./gom-latn": 310,
- "./gom-latn.js": 310,
- "./gu": 311,
- "./gu.js": 311,
- "./he": 312,
- "./he.js": 312,
- "./hi": 313,
- "./hi.js": 313,
- "./hr": 314,
- "./hr.js": 314,
- "./hu": 315,
- "./hu.js": 315,
- "./hy-am": 316,
- "./hy-am.js": 316,
- "./id": 317,
- "./id.js": 317,
- "./is": 318,
- "./is.js": 318,
- "./it": 319,
- "./it.js": 319,
- "./ja": 320,
- "./ja.js": 320,
- "./jv": 321,
- "./jv.js": 321,
- "./ka": 322,
- "./ka.js": 322,
- "./kk": 323,
- "./kk.js": 323,
- "./km": 324,
- "./km.js": 324,
- "./kn": 325,
- "./kn.js": 325,
- "./ko": 326,
- "./ko.js": 326,
- "./ky": 327,
- "./ky.js": 327,
- "./lb": 328,
- "./lb.js": 328,
- "./lo": 329,
- "./lo.js": 329,
- "./lt": 330,
- "./lt.js": 330,
- "./lv": 331,
- "./lv.js": 331,
- "./me": 332,
- "./me.js": 332,
- "./mi": 333,
- "./mi.js": 333,
- "./mk": 334,
- "./mk.js": 334,
- "./ml": 335,
- "./ml.js": 335,
- "./mn": 336,
- "./mn.js": 336,
- "./mr": 337,
- "./mr.js": 337,
- "./ms": 338,
- "./ms-my": 339,
- "./ms-my.js": 339,
- "./ms.js": 338,
- "./mt": 340,
- "./mt.js": 340,
- "./my": 341,
- "./my.js": 341,
- "./nb": 342,
- "./nb.js": 342,
- "./ne": 343,
- "./ne.js": 343,
- "./nl": 344,
- "./nl-be": 345,
- "./nl-be.js": 345,
- "./nl.js": 344,
- "./nn": 346,
- "./nn.js": 346,
- "./pa-in": 347,
- "./pa-in.js": 347,
- "./pl": 348,
- "./pl.js": 348,
- "./pt": 349,
- "./pt-br": 350,
- "./pt-br.js": 350,
- "./pt.js": 349,
- "./ro": 351,
- "./ro.js": 351,
- "./ru": 352,
- "./ru.js": 352,
- "./sd": 353,
- "./sd.js": 353,
- "./se": 354,
- "./se.js": 354,
- "./si": 355,
- "./si.js": 355,
- "./sk": 356,
- "./sk.js": 356,
- "./sl": 357,
- "./sl.js": 357,
- "./sq": 358,
- "./sq.js": 358,
- "./sr": 359,
- "./sr-cyrl": 360,
- "./sr-cyrl.js": 360,
- "./sr.js": 359,
- "./ss": 361,
- "./ss.js": 361,
- "./sv": 362,
- "./sv.js": 362,
- "./sw": 363,
- "./sw.js": 363,
- "./ta": 364,
- "./ta.js": 364,
- "./te": 365,
- "./te.js": 365,
- "./tet": 366,
- "./tet.js": 366,
- "./tg": 367,
- "./tg.js": 367,
- "./th": 368,
- "./th.js": 368,
- "./tl-ph": 369,
- "./tl-ph.js": 369,
- "./tlh": 370,
- "./tlh.js": 370,
- "./tr": 371,
- "./tr.js": 371,
- "./tzl": 372,
- "./tzl.js": 372,
- "./tzm": 373,
- "./tzm-latn": 374,
- "./tzm-latn.js": 374,
- "./tzm.js": 373,
- "./ug-cn": 375,
- "./ug-cn.js": 375,
- "./uk": 376,
- "./uk.js": 376,
- "./ur": 377,
- "./ur.js": 377,
- "./uz": 378,
- "./uz-latn": 379,
- "./uz-latn.js": 379,
- "./uz.js": 378,
- "./vi": 380,
- "./vi.js": 380,
- "./x-pseudo": 381,
- "./x-pseudo.js": 381,
- "./yo": 382,
- "./yo.js": 382,
- "./zh-cn": 383,
- "./zh-cn.js": 383,
- "./zh-hk": 384,
- "./zh-hk.js": 384,
- "./zh-tw": 385,
- "./zh-tw.js": 385
+ "./af": 229,
+ "./af.js": 229,
+ "./ar": 230,
+ "./ar-dz": 231,
+ "./ar-dz.js": 231,
+ "./ar-kw": 232,
+ "./ar-kw.js": 232,
+ "./ar-ly": 233,
+ "./ar-ly.js": 233,
+ "./ar-ma": 234,
+ "./ar-ma.js": 234,
+ "./ar-sa": 235,
+ "./ar-sa.js": 235,
+ "./ar-tn": 236,
+ "./ar-tn.js": 236,
+ "./ar.js": 230,
+ "./az": 237,
+ "./az.js": 237,
+ "./be": 238,
+ "./be.js": 238,
+ "./bg": 239,
+ "./bg.js": 239,
+ "./bm": 240,
+ "./bm.js": 240,
+ "./bn": 241,
+ "./bn.js": 241,
+ "./bo": 242,
+ "./bo.js": 242,
+ "./br": 243,
+ "./br.js": 243,
+ "./bs": 244,
+ "./bs.js": 244,
+ "./ca": 245,
+ "./ca.js": 245,
+ "./cs": 246,
+ "./cs.js": 246,
+ "./cv": 247,
+ "./cv.js": 247,
+ "./cy": 248,
+ "./cy.js": 248,
+ "./da": 249,
+ "./da.js": 249,
+ "./de": 250,
+ "./de-at": 251,
+ "./de-at.js": 251,
+ "./de-ch": 252,
+ "./de-ch.js": 252,
+ "./de.js": 250,
+ "./dv": 253,
+ "./dv.js": 253,
+ "./el": 254,
+ "./el.js": 254,
+ "./en-au": 255,
+ "./en-au.js": 255,
+ "./en-ca": 256,
+ "./en-ca.js": 256,
+ "./en-gb": 257,
+ "./en-gb.js": 257,
+ "./en-ie": 258,
+ "./en-ie.js": 258,
+ "./en-il": 259,
+ "./en-il.js": 259,
+ "./en-nz": 260,
+ "./en-nz.js": 260,
+ "./eo": 261,
+ "./eo.js": 261,
+ "./es": 262,
+ "./es-do": 263,
+ "./es-do.js": 263,
+ "./es-us": 264,
+ "./es-us.js": 264,
+ "./es.js": 262,
+ "./et": 265,
+ "./et.js": 265,
+ "./eu": 266,
+ "./eu.js": 266,
+ "./fa": 267,
+ "./fa.js": 267,
+ "./fi": 268,
+ "./fi.js": 268,
+ "./fo": 269,
+ "./fo.js": 269,
+ "./fr": 270,
+ "./fr-ca": 271,
+ "./fr-ca.js": 271,
+ "./fr-ch": 272,
+ "./fr-ch.js": 272,
+ "./fr.js": 270,
+ "./fy": 273,
+ "./fy.js": 273,
+ "./gd": 274,
+ "./gd.js": 274,
+ "./gl": 275,
+ "./gl.js": 275,
+ "./gom-latn": 276,
+ "./gom-latn.js": 276,
+ "./gu": 277,
+ "./gu.js": 277,
+ "./he": 278,
+ "./he.js": 278,
+ "./hi": 279,
+ "./hi.js": 279,
+ "./hr": 280,
+ "./hr.js": 280,
+ "./hu": 281,
+ "./hu.js": 281,
+ "./hy-am": 282,
+ "./hy-am.js": 282,
+ "./id": 283,
+ "./id.js": 283,
+ "./is": 284,
+ "./is.js": 284,
+ "./it": 285,
+ "./it.js": 285,
+ "./ja": 286,
+ "./ja.js": 286,
+ "./jv": 287,
+ "./jv.js": 287,
+ "./ka": 288,
+ "./ka.js": 288,
+ "./kk": 289,
+ "./kk.js": 289,
+ "./km": 290,
+ "./km.js": 290,
+ "./kn": 291,
+ "./kn.js": 291,
+ "./ko": 292,
+ "./ko.js": 292,
+ "./ky": 293,
+ "./ky.js": 293,
+ "./lb": 294,
+ "./lb.js": 294,
+ "./lo": 295,
+ "./lo.js": 295,
+ "./lt": 296,
+ "./lt.js": 296,
+ "./lv": 297,
+ "./lv.js": 297,
+ "./me": 298,
+ "./me.js": 298,
+ "./mi": 299,
+ "./mi.js": 299,
+ "./mk": 300,
+ "./mk.js": 300,
+ "./ml": 301,
+ "./ml.js": 301,
+ "./mn": 302,
+ "./mn.js": 302,
+ "./mr": 303,
+ "./mr.js": 303,
+ "./ms": 304,
+ "./ms-my": 305,
+ "./ms-my.js": 305,
+ "./ms.js": 304,
+ "./mt": 306,
+ "./mt.js": 306,
+ "./my": 307,
+ "./my.js": 307,
+ "./nb": 308,
+ "./nb.js": 308,
+ "./ne": 309,
+ "./ne.js": 309,
+ "./nl": 310,
+ "./nl-be": 311,
+ "./nl-be.js": 311,
+ "./nl.js": 310,
+ "./nn": 312,
+ "./nn.js": 312,
+ "./pa-in": 313,
+ "./pa-in.js": 313,
+ "./pl": 314,
+ "./pl.js": 314,
+ "./pt": 315,
+ "./pt-br": 316,
+ "./pt-br.js": 316,
+ "./pt.js": 315,
+ "./ro": 317,
+ "./ro.js": 317,
+ "./ru": 318,
+ "./ru.js": 318,
+ "./sd": 319,
+ "./sd.js": 319,
+ "./se": 320,
+ "./se.js": 320,
+ "./si": 321,
+ "./si.js": 321,
+ "./sk": 322,
+ "./sk.js": 322,
+ "./sl": 323,
+ "./sl.js": 323,
+ "./sq": 324,
+ "./sq.js": 324,
+ "./sr": 325,
+ "./sr-cyrl": 326,
+ "./sr-cyrl.js": 326,
+ "./sr.js": 325,
+ "./ss": 327,
+ "./ss.js": 327,
+ "./sv": 328,
+ "./sv.js": 328,
+ "./sw": 329,
+ "./sw.js": 329,
+ "./ta": 330,
+ "./ta.js": 330,
+ "./te": 331,
+ "./te.js": 331,
+ "./tet": 332,
+ "./tet.js": 332,
+ "./tg": 333,
+ "./tg.js": 333,
+ "./th": 334,
+ "./th.js": 334,
+ "./tl-ph": 335,
+ "./tl-ph.js": 335,
+ "./tlh": 336,
+ "./tlh.js": 336,
+ "./tr": 337,
+ "./tr.js": 337,
+ "./tzl": 338,
+ "./tzl.js": 338,
+ "./tzm": 339,
+ "./tzm-latn": 340,
+ "./tzm-latn.js": 340,
+ "./tzm.js": 339,
+ "./ug-cn": 341,
+ "./ug-cn.js": 341,
+ "./uk": 342,
+ "./uk.js": 342,
+ "./ur": 343,
+ "./ur.js": 343,
+ "./uz": 344,
+ "./uz-latn": 345,
+ "./uz-latn.js": 345,
+ "./uz.js": 344,
+ "./vi": 346,
+ "./vi.js": 346,
+ "./x-pseudo": 347,
+ "./x-pseudo.js": 347,
+ "./yo": 348,
+ "./yo.js": 348,
+ "./zh-cn": 349,
+ "./zh-cn.js": 349,
+ "./zh-hk": 350,
+ "./zh-hk.js": 350,
+ "./zh-tw": 351,
+ "./zh-tw.js": 351
};
function webpackContext(req) {
return __webpack_require__(webpackContextResolve(req));
@@ -33774,17 +26986,17 @@
};
webpackContext.resolve = webpackContextResolve;
module.exports = webpackContext;
- webpackContext.id = 262;
+ webpackContext.id = 228;
/***/ }),
-/* 263 */
+/* 229 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -33855,13 +27067,13 @@
/***/ }),
-/* 264 */
+/* 230 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -33994,13 +27206,13 @@
/***/ }),
-/* 265 */
+/* 231 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34057,13 +27269,13 @@
/***/ }),
-/* 266 */
+/* 232 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34120,13 +27332,13 @@
/***/ }),
-/* 267 */
+/* 233 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34246,13 +27458,13 @@
/***/ }),
-/* 268 */
+/* 234 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34309,13 +27521,13 @@
/***/ }),
-/* 269 */
+/* 235 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34417,13 +27629,13 @@
/***/ }),
-/* 270 */
+/* 236 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34480,13 +27692,13 @@
/***/ }),
-/* 271 */
+/* 237 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34589,13 +27801,13 @@
/***/ }),
-/* 272 */
+/* 238 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34725,13 +27937,13 @@
/***/ }),
-/* 273 */
+/* 239 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34819,13 +28031,13 @@
/***/ }),
-/* 274 */
+/* 240 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -34881,13 +28093,13 @@
/***/ }),
-/* 275 */
+/* 241 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35004,13 +28216,13 @@
/***/ }),
-/* 276 */
+/* 242 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35127,13 +28339,13 @@
/***/ }),
-/* 277 */
+/* 243 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35239,13 +28451,13 @@
/***/ }),
-/* 278 */
+/* 244 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35394,13 +28606,13 @@
/***/ }),
-/* 279 */
+/* 245 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35486,13 +28698,13 @@
/***/ }),
-/* 280 */
+/* 246 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35669,13 +28881,13 @@
/***/ }),
-/* 281 */
+/* 247 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35736,13 +28948,13 @@
/***/ }),
-/* 282 */
+/* 248 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35820,13 +29032,13 @@
/***/ }),
-/* 283 */
+/* 249 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35884,13 +29096,13 @@
/***/ }),
-/* 284 */
+/* 250 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -35964,13 +29176,13 @@
/***/ }),
-/* 285 */
+/* 251 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36044,13 +29256,13 @@
/***/ }),
-/* 286 */
+/* 252 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36124,13 +29336,13 @@
/***/ }),
-/* 287 */
+/* 253 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36227,13 +29439,13 @@
/***/ }),
-/* 288 */
+/* 254 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36331,13 +29543,13 @@
/***/ }),
-/* 289 */
+/* 255 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36402,13 +29614,13 @@
/***/ }),
-/* 290 */
+/* 256 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36469,13 +29681,13 @@
/***/ }),
-/* 291 */
+/* 257 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36540,13 +29752,13 @@
/***/ }),
-/* 292 */
+/* 258 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36611,13 +29823,13 @@
/***/ }),
-/* 293 */
+/* 259 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36677,13 +29889,13 @@
/***/ }),
-/* 294 */
+/* 260 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36748,13 +29960,13 @@
/***/ }),
-/* 295 */
+/* 261 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36823,13 +30035,13 @@
/***/ }),
-/* 296 */
+/* 262 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -36919,13 +30131,13 @@
/***/ }),
-/* 297 */
+/* 263 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37015,13 +30227,13 @@
/***/ }),
-/* 298 */
+/* 264 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37102,13 +30314,13 @@
/***/ }),
-/* 299 */
+/* 265 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37186,13 +30398,13 @@
/***/ }),
-/* 300 */
+/* 266 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37256,13 +30468,13 @@
/***/ }),
-/* 301 */
+/* 267 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37366,13 +30578,13 @@
/***/ }),
-/* 302 */
+/* 268 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37479,13 +30691,13 @@
/***/ }),
-/* 303 */
+/* 269 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37543,13 +30755,13 @@
/***/ }),
-/* 304 */
+/* 270 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37630,13 +30842,13 @@
/***/ }),
-/* 305 */
+/* 271 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37708,13 +30920,13 @@
/***/ }),
-/* 306 */
+/* 272 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37790,13 +31002,13 @@
/***/ }),
-/* 307 */
+/* 273 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37869,13 +31081,13 @@
/***/ }),
-/* 308 */
+/* 274 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -37949,13 +31161,13 @@
/***/ }),
-/* 309 */
+/* 275 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38030,13 +31242,13 @@
/***/ }),
-/* 310 */
+/* 276 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38157,13 +31369,13 @@
/***/ }),
-/* 311 */
+/* 277 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38285,13 +31497,13 @@
/***/ }),
-/* 312 */
+/* 278 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38386,13 +31598,13 @@
/***/ }),
-/* 313 */
+/* 279 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38514,13 +31726,13 @@
/***/ }),
-/* 314 */
+/* 280 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38672,13 +31884,13 @@
/***/ }),
-/* 315 */
+/* 281 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38786,13 +31998,13 @@
/***/ }),
-/* 316 */
+/* 282 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38885,13 +32097,13 @@
/***/ }),
-/* 317 */
+/* 283 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -38971,13 +32183,13 @@
/***/ }),
-/* 318 */
+/* 284 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39107,13 +32319,13 @@
/***/ }),
-/* 319 */
+/* 285 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39180,13 +32392,13 @@
/***/ }),
-/* 320 */
+/* 286 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39276,13 +32488,13 @@
/***/ }),
-/* 321 */
+/* 287 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39362,13 +32574,13 @@
/***/ }),
-/* 322 */
+/* 288 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39455,13 +32667,13 @@
/***/ }),
-/* 323 */
+/* 289 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39546,13 +32758,13 @@
/***/ }),
-/* 324 */
+/* 290 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39660,13 +32872,13 @@
/***/ }),
-/* 325 */
+/* 291 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39790,13 +33002,13 @@
/***/ }),
-/* 326 */
+/* 292 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39875,13 +33087,13 @@
/***/ }),
-/* 327 */
+/* 293 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -39966,13 +33178,13 @@
/***/ }),
-/* 328 */
+/* 294 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40106,13 +33318,13 @@
/***/ }),
-/* 329 */
+/* 295 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40180,13 +33392,13 @@
/***/ }),
-/* 330 */
+/* 296 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40302,13 +33514,13 @@
/***/ }),
-/* 331 */
+/* 297 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40403,13 +33615,13 @@
/***/ }),
-/* 332 */
+/* 298 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40519,13 +33731,13 @@
/***/ }),
-/* 333 */
+/* 299 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40587,13 +33799,13 @@
/***/ }),
-/* 334 */
+/* 300 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40681,13 +33893,13 @@
/***/ }),
-/* 335 */
+/* 301 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40766,13 +33978,13 @@
/***/ }),
-/* 336 */
+/* 302 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -40874,13 +34086,13 @@
/***/ }),
-/* 337 */
+/* 303 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41038,13 +34250,13 @@
/***/ }),
-/* 338 */
+/* 304 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41124,13 +34336,13 @@
/***/ }),
-/* 339 */
+/* 305 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41210,13 +34422,13 @@
/***/ }),
-/* 340 */
+/* 306 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41274,13 +34486,13 @@
/***/ }),
-/* 341 */
+/* 307 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41371,13 +34583,13 @@
/***/ }),
-/* 342 */
+/* 308 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41437,13 +34649,13 @@
/***/ }),
-/* 343 */
+/* 309 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41564,13 +34776,13 @@
/***/ }),
-/* 344 */
+/* 310 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41655,13 +34867,13 @@
/***/ }),
-/* 345 */
+/* 311 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41746,13 +34958,13 @@
/***/ }),
-/* 346 */
+/* 312 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41810,13 +35022,13 @@
/***/ }),
-/* 347 */
+/* 313 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -41938,13 +35150,13 @@
/***/ }),
-/* 348 */
+/* 314 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42068,13 +35280,13 @@
/***/ }),
-/* 349 */
+/* 315 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42137,13 +35349,13 @@
/***/ }),
-/* 350 */
+/* 316 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42202,13 +35414,13 @@
/***/ }),
-/* 351 */
+/* 317 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42281,13 +35493,13 @@
/***/ }),
-/* 352 */
+/* 318 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42467,13 +35679,13 @@
/***/ }),
-/* 353 */
+/* 319 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42569,13 +35781,13 @@
/***/ }),
-/* 354 */
+/* 320 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42633,13 +35845,13 @@
/***/ }),
-/* 355 */
+/* 321 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42708,13 +35920,13 @@
/***/ }),
-/* 356 */
+/* 322 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -42868,13 +36080,13 @@
/***/ }),
-/* 357 */
+/* 323 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43045,13 +36257,13 @@
/***/ }),
-/* 358 */
+/* 324 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43117,13 +36329,13 @@
/***/ }),
-/* 359 */
+/* 325 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43232,13 +36444,13 @@
/***/ }),
-/* 360 */
+/* 326 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43347,13 +36559,13 @@
/***/ }),
-/* 361 */
+/* 327 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43439,13 +36651,13 @@
/***/ }),
-/* 362 */
+/* 328 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43512,13 +36724,13 @@
/***/ }),
-/* 363 */
+/* 329 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43575,13 +36787,13 @@
/***/ }),
-/* 364 */
+/* 330 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43708,13 +36920,13 @@
/***/ }),
-/* 365 */
+/* 331 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43801,13 +37013,13 @@
/***/ }),
-/* 366 */
+/* 332 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43872,13 +37084,13 @@
/***/ }),
-/* 367 */
+/* 333 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -43992,13 +37204,13 @@
/***/ }),
-/* 368 */
+/* 334 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44063,13 +37275,13 @@
/***/ }),
-/* 369 */
+/* 335 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44129,13 +37341,13 @@
/***/ }),
-/* 370 */
+/* 336 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44255,12 +37467,12 @@
/***/ }),
-/* 371 */
+/* 337 */
/***/ (function(module, exports, __webpack_require__) {
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44353,13 +37565,13 @@
/***/ }),
-/* 372 */
+/* 338 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44448,13 +37660,13 @@
/***/ }),
-/* 373 */
+/* 339 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44510,13 +37722,13 @@
/***/ }),
-/* 374 */
+/* 340 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44572,13 +37784,13 @@
/***/ }),
-/* 375 */
+/* 341 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js language configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44695,13 +37907,13 @@
/***/ }),
-/* 376 */
+/* 342 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44850,13 +38062,13 @@
/***/ }),
-/* 377 */
+/* 343 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -44952,13 +38164,13 @@
/***/ }),
-/* 378 */
+/* 344 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45014,13 +38226,13 @@
/***/ }),
-/* 379 */
+/* 345 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45076,13 +38288,13 @@
/***/ }),
-/* 380 */
+/* 346 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45159,13 +38371,13 @@
/***/ }),
-/* 381 */
+/* 347 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45231,13 +38443,13 @@
/***/ }),
-/* 382 */
+/* 348 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45295,13 +38507,13 @@
/***/ }),
-/* 383 */
+/* 349 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45409,13 +38621,13 @@
/***/ }),
-/* 384 */
+/* 350 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45516,13 +38728,13 @@
/***/ }),
-/* 385 */
+/* 351 */
/***/ (function(module, exports, __webpack_require__) {
//! moment.js locale configuration
;(function (global, factory) {
- true ? factory(__webpack_require__(261)) :
+ true ? factory(__webpack_require__(227)) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
@@ -45623,7 +38835,7 @@
/***/ }),
-/* 386 */
+/* 352 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -45632,7 +38844,7 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
@@ -45640,7 +38852,7 @@
var _react2 = _interopRequireDefault(_react);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -45652,11 +38864,11 @@
var _classnames2 = _interopRequireDefault(_classnames);
- var _DateConstants = __webpack_require__(260);
+ var _DateConstants = __webpack_require__(226);
var _DateConstants2 = _interopRequireDefault(_DateConstants);
- var _util = __webpack_require__(388);
+ var _util = __webpack_require__(354);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -45905,14 +39117,14 @@
module.exports = exports['default'];
/***/ }),
-/* 387 */
+/* 353 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _defineProperty = __webpack_require__(215);
+ var _defineProperty = __webpack_require__(181);
var _defineProperty2 = _interopRequireDefault(_defineProperty);
@@ -45934,7 +39146,7 @@
};
/***/ }),
-/* 388 */
+/* 354 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -45943,7 +39155,7 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
@@ -45957,7 +39169,7 @@
exports.isTimeValid = isTimeValid;
exports.isAllowedDate = isAllowedDate;
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
@@ -46051,7 +39263,7 @@
}
/***/ }),
-/* 389 */
+/* 355 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -46064,7 +39276,7 @@
var _react2 = _interopRequireDefault(_react);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -46072,15 +39284,15 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _MonthPanel = __webpack_require__(390);
+ var _MonthPanel = __webpack_require__(356);
var _MonthPanel2 = _interopRequireDefault(_MonthPanel);
- var _YearPanel = __webpack_require__(391);
+ var _YearPanel = __webpack_require__(357);
var _YearPanel2 = _interopRequireDefault(_YearPanel);
- var _mapSelf = __webpack_require__(394);
+ var _mapSelf = __webpack_require__(360);
var _mapSelf2 = _interopRequireDefault(_mapSelf);
@@ -46295,7 +39507,7 @@
module.exports = exports['default'];
/***/ }),
-/* 390 */
+/* 356 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -46308,7 +39520,7 @@
var _react2 = _interopRequireDefault(_react);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -46316,11 +39528,11 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _YearPanel = __webpack_require__(391);
+ var _YearPanel = __webpack_require__(357);
var _YearPanel2 = _interopRequireDefault(_YearPanel);
- var _MonthTable = __webpack_require__(393);
+ var _MonthTable = __webpack_require__(359);
var _MonthTable2 = _interopRequireDefault(_MonthTable);
@@ -46473,7 +39685,7 @@
module.exports = exports['default'];
/***/ }),
-/* 391 */
+/* 357 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -46482,23 +39694,23 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -46514,7 +39726,7 @@
var _classnames2 = _interopRequireDefault(_classnames);
- var _DecadePanel = __webpack_require__(392);
+ var _DecadePanel = __webpack_require__(358);
var _DecadePanel2 = _interopRequireDefault(_DecadePanel);
@@ -46738,7 +39950,7 @@
module.exports = exports['default'];
/***/ }),
-/* 392 */
+/* 358 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -46747,23 +39959,23 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -46951,7 +40163,7 @@
module.exports = exports['default'];
/***/ }),
-/* 393 */
+/* 359 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -46960,23 +40172,23 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -46992,7 +40204,7 @@
var _classnames2 = _interopRequireDefault(_classnames);
- var _index = __webpack_require__(388);
+ var _index = __webpack_require__(354);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -47152,7 +40364,7 @@
module.exports = exports['default'];
/***/ }),
-/* 394 */
+/* 360 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47179,7 +40391,7 @@
module.exports = exports['default'];
/***/ }),
-/* 395 */
+/* 361 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47188,11 +40400,11 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
@@ -47204,7 +40416,7 @@
var _reactDom2 = _interopRequireDefault(_reactDom);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -47212,7 +40424,7 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _mapSelf = __webpack_require__(394);
+ var _mapSelf = __webpack_require__(360);
var _mapSelf2 = _interopRequireDefault(_mapSelf);
@@ -47220,15 +40432,15 @@
var _classnames2 = _interopRequireDefault(_classnames);
- var _TodayButton = __webpack_require__(396);
+ var _TodayButton = __webpack_require__(362);
var _TodayButton2 = _interopRequireDefault(_TodayButton);
- var _OkButton = __webpack_require__(397);
+ var _OkButton = __webpack_require__(363);
var _OkButton2 = _interopRequireDefault(_OkButton);
- var _TimePickerButton = __webpack_require__(398);
+ var _TimePickerButton = __webpack_require__(364);
var _TimePickerButton2 = _interopRequireDefault(_TimePickerButton);
@@ -47306,7 +40518,7 @@
module.exports = exports['default'];
/***/ }),
-/* 396 */
+/* 362 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47320,7 +40532,7 @@
var _react2 = _interopRequireDefault(_react);
- var _util = __webpack_require__(388);
+ var _util = __webpack_require__(354);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -47352,7 +40564,7 @@
module.exports = exports['default'];
/***/ }),
-/* 397 */
+/* 363 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -47391,7 +40603,7 @@
module.exports = exports['default'];
/***/ }),
-/* 398 */
+/* 364 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47400,7 +40612,7 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
@@ -47444,7 +40656,7 @@
module.exports = exports['default'];
/***/ }),
-/* 399 */
+/* 365 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47453,7 +40665,7 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
@@ -47469,11 +40681,11 @@
var _classnames2 = _interopRequireDefault(_classnames);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
- var _index = __webpack_require__(388);
+ var _index = __webpack_require__(354);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -47587,7 +40799,7 @@
module.exports = exports['default'];
/***/ }),
-/* 400 */
+/* 366 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47600,7 +40812,7 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _en_US = __webpack_require__(401);
+ var _en_US = __webpack_require__(367);
var _en_US2 = _interopRequireDefault(_en_US);
@@ -47665,7 +40877,7 @@
module.exports = exports['default'];
/***/ }),
-/* 401 */
+/* 367 */
/***/ (function(module, exports) {
'use strict';
@@ -47703,7 +40915,7 @@
module.exports = exports['default'];
/***/ }),
-/* 402 */
+/* 368 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47720,7 +40932,7 @@
var _reactDom2 = _interopRequireDefault(_reactDom);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -47728,7 +40940,7 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
@@ -47862,7 +41074,7 @@
module.exports = exports['default'];
/***/ }),
-/* 403 */
+/* 369 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -47879,7 +41091,7 @@
var _reactDom2 = _interopRequireDefault(_reactDom);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -47887,19 +41099,19 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _createChainedFunction = __webpack_require__(404);
+ var _createChainedFunction = __webpack_require__(370);
var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
- var _KeyCode = __webpack_require__(211);
+ var _KeyCode = __webpack_require__(177);
var _KeyCode2 = _interopRequireDefault(_KeyCode);
- var _placements = __webpack_require__(405);
+ var _placements = __webpack_require__(371);
var _placements2 = _interopRequireDefault(_placements);
- var _rcTrigger = __webpack_require__(406);
+ var _rcTrigger = __webpack_require__(372);
var _rcTrigger2 = _interopRequireDefault(_rcTrigger);
@@ -48104,7 +41316,7 @@
module.exports = exports['default'];
/***/ }),
-/* 404 */
+/* 370 */
/***/ (function(module, exports) {
"use strict";
@@ -48138,7 +41350,7 @@
module.exports = exports['default'];
/***/ }),
-/* 405 */
+/* 371 */
/***/ (function(module, exports) {
'use strict';
@@ -48184,7 +41396,7 @@
module.exports = exports['default'];
/***/ }),
-/* 406 */
+/* 372 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -48193,7 +41405,7 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
@@ -48207,25 +41419,25 @@
var _reactDom = __webpack_require__(12);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
- var _contains = __webpack_require__(407);
+ var _contains = __webpack_require__(373);
var _contains2 = _interopRequireDefault(_contains);
- var _addEventListener = __webpack_require__(408);
+ var _addEventListener = __webpack_require__(374);
var _addEventListener2 = _interopRequireDefault(_addEventListener);
- var _Popup = __webpack_require__(409);
+ var _Popup = __webpack_require__(375);
var _Popup2 = _interopRequireDefault(_Popup);
- var _utils = __webpack_require__(422);
+ var _utils = __webpack_require__(388);
- var _getContainerRenderMixin = __webpack_require__(423);
+ var _getContainerRenderMixin = __webpack_require__(389);
var _getContainerRenderMixin2 = _interopRequireDefault(_getContainerRenderMixin);
@@ -48697,7 +41909,7 @@
module.exports = exports['default'];
/***/ }),
-/* 407 */
+/* 373 */
/***/ (function(module, exports) {
"use strict";
@@ -48720,7 +41932,7 @@
module.exports = exports['default'];
/***/ }),
-/* 408 */
+/* 374 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -48750,7 +41962,7 @@
module.exports = exports['default'];
/***/ }),
-/* 409 */
+/* 375 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -48759,23 +41971,23 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -48791,23 +42003,23 @@
var _reactDom2 = _interopRequireDefault(_reactDom);
- var _rcAlign = __webpack_require__(410);
+ var _rcAlign = __webpack_require__(376);
var _rcAlign2 = _interopRequireDefault(_rcAlign);
- var _rcAnimate = __webpack_require__(413);
+ var _rcAnimate = __webpack_require__(379);
var _rcAnimate2 = _interopRequireDefault(_rcAnimate);
- var _PopupInner = __webpack_require__(419);
+ var _PopupInner = __webpack_require__(385);
var _PopupInner2 = _interopRequireDefault(_PopupInner);
- var _LazyRenderBox = __webpack_require__(420);
+ var _LazyRenderBox = __webpack_require__(386);
var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
- var _utils = __webpack_require__(422);
+ var _utils = __webpack_require__(388);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -49040,14 +42252,14 @@
module.exports = exports['default'];
/***/ }),
-/* 410 */
+/* 376 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
exports.__esModule = true;
- var _Align = __webpack_require__(411);
+ var _Align = __webpack_require__(377);
var _Align2 = _interopRequireDefault(_Align);
@@ -49058,22 +42270,22 @@
module.exports = exports['default'];
/***/ }),
-/* 411 */
+/* 377 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
exports.__esModule = true;
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -49093,7 +42305,7 @@
var _domAlign2 = _interopRequireDefault(_domAlign);
- var _addEventListener = __webpack_require__(408);
+ var _addEventListener = __webpack_require__(374);
var _addEventListener2 = _interopRequireDefault(_addEventListener);
@@ -49101,7 +42313,7 @@
var _shallowequal2 = _interopRequireDefault(_shallowequal);
- var _isWindow = __webpack_require__(412);
+ var _isWindow = __webpack_require__(378);
var _isWindow2 = _interopRequireDefault(_isWindow);
@@ -49249,7 +42461,7 @@
module.exports = exports['default'];
/***/ }),
-/* 412 */
+/* 378 */
/***/ (function(module, exports) {
"use strict";
@@ -49264,7 +42476,7 @@
module.exports = exports['default'];
/***/ }),
-/* 413 */
+/* 379 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -49273,27 +42485,27 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -49305,13 +42517,13 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _ChildrenUtils = __webpack_require__(414);
+ var _ChildrenUtils = __webpack_require__(380);
- var _AnimateChild = __webpack_require__(415);
+ var _AnimateChild = __webpack_require__(381);
var _AnimateChild2 = _interopRequireDefault(_AnimateChild);
- var _util = __webpack_require__(418);
+ var _util = __webpack_require__(384);
var _util2 = _interopRequireDefault(_util);
@@ -49662,7 +42874,7 @@
module.exports = exports['default'];
/***/ }),
-/* 414 */
+/* 380 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -49784,7 +42996,7 @@
}
/***/ }),
-/* 415 */
+/* 381 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -49793,23 +43005,23 @@
value: true
});
- var _typeof2 = __webpack_require__(218);
+ var _typeof2 = __webpack_require__(184);
var _typeof3 = _interopRequireDefault(_typeof2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -49825,11 +43037,11 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _cssAnimation = __webpack_require__(416);
+ var _cssAnimation = __webpack_require__(382);
var _cssAnimation2 = _interopRequireDefault(_cssAnimation);
- var _util = __webpack_require__(418);
+ var _util = __webpack_require__(384);
var _util2 = _interopRequireDefault(_util);
@@ -49937,7 +43149,7 @@
module.exports = exports['default'];
/***/ }),
-/* 416 */
+/* 382 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -49947,11 +43159,11 @@
});
exports.isCssAnimationSupported = undefined;
- var _typeof2 = __webpack_require__(218);
+ var _typeof2 = __webpack_require__(184);
var _typeof3 = _interopRequireDefault(_typeof2);
- var _Event = __webpack_require__(417);
+ var _Event = __webpack_require__(383);
var _Event2 = _interopRequireDefault(_Event);
@@ -50133,7 +43345,7 @@
exports['default'] = cssAnimation;
/***/ }),
-/* 417 */
+/* 383 */
/***/ (function(module, exports) {
'use strict';
@@ -50226,7 +43438,7 @@
module.exports = exports['default'];
/***/ }),
-/* 418 */
+/* 384 */
/***/ (function(module, exports) {
"use strict";
@@ -50258,7 +43470,7 @@
module.exports = exports['default'];
/***/ }),
-/* 419 */
+/* 385 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -50267,19 +43479,19 @@
value: true
});
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -50291,7 +43503,7 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _LazyRenderBox = __webpack_require__(420);
+ var _LazyRenderBox = __webpack_require__(386);
var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
@@ -50344,7 +43556,7 @@
module.exports = exports['default'];
/***/ }),
-/* 420 */
+/* 386 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -50353,23 +43565,23 @@
value: true
});
- var _objectWithoutProperties2 = __webpack_require__(421);
+ var _objectWithoutProperties2 = __webpack_require__(387);
var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -50428,7 +43640,7 @@
module.exports = exports['default'];
/***/ }),
-/* 421 */
+/* 387 */
/***/ (function(module, exports) {
"use strict";
@@ -50448,7 +43660,7 @@
};
/***/ }),
-/* 422 */
+/* 388 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -50457,7 +43669,7 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
@@ -50493,7 +43705,7 @@
}
/***/ }),
-/* 423 */
+/* 389 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -50502,7 +43714,7 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
@@ -50601,7 +43813,7 @@
module.exports = exports['default'];
/***/ }),
-/* 424 */
+/* 390 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -50610,23 +43822,23 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -50638,15 +43850,15 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _Header = __webpack_require__(425);
+ var _Header = __webpack_require__(391);
var _Header2 = _interopRequireDefault(_Header);
- var _Combobox = __webpack_require__(426);
+ var _Combobox = __webpack_require__(392);
var _Combobox2 = _interopRequireDefault(_Combobox);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
@@ -50876,7 +44088,7 @@
module.exports = exports['default'];
/***/ }),
-/* 425 */
+/* 391 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -50885,19 +44097,19 @@
value: true
});
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -50909,7 +44121,7 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
@@ -51146,7 +44358,7 @@
module.exports = exports['default'];
/***/ }),
-/* 426 */
+/* 392 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -51155,19 +44367,19 @@
value: true
});
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -51179,7 +44391,7 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _Select = __webpack_require__(427);
+ var _Select = __webpack_require__(393);
var _Select2 = _interopRequireDefault(_Select);
@@ -51423,7 +44635,7 @@
module.exports = exports['default'];
/***/ }),
-/* 427 */
+/* 393 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -51432,23 +44644,23 @@
value: true
});
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _classCallCheck2 = __webpack_require__(213);
+ var _classCallCheck2 = __webpack_require__(179);
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
- var _createClass2 = __webpack_require__(214);
+ var _createClass2 = __webpack_require__(180);
var _createClass3 = _interopRequireDefault(_createClass2);
- var _possibleConstructorReturn2 = __webpack_require__(217);
+ var _possibleConstructorReturn2 = __webpack_require__(183);
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
- var _inherits2 = __webpack_require__(252);
+ var _inherits2 = __webpack_require__(218);
var _inherits3 = _interopRequireDefault(_inherits2);
@@ -51625,7 +44837,7 @@
module.exports = exports['default'];
/***/ }),
-/* 428 */
+/* 394 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -51634,7 +44846,7 @@
value: true
});
- var _MonthCalendar = __webpack_require__(429);
+ var _MonthCalendar = __webpack_require__(395);
var _MonthCalendar2 = _interopRequireDefault(_MonthCalendar);
@@ -51642,11 +44854,11 @@
var _react2 = _interopRequireDefault(_react);
- var _Picker = __webpack_require__(403);
+ var _Picker = __webpack_require__(369);
var _Picker2 = _interopRequireDefault(_Picker);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
@@ -51738,7 +44950,7 @@
module.exports = exports["default"];
/***/ }),
-/* 429 */
+/* 395 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -51751,7 +44963,7 @@
var _react2 = _interopRequireDefault(_react);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -51759,19 +44971,19 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _KeyCode = __webpack_require__(211);
+ var _KeyCode = __webpack_require__(177);
var _KeyCode2 = _interopRequireDefault(_KeyCode);
- var _MonthPanel = __webpack_require__(390);
+ var _MonthPanel = __webpack_require__(356);
var _MonthPanel2 = _interopRequireDefault(_MonthPanel);
- var _CalendarMixin = __webpack_require__(399);
+ var _CalendarMixin = __webpack_require__(365);
var _CalendarMixin2 = _interopRequireDefault(_CalendarMixin);
- var _CommonMixin = __webpack_require__(400);
+ var _CommonMixin = __webpack_require__(366);
var _CommonMixin2 = _interopRequireDefault(_CommonMixin);
@@ -51856,7 +45068,7 @@
module.exports = exports['default'];
/***/ }),
-/* 430 */
+/* 396 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -51871,33 +45083,33 @@
var _react2 = _interopRequireDefault(_react);
- var _RangeCalendar = __webpack_require__(431);
+ var _RangeCalendar = __webpack_require__(397);
var _RangeCalendar2 = _interopRequireDefault(_RangeCalendar);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
- var _Picker = __webpack_require__(403);
+ var _Picker = __webpack_require__(369);
var _Picker2 = _interopRequireDefault(_Picker);
- var _zh_CN = __webpack_require__(450);
+ var _zh_CN = __webpack_require__(416);
var _zh_CN2 = _interopRequireDefault(_zh_CN);
- var _en_US = __webpack_require__(401);
+ var _en_US = __webpack_require__(367);
var _en_US2 = _interopRequireDefault(_en_US);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
- __webpack_require__(383);
+ __webpack_require__(349);
- __webpack_require__(291);
+ __webpack_require__(257);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -52017,7 +45229,7 @@
module.exports = exports["default"];
/***/ }),
-/* 431 */
+/* 397 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -52026,19 +45238,19 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
- var _defineProperty2 = __webpack_require__(387);
+ var _defineProperty2 = __webpack_require__(353);
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
- var _toConsumableArray2 = __webpack_require__(432);
+ var _toConsumableArray2 = __webpack_require__(398);
var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);
- var _slicedToArray2 = __webpack_require__(442);
+ var _slicedToArray2 = __webpack_require__(408);
var _slicedToArray3 = _interopRequireDefault(_slicedToArray2);
@@ -52046,7 +45258,7 @@
var _react2 = _interopRequireDefault(_react);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -52054,7 +45266,7 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
@@ -52062,27 +45274,27 @@
var _classnames3 = _interopRequireDefault(_classnames2);
- var _CalendarPart = __webpack_require__(449);
+ var _CalendarPart = __webpack_require__(415);
var _CalendarPart2 = _interopRequireDefault(_CalendarPart);
- var _TodayButton = __webpack_require__(396);
+ var _TodayButton = __webpack_require__(362);
var _TodayButton2 = _interopRequireDefault(_TodayButton);
- var _OkButton = __webpack_require__(397);
+ var _OkButton = __webpack_require__(363);
var _OkButton2 = _interopRequireDefault(_OkButton);
- var _TimePickerButton = __webpack_require__(398);
+ var _TimePickerButton = __webpack_require__(364);
var _TimePickerButton2 = _interopRequireDefault(_TimePickerButton);
- var _CommonMixin = __webpack_require__(400);
+ var _CommonMixin = __webpack_require__(366);
var _CommonMixin2 = _interopRequireDefault(_CommonMixin);
- var _util = __webpack_require__(388);
+ var _util = __webpack_require__(354);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -52642,14 +45854,14 @@
module.exports = exports['default'];
/***/ }),
-/* 432 */
+/* 398 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _from = __webpack_require__(433);
+ var _from = __webpack_require__(399);
var _from2 = _interopRequireDefault(_from);
@@ -52668,32 +45880,32 @@
};
/***/ }),
-/* 433 */
+/* 399 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(434), __esModule: true };
+ module.exports = { "default": __webpack_require__(400), __esModule: true };
/***/ }),
-/* 434 */
+/* 400 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(221);
- __webpack_require__(435);
- module.exports = __webpack_require__(195).Array.from;
+ __webpack_require__(187);
+ __webpack_require__(401);
+ module.exports = __webpack_require__(161).Array.from;
/***/ }),
-/* 435 */
+/* 401 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
- var ctx = __webpack_require__(196)
- , $export = __webpack_require__(193)
- , toObject = __webpack_require__(200)
- , call = __webpack_require__(436)
- , isArrayIter = __webpack_require__(437)
- , toLength = __webpack_require__(438)
- , getIterFn = __webpack_require__(439);
- $export($export.S + $export.F * !__webpack_require__(441)(function(iter){ Array.from(iter); }), 'Array', {
+ var ctx = __webpack_require__(162)
+ , $export = __webpack_require__(159)
+ , toObject = __webpack_require__(166)
+ , call = __webpack_require__(402)
+ , isArrayIter = __webpack_require__(403)
+ , toLength = __webpack_require__(404)
+ , getIterFn = __webpack_require__(405);
+ $export($export.S + $export.F * !__webpack_require__(407)(function(iter){ Array.from(iter); }), 'Array', {
// 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
var O = toObject(arrayLike)
@@ -52724,11 +45936,11 @@
/***/ }),
-/* 436 */
+/* 402 */
/***/ (function(module, exports, __webpack_require__) {
// call something on iterator step with safe closing on error
- var anObject = __webpack_require__(249);
+ var anObject = __webpack_require__(215);
module.exports = function(iterator, fn, value, entries){
try {
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
@@ -52741,12 +45953,12 @@
};
/***/ }),
-/* 437 */
+/* 403 */
/***/ (function(module, exports, __webpack_require__) {
// check on default Array iterator
- var Iterators = __webpack_require__(231)
- , ITERATOR = __webpack_require__(234)('iterator')
+ var Iterators = __webpack_require__(197)
+ , ITERATOR = __webpack_require__(200)('iterator')
, ArrayProto = Array.prototype;
module.exports = function(it){
@@ -52754,36 +45966,36 @@
};
/***/ }),
-/* 438 */
+/* 404 */
/***/ (function(module, exports, __webpack_require__) {
// 7.1.15 ToLength
- var toInteger = __webpack_require__(223)
+ var toInteger = __webpack_require__(189)
, min = Math.min;
module.exports = function(it){
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
};
/***/ }),
-/* 439 */
+/* 405 */
/***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__(440)
- , ITERATOR = __webpack_require__(234)('iterator')
- , Iterators = __webpack_require__(231);
- module.exports = __webpack_require__(195).getIteratorMethod = function(it){
+ var classof = __webpack_require__(406)
+ , ITERATOR = __webpack_require__(200)('iterator')
+ , Iterators = __webpack_require__(197);
+ module.exports = __webpack_require__(161).getIteratorMethod = function(it){
if(it != undefined)return it[ITERATOR]
|| it['@@iterator']
|| Iterators[classof(it)];
};
/***/ }),
-/* 440 */
+/* 406 */
/***/ (function(module, exports, __webpack_require__) {
// getting tag from 19.1.3.6 Object.prototype.toString()
- var cof = __webpack_require__(203)
- , TAG = __webpack_require__(234)('toStringTag')
+ var cof = __webpack_require__(169)
+ , TAG = __webpack_require__(200)('toStringTag')
// ES3 wrong here
, ARG = cof(function(){ return arguments; }()) == 'Arguments';
@@ -52799,10 +46011,10 @@
};
/***/ }),
-/* 441 */
+/* 407 */
/***/ (function(module, exports, __webpack_require__) {
- var ITERATOR = __webpack_require__(234)('iterator')
+ var ITERATOR = __webpack_require__(200)('iterator')
, SAFE_CLOSING = false;
try {
@@ -52825,18 +46037,18 @@
};
/***/ }),
-/* 442 */
+/* 408 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
- var _isIterable2 = __webpack_require__(443);
+ var _isIterable2 = __webpack_require__(409);
var _isIterable3 = _interopRequireDefault(_isIterable2);
- var _getIterator2 = __webpack_require__(446);
+ var _getIterator2 = __webpack_require__(412);
var _getIterator3 = _interopRequireDefault(_getIterator2);
@@ -52881,27 +46093,27 @@
}();
/***/ }),
-/* 443 */
+/* 409 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(444), __esModule: true };
+ module.exports = { "default": __webpack_require__(410), __esModule: true };
/***/ }),
-/* 444 */
+/* 410 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(237);
- __webpack_require__(221);
- module.exports = __webpack_require__(445);
+ __webpack_require__(203);
+ __webpack_require__(187);
+ module.exports = __webpack_require__(411);
/***/ }),
-/* 445 */
+/* 411 */
/***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__(440)
- , ITERATOR = __webpack_require__(234)('iterator')
- , Iterators = __webpack_require__(231);
- module.exports = __webpack_require__(195).isIterable = function(it){
+ var classof = __webpack_require__(406)
+ , ITERATOR = __webpack_require__(200)('iterator')
+ , Iterators = __webpack_require__(197);
+ module.exports = __webpack_require__(161).isIterable = function(it){
var O = Object(it);
return O[ITERATOR] !== undefined
|| '@@iterator' in O
@@ -52909,33 +46121,33 @@
};
/***/ }),
-/* 446 */
+/* 412 */
/***/ (function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(447), __esModule: true };
+ module.exports = { "default": __webpack_require__(413), __esModule: true };
/***/ }),
-/* 447 */
+/* 413 */
/***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(237);
- __webpack_require__(221);
- module.exports = __webpack_require__(448);
+ __webpack_require__(203);
+ __webpack_require__(187);
+ module.exports = __webpack_require__(414);
/***/ }),
-/* 448 */
+/* 414 */
/***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(249)
- , get = __webpack_require__(439);
- module.exports = __webpack_require__(195).getIterator = function(it){
+ var anObject = __webpack_require__(215)
+ , get = __webpack_require__(405);
+ module.exports = __webpack_require__(161).getIterator = function(it){
var iterFn = get(it);
if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
return anObject(iterFn.call(it));
};
/***/ }),
-/* 449 */
+/* 415 */
/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -52944,7 +46156,7 @@
value: true
});
- var _extends2 = __webpack_require__(189);
+ var _extends2 = __webpack_require__(155);
var _extends3 = _interopRequireDefault(_extends2);
@@ -52952,7 +46164,7 @@
var _react2 = _interopRequireDefault(_react);
- var _createReactClass = __webpack_require__(205);
+ var _createReactClass = __webpack_require__(171);
var _createReactClass2 = _interopRequireDefault(_createReactClass);
@@ -52960,19 +46172,19 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _CalendarHeader = __webpack_require__(389);
+ var _CalendarHeader = __webpack_require__(355);
var _CalendarHeader2 = _interopRequireDefault(_CalendarHeader);
- var _DateTable = __webpack_require__(212);
+ var _DateTable = __webpack_require__(178);
var _DateTable2 = _interopRequireDefault(_DateTable);
- var _DateInput = __webpack_require__(402);
+ var _DateInput = __webpack_require__(368);
var _DateInput2 = _interopRequireDefault(_DateInput);
- var _index = __webpack_require__(388);
+ var _index = __webpack_require__(354);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -53092,7 +46304,7 @@
module.exports = exports['default'];
/***/ }),
-/* 450 */
+/* 416 */
/***/ (function(module, exports) {
'use strict';
@@ -53129,7 +46341,7 @@
module.exports = exports['default'];
/***/ }),
-/* 451 */
+/* 417 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -53138,7 +46350,7 @@
value: true
});
- var _rcCalendar = __webpack_require__(187);
+ var _rcCalendar = __webpack_require__(153);
var _rcCalendar2 = _interopRequireDefault(_rcCalendar);
@@ -53146,29 +46358,29 @@
var _react2 = _interopRequireDefault(_react);
- var _Picker = __webpack_require__(403);
+ var _Picker = __webpack_require__(369);
var _Picker2 = _interopRequireDefault(_Picker);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
- var _zh_CN = __webpack_require__(450);
+ var _zh_CN = __webpack_require__(416);
var _zh_CN2 = _interopRequireDefault(_zh_CN);
- var _en_US = __webpack_require__(401);
+ var _en_US = __webpack_require__(367);
var _en_US2 = _interopRequireDefault(_en_US);
- var _moment = __webpack_require__(261);
+ var _moment = __webpack_require__(227);
var _moment2 = _interopRequireDefault(_moment);
- __webpack_require__(383);
+ __webpack_require__(349);
- __webpack_require__(291);
+ __webpack_require__(257);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -53325,7 +46537,26 @@
module.exports = exports["default"];
/***/ }),
-/* 452 */
+/* 418 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _Select = __webpack_require__(419);
+
+ var _Select2 = _interopRequireDefault(_Select);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ exports["default"] = _Select2["default"];
+ module.exports = exports['default'];
+
+/***/ }),
+/* 419 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -53344,13 +46575,2341 @@
var _propTypes2 = _interopRequireDefault(_propTypes);
- var _beeIcon = __webpack_require__(118);
+ var _RcSelect = __webpack_require__(420);
- var _beeIcon2 = _interopRequireDefault(_beeIcon);
+ var _RcSelect2 = _interopRequireDefault(_RcSelect);
- var _beeSelect = __webpack_require__(139);
+ var _Option = __webpack_require__(449);
- var _beeSelect2 = _interopRequireDefault(_beeSelect);
+ var _Option2 = _interopRequireDefault(_Option);
+
+ var _OptGroup = __webpack_require__(436);
+
+ var _OptGroup2 = _interopRequireDefault(_OptGroup);
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var SelectContext = {
+ antLocale: {
+ Select: _propTypes2["default"].any
+ }
+ };
+
+ var defaultProps = {
+ clsPrefix: "u-select",
+ showSearch: false,
+ transitionName: "slide-up",
+ choiceTransitionName: "zoom"
+ };
+
+ var propTypes = {
+ clsPrefix: _propTypes2["default"].string,
+ className: _propTypes2["default"].string,
+ value: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].any]),
+ defaultValue: _propTypes2["default"].oneOfType([_propTypes2["default"].node, _propTypes2["default"].array, _propTypes2["default"].any]),
+ size: _propTypes2["default"].oneOf(["default", "lg", "sm"]),
+ combobox: _propTypes2["default"].bool,
+ notFoundContent: _propTypes2["default"].oneOfType([_propTypes2["default"].node, _propTypes2["default"].array, _propTypes2["default"].any]),
+ showSearch: _propTypes2["default"].bool,
+ transitionName: _propTypes2["default"].string,
+ choiceTransitionName: _propTypes2["default"].string,
+ multiple: _propTypes2["default"].bool,
+ allowClear: _propTypes2["default"].bool,
+ filterOption: _propTypes2["default"].oneOfType([_propTypes2["default"].bool, _propTypes2["default"].func]),
+ tags: _propTypes2["default"].bool,
+ onSelect: _propTypes2["default"].func,
+ onDeselect: _propTypes2["default"].func,
+ onSearch: _propTypes2["default"].func,
+ placeholder: _propTypes2["default"].string,
+ dropdownMatchSelectWidth: _propTypes2["default"].bool,
+ optionFilterProp: _propTypes2["default"].string,
+ optionLabelProp: _propTypes2["default"].string,
+ disabled: _propTypes2["default"].bool,
+ defaultActiveFirstOption: _propTypes2["default"].bool,
+ labelInValue: _propTypes2["default"].bool,
+ getPopupContainer: _propTypes2["default"].func,
+ style: _propTypes2["default"].object,
+ dropdownStyle: _propTypes2["default"].object,
+ dropdownMenuStyle: _propTypes2["default"].object,
+ onChange: _propTypes2["default"].func,
+ scrollToEnd: _propTypes2["default"].func
+ };
+
+ var Select = function (_Component) {
+ _inherits(Select, _Component);
+
+ function Select(props) {
+ _classCallCheck(this, Select);
+
+ return _possibleConstructorReturn(this, _Component.call(this, props));
+ }
+
+ Select.prototype.render = function render() {
+ var _classNames;
+
+ var _props = this.props,
+ clsPrefix = _props.clsPrefix,
+ _props$className = _props.className,
+ className = _props$className === undefined ? "" : _props$className,
+ size = _props.size,
+ combobox = _props.combobox,
+ showSearch = _props.showSearch,
+ data = _props.data;
+ var _props2 = this.props,
+ _props2$notFoundConte = _props2.notFoundContent,
+ notFoundContent = _props2$notFoundConte === undefined ? "Not Found" : _props2$notFoundConte,
+ optionLabelProp = _props2.optionLabelProp;
+
+
+ var cls = (0, _classnames2["default"])((_classNames = {}, _defineProperty(_classNames, clsPrefix + "-lg", size === "lg"), _defineProperty(_classNames, clsPrefix + "-sm", size === "sm"), _defineProperty(_classNames, clsPrefix + "-show-search", showSearch), _classNames), className);
+
+ var antLocale = this.context.antLocale;
+
+ if (antLocale && antLocale.Select) {
+ notFoundContent = "notFoundContent" in this.props ? notFoundContent : antLocale.Select.notFoundContent;
+ }
+
+ if (combobox) {
+ notFoundContent = null;
+ // children 带 dom 结构时,无法填入输入框
+ optionLabelProp = optionLabelProp || "value";
+ }
+ if (data) {
+ data.map(function (item) {
+ return _react2["default"].createElement(
+ _Option2["default"],
+ { value: item.value },
+ item.key
+ );
+ });
+ }
+ return data ? _react2["default"].createElement(
+ _RcSelect2["default"],
+ _extends({}, this.props, {
+ className: cls,
+ optionLabelProp: optionLabelProp || "children",
+ notFoundContent: notFoundContent
+ }),
+ data.map(function (item) {
+ return _react2["default"].createElement(
+ _Option2["default"],
+ { key: item.value, value: item.value, disabled: item.disabled ? true : false },
+ item.key
+ );
+ })
+ ) : _react2["default"].createElement(_RcSelect2["default"], _extends({}, this.props, {
+ className: cls,
+ optionLabelProp: optionLabelProp || "children",
+ notFoundContent: notFoundContent
+ }));
+ };
+
+ return Select;
+ }(_react.Component);
+
+ Select.context = SelectContext;
+ Select.propTypes = propTypes;
+ Select.defaultProps = defaultProps;
+ Select.Option = _Option2["default"];
+ Select.OptGroup = _OptGroup2["default"];
+
+ exports["default"] = Select;
+ module.exports = exports["default"];
+
+/***/ }),
+/* 420 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _beeMenus = __webpack_require__(421);
+
+ var _reactDom = __webpack_require__(12);
+
+ var _reactDom2 = _interopRequireDefault(_reactDom);
+
+ var _tinperBeeCore = __webpack_require__(26);
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _OptGroup = __webpack_require__(436);
+
+ var _OptGroup2 = _interopRequireDefault(_OptGroup);
+
+ var _warning = __webpack_require__(31);
+
+ var _warning2 = _interopRequireDefault(_warning);
+
+ var _componentClasses = __webpack_require__(46);
+
+ var _componentClasses2 = _interopRequireDefault(_componentClasses);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _contains = __webpack_require__(76);
+
+ var _contains2 = _interopRequireDefault(_contains);
+
+ var _util = __webpack_require__(437);
+
+ var _SelectTrigger = __webpack_require__(438);
+
+ var _SelectTrigger2 = _interopRequireDefault(_SelectTrigger);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ //import FilterMixin from './FilterMixin';
+
+ function noop() {}
+
+ function filterFn(input, child) {
+ return String((0, _util.getPropValue)(child, this.props.optionFilterProp)).indexOf(input) > -1;
+ }
+
+ function saveRef(name, component) {
+ this[name] = component;
+ }
+
+ var valueObjectShape = void 0;
+
+ if (_propTypes2["default"]) {
+ valueObjectShape = _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].shape({
+ key: _propTypes2["default"].string,
+ label: _propTypes2["default"].node
+ })]);
+ }
+
+ var propTypes = {
+ defaultActiveFirstOption: _propTypes2["default"].bool,
+ multiple: _propTypes2["default"].bool,
+ filterOption: _propTypes2["default"].any,
+ children: _propTypes2["default"].any,
+ showSearch: _propTypes2["default"].bool,
+ disabled: _propTypes2["default"].bool,
+ allowClear: _propTypes2["default"].bool,
+ showArrow: _propTypes2["default"].bool,
+ tags: _propTypes2["default"].bool,
+ clsPrefix: _propTypes2["default"].string,
+ className: _propTypes2["default"].string,
+ transitionName: _propTypes2["default"].string,
+ optionLabelProp: _propTypes2["default"].string,
+ optionFilterProp: _propTypes2["default"].string,
+ animation: _propTypes2["default"].string,
+ choiceTransitionName: _propTypes2["default"].string,
+ onChange: _propTypes2["default"].func,
+ onBlur: _propTypes2["default"].func,
+ onFocus: _propTypes2["default"].func,
+ onSelect: _propTypes2["default"].func,
+ onSearch: _propTypes2["default"].func,
+ placeholder: _propTypes2["default"].any,
+ onDeselect: _propTypes2["default"].func,
+ labelInValue: _propTypes2["default"].bool,
+ value: _propTypes2["default"].oneOfType([valueObjectShape, _propTypes2["default"].arrayOf(valueObjectShape)]),
+ defaultValue: _propTypes2["default"].oneOfType([valueObjectShape, _propTypes2["default"].arrayOf(valueObjectShape)]),
+ dropdownStyle: _propTypes2["default"].object,
+ maxTagTextLength: _propTypes2["default"].number,
+ tokenSeparators: _propTypes2["default"].arrayOf(_propTypes2["default"].string)
+ };
+
+ var defaultProps = {
+ clsPrefix: 'rc-select',
+ filterOption: filterFn,
+ defaultOpen: false,
+ labelInValue: false,
+ defaultActiveFirstOption: true,
+ showSearch: true,
+ allowClear: false,
+ placeholder: '',
+ defaultValue: [],
+ onChange: noop,
+ onFocus: noop,
+ onBlur: noop,
+ onSelect: noop,
+ onSearch: noop,
+ onDeselect: noop,
+ showArrow: true,
+ dropdownMatchSelectWidth: true,
+ dropdownStyle: {},
+ dropdownMenuStyle: {},
+ optionFilterProp: 'value',
+ optionLabelProp: 'value',
+ notFoundContent: 'Not Found'
+ };
+
+ var RcSelect = function (_Component) {
+ _inherits(RcSelect, _Component);
+
+ //mixins: [FilterMixin],
+
+ function RcSelect(props) {
+ _classCallCheck(this, RcSelect);
+
+ var _this2 = _possibleConstructorReturn(this, _Component.call(this, props));
+
+ _this2.getInit = function (event) {
+ var _this = _reactDom2["default"].findDOMNode(_this2);
+ if (event.target && (0, _contains2["default"])(_this, event.target)) {
+ if (_this2._focused) return;
+ _this2._focused = true;
+ _this2.updateFocusClassName();
+ } else {
+ if (!_this2._focused) return;
+ _this2._focused = false;
+ _this2.updateFocusClassName();
+ }
+ };
+
+ _this2.onOutClick = function (event) {
+ // this.clearBlurTime();
+ _this2._focused = true;
+ _this2.updateFocusClassName();
+ _this2.props.onFocus(_this2.state.value);
+ };
+
+ var value = [];
+ if ('value' in props) {
+ value = (0, _util.toArray)(props.value);
+ } else {
+ value = (0, _util.toArray)(props.defaultValue);
+ }
+ value = _this2.addLabelToValue(props, value);
+ value = _this2.addTitleToValue(props, value);
+ var inputValue = '';
+ if (props.combobox) {
+ inputValue = value.length ? String(value[0].key) : '';
+ }
+ _this2.saveInputRef = saveRef.bind(_this2, 'inputInstance');
+ _this2.saveInputMirrorRef = saveRef.bind(_this2, 'inputMirrorInstance');
+ var open = props.open;
+ if (open === undefined) {
+ open = props.defaultOpen;
+ }
+ _this2.state = {
+ value: value,
+ inputValue: inputValue,
+ open: open
+ };
+
+ _this2.filterOption = _this2.filterOption.bind(_this2);
+ _this2.renderFilterOptions = _this2.renderFilterOptions.bind(_this2);
+ _this2.renderFilterOptionsFromChildren = _this2.renderFilterOptionsFromChildren.bind(_this2);
+ _this2.onInputChange = _this2.onInputChange.bind(_this2);
+ _this2.onDropdownVisibleChange = _this2.onDropdownVisibleChange.bind(_this2);
+
+ _this2.onKeyDown = _this2.onKeyDown.bind(_this2);
+ _this2.onInputKeyDown = _this2.onInputKeyDown.bind(_this2);
+ _this2.onMenuSelect = _this2.onMenuSelect.bind(_this2);
+ _this2.onMenuDeselect = _this2.onMenuDeselect.bind(_this2);
+ _this2.onArrowClick = _this2.onArrowClick.bind(_this2);
+
+ _this2.onPlaceholderClick = _this2.onPlaceholderClick.bind(_this2);
+ _this2.onOuterFocus = _this2.onOuterFocus.bind(_this2);
+ _this2.onPopupFocus = _this2.onPopupFocus.bind(_this2);
+ _this2.onOuterBlur = _this2.onOuterBlur.bind(_this2);
+ _this2.onClearSelection = _this2.onClearSelection.bind(_this2);
+
+ _this2.onChoiceAnimationLeave = _this2.onChoiceAnimationLeave.bind(_this2);
+ _this2.getLabelBySingleValue = _this2.getLabelBySingleValue.bind(_this2);
+ _this2.getValueByLabel = _this2.getValueByLabel.bind(_this2);
+ _this2.getLabelFromOption = _this2.getLabelFromOption.bind(_this2);
+ _this2.getLabelFromProps = _this2.getLabelFromProps.bind(_this2);
+
+ _this2.getVLForOnChange = _this2.getVLForOnChange.bind(_this2);
+ _this2.getLabelByValue = _this2.getLabelByValue.bind(_this2);
+ _this2.getDropdownContainer = _this2.getDropdownContainer.bind(_this2);
+ _this2.getPlaceholderElement = _this2.getPlaceholderElement.bind(_this2);
+ _this2.getInputElement = _this2.getInputElement.bind(_this2);
+
+ _this2.getInputDOMNode = _this2.getInputDOMNode.bind(_this2);
+ _this2.getInputMirrorDOMNode = _this2.getInputMirrorDOMNode.bind(_this2);
+ _this2.getPopupDOMNode = _this2.getPopupDOMNode.bind(_this2);
+ _this2.getPopupMenuComponent = _this2.getPopupMenuComponent.bind(_this2);
+ _this2.setOpenState = _this2.setOpenState.bind(_this2);
+
+ _this2.setInputValue = _this2.setInputValue.bind(_this2);
+ _this2.clearBlurTime = _this2.clearBlurTime.bind(_this2);
+ _this2.clearAdjustTimer = _this2.clearAdjustTimer.bind(_this2);
+ _this2.clearAdjustTimer = _this2.clearAdjustTimer.bind(_this2);
+ _this2.updateFocusClassName = _this2.updateFocusClassName.bind(_this2);
+
+ _this2.maybeFocus = _this2.maybeFocus.bind(_this2);
+ _this2.addLabelToValue = _this2.addLabelToValue.bind(_this2);
+ _this2.addTitleToValue = _this2.addTitleToValue.bind(_this2);
+ _this2.removeSelected = _this2.removeSelected.bind(_this2);
+ _this2.openIfHasChildren = _this2.openIfHasChildren.bind(_this2);
+
+ _this2.fireChange = _this2.fireChange.bind(_this2);
+ _this2.isChildDisabled = _this2.isChildDisabled.bind(_this2);
+ _this2.tokenize = _this2.tokenize.bind(_this2);
+ _this2.adjustOpenState = _this2.adjustOpenState.bind(_this2);
+ _this2.renderTopControlNode = _this2.renderTopControlNode.bind(_this2);
+ return _this2;
+ }
+
+ RcSelect.prototype.componentWillMount = function componentWillMount() {
+ this.adjustOpenState();
+ };
+
+ RcSelect.prototype.componentDidMount = function componentDidMount() {
+ if (this.props.autofocus) {
+ this.onOuterFocus();
+ }
+ if (!this.props.autofocus) return;
+ _reactDom2["default"].findDOMNode(this.refs.root).click();
+ this.setState({
+ open: false
+ });
+ };
+
+ RcSelect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+
+ if ('value' in nextProps) {
+ var value = (0, _util.toArray)(nextProps.value);
+ value = this.addLabelToValue(nextProps, value);
+ value = this.addTitleToValue(nextProps, value);
+ this.setState({
+ value: value
+ });
+ if (nextProps.combobox) {
+ this.setState({
+ inputValue: value.length ? this.getLabelFromProps(nextProps, value[0].key) : ''
+ });
+ }
+ }
+
+ if (this.props.autofocus) {
+ this.onOuterFocus();
+ }
+ };
+
+ RcSelect.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
+ this.props = nextProps;
+ this.state = nextState;
+ this.adjustOpenState();
+ };
+
+ RcSelect.prototype.componentDidUpdate = function componentDidUpdate() {
+ var state = this.state,
+ props = this.props;
+
+ if (state.open && (0, _util.isMultipleOrTags)(props)) {
+ var inputNode = this.getInputDOMNode();
+ var mirrorNode = this.getInputMirrorDOMNode();
+ if (inputNode.value) {
+ inputNode.style.width = '';
+ inputNode.style.width = mirrorNode.clientWidth + 'px';
+ } else {
+ inputNode.style.width = '';
+ }
+ }
+ };
+
+ RcSelect.prototype.componentWillUnmount = function componentWillUnmount() {
+ this.clearBlurTime();
+ this.clearAdjustTimer();
+ if (this.dropdownContainer) {
+ _reactDom2["default"].unmountComponentAtNode(this.dropdownContainer);
+ document.body.removeChild(this.dropdownContainer);
+ this.dropdownContainer = null;
+ }
+ };
+
+ RcSelect.prototype.filterOption = function filterOption(input, child) {
+ if (!input) {
+ return true;
+ }
+ var filterOption = this.props.filterOption;
+ if (!filterOption) {
+ return true;
+ }
+ if (child.props.disabled) {
+ return false;
+ }
+ return filterOption.call(this, input, child);
+ };
+
+ RcSelect.prototype.renderFilterOptions = function renderFilterOptions(inputValue) {
+ return this.renderFilterOptionsFromChildren(this.props.children, true, inputValue);
+ };
+
+ RcSelect.prototype.renderFilterOptionsFromChildren = function renderFilterOptionsFromChildren(children, showNotFound, iv) {
+ var _this3 = this;
+
+ var sel = [];
+ var props = this.props;
+ var inputValue = iv === undefined ? this.state.inputValue : iv;
+ var childrenKeys = [];
+ var tags = props.tags;
+ _react2["default"].Children.forEach(children, function (child) {
+ if (child.type === _OptGroup2["default"]) {
+ var innerItems = _this3.renderFilterOptionsFromChildren(child.props.children, false);
+ if (innerItems.length) {
+ var label = child.props.label;
+ var key = child.key;
+ if (!key && typeof label === 'string') {
+ key = label;
+ } else if (!label && key) {
+ label = key;
+ }
+ sel.push(_react2["default"].createElement(
+ _beeMenus.ItemGroup,
+ { key: key, title: label },
+ innerItems
+ ));
+ }
+ return;
+ }
+
+ // warning(
+ // child.type === Option,
+ // 'the children of `Select` should be `Select.Option` or `Select.OptGroup`, ' +
+ // `instead of \`${child.type.name || child.type.displayName || child.type}\`.`
+ // );
+
+ var childValue = (0, _util.getValuePropValue)(child);
+ if (_this3.filterOption(inputValue, child)) {
+ sel.push(_react2["default"].createElement(_beeMenus.Item, _extends({
+ style: _util.UNSELECTABLE_STYLE,
+ attribute: _util.UNSELECTABLE_ATTRIBUTE,
+ value: childValue,
+ key: childValue
+ }, child.props)));
+ }
+ if (tags && !child.props.disabled) {
+ childrenKeys.push(childValue);
+ }
+ });
+ if (tags) {
+ // tags value must be string
+ var value = this.state.value || [];
+ value = value.filter(function (singleValue) {
+ return childrenKeys.indexOf(singleValue.key) === -1 && (!inputValue || String(singleValue.key).indexOf(String(inputValue)) > -1);
+ });
+ sel = sel.concat(value.map(function (singleValue) {
+ var key = singleValue.key;
+ return _react2["default"].createElement(
+ _beeMenus.Item,
+ {
+ style: _util.UNSELECTABLE_STYLE,
+ attribute: _util.UNSELECTABLE_ATTRIBUTE,
+ value: key,
+ key: key
+ },
+ key
+ );
+ }));
+ if (inputValue) {
+ var notFindInputItem = sel.every(function (option) {
+ return (0, _util.getValuePropValue)(option) !== inputValue;
+ });
+ if (notFindInputItem) {
+ sel.unshift(_react2["default"].createElement(
+ _beeMenus.Item,
+ {
+ style: _util.UNSELECTABLE_STYLE,
+ attribute: _util.UNSELECTABLE_ATTRIBUTE,
+ value: inputValue,
+ key: inputValue
+ },
+ inputValue
+ ));
+ }
+ }
+ }
+ if (!sel.length && showNotFound && props.notFoundContent) {
+ sel = [_react2["default"].createElement(
+ _beeMenus.Item,
+ {
+ style: _util.UNSELECTABLE_STYLE,
+ attribute: _util.UNSELECTABLE_ATTRIBUTE,
+ disabled: true,
+ value: 'NOT_FOUND',
+ key: 'NOT_FOUND'
+ },
+ props.notFoundContent
+ )];
+ }
+ return sel;
+ };
+
+ RcSelect.prototype.onInputChange = function onInputChange(event) {
+ var tokenSeparators = this.props.tokenSeparators;
+
+ var val = event.target.value;
+ if ((0, _util.isMultipleOrTags)(this.props) && tokenSeparators && (0, _util.includesSeparators)(val, tokenSeparators)) {
+ var nextValue = this.tokenize(val);
+ this.fireChange(nextValue);
+ this.setOpenState(false, true);
+ this.setInputValue('', false);
+ return;
+ }
+ this.setInputValue(val);
+ this.setState({
+ open: true
+ });
+ if ((0, _util.isCombobox)(this.props)) {
+ this.fireChange([{
+ key: val
+ }]);
+ }
+ };
+
+ RcSelect.prototype.onDropdownVisibleChange = function onDropdownVisibleChange(open) {
+ this.setOpenState(open);
+ };
+
+ // combobox ignore
+
+
+ RcSelect.prototype.onKeyDown = function onKeyDown(event) {
+ var props = this.props;
+ if (props.disabled) {
+ return;
+ }
+ var keyCode = event.keyCode;
+ if (this.state.open && !this.getInputDOMNode()) {
+ this.onInputKeyDown(event);
+ } else if (keyCode === _tinperBeeCore.KeyCode.ENTER || keyCode === _tinperBeeCore.KeyCode.DOWN) {
+ this.setOpenState(true);
+ event.preventDefault();
+ }
+ };
+
+ RcSelect.prototype.onInputKeyDown = function onInputKeyDown(event) {
+ var props = this.props;
+ if (props.disabled) {
+ return;
+ }
+ var state = this.state;
+ var keyCode = event.keyCode;
+ if ((0, _util.isMultipleOrTags)(props) && !event.target.value && keyCode === _tinperBeeCore.KeyCode.BACKSPACE) {
+ event.preventDefault();
+ var value = state.value;
+
+ if (value.length) {
+ this.removeSelected(value[value.length - 1].key);
+ }
+ return;
+ }
+ if (keyCode === _tinperBeeCore.KeyCode.DOWN) {
+ if (!state.open) {
+ this.openIfHasChildren();
+ event.preventDefault();
+ event.stopPropagation();
+ return;
+ }
+ } else if (keyCode === _tinperBeeCore.KeyCode.ESC) {
+ if (state.open) {
+ this.setOpenState(false);
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ return;
+ }
+
+ if (state.open) {
+ var menu = this.refs.trigger.getInnerMenu();
+
+ if (menu && menu.rcMenu.onKeyDown(event)) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ }
+ };
+
+ RcSelect.prototype.onMenuSelect = function onMenuSelect(_ref) {
+ var _this4 = this;
+
+ var item = _ref.item;
+
+ var value = this.state.value;
+ var props = this.props;
+ var selectedValue = (0, _util.getValuePropValue)(item);
+ var selectedLabel = this.getLabelFromOption(item);
+ var event = selectedValue;
+ if (props.labelInValue) {
+ event = {
+ key: event,
+ label: selectedLabel
+ };
+ }
+ props.onSelect(event, item);
+ var selectedTitle = item.props.title;
+ if ((0, _util.isMultipleOrTags)(props)) {
+ if ((0, _util.findIndexInValueByKey)(value, selectedValue) !== -1) {
+ return;
+ }
+ value = value.concat([{
+ key: selectedValue,
+ label: selectedLabel,
+ title: selectedTitle
+ }]);
+ } else {
+ if ((0, _util.isCombobox)(props)) {
+ this.skipAdjustOpen = true;
+ this.clearAdjustTimer();
+ this.skipAdjustOpenTimer = setTimeout(function () {
+ _this4.skipAdjustOpen = false;
+ }, 0);
+ }
+ if (value.length && value[0].key === selectedValue) {
+ this.setOpenState(false, true);
+ return;
+ }
+ value = [{
+ key: selectedValue,
+ label: selectedLabel,
+ title: selectedTitle
+ }];
+ this.setOpenState(false, true);
+ }
+ this.fireChange(value);
+ var inputValue = void 0;
+ if ((0, _util.isCombobox)(props)) {
+ inputValue = (0, _util.getPropValue)(item, props.optionLabelProp);
+ } else {
+ inputValue = '';
+ }
+ this.setInputValue(inputValue, false);
+ };
+
+ RcSelect.prototype.onMenuDeselect = function onMenuDeselect(_ref2) {
+ var item = _ref2.item,
+ domEvent = _ref2.domEvent;
+
+ if (domEvent.type === 'click') {
+ this.removeSelected((0, _util.getValuePropValue)(item));
+ }
+ this.setInputValue('', false);
+ };
+
+ RcSelect.prototype.onArrowClick = function onArrowClick(e) {
+ e.stopPropagation();
+ if (!this.props.disabled) {
+ this.setOpenState(!this.state.open, true);
+ }
+ };
+
+ RcSelect.prototype.onPlaceholderClick = function onPlaceholderClick() {
+ if (this.getInputDOMNode()) {
+ this.getInputDOMNode().focus();
+ }
+ };
+
+ RcSelect.prototype.onOuterFocus = function onOuterFocus(event) {
+ this.clearBlurTime();
+ this._focused = true;
+ this.updateFocusClassName();
+ this.props.onFocus(this.state.value);
+ };
+
+ RcSelect.prototype.onPopupFocus = function onPopupFocus() {
+ // fix ie scrollbar, focus element again
+ this.maybeFocus(true, true);
+ };
+
+ RcSelect.prototype.onOuterBlur = function onOuterBlur() {
+ var _this5 = this;
+
+ this.blurTimer = setTimeout(function () {
+ _this5._focused = false;
+ _this5.updateFocusClassName();
+ var props = _this5.props;
+ var value = _this5.state.value;
+ var inputValue = _this5.state.inputValue;
+
+ if ((0, _util.isSingleMode)(props) && props.showSearch && inputValue && props.defaultActiveFirstOption) {
+ var options = _this5._options || [];
+ if (options.length) {
+ var firstOption = (0, _util.findFirstMenuItem)(options);
+ if (firstOption) {
+ value = [{
+ key: firstOption.key,
+ label: _this5.getLabelFromOption(firstOption)
+ }];
+ _this5.fireChange(value);
+ }
+ }
+ } else if ((0, _util.isMultipleOrTags)(props) && inputValue) {
+ // why not use setState?
+ _this5.state.inputValue = _this5.getInputDOMNode().value = '';
+ }
+ //todu 返回数组对象
+ // props.onBlur(this.getVLForOnChange(value));
+ props.onBlur(_this5.state.value);
+ }, 10);
+ };
+
+ RcSelect.prototype.onClearSelection = function onClearSelection(event) {
+ var props = this.props;
+ var state = this.state;
+ if (props.disabled) {
+ return;
+ }
+ var inputValue = state.inputValue,
+ value = state.value;
+
+ event.stopPropagation();
+ if (inputValue || value.length) {
+ if (value.length) {
+ this.fireChange([]);
+ }
+ this.setOpenState(false, true);
+ if (inputValue) {
+ this.setInputValue('');
+ }
+ }
+ };
+
+ RcSelect.prototype.onChoiceAnimationLeave = function onChoiceAnimationLeave() {
+ this.refs.trigger.refs.trigger.forcePopupAlign();
+ };
+
+ RcSelect.prototype.getLabelBySingleValue = function getLabelBySingleValue(children, value) {
+ var _this6 = this;
+
+ if (value === undefined) {
+ return null;
+ }
+ var label = null;
+ _react2["default"].Children.forEach(children, function (child) {
+ if (child.type === _OptGroup2["default"]) {
+ var maybe = _this6.getLabelBySingleValue(child.props.children, value);
+ if (maybe !== null) {
+ label = maybe;
+ }
+ } else if ((0, _util.getValuePropValue)(child) === value) {
+ label = _this6.getLabelFromOption(child);
+ }
+ });
+ return label;
+ };
+
+ RcSelect.prototype.getValueByLabel = function getValueByLabel(children, label) {
+ var _this7 = this;
+
+ if (label === undefined) {
+ return null;
+ }
+ var value = null;
+ _react2["default"].Children.forEach(children, function (child) {
+ if (child.type === _OptGroup2["default"]) {
+ var maybe = _this7.getValueByLabel(child.props.children, label);
+ if (maybe !== null) {
+ value = maybe;
+ }
+ } else if ((0, _util.toArray)(_this7.getLabelFromOption(child)).join('') === label) {
+ value = (0, _util.getValuePropValue)(child);
+ }
+ });
+ return value;
+ };
+
+ RcSelect.prototype.getLabelFromOption = function getLabelFromOption(child) {
+ return (0, _util.getPropValue)(child, this.props.optionLabelProp);
+ };
+
+ RcSelect.prototype.getLabelFromProps = function getLabelFromProps(props, value) {
+ return this.getLabelByValue(props.children, value);
+ };
+
+ RcSelect.prototype.getVLForOnChange = function getVLForOnChange(vls_) {
+ var vls = vls_;
+ if (vls !== undefined) {
+ if (!this.props.labelInValue) {
+ vls = vls.map(function (v) {
+ return v.key;
+ });
+ } else {
+ vls = vls.map(function (vl) {
+ return { key: vl.key, label: vl.label };
+ });
+ }
+ return (0, _util.isMultipleOrTags)(this.props) ? vls : vls[0];
+ }
+ return vls;
+ };
+
+ RcSelect.prototype.getLabelByValue = function getLabelByValue(children, value) {
+ var label = this.getLabelBySingleValue(children, value);
+ if (label === null) {
+ return value;
+ }
+ return label;
+ };
+
+ RcSelect.prototype.getDropdownContainer = function getDropdownContainer() {
+ if (!this.dropdownContainer) {
+ this.dropdownContainer = document.createElement('div');
+ document.body.appendChild(this.dropdownContainer);
+ }
+ return this.dropdownContainer;
+ };
+
+ RcSelect.prototype.getPlaceholderElement = function getPlaceholderElement() {
+ var props = this.props,
+ state = this.state;
+
+ var hidden = false;
+ if (state.inputValue) {
+ hidden = true;
+ }
+ if (state.value.length) {
+ hidden = true;
+ }
+ if ((0, _util.isCombobox)(props) && state.value.length === 1 && !state.value[0].key) {
+ hidden = false;
+ }
+ var placeholder = props.placeholder;
+ if (placeholder) {
+ return _react2["default"].createElement(
+ 'div',
+ _extends({
+ onMouseDown: _util.preventDefaultEvent,
+ style: _extends({
+ display: hidden ? 'none' : 'block'
+ }, _util.UNSELECTABLE_STYLE)
+ }, _util.UNSELECTABLE_ATTRIBUTE, {
+ onClick: this.onPlaceholderClick,
+ className: props.clsPrefix + '-selection-placeholder'
+ }),
+ placeholder
+ );
+ }
+ return null;
+ };
+
+ RcSelect.prototype.getInputElement = function getInputElement() {
+ var props = this.props;
+ return _react2["default"].createElement(
+ 'div',
+ { className: props.clsPrefix + '-search-field-wrap' },
+ _react2["default"].createElement('input', {
+ ref: this.saveInputRef,
+ onChange: this.onInputChange,
+ onKeyDown: this.onInputKeyDown,
+ value: this.state.inputValue,
+ disabled: props.disabled,
+ className: props.clsPrefix + '-search-field'
+ }),
+ _react2["default"].createElement(
+ 'span',
+ {
+ ref: this.saveInputMirrorRef,
+ className: props.clsPrefix + '-search-field-mirror'
+ },
+ this.state.inputValue
+ )
+ );
+ };
+
+ RcSelect.prototype.getInputDOMNode = function getInputDOMNode() {
+ return this.inputInstance;
+ };
+
+ RcSelect.prototype.getInputMirrorDOMNode = function getInputMirrorDOMNode() {
+ return this.inputMirrorInstance;
+ };
+
+ RcSelect.prototype.getPopupDOMNode = function getPopupDOMNode() {
+ return this.refs.trigger.getPopupDOMNode();
+ };
+
+ RcSelect.prototype.getPopupMenuComponent = function getPopupMenuComponent() {
+ return this.refs.trigger.getInnerMenu();
+ };
+
+ RcSelect.prototype.setOpenState = function setOpenState(open, needFocus) {
+ var _this8 = this;
+
+ var props = this.props,
+ state = this.state;
+
+ if (state.open === open) {
+ this.maybeFocus(open, needFocus);
+ return;
+ }
+ var nextState = {
+ open: open
+ };
+ // clear search input value when open is false in singleMode.
+ if (!open && (0, _util.isSingleMode)(props) && props.showSearch) {
+ this.setInputValue('');
+ }
+ if (!open) {
+ this.maybeFocus(open, needFocus);
+ }
+ this.setState(nextState, function () {
+ if (open) {
+ _this8.maybeFocus(open, needFocus);
+ }
+ });
+ };
+
+ RcSelect.prototype.setInputValue = function setInputValue(inputValue) {
+ var fireSearch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
+
+ this.setState({
+ inputValue: inputValue
+ });
+ if (fireSearch) {
+ this.props.onSearch(inputValue);
+ }
+ };
+
+ RcSelect.prototype.clearBlurTime = function clearBlurTime() {
+ if (this.blurTimer) {
+ clearTimeout(this.blurTimer);
+ this.blurTimer = null;
+ }
+ };
+
+ RcSelect.prototype.clearAdjustTimer = function clearAdjustTimer() {
+ if (this.skipAdjustOpenTimer) {
+ clearTimeout(this.skipAdjustOpenTimer);
+ this.skipAdjustOpenTimer = null;
+ }
+ };
+
+ RcSelect.prototype.updateFocusClassName = function updateFocusClassName() {
+ var refs = this.refs,
+ props = this.props;
+
+
+ if (this._focused) {
+ (0, _componentClasses2["default"])(refs.root).add(props.clsPrefix + '-focused');
+ } else {
+ (0, _componentClasses2["default"])(refs.root).remove(props.clsPrefix + '-focused');
+ }
+ };
+
+ RcSelect.prototype.maybeFocus = function maybeFocus(open, needFocus) {
+ if (needFocus || open) {
+ var input = this.getInputDOMNode();
+ var _document = document,
+ activeElement = _document.activeElement;
+
+ if (input && (open || (0, _util.isMultipleOrTagsOrCombobox)(this.props))) {
+ if (activeElement !== input) {
+ input.focus();
+ }
+ } else {
+ var selection = this.refs.selection;
+ if (activeElement !== selection) {
+ selection.focus();
+ }
+ }
+ }
+ };
+
+ RcSelect.prototype.addLabelToValue = function addLabelToValue(props, value_) {
+ var _this9 = this;
+
+ var value = value_;
+ if (props.labelInValue) {
+ value.forEach(function (v) {
+ v.label = v.label || _this9.getLabelFromProps(props, v.key);
+ });
+ } else {
+ value = value.map(function (v) {
+ return {
+ key: v,
+ label: _this9.getLabelFromProps(props, v)
+ };
+ });
+ }
+ return value;
+ };
+
+ RcSelect.prototype.addTitleToValue = function addTitleToValue(props, values) {
+ var _this10 = this;
+
+ var nextValues = values;
+ var keys = values.map(function (v) {
+ return v.key;
+ });
+ _react2["default"].Children.forEach(props.children, function (child) {
+ if (child.type === _OptGroup2["default"]) {
+ nextValues = _this10.addTitleToValue(child.props, nextValues);
+ } else {
+ var value = (0, _util.getValuePropValue)(child);
+ var valueIndex = keys.indexOf(value);
+ if (valueIndex > -1) {
+ nextValues[valueIndex].title = child.props.title;
+ }
+ }
+ });
+ return nextValues;
+ };
+
+ RcSelect.prototype.removeSelected = function removeSelected(selectedKey) {
+ var props = this.props;
+ if (props.disabled || this.isChildDisabled(selectedKey)) {
+ return;
+ }
+ var label = void 0;
+ var value = this.state.value.filter(function (singleValue) {
+ if (singleValue.key === selectedKey) {
+ label = singleValue.label;
+ }
+ return singleValue.key !== selectedKey;
+ });
+ var canMultiple = (0, _util.isMultipleOrTags)(props);
+
+ if (canMultiple) {
+ var event = selectedKey;
+ if (props.labelInValue) {
+ event = {
+ key: selectedKey,
+ label: label
+ };
+ }
+ props.onDeselect(event);
+ }
+ this.fireChange(value);
+ };
+
+ RcSelect.prototype.openIfHasChildren = function openIfHasChildren() {
+ var props = this.props;
+ if (_react2["default"].Children.count(props.children) || (0, _util.isSingleMode)(props)) {
+ this.setOpenState(true);
+ }
+ };
+
+ RcSelect.prototype.fireChange = function fireChange(value) {
+ var props = this.props;
+ if (!('value' in props)) {
+ this.setState({
+ value: value
+ });
+ }
+ props.onChange(this.getVLForOnChange(value));
+ };
+
+ RcSelect.prototype.isChildDisabled = function isChildDisabled(key) {
+ return (0, _util.toArray)(this.props.children).some(function (child) {
+ var childValue = (0, _util.getValuePropValue)(child);
+ return childValue === key && child.props && child.props.disabled;
+ });
+ };
+
+ RcSelect.prototype.tokenize = function tokenize(string) {
+ var _this11 = this;
+
+ var _props = this.props,
+ multiple = _props.multiple,
+ tokenSeparators = _props.tokenSeparators,
+ children = _props.children;
+
+ var nextValue = this.state.value;
+ (0, _util.splitBySeparators)(string, tokenSeparators).forEach(function (label) {
+ var selectedValue = { key: label, label: label };
+ if ((0, _util.findIndexInValueByLabel)(nextValue, label) === -1) {
+ if (multiple) {
+ var value = _this11.getValueByLabel(children, label);
+ if (value) {
+ selectedValue.key = value;
+ nextValue = nextValue.concat(selectedValue);
+ }
+ } else {
+ nextValue = nextValue.concat(selectedValue);
+ }
+ }
+ });
+ return nextValue;
+ };
+
+ RcSelect.prototype.adjustOpenState = function adjustOpenState() {
+ if (this.skipAdjustOpen) {
+ return;
+ }
+ var open = this.state.open;
+
+ if (typeof document !== 'undefined' && this.getInputDOMNode() && document.activeElement === this.getInputDOMNode()) {
+ open = true;
+ }
+ var options = [];
+ if (open) {
+ options = this.renderFilterOptions();
+ }
+ this._options = options;
+ if (open && ((0, _util.isMultipleOrTagsOrCombobox)(this.props) || !this.props.showSearch) && !options.length) {
+ open = false;
+ }
+ this.state.open = open;
+ };
+
+ RcSelect.prototype.renderTopControlNode = function renderTopControlNode() {
+ var _this12 = this;
+
+ var _state = this.state,
+ value = _state.value,
+ open = _state.open,
+ inputValue = _state.inputValue;
+
+ var props = this.props;
+ var choiceTransitionName = props.choiceTransitionName,
+ clsPrefix = props.clsPrefix,
+ maxTagTextLength = props.maxTagTextLength,
+ showSearch = props.showSearch;
+
+ var className = clsPrefix + '-selection-rendered';
+ // search input is inside topControlNode in single, multiple & combobox. 2016/04/13
+ var innerNode = null;
+ if ((0, _util.isSingleMode)(props)) {
+ var selectedValue = null;
+ if (value.length) {
+ var showSelectedValue = false;
+ var opacity = 1;
+ if (!showSearch) {
+ showSelectedValue = true;
+ } else {
+ if (open) {
+ showSelectedValue = !inputValue;
+ if (showSelectedValue) {
+ opacity = 0.4;
+ }
+ } else {
+ showSelectedValue = true;
+ }
+ }
+ var singleValue = value[0];
+ selectedValue = _react2["default"].createElement(
+ 'div',
+ {
+ key: 'value',
+ className: clsPrefix + '-selection-selected-value',
+ title: singleValue.title || singleValue.label,
+ style: {
+ display: showSelectedValue ? 'block' : 'none',
+ opacity: opacity
+ }
+ },
+ value[0].label
+ );
+ }
+ if (!showSearch) {
+ innerNode = [selectedValue];
+ } else {
+ innerNode = [selectedValue, _react2["default"].createElement(
+ 'div',
+ {
+ className: clsPrefix + '-search ' + clsPrefix + '-search--inline',
+ key: 'input',
+ style: {
+ display: open ? 'block' : 'none'
+ }
+ },
+ this.getInputElement()
+ )];
+ }
+ } else {
+ var selectedValueNodes = [];
+ if ((0, _util.isMultipleOrTags)(props)) {
+ selectedValueNodes = value.map(function (singleValue) {
+ var content = singleValue.label;
+ var title = singleValue.title || content;
+ if (maxTagTextLength && typeof content === 'string' && content.length > maxTagTextLength) {
+ content = content.slice(0, maxTagTextLength) + '...';
+ }
+ var disabled = _this12.isChildDisabled(singleValue.key);
+ var choiceClassName = disabled ? clsPrefix + '-selection-choice ' + clsPrefix + '-selection-choice-disabled' : clsPrefix + '-selection-choice';
+ return _react2["default"].createElement(
+ 'li',
+ _extends({
+ style: _util.UNSELECTABLE_STYLE
+ }, _util.UNSELECTABLE_ATTRIBUTE, {
+ onMouseDown: _util.preventDefaultEvent,
+ className: choiceClassName,
+ key: singleValue.key,
+ title: title
+ }),
+ _react2["default"].createElement(
+ 'div',
+ { className: clsPrefix + '-selection-choice-content' },
+ content
+ ),
+ disabled ? null : _react2["default"].createElement('span', {
+ className: clsPrefix + '-selection-choice-remove',
+ onClick: _this12.removeSelected.bind(_this12, singleValue.key)
+ })
+ );
+ });
+ }
+ selectedValueNodes.push(_react2["default"].createElement(
+ 'li',
+ {
+ className: clsPrefix + '-search ' + clsPrefix + '-search--inline',
+ key: '__input'
+ },
+ this.getInputElement()
+ ));
+
+ innerNode = _react2["default"].createElement(
+ 'ul',
+ null,
+ selectedValueNodes
+ );
+ }
+ return _react2["default"].createElement(
+ 'div',
+ { className: className, name: 'input', ref: 'input' },
+ this.getPlaceholderElement(),
+ innerNode
+ );
+ };
+
+ RcSelect.prototype.render = function render() {
+ var _rootCls;
+
+ var props = this.props;
+ var multiple = (0, _util.isMultipleOrTags)(props);
+ var state = this.state;
+ var className = props.className,
+ disabled = props.disabled,
+ allowClear = props.allowClear,
+ clsPrefix = props.clsPrefix;
+
+ var ctrlNode = this.renderTopControlNode();
+ var extraSelectionProps = {};
+ var open = this.state.open;
+
+ var options = this._options;
+ if (!(0, _util.isMultipleOrTagsOrCombobox)(props)) {
+ extraSelectionProps = {
+ onKeyDown: this.onKeyDown,
+ tabIndex: 0
+ };
+ }
+ var rootCls = (_rootCls = {}, _defineProperty(_rootCls, className, !!className), _defineProperty(_rootCls, clsPrefix, 1), _defineProperty(_rootCls, clsPrefix + '-open', open), _defineProperty(_rootCls, clsPrefix + '-focused', open || !!this._focused), _defineProperty(_rootCls, clsPrefix + '-combobox', (0, _util.isCombobox)(props)), _defineProperty(_rootCls, clsPrefix + '-disabled', disabled), _defineProperty(_rootCls, clsPrefix + '-enabled', !disabled), _defineProperty(_rootCls, clsPrefix + '-allow-clear', !!props.allowClear), _rootCls);
+ var clearStyle = _extends({}, _util.UNSELECTABLE_STYLE, {
+ display: 'none'
+ });
+ if (state.inputValue || state.value.length) {
+ clearStyle.display = 'block';
+ }
+ var clear = _react2["default"].createElement('span', _extends({
+ key: 'clear',
+ onMouseDown: _util.preventDefaultEvent,
+ style: clearStyle
+ }, _util.UNSELECTABLE_ATTRIBUTE, {
+ className: clsPrefix + '-selection-clear',
+ onClick: this.onClearSelection
+ }));
+ return _react2["default"].createElement(
+ _SelectTrigger2["default"],
+ {
+ onPopupFocus: this.onPopupFocus,
+ dropdownAlign: props.dropdownAlign,
+ dropdownClassName: props.dropdownClassName,
+ dropdownMatchSelectWidth: props.dropdownMatchSelectWidth,
+ defaultActiveFirstOption: props.defaultActiveFirstOption,
+ dropdownMenuStyle: props.dropdownMenuStyle,
+ transitionName: props.transitionName,
+ animation: props.animation,
+ clsPrefix: props.clsPrefix,
+ dropdownStyle: props.dropdownStyle,
+ combobox: props.combobox,
+ showSearch: props.showSearch,
+ options: options,
+ multiple: multiple,
+ disabled: disabled,
+ visible: open,
+ inputValue: state.inputValue,
+ value: state.value,
+ onDropdownVisibleChange: this.onDropdownVisibleChange,
+ getPopupContainer: props.getPopupContainer,
+ onMenuSelect: this.onMenuSelect,
+ onMenuDeselect: this.onMenuDeselect,
+ scrollToEnd: props.scrollToEnd,
+ ref: 'trigger'
+ },
+ _react2["default"].createElement(
+ 'div',
+ {
+ style: props.style,
+ ref: 'root',
+ onBlur: this.onOuterBlur,
+ onFocus: this.onOuterFocus,
+ onClick: this.onOutClick,
+ className: (0, _classnames2["default"])(rootCls)
+ },
+ _react2["default"].createElement(
+ 'div',
+ _extends({
+ ref: 'selection',
+ key: 'selection',
+ className: clsPrefix + '-selection \n ' + clsPrefix + '-selection--' + (multiple ? 'multiple' : 'single'),
+ role: 'combobox',
+ 'aria-autocomplete': 'list',
+ 'aria-haspopup': 'true',
+ 'aria-expanded': open
+ }, extraSelectionProps),
+ ctrlNode,
+ allowClear && !multiple ? clear : null,
+ multiple || !props.showArrow ? null : _react2["default"].createElement(
+ 'span',
+ _extends({
+ key: 'arrow',
+ className: clsPrefix + '-arrow',
+ style: _util.UNSELECTABLE_STYLE
+ }, _util.UNSELECTABLE_ATTRIBUTE, {
+ onMouseDown: _util.preventDefaultEvent,
+ onClick: this.onArrowClick
+ }),
+ _react2["default"].createElement('b', null)
+ )
+ )
+ )
+ );
+ };
+
+ return RcSelect;
+ }(_react.Component);
+
+ ;
+
+ RcSelect.defaultProps = defaultProps;
+ RcSelect.propTypes = propTypes;
+
+ exports["default"] = RcSelect;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 421 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _VerticalMenu = __webpack_require__(422);
+
+ var _VerticalMenu2 = _interopRequireDefault(_VerticalMenu);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ exports["default"] = _VerticalMenu2["default"];
+ module.exports = exports['default'];
+
+/***/ }),
+/* 422 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _ExportMenu = __webpack_require__(423);
+
+ var _ExportMenu2 = _interopRequireDefault(_ExportMenu);
+
+ var _openAnimation = __webpack_require__(434);
+
+ var _openAnimation2 = _interopRequireDefault(_openAnimation);
+
+ var _warning = __webpack_require__(435);
+
+ var _warning2 = _interopRequireDefault(_warning);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var Menu = function (_React$Component) {
+ _inherits(Menu, _React$Component);
+
+ function Menu(props) {
+ _classCallCheck(this, Menu);
+
+ var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));
+
+ _this.handleClick = function (e) {
+ _this.setOpenKeys([]);
+
+ var onClick = _this.props.onClick;
+ if (onClick) {
+ onClick(e);
+ }
+ };
+
+ _this.handleOpenChange = function (openKeys) {
+ _this.setOpenKeys(openKeys);
+
+ var onOpenChange = _this.props.onOpenChange;
+ if (onOpenChange) {
+ onOpenChange(openKeys);
+ }
+ };
+
+ (0, _warning2["default"])(!('onOpen' in props || 'onClose' in props), '`onOpen` and `onClose` are removed, please use `onOpenChange` instead.');
+
+ _this.state = {
+ openKeys: []
+ };
+ _this.rcMenu = {};
+ return _this;
+ }
+
+ Menu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ if (this.props.mode === 'inline' && nextProps.mode !== 'inline') {
+ this.switchModeFromInline = true;
+ }
+ if ('openKeys' in nextProps) {
+ this.setOpenKeys(nextProps.openKeys);
+ }
+ };
+
+ Menu.prototype.setOpenKeys = function setOpenKeys(openKeys) {
+ if (!('openKeys' in this.props)) {
+ this.setState({ openKeys: openKeys });
+ }
+ };
+
+ Menu.prototype.render = function render() {
+ var _this2 = this;
+
+ var openAnimation = this.props.openAnimation || this.props.openTransitionName;
+ if (!openAnimation) {
+ switch (this.props.mode) {
+ case 'horizontal':
+ openAnimation = 'slide-up';
+ break;
+ case 'vertical':
+ // When mode switch from inline
+ // submenu should hide without animation
+ if (this.switchModeFromInline) {
+ openAnimation = '';
+ this.switchModeFromInline = false;
+ } else {
+ openAnimation = 'zoom-big';
+ }
+ break;
+ case 'inline':
+ openAnimation = _openAnimation2["default"];
+ break;
+ default:
+ }
+ }
+
+ var props = {};
+ var className = this.props.className + ' ' + this.props.prefixCls + '-' + this.props.theme;
+ if (this.props.mode !== 'inline') {
+ // 这组属性的目的是
+ // 弹出型的菜单需要点击后立即关闭
+ // 另外,弹出型的菜单的受控模式没有使用场景
+ props = {
+ openKeys: this.state.openKeys,
+ onClick: this.handleClick,
+ onOpenChange: this.handleOpenChange,
+ openTransitionName: openAnimation,
+ className: className
+ };
+ } else {
+ props = {
+ openAnimation: openAnimation,
+ className: className
+ };
+ }
+ return _react2["default"].createElement(_ExportMenu2["default"], _extends({ ref: function ref(el) {
+ return _this2.rcMenu = el;
+ } }, this.props, props));
+ };
+
+ return Menu;
+ }(_react2["default"].Component);
+
+ Menu.defaultProps = {
+ prefixCls: 'u-menu',
+ className: '',
+ theme: 'light' // or dark
+ };
+
+ Menu.Divider = _ExportMenu.Divider;
+ Menu.Item = _ExportMenu.Item;
+ Menu.SubMenu = _ExportMenu.SubMenu;
+ Menu.ItemGroup = _ExportMenu.ItemGroup;
+ Menu.MenuToggle = _ExportMenu.MenuToggle;
+ Menu.SideContainer = _ExportMenu.SideContainer;
+ exports["default"] = Menu;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 423 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+ exports.MenuToggle = exports.SideContainer = exports.Divider = exports.ItemGroup = exports.MenuItemGroup = exports.MenuItem = exports.Item = exports.SubMenu = undefined;
+
+ var _Menu = __webpack_require__(424);
+
+ var _Menu2 = _interopRequireDefault(_Menu);
+
+ var _SubMenu = __webpack_require__(427);
+
+ var _SubMenu2 = _interopRequireDefault(_SubMenu);
+
+ var _MenuItem = __webpack_require__(429);
+
+ var _MenuItem2 = _interopRequireDefault(_MenuItem);
+
+ var _MenuItemGroup = __webpack_require__(430);
+
+ var _MenuItemGroup2 = _interopRequireDefault(_MenuItemGroup);
+
+ var _Divider = __webpack_require__(431);
+
+ var _Divider2 = _interopRequireDefault(_Divider);
+
+ var _SideContainer = __webpack_require__(432);
+
+ var _SideContainer2 = _interopRequireDefault(_SideContainer);
+
+ var _MenuToggle = __webpack_require__(433);
+
+ var _MenuToggle2 = _interopRequireDefault(_MenuToggle);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ exports.SubMenu = _SubMenu2["default"];
+ exports.Item = _MenuItem2["default"];
+ exports.MenuItem = _MenuItem2["default"];
+ exports.MenuItemGroup = _MenuItemGroup2["default"];
+ exports.ItemGroup = _MenuItemGroup2["default"];
+ exports.Divider = _Divider2["default"];
+ exports.SideContainer = _SideContainer2["default"];
+ exports.MenuToggle = _MenuToggle2["default"];
+ exports["default"] = _Menu2["default"];
+
+/***/ }),
+/* 424 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _util = __webpack_require__(425);
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _DOMWrap = __webpack_require__(426);
+
+ var _DOMWrap2 = _interopRequireDefault(_DOMWrap);
+
+ var _tinperBeeCore = __webpack_require__(26);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ function saveRef(index, subIndex, c) {
+ if (c) {
+ if (subIndex !== undefined) {
+ this.instanceArray[index] = this.instanceArray[index] || [];
+ this.instanceArray[index][subIndex] = c;
+ } else {
+ this.instanceArray[index] = c;
+ }
+ }
+ }
+ function allDisabled(arr) {
+ if (!arr.length) {
+ return true;
+ }
+ return arr.every(function (c) {
+ return !!c.props.disabled;
+ });
+ }
+
+ function getActiveKey(props, originalActiveKey) {
+ var activeKey = originalActiveKey;
+ var children = props.children,
+ eventKey = props.eventKey;
+
+ if (activeKey) {
+ var found = void 0;
+ (0, _util.loopMenuItem)(children, function (c, i) {
+ if (c && !c.props.disabled && activeKey === (0, _util.getKeyFromChildrenIndex)(c, eventKey, i)) {
+ found = true;
+ }
+ });
+ if (found) {
+ return activeKey;
+ }
+ }
+ activeKey = null;
+ if (props.defaultActiveFirst) {
+ (0, _util.loopMenuItem)(children, function (c, i) {
+ if (!activeKey && c && !c.props.disabled) {
+ activeKey = (0, _util.getKeyFromChildrenIndex)(c, eventKey, i);
+ }
+ });
+ return activeKey;
+ }
+ return activeKey;
+ }
+
+ var propTypes = {
+
+ openSubMenuOnMouseEnter: _propTypes2["default"].bool,
+ closeSubMenuOnMouseLeave: _propTypes2["default"].bool,
+ selectedKeys: _propTypes2["default"].oneOfType([_propTypes2["default"].array, _propTypes2["default"].string]),
+ defaultSelectedKeys: _propTypes2["default"].arrayOf(_propTypes2["default"].string),
+ defaultOpenKeys: _propTypes2["default"].arrayOf(_propTypes2["default"].string),
+ openKeys: _propTypes2["default"].arrayOf(_propTypes2["default"].string),
+ mode: _propTypes2["default"].string,
+ onClick: _propTypes2["default"].func,
+ onSelect: _propTypes2["default"].func,
+ onDeselect: _propTypes2["default"].func,
+ onDestroy: _propTypes2["default"].func,
+ openTransitionName: _propTypes2["default"].string,
+ openAnimation: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].object]),
+ level: _propTypes2["default"].number,
+ eventKey: _propTypes2["default"].string,
+ selectable: _propTypes2["default"].bool,
+ children: _propTypes2["default"].any,
+
+ focusable: _propTypes2["default"].bool,
+ multiple: _propTypes2["default"].bool,
+ style: _propTypes2["default"].object,
+ defaultActiveFirst: _propTypes2["default"].bool,
+ visible: _propTypes2["default"].bool,
+ activeKey: _propTypes2["default"].string
+
+ };
+ var defaultProps = {
+ openSubMenuOnMouseEnter: true,
+ closeSubMenuOnMouseLeave: true,
+ selectable: true,
+ onClick: _util.noop,
+ onSelect: _util.noop,
+ onOpenChange: _util.noop,
+ onDeselect: _util.noop,
+ defaultSelectedKeys: [],
+ defaultOpenKeys: [],
+
+ clsPrefix: 'u-menu',
+ className: '',
+ mode: 'vertical',
+ level: 1,
+ inlineIndent: 24,
+ visible: true,
+ focusable: true,
+ style: {}
+ };
+
+ var Menu = function (_Component) {
+ _inherits(Menu, _Component);
+
+ function Menu(props) {
+ _classCallCheck(this, Menu);
+
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props));
+
+ var selectedKeys = _this.props.defaultSelectedKeys;
+ var openKeys = _this.props.defaultOpenKeys;
+ if ('selectedKeys' in _this.props) {
+ selectedKeys = _this.props.selectedKeys || [];
+ }
+ if ('openKeys' in props) {
+ openKeys = _this.props.openKeys || [];
+ }
+
+ _this.state = {
+ selectedKeys: selectedKeys,
+ openKeys: openKeys,
+ activeKey: getActiveKey(_this.props, _this.props.activeKey)
+ //activeKey: getActiveKey(this.props, this.props.activeKey),
+ };
+ _this.renderMenuItem = _this.renderMenuItem.bind(_this);
+ _this.onDestroy = _this.onDestroy.bind(_this);
+ _this.onItemHover = _this.onItemHover.bind(_this);
+ _this.onSelect = _this.onSelect.bind(_this);
+ _this.onOpenChange = _this.onOpenChange.bind(_this);
+ _this.onClick = _this.onClick.bind(_this);
+ _this.onDeselect = _this.onDeselect.bind(_this);
+ _this.getOpenTransitionName = _this.getOpenTransitionName.bind(_this);
+ _this.isInlineMode = _this.isInlineMode.bind(_this);
+ _this.lastOpenSubMenu = _this.lastOpenSubMenu.bind(_this);
+ _this.renderMenuItem = _this.renderMenuItem.bind(_this);
+
+ _this.renderCommonMenuItem = _this.renderCommonMenuItem.bind(_this);
+ _this.renderRoot = _this.renderRoot.bind(_this);
+ _this.getOpenChangesOnItemHover = _this.getOpenChangesOnItemHover.bind(_this);
+ _this.getFlatInstanceArray = _this.getFlatInstanceArray.bind(_this);
+ _this.onKeyDown = _this.onKeyDown.bind(_this);
+ _this.step = _this.step.bind(_this);
+
+ return _this;
+ }
+
+ Menu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ var props = {};
+ if ('selectedKeys' in nextProps) {
+ props.selectedKeys = nextProps.selectedKeys;
+ }
+ if ('openKeys' in nextProps) {
+ props.openKeys = nextProps.openKeys;
+ }
+
+ if ('activeKey' in nextProps) {
+ props.activeKey = getActiveKey(nextProps, nextProps.activeKey);
+ } else {
+ var originalActiveKey = this.state.activeKey;
+ var activeKey = getActiveKey(nextProps, originalActiveKey);
+ // fix: this.setState(), parent.render(),
+ if (activeKey !== originalActiveKey) {
+ props.activeKey = activeKey;
+ }
+ }
+
+ this.setState(props);
+ };
+
+ Menu.prototype.componentWillMount = function componentWillMount() {
+ this.instanceArray = [];
+ };
+
+ Menu.prototype.onDestroy = function onDestroy(key) {
+ var state = this.state;
+ var props = this.props;
+ var selectedKeys = state.selectedKeys;
+ var openKeys = state.openKeys;
+ var index = selectedKeys.indexOf(key);
+ if (!('selectedKeys' in props) && index !== -1) {
+ selectedKeys.splice(index, 1);
+ }
+ index = openKeys.indexOf(key);
+ if (!('openKeys' in props) && index !== -1) {
+ openKeys.splice(index, 1);
+ }
+ };
+
+ Menu.prototype.onItemHover = function onItemHover(e) {
+ var item = e.item;
+ var _props = this.props,
+ mode = _props.mode,
+ closeSubMenuOnMouseLeave = _props.closeSubMenuOnMouseLeave;
+ var _e$openChanges = e.openChanges,
+ openChanges = _e$openChanges === undefined ? [] : _e$openChanges;
+ // special for top sub menu
+
+ if (mode !== 'inline' && !closeSubMenuOnMouseLeave && item.isSubMenu) {
+ var activeKey = this.state.activeKey;
+ var activeItem = this.getFlatInstanceArray().filter(function (c) {
+ return c && c.props.eventKey === activeKey;
+ })[0];
+ if (activeItem && activeItem.props.open) {
+ openChanges = openChanges.concat({
+ key: item.props.eventKey,
+ item: item,
+ originalEvent: e,
+ open: true
+ });
+ }
+ }
+ openChanges = openChanges.concat(this.getOpenChangesOnItemHover(e));
+ if (openChanges.length) {
+ this.onOpenChange(openChanges);
+ }
+ };
+
+ Menu.prototype.onSelect = function onSelect(selectInfo) {
+ var props = this.props;
+ if (props.selectable) {
+ // root menu
+ var selectedKeys = this.state.selectedKeys;
+ var selectedKey = selectInfo.key;
+ if (props.multiple) {
+ selectedKeys = selectedKeys.concat([selectedKey]);
+ } else {
+ selectedKeys = [selectedKey];
+ }
+ if (!('selectedKeys' in props)) {
+ this.setState({
+ selectedKeys: selectedKeys
+ });
+ }
+ props.onSelect(_extends({}, selectInfo, {
+ selectedKeys: selectedKeys
+ }));
+ }
+ };
+
+ Menu.prototype.onClick = function onClick(e) {
+ this.props.onClick(e);
+ };
+
+ Menu.prototype.onOpenChange = function onOpenChange(e_) {
+ var props = this.props;
+ var openKeys = this.state.openKeys.concat();
+ var changed = false;
+ var processSingle = function processSingle(e) {
+ var oneChanged = false;
+ if (e.open) {
+ oneChanged = openKeys.indexOf(e.key) === -1;
+ if (oneChanged) {
+ openKeys.push(e.key);
+ }
+ } else {
+ var index = openKeys.indexOf(e.key);
+ oneChanged = index !== -1;
+ if (oneChanged) {
+ openKeys.splice(index, 1);
+ }
+ }
+ changed = changed || oneChanged;
+ };
+ if (Array.isArray(e_)) {
+ // batch change call
+ e_.forEach(processSingle);
+ } else {
+ processSingle(e_);
+ }
+ if (changed) {
+ if (!('openKeys' in this.props)) {
+ this.setState({ openKeys: openKeys });
+ }
+ props.onOpenChange(openKeys);
+ }
+ };
+
+ Menu.prototype.onDeselect = function onDeselect(selectInfo) {
+ var props = this.props;
+ if (props.selectable) {
+ var selectedKeys = this.state.selectedKeys.concat();
+ var selectedKey = selectInfo.key;
+ var index = selectedKeys.indexOf(selectedKey);
+ if (index !== -1) {
+ selectedKeys.splice(index, 1);
+ }
+ if (!('selectedKeys' in props)) {
+ this.setState({
+ selectedKeys: selectedKeys
+ });
+ }
+ props.onDeselect(_extends({}, selectInfo, {
+ selectedKeys: selectedKeys
+ }));
+ }
+ };
+
+ Menu.prototype.getOpenTransitionName = function getOpenTransitionName() {
+ var props = this.props;
+ var transitionName = props.openTransitionName;
+ var animationName = props.openAnimation;
+ if (!transitionName && typeof animationName === 'string') {
+ transitionName = props.clsPrefix + '-open-' + animationName;
+ }
+ return transitionName;
+ };
+
+ Menu.prototype.isInlineMode = function isInlineMode() {
+ return this.props.mode === 'inline';
+ };
+
+ Menu.prototype.lastOpenSubMenu = function lastOpenSubMenu() {
+ var lastOpen = [];
+ var openKeys = this.state.openKeys;
+
+ if (openKeys.length) {
+ lastOpen = this.getFlatInstanceArray().filter(function (c) {
+ return c && openKeys.indexOf(c.props.eventKey) !== -1;
+ });
+ }
+ return lastOpen[0];
+ };
+
+ Menu.prototype.renderMenuItem = function renderMenuItem(c, i, subIndex) {
+ if (!c) {
+ return null;
+ }
+ var state = this.state;
+ var extraProps = {
+ openKeys: state.openKeys,
+ selectedKeys: state.selectedKeys,
+ openSubMenuOnMouseEnter: this.props.openSubMenuOnMouseEnter
+ };
+ return this.renderCommonMenuItem(c, i, subIndex, extraProps);
+ };
+
+ Menu.prototype.renderCommonMenuItem = function renderCommonMenuItem(child, i, subIndex, extraProps) {
+ var state = this.state;
+ var props = this.props;
+ var key = (0, _util.getKeyFromChildrenIndex)(child, props.eventKey, i);
+ var childProps = child.props;
+ var isActive = key === state.activeKey;
+ var newChildProps = _extends({
+ mode: props.mode,
+ level: props.level,
+ inlineIndent: props.inlineIndent,
+ renderMenuItem: this.renderMenuItem,
+ rootPrefixCls: props.clsPrefix,
+ index: i,
+ parentMenu: this,
+ ref: childProps.disabled ? undefined : (0, _tinperBeeCore.createChainedFunction)(child.ref, saveRef.bind(this, i, subIndex)),
+ eventKey: key,
+ closeSubMenuOnMouseLeave: props.closeSubMenuOnMouseLeave,
+ onItemHover: this.onItemHover,
+ active: !childProps.disabled && isActive,
+ multiple: props.multiple,
+ onClick: this.onClick,
+ openTransitionName: this.getOpenTransitionName(),
+ openAnimation: props.openAnimation,
+ onOpenChange: this.onOpenChange,
+ onDeselect: this.onDeselect,
+ onDestroy: this.onDestroy,
+ onSelect: this.onSelect
+ }, extraProps);
+ if (props.mode === 'inline') {
+ newChildProps.closeSubMenuOnMouseLeave = newChildProps.openSubMenuOnMouseEnter = false;
+ }
+ return _react2["default"].cloneElement(child, newChildProps);
+ };
+
+ Menu.prototype.getOpenChangesOnItemHover = function getOpenChangesOnItemHover(e) {
+ var mode = this.props.mode;
+ var key = e.key,
+ hover = e.hover,
+ trigger = e.trigger;
+
+ var activeKey = this.state.activeKey;
+ if (!trigger || hover || this.props.closeSubMenuOnMouseLeave || !e.item.isSubMenu || mode === 'inline') {
+ this.setState({
+ activeKey: hover ? key : null
+ });
+ } else {}
+ // keep active for sub menu for click active
+ // empty
+
+ // clear last open status
+ if (hover && mode !== 'inline') {
+ var activeItem = this.getFlatInstanceArray().filter(function (c) {
+ return c && c.props.eventKey === activeKey;
+ })[0];
+ if (activeItem && activeItem.isSubMenu && activeItem.props.eventKey !== key) {
+ return {
+ item: activeItem,
+ originalEvent: e,
+ key: activeItem.props.eventKey,
+ open: false
+ };
+ }
+ }
+ return [];
+ };
+
+ Menu.prototype.getFlatInstanceArray = function getFlatInstanceArray() {
+ var instanceArray = this.instanceArray;
+ var hasInnerArray = instanceArray.some(function (a) {
+ return Array.isArray(a);
+ });
+ if (hasInnerArray) {
+ instanceArray = [];
+ this.instanceArray.forEach(function (a) {
+ if (Array.isArray(a)) {
+ instanceArray.push.apply(instanceArray, a);
+ } else {
+ instanceArray.push(a);
+ }
+ });
+ this.instanceArray = instanceArray;
+ }
+ return instanceArray;
+ };
+
+ Menu.prototype.step = function step(direction) {
+ var children = this.getFlatInstanceArray();
+ var activeKey = this.state.activeKey;
+ var len = children.length;
+ if (!len) {
+ return null;
+ }
+ if (direction < 0) {
+ children = children.concat().reverse();
+ }
+ // find current activeIndex
+ var activeIndex = -1;
+ children.every(function (c, ci) {
+ if (c && c.props.eventKey === activeKey) {
+ activeIndex = ci;
+ return false;
+ }
+ return true;
+ });
+ if (!this.props.defaultActiveFirst && activeIndex !== -1) {
+ if (allDisabled(children.slice(activeIndex, len - 1))) {
+ return undefined;
+ }
+ }
+ var start = (activeIndex + 1) % len;
+ var i = start;
+ for (;;) {
+ var child = children[i];
+ if (!child || child.props.disabled) {
+ i = (i + 1 + len) % len;
+ // complete a loop
+ if (i === start) {
+ return null;
+ }
+ } else {
+ return child;
+ }
+ }
+ };
+
+ Menu.prototype.onKeyDown = function onKeyDown(e) {
+ var _this2 = this;
+
+ var keyCode = e.keyCode;
+ var handled = void 0;
+ this.getFlatInstanceArray().forEach(function (obj) {
+ if (obj && obj.props.active) {
+ handled = obj.onKeyDown(e);
+ }
+ });
+ if (handled) {
+ return 1;
+ }
+ var activeItem = null;
+ if (keyCode === _tinperBeeCore.KeyCode.UP || keyCode === _tinperBeeCore.KeyCode.DOWN) {
+ activeItem = this.step(keyCode === _tinperBeeCore.KeyCode.UP ? -1 : 1);
+ }
+ if (activeItem) {
+ e.preventDefault();
+ this.setState({
+ activeKey: activeItem.props.eventKey
+ }, function () {
+ scrollIntoView(ReactDOM.findDOMNode(activeItem), ReactDOM.findDOMNode(_this2), {
+ onlyScrollIfNeeded: true
+ });
+ });
+ return 1;
+ } else if (activeItem === undefined) {
+ e.preventDefault();
+ this.setState({
+ activeKey: null
+ });
+ return 1;
+ }
+ };
+
+ Menu.prototype.renderRoot = function renderRoot(props) {
+ var _classes;
+
+ this.instanceArray = [];
+ var classes = (_classes = {}, _defineProperty(_classes, props.clsPrefix, 1), _defineProperty(_classes, props.clsPrefix + '-' + props.mode, 1), _defineProperty(_classes, props.className, !!props.className), _classes);
+ var domProps = {
+ className: (0, _classnames2["default"])(classes),
+ role: 'menu',
+ 'aria-activedescendant': ''
+ };
+ if (props.id) {
+ domProps.id = props.id;
+ }
+ if (props.focusable) {
+ domProps.tabIndex = '0';
+ domProps.onKeyDown = this.onKeyDown;
+ }
+ return (
+ // ESLint is not smart enough to know that the type of `children` was checked.
+ /* eslint-disable */
+ _react2["default"].createElement(
+ _DOMWrap2["default"],
+ _extends({
+ style: props.style,
+ tag: 'ul',
+ hiddenClassName: props.clsPrefix + '-hidden',
+ visible: props.visible
+ }, domProps),
+ _react2["default"].Children.map(props.children, this.renderMenuItem.bind(this))
+ )
+ /*eslint-enable */
+
+ );
+ };
+
+ Menu.prototype.render = function render() {
+ var props = _extends({}, this.props);
+ props.className += ' ' + props.clsPrefix + '-root';
+ return this.renderRoot(props);
+ };
+
+ return Menu;
+ }(_react.Component);
+
+ ;
+
+ Menu.propTypes = propTypes;
+ Menu.defaultProps = defaultProps;
+
+ exports["default"] = Menu;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 425 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+ exports.noop = noop;
+ exports.getKeyFromChildrenIndex = getKeyFromChildrenIndex;
+ exports.loopMenuItem = loopMenuItem;
+ exports.loopMenuItemRecusively = loopMenuItemRecusively;
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function noop() {}
+
+ function getKeyFromChildrenIndex(child, menuEventKey, index) {
+ var prefix = menuEventKey || '';
+ return child.key || prefix + 'item_' + index;
+ }
+
+ function loopMenuItem(children, cb) {
+ var index = -1;
+ _react2["default"].Children.forEach(children, function (c) {
+ index++;
+ if (c && c.type && c.type.isMenuItemGroup) {
+ _react2["default"].Children.forEach(c.props.children, function (c2) {
+ index++;
+ cb(c2, index);
+ });
+ } else {
+ cb(c, index);
+ }
+ });
+ }
+
+ function loopMenuItemRecusively(children, keys, ret) {
+ if (!children || ret.find) {
+ return;
+ }
+ _react2["default"].Children.forEach(children, function (c) {
+ if (ret.find) {
+ return;
+ }
+ if (c) {
+ var construt = c.type;
+ if (!construt || !(construt.isSubMenu || construt.isMenuItem || construt.isMenuItemGroup)) {
+ return;
+ }
+ if (keys.indexOf(c.key) !== -1) {
+ ret.find = true;
+ } else if (c.props.children) {
+ loopMenuItemRecusively(c.props.children, keys, ret);
+ }
+ }
+ });
+ }
+
+/***/ }),
+/* 426 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -53363,142 +48922,4573 @@
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
var propTypes = {
- dataSource: _propTypes2["default"].array
+ tag: _propTypes2["default"].string,
+ hiddenClassName: _propTypes2["default"].string,
+ visible: _propTypes2["default"].bool
+ };
+ var defaultProps = {
+ tag: 'div'
};
- var SelectRender = function (_Component) {
- _inherits(SelectRender, _Component);
+ var DOMWrap = function (_Component) {
+ _inherits(DOMWrap, _Component);
- function SelectRender() {
- var _temp, _this, _ret;
+ function DOMWrap() {
+ _classCallCheck(this, DOMWrap);
- _classCallCheck(this, SelectRender);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
- value: _this.props.value,
- editable: false
- }, _this.handleChange = function (e) {
- var value = e;
- if (_this.props.onChange) {
- _this.props.onChange(value);
- }
- _this.setState({ value: value });
- setTimeout(function () {
- _this.setState({ editable: false });
- }, 0);
- }, _this.check = function () {
- _this.setState({ editable: false });
- if (_this.props.onChange) {
- _this.props.onChange(_this.state.value);
- }
- }, _this.edit = function () {
- _this.setState({ editable: true });
- }, _temp), _possibleConstructorReturn(_this, _ret);
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
}
- SelectRender.prototype.render = function render() {
+ DOMWrap.prototype.render = function render() {
+ var props = _extends({}, this.props);
+ if (!props.visible) {
+ props.className = props.className || '';
+ props.className += ' ' + props.hiddenClassName;
+ }
+ var Tag = props.tag;
+ delete props.tag;
+ delete props.hiddenClassName;
+ delete props.visible;
+ return _react2["default"].createElement(Tag, props);
+ };
+
+ return DOMWrap;
+ }(_react.Component);
+
+ ;
+
+ DOMWrap.propTypes = propTypes;
+ DOMWrap.defaultProps = defaultProps;
+
+ exports["default"] = DOMWrap;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 427 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _SubPopupMenu = __webpack_require__(428);
+
+ var _SubPopupMenu2 = _interopRequireDefault(_SubPopupMenu);
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _keyCode = __webpack_require__(37);
+
+ var _keyCode2 = _interopRequireDefault(_keyCode);
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _util = __webpack_require__(425);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var guid = 0;
+
+ var propTypes = {
+ parentMenu: _propTypes2["default"].object,
+ title: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].node]),
+ children: _propTypes2["default"].any,
+ selectedKeys: _propTypes2["default"].array,
+ openKeys: _propTypes2["default"].array,
+ onClick: _propTypes2["default"].func,
+ onOpenChange: _propTypes2["default"].func,
+ rootPrefixCls: _propTypes2["default"].string,
+ eventKey: _propTypes2["default"].string,
+ multiple: _propTypes2["default"].bool,
+ active: _propTypes2["default"].bool,
+ onSelect: _propTypes2["default"].func,
+ closeSubMenuOnMouseLeave: _propTypes2["default"].bool,
+ openSubMenuOnMouseEnter: _propTypes2["default"].bool,
+ onDeselect: _propTypes2["default"].func,
+ onDestroy: _propTypes2["default"].func,
+ onItemHover: _propTypes2["default"].func,
+ onMouseEnter: _propTypes2["default"].func,
+ onMouseLeave: _propTypes2["default"].func,
+ onTitleMouseEnter: _propTypes2["default"].func,
+ onTitleMouseLeave: _propTypes2["default"].func,
+ onTitleClick: _propTypes2["default"].func
+ };
+ var defaultProps = {
+ onMouseEnter: _util.noop,
+ onMouseLeave: _util.noop,
+ onTitleMouseEnter: _util.noop,
+ onTitleMouseLeave: _util.noop,
+ onTitleClick: _util.noop,
+ title: ''
+ };
+
+ var SubMenu = function (_Component) {
+ _inherits(SubMenu, _Component);
+
+ function SubMenu(props) {
+ _classCallCheck(this, SubMenu);
+
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props));
+
+ _this.isSubMenu = 1;
+ _this.state = {
+ defaultActiveFirst: false
+ };
+
+ _this.onDestroy = _this.onDestroy.bind(_this);
+ _this.onKeyDown = _this.onKeyDown.bind(_this);
+ _this.onOpenChange = _this.onOpenChange.bind(_this);
+ _this.onMouseEnter = _this.onMouseEnter.bind(_this);
+ _this.onTitleMouseEnter = _this.onTitleMouseEnter.bind(_this);
+
+ _this.onTitleMouseLeave = _this.onTitleMouseLeave.bind(_this);
+ _this.onMouseLeave = _this.onMouseLeave.bind(_this);
+ _this.onTitleClick = _this.onTitleClick.bind(_this);
+ _this.onSubMenuClick = _this.onSubMenuClick.bind(_this);
+ _this.onSelect = _this.onSelect.bind(_this);
+ _this.onDeselect = _this.onDeselect.bind(_this);
+
+ _this.getPrefixCls = _this.getPrefixCls.bind(_this);
+ _this.getActiveClassName = _this.getActiveClassName.bind(_this);
+ _this.getSelectedClassName = _this.getSelectedClassName.bind(_this);
+
+ _this.getDisabledClassName = _this.getDisabledClassName.bind(_this);
+ _this.getOpenClassName = _this.getOpenClassName.bind(_this);
+ _this.saveMenuInstance = _this.saveMenuInstance.bind(_this);
+ _this.addKeyPath = _this.addKeyPath.bind(_this);
+ _this.triggerOpenChange = _this.triggerOpenChange.bind(_this);
+ _this.clearSubMenuTimers = _this.clearSubMenuTimers.bind(_this);
+
+ _this.clearSubMenuLeaveTimer = _this.clearSubMenuLeaveTimer.bind(_this);
+ _this.clearSubMenuTitleLeaveTimer = _this.clearSubMenuTitleLeaveTimer.bind(_this);
+ _this.isChildrenSelected = _this.isChildrenSelected.bind(_this);
+ _this.isOpen = _this.isOpen.bind(_this);
+ _this.renderChildren = _this.renderChildren.bind(_this);
+ return _this;
+ }
+
+ SubMenu.prototype.componentWillUnmount = function componentWillUnmount() {
+ var _props = this.props,
+ onDestroy = _props.onDestroy,
+ eventKey = _props.eventKey,
+ parentMenu = _props.parentMenu;
+
+ this.mounted = true;
+ if (onDestroy) {
+ onDestroy(eventKey);
+ }
+ if (parentMenu.subMenuInstance === this) {
+ this.clearSubMenuTimers();
+ }
+ };
+
+ SubMenu.prototype.componentDidMount = function componentDidMount() {
+ this.mounted = true;
+ };
+
+ SubMenu.prototype.onDestroy = function onDestroy(key) {
+ this.props.onDestroy(key);
+ };
+
+ SubMenu.prototype.onKeyDown = function onKeyDown(e) {
+ var keyCode = e.keyCode;
+ var menu = this.menuInstance;
+ var isOpen = this.isOpen();
+
+ if (keyCode === _keyCode2["default"].ENTER) {
+ this.onTitleClick(e);
+ this.setState({
+ defaultActiveFirst: true
+ });
+ return true;
+ }
+
+ if (keyCode === _keyCode2["default"].RIGHT) {
+ if (isOpen) {
+ menu.onKeyDown(e);
+ } else {
+ this.triggerOpenChange(true);
+ this.setState({
+ defaultActiveFirst: true
+ });
+ }
+ return true;
+ }
+ if (keyCode === _keyCode2["default"].LEFT) {
+ var handled = void 0;
+ if (isOpen) {
+ handled = menu.onKeyDown(e);
+ } else {
+ return undefined;
+ }
+ if (!handled) {
+ this.triggerOpenChange(false);
+ handled = true;
+ }
+ return handled;
+ }
+
+ if (isOpen && (keyCode === _keyCode2["default"].UP || keyCode === _keyCode2["default"].DOWN)) {
+ return menu.onKeyDown(e);
+ }
+ };
+
+ SubMenu.prototype.onOpenChange = function onOpenChange(e) {
+ this.props.onOpenChange(e);
+ };
+
+ SubMenu.prototype.onMouseEnter = function onMouseEnter(e) {
+ var props = this.props;
+ this.clearSubMenuLeaveTimer(props.parentMenu.subMenuInstance !== this);
+ props.onMouseEnter({
+ key: props.eventKey,
+ domEvent: e
+ });
+ };
+
+ SubMenu.prototype.onTitleMouseEnter = function onTitleMouseEnter(domEvent) {
+ var props = this.props;
+ var parentMenu = props.parentMenu,
+ key = props.eventKey;
+
+ var item = this;
+ this.clearSubMenuTitleLeaveTimer(parentMenu.subMenuInstance !== item);
+ if (parentMenu.menuItemInstance) {
+ parentMenu.menuItemInstance.clearMenuItemMouseLeaveTimer(true);
+ }
+ var openChanges = [];
+ if (props.openSubMenuOnMouseEnter) {
+ openChanges.push({
+ key: key,
+ item: item,
+ trigger: 'mouseenter',
+ open: true
+ });
+ }
+ props.onItemHover({
+ key: key,
+ item: item,
+ hover: true,
+ trigger: 'mouseenter',
+ openChanges: openChanges
+ });
+ this.setState({
+ defaultActiveFirst: false
+ });
+ props.onTitleMouseEnter({
+ key: key,
+ domEvent: domEvent
+ });
+ };
+
+ SubMenu.prototype.onTitleMouseLeave = function onTitleMouseLeave(e) {
var _this2 = this;
- var _state = this.state,
- value = _state.value,
- editable = _state.editable;
- var _props = this.props,
- isclickTrigger = _props.isclickTrigger,
- dataSource = _props.dataSource;
+ var props = this.props;
+ var parentMenu = props.parentMenu,
+ eventKey = props.eventKey;
- var cellContent = "";
- if (editable) {
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeSelect2["default"],
- _extends({}, this.props, {
- value: this.state.value,
- onBlur: function onBlur(value) {
- console.log(value);
- // this.props.onBlur();
- },
+ parentMenu.subMenuInstance = this;
+ parentMenu.subMenuTitleLeaveFn = function () {
+ if (_this2.mounted) {
+ // leave whole sub tree
+ // still active
+ if (props.mode === 'inline' && props.active) {
+ props.onItemHover({
+ key: eventKey,
+ item: _this2,
+ hover: false,
+ trigger: 'mouseleave'
+ });
+ }
+ props.onTitleMouseLeave({
+ key: props.eventKey,
+ domEvent: e
+ });
+ }
+ };
+ parentMenu.subMenuTitleLeaveTimer = setTimeout(parentMenu.subMenuTitleLeaveFn, 100);
+ };
- onFocus: function onFocus(value) {
- console.log(value);
- // this.props.onBlur();
- },
+ SubMenu.prototype.onMouseLeave = function onMouseLeave(e) {
+ var _this3 = this;
- onChange: this.handleChange
- }),
- this.props.children
- ),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-input-wrapper" },
- _react2["default"].createElement(
- _beeSelect2["default"],
- _extends({}, this.props, {
- value: this.state.value,
- onBlur: function onBlur() {
- _this2.setState({
- editable: true
+ var props = this.props;
+ var parentMenu = props.parentMenu,
+ eventKey = props.eventKey;
+
+ parentMenu.subMenuInstance = this;
+ parentMenu.subMenuLeaveFn = function () {
+ if (_this3.mounted) {
+ // leave whole sub tree
+ // still active
+ if (props.mode !== 'inline') {
+ var isOpen = _this3.isOpen();
+ if (isOpen && props.closeSubMenuOnMouseLeave && props.active) {
+ props.onItemHover({
+ key: eventKey,
+ item: _this3,
+ hover: false,
+ trigger: 'mouseleave',
+ openChanges: [{
+ key: eventKey,
+ item: _this3,
+ trigger: 'mouseleave',
+ open: false
+ }]
+ });
+ } else {
+ if (props.active) {
+ props.onItemHover({
+ key: eventKey,
+ item: _this3,
+ hover: false,
+ trigger: 'mouseleave'
});
- _this2.props.onBlur();
- },
- onChange: this.handleChange
- }),
- this.props.children
- ),
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-correct",
- className: "editable-cell-icon-check",
- onClick: this.check
- })
- );
- } else {
- if (dataSource && dataSource.length > 0) {
- for (var index = 0; index < dataSource.length; index++) {
- var element = dataSource[index];
- if (element.value === value) {
- value = element.key;
- break;
+ }
+ if (isOpen && props.closeSubMenuOnMouseLeave) {
+ _this3.triggerOpenChange(false);
+ }
}
}
+ // trigger mouseleave
+ props.onMouseLeave({
+ key: eventKey,
+ domEvent: e
+ });
}
- cellContent = isclickTrigger ? _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper", onClick: this.edit },
- value || " "
- ) : _react2["default"].createElement(
- "div",
- { className: "editable-cell-text-wrapper" },
- value || " ",
- _react2["default"].createElement(_beeIcon2["default"], {
- type: "uf-pencil",
- className: "editable-cell-icon",
- onClick: this.edit
- })
- );
+ };
+ // prevent popup menu and submenu gap
+ parentMenu.subMenuLeaveTimer = setTimeout(parentMenu.subMenuLeaveFn, 100);
+ };
+
+ SubMenu.prototype.onTitleClick = function onTitleClick(e) {
+ var props = this.props;
+
+ props.onTitleClick({
+ key: props.eventKey,
+ domEvent: e
+ });
+ if (props.openSubMenuOnMouseEnter) {
+ return;
}
+ this.triggerOpenChange(!this.isOpen(), 'click');
+ this.setState({
+ defaultActiveFirst: false
+ });
+ };
+
+ SubMenu.prototype.onSubMenuClick = function onSubMenuClick(info) {
+ this.props.onClick(this.addKeyPath(info));
+ };
+
+ SubMenu.prototype.onSelect = function onSelect(info) {
+ this.props.onSelect(info);
+ };
+
+ SubMenu.prototype.onDeselect = function onDeselect(info) {
+ this.props.onDeselect(info);
+ };
+
+ SubMenu.prototype.getPrefixCls = function getPrefixCls() {
+ return this.props.rootPrefixCls + '-submenu';
+ };
+
+ SubMenu.prototype.getActiveClassName = function getActiveClassName() {
+ return this.getPrefixCls() + '-active';
+ };
+
+ SubMenu.prototype.getDisabledClassName = function getDisabledClassName() {
+ return this.getPrefixCls() + '-disabled';
+ };
+
+ SubMenu.prototype.getSelectedClassName = function getSelectedClassName() {
+ return this.getPrefixCls() + '-selected';
+ };
+
+ SubMenu.prototype.getOpenClassName = function getOpenClassName() {
+ return this.props.rootPrefixCls + '-submenu-open';
+ };
+
+ SubMenu.prototype.saveMenuInstance = function saveMenuInstance(c) {
+ this.menuInstance = c;
+ };
+
+ SubMenu.prototype.addKeyPath = function addKeyPath(info) {
+ return _extends({}, info, {
+ keyPath: (info.keyPath || []).concat(this.props.eventKey)
+ });
+ };
+
+ SubMenu.prototype.triggerOpenChange = function triggerOpenChange(open, type) {
+ var key = this.props.eventKey;
+ this.onOpenChange({
+ key: key,
+ item: this,
+ trigger: type,
+ open: open
+ });
+ };
+
+ SubMenu.prototype.clearSubMenuTimers = function clearSubMenuTimers() {
+ var callFn = void 0;
+ this.clearSubMenuLeaveTimer(callFn);
+ this.clearSubMenuTitleLeaveTimer(callFn);
+ };
+
+ SubMenu.prototype.clearSubMenuTitleLeaveTimer = function clearSubMenuTitleLeaveTimer() {
+ var callFn = void 0;
+ var parentMenu = this.props.parentMenu;
+ if (parentMenu.subMenuTitleLeaveTimer) {
+ clearTimeout(parentMenu.subMenuTitleLeaveTimer);
+ parentMenu.subMenuTitleLeaveTimer = null;
+ if (callFn && parentMenu.subMenuTitleLeaveFn) {
+ parentMenu.subMenuTitleLeaveFn();
+ }
+ parentMenu.subMenuTitleLeaveFn = null;
+ }
+ };
+
+ SubMenu.prototype.clearSubMenuLeaveTimer = function clearSubMenuLeaveTimer() {
+ var callFn = void 0;
+ var parentMenu = this.props.parentMenu;
+ if (parentMenu.subMenuLeaveTimer) {
+ clearTimeout(parentMenu.subMenuLeaveTimer);
+ parentMenu.subMenuLeaveTimer = null;
+ if (callFn && parentMenu.subMenuLeaveFn) {
+ parentMenu.subMenuLeaveFn();
+ }
+ parentMenu.subMenuLeaveFn = null;
+ }
+ };
+
+ SubMenu.prototype.isChildrenSelected = function isChildrenSelected() {
+ var ret = { find: false };
+ (0, _util.loopMenuItemRecusively)(this.props.children, this.props.selectedKeys, ret);
+ return ret.find;
+ };
+
+ SubMenu.prototype.isOpen = function isOpen() {
+ return this.props.openKeys.indexOf(this.props.eventKey) !== -1;
+ };
+
+ SubMenu.prototype.renderChildren = function renderChildren(children) {
+ var props = this.props;
+ var baseProps = {
+ mode: props.mode === 'horizontal' ? 'vertical' : props.mode,
+ visible: this.isOpen(),
+ level: props.level + 1,
+ inlineIndent: props.inlineIndent,
+ focusable: false,
+ onClick: this.onSubMenuClick,
+ onSelect: this.onSelect,
+ onDeselect: this.onDeselect,
+ onDestroy: this.onDestroy,
+ selectedKeys: props.selectedKeys,
+ eventKey: props.eventKey + '-menu-',
+ openKeys: props.openKeys,
+ openTransitionName: props.openTransitionName,
+ openAnimation: props.openAnimation,
+ onOpenChange: this.onOpenChange,
+ closeSubMenuOnMouseLeave: props.closeSubMenuOnMouseLeave,
+ defaultActiveFirst: this.state.defaultActiveFirst,
+ multiple: props.multiple,
+ prefixCls: props.rootPrefixCls,
+ id: this._menuId,
+ ref: this.saveMenuInstance
+ };
return _react2["default"].createElement(
- "div",
- { className: "editable-cell" },
- cellContent
+ _SubPopupMenu2["default"],
+ baseProps,
+ children
);
};
- return SelectRender;
+ SubMenu.prototype.render = function render() {
+ var _classes;
+
+ var isOpen = this.isOpen();
+ this.haveOpen = this.haveOpen || isOpen;
+ var props = this.props;
+ var prefixCls = this.getPrefixCls();
+ var classes = (_classes = {}, _defineProperty(_classes, props.className, !!props.className), _defineProperty(_classes, prefixCls + '-' + props.mode, 1), _classes);
+
+ classes[this.getOpenClassName()] = isOpen;
+ classes[this.getActiveClassName()] = props.active;
+ classes[this.getDisabledClassName()] = props.disabled;
+ classes[this.getSelectedClassName()] = this.isChildrenSelected();
+
+ if (!this._menuId) {
+ if (props.eventKey) {
+ this._menuId = props.eventKey + '$Menu';
+ } else {
+ this._menuId = '$__$' + ++guid + '$Menu';
+ }
+ }
+
+ classes[prefixCls] = true;
+ classes[prefixCls + '-' + props.mode] = 1;
+ var titleClickEvents = {};
+ var mouseEvents = {};
+ var titleMouseEvents = {};
+ if (!props.disabled) {
+ titleClickEvents = {
+ onClick: this.onTitleClick
+ };
+ mouseEvents = {
+ onMouseLeave: this.onMouseLeave,
+ onMouseEnter: this.onMouseEnter
+ };
+ // only works in title, not outer li
+ titleMouseEvents = {
+ onMouseEnter: this.onTitleMouseEnter,
+ onMouseLeave: this.onTitleMouseLeave
+ };
+ }
+ var style = {};
+ if (props.mode === 'inline') {
+ style.paddingLeft = props.inlineIndent * props.level;
+ }
+ return _react2["default"].createElement(
+ 'li',
+ _extends({ className: (0, _classnames2["default"])(classes) }, mouseEvents),
+ _react2["default"].createElement(
+ 'div',
+ _extends({
+ style: style,
+ className: prefixCls + '-title'
+ }, titleMouseEvents, titleClickEvents, {
+ 'aria-expanded': isOpen,
+ 'aria-owns': this._menuId,
+ 'aria-haspopup': 'true'
+ }),
+ props.title
+ ),
+ this.renderChildren(props.children)
+ );
+ };
+
+ return SubMenu;
}(_react.Component);
- exports["default"] = SelectRender;
+ ;
- SelectRender.propTypes = propTypes;
+ SubMenu.propTypes = propTypes;
+ SubMenu.defaultProps = defaultProps;
+ SubMenu.isSubMenu = 1;
+
+ exports["default"] = SubMenu;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 428 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _beeAnimate = __webpack_require__(128);
+
+ var _beeAnimate2 = _interopRequireDefault(_beeAnimate);
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _createChainedFunction = __webpack_require__(36);
+
+ var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
+
+ var _util = __webpack_require__(425);
+
+ var _DOMWrap = __webpack_require__(426);
+
+ var _DOMWrap2 = _interopRequireDefault(_DOMWrap);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ function allDisabled(arr) {
+ if (!arr.length) {
+ return true;
+ }
+ return arr.every(function (c) {
+ return !!c.props.disabled;
+ });
+ }
+
+ function getActiveKey(props, originalActiveKey) {
+ var activeKey = originalActiveKey;
+ var children = props.children,
+ eventKey = props.eventKey;
+
+ if (activeKey) {
+ var found = void 0;
+ (0, _util.loopMenuItem)(children, function (c, i) {
+ if (c && !c.props.disabled && activeKey === (0, _util.getKeyFromChildrenIndex)(c, eventKey, i)) {
+ found = true;
+ }
+ });
+ if (found) {
+ return activeKey;
+ }
+ }
+ activeKey = null;
+ if (props.defaultActiveFirst) {
+ (0, _util.loopMenuItem)(children, function (c, i) {
+ if (!activeKey && c && !c.props.disabled) {
+ activeKey = (0, _util.getKeyFromChildrenIndex)(c, eventKey, i);
+ }
+ });
+ return activeKey;
+ }
+ return activeKey;
+ }
+
+ function saveRef(index, subIndex, c) {
+ if (c) {
+ if (subIndex !== undefined) {
+ this.instanceArray[index] = this.instanceArray[index] || [];
+ this.instanceArray[index][subIndex] = c;
+ } else {
+ this.instanceArray[index] = c;
+ }
+ }
+ }
+
+ var propTypes = {
+ onSelect: _propTypes2["default"].func,
+ onClick: _propTypes2["default"].func,
+ onDeselect: _propTypes2["default"].func,
+ onOpenChange: _propTypes2["default"].func,
+ onDestroy: _propTypes2["default"].func,
+ openTransitionName: _propTypes2["default"].string,
+ openAnimation: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].object]),
+ openKeys: _propTypes2["default"].array,
+ closeSubMenuOnMouseLeave: _propTypes2["default"].bool,
+ visible: _propTypes2["default"].bool,
+ children: _propTypes2["default"].any
+ };
+
+ var SubPopupMenu = function (_Component) {
+ _inherits(SubPopupMenu, _Component);
+
+ function SubPopupMenu(props) {
+ _classCallCheck(this, SubPopupMenu);
+
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props));
+
+ _this.state = {
+ activeKey: getActiveKey(_this.props, _this.props.activeKey)
+ };
+ _this.getOpenChangesOnItemHover = _this.getOpenChangesOnItemHover.bind(_this);
+ _this.onDeselect = _this.onDeselect.bind(_this);
+ _this.onClick = _this.onClick.bind(_this);
+ _this.onOpenChange = _this.onOpenChange.bind(_this);
+ _this.onDestroy = _this.onDestroy.bind(_this);
+ _this.onSelect = _this.onSelect.bind(_this);
+
+ _this.onItemHover = _this.onItemHover.bind(_this);
+ _this.getOpenTransitionName = _this.getOpenTransitionName.bind(_this);
+ _this.renderMenuItem = _this.renderMenuItem.bind(_this);
+
+ _this.getFlatInstanceArray = _this.getFlatInstanceArray.bind(_this);
+ _this.renderCommonMenuItem = _this.renderCommonMenuItem.bind(_this);
+ _this.renderRoot = _this.renderRoot.bind(_this);
+
+ return _this;
+ }
+
+ SubPopupMenu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ var props = void 0;
+ if ('activeKey' in nextProps) {
+ props = {
+ activeKey: getActiveKey(nextProps, nextProps.activeKey)
+ };
+ } else {
+ var originalActiveKey = this.state.activeKey;
+ var activeKey = getActiveKey(nextProps, originalActiveKey);
+ // fix: this.setState(), parent.render(),
+ if (activeKey !== originalActiveKey) {
+ props = {
+ activeKey: activeKey
+ };
+ }
+ }
+ if (props) {
+ this.setState(props);
+ }
+ };
+
+ SubPopupMenu.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
+ return this.props.visible || nextProps.visible;
+ };
+
+ SubPopupMenu.prototype.onDeselect = function onDeselect(selectInfo) {
+ this.props.onDeselect(selectInfo);
+ };
+
+ SubPopupMenu.prototype.onSelect = function onSelect(selectInfo) {
+ this.props.onSelect(selectInfo);
+ };
+
+ SubPopupMenu.prototype.onClick = function onClick(e) {
+ this.props.onClick(e);
+ };
+
+ SubPopupMenu.prototype.onOpenChange = function onOpenChange(e) {
+ this.props.onOpenChange(e);
+ };
+
+ SubPopupMenu.prototype.onDestroy = function onDestroy(key) {
+ this.props.onDestroy(key);
+ };
+
+ SubPopupMenu.prototype.onItemHover = function onItemHover(e) {
+ var _e$openChanges = e.openChanges,
+ openChanges = _e$openChanges === undefined ? [] : _e$openChanges;
+
+ openChanges = openChanges.concat(this.getOpenChangesOnItemHover(e));
+ if (openChanges.length) {
+ this.onOpenChange(openChanges);
+ }
+ };
+
+ SubPopupMenu.prototype.getOpenTransitionName = function getOpenTransitionName() {
+ return this.props.openTransitionName;
+ };
+
+ SubPopupMenu.prototype.renderMenuItem = function renderMenuItem(c, i, subIndex) {
+ var props = this.props;
+ var extraProps = {
+ openKeys: props.openKeys,
+ selectedKeys: props.selectedKeys,
+ openSubMenuOnMouseEnter: true
+ };
+ return this.renderCommonMenuItem(c, i, subIndex, extraProps);
+ };
+
+ SubPopupMenu.prototype.getOpenChangesOnItemHover = function getOpenChangesOnItemHover(e) {
+ var mode = this.props.mode;
+ var key = e.key,
+ hover = e.hover,
+ trigger = e.trigger;
+
+ var activeKey = this.state.activeKey;
+ if (!trigger || hover || this.props.closeSubMenuOnMouseLeave || !e.item.isSubMenu || mode === 'inline') {
+ this.setState({
+ activeKey: hover ? key : null
+ });
+ } else {}
+ // keep active for sub menu for click active
+ // empty
+
+ // clear last open status
+ if (hover && mode !== 'inline') {
+ var activeItem = this.getFlatInstanceArray().filter(function (c) {
+ return c && c.props.eventKey === activeKey;
+ })[0];
+ if (activeItem && activeItem.isSubMenu && activeItem.props.eventKey !== key) {
+ return {
+ item: activeItem,
+ originalEvent: e,
+ key: activeItem.props.eventKey,
+ open: false
+ };
+ }
+ }
+ return [];
+ };
+
+ SubPopupMenu.prototype.renderCommonMenuItem = function renderCommonMenuItem(child, i, subIndex, extraProps) {
+ var state = this.state;
+ var props = this.props;
+ var key = (0, _util.getKeyFromChildrenIndex)(child, props.eventKey, i);
+ var childProps = child.props;
+ var isActive = key === state.activeKey;
+ var newChildProps = _extends({
+ mode: props.mode,
+ level: props.level,
+ inlineIndent: props.inlineIndent,
+ renderMenuItem: this.renderMenuItem,
+ rootPrefixCls: props.prefixCls,
+ index: i,
+ parentMenu: this,
+ ref: childProps.disabled ? undefined : (0, _createChainedFunction2["default"])(child.ref, saveRef.bind(this, i, subIndex)),
+ eventKey: key,
+ closeSubMenuOnMouseLeave: props.closeSubMenuOnMouseLeave,
+ onItemHover: this.onItemHover,
+ active: !childProps.disabled && isActive,
+ multiple: props.multiple,
+ onClick: this.onClick,
+ openTransitionName: this.getOpenTransitionName(),
+ openAnimation: props.openAnimation,
+ onOpenChange: this.onOpenChange,
+ onDeselect: this.onDeselect,
+ onDestroy: this.onDestroy,
+ onSelect: this.onSelect
+ }, extraProps);
+ if (props.mode === 'inline') {
+ newChildProps.closeSubMenuOnMouseLeave = newChildProps.openSubMenuOnMouseEnter = false;
+ }
+ return _react2["default"].cloneElement(child, newChildProps);
+ };
+
+ SubPopupMenu.prototype.getFlatInstanceArray = function getFlatInstanceArray() {
+ var instanceArray = this.instanceArray;
+ var hasInnerArray = instanceArray.some(function (a) {
+ return Array.isArray(a);
+ });
+ if (hasInnerArray) {
+ instanceArray = [];
+ this.instanceArray.forEach(function (a) {
+ if (Array.isArray(a)) {
+ instanceArray.push.apply(instanceArray, a);
+ } else {
+ instanceArray.push(a);
+ }
+ });
+ this.instanceArray = instanceArray;
+ }
+ return instanceArray;
+ };
+
+ SubPopupMenu.prototype.renderRoot = function renderRoot(props) {
+ var _classes;
+
+ this.instanceArray = [];
+ var classes = (_classes = {}, _defineProperty(_classes, props.prefixCls, 1), _defineProperty(_classes, props.prefixCls + '-' + props.mode, 1), _defineProperty(_classes, props.className, !!props.className), _classes);
+ var domProps = {
+ className: (0, _classnames2["default"])(classes),
+ role: 'menu',
+ 'aria-activedescendant': ''
+ };
+ if (props.id) {
+ domProps.id = props.id;
+ }
+ if (props.focusable) {
+ domProps.tabIndex = '0';
+ domProps.onKeyDown = this.onKeyDown;
+ }
+ return (
+ // ESLint is not smart enough to know that the type of `children` was checked.
+ /* eslint-disable */
+ _react2["default"].createElement(
+ _DOMWrap2["default"],
+ _extends({
+ style: props.style,
+ tag: 'ul',
+ hiddenClassName: props.prefixCls + '-hidden',
+ visible: props.visible
+ }, domProps),
+ _react2["default"].Children.map(props.children, this.renderMenuItem.bind(this))
+ )
+ /*eslint-enable */
+
+ );
+ };
+
+ SubPopupMenu.prototype.render = function render() {
+ var renderFirst = this.renderFirst;
+ this.renderFirst = 1;
+ this.haveOpened = this.haveOpened || this.props.visible;
+ if (!this.haveOpened) {
+ return null;
+ }
+ var transitionAppear = true;
+ if (!renderFirst && this.props.visible) {
+ transitionAppear = false;
+ }
+ var props = _extends({}, this.props);
+ props.className += ' ' + props.prefixCls + '-sub';
+ var animProps = {};
+ if (props.openTransitionName) {
+ animProps.transitionName = props.openTransitionName;
+ } else if (_typeof(props.openAnimation) === 'object') {
+ animProps.animation = _extends({}, props.openAnimation);
+ if (!transitionAppear) {
+ delete animProps.animation.appear;
+ }
+ }
+ return _react2["default"].createElement(
+ _beeAnimate2["default"],
+ _extends({}, animProps, {
+ showProp: 'visible',
+ component: '',
+ transitionAppear: transitionAppear
+ }),
+ this.renderRoot(props)
+ );
+ };
+
+ return SubPopupMenu;
+ }(_react.Component);
+
+ ;
+ SubPopupMenu.propTypes = propTypes;
+ exports["default"] = SubPopupMenu;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 429 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _keyCode = __webpack_require__(37);
+
+ var _keyCode2 = _interopRequireDefault(_keyCode);
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _util = __webpack_require__(425);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ /* eslint react/no-is-mounted:0 */
+ var propTypes = {
+ rootPrefixCls: _propTypes2["default"].string,
+ eventKey: _propTypes2["default"].string,
+ active: _propTypes2["default"].bool,
+ children: _propTypes2["default"].any,
+ selectedKeys: _propTypes2["default"].array,
+ disabled: _propTypes2["default"].bool,
+ title: _propTypes2["default"].string,
+ onSelect: _propTypes2["default"].func,
+ onClick: _propTypes2["default"].func,
+ onDeselect: _propTypes2["default"].func,
+ parentMenu: _propTypes2["default"].object,
+ onItemHover: _propTypes2["default"].func,
+ onDestroy: _propTypes2["default"].func,
+ onMouseEnter: _propTypes2["default"].func,
+ onMouseLeave: _propTypes2["default"].func
+ };
+
+ var defaultProps = {
+ onSelect: _util.noop,
+ onMouseEnter: _util.noop,
+ onMouseLeave: _util.noop
+ };
+
+ var MenuItem = function (_Component) {
+ _inherits(MenuItem, _Component);
+
+ function MenuItem(props) {
+ _classCallCheck(this, MenuItem);
+
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props));
+
+ _this.onMouseLeave = _this.onMouseLeave.bind(_this);
+ _this.onMouseEnter = _this.onMouseEnter.bind(_this);
+ _this.onKeyDown = _this.onKeyDown.bind(_this);
+ _this.onClick = _this.onClick.bind(_this);
+ _this.getPrefixCls = _this.getPrefixCls.bind(_this);
+ _this.getActiveClassName = _this.getActiveClassName.bind(_this);
+ _this.getDisabledClassName = _this.getDisabledClassName.bind(_this);
+ _this.getSelectedClassName = _this.getSelectedClassName.bind(_this);
+ _this.clearMenuItemMouseLeaveTimer = _this.clearMenuItemMouseLeaveTimer.bind(_this);
+ _this.isSelected = _this.isSelected.bind(_this);
+ return _this;
+ }
+
+ MenuItem.prototype.componentWillUnmount = function componentWillUnmount() {
+ var props = this.props;
+ this.mounted = false;
+ if (props.onDestroy) {
+ props.onDestroy(props.eventKey);
+ }
+ if (props.parentMenu.menuItemInstance === this) {
+ this.clearMenuItemMouseLeaveTimer();
+ }
+ };
+
+ MenuItem.prototype.componentDidMount = function componentDidMount() {
+ this.mounted = true;
+ };
+
+ MenuItem.prototype.onKeyDown = function onKeyDown(e) {
+ var keyCode = e.keyCode;
+ if (keyCode === _keyCode2["default"].ENTER) {
+ this.onClick(e);
+ return true;
+ }
+ };
+
+ MenuItem.prototype.onMouseLeave = function onMouseLeave(e) {
+ var _this2 = this;
+
+ var props = this.props;
+ var eventKey = props.eventKey,
+ parentMenu = props.parentMenu;
+
+ parentMenu.menuItemInstance = this;
+ parentMenu.menuItemMouseLeaveFn = function () {
+ if (_this2.mounted && props.active) {
+ props.onItemHover({
+ key: eventKey,
+ item: _this2,
+ hover: false,
+ domEvent: e,
+ trigger: 'mouseleave'
+ });
+ }
+ };
+ parentMenu.menuItemMouseLeaveTimer = setTimeout(parentMenu.menuItemMouseLeaveFn, 30);
+ props.onMouseLeave({
+ key: eventKey,
+ domEvent: e
+ });
+ };
+
+ MenuItem.prototype.onMouseEnter = function onMouseEnter(e) {
+ var props = this.props;
+ var eventKey = props.eventKey,
+ parentMenu = props.parentMenu;
+
+ this.clearMenuItemMouseLeaveTimer(parentMenu.menuItemInstance !== this);
+ if (parentMenu.subMenuInstance) {
+ parentMenu.subMenuInstance.clearSubMenuTimers();
+ }
+ props.onItemHover({
+ key: eventKey,
+ item: this,
+ hover: true,
+ domEvent: e,
+ trigger: 'mouseenter'
+ });
+ props.onMouseEnter({
+ key: eventKey,
+ domEvent: e
+ });
+ };
+
+ MenuItem.prototype.onClick = function onClick(e) {
+ var props = this.props;
+ var selected = this.isSelected();
+ var eventKey = props.eventKey;
+ var info = {
+ key: eventKey,
+ keyPath: [eventKey],
+ item: this,
+ domEvent: e
+ };
+ props.onClick(info);
+ if (props.multiple) {
+ if (selected) {
+ props.onDeselect(info);
+ } else {
+ props.onSelect(info);
+ }
+ } else if (!selected) {
+ props.onSelect(info);
+ }
+ };
+
+ MenuItem.prototype.getPrefixCls = function getPrefixCls() {
+ return this.props.rootPrefixCls + '-item';
+ };
+
+ MenuItem.prototype.getActiveClassName = function getActiveClassName() {
+ return this.getPrefixCls() + '-active';
+ };
+
+ MenuItem.prototype.getSelectedClassName = function getSelectedClassName() {
+ return this.getPrefixCls() + '-selected';
+ };
+
+ MenuItem.prototype.getDisabledClassName = function getDisabledClassName() {
+ return this.getPrefixCls() + '-disabled';
+ };
+
+ MenuItem.prototype.clearMenuItemMouseLeaveTimer = function clearMenuItemMouseLeaveTimer() {
+ var props = this.props;
+ var callFn = void 0;
+ var parentMenu = props.parentMenu;
+ if (parentMenu.menuItemMouseLeaveTimer) {
+ clearTimeout(parentMenu.menuItemMouseLeaveTimer);
+ parentMenu.menuItemMouseLeaveTimer = null;
+ if (callFn && parentMenu.menuItemMouseLeaveFn) {
+ parentMenu.menuItemMouseLeaveFn();
+ }
+ parentMenu.menuItemMouseLeaveFn = null;
+ }
+ };
+
+ MenuItem.prototype.isSelected = function isSelected() {
+ return this.props.selectedKeys.indexOf(this.props.eventKey) !== -1;
+ };
+
+ MenuItem.prototype.render = function render() {
+ var props = this.props;
+ var selected = this.isSelected();
+ var classes = {};
+ classes[this.getActiveClassName()] = !props.disabled && props.active;
+ classes[this.getSelectedClassName()] = selected;
+ classes[this.getDisabledClassName()] = props.disabled;
+ classes[this.getPrefixCls()] = true;
+ classes[props.className] = !!props.className;
+ var attrs = _extends({}, props.attribute, {
+ title: props.title,
+ className: (0, _classnames2["default"])(classes),
+ role: 'menuitem',
+ 'aria-selected': selected,
+ 'aria-disabled': props.disabled
+ });
+ var mouseEvent = {};
+ if (!props.disabled) {
+ mouseEvent = {
+ onClick: this.onClick,
+ onMouseLeave: this.onMouseLeave,
+ onMouseEnter: this.onMouseEnter
+ };
+ }
+ var style = _extends({}, props.style);
+ if (props.mode === 'inline') {
+ style.paddingLeft = props.inlineIndent * props.level;
+ }
+ return _react2["default"].createElement(
+ 'li',
+ _extends({
+ style: style
+ }, attrs, mouseEvent),
+ props.children
+ );
+ };
+
+ return MenuItem;
+ }(_react.Component);
+
+ ;
+
+ MenuItem.isMenuItem = 1;
+
+ MenuItem.defaultProps = defaultProps;
+ MenuItem.propTypes = propTypes;
+
+ exports["default"] = MenuItem;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 430 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ renderMenuItem: _propTypes2["default"].func,
+ index: _propTypes2["default"].number,
+ className: _propTypes2["default"].string,
+ rootPrefixCls: _propTypes2["default"].string,
+ title: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].node]),
+ children: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].node])
+ };
+
+ var defaultProps = {
+ disabled: true
+ };
+
+ var MenuItemGroup = function (_Component) {
+ _inherits(MenuItemGroup, _Component);
+
+ function MenuItemGroup() {
+ _classCallCheck(this, MenuItemGroup);
+
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ MenuItemGroup.prototype.renderInnerMenuItem = function renderInnerMenuItem(item, subIndex) {
+ var _props = this.props,
+ renderMenuItem = _props.renderMenuItem,
+ index = _props.index;
+
+ return renderMenuItem(item, index, subIndex);
+ };
+
+ MenuItemGroup.prototype.render = function render() {
+ var _props2 = this.props,
+ _props2$className = _props2.className,
+ className = _props2$className === undefined ? '' : _props2$className,
+ title = _props2.title,
+ children = _props2.children,
+ rootPrefixCls = _props2.rootPrefixCls;
+
+ var titleClassName = rootPrefixCls + '-item-group-title';
+ var listClassName = rootPrefixCls + '-item-group-list';
+
+ return _react2["default"].createElement(
+ 'li',
+ { className: className + ' ' + rootPrefixCls + '-item-group' },
+ _react2["default"].createElement(
+ 'div',
+ { className: titleClassName },
+ title
+ ),
+ _react2["default"].createElement(
+ 'ul',
+ { className: listClassName },
+ _react2["default"].Children.map(children, this.renderInnerMenuItem.bind(this))
+ )
+ );
+ };
+
+ return MenuItemGroup;
+ }(_react.Component);
+
+ ;
+
+ MenuItemGroup.isMenuItemGroup = true;
+ MenuItemGroup.propTypes = propTypes;
+ MenuItemGroup.defaultProps = defaultProps;
+
+ exports["default"] = MenuItemGroup;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 431 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ className: _propTypes2["default"].string,
+ rootPrefixCls: _propTypes2["default"].string
+ };
+
+ var Divider = function (_Component) {
+ _inherits(Divider, _Component);
+
+ function Divider() {
+ _classCallCheck(this, Divider);
+
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ Divider.prototype.render = function render() {
+ var _props = this.props,
+ className = _props.className,
+ rootPrefixCls = _props.rootPrefixCls;
+
+ return _react2["default"].createElement('li', { className: className + ' ' + rootPrefixCls + '-item-divider' });
+ };
+
+ return Divider;
+ }(_react.Component);
+
+ ;
+
+ Divider.propTypes = propTypes;
+
+ exports["default"] = Divider;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 432 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var defaultProps = {
+ clsPrefix: "u-navbar-side-container",
+ sideActive: false
+ };
+
+ var NavSideContainer = function (_React$Component) {
+ _inherits(NavSideContainer, _React$Component);
+
+ function NavSideContainer() {
+ _classCallCheck(this, NavSideContainer);
+
+ return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
+ }
+
+ NavSideContainer.prototype.render = function render() {
+ var _props = this.props,
+ className = _props.className,
+ children = _props.children,
+ clsPrefix = _props.clsPrefix,
+ sideActive = _props.sideActive,
+ expanded = _props.expanded,
+ props = _objectWithoutProperties(_props, ['className', 'children', 'clsPrefix', 'sideActive', 'expanded']);
+
+ //const navbarProps = this.context.u_navbar;
+
+ return _react2["default"].createElement(
+ 'div',
+ { className: (0, _classnames2["default"])(className, clsPrefix, expanded && 'expanded') },
+ children
+ );
+ };
+
+ return NavSideContainer;
+ }(_react2["default"].Component);
+
+ NavSideContainer.defaultProps = defaultProps;
+
+ exports["default"] = NavSideContainer;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 433 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _createChainedFunction = __webpack_require__(36);
+
+ var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ onClick: _propTypes2["default"].func,
+ /**
+ * The toggle content, if left empty it will render the default toggle (seen above).
+ */
+ show: _propTypes2["default"].bool,
+ children: _propTypes2["default"].node
+ };
+
+ var contextTypes = {
+ u_navbar: _propTypes2["default"].shape({
+ expanded: _propTypes2["default"].bool,
+ onToggle: _propTypes2["default"].func
+ })
+ };
+
+ var defaultProps = {
+ clsPrefix: 'u-navbar-toggle',
+ show: false
+ };
+
+ var MenuToggle = function (_React$Component) {
+ _inherits(MenuToggle, _React$Component);
+
+ function MenuToggle(props) {
+ _classCallCheck(this, MenuToggle);
+
+ var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));
+
+ _this.state = {
+ toggleState: false
+ //this.handleRender = this.handleRender.bind(this);
+ };return _this;
+ }
+
+ MenuToggle.prototype.handleClick = function handleClick() {
+ var _context$u_navbar = this.context.u_navbar,
+ expanded = _context$u_navbar.expanded,
+ onToggle = _context$u_navbar.onToggle;
+
+ this.setState({ toggleState: !this.state.toggleState });
+ if (onToggle) {
+ onToggle(!expanded);
+ }
+ };
+
+ MenuToggle.prototype.render = function render() {
+ var _props = this.props,
+ onClick = _props.onClick,
+ className = _props.className,
+ children = _props.children,
+ clsPrefix = _props.clsPrefix,
+ show = _props.show,
+ props = _objectWithoutProperties(_props, ['onClick', 'className', 'children', 'clsPrefix', 'show']);
+ //const navbarProps = this.context.u_navbar || { bsClass: 'navbar' };
+ //console.log(navbarProps.onToggle, navbarProps.expanded);
+
+ var buttonProps = _extends({
+ type: 'button'
+ }, props, {
+ onClick: (0, _createChainedFunction2["default"])(onClick, this.handleClick.bind(this)),
+ className: (0, _classnames2["default"])(className, clsPrefix, show && 'show')
+ //!this.context.u_navbar.expanded && 'collapsed',
+ });
+
+ if (children) {
+ return _react2["default"].createElement(
+ 'button',
+ buttonProps,
+ children
+ );
+ }
+ //当show存在时,渲染左侧静态面包按钮
+ return _react2["default"].createElement(
+ 'div',
+ null,
+ show && this.state.toggleState && _react2["default"].createElement(
+ 'button',
+ buttonProps,
+ _react2["default"].createElement(
+ 'span',
+ { className: 'sr-only' },
+ 'Toggle navigation'
+ ),
+ _react2["default"].createElement('span', { className: 'icon-bar' }),
+ _react2["default"].createElement('span', { className: 'icon-bar' }),
+ _react2["default"].createElement('span', { className: 'icon-bar' })
+ ),
+ show && !this.state.toggleState && _react2["default"].createElement(
+ 'button',
+ buttonProps,
+ _react2["default"].createElement('span', { className: 'uf uf-arrow-left' })
+ ),
+ !show && !this.state.toggleState && _react2["default"].createElement(
+ 'button',
+ buttonProps,
+ _react2["default"].createElement(
+ 'span',
+ { className: 'sr-only' },
+ 'Toggle navigation'
+ ),
+ _react2["default"].createElement('span', { className: 'icon-bar' }),
+ _react2["default"].createElement('span', { className: 'icon-bar' }),
+ _react2["default"].createElement('span', { className: 'icon-bar' })
+ )
+ );
+ };
+
+ return MenuToggle;
+ }(_react2["default"].Component);
+
+ MenuToggle.propTypes = propTypes;
+ MenuToggle.defaultProps = defaultProps;
+ MenuToggle.contextTypes = contextTypes;
+
+ exports["default"] = MenuToggle;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 434 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _tinperBeeCore = __webpack_require__(26);
+
+ function animate(node, show, done) {
+ var height = void 0;
+ return (0, _tinperBeeCore.cssAnimation)(node, 'u-motion-collapse', {
+ start: function start() {
+ if (!show) {
+ node.style.height = node.offsetHeight + 'px';
+ } else {
+ height = node.offsetHeight;
+ node.style.height = 0;
+ }
+ },
+ active: function active() {
+ node.style.height = (show ? height : 0) + 'px';
+ },
+ end: function end() {
+ node.style.height = '';
+ done();
+ }
+ });
+ }
+
+ var animation = {
+ enter: function enter(node, done) {
+ return animate(node, true, done);
+ },
+ leave: function leave(node, done) {
+ return animate(node, false, done);
+ },
+ appear: function appear(node, done) {
+ return animate(node, true, done);
+ }
+ };
+
+ exports["default"] = animation;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 435 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _warning = __webpack_require__(31);
+
+ var _warning2 = _interopRequireDefault(_warning);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ var warned = {};
+
+ exports["default"] = function (valid, message) {
+ if (!valid && !warned[message]) {
+ (0, _warning2["default"])(false, message);
+ warned[message] = true;
+ }
+ };
+
+ module.exports = exports['default'];
+
+/***/ }),
+/* 436 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ label: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].object])
+ };
+
+ var OptGroup = function (_React$Component) {
+ _inherits(OptGroup, _React$Component);
+
+ function OptGroup() {
+ _classCallCheck(this, OptGroup);
+
+ return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
+ }
+
+ return OptGroup;
+ }(_react2["default"].Component);
+
+ OptGroup.propTypes = propTypes;
+ exports["default"] = OptGroup;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 437 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+ exports.UNSELECTABLE_ATTRIBUTE = exports.UNSELECTABLE_STYLE = undefined;
+ exports.getValuePropValue = getValuePropValue;
+ exports.getPropValue = getPropValue;
+ exports.isCombobox = isCombobox;
+ exports.isMultipleOrTags = isMultipleOrTags;
+ exports.isMultipleOrTagsOrCombobox = isMultipleOrTagsOrCombobox;
+ exports.isSingleMode = isSingleMode;
+ exports.toArray = toArray;
+ exports.preventDefaultEvent = preventDefaultEvent;
+ exports.findIndexInValueByKey = findIndexInValueByKey;
+ exports.findIndexInValueByLabel = findIndexInValueByLabel;
+ exports.getSelectKeys = getSelectKeys;
+ exports.findFirstMenuItem = findFirstMenuItem;
+ exports.includesSeparators = includesSeparators;
+ exports.splitBySeparators = splitBySeparators;
+
+ var _beeMenus = __webpack_require__(421);
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function getValuePropValue(child) {
+ var props = child.props;
+ if ('value' in props) {
+ return props.value;
+ }
+ if (child.key) {
+ return child.key;
+ }
+ throw new Error('no key or value for ' + child);
+ }
+
+ function getPropValue(child, prop) {
+ if (prop === 'value') {
+ return getValuePropValue(child);
+ }
+ return child.props[prop];
+ }
+
+ function isCombobox(props) {
+ return props.combobox;
+ }
+
+ function isMultipleOrTags(props) {
+ return props.multiple || props.tags;
+ }
+
+ function isMultipleOrTagsOrCombobox(props) {
+ return isMultipleOrTags(props) || isCombobox(props);
+ }
+
+ function isSingleMode(props) {
+ return !isMultipleOrTagsOrCombobox(props);
+ }
+
+ function toArray(value) {
+ var ret = value;
+ if (value === undefined) {
+ ret = [];
+ } else if (!Array.isArray(value)) {
+ ret = [value];
+ }
+ return ret;
+ }
+
+ function preventDefaultEvent(e) {
+ e.preventDefault();
+ }
+
+ function findIndexInValueByKey(value, key) {
+ var index = -1;
+ for (var i = 0; i < value.length; i++) {
+ if (value[i].key === key) {
+ index = i;
+ break;
+ }
+ }
+ return index;
+ }
+
+ function findIndexInValueByLabel(value, label) {
+ var index = -1;
+ for (var i = 0; i < value.length; i++) {
+ if (toArray(value[i].label).join('') === label) {
+ index = i;
+ break;
+ }
+ }
+ return index;
+ }
+
+ function getSelectKeys(menuItems, value) {
+ if (value === null || value === undefined) {
+ return [];
+ }
+ var selectedKeys = [];
+ _react2["default"].Children.forEach(menuItems, function (item) {
+ if (item.type === _beeMenus.ItemGroup) {
+ selectedKeys = selectedKeys.concat(getSelectKeys(item.props.children, value));
+ } else {
+ var itemValue = getValuePropValue(item);
+ var itemKey = item.key;
+ if (findIndexInValueByKey(value, itemValue) !== -1 && itemKey) {
+ selectedKeys.push(itemKey);
+ }
+ }
+ });
+ return selectedKeys;
+ }
+
+ var UNSELECTABLE_STYLE = exports.UNSELECTABLE_STYLE = {
+ userSelect: 'none',
+ WebkitUserSelect: 'none'
+ };
+
+ var UNSELECTABLE_ATTRIBUTE = exports.UNSELECTABLE_ATTRIBUTE = {
+ unselectable: 'unselectable'
+ };
+
+ function findFirstMenuItem(children) {
+ for (var i = 0; i < children.length; i++) {
+ var child = children[i];
+ if (child.type === _beeMenus.ItemGroup) {
+ var found = findFirstMenuItem(child.props.children);
+ if (found) {
+ return found;
+ }
+ } else if (!child.props.disabled) {
+ return child;
+ }
+ }
+ return null;
+ }
+
+ function includesSeparators(string, separators) {
+ for (var i = 0; i < separators.length; ++i) {
+ if (string.lastIndexOf(separators[i]) > 0) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ function splitBySeparators(string, separators) {
+ var reg = new RegExp('[' + separators.join() + ']');
+ var array = string.split(reg);
+ if (array[0] === '') {
+ array.shift();
+ }
+ if (array[array.length - 1] === '') {
+ array.pop();
+ }
+ return array;
+ }
+
+/***/ }),
+/* 438 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _trigger = __webpack_require__(439);
+
+ var _trigger2 = _interopRequireDefault(_trigger);
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _classnames = __webpack_require__(3);
+
+ var _classnames2 = _interopRequireDefault(_classnames);
+
+ var _DropdownMenu = __webpack_require__(445);
+
+ var _DropdownMenu2 = _interopRequireDefault(_DropdownMenu);
+
+ var _reactDom = __webpack_require__(12);
+
+ var _reactDom2 = _interopRequireDefault(_reactDom);
+
+ var _util = __webpack_require__(437);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var BUILT_IN_PLACEMENTS = {
+ bottomLeft: {
+ points: ['tl', 'bl'],
+ offset: [0, 4],
+ overflow: {
+ adjustX: 0,
+ adjustY: 1
+ }
+ },
+ topLeft: {
+ points: ['bl', 'tl'],
+ offset: [0, -4],
+ overflow: {
+ adjustX: 0,
+ adjustY: 1
+ }
+ }
+ };
+
+ var propTypes = {
+ onPopupFocus: _propTypes2["default"].func,
+ dropdownMatchSelectWidth: _propTypes2["default"].bool,
+ dropdownAlign: _propTypes2["default"].object,
+ visible: _propTypes2["default"].bool,
+ disabled: _propTypes2["default"].bool,
+ showSearch: _propTypes2["default"].bool,
+ dropdownClassName: _propTypes2["default"].string,
+ multiple: _propTypes2["default"].bool,
+ inputValue: _propTypes2["default"].string,
+ filterOption: _propTypes2["default"].any,
+ options: _propTypes2["default"].any,
+ clsPrefix: _propTypes2["default"].string,
+ popupClassName: _propTypes2["default"].string,
+ children: _propTypes2["default"].any
+ };
+
+ var SelectTrigger = function (_Component) {
+ _inherits(SelectTrigger, _Component);
+
+ function SelectTrigger(props) {
+ _classCallCheck(this, SelectTrigger);
+
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props));
+
+ _this.setDropdownWidth = function () {
+ var width = _reactDom2["default"].findDOMNode(_this).offsetWidth;
+ if (width !== _this.state.dropdownWidth) {
+ _this.setState({ dropdownWidth: width });
+ }
+ };
+
+ _this.getInnerMenu = _this.getInnerMenu.bind(_this);
+ _this.getPopupDOMNode = _this.getPopupDOMNode.bind(_this);
+ _this.getDropdownTransitionName = _this.getDropdownTransitionName.bind(_this);
+ _this.getDropdownElement = _this.getDropdownElement.bind(_this);
+ _this.getDropdownPrefixCls = _this.getDropdownPrefixCls.bind(_this);
+ _this.saveMenu = _this.saveMenu.bind(_this);
+ _this.state = {
+ dropdownWidth: null
+ };
+
+ return _this;
+ }
+
+ SelectTrigger.prototype.componentDidMount = function componentDidMount() {
+ this.setDropdownWidth();
+ };
+
+ SelectTrigger.prototype.componentDidUpdate = function componentDidUpdate() {
+ this.setDropdownWidth();
+ };
+
+ SelectTrigger.prototype.getInnerMenu = function getInnerMenu() {
+ return this.popupMenu && this.popupMenu.refs.menu;
+ };
+
+ SelectTrigger.prototype.getPopupDOMNode = function getPopupDOMNode() {
+ return this.refs.trigger.getPopupDomNode();
+ };
+
+ SelectTrigger.prototype.getDropdownElement = function getDropdownElement(newProps) {
+ var props = this.props;
+ return _react2["default"].createElement(_DropdownMenu2["default"], _extends({
+ ref: this.saveMenu
+ }, newProps, {
+ clsPrefix: this.getDropdownPrefixCls(),
+ onMenuSelect: props.onMenuSelect,
+ scrollToEnd: props.scrollToEnd,
+ onMenuDeselect: props.onMenuDeselect,
+ value: props.value,
+ defaultActiveFirstOption: props.defaultActiveFirstOption,
+ dropdownMenuStyle: props.dropdownMenuStyle
+ }));
+ };
+
+ SelectTrigger.prototype.getDropdownTransitionName = function getDropdownTransitionName() {
+ var props = this.props;
+ var transitionName = props.transitionName;
+ if (!transitionName && props.animation) {
+ transitionName = this.getDropdownPrefixCls() + '-' + props.animation;
+ }
+ return transitionName;
+ };
+
+ SelectTrigger.prototype.getDropdownPrefixCls = function getDropdownPrefixCls() {
+ return this.props.clsPrefix + '-dropdown';
+ };
+
+ SelectTrigger.prototype.saveMenu = function saveMenu(menu) {
+ this.popupMenu = menu;
+ };
+
+ SelectTrigger.prototype.render = function render() {
+ var _popupClassName;
+
+ var _props = this.props,
+ onPopupFocus = _props.onPopupFocus,
+ props = _objectWithoutProperties(_props, ['onPopupFocus']);
+
+ var multiple = props.multiple,
+ visible = props.visible,
+ inputValue = props.inputValue,
+ dropdownAlign = props.dropdownAlign,
+ disabled = props.disabled,
+ showSearch = props.showSearch,
+ dropdownClassName = props.dropdownClassName,
+ dropdownStyle = props.dropdownStyle,
+ dropdownMatchSelectWidth = props.dropdownMatchSelectWidth;
+
+ var dropdownPrefixCls = this.getDropdownPrefixCls();
+ var popupClassName = (_popupClassName = {}, _defineProperty(_popupClassName, dropdownClassName, !!dropdownClassName), _defineProperty(_popupClassName, dropdownPrefixCls + '--' + (multiple ? 'multiple' : 'single'), 1), _popupClassName);
+ var popupElement = this.getDropdownElement({
+ menuItems: props.options,
+ onPopupFocus: onPopupFocus,
+ multiple: multiple,
+ inputValue: inputValue,
+ visible: visible
+ });
+ var hideAction = void 0;
+ if (disabled) {
+ hideAction = [];
+ } else if ((0, _util.isSingleMode)(props) && !showSearch) {
+ hideAction = ['click'];
+ } else {
+ hideAction = ['blur'];
+ }
+ var popupStyle = _extends({}, dropdownStyle);
+ var widthProp = dropdownMatchSelectWidth ? 'width' : 'minWidth';
+ if (this.state.dropdownWidth) {
+ popupStyle[widthProp] = this.state.dropdownWidth + 'px';
+ }
+ return _react2["default"].createElement(
+ _trigger2["default"],
+ _extends({}, props, {
+ showAction: disabled ? [] : ['click'],
+ hideAction: hideAction,
+ ref: 'trigger',
+ popupPlacement: 'bottomLeft',
+ builtinPlacements: BUILT_IN_PLACEMENTS,
+ clsPrefix: dropdownPrefixCls
+ // popupTransitionName={this.getDropdownTransitionName()}
+ , onPopupVisibleChange: props.onDropdownVisibleChange,
+ popup: popupElement,
+ popupAlign: dropdownAlign,
+ popupVisible: visible,
+ getPopupContainer: props.getPopupContainer,
+ popupClassName: (0, _classnames2["default"])(popupClassName),
+ popupStyle: popupStyle
+ }),
+ props.children
+ );
+ };
+
+ return SelectTrigger;
+ }(_react.Component);
+
+ ;
+
+ SelectTrigger.propTypes = propTypes;
+
+ exports["default"] = SelectTrigger;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 439 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ module.exports = __webpack_require__(440);
+
+/***/ }),
+/* 440 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _reactDom = __webpack_require__(12);
+
+ var _reactDom2 = _interopRequireDefault(_reactDom);
+
+ var _contains = __webpack_require__(76);
+
+ var _contains2 = _interopRequireDefault(_contains);
+
+ var _tinperBeeCore = __webpack_require__(26);
+
+ var _Popup = __webpack_require__(441);
+
+ var _Popup2 = _interopRequireDefault(_Popup);
+
+ var _utils = __webpack_require__(444);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ //import getContainerRenderMixin from './getContainerRenderMixin';
+
+ function noop() {}
+
+ function returnEmptyString() {
+ return '';
+ }
+
+ var ALL_HANDLERS = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur'];
+
+ var propTypes = {
+ children: _propTypes2["default"].any,
+ action: _propTypes2["default"].oneOfType([_propTypes2["default"].string, _propTypes2["default"].arrayOf(_propTypes2["default"].string)]),
+ showAction: _propTypes2["default"].any,
+ hideAction: _propTypes2["default"].any,
+ getPopupClassNameFromAlign: _propTypes2["default"].any,
+ onPopupVisibleChange: _propTypes2["default"].func,
+ afterPopupVisibleChange: _propTypes2["default"].func,
+ popup: _propTypes2["default"].oneOfType([_propTypes2["default"].node, _propTypes2["default"].func]).isRequired,
+ popupStyle: _propTypes2["default"].object,
+ clsPrefix: _propTypes2["default"].string,
+ popupClassName: _propTypes2["default"].string,
+ popupPlacement: _propTypes2["default"].string,
+ builtinPlacements: _propTypes2["default"].object,
+ popupTransitionName: _propTypes2["default"].string,
+ popupAnimation: _propTypes2["default"].any,
+ mouseEnterDelay: _propTypes2["default"].number,
+ mouseLeaveDelay: _propTypes2["default"].number,
+ zIndex: _propTypes2["default"].number,
+ focusDelay: _propTypes2["default"].number,
+ blurDelay: _propTypes2["default"].number,
+ getPopupContainer: _propTypes2["default"].func,
+ destroyPopupOnHide: _propTypes2["default"].bool,
+ mask: _propTypes2["default"].bool,
+ maskClosable: _propTypes2["default"].bool,
+ onPopupAlign: _propTypes2["default"].func,
+ popupAlign: _propTypes2["default"].object,
+ popupVisible: _propTypes2["default"].bool,
+ maskTransitionName: _propTypes2["default"].string,
+ maskAnimation: _propTypes2["default"].string
+ };
+
+ var defaultProps = {
+ clsPrefix: 'rc-trigger-popup',
+ getPopupClassNameFromAlign: returnEmptyString,
+ onPopupVisibleChange: noop,
+ afterPopupVisibleChange: noop,
+ onPopupAlign: noop,
+ popupClassName: '',
+ mouseEnterDelay: 0,
+ mouseLeaveDelay: 0.1,
+ focusDelay: 0,
+ blurDelay: 0.15,
+ popupStyle: {},
+ destroyPopupOnHide: false,
+ popupAlign: {},
+ defaultPopupVisible: false,
+ mask: false,
+ maskClosable: true,
+ action: [],
+ showAction: [],
+ hideAction: []
+ };
+
+ var Trigger = function (_Component) {
+ _inherits(Trigger, _Component);
+
+ function Trigger(props) {
+ _classCallCheck(this, Trigger);
+
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props));
+
+ _this.state = {
+ popupVisible: !!_this.props.popupVisible || _this.props.defaultPopupVisible
+ //this.removeContainer = this.removeContainer.bind(this);
+ };_this.getContainer = _this.getContainer.bind(_this);
+ _this.renderComponent = _this.renderComponent.bind(_this);
+ _this.isVisible = _this.isVisible.bind(_this);
+
+ _this.onMouseEnter = _this.onMouseEnter.bind(_this);
+ _this.onMouseLeave = _this.onMouseLeave.bind(_this);
+ _this.onPopupMouseEnter = _this.onPopupMouseEnter.bind(_this);
+ _this.onPopupMouseLeave = _this.onPopupMouseLeave.bind(_this);
+ _this.onFocus = _this.onFocus.bind(_this);
+
+ _this.onMouseDown = _this.onMouseDown.bind(_this);
+ _this.onTouchStart = _this.onTouchStart.bind(_this);
+ _this.onBlur = _this.onBlur.bind(_this);
+ _this.onDocumentClick = _this.onDocumentClick.bind(_this);
+ _this.getPopupDomNode = _this.getPopupDomNode.bind(_this);
+
+ _this.getRootDomNode = _this.getRootDomNode.bind(_this);
+ _this.getPopupClassNameFromAlign = _this.getPopupClassNameFromAlign.bind(_this);
+ _this.getPopupAlign = _this.getPopupAlign.bind(_this);
+ _this.getComponent = _this.getComponent.bind(_this);
+ _this.setPopupVisible = _this.setPopupVisible.bind(_this);
+
+ _this.delaySetPopupVisible = _this.delaySetPopupVisible.bind(_this);
+ _this.clearDelayTimer = _this.clearDelayTimer.bind(_this);
+ _this.createTwoChains = _this.createTwoChains.bind(_this);
+ _this.isClickToShow = _this.isClickToShow.bind(_this);
+ _this.isClickToHide = _this.isClickToHide.bind(_this);
+
+ _this.isMouseEnterToShow = _this.isMouseEnterToShow.bind(_this);
+ _this.isMouseLeaveToHide = _this.isMouseLeaveToHide.bind(_this);
+ _this.isFocusToShow = _this.isFocusToShow.bind(_this);
+ _this.isBlurToHide = _this.isBlurToHide.bind(_this);
+ _this.forcePopupAlign = _this.forcePopupAlign.bind(_this);
+
+ _this.fireEvents = _this.fireEvents.bind(_this);
+ _this.close = _this.close.bind(_this);
+ _this.onClick = _this.onClick.bind(_this);
+ return _this;
+ }
+
+ Trigger.prototype.isVisible = function isVisible(instance) {
+ return instance.state.popupVisible;
+ };
+
+ Trigger.prototype.getContainer = function getContainer(instance) {
+ var popupContainer = document.createElement('div');
+ var mountNode = instance.props.getPopupContainer ? instance.props.getPopupContainer((0, _reactDom.findDOMNode)(instance)) : document.body;
+ mountNode.appendChild(popupContainer);
+ return popupContainer;
+ };
+
+ Trigger.prototype.renderComponent = function renderComponent(instance, componentArg, ready) {
+ if (instance._component || this.isVisible(instance)) {
+ if (!instance._container) {
+ instance._container = this.getContainer(instance);
+ }
+ var component = instance.getComponent(componentArg);
+ _reactDom2["default"].unstable_renderSubtreeIntoContainer(instance, component, instance._container, function callback() {
+ instance._component = this;
+ if (ready) {
+ ready.call(this);
+ }
+ });
+ }
+ };
+
+ Trigger.prototype.componentWillMount = function componentWillMount() {
+ var _this2 = this;
+
+ this.mounted = false;
+ ALL_HANDLERS.forEach(function (h) {
+ _this2['fire' + h] = function (e) {
+ _this2.fireEvents(h, e);
+ };
+ });
+ };
+
+ Trigger.prototype.componentDidMount = function componentDidMount() {
+ this.mounted = true;
+ this.componentDidUpdate({}, {
+ popupVisible: this.state.popupVisible
+ });
+ };
+
+ Trigger.prototype.componentWillReceiveProps = function componentWillReceiveProps(_ref) {
+ var popupVisible = _ref.popupVisible;
+
+ if (popupVisible !== undefined) {
+ this.setState({
+ popupVisible: popupVisible
+ });
+ }
+ };
+
+ Trigger.prototype.componentDidUpdate = function componentDidUpdate(_, prevState) {
+ var props = this.props;
+ var state = this.state;
+ this.renderComponent(this, null, function () {
+ if (prevState.popupVisible !== state.popupVisible) {
+ props.afterPopupVisibleChange(state.popupVisible);
+ }
+ });
+ if (this.isClickToHide()) {
+ if (state.popupVisible) {
+ if (!this.clickOutsideHandler) {
+ this.clickOutsideHandler = (0, _tinperBeeCore.addEventListener)(document, 'mousedown', this.onDocumentClick);
+ this.touchOutsideHandler = (0, _tinperBeeCore.addEventListener)(document, 'touchstart', this.onDocumentClick);
+ }
+ return;
+ }
+ }
+ if (this.clickOutsideHandler) {
+ this.clickOutsideHandler.remove();
+ this.touchOutsideHandler.remove();
+ this.clickOutsideHandler = null;
+ this.touchOutsideHandler = null;
+ }
+ };
+
+ Trigger.prototype.componentWillUnmount = function componentWillUnmount() {
+ this.clearDelayTimer();
+ if (this.clickOutsideHandler) {
+ this.clickOutsideHandler.remove();
+ this.touchOutsideHandler.remove();
+ this.clickOutsideHandler = null;
+ this.touchOutsideHandler = null;
+ }
+ if (this._container) {
+ _reactDom2["default"].unmountComponentAtNode(this._container);
+ }
+
+ //this.removeContainer();
+ };
+
+ Trigger.prototype.onMouseEnter = function onMouseEnter(e) {
+ this.fireEvents('onMouseEnter', e);
+ this.delaySetPopupVisible(true, this.props.mouseEnterDelay);
+ };
+
+ Trigger.prototype.onMouseLeave = function onMouseLeave(e) {
+ this.fireEvents('onMouseLeave', e);
+ this.delaySetPopupVisible(false, this.props.mouseLeaveDelay);
+ };
+
+ Trigger.prototype.onPopupMouseEnter = function onPopupMouseEnter() {
+ this.clearDelayTimer();
+ };
+
+ Trigger.prototype.onPopupMouseLeave = function onPopupMouseLeave(e) {
+ // https://github.com/react-component/trigger/pull/13
+ // react bug?
+ if (e.relatedTarget && !e.relatedTarget.setTimeout && this._component && (0, _contains2["default"])(this._component.getPopupDomNode(), e.relatedTarget)) {
+ return;
+ }
+ this.delaySetPopupVisible(false, this.props.mouseLeaveDelay);
+ };
+
+ Trigger.prototype.onFocus = function onFocus(e) {
+ this.fireEvents('onFocus', e);
+ // incase focusin and focusout
+ this.clearDelayTimer();
+ if (this.isFocusToShow()) {
+ this.focusTime = Date.now();
+ this.delaySetPopupVisible(true, this.props.focusDelay);
+ }
+ };
+
+ Trigger.prototype.onMouseDown = function onMouseDown(e) {
+ this.fireEvents('onMouseDown', e);
+ this.preClickTime = Date.now();
+ };
+
+ Trigger.prototype.onTouchStart = function onTouchStart(e) {
+ this.fireEvents('onTouchStart', e);
+ this.preTouchTime = Date.now();
+ };
+
+ Trigger.prototype.onBlur = function onBlur(e) {
+ this.fireEvents('onBlur', e);
+ this.clearDelayTimer();
+ if (this.isBlurToHide()) {
+ this.delaySetPopupVisible(false, this.props.blurDelay);
+ }
+ };
+
+ Trigger.prototype.onClick = function onClick(event) {
+ this.fireEvents('onClick', event);
+ // focus will trigger click
+ if (this.focusTime) {
+ var preTime = void 0;
+ if (this.preClickTime && this.preTouchTime) {
+ preTime = Math.min(this.preClickTime, this.preTouchTime);
+ } else if (this.preClickTime) {
+ preTime = this.preClickTime;
+ } else if (this.preTouchTime) {
+ preTime = this.preTouchTime;
+ }
+ if (Math.abs(preTime - this.focusTime) < 20) {
+ return;
+ }
+ this.focusTime = 0;
+ }
+ this.preClickTime = 0;
+ this.preTouchTime = 0;
+ event.preventDefault();
+ var nextVisible = !this.state.popupVisible;
+ if (this.isClickToHide() && !nextVisible || nextVisible && this.isClickToShow()) {
+ this.setPopupVisible(!this.state.popupVisible);
+ }
+ };
+
+ Trigger.prototype.onDocumentClick = function onDocumentClick(event) {
+ if (this.props.mask && !this.props.maskClosable) {
+ return;
+ }
+ var target = event.target;
+ var root = (0, _reactDom.findDOMNode)(this);
+ var popupNode = this.getPopupDomNode();
+ if (!(0, _contains2["default"])(root, target) && !(0, _contains2["default"])(popupNode, target)) {
+ this.close();
+ }
+ };
+
+ Trigger.prototype.getPopupDomNode = function getPopupDomNode() {
+ // for test
+ if (this._component) {
+ return this.mounted ? this._component.getPopupDomNode() : null;
+ }
+ return null;
+ };
+
+ Trigger.prototype.getRootDomNode = function getRootDomNode() {
+ return _reactDom2["default"].findDOMNode(this);
+ };
+
+ Trigger.prototype.getPopupClassNameFromAlign = function getPopupClassNameFromAlign(align) {
+ var className = [];
+ var props = this.props;
+ var popupPlacement = props.popupPlacement,
+ builtinPlacements = props.builtinPlacements,
+ clsPrefix = props.clsPrefix;
+
+ if (popupPlacement && builtinPlacements) {
+ className.push((0, _utils.getPopupClassNameFromAlign)(builtinPlacements, clsPrefix, align));
+ }
+ if (props.getPopupClassNameFromAlign) {
+ className.push(props.getPopupClassNameFromAlign(align));
+ }
+ return className.join(' ');
+ };
+
+ Trigger.prototype.getPopupAlign = function getPopupAlign() {
+ var props = this.props;
+ var popupPlacement = props.popupPlacement,
+ popupAlign = props.popupAlign,
+ builtinPlacements = props.builtinPlacements;
+
+ if (popupPlacement && builtinPlacements) {
+ return (0, _utils.getAlignFromPlacement)(builtinPlacements, popupPlacement, popupAlign);
+ }
+ return popupAlign;
+ };
+
+ Trigger.prototype.getComponent = function getComponent() {
+ var props = this.props,
+ state = this.state;
+
+ var mouseProps = {};
+ if (this.isMouseEnterToShow()) {
+ mouseProps.onMouseEnter = this.onPopupMouseEnter;
+ }
+ if (this.isMouseLeaveToHide()) {
+ mouseProps.onMouseLeave = this.onPopupMouseLeave;
+ }
+ return _react2["default"].createElement(
+ _Popup2["default"],
+ _extends({
+ clsPrefix: props.clsPrefix,
+ destroyPopupOnHide: props.destroyPopupOnHide,
+ visible: state.popupVisible,
+ className: props.popupClassName,
+ action: props.action,
+ align: this.getPopupAlign(),
+ onAlign: props.onPopupAlign,
+ animation: props.popupAnimation,
+ getClassNameFromAlign: this.getPopupClassNameFromAlign
+ }, mouseProps, {
+ getRootDomNode: this.getRootDomNode,
+ style: props.popupStyle,
+ mask: props.mask,
+ zIndex: props.zIndex,
+ transitionName: props.popupTransitionName,
+ maskAnimation: props.maskAnimation,
+ maskTransitionName: props.maskTransitionName
+ }),
+ typeof props.popup === 'function' ? props.popup() : props.popup
+ );
+ };
+
+ Trigger.prototype.setPopupVisible = function setPopupVisible(popupVisible) {
+ this.clearDelayTimer();
+ if (this.state.popupVisible !== popupVisible) {
+ if (!('popupVisible' in this.props)) {
+ this.setState({
+ popupVisible: popupVisible
+ });
+ }
+ this.props.onPopupVisibleChange(popupVisible);
+ }
+ };
+
+ Trigger.prototype.delaySetPopupVisible = function delaySetPopupVisible(visible, delayS) {
+ var _this3 = this;
+
+ var delay = delayS * 1000;
+ this.clearDelayTimer();
+ if (delay) {
+ this.delayTimer = setTimeout(function () {
+ _this3.setPopupVisible(visible);
+ _this3.clearDelayTimer();
+ }, delay);
+ } else {
+ this.setPopupVisible(visible);
+ }
+ };
+
+ Trigger.prototype.clearDelayTimer = function clearDelayTimer() {
+ if (this.delayTimer) {
+ clearTimeout(this.delayTimer);
+ this.delayTimer = null;
+ }
+ };
+
+ Trigger.prototype.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];
+ };
+
+ Trigger.prototype.isClickToShow = function isClickToShow() {
+ var _props = this.props,
+ action = _props.action,
+ showAction = _props.showAction;
+
+ return action.indexOf('click') !== -1 || showAction.indexOf('click') !== -1;
+ };
+
+ Trigger.prototype.isClickToHide = function isClickToHide() {
+ var _props2 = this.props,
+ action = _props2.action,
+ hideAction = _props2.hideAction;
+
+ return action.indexOf('click') !== -1 || hideAction.indexOf('click') !== -1;
+ };
+
+ Trigger.prototype.isMouseEnterToShow = function isMouseEnterToShow() {
+ var _props3 = this.props,
+ action = _props3.action,
+ showAction = _props3.showAction;
+
+ return action.indexOf('hover') !== -1 || showAction.indexOf('mouseEnter') !== -1;
+ };
+
+ Trigger.prototype.isMouseLeaveToHide = function isMouseLeaveToHide() {
+ var _props4 = this.props,
+ action = _props4.action,
+ hideAction = _props4.hideAction;
+
+ return action.indexOf('hover') !== -1 || hideAction.indexOf('mouseLeave') !== -1;
+ };
+
+ Trigger.prototype.isFocusToShow = function isFocusToShow() {
+ var _props5 = this.props,
+ action = _props5.action,
+ showAction = _props5.showAction;
+
+ return action.indexOf('focus') !== -1 || showAction.indexOf('focus') !== -1;
+ };
+
+ Trigger.prototype.isBlurToHide = function isBlurToHide() {
+ var _props6 = this.props,
+ action = _props6.action,
+ hideAction = _props6.hideAction;
+
+ return action.indexOf('focus') !== -1 || hideAction.indexOf('blur') !== -1;
+ };
+
+ Trigger.prototype.forcePopupAlign = function forcePopupAlign() {
+ if (this.state.popupVisible && this.popupInstance && this.popupInstance.alignInstance) {
+ this.popupInstance.alignInstance.forceAlign();
+ }
+ };
+
+ Trigger.prototype.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);
+ }
+ };
+
+ Trigger.prototype.close = function close() {
+ this.setPopupVisible(false);
+ };
+
+ Trigger.prototype.render = function render() {
+ var props = this.props;
+ var children = props.children;
+ var child = _react2["default"].Children.only(children);
+ var newChildProps = {};
+
+ if (this.isClickToHide() || this.isClickToShow()) {
+ 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 = this.onMouseEnter;
+ } else {
+ newChildProps.onMouseEnter = this.createTwoChains('onMouseEnter');
+ }
+ if (this.isMouseLeaveToHide()) {
+ newChildProps.onMouseLeave = this.onMouseLeave;
+ } else {
+ newChildProps.onMouseLeave = this.createTwoChains('onMouseLeave');
+ }
+ if (this.isFocusToShow() || this.isBlurToHide()) {
+ newChildProps.onFocus = this.onFocus;
+ newChildProps.onBlur = this.onBlur;
+ } else {
+ newChildProps.onFocus = this.createTwoChains('onFocus');
+ newChildProps.onBlur = this.createTwoChains('onBlur');
+ }
+
+ return _react2["default"].cloneElement(child, newChildProps);
+ };
+
+ return Trigger;
+ }(_react.Component);
+
+ ;
+
+ Trigger.propTypes = propTypes;
+ Trigger.defaultProps = defaultProps;
+ exports["default"] = Trigger;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 441 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _reactDom = __webpack_require__(12);
+
+ var _reactDom2 = _interopRequireDefault(_reactDom);
+
+ var _Align = __webpack_require__(49);
+
+ var _Align2 = _interopRequireDefault(_Align);
+
+ var _beeAnimate = __webpack_require__(128);
+
+ var _beeAnimate2 = _interopRequireDefault(_beeAnimate);
+
+ var _PopupInner = __webpack_require__(442);
+
+ var _PopupInner2 = _interopRequireDefault(_PopupInner);
+
+ var _LazyRenderBox = __webpack_require__(443);
+
+ var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ visible: _propTypes2["default"].bool,
+ style: _propTypes2["default"].object,
+ getClassNameFromAlign: _propTypes2["default"].func,
+ onAlign: _propTypes2["default"].func,
+ getRootDomNode: _propTypes2["default"].func,
+ onMouseEnter: _propTypes2["default"].func,
+ align: _propTypes2["default"].any,
+ destroyPopupOnHide: _propTypes2["default"].bool,
+ className: _propTypes2["default"].string,
+ clsPrefix: _propTypes2["default"].string,
+ onMouseLeave: _propTypes2["default"].func
+ };
+
+ var Popup = function (_Component) {
+ _inherits(Popup, _Component);
+
+ function Popup() {
+ _classCallCheck(this, Popup);
+
+ var _this = _possibleConstructorReturn(this, _Component.call(this));
+
+ _this.onAlign = _this.onAlign.bind(_this);
+ _this.getPopupDomNode = _this.getPopupDomNode.bind(_this);
+ _this.getTarget = _this.getTarget.bind(_this);
+ _this.getMaskTransitionName = _this.getMaskTransitionName.bind(_this);
+ _this.getTransitionName = _this.getTransitionName.bind(_this);
+ _this.getClassName = _this.getClassName.bind(_this);
+ _this.getPopupElement = _this.getPopupElement.bind(_this);
+ _this.getZIndexStyle = _this.getZIndexStyle.bind(_this);
+ _this.getMaskElement = _this.getMaskElement.bind(_this);
+ _this.saveAlign = _this.saveAlign.bind(_this);
+ return _this;
+ }
+
+ Popup.prototype.componentDidMount = function componentDidMount() {
+ this.rootNode = this.getPopupDomNode();
+ };
+
+ Popup.prototype.onAlign = function onAlign(popupDomNode, align) {
+ var props = this.props;
+ var alignClassName = props.getClassNameFromAlign(props.align);
+ var currentAlignClassName = props.getClassNameFromAlign(align);
+ if (alignClassName !== currentAlignClassName) {
+ this.currentAlignClassName = currentAlignClassName;
+ popupDomNode.className = this.getClassName(currentAlignClassName);
+ }
+ props.onAlign(popupDomNode, align);
+ };
+
+ Popup.prototype.getPopupDomNode = function getPopupDomNode() {
+ return _reactDom2["default"].findDOMNode(this.refs.popup);
+ };
+
+ Popup.prototype.getTarget = function getTarget() {
+ return this.props.getRootDomNode();
+ };
+
+ Popup.prototype.getMaskTransitionName = function getMaskTransitionName() {
+ var props = this.props;
+ var transitionName = props.maskTransitionName;
+ var animation = props.maskAnimation;
+ if (!transitionName && animation) {
+ transitionName = props.clsPrefix + '-' + animation;
+ }
+ return transitionName;
+ };
+
+ Popup.prototype.getTransitionName = function getTransitionName() {
+ var props = this.props;
+ var transitionName = props.transitionName;
+ if (!transitionName && props.animation) {
+ transitionName = props.clsPrefix + '-' + props.animation;
+ }
+ return transitionName;
+ };
+
+ Popup.prototype.getClassName = function getClassName(currentAlignClassName) {
+ return this.props.clsPrefix + ' ' + this.props.className + ' ' + currentAlignClassName;
+ };
+
+ Popup.prototype.getPopupElement = function getPopupElement() {
+ var props = this.props;
+ var align = props.align,
+ style = props.style,
+ visible = props.visible,
+ clsPrefix = props.clsPrefix,
+ destroyPopupOnHide = props.destroyPopupOnHide;
+
+ var className = this.getClassName(this.currentAlignClassName || props.getClassNameFromAlign(align));
+ var hiddenClassName = clsPrefix + '-hidden';
+ if (!visible) {
+ this.currentAlignClassName = null;
+ }
+ var newStyle = _extends({}, style, this.getZIndexStyle());
+ var popupInnerProps = {
+ className: className,
+ clsPrefix: clsPrefix,
+ ref: 'popup',
+ onMouseEnter: props.onMouseEnter,
+ onMouseLeave: props.onMouseLeave,
+ style: newStyle
+ };
+ if (destroyPopupOnHide) {
+ return _react2["default"].createElement(
+ _beeAnimate2["default"],
+ {
+ component: '',
+ exclusive: true,
+ transitionAppear: true,
+ transitionName: this.getTransitionName()
+ },
+ visible ? _react2["default"].createElement(
+ _Align2["default"],
+ {
+ target: this.getTarget,
+ key: 'popup',
+ ref: this.saveAlign,
+ monitorWindowResize: true,
+ align: align,
+ onAlign: this.onAlign
+ },
+ _react2["default"].createElement(
+ _PopupInner2["default"],
+ _extends({
+ visible: true
+ }, popupInnerProps),
+ props.children
+ )
+ ) : null
+ );
+ }
+ return _react2["default"].createElement(
+ _beeAnimate2["default"],
+ {
+ component: '',
+ exclusive: true,
+ transitionAppear: true,
+ transitionName: this.getTransitionName(),
+ showProp: 'xVisible'
+ },
+ _react2["default"].createElement(
+ _Align2["default"],
+ {
+ target: this.getTarget,
+ key: 'popup',
+ ref: this.saveAlign,
+ monitorWindowResize: true,
+ xVisible: visible,
+ childrenProps: { visible: 'xVisible' },
+ disabled: !visible,
+ align: align,
+ onAlign: this.onAlign
+ },
+ _react2["default"].createElement(
+ _PopupInner2["default"],
+ _extends({
+ hiddenClassName: hiddenClassName
+ }, popupInnerProps),
+ props.children
+ )
+ )
+ );
+ };
+
+ Popup.prototype.getZIndexStyle = function getZIndexStyle() {
+ var style = {};
+ var props = this.props;
+ if (props.zIndex !== undefined) {
+ style.zIndex = props.zIndex;
+ }
+ return style;
+ };
+
+ Popup.prototype.getMaskElement = function getMaskElement() {
+ var props = this.props;
+ var maskElement = void 0;
+ if (props.mask) {
+ var maskTransition = this.getMaskTransitionName();
+ maskElement = _react2["default"].createElement(_LazyRenderBox2["default"], {
+ style: this.getZIndexStyle(),
+ key: 'mask',
+ className: props.clsPrefix + '-mask',
+ hiddenClassName: props.clsPrefix + '-mask-hidden',
+ visible: props.visible
+ });
+ if (maskTransition) {
+ maskElement = _react2["default"].createElement(
+ _beeAnimate2["default"],
+ {
+ key: 'mask',
+ showProp: 'visible',
+ transitionAppear: true,
+ component: '',
+ transitionName: maskTransition
+ },
+ maskElement
+ );
+ }
+ }
+ return maskElement;
+ };
+
+ Popup.prototype.saveAlign = function saveAlign(align) {
+ this.alignInstance = align;
+ };
+
+ Popup.prototype.render = function render() {
+ return _react2["default"].createElement(
+ 'div',
+ null,
+ this.getMaskElement(),
+ this.getPopupElement()
+ );
+ };
+
+ return Popup;
+ }(_react.Component);
+
+ ;
+
+ Popup.propTypes = propTypes;
+ exports["default"] = Popup;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 442 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ var _LazyRenderBox = __webpack_require__(443);
+
+ var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ hiddenClassName: _propTypes2["default"].string,
+ className: _propTypes2["default"].string,
+ clsPrefix: _propTypes2["default"].string,
+ onMouseEnter: _propTypes2["default"].func,
+ onMouseLeave: _propTypes2["default"].func,
+ children: _propTypes2["default"].any
+ };
+
+ var PopupInner = function (_Component) {
+ _inherits(PopupInner, _Component);
+
+ function PopupInner() {
+ _classCallCheck(this, PopupInner);
+
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ PopupInner.prototype.render = function render() {
+ var props = this.props;
+ var className = props.className;
+ if (!props.visible) {
+ className += ' ' + props.hiddenClassName;
+ }
+ return _react2["default"].createElement(
+ 'div',
+ {
+ className: className,
+ onMouseEnter: props.onMouseEnter,
+ onMouseLeave: props.onMouseLeave,
+ style: props.style
+ },
+ _react2["default"].createElement(
+ _LazyRenderBox2["default"],
+ { className: props.clsPrefix + '-content', visible: props.visible },
+ props.children
+ )
+ );
+ };
+
+ return PopupInner;
+ }(_react.Component);
+
+ ;
+
+ PopupInner.propTypes = propTypes;
+ exports["default"] = PopupInner;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 443 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ children: _propTypes2["default"].any,
+ className: _propTypes2["default"].string,
+ visible: _propTypes2["default"].bool,
+ hiddenClassName: _propTypes2["default"].string
+ };
+
+ var LazyRenderBox = function (_Component) {
+ _inherits(LazyRenderBox, _Component);
+
+ function LazyRenderBox() {
+ _classCallCheck(this, LazyRenderBox);
+
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ LazyRenderBox.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
+ return nextProps.hiddenClassName || nextProps.visible;
+ };
+
+ LazyRenderBox.prototype.render = function render() {
+ var _props = this.props,
+ hiddenClassName = _props.hiddenClassName,
+ visible = _props.visible,
+ props = _objectWithoutProperties(_props, ['hiddenClassName', 'visible']);
+
+ if (hiddenClassName || _react2["default"].Children.count(props.children) > 1) {
+ if (!visible && hiddenClassName) {
+ props.className += ' ' + hiddenClassName;
+ }
+ return _react2["default"].createElement('div', props);
+ }
+
+ return _react2["default"].Children.only(props.children);
+ };
+
+ return LazyRenderBox;
+ }(_react.Component);
+
+ ;
+ LazyRenderBox.propTypes = propTypes;
+
+ exports["default"] = LazyRenderBox;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 444 */
+/***/ (function(module, exports) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ exports.getAlignFromPlacement = getAlignFromPlacement;
+ exports.getPopupClassNameFromAlign = getPopupClassNameFromAlign;
+ function isPointsEq(a1, a2) {
+ return a1[0] === a2[0] && a1[1] === a2[1];
+ }
+
+ function getAlignFromPlacement(builtinPlacements, placementStr, align) {
+ var baseAlign = builtinPlacements[placementStr] || {};
+ return _extends({}, baseAlign, align);
+ }
+
+ function getPopupClassNameFromAlign(builtinPlacements, clsPrefix, align) {
+ var points = align.points;
+ for (var placement in builtinPlacements) {
+ if (builtinPlacements.hasOwnProperty(placement)) {
+ if (isPointsEq(builtinPlacements[placement].points, points)) {
+ return clsPrefix + '-placement-' + placement;
+ }
+ }
+ }
+ return '';
+ }
+
+/***/ }),
+/* 445 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _reactDom = __webpack_require__(12);
+
+ var _tinperBeeCore = __webpack_require__(26);
+
+ var _beeMenus = __webpack_require__(421);
+
+ var _beeMenus2 = _interopRequireDefault(_beeMenus);
+
+ var _domScrollIntoView = __webpack_require__(446);
+
+ var _domScrollIntoView2 = _interopRequireDefault(_domScrollIntoView);
+
+ var _util = __webpack_require__(437);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ defaultActiveFirstOption: _propTypes2["default"].bool,
+ value: _propTypes2["default"].any,
+ dropdownMenuStyle: _propTypes2["default"].object,
+ multiple: _propTypes2["default"].bool,
+ onPopupFocus: _propTypes2["default"].func,
+ onMenuDeSelect: _propTypes2["default"].func,
+ onMenuSelect: _propTypes2["default"].func,
+ clsPrefix: _propTypes2["default"].string,
+ menuItems: _propTypes2["default"].any,
+ inputValue: _propTypes2["default"].string,
+ visible: _propTypes2["default"].bool
+ };
+
+ var DropdownMenu = function (_Component) {
+ _inherits(DropdownMenu, _Component);
+
+ function DropdownMenu() {
+ _classCallCheck(this, DropdownMenu);
+
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ DropdownMenu.prototype.componentWillMount = function componentWillMount() {
+ this.lastInputValue = this.props.inputValue;
+ };
+
+ DropdownMenu.prototype.componentDidMount = function componentDidMount() {
+ this.scrollActiveItemToView();
+ this.lastVisible = this.props.visible;
+ var scrollDom = (0, _reactDom.findDOMNode)(this.refs.menu);
+ scrollDom.addEventListener('scroll', this.handleScroll.bind(this));
+ };
+
+ DropdownMenu.prototype.componentWillUnmount = function componentWillUnmount() {
+ var scrollDom = (0, _reactDom.findDOMNode)(this.refs.menu);
+ scrollDom.removeEventListener('scroll', this.handleScroll.bind(this));
+ };
+
+ DropdownMenu.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
+ if (!nextProps.visible) {
+ this.lastVisible = false;
+ }
+ // freeze when hide
+ return nextProps.visible;
+ };
+
+ DropdownMenu.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
+ var props = this.props;
+ if (!prevProps.visible && props.visible) {
+ this.scrollActiveItemToView();
+ }
+ this.lastVisible = props.visible;
+ this.lastInputValue = props.inputValue;
+ };
+
+ DropdownMenu.prototype.handleScroll = function handleScroll(event) {
+ var scrollToEnd = this.props.scrollToEnd;
+
+ var el = event.target;
+ if (el.scrollHeight < el.clientHeight + el.scrollTop + 1) {
+ if (scrollToEnd) {
+ scrollToEnd();
+ }
+ }
+ };
+
+ DropdownMenu.prototype.scrollActiveItemToView = function scrollActiveItemToView() {
+ // scroll into view
+ var itemComponent = (0, _reactDom.findDOMNode)(this.firstActiveItem);
+ if (itemComponent) {
+ (0, _domScrollIntoView2["default"])(itemComponent, (0, _reactDom.findDOMNode)(this.refs.menu), {
+ onlyScrollIfNeeded: true
+ });
+ }
+ };
+
+ DropdownMenu.prototype.renderMenu = function renderMenu() {
+ var _this2 = this;
+
+ var props = this.props;
+ var menuItems = props.menuItems,
+ defaultActiveFirstOption = props.defaultActiveFirstOption,
+ value = props.value,
+ clsPrefix = props.clsPrefix,
+ multiple = props.multiple,
+ onMenuSelect = props.onMenuSelect,
+ inputValue = props.inputValue;
+
+ if (menuItems && menuItems.length) {
+ var menuProps = {};
+ if (multiple) {
+ menuProps.onDeselect = props.onMenuDeselect;
+ menuProps.onSelect = onMenuSelect;
+ } else {
+ menuProps.onClick = onMenuSelect;
+ }
+
+ var selectedKeys = (0, _util.getSelectKeys)(menuItems, value);
+ var activeKeyProps = {};
+
+ var clonedMenuItems = menuItems;
+ if (selectedKeys.length) {
+ if (props.visible && !this.lastVisible) {
+ activeKeyProps.activeKey = selectedKeys[0];
+ }
+ var foundFirst = false;
+ // set firstActiveItem via cloning menus
+ // for scroll into view
+ var clone = function clone(item) {
+ if (!foundFirst && selectedKeys.indexOf(item.key) !== -1) {
+ foundFirst = true;
+ return (0, _react.cloneElement)(item, {
+ ref: function ref(_ref) {
+ _this2.firstActiveItem = _ref;
+ }
+ });
+ }
+ return item;
+ };
+
+ clonedMenuItems = menuItems.map(function (item) {
+ if (item.type === _beeMenus.ItemGroup) {
+ var children = (0, _tinperBeeCore.toArray)(item.props.children).map(clone);
+ return (0, _react.cloneElement)(item, {}, children);
+ }
+ return clone(item);
+ });
+ }
+
+ // clear activeKey when inputValue change
+ if (inputValue !== this.lastInputValue) {
+ activeKeyProps.activeKey = '';
+ }
+
+ return _react2["default"].createElement(
+ _beeMenus2["default"],
+ _extends({
+ ref: 'menu',
+ style: this.props.dropdownMenuStyle,
+ defaultActiveFirst: defaultActiveFirstOption
+ }, activeKeyProps, {
+ multiple: multiple,
+ focusable: false
+ }, menuProps, {
+ selectedKeys: selectedKeys,
+ clsPrefix: clsPrefix + '-menu'
+ }),
+ clonedMenuItems
+ );
+ }
+ return null;
+ };
+
+ DropdownMenu.prototype.render = function render() {
+ var renderMenu = this.renderMenu();
+ return renderMenu ? _react2["default"].createElement(
+ 'div',
+ {
+ style: { overflow: 'auto' },
+ onFocus: this.props.onPopupFocus,
+ onMouseDown: _util.preventDefaultEvent
+ },
+ renderMenu
+ ) : null;
+ };
+
+ return DropdownMenu;
+ }(_react.Component);
+
+ ;
+
+ exports["default"] = DropdownMenu;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 446 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ module.exports = __webpack_require__(447);
+
+/***/ }),
+/* 447 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ var util = __webpack_require__(448);
+
+ function scrollIntoView(elem, container, config) {
+ config = config || {};
+ // document 归一化到 window
+ if (container.nodeType === 9) {
+ container = util.getWindow(container);
+ }
+
+ var allowHorizontalScroll = config.allowHorizontalScroll;
+ var onlyScrollIfNeeded = config.onlyScrollIfNeeded;
+ var alignWithTop = config.alignWithTop;
+ var alignWithLeft = config.alignWithLeft;
+ var offsetTop = config.offsetTop || 0;
+ var offsetLeft = config.offsetLeft || 0;
+ var offsetBottom = config.offsetBottom || 0;
+ var offsetRight = config.offsetRight || 0;
+
+ allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;
+
+ var isWin = util.isWindow(container);
+ var elemOffset = util.offset(elem);
+ var eh = util.outerHeight(elem);
+ var ew = util.outerWidth(elem);
+ var containerOffset = undefined;
+ var ch = undefined;
+ var cw = undefined;
+ var containerScroll = undefined;
+ var diffTop = undefined;
+ var diffBottom = undefined;
+ var win = undefined;
+ var winScroll = undefined;
+ var ww = undefined;
+ var wh = undefined;
+
+ if (isWin) {
+ win = container;
+ wh = util.height(win);
+ ww = util.width(win);
+ winScroll = {
+ left: util.scrollLeft(win),
+ top: util.scrollTop(win)
+ };
+ // elem 相对 container 可视视窗的距离
+ diffTop = {
+ left: elemOffset.left - winScroll.left - offsetLeft,
+ top: elemOffset.top - winScroll.top - offsetTop
+ };
+ diffBottom = {
+ left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,
+ top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom
+ };
+ containerScroll = winScroll;
+ } else {
+ containerOffset = util.offset(container);
+ ch = container.clientHeight;
+ cw = container.clientWidth;
+ containerScroll = {
+ left: container.scrollLeft,
+ top: container.scrollTop
+ };
+ // elem 相对 container 可视视窗的距离
+ // 注意边框, offset 是边框到根节点
+ diffTop = {
+ left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,
+ top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop
+ };
+ diffBottom = {
+ left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,
+ top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom
+ };
+ }
+
+ if (diffTop.top < 0 || diffBottom.top > 0) {
+ // 强制向上
+ if (alignWithTop === true) {
+ util.scrollTop(container, containerScroll.top + diffTop.top);
+ } else if (alignWithTop === false) {
+ util.scrollTop(container, containerScroll.top + diffBottom.top);
+ } else {
+ // 自动调整
+ if (diffTop.top < 0) {
+ util.scrollTop(container, containerScroll.top + diffTop.top);
+ } else {
+ util.scrollTop(container, containerScroll.top + diffBottom.top);
+ }
+ }
+ } else {
+ if (!onlyScrollIfNeeded) {
+ alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;
+ if (alignWithTop) {
+ util.scrollTop(container, containerScroll.top + diffTop.top);
+ } else {
+ util.scrollTop(container, containerScroll.top + diffBottom.top);
+ }
+ }
+ }
+
+ if (allowHorizontalScroll) {
+ if (diffTop.left < 0 || diffBottom.left > 0) {
+ // 强制向上
+ if (alignWithLeft === true) {
+ util.scrollLeft(container, containerScroll.left + diffTop.left);
+ } else if (alignWithLeft === false) {
+ util.scrollLeft(container, containerScroll.left + diffBottom.left);
+ } else {
+ // 自动调整
+ if (diffTop.left < 0) {
+ util.scrollLeft(container, containerScroll.left + diffTop.left);
+ } else {
+ util.scrollLeft(container, containerScroll.left + diffBottom.left);
+ }
+ }
+ } else {
+ if (!onlyScrollIfNeeded) {
+ alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;
+ if (alignWithLeft) {
+ util.scrollLeft(container, containerScroll.left + diffTop.left);
+ } else {
+ util.scrollLeft(container, containerScroll.left + diffBottom.left);
+ }
+ }
+ }
+ }
+ }
+
+ module.exports = scrollIntoView;
+
+/***/ }),
+/* 448 */
+/***/ (function(module, exports) {
+
+ 'use strict';
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
+
+ var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
+
+ function getClientPosition(elem) {
+ var box = undefined;
+ var x = undefined;
+ var y = undefined;
+ var doc = elem.ownerDocument;
+ var body = doc.body;
+ var docElem = doc && doc.documentElement;
+ // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式
+ box = elem.getBoundingClientRect();
+
+ // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop
+ // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
+ // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin
+
+ x = box.left;
+ y = box.top;
+
+ // In IE, most of the time, 2 extra pixels are added to the top and left
+ // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and
+ // IE6 standards mode, this border can be overridden by setting the
+ // document element's border to zero -- thus, we cannot rely on the
+ // offset always being 2 pixels.
+
+ // In quirks mode, the offset can be determined by querying the body's
+ // clientLeft/clientTop, but in standards mode, it is found by querying
+ // the document element's clientLeft/clientTop. Since we already called
+ // getClientBoundingRect we have already forced a reflow, so it is not
+ // too expensive just to query them all.
+
+ // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的
+ // 窗口边框标准是设 documentElement ,quirks 时设置 body
+ // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去
+ // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置
+ // 标准 ie 下 docElem.clientTop 就是 border-top
+ // ie7 html 即窗口边框改变不了。永远为 2
+ // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0
+
+ x -= docElem.clientLeft || body.clientLeft || 0;
+ y -= docElem.clientTop || body.clientTop || 0;
+
+ return {
+ left: x,
+ top: y
+ };
+ }
+
+ function getScroll(w, top) {
+ var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];
+ var method = 'scroll' + (top ? 'Top' : 'Left');
+ if (typeof ret !== 'number') {
+ var d = w.document;
+ // ie6,7,8 standard mode
+ ret = d.documentElement[method];
+ if (typeof ret !== 'number') {
+ // quirks mode
+ ret = d.body[method];
+ }
+ }
+ return ret;
+ }
+
+ function getScrollLeft(w) {
+ return getScroll(w);
+ }
+
+ function getScrollTop(w) {
+ return getScroll(w, true);
+ }
+
+ function getOffset(el) {
+ var pos = getClientPosition(el);
+ var doc = el.ownerDocument;
+ var w = doc.defaultView || doc.parentWindow;
+ pos.left += getScrollLeft(w);
+ pos.top += getScrollTop(w);
+ return pos;
+ }
+ function _getComputedStyle(elem, name, computedStyle_) {
+ var val = '';
+ var d = elem.ownerDocument;
+ var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null);
+
+ // https://github.com/kissyteam/kissy/issues/61
+ if (computedStyle) {
+ val = computedStyle.getPropertyValue(name) || computedStyle[name];
+ }
+
+ return val;
+ }
+
+ var _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');
+ var RE_POS = /^(top|right|bottom|left)$/;
+ var CURRENT_STYLE = 'currentStyle';
+ var RUNTIME_STYLE = 'runtimeStyle';
+ var LEFT = 'left';
+ var PX = 'px';
+
+ function _getComputedStyleIE(elem, name) {
+ // currentStyle maybe null
+ // http://msdn.microsoft.com/en-us/library/ms535231.aspx
+ var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];
+
+ // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值
+ // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19
+ // 在 ie 下不对,需要直接用 offset 方式
+ // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了
+
+ // From the awesome hack by Dean Edwards
+ // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
+ // If we're not dealing with a regular pixel number
+ // but a number that has a weird ending, we need to convert it to pixels
+ // exclude left right for relativity
+ if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {
+ // Remember the original values
+ var style = elem.style;
+ var left = style[LEFT];
+ var rsLeft = elem[RUNTIME_STYLE][LEFT];
+
+ // prevent flashing of content
+ elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];
+
+ // Put in the new values to get a computed value out
+ style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;
+ ret = style.pixelLeft + PX;
+
+ // Revert the changed values
+ style[LEFT] = left;
+
+ elem[RUNTIME_STYLE][LEFT] = rsLeft;
+ }
+ return ret === '' ? 'auto' : ret;
+ }
+
+ var getComputedStyleX = undefined;
+ if (typeof window !== 'undefined') {
+ getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
+ }
+
+ function each(arr, fn) {
+ for (var i = 0; i < arr.length; i++) {
+ fn(arr[i]);
+ }
+ }
+
+ function isBorderBoxFn(elem) {
+ return getComputedStyleX(elem, 'boxSizing') === 'border-box';
+ }
+
+ var BOX_MODELS = ['margin', 'border', 'padding'];
+ var CONTENT_INDEX = -1;
+ var PADDING_INDEX = 2;
+ var BORDER_INDEX = 1;
+ var MARGIN_INDEX = 0;
+
+ function swap(elem, options, callback) {
+ var old = {};
+ var style = elem.style;
+ var name = undefined;
+
+ // Remember the old values, and insert the new ones
+ for (name in options) {
+ if (options.hasOwnProperty(name)) {
+ old[name] = style[name];
+ style[name] = options[name];
+ }
+ }
+
+ callback.call(elem);
+
+ // Revert the old values
+ for (name in options) {
+ if (options.hasOwnProperty(name)) {
+ style[name] = old[name];
+ }
+ }
+ }
+
+ function getPBMWidth(elem, props, which) {
+ var value = 0;
+ var prop = undefined;
+ var j = undefined;
+ var i = undefined;
+ for (j = 0; j < props.length; j++) {
+ prop = props[j];
+ if (prop) {
+ for (i = 0; i < which.length; i++) {
+ var cssProp = undefined;
+ if (prop === 'border') {
+ cssProp = prop + which[i] + 'Width';
+ } else {
+ cssProp = prop + which[i];
+ }
+ value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
+ }
+ }
+ }
+ return value;
+ }
+
+ /**
+ * A crude way of determining if an object is a window
+ * @member util
+ */
+ function isWindow(obj) {
+ // must use == for ie8
+ /* eslint eqeqeq:0 */
+ return obj != null && obj == obj.window;
+ }
+
+ var domUtils = {};
+
+ each(['Width', 'Height'], function (name) {
+ domUtils['doc' + name] = function (refWin) {
+ var d = refWin.document;
+ return Math.max(
+ // firefox chrome documentElement.scrollHeight< body.scrollHeight
+ // ie standard mode : documentElement.scrollHeight> body.scrollHeight
+ d.documentElement['scroll' + name],
+ // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?
+ d.body['scroll' + name], domUtils['viewport' + name](d));
+ };
+
+ domUtils['viewport' + name] = function (win) {
+ // pc browser includes scrollbar in window.innerWidth
+ var prop = 'client' + name;
+ var doc = win.document;
+ var body = doc.body;
+ var documentElement = doc.documentElement;
+ var documentElementProp = documentElement[prop];
+ // 标准模式取 documentElement
+ // backcompat 取 body
+ return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;
+ };
+ });
+
+ /*
+ 得到元素的大小信息
+ @param elem
+ @param name
+ @param {String} [extra] 'padding' : (css width) + padding
+ 'border' : (css width) + padding + border
+ 'margin' : (css width) + padding + border + margin
+ */
+ function getWH(elem, name, extra) {
+ if (isWindow(elem)) {
+ return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
+ } else if (elem.nodeType === 9) {
+ return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
+ }
+ var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
+ var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;
+ var computedStyle = getComputedStyleX(elem);
+ var isBorderBox = isBorderBoxFn(elem, computedStyle);
+ var cssBoxValue = 0;
+ if (borderBoxValue == null || borderBoxValue <= 0) {
+ borderBoxValue = undefined;
+ // Fall back to computed then un computed css if necessary
+ cssBoxValue = getComputedStyleX(elem, name);
+ if (cssBoxValue == null || Number(cssBoxValue) < 0) {
+ cssBoxValue = elem.style[name] || 0;
+ }
+ // Normalize '', auto, and prepare for extra
+ cssBoxValue = parseFloat(cssBoxValue) || 0;
+ }
+ if (extra === undefined) {
+ extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
+ }
+ var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;
+ var val = borderBoxValue || cssBoxValue;
+ if (extra === CONTENT_INDEX) {
+ if (borderBoxValueOrIsBorderBox) {
+ return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);
+ }
+ return cssBoxValue;
+ }
+ if (borderBoxValueOrIsBorderBox) {
+ var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle);
+ return val + (extra === BORDER_INDEX ? 0 : padding);
+ }
+ return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);
+ }
+
+ var cssShow = {
+ position: 'absolute',
+ visibility: 'hidden',
+ display: 'block'
+ };
+
+ // fix #119 : https://github.com/kissyteam/kissy/issues/119
+ function getWHIgnoreDisplay(elem) {
+ var val = undefined;
+ var args = arguments;
+ // in case elem is window
+ // elem.offsetWidth === undefined
+ if (elem.offsetWidth !== 0) {
+ val = getWH.apply(undefined, args);
+ } else {
+ swap(elem, cssShow, function () {
+ val = getWH.apply(undefined, args);
+ });
+ }
+ return val;
+ }
+
+ function css(el, name, v) {
+ var value = v;
+ if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {
+ for (var i in name) {
+ if (name.hasOwnProperty(i)) {
+ css(el, i, name[i]);
+ }
+ }
+ return undefined;
+ }
+ if (typeof value !== 'undefined') {
+ if (typeof value === 'number') {
+ value += 'px';
+ }
+ el.style[name] = value;
+ return undefined;
+ }
+ return getComputedStyleX(el, name);
+ }
+
+ each(['width', 'height'], function (name) {
+ var first = name.charAt(0).toUpperCase() + name.slice(1);
+ domUtils['outer' + first] = function (el, includeMargin) {
+ return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
+ };
+ var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
+
+ domUtils[name] = function (elem, val) {
+ if (val !== undefined) {
+ if (elem) {
+ var computedStyle = getComputedStyleX(elem);
+ var isBorderBox = isBorderBoxFn(elem);
+ if (isBorderBox) {
+ val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);
+ }
+ return css(elem, name, val);
+ }
+ return undefined;
+ }
+ return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
+ };
+ });
+
+ // 设置 elem 相对 elem.ownerDocument 的坐标
+ function setOffset(elem, offset) {
+ // set position first, in-case top/left are set even on static elem
+ if (css(elem, 'position') === 'static') {
+ elem.style.position = 'relative';
+ }
+
+ var old = getOffset(elem);
+ var ret = {};
+ var current = undefined;
+ var key = undefined;
+
+ for (key in offset) {
+ if (offset.hasOwnProperty(key)) {
+ current = parseFloat(css(elem, key)) || 0;
+ ret[key] = current + offset[key] - old[key];
+ }
+ }
+ css(elem, ret);
+ }
+
+ module.exports = _extends({
+ getWindow: function getWindow(node) {
+ var doc = node.ownerDocument || node;
+ return doc.defaultView || doc.parentWindow;
+ },
+ offset: function offset(el, value) {
+ if (typeof value !== 'undefined') {
+ setOffset(el, value);
+ } else {
+ return getOffset(el);
+ }
+ },
+
+ isWindow: isWindow,
+ each: each,
+ css: css,
+ clone: function clone(obj) {
+ var ret = {};
+ for (var i in obj) {
+ if (obj.hasOwnProperty(i)) {
+ ret[i] = obj[i];
+ }
+ }
+ var overflow = obj.overflow;
+ if (overflow) {
+ for (var i in obj) {
+ if (obj.hasOwnProperty(i)) {
+ ret.overflow[i] = obj.overflow[i];
+ }
+ }
+ }
+ return ret;
+ },
+ scrollLeft: function scrollLeft(w, v) {
+ if (isWindow(w)) {
+ if (v === undefined) {
+ return getScrollLeft(w);
+ }
+ window.scrollTo(v, getScrollTop(w));
+ } else {
+ if (v === undefined) {
+ return w.scrollLeft;
+ }
+ w.scrollLeft = v;
+ }
+ },
+ scrollTop: function scrollTop(w, v) {
+ if (isWindow(w)) {
+ if (v === undefined) {
+ return getScrollTop(w);
+ }
+ window.scrollTo(getScrollLeft(w), v);
+ } else {
+ if (v === undefined) {
+ return w.scrollTop;
+ }
+ w.scrollTop = v;
+ }
+ },
+
+ viewportWidth: 0,
+ viewportHeight: 0
+ }, domUtils);
+
+/***/ }),
+/* 449 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ 'use strict';
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ var propTypes = {
+ disabled: _propTypes2["default"].bool,
+ value: _propTypes2["default"].string
+ };
+
+ var Option = function (_React$Component) {
+ _inherits(Option, _React$Component);
+
+ function Option() {
+ _classCallCheck(this, Option);
+
+ return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
+ }
+
+ return Option;
+ }(_react2["default"].Component);
+
+ Option.propTypes = propTypes;
+ exports["default"] = Option;
+ module.exports = exports['default'];
+
+/***/ }),
+/* 450 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ exports["default"] = renderInput;
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ /**
+ * 渲染输入框
+ * @param Form
+ * @param Input
+ * @param Icon
+ * @returns {InputRender}
+ */
+ function renderInput(Form, Input, Icon) {
+ var _class, _temp2;
+
+ return _temp2 = _class = function (_Component) {
+ _inherits(InputRender, _Component);
+
+ function InputRender() {
+ var _temp, _this, _ret;
+
+ _classCallCheck(this, InputRender);
+
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
+ value: _this.props.value,
+ editable: false
+ }, _this.handleChange = function (e) {
+ var value = e;
+ _this.setState({ value: value });
+ }, _this.check = function () {
+ if (typeof _this.flag === "undefined" || _this.flag) {
+ _this.props.check(_this.flag, _this.obj);
+ _this.setState({ editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(_this.state.value);
+ }
+ _this.flag = undefined;
+ }
+ }, _this.checkValidate = function (flag, obj) {
+ _this.flag = flag;
+ _this.obj = obj;
+ }, _this.edit = function () {
+ _this.setState({ editable: true });
+ }, _this.handleKeydown = function (event) {
+ if (event.keyCode == 13) {
+ _this.check();
+ } else if (event.keyCode == 9) {}
+ }, _this.formatCurrency = function (money) {
+ if (money && money != null && !!Number(money)) {
+ money = String(money);
+ var left = money.split(".")[0],
+ right = money.split(".")[1];
+ right = right ? right.length >= 2 ? "." + right.substr(0, 2) : "." + right + "0" : ".00";
+ var temp = left.split("").reverse().join("").match(/(\d{1,3})/g);
+ return (Number(money) < 0 ? "-" : "") + temp.join(",").split("").reverse().join("") + right;
+ } else if (money === 0) {
+ //注意===在这里的使用,如果传入的money为0,if中会将其判定为boolean类型,故而要另外做===判断
+ return "0.00";
+ } else {
+ return "";
+ }
+ }, _temp), _possibleConstructorReturn(_this, _ret);
+ }
+ //货币的格式化方法
+
+
+ InputRender.prototype.render = function render() {
+ var _state = this.state,
+ value = _state.value,
+ editable = _state.editable;
+
+ var _props = this.props,
+ name = _props.name,
+ placeholder = _props.placeholder,
+ isclickTrigger = _props.isclickTrigger,
+ format = _props.format,
+ formItemClassName = _props.formItemClassName,
+ mesClassName = _props.mesClassName,
+ check = _props.check,
+ other = _objectWithoutProperties(_props, ["name", "placeholder", "isclickTrigger", "format", "formItemClassName", "mesClassName", "check"]);
+
+ var cellContent = "";
+ if (editable) {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Form.FormItem,
+ _extends({
+ className: "formItem-style " + formItemClassName,
+ mesClassName: "errMessage-style " + mesClassName,
+ change: this.handleChange,
+ blur: this.check,
+ check: this.checkValidate
+ }, other),
+ _react2["default"].createElement(Input, {
+ name: name,
+ placeholder: placeholder,
+ onKeyDown: this.handleKeydown,
+ autoFocus: true,
+ value: value
+ })
+ )
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Form.FormItem,
+ _extends({
+ className: "formItem-style " + formItemClassName,
+ mesClassName: "errMessage-style " + mesClassName,
+ change: this.handleChange,
+ blur: this.check,
+ check: this.checkValidate
+ }, other),
+ _react2["default"].createElement(Input, {
+ name: name,
+ placeholder: placeholder,
+ onKeyDown: this.handleKeydown,
+ autoFocus: true,
+ value: value
+ })
+ ),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ );
+ } else {
+ if (format && format === "Currency") {
+ value = this.formatCurrency(value);
+ }
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper", onClick: this.edit },
+ value || " "
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper" },
+ value || " ",
+ _react2["default"].createElement(Icon, {
+ type: "uf-pencil",
+ className: "editable-cell-icon",
+ onClick: this.edit
+ })
+ );
+ }
+ return _react2["default"].createElement(
+ "div",
+ { className: "editable-cell" },
+ cellContent
+ );
+ };
+
+ return InputRender;
+ }(_react.Component), _class.propTypes = {
+ check: _propTypes2["default"].func
+ }, _class.defaultProps = {
+ check: function check() {
+ return "";
+ }
+ }, _temp2;
+ }
+ module.exports = exports["default"];
+
+/***/ }),
+/* 451 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ exports["default"] = renderDate;
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _moment = __webpack_require__(227);
+
+ var _moment2 = _interopRequireDefault(_moment);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ function renderDate(DatePicker, Icon) {
+ var _class, _temp2;
+
+ var MonthPicker = DatePicker.MonthPicker,
+ RangePicker = DatePicker.RangePicker,
+ WeekPicker = DatePicker.WeekPicker;
+
+ return _temp2 = _class = function (_Component) {
+ _inherits(DateRender, _Component);
+
+ function DateRender() {
+ var _temp, _this, _ret;
+
+ _classCallCheck(this, DateRender);
+
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
+ value: _this.props.value,
+ editable: false
+ }, _this.handleChange = function (e) {
+ var _ref = _this.props || "YYYY-MM-DD",
+ format = _ref.format;
+
+ var value = e ? e.format(format) : "";
+ _this.setState({ value: value, editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(value);
+ }
+ }, _this.check = function () {
+ _this.setState({ editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(_this.state.value);
+ }
+ }, _this.edit = function () {
+ _this.setState({ editable: true });
+ }, _this.handleKeydown = function (event) {
+ if (event.keyCode == 13) {
+ _this.check();
+ }
+ }, _temp), _possibleConstructorReturn(_this, _ret);
+ }
+
+ DateRender.prototype.render = function render() {
+ var _state = this.state,
+ value = _state.value,
+ editable = _state.editable;
+ var _props = this.props,
+ isclickTrigger = _props.isclickTrigger,
+ type = _props.type;
+
+ var cellContent = "";
+ var TComponent = void 0;
+ switch (type.toLowerCase()) {
+ case "monthpicker":
+ TComponent = MonthPicker;
+ break;
+ // case "rangepicker":
+ // TComponent = RangePicker;
+ // break;
+ case "weekpicker":
+ TComponent = WeekPicker;
+ break;
+ default:
+ TComponent = DatePicker;
+ break;
+ }
+
+ var date_value = value ? (0, _moment2["default"])(value) : value;
+ if (editable) {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(TComponent, _extends({}, this.props, {
+ value: date_value,
+ onChange: this.handleChange
+ })),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(TComponent, _extends({}, this.props, {
+ value: date_value,
+ onChange: this.handleChange
+ })),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ );
+ } else {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper", onClick: this.edit },
+ value || " "
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper" },
+ value || " ",
+ _react2["default"].createElement(Icon, {
+ type: "uf-pencil",
+ className: "editable-cell-icon",
+ onClick: this.edit
+ })
+ );
+ }
+ return _react2["default"].createElement(
+ "div",
+ { className: "editable-cell" },
+ cellContent
+ );
+ };
+
+ return DateRender;
+ }(_react.Component), _class.defaultProps = {
+ type: "DatePicker"
+ }, _temp2;
+ }
+ module.exports = exports["default"];
+
+/***/ }),
+/* 452 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ "use strict";
+
+ Object.defineProperty(exports, "__esModule", {
+ value: true
+ });
+
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+ exports["default"] = renderSelect;
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ var _propTypes = __webpack_require__(5);
+
+ var _propTypes2 = _interopRequireDefault(_propTypes);
+
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }
+
+ /**
+ * 渲染下拉框
+ * @param Select
+ * @param Icon
+ * @returns {SelectRender}
+ */
+ function renderSelect(Select, Icon) {
+ var _class, _temp2;
+
+ return _temp2 = _class = function (_Component) {
+ _inherits(SelectRender, _Component);
+
+ function SelectRender() {
+ var _temp, _this, _ret;
+
+ _classCallCheck(this, SelectRender);
+
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
+ value: _this.props.value,
+ editable: false
+ }, _this.handleChange = function (e) {
+ var value = e;
+ if (_this.props.onChange) {
+ _this.props.onChange(value);
+ }
+ _this.setState({ value: value });
+ setTimeout(function () {
+ _this.setState({ editable: false });
+ }, 0);
+ }, _this.check = function () {
+ _this.setState({ editable: false });
+ if (_this.props.onChange) {
+ _this.props.onChange(_this.state.value);
+ }
+ }, _this.edit = function () {
+ _this.setState({ editable: true });
+ }, _temp), _possibleConstructorReturn(_this, _ret);
+ }
+
+ SelectRender.prototype.render = function render() {
+ var _this2 = this;
+
+ var _state = this.state,
+ value = _state.value,
+ editable = _state.editable;
+ var _props = this.props,
+ isclickTrigger = _props.isclickTrigger,
+ dataSource = _props.dataSource;
+
+ var cellContent = "";
+ if (editable) {
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Select,
+ _extends({}, this.props, {
+ value: this.state.value,
+ onBlur: function onBlur(value) {
+ console.log(value);
+ // this.props.onBlur();
+ },
+
+ onFocus: function onFocus(value) {
+ console.log(value);
+ // this.props.onBlur();
+ },
+
+ onChange: this.handleChange
+ }),
+ this.props.children
+ ),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-input-wrapper" },
+ _react2["default"].createElement(
+ Select,
+ _extends({}, this.props, {
+ value: this.state.value,
+ onBlur: function onBlur() {
+ _this2.setState({
+ editable: true
+ });
+ _this2.props.onBlur();
+ },
+ onChange: this.handleChange
+ }),
+ this.props.children
+ ),
+ _react2["default"].createElement(Icon, {
+ type: "uf-correct",
+ className: "editable-cell-icon-check",
+ onClick: this.check
+ })
+ );
+ } else {
+ if (dataSource && dataSource.length > 0) {
+ for (var index = 0; index < dataSource.length; index++) {
+ var element = dataSource[index];
+ if (element.value === value) {
+ value = element.key;
+ break;
+ }
+ }
+ }
+ cellContent = isclickTrigger ? _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper", onClick: this.edit },
+ value || " "
+ ) : _react2["default"].createElement(
+ "div",
+ { className: "editable-cell-text-wrapper" },
+ value || " ",
+ _react2["default"].createElement(Icon, {
+ type: "uf-pencil",
+ className: "editable-cell-icon",
+ onClick: this.edit
+ })
+ );
+ }
+ return _react2["default"].createElement(
+ "div",
+ { className: "editable-cell" },
+ cellContent
+ );
+ };
+
+ return SelectRender;
+ }(_react.Component), _class.propTypes = {
+ dataSource: _propTypes2["default"].array
+ }, _temp2;
+ }
module.exports = exports["default"];
/***/ }),
@@ -53683,10 +53673,6 @@
var _src2 = _interopRequireDefault(_src);
- var _multiSelect = __webpack_require__(124);
-
- var _multiSelect2 = _interopRequireDefault(_multiSelect);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -53722,8 +53708,6 @@
var data16 = [{ a: "令狐冲", b: "男", c: 41, d: "操作", key: "1" }, { a: "杨过", b: "男", c: 67, d: "操作", key: "2" }, { a: "郭靖", b: "男", c: 25, d: "操作", key: "3" }];
- // let Table1 = multiSelect(Table)
-
var Demo16 = function (_Component) {
_inherits(Demo16, _Component);
@@ -54141,26 +54125,22 @@
var _beeIcon2 = _interopRequireDefault(_beeIcon);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
- var _beeCheckbox = __webpack_require__(121);
+ var _beeForm = __webpack_require__(137);
- var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
+ var _beeForm2 = _interopRequireDefault(_beeForm);
- var _beeSelect = __webpack_require__(139);
+ var _beeSelect = __webpack_require__(418);
var _beeSelect2 = _interopRequireDefault(_beeSelect);
- var _InputRender = __webpack_require__(171);
+ var _InputRender = __webpack_require__(450);
var _InputRender2 = _interopRequireDefault(_InputRender);
- var _DateRender = __webpack_require__(184);
-
- var _DateRender2 = _interopRequireDefault(_DateRender);
-
var _SelectRender = __webpack_require__(452);
var _SelectRender2 = _interopRequireDefault(_SelectRender);
@@ -54182,12 +54162,11 @@
*
*/
- var format = "YYYY-MM-DD";
- var format2 = "YYYY-MM";
- var format3 = "YYYY-MM-DD HH:mm:ss";
+ var InputRender = (0, _InputRender2["default"])(_beeForm2["default"], _beeFormControl2["default"], _beeIcon2["default"]);
+ var SelectRender = (0, _SelectRender2["default"])(_beeSelect2["default"], _beeIcon2["default"]);
+
+ var Option = _beeSelect2["default"].Option;
- var dateInputPlaceholder = "选择日期";
- var dateInputPlaceholder2 = "选择年月";
var dataSource = [{
key: "boyuzhou",
value: "jack"
@@ -54228,14 +54207,6 @@
};
};
- _this.onCheckChange = function (index, key) {
- return function (value) {
- var dataSource = [].concat(_toConsumableArray(_this.state.dataSource));
- dataSource[index][key] = value;
- _this.setState({ dataSource: dataSource });
- };
- };
-
_this.onSelectChange = function (index, key) {
return function (value) {
console.log("selected " + value);
@@ -54245,22 +54216,6 @@
};
};
- _this.onDateChange = function (d) {
- console.log(d);
- };
-
- _this.onDateSelect = function (d) {
- console.log(d);
- };
-
- _this.onDelete = function (index) {
- return function () {
- var dataSource = [].concat(_toConsumableArray(_this.state.dataSource));
- dataSource.splice(index, 1);
- _this.setState({ dataSource: dataSource });
- };
- };
-
_this.handleAdd = function () {
var _this$state = _this.state,
count = _this$state.count,
@@ -54338,7 +54293,7 @@
key: "number",
width: "150px",
render: function render(text, record, index) {
- return _react2["default"].createElement(_InputRender2["default"], {
+ return _react2["default"].createElement(InputRender, {
format: "Currency",
name: "name",
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D",
@@ -54366,7 +54321,7 @@
width: "200px",
render: function render(text, record, index) {
return _react2["default"].createElement(
- _SelectRender2["default"],
+ SelectRender,
{
dataSource: dataSource,
isclickTrigger: true,
@@ -54472,7 +54427,7 @@
var _beeIcon2 = _interopRequireDefault(_beeIcon);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
@@ -55239,6 +55194,14 @@
var _beeIcon2 = _interopRequireDefault(_beeIcon);
+ var _beeCheckbox = __webpack_require__(121);
+
+ var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
+
+ var _beePopover = __webpack_require__(65);
+
+ var _beePopover2 = _interopRequireDefault(_beePopover);
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -55281,7 +55244,7 @@
var data21 = [{ a: "杨过", b: "男", c: 30, d: '内行', key: "2" }, { a: "令狐冲", b: "男", c: 41, d: '大侠', key: "1" }, { a: "郭靖", b: "男", c: 25, d: '大侠', key: "3" }];
- var FilterColumnTable = (0, _filterColumn2['default'])((0, _sum2['default'])(_src2['default']));
+ var FilterColumnTable = (0, _filterColumn2['default'])((0, _sum2['default'])(_src2['default']), _beeCheckbox2['default'], _beePopover2['default'], _beeIcon2['default']);
var defaultProps21 = {
prefixCls: "bee-table"
@@ -55327,22 +55290,6 @@
var _react2 = _interopRequireDefault(_react);
- var _beeIcon = __webpack_require__(118);
-
- var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
- var _beeCheckbox = __webpack_require__(121);
-
- var _beeCheckbox2 = _interopRequireDefault(_beeCheckbox);
-
- var _reactDom = __webpack_require__(12);
-
- var _reactDom2 = _interopRequireDefault(_reactDom);
-
- var _beePopover = __webpack_require__(65);
-
- var _beePopover2 = _interopRequireDefault(_beePopover);
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@@ -55356,16 +55303,19 @@
/**
* 参数: 过滤表头
* @param {*} Table
+ * @param {*} Checkbox
+ * @param {*} Popover
+ * @param {*} Icon
*/
- function filterColumn(Table) {
+ function filterColumn(Table, Checkbox, Popover, Icon) {
var _class, _temp, _initialiseProps;
return _temp = _class = function (_Component) {
- _inherits(filterColumn, _Component);
+ _inherits(FilterColumn, _Component);
- function filterColumn(props) {
- _classCallCheck(this, filterColumn);
+ function FilterColumn(props) {
+ _classCallCheck(this, FilterColumn);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -55389,7 +55339,7 @@
return _this;
}
- filterColumn.prototype.render = function render() {
+ FilterColumn.prototype.render = function render() {
var _props = this.props,
data = _props.data,
prefixCls = _props.prefixCls;
@@ -55427,7 +55377,7 @@
{ className: prefixCls + "-cont" },
_react2["default"].createElement(Table, _extends({}, this.props, { columns: _columns, data: data })),
_react2["default"].createElement(
- _beePopover2["default"],
+ Popover,
{
placement: "leftTop",
content: content, id: "aa",
@@ -55435,13 +55385,13 @@
_react2["default"].createElement(
"div",
{ className: prefixCls + "-pop-column-filter" },
- _react2["default"].createElement(_beeIcon2["default"], { type: "uf-navmenu", onClick: this.openCloumList })
+ _react2["default"].createElement(Icon, { type: "uf-navmenu", onClick: this.openCloumList })
)
)
);
};
- return filterColumn;
+ return FilterColumn;
}(_react.Component), _class.defaultProps = {
prefixCls: "u-table-filter-column"
}, _initialiseProps = function _initialiseProps() {
@@ -55458,8 +55408,6 @@
};
this.checkedColumItemClick = function (da) {
- var columns = _this2.state.columns;
-
da.checked = da.checked ? false : true;
da.disable = da.checked ? true : false;
_this2.setState(_extends({}, _this2.state));
@@ -55484,7 +55432,7 @@
{ key: da.key + "_" + i, className: prefixCls + "-pop-cont-item", onClick: function onClick() {
_this2.checkedColumItemClick(da);
} },
- _react2["default"].createElement(_beeCheckbox2["default"], { id: da.key, checked: da.checked }),
+ _react2["default"].createElement(Checkbox, { id: da.key, checked: da.checked }),
_react2["default"].createElement(
"span",
null,
@@ -55624,20 +55572,14 @@
var _react2 = _interopRequireDefault(_react);
- var _beeIcon = __webpack_require__(118);
-
- var _beeIcon2 = _interopRequireDefault(_beeIcon);
-
- var _reactDom = __webpack_require__(12);
-
- var _reactDom2 = _interopRequireDefault(_reactDom);
-
var _util = __webpack_require__(468);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
@@ -55653,10 +55595,10 @@
var _class, _temp, _initialiseProps;
return _temp = _class = function (_Component) {
- _inherits(dragColumn, _Component);
+ _inherits(DragColumn, _Component);
- function dragColumn(props) {
- _classCallCheck(this, dragColumn);
+ function DragColumn(props) {
+ _classCallCheck(this, DragColumn);
var _this = _possibleConstructorReturn(this, _Component.call(this, props));
@@ -55668,33 +55610,41 @@
return _this;
}
- dragColumn.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ DragColumn.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
if (nextProps.columns != this.props.columns) {
this.setColumOrderByIndex();
}
};
- dragColumn.prototype.render = function render() {
+ DragColumn.prototype.render = function render() {
var _props = this.props,
data = _props.data,
dragborder = _props.dragborder,
draggable = _props.draggable,
- className = _props.className;
+ className = _props.className,
+ columns = _props.columns,
+ onDragStart = _props.onDragStart,
+ onDragEnter = _props.onDragEnter,
+ onDragOver = _props.onDragOver,
+ onDrop = _props.onDrop,
+ others = _objectWithoutProperties(_props, ["data", "dragborder", "draggable", "className", "columns", "onDragStart", "onDragEnter", "onDragOver", "onDrop"]);
var key = new Date().getTime();
- var columns = this.state.columns;
-
- return _react2["default"].createElement(Table, _extends({}, this.props, { columns: columns, data: data, className: className + " u-table-drag-border",
- onDragStart: this.onDragStart, onDragOver: this.onDragOver, onDrop: this.onDrop,
+ return _react2["default"].createElement(Table, _extends({}, others, {
+ columns: this.state.columns,
+ data: data,
+ className: className + " u-table-drag-border",
+ onDragStart: this.onDragStart,
+ onDragOver: this.onDragOver,
+ onDrop: this.onDrop,
onDragEnter: this.onDragEnter,
draggable: draggable,
-
dragborder: dragborder,
dragborderKey: key
}));
};
- return dragColumn;
+ return DragColumn;
}(_react.Component), _initialiseProps = function _initialiseProps() {
var _this2 = this;
@@ -55710,9 +55660,13 @@
};
};
- this.onDragStart = function (event, data) {};
+ this.onDragStart = function (event, data) {
+ _this2.props.onDragStart(event, data);
+ };
- this.onDragOver = function (event, data) {};
+ this.onDragOver = function (event, data) {
+ _this2.props.onDragOver(event, data);
+ };
this.onDragEnter = function (event, data) {
var _columns = _this2.state.columns;
@@ -55729,6 +55683,7 @@
_this2.setState({
columns: columns
});
+ _this2.props.onDragEnter(event, data);
};
this.onDrop = function (event, data) {
@@ -55759,6 +55714,7 @@
_this2.setState({
columns: _columns
});
+ _this2.props.onDrop(event, data);
};
this.getTarget = function (evt) {
@@ -57171,11 +57127,11 @@
var _beeIcon2 = _interopRequireDefault(_beeIcon);
- var _beeInputGroup = __webpack_require__(177);
+ var _beeInputGroup = __webpack_require__(142);
var _beeInputGroup2 = _interopRequireDefault(_beeInputGroup);
- var _beeFormControl = __webpack_require__(137);
+ var _beeFormControl = __webpack_require__(149);
var _beeFormControl2 = _interopRequireDefault(_beeFormControl);
diff --git a/dist/demo.js.map b/dist/demo.js.map
index 0197778..11dcc63 100644
--- a/dist/demo.js.map
+++ b/dist/demo.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///webpack/bootstrap 141dfa873fe1329b8f7c","webpack:///./demo/index.js","webpack:///./~/bee-layout/build/index.js","webpack:///./~/bee-layout/build/Col.js","webpack:///./~/classnames/index.js","webpack:///external \"React\"","webpack:///external \"PropTypes\"","webpack:///./~/bee-layout/build/Row.js","webpack:///./~/bee-layout/build/Layout.js","webpack:///./~/bee-panel/build/index.js","webpack:///./~/bee-panel/build/Panel.js","webpack:///./~/bee-transition/build/index.js","webpack:///./~/bee-transition/build/Transition.js","webpack:///external \"ReactDOM\"","webpack:///./~/dom-helpers/transition/properties.js","webpack:///./~/dom-helpers/util/inDOM.js","webpack:///./~/dom-helpers/events/on.js","webpack:///./~/bee-transition/build/Collapse.js","webpack:///./~/dom-helpers/style/index.js","webpack:///./~/dom-helpers/util/camelizeStyle.js","webpack:///./~/dom-helpers/util/camelize.js","webpack:///./~/dom-helpers/util/hyphenateStyle.js","webpack:///./~/dom-helpers/util/hyphenate.js","webpack:///./~/dom-helpers/style/getComputedStyle.js","webpack:///./~/dom-helpers/style/removeStyle.js","webpack:///./~/dom-helpers/transition/isTransform.js","webpack:///./~/bee-transition/build/util/capitalize.js","webpack:///./~/tinper-bee-core/lib/index.js","webpack:///./~/tinper-bee-core/lib/all.js","webpack:///./~/tinper-bee-core/lib/utils/createChainableTypeChecker.js","webpack:///./~/tinper-bee-core/lib/componentOrElement.js","webpack:///./~/tinper-bee-core/lib/deprecated.js","webpack:///./~/warning/browser.js","webpack:///./~/process/browser.js","webpack:///./~/tinper-bee-core/lib/elementType.js","webpack:///./~/tinper-bee-core/lib/isRequiredForA11y.js","webpack:///./~/tinper-bee-core/lib/splitComponent.js","webpack:///./~/tinper-bee-core/lib/createChainedFunction.js","webpack:///./~/tinper-bee-core/lib/keyCode.js","webpack:///./~/tinper-bee-core/lib/contains.js","webpack:///./~/tinper-bee-core/lib/addEventListener.js","webpack:///./~/add-dom-event-listener/lib/index.js","webpack:///./~/add-dom-event-listener/lib/EventObject.js","webpack:///./~/add-dom-event-listener/lib/EventBaseObject.js","webpack:///./~/object-assign/index.js","webpack:///./~/tinper-bee-core/lib/cssAnimation.js","webpack:///./~/tinper-bee-core/lib/Event.js","webpack:///./~/component-classes/index.js","webpack:///./~/component-indexof/index.js","webpack:///./~/tinper-bee-core/lib/toArray.js","webpack:///./~/tinper-bee-core/lib/Align.js","webpack:///./~/dom-align/lib/index.js","webpack:///./~/dom-align/lib/utils.js","webpack:///./~/dom-align/lib/propertyUtils.js","webpack:///./~/dom-align/lib/getOffsetParent.js","webpack:///./~/dom-align/lib/getVisibleRectForElement.js","webpack:///./~/dom-align/lib/isAncestorFixed.js","webpack:///./~/dom-align/lib/adjustForViewport.js","webpack:///./~/dom-align/lib/getRegion.js","webpack:///./~/dom-align/lib/getElFuturePos.js","webpack:///./~/dom-align/lib/getAlignOffset.js","webpack:///./~/bee-transition/build/Fade.js","webpack:///./~/bee-panel/build/PanelGroup.js","webpack:///./~/bee-button/build/index.js","webpack:///./~/bee-button/build/Button.js","webpack:///./demo/demolist/Demo1.js","webpack:///./~/bee-popover/build/index.js","webpack:///./~/bee-popover/build/Popover.js","webpack:///./~/bee-overlay/build/Overlay.js","webpack:///./~/bee-overlay/build/BaseOverlay.js","webpack:///./~/bee-overlay/build/Portal.js","webpack:///./~/bee-overlay/build/utils/ownerDocument.js","webpack:///./~/dom-helpers/ownerDocument.js","webpack:///./~/bee-overlay/build/utils/getContainer.js","webpack:///./~/bee-overlay/build/Position.js","webpack:///./~/bee-overlay/build/utils/calculatePosition.js","webpack:///./~/dom-helpers/query/offset.js","webpack:///./~/dom-helpers/query/contains.js","webpack:///./~/dom-helpers/query/isWindow.js","webpack:///./~/dom-helpers/query/position.js","webpack:///./~/dom-helpers/query/offsetParent.js","webpack:///./~/dom-helpers/query/scrollTop.js","webpack:///./~/dom-helpers/query/scrollLeft.js","webpack:///./~/bee-overlay/build/RootCloseWrapper.js","webpack:///./~/bee-overlay/build/utils/addEventListener.js","webpack:///./~/dom-helpers/events/off.js","webpack:///./~/bee-overlay/build/Fade.js","webpack:///./~/bee-overlay/build/Transition.js","webpack:///./~/bee-popover/build/Content.js","webpack:///./src/index.js","webpack:///./src/Table.js","webpack:///./src/TableRow.js","webpack:///./src/TableCell.js","webpack:///./~/object-path/index.js","webpack:///./src/ExpandIcon.js","webpack:///./~/shallowequal/index.js","webpack:///./src/TableHeader.js","webpack:///./src/utils.js","webpack:///./~/lodash/parseInt.js","webpack:///./~/lodash/_root.js","webpack:///./~/lodash/_freeGlobal.js","webpack:///./~/lodash/toString.js","webpack:///./~/lodash/_baseToString.js","webpack:///./~/lodash/_Symbol.js","webpack:///./~/lodash/_arrayMap.js","webpack:///./~/lodash/isArray.js","webpack:///./~/lodash/isSymbol.js","webpack:///./~/lodash/_baseGetTag.js","webpack:///./~/lodash/_getRawTag.js","webpack:///./~/lodash/_objectToString.js","webpack:///./~/lodash/isObjectLike.js","webpack:///./src/ColumnManager.js","webpack:///./src/Column.js","webpack:///./src/ColumnGroup.js","webpack:///./src/createStore.js","webpack:///./~/bee-loading/build/index.js","webpack:///./~/bee-loading/build/Loading.js","webpack:///./demo/demolist/Demo10.js","webpack:///./demo/demolist/Demo11.js","webpack:///./~/bee-icon/build/index.js","webpack:///./~/bee-icon/build/Icon.js","webpack:///./demo/demolist/Demo12.js","webpack:///./~/bee-checkbox/build/index.js","webpack:///./~/bee-checkbox/build/Checkbox.js","webpack:///./demo/demolist/Demo13.js","webpack:///./src/lib/multiSelect.js","webpack:///./src/lib/sort.js","webpack:///./src/lib/sum.js","webpack:///./demo/demolist/Demo14.js","webpack:///./~/bee-animate/build/index.js","webpack:///./~/bee-animate/build/Animate.js","webpack:///./~/bee-animate/build/ChildrenUtils.js","webpack:///./~/bee-animate/build/AnimateChild.js","webpack:///./~/bee-animate/build/util.js","webpack:///./~/bee-tooltip/build/index.js","webpack:///./~/bee-tooltip/build/Tooltip.js","webpack:///./~/bee-overlay/build/OverlayTrigger.js","webpack:///./~/bee-overlay/build/utils/createChainedFunction.js","webpack:///./~/bee-form-control/build/index.js","webpack:///./~/bee-form-control/build/FormControl.js","webpack:///./~/bee-select/build/index.js","webpack:///./~/bee-select/build/Select.js","webpack:///./~/bee-select/build/RcSelect.js","webpack:///./~/bee-menus/build/index.js","webpack:///./~/bee-menus/build/VerticalMenu.js","webpack:///./~/bee-menus/build/ExportMenu.js","webpack:///./~/bee-menus/build/Menu.js","webpack:///./~/bee-menus/build/util.js","webpack:///./~/bee-menus/build/DOMWrap.js","webpack:///./~/bee-menus/build/SubMenu.js","webpack:///./~/bee-menus/build/SubPopupMenu.js","webpack:///./~/bee-menus/build/MenuItem.js","webpack:///./~/bee-menus/build/MenuItemGroup.js","webpack:///./~/bee-menus/build/Divider.js","webpack:///./~/bee-menus/build/SideContainer.js","webpack:///./~/bee-menus/build/MenuToggle.js","webpack:///./~/bee-menus/build/_util/openAnimation.js","webpack:///./~/bee-menus/build/_util/warning.js","webpack:///./~/bee-select/build/OptGroup.js","webpack:///./~/bee-select/build/util.js","webpack:///./~/bee-select/build/SelectTrigger.js","webpack:///./~/bee-overlay/build/trigger/index.js","webpack:///./~/bee-overlay/build/trigger/Trigger.js","webpack:///./~/bee-overlay/build/trigger/Popup.js","webpack:///./~/bee-overlay/build/trigger/PopupInner.js","webpack:///./~/bee-overlay/build/trigger/LazyRenderBox.js","webpack:///./~/bee-overlay/build/trigger/utils.js","webpack:///./~/bee-select/build/DropdownMenu.js","webpack:///./~/dom-scroll-into-view/lib/index.js","webpack:///./~/dom-scroll-into-view/lib/dom-scroll-into-view.js","webpack:///./~/dom-scroll-into-view/lib/util.js","webpack:///./~/bee-select/build/Option.js","webpack:///./build/render/InputRender.js","webpack:///./~/bee-form/build/index.js","webpack:///./~/bee-form/build/Form.js","webpack:///./~/bee-label/build/index.js","webpack:///./~/bee-label/build/Label.js","webpack:///./~/bee-form/build/FormItem.js","webpack:///./~/bee-input-group/build/index.js","webpack:///./~/bee-input-group/build/InputGroup.js","webpack:///./~/bee-input-group-addon/build/index.js","webpack:///./~/bee-input-group-addon/build/InputGroupAddon.js","webpack:///./~/bee-input-group/build/InputGroupButton.js","webpack:///./~/lodash.isequal/index.js","webpack:///(webpack)/buildin/module.js","webpack:///./build/render/DateRender.js","webpack:///./~/bee-datepicker/build/index.js","webpack:///./~/bee-datepicker/build/DatePicker.js","webpack:///./~/rc-calendar/lib/index.js","webpack:///./~/rc-calendar/lib/Calendar.js","webpack:///./~/babel-runtime/helpers/extends.js","webpack:///./~/babel-runtime/core-js/object/assign.js","webpack:///./~/core-js/library/fn/object/assign.js","webpack:///./~/core-js/library/modules/es6.object.assign.js","webpack:///./~/core-js/library/modules/$.export.js","webpack:///./~/core-js/library/modules/$.global.js","webpack:///./~/core-js/library/modules/$.core.js","webpack:///./~/core-js/library/modules/$.ctx.js","webpack:///./~/core-js/library/modules/$.a-function.js","webpack:///./~/core-js/library/modules/$.object-assign.js","webpack:///./~/core-js/library/modules/$.js","webpack:///./~/core-js/library/modules/$.to-object.js","webpack:///./~/core-js/library/modules/$.defined.js","webpack:///./~/core-js/library/modules/$.iobject.js","webpack:///./~/core-js/library/modules/$.cof.js","webpack:///./~/core-js/library/modules/$.fails.js","webpack:///./~/create-react-class/index.js","webpack:///./~/create-react-class/factory.js","webpack:///./~/fbjs/lib/emptyObject.js","webpack:///./~/fbjs/lib/invariant.js","webpack:///./~/fbjs/lib/warning.js","webpack:///./~/fbjs/lib/emptyFunction.js","webpack:///./~/rc-util/lib/KeyCode.js","webpack:///./~/rc-calendar/lib/date/DateTable.js","webpack:///./~/babel-runtime/helpers/classCallCheck.js","webpack:///./~/babel-runtime/helpers/createClass.js","webpack:///./~/babel-runtime/core-js/object/define-property.js","webpack:///./~/core-js/library/fn/object/define-property.js","webpack:///./~/babel-runtime/helpers/possibleConstructorReturn.js","webpack:///./~/babel-runtime/helpers/typeof.js","webpack:///./~/babel-runtime/core-js/symbol/iterator.js","webpack:///./~/core-js/library/fn/symbol/iterator.js","webpack:///./~/core-js/library/modules/es6.string.iterator.js","webpack:///./~/core-js/library/modules/$.string-at.js","webpack:///./~/core-js/library/modules/$.to-integer.js","webpack:///./~/core-js/library/modules/$.iter-define.js","webpack:///./~/core-js/library/modules/$.library.js","webpack:///./~/core-js/library/modules/$.redefine.js","webpack:///./~/core-js/library/modules/$.hide.js","webpack:///./~/core-js/library/modules/$.property-desc.js","webpack:///./~/core-js/library/modules/$.descriptors.js","webpack:///./~/core-js/library/modules/$.has.js","webpack:///./~/core-js/library/modules/$.iterators.js","webpack:///./~/core-js/library/modules/$.iter-create.js","webpack:///./~/core-js/library/modules/$.set-to-string-tag.js","webpack:///./~/core-js/library/modules/$.wks.js","webpack:///./~/core-js/library/modules/$.shared.js","webpack:///./~/core-js/library/modules/$.uid.js","webpack:///./~/core-js/library/modules/web.dom.iterable.js","webpack:///./~/core-js/library/modules/es6.array.iterator.js","webpack:///./~/core-js/library/modules/$.add-to-unscopables.js","webpack:///./~/core-js/library/modules/$.iter-step.js","webpack:///./~/core-js/library/modules/$.to-iobject.js","webpack:///./~/babel-runtime/core-js/symbol.js","webpack:///./~/core-js/library/fn/symbol/index.js","webpack:///./~/core-js/library/modules/es6.symbol.js","webpack:///./~/core-js/library/modules/$.keyof.js","webpack:///./~/core-js/library/modules/$.get-names.js","webpack:///./~/core-js/library/modules/$.enum-keys.js","webpack:///./~/core-js/library/modules/$.is-array.js","webpack:///./~/core-js/library/modules/$.an-object.js","webpack:///./~/core-js/library/modules/$.is-object.js","webpack:///./~/babel-runtime/helpers/inherits.js","webpack:///./~/babel-runtime/core-js/object/set-prototype-of.js","webpack:///./~/core-js/library/fn/object/set-prototype-of.js","webpack:///./~/core-js/library/modules/es6.object.set-prototype-of.js","webpack:///./~/core-js/library/modules/$.set-proto.js","webpack:///./~/babel-runtime/core-js/object/create.js","webpack:///./~/core-js/library/fn/object/create.js","webpack:///./~/rc-calendar/lib/date/DateTHead.js","webpack:///./~/rc-calendar/lib/date/DateConstants.js","webpack:///./~/moment/moment.js","webpack:///./~/moment/locale ^\\.\\/.*$","webpack:///./~/moment/locale/af.js","webpack:///./~/moment/locale/ar.js","webpack:///./~/moment/locale/ar-dz.js","webpack:///./~/moment/locale/ar-kw.js","webpack:///./~/moment/locale/ar-ly.js","webpack:///./~/moment/locale/ar-ma.js","webpack:///./~/moment/locale/ar-sa.js","webpack:///./~/moment/locale/ar-tn.js","webpack:///./~/moment/locale/az.js","webpack:///./~/moment/locale/be.js","webpack:///./~/moment/locale/bg.js","webpack:///./~/moment/locale/bm.js","webpack:///./~/moment/locale/bn.js","webpack:///./~/moment/locale/bo.js","webpack:///./~/moment/locale/br.js","webpack:///./~/moment/locale/bs.js","webpack:///./~/moment/locale/ca.js","webpack:///./~/moment/locale/cs.js","webpack:///./~/moment/locale/cv.js","webpack:///./~/moment/locale/cy.js","webpack:///./~/moment/locale/da.js","webpack:///./~/moment/locale/de.js","webpack:///./~/moment/locale/de-at.js","webpack:///./~/moment/locale/de-ch.js","webpack:///./~/moment/locale/dv.js","webpack:///./~/moment/locale/el.js","webpack:///./~/moment/locale/en-au.js","webpack:///./~/moment/locale/en-ca.js","webpack:///./~/moment/locale/en-gb.js","webpack:///./~/moment/locale/en-ie.js","webpack:///./~/moment/locale/en-il.js","webpack:///./~/moment/locale/en-nz.js","webpack:///./~/moment/locale/eo.js","webpack:///./~/moment/locale/es.js","webpack:///./~/moment/locale/es-do.js","webpack:///./~/moment/locale/es-us.js","webpack:///./~/moment/locale/et.js","webpack:///./~/moment/locale/eu.js","webpack:///./~/moment/locale/fa.js","webpack:///./~/moment/locale/fi.js","webpack:///./~/moment/locale/fo.js","webpack:///./~/moment/locale/fr.js","webpack:///./~/moment/locale/fr-ca.js","webpack:///./~/moment/locale/fr-ch.js","webpack:///./~/moment/locale/fy.js","webpack:///./~/moment/locale/gd.js","webpack:///./~/moment/locale/gl.js","webpack:///./~/moment/locale/gom-latn.js","webpack:///./~/moment/locale/gu.js","webpack:///./~/moment/locale/he.js","webpack:///./~/moment/locale/hi.js","webpack:///./~/moment/locale/hr.js","webpack:///./~/moment/locale/hu.js","webpack:///./~/moment/locale/hy-am.js","webpack:///./~/moment/locale/id.js","webpack:///./~/moment/locale/is.js","webpack:///./~/moment/locale/it.js","webpack:///./~/moment/locale/ja.js","webpack:///./~/moment/locale/jv.js","webpack:///./~/moment/locale/ka.js","webpack:///./~/moment/locale/kk.js","webpack:///./~/moment/locale/km.js","webpack:///./~/moment/locale/kn.js","webpack:///./~/moment/locale/ko.js","webpack:///./~/moment/locale/ky.js","webpack:///./~/moment/locale/lb.js","webpack:///./~/moment/locale/lo.js","webpack:///./~/moment/locale/lt.js","webpack:///./~/moment/locale/lv.js","webpack:///./~/moment/locale/me.js","webpack:///./~/moment/locale/mi.js","webpack:///./~/moment/locale/mk.js","webpack:///./~/moment/locale/ml.js","webpack:///./~/moment/locale/mn.js","webpack:///./~/moment/locale/mr.js","webpack:///./~/moment/locale/ms.js","webpack:///./~/moment/locale/ms-my.js","webpack:///./~/moment/locale/mt.js","webpack:///./~/moment/locale/my.js","webpack:///./~/moment/locale/nb.js","webpack:///./~/moment/locale/ne.js","webpack:///./~/moment/locale/nl.js","webpack:///./~/moment/locale/nl-be.js","webpack:///./~/moment/locale/nn.js","webpack:///./~/moment/locale/pa-in.js","webpack:///./~/moment/locale/pl.js","webpack:///./~/moment/locale/pt.js","webpack:///./~/moment/locale/pt-br.js","webpack:///./~/moment/locale/ro.js","webpack:///./~/moment/locale/ru.js","webpack:///./~/moment/locale/sd.js","webpack:///./~/moment/locale/se.js","webpack:///./~/moment/locale/si.js","webpack:///./~/moment/locale/sk.js","webpack:///./~/moment/locale/sl.js","webpack:///./~/moment/locale/sq.js","webpack:///./~/moment/locale/sr.js","webpack:///./~/moment/locale/sr-cyrl.js","webpack:///./~/moment/locale/ss.js","webpack:///./~/moment/locale/sv.js","webpack:///./~/moment/locale/sw.js","webpack:///./~/moment/locale/ta.js","webpack:///./~/moment/locale/te.js","webpack:///./~/moment/locale/tet.js","webpack:///./~/moment/locale/tg.js","webpack:///./~/moment/locale/th.js","webpack:///./~/moment/locale/tl-ph.js","webpack:///./~/moment/locale/tlh.js","webpack:///./~/moment/locale/tr.js","webpack:///./~/moment/locale/tzl.js","webpack:///./~/moment/locale/tzm.js","webpack:///./~/moment/locale/tzm-latn.js","webpack:///./~/moment/locale/ug-cn.js","webpack:///./~/moment/locale/uk.js","webpack:///./~/moment/locale/ur.js","webpack:///./~/moment/locale/uz.js","webpack:///./~/moment/locale/uz-latn.js","webpack:///./~/moment/locale/vi.js","webpack:///./~/moment/locale/x-pseudo.js","webpack:///./~/moment/locale/yo.js","webpack:///./~/moment/locale/zh-cn.js","webpack:///./~/moment/locale/zh-hk.js","webpack:///./~/moment/locale/zh-tw.js","webpack:///./~/rc-calendar/lib/date/DateTBody.js","webpack:///./~/babel-runtime/helpers/defineProperty.js","webpack:///./~/rc-calendar/lib/util/index.js","webpack:///./~/rc-calendar/lib/calendar/CalendarHeader.js","webpack:///./~/rc-calendar/lib/month/MonthPanel.js","webpack:///./~/rc-calendar/lib/year/YearPanel.js","webpack:///./~/rc-calendar/lib/decade/DecadePanel.js","webpack:///./~/rc-calendar/lib/month/MonthTable.js","webpack:///./~/rc-util/lib/Children/mapSelf.js","webpack:///./~/rc-calendar/lib/calendar/CalendarFooter.js","webpack:///./~/rc-calendar/lib/calendar/TodayButton.js","webpack:///./~/rc-calendar/lib/calendar/OkButton.js","webpack:///./~/rc-calendar/lib/calendar/TimePickerButton.js","webpack:///./~/rc-calendar/lib/mixin/CalendarMixin.js","webpack:///./~/rc-calendar/lib/mixin/CommonMixin.js","webpack:///./~/rc-calendar/lib/locale/en_US.js","webpack:///./~/rc-calendar/lib/date/DateInput.js","webpack:///./~/rc-calendar/lib/Picker.js","webpack:///./~/rc-util/lib/createChainedFunction.js","webpack:///./~/rc-calendar/lib/picker/placements.js","webpack:///./~/rc-trigger/lib/index.js","webpack:///./~/rc-util/lib/Dom/contains.js","webpack:///./~/rc-util/lib/Dom/addEventListener.js","webpack:///./~/rc-trigger/lib/Popup.js","webpack:///./~/rc-align/lib/index.js","webpack:///./~/rc-align/lib/Align.js","webpack:///./~/rc-align/lib/isWindow.js","webpack:///./~/rc-animate/lib/Animate.js","webpack:///./~/rc-animate/lib/ChildrenUtils.js","webpack:///./~/rc-animate/lib/AnimateChild.js","webpack:///./~/css-animation/lib/index.js","webpack:///./~/css-animation/lib/Event.js","webpack:///./~/rc-animate/lib/util.js","webpack:///./~/rc-trigger/lib/PopupInner.js","webpack:///./~/rc-trigger/lib/LazyRenderBox.js","webpack:///./~/babel-runtime/helpers/objectWithoutProperties.js","webpack:///./~/rc-trigger/lib/utils.js","webpack:///./~/rc-util/lib/getContainerRenderMixin.js","webpack:///./~/rc-time-picker/lib/Panel.js","webpack:///./~/rc-time-picker/lib/Header.js","webpack:///./~/rc-time-picker/lib/Combobox.js","webpack:///./~/rc-time-picker/lib/Select.js","webpack:///./~/bee-datepicker/build/MonthPicker.js","webpack:///./~/rc-calendar/lib/MonthCalendar.js","webpack:///./~/bee-datepicker/build/RangePicker.js","webpack:///./~/rc-calendar/lib/RangeCalendar.js","webpack:///./~/babel-runtime/helpers/toConsumableArray.js","webpack:///./~/babel-runtime/core-js/array/from.js","webpack:///./~/core-js/library/fn/array/from.js","webpack:///./~/core-js/library/modules/es6.array.from.js","webpack:///./~/core-js/library/modules/$.iter-call.js","webpack:///./~/core-js/library/modules/$.is-array-iter.js","webpack:///./~/core-js/library/modules/$.to-length.js","webpack:///./~/core-js/library/modules/core.get-iterator-method.js","webpack:///./~/core-js/library/modules/$.classof.js","webpack:///./~/core-js/library/modules/$.iter-detect.js","webpack:///./~/babel-runtime/helpers/slicedToArray.js","webpack:///./~/babel-runtime/core-js/is-iterable.js","webpack:///./~/core-js/library/fn/is-iterable.js","webpack:///./~/core-js/library/modules/core.is-iterable.js","webpack:///./~/babel-runtime/core-js/get-iterator.js","webpack:///./~/core-js/library/fn/get-iterator.js","webpack:///./~/core-js/library/modules/core.get-iterator.js","webpack:///./~/rc-calendar/lib/range-calendar/CalendarPart.js","webpack:///./~/rc-calendar/lib/locale/zh_CN.js","webpack:///./~/bee-datepicker/build/WeekPicker.js","webpack:///./build/render/SelectRender.js","webpack:///./demo/demolist/Demo15.js","webpack:///./demo/demolist/Demo16.js","webpack:///./demo/demolist/Demo17.js","webpack:///./demo/demolist/Demo18.js","webpack:///./demo/demolist/Demo19.js","webpack:///./demo/demolist/Demo2.js","webpack:///./~/bee-popconfirm/build/index.js","webpack:///./~/bee-popconfirm/build/Popconfirm.js","webpack:///./~/bee-popconfirm/build/Confirm.js","webpack:///./~/bee-popconfirm/build/i18n.js","webpack:///./~/bee-locale/build/tool.js","webpack:///./demo/demolist/Demo21.js","webpack:///./src/lib/filterColumn.js","webpack:///./demo/demolist/Demo22.js","webpack:///./src/lib/dragColumn.js","webpack:///./src/lib/util.js","webpack:///./demo/demolist/Demo23.js","webpack:///./demo/demolist/Demo24.js","webpack:///./demo/demolist/Demo3.js","webpack:///./demo/demolist/Demo4.js","webpack:///./demo/demolist/Demo5.js","webpack:///./demo/demolist/Demo6.js","webpack:///./demo/demolist/Demo7.js","webpack:///./demo/demolist/Demo8.js","webpack:///./~/bee-pagination/build/index.js","webpack:///./~/bee-pagination/build/Pagination.js","webpack:///./~/bee-pagination/build/PaginationButton.js","webpack:///./demo/demolist/Demo9.js"],"names":["CARET","CARETUP","Demo1","require","Demo10","Demo11","Demo12","Demo13","Demo14","Demo15","Demo16","Demo17","Demo18","Demo19","Demo2","Demo21","Demo22","Demo23","Demo24","Demo3","Demo4","Demo5","Demo6","Demo7","Demo8","Demo9","DemoArray","Demo","props","state","open","handleClick","bind","setState","render","title","example","code","desc","scss_code","caret","text","header","padding","DemoGroup","map","child","index","document","getElementById","getTitleTip","columns","id","dataIndex","key","width","className","record","position","top","left","textOverflow","overflow","whiteSpace","alert","data","a","b","c","d","factoryValue","selectedRow","Array","length","indent","Table","Column","ColumnGroup","module","exports","propTypes","array","expandIconAsCell","bool","defaultExpandAllRows","expandedRowKeys","defaultExpandedRowKeys","useFixedHeader","clsPrefix","string","bodyStyle","object","style","rowKey","oneOfType","func","rowClassName","expandedRowClassName","childrenColumnName","onExpand","onExpandedRowsChange","indentSize","number","onRowClick","onRowDoubleClick","expandIconColumnIndex","showHeader","footer","emptyText","scroll","rowRef","getBodyWrapper","children","node","draggable","defaultProps","body","renderDragHideTable","dragborder","dragborderKey","sum","da","i","rows","columnManager","store","currentHoverKey","row","push","getRowKey","concat","scrollPosition","fixedColumnsHeadRowsHeight","fixedColumnsBodyRowsHeight","onExpanded","onRowDestroy","getExpandedRows","getHeader","getHeaderRows","getExpandedRow","getRowsByData","getRows","getColGroup","getLeftFixedTable","getRightFixedTable","getTable","getTitle","getFooter","getEmptyText","getHeaderRowStyle","syncFixedTableRowHeight","resetScrollY","findExpandedRow","isRowExpanded","detectScrollTarget","handleBodyScroll","handleRowHover","componentDidMount","isAnyColumnsFixed","resizeEvent","window","componentWillReceiveProps","nextProps","reset","componentDidUpdate","componentWillUnmount","remove","expanded","e","preventDefault","stopPropagation","info","expandedRows","rowIndex","forEach","r","splice","undefined","fixed","onDragStart","onDragEnter","onDragOver","onDrop","onMouseDown","onMouseMove","onMouseUp","onThMouseMove","unshift","rowSpan","trStyle","drop","dragBorder","currentRow","column","cell","drgHover","onHeadCellClick","onClick","colSpan","filter","content","visible","colCount","leftLeafColumns","rightLeafColumns","leafColumns","contentContainer","height","expandedRowRender","expandRowByClick","rst","isHiddenExpandIcon","needIndentSpaced","some","childrenColumn","expandedRowContent","haveExpandIcon","onHoverProps","onHover","subVisible","cols","minWidth","leftColumns","rightColumns","options","footerScroll","headStyle","tableClassName","x","overflowX","y","maxHeight","overflowY","scrollbarWidth","marginBottom","paddingBottom","renderTable","hasHead","hasBody","tableStyle","tableLayout","tableBody","_drag_class","headTable","BodyTable","refName","headerHeight","headRows","refs","querySelectorAll","bodyTable","bodyRows","call","getBoundingClientRect","scrollLeft","scrollTarget","currentTarget","target","fixedColumnsBodyLeft","fixedColumnsBodyRight","lastScrollLeft","scrollTop","isHover","bordered","isTableScroll","loading","show","isAnyColumnsLeftFixed","groupedColumns","isAnyColumnsRightFixed","onDestroy","hoverKey","any","expandable","isRequired","TableRow","set","fn","clear","_timeout","setTimeout","event","clearTimeout","hovered","onMouseEnter","onMouseLeave","unsubscribe","subscribe","getState","cells","expandIcon","isColumnHaveExpandIcon","display","TableCell","isInvalidRenderCellText","isValidElement","Object","prototype","toString","onCellClick","get","tdProps","indentText","paddingLeft","ExpandIcon","shouldComponentUpdate","expandClassName","rowStyle","TableHeader","dataTransfer","effectAllowed","setData","currentObj","setDragImage","border","onMouseOut","drag","initPageLeftX","pageX","initLeft","currIndex","findIndex","onThMouseUp","console","log","currentHideDom","getElementsByTagName","currentData","currentDom","theadKey","Date","getTime","_da","JSON","parse","stringify","attr","thHover","gap","el","th","measureScrollbar","debounce","warningOnce","addClass","removeClass","scrollbarMeasure","scrollDiv","createElement","scrollProp","hasOwnProperty","appendChild","offsetWidth","clientWidth","removeChild","wait","immediate","timeout","debounceFunc","context","args","arguments","persist","later","apply","callNow","warned","condition","format","tryParseInt","value","defaultValue","resultValue","isNaN","elm","els","isArray","classList","add","split","replace","RegExp","join","ColumnManager","elements","_cached","normalize","_cache","_leafColumns","_groupColumns","parentColumn","grouped","setRowSpan","newColumn","Children","isColumnElement","element","type","name","oneOf","createStore","initialState","listeners","partial","listener","indexOf","columns10","data10","emptyFunc","columns11","sorter","data11","defaultProps11","prefixCls","toggleSortOrder","order","sortOrder","oldData","ascend_sort","descend_sort","sort","renderColumnsDropdown","originColumn","sortButton","isAscend","isDescend","columns12","data12","defaultProps12","multiSelect","param","onAllCheckChange","self","checkedArray","listData","selIds","checkedAll","onCheckboxChange","allFlag","renderColumnsMultiSelect","select_column","indeterminate_bool","defaultColumns","columns13","sumCol","data13","data13_1","ComplexTable","getSelectedDataFunc","selectDisabled","onClick1","multiObj","marginLeft","val","checkedObj","initCheckedObj","obj","keys","table_ref","selIds_","selIds_length","selid","columns2","currentFooter","data_2","columns_sum","sumCol_index","showSum","item","currentTreeFooter","_columns","getNodeItem","_countObj","count","_num","_sumArray","newArray","getTableType","find","setFooterRender","tableType","Component","format2","format3","dateInputPlaceholder","dateInputPlaceholder2","dataSource","check","flag","onInputChange","onCheckChange","onSelectChange","onDateChange","onDateSelect","onDelete","handleAdd","newData","age","address","datepicker","MonthPicker","getData","onSelect","onChange","renderContent","tel","phone","columns16","data16","data_obj","new_obj","columns17","data17","changeLoading","loadingType","Math","floor","random","street","building","companyAddress","companyName","gender","changeData","handFocus","onBlur","EditableCell","editable","handleChange","edit","handleKeydown","keyCode","onCellChange","columns21","data21","FilterColumnTable","defaultProps21","filterColumn","_column","checked","disable","showModal","screenX","screenY","getCloumItem","openCloumList","getShowModal","checkedColumItemClick","ev","oEvent","clientX","clientY","columns22","data22","DragColumnTable","defaultProps22","dragColumn","setColumOrderByIndex","dragIndex","current","objIndex","targetIndex","getTarget","evt","srcElement","sortBy","arr","prop","ret","len","oI","String","_obj","reverse","columns23","data23","defaultProps23","columns24","data24","currObj","columns4","data4","columns5","data5","columns6","data6","columns7","data7","columns7_1","rowclick","children_data","marginTop","columns8","pageData","activePage","handleSelect","eventKey","Search","searchValue","empty","handleSearch","onSearch","handleKeyDown","emptySearch","onEmpty","columns9","userData","regExp","test","handleEmpty"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;ACrCA;;AACA;;AACA;;;;AACA;;;;AACA;;;;;;;;;;;;;;AAGA,KAAMA,QAAQ,wCAAG,WAAU,kBAAb,GAAd;;AAEA,KAAMC,UAAU,wCAAG,WAAU,gBAAb,GAAhB;;AAGA,KAAIC,QAAQ,mBAAAC,CAAQ,EAAR,CAAZ,CAAwC,IAAIC,SAAS,mBAAAD,CAAQ,GAAR,CAAb,CAA0C,IAAIE,SAAS,mBAAAF,CAAQ,GAAR,CAAb,CAA0C,IAAIG,SAAS,mBAAAH,CAAQ,GAAR,CAAb,CAA0C,IAAII,SAAS,mBAAAJ,CAAQ,GAAR,CAAb,CAA0C,IAAIK,SAAS,mBAAAL,CAAQ,GAAR,CAAb,CAA0C,IAAIM,SAAS,mBAAAN,CAAQ,GAAR,CAAb,CAA0C,IAAIO,SAAS,mBAAAP,CAAQ,GAAR,CAAb,CAA0C,IAAIQ,SAAS,mBAAAR,CAAQ,GAAR,CAAb,CAA0C,IAAIS,SAAS,mBAAAT,CAAQ,GAAR,CAAb,CAA0C,IAAIU,SAAS,mBAAAV,CAAQ,GAAR,CAAb,CAA0C,IAAIW,QAAQ,mBAAAX,CAAQ,GAAR,CAAZ,CAAwC,IAAIY,SAAS,mBAAAZ,CAAQ,GAAR,CAAb,CAA0C,IAAIa,SAAS,mBAAAb,CAAQ,GAAR,CAAb,CAA0C,IAAIc,SAAS,mBAAAd,CAAQ,GAAR,CAAb,CAA0C,IAAIe,SAAS,mBAAAf,CAAQ,GAAR,CAAb,CAA0C,IAAIgB,QAAQ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,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,4CAA2C,kBAAkB,kCAAkC,qEAAqE,EAAE,EAAE,OAAO,kBAAkB,EAAE,YAAY;;AAE/M,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA,sBAAqB,iCAAiC;AACtD;AACA;;AAEA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA,UAAS,kDAAkD;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA,MAAK;AACL;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA,iBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS,iDAAiD;AAC1D;AACA;;AAEA;AACA;;AAEA;AACA;A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;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,oBAAmB;;AAEnB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAuB,iBAAiB;AACxC;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP,wBAAuB,oBAAoB;AAC3C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,wBAAuB,mBAAmB;AAC1C;;AAEA;AACA,8BAA6B,kBAAkB;AAC/C;AACA,UAAS;AACT,QAAO;AACP,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA,wBAAuB,kBAAkB;AACzC;;AAEA;AACA,8BAA6B,iBAAiB;AAC9C;AACA,UAAS;AACT,QAAO;AACP,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;;AAEA;AACA,8DAA6D;AAC7D;AACA,MAAK;AACL;;AAEA;AACA,EAAC;;AAED;;AAEA;;AAEA,iC;;;;;;ACnVA,2B;;;;;;ACAA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,kBAAiB,oBAAoB;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA,WAAU;AACV,E;;;;;;AC7GA;;AAEA;AACA;AACA,EAAC;AACD;AACA,qC;;;;;;ACNA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;;AAEA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;;AAEA;AACA,qC;;;;;;AC9BA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,qBAAoB;AACpB;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,yBAAwB;AACxB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;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A,uCAAsC,uCAAuC,gBAAgB;;AAE7F;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA,uFAAsF,aAAa;AACnG;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,yC;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,sBAAqB,WAAW;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;;;;;;;;AC3DA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,MAAK;AACL;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAqB;AACrB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAqC;;AAErC;AACA;AACA;;AAEA,4BAA2B;AAC3B;AACA;AACA;AACA,6BAA4B,UAAU;;;;;;;ACvLtC;;AAEA;;AAEA,qGAAoG,mBAAmB,EAAE,mBAAmB,8HAA8H;;AAE1Q;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,0E;;;;;;AC/BA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,uFAAsF,aAAa;AACnG;AACA;;AAEA;AACA;AACA,E;;;;;;ACnBA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,kBAAiB,iBAAiB;AAClC;AACA,IAAG;AACH;;AAEA;AACA;AACA,aAAY,SAAS;AACrB,aAAY,eAAe;AAC3B,aAAY,QAAQ;AACpB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA,IAAG;;AAEH;AACA,E;;;;;;ACrCA;;AAEA;AACA;AACA,mEAAkE,aAAa;AAC/E;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,yEAAwE,eAAe;AACvF;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA,yC;;;;;;AC7BA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0B;;;;;;ACvgBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,E;;;;;;ACdA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,E;;;;;;ACrBA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;ACnCA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA,EAAC;AACD;AACA;AACA,EAAC;AACD;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oCAAmC,cAAc;AACjD;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sDAAqD;AACrD;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;ACpRA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;AC3DA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iCAAgC;AAChC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH,mCAAkC;AAClC;AACA;AACA;;AAEA;AACA,GAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAgB,sBAAsB;AACtC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAkB,oBAAoB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;ACzFA;;AAEA;;AAEA,qGAAoG,mBAAmB,EAAE,mBAAmB,8HAA8H;;AAE1Q;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,kBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;;AAEA,gC;;;;;;AC1LA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;;;AAGH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA,oC;;;;;;ACpFA;AACA;AACA;;AAEA;AACA;AACA,EAAC;AACD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,YAAW,QAAQ;AACnB,aAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW,QAAQ;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,aAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,cAAc;AACzB,aAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,aAAY;AACZ;AACA;;AAEA;AACA;AACA,kBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,QAAQ;AACnB,aAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAA+B;AAC/B;AACA,MAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,IAAG;AACH;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,aAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC9LA;AACA;AACA,kBAAiB,gBAAgB;AACjC;AACA;AACA;AACA,G;;;;;;ACNA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,E;;;;;;ACjBA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH,iCAAgC;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA,yB;;;;;;AC9LA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qC;;;;;;ACzOA;;AAEA;AACA;AACA,EAAC;;AAED,qGAAoG,mBAAmB,EAAE,mBAAmB,8HAA8H;;AAE1Q;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,qBAAoB;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA,IAAG;AACH;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA,kBAAiB,gBAAgB;AACjC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,kBAAkB;AAC/B;AACA;AACA,kBAAiB,kBAAkB;AACnC;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA,UAAS,OAAO;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAkE,cAAc;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA,wCAAuC;AACvC,MAAK;AACL;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;;AAEA,uEAAsE,eAAe;AACrF;AACA;;AAEA,oBAAmB,iBAAiB;AACpC;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;;AAEA;;AAEA;AACA,qC;;;;;;AChkBA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,E;;;;;;AC7GA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA2B,cAAc;AACzC,4BAA2B,cAAc,mBAAmB;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oCAAmC,2BAA2B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;ACvDA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qC;;;;;;ACxGA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,oCAAmC,2BAA2B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AC7BA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qC;;;;;;ACtDA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;ACnCA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA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;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAoB,UAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA,qC;;;;;;;;;;;;AC5JA;;;;AACA;;;;AACA;;;;AACA;;;;;;;;;;;;gfAVA;;;;;;;AAYA,UAASC,WAAT,CAAqBT,IAArB,EAA0B;AACxB,UAAO;AAAA;AAAA;AACH;AAAA;AAAA;AAAKA;AAAL;AADG,IAAP;AAGD;;AAGD,KAAMU,UAAU,CACd,EAAEC,IAA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AACA;AACA;AACA;AACA;;AAEA,4BAA2B;;AAE3B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,uBAAsB,6BAA6B;AACnD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,6CAA4C;AAC5C;AACA;;AAEA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;;AA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A,sBAAqB,eAAe;AACpC;AACA;;AAEA;AACA,oBAAmB,eAAe;;AAElC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAoD;AACpD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS,4BAA4B;AACrC;AACA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA,UAAS,uBAAuB;AAChC;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA,qC;;;;;;AC1PA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,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YAAY;;AAEhU,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;;AAEb;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,+BAA8B;AAC9B;AACA;AACA,cAAa;AACb,UAAS;AACT;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA,qC;;;;;;AClNA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;;AAEA,aAAY;AACZ;;AAEA;AACA;AACA;AACA;;A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;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,oBAAmB;;AAEnB;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAuB,iBAAiB;AACxC;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP,wBAAuB,oBAAoB;AAC3C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,wBAAuB,mBAAmB;AAC1C;;AAEA;AACA,8BAA6B,kBAAkB;AAC/C;AACA,UAAS;AACT,QAAO;AACP,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA,wBAAuB,kBAAkB;AACzC;;AAEA;AACA,8BAA6B,iBAAiB;AAC9C;AACA,UAAS;AACT,QAAO;AACP,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;;AAEA;AACA,8DAA6D;AAC7D;AACA,MAAK;AACL;;AAEA;AACA,EAAC;;AAED;;AAEA;;AAEA,iC;;;;;;ACvVA;;A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B,MAA7B,OAAF,EADT;AAEE,kBAAcc,SAAd,6BAA+Cd;AAFjD,OADiB,GAKf,IALJ;;AAOA,SAAIkH,YAAY,CAAZ,IAAiBU,YAAY,CAAjC,EAAoC;AAClC,cAAO,IAAP;AACD;AACD,YACE;AAAA;AAAA;AACE,kBAASA,OADX;AAEE,kBAASV,OAFX;AAGE,oBAAWpI,SAHb;AAIE,kBAAS,KAAKzB;AAJhB;AAMG+Q,iBANH;AAOGZ,iBAPH;AAQGzP;AARH,MADF;AAYD,I;;;;;AACF;;AAED4P,WAAUrN,SAAV,GAAsBA,SAAtB;;sBAEeqN,S;;;;;;;AClFf;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,EAAC;AACD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,QAAO,IAAI;AACX;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;;AAEA,sBAAqB,iBAAiB;AACtC;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,0CAAyC,SAAS;AAClD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qCAAoC,4BAA4B;AAChE;AACA,EAAC;;;;;;;;;;;;;ACnSD;;;;AACA;;;;AACA;;;;;;;;;;;;;;AAEA,KAAMrN,YAAY;AACdvB,WAAQ,uBAAUkC,MADJ;AAEdH,cAAW,uBAAUC,MAFP;AAGdwL,eAAY,uBAAUD,GAHR;AAIdzG,aAAU,uBAAUpF,IAJN;AAKdiI,qBAAkB,uBAAUjI,IALd;AAMdgB,aAAU,uBAAUJ;AANN,EAAlB;;KASMiN,U;;;AACJ,uBAAYpR,KAAZ,EAAkB;AAAA;;AAAA,6CACd,sBAAMA,KAAN,CADc;AAEjB;;wBACDqR,qB,kCAAsB/I,S,EAAW;AAC/B,YAAO,CAAC,+BAAaA,SAAb,EAAwB,KAAKtI,KAA7B,CAAR;AACD,I;;wBACDM,M,qBAAS;AAAA,kBAC6F,KAAKN,KADlG;AAAA,SACCqP,UADD,UACCA,UADD;AAAA,SACazL,SADb,UACaA,SADb;AAAA,SACwBW,QADxB,UACwBA,QADxB;AAAA,SACkCiH,gBADlC,UACkCA,gBADlC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CAAoB9G,UAAUmU,KAAV,CAAgB,GAAhB,CAApB;AACD,MAFD,MAEO;AACLxC,UAAG3R,SAAH,GAAe2R,GAAG3R,SAAH,CAAaoU,OAAb,CAAqB,IAAIC,MAAJ,aAAqBrU,UAAUmU,KAAV,CAAgB,GAAhB,EAAqBG,IAArB,CAA0B,GAA1B,CAArB,cAA8D,IAA9D,CAArB,EAA0F,GAA1F,CAAf;AACD;AACF,IAND;AAOD,E;;;;;;AC5GD;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,aAAY,OAAO;AACnB,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;;;;;;;AC1CA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;ACRA;AACA;;AAEA;;;;;;;;ACHA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;AC3BA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;ACpCA;;AAEA;AACA;;AAEA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB,YAAW,SAAS;AACpB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;ACzBA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;AC5BA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;AC3BA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;;;;;;;AC7CA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA,qBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;AC5BA;;;;AACA;;;;AACA;;;;;;;;;;AAEA;;KAEqBC,a;AAGnB,0BAAY5U,OAAZ,EAAqB6U,QAArB,EAA+B;AAAA;;AAAA,UAF/BC,OAE+B,GAFrB,EAEqB;;AAC7B,UAAK9U,OAAL,GAAeA,WAAW,KAAK+U,SAAL,CAAeF,QAAf,CAA1B;AACD;;2BAEDlO,iB,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BAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,4CAA2C,kBAAkB,kCAAkC,qEAAqE,EAAE,EAAE,OAAO,kBAAkB,EAAE,YAAY;;AAE/M,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,qBAAqB;AAChC;AACA;AACA;AACA;AACA,YAAW,iCAAiC;AAC5C;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,YAAW,qBAAqB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,iCAAiC;AAC5C;AACA;AACA;AACA;;AAEA,2CAA0C;;AAE1C;AACA;AACA;AACA,UAAS,wDAAwD;AACjE;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAO,uBAAuB;AAC9B;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA,qC;;;;;;;;;;;;ACrLA;;;;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DAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mGAAkG;AAClG,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;AACA;;AAEA;AACA,qC;;;;;;ACtXA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;;AAEA;AAC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A;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,wBAAuB,aAAa;AACpC;;AAEA;AACA,wBAAuB,cAAc;AACrC;;AAEA;AACA;AACA;AACA,wBAAuB;AACvB;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,6CAA4C;AAC5C;AACA;;AAEA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA,qC;;;;;;ACzWA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,SAAS;AACpB,cAAa;AACb;AACA;AACA,mEAAkE,aAAa;AAC/E;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,yEAAwE,eAAe;AACvF;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA,qC;;;;;;AC1CA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA,qC;;;;;;ACbA;;AAEA;AACA;A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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB;AACnB,wBAAuB;AACvB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA,cAAa,yBAAyB;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8BAA6B,wDAAwD;AACrF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,QAAO;AACP;AACA,mBAAkB;AAClB,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO,oDAAoD;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,4BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,gBAAe,qDAAqD;AACpE;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO,oDAAoD;AAC3D;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAgC;AAChC,iCAAgC;AAChC;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA;;AAEA;AACA,qC;;;;;;AC7vCA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA,qC;;;;;;ACbA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBA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ACA;AACA;AACA;AACA,wC;;;;;;AC7CA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,4CAA2C,kBAAkB,kCAAkC,qEAAqE,EAAE,EAAE,OAAO,kBAAkB,EAAE,YAAY;;AAE/M,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,iCAAgC;AAChC;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,wBAAuB,qBAAqB;AAC5C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,mCAAkC;AAClC;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,UAAS;AACT,QAAO;AACP;AACA,MAAK;AACL;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA,4BAA2B;AAC3B;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA;;AAEA;AACA,qC;;;;;;ACtkBA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;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yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe;AACf,cAAa;AACb,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uBAAsB;AACtB;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,iCAAgC;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAgB,mDAAmD;AACnE;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA;AACA;;AAEA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AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA2B;AAC3B;AACA;AACA;AACA;AACA,MAAK;AACL,wCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;AACA;AACA,qC;;;;;;AC/WA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;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DAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,OAAM;AACN;;AAEA;AACA;AACA;AACA;;AAEA,oBAAmB,uCAAuC;AAC1D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAoD;AACpD;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,uBAAuB;AAClC;AACA;AACA,mDAAkD,wBAAwB;AAC1E,mDAAkD,wBAAwB;AAC1E,mDAAkD,wBAAwB;AAC1E;AACA;AACA;AACA;AACA,mDAAkD,gCAAgC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,uBAAuB;AAClC;AACA;AACA,mDAAkD,wBAAwB;AAC1E,mDAAkD,wBAAwB;AAC1E,mDAAkD,wBAAwB;AAC1E;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;AACA;;AAEA;AACA,qC;;;;;;ACxJA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;AC1CA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,qC;;;;;;ACrBA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;AACA,qC;;;;;;AC1CA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,kBAAiB,kBAAkB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAiB,kBAAkB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,kBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;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ACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,+CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;AACA,iCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,iCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;;AAEA;AACA,qC;;;;;;ACrOA;;AAEA,2C;;;;;;ACFA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAgB;AAChB;AACA,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,OAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA,+BAA8B;AAC9B;AACA,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA;AACA;AACA,qC;;;;;;AC5jBA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,+BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA0B,sBAAsB;AAChD;AACA;AACA;AACA,UAAS;A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AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;AACA,qDAAoD;AACpD;AACA;AACA,UAAS;AACT;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAgB,mBAAmB;AACnC;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA,qC;;;;;;ACrNA;;AAEA,2C;;;;;;ACFA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA,iC;;;;;;AChIA;;AAEA,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P,qGAAoG,mBAAmB,EAAE,mBAAmB,kGAAkG;;AAE9O;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,kBAAiB,gBAAgB;AACjC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,kBAAkB;AAC/B;AACA;AACA,kBAAiB,kBAAkB;AACnC;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA,UAAS,OAAO;AAChB;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;A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;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA,uBAAsB,eAAe;AACrC,MAAK;AACL;AACA;AACA,yBAAwB,kBAAkB;AAC1C;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL,uBAAsB,iBAAiB;AACvC,MAAK;AACL;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,iEAAgE,IAAI;AACpE;AACA,QAAO;AACP;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS,2CAA2C;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,UAAS,2CAA2C;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,UAAS,8DAA8D;AACvE;AACA;AACA;AACA,UAAS,0CAA0C;AACnD;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,QAAO,6BAA6B;AACpC;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA;AACA,qC;;;;;;AC7MA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA,qC;;;;;;AClBA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAyB;AACzB;AACA,kBAAiB;AACjB,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA,cAAa;AACb;;AAEA;AACA;AACA;AACA,cAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,0BAAyB,yEAAyE;AAClG;AACA;AACA,8BAA6B;AAC7B;AACA,qHAAoH;AACpH;AACA;AACA,kCAAiC,kDAAkD;AACnF;AACA;AACA,sCAAqC,sBAAs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A;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,kBAAiB;AACjB;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA,qC;;;;;;ACzEA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA,qEAAoE,IAAI;AACxE,gBAAe,GAAG;AAClB,mBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG;AACvC;AACA,uDAAsD,EAAE,MAAM,KAAK;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sFAAqF;;AAErF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA4B;AAC5B,iCAAgC;AAChC;AACA,+BAA8B;AAC9B,uCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,oCAAmC,gBAAgB;AACnD;AACA;AACA;AACA,8BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAyB;AACzB;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA,0BAAyB;AACzB;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,0BAAyB;AACzB;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA,0BAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;A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,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,gEAA+D;AAC/D;AACA,MAAK;AACL;;AAEA;AACA,EAAC;;AAED;AACA;AACA,qC;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qCAAoC;;AAEpC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH,EAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB,YAAW,SAAS;AACpB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB,YAAW,MAAM;AACjB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB,YAAW,SAAS;AACpB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,cAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,SAAS;AACpB,cAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,cAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,SAAS;AACpB,YAAW,SAAS;AACpB,cAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,YAAW,QAAQ;AACnB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,YAAW,SAAS;AACpB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,YAAW,EAAE;AACb,YAAW,QAAQ;AACnB;AACA;AACA,YAAW,SAAS;AACpB,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,YAAW,SAAS;AACpB,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,MAAM;AACjB,YAAW,MAAM;AACjB,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,YAAW,SAAS;AACpB,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,YAAW,SAAS;AACpB,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,YAAW,SAAS;AACpB,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,MAAM;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,cAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,OAAO;AAClB,cAAa,EAAE;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,SAAS;AACpB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,SAAS;AACpB,cAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA,kBAAiB;AACjB,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA,8BAA6B,kBAAkB,EAAE;AACjD;AACA;AACA;AACA;AACA;AACA,+CAA8C,kBAAkB,EAAE;AAClE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA,kBAAiB;AACjB,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA,qBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,EAAE;AACb,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACvzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACTA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA,oEAAmE,aAAa;AAChF;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA,uBAAsB,gCAAgC;AACtD;AACA;AACA;AACA,MAAK;AACL,uBAAsB,kBAAkB;AACxC;AACA;AACA;AACA,MAAK;AACL,uBAAsB,i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ACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,QAAO,gDAAgD;AACvD;AACA;AACA;AACA,UAAS,uCAAuC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,wCAAwC;AACnD;AACA;AACA,cAAa,8CAA8C;AAC3D;AACA;AACA;AACA;AACA;AACA,YAAW,iCAAiC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA,EAAC;;AAED;AACA,qC;;;;;;ACxWA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA,kBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,G;;;;;;ACtBA,mBAAkB,yD;;;;;;ACAlB;AACA,yD;;;;;;ACDA;AACA;;AAEA,2CAA0C,iCAAqC,E;;;;;;ACH/E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oEAAmE;AACnE,sFAAqF;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL,gEAA+D;AAC/D;AACA;AACA;AACA,eAAc;AACd,eAAc;AACd,eAAc;AACd,eAAc;AACd,gBAAe;AACf,gBAAe;AACf,0B;;;;;;AC7CA;AACA;AACA;AACA,wCAAuC,gC;;;;;;ACHvC,8BAA6B;AAC7B,sCAAqC,gC;;;;;;ACDrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACnBA;AACA;AACA;AACA,G;;;;;;ACHA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAkC,UAAU,EAAE;AAC9C,cAAa,gCAAgC;AAC7C,EAAC,oCAAoC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC,iB;;;;;;AChCD;AACA;AACA;AACA;AACA,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACZA;AACA;AACA;AACA;AACA,G;;;;;;ACJA;AACA;AACA;AACA;AACA,G;;;;;;ACJA;AACA;AACA;AACA;AACA,G;;;;;;ACJA,kBAAiB;;AAEjB;AACA;AACA,G;;;;;;ACJA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,G;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAgB;AAChB;AACA;AACA;;AAEA;AACA,iBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAA+B,KAAK;AACpC;AACA;AACA,iBAAgB;AAChB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,WAAW;AAC1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB,gBAAe,QAAQ;AACvB,iBAAgB,QAAQ;AACxB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB,gBAAe,QAAQ;AACvB,gBAAe,0BAA0B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB,gBAAe,QAAQ;AACvB,gBAAe,WAAW;AAC1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,0BAA0B;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,wBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,yCAAwC;AACxC,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4CAA2C;AAC3C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAa,OAAO;AACpB,cAAa,OAAO;AACpB,eAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAa,SAAS;AACtB,cAAa,SAAS;AACtB,eAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAa,SAAS;AACtB,cAAa,SAAS;AACtB,eAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAa,OAAO;AACpB,cAAa,SAAS;AACtB,eAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,yDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAa,OAAO;AACpB;AACA;AACA;AACA,oBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA,iBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,eAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;AC75BA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA,8B;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,sDAAqD;AACrD,MAAK;AACL;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA,2BAA0B;AAC1B;AACA;AACA;;AAEA,4B;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,uFAAsF,aAAa;AACnG;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA,cAAa;AACb;;AAEA;AACA,6FAA4F,eAAe;AAC3G;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0B;;;;;;;AC7DA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,8CAA6C;AAC7C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gC;;;;;;ACnCA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;AC3gBA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS,kEAAkE;AAC3E;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA,qC;;;;;;AC7DA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,G;;;;;;ACRA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA,oBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAC,G;;;;;;AC1BD,mBAAkB,yD;;;;;;ACAlB;AACA;AACA;AACA,G;;;;;;ACHA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;AACA;;AAEA;AACA,G;;;;;;AChBA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,kHAAiH,mBAAmB,EAAE,mBAAmB,4JAA4J;;AAErT,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA,EAAC;AACD;AACA,G;;;;;;ACpBA,mBAAkB,yD;;;;;;ACAlB;AACA;AACA,uD;;;;;;ACFA;AACA;;AAEA;AACA;AACA,8BAA6B;AAC7B,eAAc;AACd;AACA,EAAC;AACD;AACA;AACA;AACA,gCAA+B;AAC/B;AACA;AACA,WAAU;AACV,EAAC,E;;;;;;AChBD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,6BAA4B,aAAa;;AAEzC;AACA;AACA;AACA;AACA;AACA,yCAAwC,oCAAoC;AAC5E,6CAA4C,oCAAoC;AAChF,MAAK,2BAA2B,oCAAoC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAkB,mBAAmB;AACrC;AACA;AACA,oCAAmC,2BAA2B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,G;;;;;;ACjEA,uB;;;;;;ACAA,2C;;;;;;ACAA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA,G;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACPA;AACA;AACA,kCAAiC,QAAQ,gBAAgB,UAAU,GAAG;AACtE,EAAC,E;;;;;;ACHD,wBAAuB;AACvB;AACA;AACA,G;;;;;;ACHA,qB;;;;;;ACAA;AACA;AACA;AACA;AACA;;AAEA;AACA,8FAAkF,aAAa,EAAE;;AAEjG;AACA,wDAAuD,0BAA0B;AACjF;AACA,G;;;;;;ACZA;AACA;AACA;;AAEA;AACA,mEAAkE,+BAA+B;AACjG,G;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACNA;AACA;AACA,oDAAmD;AACnD;AACA,wCAAuC;AACvC,G;;;;;;ACLA;AACA;AACA;AACA;AACA,G;;;;;;ACJA;AACA;AACA,iE;;;;;;ACFA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iCAAgC;AAChC,eAAc;AACd,kBAAiB;AACjB;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;;AAEA;AACA;AACA,6B;;;;;;ACjCA,6BAA4B,e;;;;;;ACA5B;AACA,WAAU;AACV,G;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACLA,mBAAkB,yD;;;;;;ACAlB;AACA;AACA,kD;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,4BAA2B;AAC3B,qBAAoB,4BAA4B,SAAS,IAAI;AAC7D,IAAG;AACH,EAAC;AACD;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,+DAA8D;AAC9D;AACA,MAAK;AACL;AACA,uBAAsB,iCAAiC;AACvD,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAoD,KAAK,QAAQ,iCAAiC;AAClG,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH,yBAAwB,eAAe,EAAE;AACzC,yBAAwB,gBAAgB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;;AAEA,iCAAgC,gBAAgB;;AAEhD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA,8EAA6E,sBAAsB;;AAEnG;AACA;AACA;AACA;AACA;AACA,2C;;;;;;AClOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACTA;AACA;AACA;AACA,mBAAkB;;AAElB;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,G;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACbA;AACA;AACA;AACA;AACA,G;;;;;;ACJA;AACA;AACA;AACA;AACA,G;;;;;;ACJA;AACA;AACA,G;;;;;;;;;;;;ACFA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,G;;;;;;AChCA,mBAAkB,yD;;;;;;ACAlB;AACA,iE;;;;;;ACDA;AACA;AACA,+BAA8B,6CAA6C,E;;;;;;ACF3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA,QAAO,UAAU,cAAc;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,MAAK,GAAG;AACR;AACA,G;;;;;;ACzBA,mBAAkB,yD;;;;;;ACAlB;AACA;AACA;AACA,G;;;;;;ACHA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAgC,0DAA0D;AAC1F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,cAAa,gDAAgD;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,cAAa,gDAAgD;AAC7D;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,YAAW,cAAc;AACzB;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA,qC;;;;;;AC7GA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA,qC;;;;;;aCTA;;AAEA,EAAC;AACD;AACA;AACA;AACA,EAAC,qBAAqB;;AAEtB;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA,4BAA2B,SAAS;AACpC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wBAAuB,6BAA6B;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,SAAS;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAA+B,sBAAsB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,gDAA+C;AAC/C,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA2B,IAAI;AAC/B;;AAEA;AACA,4BAA2B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAqC;AACrC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,UAAS;;AAET;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,6CAA4C,IAAI;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,yBAAwB,iCAAiC;AACzD;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,6LAA4L,IAAI;;AAEhM,sEAAqE,IAAI;;AAEzE;;AAEA;;AAEA;AACA;AACA;AACA,+BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,2CAA0C,YAAY;AACtD;AACA;AACA,cAAa;AACb;AACA;AACA;;AAEA;AACA;AACA,wBAAuB,YAAY;AACnC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,+BAA8B;AAC9B,iCAAgC;AAChC,8BAA6B,EAAE,EAAE;AACjC,8BAA6B,EAAE,EAAE;AACjC,mCAAkC,EAAE,EAAE;AACtC,kCAAiC;AACjC,sCAAqC;AACrC,0CAAyC;AACzC,8BAA6B,IAAI,EAAE;AACnC,8BAA6B,IAAI,EAAE;AACnC,mCAAkC,IAAI,EAAE;;AAExC,gCAA+B;AAC/B,qCAAoC;;AAEpC,+CAA8C;AAC9C,sDAAqD;;AAErD,yCAAwC,IAAI,IAAI;;AAEhD;AACA;AACA,4BAA2B,MAAM,wEAAwE,MAAM,mBAAmB,MAAM,qBAAqB,MAAM,EAAE,IAAI;;AAEzK;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA,+CAA8C;AAC9C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,kBAAkB;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,4BAA2B,wBAAwB;AACnD;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,wBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAuB,QAAQ;AAC/B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,QAAQ;AAC3B;AACA;AACA;AACA,oBAAmB,QAAQ;AAC3B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAK;;AAEL;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAuB,OAAO;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAmB,OAAO;AAC1B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAmB,OAAO;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,OAAO;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,0BAAyB;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,kBAAiB;AACjB;;AAEA;AACA;AACA;AACA;;;AAGA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAmB,+BAA+B;AAClD;AACA;;AAEA;AACA,eAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA2C,EAAE,IAAI,EAAE;AACnD,yCAAwC,EAAE,IAAI,EAAE;;AAEhD;;AAEA;AACA,kCAAiC,EAAE;AACnC,4BAA2B,EAAE;AAC7B,8BAA6B,EAAE;AAC/B,4BAA2B,EAAE;AAC7B,0BAAyB,EAAE,IAAI,EAAE;AACjC,yBAAwB,EAAE;AAC1B,gCAA+B,GAAG;AAClC,0BAAyB,EAAE;AAC3B;AACA,4BAA2B,EAAE,IAAI,EAAE;AACnC,2BAA0B,EAAE,IAAI,EAAE;AAClC,yBAAwB,EAAE;AAC1B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,6CAA4C,OAAO;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAgD,OAAO;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA,+DAA8D,IAAI,0DAA0D,IAAI,qEAAqE,EAAE;;AAEvM;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,oBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,oBAAmB,sBAAsB;AACzC;AACA,uCAAsC;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,mCAAkC,gBAAgB;AAClD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wBAAuB,qBAAqB;AAC5C;AACA;AACA,kCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,oCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS,6BAA6B;AACtC;AACA,UAAS;AACT;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAmB;;AAEnB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,qBAAoB;AACpB;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA0B,cAAc;AACxC;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA,8DAA6D;AAC7D,0DAAyD;AACzD,gEAA+D;AAC/D,yDAAwD,OAAO;AAC/D,yDAAwD,OAAO;AAC/D,wDAAuD,OAAO;AAC9D,oEAAmE,OAAO;AAC1E,sEAAqE,OAAO;AAC5E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAmC,qBAAqB;AACxD,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAmC,qBAAqB;AACxD,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,yBAAwB;AACxB;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA,MAAK;;AAEL;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA,MAAK;;AAEL;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;;;AAGL;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,yBAAwB,mBAAmB;AAC3C;AACA;;AAEA;AACA;AACA;;AAEA,sBAAqB,mBAAmB;AACxC;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oBAAmB,OAAO;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;;AAEL;;;AAGA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,EAAC;;;;;;;;ACz5ID;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAiC,uDAAuD;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACnQA;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA,6FAA4F;AAC5F,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACvED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrID;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACtGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA,gCAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACvGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AClID;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrJD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACtFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wBAAuB,QAAQ;AAC/B;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,wBAAuB,QAAQ;AAC/B;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,wBAAuB,QAAQ;AAC/B;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjLD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC7DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAmC;AACnC,kBAAiB;AACjB;AACA;AACA,cAAa;AACb;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC9ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;AAE5B;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa,gGAAgG;AAC7G;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,kCAAiC;AACjC,iCAAgC;AAChC,iCAAgC;AAChC,gCAA+B;AAC/B;AACA;AACA;AACA,0DAAyD;AACzD;AACA,2DAA0D;AAC1D;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,sCAAqC;AACrC,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AClGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC7DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC9ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AChED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC3GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC3ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1HD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC/FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1HD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxJD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT,qCAAoC,IAAI,IAAI,IAAI;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC7FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AChFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AClID;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACnED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AChFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,+CAA8C,IAAI,IAAI,IAAI;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACvFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,wCAAuC,IAAI;AAC3C;AACA;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5HD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC/ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAsB;AACtB,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACtID;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,0CAAyC,IAAI;AAC7C;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACpED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACpHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC/FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC9GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA,wDAAuD,IAAI;AAC3D,8DAA6D,IAAI;AACjE,6DAA4D,IAAI;AAChE,mEAAkE,IAAI;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC9DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC/ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACtGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iDAAgD;AAChD,gDAA+C;AAC/C,+CAA8C;AAC9C,iDAAgD;AAChD,6CAA4C;AAC5C,8CAA6C;AAC7C,8CAA6C;AAC7C,+CAA8C;AAC9C,+CAA8C;AAC9C,gDAA+C;AAC/C,8CAA6C;AAC7C,gDAA+C;AAC/C;AACA;AACA;AACA;AACA,mDAAkD;AAClD,kDAAiD;AACjD,iDAAgD;AAChD,kDAAiD;AACjD,+CAA8C;AAC9C,gDAA+C;AAC/C,gDAA+C;AAC/C,iDAAgD;AAChD,kDAAiD;AACjD,mDAAkD;AAClD,gDAA+C;AAC/C,iDAAgD;AAChD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC9JD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AChFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AChFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC3FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;;AAET;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;;AAET;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1HD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5HD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA4C;AAC5C,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC/DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA4C;AAC5C,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC3DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACpLD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AChGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1JD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA,kBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC3KD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AClED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC7GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC7GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACtFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACnED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACzDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,cAAa;AACb,iCAAgC;AAChC,cAAa;AACb,gCAA+B;AAC/B,cAAa;AACb,mCAAkC;AAClC,cAAa;AACb,mCAAkC;AAClC,cAAa;AACb,gCAA+B;AAC/B,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC/HD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,sCAAqC,IAAI;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACvFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AClHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACjED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;;ACvHD,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;AAE5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5FD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,EAAC;;;;;;;ACzFD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;;AAET,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrHD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrJD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AChGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACxDD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC7ED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AClED;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,4CAA2C,IAAI;AAC/C;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC1DD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;AC5GD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrGD;;AAEA,EAAC;AACD,SACA;AACA;AACA;AACA,EAAC,2BAA2B;;;AAG5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,qCAAoC,IAAI;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;;AAEA,EAAC;;;;;;;ACrGD;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAAyD;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAoB,oDAAoD;AACxE,uBAAsB,oDAAoD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qBAAoB,oDAAoD;AACxE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,uBAAsB,oDAAoD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4DAA2D;AAC3D,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,QAAO,kCAAkC;AACzC;AACA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;ACpRA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;;AAEA;AACA,G;;;;;;ACvBA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,oDAAmD;AACnD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;AC/GA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA,iDAAgD;AAChD;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAY;AACZ,IAAG;AACH;AACA;AACA;AACA,sBAAqB,uCAAuC;AAC5D;AACA;AACA,sBAAqB,qCAAqC;AAC1D;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,MAAK;AACL;AACA,IAAG;AACH;AACA;AACA,sBAAqB,6CAA6C;AAClE;AACA;AACA,sBAAqB,2CAA2C;AAChE;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,QAAO,6BAA6B;AACpC;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA,QAAO,mCAAmC;AAC1C;AACA;AACA,UAAS,SAAS,uBAAuB,EAAE;AAC3C;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;AC9OA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,QAAO,2CAA2C;AAClD;AACA;AACA;AACA;AACA;AACA,YAAW,mCAAmC;AAC9C;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,gBAAe,gDAAgD;AAC/D;AACA;AACA;AACA;AACA,gBAAe,8CAA8C;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,YAAW,iCAAiC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;AC5KA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA4B,gBAAgB;AAC5C;AACA,+BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iDAAgD;AAChD;AACA;AACA;AACA,YAAW;AACX;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,0BAA0B;AACrC;AACA;AACA,QAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;AACA,UAAS,4BAA4B;AACrC;AACA;AACA;AACA;AACA;AACA,cAAa,mCAAmC;AAChD;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA,kBAAiB,kDAAkD;AACnE;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,gDAAgD;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA,cAAa,iCAAiC;AAC9C;AACA;AACA,gBAAe,kEAAkE;AACjF;AACA;AACA,kBAAiB,kCAAkC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,qC;;;;;;ACnQA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,6BAA4B,gBAAgB;AAC5C;AACA,+BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,iDAAgD;AAChD;AACA;AACA;AACA;AACA,YAAW;AACX;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,gCAAgC;AAC3C;AACA;AACA,QAAO;;AAEP;AACA;AACA,UAAS,4BAA4B;AACrC;AACA;AACA,YAAW,mCAAmC;AAC9C;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,cAAa,oCAAoC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,YAAW,iCAAiC;AAC5C;AACA;AACA,cAAa,kEAAkE;AAC/E;AACA;AACA,gBAAe,kCAAkC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,qC;;;;;;AC/MA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,6BAA4B,gBAAgB;AAC5C;AACA,+BAA8B,gBAAgB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,gBAAe,kCAAkC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,0BAA0B;AACrC;AACA;AACA,QAAO;;AAEP;AACA;AACA,UAAS,kEAAkE;AAC3E;AACA;AACA,YAAW,kCAAkC;AAC7C;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;ACnMA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qC;;;;;;ACrBA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,wGAAuG,UAAU,eAAe;AAChI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,uCAAuC;AAClD;AACA;AACA;AACA,uDAAsD;AACtD;AACA;AACA,UAAS,iBAAiB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;ACzHA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,qC;;;;;;ACxCA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,qC;;;;;;ACjCA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAgE;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,qC;;;;;;AC/CA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;;AAEA,qCAAoC;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;ACzIA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;ACxEA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AChCA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA;AACA,UAAS;AACT;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO,uCAAuC;AAC9C;AACA;AACA,UAAS,4CAA4C;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;ACzJA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA,gBAAe;AACf,gBAAe;AACf;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,gEAA+D,4BAA4B;AAC3F;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;AC5OA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AC5BA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;ACxCA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAoB;AACpB;AACA,qBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA,+BAA8B;AAC9B;AACA,MAAK;AACL,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;AACL;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;AC3fA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qC;;;;;;ACjBA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,qC;;;;;;ACxBA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA4B,sBAAsB;AAClD;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;AC5RA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,yCAAwC;;AAExC,qC;;;;;;ACZA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA,oEAAmE,aAAa;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH,iCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA,qC;;;;;;ACzLA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;ACTA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sHAAqH;AACrH,YAAW;AACX;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,UAAS;AACT,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,QAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA,qBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,QAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;ACxYA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;;AAEA;AACA,E;;;;;;ACpHA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,QAAO;AACP;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA,qC;;;;;;ACnJA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;;AAEA;AACA,mC;;;;;;AC9LA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL,IAAG;;;AAGH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;;AAEA;AACA,qC;;;;;;ACvFA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AC1BA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,kEAAkE;AAC7E;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AChFA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AC9EA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,G;;;;;;ACdA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;AACA;AACA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;;AAEA;AACA;AACA,sCAAqC;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,E;;;;;;ACvCA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA,yCAAwC;AACxC;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA,yCAAwC;AACxC;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yCAAwC;AACxC;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH,yCAAwC;AACxC;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA,qC;;;;;;ACtGA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;;AAEA;AACA;;AAEA;AACA,sBAAqB,gBAAgB;AACrC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,uBAAsB,kBAAkB;AACxC;AACA;;AAEA;AACA,uBAAsB,yCAAyC;AAC/D;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA,YAAW;AACX,UAAS;AACT;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,IAAG;AACH;;;AAGA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS,0DAA0D,mKAAmK;AACtO;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AC7QA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,UAAS,uCAAuC;AAChD;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,sBAAqB,UAAU;AAC/B;AACA;AACA;;AAEA;AACA,qC;;;;;;ACxQA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,oEAAmE,aAAa;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,UAAS;AACT;AACA;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP,iBAAgB;AAChB,QAAO;;AAEP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS,qCAAqC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AC/QA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,oEAAmE,aAAa;AAChF;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA;;AAEA;AACA,MAAK;AACL,uBAAsB,eAAe;AACrC;AACA,MAAK;AACL,uBAAsB,gBAAgB;AACtC,MAAK;AACL;AACA,MAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iEAAgE;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,QAAO;AACP;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,gEAA+D;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,qBAAqB;AAChC;AACA;AACA;AACA;AACA,IAAG;AACH;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;ACpMA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH,EAAE;AAC9e;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA,qC;;;;;;AC3GA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,eAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA,EAAC;;AAED;AACA,qC;;;;;;AChHA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBA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EA;AACA;AACA,sBAAqB,gBAAgB;AACrC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,sBAAqB,mCAAmC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,oBAAmB,gCAAgC;AACnD,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;AACA;AACA,MAAK;AACL,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,IAAG;AACH;AACA,qEAAoE,aAAa;AACjF;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA,wEAAuE,eAAe;AACtF;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA,oBAAmB,6DAA6D;AAChF,IAAG;AACH;AACA;AACA;;AAEA,oBAAmB,2DAA2D;AAC9E,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA,sBAAqB,uCAAuC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,sBAAqB,yBAAyB;AAC9C;AACA;AACA,IAAG;AACH;AACA;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;AACA,IAAG;AACH;AACA;;AAEA;AACA,IAAG;AACH;AACA;;AAEA;AACA,IAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA,6DAA4D;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA,UAAS,kCAAkC;AAC3C;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX,mGAAkG;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,cAAa,yCAAyC;AACtD;AACA;AACA,mGAAkG;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,YAAW,iBAAiB;AAC5B;AACA;AACA;AACA,cAAa,uCAAuC;AACpD,gHAA+G;AAC/G;AACA;AACA;AACA;AACA,cAAa;AACb,4HAA2H;AAC3H;AACA;AACA;AACA;AACA,cAAa;AACb,gHAA+G;AAC/G;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;AC3mBA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA,8CAA6C,gBAAgB;AAC7D;AACA;;AAEA;AACA,IAAG;AACH;AACA;AACA,G;;;;;;ACpBA,mBAAkB,yD;;;;;;ACAlB;AACA;AACA,sD;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA2E,kBAAkB,EAAE;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAoD,gCAAgC;AACpF;AACA;AACA,MAAK;AACL;AACA,kCAAiC,gBAAgB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;;;;;;ACnCD;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA,G;;;;;;ACXA;AACA;AACA;AACA;;AAEA;AACA;AACA,G;;;;;;ACPA;AACA;AACA;AACA;AACA,4DAA2D;AAC3D,G;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACPA;AACA;AACA;AACA;AACA,0BAAyB,kBAAkB,EAAE;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACfA;AACA;;AAEA;AACA;AACA,gCAA+B,qBAAqB;AACpD,gCAA+B,SAAS,EAAE;AAC1C,EAAC,UAAU;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA,4BAA2B,SAAS,mBAAmB;AACvD,gCAA+B,aAAa;AAC5C;AACA,IAAG,UAAU;AACb;AACA,G;;;;;;ACpBA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,gBAAgB;;AAE7F;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yDAAwD,+BAA+B;AACvF;;AAEA;AACA;AACA,MAAK;AACL;AACA;AACA,MAAK;AACL;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA,MAAK;AACL;AACA;AACA;AACA,EAAC,G;;;;;;AClDD,mBAAkB,yD;;;;;;ACAlB;AACA;AACA,2C;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACRA,mBAAkB,yD;;;;;;ACAlB;AACA;AACA,2C;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA,G;;;;;;ACNA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,MAAK;AACL;AACA;AACA,QAAO,0EAA0E;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,UAAS,SAAS,kBAAkB,EAAE;AACtC,mGAAkG;AAClG;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,wCAAwC;AACnD;AACA;AACA,cAAa,8CAA8C;AAC3D;AACA;AACA;AACA;AACA;AACA,YAAW,iCAAiC;AAC5C,gGAA+F;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA,qC;;;;;;ACvJA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;AC/BA;;AAEA;AACA;AACA,EAAC;;AAED;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH,EAAE;AAC9e;AACA;;AAEA;;AAEA;AACA;AACA;AACA,EAAC;AACD;AACA;;AAEA;;AAEA,gCAA+B,iBAAiB,GAAG,mEAAmE,wBAAwB,GAAG,+FAA+F,0BAA0B,GAAG,2CAA2C,sBAAsB,UAAU,WAAW,aAAa,gBAAgB,iCAAiC,GAAG,qCAAqC,uBAAuB,GAAG;;AAEne;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW,wCAAwC;AACnD;AACA;AACA,cAAa,gCAAgC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA,UAAS,gCAAgC;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA,UAAS,qDAAqD;AAC9D;AACA;AACA;AACA;AACA;AACA,qBAAoB;AACpB,YAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA,kDAAiD,2BAA2B,gBAAgB,EAAE;AAC9F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA,qC;;;;;;AC9LA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA,oEAAmE,aAAa;AAChF;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,uBAAsB,eAAe;AACrC;AACA,yBAAwB,kBAAkB;AAC1C,QAAO;AACP,MAAK;AACL,uBAAsB,kBAAkB;AACxC;AACA;AACA;AACA,MAAK;AACL,uBAAsB,iBAAiB;AACvC,MAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS,2CAA2C;AACpD;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA,cAAa;;AAEb;AACA;AACA;AACA,cAAa;;AAEb;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,UAAS,2CAA2C;AACpD;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA,gBAAe;AACf;AACA,cAAa;AACb;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,MAAK;AACL;AACA,4BAA2B,2BAA2B;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS,8DAA8D;AACvE;AACA;AACA;AACA,UAAS,0CAA0C;AACnD;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,QAAO,6BAA6B;AACpC;AACA;AACA;;AAEA;AACA,EAAC;;AAED;;AAEA;AACA,qC;;;;;;;;;;;;ACpKA;;;;AACA;;;;;;;;;;;;gfARA;;;;;;;AAUA,KAAMgf,gBAAgB,SAAhBA,aAA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AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS;;AAET;;AAEA,qCAAoC;;AAEpC;AACA;AACA;AACA;AACA,UAAS;;AAET;AACA;AACA;AACA;;AAEA;AACA;AACA,wBAAuB;AACvB;AACA;AACA;AACA,cAAa;AACb,sDAAqD,wCAAwC;AAC7F;AACA;AACA,kBAAiB,kEAAkE;AACnF;AACA;AACA;AACA;AACA,kBAAiB,kEAAkE;AACnF;AACA;AACA,sBAAqB,wCAAwC,eAAe;AAC5E,0CAAyC;AACzC;AACA;AACA;AACA;AACA,sBAAqB,uCAAuC,eAAe,qBAAqB;AAChG;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA,qC;;;;;;AC9KA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,G;;;;;;ACXA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;AACL;;AAEA;AACA;;AAEA,6BAA4B;AAC5B,8BAA6B;AAC7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;ACxBA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;;;;;;;;;gfAZA;;;;;;;AAcA,KAAMugB,YAAY,CAChB;AACElf,UAAO,IADT;AAEEkB,cAAW,GAFb;AAGEC,QAAK;AACL;AAJF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AAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ,kDAAiD,aAAa,uFAAuF,EAAE,uFAAuF;;AAE9O,2CAA0C,+DAA+D,qGAAqG,EAAE,yEAAyE,eAAe,yEAAyE,EAAE,EAAE,uHAAuH;;AAE5e;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA,qCAAoC,uBAAuB;AAC3D;AACA;AACA,oBAAmB;AACnB;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,gBAAgB,qCAAqC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAiB,WAAW,iEAAiE;AAC7F;AACA;AACA,oBAAmB;AACnB;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,wBAAwB;AACnC;AACA;AACA;AACA;AACA;AACA,oBAAmB;AACnB;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,2BAA2B;AACtC;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB;AACnB;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA;AACA,oBAAmB;AACnB;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAC;;AAED;AACA;;AAEA;AACA,qC;;;;;;ACzTA;;AAEA;AACA;AACA,EAAC;;AAED,oDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,oCAAmC,iDAAiD,gBAAgB,iBAAiB,OAAO,mBAAmB,4DAA4D,6DAA6D,wCAAwC,EAAE,EAAE,YAAY;;AAEhU,+CAA8C,iBAAiB,qBAAqB,oCAAoC,6DAA6D,oBAAoB,EAAE,eAAe;;AAE1N,kDAAiD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AAG,IAAL,EAAWC,GAAG,GAAd,EAAmBC,GAAG,EAAtB,EAA0BC,GAAG,IAA7B,EAAmCf,KAAK,GAAxC,EAHe,CAAjB;;KAMM7B,K;;;AACJ,kBAAYG,KAAZ,EAAmB;AAAA;;AAAA,mDACjB,uBAAMA,KAAN,CADiB;;AAAA,YAOnB4jB,YAPmB,GAOJ,iBAAS;AACtB,WAAItO,UAAU,EAAd,EAAkB;AAChB,gBAAO,OAAKjV,QAAL,CAAc;AACnBgC,iBAAM6hB;AADa,UAAd,CAAP;AAGD;AACD,WAAIC,SAAS,IAAIlO,MAAJ,CAAWX,KAAX,EAAkB,IAAlB,CAAb;AACA,WAAIjT,OAAO6hB,SAASvZ,MAAT,CAAgB;AAAA,gBAAQwZ,OAAOC,IAAP,CAAY5I,KAAKlZ,CAAjB,CAAR;AAAA,QAAhB,CAAX;AACA,cAAKjC,QAAL,CAAc;AACZgC;AADY,QAAd;AAGD,MAlBkB;;AAAA,YAoBnBgiB,WApBmB,GAoBL,YAAM;AAClB,cAAKhkB,QAAL,CAAc;AACZgC,eAAM6hB;AADM,QAAd;AAGD,MAxBkB;;AAEjB,YAAKjkB,KAAL,GAAa;AACXoC,aAAM6hB;AADK,MAAb;AAFiB;AAKlB;;mBAqBD5jB,M,qBAAS;AACP,YACE;AAAA;AAAA;AACE;AAAA;AAAA,WAAK,WAAU,UAAf;AACE,0CAAC,MAAD,IAAQ,UAAU,KAAKsjB,YAAvB,EAAqC,SAAS,KAAKS,WAAnD;AADF,QADF;AAIE,4DAAO,SAASJ,QAAhB,EAA0B,MAAM,KAAKhkB,KAAL,CAAWoC,IAA3C;AAJF,MADF;AAQD,I;;;;;sBAGYxC,K","file":"demo.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 141dfa873fe1329b8f7c","\nimport { Con, Row, Col } from 'bee-layout';\nimport { Panel } from 'bee-panel';\nimport Button from 'bee-button';\nimport React, { Component } from 'react';\nimport ReactDOM from 'react-dom';\n\n\nconst CARET = ;\n\nconst CARETUP = ;\n\n\nvar Demo1 = require(\"./demolist/Demo1\");var Demo10 = require(\"./demolist/Demo10\");var Demo11 = require(\"./demolist/Demo11\");var Demo12 = require(\"./demolist/Demo12\");var Demo13 = require(\"./demolist/Demo13\");var Demo14 = require(\"./demolist/Demo14\");var Demo15 = require(\"./demolist/Demo15\");var Demo16 = require(\"./demolist/Demo16\");var Demo17 = require(\"./demolist/Demo17\");var Demo18 = require(\"./demolist/Demo18\");var Demo19 = require(\"./demolist/Demo19\");var Demo2 = require(\"./demolist/Demo2\");var Demo21 = require(\"./demolist/Demo21\");var Demo22 = require(\"./demolist/Demo22\");var Demo23 = require(\"./demolist/Demo23\");var Demo24 = require(\"./demolist/Demo24\");var Demo3 = require(\"./demolist/Demo3\");var Demo4 = require(\"./demolist/Demo4\");var Demo5 = require(\"./demolist/Demo5\");var Demo6 = require(\"./demolist/Demo6\");var Demo7 = require(\"./demolist/Demo7\");var Demo8 = require(\"./demolist/Demo8\");var Demo9 = require(\"./demolist/Demo9\");var DemoArray = [{\"example\":,\"title\":\" 简单表格、两种tip、选中行背景色、文字过长\",\"code\":\"/**\\n*\\n* @title 简单表格、两种tip、选中行背景色、文字过长\\n* 【一种是bee-popover实现、一种是标签本身的tooltip】\\n* @description\\n*/\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Button, Popover } from 'tinper-bee';\\n\\nfunction getTitleTip(text){\\n return(\\n
{text}
\\n )\\n}\\n\\n\\nconst columns = [\\n { id: \\\"123\\\", title: \\\"性别\\\", dataIndex: \\\"b\\\", key: \\\"b\\\", width: 100 },\\n { title: \\\"年龄\\\", dataIndex: \\\"c\\\", key: \\\"c\\\", width: 200 },\\n { title: \\\"用户名\\\", dataIndex: \\\"a\\\", key: \\\"a\\\", width:80 , className:\\\"rowClassName\\\",\\n render(text, record, index) {\\n return();\\n }},\\n {\\n title: \\\"操作\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\",\\n render(text, record, index) {\\n return (\\n \\n );\\n }\\n }\\n];\\n\\nconst data = [\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"操作\\\", key: \\\"1\\\" },\\n { a: \\\"杨过叔叔的女儿黄蓉\\\", b: \\\"男\\\", c: 67, d: \\\"操作\\\", key: \\\"2\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25, d: \\\"操作\\\", key: \\\"3\\\" }\\n];\\n\\nclass Demo1 extends Component {\\n\\n constructor(props){\\n super(props);\\n this.state = {\\n data: data,\\n factoryValue: 0,\\n selectedRow: new Array(data.length)//状态同步\\n }\\n }\\n\\n render() {\\n return (\\n {\\n if (this.state.selectedRow[index]) {\\n return 'selected';\\n } else {\\n return '';\\n }\\n }}\\n onRowClick={(record,index,indent)=>{\\n let selectedRow = new Array(this.state.data.length);\\n selectedRow[index] = true;\\n this.setState({\\n factoryValue: record,\\n selectedRow: selectedRow\\n });\\n }}\\n title={currentData => 标题: 这是一个标题
}\\n footer={currentData => 表尾: 我是小尾巴
}\\n /> \\n );\\n }\\n}\\n\\n\\n\",\"desc\":\"\"},{\"example\":,\"title\":\" 无数据时显示\",\"code\":\"/**\\n*\\n* @title 无数据时显示\\n* @description 无数据时显示效果展示(可自定义)\\n *\\n* import {Table} from 'tinper-bee';\\n*/\\n\\n\\nimport React, { Component } from 'react';\\nimport { Table } from 'tinper-bee';\\n\\n\\nconst columns10 = [\\n {\\n title: \\\"Name\\\",\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n width: \\\"40%\\\"\\n },\\n {\\n title: \\\"Age\\\",\\n dataIndex: \\\"age\\\",\\n key: \\\"age\\\",\\n width: \\\"30%\\\"\\n },\\n {\\n title: \\\"Address\\\",\\n dataIndex: \\\"address\\\",\\n key: \\\"address\\\"\\n }\\n ];\\n \\n const data10 = [\\n \\n ];\\n\\n const emptyFunc = () => 这里没有数据!\\n \\n class Demo10 extends Component {\\n render() {\\n return ;\\n }\\n }\\n\\n\",\"desc\":\" 无数据时显示效果展示(可自定义)\"},{\"example\":,\"title\":\" 列排序\",\"code\":\"/**\\n*\\n* @title 列排序\\n* @description 点击列的上下按钮即可排序\\n*\\n*/\\n\\n\\nimport React, { Component } from 'react';\\nimport { Table, Icon } from 'tinper-bee';\\n\\nconst columns11 = [\\n {\\n title: \\\"名字\\\",\\n dataIndex: \\\"a\\\",\\n key: \\\"a\\\",\\n width: 100\\n },\\n {\\n title: \\\"性别\\\",\\n dataIndex: \\\"b\\\",\\n key: \\\"b\\\",\\n width: 100\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"c\\\",\\n key: \\\"c\\\",\\n width: 200,\\n sorter: (a, b) => a.c - b.c\\n },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\"\\n }\\n];\\n\\nconst data11 = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30,d:'内行', key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41,d:'大侠', key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25,d:'大侠', key: \\\"3\\\" }\\n];\\n\\nconst defaultProps11 = {\\n prefixCls: \\\"bee-table\\\"\\n};\\nclass Demo11 extends Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n sortOrder: \\\"\\\",\\n data: data11\\n };\\n }\\n toggleSortOrder=(order, column)=> {\\n let { sortOrder, data, oldData } = this.state;\\n let ascend_sort = function(key) {\\n return function(a, b) {\\n return a.key - b.key;\\n };\\n };\\n let descend_sort = function(key) {\\n return function(a, b) {\\n return b.key - a.key;\\n };\\n };\\n if (sortOrder === order) {\\n // 切换为未排序状态\\n order = \\\"\\\";\\n }\\n if (!oldData) {\\n oldData = data.concat();\\n }\\n if (order === \\\"ascend\\\") {\\n data = data.sort(function(a, b) {\\n return column.sorter(a, b);\\n });\\n } else if (order === \\\"descend\\\") {\\n data = data.sort(function(a, b) {\\n return column.sorter(b, a);\\n });\\n } else {\\n data = oldData.concat();\\n }\\n this.setState({\\n sortOrder: order,\\n data: data,\\n oldData: oldData\\n });\\n }\\n renderColumnsDropdown(columns) {\\n const { sortOrder } = this.state;\\n const { prefixCls } = this.props;\\n\\n return columns.map(originColumn => {\\n let column = Object.assign({}, originColumn);\\n let sortButton;\\n if (column.sorter) {\\n const isAscend = sortOrder === \\\"ascend\\\";\\n const isDescend = sortOrder === \\\"descend\\\";\\n sortButton = (\\n \\n this.toggleSortOrder(\\\"ascend\\\", column)}\\n >\\n \\n \\n this.toggleSortOrder(\\\"descend\\\", column)}\\n >\\n \\n \\n
\\n );\\n }\\n column.title = (\\n \\n {column.title}\\n {sortButton}\\n \\n );\\n return column;\\n });\\n }\\n render() {\\n let columns = this.renderColumnsDropdown(columns11);\\n return ;\\n }\\n}\\nDemo11.defaultProps = defaultProps11;\\n\\n\\n\",\"desc\":\" 点击列的上下按钮即可排序\"},{\"example\":,\"title\":\" 全选功能\",\"code\":\"/**\\n*\\n* @title 全选功能\\n* @description 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)\\n*\\n*/\\n\\n\\nimport React, { Component } from 'react';\\nimport { Table, Checkbox } from 'tinper-bee';\\n\\nconst columns12 = [\\n {\\n title: \\\"名字\\\",\\n dataIndex: \\\"a\\\",\\n key: \\\"a\\\",\\n width: 100\\n },\\n {\\n title: \\\"性别\\\",\\n dataIndex: \\\"b\\\",\\n key: \\\"b\\\",\\n width: 100\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"c\\\",\\n key: \\\"c\\\",\\n width: 200,\\n sorter: (a, b) => a.c - b.c\\n },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\"\\n }\\n];\\n\\nconst data12 = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30,d:'内行', key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41,d:'大侠', key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25,d:'大侠', key: \\\"3\\\" }\\n];\\n\\nconst defaultProps12 = {\\n prefixCls: \\\"bee-table\\\",\\n multiSelect: {\\n type: \\\"checkbox\\\",\\n param: \\\"key\\\"\\n }\\n};\\nclass Demo12 extends Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n checkedAll:false,\\n checkedArray: [\\n false,\\n false,\\n false,\\n ],\\n data: data12\\n };\\n }\\n onAllCheckChange = () => {\\n let self = this;\\n let checkedArray = [];\\n let listData = self.state.data.concat();\\n let selIds = [];\\n // let id = self.props.multiSelect.param;\\n for (var i = 0; i < self.state.checkedArray.length; i++) {\\n checkedArray[i] = !self.state.checkedAll;\\n }\\n // if (self.state.checkedAll) {\\n // selIds = [];\\n // } else {\\n // for (var i = 0; i < listData.length; i++) {\\n // selIds[i] = listData[i][id];\\n // }\\n // }\\n self.setState({\\n checkedAll: !self.state.checkedAll,\\n checkedArray: checkedArray,\\n // selIds: selIds\\n });\\n // self.props.onSelIds(selIds);\\n };\\n onCheckboxChange = (text, record, index) => {\\n let self = this;\\n let allFlag = false;\\n // let selIds = self.state.selIds;\\n // let id = self.props.postId;\\n let checkedArray = self.state.checkedArray.concat();\\n // if (self.state.checkedArray[index]) {\\n // selIds.remove(record[id]);\\n // } else {\\n // selIds.push(record[id]);\\n // }\\n checkedArray[index] = !self.state.checkedArray[index];\\n for (var i = 0; i < self.state.checkedArray.length; i++) {\\n if (!checkedArray[i]) {\\n allFlag = false;\\n break;\\n } else {\\n allFlag = true;\\n }\\n }\\n self.setState({\\n checkedAll: allFlag,\\n checkedArray: checkedArray,\\n // selIds: selIds\\n });\\n // self.props.onSelIds(selIds);\\n };\\n renderColumnsMultiSelect(columns) {\\n const { data,checkedArray } = this.state;\\n const { multiSelect } = this.props;\\n let select_column = {};\\n let indeterminate_bool = false;\\n // let indeterminate_bool1 = true;\\n if (multiSelect && multiSelect.type === \\\"checkbox\\\") {\\n let i = checkedArray.length;\\n while(i--){\\n if(checkedArray[i]){\\n indeterminate_bool = true;\\n break;\\n }\\n }\\n let defaultColumns = [\\n {\\n title: (\\n \\n ),\\n key: \\\"checkbox\\\",\\n dataIndex: \\\"checkbox\\\",\\n width: \\\"5%\\\",\\n render: (text, record, index) => {\\n return (\\n \\n );\\n }\\n }\\n ];\\n columns = defaultColumns.concat(columns);\\n }\\n return columns;\\n }\\n render() {\\n let columns = this.renderColumnsMultiSelect(columns12);\\n return ;\\n }\\n}\\nDemo12.defaultProps = defaultProps12;\\n\\n\",\"desc\":\" 点击表格左列按钮即可选中,并且在选中的回调函数中能获取到选中的数据(未使用封装好的全选功能)\"},{\"example\":,\"title\":\" 列排序、全选功能、合计\",\"code\":\"/**\\n *\\n * @title 列排序、全选功能、合计\\n * @description 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\\n *\\n */\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Button, Checkbox } from 'tinper-bee';\\nimport multiSelect from \\\"tinper-bee/lib/multiSelect.js\\\";;\\nimport sort from \\\"tinper-bee/lib/sort.js\\\";;\\nimport sum from \\\"tinper-bee/lib/sum.js\\\";;\\n\\nconst columns13 = [\\n {\\n title: \\\"名字\\\",\\n dataIndex: \\\"a\\\",\\n key: \\\"a\\\",\\n width: 200\\n },\\n {\\n title: \\\"性别\\\",\\n dataIndex: \\\"b\\\",\\n key: \\\"b\\\",\\n width: 200\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"c\\\",\\n key: \\\"c\\\",\\n width: 200,\\n sumCol: true,\\n sorter: (a, b) => a.c - b.c\\n },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\",\\n width: 200\\n }\\n];\\n\\nconst data13 = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30, d: \\\"内行\\\", key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"大侠\\\", key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25, d: \\\"大侠\\\", key: \\\"3\\\" }\\n];\\nconst data13_1 = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30, d: \\\"内行\\\", key: \\\"2\\\" },\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30, d: \\\"内行\\\", key: \\\"22\\\" },\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30, d: \\\"内行\\\", key: \\\"222\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"大侠\\\", key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25, d: \\\"大侠\\\", key: \\\"3\\\" }\\n];\\n//拼接成复杂功能的table组件不能在render中定义,需要像此例子声明在组件的外侧,不然操作state会导致功能出现异常\\nlet ComplexTable = multiSelect(sum(sort(Table)));\\n\\nclass Demo13 extends Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n data13: data13,\\n selectedRow: this.selectedRow,\\n selectDisabled: this.selectDisabled\\n };\\n }\\n getSelectedDataFunc = data => {\\n // console.log(data);\\n };\\n selectDisabled = (record, index) => {\\n // console.log(record);\\n if (index === 1) {\\n return true;\\n }\\n return false;\\n };\\n selectedRow = (record, index) => {\\n // console.log(record);\\n if (index === 0) {\\n return true;\\n }\\n return false;\\n };\\n onClick = () => {\\n this.setState({\\n selectedRow: function() {}\\n });\\n };\\n onClick1 = () => {\\n this.setState({\\n selectDisabled: (record, index) => {\\n // console.log(record);\\n if (index === 2) {\\n return true;\\n }\\n return false;\\n }\\n });\\n };\\n render() {\\n let multiObj = {\\n type: \\\"checkbox\\\"\\n };\\n return (\\n \\n \\n \\n \\n
\\n );\\n }\\n}\\n\\n\",\"desc\":\" 列排序、全选功能、合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\"},{\"example\":,\"title\":\" 编辑态表格\",\"code\":\"/**\\n*\\n* @title 编辑态表格\\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\\n*\\n*/\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Select, Checkbox, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\\nimport InputRender from \\\"tinper-bee/lib/InputRender.js\\\";;\\nimport DateRender from \\\"tinper-bee/lib/DateRender.js\\\";;\\nimport SelectRender from \\\"tinper-bee/lib/SelectRender.js\\\";;\\n\\nconst format = \\\"YYYY-MM-DD\\\";\\nconst format2 = \\\"YYYY-MM\\\";\\nconst format3 = \\\"YYYY-MM-DD HH:mm:ss\\\";\\n\\nconst dateInputPlaceholder = \\\"选择日期\\\";\\nconst dateInputPlaceholder2 = \\\"选择年月\\\";\\nconst dataSource = [\\n {\\n key: \\\"boyuzhou\\\",\\n value: \\\"jack\\\"\\n },\\n {\\n key: \\\"renhualiu\\\",\\n value: \\\"lucy\\\"\\n },\\n {\\n key: \\\"yuzhao\\\",\\n value: \\\"yiminghe\\\"\\n }\\n];\\nclass Demo14 extends React.Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n dataSource: [\\n {\\n key: \\\"0\\\",\\n name: \\\"沉鱼\\\",\\n number: \\\"10\\\",\\n age: \\\"y\\\",\\n address: \\\"jack\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n },\\n {\\n key: \\\"1\\\",\\n name: \\\"落雁\\\",\\n number: \\\"100\\\",\\n age: \\\"y\\\",\\n address: \\\"lucy\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n },\\n {\\n key: \\\"2\\\",\\n name: \\\"闭月\\\",\\n number: \\\"1000\\\",\\n age: \\\"n\\\",\\n address: \\\"lucy\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n },\\n {\\n key: \\\"3\\\",\\n name: \\\"羞花\\\",\\n number: \\\"9999\\\",\\n age: \\\"y\\\",\\n address: \\\"lucy\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n }\\n ],\\n count: 4\\n };\\n this.columns = [\\n {\\n title: \\\"普通输入\\\",\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n width: \\\"150px\\\",\\n render: (text, record, index) => (\\n \\n \\n \\n }\\n reg={/^[0-9]+$/}\\n />\\n )\\n },\\n {\\n title: \\\"货币输入\\\",\\n dataIndex: \\\"number\\\",\\n key: \\\"number\\\",\\n width: \\\"150px\\\",\\n render: (text, record, index) => (\\n \\n \\n \\n }\\n />\\n )\\n },\\n {\\n title: \\\"复选\\\",\\n dataIndex: \\\"age\\\",\\n key: \\\"age\\\",\\n width: \\\"100px\\\",\\n render: (text, record, index) => (\\n \\n )\\n },\\n {\\n title: \\\"下拉框\\\",\\n dataIndex: \\\"address\\\",\\n key: \\\"address\\\",\\n width: \\\"200px\\\",\\n render: (text, record, index) => {\\n return (\\n \\n \\n \\n \\n \\n \\n );\\n }\\n },\\n {\\n title: \\\"年月日\\\",\\n dataIndex: \\\"datepicker\\\",\\n key: \\\"datepicker\\\",\\n width: \\\"200px\\\",\\n render: (text, record, index) => {\\n return (\\n \\n );\\n }\\n },\\n {\\n title: \\\"年月\\\",\\n dataIndex: \\\"MonthPicker\\\",\\n key: \\\"MonthPicker\\\",\\n width: \\\"200px\\\",\\n render: (text, record, index) => {\\n return (\\n \\n );\\n }\\n }\\n ];\\n }\\n check = (flag, obj) => {\\n console.log(flag);\\n console.log(obj);\\n };\\n\\n onInputChange = (index, key) => {\\n return value => {\\n const dataSource = [...this.state.dataSource];\\n dataSource[index][key] = value;\\n this.setState({ dataSource });\\n };\\n };\\n onCheckChange = (index, key) => {\\n return value => {\\n const dataSource = [...this.state.dataSource];\\n dataSource[index][key] = value;\\n this.setState({ dataSource });\\n };\\n };\\n onSelectChange = (index, key) => {\\n return value => {\\n console.log(`selected ${value}`);\\n const dataSource = [...this.state.dataSource];\\n dataSource[index][key] = value;\\n this.setState({ dataSource });\\n };\\n };\\n onDateChange = d => {\\n console.log(d);\\n };\\n onDateSelect = d => {\\n console.log(d);\\n };\\n onDelete = index => {\\n return () => {\\n const dataSource = [...this.state.dataSource];\\n dataSource.splice(index, 1);\\n this.setState({ dataSource });\\n };\\n };\\n handleAdd = () => {\\n const { count, dataSource } = this.state;\\n const newData = {\\n key: count,\\n name: `凤姐 ${count}`,\\n age: 32,\\n address: \\\"jack\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n };\\n this.setState({\\n dataSource: [...dataSource, newData],\\n count: count + 1\\n });\\n };\\n\\n getBodyWrapper = body => {\\n return (\\n \\n {body.props.children}\\n \\n );\\n };\\n getData = () => {\\n console.log(this.state.dataSource);\\n };\\n render() {\\n const { dataSource } = this.state;\\n const columns = this.columns;\\n return (\\n \\n
\\n
\\n
\\n
\\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\"},{\"example\":,\"title\":\" 表格行/列合并\",\"code\":\"/**\\n*\\n* @title 表格行/列合并\\n* @description 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。\\n*\\n*/\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table } from 'tinper-bee';\\n\\nconst renderContent = (value, row, index) => {\\n const obj = {\\n children: value,\\n props: {},\\n };\\n if (index === 4) {\\n obj.props.colSpan = 0;\\n }\\n return obj;\\n};\\n\\nconst columns = [{\\n title: 'Name',\\n key: \\\"name\\\",\\n dataIndex: 'name',\\n render: (text, row, index) => {\\n if (index < 4) {\\n return {text};\\n }\\n return {\\n children: {text},\\n props: {\\n colSpan: 5,\\n },\\n };\\n },\\n}, {\\n title: 'Age',\\n key: \\\"Age\\\",\\n dataIndex: 'age',\\n render: renderContent,\\n}, {\\n title: 'Home phone',\\n colSpan: 2,\\n key: \\\"tel\\\",\\n dataIndex: 'tel',\\n render: (value, row, index) => {\\n const obj = {\\n children: value,\\n props: {},\\n };\\n if (index === 2) {\\n obj.props.rowSpan = 2;\\n }\\n if (index === 3) {\\n obj.props.rowSpan = 0;\\n }\\n if (index === 4) {\\n obj.props.colSpan = 0;\\n }\\n return obj;\\n },\\n}, {\\n title: 'Phone',\\n colSpan: 0,\\n key: \\\"phone\\\",\\n dataIndex: 'phone',\\n render: renderContent,\\n}, {\\n title: 'Address',\\n key: \\\"address\\\",\\n dataIndex: 'address',\\n render: renderContent,\\n}];\\n\\nconst data = [{\\n key: '1',\\n name: 'John Brown',\\n age: 32,\\n tel: '0571-22098909',\\n phone: 18889898989,\\n address: 'New York No. 1 Lake Park',\\n}, {\\n key: '2',\\n name: 'Jim Green',\\n tel: '0571-22098333',\\n phone: 18889898888,\\n age: 42,\\n address: 'London No. 1 Lake Park',\\n}, {\\n key: '3',\\n name: 'Joe Black',\\n age: 32,\\n tel: '0575-22098909',\\n phone: 18900010002,\\n address: 'Sidney No. 1 Lake Park',\\n}, {\\n key: '4',\\n name: 'Jim Red',\\n age: 18,\\n tel: '0575-22098909',\\n phone: 18900010002,\\n address: 'London No. 2 Lake Park',\\n}, {\\n key: '5',\\n name: 'Jake White',\\n age: 18,\\n tel: '0575-22098909',\\n phone: 18900010002,\\n address: 'Dublin No. 2 Lake Park',\\n}];\\n\\nclass Demo15 extends Component {\\n render() {\\n return (\\n \\n );\\n }\\n}\\n\\n\\n\\n\",\"desc\":\" 表头只支持列合并,使用 column 里的 colSpan 进行设置。表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。\"},{\"example\":,\"title\":\" 嵌套子表格\",\"code\":\"/**\\n*\\n* @title 嵌套子表格\\n* @description 通过expandedRowRender参数来实现子表格\\n*\\n*/\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table } from 'tinper-bee';\\nimport multiSelect from \\\"tinper-bee/lib/multiSelect.js\\\";;\\n\\nconst columns16 = [\\n { title: \\\"用户名\\\", dataIndex: \\\"a\\\", key: \\\"a\\\", width: 100 },\\n { id: \\\"123\\\", title: \\\"性别\\\", dataIndex: \\\"b\\\", key: \\\"b\\\", width: 100 },\\n { title: \\\"年龄\\\", dataIndex: \\\"c\\\", key: \\\"c\\\", width: 200 },\\n {\\n title: \\\"操作\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\",\\n render(text, record, index) {\\n return (\\n {\\n alert(\\\"这是第\\\" + index + \\\"列,内容为:\\\" + text);\\n }}\\n >\\n 一些操作\\n \\n );\\n }\\n }\\n];\\n\\nconst data16 = [\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"操作\\\", key: \\\"1\\\" },\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 67, d: \\\"操作\\\", key: \\\"2\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25, d: \\\"操作\\\", key: \\\"3\\\" }\\n];\\n\\n// let Table1 = multiSelect(Table)\\n\\nclass Demo16 extends Component {\\n constructor(props){\\n super(props);\\n this.state={\\n data_obj:{}\\n }\\n }\\n expandedRowRender = (record, index, indent) => {\\n return (\\n 标题: 这是一个标题
}\\n footer={currentData => 表尾: 我是小尾巴
}\\n />\\n );\\n };\\n getData=(expanded, record)=>{\\n //当点击展开的时候才去请求数据\\n let new_obj = Object.assign({},this.state.data_obj);\\n if(expanded){\\n if(record.key==='1'){\\n new_obj[record.key] = [\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"操作\\\", key: \\\"1\\\" },\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 67, d: \\\"操作\\\", key: \\\"2\\\" }\\n ]\\n this.setState({\\n data_obj:new_obj\\n })\\n }else{\\n new_obj[record.key] = [\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"操作\\\", key: \\\"1\\\" }\\n ]\\n this.setState({\\n data_obj:new_obj\\n })\\n }\\n }\\n }\\n haveExpandIcon=(record, index)=>{\\n //控制是否显示行展开icon,该参数只有在和expandedRowRender同时使用才生效\\n if(index == 0){\\n return true;\\n }\\n return false;\\n }\\n render() {\\n return (\\n 标题: 这是一个标题
}\\n footer={currentData => 表尾: 我是小尾巴
}\\n />\\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" 通过expandedRowRender参数来实现子表格\"},{\"example\":,\"title\":\" loading属性指定表格是否加载中\",\"code\":\"/**\\n*\\n* @title loading属性指定表格是否加载中\\n* @description loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型\\n*\\n*/\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Button } from 'tinper-bee';\\n\\nconst columns17 = [\\n { title: \\\"用户名\\\", dataIndex: \\\"a\\\", key: \\\"a\\\", width: 100 },\\n { id: \\\"123\\\", title: \\\"性别\\\", dataIndex: \\\"b\\\", key: \\\"b\\\", width: 100 },\\n { title: \\\"年龄\\\", dataIndex: \\\"c\\\", key: \\\"c\\\", width: 200 },\\n {\\n title: \\\"操作\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\",\\n render(text, record, index) {\\n return (\\n {\\n alert('这是第'+index+'列,内容为:'+text);\\n }}\\n >\\n 一些操作\\n \\n );\\n }\\n }\\n];\\n\\nconst data17 = [\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"操作\\\", key: \\\"1\\\" },\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 67, d: \\\"操作\\\", key: \\\"2\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25, d: \\\"操作\\\", key: \\\"3\\\" }\\n];\\n\\nclass Demo17 extends Component {\\n constructor(props){\\n super(props);\\n this.state = {\\n loading : true\\n }\\n }\\n changeLoading = () => {\\n this.setState({\\n loading : !this.state.loading\\n })\\n }\\n render() {\\n return (\\n \\n
\\n
标题: 这是一个标题
}\\n footer={currentData => 表尾: 我是小尾巴
}\\n // loading={this.state.loading}或者是boolean\\n loading={{show:this.state.loading,loadingType:\\\"line\\\"}}\\n />\\n \\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" loading可以传boolean或者obj对象,obj为bee-loading组件的参数类型\"},{\"example\":,\"title\":\" 合并标题后的合计,且支持多字段统计\",\"code\":\"/**\\n *\\n * @title 合并标题后的合计,且支持多字段统计\\n * @description 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\\n *\\n */\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Button } from 'tinper-bee'; \\nimport sum from \\\"tinper-bee/lib/sum.js\\\";;\\n \\nlet ComplexTable = sum(Table);\\n\\nconst columns = [\\n {\\n title: \\\"Name\\\",\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n width: 100,\\n fixed: \\\"left\\\"\\n },\\n {\\n title: \\\"Other\\\",\\n children: [\\n {\\n title: \\\"Age\\\",\\n dataIndex: \\\"age\\\",\\n key: \\\"age\\\",\\n width: 200,\\n sumCol: true,\\n },\\n {\\n title: \\\"Address\\\",\\n children: [\\n {\\n title: \\\"Street\\\",\\n dataIndex: \\\"street\\\",\\n key: \\\"street\\\",\\n width: 200\\n },\\n {\\n title: \\\"Block\\\",\\n children: [\\n {\\n title: \\\"Building\\\",\\n dataIndex: \\\"building\\\",\\n key: \\\"building\\\",\\n width: 100\\n },\\n {\\n title: \\\"Door No.\\\",\\n dataIndex: \\\"number\\\",\\n key: \\\"number\\\",\\n // width: 100,\\n sumCol: true,\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n },\\n // {\\n // title: \\\"Company\\\",\\n // children: [\\n // {\\n // title: \\\"Company Address\\\",\\n // dataIndex: \\\"companyAddress\\\",\\n // key: \\\"companyAddress\\\",\\n // width: 100,\\n // },\\n // {\\n // title: \\\"Company Name\\\",\\n // dataIndex: \\\"companyName\\\",\\n // key: \\\"companyName\\\",\\n // width: 100,\\n // }\\n // ]\\n // },\\n {\\n title: \\\"Gender\\\",\\n dataIndex: \\\"gender\\\",\\n key: \\\"gender\\\",\\n width: 80,\\n fixed: \\\"right\\\"\\n }\\n];\\n\\nfunction getData(){\\n const data = [];\\n for (let i = 0; i < 5; i++) {\\n data.push({\\n key: i,\\n name: \\\"John Brown\\\"+i,\\n age: i + Math.floor(Math.random()*10),\\n street: \\\"Lake Park\\\",\\n building: \\\"C\\\",\\n number: 20 * Math.floor(Math.random()*10),\\n companyAddress: \\\"Lake Street 42\\\",\\n companyName: \\\"SoftLake Co\\\",\\n gender: \\\"M\\\"\\n });\\n }\\n return data;\\n}\\n\\nclass Demo18 extends Component {\\n \\n constructor(props) {\\n super(props);\\n this.state = {\\n data: getData()\\n };\\n }\\n\\n changeData = ()=>{\\n this.setState({\\n data: getData()\\n });\\n }\\n\\n render() {\\n const {data} = this.state;\\n return (\\n \\n \\n\\n \\n
\\n );\\n }\\n}\\n\\n\",\"desc\":\" 合计(通过使用的封装好的功能方法实现复杂功能,简单易用!)\"},{\"example\":,\"title\":\" 编辑态表格\",\"code\":\"/**\\n*\\n* @title 编辑态表格\\n* @description 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\\n*\\n*/\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Select, Checkbox, Input, Icon, Tooltip, Animate, Button } from 'tinper-bee';\\nimport InputRender from \\\"tinper-bee/lib/InputRender.js\\\";;\\nimport DateRender from \\\"tinper-bee/lib/DateRender.js\\\";;\\nimport SelectRender from \\\"tinper-bee/lib/SelectRender.js\\\";;\\n\\nconst format = \\\"YYYY-MM-DD\\\";\\nconst format2 = \\\"YYYY-MM\\\";\\nconst format3 = \\\"YYYY-MM-DD HH:mm:ss\\\";\\n\\nconst dateInputPlaceholder = \\\"选择日期\\\";\\nconst dateInputPlaceholder2 = \\\"选择年月\\\";\\nconst dataSource = [\\n {\\n key: \\\"boyuzhou\\\",\\n value: \\\"jack\\\"\\n },\\n {\\n key: \\\"renhualiu\\\",\\n value: \\\"lucy\\\"\\n },\\n {\\n key: \\\"yuzhao\\\",\\n value: \\\"yiminghe\\\"\\n }\\n];\\nclass Demo19 extends React.Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n dataSource: [\\n {\\n key: \\\"0\\\",\\n name: \\\"沉鱼\\\",\\n number: \\\"10\\\",\\n age: \\\"y\\\",\\n address: \\\"jack\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n },\\n {\\n key: \\\"1\\\",\\n name: \\\"落雁\\\",\\n number: \\\"100\\\",\\n age: \\\"y\\\",\\n address: \\\"lucy\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n },\\n {\\n key: \\\"2\\\",\\n name: \\\"闭月\\\",\\n number: \\\"1000\\\",\\n age: \\\"n\\\",\\n address: \\\"lucy\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n },\\n {\\n key: \\\"3\\\",\\n name: \\\"羞花\\\",\\n number: \\\"9999\\\",\\n age: \\\"y\\\",\\n address: \\\"lucy\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n }\\n ],\\n count: 4\\n };\\n this.columns = [ \\n {\\n title: \\\"货币输入\\\",\\n dataIndex: \\\"number\\\",\\n key: \\\"number\\\",\\n width: \\\"150px\\\",\\n render: (text, record, index) => (\\n \\n \\n \\n }\\n />\\n )\\n },\\n \\n {\\n title:(下拉框的div
),\\n dataIndex: \\\"address\\\",\\n key: \\\"address\\\",\\n width: \\\"200px\\\",\\n render: (text, record, index) => {\\n return (\\n \\n \\n \\n \\n \\n \\n );\\n }\\n }\\n ];\\n }\\n check = (flag, obj) => {\\n console.log(flag);\\n console.log(obj);\\n };\\n\\n handFocus = (value,e) => {\\n console.log(value+` 获取焦点事件`);\\n };\\n onBlur = (value,e) => {\\n console.log(value+` onBlur`);\\n };\\n\\n onInputChange = (index, key) => {\\n return value => {\\n const dataSource = [...this.state.dataSource];\\n dataSource[index][key] = value;\\n this.setState({ dataSource });\\n };\\n };\\n onCheckChange = (index, key) => {\\n return value => {\\n const dataSource = [...this.state.dataSource];\\n dataSource[index][key] = value;\\n this.setState({ dataSource });\\n };\\n };\\n onSelectChange = (index, key) => {\\n return value => {\\n console.log(`selected ${value}`);\\n const dataSource = [...this.state.dataSource];\\n dataSource[index][key] = value;\\n this.setState({ dataSource });\\n };\\n };\\n onDateChange = d => {\\n console.log(d);\\n };\\n onDateSelect = d => {\\n console.log(d);\\n };\\n onDelete = index => {\\n return () => {\\n const dataSource = [...this.state.dataSource];\\n dataSource.splice(index, 1);\\n this.setState({ dataSource });\\n };\\n };\\n handleAdd = () => {\\n const { count, dataSource } = this.state;\\n const newData = {\\n key: count,\\n name: `凤姐 ${count}`,\\n age: 32,\\n address: \\\"jack\\\",\\n datepicker: \\\"2017-06-12\\\",\\n MonthPicker: \\\"2017-02\\\"\\n };\\n this.setState({\\n dataSource: [...dataSource, newData],\\n count: count + 1\\n });\\n };\\n\\n getBodyWrapper = body => {\\n return (\\n \\n {body.props.children}\\n \\n );\\n };\\n getData = () => {\\n console.log(this.state.dataSource);\\n };\\n render() {\\n const { dataSource } = this.state;\\n const columns = this.columns;\\n return (\\n \\n
\\n
\\n
\\n
\\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" 这是带有多种不同格式的编辑态表格(编辑态是通过使用不同的render来达到不同编辑格式)\"},{\"example\":,\"title\":\" 增删改表格\",\"code\":\"/**\\n*\\n* @title 增删改表格\\n* @description 这是带有增删改功能的表格(此编辑功能未使用render组件)\\n*\\n*/\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Popconfirm, Input, Icon, Animate, Button } from 'tinper-bee';\\n\\nclass EditableCell extends React.Component {\\n state = {\\n value: this.props.value,\\n editable: false\\n };\\n handleChange = e => {\\n const value = e.target.value;\\n this.setState({ value });\\n };\\n check = () => {\\n this.setState({ editable: false });\\n if (this.props.onChange) {\\n this.props.onChange(this.state.value);\\n }\\n };\\n edit = () => {\\n this.setState({ editable: true });\\n };\\n handleKeydown = event => {\\n if (event.keyCode == 13) {\\n this.check();\\n }\\n };\\n render() {\\n const { value, editable } = this.state;\\n return (\\n \\n {editable ? (\\n
\\n \\n \\n
\\n ) : (\\n
\\n {value || \\\" \\\"}\\n \\n
\\n )}\\n
\\n );\\n }\\n}\\n\\nclass Demo2 extends React.Component {\\n constructor(props) {\\n super(props);\\n this.columns = [\\n {\\n title: \\\"姓名\\\",\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n width: \\\"30%\\\",\\n render: (text, record, index) => (\\n \\n )\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"age\\\",\\n key: \\\"age\\\"\\n },\\n {\\n title: \\\"你懂的\\\",\\n dataIndex: \\\"address\\\",\\n key: \\\"address\\\"\\n },\\n {\\n title: \\\"操作\\\",\\n dataIndex: \\\"operation\\\",\\n key: \\\"operation\\\",\\n render: (text, record, index) => {\\n return this.state.dataSource.length > 1 ? (\\n \\n \\n \\n ) : null;\\n }\\n }\\n ];\\n\\n this.state = {\\n dataSource: [\\n {\\n key: \\\"0\\\",\\n name: \\\"沉鱼\\\",\\n age: \\\"18\\\",\\n address: \\\"96, 77, 89\\\"\\n },\\n {\\n key: \\\"1\\\",\\n name: \\\"落雁\\\",\\n age: \\\"16\\\",\\n address: \\\"90, 70, 80\\\"\\n },\\n {\\n key: \\\"2\\\",\\n name: \\\"闭月\\\",\\n age: \\\"17\\\",\\n address: \\\"80, 60, 80\\\"\\n },\\n {\\n key: \\\"3\\\",\\n name: \\\"羞花\\\",\\n age: \\\"20\\\",\\n address: \\\"120, 60, 90\\\"\\n }\\n ],\\n count: 4\\n };\\n }\\n onCellChange = (index, key) => {\\n return value => {\\n const dataSource = [...this.state.dataSource];\\n dataSource[index][key] = value;\\n this.setState({ dataSource });\\n };\\n };\\n onDelete = index => {\\n return () => {\\n const dataSource = [...this.state.dataSource];\\n dataSource.splice(index, 1);\\n this.setState({ dataSource });\\n };\\n };\\n handleAdd = () => {\\n const { count, dataSource } = this.state;\\n const newData = {\\n key: count,\\n name: `凤姐 ${count}`,\\n age: 32,\\n address: `100 100 100`\\n };\\n this.setState({\\n dataSource: [...dataSource, newData],\\n count: count + 1\\n });\\n };\\n\\n getBodyWrapper = body => {\\n return (\\n \\n {body.props.children}\\n \\n );\\n };\\n render() {\\n const { dataSource } = this.state;\\n const columns = this.columns;\\n return (\\n \\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" 这是带有增删改功能的表格(此编辑功能未使用render组件)\"},{\"example\":,\"title\":\" 根据列进行过滤\",\"code\":\"/**\\n*\\n* @title 根据列进行过滤\\n* @description 点击表格右侧按钮,进行表格列的数据过滤。\\n*\\n*/\\n\\n\\nimport React, { Component } from 'react';\\nimport { Table, Icon } from 'tinper-bee';\\nimport filterColumn from \\\"tinper-bee/lib/filterColumn\\\";;\\nimport sum from \\\"tinper-bee/lib/sum\\\";;\\n\\nconst columns21 = [\\n {\\n title: \\\"名字\\\",\\n dataIndex: \\\"a\\\",\\n key: \\\"a\\\",\\n // width: 100\\n },\\n {\\n title: \\\"性别\\\",\\n dataIndex: \\\"b\\\",\\n key: \\\"b\\\",\\n // width: 100\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"c\\\",\\n key: \\\"c\\\",\\n // width: 200,\\n sumCol: true,\\n sorter: (a, b) => a.c - b.c\\n },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\"\\n }\\n];\\n\\nconst data21 = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30,d:'内行', key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41,d:'大侠', key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25,d:'大侠', key: \\\"3\\\" }\\n];\\n\\nconst FilterColumnTable = filterColumn(sum(Table));\\n\\nconst defaultProps21 = {\\n prefixCls: \\\"bee-table\\\"\\n};\\n\\nclass Demo21 extends Component {\\n constructor(props) {\\n super(props);\\n }\\n \\n render() {\\n \\n return ;\\n }\\n}\\nDemo21.defaultProps = defaultProps21;\\n\\n\\n\",\"desc\":\" 点击表格右侧按钮,进行表格列的数据过滤。\"},{\"example\":,\"title\":\" 列的拖拽,交换表头的顺序\",\"code\":\"/**\\n*\\n* @title 列的拖拽,交换表头的顺序\\n* @description 点击列的表头,进行左右拖拽\\n*/\\nimport React, { Component } from 'react';\\nimport { Table, Icon } from 'tinper-bee'; \\nimport dragColumn from \\\"tinper-bee/lib/dragColumn\\\";;\\n\\n\\nconst columns22 = [\\n {\\n title: \\\"名字\\\",\\n dataIndex: \\\"a\\\",\\n key: \\\"a\\\",\\n width: 100\\n },\\n {\\n title: \\\"性别\\\",\\n dataIndex: \\\"b\\\",\\n key: \\\"b\\\",\\n width: 200\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"c\\\",\\n key: \\\"c\\\",\\n width: 200,\\n sumCol: true,\\n sorter: (a, b) => a.c - b.c\\n },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\",\\n width: 200,\\n }\\n];\\n\\nconst data22 = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30,d:'内行', key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41,d:'大侠', key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25,d:'大侠', key: \\\"3\\\" }\\n];\\n\\nconst DragColumnTable = dragColumn(Table);\\n\\nconst defaultProps22 = {\\n prefixCls: \\\"bee-table\\\"\\n};\\n\\nclass Demo22 extends Component {\\n constructor(props) {\\n super(props); \\n }\\n \\n render() {\\n return ;\\n }\\n}\\nDemo22.defaultProps = defaultProps22;\\n\\n\\n\",\"desc\":\" 点击列的表头,进行左右拖拽\"},{\"example\":,\"title\":\" 拖拽调整列的宽度\",\"code\":\"/**\\n*\\n* @title 拖拽调整列的宽度\\n* @description 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】\\n*/\\nimport React, { Component } from 'react';\\nimport { Table, Icon } from 'tinper-bee'; \\nimport dragColumn from \\\"tinper-bee/lib/dragColumn\\\";;\\n\\n\\nconst columns23 = [\\n {\\n title: \\\"名字\\\",\\n dataIndex: \\\"a\\\",\\n key: \\\"a\\\",\\n width: 100\\n },\\n {\\n title: \\\"性别\\\",\\n dataIndex: \\\"b\\\",\\n key: \\\"b\\\",\\n width: 200\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"c\\\",\\n key: \\\"c\\\",\\n width: 200,\\n sumCol: true,\\n sorter: (a, b) => a.c - b.c\\n },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\",\\n width: 200,\\n }\\n];\\n\\nconst data23 = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30,d:'内行', key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41,d:'大侠', key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25,d:'大侠', key: \\\"3\\\" }\\n];\\n\\nconst DragColumnTable = dragColumn(Table);\\n\\nconst defaultProps23 = {\\n prefixCls: \\\"bee-table\\\"\\n};\\n\\nclass Demo23 extends Component {\\n constructor(props) {\\n super(props); \\n }\\n\\n render() {\\n return ;\\n }\\n}\\nDemo23.defaultProps = defaultProps23;\\n\\n\\n\",\"desc\":\" 目前支持此功能只支持普通表格【注:不支持tree结构的表头、不支持和表头拖拽交互列一起使用】\"},{\"example\":,\"title\":\" 动态设置固、取消固定列\",\"code\":\"/**\\n*\\n* @title 动态设置固、取消固定列\\n* @description 动态设置固、取消固定列\\n*\\n*/\\nimport React, { Component } from 'react';\\nimport { Table } from 'tinper-bee';\\n\\nconst columns24 = [\\n {\\n title: \\\"Full Name\\\",\\n width: 100,\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n fixed: \\\"left\\\",\\n },\\n { title: \\\"Age\\\", width: 100, dataIndex: \\\"age\\\", key: \\\"age\\\", fixed: \\\"left\\\" },\\n { title: \\\"Column 1\\\", dataIndex: \\\"address\\\", key: \\\"1\\\" , fixed: \\\"left\\\" },\\n { title: \\\"Column 2\\\", dataIndex: \\\"address\\\", key: \\\"2\\\" },\\n { title: \\\"Column 3\\\", dataIndex: \\\"address\\\", key: \\\"3\\\" },\\n { title: \\\"Column 4\\\", dataIndex: \\\"address\\\", key: \\\"4\\\" },\\n { title: \\\"Column 24\\\", dataIndex: \\\"address\\\", key: \\\"24\\\" },\\n { title: \\\"Column 6\\\", dataIndex: \\\"address\\\", key: \\\"6\\\" },\\n { title: \\\"Column 7\\\", dataIndex: \\\"address\\\", key: \\\"7\\\" },\\n { title: \\\"Column 8\\\", dataIndex: \\\"address\\\", key: \\\"8\\\" }\\n];\\n\\n\\nconst data24 = [\\n {\\n key: \\\"1\\\",\\n name: \\\"John Brown\\\",\\n age: 32,\\n address: \\\"New York Park\\\"\\n },\\n {\\n key: \\\"2\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"3\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"4\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n }\\n];\\n\\nclass Demo24 extends Component {\\n\\n constructor(props) {\\n super(props);\\n let columns = [];\\n Object.assign(columns,columns24);\\n columns.forEach(da=>da.onHeadCellClick=this.onHeadCellClick);\\n this.state = {\\n columns\\n }\\n }\\n\\n onHeadCellClick=(data,event)=>{\\n const {columns:_columns} = this.state;\\n let columns = [];\\n Object.assign(columns,_columns);\\n let currObj = columns.find(da=>da.key == data.key);\\n currObj.fixed?delete currObj.fixed:currObj.fixed = \\\"left\\\";\\n this.setState({\\n columns\\n });\\n }\\n\\n render() {\\n const {columns} = this.state;\\n return ;\\n }\\n}\\n\\n\",\"desc\":\" 动态设置固、取消固定列\"},{\"example\":,\"title\":\" 表头分组\",\"code\":\"/**\\n *\\n * @title 表头分组\\n * @description columns[n] 可以内嵌 children,以渲染分组表头。\\n *\\n */\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table, Button } from 'tinper-bee';\\n\\nconst { ColumnGroup, Column } = Table;\\n\\nconst columns = [\\n {\\n title: \\\"Name\\\",\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n width: 100,\\n fixed: \\\"left\\\"\\n },\\n {\\n title: \\\"Other\\\",\\n children: [\\n {\\n title: \\\"Age\\\",\\n dataIndex: \\\"age\\\",\\n key: \\\"age\\\",\\n width: 200\\n },\\n {\\n title: \\\"Address\\\",\\n children: [\\n {\\n title: \\\"Street\\\",\\n dataIndex: \\\"street\\\",\\n key: \\\"street\\\",\\n width: 200\\n },\\n {\\n title: \\\"Block\\\",\\n children: [\\n {\\n title: \\\"Building\\\",\\n dataIndex: \\\"building\\\",\\n key: \\\"building\\\",\\n width: 100\\n },\\n {\\n title: \\\"Door No.\\\",\\n dataIndex: \\\"number\\\",\\n key: \\\"number\\\",\\n width: 100\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n },\\n {\\n title: \\\"Company\\\",\\n children: [\\n {\\n title: \\\"Company Address\\\",\\n dataIndex: \\\"companyAddress\\\",\\n key: \\\"companyAddress\\\"\\n },\\n {\\n title: \\\"Company Name\\\",\\n dataIndex: \\\"companyName\\\",\\n key: \\\"companyName\\\"\\n }\\n ]\\n },\\n {\\n title: \\\"Gender\\\",\\n dataIndex: \\\"gender\\\",\\n key: \\\"gender\\\",\\n width: 60,\\n fixed: \\\"right\\\"\\n }\\n];\\n\\nconst data = [];\\nfor (let i = 0; i < 20; i++) {\\n data.push({\\n key: i,\\n name: \\\"John Brown\\\",\\n age: i + 1,\\n street: \\\"Lake Park\\\",\\n building: \\\"C\\\",\\n number: 2035,\\n companyAddress: \\\"Lake Street 42\\\",\\n companyName: \\\"SoftLake Co\\\",\\n gender: \\\"M\\\"\\n });\\n}\\n\\nclass Demo3 extends Component {\\n render() {\\n return (\\n \\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" columns[n] 可以内嵌 children,以渲染分组表头。\"},{\"example\":,\"title\":\" 树形数据展示\",\"code\":\"/**\\n*\\n* @title 树形数据展示\\n* @description 通过在data中配置children数据,来自动生成树形数据\\n*\\n*/\\n\\n\\nimport React, { Component } from 'react';\\nimport { Table } from 'tinper-bee';\\n\\n\\nconst columns4 = [\\n {\\n title: \\\"Name\\\",\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n width: \\\"40%\\\"\\n },\\n {\\n title: \\\"Age\\\",\\n dataIndex: \\\"age\\\",\\n key: \\\"age\\\",\\n width: \\\"30%\\\"\\n },\\n {\\n title: \\\"Address\\\",\\n dataIndex: \\\"address\\\",\\n key: \\\"address\\\"\\n }\\n];\\n\\nconst data4 = [\\n {\\n key: 1,\\n name: \\\"John Brown sr.\\\",\\n age: 60,\\n address: \\\"New York No. 1 Lake Park\\\",\\n children: [\\n {\\n key: 11,\\n name: \\\"John Brown\\\",\\n age: 42,\\n address: \\\"New York No. 2 Lake Park\\\"\\n },\\n {\\n key: 12,\\n name: \\\"John Brown jr.\\\",\\n age: 30,\\n address: \\\"New York No. 3 Lake Park\\\",\\n children: [\\n {\\n key: 121,\\n name: \\\"Jimmy Brown\\\",\\n age: 16,\\n address: \\\"New York No. 3 Lake Park\\\"\\n }\\n ]\\n },\\n {\\n key: 13,\\n name: \\\"Jim Green sr.\\\",\\n age: 72,\\n address: \\\"London No. 1 Lake Park\\\",\\n children: [\\n {\\n key: 131,\\n name: \\\"Jim Green\\\",\\n age: 42,\\n address: \\\"London No. 2 Lake Park\\\",\\n children: [\\n {\\n key: 1311,\\n name: \\\"Jim Green jr.\\\",\\n age: 25,\\n address: \\\"London No. 3 Lake Park\\\"\\n },\\n {\\n key: 1312,\\n name: \\\"Jimmy Green sr.\\\",\\n age: 18,\\n address: \\\"London No. 4 Lake Park\\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n },\\n {\\n key: 2,\\n name: \\\"Joe Black\\\",\\n age: 32,\\n address: \\\"Sidney No. 1 Lake Park\\\"\\n }\\n];\\nclass Demo4 extends Component {\\n\\n constructor(props){\\n super(props);\\n this.state = {\\n data: data4,\\n factoryValue: 0,\\n selectedRow: new Array(data4.length)//状态同步\\n }\\n }\\n\\n render() {\\n return {\\n if (this.state.selectedRow[index]) {\\n return 'selected';\\n } else {\\n return '';\\n }\\n }}\\n onRowClick={(record,index,indent)=>{\\n let selectedRow = new Array(this.state.data.length);\\n selectedRow[index] = true;\\n this.setState({\\n factoryValue: record,\\n selectedRow: selectedRow\\n });\\n }}\\n \\n columns={columns4} data={data4} />;\\n }\\n}\\n\\n\\n\",\"desc\":\" 通过在data中配置children数据,来自动生成树形数据\"},{\"example\":,\"title\":\" 固定列\",\"code\":\"/**\\n*\\n* @title 固定列\\n* @description 固定列到表格的某侧\\n*\\n*/\\n\\n\\n\\nimport React, { Component } from 'react';\\nimport { Table } from 'tinper-bee';\\n\\n\\n\\nconst columns5 = [\\n {\\n title: \\\"Full Name\\\",\\n width: 100,\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\",\\n fixed: \\\"left\\\"\\n },\\n { title: \\\"Age\\\", width: 100, dataIndex: \\\"age\\\", key: \\\"age\\\", fixed: \\\"left\\\" },\\n { title: \\\"Column 1\\\", dataIndex: \\\"address\\\", key: \\\"1\\\" },\\n { title: \\\"Column 2\\\", dataIndex: \\\"address\\\", key: \\\"2\\\" },\\n { title: \\\"Column 3\\\", dataIndex: \\\"address\\\", key: \\\"3\\\" },\\n { title: \\\"Column 4\\\", dataIndex: \\\"address\\\", key: \\\"4\\\" },\\n { title: \\\"Column 5\\\", dataIndex: \\\"address\\\", key: \\\"5\\\" },\\n { title: \\\"Column 6\\\", dataIndex: \\\"address\\\", key: \\\"6\\\" },\\n { title: \\\"Column 7\\\", dataIndex: \\\"address\\\", key: \\\"7\\\" },\\n { title: \\\"Column 8\\\", dataIndex: \\\"address\\\", key: \\\"8\\\" }\\n];\\n\\nconst data5 = [\\n {\\n key: \\\"1\\\",\\n name: \\\"John Brown\\\",\\n age: 32,\\n address: \\\"New York Park\\\"\\n },\\n {\\n key: \\\"2\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"3\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"4\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n }\\n];\\n\\nclass Demo5 extends Component {\\n render() {\\n return ;\\n }\\n}\\n\\n\",\"desc\":\" 固定列到表格的某侧\"},{\"example\":,\"title\":\" 固定表头\",\"code\":\"/**\\n*\\n* @title 固定表头\\n* @description 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)\\n*\\n*/\\n\\n\\nimport React, { Component } from 'react';\\nimport { Table } from 'tinper-bee';\\n\\n\\nconst columns6 = [\\n {\\n title: \\\"Full Name\\\",\\n width: 100,\\n dataIndex: \\\"name\\\",\\n key: \\\"name\\\"\\n },\\n { title: \\\"Age\\\", width: 100, dataIndex: \\\"age\\\", key: \\\"age\\\"},\\n { title: \\\"Address\\\", dataIndex: \\\"address\\\", key: \\\"1\\\" }\\n];\\n\\nconst data6 = [\\n {\\n key: \\\"1\\\",\\n name: \\\"John Brown\\\",\\n age: 32,\\n address: \\\"New York Park\\\"\\n },\\n {\\n key: \\\"2\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"3\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"4\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },{\\n key: \\\"11\\\",\\n name: \\\"John Brown\\\",\\n age: 32,\\n address: \\\"New York Park\\\"\\n },\\n {\\n key: \\\"12\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"13\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n },\\n {\\n key: \\\"14\\\",\\n name: \\\"Jim Green\\\",\\n age: 40,\\n address: \\\"London Park\\\"\\n }\\n];\\n\\nclass Demo6 extends Component {\\n render() {\\n return ;\\n }\\n}\\n\\n\",\"desc\":\" 方便一页内展示大量数据。需要指定 column 的 width 属性,否则列头和内容可能不对齐。(还可以设置scroll来支持横向或纵向滚动)\"},{\"example\":,\"title\":\" 主子表\",\"code\":\"/**\\n *\\n * @title 主子表\\n * @description 主表点击子表联动\\n *\\n */\\n\\nimport React, { Component } from \\\"react\\\";\\nimport { Table } from 'tinper-bee';\\n\\nconst columns7 = [\\n { title: \\\"班级\\\", dataIndex: \\\"a\\\", key: \\\"a\\\" },\\n { title: \\\"人数\\\", dataIndex: \\\"b\\\", key: \\\"b\\\" },\\n { title: \\\"班主任\\\", dataIndex: \\\"c\\\", key: \\\"c\\\" },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\"\\n }\\n];\\n\\nconst data7 = [\\n { a: \\\"02级一班\\\", b: \\\"2\\\", c: \\\"欧阳锋\\\", d: \\\"大侠\\\", key: \\\"1\\\" },\\n { a: \\\"03级二班\\\", b: \\\"3\\\", c: \\\"归海一刀\\\", d: \\\"大侠\\\", key: \\\"2\\\" },\\n { a: \\\"05级三班\\\", b: \\\"1\\\", c: \\\"一拳超人\\\", d: \\\"愣头青\\\", key: \\\"3\\\" }\\n];\\n\\nconst columns7_1 = [\\n { title: \\\"姓名\\\", dataIndex: \\\"a\\\", key: \\\"a\\\" },\\n { title: \\\"班级\\\", dataIndex: \\\"b\\\", key: \\\"b\\\" },\\n { title: \\\"系别\\\", dataIndex: \\\"c\\\", key: \\\"c\\\" }\\n];\\n\\nclass Demo7 extends Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n children_data: []\\n };\\n }\\n\\n rowclick = (record, index) => {\\n if (record.a === \\\"02级一班\\\") {\\n this.setState({\\n children_data: [\\n { a: \\\"郭靖\\\", b: \\\"02级一班\\\", c: \\\"文学系\\\", key: \\\"1\\\" },\\n { a: \\\"黄蓉\\\", b: \\\"02级一班\\\", c: \\\"文学系\\\", key: \\\"2\\\" }\\n ]\\n });\\n } else if (record.a === \\\"03级二班\\\") {\\n this.setState({\\n children_data: [\\n { a: \\\"杨过\\\", b: \\\"03级二班\\\", c: \\\"外语系\\\", key: \\\"1\\\" },\\n { a: \\\"小龙女\\\", b: \\\"03级二班\\\", c: \\\"外语系\\\", key: \\\"2\\\" },\\n { a: \\\"傻姑\\\", b: \\\"03级二班\\\", c: \\\"外语系\\\", key: \\\"3\\\" }\\n ]\\n });\\n } else if (record.a === \\\"05级三班\\\") {\\n this.setState({\\n children_data: [{ a: \\\"金圣叹\\\", b: \\\"05级三班\\\", c: \\\"美术系\\\", key: \\\"1\\\" }]\\n });\\n }\\n };\\n\\n render() {\\n return (\\n \\n
标题: 我是主表
}\\n />\\n 标题: 我是子表
}\\n />\\n \\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" 主表点击子表联动\"},{\"example\":,\"title\":\" 表格+分页\",\"code\":\"/**\\n *\\n * @title 表格+分页\\n * @description 点击分页联动表格\\n *\\n *import {Table} from 'tinper-bee';\\n */\\n\\nimport React, { Component } from \\\"react\\\";\\n\\nimport { Table, Pagination } from 'tinper-bee';\\n\\nconst columns8 = [\\n { title: \\\"姓名\\\", dataIndex: \\\"a\\\", key: \\\"a\\\", width: 100 },\\n { id: \\\"123\\\", title: \\\"性别\\\", dataIndex: \\\"b\\\", key: \\\"b\\\", width: 100 },\\n { title: \\\"年龄\\\", dataIndex: \\\"c\\\", key: \\\"c\\\", width: 200 },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\"\\n }\\n];\\n\\nconst pageData = {\\n 1: [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30, d: \\\"内行\\\", key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"大侠\\\", key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25, d: \\\"大侠\\\", key: \\\"3\\\" }\\n ],\\n 2: [\\n { a: \\\"芙蓉姐姐\\\", b: \\\"女\\\", c: 23, d: \\\"大侠\\\", key: \\\"1\\\" },\\n { a: \\\"芙蓉妹妹\\\", b: \\\"女\\\", c: 23, d: \\\"内行\\\", key: \\\"2\\\" }\\n ]\\n};\\n\\nclass Demo8 extends Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n data: pageData[1],\\n activePage: 1\\n };\\n }\\n\\n handleSelect(eventKey) {\\n this.setState({\\n data: pageData[eventKey],\\n activePage: eventKey\\n });\\n }\\n\\n render() {\\n return (\\n \\n );\\n }\\n}\\n\\n\",\"desc\":\" 点击分页联动表格\"},{\"example\":,\"title\":\" 表格+搜索\",\"code\":\"/**\\n *\\n * @title 表格+搜索\\n * @description 搜索刷新表格数据\\n *\\n *\\n * import {Table} from 'tinper-bee';\\n */\\n\\nimport React, { Component } from \\\"react\\\";\\n\\nimport { Table, FormControl, InputGroup, Icon } from 'tinper-bee';\\n\\nclass Search extends Component {\\n state = {\\n searchValue: \\\"\\\",\\n empty: false\\n };\\n\\n /**\\n * 搜索\\n */\\n handleSearch = () => {\\n let { onSearch } = this.props;\\n this.setState({\\n empty: true\\n });\\n onSearch && onSearch(this.state.searchValue);\\n };\\n\\n /**\\n * 捕获回车\\n * @param e\\n */\\n handleKeyDown = e => {\\n if (e.keyCode === 13) {\\n this.handleSearch();\\n }\\n };\\n\\n /**\\n * 输入框改变\\n * @param e\\n */\\n handleChange = e => {\\n this.setState({\\n searchValue: e.target.value\\n });\\n };\\n\\n /**\\n * 清空输入框\\n */\\n emptySearch = () => {\\n let { onEmpty } = this.props;\\n this.setState({\\n searchValue: \\\"\\\",\\n empty: false\\n });\\n onEmpty && onEmpty();\\n };\\n\\n render() {\\n return (\\n \\n \\n {this.state.empty ? (\\n \\n ) : null}\\n\\n \\n \\n \\n \\n );\\n }\\n}\\n\\nconst columns9 = [\\n {\\n title: \\\"姓名\\\",\\n dataIndex: \\\"a\\\",\\n key: \\\"a\\\",\\n width: 100\\n },\\n {\\n title: \\\"性别\\\",\\n dataIndex: \\\"b\\\",\\n key: \\\"b\\\",\\n width: 100\\n },\\n {\\n title: \\\"年龄\\\",\\n dataIndex: \\\"c\\\",\\n key: \\\"c\\\",\\n width: 200\\n },\\n {\\n title: \\\"武功级别\\\",\\n dataIndex: \\\"d\\\",\\n key: \\\"d\\\"\\n }\\n];\\n\\nconst userData = [\\n { a: \\\"杨过\\\", b: \\\"男\\\", c: 30, d: \\\"内行\\\", key: \\\"2\\\" },\\n { a: \\\"令狐冲\\\", b: \\\"男\\\", c: 41, d: \\\"大侠\\\", key: \\\"1\\\" },\\n { a: \\\"郭靖\\\", b: \\\"男\\\", c: 25, d: \\\"大侠\\\", key: \\\"3\\\" }\\n];\\n\\nclass Demo9 extends Component {\\n constructor(props) {\\n super(props);\\n this.state = {\\n data: userData\\n };\\n }\\n\\n handleSearch = value => {\\n if (value === \\\"\\\") {\\n return this.setState({\\n data: userData\\n });\\n }\\n let regExp = new RegExp(value, \\\"ig\\\");\\n let data = userData.filter(item => regExp.test(item.a));\\n this.setState({\\n data\\n });\\n };\\n\\n handleEmpty = () => {\\n this.setState({\\n data: userData\\n });\\n };\\n\\n render() {\\n return (\\n \\n );\\n }\\n}\\n\\n\\n\",\"desc\":\" 搜索刷新表格数据\"}]\n\n\nclass Demo extends Component {\n constructor(props){\n super(props);\n this.state = {\n open: false\n }\n this.handleClick = this.handleClick.bind(this);\n }\n handleClick() {\n this.setState({ open: !this.state.open })\n }\n\n render () {\n const { title, example, code, desc, scss_code } = this.props;\n let caret = this.state.open ? CARETUP : CARET;\n let text = this.state.open ? \"隐藏代码\" : \"查看代码\";\n\n const header = (\n \n {example}\n \n
\n );\n return (\n \n { title }
\n { desc }
\n \n { code }
\n { !!scss_code ? { scss_code }
: null }\n \n \n )\n }\n}\n\nclass DemoGroup extends Component {\n constructor(props){\n super(props)\n }\n render () {\n return (\n \n {DemoArray.map((child,index) => {\n\n return (\n \n )\n\n })}\n
\n )\n }\n}\n\nReactDOM.render(, document.getElementById('tinperBeeDemo'));\n\n\n\n// WEBPACK FOOTER //\n// ./demo/index.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Con = exports.Row = exports.Col = undefined;\n\nvar _Col2 = require('./Col');\n\nvar _Col3 = _interopRequireDefault(_Col2);\n\nvar _Row2 = require('./Row');\n\nvar _Row3 = _interopRequireDefault(_Row2);\n\nvar _Layout = require('./Layout');\n\nvar _Layout2 = _interopRequireDefault(_Layout);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nexports.Col = _Col3[\"default\"];\nexports.Row = _Row3[\"default\"];\nexports.Con = _Layout2[\"default\"];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-layout/build/index.js\n// module id = 1\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar propTypes = {\n componentClass: _propTypes2[\"default\"].oneOfType([_propTypes2[\"default\"].element, _propTypes2[\"default\"].string]),\n\n /**\n * xs显示列数\n */\n xs: _propTypes2[\"default\"].number,\n /**\n * sm显示列数\n */\n sm: _propTypes2[\"default\"].number,\n /**\n * md显示列数\n */\n md: _propTypes2[\"default\"].number,\n /**\n * lg显示列数\n */\n lg: _propTypes2[\"default\"].number,\n /**\n * xs偏移列数\n */\n xsOffset: _propTypes2[\"default\"].number,\n /**\n * sm偏移列数\n */\n smOffset: _propTypes2[\"default\"].number,\n /**\n * md偏移列数\n */\n mdOffset: _propTypes2[\"default\"].number,\n /**\n * lg偏移列数\n */\n lgOffset: _propTypes2[\"default\"].number,\n /**\n * xs右偏移列数\n */\n xsPush: _propTypes2[\"default\"].number,\n /**\n * sm右偏移列数\n */\n smPush: _propTypes2[\"default\"].number,\n /**\n * md右偏移列数\n */\n mdPush: _propTypes2[\"default\"].number,\n /**\n * lg右偏移列数\n */\n lgPush: _propTypes2[\"default\"].number,\n /**\n * xs左偏移列数\n */\n xsPull: _propTypes2[\"default\"].number,\n /**\n * sm左偏移列数\n */\n smPull: _propTypes2[\"default\"].number,\n /**\n * md左偏移列数\n */\n mdPull: _propTypes2[\"default\"].number,\n /**\n * lg左偏移列数\n */\n lgPull: _propTypes2[\"default\"].number\n};\n\nvar defaultProps = {\n componentClass: 'div',\n clsPrefix: 'u-col'\n};\n\nvar DEVICE_SIZES = ['lg', 'md', 'sm', 'xs'];\n\nvar Col = function (_Component) {\n _inherits(Col, _Component);\n\n function Col() {\n _classCallCheck(this, Col);\n\n return _possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Col.prototype.render = function render() {\n var _props = this.props,\n Component = _props.componentClass,\n className = _props.className,\n clsPrefix = _props.clsPrefix,\n others = _objectWithoutProperties(_props, ['componentClass', 'className', 'clsPrefix']);\n\n var tbClass = [];\n /**\n * 对传入props做样式转化\n * @type {[type]}\n */\n DEVICE_SIZES.forEach(function (size) {\n function popProp(propSuffix, modifier) {\n var propName = '' + size + propSuffix;\n var propValue = others[propName];\n\n if (propValue != undefined && propValue != null) {\n tbClass.push(clsPrefix + '-' + size + modifier + '-' + propValue);\n }\n\n delete others[propName];\n }\n\n popProp('', '');\n popProp('Offset', '-offset');\n popProp('Push', '-push');\n popProp('Pull', '-pull');\n });\n\n return _react2[\"default\"].createElement(\n Component,\n _extends({\n className: (0, _classnames2[\"default\"])(tbClass, className)\n }, others),\n this.props.children\n );\n };\n\n return Col;\n}(_react.Component);\n\nCol.defaultProps = defaultProps;\nCol.propTypes = propTypes;\n\nexports[\"default\"] = Col;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-layout/build/Col.js\n// module id = 2\n// module chunks = 0","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/classnames/index.js\n// module id = 3\n// module chunks = 0","module.exports = React;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"React\"\n// module id = 4\n// module chunks = 0","module.exports = PropTypes;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"PropTypes\"\n// module id = 5\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar propTypes = {\n componentClass: _propTypes2[\"default\"].oneOfType([_propTypes2[\"default\"].element, _propTypes2[\"default\"].string])\n};\n\nvar defaultProps = {\n componentClass: 'div',\n clsPrefix: 'u-row'\n};\n\nvar Row = function (_Component) {\n _inherits(Row, _Component);\n\n function Row() {\n _classCallCheck(this, Row);\n\n return _possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Row.prototype.render = function render() {\n var _props = this.props,\n Component = _props.componentClass,\n clsPrefix = _props.clsPrefix,\n className = _props.className,\n others = _objectWithoutProperties(_props, ['componentClass', 'clsPrefix', 'className']);\n\n var bsclass = '' + clsPrefix;\n\n return _react2[\"default\"].createElement(\n Component,\n _extends({}, others, {\n className: (0, _classnames2[\"default\"])(bsclass, className)\n }),\n this.props.children\n );\n };\n\n return Row;\n}(_react.Component);\n\nRow.propTypes = propTypes;\nRow.defaultProps = defaultProps;\n\nexports[\"default\"] = Row;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-layout/build/Row.js\n// module id = 6\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar propTypes = {\n /**\n * Adds `container-fluid` class.\n */\n fluid: _propTypes2[\"default\"].bool,\n /**\n * You can use a custom element for this component\n */\n componentClass: _propTypes2[\"default\"].oneOfType([_propTypes2[\"default\"].element, _propTypes2[\"default\"].string])\n};\n\nvar defaultProps = {\n componentClass: 'div',\n fluid: false,\n clsPrefix: 'u-container'\n};\n\nvar Con = function (_React$Component) {\n _inherits(Con, _React$Component);\n\n function Con() {\n _classCallCheck(this, Con);\n\n return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n Con.prototype.render = function render() {\n var _tbclass;\n\n var _props = this.props,\n fluid = _props.fluid,\n Component = _props.componentClass,\n clsPrefix = _props.clsPrefix,\n className = _props.className,\n others = _objectWithoutProperties(_props, ['fluid', 'componentClass', 'clsPrefix', 'className']);\n\n var tbclass = (_tbclass = {}, _defineProperty(_tbclass, '' + clsPrefix, !fluid), _defineProperty(_tbclass, clsPrefix + '-fluid', fluid), _tbclass);\n\n return _react2[\"default\"].createElement(\n Component,\n _extends({}, others, {\n className: (0, _classnames2[\"default\"])(tbclass, className)\n }),\n this.props.children\n );\n };\n\n return Con;\n}(_react2[\"default\"].Component);\n\nCon.propTypes = propTypes;\nCon.defaultProps = defaultProps;\n\nexports[\"default\"] = Con;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-layout/build/Layout.js\n// module id = 7\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.PanelGroup = exports.Panel = undefined;\n\nvar _Panel2 = require('./Panel');\n\nvar _Panel3 = _interopRequireDefault(_Panel2);\n\nvar _PanelGroup2 = require('./PanelGroup');\n\nvar _PanelGroup3 = _interopRequireDefault(_PanelGroup2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nexports.Panel = _Panel3[\"default\"];\nexports.PanelGroup = _PanelGroup3[\"default\"];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-panel/build/index.js\n// module id = 8\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _beeTransition = require('bee-transition');\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar propTypes = {\n //是否添加折叠\n collapsible: _propTypes2[\"default\"].bool,\n onSelect: _propTypes2[\"default\"].func,\n //头部组件\n header: _propTypes2[\"default\"].node,\n headerStyle: _propTypes2[\"default\"].object,\n id: _propTypes2[\"default\"].oneOfType([_propTypes2[\"default\"].string, _propTypes2[\"default\"].number]),\n headerContent: _propTypes2[\"default\"].bool,\n //footer组件\n footer: _propTypes2[\"default\"].node,\n footerStyle: _propTypes2[\"default\"].object,\n //默认是否打开\n defaultExpanded: _propTypes2[\"default\"].bool,\n //是否打开\n expanded: _propTypes2[\"default\"].bool,\n //每个panel的标记\n eventKey: _propTypes2[\"default\"].any,\n headerRole: _propTypes2[\"default\"].string,\n panelRole: _propTypes2[\"default\"].string,\n //颜色\n colors: _propTypes2[\"default\"].oneOf(['primary', 'accent', 'success', 'info', 'warning', 'danger', 'default', 'bordered']),\n\n // From Collapse.的扩展动画\n onEnter: _propTypes2[\"default\"].func,\n onEntering: _propTypes2[\"default\"].func,\n onEntered: _propTypes2[\"default\"].func,\n onExit: _propTypes2[\"default\"].func,\n onExiting: _propTypes2[\"default\"].func,\n onExited: _propTypes2[\"default\"].func\n};\n\nvar defaultProps = {\n defaultExpanded: false,\n clsPrefix: \"u-panel\",\n colors: \"default\"\n};\n\nvar Panel = function (_React$Component) {\n _inherits(Panel, _React$Component);\n\n function Panel(props, context) {\n _classCallCheck(this, Panel);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n _this.handleClickTitle = _this.handleClickTitle.bind(_this);\n\n _this.state = {\n expanded: _this.props.defaultExpanded\n };\n return _this;\n }\n\n //头部点击事件\n\n\n Panel.prototype.handleClickTitle = function handleClickTitle(e) {\n // 不让事件进入事件池\n e.persist();\n e.selected = true;\n\n if (this.props.onSelect) {\n this.props.onSelect(this.props.eventKey, e);\n } else {\n e.preventDefault();\n }\n\n if (e.selected) {\n this.setState({ expanded: !this.state.expanded });\n }\n };\n\n //渲染panelheader\n\n\n Panel.prototype.renderHeader = function renderHeader(collapsible, header, id, role, expanded, clsPrefix) {\n var titleClassName = clsPrefix + '-title';\n\n if (!collapsible) {\n if (!_react2[\"default\"].isValidElement(header)) {\n return header;\n }\n\n return (0, _react.cloneElement)(header, {\n className: (0, _classnames2[\"default\"])(header.props.className, titleClassName)\n });\n }\n\n if (!_react2[\"default\"].isValidElement(header)) {\n return _react2[\"default\"].createElement(\n 'h4',\n { role: 'presentation', className: titleClassName },\n this.renderAnchor(header, id, role, expanded)\n );\n }\n if (this.props.headerContent) {\n return (0, _react.cloneElement)(header, {\n className: (0, _classnames2[\"default\"])(header.props.className, titleClassName)\n });\n }\n\n return (0, _react.cloneElement)(header, {\n className: (0, _classnames2[\"default\"])(header.props.className, titleClassName),\n children: this.renderAnchor(header.props.children, id, role, expanded)\n });\n };\n\n //如果使用链接,渲染为a标签\n\n\n Panel.prototype.renderAnchor = function renderAnchor(header, id, role, expanded) {\n return _react2[\"default\"].createElement(\n 'a',\n {\n role: role,\n href: id && '#' + id,\n 'aria-controls': id,\n 'aria-expanded': expanded,\n 'aria-selected': expanded,\n className: expanded ? null : 'collapsed'\n },\n header\n );\n };\n\n //如果有折叠动画,渲染折叠动画\n\n\n Panel.prototype.renderCollapsibleBody = function renderCollapsibleBody(id, expanded, role, children, clsPrefix, animationHooks) {\n return _react2[\"default\"].createElement(\n _beeTransition.Collapse,\n _extends({ 'in': expanded }, animationHooks),\n _react2[\"default\"].createElement(\n 'div',\n {\n id: id,\n role: role,\n className: clsPrefix + '-collapse',\n 'aria-hidden': !expanded\n },\n this.renderBody(children, clsPrefix)\n )\n );\n };\n\n //渲染panelbody\n\n\n Panel.prototype.renderBody = function renderBody(rawChildren, clsPrefix) {\n var children = [];\n var bodyChildren = [];\n\n var bodyClassName = clsPrefix + '-body';\n\n //添加到body的children中\n function maybeAddBody() {\n if (!bodyChildren.length) {\n return;\n }\n\n // 给子组件添加key,为了之后触发事件时使用\n children.push(_react2[\"default\"].createElement(\n 'div',\n { key: children.length, className: bodyClassName },\n bodyChildren\n ));\n\n bodyChildren = [];\n }\n\n //转换为数组,方便复用\n _react2[\"default\"].Children.toArray(rawChildren).forEach(function (child) {\n if (_react2[\"default\"].isValidElement(child) && child.props.fill) {\n maybeAddBody();\n\n //将标示fill设置为undefined\n children.push((0, _react.cloneElement)(child, { fill: undefined }));\n\n return;\n }\n\n bodyChildren.push(child);\n });\n\n maybeAddBody();\n\n return children;\n };\n\n Panel.prototype.render = function render() {\n var _props = this.props,\n collapsible = _props.collapsible,\n header = _props.header,\n id = _props.id,\n footer = _props.footer,\n propsExpanded = _props.expanded,\n footerStyle = _props.footerStyle,\n headerStyle = _props.headerStyle,\n headerRole = _props.headerRole,\n panelRole = _props.panelRole,\n className = _props.className,\n colors = _props.colors,\n children = _props.children,\n onEnter = _props.onEnter,\n onEntering = _props.onEntering,\n onEntered = _props.onEntered,\n clsPrefix = _props.clsPrefix,\n onExit = _props.onExit,\n headerContent = _props.headerContent,\n onExiting = _props.onExiting,\n onExited = _props.onExited,\n defaultExpanded = _props.defaultExpanded,\n eventKey = _props.eventKey,\n onSelect = _props.onSelect,\n props = _objectWithoutProperties(_props, ['collapsible', 'header', 'id', 'footer', 'expanded', 'footerStyle', 'headerStyle', 'headerRole', 'panelRole', 'className', 'colors', 'children', 'onEnter', 'onEntering', 'onEntered', 'clsPrefix', 'onExit', 'headerContent', 'onExiting', 'onExited', 'defaultExpanded', 'eventKey', 'onSelect']);\n\n var expanded = propsExpanded != null ? propsExpanded : this.state.expanded;\n\n var classes = {};\n classes['' + clsPrefix] = true;\n classes[clsPrefix + '-' + colors] = true;\n\n var headerClass = _defineProperty({}, clsPrefix + '-heading', true);\n\n return _react2[\"default\"].createElement(\n 'div',\n _extends({}, props, {\n className: (0, _classnames2[\"default\"])(className, classes),\n id: collapsible ? null : id\n }),\n header && _react2[\"default\"].createElement(\n 'div',\n { className: (0, _classnames2[\"default\"])(headerClass), style: headerStyle, onClick: this.handleClickTitle },\n this.renderHeader(collapsible, header, id, headerRole, expanded, clsPrefix)\n ),\n collapsible ? this.renderCollapsibleBody(id, expanded, panelRole, children, clsPrefix, { onEnter: onEnter, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExiting: onExiting, onExited: onExited }) : this.renderBody(children, clsPrefix),\n footer && _react2[\"default\"].createElement(\n 'div',\n { className: clsPrefix + '-footer', style: footerStyle },\n footer\n )\n );\n };\n\n return Panel;\n}(_react2[\"default\"].Component);\n\nPanel.propTypes = propTypes;\nPanel.defaultProps = defaultProps;\n\nexports[\"default\"] = Panel;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-panel/build/Panel.js\n// module id = 9\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Fade = exports.Collapse = exports.Transition = undefined;\n\nvar _Transition2 = require('./Transition');\n\nvar _Transition3 = _interopRequireDefault(_Transition2);\n\nvar _Collapse2 = require('./Collapse');\n\nvar _Collapse3 = _interopRequireDefault(_Collapse2);\n\nvar _Fade2 = require('./Fade');\n\nvar _Fade3 = _interopRequireDefault(_Fade2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nexports.Transition = _Transition3[\"default\"];\nexports.Collapse = _Collapse3[\"default\"];\nexports.Fade = _Fade3[\"default\"];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-transition/build/index.js\n// module id = 10\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.EXITING = exports.ENTERED = exports.ENTERING = exports.EXITED = exports.UNMOUNTED = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _properties = require('dom-helpers/transition/properties');\n\nvar _properties2 = _interopRequireDefault(_properties);\n\nvar _on = require('dom-helpers/events/on');\n\nvar _on2 = _interopRequireDefault(_on);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar transitionEndEvent = _properties2[\"default\"].end;\n\n//设置状态码\nvar UNMOUNTED = exports.UNMOUNTED = 0;\nvar EXITED = exports.EXITED = 1;\nvar ENTERING = exports.ENTERING = 2;\nvar ENTERED = exports.ENTERED = 3;\nvar EXITING = exports.EXITING = 4;\n\nvar propTypes = {\n /**\n * 是否触发动画\n */\n \"in\": _propTypes2[\"default\"].bool,\n\n /**\n * 不显示的时候是否移除组件\n */\n unmountOnExit: _propTypes2[\"default\"].bool,\n\n /**\n * 如果设置为默认显示,挂载时显示动画\n */\n transitionAppear: _propTypes2[\"default\"].bool,\n\n /**\n * 设置超时时间,防止出现问题,可设置为>=动画时间\n */\n timeout: _propTypes2[\"default\"].number,\n\n /**\n * 退出组件时添加的class\n */\n exitedClassName: _propTypes2[\"default\"].string,\n /**\n * 退出组件中添加的class\n */\n exitingClassName: _propTypes2[\"default\"].string,\n /**\n * 进入动画后添加的class\n */\n enteredClassName: _propTypes2[\"default\"].string,\n /**\n * 进入动画时添加的class\n */\n enteringClassName: _propTypes2[\"default\"].string,\n\n /**\n * 进入动画开始时的钩子函数\n */\n onEnter: _propTypes2[\"default\"].func,\n /**\n * 进入动画中的钩子函数\n */\n onEntering: _propTypes2[\"default\"].func,\n /**\n * 进入动画后的钩子函数\n */\n onEntered: _propTypes2[\"default\"].func,\n /**\n * 退出动画开始时的钩子函数\n */\n onExit: _propTypes2[\"default\"].func,\n /**\n * 退出动画中的钩子函数\n */\n onExiting: _propTypes2[\"default\"].func,\n /**\n * 退出动画后的钩子函数\n */\n onExited: _propTypes2[\"default\"].func\n};\n\nfunction noop() {}\n\nvar defaultProps = {\n \"in\": false,\n unmountOnExit: false,\n transitionAppear: false,\n timeout: 5000,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\n\n/**\n * 动画组件\n */\n\nvar Transition = function (_Component) {\n _inherits(Transition, _Component);\n\n function Transition(props, context) {\n _classCallCheck(this, Transition);\n\n var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));\n\n var initialStatus = void 0;\n if (props[\"in\"]) {\n // 在componentdidmount时开始执行动画\n initialStatus = props.transitionAppear ? EXITED : ENTERED;\n } else {\n initialStatus = props.unmountOnExit ? UNMOUNTED : EXITED;\n }\n _this.state = { status: initialStatus };\n\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.prototype.componentDidMount = function componentDidMount() {\n if (this.props.transitionAppear && this.props[\"in\"]) {\n this.performEnter(this.props);\n }\n };\n\n Transition.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n if (nextProps[\"in\"] && this.props.unmountOnExit) {\n if (this.state.status === UNMOUNTED) {\n // 在componentDidUpdate执行动画.\n this.setState({ status: EXITED });\n }\n } else {\n this._needsUpdate = true;\n }\n };\n\n Transition.prototype.componentDidUpdate = function componentDidUpdate() {\n var status = this.state.status;\n\n if (this.props.unmountOnExit && status === EXITED) {\n // 当使用unmountOnExit时,exited为exiting和unmont的过渡状态\n if (this.props[\"in\"]) {\n this.performEnter(this.props);\n } else {\n this.setState({ status: UNMOUNTED });\n }\n\n return;\n }\n\n // 确保只响应prop变化\n if (this._needsUpdate) {\n this._needsUpdate = false;\n\n if (this.props[\"in\"]) {\n if (status === EXITING) {\n this.performEnter(this.props);\n } else if (status === EXITED) {\n this.performEnter(this.props);\n }\n // 其他,当我们已经输入或输出\n } else {\n if (status === ENTERING || status === ENTERED) {\n this.performExit(this.props);\n }\n // 我们已经输入或输出完成\n }\n }\n };\n\n Transition.prototype.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n Transition.prototype.performEnter = function performEnter(props) {\n var _this2 = this;\n\n this.cancelNextCallback();\n var node = _reactDom2[\"default\"].findDOMNode(this);\n\n // 这里接收新props\n props.onEnter(node);\n\n this.safeSetState({ status: ENTERING }, function () {\n _this2.props.onEntering(node);\n\n _this2.onTransitionEnd(node, function () {\n _this2.safeSetState({ status: ENTERED }, function () {\n _this2.props.onEntered(node);\n });\n });\n });\n };\n\n Transition.prototype.performExit = function performExit(props) {\n var _this3 = this;\n\n this.cancelNextCallback();\n var node = _reactDom2[\"default\"].findDOMNode(this);\n\n props.onExit(node);\n\n this.safeSetState({ status: EXITING }, function () {\n _this3.props.onExiting(node);\n\n _this3.onTransitionEnd(node, function () {\n _this3.safeSetState({ status: EXITED }, function () {\n _this3.props.onExited(node);\n });\n });\n });\n };\n\n Transition.prototype.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n Transition.prototype.safeSetState = function safeSetState(nextState, callback) {\n // 确保在组件销毁后挂起的setState被消除\n this.setState(nextState, this.setNextCallback(callback));\n };\n\n Transition.prototype.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n Transition.prototype.onTransitionEnd = function onTransitionEnd(node, handler) {\n this.setNextCallback(handler);\n\n if (node) {\n if (transitionEndEvent == undefined) {\n this.nextCallback();\n } else {\n (0, _on2[\"default\"])(node, transitionEndEvent, this.nextCallback);\n }\n setTimeout(this.nextCallback, this.props.timeout);\n } else {\n setTimeout(this.nextCallback, 0);\n }\n };\n\n Transition.prototype.render = function render() {\n var status = this.state.status;\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _props = this.props,\n children = _props.children,\n className = _props.className,\n childProps = _objectWithoutProperties(_props, ['children', 'className']);\n\n Object.keys(Transition.propTypes).forEach(function (key) {\n return delete childProps[key];\n });\n\n var transitionClassName = void 0;\n if (status === EXITED) {\n transitionClassName = this.props.exitedClassName;\n } else if (status === ENTERING) {\n transitionClassName = this.props.enteringClassName;\n } else if (status === ENTERED) {\n transitionClassName = this.props.enteredClassName;\n } else if (status === EXITING) {\n transitionClassName = this.props.exitingClassName;\n }\n\n var child = _react2[\"default\"].Children.only(children);\n return _react2[\"default\"].cloneElement(child, _extends({}, childProps, {\n className: (0, _classnames2[\"default\"])(child.props.className, className, transitionClassName)\n }));\n };\n\n return Transition;\n}(_react.Component);\n\nTransition.propTypes = propTypes;\n\nTransition.defaultProps = defaultProps;\n\nexports[\"default\"] = Transition;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-transition/build/Transition.js\n// module id = 11\n// module chunks = 0","module.exports = ReactDOM;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"ReactDOM\"\n// module id = 12\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.animationEnd = exports.animationDelay = exports.animationTiming = exports.animationDuration = exports.animationName = exports.transitionEnd = exports.transitionDuration = exports.transitionDelay = exports.transitionTiming = exports.transitionProperty = exports.transform = undefined;\n\nvar _inDOM = require('../util/inDOM');\n\nvar _inDOM2 = _interopRequireDefault(_inDOM);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar transform = 'transform';\nvar prefix = void 0,\n transitionEnd = void 0,\n animationEnd = void 0;\nvar transitionProperty = void 0,\n transitionDuration = void 0,\n transitionTiming = void 0,\n transitionDelay = void 0;\nvar animationName = void 0,\n animationDuration = void 0,\n animationTiming = void 0,\n animationDelay = void 0;\n\nif (_inDOM2.default) {\n var _getTransitionPropert = getTransitionProperties();\n\n prefix = _getTransitionPropert.prefix;\n exports.transitionEnd = transitionEnd = _getTransitionPropert.transitionEnd;\n exports.animationEnd = animationEnd = _getTransitionPropert.animationEnd;\n\n\n exports.transform = transform = prefix + '-' + transform;\n exports.transitionProperty = transitionProperty = prefix + '-transition-property';\n exports.transitionDuration = transitionDuration = prefix + '-transition-duration';\n exports.transitionDelay = transitionDelay = prefix + '-transition-delay';\n exports.transitionTiming = transitionTiming = prefix + '-transition-timing-function';\n\n exports.animationName = animationName = prefix + '-animation-name';\n exports.animationDuration = animationDuration = prefix + '-animation-duration';\n exports.animationTiming = animationTiming = prefix + '-animation-delay';\n exports.animationDelay = animationDelay = prefix + '-animation-timing-function';\n}\n\nexports.transform = transform;\nexports.transitionProperty = transitionProperty;\nexports.transitionTiming = transitionTiming;\nexports.transitionDelay = transitionDelay;\nexports.transitionDuration = transitionDuration;\nexports.transitionEnd = transitionEnd;\nexports.animationName = animationName;\nexports.animationDuration = animationDuration;\nexports.animationTiming = animationTiming;\nexports.animationDelay = animationDelay;\nexports.animationEnd = animationEnd;\nexports.default = {\n transform: transform,\n end: transitionEnd,\n property: transitionProperty,\n timing: transitionTiming,\n delay: transitionDelay,\n duration: transitionDuration\n};\n\n\nfunction getTransitionProperties() {\n var style = document.createElement('div').style;\n\n var vendorMap = {\n O: function O(e) {\n return 'o' + e.toLowerCase();\n },\n Moz: function Moz(e) {\n return e.toLowerCase();\n },\n Webkit: function Webkit(e) {\n return 'webkit' + e;\n },\n ms: function ms(e) {\n return 'MS' + e;\n }\n };\n\n var vendors = Object.keys(vendorMap);\n\n var transitionEnd = void 0,\n animationEnd = void 0;\n var prefix = '';\n\n for (var i = 0; i < vendors.length; i++) {\n var vendor = vendors[i];\n\n if (vendor + 'TransitionProperty' in style) {\n prefix = '-' + vendor.toLowerCase();\n transitionEnd = vendorMap[vendor]('TransitionEnd');\n animationEnd = vendorMap[vendor]('AnimationEnd');\n break;\n }\n }\n\n if (!transitionEnd && 'transitionProperty' in style) transitionEnd = 'transitionend';\n\n if (!animationEnd && 'animationName' in style) animationEnd = 'animationend';\n\n style = null;\n\n return { animationEnd: animationEnd, transitionEnd: transitionEnd, prefix: prefix };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/transition/properties.js\n// module id = 13\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/util/inDOM.js\n// module id = 14\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _inDOM = require('../util/inDOM');\n\nvar _inDOM2 = _interopRequireDefault(_inDOM);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar on = function on() {};\nif (_inDOM2.default) {\n on = function () {\n\n if (document.addEventListener) return function (node, eventName, handler, capture) {\n return node.addEventListener(eventName, handler, capture || false);\n };else if (document.attachEvent) return function (node, eventName, handler) {\n return node.attachEvent('on' + eventName, function (e) {\n e = e || window.event;\n e.target = e.target || e.srcElement;\n e.currentTarget = node;\n handler.call(node, e);\n });\n };\n }();\n}\n\nexports.default = on;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/events/on.js\n// module id = 15\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _style = require('dom-helpers/style');\n\nvar _style2 = _interopRequireDefault(_style);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _Transition = require('./Transition');\n\nvar _Transition2 = _interopRequireDefault(_Transition);\n\nvar _capitalize = require('./util/capitalize');\n\nvar _capitalize2 = _interopRequireDefault(_capitalize);\n\nvar _tinperBeeCore = require('tinper-bee-core');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar MARGINS = {\n height: ['marginTop', 'marginBottom'],\n width: ['marginLeft', 'marginRight']\n};\n\n// reading a dimension prop will cause the browser to recalculate,\n// which will let our animations work\nfunction triggerBrowserReflow(node) {\n node.offsetHeight; // eslint-disable-line no-unused-expressions\n}\n\nfunction getDimensionValue(dimension, elem) {\n var value = elem['offset' + (0, _capitalize2[\"default\"])(dimension)];\n var margins = MARGINS[dimension];\n\n return value + parseInt((0, _style2[\"default\"])(elem, margins[0]), 10) + parseInt((0, _style2[\"default\"])(elem, margins[1]), 10);\n}\n\nvar propTypes = {\n /**\n * Show the component; triggers the expand or collapse animation\n */\n \"in\": _propTypes2[\"default\"].bool,\n\n /**\n * Unmount the component (remove it from the DOM) when it is collapsed\n */\n unmountOnExit: _propTypes2[\"default\"].bool,\n\n /**\n * Run the expand animation when the component mounts, if it is initially\n * shown\n */\n transitionAppear: _propTypes2[\"default\"].bool,\n\n /**\n * Duration of the collapse animation in milliseconds, to ensure that\n * finishing callbacks are fired even if the original browser transition end\n * events are canceled\n */\n timeout: _propTypes2[\"default\"].number,\n\n /**\n * Callback fired before the component expands\n */\n onEnter: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the component starts to expand\n */\n onEntering: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the component has expanded\n */\n onEntered: _propTypes2[\"default\"].func,\n /**\n * Callback fired before the component collapses\n */\n onExit: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the component starts to collapse\n */\n onExiting: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the component has collapsed\n */\n onExited: _propTypes2[\"default\"].func,\n\n /**\n * The dimension used when collapsing, or a function that returns the\n * dimension\n *\n * _Note: Bootstrap only partially supports 'width'!\n * You will need to supply your own CSS animation for the `.width` CSS class._\n */\n dimension: _propTypes2[\"default\"].oneOfType([_propTypes2[\"default\"].oneOf(['height', 'width']), _propTypes2[\"default\"].func]),\n\n /**\n * Function that returns the height or width of the animating DOM node\n *\n * Allows for providing some custom logic for how much the Collapse component\n * should animate in its specified dimension. Called with the current\n * dimension prop value and the DOM node.\n */\n getDimensionValue: _propTypes2[\"default\"].func,\n\n /**\n * ARIA role of collapsible element\n */\n role: _propTypes2[\"default\"].string\n};\n\nvar defaultProps = {\n \"in\": false,\n timeout: 300,\n unmountOnExit: false,\n transitionAppear: false,\n\n dimension: 'height',\n getDimensionValue: getDimensionValue\n};\n\nvar Collapse = function (_React$Component) {\n _inherits(Collapse, _React$Component);\n\n function Collapse(props, context) {\n _classCallCheck(this, Collapse);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n _this.handleEnter = _this.handleEnter.bind(_this);\n _this.handleEntering = _this.handleEntering.bind(_this);\n _this.handleEntered = _this.handleEntered.bind(_this);\n _this.handleExit = _this.handleExit.bind(_this);\n _this.handleExiting = _this.handleExiting.bind(_this);\n return _this;\n }\n\n /* -- Expanding -- */\n\n\n Collapse.prototype.handleEnter = function handleEnter(elem) {\n var dimension = this._dimension();\n elem.style[dimension] = '0';\n };\n\n Collapse.prototype.handleEntering = function handleEntering(elem) {\n var dimension = this._dimension();\n elem.style[dimension] = this._getScrollDimensionValue(elem, dimension);\n };\n\n Collapse.prototype.handleEntered = function handleEntered(elem) {\n var dimension = this._dimension();\n elem.style[dimension] = null;\n };\n\n /* -- Collapsing -- */\n\n\n Collapse.prototype.handleExit = function handleExit(elem) {\n var dimension = this._dimension();\n elem.style[dimension] = this.props.getDimensionValue(dimension, elem) + 'px';\n triggerBrowserReflow(elem);\n };\n\n Collapse.prototype.handleExiting = function handleExiting(elem) {\n var dimension = this._dimension();\n elem.style[dimension] = '0';\n };\n\n Collapse.prototype._dimension = function _dimension() {\n return typeof this.props.dimension === 'function' ? this.props.dimension() : this.props.dimension;\n };\n\n // for testing\n\n\n Collapse.prototype._getScrollDimensionValue = function _getScrollDimensionValue(elem, dimension) {\n return elem['scroll' + (0, _capitalize2[\"default\"])(dimension)] + 'px';\n };\n\n Collapse.prototype.render = function render() {\n var _props = this.props,\n onEnter = _props.onEnter,\n onEntering = _props.onEntering,\n onEntered = _props.onEntered,\n onExit = _props.onExit,\n onExiting = _props.onExiting,\n className = _props.className,\n props = _objectWithoutProperties(_props, ['onEnter', 'onEntering', 'onEntered', 'onExit', 'onExiting', 'className']);\n\n delete props.dimension;\n delete props.getDimensionValue;\n\n var handleEnter = (0, _tinperBeeCore.createChainedFunction)(this.handleEnter, onEnter);\n var handleEntering = (0, _tinperBeeCore.createChainedFunction)(this.handleEntering, onEntering);\n var handleEntered = (0, _tinperBeeCore.createChainedFunction)(this.handleEntered, onEntered);\n var handleExit = (0, _tinperBeeCore.createChainedFunction)(this.handleExit, onExit);\n var handleExiting = (0, _tinperBeeCore.createChainedFunction)(this.handleExiting, onExiting);\n\n var classes = {\n width: this._dimension() === 'width'\n };\n\n return _react2[\"default\"].createElement(_Transition2[\"default\"], _extends({}, props, {\n 'aria-expanded': props.role ? props[\"in\"] : null,\n className: (0, _classnames2[\"default\"])(className, classes),\n exitedClassName: 'collapse',\n exitingClassName: 'collapsing',\n enteredClassName: 'collapse in',\n enteringClassName: 'collapsing',\n onEnter: handleEnter,\n onEntering: handleEntering,\n onEntered: handleEntered,\n onExit: handleExit,\n onExiting: handleExiting\n }));\n };\n\n return Collapse;\n}(_react2[\"default\"].Component);\n\nCollapse.propTypes = propTypes;\nCollapse.defaultProps = defaultProps;\n\nexports[\"default\"] = Collapse;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-transition/build/Collapse.js\n// module id = 16\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = style;\n\nvar _camelizeStyle = require('../util/camelizeStyle');\n\nvar _camelizeStyle2 = _interopRequireDefault(_camelizeStyle);\n\nvar _hyphenateStyle = require('../util/hyphenateStyle');\n\nvar _hyphenateStyle2 = _interopRequireDefault(_hyphenateStyle);\n\nvar _getComputedStyle2 = require('./getComputedStyle');\n\nvar _getComputedStyle3 = _interopRequireDefault(_getComputedStyle2);\n\nvar _removeStyle = require('./removeStyle');\n\nvar _removeStyle2 = _interopRequireDefault(_removeStyle);\n\nvar _properties = require('../transition/properties');\n\nvar _isTransform = require('../transition/isTransform');\n\nvar _isTransform2 = _interopRequireDefault(_isTransform);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction style(node, property, value) {\n var css = '';\n var transforms = '';\n var props = property;\n\n if (typeof property === 'string') {\n if (value === undefined) {\n return node.style[(0, _camelizeStyle2.default)(property)] || (0, _getComputedStyle3.default)(node).getPropertyValue((0, _hyphenateStyle2.default)(property));\n } else {\n (props = {})[property] = value;\n }\n }\n\n Object.keys(props).forEach(function (key) {\n var value = props[key];\n if (!value && value !== 0) {\n (0, _removeStyle2.default)(node, (0, _hyphenateStyle2.default)(key));\n } else if ((0, _isTransform2.default)(key)) {\n transforms += key + '(' + value + ') ';\n } else {\n css += (0, _hyphenateStyle2.default)(key) + ': ' + value + ';';\n }\n });\n\n if (transforms) {\n css += _properties.transform + ': ' + transforms + ';';\n }\n\n node.style.cssText += ';' + css;\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/style/index.js\n// module id = 17\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = camelizeStyleName;\n\nvar _camelize = require('./camelize');\n\nvar _camelize2 = _interopRequireDefault(_camelize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar msPattern = /^-ms-/; /**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n * https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/camelizeStyleName.js\n */\nfunction camelizeStyleName(string) {\n return (0, _camelize2.default)(string.replace(msPattern, 'ms-'));\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/util/camelizeStyle.js\n// module id = 18\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = camelize;\nvar rHyphen = /-(.)/g;\n\nfunction camelize(string) {\n return string.replace(rHyphen, function (_, chr) {\n return chr.toUpperCase();\n });\n}\nmodule.exports = exports[\"default\"];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/util/camelize.js\n// module id = 19\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = hyphenateStyleName;\n\nvar _hyphenate = require('./hyphenate');\n\nvar _hyphenate2 = _interopRequireDefault(_hyphenate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar msPattern = /^ms-/; /**\n * Copyright 2013-2014, Facebook, Inc.\n * All rights reserved.\n * https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/hyphenateStyleName.js\n */\n\nfunction hyphenateStyleName(string) {\n return (0, _hyphenate2.default)(string).replace(msPattern, '-ms-');\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/util/hyphenateStyle.js\n// module id = 20\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = hyphenate;\n\nvar rUpper = /([A-Z])/g;\n\nfunction hyphenate(string) {\n return string.replace(rUpper, '-$1').toLowerCase();\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/util/hyphenate.js\n// module id = 21\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _getComputedStyle;\n\nvar _camelizeStyle = require('../util/camelizeStyle');\n\nvar _camelizeStyle2 = _interopRequireDefault(_camelizeStyle);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar rposition = /^(top|right|bottom|left)$/;\nvar rnumnonpx = /^([+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|))(?!px)[a-z%]+$/i;\n\nfunction _getComputedStyle(node) {\n if (!node) throw new TypeError('No Element passed to `getComputedStyle()`');\n var doc = node.ownerDocument;\n\n return 'defaultView' in doc ? doc.defaultView.opener ? node.ownerDocument.defaultView.getComputedStyle(node, null) : window.getComputedStyle(node, null) : {\n //ie 8 \"magic\" from: https://github.com/jquery/jquery/blob/1.11-stable/src/css/curCSS.js#L72\n getPropertyValue: function getPropertyValue(prop) {\n var style = node.style;\n\n prop = (0, _camelizeStyle2.default)(prop);\n\n if (prop == 'float') prop = 'styleFloat';\n\n var current = node.currentStyle[prop] || null;\n\n if (current == null && style && style[prop]) current = style[prop];\n\n if (rnumnonpx.test(current) && !rposition.test(prop)) {\n // Remember the original values\n var left = style.left;\n var runStyle = node.runtimeStyle;\n var rsLeft = runStyle && runStyle.left;\n\n // Put in the new values to get a computed value out\n if (rsLeft) runStyle.left = node.currentStyle.left;\n\n style.left = prop === 'fontSize' ? '1em' : current;\n current = style.pixelLeft + 'px';\n\n // Revert the changed values\n style.left = left;\n if (rsLeft) runStyle.left = rsLeft;\n }\n\n return current;\n }\n };\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/style/getComputedStyle.js\n// module id = 22\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = removeStyle;\nfunction removeStyle(node, key) {\n return 'removeProperty' in node.style ? node.style.removeProperty(key) : node.style.removeAttribute(key);\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/style/removeStyle.js\n// module id = 23\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isTransform;\nvar supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;\n\nfunction isTransform(property) {\n return !!(property && supportedTransforms.test(property));\n}\nmodule.exports = exports[\"default\"];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-helpers/transition/isTransform.js\n// module id = 24\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = capitalize;\nfunction capitalize(string) {\n return \"\" + string.charAt(0).toUpperCase() + string.slice(1);\n}\nmodule.exports = exports[\"default\"];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-transition/build/util/capitalize.js\n// module id = 25\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.Align = exports.toArray = exports.cssAnimation = exports.addEventListener = exports.contains = exports.KeyCode = exports.createChainedFunction = exports.splitComponent = exports.isRequiredForA11y = exports.elementType = exports.deprecated = exports.componentOrElement = exports.all = undefined;\n\nvar _all2 = require('./all');\n\nvar _all3 = _interopRequireDefault(_all2);\n\nvar _componentOrElement2 = require('./componentOrElement');\n\nvar _componentOrElement3 = _interopRequireDefault(_componentOrElement2);\n\nvar _deprecated2 = require('./deprecated');\n\nvar _deprecated3 = _interopRequireDefault(_deprecated2);\n\nvar _elementType2 = require('./elementType');\n\nvar _elementType3 = _interopRequireDefault(_elementType2);\n\nvar _isRequiredForA11y2 = require('./isRequiredForA11y');\n\nvar _isRequiredForA11y3 = _interopRequireDefault(_isRequiredForA11y2);\n\nvar _splitComponent2 = require('./splitComponent');\n\nvar _splitComponent3 = _interopRequireDefault(_splitComponent2);\n\nvar _createChainedFunction2 = require('./createChainedFunction');\n\nvar _createChainedFunction3 = _interopRequireDefault(_createChainedFunction2);\n\nvar _keyCode = require('./keyCode');\n\nvar _keyCode2 = _interopRequireDefault(_keyCode);\n\nvar _contains2 = require('./contains');\n\nvar _contains3 = _interopRequireDefault(_contains2);\n\nvar _addEventListener2 = require('./addEventListener');\n\nvar _addEventListener3 = _interopRequireDefault(_addEventListener2);\n\nvar _cssAnimation2 = require('./cssAnimation');\n\nvar _cssAnimation3 = _interopRequireDefault(_cssAnimation2);\n\nvar _toArray2 = require('./toArray');\n\nvar _toArray3 = _interopRequireDefault(_toArray2);\n\nvar _Align2 = require('./Align');\n\nvar _Align3 = _interopRequireDefault(_Align2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.all = _all3.default;\nexports.componentOrElement = _componentOrElement3.default;\nexports.deprecated = _deprecated3.default;\nexports.elementType = _elementType3.default;\nexports.isRequiredForA11y = _isRequiredForA11y3.default;\nexports.splitComponent = _splitComponent3.default;\nexports.createChainedFunction = _createChainedFunction3.default;\nexports.KeyCode = _keyCode2.default;\nexports.contains = _contains3.default;\nexports.addEventListener = _addEventListener3.default;\nexports.cssAnimation = _cssAnimation3.default;\nexports.toArray = _toArray3.default;\n//export getContainerRenderMixin from './getContainerRenderMixin';\n\nexports.Align = _Align3.default;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/index.js\n// module id = 26\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.default = all;\n\nvar _createChainableTypeChecker = require('./utils/createChainableTypeChecker');\n\nvar _createChainableTypeChecker2 = _interopRequireDefault(_createChainableTypeChecker);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction all() {\n for (var _len = arguments.length, validators = Array(_len), _key = 0; _key < _len; _key++) {\n validators[_key] = arguments[_key];\n }\n\n function allPropTypes() {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var error = null;\n\n validators.forEach(function (validator) {\n if (error != null) {\n return;\n }\n\n var result = validator.apply(undefined, args);\n if (result != null) {\n error = result;\n }\n });\n\n return error;\n }\n\n return (0, _createChainableTypeChecker2.default)(allPropTypes);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/all.js\n// module id = 27\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.default = createChainableTypeChecker;\n/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n// Mostly taken from ReactPropTypes.\n\nfunction createChainableTypeChecker(validate) {\n function checkType(isRequired, props, propName, componentName, location, propFullName) {\n var componentNameSafe = componentName || '<>';\n var propFullNameSafe = propFullName || propName;\n\n if (props[propName] == null) {\n if (isRequired) {\n return new Error('Required ' + location + ' `' + propFullNameSafe + '` was not specified ' + ('in `' + componentNameSafe + '`.'));\n }\n\n return null;\n }\n\n for (var _len = arguments.length, args = Array(_len > 6 ? _len - 6 : 0), _key = 6; _key < _len; _key++) {\n args[_key - 6] = arguments[_key];\n }\n\n return validate.apply(undefined, [props, propName, componentNameSafe, location, propFullNameSafe].concat(args));\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/utils/createChainableTypeChecker.js\n// module id = 28\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _createChainableTypeChecker = require('./utils/createChainableTypeChecker');\n\nvar _createChainableTypeChecker2 = _interopRequireDefault(_createChainableTypeChecker);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue);\n\n if (_react2.default.isValidElement(propValue)) {\n return new Error('Invalid ' + location + ' `' + propFullName + '` of type ReactElement ' + ('supplied to `' + componentName + '`, expected a ReactComponent or a ') + 'DOMElement. You can usually obtain a ReactComponent or DOMElement ' + 'from a ReactElement by attaching a ref to it.');\n }\n\n if ((propType !== 'object' || typeof propValue.render !== 'function') && propValue.nodeType !== 1) {\n return new Error('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected a ReactComponent or a ') + 'DOMElement.');\n }\n\n return null;\n}\n\nexports.default = (0, _createChainableTypeChecker2.default)(validate);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/componentOrElement.js\n// module id = 29\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.default = deprecated;\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar warned = {};\n\nfunction deprecated(validator, reason) {\n return function validate(props, propName, componentName, location, propFullName) {\n var componentNameSafe = componentName || '<>';\n var propFullNameSafe = propFullName || propName;\n\n if (props[propName] != null) {\n var messageKey = componentName + '.' + propName;\n\n (0, _warning2.default)(warned[messageKey], 'The ' + location + ' `' + propFullNameSafe + '` of ' + ('`' + componentNameSafe + '` is deprecated. ' + reason + '.'));\n\n warned[messageKey] = true;\n }\n\n for (var _len = arguments.length, args = Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) {\n args[_key - 5] = arguments[_key];\n }\n\n return validator.apply(undefined, [props, propName, componentName, location, propFullName].concat(args));\n };\n}\n\n/* eslint-disable no-underscore-dangle */\nfunction _resetWarned() {\n warned = {};\n}\n\ndeprecated._resetWarned = _resetWarned;\n/* eslint-enable no-underscore-dangle */\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/deprecated.js\n// module id = 30\n// module chunks = 0","/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n\n if (format.length < 10 || (/^[s\\W]*$/).test(format)) {\n throw new Error(\n 'The warning format should be able to uniquely identify this ' +\n 'warning. Please, use a more descriptive format than: ' + format\n );\n }\n\n if (!condition) {\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch(x) {}\n }\n };\n}\n\nmodule.exports = warning;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/warning/browser.js\n// module id = 31\n// module chunks = 0","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/process/browser.js\n// module id = 32\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _createChainableTypeChecker = require('./utils/createChainableTypeChecker');\n\nvar _createChainableTypeChecker2 = _interopRequireDefault(_createChainableTypeChecker);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction elementType(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue);\n\n if (_react2.default.isValidElement(propValue)) {\n return new Error('Invalid ' + location + ' `' + propFullName + '` of type ReactElement ' + ('supplied to `' + componentName + '`, expected an element type (a string ') + 'or a ReactClass).');\n }\n\n if (propType !== 'function' && propType !== 'string') {\n return new Error('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected an element type (a string ') + 'or a ReactClass).');\n }\n\n return null;\n}\n\nexports.default = (0, _createChainableTypeChecker2.default)(elementType);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/elementType.js\n// module id = 33\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.default = isRequiredForA11y;\nfunction isRequiredForA11y(validator) {\n return function validate(props, propName, componentName, location, propFullName) {\n var componentNameSafe = componentName || '<>';\n var propFullNameSafe = propFullName || propName;\n\n if (props[propName] == null) {\n return new Error('The ' + location + ' `' + propFullNameSafe + '` is required to make ' + ('`' + componentNameSafe + '` accessible for users of assistive ') + 'technologies such as screen readers.');\n }\n\n for (var _len = arguments.length, args = Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) {\n args[_key - 5] = arguments[_key];\n }\n\n return validator.apply(undefined, [props, propName, componentName, location, propFullName].concat(args));\n };\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/isRequiredForA11y.js\n// module id = 34\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\nexports.default = splitComponentProps;\nfunction _objectEntries(obj) {\n var entries = [];\n var keys = Object.keys(obj);\n\n for (var k = 0; k < keys.length; ++k) {\n entries.push([keys[k], obj[keys[k]]]);\n }return entries;\n}\n\n/**\n * 分割要传入父元素和子元素的props\n * @param {[object]} props 传入的属性\n * @param {[reactElement]} Component 组件\n * @return {[array]} 返回数组,第一个元素为父元素props对象,第二个子元素props对象\n */\nfunction splitComponentProps(props, Component) {\n var componentPropTypes = Component.propTypes;\n\n var parentProps = {};\n var childProps = {};\n\n _objectEntries(props).forEach(function (_ref) {\n var propName = _ref[0],\n propValue = _ref[1];\n\n if (componentPropTypes[propName]) {\n parentProps[propName] = propValue;\n } else {\n childProps[propName] = propValue;\n }\n });\n\n return [parentProps, childProps];\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/splitComponent.js\n// module id = 35\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nfunction createChainedFunction() {\n for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n return funcs.filter(function (f) {\n return f != null;\n }).reduce(function (acc, f) {\n if (typeof f !== 'function') {\n throw new Error('Invalid Argument Type, must only provide functions, undefined, or null.');\n }\n\n if (acc === null) {\n return f;\n }\n\n return function chainedFunction() {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n acc.apply(this, args);\n f.apply(this, args);\n };\n }, null);\n}\nexports.default = createChainedFunction;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/createChainedFunction.js\n// module id = 36\n// module chunks = 0","'use strict';\n\n/**\n * @ignore\n * some key-codes definition and utils from closure-library\n * @author yiminghe@gmail.com\n */\n\nvar KeyCode = {\n /**\n * MAC_ENTER\n */\n MAC_ENTER: 3,\n /**\n * BACKSPACE\n */\n BACKSPACE: 8,\n /**\n * TAB\n */\n TAB: 9,\n /**\n * NUMLOCK on FF/Safari Mac\n */\n NUM_CENTER: 12, // NUMLOCK on FF/Safari Mac\n /**\n * ENTER\n */\n ENTER: 13,\n /**\n * SHIFT\n */\n SHIFT: 16,\n /**\n * CTRL\n */\n CTRL: 17,\n /**\n * ALT\n */\n ALT: 18,\n /**\n * PAUSE\n */\n PAUSE: 19,\n /**\n * CAPS_LOCK\n */\n CAPS_LOCK: 20,\n /**\n * ESC\n */\n ESC: 27,\n /**\n * SPACE\n */\n SPACE: 32,\n /**\n * PAGE_UP\n */\n PAGE_UP: 33, // also NUM_NORTH_EAST\n /**\n * PAGE_DOWN\n */\n PAGE_DOWN: 34, // also NUM_SOUTH_EAST\n /**\n * END\n */\n END: 35, // also NUM_SOUTH_WEST\n /**\n * HOME\n */\n HOME: 36, // also NUM_NORTH_WEST\n /**\n * LEFT\n */\n LEFT: 37, // also NUM_WEST\n /**\n * UP\n */\n UP: 38, // also NUM_NORTH\n /**\n * RIGHT\n */\n RIGHT: 39, // also NUM_EAST\n /**\n * DOWN\n */\n DOWN: 40, // also NUM_SOUTH\n /**\n * PRINT_SCREEN\n */\n PRINT_SCREEN: 44,\n /**\n * INSERT\n */\n INSERT: 45, // also NUM_INSERT\n /**\n * DELETE\n */\n DELETE: 46, // also NUM_DELETE\n /**\n * ZERO\n */\n ZERO: 48,\n /**\n * ONE\n */\n ONE: 49,\n /**\n * TWO\n */\n TWO: 50,\n /**\n * THREE\n */\n THREE: 51,\n /**\n * FOUR\n */\n FOUR: 52,\n /**\n * FIVE\n */\n FIVE: 53,\n /**\n * SIX\n */\n SIX: 54,\n /**\n * SEVEN\n */\n SEVEN: 55,\n /**\n * EIGHT\n */\n EIGHT: 56,\n /**\n * NINE\n */\n NINE: 57,\n /**\n * QUESTION_MARK\n */\n QUESTION_MARK: 63, // needs localization\n /**\n * A\n */\n A: 65,\n /**\n * B\n */\n B: 66,\n /**\n * C\n */\n C: 67,\n /**\n * D\n */\n D: 68,\n /**\n * E\n */\n E: 69,\n /**\n * F\n */\n F: 70,\n /**\n * G\n */\n G: 71,\n /**\n * H\n */\n H: 72,\n /**\n * I\n */\n I: 73,\n /**\n * J\n */\n J: 74,\n /**\n * K\n */\n K: 75,\n /**\n * L\n */\n L: 76,\n /**\n * M\n */\n M: 77,\n /**\n * N\n */\n N: 78,\n /**\n * O\n */\n O: 79,\n /**\n * P\n */\n P: 80,\n /**\n * Q\n */\n Q: 81,\n /**\n * R\n */\n R: 82,\n /**\n * S\n */\n S: 83,\n /**\n * T\n */\n T: 84,\n /**\n * U\n */\n U: 85,\n /**\n * V\n */\n V: 86,\n /**\n * W\n */\n W: 87,\n /**\n * X\n */\n X: 88,\n /**\n * Y\n */\n Y: 89,\n /**\n * Z\n */\n Z: 90,\n /**\n * META\n */\n META: 91, // WIN_KEY_LEFT\n /**\n * WIN_KEY_RIGHT\n */\n WIN_KEY_RIGHT: 92,\n /**\n * CONTEXT_MENU\n */\n CONTEXT_MENU: 93,\n /**\n * NUM_ZERO\n */\n NUM_ZERO: 96,\n /**\n * NUM_ONE\n */\n NUM_ONE: 97,\n /**\n * NUM_TWO\n */\n NUM_TWO: 98,\n /**\n * NUM_THREE\n */\n NUM_THREE: 99,\n /**\n * NUM_FOUR\n */\n NUM_FOUR: 100,\n /**\n * NUM_FIVE\n */\n NUM_FIVE: 101,\n /**\n * NUM_SIX\n */\n NUM_SIX: 102,\n /**\n * NUM_SEVEN\n */\n NUM_SEVEN: 103,\n /**\n * NUM_EIGHT\n */\n NUM_EIGHT: 104,\n /**\n * NUM_NINE\n */\n NUM_NINE: 105,\n /**\n * NUM_MULTIPLY\n */\n NUM_MULTIPLY: 106,\n /**\n * NUM_PLUS\n */\n NUM_PLUS: 107,\n /**\n * NUM_MINUS\n */\n NUM_MINUS: 109,\n /**\n * NUM_PERIOD\n */\n NUM_PERIOD: 110,\n /**\n * NUM_DIVISION\n */\n NUM_DIVISION: 111,\n /**\n * F1\n */\n F1: 112,\n /**\n * F2\n */\n F2: 113,\n /**\n * F3\n */\n F3: 114,\n /**\n * F4\n */\n F4: 115,\n /**\n * F5\n */\n F5: 116,\n /**\n * F6\n */\n F6: 117,\n /**\n * F7\n */\n F7: 118,\n /**\n * F8\n */\n F8: 119,\n /**\n * F9\n */\n F9: 120,\n /**\n * F10\n */\n F10: 121,\n /**\n * F11\n */\n F11: 122,\n /**\n * F12\n */\n F12: 123,\n /**\n * NUMLOCK\n */\n NUMLOCK: 144,\n /**\n * SEMICOLON\n */\n SEMICOLON: 186, // needs localization\n /**\n * DASH\n */\n DASH: 189, // needs localization\n /**\n * EQUALS\n */\n EQUALS: 187, // needs localization\n /**\n * COMMA\n */\n COMMA: 188, // needs localization\n /**\n * PERIOD\n */\n PERIOD: 190, // needs localization\n /**\n * SLASH\n */\n SLASH: 191, // needs localization\n /**\n * APOSTROPHE\n */\n APOSTROPHE: 192, // needs localization\n /**\n * SINGLE_QUOTE\n */\n SINGLE_QUOTE: 222, // needs localization\n /**\n * OPEN_SQUARE_BRACKET\n */\n OPEN_SQUARE_BRACKET: 219, // needs localization\n /**\n * BACKSLASH\n */\n BACKSLASH: 220, // needs localization\n /**\n * CLOSE_SQUARE_BRACKET\n */\n CLOSE_SQUARE_BRACKET: 221, // needs localization\n /**\n * WIN_KEY\n */\n WIN_KEY: 224,\n /**\n * MAC_FF_META\n */\n MAC_FF_META: 224, // Firefox (Gecko) fires this for the meta key instead of 91\n /**\n * WIN_IME\n */\n WIN_IME: 229\n};\n\n/*\n whether text and modified key is entered at the same time.\n */\nKeyCode.isTextModifyingKeyEvent = function isTextModifyingKeyEvent(e) {\n var keyCode = e.keyCode;\n if (e.altKey && !e.ctrlKey || e.metaKey ||\n // Function keys don't generate text\n keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {\n return false;\n }\n\n // The following keys are quite harmless, even in combination with\n // CTRL, ALT or SHIFT.\n switch (keyCode) {\n case KeyCode.ALT:\n case KeyCode.CAPS_LOCK:\n case KeyCode.CONTEXT_MENU:\n case KeyCode.CTRL:\n case KeyCode.DOWN:\n case KeyCode.END:\n case KeyCode.ESC:\n case KeyCode.HOME:\n case KeyCode.INSERT:\n case KeyCode.LEFT:\n case KeyCode.MAC_FF_META:\n case KeyCode.META:\n case KeyCode.NUMLOCK:\n case KeyCode.NUM_CENTER:\n case KeyCode.PAGE_DOWN:\n case KeyCode.PAGE_UP:\n case KeyCode.PAUSE:\n case KeyCode.PRINT_SCREEN:\n case KeyCode.RIGHT:\n case KeyCode.SHIFT:\n case KeyCode.UP:\n case KeyCode.WIN_KEY:\n case KeyCode.WIN_KEY_RIGHT:\n return false;\n default:\n return true;\n }\n};\n\n/*\n whether character is entered.\n */\nKeyCode.isCharacterKey = function isCharacterKey(keyCode) {\n if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {\n return true;\n }\n\n if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {\n return true;\n }\n\n if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {\n return true;\n }\n\n // Safari sends zero key code for non-latin characters.\n if (window.navigation.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {\n return true;\n }\n\n switch (keyCode) {\n case KeyCode.SPACE:\n case KeyCode.QUESTION_MARK:\n case KeyCode.NUM_PLUS:\n case KeyCode.NUM_MINUS:\n case KeyCode.NUM_PERIOD:\n case KeyCode.NUM_DIVISION:\n case KeyCode.SEMICOLON:\n case KeyCode.DASH:\n case KeyCode.EQUALS:\n case KeyCode.COMMA:\n case KeyCode.PERIOD:\n case KeyCode.SLASH:\n case KeyCode.APOSTROPHE:\n case KeyCode.SINGLE_QUOTE:\n case KeyCode.OPEN_SQUARE_BRACKET:\n case KeyCode.BACKSLASH:\n case KeyCode.CLOSE_SQUARE_BRACKET:\n return true;\n default:\n return false;\n }\n};\n\nmodule.exports = KeyCode;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/keyCode.js\n// module id = 37\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\nexports.default = contains;\nfunction contains(root, n) {\n var node = n;\n while (node) {\n if (node === root) {\n return true;\n }\n node = node.parentNode;\n }\n\n return false;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/contains.js\n// module id = 38\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.default = addEventListenerWrap;\n\nvar _addDomEventListener = require('add-dom-event-listener');\n\nvar _addDomEventListener2 = _interopRequireDefault(_addDomEventListener);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction addEventListenerWrap(target, eventType, cb) {\n /* eslint camelcase: 2 */\n var callback = _reactDom2.default.unstable_batchedUpdates ? function run(e) {\n _reactDom2.default.unstable_batchedUpdates(cb, e);\n } : cb;\n return (0, _addDomEventListener2.default)(target, eventType, callback);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/addEventListener.js\n// module id = 39\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = addEventListener;\n\nvar _EventObject = require('./EventObject');\n\nvar _EventObject2 = _interopRequireDefault(_EventObject);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction addEventListener(target, eventType, callback) {\n function wrapCallback(e) {\n var ne = new _EventObject2[\"default\"](e);\n callback.call(target, ne);\n }\n\n if (target.addEventListener) {\n target.addEventListener(eventType, wrapCallback, false);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, wrapCallback, false);\n }\n };\n } else if (target.attachEvent) {\n target.attachEvent('on' + eventType, wrapCallback);\n return {\n remove: function remove() {\n target.detachEvent('on' + eventType, wrapCallback);\n }\n };\n }\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/add-dom-event-listener/lib/index.js\n// module id = 40\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _EventBaseObject = require('./EventBaseObject');\n\nvar _EventBaseObject2 = _interopRequireDefault(_EventBaseObject);\n\nvar _objectAssign = require('object-assign');\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n/**\n * @ignore\n * event object for dom\n * @author yiminghe@gmail.com\n */\n\nvar TRUE = true;\nvar FALSE = false;\nvar commonProps = ['altKey', 'bubbles', 'cancelable', 'ctrlKey', 'currentTarget', 'eventPhase', 'metaKey', 'shiftKey', 'target', 'timeStamp', 'view', 'type'];\n\nfunction isNullOrUndefined(w) {\n return w === null || w === undefined;\n}\n\nvar eventNormalizers = [{\n reg: /^key/,\n props: ['char', 'charCode', 'key', 'keyCode', 'which'],\n fix: function fix(event, nativeEvent) {\n if (isNullOrUndefined(event.which)) {\n event.which = !isNullOrUndefined(nativeEvent.charCode) ? nativeEvent.charCode : nativeEvent.keyCode;\n }\n\n // add metaKey to non-Mac browsers (use ctrl for PC 's and Meta for Macs)\n if (event.metaKey === undefined) {\n event.metaKey = event.ctrlKey;\n }\n }\n}, {\n reg: /^touch/,\n props: ['touches', 'changedTouches', 'targetTouches']\n}, {\n reg: /^hashchange$/,\n props: ['newURL', 'oldURL']\n}, {\n reg: /^gesturechange$/i,\n props: ['rotation', 'scale']\n}, {\n reg: /^(mousewheel|DOMMouseScroll)$/,\n props: [],\n fix: function fix(event, nativeEvent) {\n var deltaX = void 0;\n var deltaY = void 0;\n var delta = void 0;\n var wheelDelta = nativeEvent.wheelDelta;\n var axis = nativeEvent.axis;\n var wheelDeltaY = nativeEvent.wheelDeltaY;\n var wheelDeltaX = nativeEvent.wheelDeltaX;\n var detail = nativeEvent.detail;\n\n // ie/webkit\n if (wheelDelta) {\n delta = wheelDelta / 120;\n }\n\n // gecko\n if (detail) {\n // press control e.detail == 1 else e.detail == 3\n delta = 0 - (detail % 3 === 0 ? detail / 3 : detail);\n }\n\n // Gecko\n if (axis !== undefined) {\n if (axis === event.HORIZONTAL_AXIS) {\n deltaY = 0;\n deltaX = 0 - delta;\n } else if (axis === event.VERTICAL_AXIS) {\n deltaX = 0;\n deltaY = delta;\n }\n }\n\n // Webkit\n if (wheelDeltaY !== undefined) {\n deltaY = wheelDeltaY / 120;\n }\n if (wheelDeltaX !== undefined) {\n deltaX = -1 * wheelDeltaX / 120;\n }\n\n // 默认 deltaY (ie)\n if (!deltaX && !deltaY) {\n deltaY = delta;\n }\n\n if (deltaX !== undefined) {\n /**\n * deltaX of mousewheel event\n * @property deltaX\n * @member Event.DomEvent.Object\n */\n event.deltaX = deltaX;\n }\n\n if (deltaY !== undefined) {\n /**\n * deltaY of mousewheel event\n * @property deltaY\n * @member Event.DomEvent.Object\n */\n event.deltaY = deltaY;\n }\n\n if (delta !== undefined) {\n /**\n * delta of mousewheel event\n * @property delta\n * @member Event.DomEvent.Object\n */\n event.delta = delta;\n }\n }\n}, {\n reg: /^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,\n props: ['buttons', 'clientX', 'clientY', 'button', 'offsetX', 'relatedTarget', 'which', 'fromElement', 'toElement', 'offsetY', 'pageX', 'pageY', 'screenX', 'screenY'],\n fix: function fix(event, nativeEvent) {\n var eventDoc = void 0;\n var doc = void 0;\n var body = void 0;\n var target = event.target;\n var button = nativeEvent.button;\n\n // Calculate pageX/Y if missing and clientX/Y available\n if (target && isNullOrUndefined(event.pageX) && !isNullOrUndefined(nativeEvent.clientX)) {\n eventDoc = target.ownerDocument || document;\n doc = eventDoc.documentElement;\n body = eventDoc.body;\n event.pageX = nativeEvent.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0);\n event.pageY = nativeEvent.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0);\n }\n\n // which for click: 1 === left; 2 === middle; 3 === right\n // do not use button\n if (!event.which && button !== undefined) {\n if (button & 1) {\n event.which = 1;\n } else if (button & 2) {\n event.which = 3;\n } else if (button & 4) {\n event.which = 2;\n } else {\n event.which = 0;\n }\n }\n\n // add relatedTarget, if necessary\n if (!event.relatedTarget && event.fromElement) {\n event.relatedTarget = event.fromElement === target ? event.toElement : event.fromElement;\n }\n\n return event;\n }\n}];\n\nfunction retTrue() {\n return TRUE;\n}\n\nfunction retFalse() {\n return FALSE;\n}\n\nfunction DomEventObject(nativeEvent) {\n var type = nativeEvent.type;\n\n var isNative = typeof nativeEvent.stopPropagation === 'function' || typeof nativeEvent.cancelBubble === 'boolean';\n\n _EventBaseObject2[\"default\"].call(this);\n\n this.nativeEvent = nativeEvent;\n\n // in case dom event has been mark as default prevented by lower dom node\n var isDefaultPrevented = retFalse;\n if ('defaultPrevented' in nativeEvent) {\n isDefaultPrevented = nativeEvent.defaultPrevented ? retTrue : retFalse;\n } else if ('getPreventDefault' in nativeEvent) {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=691151\n isDefaultPrevented = nativeEvent.getPreventDefault() ? retTrue : retFalse;\n } else if ('returnValue' in nativeEvent) {\n isDefaultPrevented = nativeEvent.returnValue === FALSE ? retTrue : retFalse;\n }\n\n this.isDefaultPrevented = isDefaultPrevented;\n\n var fixFns = [];\n var fixFn = void 0;\n var l = void 0;\n var prop = void 0;\n var props = commonProps.concat();\n\n eventNormalizers.forEach(function (normalizer) {\n if (type.match(normalizer.reg)) {\n props = props.concat(normalizer.props);\n if (normalizer.fix) {\n fixFns.push(normalizer.fix);\n }\n }\n });\n\n l = props.length;\n\n // clone properties of the original event object\n while (l) {\n prop = props[--l];\n this[prop] = nativeEvent[prop];\n }\n\n // fix target property, if necessary\n if (!this.target && isNative) {\n this.target = nativeEvent.srcElement || document; // srcElement might not be defined either\n }\n\n // check if target is a text node (safari)\n if (this.target && this.target.nodeType === 3) {\n this.target = this.target.parentNode;\n }\n\n l = fixFns.length;\n\n while (l) {\n fixFn = fixFns[--l];\n fixFn(this, nativeEvent);\n }\n\n this.timeStamp = nativeEvent.timeStamp || Date.now();\n}\n\nvar EventBaseObjectProto = _EventBaseObject2[\"default\"].prototype;\n\n(0, _objectAssign2[\"default\"])(DomEventObject.prototype, EventBaseObjectProto, {\n constructor: DomEventObject,\n\n preventDefault: function preventDefault() {\n var e = this.nativeEvent;\n\n // if preventDefault exists run it on the original event\n if (e.preventDefault) {\n e.preventDefault();\n } else {\n // otherwise set the returnValue property of the original event to FALSE (IE)\n e.returnValue = FALSE;\n }\n\n EventBaseObjectProto.preventDefault.call(this);\n },\n stopPropagation: function stopPropagation() {\n var e = this.nativeEvent;\n\n // if stopPropagation exists run it on the original event\n if (e.stopPropagation) {\n e.stopPropagation();\n } else {\n // otherwise set the cancelBubble property of the original event to TRUE (IE)\n e.cancelBubble = TRUE;\n }\n\n EventBaseObjectProto.stopPropagation.call(this);\n }\n});\n\nexports[\"default\"] = DomEventObject;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/add-dom-event-listener/lib/EventObject.js\n// module id = 41\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * @ignore\n * base event object for custom and dom event.\n * @author yiminghe@gmail.com\n */\n\nfunction returnFalse() {\n return false;\n}\n\nfunction returnTrue() {\n return true;\n}\n\nfunction EventBaseObject() {\n this.timeStamp = Date.now();\n this.target = undefined;\n this.currentTarget = undefined;\n}\n\nEventBaseObject.prototype = {\n isEventObject: 1,\n\n constructor: EventBaseObject,\n\n isDefaultPrevented: returnFalse,\n\n isPropagationStopped: returnFalse,\n\n isImmediatePropagationStopped: returnFalse,\n\n preventDefault: function preventDefault() {\n this.isDefaultPrevented = returnTrue;\n },\n stopPropagation: function stopPropagation() {\n this.isPropagationStopped = returnTrue;\n },\n stopImmediatePropagation: function stopImmediatePropagation() {\n this.isImmediatePropagationStopped = returnTrue;\n // fixed 1.2\n // call stopPropagation implicitly\n this.stopPropagation();\n },\n halt: function halt(immediate) {\n if (immediate) {\n this.stopImmediatePropagation();\n } else {\n this.stopPropagation();\n }\n this.preventDefault();\n }\n};\n\nexports[\"default\"] = EventBaseObject;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/add-dom-event-listener/lib/EventBaseObject.js\n// module id = 42\n// module chunks = 0","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/object-assign/index.js\n// module id = 43\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _Event = require('./Event');\n\nvar _Event2 = _interopRequireDefault(_Event);\n\nvar _componentClasses = require('component-classes');\n\nvar _componentClasses2 = _interopRequireDefault(_componentClasses);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isCssAnimationSupported = _Event2.default.endEvents.length !== 0;\n\n\nvar capitalPrefixes = ['Webkit', 'Moz', 'O',\n// ms is special .... !\n'ms'];\nvar prefixes = ['-webkit-', '-moz-', '-o-', 'ms-', ''];\n\nfunction getStyleProperty(node, name) {\n var style = window.getComputedStyle(node);\n\n var ret = '';\n for (var i = 0; i < prefixes.length; i++) {\n ret = style.getPropertyValue(prefixes[i] + name);\n if (ret) {\n break;\n }\n }\n return ret;\n}\n\nfunction fixBrowserByTimeout(node) {\n if (isCssAnimationSupported) {\n var transitionDelay = parseFloat(getStyleProperty(node, 'transition-delay')) || 0;\n var transitionDuration = parseFloat(getStyleProperty(node, 'transition-duration')) || 0;\n var animationDelay = parseFloat(getStyleProperty(node, 'animation-delay')) || 0;\n var animationDuration = parseFloat(getStyleProperty(node, 'animation-duration')) || 0;\n var time = Math.max(transitionDuration + transitionDelay, animationDuration + animationDelay);\n // sometimes, browser bug\n node.rcEndAnimTimeout = setTimeout(function () {\n node.rcEndAnimTimeout = null;\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n }, time * 1000 + 200);\n }\n}\n\nfunction clearBrowserBugTimeout(node) {\n if (node.rcEndAnimTimeout) {\n clearTimeout(node.rcEndAnimTimeout);\n node.rcEndAnimTimeout = null;\n }\n}\n\nvar cssAnimation = function cssAnimation(node, transitionName, endCallback) {\n var nameIsObj = (typeof transitionName === 'undefined' ? 'undefined' : _typeof(transitionName)) === 'object';\n var className = nameIsObj ? transitionName.name : transitionName;\n var activeClassName = nameIsObj ? transitionName.active : transitionName + '-active';\n var end = endCallback;\n var start = void 0;\n var active = void 0;\n var nodeClasses = (0, _componentClasses2.default)(node);\n\n if (endCallback && Object.prototype.toString.call(endCallback) === '[object Object]') {\n end = endCallback.end;\n start = endCallback.start;\n active = endCallback.active;\n }\n\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n\n node.rcEndListener = function (e) {\n if (e && e.target !== node) {\n return;\n }\n\n if (node.rcAnimTimeout) {\n clearTimeout(node.rcAnimTimeout);\n node.rcAnimTimeout = null;\n }\n\n clearBrowserBugTimeout(node);\n\n nodeClasses.remove(className);\n nodeClasses.remove(activeClassName);\n\n _Event2.default.removeEndEventListener(node, node.rcEndListener);\n node.rcEndListener = null;\n\n // Usually this optional end is used for informing an owner of\n // a leave animation and telling it to remove the child.\n if (end) {\n end();\n }\n };\n\n _Event2.default.addEndEventListener(node, node.rcEndListener);\n\n if (start) {\n start();\n }\n nodeClasses.add(className);\n\n node.rcAnimTimeout = setTimeout(function () {\n node.rcAnimTimeout = null;\n nodeClasses.add(activeClassName);\n if (active) {\n setTimeout(active, 0);\n }\n fixBrowserByTimeout(node);\n // 30ms for firefox\n }, 30);\n\n return {\n stop: function stop() {\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n }\n };\n};\n\ncssAnimation.style = function (node, style, callback) {\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n\n node.rcEndListener = function (e) {\n if (e && e.target !== node) {\n return;\n }\n\n if (node.rcAnimTimeout) {\n clearTimeout(node.rcAnimTimeout);\n node.rcAnimTimeout = null;\n }\n\n clearBrowserBugTimeout(node);\n\n _Event2.default.removeEndEventListener(node, node.rcEndListener);\n node.rcEndListener = null;\n\n // Usually this optional callback is used for informing an owner of\n // a leave animation and telling it to remove the child.\n if (callback) {\n callback();\n }\n };\n\n _Event2.default.addEndEventListener(node, node.rcEndListener);\n\n node.rcAnimTimeout = setTimeout(function () {\n for (var s in style) {\n if (style.hasOwnProperty(s)) {\n node.style[s] = style[s];\n }\n }\n node.rcAnimTimeout = null;\n fixBrowserByTimeout(node);\n }, 0);\n};\n\ncssAnimation.setTransition = function (node, p, value) {\n var property = p;\n var v = value;\n if (value === undefined) {\n v = property;\n property = '';\n }\n property = property || '';\n capitalPrefixes.forEach(function (prefix) {\n node.style[prefix + 'Transition' + property] = v;\n });\n};\n\ncssAnimation.isCssAnimationSupported = isCssAnimationSupported;\n\nexports.default = cssAnimation;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/cssAnimation.js\n// module id = 44\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nvar EVENT_NAME_MAP = {\n transitionend: {\n transition: 'transitionend',\n WebkitTransition: 'webkitTransitionEnd',\n MozTransition: 'mozTransitionEnd',\n OTransition: 'oTransitionEnd',\n msTransition: 'MSTransitionEnd'\n },\n\n animationend: {\n animation: 'animationend',\n WebkitAnimation: 'webkitAnimationEnd',\n MozAnimation: 'mozAnimationEnd',\n OAnimation: 'oAnimationEnd',\n msAnimation: 'MSAnimationEnd'\n }\n};\n\nvar endEvents = [];\n\nfunction detectEvents() {\n var testEl = document.createElement('div');\n var style = testEl.style;\n\n if (!('AnimationEvent' in window)) {\n delete EVENT_NAME_MAP.animationend.animation;\n }\n\n if (!('TransitionEvent' in window)) {\n delete EVENT_NAME_MAP.transitionend.transition;\n }\n\n for (var baseEventName in EVENT_NAME_MAP) {\n if (EVENT_NAME_MAP.hasOwnProperty(baseEventName)) {\n var baseEvents = EVENT_NAME_MAP[baseEventName];\n for (var styleName in baseEvents) {\n if (styleName in style) {\n endEvents.push(baseEvents[styleName]);\n break;\n }\n }\n }\n }\n}\n\nif (typeof window !== 'undefined' && typeof document !== 'undefined') {\n detectEvents();\n}\n\nfunction addEventListener(node, eventName, eventListener) {\n node.addEventListener(eventName, eventListener, false);\n}\n\nfunction removeEventListener(node, eventName, eventListener) {\n node.removeEventListener(eventName, eventListener, false);\n}\n\nvar TransitionEvents = {\n addEndEventListener: function addEndEventListener(node, eventListener) {\n if (endEvents.length === 0) {\n window.setTimeout(eventListener, 0);\n return;\n }\n endEvents.forEach(function (endEvent) {\n addEventListener(node, endEvent, eventListener);\n });\n },\n\n\n endEvents: endEvents,\n\n removeEndEventListener: function removeEndEventListener(node, eventListener) {\n if (endEvents.length === 0) {\n return;\n }\n endEvents.forEach(function (endEvent) {\n removeEventListener(node, endEvent, eventListener);\n });\n }\n};\n\nexports.default = TransitionEvents;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/Event.js\n// module id = 45\n// module chunks = 0","/**\n * Module dependencies.\n */\n\ntry {\n var index = require('indexof');\n} catch (err) {\n var index = require('component-indexof');\n}\n\n/**\n * Whitespace regexp.\n */\n\nvar re = /\\s+/;\n\n/**\n * toString reference.\n */\n\nvar toString = Object.prototype.toString;\n\n/**\n * Wrap `el` in a `ClassList`.\n *\n * @param {Element} el\n * @return {ClassList}\n * @api public\n */\n\nmodule.exports = function(el){\n return new ClassList(el);\n};\n\n/**\n * Initialize a new ClassList for `el`.\n *\n * @param {Element} el\n * @api private\n */\n\nfunction ClassList(el) {\n if (!el || !el.nodeType) {\n throw new Error('A DOM element reference is required');\n }\n this.el = el;\n this.list = el.classList;\n}\n\n/**\n * Add class `name` if not already present.\n *\n * @param {String} name\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.add = function(name){\n // classList\n if (this.list) {\n this.list.add(name);\n return this;\n }\n\n // fallback\n var arr = this.array();\n var i = index(arr, name);\n if (!~i) arr.push(name);\n this.el.className = arr.join(' ');\n return this;\n};\n\n/**\n * Remove class `name` when present, or\n * pass a regular expression to remove\n * any which match.\n *\n * @param {String|RegExp} name\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.remove = function(name){\n if ('[object RegExp]' == toString.call(name)) {\n return this.removeMatching(name);\n }\n\n // classList\n if (this.list) {\n this.list.remove(name);\n return this;\n }\n\n // fallback\n var arr = this.array();\n var i = index(arr, name);\n if (~i) arr.splice(i, 1);\n this.el.className = arr.join(' ');\n return this;\n};\n\n/**\n * Remove all classes matching `re`.\n *\n * @param {RegExp} re\n * @return {ClassList}\n * @api private\n */\n\nClassList.prototype.removeMatching = function(re){\n var arr = this.array();\n for (var i = 0; i < arr.length; i++) {\n if (re.test(arr[i])) {\n this.remove(arr[i]);\n }\n }\n return this;\n};\n\n/**\n * Toggle class `name`, can force state via `force`.\n *\n * For browsers that support classList, but do not support `force` yet,\n * the mistake will be detected and corrected.\n *\n * @param {String} name\n * @param {Boolean} force\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.toggle = function(name, force){\n // classList\n if (this.list) {\n if (\"undefined\" !== typeof force) {\n if (force !== this.list.toggle(name, force)) {\n this.list.toggle(name); // toggle again to correct\n }\n } else {\n this.list.toggle(name);\n }\n return this;\n }\n\n // fallback\n if (\"undefined\" !== typeof force) {\n if (!force) {\n this.remove(name);\n } else {\n this.add(name);\n }\n } else {\n if (this.has(name)) {\n this.remove(name);\n } else {\n this.add(name);\n }\n }\n\n return this;\n};\n\n/**\n * Return an array of classes.\n *\n * @return {Array}\n * @api public\n */\n\nClassList.prototype.array = function(){\n var className = this.el.getAttribute('class') || '';\n var str = className.replace(/^\\s+|\\s+$/g, '');\n var arr = str.split(re);\n if ('' === arr[0]) arr.shift();\n return arr;\n};\n\n/**\n * Check if class `name` is present.\n *\n * @param {String} name\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.has =\nClassList.prototype.contains = function(name){\n return this.list\n ? this.list.contains(name)\n : !! ~index(this.array(), name);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/component-classes/index.js\n// module id = 46\n// module chunks = 0","module.exports = function(arr, obj){\n if (arr.indexOf) return arr.indexOf(obj);\n for (var i = 0; i < arr.length; ++i) {\n if (arr[i] === obj) return i;\n }\n return -1;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/component-indexof/index.js\n// module id = 47\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\nexports.default = toArray;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction toArray(children) {\n var ret = [];\n _react2.default.Children.forEach(children, function (c) {\n ret.push(c);\n });\n return ret;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/toArray.js\n// module id = 48\n// module chunks = 0","'use strict';\n\nexports.__esModule = true;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _domAlign = require('dom-align');\n\nvar _domAlign2 = _interopRequireDefault(_domAlign);\n\nvar _addEventListener = require('./addEventListener');\n\nvar _addEventListener2 = _interopRequireDefault(_addEventListener);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n//import isWindow from './isWindow';\n\nfunction isWindow(obj) {\n /* eslint no-eq-null: 0 */\n /* eslint eqeqeq: 0 */\n return obj != null && obj == obj.window;\n}\n\nfunction buffer(fn, ms) {\n var timer = void 0;\n\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n\n function bufferFn() {\n clear();\n timer = setTimeout(fn, ms);\n }\n\n bufferFn.clear = clear;\n\n return bufferFn;\n}\n\nvar propTypes = {\n childrenProps: _propTypes2.default.object,\n align: _propTypes2.default.object.isRequired,\n target: _propTypes2.default.func,\n onAlign: _propTypes2.default.func,\n monitorBufferTime: _propTypes2.default.number,\n monitorWindowResize: _propTypes2.default.bool,\n disabled: _propTypes2.default.bool,\n children: _propTypes2.default.any\n};\n\nvar defaultProps = {\n target: function target() {\n return window;\n },\n onAlign: function onAlign() {},\n\n monitorBufferTime: 50,\n monitorWindowResize: false,\n disabled: false\n};\n\nvar Align = function (_React$Component) {\n _inherits(Align, _React$Component);\n\n function Align(props) {\n _classCallCheck(this, Align);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\n _initialiseProps.call(_this);\n\n return _this;\n }\n\n Align.prototype.componentDidMount = function componentDidMount() {\n var props = this.props;\n // if parent ref not attached .... use document.getElementById\n this.forceAlign();\n if (!props.disabled && props.monitorWindowResize) {\n this.startMonitorWindowResize();\n }\n };\n\n Align.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {\n var reAlign = false;\n var props = this.props;\n\n if (!props.disabled) {\n if (prevProps.disabled || prevProps.align !== props.align) {\n reAlign = true;\n } else {\n var lastTarget = prevProps.target();\n var currentTarget = props.target();\n if (isWindow(lastTarget) && isWindow(currentTarget)) {\n reAlign = false;\n } else if (lastTarget !== currentTarget) {\n reAlign = true;\n }\n }\n }\n\n if (reAlign) {\n this.forceAlign();\n }\n\n if (props.monitorWindowResize && !props.disabled) {\n this.startMonitorWindowResize();\n } else {\n this.stopMonitorWindowResize();\n }\n };\n\n Align.prototype.componentWillUnmount = function componentWillUnmount() {\n this.stopMonitorWindowResize();\n };\n\n Align.prototype.render = function render() {\n var _props = this.props,\n childrenProps = _props.childrenProps,\n children = _props.children;\n\n var child = _react2.default.Children.only(children);\n if (childrenProps) {\n var newProps = {};\n for (var prop in childrenProps) {\n if (childrenProps.hasOwnProperty(prop)) {\n newProps[prop] = this.props[childrenProps[prop]];\n }\n }\n return _react2.default.cloneElement(child, newProps);\n }\n return child;\n };\n\n return Align;\n}(_react2.default.Component);\n\nvar _initialiseProps = function _initialiseProps() {\n var _this2 = this;\n\n this.startMonitorWindowResize = function () {\n if (!_this2.resizeHandler) {\n _this2.bufferMonitor = buffer(_this2.forceAlign, _this2.props.monitorBufferTime);\n _this2.resizeHandler = (0, _addEventListener2.default)(window, 'resize', _this2.bufferMonitor);\n }\n };\n\n this.stopMonitorWindowResize = function () {\n if (_this2.resizeHandler) {\n _this2.bufferMonitor.clear();\n _this2.resizeHandler.remove();\n _this2.resizeHandler = null;\n }\n };\n\n this.forceAlign = function () {\n var props = _this2.props;\n if (!props.disabled) {\n var source = _reactDom2.default.findDOMNode(_this2);\n props.onAlign(source, (0, _domAlign2.default)(source, props.target(), props.align));\n }\n };\n};\n\n;\n\nAlign.defaultProps = defaultProps;\nAlign.propTypes = propTypes;\n\nexports.default = Align;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/tinper-bee-core/lib/Align.js\n// module id = 49\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _getOffsetParent = require('./getOffsetParent');\n\nvar _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);\n\nvar _getVisibleRectForElement = require('./getVisibleRectForElement');\n\nvar _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);\n\nvar _adjustForViewport = require('./adjustForViewport');\n\nvar _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);\n\nvar _getRegion = require('./getRegion');\n\nvar _getRegion2 = _interopRequireDefault(_getRegion);\n\nvar _getElFuturePos = require('./getElFuturePos');\n\nvar _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// http://yiminghe.iteye.com/blog/1124720\n\n/**\n * align dom node flexibly\n * @author yiminghe@gmail.com\n */\n\nfunction isFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;\n}\n\nfunction isFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;\n}\n\nfunction isCompleteFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;\n}\n\nfunction isCompleteFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;\n}\n\nfunction isOutOfVisibleRect(target) {\n var visibleRect = (0, _getVisibleRectForElement2['default'])(target);\n var targetRegion = (0, _getRegion2['default'])(target);\n\n return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;\n}\n\nfunction flip(points, reg, map) {\n var ret = [];\n _utils2['default'].each(points, function (p) {\n ret.push(p.replace(reg, function (m) {\n return map[m];\n }));\n });\n return ret;\n}\n\nfunction flipOffset(offset, index) {\n offset[index] = -offset[index];\n return offset;\n}\n\nfunction convertOffset(str, offsetLen) {\n var n = void 0;\n if (/%$/.test(str)) {\n n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;\n } else {\n n = parseInt(str, 10);\n }\n return n || 0;\n}\n\nfunction normalizeOffset(offset, el) {\n offset[0] = convertOffset(offset[0], el.width);\n offset[1] = convertOffset(offset[1], el.height);\n}\n\nfunction domAlign(el, refNode, align) {\n var points = align.points;\n var offset = align.offset || [0, 0];\n var targetOffset = align.targetOffset || [0, 0];\n var overflow = align.overflow;\n var target = align.target || refNode;\n var source = align.source || el;\n offset = [].concat(offset);\n targetOffset = [].concat(targetOffset);\n overflow = overflow || {};\n var newOverflowCfg = {};\n var fail = 0;\n // 当前节点可以被放置的显示区域\n var visibleRect = (0, _getVisibleRectForElement2['default'])(source);\n // 当前节点所占的区域, left/top/width/height\n var elRegion = (0, _getRegion2['default'])(source);\n // 参照节点所占的区域, left/top/width/height\n var refNodeRegion = (0, _getRegion2['default'])(target);\n // 将 offset 转换成数值,支持百分比\n normalizeOffset(offset, elRegion);\n normalizeOffset(targetOffset, refNodeRegion);\n // 当前节点将要被放置的位置\n var elFuturePos = (0, _getElFuturePos2['default'])(elRegion, refNodeRegion, points, offset, targetOffset);\n // 当前节点将要所处的区域\n var newElRegion = _utils2['default'].merge(elRegion, elFuturePos);\n\n var isTargetNotOutOfVisible = !isOutOfVisibleRect(target);\n\n // 如果可视区域不能完全放置当前节点时允许调整\n if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTargetNotOutOfVisible) {\n if (overflow.adjustX) {\n // 如果横向不能放下\n if (isFailX(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var newPoints = flip(points, /[lr]/ig, {\n l: 'r',\n r: 'l'\n });\n // 偏移量也反下\n var newOffset = flipOffset(offset, 0);\n var newTargetOffset = flipOffset(targetOffset, 0);\n var newElFuturePos = (0, _getElFuturePos2['default'])(elRegion, refNodeRegion, newPoints, newOffset, newTargetOffset);\n\n if (!isCompleteFailX(newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = newPoints;\n offset = newOffset;\n targetOffset = newTargetOffset;\n }\n }\n }\n\n if (overflow.adjustY) {\n // 如果纵向不能放下\n if (isFailY(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var _newPoints = flip(points, /[tb]/ig, {\n t: 'b',\n b: 't'\n });\n // 偏移量也反下\n var _newOffset = flipOffset(offset, 1);\n var _newTargetOffset = flipOffset(targetOffset, 1);\n var _newElFuturePos = (0, _getElFuturePos2['default'])(elRegion, refNodeRegion, _newPoints, _newOffset, _newTargetOffset);\n\n if (!isCompleteFailY(_newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = _newPoints;\n offset = _newOffset;\n targetOffset = _newTargetOffset;\n }\n }\n }\n\n // 如果失败,重新计算当前节点将要被放置的位置\n if (fail) {\n elFuturePos = (0, _getElFuturePos2['default'])(elRegion, refNodeRegion, points, offset, targetOffset);\n _utils2['default'].mix(newElRegion, elFuturePos);\n }\n var isStillFailX = isFailX(elFuturePos, elRegion, visibleRect);\n var isStillFailY = isFailY(elFuturePos, elRegion, visibleRect);\n // 检查反下后的位置是否可以放下了,如果仍然放不下:\n // 1. 复原修改过的定位参数\n if (isStillFailX || isStillFailY) {\n points = align.points;\n offset = align.offset || [0, 0];\n targetOffset = align.targetOffset || [0, 0];\n }\n // 2. 只有指定了可以调整当前方向才调整\n newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;\n newOverflowCfg.adjustY = overflow.adjustY && isStillFailY;\n\n // 确实要调整,甚至可能会调整高度宽度\n if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) {\n newElRegion = (0, _adjustForViewport2['default'])(elFuturePos, elRegion, visibleRect, newOverflowCfg);\n }\n }\n\n // need judge to in case set fixed with in css on height auto element\n if (newElRegion.width !== elRegion.width) {\n _utils2['default'].css(source, 'width', _utils2['default'].width(source) + newElRegion.width - elRegion.width);\n }\n\n if (newElRegion.height !== elRegion.height) {\n _utils2['default'].css(source, 'height', _utils2['default'].height(source) + newElRegion.height - elRegion.height);\n }\n\n // https://github.com/kissyteam/kissy/issues/190\n // 相对于屏幕位置没变,而 left/top 变了\n // 例如
\n _utils2['default'].offset(source, {\n left: newElRegion.left,\n top: newElRegion.top\n }, {\n useCssRight: align.useCssRight,\n useCssBottom: align.useCssBottom,\n useCssTransform: align.useCssTransform\n });\n\n return {\n points: points,\n offset: offset,\n targetOffset: targetOffset,\n overflow: newOverflowCfg\n };\n}\n\ndomAlign.__getOffsetParent = _getOffsetParent2['default'];\n\ndomAlign.__getVisibleRectForElement = _getVisibleRectForElement2['default'];\n\nexports['default'] = domAlign;\n/**\n * 2012-04-26 yiminghe@gmail.com\n * - 优化智能对齐算法\n * - 慎用 resizeXX\n *\n * 2011-07-13 yiminghe@gmail.com note:\n * - 增加智能对齐,以及大小调整选项\n **/\n\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/index.js\n// module id = 50\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _propertyUtils = require('./propertyUtils');\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\n\nvar getComputedStyleX = void 0;\n\n// https://stackoverflow.com/a/3485654/3040605\nfunction forceRelayout(elem) {\n var originalStyle = elem.style.display;\n elem.style.display = 'none';\n elem.offsetHeight; // eslint-disable-line\n elem.style.display = originalStyle;\n}\n\nfunction css(el, name, v) {\n var value = v;\n if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {\n for (var i in name) {\n if (name.hasOwnProperty(i)) {\n css(el, i, name[i]);\n }\n }\n return undefined;\n }\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = value + 'px';\n }\n el.style[name] = value;\n return undefined;\n }\n return getComputedStyleX(el, name);\n}\n\nfunction getClientPosition(elem) {\n var box = void 0;\n var x = void 0;\n var y = void 0;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n box = elem.getBoundingClientRect();\n\n // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = box.left;\n y = box.top;\n\n // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n\n return {\n left: x,\n top: y\n };\n}\n\nfunction getScroll(w, top) {\n var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];\n var method = 'scroll' + (top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n // ie6,7,8 standard mode\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n return ret;\n}\n\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\n\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\n\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\n\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\nfunction isWindow(obj) {\n // must use == for ie8\n /* eslint eqeqeq:0 */\n return obj !== null && obj !== undefined && obj == obj.window;\n}\n\nfunction getDocument(node) {\n if (isWindow(node)) {\n return node.document;\n }\n if (node.nodeType === 9) {\n return node;\n }\n return node.ownerDocument;\n}\n\nfunction _getComputedStyle(elem, name, cs) {\n var computedStyle = cs;\n var val = '';\n var d = getDocument(elem);\n computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null);\n\n // https://github.com/kissyteam/kissy/issues/61\n if (computedStyle) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n\n return val;\n}\n\nvar _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\n\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];\n\n // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style;\n var left = style[LEFT];\n var rsLeft = elem[RUNTIME_STYLE][LEFT];\n\n // prevent flashing of content\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];\n\n // Put in the new values to get a computed value out\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX;\n\n // Revert the changed values\n style[LEFT] = left;\n\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n return ret === '' ? 'auto' : ret;\n}\n\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\n\nfunction getOffsetDirection(dir, option) {\n if (dir === 'left') {\n return option.useCssRight ? 'right' : dir;\n }\n return option.useCssBottom ? 'bottom' : dir;\n}\n\nfunction oppositeOffsetDirection(dir) {\n if (dir === 'left') {\n return 'right';\n } else if (dir === 'right') {\n return 'left';\n } else if (dir === 'top') {\n return 'bottom';\n } else if (dir === 'bottom') {\n return 'top';\n }\n}\n\n// 设置 elem 相对 elem.ownerDocument 的坐标\nfunction setLeftTop(elem, offset, option) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n var presetH = -999;\n var presetV = -999;\n var horizontalProperty = getOffsetDirection('left', option);\n var verticalProperty = getOffsetDirection('top', option);\n var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);\n var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);\n\n if (horizontalProperty !== 'left') {\n presetH = 999;\n }\n\n if (verticalProperty !== 'top') {\n presetV = 999;\n }\n var originalTransition = '';\n var originalOffset = getOffset(elem);\n if ('left' in offset || 'top' in offset) {\n originalTransition = (0, _propertyUtils.getTransitionProperty)(elem) || '';\n (0, _propertyUtils.setTransitionProperty)(elem, 'none');\n }\n if ('left' in offset) {\n elem.style[oppositeHorizontalProperty] = '';\n elem.style[horizontalProperty] = presetH + 'px';\n }\n if ('top' in offset) {\n elem.style[oppositeVerticalProperty] = '';\n elem.style[verticalProperty] = presetV + 'px';\n }\n // force relayout\n forceRelayout(elem);\n var old = getOffset(elem);\n var originalStyle = {};\n for (var key in offset) {\n if (offset.hasOwnProperty(key)) {\n var dir = getOffsetDirection(key, option);\n var preset = key === 'left' ? presetH : presetV;\n var off = originalOffset[key] - old[key];\n if (dir === key) {\n originalStyle[dir] = preset + off;\n } else {\n originalStyle[dir] = preset - off;\n }\n }\n }\n css(elem, originalStyle);\n // force relayout\n forceRelayout(elem);\n if ('left' in offset || 'top' in offset) {\n (0, _propertyUtils.setTransitionProperty)(elem, originalTransition);\n }\n var ret = {};\n for (var _key in offset) {\n if (offset.hasOwnProperty(_key)) {\n var _dir = getOffsetDirection(_key, option);\n var _off = offset[_key] - originalOffset[_key];\n if (_key === _dir) {\n ret[_dir] = originalStyle[_dir] + _off;\n } else {\n ret[_dir] = originalStyle[_dir] - _off;\n }\n }\n }\n css(elem, ret);\n}\n\nfunction setTransform(elem, offset) {\n var originalOffset = getOffset(elem);\n var originalXY = (0, _propertyUtils.getTransformXY)(elem);\n var resultXY = { x: originalXY.x, y: originalXY.y };\n if ('left' in offset) {\n resultXY.x = originalXY.x + offset.left - originalOffset.left;\n }\n if ('top' in offset) {\n resultXY.y = originalXY.y + offset.top - originalOffset.top;\n }\n (0, _propertyUtils.setTransformXY)(elem, resultXY);\n}\n\nfunction setOffset(elem, offset, option) {\n if (option.useCssRight || option.useCssBottom) {\n setLeftTop(elem, offset, option);\n } else if (option.useCssTransform && (0, _propertyUtils.getTransformName)() in document.body.style) {\n setTransform(elem, offset, option);\n } else {\n setLeftTop(elem, offset, option);\n }\n}\n\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\n\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\n\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\n\nfunction swap(elem, options, callback) {\n var old = {};\n var style = elem.style;\n var name = void 0;\n\n // Remember the old values, and insert the new ones\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n old[name] = style[name];\n style[name] = options[name];\n }\n }\n\n callback.call(elem);\n\n // Revert the old values\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n style[name] = old[name];\n }\n }\n}\n\nfunction getPBMWidth(elem, props, which) {\n var value = 0;\n var prop = void 0;\n var j = void 0;\n var i = void 0;\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp = void 0;\n if (prop === 'border') {\n cssProp = '' + prop + which[i] + 'Width';\n } else {\n cssProp = prop + which[i];\n }\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n return value;\n}\n\nvar domUtils = {};\n\neach(['Width', 'Height'], function (name) {\n domUtils['doc' + name] = function (refWin) {\n var d = refWin.document;\n return Math.max(\n // firefox chrome documentElement.scrollHeight< body.scrollHeight\n // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement['scroll' + name],\n // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body['scroll' + name], domUtils['viewport' + name](d));\n };\n\n domUtils['viewport' + name] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = 'client' + name;\n var doc = win.document;\n var body = doc.body;\n var documentElement = doc.documentElement;\n var documentElementProp = documentElement[prop];\n // 标准模式取 documentElement\n // backcompat 取 body\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\nfunction getWH(elem, name, ex) {\n var extra = ex;\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n var borderBoxValue = name === 'width' ? elem.getBoundingClientRect().width : elem.getBoundingClientRect().height;\n var computedStyle = getComputedStyleX(elem);\n var isBorderBox = isBorderBoxFn(elem, computedStyle);\n var cssBoxValue = 0;\n if (borderBoxValue === null || borderBoxValue === undefined || borderBoxValue <= 0) {\n borderBoxValue = undefined;\n // Fall back to computed then un computed css if necessary\n cssBoxValue = getComputedStyleX(elem, name);\n if (cssBoxValue === null || cssBoxValue === undefined || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n }\n // Normalize '', auto, and prepare for extra\n cssBoxValue = parseFloat(cssBoxValue) || 0;\n }\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);\n }\n return cssBoxValue;\n } else if (borderBoxValueOrIsBorderBox) {\n if (extra === BORDER_INDEX) {\n return val;\n }\n return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle));\n }\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);\n}\n\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n};\n\n// fix #119 : https://github.com/kissyteam/kissy/issues/119\nfunction getWHIgnoreDisplay() {\n for (var _len = arguments.length, args = Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var val = void 0;\n var elem = args[0];\n // in case elem is window\n // elem.offsetWidth === undefined\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n return val;\n}\n\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n domUtils['outer' + first] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n\n domUtils[name] = function (elem, v) {\n var val = v;\n if (val !== undefined) {\n if (elem) {\n var computedStyle = getComputedStyleX(elem);\n var isBorderBox = isBorderBoxFn(elem);\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);\n }\n return css(elem, name, val);\n }\n return undefined;\n }\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\n\nfunction mix(to, from) {\n for (var i in from) {\n if (from.hasOwnProperty(i)) {\n to[i] = from[i];\n }\n }\n return to;\n}\n\nvar utils = {\n getWindow: function getWindow(node) {\n if (node && node.document && node.setTimeout) {\n return node;\n }\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n\n getDocument: getDocument,\n offset: function offset(el, value, option) {\n if (typeof value !== 'undefined') {\n setOffset(el, value, option || {});\n } else {\n return getOffset(el);\n }\n },\n\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var i = void 0;\n var ret = {};\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret[i] = obj[i];\n }\n }\n var overflow = obj.overflow;\n if (overflow) {\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n }\n return ret;\n },\n\n mix: mix,\n getWindowScrollLeft: function getWindowScrollLeft(w) {\n return getScrollLeft(w);\n },\n getWindowScrollTop: function getWindowScrollTop(w) {\n return getScrollTop(w);\n },\n merge: function merge() {\n var ret = {};\n\n for (var _len2 = arguments.length, args = Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n for (var i = 0; i < args.length; i++) {\n utils.mix(ret, args[i]);\n }\n return ret;\n },\n\n viewportWidth: 0,\n viewportHeight: 0\n};\n\nmix(utils, domUtils);\n\nexports['default'] = utils;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/utils.js\n// module id = 51\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getTransformName = getTransformName;\nexports.setTransitionProperty = setTransitionProperty;\nexports.getTransitionProperty = getTransitionProperty;\nexports.getTransformXY = getTransformXY;\nexports.setTransformXY = setTransformXY;\nvar vendorPrefix = void 0;\n\nvar jsCssMap = {\n Webkit: '-webkit-',\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-'\n};\n\nfunction getVendorPrefix() {\n if (vendorPrefix !== undefined) {\n return vendorPrefix;\n }\n vendorPrefix = '';\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n vendorPrefix = key;\n }\n }\n return vendorPrefix;\n}\n\nfunction getTransitionName() {\n return getVendorPrefix() ? getVendorPrefix() + 'TransitionProperty' : 'transitionProperty';\n}\n\nfunction getTransformName() {\n return getVendorPrefix() ? getVendorPrefix() + 'Transform' : 'transform';\n}\n\nfunction setTransitionProperty(node, value) {\n var name = getTransitionName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transitionProperty') {\n node.style.transitionProperty = value;\n }\n }\n}\n\nfunction setTransform(node, value) {\n var name = getTransformName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transform') {\n node.style.transform = value;\n }\n }\n}\n\nfunction getTransitionProperty(node) {\n return node.style.transitionProperty || node.style[getTransitionName()];\n}\n\nfunction getTransformXY(node) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var matrix = transform.replace(/[^0-9\\-.,]/g, '').split(',');\n return { x: parseFloat(matrix[12] || matrix[4], 0), y: parseFloat(matrix[13] || matrix[5], 0) };\n }\n return {\n x: 0,\n y: 0\n };\n}\n\nvar matrix2d = /matrix\\((.*)\\)/;\nvar matrix3d = /matrix3d\\((.*)\\)/;\n\nfunction setTransformXY(node, xy) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var arr = void 0;\n var match2d = transform.match(matrix2d);\n if (match2d) {\n match2d = match2d[1];\n arr = match2d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[4] = xy.x;\n arr[5] = xy.y;\n setTransform(node, 'matrix(' + arr.join(',') + ')');\n } else {\n var match3d = transform.match(matrix3d)[1];\n arr = match3d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[12] = xy.x;\n arr[13] = xy.y;\n setTransform(node, 'matrix3d(' + arr.join(',') + ')');\n }\n } else {\n setTransform(node, 'translateX(' + xy.x + 'px) translateY(' + xy.y + 'px) translateZ(0)');\n }\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/propertyUtils.js\n// module id = 52\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n/**\n * 得到会导致元素显示不全的祖先元素\n */\n\nfunction getOffsetParent(element) {\n if (_utils2['default'].isWindow(element) || element.nodeType === 9) {\n return null;\n }\n // ie 这个也不是完全可行\n /*\n \n
\n 元素 6 高 100px 宽 50px
\n
\n
\n */\n // element.offsetParent does the right thing in ie7 and below. Return parent with layout!\n // In other browsers it only includes elements with position absolute, relative or\n // fixed, not elements with overflow set to auto or scroll.\n // if (UA.ie && ieMode < 8) {\n // return element.offsetParent;\n // }\n // 统一的 offsetParent 方法\n var doc = _utils2['default'].getDocument(element);\n var body = doc.body;\n var parent = void 0;\n var positionStyle = _utils2['default'].css(element, 'position');\n var skipStatic = positionStyle === 'fixed' || positionStyle === 'absolute';\n\n if (!skipStatic) {\n return element.nodeName.toLowerCase() === 'html' ? null : element.parentNode;\n }\n\n for (parent = element.parentNode; parent && parent !== body; parent = parent.parentNode) {\n positionStyle = _utils2['default'].css(parent, 'position');\n if (positionStyle !== 'static') {\n return parent;\n }\n }\n return null;\n}\n\nexports['default'] = getOffsetParent;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getOffsetParent.js\n// module id = 53\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _getOffsetParent = require('./getOffsetParent');\n\nvar _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);\n\nvar _isAncestorFixed = require('./isAncestorFixed');\n\nvar _isAncestorFixed2 = _interopRequireDefault(_isAncestorFixed);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n/**\n * 获得元素的显示部分的区域\n */\nfunction getVisibleRectForElement(element) {\n var visibleRect = {\n left: 0,\n right: Infinity,\n top: 0,\n bottom: Infinity\n };\n var el = (0, _getOffsetParent2['default'])(element);\n var doc = _utils2['default'].getDocument(element);\n var win = doc.defaultView || doc.parentWindow;\n var body = doc.body;\n var documentElement = doc.documentElement;\n\n // Determine the size of the visible rect by climbing the dom accounting for\n // all scrollable containers.\n while (el) {\n // clientWidth is zero for inline block elements in ie.\n if ((navigator.userAgent.indexOf('MSIE') === -1 || el.clientWidth !== 0) &&\n // body may have overflow set on it, yet we still get the entire\n // viewport. In some browsers, el.offsetParent may be\n // document.documentElement, so check for that too.\n el !== body && el !== documentElement && _utils2['default'].css(el, 'overflow') !== 'visible') {\n var pos = _utils2['default'].offset(el);\n // add border\n pos.left += el.clientLeft;\n pos.top += el.clientTop;\n visibleRect.top = Math.max(visibleRect.top, pos.top);\n visibleRect.right = Math.min(visibleRect.right,\n // consider area without scrollBar\n pos.left + el.clientWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);\n visibleRect.left = Math.max(visibleRect.left, pos.left);\n } else if (el === body || el === documentElement) {\n break;\n }\n el = (0, _getOffsetParent2['default'])(el);\n }\n\n // Set element position to fixed\n // make sure absolute element itself don't affect it's visible area\n // https://github.com/ant-design/ant-design/issues/7601\n var originalPosition = null;\n if (!_utils2['default'].isWindow(element) && element.nodeType !== 9) {\n originalPosition = element.style.position;\n var position = _utils2['default'].css(element, 'position');\n if (position === 'absolute') {\n element.style.position = 'fixed';\n }\n }\n\n var scrollX = _utils2['default'].getWindowScrollLeft(win);\n var scrollY = _utils2['default'].getWindowScrollTop(win);\n var viewportWidth = _utils2['default'].viewportWidth(win);\n var viewportHeight = _utils2['default'].viewportHeight(win);\n var documentWidth = documentElement.scrollWidth;\n var documentHeight = documentElement.scrollHeight;\n\n // Reset element position after calculate the visible area\n if (element.style) {\n element.style.position = originalPosition;\n }\n\n if ((0, _isAncestorFixed2['default'])(element)) {\n // Clip by viewport's size.\n visibleRect.left = Math.max(visibleRect.left, scrollX);\n visibleRect.top = Math.max(visibleRect.top, scrollY);\n visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);\n } else {\n // Clip by document's size.\n var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);\n visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);\n\n var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);\n visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);\n }\n\n return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;\n}\n\nexports['default'] = getVisibleRectForElement;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getVisibleRectForElement.js\n// module id = 54\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = isAncestorFixed;\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction isAncestorFixed(element) {\n if (_utils2['default'].isWindow(element) || element.nodeType === 9) {\n return false;\n }\n\n var doc = _utils2['default'].getDocument(element);\n var body = doc.body;\n var parent = null;\n for (parent = element.parentNode; parent && parent !== body; parent = parent.parentNode) {\n var positionStyle = _utils2['default'].css(parent, 'position');\n if (positionStyle === 'fixed') {\n return true;\n }\n }\n return false;\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/isAncestorFixed.js\n// module id = 55\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {\n var pos = _utils2['default'].clone(elFuturePos);\n var size = {\n width: elRegion.width,\n height: elRegion.height\n };\n\n if (overflow.adjustX && pos.left < visibleRect.left) {\n pos.left = visibleRect.left;\n }\n\n // Left edge inside and right edge outside viewport, try to resize it.\n if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) {\n size.width -= pos.left + size.width - visibleRect.right;\n }\n\n // Right edge outside viewport, try to move it.\n if (overflow.adjustX && pos.left + size.width > visibleRect.right) {\n // 保证左边界和可视区域左边界对齐\n pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);\n }\n\n // Top edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top < visibleRect.top) {\n pos.top = visibleRect.top;\n }\n\n // Top edge inside and bottom edge outside viewport, try to resize it.\n if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) {\n size.height -= pos.top + size.height - visibleRect.bottom;\n }\n\n // Bottom edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) {\n // 保证上边界和可视区域上边界对齐\n pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);\n }\n\n return _utils2['default'].mix(pos, size);\n}\n\nexports['default'] = adjustForViewport;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/adjustForViewport.js\n// module id = 56\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction getRegion(node) {\n var offset = void 0;\n var w = void 0;\n var h = void 0;\n if (!_utils2['default'].isWindow(node) && node.nodeType !== 9) {\n offset = _utils2['default'].offset(node);\n w = _utils2['default'].outerWidth(node);\n h = _utils2['default'].outerHeight(node);\n } else {\n var win = _utils2['default'].getWindow(node);\n offset = {\n left: _utils2['default'].getWindowScrollLeft(win),\n top: _utils2['default'].getWindowScrollTop(win)\n };\n w = _utils2['default'].viewportWidth(win);\n h = _utils2['default'].viewportHeight(win);\n }\n offset.width = w;\n offset.height = h;\n return offset;\n}\n\nexports['default'] = getRegion;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getRegion.js\n// module id = 57\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _getAlignOffset = require('./getAlignOffset');\n\nvar _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {\n var p1 = (0, _getAlignOffset2['default'])(refNodeRegion, points[1]);\n var p2 = (0, _getAlignOffset2['default'])(elRegion, points[0]);\n var diff = [p2.left - p1.left, p2.top - p1.top];\n\n return {\n left: elRegion.left - diff[0] + offset[0] - targetOffset[0],\n top: elRegion.top - diff[1] + offset[1] - targetOffset[1]\n };\n}\n\nexports['default'] = getElFuturePos;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getElFuturePos.js\n// module id = 58\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * 获取 node 上的 align 对齐点 相对于页面的坐标\n */\n\nfunction getAlignOffset(region, align) {\n var V = align.charAt(0);\n var H = align.charAt(1);\n var w = region.width;\n var h = region.height;\n\n var x = region.left;\n var y = region.top;\n\n if (V === 'c') {\n y += h / 2;\n } else if (V === 'b') {\n y += h;\n }\n\n if (H === 'c') {\n x += w / 2;\n } else if (H === 'r') {\n x += w;\n }\n\n return {\n left: x,\n top: y\n };\n}\n\nexports['default'] = getAlignOffset;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getAlignOffset.js\n// module id = 59\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _Transition = require('./Transition');\n\nvar _Transition2 = _interopRequireDefault(_Transition);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar propTypes = {\n /**\n * Show the component; triggers the fade in or fade out animation\n */\n \"in\": _propTypes2[\"default\"].bool,\n\n /**\n * Unmount the component (remove it from the DOM) when it is faded out\n */\n unmountOnExit: _propTypes2[\"default\"].bool,\n\n /**\n * Run the fade in animation when the component mounts, if it is initially\n * shown\n */\n transitionAppear: _propTypes2[\"default\"].bool,\n\n /**\n * Duration of the fade animation in milliseconds, to ensure that finishing\n * callbacks are fired even if the original browser transition end events are\n * canceled\n */\n timeout: _propTypes2[\"default\"].number,\n\n /**\n * Callback fired before the component fades in\n */\n onEnter: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the component starts to fade in\n */\n onEntering: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the has component faded in\n */\n onEntered: _propTypes2[\"default\"].func,\n /**\n * Callback fired before the component fades out\n */\n onExit: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the component starts to fade out\n */\n onExiting: _propTypes2[\"default\"].func,\n /**\n * Callback fired after the component has faded out\n */\n onExited: _propTypes2[\"default\"].func\n};\n\nvar defaultProps = {\n \"in\": false,\n timeout: 300,\n unmountOnExit: false,\n transitionAppear: false\n};\n\nvar Fade = function (_React$Component) {\n _inherits(Fade, _React$Component);\n\n function Fade() {\n _classCallCheck(this, Fade);\n\n return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n Fade.prototype.render = function render() {\n return _react2[\"default\"].createElement(_Transition2[\"default\"], _extends({}, this.props, {\n className: (0, _classnames2[\"default\"])(this.props.className, 'fade'),\n enteredClassName: 'in',\n enteringClassName: 'in'\n }));\n };\n\n return Fade;\n}(_react2[\"default\"].Component);\n\nFade.propTypes = propTypes;\nFade.defaultProps = defaultProps;\n\nexports[\"default\"] = Fade;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-transition/build/Fade.js\n// module id = 60\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _tinperBeeCore = require('tinper-bee-core');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar propTypes = {\n //是否是手风琴效果\n accordion: _propTypes2[\"default\"].bool,\n //激活的项\n activeKey: _propTypes2[\"default\"].any,\n //默认的激活的项\n defaultActiveKey: _propTypes2[\"default\"].any,\n //选中函数\n onSelect: _propTypes2[\"default\"].func,\n role: _propTypes2[\"default\"].string\n};\n\nvar defaultProps = {\n accordion: false,\n clsPrefix: 'u-panel-group'\n};\n\n// TODO: Use uncontrollable.\n\nvar PanelGroup = function (_React$Component) {\n _inherits(PanelGroup, _React$Component);\n\n function PanelGroup(props, context) {\n _classCallCheck(this, PanelGroup);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n _this.handleSelect = _this.handleSelect.bind(_this);\n\n _this.state = {\n activeKey: props.defaultActiveKey\n };\n return _this;\n }\n\n PanelGroup.prototype.handleSelect = function handleSelect(key, e) {\n e.preventDefault();\n\n if (this.props.onSelect) {\n this.props.onSelect(key, e);\n }\n\n if (this.state.activeKey === key) {\n key = null;\n }\n\n this.setState({ activeKey: key });\n };\n\n PanelGroup.prototype.render = function render() {\n var _this2 = this;\n\n var _props = this.props,\n accordion = _props.accordion,\n propsActiveKey = _props.activeKey,\n className = _props.className,\n children = _props.children,\n defaultActiveKey = _props.defaultActiveKey,\n onSelect = _props.onSelect,\n style = _props.style,\n clsPrefix = _props.clsPrefix,\n others = _objectWithoutProperties(_props, ['accordion', 'activeKey', 'className', 'children', 'defaultActiveKey', 'onSelect', 'style', 'clsPrefix']);\n\n var activeKey = void 0;\n if (accordion) {\n activeKey = propsActiveKey != null ? propsActiveKey : this.state.activeKey;\n others.role = others.role || 'tablist';\n }\n\n var classes = {};\n classes['' + clsPrefix] = true;\n\n return _react2[\"default\"].createElement(\n 'div',\n _extends({}, others, {\n className: (0, _classnames2[\"default\"])(className, classes)\n }),\n _react2[\"default\"].Children.map(children, function (child) {\n if (!_react2[\"default\"].isValidElement(child)) {\n return child;\n }\n var childProps = {\n style: child.props.style\n };\n\n if (accordion) {\n _extends(childProps, {\n headerRole: 'tab',\n panelRole: 'tabpanel',\n collapsible: true,\n expanded: child.props.eventKey === activeKey,\n onSelect: (0, _tinperBeeCore.createChainedFunction)(_this2.handleSelect, child.props.onSelect)\n });\n }\n\n return (0, _react.cloneElement)(child, childProps);\n })\n );\n };\n\n return PanelGroup;\n}(_react2[\"default\"].Component);\n\nPanelGroup.propTypes = propTypes;\nPanelGroup.defaultProps = defaultProps;\n\nexports[\"default\"] = PanelGroup;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-panel/build/PanelGroup.js\n// module id = 61\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Button = require('./Button');\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nexports[\"default\"] = _Button2[\"default\"];\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bee-button/build/index.js\n// module id = 62\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : _defaults(subClass, superClass); }\n\nvar propTypes = {\n /**\n * @title 尺寸\n */\n size: _propTypes2[\"default\"].oneOf(['sm', 'xg', 'lg']),\n /**\n * @title 样式\n */\n style: _propTypes2[\"default\"].object,\n /**\n * @title 形状\n */\n shape: _propTypes2[\"default\"].oneOf(['block', 'round', 'border', 'squared', 'floating', 'pillRight', 'pillLeft', 'icon']),\n\n bordered: _propTypes2[\"default\"].bool,\n /**\n * @title 类型\n */\n colors: _propTypes2[\"default\"].oneOf(['primary', 'accent', 'success', 'info', 'warning', 'danger', 'default']),\n /**\n * @title 是否禁用\n * @veIgnore\n */\n disabled: _propTypes2[\"default\"].bool,\n /**\n * @title 类名\n * @veIgnore\n */\n className: _propTypes2[\"default\"].string,\n\n /**\n * @title