vxe-table 4.4.2-beta.0 → 4.4.2-beta.2

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 (81) hide show
  1. package/es/checkbox/style.css +12 -12
  2. package/es/export/style.css +6 -6
  3. package/es/filter/style.css +6 -6
  4. package/es/form/style.css +1 -1
  5. package/es/icon/style.css +1 -1
  6. package/es/radio/style.css +16 -16
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/table/src/table.js +25 -5
  10. package/es/table/style.css +27 -27
  11. package/es/toolbar/style.css +6 -6
  12. package/es/tools/log.js +1 -1
  13. package/es/v-x-e-table/index.js +1 -1
  14. package/es/vxe-checkbox/style.css +12 -12
  15. package/es/vxe-form/style.css +1 -1
  16. package/es/vxe-module-export/style.css +6 -6
  17. package/es/vxe-module-filter/style.css +6 -6
  18. package/es/vxe-radio/style.css +16 -16
  19. package/es/vxe-table/style.css +27 -27
  20. package/es/vxe-toolbar/style.css +6 -6
  21. package/lib/checkbox/style/style.css +12 -12
  22. package/lib/checkbox/style/style.min.css +1 -1
  23. package/lib/export/style/style.css +6 -6
  24. package/lib/export/style/style.min.css +1 -1
  25. package/lib/filter/style/style.css +6 -6
  26. package/lib/filter/style/style.min.css +1 -1
  27. package/lib/form/style/style.css +1 -1
  28. package/lib/form/style/style.min.css +1 -1
  29. package/lib/icon/style/style.css +1 -1
  30. package/lib/icon/style/style.min.css +1 -1
  31. package/lib/index.umd.js +27 -7
  32. package/lib/index.umd.min.js +1 -1
  33. package/lib/radio/style/style.css +16 -16
  34. package/lib/radio/style/style.min.css +1 -1
  35. package/lib/style.css +1 -1
  36. package/lib/style.min.css +1 -1
  37. package/lib/table/src/table.js +25 -5
  38. package/lib/table/src/table.min.js +1 -1
  39. package/lib/table/style/style.css +27 -27
  40. package/lib/table/style/style.min.css +1 -1
  41. package/lib/toolbar/style/style.css +6 -6
  42. package/lib/toolbar/style/style.min.css +1 -1
  43. package/lib/tools/log.js +1 -1
  44. package/lib/tools/log.min.js +1 -1
  45. package/lib/v-x-e-table/index.js +1 -1
  46. package/lib/v-x-e-table/index.min.js +1 -1
  47. package/lib/vxe-checkbox/style/style.css +12 -12
  48. package/lib/vxe-checkbox/style/style.min.css +1 -1
  49. package/lib/vxe-form/style/style.css +1 -1
  50. package/lib/vxe-form/style/style.min.css +1 -1
  51. package/lib/vxe-module-export/style/style.css +6 -6
  52. package/lib/vxe-module-export/style/style.min.css +1 -1
  53. package/lib/vxe-module-filter/style/style.css +6 -6
  54. package/lib/vxe-module-filter/style/style.min.css +1 -1
  55. package/lib/vxe-radio/style/style.css +16 -16
  56. package/lib/vxe-radio/style/style.min.css +1 -1
  57. package/lib/vxe-table/style/style.css +27 -27
  58. package/lib/vxe-table/style/style.min.css +1 -1
  59. package/lib/vxe-toolbar/style/style.css +6 -6
  60. package/lib/vxe-toolbar/style/style.min.css +1 -1
  61. package/package.json +1 -1
  62. package/packages/table/src/table.ts +25 -5
  63. package/styles/base/checked.scss +12 -12
  64. package/styles/base/common.scss +6 -6
  65. package/styles/form.scss +1 -1
  66. package/styles/radio.scss +4 -4
  67. package/styles/table.scss +9 -9
  68. package/types/form-item.d.ts +1 -1
  69. package/types/table.d.ts +8 -1
  70. /package/es/icon/style/{iconfont.1685463362588.ttf → iconfont.1686011878916.ttf} +0 -0
  71. /package/es/icon/style/{iconfont.1685463362588.woff → iconfont.1686011878916.woff} +0 -0
  72. /package/es/icon/style/{iconfont.1685463362588.woff2 → iconfont.1686011878916.woff2} +0 -0
  73. /package/es/{iconfont.1685463362588.ttf → iconfont.1686011878916.ttf} +0 -0
  74. /package/es/{iconfont.1685463362588.woff → iconfont.1686011878916.woff} +0 -0
  75. /package/es/{iconfont.1685463362588.woff2 → iconfont.1686011878916.woff2} +0 -0
  76. /package/lib/icon/style/{iconfont.1685463362588.ttf → iconfont.1686011878916.ttf} +0 -0
  77. /package/lib/icon/style/{iconfont.1685463362588.woff → iconfont.1686011878916.woff} +0 -0
  78. /package/lib/icon/style/{iconfont.1685463362588.woff2 → iconfont.1686011878916.woff2} +0 -0
  79. /package/lib/{iconfont.1685463362588.ttf → iconfont.1686011878916.ttf} +0 -0
  80. /package/lib/{iconfont.1685463362588.woff → iconfont.1686011878916.woff} +0 -0
  81. /package/lib/{iconfont.1685463362588.woff2 → iconfont.1686011878916.woff2} +0 -0
