cloud-b2b 1.0.4 → 1.0.7
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/Indent/Indent.js +23 -0
- package/es/Indent/package.json +6 -0
- package/es/LayoutLink/LayoutLink.js +2 -2
- package/es/Sidebar2/Sidebar.js +1 -1
- package/es/SuperForm/SuperForm.js +2 -2
- package/es/SuperForm2/SuperForm.js +732 -0
- package/es/SuperForm2/SuperForm.less +52 -0
- package/es/SuperForm2/package.json +6 -0
- package/es/SuperTab/SuperTab.js +130 -0
- package/es/SuperTab/SuperTab.less +43 -0
- package/es/SuperTab/package.json +6 -0
- package/es/SuperTab2/SuperTab2.js +167 -0
- package/es/SuperTab2/SuperTab2.less +18 -0
- package/es/SuperTab2/package.json +6 -0
- package/es/SuperTable/DragSortRow.less +17 -17
- package/es/SuperTable/FilterDropDown.less +30 -30
- package/es/SuperTable/SuperTable.js +38 -38
- package/es/SuperTable/SuperTable.less +132 -135
- package/es/SuperTable/package.json +6 -6
- package/es/SuperTable2/SuperTable2.js +22 -22
- package/es/SuperTable2/SuperTable2.less +100 -116
- package/es/SuperTable2/package.json +6 -6
- package/es/SuperTable3/FilterDropDown.js +188 -0
- package/es/SuperTable3/FilterDropDown.less +29 -0
- package/es/SuperTable3/SuperTable.js +783 -0
- package/es/SuperTable3/SuperTable.less +99 -0
- package/es/SuperTable3/fixed.js +42 -0
- package/es/SuperTable3/package.json +6 -0
- package/es/Title/Title.less +35 -35
- package/es/Title/package.json +6 -6
- package/es/Viewer/Viewer.js +1 -1
- package/es/adjust.less +89 -89
- package/es/index.js +12 -2
- package/es/style.less +12 -2
- package/lib/Indent/Indent.js +38 -0
- package/lib/Indent/package.json +6 -0
- package/lib/LayoutLink/LayoutLink.js +2 -2
- package/lib/Sidebar2/Sidebar.js +1 -1
- package/lib/SuperForm/SuperForm.js +2 -2
- package/lib/SuperForm2/SuperForm.js +742 -0
- package/lib/SuperForm2/SuperForm.less +52 -0
- package/lib/SuperForm2/package.json +6 -0
- package/lib/SuperTab/SuperTab.js +146 -0
- package/lib/SuperTab/SuperTab.less +43 -0
- package/lib/SuperTab/package.json +6 -0
- package/lib/SuperTab2/SuperTab2.js +191 -0
- package/lib/SuperTab2/SuperTab2.less +18 -0
- package/lib/SuperTab2/package.json +6 -0
- package/lib/SuperTable/DragSortRow.less +17 -17
- package/lib/SuperTable/FilterDropDown.less +30 -30
- package/lib/SuperTable/SuperTable.js +38 -38
- package/lib/SuperTable/SuperTable.less +132 -135
- package/lib/SuperTable/package.json +6 -6
- package/lib/SuperTable2/SuperTable2.js +22 -22
- package/lib/SuperTable2/SuperTable2.less +100 -116
- package/lib/SuperTable2/package.json +6 -6
- package/lib/SuperTable3/FilterDropDown.js +205 -0
- package/lib/SuperTable3/FilterDropDown.less +29 -0
- package/lib/SuperTable3/SuperTable.js +787 -0
- package/lib/SuperTable3/SuperTable.less +99 -0
- package/lib/SuperTable3/fixed.js +55 -0
- package/lib/SuperTable3/package.json +6 -0
- package/lib/Title/Title.less +35 -35
- package/lib/Title/package.json +6 -6
- package/lib/Viewer/Viewer.js +1 -1
- package/lib/adjust.less +89 -89
- package/lib/index.js +102 -7
- package/lib/index.less +5 -1
- package/lib/style.less +12 -2
- package/package.json +1 -1
- package/es/HomeHeader/Header.js +0 -75
- package/es/HomeHeader/Header.less +0 -73
- package/es/HomeHeader/package.json +0 -6
- package/lib/HomeHeader/Header.js +0 -95
- package/lib/HomeHeader/Header.less +0 -73
- package/lib/HomeHeader/package.json +0 -6
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["children", "style"];
|
|
4
|
+
import _Object$assign from "@babel/runtime-corejs3/core-js-stable/object/assign";
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
function Indent(_ref) {
|
|
8
|
+
var children = _ref.children,
|
|
9
|
+
_ref$style = _ref.style,
|
|
10
|
+
style = _ref$style === void 0 ? {} : _ref$style,
|
|
11
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
+
|
|
13
|
+
_Object$assign(style, {
|
|
14
|
+
paddingLeft: 8,
|
|
15
|
+
paddingRight: 8
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
19
|
+
style: style
|
|
20
|
+
}, props), children);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export default Indent;
|
|
@@ -37,7 +37,7 @@ function Search(_ref) {
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
return /*#__PURE__*/React.createElement(Card, {
|
|
40
|
-
className:
|
|
40
|
+
className: variables('LayoutLink').search
|
|
41
41
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FormItem, {
|
|
42
42
|
validateStatus: status
|
|
43
43
|
}, /*#__PURE__*/React.createElement(_Input, {
|
|
@@ -52,7 +52,7 @@ function Search(_ref) {
|
|
|
52
52
|
function Title(_ref2) {
|
|
53
53
|
var title = _ref2.title;
|
|
54
54
|
return /*#__PURE__*/React.createElement("div", {
|
|
55
|
-
className:
|
|
55
|
+
className: variables('LayoutLink').title
|
|
56
56
|
}, /*#__PURE__*/React.createElement("div", null, title), /*#__PURE__*/React.createElement("div", null));
|
|
57
57
|
}
|
|
58
58
|
|
package/es/Sidebar2/Sidebar.js
CHANGED
|
@@ -135,7 +135,7 @@ var Sidebar = /*#__PURE__*/function (_React$Component) {
|
|
|
135
135
|
}, /*#__PURE__*/React.createElement(Link, _extends({}, _this.linkProps(item), {
|
|
136
136
|
"data-role": "child-item"
|
|
137
137
|
}), /*#__PURE__*/React.createElement("span", null, item.title), item.unreadTotal && item.unreadTotal > 0 && /*#__PURE__*/React.createElement("span", {
|
|
138
|
-
className:
|
|
138
|
+
className: variables('Sidebar2').unreadTotal
|
|
139
139
|
}, item.unreadTotal)));
|
|
140
140
|
});
|
|
141
141
|
|
|
@@ -608,11 +608,11 @@ var SuperForm = /*#__PURE__*/function (_React$Component2) {
|
|
|
608
608
|
span: span * factor,
|
|
609
609
|
key: control.key
|
|
610
610
|
}, checkable && /*#__PURE__*/React.createElement(_Checkbox, {
|
|
611
|
-
className:
|
|
611
|
+
className: variables('SuperForm').checkbox,
|
|
612
612
|
onChange: _bindInstanceProperty(onCheckItem).call(onCheckItem, _assertThisInitialized(_this2), control),
|
|
613
613
|
checked: control.checked
|
|
614
614
|
}), /*#__PURE__*/React.createElement(FormItem, _extends({}, itemProps, {
|
|
615
|
-
className: checkable ?
|
|
615
|
+
className: checkable ? variables('SuperForm').formItemWithCheckbox : ''
|
|
616
616
|
}), _this2.toControl(controlProps, control))) : /*#__PURE__*/React.createElement(_Col, {
|
|
617
617
|
span: span * factor,
|
|
618
618
|
key: control.key,
|