@lingxiteam/theme-utils 0.2.16 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/Cascader.d.ts +16 -16
- package/dist/config/Cascader.js +16 -16
- 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/RangePicker.d.ts +19 -16
- package/dist/config/RangePicker.js +21 -18
- package/dist/config/StdUpload.d.ts +25 -22
- package/dist/config/StdUpload.js +26 -23
- 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/TimePicker.d.ts +13 -11
- package/dist/config/TimePicker.js +14 -12
- package/dist/config/Tree.d.ts +7 -0
- package/dist/config/Tree.js +12 -5
- package/dist/config/TreeSelect.d.ts +16 -16
- package/dist/config/TreeSelect.js +16 -16
- package/dist/h5config/Accordion.d.ts +1 -1
- package/dist/h5config/Accordion.js +2 -2
- package/dist/h5config/Button.d.ts +1 -1
- package/dist/h5config/Button.js +2 -2
- package/dist/h5config/Card.d.ts +1 -1
- package/dist/h5config/Card.js +2 -2
- package/dist/h5config/DCheckbox.d.ts +1 -1
- package/dist/h5config/DCheckbox.js +3 -3
- package/dist/h5config/DformFile.d.ts +1 -1
- package/dist/h5config/DformFile.js +2 -2
- package/dist/h5config/DformRadio.d.ts +1 -1
- package/dist/h5config/DformRadio.js +3 -3
- package/dist/h5config/DformSwitch.d.ts +1 -1
- package/dist/h5config/DformSwitch.js +2 -2
- package/dist/h5config/StaticTabs.d.ts +1 -1
- package/dist/h5config/StaticTabs.js +3 -3
- package/dist/lx-mobile.d.ts +1 -1
- package/dist/lx-mobile.js +17 -14
- package/package.json +1 -1
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: [{
|
|
@@ -2,6 +2,24 @@ export declare const RangePicker: {
|
|
|
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
|
+
};
|
|
17
|
+
lineColor: {
|
|
18
|
+
type: string;
|
|
19
|
+
label: string;
|
|
20
|
+
groupsName: string;
|
|
21
|
+
followTheme: string;
|
|
22
|
+
};
|
|
5
23
|
labelTextColor: {
|
|
6
24
|
type: string;
|
|
7
25
|
label: string;
|
|
@@ -58,22 +76,6 @@ export declare const RangePicker: {
|
|
|
58
76
|
canEdit: boolean;
|
|
59
77
|
extendsKey: string;
|
|
60
78
|
};
|
|
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
|
-
lineColor: {
|
|
73
|
-
type: string;
|
|
74
|
-
label: string;
|
|
75
|
-
groupsName: string;
|
|
76
|
-
};
|
|
77
79
|
};
|
|
78
80
|
groupsName: string;
|
|
79
81
|
icon: string;
|
|
@@ -84,6 +86,7 @@ export declare const RangePicker: {
|
|
|
84
86
|
lineColor: string;
|
|
85
87
|
}[];
|
|
86
88
|
followThemes: {
|
|
89
|
+
'@text-color-secondary': string[];
|
|
87
90
|
'@font-size-base': string[];
|
|
88
91
|
};
|
|
89
92
|
tpl: string;
|
|
@@ -2,6 +2,24 @@ export var RangePicker = {
|
|
|
2
2
|
type: 'RangePicker',
|
|
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: '@text-color-secondary'
|
|
16
|
+
},
|
|
17
|
+
lineColor: {
|
|
18
|
+
type: 'color',
|
|
19
|
+
label: '时间连接线颜色',
|
|
20
|
+
groupsName: '文字',
|
|
21
|
+
followTheme: '@text-color-secondary'
|
|
22
|
+
},
|
|
5
23
|
labelTextColor: {
|
|
6
24
|
type: 'color',
|
|
7
25
|
label: '标题文本颜色',
|
|
@@ -57,22 +75,6 @@ export var RangePicker = {
|
|
|
57
75
|
desc: '继承自表单,此处不可编辑',
|
|
58
76
|
canEdit: false,
|
|
59
77
|
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
|
-
lineColor: {
|
|
73
|
-
type: 'color',
|
|
74
|
-
label: '时间连接线颜色',
|
|
75
|
-
groupsName: '文字'
|
|
76
78
|
}
|
|
77
79
|
},
|
|
78
80
|
groupsName: '数据录入',
|
|
@@ -80,10 +82,11 @@ export var RangePicker = {
|
|
|
80
82
|
title: '时间段选择',
|
|
81
83
|
defaultValue: [{
|
|
82
84
|
iconFontSize: '14px',
|
|
83
|
-
iconColor: '#
|
|
84
|
-
lineColor: '#
|
|
85
|
+
iconColor: '#9092A3',
|
|
86
|
+
lineColor: '#9092A3'
|
|
85
87
|
}],
|
|
86
88
|
followThemes: {
|
|
89
|
+
'@text-color-secondary': ['iconColor', 'lineColor'],
|
|
87
90
|
'@font-size-base': ['iconFontSize']
|
|
88
91
|
},
|
|
89
92
|
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 .pcfactory-picker-range-separator{\n color: lineColor;\n }\n }",
|
|
@@ -2,6 +2,30 @@ export declare const StdUpload: {
|
|
|
2
2
|
type: string;
|
|
3
3
|
hasPrefixClass: boolean;
|
|
4
4
|
variable: {
|
|
5
|
+
listTextColor: {
|
|
6
|
+
type: string;
|
|
7
|
+
label: string;
|
|
8
|
+
groupsName: string;
|
|
9
|
+
followTheme: string;
|
|
10
|
+
};
|
|
11
|
+
listFontSize: {
|
|
12
|
+
type: string;
|
|
13
|
+
label: string;
|
|
14
|
+
groupsName: string;
|
|
15
|
+
followTheme: string;
|
|
16
|
+
};
|
|
17
|
+
listIconColor: {
|
|
18
|
+
type: string;
|
|
19
|
+
label: string;
|
|
20
|
+
groupsName: string;
|
|
21
|
+
followTheme: string;
|
|
22
|
+
};
|
|
23
|
+
lisIconSize: {
|
|
24
|
+
type: string;
|
|
25
|
+
label: string;
|
|
26
|
+
groupsName: string;
|
|
27
|
+
followTheme: string;
|
|
28
|
+
};
|
|
5
29
|
labelTextColor: {
|
|
6
30
|
type: string;
|
|
7
31
|
label: string;
|
|
@@ -42,28 +66,6 @@ export declare const StdUpload: {
|
|
|
42
66
|
canEdit: boolean;
|
|
43
67
|
extendsKey: string;
|
|
44
68
|
};
|
|
45
|
-
listTextColor: {
|
|
46
|
-
type: string;
|
|
47
|
-
label: string;
|
|
48
|
-
groupsName: string;
|
|
49
|
-
};
|
|
50
|
-
listFontSize: {
|
|
51
|
-
type: string;
|
|
52
|
-
label: string;
|
|
53
|
-
groupsName: string;
|
|
54
|
-
followTheme: string;
|
|
55
|
-
};
|
|
56
|
-
listIconColor: {
|
|
57
|
-
type: string;
|
|
58
|
-
label: string;
|
|
59
|
-
groupsName: string;
|
|
60
|
-
};
|
|
61
|
-
lisIconSize: {
|
|
62
|
-
type: string;
|
|
63
|
-
label: string;
|
|
64
|
-
groupsName: string;
|
|
65
|
-
followTheme: string;
|
|
66
|
-
};
|
|
67
69
|
};
|
|
68
70
|
groupsName: string;
|
|
69
71
|
icon: string;
|
|
@@ -76,6 +78,7 @@ export declare const StdUpload: {
|
|
|
76
78
|
}[];
|
|
77
79
|
followThemes: {
|
|
78
80
|
'@font-size-base': string[];
|
|
81
|
+
'@text-color-secondary': string[];
|
|
79
82
|
};
|
|
80
83
|
tpl: string;
|
|
81
84
|
components: {
|
package/dist/config/StdUpload.js
CHANGED
|
@@ -2,6 +2,30 @@ export var StdUpload = {
|
|
|
2
2
|
type: 'StdUpload',
|
|
3
3
|
hasPrefixClass: true,
|
|
4
4
|
variable: {
|
|
5
|
+
listTextColor: {
|
|
6
|
+
type: 'color',
|
|
7
|
+
label: '列表文本颜色',
|
|
8
|
+
groupsName: '文字',
|
|
9
|
+
followTheme: '@text-color-secondary'
|
|
10
|
+
},
|
|
11
|
+
listFontSize: {
|
|
12
|
+
type: 'px',
|
|
13
|
+
label: '列表文本字号',
|
|
14
|
+
groupsName: '文字',
|
|
15
|
+
followTheme: '@text-color-secondary'
|
|
16
|
+
},
|
|
17
|
+
listIconColor: {
|
|
18
|
+
type: 'color',
|
|
19
|
+
label: '列表图标颜色',
|
|
20
|
+
groupsName: '文字',
|
|
21
|
+
followTheme: '@font-size-base'
|
|
22
|
+
},
|
|
23
|
+
lisIconSize: {
|
|
24
|
+
type: 'px',
|
|
25
|
+
label: '列表图标字号',
|
|
26
|
+
groupsName: '文字',
|
|
27
|
+
followTheme: '@font-size-base'
|
|
28
|
+
},
|
|
5
29
|
labelTextColor: {
|
|
6
30
|
type: 'color',
|
|
7
31
|
label: '标题文本颜色',
|
|
@@ -41,28 +65,6 @@ export var StdUpload = {
|
|
|
41
65
|
desc: '继承自表单,此处不可编辑',
|
|
42
66
|
canEdit: false,
|
|
43
67
|
extendsKey: 'Form'
|
|
44
|
-
},
|
|
45
|
-
listTextColor: {
|
|
46
|
-
type: 'color',
|
|
47
|
-
label: '列表文本颜色',
|
|
48
|
-
groupsName: '文字'
|
|
49
|
-
},
|
|
50
|
-
listFontSize: {
|
|
51
|
-
type: 'px',
|
|
52
|
-
label: '列表文本字号',
|
|
53
|
-
groupsName: '文字',
|
|
54
|
-
followTheme: '@font-size-base'
|
|
55
|
-
},
|
|
56
|
-
listIconColor: {
|
|
57
|
-
type: 'color',
|
|
58
|
-
label: '列表图标颜色',
|
|
59
|
-
groupsName: '文字'
|
|
60
|
-
},
|
|
61
|
-
lisIconSize: {
|
|
62
|
-
type: 'px',
|
|
63
|
-
label: '列表图标字号',
|
|
64
|
-
groupsName: '文字',
|
|
65
|
-
followTheme: '@font-size-base'
|
|
66
68
|
}
|
|
67
69
|
},
|
|
68
70
|
groupsName: '数据录入',
|
|
@@ -75,7 +77,8 @@ export var StdUpload = {
|
|
|
75
77
|
lisIconSize: '14px'
|
|
76
78
|
}],
|
|
77
79
|
followThemes: {
|
|
78
|
-
'@font-size-base': ['listFontSize', 'lisIconSize']
|
|
80
|
+
'@font-size-base': ['listFontSize', 'lisIconSize'],
|
|
81
|
+
'@text-color-secondary': ['listTextColor', 'listIconColor']
|
|
79
82
|
},
|
|
80
83
|
tpl: ".ued-stdupload-wrap {\n \n .ued-stdUpload-item-info a {\n color: listTextColor;\n font-size: listFontSize;\n }\n .ued-stdUpload-item-info:hover a{\n color: listTextColor;\n font-size: listFontSize;\n }\n .ued-stdUpload-item-icon .anticon-loading .anticon{\n color: listIconColor;\n > svg{\n width: lisIconSize;\n height: lisIconSize;\n }\n }\n .ued-stdUpload-item-icon .anticon{\n color: listIconColor;\n > svg{\n width: lisIconSize;\n height: lisIconSize;\n }\n }\n .ued-stdUpload-item-error .ued-stdUpload-item-icon .anticon-loading .anticon{\n color: #ff7474;\n }\n .ued-stdUpload-item-error .ued-stdUpload-item-icon .anticon{\n color: #ff7474;\n }\n }\n ",
|
|
81
84
|
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: '文本',
|
|
@@ -2,6 +2,18 @@ export declare const TimePicker: {
|
|
|
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 TimePicker: {
|
|
|
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;
|
|
@@ -78,6 +79,7 @@ export declare const TimePicker: {
|
|
|
78
79
|
iconColor: string;
|
|
79
80
|
}[];
|
|
80
81
|
followThemes: {
|
|
82
|
+
'@primary-color': string[];
|
|
81
83
|
'@font-size-base': string[];
|
|
82
84
|
};
|
|
83
85
|
tpl: string;
|
|
@@ -2,6 +2,18 @@ export var TimePicker = {
|
|
|
2
2
|
type: 'TimePicker',
|
|
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 TimePicker = {
|
|
|
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,9 +76,10 @@ export var TimePicker = {
|
|
|
75
76
|
title: '时间选择',
|
|
76
77
|
defaultValue: [{
|
|
77
78
|
iconFontSize: '14px',
|
|
78
|
-
iconColor: '#
|
|
79
|
+
iconColor: '#47e'
|
|
79
80
|
}],
|
|
80
81
|
followThemes: {
|
|
82
|
+
'@primary-color': ['iconColor'],
|
|
81
83
|
'@font-size-base': ['iconFontSize']
|
|
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 }",
|
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: {
|