@lingxiteam/theme-utils 0.5.3 → 0.5.5

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.
Files changed (127) hide show
  1. package/dist/config/Button.d.ts +113 -0
  2. package/dist/config/Button.js +277 -0
  3. package/dist/config/Card.d.ts +144 -0
  4. package/dist/config/Card.js +162 -0
  5. package/dist/config/Cascader.d.ts +196 -0
  6. package/dist/config/Cascader.js +225 -0
  7. package/dist/config/Checkbox.d.ts +162 -0
  8. package/dist/config/Checkbox.js +178 -0
  9. package/dist/config/CheckboxGroup.d.ts +184 -0
  10. package/dist/config/CheckboxGroup.js +192 -0
  11. package/dist/config/Collapse.d.ts +186 -0
  12. package/dist/config/Collapse.js +330 -0
  13. package/dist/config/Container.d.ts +275 -0
  14. package/dist/config/Container.js +301 -0
  15. package/dist/config/DatePicker.d.ts +179 -0
  16. package/dist/config/DatePicker.js +179 -0
  17. package/dist/config/Description.d.ts +106 -0
  18. package/dist/config/Description.js +126 -0
  19. package/dist/config/Divider.d.ts +61 -0
  20. package/dist/config/Divider.js +61 -0
  21. package/dist/config/Form.d.ts +3071 -0
  22. package/dist/config/Form.js +1358 -0
  23. package/dist/config/Icon.d.ts +55 -0
  24. package/dist/config/Icon.js +55 -0
  25. package/dist/config/Input.d.ts +159 -0
  26. package/dist/config/Input.js +159 -0
  27. package/dist/config/InputNumber.d.ts +154 -0
  28. package/dist/config/InputNumber.js +154 -0
  29. package/dist/config/Link.d.ts +128 -0
  30. package/dist/config/Link.js +120 -0
  31. package/dist/config/MultipleSelect.d.ts +167 -0
  32. package/dist/config/MultipleSelect.js +175 -0
  33. package/dist/config/Radio.d.ts +239 -0
  34. package/dist/config/Radio.js +261 -0
  35. package/dist/config/RangePicker.d.ts +182 -0
  36. package/dist/config/RangePicker.js +182 -0
  37. package/dist/config/Select.d.ts +190 -0
  38. package/dist/config/Select.js +198 -0
  39. package/dist/config/StdUpload.d.ts +197 -0
  40. package/dist/config/StdUpload.js +211 -0
  41. package/dist/config/Switch.d.ts +141 -0
  42. package/dist/config/Switch.js +151 -0
  43. package/dist/config/Table.d.ts +482 -0
  44. package/dist/config/Table.js +560 -0
  45. package/dist/config/Tabs.d.ts +230 -0
  46. package/dist/config/Tabs.js +970 -0
  47. package/dist/config/Tag.d.ts +173 -0
  48. package/dist/config/Tag.js +548 -0
  49. package/dist/config/Text.d.ts +34 -0
  50. package/dist/config/Text.js +34 -0
  51. package/dist/config/TextArea.d.ts +151 -0
  52. package/dist/config/TextArea.js +151 -0
  53. package/dist/config/TimePicker.d.ts +180 -0
  54. package/dist/config/TimePicker.js +180 -0
  55. package/dist/config/Tree.d.ts +151 -0
  56. package/dist/config/Tree.js +195 -0
  57. package/dist/config/TreeSelect.d.ts +197 -0
  58. package/dist/config/TreeSelect.js +213 -0
  59. package/dist/css.d.ts +6 -0
  60. package/dist/css.js +126 -0
  61. package/dist/demo.d.ts +5 -0
  62. package/dist/demo.js +79 -0
  63. package/dist/h5config/Accordion.d.ts +410 -0
  64. package/dist/h5config/Accordion.js +548 -0
  65. package/dist/h5config/Button.d.ts +142 -0
  66. package/dist/h5config/Button.js +253 -0
  67. package/dist/h5config/Card.d.ts +275 -0
  68. package/dist/h5config/Card.js +535 -0
  69. package/dist/h5config/DAddressPicker.d.ts +188 -0
  70. package/dist/h5config/DAddressPicker.js +230 -0
  71. package/dist/h5config/DCheckbox.d.ts +202 -0
  72. package/dist/h5config/DCheckbox.js +248 -0
  73. package/dist/h5config/DForm.d.ts +1597 -0
  74. package/dist/h5config/DForm.js +932 -0
  75. package/dist/h5config/DMultiplePicker.d.ts +189 -0
  76. package/dist/h5config/DMultiplePicker.js +235 -0
  77. package/dist/h5config/DformDate.d.ts +191 -0
  78. package/dist/h5config/DformDate.js +233 -0
  79. package/dist/h5config/DformFile.d.ts +277 -0
  80. package/dist/h5config/DformFile.js +292 -0
  81. package/dist/h5config/DformImagePicker.d.ts +138 -0
  82. package/dist/h5config/DformImagePicker.js +156 -0
  83. package/dist/h5config/DformInput.d.ts +189 -0
  84. package/dist/h5config/DformInput.js +231 -0
  85. package/dist/h5config/DformInputNumber.d.ts +173 -0
  86. package/dist/h5config/DformInputNumber.js +215 -0
  87. package/dist/h5config/DformPicker.d.ts +190 -0
  88. package/dist/h5config/DformPicker.js +236 -0
  89. package/dist/h5config/DformRadio.d.ts +210 -0
  90. package/dist/h5config/DformRadio.js +256 -0
  91. package/dist/h5config/DformRangePicker.d.ts +195 -0
  92. package/dist/h5config/DformRangePicker.js +237 -0
  93. package/dist/h5config/DformSelect.d.ts +198 -0
  94. package/dist/h5config/DformSelect.js +262 -0
  95. package/dist/h5config/DformSwitch.d.ts +145 -0
  96. package/dist/h5config/DformSwitch.js +163 -0
  97. package/dist/h5config/DformTextArea.d.ts +184 -0
  98. package/dist/h5config/DformTextArea.js +226 -0
  99. package/dist/h5config/Divider.d.ts +53 -0
  100. package/dist/h5config/Divider.js +90 -0
  101. package/dist/h5config/FilterItems.d.ts +154 -0
  102. package/dist/h5config/FilterItems.js +204 -0
  103. package/dist/h5config/Grid.d.ts +235 -0
  104. package/dist/h5config/Grid.js +278 -0
  105. package/dist/h5config/Icon.d.ts +54 -0
  106. package/dist/h5config/Icon.js +54 -0
  107. package/dist/h5config/Link.d.ts +51 -0
  108. package/dist/h5config/Link.js +51 -0
  109. package/dist/h5config/LoadMore.d.ts +527 -0
  110. package/dist/h5config/LoadMore.js +940 -0
  111. package/dist/h5config/NoticeBarPlus.d.ts +111 -0
  112. package/dist/h5config/NoticeBarPlus.js +141 -0
  113. package/dist/h5config/SearchView.d.ts +135 -0
  114. package/dist/h5config/SearchView.js +177 -0
  115. package/dist/h5config/StaticTabs.d.ts +121 -0
  116. package/dist/h5config/StaticTabs.js +180 -0
  117. package/dist/h5config/Table.d.ts +197 -0
  118. package/dist/h5config/Table.js +589 -0
  119. package/dist/index.d.ts +4 -0
  120. package/dist/index.js +4 -0
  121. package/dist/lx-mobile.d.ts +23 -0
  122. package/dist/lx-mobile.js +174 -0
  123. package/dist/lx.d.ts +24 -0
  124. package/dist/lx.js +139 -0
  125. package/dist/utils.d.ts +12 -0
  126. package/dist/utils.js +67 -0
  127. package/package.json +1 -1
