@lingxiteam/theme-utils 0.5.2 → 0.5.3
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/package.json +1 -1
- package/dist/config/Button.d.ts +0 -113
- package/dist/config/Button.js +0 -277
- package/dist/config/Card.d.ts +0 -144
- package/dist/config/Card.js +0 -162
- package/dist/config/Cascader.d.ts +0 -196
- package/dist/config/Cascader.js +0 -225
- package/dist/config/Checkbox.d.ts +0 -162
- package/dist/config/Checkbox.js +0 -178
- package/dist/config/CheckboxGroup.d.ts +0 -184
- package/dist/config/CheckboxGroup.js +0 -192
- package/dist/config/Collapse.d.ts +0 -186
- package/dist/config/Collapse.js +0 -330
- package/dist/config/Container.d.ts +0 -275
- package/dist/config/Container.js +0 -301
- package/dist/config/DatePicker.d.ts +0 -179
- package/dist/config/DatePicker.js +0 -179
- package/dist/config/Description.d.ts +0 -106
- package/dist/config/Description.js +0 -126
- package/dist/config/Divider.d.ts +0 -61
- package/dist/config/Divider.js +0 -61
- package/dist/config/Form.d.ts +0 -3071
- package/dist/config/Form.js +0 -1358
- package/dist/config/Icon.d.ts +0 -55
- package/dist/config/Icon.js +0 -55
- package/dist/config/Input.d.ts +0 -159
- package/dist/config/Input.js +0 -159
- package/dist/config/InputNumber.d.ts +0 -154
- package/dist/config/InputNumber.js +0 -154
- package/dist/config/Link.d.ts +0 -128
- package/dist/config/Link.js +0 -120
- package/dist/config/MultipleSelect.d.ts +0 -167
- package/dist/config/MultipleSelect.js +0 -175
- package/dist/config/Radio.d.ts +0 -239
- package/dist/config/Radio.js +0 -261
- package/dist/config/RangePicker.d.ts +0 -182
- package/dist/config/RangePicker.js +0 -182
- package/dist/config/Select.d.ts +0 -190
- package/dist/config/Select.js +0 -198
- package/dist/config/StdUpload.d.ts +0 -197
- package/dist/config/StdUpload.js +0 -211
- package/dist/config/Switch.d.ts +0 -141
- package/dist/config/Switch.js +0 -151
- package/dist/config/Table.d.ts +0 -482
- package/dist/config/Table.js +0 -560
- package/dist/config/Tabs.d.ts +0 -230
- package/dist/config/Tabs.js +0 -970
- package/dist/config/Tag.d.ts +0 -173
- package/dist/config/Tag.js +0 -548
- package/dist/config/Text.d.ts +0 -34
- package/dist/config/Text.js +0 -34
- package/dist/config/TextArea.d.ts +0 -151
- package/dist/config/TextArea.js +0 -151
- package/dist/config/TimePicker.d.ts +0 -180
- package/dist/config/TimePicker.js +0 -180
- package/dist/config/Tree.d.ts +0 -151
- package/dist/config/Tree.js +0 -195
- package/dist/config/TreeSelect.d.ts +0 -197
- package/dist/config/TreeSelect.js +0 -213
- package/dist/css.d.ts +0 -6
- package/dist/css.js +0 -126
- package/dist/demo.d.ts +0 -5
- package/dist/demo.js +0 -79
- package/dist/h5config/Accordion.d.ts +0 -410
- package/dist/h5config/Accordion.js +0 -548
- package/dist/h5config/Button.d.ts +0 -142
- package/dist/h5config/Button.js +0 -253
- package/dist/h5config/Card.d.ts +0 -275
- package/dist/h5config/Card.js +0 -535
- package/dist/h5config/DAddressPicker.d.ts +0 -188
- package/dist/h5config/DAddressPicker.js +0 -230
- package/dist/h5config/DCheckbox.d.ts +0 -202
- package/dist/h5config/DCheckbox.js +0 -248
- package/dist/h5config/DForm.d.ts +0 -1597
- package/dist/h5config/DForm.js +0 -932
- package/dist/h5config/DMultiplePicker.d.ts +0 -189
- package/dist/h5config/DMultiplePicker.js +0 -235
- package/dist/h5config/DformDate.d.ts +0 -191
- package/dist/h5config/DformDate.js +0 -233
- package/dist/h5config/DformFile.d.ts +0 -277
- package/dist/h5config/DformFile.js +0 -292
- package/dist/h5config/DformImagePicker.d.ts +0 -138
- package/dist/h5config/DformImagePicker.js +0 -156
- package/dist/h5config/DformInput.d.ts +0 -189
- package/dist/h5config/DformInput.js +0 -231
- package/dist/h5config/DformInputNumber.d.ts +0 -173
- package/dist/h5config/DformInputNumber.js +0 -215
- package/dist/h5config/DformPicker.d.ts +0 -190
- package/dist/h5config/DformPicker.js +0 -236
- package/dist/h5config/DformRadio.d.ts +0 -210
- package/dist/h5config/DformRadio.js +0 -256
- package/dist/h5config/DformRangePicker.d.ts +0 -195
- package/dist/h5config/DformRangePicker.js +0 -237
- package/dist/h5config/DformSelect.d.ts +0 -198
- package/dist/h5config/DformSelect.js +0 -262
- package/dist/h5config/DformSwitch.d.ts +0 -145
- package/dist/h5config/DformSwitch.js +0 -163
- package/dist/h5config/DformTextArea.d.ts +0 -184
- package/dist/h5config/DformTextArea.js +0 -226
- package/dist/h5config/Divider.d.ts +0 -53
- package/dist/h5config/Divider.js +0 -90
- package/dist/h5config/FilterItems.d.ts +0 -154
- package/dist/h5config/FilterItems.js +0 -204
- package/dist/h5config/Grid.d.ts +0 -235
- package/dist/h5config/Grid.js +0 -278
- package/dist/h5config/Icon.d.ts +0 -54
- package/dist/h5config/Icon.js +0 -54
- package/dist/h5config/Link.d.ts +0 -51
- package/dist/h5config/Link.js +0 -51
- package/dist/h5config/LoadMore.d.ts +0 -527
- package/dist/h5config/LoadMore.js +0 -940
- package/dist/h5config/NoticeBarPlus.d.ts +0 -111
- package/dist/h5config/NoticeBarPlus.js +0 -141
- package/dist/h5config/SearchView.d.ts +0 -135
- package/dist/h5config/SearchView.js +0 -177
- package/dist/h5config/StaticTabs.d.ts +0 -121
- package/dist/h5config/StaticTabs.js +0 -180
- package/dist/h5config/Table.d.ts +0 -197
- package/dist/h5config/Table.js +0 -589
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -4
- package/dist/lx-mobile.d.ts +0 -23
- package/dist/lx-mobile.js +0 -174
- package/dist/lx.d.ts +0 -24
- package/dist/lx.js +0 -139
- package/dist/utils.d.ts +0 -12
- package/dist/utils.js +0 -67
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
export var TimePicker = {
|
|
2
|
-
type: 'TimePicker',
|
|
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-timepicker',
|
|
85
|
-
title: '时间选择',
|
|
86
|
-
defaultValue: [{
|
|
87
|
-
iconFontSize: '14px',
|
|
88
|
-
iconColor: '#9092A3'
|
|
89
|
-
}],
|
|
90
|
-
followThemes: {
|
|
91
|
-
'@text-color-secondary': ['iconColor'],
|
|
92
|
-
'@font-size-base': ['iconFontSize']
|
|
93
|
-
},
|
|
94
|
-
tpl: ".pcFactory-from-component{\n .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: 'TimePicker_274966',
|
|
131
|
-
label: '时间选择',
|
|
132
|
-
compName: 'TimePicker',
|
|
133
|
-
type: 'TimePicker',
|
|
134
|
-
compType: 2,
|
|
135
|
-
compLib: 'comm',
|
|
136
|
-
props: {
|
|
137
|
-
name: '时间选择',
|
|
138
|
-
basicStatus: 1,
|
|
139
|
-
size: 'default',
|
|
140
|
-
selfSpan: '',
|
|
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 HH:mm:ss',
|
|
152
|
-
timeMode: 'time',
|
|
153
|
-
pickerType: 'TimePicker',
|
|
154
|
-
placeholder: '请选择时间',
|
|
155
|
-
customTip: '',
|
|
156
|
-
allowClear: true,
|
|
157
|
-
formItemIndex: 14,
|
|
158
|
-
fieldName: 'rdsx'
|
|
159
|
-
},
|
|
160
|
-
style: {},
|
|
161
|
-
isContainer: false,
|
|
162
|
-
isBusiObjContainer: false,
|
|
163
|
-
cmdgroup: ['basic'],
|
|
164
|
-
platform: 'pc',
|
|
165
|
-
fieldProps: {
|
|
166
|
-
trigger: 'onChange',
|
|
167
|
-
valuePropName: 'value'
|
|
168
|
-
},
|
|
169
|
-
icon: 'TimePicker',
|
|
170
|
-
description: '',
|
|
171
|
-
image: '',
|
|
172
|
-
groupsName: '数据录入',
|
|
173
|
-
setEvents: [],
|
|
174
|
-
isLabelDropBoxChild: false,
|
|
175
|
-
components: [],
|
|
176
|
-
path: ['998509', 'Form_180373']
|
|
177
|
-
}],
|
|
178
|
-
path: ['998509']
|
|
179
|
-
}]
|
|
180
|
-
};
|
package/dist/config/Tree.d.ts
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
export declare const Tree: {
|
|
2
|
-
type: string;
|
|
3
|
-
variable: {
|
|
4
|
-
textColor: {
|
|
5
|
-
type: string;
|
|
6
|
-
label: string;
|
|
7
|
-
groupsName: string;
|
|
8
|
-
followTheme: string;
|
|
9
|
-
};
|
|
10
|
-
fontSize: {
|
|
11
|
-
type: string;
|
|
12
|
-
label: string;
|
|
13
|
-
groupsName: string;
|
|
14
|
-
followTheme: string;
|
|
15
|
-
};
|
|
16
|
-
borderColor: {
|
|
17
|
-
type: string;
|
|
18
|
-
label: string;
|
|
19
|
-
groupsName: string;
|
|
20
|
-
followTheme: string;
|
|
21
|
-
};
|
|
22
|
-
borderRadius: {
|
|
23
|
-
type: string;
|
|
24
|
-
label: string;
|
|
25
|
-
groupsName: string;
|
|
26
|
-
followTheme: string;
|
|
27
|
-
};
|
|
28
|
-
btnWidth: {
|
|
29
|
-
type: string;
|
|
30
|
-
label: string;
|
|
31
|
-
groupsName: string;
|
|
32
|
-
};
|
|
33
|
-
treeTextColor: {
|
|
34
|
-
type: string;
|
|
35
|
-
label: string;
|
|
36
|
-
groupsName: string;
|
|
37
|
-
followTheme: string;
|
|
38
|
-
};
|
|
39
|
-
treeFontSize: {
|
|
40
|
-
type: string;
|
|
41
|
-
label: string;
|
|
42
|
-
groupsName: string;
|
|
43
|
-
followTheme: string;
|
|
44
|
-
};
|
|
45
|
-
treeLineColor: {
|
|
46
|
-
type: string;
|
|
47
|
-
label: string;
|
|
48
|
-
groupsName: string;
|
|
49
|
-
};
|
|
50
|
-
treeIconColor: {
|
|
51
|
-
type: string;
|
|
52
|
-
label: string;
|
|
53
|
-
groupsName: string;
|
|
54
|
-
followTheme: string;
|
|
55
|
-
};
|
|
56
|
-
treeBgColor: {
|
|
57
|
-
type: string;
|
|
58
|
-
label: string;
|
|
59
|
-
groupsName: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
groupsName: string;
|
|
63
|
-
icon: string;
|
|
64
|
-
title: string;
|
|
65
|
-
defaultValue: {
|
|
66
|
-
borderColor: string;
|
|
67
|
-
borderRadius: string;
|
|
68
|
-
textColor: string;
|
|
69
|
-
fontSize: string;
|
|
70
|
-
btnWidth: string;
|
|
71
|
-
treeTextColor: string;
|
|
72
|
-
treeFontSize: string;
|
|
73
|
-
treeBgColor: string;
|
|
74
|
-
treeLineColor: string;
|
|
75
|
-
treeIconColor: string;
|
|
76
|
-
}[];
|
|
77
|
-
followThemes: {
|
|
78
|
-
'@primary-color': string[];
|
|
79
|
-
'@font-size-base': string[];
|
|
80
|
-
'@text-color': string[];
|
|
81
|
-
'@border-color-base': string[];
|
|
82
|
-
'@border-radius-base': string[];
|
|
83
|
-
};
|
|
84
|
-
tpl: string;
|
|
85
|
-
components: {
|
|
86
|
-
id: string;
|
|
87
|
-
label: string;
|
|
88
|
-
compName: string;
|
|
89
|
-
type: string;
|
|
90
|
-
compType: number;
|
|
91
|
-
compLib: string;
|
|
92
|
-
props: {
|
|
93
|
-
name: string;
|
|
94
|
-
basicStatus: number;
|
|
95
|
-
defaultExpandAll: boolean;
|
|
96
|
-
showLine: boolean;
|
|
97
|
-
selectable: boolean;
|
|
98
|
-
isAsync: boolean;
|
|
99
|
-
treeData: {
|
|
100
|
-
title: string;
|
|
101
|
-
key: string;
|
|
102
|
-
$$isParent: boolean;
|
|
103
|
-
selectable: boolean;
|
|
104
|
-
children: {
|
|
105
|
-
title: string;
|
|
106
|
-
key: string;
|
|
107
|
-
selectable: boolean;
|
|
108
|
-
value: string;
|
|
109
|
-
}[];
|
|
110
|
-
value: string;
|
|
111
|
-
}[];
|
|
112
|
-
showLineIcon: boolean;
|
|
113
|
-
showSearch: boolean;
|
|
114
|
-
treeNodeIcon: {
|
|
115
|
-
isUsePrimary: boolean;
|
|
116
|
-
iconType: string;
|
|
117
|
-
iconStyle: string;
|
|
118
|
-
color: string;
|
|
119
|
-
iconInfo: {
|
|
120
|
-
closed: {
|
|
121
|
-
isIconFont: boolean;
|
|
122
|
-
type: string;
|
|
123
|
-
};
|
|
124
|
-
expanded: {
|
|
125
|
-
isIconFont: boolean;
|
|
126
|
-
type: string;
|
|
127
|
-
};
|
|
128
|
-
leaf: {
|
|
129
|
-
isIconFont: boolean;
|
|
130
|
-
type: string;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
extendRules: never[];
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
style: {};
|
|
137
|
-
isContainer: boolean;
|
|
138
|
-
isBusiObjContainer: boolean;
|
|
139
|
-
cmdgroup: string[];
|
|
140
|
-
platform: string;
|
|
141
|
-
icon: string;
|
|
142
|
-
description: string;
|
|
143
|
-
image: string;
|
|
144
|
-
groupsName: string;
|
|
145
|
-
engineApi: string[];
|
|
146
|
-
setEvents: never[];
|
|
147
|
-
isLabelDropBoxChild: boolean;
|
|
148
|
-
components: never[];
|
|
149
|
-
path: string[];
|
|
150
|
-
}[];
|
|
151
|
-
};
|
package/dist/config/Tree.js
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
export var Tree = {
|
|
2
|
-
type: 'Tree',
|
|
3
|
-
variable: {
|
|
4
|
-
textColor: {
|
|
5
|
-
type: 'color',
|
|
6
|
-
label: '文本颜色',
|
|
7
|
-
groupsName: '搜索框样式',
|
|
8
|
-
followTheme: '@text-color'
|
|
9
|
-
},
|
|
10
|
-
fontSize: {
|
|
11
|
-
type: 'px',
|
|
12
|
-
label: '文本尺寸',
|
|
13
|
-
groupsName: '搜索框样式',
|
|
14
|
-
followTheme: '@font-size-base'
|
|
15
|
-
},
|
|
16
|
-
borderColor: {
|
|
17
|
-
type: 'color',
|
|
18
|
-
label: '边框颜色',
|
|
19
|
-
groupsName: '搜索框样式',
|
|
20
|
-
followTheme: '@border-color-base'
|
|
21
|
-
},
|
|
22
|
-
borderRadius: {
|
|
23
|
-
type: 'px',
|
|
24
|
-
label: '边框圆角',
|
|
25
|
-
groupsName: '搜索框样式',
|
|
26
|
-
followTheme: '@border-radius-base'
|
|
27
|
-
},
|
|
28
|
-
btnWidth: {
|
|
29
|
-
type: 'px',
|
|
30
|
-
label: '按钮宽度',
|
|
31
|
-
groupsName: '搜索框样式'
|
|
32
|
-
},
|
|
33
|
-
// treeLineHeight: { type: 'px', label: '树行高', groupsName: '树样式' },
|
|
34
|
-
treeTextColor: {
|
|
35
|
-
type: 'color',
|
|
36
|
-
label: '文本颜色',
|
|
37
|
-
groupsName: '树样式',
|
|
38
|
-
followTheme: '@text-color'
|
|
39
|
-
},
|
|
40
|
-
treeFontSize: {
|
|
41
|
-
type: 'px',
|
|
42
|
-
label: '文本尺寸',
|
|
43
|
-
groupsName: '树样式',
|
|
44
|
-
followTheme: '@font-size-base'
|
|
45
|
-
},
|
|
46
|
-
treeLineColor: {
|
|
47
|
-
type: 'color',
|
|
48
|
-
label: '连接线颜色',
|
|
49
|
-
groupsName: '树样式'
|
|
50
|
-
},
|
|
51
|
-
treeIconColor: {
|
|
52
|
-
type: 'color',
|
|
53
|
-
label: '折叠图标颜色',
|
|
54
|
-
groupsName: '树样式',
|
|
55
|
-
followTheme: '@primary-color'
|
|
56
|
-
},
|
|
57
|
-
treeBgColor: {
|
|
58
|
-
type: 'color',
|
|
59
|
-
label: '选中背景颜色',
|
|
60
|
-
groupsName: '树样式'
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
groupsName: '数据展示',
|
|
64
|
-
icon: 'icon-ico-comp-tree',
|
|
65
|
-
title: '树形控件',
|
|
66
|
-
defaultValue: [{
|
|
67
|
-
borderColor: '#e5e5e5',
|
|
68
|
-
borderRadius: '2px',
|
|
69
|
-
textColor: '#1c242e',
|
|
70
|
-
fontSize: '14px',
|
|
71
|
-
// treeLineHeight: '2',
|
|
72
|
-
btnWidth: '32px',
|
|
73
|
-
treeTextColor: '#1c242e',
|
|
74
|
-
treeFontSize: '14px',
|
|
75
|
-
treeBgColor: 'rgba(68,119,238,.06)',
|
|
76
|
-
treeLineColor: '#e5e5e5',
|
|
77
|
-
treeIconColor: '#47e'
|
|
78
|
-
}],
|
|
79
|
-
followThemes: {
|
|
80
|
-
'@primary-color': ['treeIconColor'],
|
|
81
|
-
'@font-size-base': ['fontSize', 'treeFontSize'],
|
|
82
|
-
'@text-color': ['textColor', 'treeTextColor'],
|
|
83
|
-
'@border-color-base': ['borderColor'],
|
|
84
|
-
'@border-radius-base': ['borderRadius']
|
|
85
|
-
},
|
|
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 }",
|
|
87
|
-
components: [{
|
|
88
|
-
id: 'Tree_371619',
|
|
89
|
-
label: '树形控件',
|
|
90
|
-
compName: 'Tree',
|
|
91
|
-
type: 'Tree',
|
|
92
|
-
compType: 3,
|
|
93
|
-
compLib: 'comm',
|
|
94
|
-
props: {
|
|
95
|
-
name: '树形控件',
|
|
96
|
-
basicStatus: 1,
|
|
97
|
-
defaultExpandAll: true,
|
|
98
|
-
showLine: true,
|
|
99
|
-
selectable: true,
|
|
100
|
-
isAsync: false,
|
|
101
|
-
treeData: [{
|
|
102
|
-
title: '分公司1',
|
|
103
|
-
key: '8801066',
|
|
104
|
-
$$isParent: true,
|
|
105
|
-
selectable: true,
|
|
106
|
-
children: [{
|
|
107
|
-
title: '设计',
|
|
108
|
-
key: '562194',
|
|
109
|
-
selectable: true,
|
|
110
|
-
value: '562194'
|
|
111
|
-
}, {
|
|
112
|
-
title: '开发',
|
|
113
|
-
key: '609015',
|
|
114
|
-
selectable: true,
|
|
115
|
-
value: '609015'
|
|
116
|
-
}, {
|
|
117
|
-
title: '测试',
|
|
118
|
-
key: '9582152',
|
|
119
|
-
selectable: true,
|
|
120
|
-
value: '9582152'
|
|
121
|
-
}, {
|
|
122
|
-
title: '需求',
|
|
123
|
-
key: '1922326',
|
|
124
|
-
selectable: true,
|
|
125
|
-
value: '1922326'
|
|
126
|
-
}],
|
|
127
|
-
value: '8801066'
|
|
128
|
-
}, {
|
|
129
|
-
title: '分公司2',
|
|
130
|
-
key: '4163425',
|
|
131
|
-
$$isParent: true,
|
|
132
|
-
selectable: true,
|
|
133
|
-
value: '4163425',
|
|
134
|
-
children: [{
|
|
135
|
-
title: '设计',
|
|
136
|
-
key: '15085',
|
|
137
|
-
selectable: true,
|
|
138
|
-
value: '15085'
|
|
139
|
-
}, {
|
|
140
|
-
title: '开发',
|
|
141
|
-
key: '409378',
|
|
142
|
-
selectable: true,
|
|
143
|
-
value: '409378'
|
|
144
|
-
}, {
|
|
145
|
-
title: '测试',
|
|
146
|
-
key: '667171',
|
|
147
|
-
selectable: true,
|
|
148
|
-
value: '667171'
|
|
149
|
-
}, {
|
|
150
|
-
title: '需求',
|
|
151
|
-
key: '60022',
|
|
152
|
-
selectable: true,
|
|
153
|
-
value: '60022'
|
|
154
|
-
}]
|
|
155
|
-
}],
|
|
156
|
-
showLineIcon: true,
|
|
157
|
-
showSearch: true,
|
|
158
|
-
treeNodeIcon: {
|
|
159
|
-
isUsePrimary: true,
|
|
160
|
-
iconType: 'outlined',
|
|
161
|
-
iconStyle: 'organization',
|
|
162
|
-
color: 'rgba(28, 36, 46, 0.75)',
|
|
163
|
-
iconInfo: {
|
|
164
|
-
closed: {
|
|
165
|
-
isIconFont: true,
|
|
166
|
-
type: 'lcdp-icon-tuandui-xian'
|
|
167
|
-
},
|
|
168
|
-
expanded: {
|
|
169
|
-
isIconFont: true,
|
|
170
|
-
type: 'lcdp-icon-tuandui-xian'
|
|
171
|
-
},
|
|
172
|
-
leaf: {
|
|
173
|
-
isIconFont: true,
|
|
174
|
-
type: 'lcdp-icon-geren-xian'
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
extendRules: []
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
style: {},
|
|
181
|
-
isContainer: false,
|
|
182
|
-
isBusiObjContainer: false,
|
|
183
|
-
cmdgroup: ['basic'],
|
|
184
|
-
platform: 'pc',
|
|
185
|
-
icon: 'Tree',
|
|
186
|
-
description: '',
|
|
187
|
-
image: '',
|
|
188
|
-
groupsName: '数据展示',
|
|
189
|
-
engineApi: ['sandBoxSafeRun', 'service.commonFetch'],
|
|
190
|
-
setEvents: [],
|
|
191
|
-
isLabelDropBoxChild: false,
|
|
192
|
-
components: [],
|
|
193
|
-
path: ['3602564', 'View_3602564_1']
|
|
194
|
-
}]
|
|
195
|
-
};
|