vxe-table 4.4.1 → 4.4.2-beta.1

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 (212) hide show
  1. package/es/button/style.css +27 -27
  2. package/es/checkbox/style.css +11 -11
  3. package/es/export/style.css +12 -12
  4. package/es/filter/style.css +13 -13
  5. package/es/form/style.css +33 -33
  6. package/es/grid/style.css +8 -8
  7. package/es/icon/style.css +10 -10
  8. package/es/input/style.css +82 -82
  9. package/es/list/style.css +1 -1
  10. package/es/loading/style.css +3 -3
  11. package/es/menu/style.css +7 -7
  12. package/es/modal/style.css +20 -20
  13. package/es/pager/style.css +31 -31
  14. package/es/pulldown/style.css +7 -7
  15. package/es/radio/style.css +20 -20
  16. package/es/select/style.css +23 -23
  17. package/es/style.css +1 -1
  18. package/es/style.min.css +1 -1
  19. package/es/switch/style.css +11 -11
  20. package/es/table/src/body.js +1 -1
  21. package/es/table/src/table.js +1 -1
  22. package/es/table/style.css +118 -118
  23. package/es/textarea/style.css +23 -23
  24. package/es/toolbar/style.css +20 -20
  25. package/es/tools/log.js +1 -1
  26. package/es/tooltip/style.css +17 -17
  27. package/es/v-x-e-table/index.js +1 -1
  28. package/es/v-x-e-table/style.css +12 -12
  29. package/es/vxe-button/style.css +27 -27
  30. package/es/vxe-checkbox/style.css +11 -11
  31. package/es/vxe-form/style.css +33 -33
  32. package/es/vxe-grid/style.css +8 -8
  33. package/es/vxe-icon/style.css +9 -9
  34. package/es/vxe-input/style.css +82 -82
  35. package/es/vxe-list/style.css +1 -1
  36. package/es/vxe-loading/style.css +3 -3
  37. package/es/vxe-modal/style.css +20 -20
  38. package/es/vxe-module-export/style.css +12 -12
  39. package/es/vxe-module-filter/style.css +13 -13
  40. package/es/vxe-module-menu/style.css +7 -7
  41. package/es/vxe-pager/style.css +31 -31
  42. package/es/vxe-pulldown/style.css +7 -7
  43. package/es/vxe-radio/style.css +20 -20
  44. package/es/vxe-select/style.css +23 -23
  45. package/es/vxe-switch/style.css +11 -11
  46. package/es/vxe-table/style.css +118 -118
  47. package/es/vxe-textarea/style.css +23 -23
  48. package/es/vxe-toolbar/style.css +20 -20
  49. package/es/vxe-tooltip/style.css +17 -17
  50. package/lib/button/style/style.css +27 -27
  51. package/lib/button/style/style.min.css +1 -1
  52. package/lib/checkbox/style/style.css +11 -11
  53. package/lib/checkbox/style/style.min.css +1 -1
  54. package/lib/export/style/style.css +12 -12
  55. package/lib/export/style/style.min.css +1 -1
  56. package/lib/filter/style/style.css +13 -13
  57. package/lib/filter/style/style.min.css +1 -1
  58. package/lib/form/style/style.css +33 -33
  59. package/lib/form/style/style.min.css +1 -1
  60. package/lib/grid/style/style.css +8 -8
  61. package/lib/grid/style/style.min.css +1 -1
  62. package/lib/icon/style/style.css +10 -10
  63. package/lib/icon/style/style.min.css +10 -10
  64. package/lib/index.umd.js +8 -4
  65. package/lib/index.umd.min.js +1 -1
  66. package/lib/input/style/style.css +82 -82
  67. package/lib/input/style/style.min.css +1 -1
  68. package/lib/list/style/style.css +1 -1
  69. package/lib/list/style/style.min.css +1 -1
  70. package/lib/loading/style/style.css +3 -3
  71. package/lib/loading/style/style.min.css +1 -1
  72. package/lib/menu/style/style.css +7 -7
  73. package/lib/menu/style/style.min.css +1 -1
  74. package/lib/modal/style/style.css +20 -20
  75. package/lib/modal/style/style.min.css +1 -1
  76. package/lib/pager/style/style.css +31 -31
  77. package/lib/pager/style/style.min.css +1 -1
  78. package/lib/pulldown/style/style.css +7 -7
  79. package/lib/pulldown/style/style.min.css +1 -1
  80. package/lib/radio/style/style.css +20 -20
  81. package/lib/radio/style/style.min.css +1 -1
  82. package/lib/select/style/style.css +23 -23
  83. package/lib/select/style/style.min.css +1 -1
  84. package/lib/style.css +1 -1
  85. package/lib/style.min.css +1 -1
  86. package/lib/switch/style/style.css +11 -11
  87. package/lib/switch/style/style.min.css +1 -1
  88. package/lib/table/src/body.js +2 -1
  89. package/lib/table/src/body.min.js +1 -1
  90. package/lib/table/src/table.js +4 -1
  91. package/lib/table/src/table.min.js +1 -1
  92. package/lib/table/style/style.css +118 -118
  93. package/lib/table/style/style.min.css +1 -1
  94. package/lib/textarea/style/style.css +23 -23
  95. package/lib/textarea/style/style.min.css +1 -1
  96. package/lib/toolbar/style/style.css +20 -20
  97. package/lib/toolbar/style/style.min.css +1 -1
  98. package/lib/tools/log.js +1 -1
  99. package/lib/tools/log.min.js +1 -1
  100. package/lib/tooltip/style/style.css +17 -17
  101. package/lib/tooltip/style/style.min.css +1 -1
  102. package/lib/v-x-e-table/index.js +1 -1
  103. package/lib/v-x-e-table/index.min.js +1 -1
  104. package/lib/v-x-e-table/style/style.css +12 -12
  105. package/lib/v-x-e-table/style/style.min.css +1 -1
  106. package/lib/vxe-button/style/style.css +27 -27
  107. package/lib/vxe-button/style/style.min.css +1 -1
  108. package/lib/vxe-checkbox/style/style.css +11 -11
  109. package/lib/vxe-checkbox/style/style.min.css +1 -1
  110. package/lib/vxe-form/style/style.css +33 -33
  111. package/lib/vxe-form/style/style.min.css +1 -1
  112. package/lib/vxe-grid/style/style.css +8 -8
  113. package/lib/vxe-grid/style/style.min.css +1 -1
  114. package/lib/vxe-icon/style/style.css +9 -9
  115. package/lib/vxe-icon/style/style.min.css +1 -1
  116. package/lib/vxe-input/style/style.css +82 -82
  117. package/lib/vxe-input/style/style.min.css +1 -1
  118. package/lib/vxe-list/style/style.css +1 -1
  119. package/lib/vxe-list/style/style.min.css +1 -1
  120. package/lib/vxe-loading/style/style.css +3 -3
  121. package/lib/vxe-loading/style/style.min.css +1 -1
  122. package/lib/vxe-modal/style/style.css +20 -20
  123. package/lib/vxe-modal/style/style.min.css +1 -1
  124. package/lib/vxe-module-export/style/style.css +12 -12
  125. package/lib/vxe-module-export/style/style.min.css +1 -1
  126. package/lib/vxe-module-filter/style/style.css +13 -13
  127. package/lib/vxe-module-filter/style/style.min.css +1 -1
  128. package/lib/vxe-module-menu/style/style.css +7 -7
  129. package/lib/vxe-module-menu/style/style.min.css +1 -1
  130. package/lib/vxe-pager/style/style.css +31 -31
  131. package/lib/vxe-pager/style/style.min.css +1 -1
  132. package/lib/vxe-pulldown/style/style.css +7 -7
  133. package/lib/vxe-pulldown/style/style.min.css +1 -1
  134. package/lib/vxe-radio/style/style.css +20 -20
  135. package/lib/vxe-radio/style/style.min.css +1 -1
  136. package/lib/vxe-select/style/style.css +23 -23
  137. package/lib/vxe-select/style/style.min.css +1 -1
  138. package/lib/vxe-switch/style/style.css +11 -11
  139. package/lib/vxe-switch/style/style.min.css +1 -1
  140. package/lib/vxe-table/style/style.css +118 -118
  141. package/lib/vxe-table/style/style.min.css +1 -1
  142. package/lib/vxe-textarea/style/style.css +23 -23
  143. package/lib/vxe-textarea/style/style.min.css +1 -1
  144. package/lib/vxe-toolbar/style/style.css +20 -20
  145. package/lib/vxe-toolbar/style/style.min.css +1 -1
  146. package/lib/vxe-tooltip/style/style.css +17 -17
  147. package/lib/vxe-tooltip/style/style.min.css +1 -1
  148. package/package.json +2 -2
  149. package/packages/table/src/body.ts +1 -1
  150. package/packages/table/src/table.ts +1 -1
  151. package/styles/button.scss +27 -27
  152. package/styles/checkbox.scss +11 -11
  153. package/styles/cssvar.scss +257 -0
  154. package/styles/export.scss +12 -12
  155. package/styles/filter.scss +13 -13
  156. package/styles/form.scss +31 -31
  157. package/styles/grid.scss +8 -8
  158. package/styles/input.scss +75 -75
  159. package/styles/list.scss +1 -1
  160. package/styles/loading.scss +3 -3
  161. package/styles/menu.scss +7 -7
  162. package/styles/modal.scss +20 -20
  163. package/styles/modules.scss +1 -0
  164. package/styles/old-icon.scss +9 -9
  165. package/styles/pager.scss +31 -31
  166. package/styles/pulldown.scss +7 -7
  167. package/styles/radio.scss +20 -20
  168. package/styles/select.scss +23 -23
  169. package/styles/switch.scss +11 -11
  170. package/styles/table.scss +126 -126
  171. package/styles/textarea.scss +22 -22
  172. package/styles/toolbar.scss +20 -20
  173. package/styles/tooltip.scss +17 -17
  174. package/types/button.d.ts +23 -2
  175. package/types/checkbox-group.d.ts +11 -2
  176. package/types/checkbox.d.ts +11 -2
  177. package/types/colgroup.d.ts +19 -3
  178. package/types/column.d.ts +142 -61
  179. package/types/component.d.ts +7 -2
  180. package/types/form-gather.d.ts +10 -1
  181. package/types/form-item.d.ts +16 -1
  182. package/types/form.d.ts +10 -1
  183. package/types/grid.d.ts +72 -2
  184. package/types/index.d.ts +1 -1
  185. package/types/input.d.ts +11 -2
  186. package/types/list.d.ts +11 -2
  187. package/types/modal.d.ts +40 -2
  188. package/types/optgroup.d.ts +10 -1
  189. package/types/option.d.ts +10 -1
  190. package/types/pager.d.ts +17 -2
  191. package/types/pulldown.d.ts +26 -9
  192. package/types/radio-button.d.ts +11 -2
  193. package/types/radio-group.d.ts +11 -2
  194. package/types/radio.d.ts +11 -2
  195. package/types/select.d.ts +11 -2
  196. package/types/switch.d.ts +11 -2
  197. package/types/table.d.ts +20 -3
  198. package/types/textarea.d.ts +11 -2
  199. package/types/toolbar.d.ts +17 -2
  200. package/types/tooltip.d.ts +11 -2
  201. /package/es/icon/style/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
  202. /package/es/icon/style/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
  203. /package/es/icon/style/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
  204. /package/es/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
  205. /package/es/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
  206. /package/es/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
  207. /package/lib/icon/style/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
  208. /package/lib/icon/style/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
  209. /package/lib/icon/style/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
  210. /package/lib/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
  211. /package/lib/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
  212. /package/lib/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
