cloud-b2b 1.0.3 → 1.0.6

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 (54) hide show
  1. package/es/LayoutLink/LayoutLink.js +2 -2
  2. package/es/Sidebar2/Sidebar.js +1 -1
  3. package/es/SuperForm/SuperForm.js +2 -2
  4. package/es/SuperForm2/SuperForm.js +732 -0
  5. package/es/SuperForm2/SuperForm.less +52 -0
  6. package/es/SuperForm2/package.json +6 -0
  7. package/es/SuperTab/SuperTab.js +130 -0
  8. package/es/SuperTab/SuperTab.less +43 -0
  9. package/es/SuperTab/package.json +6 -0
  10. package/es/SuperTab2/SuperTab2.js +167 -0
  11. package/es/SuperTab2/SuperTab2.less +18 -0
  12. package/es/SuperTab2/package.json +6 -0
  13. package/es/SuperTable/DragSortRow.less +17 -17
  14. package/es/SuperTable/FilterDropDown.less +30 -30
  15. package/es/SuperTable/SuperTable.js +38 -38
  16. package/es/SuperTable/SuperTable.less +132 -135
  17. package/es/SuperTable/package.json +6 -6
  18. package/es/SuperTable2/SuperTable2.js +22 -22
  19. package/es/SuperTable2/SuperTable2.less +100 -100
  20. package/es/SuperTable2/package.json +6 -6
  21. package/es/Title/Title.less +35 -35
  22. package/es/Title/package.json +6 -6
  23. package/es/Viewer/Viewer.js +1 -1
  24. package/es/adjust.less +89 -89
  25. package/es/index.js +5 -1
  26. package/es/style.less +4 -1
  27. package/lib/LayoutLink/LayoutLink.js +2 -2
  28. package/lib/Sidebar2/Sidebar.js +1 -1
  29. package/lib/SuperForm/SuperForm.js +2 -2
  30. package/lib/SuperForm2/SuperForm.js +742 -0
  31. package/lib/SuperForm2/SuperForm.less +52 -0
  32. package/lib/SuperForm2/package.json +6 -0
  33. package/lib/SuperTab/SuperTab.js +146 -0
  34. package/lib/SuperTab/SuperTab.less +43 -0
  35. package/lib/SuperTab/package.json +6 -0
  36. package/lib/SuperTab2/SuperTab2.js +191 -0
  37. package/lib/SuperTab2/SuperTab2.less +18 -0
  38. package/lib/SuperTab2/package.json +6 -0
  39. package/lib/SuperTable/DragSortRow.less +17 -17
  40. package/lib/SuperTable/FilterDropDown.less +30 -30
  41. package/lib/SuperTable/SuperTable.js +38 -38
  42. package/lib/SuperTable/SuperTable.less +132 -135
  43. package/lib/SuperTable/package.json +6 -6
  44. package/lib/SuperTable2/SuperTable2.js +22 -22
  45. package/lib/SuperTable2/SuperTable2.less +100 -100
  46. package/lib/SuperTable2/package.json +6 -6
  47. package/lib/Title/Title.less +35 -35
  48. package/lib/Title/package.json +6 -6
  49. package/lib/Viewer/Viewer.js +1 -1
  50. package/lib/adjust.less +89 -89
  51. package/lib/index.js +37 -1
  52. package/lib/index.less +3 -0
  53. package/lib/style.less +4 -1
  54. package/package.json +1 -1
