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.
Files changed (76) hide show
  1. package/es/Indent/Indent.js +23 -0
  2. package/es/Indent/package.json +6 -0
  3. package/es/LayoutLink/LayoutLink.js +2 -2
  4. package/es/Sidebar2/Sidebar.js +1 -1
  5. package/es/SuperForm/SuperForm.js +2 -2
  6. package/es/SuperForm2/SuperForm.js +732 -0
  7. package/es/SuperForm2/SuperForm.less +52 -0
  8. package/es/SuperForm2/package.json +6 -0
  9. package/es/SuperTab/SuperTab.js +130 -0
  10. package/es/SuperTab/SuperTab.less +43 -0
  11. package/es/SuperTab/package.json +6 -0
  12. package/es/SuperTab2/SuperTab2.js +167 -0
  13. package/es/SuperTab2/SuperTab2.less +18 -0
  14. package/es/SuperTab2/package.json +6 -0
  15. package/es/SuperTable/DragSortRow.less +17 -17
  16. package/es/SuperTable/FilterDropDown.less +30 -30
  17. package/es/SuperTable/SuperTable.js +38 -38
  18. package/es/SuperTable/SuperTable.less +132 -135
  19. package/es/SuperTable/package.json +6 -6
  20. package/es/SuperTable2/SuperTable2.js +22 -22
  21. package/es/SuperTable2/SuperTable2.less +100 -116
  22. package/es/SuperTable2/package.json +6 -6
  23. package/es/SuperTable3/FilterDropDown.js +188 -0
  24. package/es/SuperTable3/FilterDropDown.less +29 -0
  25. package/es/SuperTable3/SuperTable.js +783 -0
  26. package/es/SuperTable3/SuperTable.less +99 -0
  27. package/es/SuperTable3/fixed.js +42 -0
  28. package/es/SuperTable3/package.json +6 -0
  29. package/es/Title/Title.less +35 -35
  30. package/es/Title/package.json +6 -6
  31. package/es/Viewer/Viewer.js +1 -1
  32. package/es/adjust.less +89 -89
  33. package/es/index.js +12 -2
  34. package/es/style.less +12 -2
  35. package/lib/Indent/Indent.js +38 -0
  36. package/lib/Indent/package.json +6 -0
  37. package/lib/LayoutLink/LayoutLink.js +2 -2
  38. package/lib/Sidebar2/Sidebar.js +1 -1
  39. package/lib/SuperForm/SuperForm.js +2 -2
  40. package/lib/SuperForm2/SuperForm.js +742 -0
  41. package/lib/SuperForm2/SuperForm.less +52 -0
  42. package/lib/SuperForm2/package.json +6 -0
  43. package/lib/SuperTab/SuperTab.js +146 -0
  44. package/lib/SuperTab/SuperTab.less +43 -0
  45. package/lib/SuperTab/package.json +6 -0
  46. package/lib/SuperTab2/SuperTab2.js +191 -0
  47. package/lib/SuperTab2/SuperTab2.less +18 -0
  48. package/lib/SuperTab2/package.json +6 -0
  49. package/lib/SuperTable/DragSortRow.less +17 -17
  50. package/lib/SuperTable/FilterDropDown.less +30 -30
  51. package/lib/SuperTable/SuperTable.js +38 -38
  52. package/lib/SuperTable/SuperTable.less +132 -135
  53. package/lib/SuperTable/package.json +6 -6
  54. package/lib/SuperTable2/SuperTable2.js +22 -22
  55. package/lib/SuperTable2/SuperTable2.less +100 -116
  56. package/lib/SuperTable2/package.json +6 -6
  57. package/lib/SuperTable3/FilterDropDown.js +205 -0
  58. package/lib/SuperTable3/FilterDropDown.less +29 -0
  59. package/lib/SuperTable3/SuperTable.js +787 -0
  60. package/lib/SuperTable3/SuperTable.less +99 -0
  61. package/lib/SuperTable3/fixed.js +55 -0
  62. package/lib/SuperTable3/package.json +6 -0
  63. package/lib/Title/Title.less +35 -35
  64. package/lib/Title/package.json +6 -6
  65. package/lib/Viewer/Viewer.js +1 -1
  66. package/lib/adjust.less +89 -89
  67. package/lib/index.js +102 -7
  68. package/lib/index.less +5 -1
  69. package/lib/style.less +12 -2
  70. package/package.json +1 -1
  71. package/es/HomeHeader/Header.js +0 -75
  72. package/es/HomeHeader/Header.less +0 -73
  73. package/es/HomeHeader/package.json +0 -6
  74. package/lib/HomeHeader/Header.js +0 -95
  75. package/lib/HomeHeader/Header.less +0 -73
  76. 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;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "Indent",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "main": "./Indent.js"
6
+ }
@@ -37,7 +37,7 @@ function Search(_ref) {
37
37
  };
38
38
 
39
39
  return /*#__PURE__*/React.createElement(Card, {
40
- className: s.search
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: s.title
55
+ className: variables('LayoutLink').title
56
56
  }, /*#__PURE__*/React.createElement("div", null, title), /*#__PURE__*/React.createElement("div", null));
57
57
  }
58
58
 
@@ -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: s.unreadTotal
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: s.checkbox,
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 ? s.formItemWithCheckbox : ''
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,