@lingxiteam/theme-utils 0.5.3 → 0.5.4
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 +113 -0
- package/dist/config/Button.js +277 -0
- package/dist/config/Card.d.ts +144 -0
- package/dist/config/Card.js +162 -0
- package/dist/config/Cascader.d.ts +196 -0
- package/dist/config/Cascader.js +225 -0
- package/dist/config/Checkbox.d.ts +162 -0
- package/dist/config/Checkbox.js +178 -0
- package/dist/config/CheckboxGroup.d.ts +184 -0
- package/dist/config/CheckboxGroup.js +192 -0
- package/dist/config/Collapse.d.ts +186 -0
- package/dist/config/Collapse.js +330 -0
- package/dist/config/Container.d.ts +275 -0
- package/dist/config/Container.js +301 -0
- package/dist/config/DatePicker.d.ts +179 -0
- package/dist/config/DatePicker.js +179 -0
- package/dist/config/Description.d.ts +106 -0
- package/dist/config/Description.js +126 -0
- package/dist/config/Divider.d.ts +61 -0
- package/dist/config/Divider.js +61 -0
- package/dist/config/Form.d.ts +3071 -0
- package/dist/config/Form.js +1358 -0
- package/dist/config/Icon.d.ts +55 -0
- package/dist/config/Icon.js +55 -0
- package/dist/config/Input.d.ts +159 -0
- package/dist/config/Input.js +159 -0
- package/dist/config/InputNumber.d.ts +154 -0
- package/dist/config/InputNumber.js +154 -0
- package/dist/config/Link.d.ts +128 -0
- package/dist/config/Link.js +120 -0
- package/dist/config/MultipleSelect.d.ts +167 -0
- package/dist/config/MultipleSelect.js +175 -0
- package/dist/config/Radio.d.ts +239 -0
- package/dist/config/Radio.js +261 -0
- package/dist/config/RangePicker.d.ts +182 -0
- package/dist/config/RangePicker.js +182 -0
- package/dist/config/Select.d.ts +190 -0
- package/dist/config/Select.js +198 -0
- package/dist/config/StdUpload.d.ts +197 -0
- package/dist/config/StdUpload.js +211 -0
- package/dist/config/Switch.d.ts +141 -0
- package/dist/config/Switch.js +151 -0
- package/dist/config/Table.d.ts +482 -0
- package/dist/config/Table.js +560 -0
- package/dist/config/Tabs.d.ts +230 -0
- package/dist/config/Tabs.js +970 -0
- package/dist/config/Tag.d.ts +173 -0
- package/dist/config/Tag.js +548 -0
- package/dist/config/Text.d.ts +34 -0
- package/dist/config/Text.js +34 -0
- package/dist/config/TextArea.d.ts +151 -0
- package/dist/config/TextArea.js +151 -0
- package/dist/config/TimePicker.d.ts +180 -0
- package/dist/config/TimePicker.js +180 -0
- package/dist/config/Tree.d.ts +151 -0
- package/dist/config/Tree.js +195 -0
- package/dist/config/TreeSelect.d.ts +197 -0
- package/dist/config/TreeSelect.js +213 -0
- package/dist/css.d.ts +6 -0
- package/dist/css.js +126 -0
- package/dist/demo.d.ts +5 -0
- package/dist/demo.js +79 -0
- package/dist/h5config/Accordion.d.ts +410 -0
- package/dist/h5config/Accordion.js +548 -0
- package/dist/h5config/Button.d.ts +142 -0
- package/dist/h5config/Button.js +253 -0
- package/dist/h5config/Card.d.ts +275 -0
- package/dist/h5config/Card.js +535 -0
- package/dist/h5config/DAddressPicker.d.ts +188 -0
- package/dist/h5config/DAddressPicker.js +230 -0
- package/dist/h5config/DCheckbox.d.ts +202 -0
- package/dist/h5config/DCheckbox.js +248 -0
- package/dist/h5config/DForm.d.ts +1597 -0
- package/dist/h5config/DForm.js +932 -0
- package/dist/h5config/DMultiplePicker.d.ts +189 -0
- package/dist/h5config/DMultiplePicker.js +235 -0
- package/dist/h5config/DformDate.d.ts +191 -0
- package/dist/h5config/DformDate.js +233 -0
- package/dist/h5config/DformFile.d.ts +277 -0
- package/dist/h5config/DformFile.js +292 -0
- package/dist/h5config/DformImagePicker.d.ts +138 -0
- package/dist/h5config/DformImagePicker.js +156 -0
- package/dist/h5config/DformInput.d.ts +189 -0
- package/dist/h5config/DformInput.js +231 -0
- package/dist/h5config/DformInputNumber.d.ts +173 -0
- package/dist/h5config/DformInputNumber.js +215 -0
- package/dist/h5config/DformPicker.d.ts +190 -0
- package/dist/h5config/DformPicker.js +236 -0
- package/dist/h5config/DformRadio.d.ts +210 -0
- package/dist/h5config/DformRadio.js +256 -0
- package/dist/h5config/DformRangePicker.d.ts +195 -0
- package/dist/h5config/DformRangePicker.js +237 -0
- package/dist/h5config/DformSelect.d.ts +198 -0
- package/dist/h5config/DformSelect.js +262 -0
- package/dist/h5config/DformSwitch.d.ts +145 -0
- package/dist/h5config/DformSwitch.js +163 -0
- package/dist/h5config/DformTextArea.d.ts +184 -0
- package/dist/h5config/DformTextArea.js +226 -0
- package/dist/h5config/Divider.d.ts +53 -0
- package/dist/h5config/Divider.js +90 -0
- package/dist/h5config/FilterItems.d.ts +154 -0
- package/dist/h5config/FilterItems.js +204 -0
- package/dist/h5config/Grid.d.ts +235 -0
- package/dist/h5config/Grid.js +278 -0
- package/dist/h5config/Icon.d.ts +54 -0
- package/dist/h5config/Icon.js +54 -0
- package/dist/h5config/Link.d.ts +51 -0
- package/dist/h5config/Link.js +51 -0
- package/dist/h5config/LoadMore.d.ts +527 -0
- package/dist/h5config/LoadMore.js +940 -0
- package/dist/h5config/NoticeBarPlus.d.ts +111 -0
- package/dist/h5config/NoticeBarPlus.js +141 -0
- package/dist/h5config/SearchView.d.ts +135 -0
- package/dist/h5config/SearchView.js +177 -0
- package/dist/h5config/StaticTabs.d.ts +121 -0
- package/dist/h5config/StaticTabs.js +180 -0
- package/dist/h5config/Table.d.ts +197 -0
- package/dist/h5config/Table.js +589 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/lx-mobile.d.ts +23 -0
- package/dist/lx-mobile.js +174 -0
- package/dist/lx.d.ts +24 -0
- package/dist/lx.js +139 -0
- package/dist/utils.d.ts +12 -0
- package/dist/utils.js +67 -0
- package/package.json +1 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
export declare const DatePicker: {
|
|
2
|
+
type: string;
|
|
3
|
+
hasPrefixClass: boolean;
|
|
4
|
+
variable: {
|
|
5
|
+
labelTextColor: {
|
|
6
|
+
type: string;
|
|
7
|
+
label: string;
|
|
8
|
+
groupsName: string;
|
|
9
|
+
desc: string;
|
|
10
|
+
canEdit: boolean;
|
|
11
|
+
extendsKey: string;
|
|
12
|
+
};
|
|
13
|
+
labelFontSize: {
|
|
14
|
+
type: string;
|
|
15
|
+
label: string;
|
|
16
|
+
groupsName: string;
|
|
17
|
+
desc: string;
|
|
18
|
+
canEdit: boolean;
|
|
19
|
+
extendsKey: string;
|
|
20
|
+
};
|
|
21
|
+
labelLineHeight: {
|
|
22
|
+
type: string;
|
|
23
|
+
label: string;
|
|
24
|
+
groupsName: string;
|
|
25
|
+
desc: string;
|
|
26
|
+
canEdit: boolean;
|
|
27
|
+
extendsKey: string;
|
|
28
|
+
};
|
|
29
|
+
textColor: {
|
|
30
|
+
type: string;
|
|
31
|
+
label: string;
|
|
32
|
+
groupsName: string;
|
|
33
|
+
desc: string;
|
|
34
|
+
canEdit: boolean;
|
|
35
|
+
extendsKey: string;
|
|
36
|
+
};
|
|
37
|
+
fontSize: {
|
|
38
|
+
type: string;
|
|
39
|
+
label: string;
|
|
40
|
+
groupsName: string;
|
|
41
|
+
desc: string;
|
|
42
|
+
canEdit: boolean;
|
|
43
|
+
extendsKey: string;
|
|
44
|
+
};
|
|
45
|
+
itemBorderRadius: {
|
|
46
|
+
type: string;
|
|
47
|
+
label: string;
|
|
48
|
+
groupsName: string;
|
|
49
|
+
desc: string;
|
|
50
|
+
canEdit: boolean;
|
|
51
|
+
extendsKey: string;
|
|
52
|
+
};
|
|
53
|
+
itemBorderColor: {
|
|
54
|
+
type: string;
|
|
55
|
+
label: string;
|
|
56
|
+
groupsName: string;
|
|
57
|
+
desc: string;
|
|
58
|
+
canEdit: boolean;
|
|
59
|
+
extendsKey: string;
|
|
60
|
+
};
|
|
61
|
+
itemHoverBorderColor: {
|
|
62
|
+
type: string;
|
|
63
|
+
label: string;
|
|
64
|
+
groupsName: string;
|
|
65
|
+
hidden: boolean;
|
|
66
|
+
desc: string;
|
|
67
|
+
canEdit: boolean;
|
|
68
|
+
extendsKey: string;
|
|
69
|
+
};
|
|
70
|
+
iconColor: {
|
|
71
|
+
type: string;
|
|
72
|
+
label: string;
|
|
73
|
+
groupsName: string;
|
|
74
|
+
followTheme: string;
|
|
75
|
+
};
|
|
76
|
+
iconFontSize: {
|
|
77
|
+
type: string;
|
|
78
|
+
label: string;
|
|
79
|
+
groupsName: string;
|
|
80
|
+
followTheme: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
groupsName: string;
|
|
84
|
+
icon: string;
|
|
85
|
+
title: string;
|
|
86
|
+
defaultValue: {
|
|
87
|
+
iconFontSize: string;
|
|
88
|
+
iconColor: string;
|
|
89
|
+
}[];
|
|
90
|
+
followThemes: {
|
|
91
|
+
'@font-size-base': string[];
|
|
92
|
+
'@text-color-secondary': string[];
|
|
93
|
+
};
|
|
94
|
+
tpl: string;
|
|
95
|
+
components: {
|
|
96
|
+
id: string;
|
|
97
|
+
label: string;
|
|
98
|
+
compName: string;
|
|
99
|
+
type: string;
|
|
100
|
+
compType: number;
|
|
101
|
+
compLib: string;
|
|
102
|
+
props: {
|
|
103
|
+
name: string;
|
|
104
|
+
colSpan: number;
|
|
105
|
+
labelCol: number;
|
|
106
|
+
wrapperCol: number;
|
|
107
|
+
layout: string;
|
|
108
|
+
colon: boolean;
|
|
109
|
+
labelAlign: string;
|
|
110
|
+
basicStatus: number;
|
|
111
|
+
colSpace: number;
|
|
112
|
+
rowSpace: number;
|
|
113
|
+
formCode: string;
|
|
114
|
+
};
|
|
115
|
+
style: {
|
|
116
|
+
padding: string;
|
|
117
|
+
};
|
|
118
|
+
isContainer: boolean;
|
|
119
|
+
isBusiObjContainer: boolean;
|
|
120
|
+
cmdgroup: string[];
|
|
121
|
+
platform: string;
|
|
122
|
+
icon: string;
|
|
123
|
+
description: string;
|
|
124
|
+
image: string;
|
|
125
|
+
groupsName: string;
|
|
126
|
+
engineApi: string[];
|
|
127
|
+
setEvents: never[];
|
|
128
|
+
isLabelDropBoxChild: boolean;
|
|
129
|
+
components: {
|
|
130
|
+
id: string;
|
|
131
|
+
label: string;
|
|
132
|
+
compName: string;
|
|
133
|
+
type: string;
|
|
134
|
+
compType: number;
|
|
135
|
+
compLib: string;
|
|
136
|
+
props: {
|
|
137
|
+
name: string;
|
|
138
|
+
timeMode: string;
|
|
139
|
+
basicStatus: number;
|
|
140
|
+
size: string;
|
|
141
|
+
labelCol: number;
|
|
142
|
+
wrapperCol: number;
|
|
143
|
+
titleTip: string;
|
|
144
|
+
tipSize: string;
|
|
145
|
+
tipWidth: string;
|
|
146
|
+
tipHeight: string;
|
|
147
|
+
required: boolean;
|
|
148
|
+
limitRange: string;
|
|
149
|
+
startTime: string;
|
|
150
|
+
endTime: string;
|
|
151
|
+
format: string;
|
|
152
|
+
placeholder: string;
|
|
153
|
+
pickerType: string;
|
|
154
|
+
customTip: string;
|
|
155
|
+
allowClear: boolean;
|
|
156
|
+
formItemIndex: number;
|
|
157
|
+
fieldName: string;
|
|
158
|
+
};
|
|
159
|
+
style: {};
|
|
160
|
+
isContainer: boolean;
|
|
161
|
+
isBusiObjContainer: boolean;
|
|
162
|
+
cmdgroup: string[];
|
|
163
|
+
platform: string;
|
|
164
|
+
fieldProps: {
|
|
165
|
+
trigger: string;
|
|
166
|
+
valuePropName: string;
|
|
167
|
+
};
|
|
168
|
+
icon: string;
|
|
169
|
+
description: string;
|
|
170
|
+
image: string;
|
|
171
|
+
groupsName: string;
|
|
172
|
+
setEvents: never[];
|
|
173
|
+
isLabelDropBoxChild: boolean;
|
|
174
|
+
components: never[];
|
|
175
|
+
path: string[];
|
|
176
|
+
}[];
|
|
177
|
+
path: string[];
|
|
178
|
+
}[];
|
|
179
|
+
};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
export var DatePicker = {
|
|
2
|
+
type: 'DatePicker',
|
|
3
|
+
hasPrefixClass: true,
|
|
4
|
+
variable: {
|
|
5
|
+
labelTextColor: {
|
|
6
|
+
type: 'color',
|
|
7
|
+
label: '标题颜色',
|
|
8
|
+
groupsName: '标题',
|
|
9
|
+
desc: '继承自表单,此处不可编辑',
|
|
10
|
+
canEdit: false,
|
|
11
|
+
extendsKey: 'Form'
|
|
12
|
+
},
|
|
13
|
+
labelFontSize: {
|
|
14
|
+
type: 'px',
|
|
15
|
+
label: '标题尺寸',
|
|
16
|
+
groupsName: '标题',
|
|
17
|
+
desc: '继承自表单,此处不可编辑',
|
|
18
|
+
canEdit: false,
|
|
19
|
+
extendsKey: 'Form'
|
|
20
|
+
},
|
|
21
|
+
labelLineHeight: {
|
|
22
|
+
type: 'px',
|
|
23
|
+
label: '标题行高',
|
|
24
|
+
groupsName: '标题',
|
|
25
|
+
desc: '继承自表单,此处不可编辑',
|
|
26
|
+
canEdit: false,
|
|
27
|
+
extendsKey: 'Form'
|
|
28
|
+
},
|
|
29
|
+
textColor: {
|
|
30
|
+
type: 'color',
|
|
31
|
+
label: '文本颜色',
|
|
32
|
+
groupsName: '文字',
|
|
33
|
+
desc: '继承自表单,此处不可编辑',
|
|
34
|
+
canEdit: false,
|
|
35
|
+
extendsKey: 'Form'
|
|
36
|
+
},
|
|
37
|
+
fontSize: {
|
|
38
|
+
type: 'px',
|
|
39
|
+
label: '文本尺寸',
|
|
40
|
+
groupsName: '文字',
|
|
41
|
+
desc: '继承自表单,此处不可编辑',
|
|
42
|
+
canEdit: false,
|
|
43
|
+
extendsKey: 'Form'
|
|
44
|
+
},
|
|
45
|
+
itemBorderRadius: {
|
|
46
|
+
type: 'px',
|
|
47
|
+
label: '圆角',
|
|
48
|
+
groupsName: '边框',
|
|
49
|
+
desc: '继承自表单,此处不可编辑',
|
|
50
|
+
canEdit: false,
|
|
51
|
+
extendsKey: 'Form'
|
|
52
|
+
},
|
|
53
|
+
itemBorderColor: {
|
|
54
|
+
type: 'color',
|
|
55
|
+
label: '颜色',
|
|
56
|
+
groupsName: '边框',
|
|
57
|
+
desc: '继承自表单,此处不可编辑',
|
|
58
|
+
canEdit: false,
|
|
59
|
+
extendsKey: 'Form'
|
|
60
|
+
},
|
|
61
|
+
itemHoverBorderColor: {
|
|
62
|
+
type: 'color',
|
|
63
|
+
label: '组件激活边框颜色',
|
|
64
|
+
groupsName: '边框',
|
|
65
|
+
hidden: true,
|
|
66
|
+
desc: '继承自表单,此处不可编辑',
|
|
67
|
+
canEdit: false,
|
|
68
|
+
extendsKey: 'Form'
|
|
69
|
+
},
|
|
70
|
+
iconColor: {
|
|
71
|
+
type: 'color',
|
|
72
|
+
label: '后缀图标颜色',
|
|
73
|
+
groupsName: '其他',
|
|
74
|
+
followTheme: '@text-color-secondary'
|
|
75
|
+
},
|
|
76
|
+
iconFontSize: {
|
|
77
|
+
type: 'px',
|
|
78
|
+
label: '后缀图标尺寸',
|
|
79
|
+
groupsName: '其他',
|
|
80
|
+
followTheme: '@font-size-base'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
groupsName: '数据录入',
|
|
84
|
+
icon: 'icon-ico-comp-datepicker',
|
|
85
|
+
title: '日期选择',
|
|
86
|
+
defaultValue: [{
|
|
87
|
+
iconFontSize: '14px',
|
|
88
|
+
iconColor: '#9092A3'
|
|
89
|
+
}],
|
|
90
|
+
followThemes: {
|
|
91
|
+
'@font-size-base': ['iconFontSize'],
|
|
92
|
+
'@text-color-secondary': ['iconColor']
|
|
93
|
+
},
|
|
94
|
+
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 }",
|
|
95
|
+
components: [{
|
|
96
|
+
id: 'Form_180373',
|
|
97
|
+
label: '表单',
|
|
98
|
+
compName: 'Form',
|
|
99
|
+
type: 'Form',
|
|
100
|
+
compType: 0,
|
|
101
|
+
compLib: 'comm',
|
|
102
|
+
props: {
|
|
103
|
+
name: '表单',
|
|
104
|
+
colSpan: 12,
|
|
105
|
+
labelCol: 8,
|
|
106
|
+
wrapperCol: 16,
|
|
107
|
+
layout: 'vertical',
|
|
108
|
+
colon: true,
|
|
109
|
+
labelAlign: 'right',
|
|
110
|
+
basicStatus: 1,
|
|
111
|
+
colSpace: 16,
|
|
112
|
+
rowSpace: 16,
|
|
113
|
+
formCode: 'Code_Form_180373'
|
|
114
|
+
},
|
|
115
|
+
style: {
|
|
116
|
+
padding: '0px 0px 0px 0px'
|
|
117
|
+
},
|
|
118
|
+
isContainer: true,
|
|
119
|
+
isBusiObjContainer: true,
|
|
120
|
+
cmdgroup: ['basic'],
|
|
121
|
+
platform: 'pc',
|
|
122
|
+
icon: 'Form',
|
|
123
|
+
description: '',
|
|
124
|
+
image: '',
|
|
125
|
+
groupsName: '容器',
|
|
126
|
+
engineApi: ['service.downloadFileByFileCode', 'getVisible', 'stateListener'],
|
|
127
|
+
setEvents: [],
|
|
128
|
+
isLabelDropBoxChild: false,
|
|
129
|
+
components: [{
|
|
130
|
+
id: 'DatePicker_917298',
|
|
131
|
+
label: '日期选择',
|
|
132
|
+
compName: 'DatePicker',
|
|
133
|
+
type: 'DatePicker',
|
|
134
|
+
compType: 2,
|
|
135
|
+
compLib: 'comm',
|
|
136
|
+
props: {
|
|
137
|
+
name: '日期选择',
|
|
138
|
+
timeMode: 'date',
|
|
139
|
+
basicStatus: 1,
|
|
140
|
+
size: 'default',
|
|
141
|
+
labelCol: 8,
|
|
142
|
+
wrapperCol: 16,
|
|
143
|
+
titleTip: 'notext',
|
|
144
|
+
tipSize: 'default',
|
|
145
|
+
tipWidth: '240px',
|
|
146
|
+
tipHeight: 'auto',
|
|
147
|
+
required: false,
|
|
148
|
+
limitRange: 'no',
|
|
149
|
+
startTime: '',
|
|
150
|
+
endTime: '',
|
|
151
|
+
format: 'YYYY-MM-DD',
|
|
152
|
+
placeholder: '请选择日期',
|
|
153
|
+
pickerType: 'DatePicker',
|
|
154
|
+
customTip: '',
|
|
155
|
+
allowClear: true,
|
|
156
|
+
formItemIndex: 13,
|
|
157
|
+
fieldName: 'grd'
|
|
158
|
+
},
|
|
159
|
+
style: {},
|
|
160
|
+
isContainer: false,
|
|
161
|
+
isBusiObjContainer: false,
|
|
162
|
+
cmdgroup: ['basic'],
|
|
163
|
+
platform: 'pc',
|
|
164
|
+
fieldProps: {
|
|
165
|
+
trigger: 'onChange',
|
|
166
|
+
valuePropName: 'value'
|
|
167
|
+
},
|
|
168
|
+
icon: 'DatePicker',
|
|
169
|
+
description: '',
|
|
170
|
+
image: '',
|
|
171
|
+
groupsName: '数据录入',
|
|
172
|
+
setEvents: [],
|
|
173
|
+
isLabelDropBoxChild: false,
|
|
174
|
+
components: [],
|
|
175
|
+
path: ['998509', 'Form_180373']
|
|
176
|
+
}],
|
|
177
|
+
path: ['998509']
|
|
178
|
+
}]
|
|
179
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
export declare const Description: {
|
|
2
|
+
type: string;
|
|
3
|
+
hasPrefixClass: boolean;
|
|
4
|
+
variable: {
|
|
5
|
+
backgroundColor: {
|
|
6
|
+
type: string;
|
|
7
|
+
label: string;
|
|
8
|
+
groupsName: string;
|
|
9
|
+
};
|
|
10
|
+
bodyBgColor: {
|
|
11
|
+
type: string;
|
|
12
|
+
label: string;
|
|
13
|
+
groupsName: string;
|
|
14
|
+
};
|
|
15
|
+
textColor: {
|
|
16
|
+
type: string;
|
|
17
|
+
label: string;
|
|
18
|
+
groupsName: string;
|
|
19
|
+
followTheme: string;
|
|
20
|
+
};
|
|
21
|
+
bodyTextColor: {
|
|
22
|
+
type: string;
|
|
23
|
+
label: string;
|
|
24
|
+
groupsName: string;
|
|
25
|
+
followTheme: string;
|
|
26
|
+
};
|
|
27
|
+
paddingValue: {
|
|
28
|
+
type: string;
|
|
29
|
+
label: string;
|
|
30
|
+
groupsName: string;
|
|
31
|
+
};
|
|
32
|
+
bodyPaddingValue: {
|
|
33
|
+
type: string;
|
|
34
|
+
label: string;
|
|
35
|
+
groupsName: string;
|
|
36
|
+
};
|
|
37
|
+
borderColor: {
|
|
38
|
+
type: string;
|
|
39
|
+
label: string;
|
|
40
|
+
groupsName: string;
|
|
41
|
+
followTheme: string;
|
|
42
|
+
};
|
|
43
|
+
borderWidth: {
|
|
44
|
+
type: string;
|
|
45
|
+
label: string;
|
|
46
|
+
groupsName: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
groupsName: string;
|
|
50
|
+
icon: string;
|
|
51
|
+
title: string;
|
|
52
|
+
defaultValue: {
|
|
53
|
+
borderColor: string;
|
|
54
|
+
borderWidth: string;
|
|
55
|
+
paddingValue: string;
|
|
56
|
+
bodyPaddingValue: string;
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
bodyBgColor: string;
|
|
59
|
+
textColor: string;
|
|
60
|
+
bodyTextColor: string;
|
|
61
|
+
}[];
|
|
62
|
+
followThemes: {
|
|
63
|
+
'@text-color': string[];
|
|
64
|
+
'@heading-color': string[];
|
|
65
|
+
'@border-color-base': never[];
|
|
66
|
+
};
|
|
67
|
+
tpl: string;
|
|
68
|
+
components: {
|
|
69
|
+
id: string;
|
|
70
|
+
label: string;
|
|
71
|
+
compName: string;
|
|
72
|
+
type: string;
|
|
73
|
+
compType: number;
|
|
74
|
+
compLib: string;
|
|
75
|
+
props: {
|
|
76
|
+
name: string;
|
|
77
|
+
layout: string;
|
|
78
|
+
basicStatus: number;
|
|
79
|
+
dataSource: string;
|
|
80
|
+
columns: {
|
|
81
|
+
label: string;
|
|
82
|
+
dataIndex: string;
|
|
83
|
+
key: string;
|
|
84
|
+
}[];
|
|
85
|
+
bordered: boolean;
|
|
86
|
+
labelSize: string;
|
|
87
|
+
colSpan: number;
|
|
88
|
+
colon: boolean;
|
|
89
|
+
labelAlign: string;
|
|
90
|
+
};
|
|
91
|
+
style: {};
|
|
92
|
+
isContainer: boolean;
|
|
93
|
+
isBusiObjContainer: boolean;
|
|
94
|
+
cmdgroup: string[];
|
|
95
|
+
platform: string;
|
|
96
|
+
icon: string;
|
|
97
|
+
description: string;
|
|
98
|
+
image: string;
|
|
99
|
+
groupsName: string;
|
|
100
|
+
engineApi: string[];
|
|
101
|
+
setEvents: never[];
|
|
102
|
+
isLabelDropBoxChild: boolean;
|
|
103
|
+
components: never[];
|
|
104
|
+
path: string[];
|
|
105
|
+
}[];
|
|
106
|
+
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
export var Description = {
|
|
2
|
+
type: 'Description',
|
|
3
|
+
hasPrefixClass: true,
|
|
4
|
+
variable: {
|
|
5
|
+
backgroundColor: {
|
|
6
|
+
type: 'color',
|
|
7
|
+
label: '标题背景颜色',
|
|
8
|
+
groupsName: '背景'
|
|
9
|
+
},
|
|
10
|
+
bodyBgColor: {
|
|
11
|
+
type: 'color',
|
|
12
|
+
label: '正文背景颜色',
|
|
13
|
+
groupsName: '背景'
|
|
14
|
+
},
|
|
15
|
+
textColor: {
|
|
16
|
+
type: 'color',
|
|
17
|
+
label: '标题文本颜色',
|
|
18
|
+
groupsName: '文字',
|
|
19
|
+
followTheme: '@heading-color'
|
|
20
|
+
},
|
|
21
|
+
bodyTextColor: {
|
|
22
|
+
type: 'color',
|
|
23
|
+
label: '正文文本颜色',
|
|
24
|
+
groupsName: '文字',
|
|
25
|
+
followTheme: '@text-color'
|
|
26
|
+
},
|
|
27
|
+
paddingValue: {
|
|
28
|
+
type: 'marginInput',
|
|
29
|
+
label: '标题内边距',
|
|
30
|
+
groupsName: '布局'
|
|
31
|
+
},
|
|
32
|
+
bodyPaddingValue: {
|
|
33
|
+
type: 'marginInput',
|
|
34
|
+
label: '正文内边距',
|
|
35
|
+
groupsName: '布局'
|
|
36
|
+
},
|
|
37
|
+
borderColor: {
|
|
38
|
+
type: 'color',
|
|
39
|
+
label: '颜色',
|
|
40
|
+
groupsName: '边框',
|
|
41
|
+
followTheme: '@border-color-base'
|
|
42
|
+
},
|
|
43
|
+
borderWidth: {
|
|
44
|
+
type: 'px',
|
|
45
|
+
label: '宽度',
|
|
46
|
+
groupsName: '边框'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
groupsName: '数据展示',
|
|
50
|
+
icon: 'icon-ico-comp-descriptions',
|
|
51
|
+
title: '描述列表',
|
|
52
|
+
defaultValue: [{
|
|
53
|
+
borderColor: '#e5e5e5',
|
|
54
|
+
borderWidth: '1px',
|
|
55
|
+
paddingValue: '8px 16px 8px 16px',
|
|
56
|
+
bodyPaddingValue: '8px 16px 8px 16px',
|
|
57
|
+
backgroundColor: '#fafafa',
|
|
58
|
+
bodyBgColor: 'rgba(0,0,0,0)',
|
|
59
|
+
textColor: '#3e454d',
|
|
60
|
+
bodyTextColor: '#3e454d'
|
|
61
|
+
}],
|
|
62
|
+
followThemes: {
|
|
63
|
+
'@text-color': ['bodyTextColor'],
|
|
64
|
+
'@heading-color': ['textColor'],
|
|
65
|
+
'@border-color-base': []
|
|
66
|
+
},
|
|
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 }",
|
|
68
|
+
components: [{
|
|
69
|
+
id: 'Description_180191',
|
|
70
|
+
label: '描述列表',
|
|
71
|
+
compName: 'Description',
|
|
72
|
+
type: 'Description',
|
|
73
|
+
compType: 3,
|
|
74
|
+
compLib: 'comm',
|
|
75
|
+
props: {
|
|
76
|
+
name: '描述列表1',
|
|
77
|
+
layout: 'horizontal',
|
|
78
|
+
basicStatus: 1,
|
|
79
|
+
dataSource: "$[{\t'id': 1,\t'name': '王女士-月嫂服务订单',\t'code': '24475411512',\t'statusText': '服务成功',\t'status': 'success',\t'sales': '18779.70'}, ]$",
|
|
80
|
+
columns: [{
|
|
81
|
+
label: '姓名',
|
|
82
|
+
dataIndex: 'name',
|
|
83
|
+
key: 'column1'
|
|
84
|
+
}, {
|
|
85
|
+
label: '状态',
|
|
86
|
+
dataIndex: 'statusText',
|
|
87
|
+
key: 'column2'
|
|
88
|
+
}, {
|
|
89
|
+
label: '价格',
|
|
90
|
+
dataIndex: 'sales',
|
|
91
|
+
key: 'column3'
|
|
92
|
+
}, {
|
|
93
|
+
label: '价格',
|
|
94
|
+
dataIndex: 'sales',
|
|
95
|
+
key: 'column4'
|
|
96
|
+
}, {
|
|
97
|
+
label: '价格',
|
|
98
|
+
dataIndex: 'sales',
|
|
99
|
+
key: 'column5'
|
|
100
|
+
}, {
|
|
101
|
+
label: '价格',
|
|
102
|
+
dataIndex: 'sales',
|
|
103
|
+
key: 'column6'
|
|
104
|
+
}],
|
|
105
|
+
bordered: true,
|
|
106
|
+
labelSize: '120px',
|
|
107
|
+
colSpan: 8,
|
|
108
|
+
colon: true,
|
|
109
|
+
labelAlign: 'left'
|
|
110
|
+
},
|
|
111
|
+
style: {},
|
|
112
|
+
isContainer: false,
|
|
113
|
+
isBusiObjContainer: true,
|
|
114
|
+
cmdgroup: ['basic'],
|
|
115
|
+
platform: 'pc',
|
|
116
|
+
icon: 'Description',
|
|
117
|
+
description: '',
|
|
118
|
+
image: '',
|
|
119
|
+
groupsName: '数据展示',
|
|
120
|
+
engineApi: ['sandBoxSafeRun', 'service.getPageVersionById', 'renderPopover'],
|
|
121
|
+
setEvents: [],
|
|
122
|
+
isLabelDropBoxChild: false,
|
|
123
|
+
components: [],
|
|
124
|
+
path: ['3602564', 'View_3602564_1']
|
|
125
|
+
}]
|
|
126
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const Divider: {
|
|
2
|
+
type: string;
|
|
3
|
+
variable: {
|
|
4
|
+
dividerHeight: {
|
|
5
|
+
type: string;
|
|
6
|
+
label: string;
|
|
7
|
+
groupsName: string;
|
|
8
|
+
};
|
|
9
|
+
dividerColor: {
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
groupsName: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
groupsName: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
title: string;
|
|
18
|
+
defaultValue: {
|
|
19
|
+
dividerHeight: string;
|
|
20
|
+
dividerColor: string;
|
|
21
|
+
}[];
|
|
22
|
+
tpl: string;
|
|
23
|
+
components: {
|
|
24
|
+
id: string;
|
|
25
|
+
label: string;
|
|
26
|
+
compName: string;
|
|
27
|
+
type: string;
|
|
28
|
+
compType: number;
|
|
29
|
+
compLib: string;
|
|
30
|
+
props: {
|
|
31
|
+
name: string;
|
|
32
|
+
basicStatus: number;
|
|
33
|
+
type: string;
|
|
34
|
+
dashed: boolean;
|
|
35
|
+
dividerColor: string;
|
|
36
|
+
dashedWidth: number;
|
|
37
|
+
dashedMargin: number;
|
|
38
|
+
showTitle: boolean;
|
|
39
|
+
dividerText: string;
|
|
40
|
+
orientation: string;
|
|
41
|
+
titleColor: string;
|
|
42
|
+
titleFontSize: number;
|
|
43
|
+
titleFontWeight: number;
|
|
44
|
+
};
|
|
45
|
+
style: {
|
|
46
|
+
margin: string;
|
|
47
|
+
};
|
|
48
|
+
isContainer: boolean;
|
|
49
|
+
isBusiObjContainer: boolean;
|
|
50
|
+
cmdgroup: string[];
|
|
51
|
+
platform: string;
|
|
52
|
+
icon: string;
|
|
53
|
+
description: string;
|
|
54
|
+
image: string;
|
|
55
|
+
groupsName: string;
|
|
56
|
+
setEvents: never[];
|
|
57
|
+
isLabelDropBoxChild: boolean;
|
|
58
|
+
components: never[];
|
|
59
|
+
path: string[];
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export var Divider = {
|
|
2
|
+
type: 'Divider',
|
|
3
|
+
variable: {
|
|
4
|
+
dividerHeight: {
|
|
5
|
+
type: 'px',
|
|
6
|
+
label: '高度',
|
|
7
|
+
groupsName: '布局'
|
|
8
|
+
},
|
|
9
|
+
dividerColor: {
|
|
10
|
+
type: 'color',
|
|
11
|
+
label: '颜色',
|
|
12
|
+
groupsName: '文字'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
groupsName: '通用',
|
|
16
|
+
icon: 'Divider',
|
|
17
|
+
title: '分割线',
|
|
18
|
+
defaultValue: [{
|
|
19
|
+
dividerHeight: '1px',
|
|
20
|
+
dividerColor: 'rgba(0, 0, 0, 0.15)'
|
|
21
|
+
}],
|
|
22
|
+
tpl: ".ued-divider-solid >div{\n background-color: dividerColor;\n height: dividerHeight;\n }",
|
|
23
|
+
components: [{
|
|
24
|
+
id: 'Divider_188481',
|
|
25
|
+
label: '分割线',
|
|
26
|
+
compName: 'Divider',
|
|
27
|
+
type: 'Divider',
|
|
28
|
+
compType: 1,
|
|
29
|
+
compLib: '@/component',
|
|
30
|
+
props: {
|
|
31
|
+
name: '分割线',
|
|
32
|
+
basicStatus: 1,
|
|
33
|
+
type: 'horizontal',
|
|
34
|
+
dashed: false,
|
|
35
|
+
dividerColor: 'rgba(0,0,0,0.15)',
|
|
36
|
+
dashedWidth: 4,
|
|
37
|
+
dashedMargin: 4,
|
|
38
|
+
showTitle: false,
|
|
39
|
+
dividerText: '标题',
|
|
40
|
+
orientation: 'center',
|
|
41
|
+
titleColor: 'rgba(28,36,46,0.75)',
|
|
42
|
+
titleFontSize: 14,
|
|
43
|
+
titleFontWeight: 400
|
|
44
|
+
},
|
|
45
|
+
style: {
|
|
46
|
+
margin: '12px 0 12px 0'
|
|
47
|
+
},
|
|
48
|
+
isContainer: false,
|
|
49
|
+
isBusiObjContainer: false,
|
|
50
|
+
cmdgroup: ['basic'],
|
|
51
|
+
platform: 'pc',
|
|
52
|
+
icon: 'Divider',
|
|
53
|
+
description: '',
|
|
54
|
+
image: '',
|
|
55
|
+
groupsName: '通用',
|
|
56
|
+
setEvents: [],
|
|
57
|
+
isLabelDropBoxChild: false,
|
|
58
|
+
components: [],
|
|
59
|
+
path: ['998509']
|
|
60
|
+
}]
|
|
61
|
+
};
|