@lingxiteam/theme-utils 0.1.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/README.md +83 -0
- package/dist/config/Button.d.ts +101 -0
- package/dist/config/Button.js +265 -0
- package/dist/config/Card.d.ts +137 -0
- package/dist/config/Card.js +149 -0
- package/dist/config/Cascader.d.ts +179 -0
- package/dist/config/Cascader.js +208 -0
- package/dist/config/Checkbox.d.ts +161 -0
- package/dist/config/Checkbox.js +161 -0
- package/dist/config/CheckboxGroup.d.ts +176 -0
- package/dist/config/CheckboxGroup.js +184 -0
- package/dist/config/Collapse.d.ts +170 -0
- package/dist/config/Collapse.js +308 -0
- package/dist/config/Container.d.ts +268 -0
- package/dist/config/Container.js +288 -0
- package/dist/config/DatePicker.d.ts +163 -0
- package/dist/config/DatePicker.js +163 -0
- package/dist/config/Description.d.ts +97 -0
- package/dist/config/Description.js +117 -0
- package/dist/config/Divider.d.ts +61 -0
- package/dist/config/Divider.js +61 -0
- package/dist/config/Form.d.ts +2700 -0
- package/dist/config/Form.js +1214 -0
- package/dist/config/Icon.d.ts +51 -0
- package/dist/config/Icon.js +51 -0
- package/dist/config/Input.d.ts +150 -0
- package/dist/config/Input.js +150 -0
- package/dist/config/InputNumber.d.ts +145 -0
- package/dist/config/InputNumber.js +145 -0
- package/dist/config/Link.d.ts +123 -0
- package/dist/config/Link.js +115 -0
- package/dist/config/MultipleSelect.d.ts +158 -0
- package/dist/config/MultipleSelect.js +166 -0
- package/dist/config/Radio.d.ts +171 -0
- package/dist/config/Radio.js +179 -0
- package/dist/config/RangePicker.d.ts +165 -0
- package/dist/config/RangePicker.js +165 -0
- package/dist/config/Select.d.ts +173 -0
- package/dist/config/Select.js +181 -0
- package/dist/config/StdUpload.d.ts +204 -0
- package/dist/config/StdUpload.js +208 -0
- package/dist/config/Switch.d.ts +137 -0
- package/dist/config/Switch.js +137 -0
- package/dist/config/Table.d.ts +398 -0
- package/dist/config/Table.js +527 -0
- package/dist/config/Tabs.d.ts +170 -0
- package/dist/config/Tabs.js +229 -0
- package/dist/config/Tag.d.ts +114 -0
- package/dist/config/Tag.js +314 -0
- package/dist/config/Text.d.ts +30 -0
- package/dist/config/Text.js +30 -0
- package/dist/config/TextArea.d.ts +142 -0
- package/dist/config/TextArea.js +142 -0
- package/dist/config/TimePicker.d.ts +164 -0
- package/dist/config/TimePicker.js +164 -0
- package/dist/config/Tree.d.ts +131 -0
- package/dist/config/Tree.js +175 -0
- package/dist/config/TreeSelect.d.ts +180 -0
- package/dist/config/TreeSelect.js +196 -0
- package/dist/css.d.ts +6 -0
- package/dist/css.js +121 -0
- package/dist/demo.d.ts +5 -0
- package/dist/demo.js +79 -0
- package/dist/h5config/Accordion.d.ts +338 -0
- package/dist/h5config/Accordion.js +445 -0
- package/dist/h5config/Button.d.ts +134 -0
- package/dist/h5config/Button.js +245 -0
- package/dist/h5config/Card.d.ts +268 -0
- package/dist/h5config/Card.js +425 -0
- package/dist/h5config/DAddressPicker.d.ts +196 -0
- package/dist/h5config/DAddressPicker.js +226 -0
- package/dist/h5config/DCheckbox.d.ts +203 -0
- package/dist/h5config/DCheckbox.js +237 -0
- package/dist/h5config/DForm.d.ts +1607 -0
- package/dist/h5config/DForm.js +897 -0
- package/dist/h5config/DMultiplePicker.d.ts +197 -0
- package/dist/h5config/DMultiplePicker.js +231 -0
- package/dist/h5config/DformDate.d.ts +199 -0
- package/dist/h5config/DformDate.js +229 -0
- package/dist/h5config/DformFile.d.ts +186 -0
- package/dist/h5config/DformFile.js +198 -0
- package/dist/h5config/DformImagePicker.d.ts +138 -0
- package/dist/h5config/DformImagePicker.js +150 -0
- package/dist/h5config/DformInput.d.ts +188 -0
- package/dist/h5config/DformInput.js +218 -0
- package/dist/h5config/DformInputNumber.d.ts +173 -0
- package/dist/h5config/DformInputNumber.js +203 -0
- package/dist/h5config/DformPicker.d.ts +198 -0
- package/dist/h5config/DformPicker.js +232 -0
- package/dist/h5config/DformRadio.d.ts +203 -0
- package/dist/h5config/DformRadio.js +237 -0
- package/dist/h5config/DformRangePicker.d.ts +199 -0
- package/dist/h5config/DformRangePicker.js +229 -0
- package/dist/h5config/DformSelect.d.ts +208 -0
- package/dist/h5config/DformSelect.js +260 -0
- package/dist/h5config/DformSwitch.d.ts +146 -0
- package/dist/h5config/DformSwitch.js +158 -0
- package/dist/h5config/DformTextArea.d.ts +184 -0
- package/dist/h5config/DformTextArea.js +214 -0
- package/dist/h5config/Divider.d.ts +53 -0
- package/dist/h5config/Divider.js +90 -0
- package/dist/h5config/FilterItems.d.ts +142 -0
- package/dist/h5config/FilterItems.js +181 -0
- package/dist/h5config/Grid.d.ts +117 -0
- package/dist/h5config/Grid.js +154 -0
- package/dist/h5config/Icon.d.ts +54 -0
- package/dist/h5config/Icon.js +54 -0
- package/dist/h5config/Link.d.ts +47 -0
- package/dist/h5config/Link.js +47 -0
- package/dist/h5config/LoadMore.d.ts +527 -0
- package/dist/h5config/LoadMore.js +940 -0
- package/dist/h5config/NoticeBarPlus.d.ts +104 -0
- package/dist/h5config/NoticeBarPlus.js +129 -0
- package/dist/h5config/SearchView.d.ts +128 -0
- package/dist/h5config/SearchView.js +163 -0
- package/dist/h5config/StaticTabs.d.ts +133 -0
- package/dist/h5config/StaticTabs.js +173 -0
- package/dist/h5config/Table.d.ts +182 -0
- package/dist/h5config/Table.js +566 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/lx-mobile.d.ts +9 -0
- package/dist/lx-mobile.js +153 -0
- package/dist/lx.d.ts +6 -0
- package/dist/lx.js +112 -0
- package/dist/utils.d.ts +12 -0
- package/dist/utils.js +65 -0
- package/package.json +38 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export declare const TimePicker: {
|
|
2
|
+
type: string;
|
|
3
|
+
variable: {
|
|
4
|
+
labelTextColor: {
|
|
5
|
+
type: string;
|
|
6
|
+
label: string;
|
|
7
|
+
groupsName: string;
|
|
8
|
+
desc: string;
|
|
9
|
+
canEdit: boolean;
|
|
10
|
+
extendsKey: string;
|
|
11
|
+
};
|
|
12
|
+
labelLineHeight: {
|
|
13
|
+
type: string;
|
|
14
|
+
label: string;
|
|
15
|
+
groupsName: string;
|
|
16
|
+
desc: string;
|
|
17
|
+
canEdit: boolean;
|
|
18
|
+
extendsKey: string;
|
|
19
|
+
};
|
|
20
|
+
labelFontSize: {
|
|
21
|
+
type: string;
|
|
22
|
+
label: string;
|
|
23
|
+
groupsName: string;
|
|
24
|
+
desc: string;
|
|
25
|
+
canEdit: boolean;
|
|
26
|
+
extendsKey: string;
|
|
27
|
+
};
|
|
28
|
+
textColor: {
|
|
29
|
+
type: string;
|
|
30
|
+
label: string;
|
|
31
|
+
groupsName: string;
|
|
32
|
+
desc: string;
|
|
33
|
+
canEdit: boolean;
|
|
34
|
+
extendsKey: string;
|
|
35
|
+
};
|
|
36
|
+
fontSize: {
|
|
37
|
+
type: string;
|
|
38
|
+
label: string;
|
|
39
|
+
groupsName: string;
|
|
40
|
+
desc: string;
|
|
41
|
+
canEdit: boolean;
|
|
42
|
+
extendsKey: string;
|
|
43
|
+
};
|
|
44
|
+
itemBorderColor: {
|
|
45
|
+
type: string;
|
|
46
|
+
label: string;
|
|
47
|
+
groupsName: string;
|
|
48
|
+
desc: string;
|
|
49
|
+
canEdit: boolean;
|
|
50
|
+
extendsKey: string;
|
|
51
|
+
};
|
|
52
|
+
itemBorderRadius: {
|
|
53
|
+
type: string;
|
|
54
|
+
label: string;
|
|
55
|
+
groupsName: string;
|
|
56
|
+
desc: string;
|
|
57
|
+
canEdit: boolean;
|
|
58
|
+
extendsKey: string;
|
|
59
|
+
};
|
|
60
|
+
iconFontSize: {
|
|
61
|
+
type: string;
|
|
62
|
+
label: string;
|
|
63
|
+
groupsName: string;
|
|
64
|
+
};
|
|
65
|
+
iconColor: {
|
|
66
|
+
type: string;
|
|
67
|
+
label: string;
|
|
68
|
+
groupsName: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
groupsName: string;
|
|
72
|
+
icon: string;
|
|
73
|
+
title: string;
|
|
74
|
+
defaultValue: {
|
|
75
|
+
iconFontSize: string;
|
|
76
|
+
iconColor: string;
|
|
77
|
+
}[];
|
|
78
|
+
tpl: string;
|
|
79
|
+
components: {
|
|
80
|
+
id: string;
|
|
81
|
+
label: string;
|
|
82
|
+
compName: string;
|
|
83
|
+
type: string;
|
|
84
|
+
compType: number;
|
|
85
|
+
compLib: string;
|
|
86
|
+
props: {
|
|
87
|
+
name: string;
|
|
88
|
+
colSpan: number;
|
|
89
|
+
labelCol: number;
|
|
90
|
+
wrapperCol: number;
|
|
91
|
+
layout: string;
|
|
92
|
+
colon: boolean;
|
|
93
|
+
labelAlign: string;
|
|
94
|
+
basicStatus: number;
|
|
95
|
+
colSpace: number;
|
|
96
|
+
rowSpace: number;
|
|
97
|
+
formCode: string;
|
|
98
|
+
};
|
|
99
|
+
style: {
|
|
100
|
+
padding: string;
|
|
101
|
+
};
|
|
102
|
+
isContainer: boolean;
|
|
103
|
+
isBusiObjContainer: boolean;
|
|
104
|
+
cmdgroup: string[];
|
|
105
|
+
platform: string;
|
|
106
|
+
icon: string;
|
|
107
|
+
description: string;
|
|
108
|
+
image: string;
|
|
109
|
+
groupsName: string;
|
|
110
|
+
engineApi: string[];
|
|
111
|
+
setEvents: never[];
|
|
112
|
+
isLabelDropBoxChild: boolean;
|
|
113
|
+
components: {
|
|
114
|
+
id: string;
|
|
115
|
+
label: string;
|
|
116
|
+
compName: string;
|
|
117
|
+
type: string;
|
|
118
|
+
compType: number;
|
|
119
|
+
compLib: string;
|
|
120
|
+
props: {
|
|
121
|
+
name: string;
|
|
122
|
+
basicStatus: number;
|
|
123
|
+
size: string;
|
|
124
|
+
selfSpan: string;
|
|
125
|
+
labelCol: number;
|
|
126
|
+
wrapperCol: number;
|
|
127
|
+
titleTip: string;
|
|
128
|
+
tipSize: string;
|
|
129
|
+
tipWidth: string;
|
|
130
|
+
tipHeight: string;
|
|
131
|
+
required: boolean;
|
|
132
|
+
limitRange: string;
|
|
133
|
+
startTime: string;
|
|
134
|
+
endTime: string;
|
|
135
|
+
format: string;
|
|
136
|
+
timeMode: string;
|
|
137
|
+
pickerType: string;
|
|
138
|
+
placeholder: string;
|
|
139
|
+
customTip: string;
|
|
140
|
+
allowClear: boolean;
|
|
141
|
+
formItemIndex: number;
|
|
142
|
+
fieldName: string;
|
|
143
|
+
};
|
|
144
|
+
style: {};
|
|
145
|
+
isContainer: boolean;
|
|
146
|
+
isBusiObjContainer: boolean;
|
|
147
|
+
cmdgroup: string[];
|
|
148
|
+
platform: string;
|
|
149
|
+
fieldProps: {
|
|
150
|
+
trigger: string;
|
|
151
|
+
valuePropName: string;
|
|
152
|
+
};
|
|
153
|
+
icon: string;
|
|
154
|
+
description: string;
|
|
155
|
+
image: string;
|
|
156
|
+
groupsName: string;
|
|
157
|
+
setEvents: never[];
|
|
158
|
+
isLabelDropBoxChild: boolean;
|
|
159
|
+
components: never[];
|
|
160
|
+
path: string[];
|
|
161
|
+
}[];
|
|
162
|
+
path: string[];
|
|
163
|
+
}[];
|
|
164
|
+
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export var TimePicker = {
|
|
2
|
+
type: 'TimePicker',
|
|
3
|
+
variable: {
|
|
4
|
+
labelTextColor: {
|
|
5
|
+
type: 'color',
|
|
6
|
+
label: '标签文本颜色',
|
|
7
|
+
groupsName: '文字',
|
|
8
|
+
desc: '继承自表单,此处不可编辑',
|
|
9
|
+
canEdit: false,
|
|
10
|
+
extendsKey: 'Form'
|
|
11
|
+
},
|
|
12
|
+
labelLineHeight: {
|
|
13
|
+
type: 'px',
|
|
14
|
+
label: '标签文本行高',
|
|
15
|
+
groupsName: '文字',
|
|
16
|
+
desc: '继承自表单,此处不可编辑',
|
|
17
|
+
canEdit: false,
|
|
18
|
+
extendsKey: 'Form'
|
|
19
|
+
},
|
|
20
|
+
labelFontSize: {
|
|
21
|
+
type: 'px',
|
|
22
|
+
label: '标签文本尺寸',
|
|
23
|
+
groupsName: '文字',
|
|
24
|
+
desc: '继承自表单,此处不可编辑',
|
|
25
|
+
canEdit: false,
|
|
26
|
+
extendsKey: 'Form'
|
|
27
|
+
},
|
|
28
|
+
textColor: {
|
|
29
|
+
type: 'color',
|
|
30
|
+
label: '文本颜色',
|
|
31
|
+
groupsName: '文字',
|
|
32
|
+
desc: '继承自表单,此处不可编辑',
|
|
33
|
+
canEdit: false,
|
|
34
|
+
extendsKey: 'Form'
|
|
35
|
+
},
|
|
36
|
+
fontSize: {
|
|
37
|
+
type: 'px',
|
|
38
|
+
label: '文本尺寸',
|
|
39
|
+
groupsName: '文字',
|
|
40
|
+
desc: '继承自表单,此处不可编辑',
|
|
41
|
+
canEdit: false,
|
|
42
|
+
extendsKey: 'Form'
|
|
43
|
+
},
|
|
44
|
+
itemBorderColor: {
|
|
45
|
+
type: 'color',
|
|
46
|
+
label: '边框颜色',
|
|
47
|
+
groupsName: '边框',
|
|
48
|
+
desc: '继承自表单,此处不可编辑',
|
|
49
|
+
canEdit: false,
|
|
50
|
+
extendsKey: 'Form'
|
|
51
|
+
},
|
|
52
|
+
itemBorderRadius: {
|
|
53
|
+
type: 'px',
|
|
54
|
+
label: '边框圆角',
|
|
55
|
+
groupsName: '边框',
|
|
56
|
+
desc: '继承自表单,此处不可编辑',
|
|
57
|
+
canEdit: false,
|
|
58
|
+
extendsKey: 'Form'
|
|
59
|
+
},
|
|
60
|
+
iconFontSize: {
|
|
61
|
+
type: 'px',
|
|
62
|
+
label: '日期图标尺寸',
|
|
63
|
+
groupsName: '文字'
|
|
64
|
+
},
|
|
65
|
+
iconColor: {
|
|
66
|
+
type: 'color',
|
|
67
|
+
label: '日期图标颜色',
|
|
68
|
+
groupsName: '文字'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
groupsName: '数据录入',
|
|
72
|
+
icon: 'icon-ico-comp-timepicker',
|
|
73
|
+
title: '时间选择',
|
|
74
|
+
defaultValue: [{
|
|
75
|
+
iconFontSize: '14px',
|
|
76
|
+
iconColor: '#0085D0'
|
|
77
|
+
}],
|
|
78
|
+
tpl: ".ued-datePicker-wrap .pcfactory-picker-suffix{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }\n .ued-datePicker-wrap .pcfactory-picker-clear{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }",
|
|
79
|
+
components: [{
|
|
80
|
+
id: 'Form_180373',
|
|
81
|
+
label: '表单',
|
|
82
|
+
compName: 'Form',
|
|
83
|
+
type: 'Form',
|
|
84
|
+
compType: 0,
|
|
85
|
+
compLib: 'comm',
|
|
86
|
+
props: {
|
|
87
|
+
name: '表单',
|
|
88
|
+
colSpan: 12,
|
|
89
|
+
labelCol: 8,
|
|
90
|
+
wrapperCol: 16,
|
|
91
|
+
layout: 'vertical',
|
|
92
|
+
colon: true,
|
|
93
|
+
labelAlign: 'right',
|
|
94
|
+
basicStatus: 1,
|
|
95
|
+
colSpace: 16,
|
|
96
|
+
rowSpace: 16,
|
|
97
|
+
formCode: 'Code_Form_180373'
|
|
98
|
+
},
|
|
99
|
+
style: {
|
|
100
|
+
padding: '0px 0px 0px 0px'
|
|
101
|
+
},
|
|
102
|
+
isContainer: true,
|
|
103
|
+
isBusiObjContainer: true,
|
|
104
|
+
cmdgroup: ['basic'],
|
|
105
|
+
platform: 'pc',
|
|
106
|
+
icon: 'Form',
|
|
107
|
+
description: '',
|
|
108
|
+
image: '',
|
|
109
|
+
groupsName: '容器',
|
|
110
|
+
engineApi: ['service.downloadFileByFileCode', 'getVisible', 'stateListener'],
|
|
111
|
+
setEvents: [],
|
|
112
|
+
isLabelDropBoxChild: false,
|
|
113
|
+
components: [{
|
|
114
|
+
id: 'TimePicker_274966',
|
|
115
|
+
label: '时间选择',
|
|
116
|
+
compName: 'TimePicker',
|
|
117
|
+
type: 'TimePicker',
|
|
118
|
+
compType: 2,
|
|
119
|
+
compLib: 'comm',
|
|
120
|
+
props: {
|
|
121
|
+
name: '时间选择',
|
|
122
|
+
basicStatus: 1,
|
|
123
|
+
size: 'default',
|
|
124
|
+
selfSpan: '',
|
|
125
|
+
labelCol: 8,
|
|
126
|
+
wrapperCol: 16,
|
|
127
|
+
titleTip: 'notext',
|
|
128
|
+
tipSize: 'default',
|
|
129
|
+
tipWidth: '240px',
|
|
130
|
+
tipHeight: 'auto',
|
|
131
|
+
required: false,
|
|
132
|
+
limitRange: 'no',
|
|
133
|
+
startTime: '',
|
|
134
|
+
endTime: '',
|
|
135
|
+
format: 'YYYY-MM-DD HH:mm:ss',
|
|
136
|
+
timeMode: 'time',
|
|
137
|
+
pickerType: 'TimePicker',
|
|
138
|
+
placeholder: '请选择时间',
|
|
139
|
+
customTip: '',
|
|
140
|
+
allowClear: true,
|
|
141
|
+
formItemIndex: 14,
|
|
142
|
+
fieldName: 'rdsx'
|
|
143
|
+
},
|
|
144
|
+
style: {},
|
|
145
|
+
isContainer: false,
|
|
146
|
+
isBusiObjContainer: false,
|
|
147
|
+
cmdgroup: ['basic'],
|
|
148
|
+
platform: 'pc',
|
|
149
|
+
fieldProps: {
|
|
150
|
+
trigger: 'onChange',
|
|
151
|
+
valuePropName: 'value'
|
|
152
|
+
},
|
|
153
|
+
icon: 'TimePicker',
|
|
154
|
+
description: '',
|
|
155
|
+
image: '',
|
|
156
|
+
groupsName: '数据录入',
|
|
157
|
+
setEvents: [],
|
|
158
|
+
isLabelDropBoxChild: false,
|
|
159
|
+
components: [],
|
|
160
|
+
path: ['998509', 'Form_180373']
|
|
161
|
+
}],
|
|
162
|
+
path: ['998509']
|
|
163
|
+
}]
|
|
164
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
export declare const Tree: {
|
|
2
|
+
type: string;
|
|
3
|
+
variable: {
|
|
4
|
+
borderColor: {
|
|
5
|
+
type: string;
|
|
6
|
+
label: string;
|
|
7
|
+
groupsName: string;
|
|
8
|
+
};
|
|
9
|
+
borderRadius: {
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
groupsName: string;
|
|
13
|
+
};
|
|
14
|
+
textColor: {
|
|
15
|
+
type: string;
|
|
16
|
+
label: string;
|
|
17
|
+
groupsName: string;
|
|
18
|
+
};
|
|
19
|
+
fontSize: {
|
|
20
|
+
type: string;
|
|
21
|
+
label: string;
|
|
22
|
+
groupsName: string;
|
|
23
|
+
};
|
|
24
|
+
treeTextColor: {
|
|
25
|
+
type: string;
|
|
26
|
+
label: string;
|
|
27
|
+
groupsName: string;
|
|
28
|
+
};
|
|
29
|
+
treeFontSize: {
|
|
30
|
+
type: string;
|
|
31
|
+
label: string;
|
|
32
|
+
groupsName: string;
|
|
33
|
+
};
|
|
34
|
+
treeIconColor: {
|
|
35
|
+
type: string;
|
|
36
|
+
label: string;
|
|
37
|
+
groupsName: string;
|
|
38
|
+
};
|
|
39
|
+
treeLineColor: {
|
|
40
|
+
type: string;
|
|
41
|
+
label: string;
|
|
42
|
+
groupsName: string;
|
|
43
|
+
};
|
|
44
|
+
treeBgColor: {
|
|
45
|
+
type: string;
|
|
46
|
+
label: string;
|
|
47
|
+
groupsName: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
groupsName: string;
|
|
51
|
+
icon: string;
|
|
52
|
+
title: string;
|
|
53
|
+
defaultValue: {
|
|
54
|
+
borderColor: string;
|
|
55
|
+
borderRadius: string;
|
|
56
|
+
textColor: string;
|
|
57
|
+
fontSize: string;
|
|
58
|
+
treeTextColor: string;
|
|
59
|
+
treeFontSize: string;
|
|
60
|
+
treeBgColor: string;
|
|
61
|
+
treeLineColor: string;
|
|
62
|
+
treeIconColor: string;
|
|
63
|
+
}[];
|
|
64
|
+
tpl: string;
|
|
65
|
+
components: {
|
|
66
|
+
id: string;
|
|
67
|
+
label: string;
|
|
68
|
+
compName: string;
|
|
69
|
+
type: string;
|
|
70
|
+
compType: number;
|
|
71
|
+
compLib: string;
|
|
72
|
+
props: {
|
|
73
|
+
name: string;
|
|
74
|
+
basicStatus: number;
|
|
75
|
+
defaultExpandAll: boolean;
|
|
76
|
+
showLine: boolean;
|
|
77
|
+
selectable: boolean;
|
|
78
|
+
isAsync: boolean;
|
|
79
|
+
treeData: {
|
|
80
|
+
title: string;
|
|
81
|
+
key: string;
|
|
82
|
+
$$isParent: boolean;
|
|
83
|
+
selectable: boolean;
|
|
84
|
+
children: {
|
|
85
|
+
title: string;
|
|
86
|
+
key: string;
|
|
87
|
+
selectable: boolean;
|
|
88
|
+
value: string;
|
|
89
|
+
}[];
|
|
90
|
+
value: string;
|
|
91
|
+
}[];
|
|
92
|
+
showLineIcon: boolean;
|
|
93
|
+
showSearch: boolean;
|
|
94
|
+
treeNodeIcon: {
|
|
95
|
+
isUsePrimary: boolean;
|
|
96
|
+
iconType: string;
|
|
97
|
+
iconStyle: string;
|
|
98
|
+
color: string;
|
|
99
|
+
iconInfo: {
|
|
100
|
+
closed: {
|
|
101
|
+
isIconFont: boolean;
|
|
102
|
+
type: string;
|
|
103
|
+
};
|
|
104
|
+
expanded: {
|
|
105
|
+
isIconFont: boolean;
|
|
106
|
+
type: string;
|
|
107
|
+
};
|
|
108
|
+
leaf: {
|
|
109
|
+
isIconFont: boolean;
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
extendRules: never[];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
style: {};
|
|
117
|
+
isContainer: boolean;
|
|
118
|
+
isBusiObjContainer: boolean;
|
|
119
|
+
cmdgroup: string[];
|
|
120
|
+
platform: string;
|
|
121
|
+
icon: string;
|
|
122
|
+
description: string;
|
|
123
|
+
image: string;
|
|
124
|
+
groupsName: string;
|
|
125
|
+
engineApi: string[];
|
|
126
|
+
setEvents: never[];
|
|
127
|
+
isLabelDropBoxChild: boolean;
|
|
128
|
+
components: never[];
|
|
129
|
+
path: string[];
|
|
130
|
+
}[];
|
|
131
|
+
};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
export var Tree = {
|
|
2
|
+
type: 'Tree',
|
|
3
|
+
variable: {
|
|
4
|
+
borderColor: {
|
|
5
|
+
type: 'color',
|
|
6
|
+
label: '边框颜色',
|
|
7
|
+
groupsName: '搜索框样式'
|
|
8
|
+
},
|
|
9
|
+
borderRadius: {
|
|
10
|
+
type: 'px',
|
|
11
|
+
label: '边框圆角',
|
|
12
|
+
groupsName: '搜索框样式'
|
|
13
|
+
},
|
|
14
|
+
textColor: {
|
|
15
|
+
type: 'color',
|
|
16
|
+
label: '文本颜色',
|
|
17
|
+
groupsName: '搜索框样式'
|
|
18
|
+
},
|
|
19
|
+
fontSize: {
|
|
20
|
+
type: 'px',
|
|
21
|
+
label: '文本尺寸',
|
|
22
|
+
groupsName: '搜索框样式'
|
|
23
|
+
},
|
|
24
|
+
// treeLineHeight: { type: 'px', label: '树行高', groupsName: '树样式' },
|
|
25
|
+
treeTextColor: {
|
|
26
|
+
type: 'color',
|
|
27
|
+
label: '文本颜色',
|
|
28
|
+
groupsName: '树样式'
|
|
29
|
+
},
|
|
30
|
+
treeFontSize: {
|
|
31
|
+
type: 'px',
|
|
32
|
+
label: '文本尺寸',
|
|
33
|
+
groupsName: '树样式'
|
|
34
|
+
},
|
|
35
|
+
treeIconColor: {
|
|
36
|
+
type: 'color',
|
|
37
|
+
label: '折叠图标颜色',
|
|
38
|
+
groupsName: '树样式'
|
|
39
|
+
},
|
|
40
|
+
treeLineColor: {
|
|
41
|
+
type: 'color',
|
|
42
|
+
label: '衔接线颜色',
|
|
43
|
+
groupsName: '树样式'
|
|
44
|
+
},
|
|
45
|
+
treeBgColor: {
|
|
46
|
+
type: 'color',
|
|
47
|
+
label: '选中背景颜色',
|
|
48
|
+
groupsName: '树样式'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
groupsName: '数据展示',
|
|
52
|
+
icon: 'icon-ico-comp-tree',
|
|
53
|
+
title: '树形控件',
|
|
54
|
+
defaultValue: [{
|
|
55
|
+
borderColor: '#e5e5e5',
|
|
56
|
+
borderRadius: '2px',
|
|
57
|
+
textColor: '#1c242e',
|
|
58
|
+
fontSize: '14px',
|
|
59
|
+
// treeLineHeight: '2',
|
|
60
|
+
treeTextColor: '#1c242e',
|
|
61
|
+
treeFontSize: '14px',
|
|
62
|
+
treeBgColor: 'rgba(68,119,238,.06)',
|
|
63
|
+
treeLineColor: '#e5e5e5',
|
|
64
|
+
treeIconColor: '#47e'
|
|
65
|
+
}],
|
|
66
|
+
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 }",
|
|
67
|
+
components: [{
|
|
68
|
+
id: 'Tree_371619',
|
|
69
|
+
label: '树形控件',
|
|
70
|
+
compName: 'Tree',
|
|
71
|
+
type: 'Tree',
|
|
72
|
+
compType: 3,
|
|
73
|
+
compLib: 'comm',
|
|
74
|
+
props: {
|
|
75
|
+
name: '树形控件',
|
|
76
|
+
basicStatus: 1,
|
|
77
|
+
defaultExpandAll: true,
|
|
78
|
+
showLine: true,
|
|
79
|
+
selectable: true,
|
|
80
|
+
isAsync: false,
|
|
81
|
+
treeData: [{
|
|
82
|
+
title: '分公司1',
|
|
83
|
+
key: '8801066',
|
|
84
|
+
$$isParent: true,
|
|
85
|
+
selectable: true,
|
|
86
|
+
children: [{
|
|
87
|
+
title: '设计',
|
|
88
|
+
key: '562194',
|
|
89
|
+
selectable: true,
|
|
90
|
+
value: '562194'
|
|
91
|
+
}, {
|
|
92
|
+
title: '开发',
|
|
93
|
+
key: '609015',
|
|
94
|
+
selectable: true,
|
|
95
|
+
value: '609015'
|
|
96
|
+
}, {
|
|
97
|
+
title: '测试',
|
|
98
|
+
key: '9582152',
|
|
99
|
+
selectable: true,
|
|
100
|
+
value: '9582152'
|
|
101
|
+
}, {
|
|
102
|
+
title: '需求',
|
|
103
|
+
key: '1922326',
|
|
104
|
+
selectable: true,
|
|
105
|
+
value: '1922326'
|
|
106
|
+
}],
|
|
107
|
+
value: '8801066'
|
|
108
|
+
}, {
|
|
109
|
+
title: '分公司2',
|
|
110
|
+
key: '4163425',
|
|
111
|
+
$$isParent: true,
|
|
112
|
+
selectable: true,
|
|
113
|
+
value: '4163425',
|
|
114
|
+
children: [{
|
|
115
|
+
title: '设计',
|
|
116
|
+
key: '15085',
|
|
117
|
+
selectable: true,
|
|
118
|
+
value: '15085'
|
|
119
|
+
}, {
|
|
120
|
+
title: '开发',
|
|
121
|
+
key: '409378',
|
|
122
|
+
selectable: true,
|
|
123
|
+
value: '409378'
|
|
124
|
+
}, {
|
|
125
|
+
title: '测试',
|
|
126
|
+
key: '667171',
|
|
127
|
+
selectable: true,
|
|
128
|
+
value: '667171'
|
|
129
|
+
}, {
|
|
130
|
+
title: '需求',
|
|
131
|
+
key: '60022',
|
|
132
|
+
selectable: true,
|
|
133
|
+
value: '60022'
|
|
134
|
+
}]
|
|
135
|
+
}],
|
|
136
|
+
showLineIcon: true,
|
|
137
|
+
showSearch: true,
|
|
138
|
+
treeNodeIcon: {
|
|
139
|
+
isUsePrimary: true,
|
|
140
|
+
iconType: 'outlined',
|
|
141
|
+
iconStyle: 'organization',
|
|
142
|
+
color: 'rgba(28, 36, 46, 0.75)',
|
|
143
|
+
iconInfo: {
|
|
144
|
+
closed: {
|
|
145
|
+
isIconFont: true,
|
|
146
|
+
type: 'lcdp-icon-tuandui-xian'
|
|
147
|
+
},
|
|
148
|
+
expanded: {
|
|
149
|
+
isIconFont: true,
|
|
150
|
+
type: 'lcdp-icon-tuandui-xian'
|
|
151
|
+
},
|
|
152
|
+
leaf: {
|
|
153
|
+
isIconFont: true,
|
|
154
|
+
type: 'lcdp-icon-geren-xian'
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
extendRules: []
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
style: {},
|
|
161
|
+
isContainer: false,
|
|
162
|
+
isBusiObjContainer: false,
|
|
163
|
+
cmdgroup: ['basic'],
|
|
164
|
+
platform: 'pc',
|
|
165
|
+
icon: 'Tree',
|
|
166
|
+
description: '',
|
|
167
|
+
image: '',
|
|
168
|
+
groupsName: '数据展示',
|
|
169
|
+
engineApi: ['sandBoxSafeRun', 'service.commonFetch'],
|
|
170
|
+
setEvents: [],
|
|
171
|
+
isLabelDropBoxChild: false,
|
|
172
|
+
components: [],
|
|
173
|
+
path: ['3602564', 'View_3602564_1']
|
|
174
|
+
}]
|
|
175
|
+
};
|