@lingxiteam/theme-utils 0.5.0 → 0.5.2
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 +10 -10
- package/dist/config/Button.js +21 -21
- package/dist/config/Card.d.ts +18 -18
- package/dist/config/Card.js +40 -40
- package/dist/config/Cascader.d.ts +20 -20
- package/dist/config/Cascader.js +37 -37
- package/dist/config/Checkbox.d.ts +6 -22
- package/dist/config/Checkbox.js +28 -28
- package/dist/config/CheckboxGroup.d.ts +7 -7
- package/dist/config/CheckboxGroup.js +13 -13
- package/dist/config/Collapse.d.ts +24 -18
- package/dist/config/Collapse.js +49 -43
- package/dist/config/Container.d.ts +3 -3
- package/dist/config/Container.js +12 -12
- package/dist/config/DatePicker.d.ts +16 -16
- package/dist/config/DatePicker.js +26 -26
- package/dist/config/Description.d.ts +11 -11
- package/dist/config/Description.js +13 -13
- package/dist/config/Form.d.ts +19 -8
- package/dist/config/Form.js +51 -22
- package/dist/config/Input.d.ts +4 -4
- package/dist/config/Input.js +14 -14
- package/dist/config/InputNumber.d.ts +4 -4
- package/dist/config/InputNumber.js +14 -14
- package/dist/config/MultipleSelect.d.ts +4 -4
- package/dist/config/MultipleSelect.js +14 -14
- package/dist/config/Radio.d.ts +13 -13
- package/dist/config/Radio.js +22 -22
- package/dist/config/RangePicker.d.ts +22 -22
- package/dist/config/RangePicker.js +33 -33
- package/dist/config/Select.d.ts +7 -7
- package/dist/config/Select.js +23 -23
- package/dist/config/StdUpload.d.ts +22 -31
- package/dist/config/StdUpload.js +40 -39
- package/dist/config/Switch.d.ts +9 -18
- package/dist/config/Switch.js +29 -28
- package/dist/config/Table.d.ts +47 -47
- package/dist/config/Table.js +71 -71
- package/dist/config/Tabs.d.ts +18 -18
- package/dist/config/Tabs.js +46 -46
- package/dist/config/Tag.d.ts +4 -4
- package/dist/config/Tag.js +10 -13
- package/dist/config/TextArea.d.ts +5 -5
- package/dist/config/TextArea.js +16 -16
- package/dist/config/TimePicker.d.ts +16 -16
- package/dist/config/TimePicker.js +26 -26
- package/dist/config/Tree.d.ts +7 -7
- package/dist/config/Tree.js +17 -17
- package/dist/config/TreeSelect.d.ts +20 -20
- package/dist/config/TreeSelect.js +30 -30
- package/dist/h5config/Accordion.d.ts +19 -19
- package/dist/h5config/Accordion.js +36 -36
- package/dist/h5config/Button.d.ts +9 -9
- package/dist/h5config/Button.js +20 -20
- package/dist/h5config/Card.d.ts +25 -25
- package/dist/h5config/Card.js +51 -51
- package/dist/h5config/DAddressPicker.d.ts +16 -24
- package/dist/h5config/DAddressPicker.js +32 -40
- package/dist/h5config/DCheckbox.d.ts +14 -22
- package/dist/h5config/DCheckbox.js +32 -40
- package/dist/h5config/DForm.d.ts +15 -15
- package/dist/h5config/DForm.js +44 -43
- package/dist/h5config/DMultiplePicker.d.ts +16 -24
- package/dist/h5config/DMultiplePicker.js +32 -40
- package/dist/h5config/DformDate.d.ts +16 -24
- package/dist/h5config/DformDate.js +32 -40
- package/dist/h5config/DformFile.d.ts +106 -20
- package/dist/h5config/DformFile.js +110 -27
- package/dist/h5config/DformImagePicker.d.ts +17 -17
- package/dist/h5config/DformImagePicker.js +25 -25
- package/dist/h5config/DformInput.d.ts +13 -13
- package/dist/h5config/DformInput.js +31 -31
- package/dist/h5config/DformInputNumber.d.ts +8 -8
- package/dist/h5config/DformInputNumber.js +24 -24
- package/dist/h5config/DformPicker.d.ts +16 -24
- package/dist/h5config/DformPicker.js +32 -40
- package/dist/h5config/DformRadio.d.ts +20 -20
- package/dist/h5config/DformRadio.js +40 -40
- package/dist/h5config/DformRangePicker.d.ts +22 -30
- package/dist/h5config/DformRangePicker.js +38 -46
- package/dist/h5config/DformSelect.d.ts +16 -24
- package/dist/h5config/DformSelect.js +32 -40
- package/dist/h5config/DformSwitch.d.ts +2 -10
- package/dist/h5config/DformSwitch.js +12 -20
- package/dist/h5config/DformTextArea.d.ts +13 -13
- package/dist/h5config/DformTextArea.js +31 -31
- package/dist/h5config/FilterItems.d.ts +12 -12
- package/dist/h5config/FilterItems.js +21 -21
- package/dist/h5config/Grid.d.ts +18 -18
- package/dist/h5config/Grid.js +29 -29
- package/dist/h5config/Icon.js +1 -1
- package/dist/h5config/NoticeBarPlus.d.ts +10 -10
- package/dist/h5config/NoticeBarPlus.js +15 -15
- package/dist/h5config/SearchView.d.ts +17 -17
- package/dist/h5config/SearchView.js +28 -28
- package/dist/h5config/StaticTabs.d.ts +2 -2
- package/dist/h5config/StaticTabs.js +22 -21
- package/dist/h5config/Table.d.ts +20 -10
- package/dist/h5config/Table.js +45 -33
- package/package.json +1 -1
package/dist/h5config/Card.js
CHANGED
|
@@ -2,15 +2,38 @@ export var Card = {
|
|
|
2
2
|
type: 'Card',
|
|
3
3
|
hasPrefixClass: true,
|
|
4
4
|
variable: {
|
|
5
|
+
backgroundColor: {
|
|
6
|
+
type: 'color',
|
|
7
|
+
label: '头部填充颜色',
|
|
8
|
+
groupsName: '背景'
|
|
9
|
+
},
|
|
10
|
+
bodyBgColor: {
|
|
11
|
+
type: 'color',
|
|
12
|
+
label: '内容填充颜色',
|
|
13
|
+
groupsName: '背景'
|
|
14
|
+
},
|
|
15
|
+
footBgColor: {
|
|
16
|
+
type: 'color',
|
|
17
|
+
label: '底部填充颜色',
|
|
18
|
+
groupsName: '背景'
|
|
19
|
+
},
|
|
5
20
|
textColor: {
|
|
6
21
|
type: 'color',
|
|
7
|
-
label: '
|
|
22
|
+
label: '标题颜色',
|
|
8
23
|
followTheme: '@color-text-base',
|
|
9
24
|
groupsName: '标题'
|
|
10
25
|
},
|
|
26
|
+
fontSize: {
|
|
27
|
+
type: 'px',
|
|
28
|
+
label: '标题尺寸',
|
|
29
|
+
groupsName: '标题'
|
|
30
|
+
// TODO: 单位是 * @hd 有异常
|
|
31
|
+
// followTheme: '@font-size-heading',
|
|
32
|
+
},
|
|
33
|
+
|
|
11
34
|
lineHeight: {
|
|
12
35
|
type: 'px',
|
|
13
|
-
label: '
|
|
36
|
+
label: '标题行高',
|
|
14
37
|
groupsName: '标题',
|
|
15
38
|
options: [{
|
|
16
39
|
label: 'px',
|
|
@@ -20,17 +43,9 @@ export var Card = {
|
|
|
20
43
|
value: '%'
|
|
21
44
|
}]
|
|
22
45
|
},
|
|
23
|
-
fontSize: {
|
|
24
|
-
type: 'px',
|
|
25
|
-
label: '标题文本尺寸',
|
|
26
|
-
groupsName: '标题'
|
|
27
|
-
// TODO: 单位是 * @hd 有异常
|
|
28
|
-
// followTheme: '@font-size-heading',
|
|
29
|
-
},
|
|
30
|
-
|
|
31
46
|
fontWeight: {
|
|
32
47
|
type: 'select',
|
|
33
|
-
label: '
|
|
48
|
+
label: '标题字重',
|
|
34
49
|
groupsName: '标题',
|
|
35
50
|
options: [{
|
|
36
51
|
title: '100',
|
|
@@ -55,69 +70,54 @@ export var Card = {
|
|
|
55
70
|
value: '700'
|
|
56
71
|
}]
|
|
57
72
|
},
|
|
58
|
-
|
|
73
|
+
borderRadius: {
|
|
74
|
+
type: 'px',
|
|
75
|
+
label: '圆角',
|
|
76
|
+
groupsName: '边框'
|
|
77
|
+
},
|
|
78
|
+
borderColor: {
|
|
59
79
|
type: 'color',
|
|
60
|
-
label: '
|
|
61
|
-
groupsName: '
|
|
80
|
+
label: '颜色',
|
|
81
|
+
groupsName: '边框',
|
|
82
|
+
followTheme: '@border-color-base'
|
|
62
83
|
},
|
|
63
84
|
titleColor: {
|
|
64
85
|
type: 'color',
|
|
65
|
-
label: '
|
|
66
|
-
groupsName: '
|
|
86
|
+
label: '装饰符颜色',
|
|
87
|
+
groupsName: '其他',
|
|
67
88
|
followTheme: '@brand-primary'
|
|
68
89
|
},
|
|
69
|
-
lineColor: {
|
|
70
|
-
type: 'color',
|
|
71
|
-
label: '分割线颜色',
|
|
72
|
-
groupsName: '边框',
|
|
73
|
-
followTheme: '@border-color-base'
|
|
74
|
-
},
|
|
75
90
|
tagSize: {
|
|
76
91
|
type: 'px',
|
|
77
|
-
label: '
|
|
78
|
-
groupsName: '
|
|
92
|
+
label: '装饰符尺寸',
|
|
93
|
+
groupsName: '其他'
|
|
79
94
|
},
|
|
80
95
|
tagMargin: {
|
|
81
|
-
type: '
|
|
82
|
-
label: '
|
|
83
|
-
groupsName: '
|
|
96
|
+
type: 'marginInput',
|
|
97
|
+
label: '符号符外边距',
|
|
98
|
+
groupsName: '其他'
|
|
84
99
|
},
|
|
85
100
|
arrowColor: {
|
|
86
101
|
type: 'color',
|
|
87
102
|
label: '后缀图标颜色',
|
|
88
|
-
groupsName: '
|
|
103
|
+
groupsName: '其他'
|
|
89
104
|
},
|
|
90
105
|
arrowSize: {
|
|
91
106
|
type: 'px',
|
|
92
107
|
label: '后缀图标尺寸',
|
|
93
|
-
groupsName: '
|
|
108
|
+
groupsName: '其他'
|
|
94
109
|
},
|
|
95
|
-
|
|
110
|
+
lineColor: {
|
|
96
111
|
type: 'color',
|
|
97
|
-
label: '
|
|
98
|
-
groupsName: '
|
|
112
|
+
label: '头部分割线颜色',
|
|
113
|
+
groupsName: '其他',
|
|
114
|
+
followTheme: '@border-color-base'
|
|
99
115
|
},
|
|
100
116
|
bodyLineColor: {
|
|
101
117
|
type: 'color',
|
|
102
118
|
label: '内容分割线颜色',
|
|
103
|
-
groupsName: '
|
|
104
|
-
followTheme: '@border-color-base'
|
|
105
|
-
},
|
|
106
|
-
footBgColor: {
|
|
107
|
-
type: 'color',
|
|
108
|
-
label: '底部背景颜色',
|
|
109
|
-
groupsName: '背景颜色'
|
|
110
|
-
},
|
|
111
|
-
borderColor: {
|
|
112
|
-
type: 'color',
|
|
113
|
-
label: '边框颜色',
|
|
114
|
-
groupsName: '边框',
|
|
119
|
+
groupsName: '其他',
|
|
115
120
|
followTheme: '@border-color-base'
|
|
116
|
-
},
|
|
117
|
-
borderRadius: {
|
|
118
|
-
type: 'px',
|
|
119
|
-
label: '边框圆角',
|
|
120
|
-
groupsName: '边框'
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
groupsName: '容器',
|
|
@@ -132,7 +132,7 @@ export var Card = {
|
|
|
132
132
|
titleColor: '#47e',
|
|
133
133
|
lineColor: '#f0f0f0',
|
|
134
134
|
tagSize: '16px',
|
|
135
|
-
tagMargin: '4px',
|
|
135
|
+
tagMargin: '0 4px 0 0',
|
|
136
136
|
arrowColor: 'rgba(28, 36, 46, 0.55)',
|
|
137
137
|
arrowSize: '12px',
|
|
138
138
|
bodyBgColor: '#fff',
|
|
@@ -147,7 +147,7 @@ export var Card = {
|
|
|
147
147
|
'@color-text-base': [],
|
|
148
148
|
'@border-color-base': ['lineColor', 'bodyLineColor']
|
|
149
149
|
},
|
|
150
|
-
tpl: ".lcdp-h5-card {\n border-radius: borderRadius;\n border: 1PX solid borderColor;\n\n .adm-card-header:not(:last-child){\n border-color: lineColor !important;\n }\n .adm-card-header{\n border-color: lineColor !important;\n background: backgroundColor;\n }\n .adm-card-body{\n background: bodyBgColor;\n }\n\n .adm-card-header-title .lcdp-h5-card-title{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n }\n\n .lcdp-h5-card-hStyle{\n background: titleColor;\n margin
|
|
150
|
+
tpl: ".lcdp-h5-card {\n border-radius: borderRadius;\n border: 1PX solid borderColor;\n\n .adm-card-header:not(:last-child){\n border-color: lineColor !important;\n }\n .adm-card-header{\n border-color: lineColor !important;\n background: backgroundColor;\n }\n .adm-card-body{\n background: bodyBgColor;\n }\n\n .adm-card-header-title .lcdp-h5-card-title{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n }\n\n .lcdp-h5-card-hStyle{\n background: titleColor;\n margin: tagMargin;\n position: static;\n width: tagSize;\n }\n .lcdp-h5-card-vStyle{\n height: tagSize;\n background: titleColor;\n margin: tagMargin;\n }\n .lcdp-h5-card-icon{\n width: tagSize;\n height: tagSize;\n margin: tagMargin;\n margin-top: -1px;\n display: grid;\n }\n .lcdp-h5-card-icon svg{\n color: titleColor;\n width: tagSize;\n height: tagSize;\n }\n .lcdp-h5-card-extra-icon{\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-h5-card-extra-icon svg{\n color: arrowColor;\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-card-footer-draw-box-border{\n border-color: bodyLineColor;\n background: footBgColor;\n }\n }\n \n ",
|
|
151
151
|
components: [{
|
|
152
152
|
id: 'Card_194419',
|
|
153
153
|
label: '卡片',
|
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
export declare const DAddressPicker: {
|
|
2
2
|
type: string;
|
|
3
3
|
variable: {
|
|
4
|
-
iconColor: {
|
|
5
|
-
type: string;
|
|
6
|
-
label: string;
|
|
7
|
-
groupsName: string;
|
|
8
|
-
desc: string;
|
|
9
|
-
canEdit: boolean;
|
|
10
|
-
extendsKey: string;
|
|
11
|
-
};
|
|
12
|
-
iconSize: {
|
|
13
|
-
type: string;
|
|
14
|
-
label: string;
|
|
15
|
-
groupsName: string;
|
|
16
|
-
desc: string;
|
|
17
|
-
canEdit: boolean;
|
|
18
|
-
extendsKey: string;
|
|
19
|
-
};
|
|
20
4
|
labelTextColor: {
|
|
21
5
|
type: string;
|
|
22
6
|
label: string;
|
|
@@ -25,7 +9,7 @@ export declare const DAddressPicker: {
|
|
|
25
9
|
canEdit: boolean;
|
|
26
10
|
extendsKey: string;
|
|
27
11
|
};
|
|
28
|
-
|
|
12
|
+
labelFontSize: {
|
|
29
13
|
type: string;
|
|
30
14
|
label: string;
|
|
31
15
|
groupsName: string;
|
|
@@ -33,7 +17,7 @@ export declare const DAddressPicker: {
|
|
|
33
17
|
canEdit: boolean;
|
|
34
18
|
extendsKey: string;
|
|
35
19
|
};
|
|
36
|
-
|
|
20
|
+
labelLineHeight: {
|
|
37
21
|
type: string;
|
|
38
22
|
label: string;
|
|
39
23
|
groupsName: string;
|
|
@@ -89,25 +73,33 @@ export declare const DAddressPicker: {
|
|
|
89
73
|
canEdit: boolean;
|
|
90
74
|
extendsKey: string;
|
|
91
75
|
};
|
|
92
|
-
|
|
76
|
+
headTextAlign: {
|
|
93
77
|
type: string;
|
|
94
78
|
label: string;
|
|
95
79
|
groupsName: string;
|
|
96
80
|
desc: string;
|
|
97
81
|
canEdit: boolean;
|
|
98
82
|
extendsKey: string;
|
|
83
|
+
options: {
|
|
84
|
+
title: string;
|
|
85
|
+
value: string;
|
|
86
|
+
}[];
|
|
99
87
|
};
|
|
100
|
-
|
|
88
|
+
iconColor: {
|
|
89
|
+
type: string;
|
|
90
|
+
label: string;
|
|
91
|
+
groupsName: string;
|
|
92
|
+
desc: string;
|
|
93
|
+
canEdit: boolean;
|
|
94
|
+
extendsKey: string;
|
|
95
|
+
};
|
|
96
|
+
iconSize: {
|
|
101
97
|
type: string;
|
|
102
98
|
label: string;
|
|
103
99
|
groupsName: string;
|
|
104
100
|
desc: string;
|
|
105
101
|
canEdit: boolean;
|
|
106
102
|
extendsKey: string;
|
|
107
|
-
options: {
|
|
108
|
-
title: string;
|
|
109
|
-
value: string;
|
|
110
|
-
}[];
|
|
111
103
|
};
|
|
112
104
|
};
|
|
113
105
|
groupsName: string;
|
|
@@ -1,50 +1,34 @@
|
|
|
1
1
|
export var DAddressPicker = {
|
|
2
2
|
type: 'DAddressPicker',
|
|
3
3
|
variable: {
|
|
4
|
-
iconColor: {
|
|
5
|
-
type: 'color',
|
|
6
|
-
label: '后缀图标颜色',
|
|
7
|
-
groupsName: '图标',
|
|
8
|
-
desc: '继承自表单,此处不可编辑',
|
|
9
|
-
canEdit: false,
|
|
10
|
-
extendsKey: 'DForm'
|
|
11
|
-
},
|
|
12
|
-
iconSize: {
|
|
13
|
-
type: 'px',
|
|
14
|
-
label: '后缀图标尺寸',
|
|
15
|
-
groupsName: '图标',
|
|
16
|
-
desc: '继承自表单,此处不可编辑',
|
|
17
|
-
canEdit: false,
|
|
18
|
-
extendsKey: 'DForm'
|
|
19
|
-
},
|
|
20
4
|
labelTextColor: {
|
|
21
5
|
type: 'color',
|
|
22
|
-
label: '
|
|
23
|
-
groupsName: '
|
|
6
|
+
label: '标题颜色',
|
|
7
|
+
groupsName: '标题',
|
|
24
8
|
desc: '继承自表单,此处不可编辑',
|
|
25
9
|
canEdit: false,
|
|
26
10
|
extendsKey: 'DForm'
|
|
27
11
|
},
|
|
28
|
-
|
|
12
|
+
labelFontSize: {
|
|
29
13
|
type: 'px',
|
|
30
|
-
label: '
|
|
31
|
-
groupsName: '
|
|
14
|
+
label: '标题尺寸',
|
|
15
|
+
groupsName: '标题',
|
|
32
16
|
desc: '继承自表单,此处不可编辑',
|
|
33
17
|
canEdit: false,
|
|
34
18
|
extendsKey: 'DForm'
|
|
35
19
|
},
|
|
36
|
-
|
|
20
|
+
labelLineHeight: {
|
|
37
21
|
type: 'px',
|
|
38
|
-
label: '
|
|
39
|
-
groupsName: '
|
|
22
|
+
label: '标题行高',
|
|
23
|
+
groupsName: '标题',
|
|
40
24
|
desc: '继承自表单,此处不可编辑',
|
|
41
25
|
canEdit: false,
|
|
42
26
|
extendsKey: 'DForm'
|
|
43
27
|
},
|
|
44
28
|
labelFontWeight: {
|
|
45
29
|
type: 'select',
|
|
46
|
-
label: '
|
|
47
|
-
groupsName: '
|
|
30
|
+
label: '标题字重',
|
|
31
|
+
groupsName: '标题',
|
|
48
32
|
options: [{
|
|
49
33
|
title: '100',
|
|
50
34
|
value: '100'
|
|
@@ -74,7 +58,7 @@ export var DAddressPicker = {
|
|
|
74
58
|
textColor: {
|
|
75
59
|
type: 'color',
|
|
76
60
|
label: '文本颜色',
|
|
77
|
-
groupsName: '
|
|
61
|
+
groupsName: '文字',
|
|
78
62
|
desc: '继承自表单,此处不可编辑',
|
|
79
63
|
canEdit: false,
|
|
80
64
|
extendsKey: 'DForm'
|
|
@@ -82,7 +66,7 @@ export var DAddressPicker = {
|
|
|
82
66
|
fontSize: {
|
|
83
67
|
type: 'px',
|
|
84
68
|
label: '文本尺寸',
|
|
85
|
-
groupsName: '
|
|
69
|
+
groupsName: '文字',
|
|
86
70
|
desc: '继承自表单,此处不可编辑',
|
|
87
71
|
canEdit: false,
|
|
88
72
|
extendsKey: 'DForm'
|
|
@@ -90,7 +74,7 @@ export var DAddressPicker = {
|
|
|
90
74
|
lineHeight: {
|
|
91
75
|
type: 'px',
|
|
92
76
|
label: '文本行高',
|
|
93
|
-
groupsName: '
|
|
77
|
+
groupsName: '文字',
|
|
94
78
|
desc: '继承自表单,此处不可编辑',
|
|
95
79
|
canEdit: false,
|
|
96
80
|
extendsKey: 'DForm'
|
|
@@ -98,7 +82,7 @@ export var DAddressPicker = {
|
|
|
98
82
|
fontWeight: {
|
|
99
83
|
type: 'select',
|
|
100
84
|
label: '文本字重',
|
|
101
|
-
groupsName: '
|
|
85
|
+
groupsName: '文字',
|
|
102
86
|
options: [{
|
|
103
87
|
title: '100',
|
|
104
88
|
value: '100'
|
|
@@ -125,18 +109,10 @@ export var DAddressPicker = {
|
|
|
125
109
|
canEdit: false,
|
|
126
110
|
extendsKey: 'DForm'
|
|
127
111
|
},
|
|
128
|
-
paddingValue: {
|
|
129
|
-
type: 'marginInput',
|
|
130
|
-
label: '内边距',
|
|
131
|
-
groupsName: '组件',
|
|
132
|
-
desc: '继承自表单,此处不可编辑',
|
|
133
|
-
canEdit: false,
|
|
134
|
-
extendsKey: 'DForm'
|
|
135
|
-
},
|
|
136
112
|
headTextAlign: {
|
|
137
113
|
type: 'select',
|
|
138
|
-
label: '
|
|
139
|
-
groupsName: '
|
|
114
|
+
label: '对齐方式',
|
|
115
|
+
groupsName: '文字',
|
|
140
116
|
desc: '继承自表单,此处不可编辑',
|
|
141
117
|
canEdit: false,
|
|
142
118
|
extendsKey: 'DForm',
|
|
@@ -150,6 +126,22 @@ export var DAddressPicker = {
|
|
|
150
126
|
title: '右',
|
|
151
127
|
value: 'right'
|
|
152
128
|
}]
|
|
129
|
+
},
|
|
130
|
+
iconColor: {
|
|
131
|
+
type: 'color',
|
|
132
|
+
label: '后缀图标颜色',
|
|
133
|
+
groupsName: '其他',
|
|
134
|
+
desc: '继承自表单,此处不可编辑',
|
|
135
|
+
canEdit: false,
|
|
136
|
+
extendsKey: 'DForm'
|
|
137
|
+
},
|
|
138
|
+
iconSize: {
|
|
139
|
+
type: 'px',
|
|
140
|
+
label: '后缀图标尺寸',
|
|
141
|
+
groupsName: '其他',
|
|
142
|
+
desc: '继承自表单,此处不可编辑',
|
|
143
|
+
canEdit: false,
|
|
144
|
+
extendsKey: 'DForm'
|
|
153
145
|
}
|
|
154
146
|
},
|
|
155
147
|
groupsName: '表单',
|
|
@@ -7,23 +7,11 @@ export declare const DCheckbox: {
|
|
|
7
7
|
groupsName: string;
|
|
8
8
|
followTheme: string;
|
|
9
9
|
};
|
|
10
|
-
selectBorderRadius: {
|
|
11
|
-
type: string;
|
|
12
|
-
label: string;
|
|
13
|
-
groupsName: string;
|
|
14
|
-
followTheme: string;
|
|
15
|
-
};
|
|
16
10
|
itemBgColor: {
|
|
17
11
|
type: string;
|
|
18
12
|
label: string;
|
|
19
13
|
groupsName: string;
|
|
20
14
|
};
|
|
21
|
-
itemBorderRadius: {
|
|
22
|
-
type: string;
|
|
23
|
-
label: string;
|
|
24
|
-
groupsName: string;
|
|
25
|
-
followTheme: string;
|
|
26
|
-
};
|
|
27
15
|
labelTextColor: {
|
|
28
16
|
type: string;
|
|
29
17
|
label: string;
|
|
@@ -32,7 +20,7 @@ export declare const DCheckbox: {
|
|
|
32
20
|
canEdit: boolean;
|
|
33
21
|
extendsKey: string;
|
|
34
22
|
};
|
|
35
|
-
|
|
23
|
+
labelFontSize: {
|
|
36
24
|
type: string;
|
|
37
25
|
label: string;
|
|
38
26
|
groupsName: string;
|
|
@@ -40,7 +28,7 @@ export declare const DCheckbox: {
|
|
|
40
28
|
canEdit: boolean;
|
|
41
29
|
extendsKey: string;
|
|
42
30
|
};
|
|
43
|
-
|
|
31
|
+
labelLineHeight: {
|
|
44
32
|
type: string;
|
|
45
33
|
label: string;
|
|
46
34
|
groupsName: string;
|
|
@@ -96,14 +84,6 @@ export declare const DCheckbox: {
|
|
|
96
84
|
canEdit: boolean;
|
|
97
85
|
extendsKey: string;
|
|
98
86
|
};
|
|
99
|
-
paddingValue: {
|
|
100
|
-
type: string;
|
|
101
|
-
label: string;
|
|
102
|
-
groupsName: string;
|
|
103
|
-
desc: string;
|
|
104
|
-
canEdit: boolean;
|
|
105
|
-
extendsKey: string;
|
|
106
|
-
};
|
|
107
87
|
headTextAlign: {
|
|
108
88
|
type: string;
|
|
109
89
|
label: string;
|
|
@@ -116,6 +96,18 @@ export declare const DCheckbox: {
|
|
|
116
96
|
value: string;
|
|
117
97
|
}[];
|
|
118
98
|
};
|
|
99
|
+
itemBorderRadius: {
|
|
100
|
+
type: string;
|
|
101
|
+
label: string;
|
|
102
|
+
groupsName: string;
|
|
103
|
+
followTheme: string;
|
|
104
|
+
};
|
|
105
|
+
selectBorderRadius: {
|
|
106
|
+
type: string;
|
|
107
|
+
label: string;
|
|
108
|
+
groupsName: string;
|
|
109
|
+
followTheme: string;
|
|
110
|
+
};
|
|
119
111
|
};
|
|
120
112
|
groupsName: string;
|
|
121
113
|
icon: string;
|
|
@@ -3,55 +3,43 @@ export var DCheckbox = {
|
|
|
3
3
|
variable: {
|
|
4
4
|
selectBgColor: {
|
|
5
5
|
type: 'color',
|
|
6
|
-
label: '
|
|
7
|
-
groupsName: '
|
|
8
|
-
followTheme: '@brand-primary'
|
|
9
|
-
},
|
|
10
|
-
selectBorderRadius: {
|
|
11
|
-
type: 'color',
|
|
12
|
-
label: '选中边框颜色',
|
|
13
|
-
groupsName: '边框',
|
|
6
|
+
label: '选中填充颜色',
|
|
7
|
+
groupsName: '背景',
|
|
14
8
|
followTheme: '@brand-primary'
|
|
15
9
|
},
|
|
16
10
|
itemBgColor: {
|
|
17
11
|
type: 'color',
|
|
18
|
-
label: '
|
|
19
|
-
groupsName: '
|
|
20
|
-
},
|
|
21
|
-
itemBorderRadius: {
|
|
22
|
-
type: 'color',
|
|
23
|
-
label: '默认边框颜色',
|
|
24
|
-
groupsName: '边框',
|
|
25
|
-
followTheme: '@border-color-base'
|
|
12
|
+
label: '默认填充颜色',
|
|
13
|
+
groupsName: '背景'
|
|
26
14
|
},
|
|
27
15
|
labelTextColor: {
|
|
28
16
|
type: 'color',
|
|
29
|
-
label: '
|
|
30
|
-
groupsName: '
|
|
17
|
+
label: '标题颜色',
|
|
18
|
+
groupsName: '标题',
|
|
31
19
|
desc: '继承自表单,此处不可编辑',
|
|
32
20
|
canEdit: false,
|
|
33
21
|
extendsKey: 'DForm'
|
|
34
22
|
},
|
|
35
|
-
|
|
23
|
+
labelFontSize: {
|
|
36
24
|
type: 'px',
|
|
37
|
-
label: '
|
|
38
|
-
groupsName: '
|
|
25
|
+
label: '标题尺寸',
|
|
26
|
+
groupsName: '标题',
|
|
39
27
|
desc: '继承自表单,此处不可编辑',
|
|
40
28
|
canEdit: false,
|
|
41
29
|
extendsKey: 'DForm'
|
|
42
30
|
},
|
|
43
|
-
|
|
31
|
+
labelLineHeight: {
|
|
44
32
|
type: 'px',
|
|
45
|
-
label: '
|
|
46
|
-
groupsName: '
|
|
33
|
+
label: '标题行高',
|
|
34
|
+
groupsName: '标题',
|
|
47
35
|
desc: '继承自表单,此处不可编辑',
|
|
48
36
|
canEdit: false,
|
|
49
37
|
extendsKey: 'DForm'
|
|
50
38
|
},
|
|
51
39
|
labelFontWeight: {
|
|
52
40
|
type: 'select',
|
|
53
|
-
label: '
|
|
54
|
-
groupsName: '
|
|
41
|
+
label: '标题字重',
|
|
42
|
+
groupsName: '标题',
|
|
55
43
|
options: [{
|
|
56
44
|
title: '100',
|
|
57
45
|
value: '100'
|
|
@@ -81,7 +69,7 @@ export var DCheckbox = {
|
|
|
81
69
|
textColor: {
|
|
82
70
|
type: 'color',
|
|
83
71
|
label: '文本颜色',
|
|
84
|
-
groupsName: '
|
|
72
|
+
groupsName: '文字',
|
|
85
73
|
desc: '继承自表单,此处不可编辑',
|
|
86
74
|
canEdit: false,
|
|
87
75
|
extendsKey: 'DForm'
|
|
@@ -89,7 +77,7 @@ export var DCheckbox = {
|
|
|
89
77
|
fontSize: {
|
|
90
78
|
type: 'px',
|
|
91
79
|
label: '文本尺寸',
|
|
92
|
-
groupsName: '
|
|
80
|
+
groupsName: '文字',
|
|
93
81
|
desc: '继承自表单,此处不可编辑',
|
|
94
82
|
canEdit: false,
|
|
95
83
|
extendsKey: 'DForm'
|
|
@@ -97,7 +85,7 @@ export var DCheckbox = {
|
|
|
97
85
|
lineHeight: {
|
|
98
86
|
type: 'px',
|
|
99
87
|
label: '文本行高',
|
|
100
|
-
groupsName: '
|
|
88
|
+
groupsName: '文字',
|
|
101
89
|
desc: '继承自表单,此处不可编辑',
|
|
102
90
|
canEdit: false,
|
|
103
91
|
extendsKey: 'DForm'
|
|
@@ -105,7 +93,7 @@ export var DCheckbox = {
|
|
|
105
93
|
fontWeight: {
|
|
106
94
|
type: 'select',
|
|
107
95
|
label: '文本字重',
|
|
108
|
-
groupsName: '
|
|
96
|
+
groupsName: '文字',
|
|
109
97
|
options: [{
|
|
110
98
|
title: '100',
|
|
111
99
|
value: '100'
|
|
@@ -132,18 +120,10 @@ export var DCheckbox = {
|
|
|
132
120
|
canEdit: false,
|
|
133
121
|
extendsKey: 'DForm'
|
|
134
122
|
},
|
|
135
|
-
paddingValue: {
|
|
136
|
-
type: 'marginInput',
|
|
137
|
-
label: '内边距',
|
|
138
|
-
groupsName: '组件',
|
|
139
|
-
desc: '继承自表单,此处不可编辑',
|
|
140
|
-
canEdit: false,
|
|
141
|
-
extendsKey: 'DForm'
|
|
142
|
-
},
|
|
143
123
|
headTextAlign: {
|
|
144
124
|
type: 'select',
|
|
145
|
-
label: '
|
|
146
|
-
groupsName: '
|
|
125
|
+
label: '对齐方式',
|
|
126
|
+
groupsName: '文字',
|
|
147
127
|
desc: '继承自表单,此处不可编辑',
|
|
148
128
|
canEdit: false,
|
|
149
129
|
extendsKey: 'DForm',
|
|
@@ -157,6 +137,18 @@ export var DCheckbox = {
|
|
|
157
137
|
title: '右',
|
|
158
138
|
value: 'right'
|
|
159
139
|
}]
|
|
140
|
+
},
|
|
141
|
+
itemBorderRadius: {
|
|
142
|
+
type: 'color',
|
|
143
|
+
label: '默认边框颜色',
|
|
144
|
+
groupsName: '边框',
|
|
145
|
+
followTheme: '@border-color-base'
|
|
146
|
+
},
|
|
147
|
+
selectBorderRadius: {
|
|
148
|
+
type: 'color',
|
|
149
|
+
label: '选中边框颜色',
|
|
150
|
+
groupsName: '边框',
|
|
151
|
+
followTheme: '@brand-primary'
|
|
160
152
|
}
|
|
161
153
|
},
|
|
162
154
|
groupsName: '表单',
|
package/dist/h5config/DForm.d.ts
CHANGED
|
@@ -14,21 +14,21 @@ export declare const DForm: {
|
|
|
14
14
|
desc: string;
|
|
15
15
|
followTheme: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
labelFontSize: {
|
|
18
18
|
type: string;
|
|
19
19
|
label: string;
|
|
20
20
|
groupsName: string;
|
|
21
21
|
desc: string;
|
|
22
|
-
options: {
|
|
23
|
-
label: string;
|
|
24
|
-
value: string;
|
|
25
|
-
}[];
|
|
26
22
|
};
|
|
27
|
-
|
|
23
|
+
labelLineHeight: {
|
|
28
24
|
type: string;
|
|
29
25
|
label: string;
|
|
30
26
|
groupsName: string;
|
|
31
27
|
desc: string;
|
|
28
|
+
options: {
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}[];
|
|
32
32
|
};
|
|
33
33
|
labelFontWeight: {
|
|
34
34
|
type: string;
|
|
@@ -73,34 +73,34 @@ export declare const DForm: {
|
|
|
73
73
|
}[];
|
|
74
74
|
desc: string;
|
|
75
75
|
};
|
|
76
|
-
|
|
76
|
+
headTextAlign: {
|
|
77
77
|
type: string;
|
|
78
78
|
label: string;
|
|
79
79
|
groupsName: string;
|
|
80
80
|
desc: string;
|
|
81
|
-
|
|
81
|
+
options: {
|
|
82
|
+
title: string;
|
|
83
|
+
value: string;
|
|
84
|
+
}[];
|
|
82
85
|
};
|
|
83
|
-
|
|
86
|
+
paddingValue: {
|
|
84
87
|
type: string;
|
|
85
88
|
label: string;
|
|
86
89
|
groupsName: string;
|
|
87
90
|
desc: string;
|
|
88
91
|
};
|
|
89
|
-
|
|
92
|
+
iconColor: {
|
|
90
93
|
type: string;
|
|
91
94
|
label: string;
|
|
92
95
|
groupsName: string;
|
|
93
96
|
desc: string;
|
|
97
|
+
followTheme: string;
|
|
94
98
|
};
|
|
95
|
-
|
|
99
|
+
iconSize: {
|
|
96
100
|
type: string;
|
|
97
101
|
label: string;
|
|
98
102
|
groupsName: string;
|
|
99
103
|
desc: string;
|
|
100
|
-
options: {
|
|
101
|
-
title: string;
|
|
102
|
-
value: string;
|
|
103
|
-
}[];
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
groupsName: string;
|