@@ -35,36 +35,36 @@
35
35
  }
36
36
 
37
37
  .vxe-textarea--inner {
38
- border-radius: 4px;
38
+ border-radius: var(--vxe-border-radius);
39
39
  outline: 0;
40
40
  font-size: inherit;
41
41
  padding: 0 0.6em;
42
- color: #606266;
42
+ color: var(--vxe-font-color);
43
43
  line-height: inherit;
44
- border: 1px solid #dcdfe6;
45
- background-color: #fff;
44
+ border: 1px solid var(--vxe-input-border-color);
45
+ background-color: var(--vxe-textarea-background-color);
46
46
  display: block;
47
47
  padding: 0.3em 0.6em;
48
48
  }
49
49
  .vxe-textarea--inner::-moz-placeholder {
50
- color: #C0C4CC;
50
+ color: var(--vxe-input-placeholder-color);
51
51
  }
52
52
  .vxe-textarea--inner::placeholder {
53
- color: #C0C4CC;
53
+ color: var(--vxe-input-placeholder-color);
54
54
  }
55
55
  .vxe-textarea--inner:focus {
56
- border: 1px solid #409eff;
56
+ border: 1px solid var(--vxe-primary-color);
57
57
  }
58
58
  .vxe-textarea--inner[disabled] {
59
59
  cursor: not-allowed;
60
- background-color: #f3f3f3;
60
+ background-color: var(--vxe-input-disabled-background-color);
61
61
  }
