vxe-table 3.7.0-beta.16 → 3.7.0-beta.18
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/button/style/style.css +2 -3
- package/lib/button/style/style.min.css +1 -1
- package/lib/edit/src/mixin.js +6 -4
- package/lib/edit/src/mixin.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +571 -404
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +24 -1
- package/lib/input/src/input.min.js +1 -1
- package/lib/input/style/style.css +21 -0
- package/lib/input/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/body.js +6 -6
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +20 -16
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/methods.js +498 -360
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +15 -13
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +2 -2
- package/lib/table/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 +3 -8
- package/packages/edit/src/mixin.js +7 -5
- package/packages/input/src/input.js +24 -1
- package/packages/table/src/body.js +6 -6
- package/packages/table/src/cell.js +18 -14
- package/packages/table/src/methods.js +375 -181
- package/packages/table/src/table.js +15 -13
- package/styles/button.scss +5 -3
- package/styles/css-variable.scss +3 -3
- package/styles/input.scss +25 -0
- package/styles/table.scss +6 -2
- package/styles/textarea.scss +3 -3
- package/styles/variable.scss +3 -3
- /package/lib/icon/style/{iconfont.1693009490086.ttf → iconfont.1693698495640.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1693009490086.woff → iconfont.1693698495640.woff} +0 -0
- /package/lib/icon/style/{iconfont.1693009490086.woff2 → iconfont.1693698495640.woff2} +0 -0
- /package/lib/{iconfont.1693009490086.ttf → iconfont.1693698495640.ttf} +0 -0
- /package/lib/{iconfont.1693009490086.woff → iconfont.1693698495640.woff} +0 -0
- /package/lib/{iconfont.1693009490086.woff2 → iconfont.1693698495640.woff2} +0 -0
|
@@ -304,14 +304,14 @@ export default {
|
|
|
304
304
|
isAllSelected: false,
|
|
305
305
|
// 复选框属性,有选中且非全选状态
|
|
306
306
|
isIndeterminate: false,
|
|
307
|
-
//
|
|
308
|
-
|
|
307
|
+
// 复选框属性,已选中的行集合
|
|
308
|
+
selectCheckboxMaps: {},
|
|
309
309
|
// 当前行
|
|
310
310
|
currentRow: null,
|
|
311
311
|
// 单选框属性,选中列
|
|
312
312
|
currentColumn: null,
|
|
313
313
|
// 单选框属性,选中行
|
|
314
|
-
|
|
314
|
+
selectRadioRow: null,
|
|
315
315
|
// 表尾合计数据
|
|
316
316
|
footerTableData: [],
|
|
317
317
|
// 展开列信息
|
|
@@ -319,16 +319,16 @@ export default {
|
|
|
319
319
|
hasFixedColumn: false,
|
|
320
320
|
// 树节点列信息
|
|
321
321
|
treeNodeColumn: null,
|
|
322
|
-
//
|
|
323
|
-
|
|
324
|
-
//
|
|
325
|
-
|
|
326
|
-
//
|
|
327
|
-
|
|
328
|
-
//
|
|
329
|
-
|
|
330
|
-
//
|
|
331
|
-
|
|
322
|
+
// 已展开的行集合
|
|
323
|
+
rowExpandedMaps: {},
|
|
324
|
+
// 懒加载中的展开行的集合
|
|
325
|
+
rowExpandLazyLoadedMaps: {},
|
|
326
|
+
// 已展开树节点集合
|
|
327
|
+
treeExpandedMaps: {},
|
|
328
|
+
// 懒加载中的树节点的集合
|
|
329
|
+
treeExpandLazyLoadedMaps: {},
|
|
330
|
+
// 树节点不确定状态的集合
|
|
331
|
+
treeIndeterminateMaps: {},
|
|
332
332
|
// 合并单元格的对象集
|
|
333
333
|
mergeList: [],
|
|
334
334
|
// 合并表尾数据的对象集
|
|
@@ -743,6 +743,8 @@ export default {
|
|
|
743
743
|
// 完整数据、条件处理后
|
|
744
744
|
tableFullData: [],
|
|
745
745
|
afterFullData: [],
|
|
746
|
+
// 列表条件处理后数据集合
|
|
747
|
+
afterFullRowMaps: {},
|
|
746
748
|
// 收集的列配置(带分组)
|
|
747
749
|
collectColumn: [],
|
|
748
750
|
// 完整所有列(不带分组)
|
package/styles/button.scss
CHANGED
|
@@ -334,12 +334,14 @@ $btnThemeList: (
|
|
|
334
334
|
border-radius: $vxe-border-radius;
|
|
335
335
|
border: 1px solid $vxe-input-border-color;
|
|
336
336
|
box-shadow: 0 1px 6px rgba(0,0,0,.2);
|
|
337
|
-
& > .vxe-button
|
|
338
|
-
|
|
339
|
-
margin-top: 0.4em;
|
|
337
|
+
& > .vxe-button.type--text,
|
|
338
|
+
& > .vxe-button.type--button {
|
|
340
339
|
display: block;
|
|
341
340
|
width: 100%;
|
|
342
341
|
border: 0;
|
|
342
|
+
margin: 0.4em 0 0 0;
|
|
343
|
+
}
|
|
344
|
+
& > .vxe-button {
|
|
343
345
|
&.type--text {
|
|
344
346
|
padding: 2px 8px;
|
|
345
347
|
}
|
package/styles/css-variable.scss
CHANGED
|
@@ -233,13 +233,13 @@
|
|
|
233
233
|
--vxe-input-height-medium: #{$vxe-input-height-medium};
|
|
234
234
|
--vxe-input-height-small: #{$vxe-input-height-small};
|
|
235
235
|
--vxe-input-height-mini: #{$vxe-input-height-mini};
|
|
236
|
+
--vxe-input-count-color: #{$vxe-input-count-color};
|
|
237
|
+
--vxe-input-count-background-color: #{$vxe-input-count-background-color};
|
|
238
|
+
--vxe-input-count-error-color: #{$vxe-input-count-error-color};
|
|
236
239
|
|
|
237
240
|
/*textarea*/
|
|
238
241
|
--vxe-textarea-line-height: #{$vxe-textarea-line-height};
|
|
239
242
|
--vxe-textarea-background-color: #{$vxe-textarea-background-color};
|
|
240
|
-
--vxe-textarea-count-color: #{$vxe-textarea-count-color};
|
|
241
|
-
--vxe-textarea-count-background-color: #{$vxe-textarea-count-background-color};
|
|
242
|
-
--vxe-textarea-count-error-color: #{$vxe-textarea-count-error-color};
|
|
243
243
|
|
|
244
244
|
/*form*/
|
|
245
245
|
--vxe-form-item-min-height-default: #{$vxe-form-item-min-height-default};
|
package/styles/input.scss
CHANGED
|
@@ -81,6 +81,18 @@ $iconWidth: 1.6em;
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
.vxe-input--count {
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 1px;
|
|
87
|
+
right: 0.5em;
|
|
88
|
+
height: calc(100% - 2px);
|
|
89
|
+
color: var($vxe-input-count-color);
|
|
90
|
+
background-color: var($vxe-input-count-background-color);
|
|
91
|
+
&.is--error {
|
|
92
|
+
color: var($vxe-input-count-error-color);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
84
96
|
// 前缀图标
|
|
85
97
|
.vxe-input {
|
|
86
98
|
.vxe-input--prefix {
|
|
@@ -106,6 +118,14 @@ $iconWidth: 1.6em;
|
|
|
106
118
|
.vxe-input--inner {
|
|
107
119
|
padding-right: $iconWidth + 0.2em;
|
|
108
120
|
}
|
|
121
|
+
&.is--count {
|
|
122
|
+
.vxe-input--inner {
|
|
123
|
+
padding-right: 5em;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
.vxe-input--count {
|
|
127
|
+
right: $iconWidth + 0.5em;
|
|
128
|
+
}
|
|
109
129
|
}
|
|
110
130
|
&.is--left {
|
|
111
131
|
.vxe-input--inner {
|
|
@@ -122,6 +142,11 @@ $iconWidth: 1.6em;
|
|
|
122
142
|
text-align: right;
|
|
123
143
|
}
|
|
124
144
|
}
|
|
145
|
+
&.is--count {
|
|
146
|
+
.vxe-input--inner {
|
|
147
|
+
padding-right: 3.4em;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
125
150
|
&.is--controls {
|
|
126
151
|
&.type--search,
|
|
127
152
|
&.type--password,
|
package/styles/table.scss
CHANGED
|
@@ -454,10 +454,14 @@
|
|
|
454
454
|
font-family: $vxe-font-family;
|
|
455
455
|
direction: ltr;
|
|
456
456
|
.vxe-table--body-wrapper {
|
|
457
|
-
|
|
457
|
+
table {
|
|
458
|
+
background-color: $vxe-table-body-background-color;
|
|
459
|
+
}
|
|
458
460
|
}
|
|
459
461
|
.vxe-table--footer-wrapper {
|
|
460
|
-
|
|
462
|
+
table {
|
|
463
|
+
background-color: $vxe-table-footer-background-color;
|
|
464
|
+
}
|
|
461
465
|
}
|
|
462
466
|
.vxe-table--header,
|
|
463
467
|
.vxe-table--body,
|
package/styles/textarea.scss
CHANGED
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
bottom: 0.2em;
|
|
61
61
|
right: 1.4em;
|
|
62
62
|
padding-left: 0.2em;
|
|
63
|
-
color: $vxe-
|
|
64
|
-
background-color: $vxe-
|
|
63
|
+
color: $vxe-input-count-color;
|
|
64
|
+
background-color: $vxe-input-count-background-color;
|
|
65
65
|
&.is--error {
|
|
66
|
-
color: $vxe-
|
|
66
|
+
color: $vxe-input-count-error-color;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
package/styles/variable.scss
CHANGED
|
@@ -230,13 +230,13 @@ $vxe-input-height-default: $vxe-button-height-default !default;
|
|
|
230
230
|
$vxe-input-height-medium: $vxe-button-height-medium !default;
|
|
231
231
|
$vxe-input-height-small: $vxe-button-height-small !default;
|
|
232
232
|
$vxe-input-height-mini: $vxe-button-height-mini !default;
|
|
233
|
+
$vxe-input-count-color: #999 !default;
|
|
234
|
+
$vxe-input-count-background-color: #fff !default;
|
|
235
|
+
$vxe-input-count-error-color: $vxe-table-validate-error-color !default;
|
|
233
236
|
|
|
234
237
|
/*textarea*/
|
|
235
238
|
$vxe-textarea-line-height: 1.5715 !default;
|
|
236
239
|
$vxe-textarea-background-color: #fff !default;
|
|
237
|
-
$vxe-textarea-count-color: #999 !default;
|
|
238
|
-
$vxe-textarea-count-background-color: #fff !default;
|
|
239
|
-
$vxe-textarea-count-error-color: $vxe-table-validate-error-color !default;
|
|
240
240
|
|
|
241
241
|
/*form*/
|
|
242
242
|
$vxe-form-item-min-height-default: 36px !default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|