cloud-b2b 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Area/Area.js +166 -0
- package/es/Area/package.json +6 -0
- package/es/Card/Card.js +20 -0
- package/es/Card/package.json +6 -0
- package/es/Control/Control.js +428 -0
- package/es/Control/event.js +57 -0
- package/es/Control/package.json +6 -0
- package/es/Enhance/Dialogs.js +67 -0
- package/es/Enhance/Loading.js +151 -0
- package/es/Enhance/index.js +8 -0
- package/es/Enhance/package.json +6 -0
- package/es/Header/Header.js +194 -0
- package/es/Header/Header.less +95 -0
- package/es/Header/Vertical.js +129 -0
- package/es/Header/Vertical.less +60 -0
- package/es/Header/package.json +6 -0
- package/es/HomeHeader/Header.js +75 -0
- package/es/HomeHeader/Header.less +73 -0
- package/es/HomeHeader/package.json +6 -0
- package/es/ImageView/ImageView.js +117 -0
- package/es/ImageView/ImageView.less +14 -0
- package/es/ImageView/package.json +6 -0
- package/es/InpurCascader/InputCascader.js +135 -0
- package/es/InpurCascader/package.json +6 -0
- package/es/InputEditor/InputEditor.js +118 -0
- package/es/InputEditor/inputEditor.less +8 -0
- package/es/InputEditor/package.json +6 -0
- package/es/InputSearch/InputSearch.js +306 -0
- package/es/InputSearch/package.json +6 -0
- package/es/InputSelect/InputSelect.js +185 -0
- package/es/InputSelect/package.json +6 -0
- package/es/InputWriting/InputWriting.js +107 -0
- package/es/InputWriting/package.json +6 -0
- package/es/Layout/Layout.js +232 -0
- package/es/Layout/Layout.less +28 -0
- package/es/Layout/package.json +6 -0
- package/es/LayoutLink/LayoutLink.js +82 -0
- package/es/LayoutLink/LayoutLink.less +53 -0
- package/es/LayoutLink/package.json +6 -0
- package/es/Link/Link.js +108 -0
- package/es/Link/package.json +6 -0
- package/es/Loading/Loading.js +15 -0
- package/es/Loading/Loading.less +13 -0
- package/es/Loading/package.json +6 -0
- package/es/Loading2/Loading2.js +11 -0
- package/es/Loading2/Loading2.less +19 -0
- package/es/Loading2/package.json +6 -0
- package/es/ModalWithDrag/ModalWithDrag.js +34 -0
- package/es/ModalWithDrag/ModalWithDrag.less +6 -0
- package/es/ModalWithDrag/drag.js +133 -0
- package/es/ModalWithDrag/package.json +6 -0
- package/es/NumberInput/NumberInput.js +237 -0
- package/es/NumberInput/package.json +6 -0
- package/es/Search/Search.js +581 -0
- package/es/Search/Search.less +63 -0
- package/es/Search/package.json +6 -0
- package/es/Sidebar/Sidebar.js +165 -0
- package/es/Sidebar/Sidebar.less +78 -0
- package/es/Sidebar/package.json +6 -0
- package/es/Sidebar2/Sidebar.js +192 -0
- package/es/Sidebar2/Sidebar.less +153 -0
- package/es/Sidebar2/package.json +6 -0
- package/es/SuperForm/SuperForm.js +688 -0
- package/es/SuperForm/SuperForm.less +52 -0
- package/es/SuperForm/package.json +6 -0
- package/es/SuperIcon/SuperIcon.js +30 -0
- package/es/SuperIcon/package.json +6 -0
- package/es/SuperPagination/SuperPagination.js +126 -0
- package/es/SuperPagination/package.json +6 -0
- package/es/SuperTable/DragSortRow.js +125 -0
- package/es/SuperTable/DragSortRow.less +17 -0
- package/es/SuperTable/FilterDropDown.js +188 -0
- package/es/SuperTable/FilterDropDown.less +30 -0
- package/es/SuperTable/SuperTable.js +933 -0
- package/es/SuperTable/SuperTable.less +135 -0
- package/es/SuperTable/fixed.js +42 -0
- package/es/SuperTable/package.json +6 -0
- package/es/SuperTable2/SuperTable2.js +700 -0
- package/es/SuperTable2/SuperTable2.less +100 -0
- package/es/SuperTable2/SuperTableCell.js +215 -0
- package/es/SuperTable2/package.json +6 -0
- package/es/SuperToolbar/SuperToolbar.js +223 -0
- package/es/SuperToolbar/SuperToolbar.less +17 -0
- package/es/SuperToolbar/package.json +6 -0
- package/es/SuperUpload/SuperUpload.js +282 -0
- package/es/SuperUpload/SuperUpload.less +27 -0
- package/es/SuperUpload/package.json +6 -0
- package/es/Title/Title.less +35 -35
- package/es/Title/package.json +6 -6
- package/es/Viewer/ImageViews.js +311 -0
- package/es/Viewer/Viewer.js +149 -0
- package/es/Viewer/Viewer.less +67 -0
- package/es/Viewer/imgView.less +59 -0
- package/es/Viewer/package.json +7 -0
- package/es/WingBlank/WingBlank.js +20 -0
- package/es/WingBlank/WingBlank.less +12 -0
- package/es/WingBlank/package.json +6 -0
- package/es/adjust.less +89 -0
- package/es/helper.js +118 -0
- package/es/history.js +5 -0
- package/es/index.js +27 -1
- package/es/style.less +20 -1
- package/es/variables.less +73 -73
- package/lib/Area/Area.js +194 -0
- package/lib/Area/package.json +6 -0
- package/lib/Card/Card.js +38 -0
- package/lib/Card/package.json +6 -0
- package/lib/Control/Control.js +477 -0
- package/lib/Control/event.js +68 -0
- package/lib/Control/package.json +6 -0
- package/lib/Enhance/Dialogs.js +87 -0
- package/lib/Enhance/Loading.js +175 -0
- package/lib/Enhance/index.js +35 -0
- package/lib/Enhance/package.json +6 -0
- package/lib/Header/Header.js +215 -0
- package/lib/Header/Header.less +95 -0
- package/lib/Header/Vertical.js +150 -0
- package/lib/Header/Vertical.less +60 -0
- package/lib/Header/package.json +6 -0
- package/lib/HomeHeader/Header.js +95 -0
- package/lib/HomeHeader/Header.less +73 -0
- package/lib/HomeHeader/package.json +6 -0
- package/lib/ImageView/ImageView.js +134 -0
- package/lib/ImageView/ImageView.less +14 -0
- package/lib/ImageView/package.json +6 -0
- package/lib/InpurCascader/InputCascader.js +156 -0
- package/lib/InpurCascader/package.json +6 -0
- package/lib/InputEditor/InputEditor.js +136 -0
- package/lib/InputEditor/inputEditor.less +8 -0
- package/lib/InputEditor/package.json +6 -0
- package/lib/InputSearch/InputSearch.js +322 -0
- package/lib/InputSearch/package.json +6 -0
- package/lib/InputSelect/InputSelect.js +208 -0
- package/lib/InputSelect/package.json +6 -0
- package/lib/InputWriting/InputWriting.js +123 -0
- package/lib/InputWriting/package.json +6 -0
- package/lib/Layout/Layout.js +258 -0
- package/lib/Layout/Layout.less +28 -0
- package/lib/Layout/package.json +6 -0
- package/lib/LayoutLink/LayoutLink.js +114 -0
- package/lib/LayoutLink/LayoutLink.less +53 -0
- package/lib/LayoutLink/package.json +6 -0
- package/lib/Link/Link.js +130 -0
- package/lib/Link/package.json +6 -0
- package/lib/Loading/Loading.js +30 -0
- package/lib/Loading/Loading.less +13 -0
- package/lib/Loading/package.json +6 -0
- package/lib/Loading2/Loading2.js +26 -0
- package/lib/Loading2/Loading2.less +19 -0
- package/lib/Loading2/package.json +6 -0
- package/lib/ModalWithDrag/ModalWithDrag.js +53 -0
- package/lib/ModalWithDrag/ModalWithDrag.less +6 -0
- package/lib/ModalWithDrag/drag.js +147 -0
- package/lib/ModalWithDrag/package.json +6 -0
- package/lib/NumberInput/NumberInput.js +259 -0
- package/lib/NumberInput/package.json +6 -0
- package/lib/Search/Search.js +603 -0
- package/lib/Search/Search.less +63 -0
- package/lib/Search/package.json +6 -0
- package/lib/Sidebar/Sidebar.js +186 -0
- package/lib/Sidebar/Sidebar.less +78 -0
- package/lib/Sidebar/package.json +6 -0
- package/lib/Sidebar2/Sidebar.js +213 -0
- package/lib/Sidebar2/Sidebar.less +153 -0
- package/lib/Sidebar2/package.json +6 -0
- package/lib/SuperForm/SuperForm.js +702 -0
- package/lib/SuperForm/SuperForm.less +52 -0
- package/lib/SuperForm/package.json +6 -0
- package/lib/SuperIcon/SuperIcon.js +47 -0
- package/lib/SuperIcon/package.json +6 -0
- package/lib/SuperPagination/SuperPagination.js +145 -0
- package/lib/SuperPagination/package.json +6 -0
- package/lib/SuperTable/DragSortRow.js +142 -0
- package/lib/SuperTable/DragSortRow.less +17 -0
- package/lib/SuperTable/FilterDropDown.js +205 -0
- package/lib/SuperTable/FilterDropDown.less +30 -0
- package/lib/SuperTable/SuperTable.js +937 -0
- package/lib/SuperTable/SuperTable.less +135 -0
- package/lib/SuperTable/fixed.js +55 -0
- package/lib/SuperTable/package.json +6 -0
- package/lib/SuperTable2/SuperTable2.js +725 -0
- package/lib/SuperTable2/SuperTable2.less +100 -0
- package/lib/SuperTable2/SuperTableCell.js +231 -0
- package/lib/SuperTable2/package.json +6 -0
- package/lib/SuperToolbar/SuperToolbar.js +248 -0
- package/lib/SuperToolbar/SuperToolbar.less +17 -0
- package/lib/SuperToolbar/package.json +6 -0
- package/lib/SuperUpload/SuperUpload.js +324 -0
- package/lib/SuperUpload/SuperUpload.less +27 -0
- package/lib/SuperUpload/package.json +6 -0
- package/lib/Title/Title.less +35 -35
- package/lib/Title/package.json +6 -6
- package/lib/Viewer/ImageViews.js +323 -0
- package/lib/Viewer/Viewer.js +167 -0
- package/lib/Viewer/Viewer.less +67 -0
- package/lib/Viewer/imgView.less +59 -0
- package/lib/Viewer/package.json +7 -0
- package/lib/WingBlank/WingBlank.js +37 -0
- package/lib/WingBlank/WingBlank.less +12 -0
- package/lib/WingBlank/package.json +6 -0
- package/lib/adjust.less +89 -0
- package/lib/helper.js +147 -0
- package/lib/history.js +18 -0
- package/lib/index.js +235 -1
- package/lib/index.less +25 -1
- package/lib/style.less +20 -1
- package/lib/variables.less +73 -73
- package/package.json +3 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@import '../variables.less';
|
|
2
|
+
|
|
3
|
+
.@{cloudlink-prefix}-SuperForm {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
> form {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
> div {
|
|
10
|
+
margin-bottom: -6px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[role='add'] {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
margin-left: 4px;
|
|
16
|
+
color: @primary-color;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:global(.ant-form-item-label) {
|
|
20
|
+
line-height: 16px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:global(.ant-form-item-control) > span > textArea {
|
|
24
|
+
min-height: 22px !important;
|
|
25
|
+
margin-bottom: 0 !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:global(.ant-form-item-control) input,
|
|
29
|
+
:global(.ant-calendar-picker),
|
|
30
|
+
:global(.ant-select) {
|
|
31
|
+
display: block;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:global(.ant-select-selection--multiple) {
|
|
35
|
+
border-top-width: 1px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:global(.ant-radio-group-small) {
|
|
39
|
+
display: block;
|
|
40
|
+
height: @input-height-sm;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.checkbox {
|
|
44
|
+
position: absolute;
|
|
45
|
+
top:15px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.formItemWithCheckbox{
|
|
49
|
+
margin-left: 20px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
7
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
exports["default"] = void 0;
|
|
12
|
+
|
|
13
|
+
var _icon = _interopRequireDefault(require("antd/lib/icon"));
|
|
14
|
+
|
|
15
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
|
16
|
+
|
|
17
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectWithoutProperties"));
|
|
18
|
+
|
|
19
|
+
var _react = _interopRequireDefault(require("react"));
|
|
20
|
+
|
|
21
|
+
var _excluded = ["type", "style"];
|
|
22
|
+
|
|
23
|
+
var SuperIcon = function SuperIcon(_ref) {
|
|
24
|
+
var type = _ref.type,
|
|
25
|
+
_ref$style = _ref.style,
|
|
26
|
+
style = _ref$style === void 0 ? {} : _ref$style,
|
|
27
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
28
|
+
|
|
29
|
+
if (!type) {
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
31
|
+
style: style
|
|
32
|
+
}, props));
|
|
33
|
+
} else if (type.substring(0, 4) !== 'pld-') {
|
|
34
|
+
return /*#__PURE__*/_react["default"].createElement(_icon["default"], (0, _extends2["default"])({
|
|
35
|
+
type: type,
|
|
36
|
+
style: style
|
|
37
|
+
}, props));
|
|
38
|
+
} else {
|
|
39
|
+
return /*#__PURE__*/_react["default"].createElement("i", {
|
|
40
|
+
className: "pldicon anticon anticon-".concat(type),
|
|
41
|
+
style: style
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
var _default = SuperIcon;
|
|
47
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Reflect$construct = require("@babel/runtime-corejs3/core-js-stable/reflect/construct");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
6
|
+
|
|
7
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
8
|
+
|
|
9
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
exports["default"] = void 0;
|
|
14
|
+
|
|
15
|
+
var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));
|
|
16
|
+
|
|
17
|
+
var _assign = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/assign"));
|
|
18
|
+
|
|
19
|
+
var _pagination = _interopRequireDefault(require("antd/lib/pagination"));
|
|
20
|
+
|
|
21
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/classCallCheck"));
|
|
22
|
+
|
|
23
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/createClass"));
|
|
24
|
+
|
|
25
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/assertThisInitialized"));
|
|
26
|
+
|
|
27
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/inherits"));
|
|
28
|
+
|
|
29
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/possibleConstructorReturn"));
|
|
30
|
+
|
|
31
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/getPrototypeOf"));
|
|
32
|
+
|
|
33
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
34
|
+
|
|
35
|
+
var _react = _interopRequireDefault(require("react"));
|
|
36
|
+
|
|
37
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
38
|
+
|
|
39
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
40
|
+
|
|
41
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* maxRecords: 最大记录数
|
|
45
|
+
* selRecords: [可选]已选记录条数
|
|
46
|
+
* currentPage:当前页码
|
|
47
|
+
* pageSize:页面大小
|
|
48
|
+
* align: 分页组件的对齐方式,默认居右
|
|
49
|
+
* pageSizeType: 字符串数组,页面大小规格
|
|
50
|
+
* description:字符串描述,类似'共有{maxRecords}条记录'
|
|
51
|
+
* onPageChange:跳转到新的一页时触发,原型func(pageNumber)
|
|
52
|
+
* onPageSizeChange: 页大小改变时触发,原型func(pageSize, pageNumber)
|
|
53
|
+
*/
|
|
54
|
+
var SuperPagination = /*#__PURE__*/function (_React$Component) {
|
|
55
|
+
(0, _inherits2["default"])(SuperPagination, _React$Component);
|
|
56
|
+
|
|
57
|
+
var _super = _createSuper(SuperPagination);
|
|
58
|
+
|
|
59
|
+
function SuperPagination() {
|
|
60
|
+
var _context;
|
|
61
|
+
|
|
62
|
+
var _this;
|
|
63
|
+
|
|
64
|
+
(0, _classCallCheck2["default"])(this, SuperPagination);
|
|
65
|
+
|
|
66
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
67
|
+
args[_key] = arguments[_key];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
_this = _super.call.apply(_super, (0, _concat["default"])(_context = [this]).call(_context, args));
|
|
71
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onChange", function (page) {
|
|
72
|
+
var _this$props$callback = _this.props.callback,
|
|
73
|
+
callback = _this$props$callback === void 0 ? {} : _this$props$callback;
|
|
74
|
+
var onPageNumberChange = _this.props.onPageNumberChange || callback.onPageNumberChange;
|
|
75
|
+
onPageNumberChange && onPageNumberChange(page);
|
|
76
|
+
});
|
|
77
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onShowSizeChange", function (current, size) {
|
|
78
|
+
var _this$props$callback2 = _this.props.callback,
|
|
79
|
+
callback = _this$props$callback2 === void 0 ? {} : _this$props$callback2;
|
|
80
|
+
var onPageSizeChange = _this.props.onPageSizeChange || callback.onPageSizeChange;
|
|
81
|
+
onPageSizeChange && onPageSizeChange(size, current || 1);
|
|
82
|
+
});
|
|
83
|
+
return _this;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
(0, _createClass2["default"])(SuperPagination, [{
|
|
87
|
+
key: "render",
|
|
88
|
+
value: function render() {
|
|
89
|
+
var _this$props = this.props,
|
|
90
|
+
currentPage = _this$props.currentPage,
|
|
91
|
+
maxRecords = _this$props.maxRecords,
|
|
92
|
+
pageSize = _this$props.pageSize,
|
|
93
|
+
pageSizeType = _this$props.pageSizeType,
|
|
94
|
+
align = _this$props.align,
|
|
95
|
+
description = _this$props.description,
|
|
96
|
+
selRecords = _this$props.selRecords,
|
|
97
|
+
_this$props$page = _this$props.page,
|
|
98
|
+
page = _this$props$page === void 0 ? {} : _this$props$page,
|
|
99
|
+
_this$props$option = _this$props.option,
|
|
100
|
+
option = _this$props$option === void 0 ? {} : _this$props$option,
|
|
101
|
+
_this$props$style = _this$props.style,
|
|
102
|
+
style = _this$props$style === void 0 ? {} : _this$props$style;
|
|
103
|
+
var desp = description || (this.props.config || {}).pageDesp || '';
|
|
104
|
+
var props = {
|
|
105
|
+
current: currentPage || page.currentPage,
|
|
106
|
+
total: maxRecords || page.maxRecords,
|
|
107
|
+
pageSize: pageSize || page.pageSize,
|
|
108
|
+
showSizeChanger: true,
|
|
109
|
+
showQuickJumper: true,
|
|
110
|
+
pageSizeOptions: pageSizeType || option.pageSizeType || [],
|
|
111
|
+
onChange: this.onChange,
|
|
112
|
+
onShowSizeChange: this.onShowSizeChange,
|
|
113
|
+
showTotal: function showTotal(total) {
|
|
114
|
+
return desp.replace('{maxRecords}', total).replace('{selRecords}', selRecords || 0);
|
|
115
|
+
},
|
|
116
|
+
style: (0, _assign["default"])({}, style, {
|
|
117
|
+
display: 'inline-block',
|
|
118
|
+
textAlign: 'left',
|
|
119
|
+
verticalAlign: 'top'
|
|
120
|
+
})
|
|
121
|
+
};
|
|
122
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
123
|
+
style: {
|
|
124
|
+
textAlign: align || 'right'
|
|
125
|
+
}
|
|
126
|
+
}, /*#__PURE__*/_react["default"].createElement(_pagination["default"], props));
|
|
127
|
+
}
|
|
128
|
+
}]);
|
|
129
|
+
return SuperPagination;
|
|
130
|
+
}(_react["default"].Component);
|
|
131
|
+
|
|
132
|
+
(0, _defineProperty2["default"])(SuperPagination, "propTypes", {
|
|
133
|
+
maxRecords: _propTypes["default"].number,
|
|
134
|
+
selRecords: _propTypes["default"].number,
|
|
135
|
+
currentPage: _propTypes["default"].number,
|
|
136
|
+
pageSize: _propTypes["default"].number,
|
|
137
|
+
align: _propTypes["default"].oneOf(['left', 'right', 'center']),
|
|
138
|
+
pageSizeType: _propTypes["default"].array,
|
|
139
|
+
description: _propTypes["default"].string,
|
|
140
|
+
style: _propTypes["default"].object,
|
|
141
|
+
onPageNumberChange: _propTypes["default"].func,
|
|
142
|
+
onPageSizeChange: _propTypes["default"].func
|
|
143
|
+
});
|
|
144
|
+
var _default = SuperPagination;
|
|
145
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Reflect$construct = require("@babel/runtime-corejs3/core-js-stable/reflect/construct");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
6
|
+
|
|
7
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
8
|
+
|
|
9
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
exports["default"] = void 0;
|
|
14
|
+
|
|
15
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectWithoutProperties"));
|
|
16
|
+
|
|
17
|
+
var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));
|
|
18
|
+
|
|
19
|
+
var _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
|
|
20
|
+
|
|
21
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/classCallCheck"));
|
|
22
|
+
|
|
23
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/createClass"));
|
|
24
|
+
|
|
25
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/assertThisInitialized"));
|
|
26
|
+
|
|
27
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/inherits"));
|
|
28
|
+
|
|
29
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/possibleConstructorReturn"));
|
|
30
|
+
|
|
31
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/getPrototypeOf"));
|
|
32
|
+
|
|
33
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
34
|
+
|
|
35
|
+
var _react = _interopRequireDefault(require("react"));
|
|
36
|
+
|
|
37
|
+
var _variables = _interopRequireDefault(require("../variables"));
|
|
38
|
+
|
|
39
|
+
var _excluded = ["onMoveRow", "index", "className"];
|
|
40
|
+
|
|
41
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
42
|
+
|
|
43
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
44
|
+
|
|
45
|
+
var dragIndex = -1;
|
|
46
|
+
|
|
47
|
+
var DragSortRow = /*#__PURE__*/function (_React$Component) {
|
|
48
|
+
(0, _inherits2["default"])(DragSortRow, _React$Component);
|
|
49
|
+
|
|
50
|
+
var _super = _createSuper(DragSortRow);
|
|
51
|
+
|
|
52
|
+
function DragSortRow() {
|
|
53
|
+
var _context, _context2;
|
|
54
|
+
|
|
55
|
+
var _this;
|
|
56
|
+
|
|
57
|
+
(0, _classCallCheck2["default"])(this, DragSortRow);
|
|
58
|
+
|
|
59
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
60
|
+
args[_key] = arguments[_key];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
_this = _super.call.apply(_super, (0, _concat["default"])(_context = [this]).call(_context, args));
|
|
64
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "state", {
|
|
65
|
+
dragIndex: -1,
|
|
66
|
+
firefox: (0, _includes["default"])(_context2 = navigator.userAgent).call(_context2, 'Firefox')
|
|
67
|
+
});
|
|
68
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onDragStart", function (e) {
|
|
69
|
+
dragIndex = _this.props.index;
|
|
70
|
+
|
|
71
|
+
if (_this.state.firefox) {
|
|
72
|
+
// 火狐浏览器必须调用setData
|
|
73
|
+
e.dataTransfer.setData('text/plain', 'DragSortRow');
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onDragEnd", function () {
|
|
77
|
+
dragIndex = -1;
|
|
78
|
+
});
|
|
79
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onDragOver", function (e) {
|
|
80
|
+
if (dragIndex > -1 && dragIndex !== _this.props.index) {
|
|
81
|
+
e.preventDefault();
|
|
82
|
+
|
|
83
|
+
if (_this.state.dragIndex !== dragIndex) {
|
|
84
|
+
_this.setState({
|
|
85
|
+
dragIndex: dragIndex
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onDragLeave", function () {
|
|
91
|
+
_this.setState({
|
|
92
|
+
dragIndex: -1
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onDrop", function (e) {
|
|
96
|
+
var dragIndex = _this.state.dragIndex;
|
|
97
|
+
|
|
98
|
+
_this.setState({
|
|
99
|
+
dragIndex: -1
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
_this.props.onMoveRow(dragIndex, _this.props.index); // 火狐浏览器默认会打开一个新窗口,此处阻止其打开
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
if (_this.state.firefox) {
|
|
106
|
+
e.preventDefault();
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
return _this;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
(0, _createClass2["default"])(DragSortRow, [{
|
|
113
|
+
key: "render",
|
|
114
|
+
value: function render() {
|
|
115
|
+
var _context3;
|
|
116
|
+
|
|
117
|
+
var _this$props = this.props,
|
|
118
|
+
onMoveRow = _this$props.onMoveRow,
|
|
119
|
+
index = _this$props.index,
|
|
120
|
+
className = _this$props.className,
|
|
121
|
+
restProps = (0, _objectWithoutProperties2["default"])(_this$props, _excluded);
|
|
122
|
+
var dragIndex = this.state.dragIndex;
|
|
123
|
+
restProps.className = (0, _concat["default"])(_context3 = "".concat(className, " ")).call(_context3, (0, _variables["default"])('DragSortRow'));
|
|
124
|
+
restProps.draggable = true;
|
|
125
|
+
restProps.onDragStart = this.onDragStart;
|
|
126
|
+
restProps.onDragEnd = this.onDragEnd;
|
|
127
|
+
restProps.onDragOver = this.onDragOver;
|
|
128
|
+
restProps.onDragLeave = this.onDragLeave;
|
|
129
|
+
restProps.onDrop = this.onDrop;
|
|
130
|
+
|
|
131
|
+
if (dragIndex > -1) {
|
|
132
|
+
restProps['data-drag-hover'] = dragIndex > index ? 'up' : 'down';
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
return /*#__PURE__*/_react["default"].createElement("tr", restProps);
|
|
136
|
+
}
|
|
137
|
+
}]);
|
|
138
|
+
return DragSortRow;
|
|
139
|
+
}(_react["default"].Component);
|
|
140
|
+
|
|
141
|
+
var _default = DragSortRow;
|
|
142
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@import '../../components/variables';
|
|
2
|
+
|
|
3
|
+
.@{cloudlink-prefix}-DragSortRow {
|
|
4
|
+
cursor: move;
|
|
5
|
+
|
|
6
|
+
&[data-drag-hover='up'] {
|
|
7
|
+
td {
|
|
8
|
+
border-top: 2px dashed @primary-color !important;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&[data-drag-hover='down'] {
|
|
13
|
+
td {
|
|
14
|
+
border-bottom: 2px dashed @primary-color !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Reflect$construct = require("@babel/runtime-corejs3/core-js-stable/reflect/construct");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
6
|
+
|
|
7
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
8
|
+
|
|
9
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
exports["default"] = void 0;
|
|
14
|
+
|
|
15
|
+
var _bind = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/bind"));
|
|
16
|
+
|
|
17
|
+
var _input = _interopRequireDefault(require("antd/lib/input"));
|
|
18
|
+
|
|
19
|
+
var _button = _interopRequireDefault(require("antd/lib/button"));
|
|
20
|
+
|
|
21
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/classCallCheck"));
|
|
22
|
+
|
|
23
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/createClass"));
|
|
24
|
+
|
|
25
|
+
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/assertThisInitialized"));
|
|
26
|
+
|
|
27
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/inherits"));
|
|
28
|
+
|
|
29
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/possibleConstructorReturn"));
|
|
30
|
+
|
|
31
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/getPrototypeOf"));
|
|
32
|
+
|
|
33
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
34
|
+
|
|
35
|
+
var _react = _interopRequireDefault(require("react"));
|
|
36
|
+
|
|
37
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
38
|
+
|
|
39
|
+
var _Control = _interopRequireDefault(require("../Control/Control"));
|
|
40
|
+
|
|
41
|
+
var _variables = _interopRequireDefault(require("../variables"));
|
|
42
|
+
|
|
43
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
44
|
+
|
|
45
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
46
|
+
|
|
47
|
+
var FilterDropDown = /*#__PURE__*/function (_React$Component) {
|
|
48
|
+
(0, _inherits2["default"])(FilterDropDown, _React$Component);
|
|
49
|
+
|
|
50
|
+
var _super = _createSuper(FilterDropDown);
|
|
51
|
+
|
|
52
|
+
function FilterDropDown(_props) {
|
|
53
|
+
var _this;
|
|
54
|
+
|
|
55
|
+
(0, _classCallCheck2["default"])(this, FilterDropDown);
|
|
56
|
+
_this = _super.call(this, _props);
|
|
57
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onChange", function (e) {
|
|
58
|
+
_this.setState({
|
|
59
|
+
value: e.target.value
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onDateChange", function (key, value) {
|
|
63
|
+
_this.setState((0, _defineProperty2["default"])({}, key, value));
|
|
64
|
+
});
|
|
65
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onSearch", function () {
|
|
66
|
+
var _this$props = _this.props,
|
|
67
|
+
onSearch = _this$props.onSearch,
|
|
68
|
+
isDateFilterByStartAndEnd = _this$props.isDateFilterByStartAndEnd;
|
|
69
|
+
|
|
70
|
+
if (onSearch) {
|
|
71
|
+
var value = !_this.state.start && !_this.state.end ? "" : _this.state;
|
|
72
|
+
var val = isDateFilterByStartAndEnd ? value : _this.state.value;
|
|
73
|
+
onSearch(val);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "DateInputCreator", function () {
|
|
77
|
+
var _context, _context2, _context3;
|
|
78
|
+
|
|
79
|
+
var props = _this.props.props;
|
|
80
|
+
var propsStart = {
|
|
81
|
+
type: "date",
|
|
82
|
+
size: "small",
|
|
83
|
+
showTime: props ? props.showTime : true,
|
|
84
|
+
value: _this.state.start,
|
|
85
|
+
style: {
|
|
86
|
+
marginRight: '5px'
|
|
87
|
+
},
|
|
88
|
+
onChange: (0, _bind["default"])(_context = _this.onDateChange).call(_context, null, 'start')
|
|
89
|
+
};
|
|
90
|
+
var propsEnd = {
|
|
91
|
+
type: "date",
|
|
92
|
+
size: "small",
|
|
93
|
+
showTime: props ? props.showTime : true,
|
|
94
|
+
value: _this.state.end,
|
|
95
|
+
style: {
|
|
96
|
+
marginLeft: '5px'
|
|
97
|
+
},
|
|
98
|
+
onChange: (0, _bind["default"])(_context2 = _this.onDateChange).call(_context2, null, 'end')
|
|
99
|
+
};
|
|
100
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
101
|
+
className: (0, _variables["default"])('FilterDropDown').date
|
|
102
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Control["default"], propsStart), "To", /*#__PURE__*/_react["default"].createElement(_Control["default"], propsEnd)), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_button["default"], {
|
|
103
|
+
size: "small",
|
|
104
|
+
style: {
|
|
105
|
+
marginRight: '5px'
|
|
106
|
+
},
|
|
107
|
+
onClick: _this.props.onClose
|
|
108
|
+
}, "\u5173\u95ED"), /*#__PURE__*/_react["default"].createElement(_button["default"], {
|
|
109
|
+
size: "small",
|
|
110
|
+
type: "primary",
|
|
111
|
+
onClick: (0, _bind["default"])(_context3 = _this.onSearch).call(_context3, null, _this.props.type)
|
|
112
|
+
}, "\u641C\u7D22")));
|
|
113
|
+
});
|
|
114
|
+
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "InputCreator", function () {
|
|
115
|
+
var props = {
|
|
116
|
+
size: 'small',
|
|
117
|
+
value: _this.state.value,
|
|
118
|
+
onChange: _this.onChange,
|
|
119
|
+
onPressEnter: _this.onSearch,
|
|
120
|
+
ref: function ref(e) {
|
|
121
|
+
return _this.input = e;
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
125
|
+
className: (0, _variables["default"])('FilterDropDown')
|
|
126
|
+
}, /*#__PURE__*/_react["default"].createElement(_input["default"], props), /*#__PURE__*/_react["default"].createElement(_button["default"], {
|
|
127
|
+
onClick: _this.onSearch,
|
|
128
|
+
size: "small",
|
|
129
|
+
type: "primary"
|
|
130
|
+
}, "\u641C\u7D22"));
|
|
131
|
+
});
|
|
132
|
+
_this.state = {
|
|
133
|
+
value: _props.value || ''
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
if (_props.isDateFilterByStartAndEnd) {
|
|
137
|
+
var _ref = _props.value || {},
|
|
138
|
+
_ref$start = _ref.start,
|
|
139
|
+
start = _ref$start === void 0 ? '' : _ref$start,
|
|
140
|
+
_ref$end = _ref.end,
|
|
141
|
+
end = _ref$end === void 0 ? '' : _ref$end;
|
|
142
|
+
|
|
143
|
+
_this.state = {
|
|
144
|
+
start: start,
|
|
145
|
+
end: end
|
|
146
|
+
};
|
|
147
|
+
} else {
|
|
148
|
+
_this.state = {
|
|
149
|
+
value: _props.value || ''
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
return _this;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
(0, _createClass2["default"])(FilterDropDown, [{
|
|
157
|
+
key: "componentWillReceiveProps",
|
|
158
|
+
value: function componentWillReceiveProps(newProps) {
|
|
159
|
+
if (newProps.isDateFilterByStartAndEnd) {
|
|
160
|
+
var _ref2 = newProps.value || {},
|
|
161
|
+
_ref2$start = _ref2.start,
|
|
162
|
+
start = _ref2$start === void 0 ? '' : _ref2$start,
|
|
163
|
+
_ref2$end = _ref2.end,
|
|
164
|
+
end = _ref2$end === void 0 ? '' : _ref2$end;
|
|
165
|
+
|
|
166
|
+
this.setState({
|
|
167
|
+
start: start,
|
|
168
|
+
end: end
|
|
169
|
+
});
|
|
170
|
+
} else {
|
|
171
|
+
this.setState({
|
|
172
|
+
value: newProps.value || ''
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}, {
|
|
177
|
+
key: "componentDidMount",
|
|
178
|
+
value: function componentDidMount() {
|
|
179
|
+
if (this.input) {
|
|
180
|
+
this.input.focus();
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}, {
|
|
184
|
+
key: "componentDidUpdate",
|
|
185
|
+
value: function componentDidUpdate() {
|
|
186
|
+
if (this.input) {
|
|
187
|
+
this.input.focus();
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}, {
|
|
191
|
+
key: "render",
|
|
192
|
+
value: function render() {
|
|
193
|
+
return this.props.isDateFilterByStartAndEnd ? this.DateInputCreator() : this.InputCreator();
|
|
194
|
+
}
|
|
195
|
+
}]);
|
|
196
|
+
return FilterDropDown;
|
|
197
|
+
}(_react["default"].Component);
|
|
198
|
+
|
|
199
|
+
(0, _defineProperty2["default"])(FilterDropDown, "propTypes", {
|
|
200
|
+
value: _propTypes["default"].any,
|
|
201
|
+
onSearch: _propTypes["default"].func,
|
|
202
|
+
onClose: _propTypes["default"].func
|
|
203
|
+
});
|
|
204
|
+
var _default = FilterDropDown;
|
|
205
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@import '../variables.less';
|
|
2
|
+
|
|
3
|
+
.@{cloudlink-prefix}-FilterDropDown {
|
|
4
|
+
background: white;
|
|
5
|
+
padding: @padding-vertical @padding-horizontal;
|
|
6
|
+
border-radius: @border-radius-base;
|
|
7
|
+
border: 1px solid #d9d9d9;
|
|
8
|
+
|
|
9
|
+
> :first-child {
|
|
10
|
+
width: 135px;
|
|
11
|
+
margin-right: 10px;
|
|
12
|
+
}
|
|
13
|
+
.date{
|
|
14
|
+
background: white;
|
|
15
|
+
padding: @padding-vertical @padding-horizontal;
|
|
16
|
+
border-radius: @border-radius-base;
|
|
17
|
+
border: 1px solid #d9d9d9;
|
|
18
|
+
|
|
19
|
+
> :first-child > div {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
> :last-child {
|
|
24
|
+
text-align: right;
|
|
25
|
+
margin-top: 5px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|