vxe-table 4.6.21 → 4.6.22
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/es/button-group/style.css +0 -25
- package/es/checkbox/style.css +0 -25
- package/es/checkbox-group/style.css +0 -25
- package/es/colgroup/style.css +0 -25
- package/es/column/style.css +0 -25
- package/es/custom/style.css +0 -25
- package/es/drawer/style.css +0 -25
- package/es/edit/style.css +0 -25
- package/es/export/style.css +0 -25
- package/es/filter/style.css +0 -25
- package/es/form/style.css +0 -25
- package/es/form-gather/style.css +0 -25
- package/es/form-item/style.css +0 -25
- package/es/grid/style.css +0 -25
- package/es/icon/style.css +1 -1
- package/es/input/style.css +0 -25
- package/es/keyboard/style.css +0 -25
- package/es/list/style.css +0 -25
- package/es/loading/style.css +0 -25
- package/es/menu/style.css +0 -25
- package/es/modal/style.css +0 -25
- package/es/optgroup/style.css +0 -25
- package/es/option/style.css +0 -25
- package/es/pager/style.css +0 -25
- package/es/pulldown/style.css +0 -26
- package/es/radio/style.css +1 -26
- package/es/radio-button/style.css +0 -25
- package/es/radio-group/style.css +0 -25
- package/es/select/style.css +0 -25
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/style.css +0 -25
- package/es/table/style.css +1 -27
- package/es/textarea/style.css +0 -25
- package/es/toolbar/style.css +0 -25
- package/es/tools/log.js +1 -1
- package/es/tooltip/style.css +0 -25
- package/es/v-x-e-table/index.js +1 -1
- package/es/v-x-e-table/style.css +0 -26
- package/es/validator/style.css +0 -25
- package/es/vxe-button-group/style.css +0 -25
- package/es/vxe-checkbox/style.css +0 -25
- package/es/vxe-checkbox-group/style.css +0 -25
- package/es/vxe-colgroup/style.css +0 -25
- package/es/vxe-column/style.css +0 -25
- package/es/vxe-drawer/style.css +0 -25
- package/es/vxe-form/style.css +0 -25
- package/es/vxe-form-gather/style.css +0 -25
- package/es/vxe-form-item/style.css +0 -25
- package/es/vxe-grid/style.css +0 -25
- package/es/vxe-input/style.css +0 -25
- package/es/vxe-list/style.css +0 -25
- package/es/vxe-loading/style.css +0 -25
- package/es/vxe-modal/style.css +0 -25
- package/es/vxe-optgroup/style.css +0 -25
- package/es/vxe-option/style.css +0 -25
- package/es/vxe-pager/style.css +0 -25
- package/es/vxe-pulldown/style.css +0 -26
- package/es/vxe-radio/style.css +1 -26
- package/es/vxe-radio-button/style.css +0 -25
- package/es/vxe-radio-group/style.css +0 -25
- package/es/vxe-select/style.css +0 -25
- package/es/vxe-switch/style.css +0 -25
- package/es/vxe-table/style.css +1 -27
- package/es/vxe-table-custom-module/style.css +0 -25
- package/es/vxe-table-edit-module/style.css +0 -25
- package/es/vxe-table-export-module/style.css +0 -25
- package/es/vxe-table-filter-module/style.css +0 -25
- package/es/vxe-table-keyboard-module/style.css +0 -25
- package/es/vxe-table-menu-module/style.css +0 -25
- package/es/vxe-table-validator-module/style.css +0 -25
- package/es/vxe-textarea/style.css +0 -25
- package/es/vxe-toolbar/style.css +0 -25
- package/es/vxe-tooltip/style.css +0 -25
- package/lib/button-group/style/style.css +0 -25
- package/lib/checkbox/style/style.css +0 -25
- package/lib/checkbox-group/style/style.css +0 -25
- package/lib/colgroup/style/style.css +0 -25
- package/lib/column/style/style.css +0 -25
- package/lib/custom/style/style.css +0 -25
- package/lib/drawer/style/style.css +0 -25
- package/lib/edit/style/style.css +0 -25
- package/lib/export/style/style.css +0 -25
- package/lib/filter/style/style.css +0 -25
- package/lib/form/style/style.css +0 -25
- package/lib/form-gather/style/style.css +0 -25
- package/lib/form-item/style/style.css +0 -25
- package/lib/grid/style/style.css +0 -25
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +7 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +0 -25
- package/lib/keyboard/style/style.css +0 -25
- package/lib/list/style/style.css +0 -25
- package/lib/loading/style/style.css +0 -25
- package/lib/menu/style/style.css +0 -25
- package/lib/modal/style/style.css +0 -25
- package/lib/optgroup/style/style.css +0 -25
- package/lib/option/style/style.css +0 -25
- package/lib/pager/style/style.css +0 -25
- package/lib/pulldown/style/style.css +0 -26
- package/lib/radio/style/style.css +1 -26
- package/lib/radio-button/style/style.css +0 -25
- package/lib/radio-group/style/style.css +0 -25
- package/lib/select/style/style.css +0 -25
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/style/style.css +0 -25
- package/lib/table/style/style.css +1 -27
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/style/style.css +0 -25
- package/lib/toolbar/style/style.css +0 -25
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/tooltip/style/style.css +0 -25
- 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 -26
- package/lib/validator/style/style.css +0 -25
- package/lib/vxe-button-group/style/style.css +0 -25
- package/lib/vxe-checkbox/style/style.css +0 -25
- package/lib/vxe-checkbox-group/style/style.css +0 -25
- package/lib/vxe-colgroup/style/style.css +0 -25
- package/lib/vxe-column/style/style.css +0 -25
- package/lib/vxe-drawer/style/style.css +0 -25
- package/lib/vxe-form/style/style.css +0 -25
- package/lib/vxe-form-gather/style/style.css +0 -25
- package/lib/vxe-form-item/style/style.css +0 -25
- package/lib/vxe-grid/style/style.css +0 -25
- package/lib/vxe-input/style/style.css +0 -25
- package/lib/vxe-list/style/style.css +0 -25
- package/lib/vxe-loading/style/style.css +0 -25
- package/lib/vxe-modal/style/style.css +0 -25
- package/lib/vxe-optgroup/style/style.css +0 -25
- package/lib/vxe-option/style/style.css +0 -25
- package/lib/vxe-pager/style/style.css +0 -25
- package/lib/vxe-pulldown/style/style.css +0 -26
- package/lib/vxe-radio/style/style.css +1 -26
- package/lib/vxe-radio-button/style/style.css +0 -25
- package/lib/vxe-radio-group/style/style.css +0 -25
- package/lib/vxe-select/style/style.css +0 -25
- package/lib/vxe-switch/style/style.css +0 -25
- package/lib/vxe-table/style/style.css +1 -27
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-table-custom-module/style/style.css +0 -25
- package/lib/vxe-table-edit-module/style/style.css +0 -25
- package/lib/vxe-table-export-module/style/style.css +0 -25
- package/lib/vxe-table-filter-module/style/style.css +0 -25
- package/lib/vxe-table-keyboard-module/style/style.css +0 -25
- package/lib/vxe-table-menu-module/style/style.css +0 -25
- package/lib/vxe-table-validator-module/style/style.css +0 -25
- package/lib/vxe-textarea/style/style.css +0 -25
- package/lib/vxe-toolbar/style/style.css +0 -25
- package/lib/vxe-tooltip/style/style.css +0 -25
- package/package.json +3 -3
- package/styles/all.scss +32 -32
- package/styles/base/common.scss +9 -6
- package/styles/button-group.scss +0 -2
- package/styles/button.scss +38 -36
- package/styles/checkbox-group.scss +0 -2
- package/styles/checkbox.scss +3 -4
- package/styles/colgroup.scss +0 -1
- package/styles/column.scss +0 -1
- package/styles/css-variable.scss +1 -3
- package/styles/cssvar.scss +3 -3
- package/styles/custom.scss +3 -4
- package/styles/default.scss +1 -1
- package/styles/drawer.scss +3 -4
- package/styles/edit.scss +0 -1
- package/styles/export.scss +2 -3
- package/styles/filter.scss +2 -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 +4 -3
- package/styles/grid.scss +0 -1
- package/styles/header.scss +0 -1
- package/styles/icon.scss +7 -5
- package/styles/index.scss +2 -2
- package/styles/input.scss +19 -19
- package/styles/keyboard.scss +0 -1
- package/styles/list.scss +0 -1
- package/styles/loading.scss +0 -2
- package/styles/menu.scss +0 -2
- package/styles/modal.scss +3 -4
- package/styles/modules.scss +32 -32
- package/styles/old-icon.scss +1 -2
- package/styles/optgroup.scss +0 -1
- package/styles/option.scss +0 -1
- package/styles/pager.scss +0 -3
- package/styles/pulldown.scss +0 -4
- package/styles/radio-button.scss +0 -1
- package/styles/radio-group.scss +0 -1
- package/styles/radio.scss +3 -4
- package/styles/select.scss +2 -3
- package/styles/switch.scss +0 -2
- package/styles/table.scss +6 -7
- package/styles/textarea.scss +0 -2
- package/styles/theme/dark.scss +1 -1
- package/styles/theme/default.scss +1 -1
- package/styles/toolbar.scss +0 -3
- package/styles/tooltip.scss +0 -2
- package/styles/v-x-e-table.scss +2 -3
- package/styles/validator.scss +0 -1
- package/styles/vxe-table.scss +0 -1
- /package/es/icon/{style/iconfont.1728462856848.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/es/icon/{style/iconfont.1728462856848.woff → iconfont.1729922941127.woff} +0 -0
- /package/es/icon/{style/iconfont.1728462856848.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/es/{iconfont.1728462856848.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/es/{iconfont.1728462856848.woff → iconfont.1729922941127.woff} +0 -0
- /package/es/{iconfont.1728462856848.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1728462856848.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1728462856848.woff → iconfont.1729922941127.woff} +0 -0
- /package/lib/icon/style/{iconfont.1728462856848.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/lib/{iconfont.1728462856848.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/lib/{iconfont.1728462856848.woff → iconfont.1729922941127.woff} +0 -0
- /package/lib/{iconfont.1728462856848.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/styles/helpers/{mixin.scss → baseMixin.scss} +0 -0
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
|
&:not(.is--disabled) {
|
|
71
73
|
color: var(--vxe-font-color);
|
|
72
74
|
cursor: pointer;
|
|
@@ -104,20 +106,20 @@ $btnThemeList: (
|
|
|
104
106
|
color: var(--vxe-primary-lighten-color);
|
|
105
107
|
}
|
|
106
108
|
}
|
|
107
|
-
@for $index from 0 to length($btnThemeList) {
|
|
108
|
-
$item: nth($btnThemeList, $index + 1);
|
|
109
|
-
&.theme--#{map
|
|
110
|
-
color: map
|
|
109
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
110
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
111
|
+
&.theme--#{map.get($item, name)} {
|
|
112
|
+
color: map.get($item, textColor);
|
|
111
113
|
&:not(.is--disabled) {
|
|
112
114
|
&:focus {
|
|
113
|
-
color: map
|
|
115
|
+
color: map.get($item, btnDarkenColor);
|
|
114
116
|
}
|
|
115
117
|
&:hover {
|
|
116
|
-
color: map
|
|
118
|
+
color: map.get($item, btnLightenColor);
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
121
|
&.is--disabled {
|
|
120
|
-
color: map
|
|
122
|
+
color: map.get($item, btnDisabledColor);
|
|
121
123
|
}
|
|
122
124
|
}
|
|
123
125
|
}
|
|
@@ -154,29 +156,29 @@ $btnThemeList: (
|
|
|
154
156
|
background-color: var(--vxe-button-default-background-color);
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
|
-
@for $index from 0 to length($btnThemeList) {
|
|
158
|
-
$item: nth($btnThemeList, $index + 1);
|
|
159
|
-
$textColor: map
|
|
160
|
-
$btnColor: map
|
|
161
|
-
&.theme--#{map
|
|
159
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
160
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
161
|
+
$textColor: map.get($item, textColor);
|
|
162
|
+
$btnColor: map.get($item, btnColor);
|
|
163
|
+
&.theme--#{map.get($item, name)} {
|
|
162
164
|
color: $btnColor;
|
|
163
165
|
&:not(.is--disabled) {
|
|
164
166
|
border-color: $textColor;
|
|
165
167
|
background-color: $textColor;
|
|
166
168
|
&:hover {
|
|
167
169
|
color: $btnColor;
|
|
168
|
-
background-color: map
|
|
169
|
-
border-color: map
|
|
170
|
+
background-color: map.get($item, btnLightenColor);
|
|
171
|
+
border-color: map.get($item, btnLightenColor);
|
|
170
172
|
}
|
|
171
173
|
&:active {
|
|
172
174
|
color: $btnColor;
|
|
173
|
-
background-color: map
|
|
174
|
-
border-color: map
|
|
175
|
+
background-color: map.get($item, btnDarkenColor);
|
|
176
|
+
border-color: map.get($item, btnDarkenColor);
|
|
175
177
|
}
|
|
176
178
|
}
|
|
177
179
|
&.is--disabled {
|
|
178
|
-
border-color: map
|
|
179
|
-
background-color: map
|
|
180
|
+
border-color: map.get($item, btnDisabledColor);
|
|
181
|
+
background-color: map.get($item, btnDisabledColor);
|
|
180
182
|
}
|
|
181
183
|
&.is--loading {
|
|
182
184
|
border-color: $textColor;
|
|
@@ -263,10 +265,10 @@ $btnThemeList: (
|
|
|
263
265
|
}
|
|
264
266
|
& > .vxe-button {
|
|
265
267
|
&.type--button {
|
|
266
|
-
@for $index from 0 to length($btnThemeList) {
|
|
267
|
-
$item: nth($btnThemeList, $index + 1);
|
|
268
|
-
$btnColor: map
|
|
269
|
-
&.theme--#{map
|
|
268
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
269
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
270
|
+
$btnColor: map.get($item, btnColor);
|
|
271
|
+
&.theme--#{map.get($item, name)} {
|
|
270
272
|
color: $btnColor;
|
|
271
273
|
}
|
|
272
274
|
}
|
|
@@ -278,20 +280,20 @@ $btnThemeList: (
|
|
|
278
280
|
color: var(--vxe-primary-lighten-color);
|
|
279
281
|
}
|
|
280
282
|
&.type--text {
|
|
281
|
-
@for $index from 0 to length($btnThemeList) {
|
|
282
|
-
$item: nth($btnThemeList, $index + 1);
|
|
283
|
-
&.theme--#{map
|
|
284
|
-
color: map
|
|
283
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
284
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
285
|
+
&.theme--#{map.get($item, name)} {
|
|
286
|
+
color: map.get($item, btnLightenColor);
|
|
285
287
|
}
|
|
286
288
|
}
|
|
287
289
|
}
|
|
288
290
|
&.type--button {
|
|
289
|
-
@for $index from 0 to length($btnThemeList) {
|
|
290
|
-
$item: nth($btnThemeList, $index + 1);
|
|
291
|
-
&.theme--#{map
|
|
292
|
-
color: map
|
|
293
|
-
background-color: map
|
|
294
|
-
border-color: map
|
|
291
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
292
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
293
|
+
&.theme--#{map.get($item, name)} {
|
|
294
|
+
color: map.get($item, btnColor);
|
|
295
|
+
background-color: map.get($item, btnLightenColor);
|
|
296
|
+
border-color: map.get($item, btnLightenColor);
|
|
295
297
|
}
|
|
296
298
|
}
|
|
297
299
|
}
|
|
@@ -306,7 +308,7 @@ $btnThemeList: (
|
|
|
306
308
|
display: inline-block;
|
|
307
309
|
font-size: 12px;
|
|
308
310
|
margin-left: 4px;
|
|
309
|
-
@include createAnimationTransition(transform, .2s);
|
|
311
|
+
@include baseMixin.createAnimationTransition(transform, .2s);
|
|
310
312
|
}
|
|
311
313
|
|
|
312
314
|
.vxe-button--dropdown-panel {
|
package/styles/checkbox.scss
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
@import './base/common.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
2
|
+
@use './base/common.scss';
|
|
4
3
|
|
|
5
4
|
/*checkbox-group*/
|
|
6
5
|
.vxe-checkbox-group {
|
|
@@ -15,7 +14,7 @@
|
|
|
15
14
|
vertical-align: middle;
|
|
16
15
|
white-space: nowrap;
|
|
17
16
|
line-height: 1;
|
|
18
|
-
@include createCheckboxIcon();
|
|
17
|
+
@include baseMixin.createCheckboxIcon();
|
|
19
18
|
&+.vxe-checkbox {
|
|
20
19
|
margin-left: 10px;
|
|
21
20
|
}
|
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,3 +1,3 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use './variable.scss';
|
|
2
|
+
@use './theme/default.scss';
|
|
3
|
+
@use './theme/dark.scss';
|
package/styles/custom.scss
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
@import './base/common.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
2
|
+
@use './base/common.scss';
|
|
4
3
|
|
|
5
4
|
.vxe-table-custom--option {
|
|
6
5
|
display: flex;
|
|
@@ -88,7 +87,7 @@
|
|
|
88
87
|
text-overflow: ellipsis;
|
|
89
88
|
white-space: nowrap;
|
|
90
89
|
flex-grow: 1;
|
|
91
|
-
@include createCheckboxIcon();
|
|
90
|
+
@include baseMixin.createCheckboxIcon();
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
.vxe-table-custom--fixed-option {
|
package/styles/default.scss
CHANGED
package/styles/drawer.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
@import './helpers/mixin.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
3
2
|
|
|
4
3
|
.vxe-drawer--wrapper {
|
|
5
4
|
display: none;
|
|
@@ -88,7 +87,7 @@
|
|
|
88
87
|
&.is--mask {
|
|
89
88
|
&:before {
|
|
90
89
|
background-color: rgba(0, 0, 0, 0);
|
|
91
|
-
@include createAnimationTransition(background-color, 0.2s);
|
|
90
|
+
@include baseMixin.createAnimationTransition(background-color, 0.2s);
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
&.pos--left {
|
|
@@ -143,7 +142,7 @@
|
|
|
143
142
|
text-align: left;
|
|
144
143
|
pointer-events: auto;
|
|
145
144
|
opacity: 0;
|
|
146
|
-
@include createAnimationTransition(all, 0.3s);
|
|
145
|
+
@include baseMixin.createAnimationTransition(all, 0.3s);
|
|
147
146
|
}
|
|
148
147
|
.vxe-drawer--content {
|
|
149
148
|
flex-grow: 1;
|
package/styles/edit.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/export.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
@import './helpers/mixin.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
3
2
|
|
|
4
3
|
.vxe-export--panel-column > ul {
|
|
5
4
|
list-style-type: none;
|
|
@@ -122,5 +121,5 @@
|
|
|
122
121
|
}
|
|
123
122
|
|
|
124
123
|
.vxe-export--panel-column-option {
|
|
125
|
-
@include createCheckboxIcon();
|
|
124
|
+
@include baseMixin.createCheckboxIcon();
|
|
126
125
|
}
|
package/styles/filter.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
@import './helpers/mixin.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
3
2
|
|
|
4
3
|
/*筛选*/
|
|
5
4
|
.vxe-cell--filter {
|
|
@@ -109,5 +108,5 @@
|
|
|
109
108
|
}
|
|
110
109
|
|
|
111
110
|
.vxe-table--filter-option {
|
|
112
|
-
@include createCheckboxIcon();
|
|
111
|
+
@include baseMixin.createCheckboxIcon();
|
|
113
112
|
}
|
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,5 @@
|
|
|
1
|
-
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
|
|
2
3
|
%ButtonHover {
|
|
3
4
|
color: var(--vxe-primary-lighten-color);
|
|
4
5
|
border-color: var(--vxe-primary-lighten-color);
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
$spans: 4.16667%, 8.33333%, 12.5%, 16.66667%, 20.83333%, 25%, 29.16667%, 33.33333%,
|
|
21
22
|
37.5%, 41.66667%, 45.83333%, 50%, 54.16667%, 58.33333%, 62.5%, 66.66667%,
|
|
22
23
|
70.83333%, 75%, 79.16667%, 83.33333%, 87.5%, 91.66667%, 95.83333%, 100%;
|
|
23
|
-
@for $index from 0 to length($spans) {
|
|
24
|
+
@for $index from 0 to list.length($spans) {
|
|
24
25
|
& > .vxe-form--item-col_#{$index + 1} {
|
|
25
|
-
width: nth($spans, $index + 1);
|
|
26
|
+
width: list.nth($spans, $index + 1);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
package/styles/grid.scss
CHANGED
package/styles/header.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/icon.scss
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:list';
|
|
3
|
+
@use './old-icon.scss';
|
|
2
4
|
|
|
3
5
|
@font-face {
|
|
4
6
|
font-family: "vxeiconfont";
|
|
@@ -65,10 +67,10 @@ $btnThemeList: (
|
|
|
65
67
|
&.roll {
|
|
66
68
|
animation: rollCircle 1s infinite linear;
|
|
67
69
|
}
|
|
68
|
-
@for $index from 0 to length($btnThemeList) {
|
|
69
|
-
$item: nth($btnThemeList, $index + 1);
|
|
70
|
-
&.theme--#{map
|
|
71
|
-
color: map
|
|
70
|
+
@for $index from 0 to list.length($btnThemeList) {
|
|
71
|
+
$item: list.nth($btnThemeList, $index + 1);
|
|
72
|
+
&.theme--#{map.get($item, name)} {
|
|
73
|
+
color: map.get($item, textColor);
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
}
|
package/styles/index.scss
CHANGED
package/styles/input.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use './helpers/baseMixin.scss';
|
|
3
3
|
|
|
4
4
|
$iconWidth: 1.6em;
|
|
5
5
|
|
|
@@ -272,7 +272,7 @@ $iconWidth: 1.6em;
|
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
274
|
.vxe-input--panel-icon {
|
|
275
|
-
@include createAnimationTransition(transform, .2s);
|
|
275
|
+
@include baseMixin.createAnimationTransition(transform, .2s);
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
|
|
@@ -763,7 +763,7 @@ $iconWidth: 1.6em;
|
|
|
763
763
|
$quarterRowHeightList: var(--vxe-input-date-quarter-row-height-default), var(--vxe-input-date-quarter-row-height-medium), var(--vxe-input-date-quarter-row-height-small), var(--vxe-input-date-quarter-row-height-mini);
|
|
764
764
|
$titleRowHeightList: var(--vxe-input-date-title-height-default), var(--vxe-input-date-title-height-medium), var(--vxe-input-date-title-height-small), var(--vxe-input-date-title-height-mini);
|
|
765
765
|
|
|
766
|
-
font-size: nth($fontSizeList, $sizeIndex);
|
|
766
|
+
font-size: list.nth($fontSizeList, $sizeIndex);
|
|
767
767
|
.vxe-input--panel-wrapper {
|
|
768
768
|
max-height: 400px - $sizeIndex * 20;
|
|
769
769
|
}
|
|
@@ -783,25 +783,25 @@ $iconWidth: 1.6em;
|
|
|
783
783
|
&.type--year {
|
|
784
784
|
.vxe-input--panel-wrapper {
|
|
785
785
|
$widthList: 336px, 336px, 312px, 288px;
|
|
786
|
-
width: nth($widthList, $sizeIndex);
|
|
786
|
+
width: list.nth($widthList, $sizeIndex);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
&.type--week {
|
|
790
790
|
.vxe-input--panel-wrapper {
|
|
791
791
|
$widthList: 380px, 380px, 354px, 326px;
|
|
792
|
-
width: nth($widthList, $sizeIndex);
|
|
792
|
+
width: list.nth($widthList, $sizeIndex);
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
&.type--time {
|
|
796
796
|
.vxe-input--panel-wrapper {
|
|
797
797
|
$widthList: 170px, 168px, 154px, 146px;
|
|
798
|
-
width: nth($widthList, $sizeIndex);
|
|
798
|
+
width: list.nth($widthList, $sizeIndex);
|
|
799
799
|
}
|
|
800
800
|
}
|
|
801
801
|
&.type--datetime {
|
|
802
802
|
.vxe-input--panel-left-wrapper {
|
|
803
803
|
$widthList: 336px, 336px, 312px, 288px;
|
|
804
|
-
width: nth($widthList, $sizeIndex);
|
|
804
|
+
width: list.nth($widthList, $sizeIndex);
|
|
805
805
|
}
|
|
806
806
|
.vxe-input--panel-left-wrapper,
|
|
807
807
|
.vxe-input--panel-right-wrapper {
|
|
@@ -839,20 +839,20 @@ $iconWidth: 1.6em;
|
|
|
839
839
|
.vxe-input--time-picker-header,
|
|
840
840
|
.vxe-input--date-picker-header {
|
|
841
841
|
$paddingBottomList: 8px, 7px, 6px, 5px;
|
|
842
|
-
padding-bottom: nth($paddingBottomList, $sizeIndex);
|
|
842
|
+
padding-bottom: list.nth($paddingBottomList, $sizeIndex);
|
|
843
843
|
}
|
|
844
844
|
.vxe-input--date-picker-body table,
|
|
845
845
|
.vxe-input--time-picker-body {
|
|
846
|
-
height: calc(nth($timeWeekRowHeightList, $sizeIndex) * 6 + nth($titleRowHeightList, $sizeIndex));
|
|
846
|
+
height: calc(list.nth($timeWeekRowHeightList, $sizeIndex) * 6 + list.nth($titleRowHeightList, $sizeIndex));
|
|
847
847
|
}
|
|
848
848
|
.vxe-input--time-picker-body {
|
|
849
849
|
$ulWidthList: 48px, 48px, 44px, 42px;
|
|
850
850
|
& > ul {
|
|
851
|
-
width: nth($ulWidthList, $sizeIndex);
|
|
851
|
+
width: list.nth($ulWidthList, $sizeIndex);
|
|
852
852
|
&:before,
|
|
853
853
|
&:after {
|
|
854
854
|
$heightList: 120px, 120px, 110px, 100px;
|
|
855
|
-
height: nth($heightList, $sizeIndex);
|
|
855
|
+
height: list.nth($heightList, $sizeIndex);
|
|
856
856
|
}
|
|
857
857
|
& > li {
|
|
858
858
|
height: 26px;
|
|
@@ -860,32 +860,32 @@ $iconWidth: 1.6em;
|
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
.vxe-input--time-picker-minute-list {
|
|
863
|
-
left: nth($ulWidthList, $sizeIndex);
|
|
863
|
+
left: list.nth($ulWidthList, $sizeIndex);
|
|
864
864
|
}
|
|
865
865
|
.vxe-input--time-picker-second-list {
|
|
866
|
-
left: calc(nth($ulWidthList, $sizeIndex) * 2);
|
|
866
|
+
left: calc(list.nth($ulWidthList, $sizeIndex) * 2);
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
.vxe-input--date-day-view,
|
|
870
870
|
.vxe-input--date-week-view {
|
|
871
871
|
td {
|
|
872
|
-
height: nth($timeWeekRowHeightList, $sizeIndex);
|
|
872
|
+
height: list.nth($timeWeekRowHeightList, $sizeIndex);
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
875
|
.vxe-input--date-quarter-view {
|
|
876
876
|
td {
|
|
877
|
-
height: nth($quarterRowHeightList, $sizeIndex);
|
|
877
|
+
height: list.nth($quarterRowHeightList, $sizeIndex);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
.vxe-input--date-month-view,
|
|
881
881
|
.vxe-input--date-year-view {
|
|
882
882
|
td {
|
|
883
|
-
height: nth($monthYearRowHeightList, $sizeIndex);
|
|
883
|
+
height: list.nth($monthYearRowHeightList, $sizeIndex);
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
.vxe-input--date-picker-body {
|
|
887
887
|
th {
|
|
888
|
-
height: nth($titleRowHeightList, $sizeIndex);
|
|
888
|
+
height: list.nth($titleRowHeightList, $sizeIndex);
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
891
|
.vxe-input--time-picker-confirm,
|
|
@@ -894,7 +894,7 @@ $iconWidth: 1.6em;
|
|
|
894
894
|
padding: 0 10px - $sizeIndex;
|
|
895
895
|
}
|
|
896
896
|
.vxe-input--date-label {
|
|
897
|
-
line-height: calc(nth($fontSizeList, $sizeIndex) + 1px);
|
|
897
|
+
line-height: calc(list.nth($fontSizeList, $sizeIndex) + 1px);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
|
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,4 @@
|
|
|
1
|
-
|
|
2
|
-
@import './helpers/mixin.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
3
2
|
|
|
4
3
|
.vxe-modal--wrapper {
|
|
5
4
|
display: none;
|
|
@@ -82,13 +81,13 @@
|
|
|
82
81
|
&.is--animat {
|
|
83
82
|
&.is--mask {
|
|
84
83
|
&:before {
|
|
85
|
-
@include createAnimationTransition(background-color, .2s);
|
|
84
|
+
@include baseMixin.createAnimationTransition(background-color, .2s);
|
|
86
85
|
}
|
|
87
86
|
}
|
|
88
87
|
&.type--message {
|
|
89
88
|
.vxe-modal--box {
|
|
90
89
|
&:not(.is--drag) {
|
|
91
|
-
@include createAnimationTransition(all, .4s, ease-out);
|
|
90
|
+
@include baseMixin.createAnimationTransition(all, .4s, ease-out);
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
}
|
package/styles/modules.scss
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
// 该文件已废弃,请使用 vxe-table/styles/all.scss
|
|
2
2
|
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
3
|
+
@use './variable.scss';
|
|
4
|
+
@use './theme/default.scss';
|
|
5
|
+
@use './theme/dark.scss';
|
|
6
|
+
@use './filter.scss';
|
|
7
|
+
@use './menu.scss';
|
|
8
|
+
@use './export.scss';
|
|
9
|
+
@use './custom.scss';
|
|
10
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
|
-
@
|
|
35
|
-
@
|
|
11
|
+
@use './icon.scss';
|
|
12
|
+
@use './table.scss';
|
|
13
|
+
@use './grid.scss';
|
|
14
|
+
@use './toolbar.scss';
|
|
15
|
+
@use './pager.scss';
|
|
16
|
+
@use './checkbox.scss';
|
|
17
|
+
@use './checkbox-group.scss';
|
|
18
|
+
@use './radio.scss';
|
|
19
|
+
@use './radio-group.scss';
|
|
20
|
+
@use './radio-button.scss';
|
|
21
|
+
@use './input.scss';
|
|
22
|
+
@use './textarea.scss';
|
|
23
|
+
@use './button.scss';
|
|
24
|
+
@use './modal.scss';
|
|
25
|
+
@use './drawer.scss';
|
|
26
|
+
@use './tooltip.scss';
|
|
27
|
+
@use './form.scss';
|
|
28
|
+
@use './form-item.scss';
|
|
29
|
+
@use './form-gather.scss';
|
|
30
|
+
@use './select.scss';
|
|
31
|
+
@use './optgroup.scss';
|
|
32
|
+
@use './option.scss';
|
|
33
|
+
@use './switch.scss';
|
|
34
|
+
@use './list.scss';
|
|
35
|
+
@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
package/styles/pulldown.scss
CHANGED
package/styles/radio-button.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/radio-group.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/**Variable**/
|
package/styles/radio.scss
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
@import './base/common.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
2
|
+
@use './base/common.scss';
|
|
4
3
|
|
|
5
4
|
/*radio-group*/
|
|
6
5
|
.vxe-radio-group {
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
vertical-align: middle;
|
|
20
19
|
white-space: nowrap;
|
|
21
20
|
line-height: 1;
|
|
22
|
-
@include createRadioIcon();
|
|
21
|
+
@include baseMixin.createRadioIcon();
|
|
23
22
|
> input {
|
|
24
23
|
&[type="radio"] {
|
|
25
24
|
position: absolute;
|
package/styles/select.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
@import './helpers/mixin.scss';
|
|
1
|
+
@use './helpers/baseMixin.scss';
|
|
3
2
|
|
|
4
3
|
.vxe-select {
|
|
5
4
|
position: relative;
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
width: 100%;
|
|
31
30
|
.vxe-input--suffix-icon {
|
|
32
31
|
display: inline-block;
|
|
33
|
-
@include createAnimationTransition(transform, .2s);
|
|
32
|
+
@include baseMixin.createAnimationTransition(transform, .2s);
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
35
|
&.is--active {
|