62
62
 
63
63
  .vxe-textarea--inner,
64
64
  .vxe-textarea--autosize {
65
- line-height: 1.5715;
66
- color: #606266;
67
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
65
+ line-height: var(--vxe-textarea-line-height);
66
+ color: var(--vxe-font-color);
67
+ font-family: var(--vxe-font-family);
68
68
  }
69
69
 
70
70
  .vxe-textarea--autosize {
@@ -86,42 +86,42 @@
86
86
  bottom: 0.2em;
87
87
  right: 1.4em;
88
88
  padding-left: 0.2em;
89
- color: #999;
90
- background-color: #fff;
89
+ color: var(--vxe-textarea-count-color);
90
+ background-color: var(--vxe-textarea-count-background-color);
91
91
  }
92
92
  .vxe-textarea--count.is--error {
93
- color: #f56c6c;
93
+ color: var(--vxe-textarea-count-error-color);
94
94
  }
95
95
 
96
96
  .vxe-textarea,
97
97
  .vxe-textarea--autosize {
98
- font-size: 14px;
98
+ font-size: var(--vxe-font-size);
99
99
  }
100
100
  .vxe-textarea.size--medium,
101
101
  .vxe-textarea--autosize.size--medium {
102
- font-size: 14px;
102
+ font-size: var(--vxe-font-size-medium);
103
103
  }