package/es/adjust.less CHANGED
@@ -1,89 +1,89 @@
1
-
2
- .ant-table-small {
3
- .ant-table-thead {
4
- background-color: @table-header-bg;
5
-
6
- > tr > th {
7
- padding: 12px 8px 11px !important;
8
- }
9
- }
10
-
11
- .ant-table-tbody > tr > td {
12
- padding: 8px 8px 7px !important;
13
- }
14
-
15
- .ant-table-tbody > tr.ant-table-row-selected td {
16
- background-color: @primary-1 !important;
17
- }
18
-
19
- .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td {
20
- background-color: @table-header-bg !important;
21
- }
22
-
23
- .ant-table-selection-column {
24
- min-width: 62px;
25
- }
26
-
27
- table {
28
- border-collapse: separate;
29
- border-spacing: 0;
30
- }
31
- }
32
-
33
- .ant-modal {
34
- top: 50px;
35
- padding-bottom: 0;
36
- }
37
-
38
- .ant-form-item {
39
- margin-bottom: 6px;
40
- }
41
-
42
- .ant-select-sm .ant-select-selection--single {
43
- height: @input-height-sm !important;
44
- overflow: hidden;
45
- }
46
-
47
- .ant-form-vertical .ant-form-item {
48
- padding-bottom: 0;
49
- }
50
-
51
- .ant-form-item-control {
52
- line-height: @input-height-sm;
53
-
54
- > .ant-form-explain-holder[aria-hidden='true'] {
55
- display: none;
56
- }
57
- }
58
-
59
- .ant-form-vertical .ant-form-item-label {
60
- padding: 0;
61
- line-height: 1.2;
62
- }
63
-
64
- .ant-input-lg {
65
- font-size: 12px;
66
- }
67
-
68
- .ant-btn-lg {
69
- height: @input-height-lg;
70
- }
71
-
72
- .ant-menu-inline .ant-menu-item {
73
- margin-top: 0;
74
- margin-bottom: 0 !important;
75
- }
76
-
77
- .ant-modal-header {
78
- padding: 13px 16px;
79
- }
80
-
81
- .ant-modal-body {
82
- padding: 16px;
83
- }
84
-
85
- .ant-btn-primary:focus {
86
- background-color: white;
87
- color: @primary-color;
88
- text-shadow: none;
89
- }
1
+
2
+ .ant-table-small {
3
+ .ant-table-thead {
4
+ background-color: @table-header-bg;
5
+
6
+ > tr > th {
7
+ padding: 12px 8px 11px !important;
8
+ }
9
+ }
10
+
11
+ .ant-table-tbody > tr > td {
12
+ padding: 8px 8px 7px !important;
13
+ }
14
+
15
+ .ant-table-tbody > tr.ant-table-row-selected td {
16
+ background-color: @primary-1 !important;
17
+ }
18
+
19
+ .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td {
20
+ background-color: @table-header-bg !important;
21
+ }
22
+
23
+ .ant-table-selection-column {
24
+ min-width: 62px;
25
+ }
26
+
27
+ table {
28
+ border-collapse: separate;
29
+ border-spacing: 0;
30
+ }
31
+ }
32
+
33
+ .ant-modal {
34
+ top: 50px;
35
+ padding-bottom: 0;
36
+ }
37
+
38
+ .ant-form-item {
39
+ margin-bottom: 6px;
40
+ }
41
+
42
+ .ant-select-sm .ant-select-selection--single {
43
+ height: @input-height-sm !important;
44
+ overflow: hidden;
45
+ }
46
+
47
+ .ant-form-vertical .ant-form-item {
48
+ padding-bottom: 0;
49
+ }
50
+
51
+ .ant-form-item-control {
52
+ line-height: @input-height-sm;
53
+
54
+ > .ant-form-explain-holder[aria-hidden='true'] {
55
+ display: none;
56
+ }
57
+ }
58
+
59
+ .ant-form-vertical .ant-form-item-label {
60
+ padding: 0;
61
+ line-height: 1.2;
62
+ }
63
+
64
+ .ant-input-lg {
65
+ font-size: 12px;
66
+ }
67
+
68
+ .ant-btn-lg {
69
+ height: @input-height-lg;
70
+ }
71
+
72
+ .ant-menu-inline .ant-menu-item {
73
+ margin-top: 0;
74
+ margin-bottom: 0 !important;
75
+ }
76
+
77
+ .ant-modal-header {
78
+ padding: 13px 16px;
79
+ }
80
+
81
+ .ant-modal-body {
82
+ padding: 16px;
83
+ }
84
+
85
+ .ant-btn-primary:focus {
86
+ background-color: white;
87
+ color: @primary-color;
88
+ text-shadow: none;
89
+ }
package/es/index.js CHANGED
@@ -17,6 +17,7 @@ export { default as NumberInput } from './NumberInput';
17
17
  export { default as Search } from './Search';
18
18
  export { default as Sidebar } from './Sidebar';
19
19
  export { default as SuperForm } from './SuperForm';
20
+ export { default as SuperForm2 } from './SuperForm2';
20
21
  export { default as SuperIcon } from './SuperIcon';