@@ -0,0 +1,189 @@
1
+ export declare const DMultiplePicker: {
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
+ labelFontSize: {
13
+ type: string;
14
+ label: string;
15
+ groupsName: string;
16
+ desc: string;
17
+ canEdit: boolean;
18
+ extendsKey: string;
19
+ };
20
+ labelLineHeight: {
21
+ type: string;
22
+ label: string;
23
+ groupsName: string;
24
+ desc: string;
25
+ canEdit: boolean;
26
+ extendsKey: string;
27
+ };
28
+ labelFontWeight: {
29
+ type: string;
30
+ label: string;
31
+ groupsName: string;
32
+ options: {
33
+ title: string;
34
+ value: string;
35
+ }[];
36
+ desc: string;
37
+ canEdit: boolean;
38
+ extendsKey: string;
39
+ };
40
+ textColor: {
41
+ type: string;
42
+ label: string;
43
+ groupsName: string;
44
+ desc: string;
45
+ canEdit: boolean;
46
+ extendsKey: string;
47
+ };
48
+ fontSize: {
49
+ type: string;
50
+ label: string;
51
+ groupsName: string;
52
+ desc: string;
53
+ canEdit: boolean;
54
+ extendsKey: string;
55
+ };
56
+ lineHeight: {
57
+ type: string;
58
+ label: string;
59
+ groupsName: string;
60
+ desc: string;
61
+ canEdit: boolean;
62
+ extendsKey: string;
63
+ };
64
+ fontWeight: {
65
+ type: string;
66
+ label: string;
67
+ groupsName: string;
68
+ options: {
69
+ title: string;
70
+ value: string;
71
+ }[];
72
+ desc: string;
73
+ canEdit: boolean;
74
+ extendsKey: string;
75
+ };
76
+ headTextAlign: {
77
+ type: string;
78
+ label: string;
79
+ groupsName: string;
80
+ desc: string;
81
+ canEdit: boolean;
82
+ extendsKey: string;
83
+ options: {
84
+ title: string;
85
+ value: string;
86
+ }[];
87
+ };
88
+ iconColor: {
89
+ type: string;
90
+ label: string;
91
+ groupsName: string;
92
+ desc: string;
93
+ canEdit: boolean;
94
+ extendsKey: string;
95
+ };
96
+ iconSize: {
97
+ type: string;
98
+ label: string;
99
+ groupsName: string;
100
+ desc: string;
101
+ canEdit: boolean;
102
+ extendsKey: string;
103
+ };
104
+ };
105
+ groupsName: string;
106
+ icon: string;
107
+ title: string;
108
+ defaultValue: {}[];
109
+ tpl: string;
110
+ components: {
111
+ id: string;
112
+ label: string;
113
+ compName: string;
114
+ type: string;
115
+ compType: number;
116
+ compLib: string;
117
+ props: {
118
+ name: string;
119
+ formCode: string;
120
+ autoLineFeed: boolean;
121
+ failScroll: boolean;
122
+ errorFlag: boolean;
123
+ hiddenBorder: string;
124
+ itemHasStar: boolean;
125
+ };
126
+ style: {
127
+ width: string;
128
+ };
129
+ isContainer: boolean;
130
+ isBusiObjContainer: boolean;
131
+ cmdgroup: string[];
132
+ platform: string;
133
+ setEvents: never[];
134
+ description: string;
135
+ image: string;
136
+ groupsName: string;
137
+ icon: string;
138
+ isLabelDropBoxChild: boolean;
139
+ components: {
140
+ id: string;
141
+ label: string;
142
+ compName: string;
143
+ type: string;
144
+ compType: number;
145
+ compLib: string;
146
+ props: {
147
+ name: string;
148
+ valueType: string;
149
+ titleIcon: string;
150
+ postfix: string;
151
+ postfixIconPosition: string;
152
+ title: string;
153
+ dformType: string;
154
+ positionType: string;
155
+ status: string;
156
+ options: {
157
+ label: string;
158
+ value: string;
159
+ id: string;
160
+ }[];
161
+ icon: {
162
+ isIconFont: boolean;
163
+ theme: string;
164
+ type: string;
165
+ };
166
+ fieldProps: string;
167
+ };
168
+ style: {};
169
+ isContainer: boolean;
170
+ isBusiObjContainer: boolean;
171
+ cmdgroup: string[];
172
+ platform: string;
173
+ fieldProps: {
174
+ trigger: string;
175
+ valuePropName: string;
176
+ };
177
+ engineApi: string[];
178
+ setEvents: never[];
179
+ description: string;
180
+ image: string;
181
+ groupsName: string;
182
+ isAppChildForm: boolean;
183
+ isLabelDropBoxChild: boolean;
184
+ components: never[];
185
+ path: string[];
186
+ }[];
187
+ path: string[];
188
+ }[];
189
+ };
@@ -0,0 +1,235 @@
1
+ export var DMultiplePicker = {
2
+ type: 'DMultiplePicker',
3
+ variable: {
4
+ labelTextColor: {
5
+ type: 'color',
6
+ label: '标题颜色',
7
+ groupsName: '标题',
8
+ desc: '继承自表单,此处不可编辑',
9
+ canEdit: false,
10
+ extendsKey: 'DForm'
11
+ },
12
+ labelFontSize: {
13
+ type: 'px',
14
+ label: '标题尺寸',
15
+ groupsName: '标题',
16
+ desc: '继承自表单,此处不可编辑',
17
+ canEdit: false,
18
+ extendsKey: 'DForm'
19
+ },
20
+ labelLineHeight: {
21
+ type: 'px',
22
+ label: '标题行高',
23
+ groupsName: '标题',
24
+ desc: '继承自表单,此处不可编辑',
25
+ canEdit: false,
26
+ extendsKey: 'DForm'
27
+ },
28
+ labelFontWeight: {
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
+ desc: '继承自表单,此处不可编辑',
55
+ canEdit: false,
56
+ extendsKey: 'DForm'
57
+ },
58
+ textColor: {
59
+ type: 'color',
60
+ label: '文本颜色',
61
+ groupsName: '文字',
62
+ desc: '继承自表单,此处不可编辑',
63
+ canEdit: false,
64
+ extendsKey: 'DForm'
65
+ },
66
+ fontSize: {
67
+ type: 'px',
68
+ label: '文本尺寸',
69
+ groupsName: '文字',
70
+ desc: '继承自表单,此处不可编辑',
71
+ canEdit: false,
72
+ extendsKey: 'DForm'
73
+ },
74
+ lineHeight: {
75
+ type: 'px',
76
+ label: '文本行高',
77
+ groupsName: '文字',
78
+ desc: '继承自表单,此处不可编辑',
79
+ canEdit: false,
80
+ extendsKey: 'DForm'
81
+ },
82
+ fontWeight: {
83
+ type: 'select',
84
+ label: '文本字重',
85
+ groupsName: '文字',
86
+ options: [{
87
+ title: '100',
88
+ value: '100'
89
+ }, {
90
+ title: '200',
91
+ value: '200'
92
+ }, {
93
+ title: '300',
94
+ value: '300'
95
+ }, {
96
+ title: '400',
97
+ value: '400'
98
+ }, {
99
+ title: '500',
100
+ value: '500'
101
+ }, {
102
+ title: '600',
103
+ value: '600'
104
+ }, {
105
+ title: '700',
106
+ value: '700'
107
+ }],
108
+ desc: '继承自表单,此处不可编辑',
109
+ canEdit: false,
110
+ extendsKey: 'DForm'
111
+ },
112
+ headTextAlign: {
113
+ type: 'select',
114
+ label: '对齐方式',
115
+ groupsName: '文字',
116
+ desc: '继承自表单,此处不可编辑',
117
+ canEdit: false,
118
+ extendsKey: 'DForm',
119
+ options: [{
120
+ title: '左',
121
+ value: 'left'
122
+ }, {
123
+ title: '中',
124
+ value: 'center'
125
+ }, {
126
+ title: '右',
127
+ value: 'right'
128
+ }]
129
+ },
130
+ iconColor: {
131
+ type: 'color',
132
+ label: '后缀图标颜色',
133
+ groupsName: '其他',
134
+ desc: '继承自表单,此处不可编辑',
135
+ canEdit: false,
136
+ extendsKey: 'DForm'
137
+ },
138
+ iconSize: {
139
+ type: 'px',
140
+ label: '后缀图标尺寸',
141
+ groupsName: '其他',
142
+ desc: '继承自表单,此处不可编辑',
143
+ canEdit: false,
144
+ extendsKey: 'DForm'
145
+ }
146
+ },
147
+ groupsName: '表单',
148
+ icon: 'icon-ico-comp-app-DMultiplePicker',
149
+ title: '多项选择',
150
+ defaultValue: [{}],
151
+ tpl: '',
152
+ components: [{
153
+ id: 'DForm_333712',
154
+ label: '表单',
155
+ compName: 'DForm',
156
+ type: 'DForm',
157
+ compType: 2,
158
+ compLib: '@/components',
159
+ props: {
160
+ name: '表单',
161
+ formCode: 'DForm_333712',
162
+ autoLineFeed: true,
163
+ failScroll: true,
164
+ errorFlag: true,
165
+ hiddenBorder: '0',
166
+ itemHasStar: true
167
+ },
168
+ style: {
169
+ width: 'auto'
170
+ },
171
+ isContainer: true,
172
+ isBusiObjContainer: true,
173
+ cmdgroup: ['basic'],
174
+ platform: 'h5',
175
+ setEvents: [],
176
+ description: '',
177
+ image: '',
178
+ groupsName: '容器',
179
+ icon: 'DForm',
180
+ isLabelDropBoxChild: false,
181
+ components: [{
182
+ id: 'DMultiplePicker_919181',
183
+ label: '多项选择',
184
+ compName: 'DMultiplePicker',
185
+ type: 'DMultiplePicker',
186
+ compType: 2,
187
+ compLib: '@/components',
188
+ props: {
189
+ name: '多项选择',
190
+ valueType: 'ellipsis',
191
+ titleIcon: 'none',
192
+ postfix: '',
193
+ postfixIconPosition: 'before',
194
+ title: '多项选择',
195
+ dformType: 'DMultiplePicker',
196
+ positionType: 'horizontal',
197
+ status: '1',
198
+ options: [{
199
+ label: '选项1',
200
+ value: 'options1',
201
+ id: 'options1'
202
+ }, {
203
+ label: '选项2',
204
+ value: 'options2',
205
+ id: 'options2'
206
+ }],
207
+ icon: {
208
+ isIconFont: false,
209
+ theme: 'outlined',
210
+ type: 'right'
211
+ },
212
+ fieldProps: 'fecss'
213
+ },
214
+ style: {},
215
+ isContainer: false,
216
+ isBusiObjContainer: false,
217
+ cmdgroup: ['basic'],
218
+ platform: 'h5',
219
+ fieldProps: {
220
+ trigger: 'onChange',
221
+ valuePropName: 'defaultValue'
222
+ },
223
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
224
+ setEvents: [],
225
+ description: '',
226
+ image: '',
227
+ groupsName: '表单',
228
+ isAppChildForm: true,
229
+ isLabelDropBoxChild: false,
230
+ components: [],
231
+ path: ['769713', 'View_769713_1', 'DForm_458695']
232
+ }],
233
+ path: ['769713', 'View_769713_1']
234
+ }]
235
+ };
@@ -0,0 +1,191 @@
1
+ export declare const DformDate: {
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
+ labelFontSize: {
13
+ type: string;
14
+ label: string;
15
+ groupsName: string;
16
+ desc: string;
17
+ canEdit: boolean;
18
+ extendsKey: string;
19
+ };
20
+ labelLineHeight: {
21
+ type: string;
22
+ label: string;
23
+ groupsName: string;
24
+ desc: string;
25
+ canEdit: boolean;
26
+ extendsKey: string;
27
+ };
28
+ labelFontWeight: {
29
+ type: string;
30
+ label: string;
31
+ groupsName: string;
32
+ options: {
33
+ title: string;
34
+ value: string;
35
+ }[];
36
+ desc: string;
37
+ canEdit: boolean;
38
+ extendsKey: string;
39
+ };
40
+ textColor: {
41
+ type: string;
42
+ label: string;
43
+ groupsName: string;
44
+ desc: string;
45
+ canEdit: boolean;
46
+ extendsKey: string;
47
+ };
48
+ fontSize: {
49
+ type: string;
50
+ label: string;
51
+ groupsName: string;
52
+ desc: string;
53
+ canEdit: boolean;
54
+ extendsKey: string;
55
+ };
56
+ lineHeight: {
57
+ type: string;
58
+ label: string;
59
+ groupsName: string;
60
+ desc: string;
61
+ canEdit: boolean;
62
+ extendsKey: string;
63
+ };
64
+ fontWeight: {
65
+ type: string;
66
+ label: string;
67
+ groupsName: string;
68
+ options: {
69
+ title: string;
70
+ value: string;
71
+ }[];
72
+ desc: string;
73
+ canEdit: boolean;
74
+ extendsKey: string;
75
+ };
76
+ headTextAlign: {
77
+ type: string;
78
+ label: string;
79
+ groupsName: string;
80
+ desc: string;
81
+ canEdit: boolean;
82
+ extendsKey: string;
83
+ options: {
84
+ title: string;
85
+ value: string;
86
+ }[];
87
+ };
88
+ iconColor: {
89
+ type: string;
90
+ label: string;
91
+ groupsName: string;
92
+ desc: string;
93
+ canEdit: boolean;
94
+ extendsKey: string;
95
+ };
96
+ iconSize: {
97
+ type: string;
98
+ label: string;
99
+ groupsName: string;
100
+ desc: string;
101
+ canEdit: boolean;
102
+ extendsKey: string;
103
+ };
104
+ };
105
+ groupsName: string;
106
+ icon: string;
107
+ title: string;
108
+ defaultValue: {}[];
109
+ tpl: string;
110
+ components: {
111
+ id: string;
112
+ label: string;
113
+ compName: string;
114
+ type: string;
115
+ compType: number;
116
+ compLib: string;
117
+ props: {
118
+ name: string;
119
+ formCode: string;
120
+ autoLineFeed: boolean;
121
+ failScroll: boolean;
122
+ errorFlag: boolean;
123
+ hiddenBorder: string;
124
+ itemHasStar: boolean;
125
+ };
126
+ style: {
127
+ width: string;
128
+ };
129
+ isContainer: boolean;
130
+ isBusiObjContainer: boolean;
131
+ cmdgroup: string[];
132
+ platform: string;
133
+ setEvents: never[];
134
+ description: string;
135
+ image: string;
136
+ groupsName: string;
137
+ icon: string;
138
+ isLabelDropBoxChild: boolean;
139
+ components: {
140
+ id: string;
141
+ label: string;
142
+ compName: string;
143
+ type: string;
144
+ compType: number;
145
+ compLib: string;
146
+ props: {
147
+ name: string;
148
+ titleIcon: string;
149
+ postfix: string;
150
+ postfixIconPosition: string;
151
+ title: string;
152
+ dformType: string;
153
+ positionType: string;
154
+ status: string;
155
+ modeType: string;
156
+ chooseType: string;
157
+ replaceName: {
158
+ 年: string;
159
+ 月: string;
160
+ 日: string;
161
+ };
162
+ icon: {
163
+ isIconFont: boolean;
164
+ theme: string;
165
+ type: string;
166
+ };
167
+ formatter: string;
168
+ fieldProps: string;
169
+ };
170
+ style: {};
171
+ isContainer: boolean;
172
+ isBusiObjContainer: boolean;
173
+ cmdgroup: string[];
174
+ platform: string;
175
+ fieldProps: {
176
+ trigger: string;
177
+ valuePropName: string;
178
+ };
179
+ engineApi: string[];
180
+ setEvents: never[];
181
+ description: string;
182
+ image: string;
183
+ groupsName: string;
184
+ isAppChildForm: boolean;
185
+ isLabelDropBoxChild: boolean;
186
+ components: never[];
187
+ path: string[];
188
+ }[];
189
+ path: string[];
190
+ }[];
191
+ };