104
104
  .vxe-textarea.size--small,
105
105
  .vxe-textarea--autosize.size--small {
106
- font-size: 13px;
106
+ font-size: var(--vxe-font-size-small);
107
107
  }
108
108
  .vxe-textarea.size--mini,
109
109
  .vxe-textarea--autosize.size--mini {
110
- font-size: 12px;
110
+ font-size: var(--vxe-font-size-mini);
111
111
  }
112
112
 
113
113
  .vxe-textarea:not(.is--autosize) {
114
- min-height: 34px;
114
+ min-height: var(--vxe-input-height-default);
115
115
  }
116
116
  .vxe-textarea.size--medium {
117
- font-size: 14px;
117
+ font-size: var(--vxe-font-size-medium);
118
118
  }
119
119
  .vxe-textarea.size--medium:not(.is--autosize) {
120
- min-height: 32px;
120
+ min-height: var(--vxe-input-height-medium);
121
121
  }
122
122
  .vxe-textarea.size--small:not(.is--autosize) {
123
- min-height: 30px;
123
+ min-height: var(--vxe-input-height-small);
124
124
  }
125
125
  .vxe-textarea.size--mini:not(.is--autosize) {
126
- min-height: 28px;
126
+ min-height: var(--vxe-input-height-mini);
127
127
  }
@@ -65,9 +65,9 @@
65
65
  flex-direction: row;
66
66
  align-items: center;
67
67
  padding: 0.6em 0;
68
- color: #606266;
69
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
70
- background-color: #fff;
68
+ color: var(--vxe-font-color);
69
+ font-family: var(--vxe-font-family);
70
+ background-color: var(--vxe-toolbar-background-color);
71
71
  }
72
72
  .vxe-toolbar:after {
73
73
  content: "";
@@ -78,9 +78,9 @@
78
78
  visibility: hidden;
79
79
  }
80
80
  .vxe-toolbar.is--perfect {
81
- border: 1px solid #e8eaec;
81
+ border: 1px solid var(--vxe-table-border-color);
82
82
  border-bottom-width: 0;
83
- background-color: #f8f8f9;
83
+ background-color: var(--vxe-table-header-background-color);
84
84
  }
85
85
  .vxe-toolbar.is--loading:before {
86
86
  content: "";
@@ -89,11 +89,11 @@
89
89
  left: 0;
90
90
  width: 100%;
91
91
  height: 100%;
92
- z-index: 999;
92
+ z-index: var(--vxe-loading-z-index);
93
93
  -webkit-user-select: none;
94
94
  -moz-user-select: none;
95
95
  user-select: none;
96
- background-color: rgba(255, 255, 255, 0.5);
96
+ background-color: var(--vxe-loading-background-color);
97
97
  }
98
98
  .vxe-toolbar .vxe-buttons--wrapper {
99
99
  flex-grow: 1;
@@ -133,7 +133,7 @@
133
133
  margin-left: 0.8em;
134
134
  }
135
135
  .vxe-toolbar .vxe-custom--wrapper.is--active > .vxe-button {
136
- background-color: #D9DADB;
136
+ background-color: var(--vxe-toolbar-custom-active-background-color);
137
137
  border-radius: 50%;
138
138
  }
139
139
  .vxe-toolbar .vxe-custom--wrapper.is--active .vxe-custom--option-wrapper {
@@ -144,23 +144,23 @@
144
144
  position: absolute;
145
145
  right: 2px;
146
146
  text-align: left;
147
- background-color: #fff;
147
+ background-color: var(--vxe-toolbar-panel-background-color);
148
148
  z-index: 19;
149
- border: 1px solid #e8eaec;
150
- border-radius: 4px;
149
+ border: 1px solid var(--vxe-table-border-color);
150
+ border-radius: var(--vxe-border-radius);
151
151
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
152
152
  }
