vxe-table 3.8.25 → 3.8.27
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-group/style/style.css +0 -26
- package/lib/checkbox-group/style/style.css +0 -26
- package/lib/colgroup/style/style.css +0 -26
- package/lib/column/style/style.css +0 -26
- package/lib/edit/style/style.css +0 -26
- package/lib/form-gather/style/style.css +0 -26
- package/lib/form-item/style/style.css +0 -26
- package/lib/icon/style/style.css +1 -27
- package/lib/icon/style/style.min.css +1 -27
- package/lib/index.css +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/keyboard/style/style.css +0 -26
- package/lib/optgroup/style/style.css +0 -26
- package/lib/option/style/style.css +0 -26
- package/lib/pulldown/style/style.css +0 -1
- package/lib/radio/style/style.css +1 -1
- package/lib/radio-button/style/style.css +0 -26
- package/lib/radio-group/style/style.css +0 -26
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/style/style.css +0 -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/lib/v-x-e-table/style/style.css +0 -28
- package/lib/validator/style/style.css +0 -26
- package/lib/vxe-button-group/style/style.css +0 -26
- package/lib/vxe-checkbox-group/style/style.css +0 -26
- package/lib/vxe-colgroup/style/style.css +0 -26
- package/lib/vxe-column/style/style.css +0 -26
- package/lib/vxe-form-gather/style/style.css +0 -26
- package/lib/vxe-form-item/style/style.css +0 -26
- package/lib/vxe-icon/style/style.css +0 -26
- package/lib/vxe-optgroup/style/style.css +0 -26
- package/lib/vxe-option/style/style.css +0 -26
- package/lib/vxe-pulldown/style/style.css +0 -1
- package/lib/vxe-radio/style/style.css +1 -1
- package/lib/vxe-radio-button/style/style.css +0 -26
- package/lib/vxe-radio-group/style/style.css +0 -26
- package/lib/vxe-table/style/style.css +0 -1
- package/lib/vxe-table-edit-module/style/style.css +0 -26
- package/lib/vxe-table-keyboard-module/style/style.css +0 -26
- package/lib/vxe-table-validator-module/style/style.css +0 -26
- package/package.json +4 -4
- package/styles/all.scss +31 -31
- package/styles/base/common.scss +10 -6
- package/styles/button-group.scss +0 -2
- package/styles/button.scss +39 -37
- package/styles/checkbox-group.scss +0 -1
- package/styles/checkbox.scss +4 -4
- package/styles/colgroup.scss +0 -1
- package/styles/column.scss +0 -1
- package/styles/css-variable.scss +1 -1
- package/styles/cssvar.scss +2 -2
- package/styles/custom.scss +4 -4
- package/styles/default.scss +1 -1
- package/styles/edit.scss +0 -1
- package/styles/export.scss +3 -3
- package/styles/filter.scss +3 -3
- package/styles/footer.scss +0 -1
- package/styles/form-gather.scss +0 -1
- package/styles/form-item.scss +0 -1
- package/styles/form.scss +5 -3
- package/styles/grid.scss +1 -1
- package/styles/header.scss +0 -1
- package/styles/helpers/{mixin.scss → baseMixin.scss} +2 -0
- package/styles/icon.scss +8 -6
- package/styles/index.scss +2 -2
- package/styles/input.scss +20 -19
- package/styles/keyboard.scss +0 -1
- package/styles/list.scss +1 -1
- package/styles/loading.scss +1 -1
- package/styles/menu.scss +1 -1
- package/styles/modal.scss +4 -4
- package/styles/modules.scss +31 -31
- package/styles/old-icon.scss +2 -2
- package/styles/optgroup.scss +0 -1
- package/styles/option.scss +0 -1
- package/styles/pager.scss +2 -2
- package/styles/pulldown.scss +2 -3
- package/styles/radio-button.scss +0 -1
- package/styles/radio-group.scss +0 -1
- package/styles/radio.scss +4 -4
- package/styles/select.scss +3 -3
- package/styles/switch.scss +1 -1
- package/styles/table.scss +6 -6
- package/styles/textarea.scss +1 -1
- package/styles/toolbar.scss +2 -2
- package/styles/tooltip.scss +1 -1
- package/styles/v-x-e-table.scss +2 -3
- package/styles/validator.scss +0 -1
- package/styles/variable.scss +7 -2
- package/styles/vxe-table.scss +0 -1
- /package/lib/icon/style/{iconfont.1728875776495.ttf → iconfont.1729946335232.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1728875776495.woff → iconfont.1729946335232.woff} +0 -0
- /package/lib/icon/style/{iconfont.1728875776495.woff2 → iconfont.1729946335232.woff2} +0 -0
- /package/lib/{iconfont.1728875776495.ttf → iconfont.1729946335232.ttf} +0 -0
- /package/lib/{iconfont.1728875776495.woff → iconfont.1729946335232.woff} +0 -0
- /package/lib/{iconfont.1728875776495.woff2 → iconfont.1729946335232.woff2} +0 -0
package/styles/base/common.scss
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use '../variable.scss' as *;
|
|
3
|
+
@use '../helpers/baseMixin.scss';
|
|
4
|
+
|
|
1
5
|
%boxSizing {
|
|
2
6
|
box-sizing: border-box;
|
|
3
7
|
}
|
|
@@ -50,10 +54,10 @@
|
|
|
50
54
|
overflow: hidden;
|
|
51
55
|
visibility: hidden;
|
|
52
56
|
}
|
|
53
|
-
@for $index from 0 to length($spans) {
|
|
57
|
+
@for $index from 0 to list.length($spans) {
|
|
54
58
|
& > .vxe-col--#{$index + 1} {
|
|
55
59
|
float: left;
|
|
56
|
-
width: nth($spans, $index + 1);
|
|
60
|
+
width: list.nth($spans, $index + 1);
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
}
|
|
@@ -65,23 +69,23 @@
|
|
|
65
69
|
.vxe-filter--btn {
|
|
66
70
|
&:before,
|
|
67
71
|
&:after {
|
|
68
|
-
@include createAnimationTransition(border);
|
|
72
|
+
@include baseMixin.createAnimationTransition(border);
|
|
69
73
|
}
|
|
70
74
|
}
|
|
71
75
|
.vxe-input--wrapper {
|
|
72
76
|
.vxe-input {
|
|
73
|
-
@include createAnimationTransition(border);
|
|
77
|
+
@include baseMixin.createAnimationTransition(border);
|
|
74
78
|
}
|
|
75
79
|
}
|
|
76
80
|
.vxe-table--expand-btn,
|
|
77
81
|
.vxe-tree--node-btn {
|
|
78
|
-
@include createAnimationTransition(transform);
|
|
82
|
+
@include baseMixin.createAnimationTransition(transform);
|
|
79
83
|
}
|
|
80
84
|
.vxe-checkbox,
|
|
81
85
|
.vxe-radio {
|
|
82
86
|
> input {
|
|
83
87
|
&:checked+span {
|
|
84
|
-
@include createAnimationTransition(background-color);
|
|
88
|
+
@include baseMixin.createAnimationTransition(background-color);
|
|
85
89
|
}
|
|
86
90
|
}
|
|
87
91
|
}
|
package/styles/button-group.scss
CHANGED
package/styles/button.scss
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:list';
|
|
3
|
+
@use './variable.scss' as *;
|
|
4
|
+
@use './helpers/baseMixin.scss';
|
|
3
5
|
|
|
4
6
|
$btnThemeList: (
|
|
5
7
|
(
|
|
@@ -66,7 +68,7 @@ $btnThemeList: (
|
|
|
66
68
|
white-space: nowrap;
|
|
67
69
|
user-select: none;
|
|
68
70
|
appearance: none;
|
|
69
|
-
@include createAnimationTransition(border, .2s);
|
|
71
|
+
@include baseMixin.createAnimationTransition(border, .2s);
|
|
70
72
|
&.align--left {
|
|
71
73
|
text-align: left;
|
|
72
74
|
}
|
|
@@ -116,23 +118,23 @@ $btnThemeList: (
|
|
|
116
118
|
color: $vxe-primary-darken-color;
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
|
-
@for $index from 0 to length($btnThemeList) {
|
|
120
|
-
$item: nth($btnThemeList, $index + 1);
|
|
121
|
-
&.theme--#{map
|
|
122
|
-
color: map
|
|
121
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
122
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
123
|
+
&.theme--#{map.get($item, name)} {
|
|
124
|
+
color: map.get($item, textColor);
|
|
123
125
|
&:not(.is--disabled) {
|
|
124
126
|
&:focus {
|
|
125
|
-
color: map
|
|
127
|
+
color: map.get($item, btnDarkenColor);
|
|
126
128
|
}
|
|
127
129
|
&:hover {
|
|
128
|
-
color: map
|
|
130
|
+
color: map.get($item, btnLightenColor);
|
|
129
131
|
}
|
|
130
132
|
&:active {
|
|
131
|
-
color: map
|
|
133
|
+
color: map.get($item, btnDarkenColor);
|
|
132
134
|
}
|
|
133
135
|
}
|
|
134
136
|
&.is--disabled {
|
|
135
|
-
color: map
|
|
137
|
+
color: map.get($item, btnDisabledColor);
|
|
136
138
|
}
|
|
137
139
|
}
|
|
138
140
|
}
|
|
@@ -169,29 +171,29 @@ $btnThemeList: (
|
|
|
169
171
|
background-color: $vxe-button-default-background-color;
|
|
170
172
|
}
|
|
171
173
|
}
|
|
172
|
-
@for $index from 0 to length($btnThemeList) {
|
|
173
|
-
$item: nth($btnThemeList, $index + 1);
|
|
174
|
-
$textColor: map
|
|
175
|
-
$btnColor: map
|
|
176
|
-
&.theme--#{map
|
|
174
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
175
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
176
|
+
$textColor: map.get($item, textColor);
|
|
177
|
+
$btnColor: map.get($item, btnColor);
|
|
178
|
+
&.theme--#{map.get($item, name)} {
|
|
177
179
|
color: $btnColor;
|
|
178
180
|
&:not(.is--disabled) {
|
|
179
181
|
border-color: $textColor;
|
|
180
182
|
background-color: $textColor;
|
|
181
183
|
&:hover {
|
|
182
184
|
color: $btnColor;
|
|
183
|
-
background-color: map
|
|
184
|
-
border-color: map
|
|
185
|
+
background-color: map.get($item, btnLightenColor);
|
|
186
|
+
border-color: map.get($item, btnLightenColor);
|
|
185
187
|
}
|
|
186
188
|
&:active {
|
|
187
189
|
color: $btnColor;
|
|
188
|
-
background-color: map
|
|
189
|
-
border-color: map
|
|
190
|
+
background-color: map.get($item, btnDarkenColor);
|
|
191
|
+
border-color: map.get($item, btnDarkenColor);
|
|
190
192
|
}
|
|
191
193
|
}
|
|
192
194
|
&.is--disabled {
|
|
193
|
-
border-color: map
|
|
194
|
-
background-color: map
|
|
195
|
+
border-color: map.get($item, btnDisabledColor);
|
|
196
|
+
background-color: map.get($item, btnDisabledColor);
|
|
195
197
|
}
|
|
196
198
|
&.is--loading {
|
|
197
199
|
border-color: $textColor;
|
|
@@ -279,10 +281,10 @@ $btnThemeList: (
|
|
|
279
281
|
}
|
|
280
282
|
& > .vxe-button {
|
|
281
283
|
&.type--button {
|
|
282
|
-
@for $index from 0 to length($btnThemeList) {
|
|
283
|
-
$item: nth($btnThemeList, $index + 1);
|
|
284
|
-
$btnColor: map
|
|
285
|
-
&.theme--#{map
|
|
284
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
285
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
286
|
+
$btnColor: map.get($item, btnColor);
|
|
287
|
+
&.theme--#{map.get($item, name)} {
|
|
286
288
|
color: $btnColor;
|
|
287
289
|
}
|
|
288
290
|
}
|
|
@@ -294,20 +296,20 @@ $btnThemeList: (
|
|
|
294
296
|
color: $vxe-primary-lighten-color;
|
|
295
297
|
}
|
|
296
298
|
&.type--text {
|
|
297
|
-
@for $index from 0 to length($btnThemeList) {
|
|
298
|
-
$item: nth($btnThemeList, $index + 1);
|
|
299
|
-
&.theme--#{map
|
|
300
|
-
color: map
|
|
299
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
300
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
301
|
+
&.theme--#{map.get($item, name)} {
|
|
302
|
+
color: map.get($item, btnLightenColor);
|
|
301
303
|
}
|
|
302
304
|
}
|
|
303
305
|
}
|
|
304
306
|
&.type--button {
|
|
305
|
-
@for $index from 0 to length($btnThemeList) {
|
|
306
|
-
$item: nth($btnThemeList, $index + 1);
|
|
307
|
-
&.theme--#{map
|
|
308
|
-
color: map
|
|
309
|
-
background-color: map
|
|
310
|
-
border-color: map
|
|
307
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
308
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
309
|
+
&.theme--#{map.get($item, name)} {
|
|
310
|
+
color: map.get($item, btnColor);
|
|
311
|
+
background-color: map.get($item, btnLightenColor);
|
|
312
|
+
border-color: map.get($item, btnLightenColor);
|
|
311
313
|
}
|
|
312
314
|
}
|
|
313
315
|
}
|
|
@@ -322,7 +324,7 @@ $btnThemeList: (
|
|
|
322
324
|
display: inline-block;
|
|
323
325
|
font-size: 12px;
|
|
324
326
|
margin-left: 4px;
|
|
325
|
-
@include createAnimationTransition(transform, .2s);
|
|
327
|
+
@include baseMixin.createAnimationTransition(transform, .2s);
|
|
326
328
|
}
|
|
327
329
|
|
|
328
330
|
.vxe-button--dropdown-panel {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/checkbox.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use './variable.scss' as *;
|
|
2
|
+
@use './helpers/baseMixin.scss';
|
|
3
|
+
@use './base/common.scss';
|
|
4
4
|
|
|
5
5
|
/*checkbox-group*/
|
|
6
6
|
.vxe-checkbox-group {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
vertical-align: middle;
|
|
16
16
|
white-space: nowrap;
|
|
17
17
|
line-height: 1;
|
|
18
|
-
@include createCheckboxIcon();
|
|
18
|
+
@include baseMixin.createCheckboxIcon();
|
|
19
19
|
&+.vxe-checkbox {
|
|
20
20
|
margin-left: 10px;
|
|
21
21
|
}
|
package/styles/colgroup.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/column.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/css-variable.scss
CHANGED
package/styles/cssvar.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
1
|
+
@use './variable.scss';
|
|
2
|
+
@use './css-variable.scss';
|
package/styles/custom.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use './variable.scss' as *;
|
|
2
|
+
@use './helpers/baseMixin.scss';
|
|
3
|
+
@use './base/common.scss';
|
|
4
4
|
|
|
5
5
|
.vxe-table-custom--option {
|
|
6
6
|
position: relative;
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.vxe-table-custom--checkbox-option {
|
|
156
|
-
@include createCheckboxIcon();
|
|
156
|
+
@include baseMixin.createCheckboxIcon();
|
|
157
157
|
}
|
|
158
158
|
.vxe-table-custom--checkbox-option,
|
|
159
159
|
.vxe-table-custom--sort-option {
|
package/styles/default.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use './modules.scss';
|
package/styles/edit.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/export.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
1
|
+
@use './variable.scss' as *;
|
|
2
|
+
@use './helpers/baseMixin.scss';
|
|
3
3
|
|
|
4
4
|
.vxe-export--panel-column > ul {
|
|
5
5
|
list-style-type: none;
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.vxe-export--panel-column-option {
|
|
125
|
-
@include createCheckboxIcon();
|
|
125
|
+
@include baseMixin.createCheckboxIcon();
|
|
126
126
|
}
|
package/styles/filter.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
1
|
+
@use './variable.scss' as *;
|
|
2
|
+
@use './helpers/baseMixin.scss';
|
|
3
3
|
|
|
4
4
|
/*筛选*/
|
|
5
5
|
.vxe-cell--filter {
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.vxe-table--filter-option {
|
|
112
|
-
@include createCheckboxIcon();
|
|
112
|
+
@include baseMixin.createCheckboxIcon();
|
|
113
113
|
}
|
package/styles/footer.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/form-gather.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/form-item.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/form.scss
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use './variable.scss' as *;
|
|
3
|
+
|
|
2
4
|
%ButtonHover {
|
|
3
5
|
color: $vxe-primary-lighten-color;
|
|
4
6
|
border-color: $vxe-primary-lighten-color;
|
|
@@ -20,9 +22,9 @@
|
|
|
20
22
|
$spans: 4.16667%, 8.33333%, 12.5%, 16.66667%, 20.83333%, 25%, 29.16667%, 33.33333%,
|
|
21
23
|
37.5%, 41.66667%, 45.83333%, 50%, 54.16667%, 58.33333%, 62.5%, 66.66667%,
|
|
22
24
|
70.83333%, 75%, 79.16667%, 83.33333%, 87.5%, 91.66667%, 95.83333%, 100%;
|
|
23
|
-
@for $index from 0 to length($spans) {
|
|
25
|
+
@for $index from 0 to list.length($spans) {
|
|
24
26
|
& > .vxe-form--item-col_#{$index + 1} {
|
|
25
|
-
width: nth($spans, $index + 1);
|
|
27
|
+
width: list.nth($spans, $index + 1);
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
}
|
package/styles/grid.scss
CHANGED
package/styles/header.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/icon.scss
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:list';
|
|
3
|
+
@use './variable.scss' as *;
|
|
4
|
+
@use './old-icon.scss';
|
|
3
5
|
|
|
4
6
|
@font-face {
|
|
5
7
|
font-family: "vxeiconfont";
|
|
@@ -70,10 +72,10 @@ $btnThemeList: (
|
|
|
70
72
|
&.roll {
|
|
71
73
|
animation: rollCircle 1s infinite linear;
|
|
72
74
|
}
|
|
73
|
-
@for $index from 0 to length($btnThemeList) {
|
|
74
|
-
$item: nth($btnThemeList, $index + 1);
|
|
75
|
-
&.theme--#{map
|
|
76
|
-
color: map
|
|
75
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
76
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
77
|
+
&.theme--#{map.get($item, name)} {
|
|
78
|
+
color: map.get($item, textColor);
|
|
77
79
|
}
|
|
78
80
|
}
|
|
79
81
|
}
|
package/styles/index.scss
CHANGED
package/styles/input.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use './variable.scss' as *;
|
|
3
|
+
@use './helpers/baseMixin.scss';
|
|
3
4
|
|
|
4
5
|
$iconWidth: 1.6em;
|
|
5
6
|
|
|
@@ -272,7 +273,7 @@ $iconWidth: 1.6em;
|
|
|
272
273
|
align-items: center;
|
|
273
274
|
justify-content: center;
|
|
274
275
|
.vxe-input--panel-icon {
|
|
275
|
-
@include createAnimationTransition(transform, .2s);
|
|
276
|
+
@include baseMixin.createAnimationTransition(transform, .2s);
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
279
|
|
|
@@ -768,7 +769,7 @@ $iconWidth: 1.6em;
|
|
|
768
769
|
$quarterRowHeightList: $vxe-input-date-quarter-row-height-default, $vxe-input-date-quarter-row-height-medium, $vxe-input-date-quarter-row-height-small, $vxe-input-date-quarter-row-height-mini;
|
|
769
770
|
$titleRowHeightList: $vxe-input-date-title-height-default, $vxe-input-date-title-height-medium, $vxe-input-date-title-height-small, $vxe-input-date-title-height-mini;
|
|
770
771
|
|
|
771
|
-
font-size: nth($fontSizeList, $sizeIndex);
|
|
772
|
+
font-size: list.nth($fontSizeList, $sizeIndex);
|
|
772
773
|
.vxe-input--panel-wrapper {
|
|
773
774
|
max-height: 400px - $sizeIndex * 20;
|
|
774
775
|
}
|
|
@@ -788,25 +789,25 @@ $iconWidth: 1.6em;
|
|
|
788
789
|
&.type--year {
|
|
789
790
|
.vxe-input--panel-wrapper {
|
|
790
791
|
$widthList: 336px, 336px, 312px, 288px;
|
|
791
|
-
width: nth($widthList, $sizeIndex);
|
|
792
|
+
width: list.nth($widthList, $sizeIndex);
|
|
792
793
|
}
|
|
793
794
|
}
|
|
794
795
|
&.type--week {
|
|
795
796
|
.vxe-input--panel-wrapper {
|
|
796
797
|
$widthList: 380px, 380px, 354px, 326px;
|
|
797
|
-
width: nth($widthList, $sizeIndex);
|
|
798
|
+
width: list.nth($widthList, $sizeIndex);
|
|
798
799
|
}
|
|
799
800
|
}
|
|
800
801
|
&.type--time {
|
|
801
802
|
.vxe-input--panel-wrapper {
|
|
802
803
|
$widthList: 170px, 168px, 154px, 146px;
|
|
803
|
-
width: nth($widthList, $sizeIndex);
|
|
804
|
+
width: list.nth($widthList, $sizeIndex);
|
|
804
805
|
}
|
|
805
806
|
}
|
|
806
807
|
&.type--datetime {
|
|
807
808
|
.vxe-input--panel-left-wrapper {
|
|
808
809
|
$widthList: 336px, 336px, 312px, 288px;
|
|
809
|
-
width: nth($widthList, $sizeIndex);
|
|
810
|
+
width: list.nth($widthList, $sizeIndex);
|
|
810
811
|
}
|
|
811
812
|
.vxe-input--panel-left-wrapper,
|
|
812
813
|
.vxe-input--panel-right-wrapper {
|
|
@@ -844,20 +845,20 @@ $iconWidth: 1.6em;
|
|
|
844
845
|
.vxe-input--time-picker-header,
|
|
845
846
|
.vxe-input--date-picker-header {
|
|
846
847
|
$paddingBottomList: 8px, 7px, 6px, 5px;
|
|
847
|
-
padding-bottom: nth($paddingBottomList, $sizeIndex);
|
|
848
|
+
padding-bottom: list.nth($paddingBottomList, $sizeIndex);
|
|
848
849
|
}
|
|
849
850
|
.vxe-input--date-picker-body table,
|
|
850
851
|
.vxe-input--time-picker-body {
|
|
851
|
-
height: nth($timeWeekRowHeightList, $sizeIndex) * 6 + nth($titleRowHeightList, $sizeIndex);
|
|
852
|
+
height: list.nth($timeWeekRowHeightList, $sizeIndex) * 6 + list.nth($titleRowHeightList, $sizeIndex);
|
|
852
853
|
}
|
|
853
854
|
.vxe-input--time-picker-body {
|
|
854
855
|
$ulWidthList: 48px, 48px, 44px, 42px;
|
|
855
856
|
& > ul {
|
|
856
|
-
width: nth($ulWidthList, $sizeIndex);
|
|
857
|
+
width: list.nth($ulWidthList, $sizeIndex);
|
|
857
858
|
&:before,
|
|
858
859
|
&:after {
|
|
859
860
|
$heightList: 120px, 120px, 110px, 100px;
|
|
860
|
-
height: nth($heightList, $sizeIndex);
|
|
861
|
+
height: list.nth($heightList, $sizeIndex);
|
|
861
862
|
}
|
|
862
863
|
& > li {
|
|
863
864
|
height: 26px;
|
|
@@ -865,32 +866,32 @@ $iconWidth: 1.6em;
|
|
|
865
866
|
}
|
|
866
867
|
}
|
|
867
868
|
.vxe-input--time-picker-minute-list {
|
|
868
|
-
left: nth($ulWidthList, $sizeIndex);
|
|
869
|
+
left: list.nth($ulWidthList, $sizeIndex);
|
|
869
870
|
}
|
|
870
871
|
.vxe-input--time-picker-second-list {
|
|
871
|
-
left: nth($ulWidthList, $sizeIndex) * 2;
|
|
872
|
+
left: list.nth($ulWidthList, $sizeIndex) * 2;
|
|
872
873
|
}
|
|
873
874
|
}
|
|
874
875
|
.vxe-input--date-day-view,
|
|
875
876
|
.vxe-input--date-week-view {
|
|
876
877
|
td {
|
|
877
|
-
height: nth($timeWeekRowHeightList, $sizeIndex);
|
|
878
|
+
height: list.nth($timeWeekRowHeightList, $sizeIndex);
|
|
878
879
|
}
|
|
879
880
|
}
|
|
880
881
|
.vxe-input--date-quarter-view {
|
|
881
882
|
td {
|
|
882
|
-
height: nth($quarterRowHeightList, $sizeIndex);
|
|
883
|
+
height: list.nth($quarterRowHeightList, $sizeIndex);
|
|
883
884
|
}
|
|
884
885
|
}
|
|
885
886
|
.vxe-input--date-month-view,
|
|
886
887
|
.vxe-input--date-year-view {
|
|
887
888
|
td {
|
|
888
|
-
height: nth($monthYearRowHeightList, $sizeIndex);
|
|
889
|
+
height: list.nth($monthYearRowHeightList, $sizeIndex);
|
|
889
890
|
}
|
|
890
891
|
}
|
|
891
892
|
.vxe-input--date-picker-body {
|
|
892
893
|
th {
|
|
893
|
-
height: nth($titleRowHeightList, $sizeIndex);
|
|
894
|
+
height: list.nth($titleRowHeightList, $sizeIndex);
|
|
894
895
|
}
|
|
895
896
|
}
|
|
896
897
|
.vxe-input--time-picker-confirm,
|
|
@@ -899,7 +900,7 @@ $iconWidth: 1.6em;
|
|
|
899
900
|
padding: 0 10px - $sizeIndex;
|
|
900
901
|
}
|
|
901
902
|
.vxe-input--date-label {
|
|
902
|
-
line-height: nth($fontSizeList, $sizeIndex) + 1px;
|
|
903
|
+
line-height: list.nth($fontSizeList, $sizeIndex) + 1px;
|
|
903
904
|
}
|
|
904
905
|
}
|
|
905
906
|
|
package/styles/keyboard.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/list.scss
CHANGED
package/styles/loading.scss
CHANGED
package/styles/menu.scss
CHANGED
package/styles/modal.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
1
|
+
@use './variable.scss' as *;
|
|
2
|
+
@use './helpers/baseMixin.scss';
|
|
3
3
|
|
|
4
4
|
.vxe-modal--wrapper {
|
|
5
5
|
display: none;
|
|
@@ -83,13 +83,13 @@
|
|
|
83
83
|
&.is--animat {
|
|
84
84
|
&.is--mask {
|
|
85
85
|
&:before {
|
|
86
|
-
@include createAnimationTransition(background-color, .2s);
|
|
86
|
+
@include baseMixin.createAnimationTransition(background-color, .2s);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
&.type--message {
|
|
90
90
|
.vxe-modal--box {
|
|
91
91
|
&:not(.is--drag) {
|
|
92
|
-
@include createAnimationTransition(all, .4s, ease-out);
|
|
92
|
+
@include baseMixin.createAnimationTransition(all, .4s, ease-out);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|
package/styles/modules.scss
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
// 该文件已废弃,请使用 vxe-table/style/all.scss
|
|
2
2
|
|
|
3
|
-
@
|
|
4
|
-
// @
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
3
|
+
@use './variable.scss';
|
|
4
|
+
// @use './css-variable.scss';
|
|
5
|
+
@use './filter.scss';
|
|
6
|
+
@use './menu.scss';
|
|
7
|
+
@use './export.scss';
|
|
8
|
+
@use './custom.scss';
|
|
9
9
|
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
10
|
+
@use './icon.scss';
|
|
11
|
+
@use './table.scss';
|
|
12
|
+
@use './grid.scss';
|
|
13
|
+
@use './toolbar.scss';
|
|
14
|
+
@use './pager.scss';
|
|
15
|
+
@use './checkbox.scss';
|
|
16
|
+
@use './checkbox-group.scss';
|
|
17
|
+
@use './radio.scss';
|
|
18
|
+
@use './radio-group.scss';
|
|
19
|
+
@use './radio-button.scss';
|
|
20
|
+
@use './input.scss';
|
|
21
|
+
@use './textarea.scss';
|
|
22
|
+
@use './button.scss';
|
|
23
|
+
@use './button-group.scss';
|
|
24
|
+
@use './modal.scss';
|
|
25
|
+
@use './tooltip.scss';
|
|
26
|
+
@use './form.scss';
|
|
27
|
+
@use './form-item.scss';
|
|
28
|
+
@use './form-gather.scss';
|
|
29
|
+
@use './select.scss';
|
|
30
|
+
@use './optgroup.scss';
|
|
31
|
+
@use './option.scss';
|
|
32
|
+
@use './switch.scss';
|
|
33
|
+
@use './list.scss';
|
|
34
|
+
@use './pulldown.scss';
|
package/styles/old-icon.scss
CHANGED
package/styles/optgroup.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/option.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/pager.scss
CHANGED