vxe-table 3.9.18 → 3.9.20

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.
@@ -12,7 +12,7 @@ const { getConfig, renderer, getI18n } = VxeUI
12
12
 
13
13
  const componentDefaultModelProp = 'value'
14
14
 
15
- const defaultCompProps = { transfer: true }
15
+ const defaultCompProps = {}
16
16
 
17
17
  function parseDate (value: any, props: any) {
18
18
  return value && props.valueFormat ? XEUtils.toStringDate(value, props.valueFormat) : value
@@ -1,39 +1,40 @@
1
1
  @use './base.scss';
2
+ @use '../variable.scss' as light-variable;
2
3
 
3
4
  [data-vxe-ui-theme="light"] {
4
5
  /*font color*/
5
- --vxe-ui-font-color: #606266;
6
- --vxe-ui-font-primary-color: #409eff;
7
- --vxe-ui-font-lighten-color: #797b80;
8
- --vxe-ui-font-darken-color: #47494c;
9
- --vxe-ui-font-disabled-color: #BFBFBF;
6
+ --vxe-ui-font-color: #{light-variable.$vxe-ui-font-color};
7
+ --vxe-ui-font-primary-color: #{light-variable.$vxe-ui-font-primary-color};
8
+ --vxe-ui-font-lighten-color: #{light-variable.$vxe-ui-font-lighten-color};
9
+ --vxe-ui-font-darken-color: #{light-variable.$vxe-ui-font-darken-color};
10
+ --vxe-ui-font-disabled-color: #{light-variable.$vxe-ui-font-disabled-color};
10
11
 
11
12
  /*base*/
12
- --vxe-ui-base-popup-border-color: #DADCE0;
13
- --vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16);
13
+ --vxe-ui-base-popup-border-color: #{light-variable.$vxe-ui-base-popup-border-color};
14
+ --vxe-ui-base-popup-box-shadow: #{light-variable.$vxe-ui-base-popup-box-shadow};
14
15
 
15
16
  /*layout*/
16
- --vxe-ui-layout-background-color: #ffffff;
17
+ --vxe-ui-layout-background-color: #{light-variable.$vxe-ui-layout-background-color};
17
18
 
18
19
  /*input*/
19
- --vxe-ui-input-border-color: #dcdfe6;
20
- --vxe-ui-input-placeholder-color: #C0C4CC;
21
- --vxe-ui-input-disabled-background-color: #f3f3f3;
20
+ --vxe-ui-input-border-color: #{light-variable.$vxe-ui-input-border-color};
21
+ --vxe-ui-input-placeholder-color: #{light-variable.$vxe-ui-input-placeholder-color};
22
+ --vxe-ui-input-disabled-background-color: #{light-variable.$vxe-ui-input-disabled-background-color};
22
23
 
23
24
  /*loading*/
24
- --vxe-ui-loading-background-color: rgba(255, 255, 255, 0.5);
25
+ --vxe-ui-loading-background-color: #{light-variable.$vxe-ui-loading-background-color};
25
26
 
26
27
  /*table*/
27
- --vxe-ui-table-header-background-color: #f8f8f9;
28
- --vxe-ui-table-border-color: #e8eaec;
29
- --vxe-ui-table-row-hover-background-color: #f5f7fa;
30
- --vxe-ui-table-row-striped-background-color: #fafafa;
31
- --vxe-ui-table-row-hover-striped-background-color: #f5f7fa;
32
- --vxe-ui-table-row-radio-checked-background-color: #fff3e0;
33
- --vxe-ui-table-row-hover-radio-checked-background-color: #ffebbc;
34
- --vxe-ui-table-row-checkbox-checked-background-color: #fff3e0;
35
- --vxe-ui-table-row-hover-checkbox-checked-background-color: #ffebbc;
36
- --vxe-ui-table-row-current-background-color: #e6f7ff;
37
- --vxe-ui-table-row-hover-current-background-color: #d7effb;
38
- --vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, 0.12);
28
+ --vxe-ui-table-header-background-color: #{light-variable.$vxe-ui-table-header-background-color};
29
+ --vxe-ui-table-border-color: #{light-variable.$vxe-ui-table-border-color};
30
+ --vxe-ui-table-row-hover-background-color: #{light-variable.$vxe-ui-table-row-hover-background-color};
31
+ --vxe-ui-table-row-striped-background-color: #{light-variable.$vxe-ui-table-row-striped-background-color};
32
+ --vxe-ui-table-row-hover-striped-background-color: #{light-variable.$vxe-ui-table-row-hover-striped-background-color};
33
+ --vxe-ui-table-row-radio-checked-background-color: #{light-variable.$vxe-ui-table-row-radio-checked-background-color};
34
+ --vxe-ui-table-row-hover-radio-checked-background-color: #{light-variable.$vxe-ui-table-row-hover-radio-checked-background-color};
35
+ --vxe-ui-table-row-checkbox-checked-background-color: #{light-variable.$vxe-ui-table-row-checkbox-checked-background-color};
36
+ --vxe-ui-table-row-hover-checkbox-checked-background-color: #{light-variable.$vxe-ui-table-row-hover-checkbox-checked-background-color};
37
+ --vxe-ui-table-row-current-background-color: #{light-variable.$vxe-ui-table-row-current-background-color};
38
+ --vxe-ui-table-row-hover-current-background-color: #{light-variable.$vxe-ui-table-row-hover-current-background-color};
39
+ --vxe-ui-table-fixed-scrolling-box-shadow-color: #{light-variable.$vxe-ui-table-fixed-scrolling-box-shadow-color};
39
40
  }
@@ -1,3 +1,35 @@
1
- /*已废弃*/
1
+ /*font color*/
2
+ $vxe-ui-font-color: #606266;
3
+ $vxe-ui-font-primary-color: #409eff;
4
+ $vxe-ui-font-lighten-color: #797b80;
5
+ $vxe-ui-font-darken-color: #47494c;
6
+ $vxe-ui-font-disabled-color: #BFBFBF;
2
7
 
3
- @use './base.scss';
8
+ /*base*/
9
+ $vxe-ui-base-popup-border-color: #DADCE0;
10
+ $vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16);
11
+
12
+ /*layout*/
13
+ $vxe-ui-layout-background-color: #ffffff;
14
+
15
+ /*input*/
16
+ $vxe-ui-input-border-color: #dcdfe6;
17
+ $vxe-ui-input-placeholder-color: #C0C4CC;
18
+ $vxe-ui-input-disabled-background-color: #f3f3f3;
19
+
20
+ /*loading*/
21
+ $vxe-ui-loading-background-color: rgba(255, 255, 255, 0.5);
22
+
23
+ /*table*/
24
+ $vxe-ui-table-header-background-color: #f8f8f9;
25
+ $vxe-ui-table-border-color: #e8eaec;
26
+ $vxe-ui-table-row-hover-background-color: #f5f7fa;
27
+ $vxe-ui-table-row-striped-background-color: #fafafa;
28
+ $vxe-ui-table-row-hover-striped-background-color: #f5f7fa;
29
+ $vxe-ui-table-row-radio-checked-background-color: #fff3e0;
30
+ $vxe-ui-table-row-hover-radio-checked-background-color: #ffebbc;
31
+ $vxe-ui-table-row-checkbox-checked-background-color: #fff3e0;
32
+ $vxe-ui-table-row-hover-checkbox-checked-background-color: #ffebbc;
33
+ $vxe-ui-table-row-current-background-color: #e6f7ff;
34
+ $vxe-ui-table-row-hover-current-background-color: #d7effb;
35
+ $vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, 0.12);