153
153
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header {
154
154
  padding: 0.28em 0;
155
155
  font-weight: 700;
156
- border-bottom: 1px solid #DADCE0;
156
+ border-bottom: 1px solid var(--vxe-table-popup-border-color);
157
157
  }
158
158
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body {
159
159
  padding: 0.2em 0;
160
160
  max-height: 17.6em;
161
161
  }
162
162
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body .vxe-custom--option:hover {
163
- background-color: #f5f7fa;
163
+ background-color: var(--vxe-table-row-hover-background-color);
164
164
  }
165
165
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li,
166
166
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li {
@@ -225,7 +225,7 @@
225
225
  left: 7.8em;
226
226
  }
227
227
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer {
228
- border-top: 1px solid #DADCE0;
228
+ border-top: 1px solid var(--vxe-table-popup-border-color);
229
229
  text-align: right;
230
230
  }
231
231
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button {
@@ -233,7 +233,7 @@
233
233
  width: 50%;
234
234
  height: 2.5em;
235
235
  border: 0;
236
- color: #606266;
236
+ color: var(--vxe-font-color);
237
237
  text-align: center;
238
238
  cursor: pointer;
239
239
  }
@@ -241,7 +241,7 @@
241
241
  outline: none;
242
242
  }
243
243
  .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:hover {
244
- color: #409eff;
244
+ color: var(--vxe-primary-color);
245
245
  }
246
246
 
247
247
  .vxe-custom--option-wrapper .vxe-custom--header,
@@ -263,14 +263,14 @@
263
263
  }
264
264
 
265
265
  .vxe-toolbar {
266
- font-size: 14px;
266
+ font-size: var(--vxe-font-size);
267
267
  }
268
268
  .vxe-toolbar.size--medium {
269
- font-size: 14px;
269
+ font-size: var(--vxe-font-size-medium);
270
270
  }
271
271
  .vxe-toolbar.size--small {
272
- font-size: 13px;
272
+ font-size: var(--vxe-font-size-small);
273
273
  }
274
274
  .vxe-toolbar.size--mini {
275
- font-size: 12px;
275
+ font-size: var(--vxe-font-size-mini);
276
276
  }
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.0", "] ").concat(GlobalConfig.i18n(message, params));
3
+ return "[vxe-table v".concat("4.4.2-beta.0", "] ").concat(GlobalConfig.i18n(message, params));
4
4
  }
