@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,482 @@
1
+ export declare const Table: {
2
+ type: string;
3
+ hasPrefixClass: boolean;
4
+ variable: {
5
+ headBgColor: {
6
+ type: string;
7
+ label: string;
8
+ groupsName: string;
9
+ };
10
+ bodyBgColor: {
11
+ type: string;
12
+ label: string;
13
+ groupsName: string;
14
+ };
15
+ zebraBgColor: {
16
+ type: string;
17
+ label: string;
18
+ groupsName: string;
19
+ };
20
+ textColor: {
21
+ type: string;
22
+ label: string;
23
+ groupsName: string;
24
+ desc: string;
25
+ canEdit: boolean;
26
+ extendsKey: string;
27
+ };
28
+ fontSize: {
29
+ type: string;
30
+ label: string;
31
+ groupsName: string;
32
+ desc: string;
33
+ canEdit: boolean;
34
+ extendsKey: string;
35
+ };
36
+ lineHeight: {
37
+ type: string;
38
+ label: string;
39
+ groupsName: string;
40
+ desc: string;
41
+ canEdit: boolean;
42
+ extendsKey: string;
43
+ };
44
+ fontWeight: {
45
+ type: string;
46
+ label: string;
47
+ groupsName: string;
48
+ desc: string;
49
+ canEdit: boolean;
50
+ extendsKey: string;
51
+ options: {
52
+ title: string;
53
+ value: string;
54
+ }[];
55
+ };
56
+ tbFontSize: {
57
+ type: string;
58
+ label: string;
59
+ groupsName: string;
60
+ followTheme: string;
61
+ };
62
+ headTextColor: {
63
+ type: string;
64
+ label: string;
65
+ followTheme: string;
66
+ groupsName: string;
67
+ };
68
+ headFontWeight: {
69
+ type: string;
70
+ label: string;
71
+ groupsName: string;
72
+ options: {
73
+ title: string;
74
+ value: string;
75
+ }[];
76
+ };
77
+ headTextAlign: {
78
+ type: string;
79
+ label: string;
80
+ groupsName: string;
81
+ options: {
82
+ title: string;
83
+ value: string;
84
+ }[];
85
+ };
86
+ bodyTextColor: {
87
+ type: string;
88
+ label: string;
89
+ groupsName: string;
90
+ followTheme: string;
91
+ };
92
+ bodyFontWeight: {
93
+ type: string;
94
+ label: string;
95
+ groupsName: string;
96
+ options: {
97
+ title: string;
98
+ value: string;
99
+ }[];
100
+ };
101
+ bodyTextAlign: {
102
+ type: string;
103
+ label: string;
104
+ groupsName: string;
105
+ options: {
106
+ title: string;
107
+ value: string;
108
+ }[];
109
+ };
110
+ headPadding: {
111
+ type: string;
112
+ label: string;
113
+ groupsName: string;
114
+ };
115
+ bodyPadding: {
116
+ type: string;
117
+ label: string;
118
+ groupsName: string;
119
+ };
120
+ tbBorderRadius: {
121
+ type: string;
122
+ label: string;
123
+ groupsName: string;
124
+ followTheme: string;
125
+ };
126
+ tbBorderColor: {
127
+ type: string;
128
+ label: string;
129
+ groupsName: string;
130
+ followTheme: string;
131
+ desc: string;
132
+ };
133
+ selectPaginationColor: {
134
+ type: string;
135
+ label: string;
136
+ groupsName: string;
137
+ followTheme: string;
138
+ };
139
+ selectPaginationRadius: {
140
+ type: string;
141
+ label: string;
142
+ groupsName: string;
143
+ followTheme: string;
144
+ };
145
+ selectPaginationBorder: {
146
+ type: string;
147
+ label: string;
148
+ groupsName: string;
149
+ followTheme: string;
150
+ };
151
+ };
152
+ groupsName: string;
153
+ icon: string;
154
+ title: string;
155
+ defaultValue: {
156
+ selectPaginationColor: string;
157
+ selectPaginationRadius: string;
158
+ selectPaginationBorder: string;
159
+ tbFontSize: string;
160
+ tbBorderColor: string;
161
+ tbBorderRadius: string;
162
+ headBgColor: string;
163
+ headPadding: string;
164
+ headFontWeight: string;
165
+ headTextColor: string;
166
+ headTextAlign: string;
167
+ bodyBgColor: string;
168
+ bodyPadding: string;
169
+ bodyFontWeight: string;
170
+ bodyTextColor: string;
171
+ bodyTextAlign: string;
172
+ zebraBgColor: string;
173
+ }[];
174
+ followThemes: {
175
+ '@primary-color': string[];
176
+ '@font-size-base': string[];
177
+ '@text-color': never[];
178
+ '@border-radius-base': never[];
179
+ '@border-color-base': never[];
180
+ };
181
+ tpl: string;
182
+ components: ({
183
+ id: string;
184
+ label: string;
185
+ compName: string;
186
+ type: string;
187
+ compType: number;
188
+ compLib: string;
189
+ props: {
190
+ name: string;
191
+ isFlexColumn: boolean;
192
+ extendNum: number;
193
+ adjustModel: string;
194
+ pageSize: number;
195
+ current: number;
196
+ tableTitle: string;
197
+ headBtnNum: number;
198
+ showCustom: {
199
+ iconPosition: string;
200
+ customTitle: string;
201
+ customStyle: string;
202
+ hasCustom: boolean;
203
+ };
204
+ columns: {
205
+ title: string;
206
+ dataIndex: string;
207
+ key: string;
208
+ className: string;
209
+ id: string;
210
+ }[];
211
+ page: boolean;
212
+ rowKeyType: string;
213
+ editMode: string;
214
+ bordered: boolean;
215
+ size: string;
216
+ fixedAction: boolean;
217
+ rowSelection: string;
218
+ showHead: boolean;
219
+ showTotal: boolean;
220
+ showSizeChanger: boolean;
221
+ showQuickJumper: boolean;
222
+ pageSizeOptions: string;
223
+ customNum: number;
224
+ rowKey: string;
225
+ rowActions: never[];
226
+ extend: never[];
227
+ dataSource: string;
228
+ basicStatus: number;
229
+ headExtends: never[];
230
+ };
231
+ style: {
232
+ margin: string;
233
+ textAlign?: undefined;
234
+ display?: undefined;
235
+ flexDirection?: undefined;
236
+ padding?: undefined;
237
+ width?: undefined;
238
+ backgroundColor?: undefined;
239
+ height?: undefined;
240
+ };
241
+ isContainer: boolean;
242
+ isBusiObjContainer: boolean;
243
+ cmdgroup: string[];
244
+ platform: string;
245
+ icon: string;
246
+ description: string;
247
+ image: string;
248
+ groupsName: string;
249
+ setEvents: never[];
250
+ isLabelDropBoxChild: boolean;
251
+ functors: {
252
+ dataSource: {
253
+ title: string;
254
+ value: string;
255
+ dependOtherIds: never[];
256
+ };
257
+ };
258
+ components: never[];
259
+ path: string[];
260
+ engineApi?: undefined;
261
+ } | {
262
+ id: string;
263
+ label: string;
264
+ compName: string;
265
+ type: string;
266
+ compType: number;
267
+ compLib: string;
268
+ props: {
269
+ name: string;
270
+ isFlexColumn: boolean;
271
+ extendNum: number;
272
+ adjustModel: string;
273
+ pageSize: number;
274
+ current: number;
275
+ tableTitle: string;
276
+ headBtnNum: number;
277
+ showCustom: {
278
+ iconPosition: string;
279
+ customTitle: string;
280
+ customStyle: string;
281
+ hasCustom: boolean;
282
+ };
283
+ columns: {
284
+ title: string;
285
+ dataIndex: string;
286
+ key: string;
287
+ className: string;
288
+ id: string;
289
+ }[];
290
+ page: boolean;
291
+ rowKeyType: string;
292
+ editMode: string;
293
+ bordered: string;
294
+ size: string;
295
+ fixedAction: boolean;
296
+ rowSelection: string;
297
+ showHead: boolean;
298
+ showTotal: boolean;
299
+ showSizeChanger: boolean;
300
+ showQuickJumper: boolean;
301
+ pageSizeOptions: string;
302
+ customNum: number;
303
+ rowKey: string;
304
+ rowActions: never[];
305
+ extend: never[];
306
+ dataSource: string;
307
+ basicStatus: number;
308
+ headExtends: never[];
309
+ };
310
+ style: {
311
+ margin: string;
312
+ textAlign?: undefined;
313
+ display?: undefined;
314
+ flexDirection?: undefined;
315
+ padding?: undefined;
316
+ width?: undefined;
317
+ backgroundColor?: undefined;
318
+ height?: undefined;
319
+ };
320
+ isContainer: boolean;
321
+ isBusiObjContainer: boolean;
322
+ cmdgroup: string[];
323
+ platform: string;
324
+ icon: string;
325
+ description: string;
326
+ image: string;
327
+ groupsName: string;
328
+ setEvents: never[];
329
+ isLabelDropBoxChild: boolean;
330
+ functors: {
331
+ dataSource: {
332
+ title: string;
333
+ value: string;
334
+ dependOtherIds: never[];
335
+ };
336
+ };
337
+ components: never[];
338
+ path: string[];
339
+ engineApi?: undefined;
340
+ } | {
341
+ id: string;
342
+ label: string;
343
+ compName: string;
344
+ type: string;
345
+ compType: number;
346
+ compLib: string;
347
+ props: {
348
+ name: string;
349
+ isFlexColumn: boolean;
350
+ extendNum: number;
351
+ adjustModel: string;
352
+ pageSize: number;
353
+ current: number;
354
+ tableTitle: string;
355
+ headBtnNum: number;
356
+ showCustom: {
357
+ iconPosition: string;
358
+ customTitle: string;
359
+ customStyle: string;
360
+ hasCustom: boolean;
361
+ };
362
+ columns: {
363
+ title: string;
364
+ dataIndex: string;
365
+ key: string;
366
+ className: string;
367
+ id: string;
368
+ }[];
369
+ page: boolean;
370
+ rowKeyType: string;
371
+ editMode: string;
372
+ bordered: string;
373
+ size: string;
374
+ fixedAction: boolean;
375
+ rowSelection: string;
376
+ showHead: boolean;
377
+ showTotal: boolean;
378
+ showSizeChanger: boolean;
379
+ showQuickJumper: boolean;
380
+ pageSizeOptions: string;
381
+ customNum: number;
382
+ rowKey: string;
383
+ rowActions: never[];
384
+ extend: never[];
385
+ dataSource: string;
386
+ basicStatus: number;
387
+ headExtends: never[];
388
+ };
389
+ style: {
390
+ margin?: undefined;
391
+ textAlign?: undefined;
392
+ display?: undefined;
393
+ flexDirection?: undefined;
394
+ padding?: undefined;
395
+ width?: undefined;
396
+ backgroundColor?: undefined;
397
+ height?: undefined;
398
+ };
399
+ isContainer: boolean;
400
+ isBusiObjContainer: boolean;
401
+ cmdgroup: string[];
402
+ platform: string;
403
+ icon: string;
404
+ description: string;
405
+ image: string;
406
+ groupsName: string;
407
+ setEvents: never[];
408
+ isLabelDropBoxChild: boolean;
409
+ functors: {
410
+ dataSource: {
411
+ title: string;
412
+ value: string;
413
+ dependOtherIds: never[];
414
+ };
415
+ };
416
+ components: never[];
417
+ path: string[];
418
+ engineApi?: undefined;
419
+ } | {
420
+ id: string;
421
+ label: string;
422
+ compName: string;
423
+ type: string;
424
+ compType: number;
425
+ compLib: string;
426
+ props: {
427
+ name: string;
428
+ basicStatus: number;
429
+ isFlexColumn?: undefined;
430
+ extendNum?: undefined;
431
+ adjustModel?: undefined;
432
+ pageSize?: undefined;
433
+ current?: undefined;
434
+ tableTitle?: undefined;
435
+ headBtnNum?: undefined;
436
+ showCustom?: undefined;
437
+ columns?: undefined;
438
+ page?: undefined;
439
+ rowKeyType?: undefined;
440
+ editMode?: undefined;
441
+ bordered?: undefined;
442
+ size?: undefined;
443
+ fixedAction?: undefined;
444
+ rowSelection?: undefined;
445
+ showHead?: undefined;
446
+ showTotal?: undefined;
447
+ showSizeChanger?: undefined;
448
+ showQuickJumper?: undefined;
449
+ pageSizeOptions?: undefined;
450
+ customNum?: undefined;
451
+ rowKey?: undefined;
452
+ rowActions?: undefined;
453
+ extend?: undefined;
454
+ dataSource?: undefined;
455
+ headExtends?: undefined;
456
+ };
457
+ style: {
458
+ textAlign: string;
459
+ display: string;
460
+ flexDirection: string;
461
+ padding: string;
462
+ width: string;
463
+ backgroundColor: string;
464
+ height: string;
465
+ margin?: undefined;
466
+ };
467
+ isContainer: boolean;
468
+ isBusiObjContainer: boolean;
469
+ cmdgroup: string[];
470
+ platform: string;
471
+ icon: string;
472
+ description: string;
473
+ image: string;
474
+ groupsName: string;
475
+ engineApi: string[];
476
+ setEvents: never[];
477
+ isLabelDropBoxChild: boolean;
478
+ components: never[];
479
+ path: string[];
480
+ functors?: undefined;
481
+ })[];
482
+ };