@@ -40,6 +40,8 @@ import { getSlotVNs } from '../../tools/vn';
40
40
  var isWebkit = browse['-webkit'] && !browse.edge;
41
41
  var resizableStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_WIDTH';
42
42
  var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
43
+ var fixedStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_FIXED';
44
+ var orderStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_ORDER';
43
45
  export default defineComponent({
44
46
  name: 'VxeTable',
45
47
  props: tableProps,
@@ -784,15 +786,18 @@ export default defineComponent({
784
786
  var collectColumn = internalData.collectColumn;
785
787
  var customOpts = computeCustomOpts.value;
786
788
  var storage = customOpts.storage;
787
- var isResizable = storage === true || (storage && storage.resizable);
788
- var isVisible = storage === true || (storage && storage.visible);
789
- if (customConfig && (isResizable || isVisible)) {
789
+ var isCustomResizable = storage === true || (storage && storage.resizable);
790
+ var isCustomVisible = storage === true || (storage && storage.visible);
791
+ var isCustomFixed = storage === true || (storage && storage.fixed);
792
+ var isCustomOrder = storage === true || (storage && storage.order);
793
+ if (customConfig && (isCustomResizable || isCustomVisible || isCustomFixed || isCustomOrder)) {
790
794
  var customMap_1 = {};
791
795
  if (!id) {
792
796
  errLog('vxe.error.reqProp', ['id']);
793
797
  return;
794
798
  }
795
- if (isResizable) {
799
+ // 自定义列宽
800
+ if (isCustomResizable) {
796
801
  var columnWidthStorage = getCustomStorageMap(resizableStorageKey)[id];
797
802
  if (columnWidthStorage) {
798
803
  XEUtils.each(columnWidthStorage, function (resizeWidth, field) {
@@ -800,7 +805,22 @@ export default defineComponent({
800
805
  });
801
806
  }
802
807
  }
803
- if (isVisible) {
808
+ // 自定义固定列
809
+ if (isCustomFixed) {
810
+ var columnFixedStorage = getCustomStorageMap(fixedStorageKey)[id];
811
+ if (columnFixedStorage) {
812
+ // 开发中...
813
+ }
814
+ }
815
+ // 自定义顺序
816
+ if (isCustomOrder) {
817
+ var columnOrderStorage = getCustomStorageMap(orderStorageKey)[id];
818
+ if (columnOrderStorage) {
819
+ // 开发中...
820
+ }
821
+ }
822
+ // 自定义隐藏列
823
+ if (isCustomVisible) {
804
824
  var columnVisibleStorage = getCustomStorageMap(visibleStorageKey)[id];
805
825
  if (columnVisibleStorage) {
806
826
  var colVisibles = columnVisibleStorage.split('|');
@@ -28,7 +28,7 @@
28
28
  font-size: 1.34em;
29
29
  }
30
30
  .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon {
31
- color: #dcdfe6;
31
+ color: var(--vxe-input-border-color);
32
32
  vertical-align: middle;
33
33
  font-weight: 700;
34
34
  -webkit-user-select: none;
@@ -36,23 +36,23 @@
36
36
  user-select: none;
37
37
  }
38
38
  .vxe-table--render-default .is--checked.vxe-cell--checkbox, .vxe-table--render-default .is--indeterminate.vxe-cell--checkbox {
39
- color: #409eff;
39
+ color: var(--vxe-primary-color);
40
40
  }
41
41
  .vxe-table--render-default .is--checked.vxe-cell--checkbox .vxe-checkbox--icon, .vxe-table--render-default .is--indeterminate.vxe-cell--checkbox .vxe-checkbox--icon {
42
- color: #409eff;
42
+ color: var(--vxe-primary-color);
43
43
  }
44
44
  .vxe-table--render-default .vxe-cell--checkbox:not(.is--disabled) {
45
45
  cursor: pointer;
46
46
  }
47
47
  .vxe-table--render-default .vxe-cell--checkbox:not(.is--disabled):hover .vxe-checkbox--icon {
48
- color: #409eff;
48
+ color: var(--vxe-primary-color);
49
49
  }
50
50
  .vxe-table--render-default .is--disabled.vxe-cell--checkbox {
51
- color: #BFBFBF;
51
+ color: var(--vxe-disabled-color);
52
52
  cursor: not-allowed;
53
53
  }
54
54
  .vxe-table--render-default .is--disabled.vxe-cell--checkbox .vxe-checkbox--icon {
55
- color: #dcdfe6;
55
+ color: var(--vxe-input-disabled-color);
56
56
  }
57
57
  .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--label {
58
58
  padding-left: 0.5em;
@@ -66,7 +66,7 @@
66
66
  font-size: 1.4em;
67
67
  }
68
68
  .vxe-table--render-default .vxe-cell--radio .vxe-radio--icon {
69
- color: #dcdfe6;
69
+ color: var(--vxe-input-border-color);
70
70
  vertical-align: middle;
71
71
  font-weight: 700;
72
72
  -webkit-user-select: none;
@@ -74,23 +74,23 @@
74
74
  user-select: none;
75
75
  }
76
76
  .vxe-table--render-default .is--checked.vxe-cell--radio {
77
- color: #409eff;
77
+ color: var(--vxe-primary-color);
78
78
  }
79
79
  .vxe-table--render-default .is--checked.vxe-cell--radio .vxe-radio--icon {
80
- color: #409eff;
80
+ color: var(--vxe-primary-color);
81
81
  }
82
82
  .vxe-table--render-default .vxe-cell--radio:not(.is--disabled) {
83
83
  cursor: pointer;
84
84
  }
85
85
  .vxe-table--render-default .vxe-cell--radio:not(.is--disabled):hover .vxe-radio--icon {
86
- color: #409eff;
86
+ color: var(--vxe-primary-color);
87
87
  }
88
88
  .vxe-table--render-default .is--disabled.vxe-cell--radio {
89
- color: #BFBFBF;
89
+ color: var(--vxe-disabled-color);
90
90
  cursor: not-allowed;
91
91
  }
92
92
  .vxe-table--render-default .is--disabled.vxe-cell--radio .vxe-radio--icon {
93
- color: #dcdfe6;
93
+ color: var(--vxe-input-disabled-color);
94
94
  }
95
95
  .vxe-table--render-default .vxe-cell--radio .vxe-radio--label {
96
96
  padding-left: 0.5em;
@@ -115,27 +115,27 @@
115
115
  font-feature-settings: "tnum";
116
116
  }
117
117
  .vxe-primary-color {
118
- color: #409eff;
118
+ color: var(--vxe-primary-color);
119
119
  }
120
120
 
121
121
  .vxe-success-color {
122
- color: #67c23a;
122
+ color: var(--vxe-success-color);
123
123
  }
124
124
 
125
125
  .vxe-info-color {
126
- color: #909399;
126
+ color: var(--vxe-info-color);
127
127
  }
128
128
 
129
129
  .vxe-warning-color {
130
- color: #e6a23c;
130
+ color: var(--vxe-warning-color);
131
131
  }
132
132
 
133
133
  .vxe-danger-color {
134
- color: #f56c6c;
134
+ color: var(--vxe-danger-color);
135
135
  }
136
136
 
137
137
  .vxe-perfect-color {
138
- color: #f8f8f9;
138
+ color: var(--vxe-table-header-background-color);
139
139
  }
140
140
 
141
141
  .vxe-row:after {
@@ -344,25 +344,25 @@
344
344
  .vxe-table--render-default .vxe-header--column.col--ellipsis,
345
345
  .vxe-table--render-default .vxe-body--column.col--ellipsis,
346
346
  .vxe-table--render-default .vxe-footer--column.col--ellipsis, .vxe-table--render-default.vxe-editable .vxe-body--column {
347
- height: 48px;
347
+ height: var(--vxe-table-row-height-default);
348
348
  }
349
349
 
350
350
  .vxe-table--render-default.size--medium .vxe-header--column.col--ellipsis,
351
351
  .vxe-table--render-default.size--medium .vxe-body--column.col--ellipsis,
352
352
  .vxe-table--render-default.size--medium .vxe-footer--column.col--ellipsis, .vxe-table--render-default.vxe-editable.size--medium .vxe-body--column {
353
- height: 44px;
353
+ height: var(--vxe-table-row-height-medium);
354
354
  }
355
355
 
356
356
  .vxe-table--render-default.size--small .vxe-header--column.col--ellipsis,
357
357
  .vxe-table--render-default.size--small .vxe-body--column.col--ellipsis,
358
358
  .vxe-table--render-default.size--small .vxe-footer--column.col--ellipsis, .vxe-table--render-default.vxe-editable.size--small .vxe-body--column {
359
- height: 40px;
359
+ height: var(--vxe-table-row-height-small);
360
360
  }
361
361
 
362
362
  .vxe-table--render-default.size--mini .vxe-header--column.col--ellipsis,
363
363
  .vxe-table--render-default.size--mini .vxe-body--column.col--ellipsis,
364
364
  .vxe-table--render-default.size--mini .vxe-footer--column.col--ellipsis, .vxe-table--render-default.vxe-editable.size--mini .vxe-body--column {
365
- height: 36px;
365
+ height: var(--vxe-table-row-height-mini);
366
366
  }
367
367
 
368
368
  .vxe-table-slots,
@@ -1261,8 +1261,8 @@
1261
1261
  }
1262
1262
  .vxe-table--render-default .vxe-body--row.row--new > .vxe-body--column:before {
1263
1263
  content: "";
1264
- top: -5px;
1265
- left: -5px;
1264
+ top: --vxe-table-cell-dirty-width;
1265
+ left: --vxe-table-cell-dirty-width;
1266
1266
  position: absolute;
1267
1267
  border-width: var(--vxe-table-cell-dirty-width);
1268
1268
  border-style: solid;
@@ -1274,8 +1274,8 @@
1274
1274
  }
1275
1275
  .vxe-table--render-default .vxe-body--column.col--dirty:before {
1276
1276
  content: "";
1277
- top: -5px;
1278
- left: -5px;
1277
+ top: --vxe-table-cell-dirty-width;
1278
+ left: --vxe-table-cell-dirty-width;
1279
1279
  position: absolute;
1280
1280
  border-width: var(--vxe-table-cell-dirty-width);
1281
1281
  border-style: solid;
@@ -1301,7 +1301,7 @@
1301
1301
  padding-left: 0;
1302
1302
  }
1303
1303
  .vxe-table--render-default.vxe-editable.cell--highlight .vxe-body--column.col--actived .vxe-cell .vxe-textarea {
1304
- height: var(--vxe-table-row-line-height)-1;
1304
+ height: calc(var(--vxe-table-row-line-height) - 1px);
1305
1305
  }
1306
1306
  .vxe-table--render-default.vxe-editable.cell--highlight .vxe-body--column.col--actived .vxe-cell .vxe-textarea .vxe-textarea--inner {
1307
1307
  border: 0;
@@ -27,7 +27,7 @@
27
27
  font-size: 1.34em;
28
28
  }
29
29
  .vxe-custom--option .vxe-checkbox--icon {
30
- color: #dcdfe6;
30
+ color: var(--vxe-input-border-color);
31
31
  vertical-align: middle;
32
32
  font-weight: 700;
33
33
  -webkit-user-select: none;
@@ -35,23 +35,23 @@
35
35
  user-select: none;
36
36
  }
37
37
  .is--checked.vxe-custom--option, .is--indeterminate.vxe-custom--option {
38
- color: #409eff;
38
+ color: var(--vxe-primary-color);
39
39
  }
40
40
  .is--checked.vxe-custom--option .vxe-checkbox--icon, .is--indeterminate.vxe-custom--option .vxe-checkbox--icon {
41
- color: #409eff;
41
+ color: var(--vxe-primary-color);
42
42
  }
43
43
  .vxe-custom--option:not(.is--disabled) {
44
44
  cursor: pointer;
45
45
  }
46
46
  .vxe-custom--option:not(.is--disabled):hover .vxe-checkbox--icon {
47
- color: #409eff;
47
+ color: var(--vxe-primary-color);
48
48
  }
49
49
  .is--disabled.vxe-custom--option {
50
- color: #BFBFBF;
50
+ color: var(--vxe-disabled-color);
51
51
  cursor: not-allowed;
52
52
  }
53
53
  .is--disabled.vxe-custom--option .vxe-checkbox--icon {
54
- color: #dcdfe6;
54
+ color: var(--vxe-input-disabled-color);
55
55
  }
56
56
  .vxe-custom--option .vxe-checkbox--label {
57
57
  padding-left: 0.5em;
package/es/tools/log.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import GlobalConfig from '../v-x-e-table/src/conf';
2
2
  export function getLog(message, params) {
3
- return "[vxe-table v".concat("4.4.2-beta.0", "] ").concat(GlobalConfig.i18n(message, params));
3
+ return "[vxe-table v".concat("4.4.2-beta.1", "] ").concat(GlobalConfig.i18n(message, params));
4
4
  }
5
5
  function outLog(type) {
6
6
  return function (message, params) {
@@ -83,7 +83,7 @@ export var config = new VXETableConfig();
83
83
  export var v = 'v4';
84
84
  export var VXETable = {
85
85
  v: v,
86
- version: "4.4.2-beta.0",
86
+ version: "4.4.2-beta.1",
87
87
  setup: setup,
88
88
  interceptor: interceptor,
89
89
  renderer: renderer,
@@ -39,27 +39,27 @@
39
39
  font-feature-settings: "tnum";
40
40
  }
41
41
  .vxe-primary-color {
42
- color: #409eff;
42
+ color: var(--vxe-primary-color);
43
43
  }
44
44
 
45
45
  .vxe-success-color {
46
- color: #67c23a;
46
+ color: var(--vxe-success-color);
47
47
  }
48
48
 
49
49
  .vxe-info-color {
50
- color: #909399;
50
+ color: var(--vxe-info-color);
51
51
  }
52
52
 
53
53
  .vxe-warning-color {
54
- color: #e6a23c;
54
+ color: var(--vxe-warning-color);
55
55
  }
56
56
 
57
57
  .vxe-danger-color {
58
- color: #f56c6c;
58
+ color: var(--vxe-danger-color);
59
59
  }
60
60
 
61
61
  .vxe-perfect-color {
62
- color: #f8f8f9;
62
+ color: var(--vxe-table-header-background-color);
63
63
  }
64
64
 
65
65
  .vxe-row:after {
@@ -191,7 +191,7 @@
191
191
  font-size: 1.34em;
192
192
  }
193
193
  .vxe-checkbox .vxe-checkbox--icon {
194
- color: #dcdfe6;
194
+ color: var(--vxe-input-border-color);
195
195
  vertical-align: middle;
196
196
  font-weight: 700;
197
197
  -webkit-user-select: none;
@@ -199,23 +199,23 @@
199
199
  user-select: none;
200
200
  }
201
201
  .is--checked.vxe-checkbox, .is--indeterminate.vxe-checkbox {
202
- color: #409eff;
202
+ color: var(--vxe-primary-color);
203
203
  }
204
204
  .is--checked.vxe-checkbox .vxe-checkbox--icon, .is--indeterminate.vxe-checkbox .vxe-checkbox--icon {
205
- color: #409eff;
205
+ color: var(--vxe-primary-color);
206
206
  }
207
207
  .vxe-checkbox:not(.is--disabled) {
208
208
  cursor: pointer;
209
209
  }
210
210
  .vxe-checkbox:not(.is--disabled):hover .vxe-checkbox--icon {
211
- color: #409eff;
211
+ color: var(--vxe-primary-color);
212
212
  }
213
213
  .is--disabled.vxe-checkbox {
214
- color: #BFBFBF;
214
+ color: var(--vxe-disabled-color);
215
215
  cursor: not-allowed;
216
216
  }
217
217
  .is--disabled.vxe-checkbox .vxe-checkbox--icon {
218
- color: #dcdfe6;
218
+ color: var(--vxe-input-disabled-color);
219
219
  }
220
220
  .vxe-checkbox .vxe-checkbox--label {
221
221
  padding-left: 0.5em;
@@ -236,7 +236,7 @@
236
236
  }
237
237
  .vxe-form--item .vxe-default-input[type=submit],
238
238
  .vxe-form--item .vxe-default-input[type=reset] {
239
- line-height: var(--vxe-button-height-default)-2px;
239
+ line-height: calc(var(--vxe-button-height-default) - 2px);
240
240
  background-color: #fff;
241
241
  cursor: pointer;
242
242
  }
@@ -27,7 +27,7 @@
27
27
  font-size: 1.34em;
28
28
  }
29
29
  .vxe-export--panel-column-option .vxe-checkbox--icon {
30
- color: #dcdfe6;
30
+ color: var(--vxe-input-border-color);
31
31
  vertical-align: middle;
32
32
  font-weight: 700;
33
33
  -webkit-user-select: none;
@@ -35,23 +35,23 @@
35
35
  user-select: none;
36
36
  }
37
37
  .is--checked.vxe-export--panel-column-option, .is--indeterminate.vxe-export--panel-column-option {
38
- color: #409eff;
38
+ color: var(--vxe-primary-color);
39
39
  }
40
40
  .is--checked.vxe-export--panel-column-option .vxe-checkbox--icon, .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--icon {
41
- color: #409eff;
41
+ color: var(--vxe-primary-color);
42
42
  }
43
43
  .vxe-export--panel-column-option:not(.is--disabled) {
44
44
  cursor: pointer;
45
45
  }
46
46
  .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon {
47
- color: #409eff;
47
+ color: var(--vxe-primary-color);
48
48
  }
49
49
  .is--disabled.vxe-export--panel-column-option {
50
- color: #BFBFBF;
50
+ color: var(--vxe-disabled-color);
51
51
  cursor: not-allowed;
52
52
  }
53
53
  .is--disabled.vxe-export--panel-column-option .vxe-checkbox--icon {
54
- color: #dcdfe6;
54
+ color: var(--vxe-input-disabled-color);
55
55
  }
56
56
  .vxe-export--panel-column-option .vxe-checkbox--label {
57
57
  padding-left: 0.5em;
@@ -28,7 +28,7 @@
28
28
  font-size: 1.34em;
29
29
  }
30
30
  .vxe-table--filter-option .vxe-checkbox--icon {
31
- color: #dcdfe6;
31
+ color: var(--vxe-input-border-color);
32
32
  vertical-align: middle;
33
33
  font-weight: 700;
34
34
  -webkit-user-select: none;
@@ -36,23 +36,23 @@
36
36
  user-select: none;
37
37
  }
38
38
  .is--checked.vxe-table--filter-option, .is--indeterminate.vxe-table--filter-option {
39
- color: #409eff;
39
+ color: var(--vxe-primary-color);
40
40
  }
41
41
  .is--checked.vxe-table--filter-option .vxe-checkbox--icon, .is--indeterminate.vxe-table--filter-option .vxe-checkbox--icon {
42
- color: #409eff;
42
+ color: var(--vxe-primary-color);
43
43
  }
44
44
  .vxe-table--filter-option:not(.is--disabled) {
45
45
  cursor: pointer;
46
46
  }
47
47
  .vxe-table--filter-option:not(.is--disabled):hover .vxe-checkbox--icon {
48
- color: #409eff;
48
+ color: var(--vxe-primary-color);
49
49
  }
50
50
  .is--disabled.vxe-table--filter-option {
51
- color: #BFBFBF;
51
+ color: var(--vxe-disabled-color);
52
52
  cursor: not-allowed;
53
53
  }
54
54
  .is--disabled.vxe-table--filter-option .vxe-checkbox--icon {
55
- color: #dcdfe6;
55
+ color: var(--vxe-input-disabled-color);
56
56
  }
57
57
  .vxe-table--filter-option .vxe-checkbox--label {
58
58
  padding-left: 0.5em;
@@ -39,27 +39,27 @@
39
39
  font-feature-settings: "tnum";
40
40
  }
41
41
  .vxe-primary-color {
42
- color: #409eff;
42
+ color: var(--vxe-primary-color);
43
43
  }
44
44
 
45
45
  .vxe-success-color {
46
- color: #67c23a;
46
+ color: var(--vxe-success-color);
47
47
  }
48
48
 
49
49
  .vxe-info-color {
50
- color: #909399;
50
+ color: var(--vxe-info-color);
51
51
  }
52
52
 
53
53
  .vxe-warning-color {
54
- color: #e6a23c;
54
+ color: var(--vxe-warning-color);
55
55
  }
56
56
 
57
57
  .vxe-danger-color {
58
- color: #f56c6c;
58
+ color: var(--vxe-danger-color);
59
59
  }
60
60
 
61
61
  .vxe-perfect-color {
62
- color: #f8f8f9;
62
+ color: var(--vxe-table-header-background-color);
63
63
  }
64
64
 
65
65
  .vxe-row:after {
@@ -194,7 +194,7 @@
194
194
  font-size: 1.4em;
195
195
  }
196
196
  .vxe-radio .vxe-radio--icon {
197
- color: #dcdfe6;
197
+ color: var(--vxe-input-border-color);
198
198
  vertical-align: middle;
199
199
  font-weight: 700;
200
200
  -webkit-user-select: none;
@@ -202,23 +202,23 @@
202
202
  user-select: none;
203
203
  }
204
204
  .is--checked.vxe-radio {
205
- color: #409eff;
205
+ color: var(--vxe-primary-color);
206
206
  }
207
207
  .is--checked.vxe-radio .vxe-radio--icon {
208
- color: #409eff;
208
+ color: var(--vxe-primary-color);
209
209
  }
210
210
  .vxe-radio:not(.is--disabled) {
211
211
  cursor: pointer;
212
212
  }
213
213
  .vxe-radio:not(.is--disabled):hover .vxe-radio--icon {
214
- color: #409eff;
214
+ color: var(--vxe-primary-color);
215
215
  }
216
216
  .is--disabled.vxe-radio {
217
- color: #BFBFBF;
217
+ color: var(--vxe-disabled-color);
218
218
  cursor: not-allowed;
219
219
  }
220
220
  .is--disabled.vxe-radio .vxe-radio--icon {
221
- color: #dcdfe6;
221
+ color: var(--vxe-input-disabled-color);
222
222
  }
223
223
  .vxe-radio .vxe-radio--label {
224
224
  padding-left: 0.5em;
@@ -281,7 +281,7 @@
281
281
  }
282
282
  .vxe-radio-button .vxe-radio--label {
283
283
  padding: 0 1em;
284
- line-height: var(--vxe-button-height-default)-2;
284
+ line-height: calc(var(--vxe-button-height-default) - 2px);
285
285
  display: inline-block;
286
286
  border-style: solid;
287
287
  border-color: var(--vxe-input-border-color);
@@ -306,13 +306,13 @@
306
306
  color: var(--vxe-primary-color);
307
307
  }
308
308
  .vxe-radio-button.size--medium .vxe-radio--label {
309
- line-height: var(--vxe-button-height-medium)-2;
309
+ line-height: calc(var(--vxe-button-height-medium) - 2px);
310
310
  }
311
311
  .vxe-radio-button.size--small .vxe-radio--label {
312
- line-height: var(--vxe-button-height-small)-2;
312
+ line-height: calc(var(--vxe-button-height-small) - 2px);
313
313
  }
314
314
  .vxe-radio-button.size--mini .vxe-radio--label {
315
- line-height: var(--vxe-button-height-mini)-2;
315
+ line-height: calc(var(--vxe-button-height-mini) - 2px);
316
316
  }
317
317
 
318
318
  .vxe-radio {