5
5
  function outLog(type) {
6
6
  return function (message, params) {
@@ -31,13 +31,13 @@
31
31
  left: -100%;
32
32
  font-size: 12px;
33
33
  max-width: 600px;
34
- border-radius: 4px;
34
+ border-radius: var(--vxe-border-radius);
35
35
  padding: 8px 12px;
36
36
  white-space: normal;
37
37
  word-break: break-word;
38
38
  box-shadow: 2px 2px 4px -2px rgba(0, 0, 0, 0.2);
39
- color: #606266;
40
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
39
+ color: var(--vxe-font-color);
40
+ font-family: var(--vxe-font-family);
41
41
  }
42
42
  .vxe-table--tooltip-wrapper:not(.is--enterable) {
43
43
  pointer-events: none;
@@ -96,40 +96,40 @@
96
96
  }
97
97
 
98
98
  .vxe-table--tooltip-wrapper.theme--light {
99
- background-color: #fff;
100
- border: 1px solid #dcdfe6;
99
+ background-color: var(--vxe-tooltip-light-background-color);
100
+ border: 1px solid var(--vxe-input-border-color);
101
101
  }
102
102
  .vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow {
103
- border-top-color: #dcdfe6;
103
+ border-top-color: var(--vxe-input-border-color);
104
104
  }
105
105
  .vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow:before {
106
- border-top-color: #fff;
106
+ border-top-color: var(--vxe-tooltip-light-background-color);
107
107
  }
108
108
  .vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow {
109
- border-bottom-color: #dcdfe6;
109
+ border-bottom-color: var(--vxe-input-border-color);
110
110
  }
111
111
  .vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow:before {
112
- border-bottom-color: #fff;
112
+ border-bottom-color: var(--vxe-tooltip-light-background-color);
113
113
  }
114
114
  .vxe-table--tooltip-wrapper.theme--dark {
115
- background: #303133;
116
- color: #fff;
115
+ background: var(--vxe-tooltip-dark-background-color);
116
+ color: var(--vxe-tooltip-dark-color);
117
117
  }
118
118
  .vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow {
119
- border-top-color: #303133;
119
+ border-top-color: var(--vxe-tooltip-dark-background-color);
120
120
  }
121
121
  .vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow:before {
122
- border-top-color: #303133;
122
+ border-top-color: var(--vxe-tooltip-dark-background-color);
123
123
  }
124
124
  .vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow {
125
- border-bottom-color: #303133;
125
+ border-bottom-color: var(--vxe-tooltip-dark-background-color);
126
126
  }
127
127
  .vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow:before {
128
- border-bottom-color: #303133;
128
+ border-bottom-color: var(--vxe-tooltip-dark-background-color);
129
129
  }
130
130
 
131
131
  /*valid error*/
132
132
  .vxe-table--tooltip-wrapper.vxe-table--valid-error {
133
- background-color: #f56c6c;
134
- color: #fff;
133
+ background-color: var(--vxe-tooltip-validate-error-background-color);
134
+ color: var(--vxe-tooltip-validate-error-color);
135
135
  }
@@ -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.0",
86
+ version: "4.4.2-beta.0",
87
87
  setup: setup,
88
88
  interceptor: interceptor,
89
89
  renderer: renderer,
@@ -54,7 +54,7 @@
54
54
  vertical-align: middle;
55
55
  position: relative;
56
56
  direction: ltr;
57
- font-family: Verdana, Arial, Tahoma;
57
+ font-family: var(--vxe-icon-font-family);
58
58
  font-weight: normal;
59
59
  -webkit-user-select: none;
60
60
  -moz-user-select: none;
@@ -100,7 +100,7 @@
100
100
  border-width: 0.1em;
101
101
  border-style: solid;
102
102
  border-color: inherit;
103
- background-color: #fff;
103
+ background-color: var(--vxe-icon-background-color);
104
104
  }
105
105
  .vxe-icon--zoomin:before, .vxe-icon--zoomin:after {
106
106
  background-color: inherit;
@@ -138,7 +138,7 @@
138
138
  border-width: 0.1em;
139
139
  border-style: solid;
140
140
  border-color: inherit;
141
- background-color: #fff;
141
+ background-color: var(--vxe-icon-background-color);
142
142
  }
143
143
 
144
144
  .vxe-icon--menu:before {
@@ -390,7 +390,7 @@
390
390
  bottom: 0;
391
391
  width: 100%;
392
392
  text-align: center;
393
- color: #fff;
393
+ color: var(--vxe-icon-background-color);
394
394
  transform: rotate(-10deg) scale(0.75);
395
395
  }
396
396
 
@@ -410,7 +410,7 @@
410
410
  content: "✓";
411
411
  left: 0.25em;
412
412
  bottom: 0;
413
- color: #fff;
413
+ color: var(--vxe-icon-background-color);
414
414
  font-size: 0.65em;
415
415
  }
416
416
 
@@ -420,7 +420,7 @@
420
420
  bottom: 0;
421
421
  width: 100%;
422
422
  text-align: center;
423
- color: #fff;
423
+ color: var(--vxe-icon-background-color);
424
424
  line-height: 1.4em;
425
425
  font-size: 0.8em;
426
426
  }
@@ -432,7 +432,7 @@
432
432
  width: 100%;
433
433
  text-align: center;
434
434
  line-height: 1.5em;
435
- color: #fff;
435
+ color: var(--vxe-icon-background-color);
436
436
  font-size: 0.7em;
437
437
  }
438
438
 
@@ -443,7 +443,7 @@
443
443
  width: 100%;
444
444
  line-height: 1.4em;
445
445
  text-align: center;
446
- color: #fff;
446
+ color: var(--vxe-icon-background-color);
447
447
  font-size: 0.8em;
448
448
  }
449
449
 
@@ -563,7 +563,7 @@
563
563
  left: 0.2em;
564
564
  bottom: -0.2em;
565
565
  box-shadow: inset 0 0 0 0.1em;
566
- background-color: #fff;
566
+ background-color: var(--vxe-icon-background-color);
567
567
  }
568
568
 
569
569
  .vxe-icon--search:before {
@@ -1320,7 +1320,7 @@
1320
1320
  -webkit-user-select: none;
1321
1321
  -moz-user-select: none;
1322
1322
  user-select: none;
1323
- background-color: rgba(255, 255, 255, 0.5);
1323
+ background-color: var(--vxe-loading-background-color);
1324
1324
  }
