@vtx/components 4.0.0-beta.31 → 4.0.0-beta.32
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.
|
@@ -11,16 +11,29 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
11
11
|
return _defineProperty({}, componentCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
12
12
|
position: 'relative',
|
|
13
13
|
overflow: 'hidden'
|
|
14
|
-
}, "".concat(antCls, "-table-wrapper"), _defineProperty(_defineProperty(
|
|
14
|
+
}, "".concat(antCls, "-table-wrapper"), _defineProperty(_defineProperty(_defineProperty({}, '.ant-spin', _defineProperty({
|
|
15
|
+
height: '100%'
|
|
16
|
+
}, '.ant-spin-container', _defineProperty({
|
|
17
|
+
height: '100%'
|
|
18
|
+
}, '.ant-table', _defineProperty({
|
|
19
|
+
height: '100%'
|
|
20
|
+
}, '.ant-table-container', _defineProperty({
|
|
21
|
+
height: '100%'
|
|
22
|
+
}, '.ant-table-content', _defineProperty({
|
|
23
|
+
height: '100%'
|
|
24
|
+
}, 'table', {
|
|
25
|
+
height: '100%'
|
|
26
|
+
})))))), '.ant-table', _defineProperty(_defineProperty(_defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
|
|
15
27
|
'>tr>th': {
|
|
16
28
|
background: token.colorBgContainer
|
|
17
29
|
}
|
|
18
30
|
})), '.ant-table-cell', {
|
|
19
31
|
minWidth: 20
|
|
20
|
-
}), '.ant-table-
|
|
32
|
+
}), '.ant-table-tbody', {
|
|
21
33
|
'>tr.ant-table-placeholder': {
|
|
22
34
|
position: 'absolute',
|
|
23
|
-
|
|
35
|
+
top: "auto",
|
|
36
|
+
bottom: "auto",
|
|
24
37
|
right: 0,
|
|
25
38
|
left: 0,
|
|
26
39
|
backgroundColor: 'transparent',
|
|
@@ -32,19 +45,19 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
32
45
|
width: '100%',
|
|
33
46
|
height: '100%',
|
|
34
47
|
border: 'none',
|
|
35
|
-
'
|
|
48
|
+
'>.ant-table-expanded-row-fixed': {
|
|
36
49
|
display: 'flex',
|
|
37
50
|
alignItems: 'center',
|
|
38
51
|
justifyContent: 'center',
|
|
39
52
|
height: '100%',
|
|
40
53
|
width: '100%',
|
|
41
|
-
'
|
|
42
|
-
|
|
54
|
+
'&::after': {
|
|
55
|
+
border: 'none'
|
|
43
56
|
}
|
|
44
57
|
}
|
|
45
58
|
}
|
|
46
59
|
}
|
|
47
|
-
}))
|
|
60
|
+
})), '.ant-pagination', _defineProperty({}, '.ant-pagination-item', {
|
|
48
61
|
borderRadius: token.borderRadiusSM
|
|
49
62
|
}))), "&-fit", {
|
|
50
63
|
height: '100%'
|
package/es/vtx-search/index.js
CHANGED
|
@@ -247,6 +247,9 @@ function VtxSearch(props) {
|
|
|
247
247
|
return (realColumn - grid.len - 1) * (24 / realColumn);
|
|
248
248
|
}
|
|
249
249
|
} else {
|
|
250
|
+
console.log('grid.lenWeight', grid.lenWeight);
|
|
251
|
+
console.log('realColumn', realColumn);
|
|
252
|
+
console.log('showPosition', showPosition);
|
|
250
253
|
if (grid.lenWeight > realColumn - 1) {
|
|
251
254
|
var _total = Math.ceil((grid.lenWeight + 1) / realColumn);
|
|
252
255
|
return (_total * realColumn - grid.lenWeight - 1) * (24 / realColumn);
|
|
@@ -17,16 +17,29 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
17
17
|
return _defineProperty({}, componentCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
18
18
|
position: 'relative',
|
|
19
19
|
overflow: 'hidden'
|
|
20
|
-
}, "".concat(antCls, "-table-wrapper"), _defineProperty(_defineProperty(
|
|
20
|
+
}, "".concat(antCls, "-table-wrapper"), _defineProperty(_defineProperty(_defineProperty({}, '.ant-spin', _defineProperty({
|
|
21
|
+
height: '100%'
|
|
22
|
+
}, '.ant-spin-container', _defineProperty({
|
|
23
|
+
height: '100%'
|
|
24
|
+
}, '.ant-table', _defineProperty({
|
|
25
|
+
height: '100%'
|
|
26
|
+
}, '.ant-table-container', _defineProperty({
|
|
27
|
+
height: '100%'
|
|
28
|
+
}, '.ant-table-content', _defineProperty({
|
|
29
|
+
height: '100%'
|
|
30
|
+
}, 'table', {
|
|
31
|
+
height: '100%'
|
|
32
|
+
})))))), '.ant-table', _defineProperty(_defineProperty(_defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
|
|
21
33
|
'>tr>th': {
|
|
22
34
|
background: token.colorBgContainer
|
|
23
35
|
}
|
|
24
36
|
})), '.ant-table-cell', {
|
|
25
37
|
minWidth: 20
|
|
26
|
-
}), '.ant-table-
|
|
38
|
+
}), '.ant-table-tbody', {
|
|
27
39
|
'>tr.ant-table-placeholder': {
|
|
28
40
|
position: 'absolute',
|
|
29
|
-
|
|
41
|
+
top: "auto",
|
|
42
|
+
bottom: "auto",
|
|
30
43
|
right: 0,
|
|
31
44
|
left: 0,
|
|
32
45
|
backgroundColor: 'transparent',
|
|
@@ -38,19 +51,19 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
38
51
|
width: '100%',
|
|
39
52
|
height: '100%',
|
|
40
53
|
border: 'none',
|
|
41
|
-
'
|
|
54
|
+
'>.ant-table-expanded-row-fixed': {
|
|
42
55
|
display: 'flex',
|
|
43
56
|
alignItems: 'center',
|
|
44
57
|
justifyContent: 'center',
|
|
45
58
|
height: '100%',
|
|
46
59
|
width: '100%',
|
|
47
|
-
'
|
|
48
|
-
|
|
60
|
+
'&::after': {
|
|
61
|
+
border: 'none'
|
|
49
62
|
}
|
|
50
63
|
}
|
|
51
64
|
}
|
|
52
65
|
}
|
|
53
|
-
}))
|
|
66
|
+
})), '.ant-pagination', _defineProperty({}, '.ant-pagination-item', {
|
|
54
67
|
borderRadius: token.borderRadiusSM
|
|
55
68
|
}))), "&-fit", {
|
|
56
69
|
height: '100%'
|
package/lib/vtx-search/index.js
CHANGED
|
@@ -253,6 +253,9 @@ function VtxSearch(props) {
|
|
|
253
253
|
return (realColumn - grid.len - 1) * (24 / realColumn);
|
|
254
254
|
}
|
|
255
255
|
} else {
|
|
256
|
+
console.log('grid.lenWeight', grid.lenWeight);
|
|
257
|
+
console.log('realColumn', realColumn);
|
|
258
|
+
console.log('showPosition', showPosition);
|
|
256
259
|
if (grid.lenWeight > realColumn - 1) {
|
|
257
260
|
var _total = Math.ceil((grid.lenWeight + 1) / realColumn);
|
|
258
261
|
return (_total * realColumn - grid.lenWeight - 1) * (24 / realColumn);
|