@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,111 @@
|
|
|
1
|
+
export declare const NoticeBarPlus: {
|
|
2
|
+
type: string;
|
|
3
|
+
variable: {
|
|
4
|
+
backgroundColor: {
|
|
5
|
+
type: string;
|
|
6
|
+
label: string;
|
|
7
|
+
groupsName: string;
|
|
8
|
+
};
|
|
9
|
+
textColor: {
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
groupsName: string;
|
|
13
|
+
followTheme: string;
|
|
14
|
+
};
|
|
15
|
+
fontSize: {
|
|
16
|
+
type: string;
|
|
17
|
+
label: string;
|
|
18
|
+
groupsName: string;
|
|
19
|
+
};
|
|
20
|
+
fontWeight: {
|
|
21
|
+
type: string;
|
|
22
|
+
label: string;
|
|
23
|
+
groupsName: string;
|
|
24
|
+
options: {
|
|
25
|
+
title: string;
|
|
26
|
+
value: string;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
borderRadius: {
|
|
30
|
+
type: string;
|
|
31
|
+
label: string;
|
|
32
|
+
groupsName: string;
|
|
33
|
+
};
|
|
34
|
+
borderColor: {
|
|
35
|
+
type: string;
|
|
36
|
+
label: string;
|
|
37
|
+
groupsName: string;
|
|
38
|
+
followTheme: string;
|
|
39
|
+
};
|
|
40
|
+
iconColor: {
|
|
41
|
+
type: string;
|
|
42
|
+
label: string;
|
|
43
|
+
groupsName: string;
|
|
44
|
+
followTheme: string;
|
|
45
|
+
};
|
|
46
|
+
iconSize: {
|
|
47
|
+
type: string;
|
|
48
|
+
label: string;
|
|
49
|
+
groupsName: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
groupsName: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
title: string;
|
|
55
|
+
defaultValue: {
|
|
56
|
+
backgroundColor: string;
|
|
57
|
+
borderRadius: string;
|
|
58
|
+
borderColor: string;
|
|
59
|
+
textColor: string;
|
|
60
|
+
fontSize: string;
|
|
61
|
+
iconColor: string;
|
|
62
|
+
iconSize: string;
|
|
63
|
+
fontWeight: string;
|
|
64
|
+
}[];
|
|
65
|
+
followThemes: {
|
|
66
|
+
'@color-text-base': never[];
|
|
67
|
+
'@border-color-base': never[];
|
|
68
|
+
};
|
|
69
|
+
tpl: string;
|
|
70
|
+
components: {
|
|
71
|
+
id: string;
|
|
72
|
+
label: string;
|
|
73
|
+
compName: string;
|
|
74
|
+
type: string;
|
|
75
|
+
compType: number;
|
|
76
|
+
compLib: string;
|
|
77
|
+
props: {
|
|
78
|
+
name: string;
|
|
79
|
+
data: {
|
|
80
|
+
bulletinTitle: string;
|
|
81
|
+
id: string;
|
|
82
|
+
}[];
|
|
83
|
+
keyFieldName: string;
|
|
84
|
+
};
|
|
85
|
+
style: {};
|
|
86
|
+
isContainer: boolean;
|
|
87
|
+
isBusiObjContainer: boolean;
|
|
88
|
+
cmdgroup: string[];
|
|
89
|
+
platform: string;
|
|
90
|
+
engineApi: string[];
|
|
91
|
+
setEvents: {
|
|
92
|
+
dataName: string;
|
|
93
|
+
value: string;
|
|
94
|
+
params: {
|
|
95
|
+
title: string;
|
|
96
|
+
name: string;
|
|
97
|
+
value: string;
|
|
98
|
+
}[];
|
|
99
|
+
path: never[];
|
|
100
|
+
dataId: string;
|
|
101
|
+
children: never[];
|
|
102
|
+
}[];
|
|
103
|
+
description: string;
|
|
104
|
+
image: string;
|
|
105
|
+
groupsName: string;
|
|
106
|
+
icon: string;
|
|
107
|
+
isLabelDropBoxChild: boolean;
|
|
108
|
+
components: never[];
|
|
109
|
+
path: string[];
|
|
110
|
+
}[];
|
|
111
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export var NoticeBarPlus = {
|
|
2
|
+
type: 'NoticeBarPlus',
|
|
3
|
+
variable: {
|
|
4
|
+
backgroundColor: {
|
|
5
|
+
type: 'color',
|
|
6
|
+
label: '填充颜色',
|
|
7
|
+
groupsName: '背景'
|
|
8
|
+
},
|
|
9
|
+
textColor: {
|
|
10
|
+
type: 'color',
|
|
11
|
+
label: '文本颜色',
|
|
12
|
+
groupsName: '文字',
|
|
13
|
+
followTheme: '@color-text-base'
|
|
14
|
+
},
|
|
15
|
+
// lineHeight: { type: 'px', label: '文本行高', groupsName: '文字' },
|
|
16
|
+
fontSize: {
|
|
17
|
+
type: 'px',
|
|
18
|
+
label: '文本尺寸',
|
|
19
|
+
groupsName: '文字'
|
|
20
|
+
},
|
|
21
|
+
fontWeight: {
|
|
22
|
+
type: 'select',
|
|
23
|
+
label: '文本字重',
|
|
24
|
+
groupsName: '文字',
|
|
25
|
+
options: [{
|
|
26
|
+
title: '100',
|
|
27
|
+
value: '100'
|
|
28
|
+
}, {
|
|
29
|
+
title: '200',
|
|
30
|
+
value: '200'
|
|
31
|
+
}, {
|
|
32
|
+
title: '300',
|
|
33
|
+
value: '300'
|
|
34
|
+
}, {
|
|
35
|
+
title: '400',
|
|
36
|
+
value: '400'
|
|
37
|
+
}, {
|
|
38
|
+
title: '500',
|
|
39
|
+
value: '500'
|
|
40
|
+
}, {
|
|
41
|
+
title: '600',
|
|
42
|
+
value: '600'
|
|
43
|
+
}, {
|
|
44
|
+
title: '700',
|
|
45
|
+
value: '700'
|
|
46
|
+
}]
|
|
47
|
+
},
|
|
48
|
+
borderRadius: {
|
|
49
|
+
type: 'px',
|
|
50
|
+
label: '圆角',
|
|
51
|
+
groupsName: '边框'
|
|
52
|
+
},
|
|
53
|
+
borderColor: {
|
|
54
|
+
type: 'color',
|
|
55
|
+
label: '颜色',
|
|
56
|
+
groupsName: '边框',
|
|
57
|
+
followTheme: '@border-color-base'
|
|
58
|
+
},
|
|
59
|
+
iconColor: {
|
|
60
|
+
type: 'color',
|
|
61
|
+
label: '下拉图标颜色',
|
|
62
|
+
groupsName: '其他',
|
|
63
|
+
followTheme: '@color-text-base'
|
|
64
|
+
},
|
|
65
|
+
iconSize: {
|
|
66
|
+
type: 'px',
|
|
67
|
+
label: '下拉图标尺寸',
|
|
68
|
+
groupsName: '其他'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
groupsName: '高级',
|
|
72
|
+
icon: 'icon-ico-comp-app-NoticeBarPlus',
|
|
73
|
+
title: '公告栏',
|
|
74
|
+
defaultValue: [{
|
|
75
|
+
backgroundColor: '#fff',
|
|
76
|
+
borderRadius: '12px',
|
|
77
|
+
borderColor: 'rgba(0,0,0,0)',
|
|
78
|
+
textColor: '#000',
|
|
79
|
+
fontSize: '12px',
|
|
80
|
+
iconColor: '#000',
|
|
81
|
+
iconSize: '20px',
|
|
82
|
+
fontWeight: '400'
|
|
83
|
+
}],
|
|
84
|
+
followThemes: {
|
|
85
|
+
'@color-text-base': [],
|
|
86
|
+
'@border-color-base': []
|
|
87
|
+
},
|
|
88
|
+
tpl: ".use-app-noticebarplus{\n .alita-notice-bar{\n --adm-color-background: backgroundColor;\n border-color: borderColor;\n border: 1px solid borderColor;\n border-radius: borderRadius;\n font-size: fontSize;\n // line-height: lineHeight;\n font-weight:fontWeight;\n color: textColor;\n > div {\n > svg {\n color: iconColor;\n width: iconSize;\n height: iconSize;\n }\n }\n }\n }\n ",
|
|
89
|
+
components: [{
|
|
90
|
+
id: 'NoticeBarPlus_0162497',
|
|
91
|
+
label: '公告栏',
|
|
92
|
+
compName: 'NoticeBarPlus',
|
|
93
|
+
type: 'NoticeBarPlus',
|
|
94
|
+
compType: 1,
|
|
95
|
+
compLib: '@alitajs/antd-mobile-plus',
|
|
96
|
+
props: {
|
|
97
|
+
name: '公告栏',
|
|
98
|
+
data: [{
|
|
99
|
+
bulletinTitle: '公告通知1',
|
|
100
|
+
id: '0'
|
|
101
|
+
}],
|
|
102
|
+
keyFieldName: 'id'
|
|
103
|
+
},
|
|
104
|
+
style: {},
|
|
105
|
+
isContainer: false,
|
|
106
|
+
isBusiObjContainer: false,
|
|
107
|
+
cmdgroup: ['basic'],
|
|
108
|
+
platform: 'h5',
|
|
109
|
+
engineApi: ['downloadFileByFileCode'],
|
|
110
|
+
setEvents: [{
|
|
111
|
+
dataName: 'event',
|
|
112
|
+
value: 'onItemClick',
|
|
113
|
+
params: [{
|
|
114
|
+
title: '每条item的点击事件',
|
|
115
|
+
name: 'e',
|
|
116
|
+
value: '$e$'
|
|
117
|
+
}],
|
|
118
|
+
path: [],
|
|
119
|
+
dataId: '435144',
|
|
120
|
+
children: []
|
|
121
|
+
}, {
|
|
122
|
+
dataName: 'event',
|
|
123
|
+
value: 'onExtraClick',
|
|
124
|
+
params: [{
|
|
125
|
+
title: '右侧点击事件',
|
|
126
|
+
name: 'e',
|
|
127
|
+
value: '$e$'
|
|
128
|
+
}],
|
|
129
|
+
path: [],
|
|
130
|
+
dataId: '9189502',
|
|
131
|
+
children: []
|
|
132
|
+
}],
|
|
133
|
+
description: '',
|
|
134
|
+
image: '',
|
|
135
|
+
groupsName: '高级',
|
|
136
|
+
icon: 'NoticeBarPlus',
|
|
137
|
+
isLabelDropBoxChild: false,
|
|
138
|
+
components: [],
|
|
139
|
+
path: ['454426', 'View_454426_1']
|
|
140
|
+
}]
|
|
141
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export declare const SearchView: {
|
|
2
|
+
type: string;
|
|
3
|
+
variable: {
|
|
4
|
+
backgroundColor: {
|
|
5
|
+
type: string;
|
|
6
|
+
label: string;
|
|
7
|
+
groupsName: string;
|
|
8
|
+
};
|
|
9
|
+
iconSize: {
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
groupsName: string;
|
|
13
|
+
};
|
|
14
|
+
textColor: {
|
|
15
|
+
type: string;
|
|
16
|
+
label: string;
|
|
17
|
+
groupsName: string;
|
|
18
|
+
followTheme: string;
|
|
19
|
+
};
|
|
20
|
+
fontSize: {
|
|
21
|
+
type: string;
|
|
22
|
+
label: string;
|
|
23
|
+
groupsName: string;
|
|
24
|
+
};
|
|
25
|
+
fontWeight: {
|
|
26
|
+
type: string;
|
|
27
|
+
label: string;
|
|
28
|
+
groupsName: string;
|
|
29
|
+
options: {
|
|
30
|
+
title: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
sPaddingValue: {
|
|
35
|
+
type: string;
|
|
36
|
+
label: string;
|
|
37
|
+
groupsName: string;
|
|
38
|
+
};
|
|
39
|
+
sBackgroundColor: {
|
|
40
|
+
type: string;
|
|
41
|
+
label: string;
|
|
42
|
+
groupsName: string;
|
|
43
|
+
};
|
|
44
|
+
sBorderRadius: {
|
|
45
|
+
type: string;
|
|
46
|
+
label: string;
|
|
47
|
+
groupsName: string;
|
|
48
|
+
};
|
|
49
|
+
sBorderColor: {
|
|
50
|
+
type: string;
|
|
51
|
+
label: string;
|
|
52
|
+
groupsName: string;
|
|
53
|
+
followTheme: string;
|
|
54
|
+
};
|
|
55
|
+
paddingValue: {
|
|
56
|
+
type: string;
|
|
57
|
+
label: string;
|
|
58
|
+
groupsName: string;
|
|
59
|
+
};
|
|
60
|
+
borderRadius: {
|
|
61
|
+
type: string;
|
|
62
|
+
label: string;
|
|
63
|
+
groupsName: string;
|
|
64
|
+
};
|
|
65
|
+
borderColor: {
|
|
66
|
+
type: string;
|
|
67
|
+
label: string;
|
|
68
|
+
groupsName: string;
|
|
69
|
+
followTheme: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
groupsName: string;
|
|
73
|
+
icon: string;
|
|
74
|
+
title: string;
|
|
75
|
+
defaultValue: {
|
|
76
|
+
backgroundColor: string;
|
|
77
|
+
paddingValue: string;
|
|
78
|
+
borderColor: string;
|
|
79
|
+
borderRadius: string;
|
|
80
|
+
sBackgroundColor: string;
|
|
81
|
+
iconSize: string;
|
|
82
|
+
textColor: string;
|
|
83
|
+
fontSize: string;
|
|
84
|
+
fontWeight: string;
|
|
85
|
+
sPaddingValue: string;
|
|
86
|
+
sBorderColor: string;
|
|
87
|
+
sBorderRadius: string;
|
|
88
|
+
}[];
|
|
89
|
+
followThemes: {
|
|
90
|
+
'@border-color-base': never[];
|
|
91
|
+
'@color-text-base': never[];
|
|
92
|
+
};
|
|
93
|
+
tpl: string;
|
|
94
|
+
components: {
|
|
95
|
+
id: string;
|
|
96
|
+
label: string;
|
|
97
|
+
compName: string;
|
|
98
|
+
type: string;
|
|
99
|
+
compType: number;
|
|
100
|
+
compLib: string;
|
|
101
|
+
props: {
|
|
102
|
+
name: string;
|
|
103
|
+
filterValue: string;
|
|
104
|
+
filterData: {
|
|
105
|
+
label: string;
|
|
106
|
+
value: string;
|
|
107
|
+
}[];
|
|
108
|
+
labelAlias: string;
|
|
109
|
+
valueAlias: string;
|
|
110
|
+
placeholder: string;
|
|
111
|
+
showLeft: boolean;
|
|
112
|
+
open: boolean;
|
|
113
|
+
showDateRange: boolean;
|
|
114
|
+
};
|
|
115
|
+
style: {
|
|
116
|
+
padding: string;
|
|
117
|
+
};
|
|
118
|
+
isContainer: boolean;
|
|
119
|
+
isBusiObjContainer: boolean;
|
|
120
|
+
cmdgroup: string[];
|
|
121
|
+
platform: string;
|
|
122
|
+
setEvents: never[];
|
|
123
|
+
description: string;
|
|
124
|
+
image: string;
|
|
125
|
+
groupsName: string;
|
|
126
|
+
fieldProps: {
|
|
127
|
+
trigger: string;
|
|
128
|
+
valuePropName: string;
|
|
129
|
+
};
|
|
130
|
+
icon: string;
|
|
131
|
+
isLabelDropBoxChild: boolean;
|
|
132
|
+
components: never[];
|
|
133
|
+
path: string[];
|
|
134
|
+
}[];
|
|
135
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
export var SearchView = {
|
|
2
|
+
type: 'SearchView',
|
|
3
|
+
variable: {
|
|
4
|
+
backgroundColor: {
|
|
5
|
+
type: 'color',
|
|
6
|
+
label: '填充颜色',
|
|
7
|
+
groupsName: '背景'
|
|
8
|
+
},
|
|
9
|
+
iconSize: {
|
|
10
|
+
type: 'px',
|
|
11
|
+
label: '图标尺寸',
|
|
12
|
+
groupsName: '搜索框'
|
|
13
|
+
},
|
|
14
|
+
// lineHeight: { type: 'px', label: '文本行高', groupsName: '搜索框' },
|
|
15
|
+
textColor: {
|
|
16
|
+
type: 'color',
|
|
17
|
+
label: '文本颜色',
|
|
18
|
+
groupsName: '搜索框',
|
|
19
|
+
followTheme: '@color-text-base'
|
|
20
|
+
},
|
|
21
|
+
fontSize: {
|
|
22
|
+
type: 'px',
|
|
23
|
+
label: '文本尺寸',
|
|
24
|
+
groupsName: '搜索框'
|
|
25
|
+
// followTheme: '@font-size-base'
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
fontWeight: {
|
|
29
|
+
type: 'select',
|
|
30
|
+
label: '文本字重',
|
|
31
|
+
groupsName: '搜索框',
|
|
32
|
+
options: [{
|
|
33
|
+
title: '100',
|
|
34
|
+
value: '100'
|
|
35
|
+
}, {
|
|
36
|
+
title: '200',
|
|
37
|
+
value: '200'
|
|
38
|
+
}, {
|
|
39
|
+
title: '300',
|
|
40
|
+
value: '300'
|
|
41
|
+
}, {
|
|
42
|
+
title: '400',
|
|
43
|
+
value: '400'
|
|
44
|
+
}, {
|
|
45
|
+
title: '500',
|
|
46
|
+
value: '500'
|
|
47
|
+
}, {
|
|
48
|
+
title: '600',
|
|
49
|
+
value: '600'
|
|
50
|
+
}, {
|
|
51
|
+
title: '700',
|
|
52
|
+
value: '700'
|
|
53
|
+
}]
|
|
54
|
+
},
|
|
55
|
+
sPaddingValue: {
|
|
56
|
+
type: 'marginInput',
|
|
57
|
+
label: '搜索框内边距',
|
|
58
|
+
groupsName: '搜索框'
|
|
59
|
+
},
|
|
60
|
+
sBackgroundColor: {
|
|
61
|
+
type: 'color',
|
|
62
|
+
label: '填充颜色',
|
|
63
|
+
groupsName: '搜索框'
|
|
64
|
+
},
|
|
65
|
+
sBorderRadius: {
|
|
66
|
+
type: 'px',
|
|
67
|
+
label: '边框圆角',
|
|
68
|
+
groupsName: '搜索框'
|
|
69
|
+
},
|
|
70
|
+
sBorderColor: {
|
|
71
|
+
type: 'color',
|
|
72
|
+
label: '边框颜色',
|
|
73
|
+
groupsName: '搜索框',
|
|
74
|
+
followTheme: '@border-color-base'
|
|
75
|
+
},
|
|
76
|
+
paddingValue: {
|
|
77
|
+
type: 'marginInput',
|
|
78
|
+
label: '内边距',
|
|
79
|
+
groupsName: '布局'
|
|
80
|
+
},
|
|
81
|
+
borderRadius: {
|
|
82
|
+
type: 'px',
|
|
83
|
+
label: '圆角',
|
|
84
|
+
groupsName: '边框'
|
|
85
|
+
},
|
|
86
|
+
borderColor: {
|
|
87
|
+
type: 'color',
|
|
88
|
+
label: '颜色',
|
|
89
|
+
groupsName: '边框',
|
|
90
|
+
followTheme: '@border-color-base'
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
groupsName: '高级',
|
|
94
|
+
icon: 'icon-ico-comp-app-Search',
|
|
95
|
+
title: '搜索',
|
|
96
|
+
defaultValue: [{
|
|
97
|
+
backgroundColor: '#fff',
|
|
98
|
+
paddingValue: '0 0 0 0',
|
|
99
|
+
borderColor: 'rgba(0,0,0,0)',
|
|
100
|
+
borderRadius: '0',
|
|
101
|
+
sBackgroundColor: '#f7f7f7',
|
|
102
|
+
iconSize: '12px',
|
|
103
|
+
textColor: '#000',
|
|
104
|
+
fontSize: '14px',
|
|
105
|
+
fontWeight: '400',
|
|
106
|
+
sPaddingValue: '8px 30px 8px 30px',
|
|
107
|
+
sBorderColor: 'rgba(0,0,0,0)',
|
|
108
|
+
sBorderRadius: '18px'
|
|
109
|
+
}],
|
|
110
|
+
followThemes: {
|
|
111
|
+
'@border-color-base': [],
|
|
112
|
+
'@color-text-base': []
|
|
113
|
+
},
|
|
114
|
+
tpl: "\n .alita-search-view-wrap{\n --adm-color-background: backgroundColor;\n padding: paddingValue;\n border: 1PX solid borderColor;\n border-radius: borderRadius;\n overflow: hidden;\n }\n .alita-search-view-wrap .alita-search-bar-input{\n background-color: sBackgroundColor;\ncolor: textColor;\nfont-size: fontSize;\nfont-weight: fontWeight;\npadding: sPaddingValue;\nborder-radius: sBorderRadius;\nborder: 1PX solid sBorderColor;\n }\n .alita-search-view-wrap .alita-search-bar-search{\n width: iconSize;\n height: iconSize;\n }",
|
|
115
|
+
components: [{
|
|
116
|
+
id: 'SearchView_197467',
|
|
117
|
+
label: '搜索',
|
|
118
|
+
compName: 'SearchView',
|
|
119
|
+
type: 'SearchView',
|
|
120
|
+
compType: 1,
|
|
121
|
+
compLib: '@/components',
|
|
122
|
+
props: {
|
|
123
|
+
name: '搜索',
|
|
124
|
+
filterValue: '01',
|
|
125
|
+
filterData: [{
|
|
126
|
+
label: '竣工',
|
|
127
|
+
value: '01'
|
|
128
|
+
}, {
|
|
129
|
+
label: '测试02',
|
|
130
|
+
value: '02'
|
|
131
|
+
}, {
|
|
132
|
+
label: '测试03',
|
|
133
|
+
value: '03'
|
|
134
|
+
}, {
|
|
135
|
+
label: '测试04',
|
|
136
|
+
value: '04'
|
|
137
|
+
}, {
|
|
138
|
+
label: '测试05',
|
|
139
|
+
value: '05'
|
|
140
|
+
}, {
|
|
141
|
+
label: '测试06',
|
|
142
|
+
value: '06'
|
|
143
|
+
}, {
|
|
144
|
+
label: '测试08',
|
|
145
|
+
value: '07'
|
|
146
|
+
}, {
|
|
147
|
+
label: '测试10',
|
|
148
|
+
value: '08'
|
|
149
|
+
}],
|
|
150
|
+
labelAlias: 'label',
|
|
151
|
+
valueAlias: 'value',
|
|
152
|
+
placeholder: '请输入关键字搜索',
|
|
153
|
+
showLeft: true,
|
|
154
|
+
open: false,
|
|
155
|
+
showDateRange: true
|
|
156
|
+
},
|
|
157
|
+
style: {
|
|
158
|
+
padding: '0px 12px 0px 12px'
|
|
159
|
+
},
|
|
160
|
+
isContainer: false,
|
|
161
|
+
isBusiObjContainer: false,
|
|
162
|
+
cmdgroup: ['basic'],
|
|
163
|
+
platform: 'h5',
|
|
164
|
+
setEvents: [],
|
|
165
|
+
description: '',
|
|
166
|
+
image: '',
|
|
167
|
+
groupsName: '高级',
|
|
168
|
+
fieldProps: {
|
|
169
|
+
trigger: 'onChange',
|
|
170
|
+
valuePropName: 'value'
|
|
171
|
+
},
|
|
172
|
+
icon: 'SearchView',
|
|
173
|
+
isLabelDropBoxChild: false,
|
|
174
|
+
components: [],
|
|
175
|
+
path: ['454426', 'View_454426_1']
|
|
176
|
+
}]
|
|
177
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
export declare const StaticTabs: {
|
|
2
|
+
type: string;
|
|
3
|
+
hasPrefixClass: boolean;
|
|
4
|
+
variable: {
|
|
5
|
+
selectBgColor: {
|
|
6
|
+
type: string;
|
|
7
|
+
label: string;
|
|
8
|
+
groupsName: string;
|
|
9
|
+
};
|
|
10
|
+
backgroundColor: {
|
|
11
|
+
type: string;
|
|
12
|
+
label: string;
|
|
13
|
+
groupsName: string;
|
|
14
|
+
followTheme: string;
|
|
15
|
+
};
|
|
16
|
+
bodyBgColor: {
|
|
17
|
+
type: string;
|
|
18
|
+
label: string;
|
|
19
|
+
groupsName: string;
|
|
20
|
+
};
|
|
21
|
+
selectTextColor: {
|
|
22
|
+
type: string;
|
|
23
|
+
label: string;
|
|
24
|
+
groupsName: string;
|
|
25
|
+
followTheme: string;
|
|
26
|
+
};
|
|
27
|
+
selectFontWeight: {
|
|
28
|
+
type: string;
|
|
29
|
+
label: string;
|
|
30
|
+
groupsName: string;
|
|
31
|
+
options: {
|
|
32
|
+
title: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}[];
|
|
35
|
+
};
|
|
36
|
+
textColor: {
|
|
37
|
+
type: string;
|
|
38
|
+
label: string;
|
|
39
|
+
groupsName: string;
|
|
40
|
+
};
|
|
41
|
+
fontSize: {
|
|
42
|
+
type: string;
|
|
43
|
+
label: string;
|
|
44
|
+
groupsName: string;
|
|
45
|
+
};
|
|
46
|
+
fontWeight: {
|
|
47
|
+
type: string;
|
|
48
|
+
label: string;
|
|
49
|
+
groupsName: string;
|
|
50
|
+
options: {
|
|
51
|
+
title: string;
|
|
52
|
+
value: string;
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
55
|
+
selectBorderRadius: {
|
|
56
|
+
type: string;
|
|
57
|
+
label: string;
|
|
58
|
+
groupsName: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
groupsName: string;
|
|
62
|
+
icon: string;
|
|
63
|
+
title: string;
|
|
64
|
+
defaultValue: {
|
|
65
|
+
selectTextColor: string;
|
|
66
|
+
textColor: string;
|
|
67
|
+
selectBgColor: string;
|
|
68
|
+
backgroundColor: string;
|
|
69
|
+
selectFontWeight: string;
|
|
70
|
+
fontWeight: string;
|
|
71
|
+
fontSize: string;
|
|
72
|
+
selectBorderRadius: string;
|
|
73
|
+
bodyBgColor: string;
|
|
74
|
+
}[];
|
|
75
|
+
followThemes: {
|
|
76
|
+
'@brand-primary': 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
|
+
tabDirection: string;
|
|
89
|
+
initialPage: number;
|
|
90
|
+
animated: boolean;
|
|
91
|
+
tabs: {
|
|
92
|
+
title: string;
|
|
93
|
+
id: string;
|
|
94
|
+
isShow: string;
|
|
95
|
+
}[];
|
|
96
|
+
underlineType: string;
|
|
97
|
+
stickyTop: number;
|
|
98
|
+
swipeable: boolean;
|
|
99
|
+
useOnPan: boolean;
|
|
100
|
+
usePaged: boolean;
|
|
101
|
+
prerenderingSiblingsNumber: number;
|
|
102
|
+
tabBarPosition: string;
|
|
103
|
+
};
|
|
104
|
+
style: {
|
|
105
|
+
underlineType: string;
|
|
106
|
+
};
|
|
107
|
+
isContainer: boolean;
|
|
108
|
+
isBusiObjContainer: boolean;
|
|
109
|
+
cmdgroup: string[];
|
|
110
|
+
platform: string;
|
|
111
|
+
engineApi: string[];
|
|
112
|
+
setEvents: never[];
|
|
113
|
+
description: string;
|
|
114
|
+
image: string;
|
|
115
|
+
groupsName: string;
|
|
116
|
+
icon: string;
|
|
117
|
+
isLabelDropBoxChild: boolean;
|
|
118
|
+
components: never[];
|
|
119
|
+
path: string[];
|
|
120
|
+
}[];
|
|
121
|
+
};
|