1325
1325
  .vxe-loading.is--visible {
1326
1326
  display: block;
@@ -1332,7 +1332,7 @@
1332
1332
  left: 0;
1333
1333
  transform: translateY(-50%);
1334
1334
  text-align: center;
1335
- color: #409eff;
1335
+ color: var(--vxe-loading-color);
1336
1336
  }
1337
1337
  .vxe-loading .vxe-loading--default-icon {
1338
1338
  font-size: 1.4em;
@@ -1351,7 +1351,7 @@
1351
1351
  width: 100%;
1352
1352
  height: 100%;
1353
1353
  border-radius: 50%;
1354
- background-color: #409eff;
1354
+ background-color: var(--vxe-primary-color);
1355
1355
  opacity: 0.6;
1356
1356
  position: absolute;
1357
1357
  top: 0;
@@ -26,10 +26,10 @@
26
26
  .vxe-button {
27
27
  position: relative;
28
28
  text-align: center;
29
- background-color: #fff;
29
+ background-color: var(--vxe-button-default-background-color);
30
30
  outline: 0;
31
- font-size: 14px;
32
- max-width: 500px;
31
+ font-size: var(--vxe-font-size);
32
+ max-width: var(--vxe-button-max-width);
33
33
  line-height: 1.5;
34
34
  overflow: hidden;
35
35
  text-overflow: ellipsis;
@@ -44,7 +44,7 @@
44
44
  transition: border 0.2s ease-in-out;
45
45
  }
46
46
  .vxe-button:not(.is--disabled) {
47
- color: #606266;
47
+ color: var(--vxe-font-color);
48
48
  cursor: pointer;
49
49
  }
50
50
  .vxe-button.is--loading {
@@ -62,7 +62,7 @@
62
62
  pointer-events: none;
63
63
  }
64
64
  .vxe-button.is--disabled {
65
- color: #BFBFBF;
65
+ color: var(--vxe-disabled-color);
66
66
  }
67
67
  .vxe-button.is--disabled:not(.is--loading) {
68
68
  cursor: no-drop;
@@ -153,19 +153,19 @@
153
153
  }
154
154
  .vxe-button.type--button {
155
155
  font-family: inherit;
156
- height: 34px;
156
+ height: var(--vxe-button-height-default);
157
157
  line-height: 1;
158
- border: 1px solid #dcdfe6;
158
+ border: 1px solid var(--vxe-input-border-color);
159
159
  }
160
160
  .vxe-button.type--button.is--round {
161
- border-radius: 17px;
161
+ border-radius: var(--vxe-button-round-border-radius-default);
162
162
  }
163
163
  .vxe-button.type--button:not(.is--round) {
164
- border-radius: 4px;
164
+ border-radius: var(--vxe-border-radius);
165
165
  }
166
166
  .vxe-button.type--button.is--circle {
167
167
  padding: 0 0.5em;
168
- min-width: 34px;
168
+ min-width: var(--vxe-button-height-default);
169
169
  border-radius: 50%;
170
170
  }
171
171
  .vxe-button.type--button:not(.is--circle) {
@@ -175,7 +175,7 @@
175
175
  color: #5faeff;
176
176
  }
177
177
  .vxe-button.type--button:not(.is--disabled):focus {
178
- border-color: #409eff;
178
+ border-color: var(--vxe-primary-color);
179
179
  }
180
180
  .vxe-button.type--button:not(.is--disabled):active {
181
181
  color: #3196ff;
@@ -333,52 +333,52 @@
333
333
  background-color: #f8f8f9;
334
334
  }
335
335
  .vxe-button.size--medium {
336
- font-size: 14px;
336
+ font-size: var(--vxe-font-size-medium);
337
337
  }
338
338
  .vxe-button.size--medium.type--button {
339
- height: 32px;
339
+ height: var(--vxe-button-height-medium);
340
340
  }
341
341
  .vxe-button.size--medium.type--button.is--circle {
342
- min-width: 32px;
342
+ min-width: var(--vxe-button-height-medium);
343
343
  }
344
344
  .vxe-button.size--medium.type--button.is--round {
345
- border-radius: 16px;
345
+ border-radius: var(--vxe-button-round-border-radius-medium);
346
346
  }
347
347
  .vxe-button.size--medium .vxe-button--loading-icon,
348
348
  .vxe-button.size--medium .vxe-button--icon {
349
- min-width: 14px;
349
+ min-width: var(--vxe-font-size-medium);
350
350
  }
351
351
  .vxe-button.size--small {
352
- font-size: 13px;
352
+ font-size: var(--vxe-font-size-small);
353
353
  }
354
354
  .vxe-button.size--small.type--button {
355
- height: 30px;
355
+ height: var(--vxe-button-height-small);
356
356
  }
357
357
  .vxe-button.size--small.type--button.is--circle {
358
- min-width: 30px;
358
+ min-width: var(--vxe-button-height-small);
359
359
  }
360
360
  .vxe-button.size--small.type--button.is--round {
361
- border-radius: 15px;
361
+ border-radius: var(--vxe-button-round-border-radius-small);
362
362
  }
363
363
  .vxe-button.size--small .vxe-button--loading-icon,
364
364
  .vxe-button.size--small .vxe-button--icon {
365
- min-width: 13px;
365
+ min-width: var(--vxe-font-size-small);
366
366
  }
367
367
  .vxe-button.size--mini {
368
- font-size: 12px;
368
+ font-size: var(--vxe-font-size-mini);
369
369
  }
370
370
  .vxe-button.size--mini.type--button {
371
- height: 28px;
371
+ height: var(--vxe-button-height-mini);
372
372
  }
373
373
  .vxe-button.size--mini.type--button.is--circle {
374
- min-width: 28px;
374
+ min-width: var(--vxe-button-height-mini);
375
375
  }
376
376
  .vxe-button.size--mini.type--button.is--round {
377
- border-radius: 14px;
377
+ border-radius: var(--vxe-button-round-border-radius-mini);
378
378
  }
379
379
  .vxe-button.size--mini .vxe-button--loading-icon,
380
380
  .vxe-button.size--mini .vxe-button--icon {
381
- min-width: 12px;
381
+ min-width: var(--vxe-font-size-mini);
382
382
  }
383
383
 
384
384
  .vxe-input + .vxe-button, .vxe-input + .vxe-button--dropdown,
@@ -389,7 +389,7 @@
389
389
 
390
390
  .vxe-button--loading-icon,
391
391
  .vxe-button--icon {
392
- min-width: 14px;
392
+ min-width: var(--vxe-font-size);
393
393
  }
394
394
  .vxe-button--loading-icon + .vxe-button--content,
395
395
  .vxe-button--icon + .vxe-button--content {
@@ -249,26 +249,26 @@
249
249
  appearance: none;
250
250
  }
251
251
  .vxe-checkbox.is--indeterminate > input:not(:checked) + .vxe-checkbox--icon {
252
- color: #409eff;
252
+ color: var(--vxe-primary-color);
253
253
  }
254
254
  .vxe-checkbox:not(.is--disabled) > input:focus + .vxe-checkbox--icon {
255
- color: #409eff;
256
- box-shadow: 0 0 0.2em 0 #409eff;
255
+ color: var(--vxe-primary-color);
256
+ box-shadow: 0 0 0.2em 0 var(--vxe-primary-color);
257
257
  }
258
258
  .vxe-checkbox:not(.is--disabled):hover > input + .vxe-checkbox--icon {
259
- border-color: #409eff;
259
+ border-color: var(--vxe-primary-color);
260
260
  }
261
261
  .vxe-checkbox.is--disabled {
262
262
  cursor: not-allowed;
263
263
  }
264
264
  .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon {
265
- color: #dcdfe6;
265
+ color: var(--vxe-input-disabled-color);
266
266
  }
267
267
  .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon + .vxe-checkbox--label {
268
- color: #BFBFBF;
268
+ color: var(--vxe-disabled-color);
269
269
  }
270
270
  .vxe-checkbox.is--disabled > input:checked + .vxe-checkbox--icon {
271
- color: #dcdfe6;
271
+ color: var(--vxe-input-disabled-color);
272
272
  }
273
273
  .vxe-checkbox .vxe-checkbox--label {
274
274
  padding-left: 0.5em;
@@ -278,14 +278,14 @@
278
278
  }
279
279
 
280
280
  .vxe-checkbox {
281
- font-size: 14px;
281
+ font-size: var(--vxe-font-size);
282
282
  }
283
283
  .vxe-checkbox.size--medium {
284
- font-size: 14px;
284
+ font-size: var(--vxe-font-size-medium);
285
285
  }
286
286
  .vxe-checkbox.size--small {
287
- font-size: 13px;
287
+ font-size: var(--vxe-font-size-small);
288
288
  }
289
289
  .vxe-checkbox.size--mini {
290
- font-size: 12px;
290
+ font-size: var(--vxe-font-size-mini);
291
291
  }