@lingxiteam/theme-utils 0.2.16 → 0.3.0
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/dist/config/Button.d.ts +6 -0
- package/dist/config/Button.js +10 -4
- package/dist/config/Card.d.ts +4 -0
- package/dist/config/Card.js +7 -3
- package/dist/config/Checkbox.d.ts +2 -0
- package/dist/config/Checkbox.js +4 -2
- package/dist/config/CheckboxGroup.d.ts +2 -0
- package/dist/config/CheckboxGroup.js +4 -2
- package/dist/config/Collapse.d.ts +6 -0
- package/dist/config/Collapse.js +10 -4
- package/dist/config/Container.d.ts +6 -0
- package/dist/config/Container.js +8 -2
- package/dist/config/DatePicker.d.ts +13 -11
- package/dist/config/DatePicker.js +15 -13
- package/dist/config/Description.d.ts +8 -0
- package/dist/config/Description.js +11 -3
- package/dist/config/Form.d.ts +7 -0
- package/dist/config/Form.js +11 -4
- package/dist/config/Radio.d.ts +2 -0
- package/dist/config/Radio.js +4 -2
- package/dist/config/Table.d.ts +8 -0
- package/dist/config/Table.js +13 -5
- package/dist/config/Tabs.d.ts +3 -0
- package/dist/config/Tabs.js +7 -4
- package/dist/config/Tree.d.ts +7 -0
- package/dist/config/Tree.js +12 -5
- package/dist/lx-mobile.js +16 -13
- package/package.json +1 -1
package/dist/config/Button.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const Button: {
|
|
|
5
5
|
type: string;
|
|
6
6
|
label: string;
|
|
7
7
|
groupsName: string;
|
|
8
|
+
followTheme: string;
|
|
8
9
|
};
|
|
9
10
|
lineHeight: {
|
|
10
11
|
type: string;
|
|
@@ -28,11 +29,13 @@ export declare const Button: {
|
|
|
28
29
|
type: string;
|
|
29
30
|
label: string;
|
|
30
31
|
groupsName: string;
|
|
32
|
+
followTheme: string;
|
|
31
33
|
};
|
|
32
34
|
borderRadius: {
|
|
33
35
|
type: string;
|
|
34
36
|
label: string;
|
|
35
37
|
groupsName: string;
|
|
38
|
+
followTheme: string;
|
|
36
39
|
};
|
|
37
40
|
paddingValue: {
|
|
38
41
|
type: string;
|
|
@@ -60,6 +63,9 @@ export declare const Button: {
|
|
|
60
63
|
followThemes: {
|
|
61
64
|
'@primary-color': string[];
|
|
62
65
|
'@font-size-base': string[];
|
|
66
|
+
'@border-radius-base': string[];
|
|
67
|
+
'@border-color-base': string[];
|
|
68
|
+
'@text-color': never[];
|
|
63
69
|
};
|
|
64
70
|
tpl: string;
|
|
65
71
|
components: {
|
package/dist/config/Button.js
CHANGED
|
@@ -4,7 +4,8 @@ export var Button = {
|
|
|
4
4
|
textColor: {
|
|
5
5
|
type: 'color',
|
|
6
6
|
label: '文本颜色',
|
|
7
|
-
groupsName: '文字'
|
|
7
|
+
groupsName: '文字',
|
|
8
|
+
followTheme: '@text-color'
|
|
8
9
|
},
|
|
9
10
|
lineHeight: {
|
|
10
11
|
type: 'px',
|
|
@@ -27,12 +28,14 @@ export var Button = {
|
|
|
27
28
|
borderColor: {
|
|
28
29
|
type: 'color',
|
|
29
30
|
label: '边框颜色',
|
|
30
|
-
groupsName: '边框'
|
|
31
|
+
groupsName: '边框',
|
|
32
|
+
followTheme: '@border-color-base'
|
|
31
33
|
},
|
|
32
34
|
borderRadius: {
|
|
33
35
|
type: 'px',
|
|
34
36
|
label: '边框圆角',
|
|
35
|
-
groupsName: '边框'
|
|
37
|
+
groupsName: '边框',
|
|
38
|
+
followTheme: '@border-radius-base'
|
|
36
39
|
},
|
|
37
40
|
paddingValue: {
|
|
38
41
|
type: 'marginInput',
|
|
@@ -59,7 +62,10 @@ export var Button = {
|
|
|
59
62
|
}],
|
|
60
63
|
followThemes: {
|
|
61
64
|
'@primary-color': ['backgroundColor'],
|
|
62
|
-
'@font-size-base': ['fontSize']
|
|
65
|
+
'@font-size-base': ['fontSize'],
|
|
66
|
+
'@border-radius-base': ['borderRadius'],
|
|
67
|
+
'@border-color-base': ['borderColor'],
|
|
68
|
+
'@text-color': []
|
|
63
69
|
},
|
|
64
70
|
tpl: "\n.ued-button-wrap.pcfactory-btn {\n line-height: lineHeight;\n font-size: fontSize;\n padding: paddingValue;\n margin: marginValue;\n }\n.ued-button-wrap.pcfactory-btn-primary {\n background-color: backgroundColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-default {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-dashed {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-dashed:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-default:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn-text {\n color: textColor;\n }\n.ued-button-wrap.pcfactory-btn-link {\n color: backgroundColor;\n }\n ",
|
|
65
71
|
components: [{
|
package/dist/config/Card.d.ts
CHANGED
|
@@ -62,11 +62,13 @@ export declare const Card: {
|
|
|
62
62
|
type: string;
|
|
63
63
|
label: string;
|
|
64
64
|
groupsName: string;
|
|
65
|
+
followTheme: string;
|
|
65
66
|
};
|
|
66
67
|
borderRadius: {
|
|
67
68
|
type: string;
|
|
68
69
|
label: string;
|
|
69
70
|
groupsName: string;
|
|
71
|
+
followTheme: string;
|
|
70
72
|
};
|
|
71
73
|
bodyColor: {
|
|
72
74
|
type: string;
|
|
@@ -94,6 +96,8 @@ export declare const Card: {
|
|
|
94
96
|
}[];
|
|
95
97
|
followThemes: {
|
|
96
98
|
'@primary-color': string[];
|
|
99
|
+
'@border-radius-base': never[];
|
|
100
|
+
'@border-color-base': never[];
|
|
97
101
|
};
|
|
98
102
|
tpl: string;
|
|
99
103
|
components: {
|
package/dist/config/Card.js
CHANGED
|
@@ -79,12 +79,14 @@ export var Card = {
|
|
|
79
79
|
borderColor: {
|
|
80
80
|
type: 'color',
|
|
81
81
|
label: '边框颜色',
|
|
82
|
-
groupsName: '边框'
|
|
82
|
+
groupsName: '边框',
|
|
83
|
+
followTheme: '@border-color-base'
|
|
83
84
|
},
|
|
84
85
|
borderRadius: {
|
|
85
86
|
type: 'px',
|
|
86
87
|
label: '边框圆角',
|
|
87
|
-
groupsName: '边框'
|
|
88
|
+
groupsName: '边框',
|
|
89
|
+
followTheme: '@border-radius-base'
|
|
88
90
|
},
|
|
89
91
|
bodyColor: {
|
|
90
92
|
type: 'color',
|
|
@@ -111,7 +113,9 @@ export var Card = {
|
|
|
111
113
|
lineColor: '#f0f0f0'
|
|
112
114
|
}],
|
|
113
115
|
followThemes: {
|
|
114
|
-
'@primary-color': ['titleColor']
|
|
116
|
+
'@primary-color': ['titleColor'],
|
|
117
|
+
'@border-radius-base': [],
|
|
118
|
+
'@border-color-base': []
|
|
115
119
|
},
|
|
116
120
|
tpl: "\n .pcfactory-card{\n border-radius: borderRadius;\n }\n .ued-card.pcfactory-card-bordered .pcfactory-card-head {\n background-color: backgroundColor;\n border-color: lineColor;\n border-top-left-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n .ued-card.pcfactory-card-bordered {\n border-color: borderColor;\n }\n .ued-card.pcfactory-card-bordered {\n border-color: borderColor;\n }\n .ued-card .ued-card-title-icon-auto>i {\n color: titleColor;\n margin-right: tagMargin;\n }\n .ued-card .ued-card-title-icon-auto span{\n color: titleColor;\n margin-right: tagMargin;\n }\n .ued-card .ued-card-title::before {\n color: titleColor;\n background: titleColor;\n margin-right: tagMargin;\n }\n .ued-card .ued-card-title-icon-auto>i svg{\n width: tagSize;\n height: tagSize;\n }\n .ued-card .ued-card-title-icon-auto span svg{\n width: tagSize;\n height: tagSize;\n }\n .ued-card .pcfactory-card-body{\n background-color: bodyColor;\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }",
|
|
117
121
|
components: [{
|
|
@@ -51,6 +51,7 @@ export declare const Checkbox: {
|
|
|
51
51
|
type: string;
|
|
52
52
|
label: string;
|
|
53
53
|
groupsName: string;
|
|
54
|
+
followTheme: string;
|
|
54
55
|
};
|
|
55
56
|
radioBgColor: {
|
|
56
57
|
type: string;
|
|
@@ -82,6 +83,7 @@ export declare const Checkbox: {
|
|
|
82
83
|
}[];
|
|
83
84
|
followThemes: {
|
|
84
85
|
'@primary-color': string[];
|
|
86
|
+
'@border-color-base': string[];
|
|
85
87
|
};
|
|
86
88
|
tpl: string;
|
|
87
89
|
components: {
|
package/dist/config/Checkbox.js
CHANGED
|
@@ -50,7 +50,8 @@ export var Checkbox = {
|
|
|
50
50
|
radioBorderColor: {
|
|
51
51
|
type: 'color',
|
|
52
52
|
label: '默认边框颜色',
|
|
53
|
-
groupsName: '边框'
|
|
53
|
+
groupsName: '边框',
|
|
54
|
+
followTheme: '@border-color-base'
|
|
54
55
|
},
|
|
55
56
|
radioBgColor: {
|
|
56
57
|
type: 'color',
|
|
@@ -81,7 +82,8 @@ export var Checkbox = {
|
|
|
81
82
|
radioSeBgColor: '#47e'
|
|
82
83
|
}],
|
|
83
84
|
followThemes: {
|
|
84
|
-
'@primary-color': ['radioSeBgColor', 'radioSeBorderColor']
|
|
85
|
+
'@primary-color': ['radioSeBgColor', 'radioSeBorderColor'],
|
|
86
|
+
'@border-color-base': ['radioBorderColor']
|
|
85
87
|
},
|
|
86
88
|
tpl: ".ued-checkbox-wrap{\n .pcfactory-checkbox-inner{\n width: radioSize;\n height: radioSize;\n border-color: radioBorderColor;\n background: radioBgColor;\n }\n .pcfactory-checkbox-checked .pcfactory-checkbox-inner{\n border-color: radioSeBorderColor;\n background: radioSeBgColor;\n }\n .pcfactory-checkbox-input:focus+.pcfactory-checkbox-inner{\n border-color: radioSeBorderColor;\n }\n .pcfactory-checkbox-wrapper:hover .pcfactory-checkbox{\n border-color: radioSeBorderColor;\n}\n.pcfactory-checkbox:hover .pcfactory-checkbox-inner {\n border-color: radioSeBorderColor;\n }\n .pcfactory-form-item input[type=checkbox], .pcfactory-form-item input[type=radio]{\n width: radioSize;\n height: radioSize;\n }\n .pcfactory-checkbox-indeterminate .pcfactory-checkbox-inner:after{\n background: radioSeBgColor;\n width: calc(0.47* radioSize);\n height: calc(0.47* radioSize);\n }\n .pcfactory-checkbox-checked .pcfactory-checkbox-inner:after{\n width: calc(0.35* radioSize);\n height: calc(0.57* radioSize);\n }\n }",
|
|
87
89
|
components: [{
|
|
@@ -51,6 +51,7 @@ export declare const CheckboxGroup: {
|
|
|
51
51
|
type: string;
|
|
52
52
|
label: string;
|
|
53
53
|
groupsName: string;
|
|
54
|
+
followTheme: string;
|
|
54
55
|
};
|
|
55
56
|
radioBgColor: {
|
|
56
57
|
type: string;
|
|
@@ -82,6 +83,7 @@ export declare const CheckboxGroup: {
|
|
|
82
83
|
}[];
|
|
83
84
|
followThemes: {
|
|
84
85
|
'@primary-color': string[];
|
|
86
|
+
'@border-color-base': string[];
|
|
85
87
|
};
|
|
86
88
|
tpl: string;
|
|
87
89
|
components: {
|
|
@@ -50,7 +50,8 @@ export var CheckboxGroup = {
|
|
|
50
50
|
radioBorderColor: {
|
|
51
51
|
type: 'color',
|
|
52
52
|
label: '默认边框颜色',
|
|
53
|
-
groupsName: '边框'
|
|
53
|
+
groupsName: '边框',
|
|
54
|
+
followTheme: '@border-color-base'
|
|
54
55
|
},
|
|
55
56
|
radioBgColor: {
|
|
56
57
|
type: 'color',
|
|
@@ -81,7 +82,8 @@ export var CheckboxGroup = {
|
|
|
81
82
|
radioSeBgColor: '#47e'
|
|
82
83
|
}],
|
|
83
84
|
followThemes: {
|
|
84
|
-
'@primary-color': ['radioSeBorderColor', 'radioSeBgColor']
|
|
85
|
+
'@primary-color': ['radioSeBorderColor', 'radioSeBgColor'],
|
|
86
|
+
'@border-color-base': ['radioBorderColor']
|
|
85
87
|
},
|
|
86
88
|
tpl: ".ued-checkboxgroup-wrap {\n .pcfactory-checkbox-inner{\n width: radioSize;\n height: radioSize;\n border-color: radioBorderColor;\n background: radioBgColor;\n }\n .pcfactory-checkbox-checked .pcfactory-checkbox-inner{\n border-color: radioSeBorderColor;\n background: radioSeBgColor;\n }\n .pcfactory-checkbox-input:focus+.pcfactory-checkbox-inner{\n border-color: radioSeBorderColor;\n }\n .pcfactory-checkbox-wrapper:hover .pcfactory-checkbox{\n border-color: radioSeBorderColor;\n}\n .pcfactory-checkbox:hover .pcfactory-checkbox-inner {\n border-color: radioSeBorderColor;\n }\n .pcfactory-form-item input[type=checkbox]{\n width: radioSize;\n height: radioSize;\n }\n .pcfactory-form-item input[type=radio]{\n width: radioSize;\n height: radioSize;\n }\n .pcfactory-checkbox-indeterminate .pcfactory-checkbox-inner:after{\n background: radioSeBgColor;\n width: calc(0.47* radioSize);\n height: calc(0.47* radioSize);\n }\n .pcfactory-checkbox-checked .pcfactory-checkbox-inner:after{\n width: calc(0.35* radioSize);\n height: calc(0.57* radioSize);\n }\n }",
|
|
87
89
|
components: [{
|
|
@@ -41,6 +41,7 @@ export declare const Collapse: {
|
|
|
41
41
|
type: string;
|
|
42
42
|
label: string;
|
|
43
43
|
groupsName: string;
|
|
44
|
+
followTheme: string;
|
|
44
45
|
};
|
|
45
46
|
tagSize: {
|
|
46
47
|
type: string;
|
|
@@ -67,11 +68,13 @@ export declare const Collapse: {
|
|
|
67
68
|
type: string;
|
|
68
69
|
label: string;
|
|
69
70
|
groupsName: string;
|
|
71
|
+
followTheme: string;
|
|
70
72
|
};
|
|
71
73
|
borderRadius: {
|
|
72
74
|
type: string;
|
|
73
75
|
label: string;
|
|
74
76
|
groupsName: string;
|
|
77
|
+
followTheme: string;
|
|
75
78
|
};
|
|
76
79
|
lineColor: {
|
|
77
80
|
type: string;
|
|
@@ -100,6 +103,9 @@ export declare const Collapse: {
|
|
|
100
103
|
}[];
|
|
101
104
|
followThemes: {
|
|
102
105
|
'@font-size-base': string[];
|
|
106
|
+
'@primary-color': string[];
|
|
107
|
+
'@border-radius-base': never[];
|
|
108
|
+
'@border-color-base': never[];
|
|
103
109
|
};
|
|
104
110
|
tpl: string;
|
|
105
111
|
components: {
|
package/dist/config/Collapse.js
CHANGED
|
@@ -58,7 +58,8 @@ export var Collapse = {
|
|
|
58
58
|
titleColor: {
|
|
59
59
|
type: 'color',
|
|
60
60
|
label: '装饰图标颜色',
|
|
61
|
-
groupsName: '颜色'
|
|
61
|
+
groupsName: '颜色',
|
|
62
|
+
followTheme: '@primary-color'
|
|
62
63
|
},
|
|
63
64
|
tagSize: {
|
|
64
65
|
type: 'px',
|
|
@@ -84,12 +85,14 @@ export var Collapse = {
|
|
|
84
85
|
borderColor: {
|
|
85
86
|
type: 'color',
|
|
86
87
|
label: '边框颜色',
|
|
87
|
-
groupsName: '边框'
|
|
88
|
+
groupsName: '边框',
|
|
89
|
+
followTheme: '@border-color-base'
|
|
88
90
|
},
|
|
89
91
|
borderRadius: {
|
|
90
92
|
type: 'px',
|
|
91
93
|
label: '边框圆角',
|
|
92
|
-
groupsName: '边框'
|
|
94
|
+
groupsName: '边框',
|
|
95
|
+
followTheme: '@border-radius-base'
|
|
93
96
|
},
|
|
94
97
|
lineColor: {
|
|
95
98
|
type: 'color',
|
|
@@ -117,7 +120,10 @@ export var Collapse = {
|
|
|
117
120
|
bodyColor: '#fff'
|
|
118
121
|
}],
|
|
119
122
|
followThemes: {
|
|
120
|
-
'@font-size-base': ['arrowSize']
|
|
123
|
+
'@font-size-base': ['arrowSize'],
|
|
124
|
+
'@primary-color': ['titleColor'],
|
|
125
|
+
'@border-radius-base': [],
|
|
126
|
+
'@border-color-base': []
|
|
121
127
|
},
|
|
122
128
|
tpl: ".ued-collapse-wrap .ued-collapse-panel-header-icon-auto span, .ued-collapse-wrap .ued-collapse-panel-header-icon-auto>i{\n color: titleColor;\n margin-right: tagMargin;\n }\n .ued-collapse-wrap .ued-collapse-panel-header-icon-auto span svg, .ued-collapse-wrap .ued-collapse-panel-header-icon-auto>i svg{\n width: tagSize;\n height: tagSize;\n}\n.ued-collapse-wrap .pcfactory-collapse.pcfactory-collapse-icon-position-right>.pcfactory-collapse-item>.pcfactory-collapse-header .pcfactory-collapse-arrow {\n color: arrowColor;\n}\n.ued-collapse-wrap .pcfactory-collapse.pcfactory-collapse-icon-position-right>.pcfactory-collapse-item>.pcfactory-collapse-header .pcfactory-collapse-arrow svg{\n width: arrowSize;\n height: arrowSize;\n}\n.ued-collapse-wrap .pcfactory-collapse{\n border-color: borderColor;\n border-radius: borderRadius;\n}\n.ued-collapse-wrap .pcfactory-collapse>.pcfactory-collapse-item{\n border-color: borderColor;\n\n}\n.ued-collapse-wrap .pcfactory-collapse>.pcfactory-collapse-item>.pcfactory-collapse-content{\n border-color: lineColor;\n}\n.ued-collapse-wrap .pcfactory-collapse>div:last-child{\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n .pcfactory-collapse-header{\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }\n}\n.ued-collapse-wrap .pcfactory-collapse .pcfactory-collapse-item-active:last-child {\n .pcfactory-collapse-header{\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n }\n}\n.ued-collapse-wrap .pcfactory-collapse-item:last-child>.pcfactory-collapse-content{\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n .ued-collapse-pane-content{\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }\n}\n.ued-collapse-wrap .pcfactory-collapse>div:first-child {\n border-top-left-radius: borderRadius;\n border-top-right-radius: borderRadius;\n .pcfactory-collapse-header{\n border-top-left-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n}\n.ued-collapse-wrap .pcfactory-collapse>.pcfactory-collapse-item>.pcfactory-collapse-content>.pcfactory-collapse-content-box .ued-collapse-pane-content{\n background-color: bodyColor;\n}",
|
|
123
129
|
components: [{
|
|
@@ -7,6 +7,7 @@ export declare const Container: {
|
|
|
7
7
|
label: string;
|
|
8
8
|
groupsName: string;
|
|
9
9
|
desc: string;
|
|
10
|
+
followTheme: string;
|
|
10
11
|
};
|
|
11
12
|
lineHeight: {
|
|
12
13
|
type: string;
|
|
@@ -19,6 +20,7 @@ export declare const Container: {
|
|
|
19
20
|
label: string;
|
|
20
21
|
groupsName: string;
|
|
21
22
|
desc: string;
|
|
23
|
+
followTheme: string;
|
|
22
24
|
};
|
|
23
25
|
fontWeight: {
|
|
24
26
|
type: string;
|
|
@@ -41,6 +43,10 @@ export declare const Container: {
|
|
|
41
43
|
fontSize: string;
|
|
42
44
|
fontWeight: string;
|
|
43
45
|
}[];
|
|
46
|
+
followThemes: {
|
|
47
|
+
'@heading-color': string[];
|
|
48
|
+
'@font-size-base': never[];
|
|
49
|
+
};
|
|
44
50
|
tpl: string;
|
|
45
51
|
components: ({
|
|
46
52
|
id: string;
|
package/dist/config/Container.js
CHANGED
|
@@ -6,7 +6,8 @@ export var Container = {
|
|
|
6
6
|
type: 'color',
|
|
7
7
|
label: '标题文本颜色',
|
|
8
8
|
groupsName: '文字',
|
|
9
|
-
desc: '对卡片标题、折叠面板标题、表格头部标题生效'
|
|
9
|
+
desc: '对卡片标题、折叠面板标题、表格头部标题生效',
|
|
10
|
+
followTheme: '@heading-color'
|
|
10
11
|
},
|
|
11
12
|
lineHeight: {
|
|
12
13
|
type: 'px',
|
|
@@ -18,7 +19,8 @@ export var Container = {
|
|
|
18
19
|
type: 'px',
|
|
19
20
|
label: '标题文本尺寸',
|
|
20
21
|
groupsName: '文字',
|
|
21
|
-
desc: '对卡片标题、折叠面板标题、表格头部标题生效'
|
|
22
|
+
desc: '对卡片标题、折叠面板标题、表格头部标题生效',
|
|
23
|
+
followTheme: '@font-size-baser'
|
|
22
24
|
},
|
|
23
25
|
fontWeight: {
|
|
24
26
|
type: 'select',
|
|
@@ -76,6 +78,10 @@ export var Container = {
|
|
|
76
78
|
// borderRadius: '8px',
|
|
77
79
|
}],
|
|
78
80
|
|
|
81
|
+
followThemes: {
|
|
82
|
+
'@heading-color': ['textColor'],
|
|
83
|
+
'@font-size-base': []
|
|
84
|
+
},
|
|
79
85
|
// TODO:布局容器、普通容器
|
|
80
86
|
tpl: "\n .ued-card .ued-card-title {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-card .pcfactory-card-head > .pcfactory-card-head-wrapper > .pcfactory-card-head-title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-collapse-wrap .pcfactory-collapse.pcfactory-collapse-icon-position-right > .pcfactory-collapse-item > .pcfactory-collapse-header .ued-collapse-panel-header {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-table-filters .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-filters .table-head-middle{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-middle .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 0 0 0 18px ;\n }\n .ued-table-wrap .table-head .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }",
|
|
81
87
|
components: [{
|
|
@@ -2,6 +2,18 @@ export declare const DatePicker: {
|
|
|
2
2
|
type: string;
|
|
3
3
|
hasPrefixClass: boolean;
|
|
4
4
|
variable: {
|
|
5
|
+
iconFontSize: {
|
|
6
|
+
type: string;
|
|
7
|
+
label: string;
|
|
8
|
+
groupsName: string;
|
|
9
|
+
followTheme: string;
|
|
10
|
+
};
|
|
11
|
+
iconColor: {
|
|
12
|
+
type: string;
|
|
13
|
+
label: string;
|
|
14
|
+
groupsName: string;
|
|
15
|
+
followTheme: string;
|
|
16
|
+
};
|
|
5
17
|
labelTextColor: {
|
|
6
18
|
type: string;
|
|
7
19
|
label: string;
|
|
@@ -58,17 +70,6 @@ export declare const DatePicker: {
|
|
|
58
70
|
canEdit: boolean;
|
|
59
71
|
extendsKey: string;
|
|
60
72
|
};
|
|
61
|
-
iconFontSize: {
|
|
62
|
-
type: string;
|
|
63
|
-
label: string;
|
|
64
|
-
groupsName: string;
|
|
65
|
-
followTheme: string;
|
|
66
|
-
};
|
|
67
|
-
iconColor: {
|
|
68
|
-
type: string;
|
|
69
|
-
label: string;
|
|
70
|
-
groupsName: string;
|
|
71
|
-
};
|
|
72
73
|
};
|
|
73
74
|
groupsName: string;
|
|
74
75
|
icon: string;
|
|
@@ -79,6 +80,7 @@ export declare const DatePicker: {
|
|
|
79
80
|
}[];
|
|
80
81
|
followThemes: {
|
|
81
82
|
'@font-size-base': string[];
|
|
83
|
+
'@primary-color': string[];
|
|
82
84
|
};
|
|
83
85
|
tpl: string;
|
|
84
86
|
components: {
|
|
@@ -2,6 +2,18 @@ export var DatePicker = {
|
|
|
2
2
|
type: 'DatePicker',
|
|
3
3
|
hasPrefixClass: true,
|
|
4
4
|
variable: {
|
|
5
|
+
iconFontSize: {
|
|
6
|
+
type: 'px',
|
|
7
|
+
label: '日期图标尺寸',
|
|
8
|
+
groupsName: '文字',
|
|
9
|
+
followTheme: '@font-size-base'
|
|
10
|
+
},
|
|
11
|
+
iconColor: {
|
|
12
|
+
type: 'color',
|
|
13
|
+
label: '日期图标颜色',
|
|
14
|
+
groupsName: '文字',
|
|
15
|
+
followTheme: '@primary-color'
|
|
16
|
+
},
|
|
5
17
|
labelTextColor: {
|
|
6
18
|
type: 'color',
|
|
7
19
|
label: '标题文本颜色',
|
|
@@ -57,17 +69,6 @@ export var DatePicker = {
|
|
|
57
69
|
desc: '继承自表单,此处不可编辑',
|
|
58
70
|
canEdit: false,
|
|
59
71
|
extendsKey: 'Form'
|
|
60
|
-
},
|
|
61
|
-
iconFontSize: {
|
|
62
|
-
type: 'px',
|
|
63
|
-
label: '日期图标尺寸',
|
|
64
|
-
groupsName: '文字',
|
|
65
|
-
followTheme: '@font-size-base'
|
|
66
|
-
},
|
|
67
|
-
iconColor: {
|
|
68
|
-
type: 'color',
|
|
69
|
-
label: '日期图标颜色',
|
|
70
|
-
groupsName: '文字'
|
|
71
72
|
}
|
|
72
73
|
},
|
|
73
74
|
groupsName: '数据录入',
|
|
@@ -75,10 +76,11 @@ export var DatePicker = {
|
|
|
75
76
|
title: '日期选择 ',
|
|
76
77
|
defaultValue: [{
|
|
77
78
|
iconFontSize: '14px',
|
|
78
|
-
iconColor: '#
|
|
79
|
+
iconColor: '#47e'
|
|
79
80
|
}],
|
|
80
81
|
followThemes: {
|
|
81
|
-
'@font-size-base': ['iconFontSize']
|
|
82
|
+
'@font-size-base': ['iconFontSize'],
|
|
83
|
+
'@primary-color': ['iconColor']
|
|
82
84
|
},
|
|
83
85
|
tpl: ".ued-datePicker-wrap {\n .pcfactory-picker-suffix{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }\n .pcfactory-picker-clear{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }\n }",
|
|
84
86
|
components: [{
|
|
@@ -6,6 +6,7 @@ export declare const Description: {
|
|
|
6
6
|
type: string;
|
|
7
7
|
label: string;
|
|
8
8
|
groupsName: string;
|
|
9
|
+
followTheme: string;
|
|
9
10
|
};
|
|
10
11
|
borderWidth: {
|
|
11
12
|
type: string;
|
|
@@ -26,11 +27,13 @@ export declare const Description: {
|
|
|
26
27
|
type: string;
|
|
27
28
|
label: string;
|
|
28
29
|
groupsName: string;
|
|
30
|
+
followTheme: string;
|
|
29
31
|
};
|
|
30
32
|
bodyTextColor: {
|
|
31
33
|
type: string;
|
|
32
34
|
label: string;
|
|
33
35
|
groupsName: string;
|
|
36
|
+
followTheme: string;
|
|
34
37
|
};
|
|
35
38
|
paddingValue: {
|
|
36
39
|
type: string;
|
|
@@ -56,6 +59,11 @@ export declare const Description: {
|
|
|
56
59
|
textColor: string;
|
|
57
60
|
bodyTextColor: string;
|
|
58
61
|
}[];
|
|
62
|
+
followThemes: {
|
|
63
|
+
'@text-color': string[];
|
|
64
|
+
'@heading-color': string[];
|
|
65
|
+
'@border-color-base': never[];
|
|
66
|
+
};
|
|
59
67
|
tpl: string;
|
|
60
68
|
components: {
|
|
61
69
|
id: string;
|
|
@@ -5,7 +5,8 @@ export var Description = {
|
|
|
5
5
|
borderColor: {
|
|
6
6
|
type: 'color',
|
|
7
7
|
label: '边框颜色',
|
|
8
|
-
groupsName: '边框'
|
|
8
|
+
groupsName: '边框',
|
|
9
|
+
followTheme: '@border-color-base'
|
|
9
10
|
},
|
|
10
11
|
borderWidth: {
|
|
11
12
|
type: 'px',
|
|
@@ -25,12 +26,14 @@ export var Description = {
|
|
|
25
26
|
textColor: {
|
|
26
27
|
type: 'color',
|
|
27
28
|
label: '标题文本颜色',
|
|
28
|
-
groupsName: '文字'
|
|
29
|
+
groupsName: '文字',
|
|
30
|
+
followTheme: '@heading-color'
|
|
29
31
|
},
|
|
30
32
|
bodyTextColor: {
|
|
31
33
|
type: 'color',
|
|
32
34
|
label: '正文文本颜色',
|
|
33
|
-
groupsName: '文字'
|
|
35
|
+
groupsName: '文字',
|
|
36
|
+
followTheme: '@text-color'
|
|
34
37
|
},
|
|
35
38
|
paddingValue: {
|
|
36
39
|
type: 'marginInput',
|
|
@@ -56,6 +59,11 @@ export var Description = {
|
|
|
56
59
|
textColor: '#3e454d',
|
|
57
60
|
bodyTextColor: '#3e454d'
|
|
58
61
|
}],
|
|
62
|
+
followThemes: {
|
|
63
|
+
'@text-color': ['bodyTextColor'],
|
|
64
|
+
'@heading-color': ['textColor'],
|
|
65
|
+
'@border-color-base': []
|
|
66
|
+
},
|
|
59
67
|
tpl: ".ued-description-wrap{\n .ued-description.border{\n border-left: borderWidth solid borderColor;\n border-top: borderWidth solid borderColor;\n }\n .ued-description .ued-description-cell.border{\n border-bottom: borderWidth solid borderColor;\n border-right: borderWidth solid borderColor;\n }\n .ued-description .ued-description-cell .ued-description-label.bg{\n border-right: borderWidth solid borderColor;\n background: backgroundColor;\n color: textColor;\n }\n .ued-description .ued-description-cell .ued-description-label{\n padding: paddingValue;\n }\n .ued-description .ued-description-cell .ued-description-cont{\n padding: bodyPaddingValue;\n background: bodyBgColor;\n color: bodyTextColor;\n }\n }",
|
|
60
68
|
components: [{
|
|
61
69
|
id: 'Description_180191',
|
package/dist/config/Form.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const Form: {
|
|
|
12
12
|
label: string;
|
|
13
13
|
groupsName: string;
|
|
14
14
|
desc: string;
|
|
15
|
+
followTheme: string;
|
|
15
16
|
};
|
|
16
17
|
labelLineHeight: {
|
|
17
18
|
type: string;
|
|
@@ -31,6 +32,7 @@ export declare const Form: {
|
|
|
31
32
|
label: string;
|
|
32
33
|
groupsName: string;
|
|
33
34
|
desc: string;
|
|
35
|
+
followTheme: string;
|
|
34
36
|
};
|
|
35
37
|
fontSize: {
|
|
36
38
|
type: string;
|
|
@@ -44,10 +46,12 @@ export declare const Form: {
|
|
|
44
46
|
label: string;
|
|
45
47
|
groupsName: string;
|
|
46
48
|
desc: string;
|
|
49
|
+
followTheme: string;
|
|
47
50
|
};
|
|
48
51
|
itemBorderRadius: {
|
|
49
52
|
type: string;
|
|
50
53
|
label: string;
|
|
54
|
+
followTheme: string;
|
|
51
55
|
groupsName: string;
|
|
52
56
|
desc: string;
|
|
53
57
|
};
|
|
@@ -66,7 +70,10 @@ export declare const Form: {
|
|
|
66
70
|
itemBorderRadius: string;
|
|
67
71
|
}[];
|
|
68
72
|
followThemes: {
|
|
73
|
+
'@text-color': string[];
|
|
74
|
+
'@border-radius-base': never[];
|
|
69
75
|
'@font-size-base': string[];
|
|
76
|
+
'@border-color-base': string[];
|
|
70
77
|
};
|
|
71
78
|
itemCustomTpl: string;
|
|
72
79
|
tpl: string;
|
package/dist/config/Form.js
CHANGED
|
@@ -27,7 +27,8 @@ export var Form = {
|
|
|
27
27
|
type: 'color',
|
|
28
28
|
label: '标题文本颜色',
|
|
29
29
|
groupsName: '文字',
|
|
30
|
-
desc: '对所有[数据录入]类型组件生效'
|
|
30
|
+
desc: '对所有[数据录入]类型组件生效',
|
|
31
|
+
followTheme: '@text-color'
|
|
31
32
|
},
|
|
32
33
|
labelLineHeight: {
|
|
33
34
|
type: 'px',
|
|
@@ -46,7 +47,8 @@ export var Form = {
|
|
|
46
47
|
type: 'color',
|
|
47
48
|
label: '文本颜色',
|
|
48
49
|
groupsName: '文字',
|
|
49
|
-
desc: '对所有[数据录入]类型组件生效'
|
|
50
|
+
desc: '对所有[数据录入]类型组件生效',
|
|
51
|
+
followTheme: '@text-color'
|
|
50
52
|
},
|
|
51
53
|
fontSize: {
|
|
52
54
|
type: 'px',
|
|
@@ -59,11 +61,13 @@ export var Form = {
|
|
|
59
61
|
type: 'color',
|
|
60
62
|
label: '组件边框颜色',
|
|
61
63
|
groupsName: '边框',
|
|
62
|
-
desc: '对所有[数据录入]类型组件生效'
|
|
64
|
+
desc: '对所有[数据录入]类型组件生效',
|
|
65
|
+
followTheme: '@border-color-base'
|
|
63
66
|
},
|
|
64
67
|
itemBorderRadius: {
|
|
65
68
|
type: 'px',
|
|
66
69
|
label: '组件边框圆角',
|
|
70
|
+
followTheme: '@border-radius-base',
|
|
67
71
|
groupsName: '边框',
|
|
68
72
|
desc: '对所有[数据录入]类型组件生效'
|
|
69
73
|
}
|
|
@@ -82,7 +86,10 @@ export var Form = {
|
|
|
82
86
|
itemBorderRadius: '2px'
|
|
83
87
|
}],
|
|
84
88
|
followThemes: {
|
|
85
|
-
'@
|
|
89
|
+
'@text-color': ['textColor', 'labelTextColor'],
|
|
90
|
+
'@border-radius-base': [],
|
|
91
|
+
'@font-size-base': ['labelFontSize', 'fontSize'],
|
|
92
|
+
'@border-color-base': ['itemBorderColor']
|
|
86
93
|
},
|
|
87
94
|
// 标签是 form 表单里面才有的,单独拉数据录入组件是没有标签的。
|
|
88
95
|
// 为了 tpl 干净,不在下列添加注释,顺序是输入框、多行输入框、数字输入、验证码、单选组、复选组、下拉单选、下拉复选、日期选择、时间选择、开关、文件上传、滑动输入条、评星
|
package/dist/config/Radio.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare const Radio: {
|
|
|
51
51
|
type: string;
|
|
52
52
|
label: string;
|
|
53
53
|
groupsName: string;
|
|
54
|
+
followTheme: string;
|
|
54
55
|
};
|
|
55
56
|
radioBgColor: {
|
|
56
57
|
type: string;
|
|
@@ -81,6 +82,7 @@ export declare const Radio: {
|
|
|
81
82
|
}[];
|
|
82
83
|
followThemes: {
|
|
83
84
|
'@primary-color': string[];
|
|
85
|
+
'@border-color-base': string[];
|
|
84
86
|
};
|
|
85
87
|
tpl: string;
|
|
86
88
|
components: {
|
package/dist/config/Radio.js
CHANGED
|
@@ -50,7 +50,8 @@ export var Radio = {
|
|
|
50
50
|
radioBorderColor: {
|
|
51
51
|
type: 'color',
|
|
52
52
|
label: '默认边框颜色',
|
|
53
|
-
groupsName: '边框'
|
|
53
|
+
groupsName: '边框',
|
|
54
|
+
followTheme: '@border-color-base'
|
|
54
55
|
},
|
|
55
56
|
radioBgColor: {
|
|
56
57
|
type: 'color',
|
|
@@ -80,7 +81,8 @@ export var Radio = {
|
|
|
80
81
|
radioSeBgColor: '#fff'
|
|
81
82
|
}],
|
|
82
83
|
followThemes: {
|
|
83
|
-
'@primary-color': ['radioSeBorderColor']
|
|
84
|
+
'@primary-color': ['radioSeBorderColor'],
|
|
85
|
+
'@border-color-base': ['radioBorderColor']
|
|
84
86
|
},
|
|
85
87
|
tpl: ".ued-radio-wrap {\n .pcfactory-radio-inner{\n width: radioSize;\n height: radioSize;\n border-color: radioBorderColor;\n background: radioBgColor;\n }\n .pcfactory-radio-checked .pcfactory-radio-inner{\n border-color: radioSeBorderColor;\n background: radioSeBgColor;\n }\n .pcfactory-radio-input:focus+.pcfactory-radio-inner{\n border-color: radioSeBorderColor;\n }\n .pcfactory-radio-wrapper:hover .pcfactory-radio{\n border-color: radioSeBorderColor;\n}\n .pcfactory-radio:hover .pcfactory-radio-inner {\n border-color: radioSeBorderColor;\n }\n .pcfactory-form-item input[type=checkbox]{\n width: radioSize;\n height: radioSize;\n }\n .pcfactory-form-item input[type=radio]{\n width: radioSize;\n height: radioSize;\n }\n .pcfactory-radio-checked .pcfactory-radio-inner:after{\n background: radioSeBorderColor;\n margin-left:0px;\n margin-top:0px;\n top:-1px;\n left:-1px;\n border-radius: radioSize;\n width: radioSize;\n height: radioSize;\n }\n .pcfactory-radio-button-wrapper {\n border-top: 1px solid radioBorderColor;\n border-right: 1px solid radioBorderColor;\n border-bottom: 1px solid radioBorderColor;\n background: radioBgColor;\n }\n .pcfactory-radio-button-wrapper:first-child{\n border-left: 1px solid radioBorderColor;\n }\n .pcfactory-radio-button-wrapper-checked:not([class*=' pcfactory-radio-button-wrapper-disabled']).pcfactory-radio-button-wrapper:first-child{\n border-right-color: radioBorderColor;\n border-color: radioBorderColor;\n }\n .pcfactory-radio-button-wrapper-checked:not(.pcfactory-radio-button-wrapper-disabled){\n background: radioSeBorderColor;\n color: radioSeBgColor;\n }\n}",
|
|
86
88
|
components: [{
|
package/dist/config/Table.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare const Table: {
|
|
|
54
54
|
type: string;
|
|
55
55
|
label: string;
|
|
56
56
|
groupsName: string;
|
|
57
|
+
followTheme: string;
|
|
57
58
|
};
|
|
58
59
|
tbFontSize: {
|
|
59
60
|
type: string;
|
|
@@ -65,11 +66,13 @@ export declare const Table: {
|
|
|
65
66
|
type: string;
|
|
66
67
|
label: string;
|
|
67
68
|
groupsName: string;
|
|
69
|
+
followTheme: string;
|
|
68
70
|
};
|
|
69
71
|
tbBorderRadius: {
|
|
70
72
|
type: string;
|
|
71
73
|
label: string;
|
|
72
74
|
groupsName: string;
|
|
75
|
+
followTheme: string;
|
|
73
76
|
};
|
|
74
77
|
headBgColor: {
|
|
75
78
|
type: string;
|
|
@@ -94,6 +97,7 @@ export declare const Table: {
|
|
|
94
97
|
headTextColor: {
|
|
95
98
|
type: string;
|
|
96
99
|
label: string;
|
|
100
|
+
followTheme: string;
|
|
97
101
|
groupsName: string;
|
|
98
102
|
};
|
|
99
103
|
headFontWeight: {
|
|
@@ -128,6 +132,7 @@ export declare const Table: {
|
|
|
128
132
|
type: string;
|
|
129
133
|
label: string;
|
|
130
134
|
groupsName: string;
|
|
135
|
+
followTheme: string;
|
|
131
136
|
};
|
|
132
137
|
bodyFontWeight: {
|
|
133
138
|
type: string;
|
|
@@ -180,6 +185,9 @@ export declare const Table: {
|
|
|
180
185
|
followThemes: {
|
|
181
186
|
'@primary-color': string[];
|
|
182
187
|
'@font-size-base': string[];
|
|
188
|
+
'@text-color': never[];
|
|
189
|
+
'@border-radius-base': never[];
|
|
190
|
+
'@border-color-base': never[];
|
|
183
191
|
};
|
|
184
192
|
tpl: string;
|
|
185
193
|
components: ({
|
package/dist/config/Table.js
CHANGED
|
@@ -71,7 +71,8 @@ export var Table = {
|
|
|
71
71
|
selectPaginationRadius: {
|
|
72
72
|
type: 'px',
|
|
73
73
|
label: '选中项边框圆角',
|
|
74
|
-
groupsName: '表格分页'
|
|
74
|
+
groupsName: '表格分页',
|
|
75
|
+
followTheme: '@border-radius-base'
|
|
75
76
|
},
|
|
76
77
|
// 基础表格
|
|
77
78
|
tbFontSize: {
|
|
@@ -83,12 +84,14 @@ export var Table = {
|
|
|
83
84
|
tbBorderColor: {
|
|
84
85
|
type: 'color',
|
|
85
86
|
label: '边框颜色',
|
|
86
|
-
groupsName: '基础'
|
|
87
|
+
groupsName: '基础',
|
|
88
|
+
followTheme: '@border-color-base'
|
|
87
89
|
},
|
|
88
90
|
tbBorderRadius: {
|
|
89
91
|
type: 'px',
|
|
90
92
|
label: '边框圆角',
|
|
91
|
-
groupsName: '基础'
|
|
93
|
+
groupsName: '基础',
|
|
94
|
+
followTheme: '@border-radius-base'
|
|
92
95
|
},
|
|
93
96
|
headBgColor: {
|
|
94
97
|
type: 'color',
|
|
@@ -113,6 +116,7 @@ export var Table = {
|
|
|
113
116
|
headTextColor: {
|
|
114
117
|
type: 'color',
|
|
115
118
|
label: '文本颜色',
|
|
119
|
+
followTheme: '@text-color',
|
|
116
120
|
groupsName: '表头'
|
|
117
121
|
},
|
|
118
122
|
headFontWeight: {
|
|
@@ -170,7 +174,8 @@ export var Table = {
|
|
|
170
174
|
bodyTextColor: {
|
|
171
175
|
type: 'color',
|
|
172
176
|
label: '文本颜色',
|
|
173
|
-
groupsName: '内容行'
|
|
177
|
+
groupsName: '内容行',
|
|
178
|
+
followTheme: '@text-color'
|
|
174
179
|
},
|
|
175
180
|
bodyFontWeight: {
|
|
176
181
|
type: 'select',
|
|
@@ -246,7 +251,10 @@ export var Table = {
|
|
|
246
251
|
}],
|
|
247
252
|
followThemes: {
|
|
248
253
|
'@primary-color': ['selectPaginationColor', 'selectPaginationBorder'],
|
|
249
|
-
'@font-size-base': ['tbFontSize']
|
|
254
|
+
'@font-size-base': ['tbFontSize'],
|
|
255
|
+
'@text-color': [],
|
|
256
|
+
'@border-radius-base': [],
|
|
257
|
+
'@border-color-base': []
|
|
250
258
|
},
|
|
251
259
|
tpl: ".ued-table-wrap {\n .pcfactory-table{\n font-size: tbFontSize;\n }\n .pcfactory-table-tbody{\n background: bodyBgColor;\n }\n .ued-table .pcfactory-table table {\n border-radius: tbBorderRadius;\n border: 1px solid #E8E8E8;\n overflow: hidden;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:first-child{\n border-top-left-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:last-child{\n border-top-right-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table table .pcfactory-table-thead th {\n background: headBgColor;\n padding: headPadding;\n color: headTextColor;\n font-weight: headFontWeight;\n text-align: headTextAlign;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-bottom: headLineSize solid headLineColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-thead>tr>th{\n border-bottom: headLineSize solid headLineColor;\n }\n .ued-table .pcfactory-table-thead>tr>th{\n border-bottom: headLineSize solid headLineColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n text-align: bodyTextAlign;\n }\n .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n text-align: bodyTextAlign;\n }\n .ued-table-filters .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n border-radius: tbBorderRadius;\n }\n .ued-table-filters .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n }\n .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n border-style: solid;\n border-width: 1px;\n }\n .ued-table-page .pcfactory-pagination-item{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-item-link{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-select .pcfactory-select-selector{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-pagination-options-quick-jumper input{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-filters .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n}",
|
|
252
260
|
components: [{
|
package/dist/config/Tabs.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare const Tabs: {
|
|
|
23
23
|
type: string;
|
|
24
24
|
label: string;
|
|
25
25
|
groupsName: string;
|
|
26
|
+
followTheme: string;
|
|
26
27
|
};
|
|
27
28
|
paddingValue: {
|
|
28
29
|
type: string;
|
|
@@ -76,6 +77,7 @@ export declare const Tabs: {
|
|
|
76
77
|
type: string;
|
|
77
78
|
label: string;
|
|
78
79
|
groupsName: string;
|
|
80
|
+
followTheme: string;
|
|
79
81
|
};
|
|
80
82
|
bodyColor: {
|
|
81
83
|
type: string;
|
|
@@ -104,6 +106,7 @@ export declare const Tabs: {
|
|
|
104
106
|
}[];
|
|
105
107
|
followThemes: {
|
|
106
108
|
'@primary-color': string[];
|
|
109
|
+
'@border-radius-base': never[];
|
|
107
110
|
};
|
|
108
111
|
tpl: string;
|
|
109
112
|
components: ({
|
package/dist/config/Tabs.js
CHANGED
|
@@ -22,7 +22,8 @@ export var Tabs = {
|
|
|
22
22
|
activeRadius: {
|
|
23
23
|
type: 'px',
|
|
24
24
|
label: '选中项边框圆角',
|
|
25
|
-
groupsName: '边框'
|
|
25
|
+
groupsName: '边框',
|
|
26
|
+
followTheme: '@border-radius-base'
|
|
26
27
|
},
|
|
27
28
|
paddingValue: {
|
|
28
29
|
type: 'marginInput',
|
|
@@ -116,7 +117,8 @@ export var Tabs = {
|
|
|
116
117
|
borderRadius: {
|
|
117
118
|
type: 'px',
|
|
118
119
|
label: '边框圆角',
|
|
119
|
-
groupsName: '边框'
|
|
120
|
+
groupsName: '边框',
|
|
121
|
+
followTheme: '@border-radius-base'
|
|
120
122
|
},
|
|
121
123
|
bodyColor: {
|
|
122
124
|
type: 'color',
|
|
@@ -144,9 +146,10 @@ export var Tabs = {
|
|
|
144
146
|
activeFontWeight: '300'
|
|
145
147
|
}],
|
|
146
148
|
followThemes: {
|
|
147
|
-
'@primary-color': ['activeFColor', 'activeBgColor']
|
|
149
|
+
'@primary-color': ['activeFColor', 'activeBgColor'],
|
|
150
|
+
'@border-radius-base': []
|
|
148
151
|
},
|
|
149
|
-
tpl: ".ued-tabs-wrap {\n .pcfactory-tabs-card.pcfactory-tabs-bottom .pcfactory-tabs-tab.pcfactory-tabs-tab-active {\n border-top: 1px solid activeBgColor !important;\n background-color: activeBgColor !important;\n }\n .pcfactory-tabs {\n border-radius: borderRadius !important;\n }\n .ued-tabs-tabpane-content{\n background-color: bodyColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background: headBgColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs-top .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-left .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active:hover{\n background: activeBgColor !important;\n }\n .pcfactory-tabs-top .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-left .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-card.pcfactory-tabs-bottom .pcfactory-tabs-tab{\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-left .pcfactory-tabs-tab{\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-right .pcfactory-tabs-tab{\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-top .pcfactory-tabs-tab{\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n}\n.pcfactory-tabs-card .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn:hover{\n color: activeBgColor;\n}\n .pcfactory-tabs-tab.pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab{\n margin-right: marginValue;\n padding: paddingValue;\n }\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab {\n margin-right: marginValue;\n background: #fff;\n border: 1px solid #f0f0f0;\n transform: translateY(1px);\n}\n .pcfactory-tabs-top > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > .pcfactory-tabs-nav::before, .pcfactory-tabs-top > div > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > div > .pcfactory-tabs-nav::before{\n border-bottom: 2px solid activeFColor;\n z-index: 1;\n}\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab-active{\n background: activeBgColor !important;\n }\n }\n ",
|
|
152
|
+
tpl: ".ued-tabs-wrap {\n .pcfactory-tabs-card.pcfactory-tabs-bottom .pcfactory-tabs-tab.pcfactory-tabs-tab-active {\n border-top: 1px solid activeBgColor !important;\n background-color: activeBgColor !important;\n }\n .pcfactory-tabs {\n border-radius: borderRadius !important;\n }\n .ued-tabs-tabpane-content{\n background-color: bodyColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background: headBgColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs-top .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-left .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active:hover{\n background: activeBgColor !important;\n }\n .pcfactory-tabs-top .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-left .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-card.pcfactory-tabs-bottom .pcfactory-tabs-tab{\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-left .pcfactory-tabs-tab{\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-right .pcfactory-tabs-tab{\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-top .pcfactory-tabs-tab{\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n}\n.pcfactory-tabs-card .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn:hover{\n color: activeBgColor;\n}\n .pcfactory-tabs-tab.pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab{\n margin-right: marginValue;\n padding: paddingValue;\n }\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab {\n margin-right: marginValue;\n background: #fff;\n border: 1px solid #f0f0f0;\n transform: translateY(1px);\n}\n\n .pcfactory-tabs-top > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > .pcfactory-tabs-nav::before, .pcfactory-tabs-card.pcfactory-tabs-top > div > .pcfactory-tabs-nav::before, .pcfactory-tabs-card.pcfactory-tabs-bottom > div > .pcfactory-tabs-nav::before{\n border-bottom: 2px solid activeFColor !important;\n z-index: 1;\n}\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab-active{\n background: activeBgColor !important;\n }\n }\n ",
|
|
150
153
|
components: [{
|
|
151
154
|
id: 'Text_1726476',
|
|
152
155
|
label: '文本',
|
package/dist/config/Tree.d.ts
CHANGED
|
@@ -5,16 +5,19 @@ export declare const Tree: {
|
|
|
5
5
|
type: string;
|
|
6
6
|
label: string;
|
|
7
7
|
groupsName: string;
|
|
8
|
+
followTheme: string;
|
|
8
9
|
};
|
|
9
10
|
borderRadius: {
|
|
10
11
|
type: string;
|
|
11
12
|
label: string;
|
|
12
13
|
groupsName: string;
|
|
14
|
+
followTheme: string;
|
|
13
15
|
};
|
|
14
16
|
textColor: {
|
|
15
17
|
type: string;
|
|
16
18
|
label: string;
|
|
17
19
|
groupsName: string;
|
|
20
|
+
followTheme: string;
|
|
18
21
|
};
|
|
19
22
|
fontSize: {
|
|
20
23
|
type: string;
|
|
@@ -31,6 +34,7 @@ export declare const Tree: {
|
|
|
31
34
|
type: string;
|
|
32
35
|
label: string;
|
|
33
36
|
groupsName: string;
|
|
37
|
+
followTheme: string;
|
|
34
38
|
};
|
|
35
39
|
treeFontSize: {
|
|
36
40
|
type: string;
|
|
@@ -73,6 +77,9 @@ export declare const Tree: {
|
|
|
73
77
|
followThemes: {
|
|
74
78
|
'@primary-color': string[];
|
|
75
79
|
'@font-size-base': string[];
|
|
80
|
+
'@text-color': string[];
|
|
81
|
+
'@border-color-base': string[];
|
|
82
|
+
'@border-radius-base': string[];
|
|
76
83
|
};
|
|
77
84
|
tpl: string;
|
|
78
85
|
components: {
|
package/dist/config/Tree.js
CHANGED
|
@@ -4,17 +4,20 @@ export var Tree = {
|
|
|
4
4
|
borderColor: {
|
|
5
5
|
type: 'color',
|
|
6
6
|
label: '边框颜色',
|
|
7
|
-
groupsName: '搜索框样式'
|
|
7
|
+
groupsName: '搜索框样式',
|
|
8
|
+
followTheme: '@border-color-base'
|
|
8
9
|
},
|
|
9
10
|
borderRadius: {
|
|
10
11
|
type: 'px',
|
|
11
12
|
label: '边框圆角',
|
|
12
|
-
groupsName: '搜索框样式'
|
|
13
|
+
groupsName: '搜索框样式',
|
|
14
|
+
followTheme: '@border-radius-base'
|
|
13
15
|
},
|
|
14
16
|
textColor: {
|
|
15
17
|
type: 'color',
|
|
16
18
|
label: '文本颜色',
|
|
17
|
-
groupsName: '搜索框样式'
|
|
19
|
+
groupsName: '搜索框样式',
|
|
20
|
+
followTheme: '@text-color'
|
|
18
21
|
},
|
|
19
22
|
fontSize: {
|
|
20
23
|
type: 'px',
|
|
@@ -31,7 +34,8 @@ export var Tree = {
|
|
|
31
34
|
treeTextColor: {
|
|
32
35
|
type: 'color',
|
|
33
36
|
label: '文本颜色',
|
|
34
|
-
groupsName: '树样式'
|
|
37
|
+
groupsName: '树样式',
|
|
38
|
+
followTheme: '@text-color'
|
|
35
39
|
},
|
|
36
40
|
treeFontSize: {
|
|
37
41
|
type: 'px',
|
|
@@ -74,7 +78,10 @@ export var Tree = {
|
|
|
74
78
|
}],
|
|
75
79
|
followThemes: {
|
|
76
80
|
'@primary-color': ['treeIconColor'],
|
|
77
|
-
'@font-size-base': ['fontSize', 'treeFontSize']
|
|
81
|
+
'@font-size-base': ['fontSize', 'treeFontSize'],
|
|
82
|
+
'@text-color': ['textColor', 'treeTextColor'],
|
|
83
|
+
'@border-color-base': ['borderColor'],
|
|
84
|
+
'@border-radius-base': ['borderRadius']
|
|
78
85
|
},
|
|
79
86
|
tpl: ".ued-tree-wrap .ued-tree-search .pcfactory-input{\n color: textColor;\n border-color: borderColor;\n font-size: fontSize;\n border-bottom-left-radius: borderRadius;\n border-top-left-radius: borderRadius;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n height: calc(1.5715* fontSize + 10px);\n border-color: borderColor;\n border-bottom-right-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n .ued-tree .ued-tree-tit{\n color: treeTextColor;\n font-size: treeFontSize;\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper.pcfactory-tree-node-selected{\n background-color: treeBgColor\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode span.pcfactory-tree-switcher{\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-tree-show-line .pcfactory-tree-indent-unit:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:after{\n border-color: treeLineColor;\n\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper .pcfactory-tree-iconEle .ued-icon.fill-primary{\n fill: treeIconColor;\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n width: btnWidth;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button .anticon svg{\n width: fontSize;\n height: fontSize;\n }",
|
|
80
87
|
components: [{
|
package/dist/lx-mobile.js
CHANGED
|
@@ -105,19 +105,22 @@ export function px2rem(obj) {
|
|
|
105
105
|
for (var key in obj) {
|
|
106
106
|
if (obj.hasOwnProperty(key)) {
|
|
107
107
|
var value = obj[key];
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
var
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
108
|
+
if (value) {
|
|
109
|
+
var _value;
|
|
110
|
+
var values = (_value = value) === null || _value === void 0 ? void 0 : _value.split(' ');
|
|
111
|
+
if (values.length > 0) {
|
|
112
|
+
var remValues = values.map(function (val) {
|
|
113
|
+
if (val.includes('px')) {
|
|
114
|
+
var parsedValue = parseFloat(val);
|
|
115
|
+
return "".concat(parsedValue / 50, "rem");
|
|
116
|
+
}
|
|
117
|
+
return val;
|
|
118
|
+
});
|
|
119
|
+
value = remValues.join(' ');
|
|
120
|
+
} else if (value.includes('px')) {
|
|
121
|
+
var parsedValue = parseFloat(value);
|
|
122
|
+
value = "".concat(parsedValue / 50, "rem");
|
|
123
|
+
}
|
|
121
124
|
}
|
|
122
125
|
remObj[key] = value;
|
|
123
126
|
}
|