21
22
  export { default as SuperToolbar } from './SuperToolbar';
22
23
  export { default as SuperUpload } from './SuperUpload';
@@ -24,4 +25,7 @@ export { default as Viewer } from './Viewer';
24
25
  export { default as WingBlank } from './WingBlank';
25
26
  export { default as Area } from './Area';
26
27
  export { default as SuperTable2 } from './SuperTable2';
27
- export { default as SuperTable } from './SuperTable';
28
+ export { default as SuperTable } from './SuperTable';
29
+ export { default as SuperPagination } from './SuperPagination';
30
+ export { default as SuperTab } from './SuperTab';
31
+ export { default as SuperTab2 } from './SuperTab2';
package/es/style.less CHANGED
@@ -2,6 +2,7 @@
2
2
  @import "./Title/Title.less";
3
3
  @import "./Search/Search.less";
4
4
  @import "./SuperForm/SuperForm.less";
5
+ @import "./SuperForm2/SuperForm.less";
5
6
  @import "./SuperTable/SuperTable.less";
6
7
  @import "./SuperTable2/SuperTable2.less";
7
8
  @import "./Header/Header.less";
@@ -17,4 +18,6 @@
17
18
  @import "./Sidebar2/Sidebar.less";
18
19
  @import "./SuperToolbar/SuperToolbar.less";
19
20
  @import "./SuperUpload/SuperUpload.less";
20
- @import "./Viewer/Viewer.less";
21
+ @import "./Viewer/Viewer.less";
22
+ @import "./SuperTab/SuperTab.less";
23
+ @import "./SuperTab2/SuperTab2.less";
@@ -68,7 +68,7 @@ function Search(_ref) {
68
68
  };
69
69
 
70
70
  return /*#__PURE__*/_react["default"].createElement(_Card["default"], {
71
- className: s.search
71
+ className: (0, _variables["default"])('LayoutLink').search
72
72
  }, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(FormItem, {
73
73
  validateStatus: status
74
74
  }, /*#__PURE__*/_react["default"].createElement(_input["default"], {
@@ -83,7 +83,7 @@ function Search(_ref) {
83
83
  function Title(_ref2) {
84
84
  var title = _ref2.title;
85
85
  return /*#__PURE__*/_react["default"].createElement("div", {
86
- className: s.title
86
+ className: (0, _variables["default"])('LayoutLink').title
87
87
  }, /*#__PURE__*/_react["default"].createElement("div", null, title), /*#__PURE__*/_react["default"].createElement("div", null));
88
88
  }
89
89
 
@@ -159,7 +159,7 @@ var Sidebar = /*#__PURE__*/function (_React$Component) {
159
159
  }, /*#__PURE__*/_react["default"].createElement(_Link["default"], (0, _extends2["default"])({}, _this.linkProps(item), {
160
160
  "data-role": "child-item"
161
161
  }), /*#__PURE__*/_react["default"].createElement("span", null, item.title), item.unreadTotal && item.unreadTotal > 0 && /*#__PURE__*/_react["default"].createElement("span", {
162
- className: s.unreadTotal
162
+ className: (0, _variables["default"])('Sidebar2').unreadTotal
163
163
  }, item.unreadTotal)));
164
164
  });
165
165
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "renderItem", function (item, index) {
@@ -625,11 +625,11 @@ var SuperForm = /*#__PURE__*/function (_React$Component2) {
625
625
  span: span * factor,
626
626
  key: control.key
627
627
  }, checkable && /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
628
- className: s.checkbox,
628
+ className: (0, _variables["default"])('SuperForm').checkbox,
629
629
  onChange: (0, _bind["default"])(onCheckItem).call(onCheckItem, (0, _assertThisInitialized2["default"])(_this2), control),
630
630
  checked: control.checked
631
631
  }), /*#__PURE__*/_react["default"].createElement(FormItem, (0, _extends2["default"])({}, itemProps, {
632
- className: checkable ? s.formItemWithCheckbox : ''
632
+ className: checkable ? (0, _variables["default"])('SuperForm').formItemWithCheckbox : ''
633
633
  }), _this2.toControl(controlProps, control))) : /*#__PURE__*/_react["default"].createElement(_col["default"], {
634
634
  span: span * factor,
635
635
  key: control.key,