vxe-table 3.5.9-beta.4 → 3.5.9-beta.5
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/lib/index.css +1 -1
- package/lib/index.umd.js +4 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/methods.js +2 -1
- package/lib/table/src/methods.min.js +1 -1
- package/lib/toolbar/style/style.css +13 -10
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/methods.js +2 -1
- package/styles/toolbar.scss +9 -5
- package/styles/variable.scss +0 -4
package/package.json
CHANGED
|
@@ -1312,8 +1312,9 @@ const Methods = {
|
|
|
1312
1312
|
* 根据行的唯一主键获取行
|
|
1313
1313
|
* @param {String/Number} rowid 行主键
|
|
1314
1314
|
*/
|
|
1315
|
-
getRowById (
|
|
1315
|
+
getRowById (cellValue) {
|
|
1316
1316
|
const fullDataRowIdData = this.fullDataRowIdData
|
|
1317
|
+
const rowid = XEUtils.eqNull(cellValue) ? '' : encodeURIComponent(cellValue)
|
|
1317
1318
|
return fullDataRowIdData[rowid] ? fullDataRowIdData[rowid].row : null
|
|
1318
1319
|
},
|
|
1319
1320
|
/**
|
package/styles/toolbar.scss
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
align-items: center;
|
|
10
|
+
margin: 0.6em 0;
|
|
10
11
|
color: $vxe-font-color;
|
|
11
12
|
font-family: $vxe-font-family;
|
|
12
13
|
background-color: $vxe-toolbar-background-color;
|
|
@@ -64,12 +65,19 @@
|
|
|
64
65
|
justify-content: center;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
68
|
+
.vxe-buttons--wrapper,
|
|
67
69
|
.vxe-tools--wrapper,
|
|
68
70
|
.vxe-tools--operate {
|
|
69
71
|
display: flex;
|
|
70
|
-
flex-shrink: 0;
|
|
71
72
|
align-items: center;
|
|
72
73
|
}
|
|
74
|
+
.vxe-buttons--wrapper,
|
|
75
|
+
.vxe-tools--wrapper {
|
|
76
|
+
flex-wrap: wrap;
|
|
77
|
+
}
|
|
78
|
+
.vxe-tools--operate {
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
}
|
|
73
81
|
.vxe-custom--wrapper {
|
|
74
82
|
position: relative;
|
|
75
83
|
margin-left: 0.8em;
|
|
@@ -171,7 +179,6 @@
|
|
|
171
179
|
|
|
172
180
|
.vxe-toolbar {
|
|
173
181
|
font-size: $vxe-font-size;
|
|
174
|
-
height: $vxe-toolbar-height-default;
|
|
175
182
|
.vxe-custom--option {
|
|
176
183
|
& > .vxe-checkbox--icon {
|
|
177
184
|
font-size: $vxe-checkbox-font-size-default;
|
|
@@ -179,7 +186,6 @@
|
|
|
179
186
|
}
|
|
180
187
|
&.size--medium {
|
|
181
188
|
font-size: $vxe-font-size-medium;
|
|
182
|
-
height: $vxe-toolbar-height-medium;
|
|
183
189
|
.vxe-custom--option {
|
|
184
190
|
& > .vxe-checkbox--icon {
|
|
185
191
|
font-size: $vxe-checkbox-font-size-medium;
|
|
@@ -188,7 +194,6 @@
|
|
|
188
194
|
}
|
|
189
195
|
&.size--small {
|
|
190
196
|
font-size: $vxe-font-size-small;
|
|
191
|
-
height: $vxe-toolbar-height-small;
|
|
192
197
|
.vxe-custom--option {
|
|
193
198
|
& > .vxe-checkbox--icon {
|
|
194
199
|
font-size: $vxe-checkbox-font-size-small;
|
|
@@ -197,7 +202,6 @@
|
|
|
197
202
|
}
|
|
198
203
|
&.size--mini {
|
|
199
204
|
font-size: $vxe-font-size-mini;
|
|
200
|
-
height: $vxe-toolbar-height-mini;
|
|
201
205
|
.vxe-custom--option {
|
|
202
206
|
& > .vxe-checkbox--icon {
|
|
203
207
|
font-size: $vxe-checkbox-font-size-mini;
|
package/styles/variable.scss
CHANGED
|
@@ -121,10 +121,6 @@ $vxe-grid-maximize-background-color: #fff !default;
|
|
|
121
121
|
|
|
122
122
|
/*toolbar*/
|
|
123
123
|
$vxe-toolbar-background-color: #fff !default;
|
|
124
|
-
$vxe-toolbar-height-default: 52px !default;
|
|
125
|
-
$vxe-toolbar-height-medium: 50px !default;
|
|
126
|
-
$vxe-toolbar-height-small: 48px !default;
|
|
127
|
-
$vxe-toolbar-height-mini: 46px !default;
|
|
128
124
|
$vxe-toolbar-custom-active-background-color: #D9DADB !default;
|
|
129
125
|
$vxe-toolbar-panel-background-color: #fff !default;
|
|
130
126
|
|