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
@@ -1,6 +1,6 @@
1
- {
2
- "name": "SuperTable2",
3
- "version": "0.0.0",
4
- "private": true,
5
- "main": "./SuperTable2.js"
6
- }
1
+ {
2
+ "name": "SuperTable2",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "main": "./SuperTable2.js"
6
+ }
@@ -1,35 +1,35 @@
1
- @import '../variables';
2
-
3
- .@{cloudlink-prefix}-title {
4
- > *:first-child {
5
- display: inline-block;
6
- color: @brand-primary;
7
- line-height: 1.2;
8
-
9
- &[data-border='true'] {
10
- padding: 0 5px;
11
- border-left: @brand-primary solid 3px;
12
- }
13
-
14
- &[data-fold='true'] {
15
- cursor: pointer;
16
- margin: 8px 0;
17
- }
18
-
19
- &[data-required='true'] {
20
- &::after {
21
- display: inline-block;
22
- margin-left: 4px;
23
- color: #f5222d;
24
- font-size: 12px;
25
- font-family: SimSun, sans-serif;
26
- line-height: 1;
27
- content: '*';
28
- }
29
- }
30
- }
31
-
32
- > [role = 'toolbar'] {
33
- display: inline-block;
34
- }
35
- }
1
+ @import '../variables';
2
+
3
+ .@{cloudlink-prefix}-title {
4
+ > *:first-child {
5
+ display: inline-block;
6
+ color: @brand-primary;
7
+ line-height: 1.2;
8
+
9
+ &[data-border='true'] {
10
+ padding: 0 5px;
11
+ border-left: @brand-primary solid 3px;
12
+ }
13
+
14
+ &[data-fold='true'] {
15
+ cursor: pointer;
16
+ margin: 8px 0;
17
+ }
18
+
19
+ &[data-required='true'] {
20
+ &::after {
21
+ display: inline-block;
22
+ margin-left: 4px;
23
+ color: #f5222d;
24
+ font-size: 12px;
25
+ font-family: SimSun, sans-serif;
26
+ line-height: 1;
27
+ content: '*';
28
+ }
29
+ }
30
+ }
31
+
32
+ > [role = 'toolbar'] {
33
+ display: inline-block;
34
+ }
35
+ }
@@ -1,6 +1,6 @@
1
- {
2
- "name": "Title",
3
- "version": "0.0.0",
4
- "private": true,
5
- "main": "./Title.js"
6
- }
1
+ {
2
+ "name": "Title",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "main": "./Title.js"
6
+ }
@@ -131,7 +131,7 @@ var Viewers = /*#__PURE__*/function (_React$Component) {
131
131
  return /*#__PURE__*/_react["default"].createElement("div", {
132
132
  key: index,
133
133
  onClick: (0, _bind["default"])(_context = _this2._onSelect).call(_context, _this2, index),
134
- className: index === imageIndex ? s.selectTitle : ''
134
+ className: index === imageIndex ? (0, _variables["default"])('Viewers').selectTitle : ''
135
135
  }, item);
136
136
  })), /*#__PURE__*/_react["default"].createElement(_ImageViews["default"], {
137
137
  image: images[imageIndex],
package/lib/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/lib/index.js CHANGED
@@ -141,6 +141,13 @@ _Object$defineProperty(exports, "SuperForm", {
141
141
  }
142
142
  });
143
143
 
144
+ _Object$defineProperty(exports, "SuperForm2", {
145
+ enumerable: true,
146
+ get: function get() {
147
+ return _SuperForm2["default"];
148
+ }
149
+ });
150
+
144
151
  _Object$defineProperty(exports, "SuperIcon", {
145
152
  enumerable: true,
146
153
  get: function get() {
@@ -148,6 +155,27 @@ _Object$defineProperty(exports, "SuperIcon", {
148
155
  }
149
156
  });
150
157
 
158
+ _Object$defineProperty(exports, "SuperPagination", {
159
+ enumerable: true,
160
+ get: function get() {
161
+ return _SuperPagination["default"];
162
+ }
163
+ });
164
+
165
+ _Object$defineProperty(exports, "SuperTab", {
166
+ enumerable: true,
167
+ get: function get() {
168
+ return _SuperTab["default"];
169
+ }
170
+ });
171
+
172
+ _Object$defineProperty(exports, "SuperTab2", {
173
+ enumerable: true,
174
+ get: function get() {
175
+ return _SuperTab2["default"];
176
+ }
177
+ });
178
+
151
179
  _Object$defineProperty(exports, "SuperTable", {
152
180
  enumerable: true,
153
181
  get: function get() {
@@ -235,6 +263,8 @@ var _Sidebar = _interopRequireDefault(require("./Sidebar"));
235
263
 
236
264
  var _SuperForm = _interopRequireDefault(require("./SuperForm"));
237
265
 
266
+ var _SuperForm2 = _interopRequireDefault(require("./SuperForm2"));
267
+
238
268
  var _SuperIcon = _interopRequireDefault(require("./SuperIcon"));
239
269
 
240
270
  var _SuperToolbar = _interopRequireDefault(require("./SuperToolbar"));
@@ -249,4 +279,10 @@ var _Area = _interopRequireDefault(require("./Area"));
249
279
 
250
280
  var _SuperTable = _interopRequireDefault(require("./SuperTable2"));
251
281
 
252
- var _SuperTable2 = _interopRequireDefault(require("./SuperTable"));
282
+ var _SuperTable2 = _interopRequireDefault(require("./SuperTable"));
283
+
284
+ var _SuperPagination = _interopRequireDefault(require("./SuperPagination"));
285
+
286
+ var _SuperTab = _interopRequireDefault(require("./SuperTab"));
287
+
288
+ var _SuperTab2 = _interopRequireDefault(require("./SuperTab2"));
package/lib/index.less CHANGED
@@ -14,6 +14,9 @@
14
14
  @import "./Sidebar2/Sidebar.less";
15
15
  @import "./style.less";
16
16
  @import "./SuperForm/SuperForm.less";
17
+ @import "./SuperForm2/SuperForm.less";
18
+ @import "./SuperTab/SuperTab.less";
19
+ @import "./SuperTab2/SuperTab2.less";
17
20
  @import "./SuperTable/DragSortRow.less";
18
21
  @import "./SuperTable/FilterDropDown.less";
19
22
  @import "./SuperTable/SuperTable.less";
package/lib/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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-b2b",
3
- "version": "1.0.3",
3
+ "version": "1.0.6",
4
4
  "description": "A react component library dependent antd",
5
5
  "keywords": [
6
6
  "react",