@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.
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,51 @@
1
+ export var ALink = {
2
+ type: 'ALink',
3
+ variable: {
4
+ textColor: {
5
+ type: 'color',
6
+ label: '文本颜色',
7
+ groupsName: '文字',
8
+ followTheme: '@color-link'
9
+ }
10
+ },
11
+ groupsName: '基础',
12
+ icon: 'icon-ico-comp-app-ALink',
13
+ title: '超链接',
14
+ defaultValue: [{
15
+ textColor: '#108ee9'
16
+ }],
17
+ followThemes: {
18
+ '@color-link': ['textColor']
19
+ },
20
+ tpl: "\n .use-app-alink {\n color: textColor;\n }\n .use-app-alink:hover {\n color: textColor;\n opacity: 0.6;\n }",
21
+ components: [{
22
+ id: 'ALink_414643',
23
+ label: '超链接',
24
+ compName: 'ALink',
25
+ type: 'ALink',
26
+ compType: 1,
27
+ compLib: 'html',
28
+ props: {
29
+ name: '超链接',
30
+ href: '',
31
+ children: '超链接',
32
+ target: '_self'
33
+ },
34
+ style: {
35
+ textAlign: 'left'
36
+ },
37
+ isContainer: false,
38
+ isBusiObjContainer: false,
39
+ cmdgroup: ['basic'],
40
+ platform: 'h5',
41
+ description: '',
42
+ isInlineBlock: true,
43
+ image: '',
44
+ groupsName: '基础',
45
+ icon: 'ALink',
46
+ setEvents: [],
47
+ isLabelDropBoxChild: false,
48
+ components: [],
49
+ path: ['769713', 'View_769713_1']
50
+ }]
51
+ };
@@ -0,0 +1,527 @@
1
+ export declare const LoadMore: {
2
+ type: string;
3
+ variable: {
4
+ backgroundColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ borderColor: {
10
+ type: string;
11
+ label: string;
12
+ groupsName: string;
13
+ };
14
+ borderRadius: {
15
+ type: string;
16
+ label: string;
17
+ groupsName: string;
18
+ };
19
+ };
20
+ groupsName: string;
21
+ icon: string;
22
+ title: string;
23
+ defaultValue: {
24
+ backgroundColor: string;
25
+ borderColor: string;
26
+ borderRadius: string;
27
+ }[];
28
+ tpl: string;
29
+ components: {
30
+ id: string;
31
+ label: string;
32
+ compName: string;
33
+ type: string;
34
+ compType: number;
35
+ compLib: string;
36
+ props: {
37
+ name: string;
38
+ columnNum: number;
39
+ status: string;
40
+ styleType: string;
41
+ paging: boolean;
42
+ pageSize: number;
43
+ pageNum: number;
44
+ pulling: boolean;
45
+ pullingText: string;
46
+ canReleaseText: string;
47
+ refreshingText: string;
48
+ completeText: string;
49
+ dataId: string;
50
+ dataSource: string;
51
+ };
52
+ style: {
53
+ titleFontSize: number;
54
+ };
55
+ isContainer: boolean;
56
+ isBusiObjContainer: boolean;
57
+ cmdgroup: string[];
58
+ platform: string;
59
+ engineApi: string[];
60
+ setEvents: never[];
61
+ description: string;
62
+ image: string;
63
+ groupsName: string;
64
+ icon: string;
65
+ isLabelDropBoxChild: boolean;
66
+ functors: {
67
+ dataSource: {
68
+ title: string;
69
+ value: string;
70
+ dependOtherIds: never[];
71
+ };
72
+ };
73
+ components: {
74
+ id: string;
75
+ label: string;
76
+ compName: string;
77
+ type: string;
78
+ compType: number;
79
+ compLib: string;
80
+ props: {
81
+ name: string;
82
+ visible: number;
83
+ };
84
+ style: {
85
+ margin: string;
86
+ padding: string;
87
+ borderRadius: number;
88
+ backgroundColor: string;
89
+ flexDirection: string;
90
+ alignItems: string;
91
+ display: string;
92
+ };
93
+ isContainer: boolean;
94
+ isBusiObjContainer: boolean;
95
+ cmdgroup: string[];
96
+ platform: string;
97
+ engineApi: string[];
98
+ description: string;
99
+ image: string;
100
+ groupsName: string;
101
+ icon: string;
102
+ setEvents: never[];
103
+ isLabelDropBoxChild: boolean;
104
+ components: ({
105
+ id: string;
106
+ label: string;
107
+ compName: string;
108
+ type: string;
109
+ compType: number;
110
+ compLib: string;
111
+ props: {
112
+ name: string;
113
+ visible: string;
114
+ disabled: boolean;
115
+ uploadType: string;
116
+ src: string;
117
+ srcType: string;
118
+ };
119
+ style: {
120
+ width: string;
121
+ height: string;
122
+ backgroundColor: string;
123
+ flex?: undefined;
124
+ margin?: undefined;
125
+ padding?: undefined;
126
+ display?: undefined;
127
+ flexDirection?: undefined;
128
+ alignItems?: undefined;
129
+ };
130
+ isContainer: boolean;
131
+ isBusiObjContainer: boolean;
132
+ cmdgroup: string[];
133
+ platform: string;
134
+ engineApi: string[];
135
+ isInlineBlock: boolean;
136
+ setEvents: never[];
137
+ description: string;
138
+ image: string;
139
+ groupsName: string;
140
+ icon: string;
141
+ isLabelDropBoxChild: boolean;
142
+ components: never[];
143
+ path: string[];
144
+ } | {
145
+ id: string;
146
+ label: string;
147
+ compName: string;
148
+ type: string;
149
+ compType: number;
150
+ compLib: string;
151
+ props: {
152
+ name: string;
153
+ visible: number;
154
+ disabled?: undefined;
155
+ uploadType?: undefined;
156
+ src?: undefined;
157
+ srcType?: undefined;
158
+ };
159
+ style: {
160
+ flex: number;
161
+ margin: string;
162
+ padding: string;
163
+ display: string;
164
+ flexDirection: string;
165
+ alignItems: string;
166
+ width?: undefined;
167
+ height?: undefined;
168
+ backgroundColor?: undefined;
169
+ };
170
+ isContainer: boolean;
171
+ isBusiObjContainer: boolean;
172
+ cmdgroup: string[];
173
+ platform: string;
174
+ engineApi: string[];
175
+ description: string;
176
+ image: string;
177
+ groupsName: string;
178
+ icon: string;
179
+ setEvents: never[];
180
+ isLabelDropBoxChild: boolean;
181
+ components: ({
182
+ id: string;
183
+ label: string;
184
+ compName: string;
185
+ type: string;
186
+ compType: number;
187
+ compLib: string;
188
+ props: {
189
+ name: string;
190
+ visible: number;
191
+ };
192
+ style: {
193
+ margin: string;
194
+ padding: string;
195
+ display: string;
196
+ flexDirection: string;
197
+ alignItems?: undefined;
198
+ justifyContent?: undefined;
199
+ };
200
+ isContainer: boolean;
201
+ isBusiObjContainer: boolean;
202
+ cmdgroup: string[];
203
+ platform: string;
204
+ engineApi: string[];
205
+ description: string;
206
+ image: string;
207
+ groupsName: string;
208
+ icon: string;
209
+ setEvents: never[];
210
+ isLabelDropBoxChild: boolean;
211
+ components: {
212
+ id: string;
213
+ label: string;
214
+ compName: string;
215
+ type: string;
216
+ compType: number;
217
+ compLib: string;
218
+ props: {
219
+ name: string;
220
+ children: string;
221
+ };
222
+ style: {
223
+ fontSize: number;
224
+ fontWeidht: string;
225
+ color: string;
226
+ };
227
+ isContainer: boolean;
228
+ isBusiObjContainer: boolean;
229
+ cmdgroup: string[];
230
+ platform: string;
231
+ fieldProps: {
232
+ trigger: string;
233
+ valuePropName: string;
234
+ };
235
+ isInlineBlock: boolean;
236
+ setEvents: never[];
237
+ icon: string;
238
+ description: string;
239
+ image: string;
240
+ groupsName: string;
241
+ transform: {
242
+ value: string;
243
+ };
244
+ isLabelDropBoxChild: boolean;
245
+ components: never[];
246
+ path: string[];
247
+ }[];
248
+ path: string[];
249
+ } | {
250
+ id: string;
251
+ label: string;
252
+ compName: string;
253
+ type: string;
254
+ compType: number;
255
+ compLib: string;
256
+ props: {
257
+ name: string;
258
+ visible: number;
259
+ };
260
+ style: {
261
+ margin: string;
262
+ padding: string;
263
+ display: string;
264
+ flexDirection: string;
265
+ alignItems: string;
266
+ justifyContent?: undefined;
267
+ };
268
+ isContainer: boolean;
269
+ isBusiObjContainer: boolean;
270
+ cmdgroup: string[];
271
+ platform: string;
272
+ engineApi: string[];
273
+ description: string;
274
+ image: string;
275
+ groupsName: string;
276
+ icon: string;
277
+ setEvents: never[];
278
+ isLabelDropBoxChild: boolean;
279
+ components: {
280
+ id: string;
281
+ label: string;
282
+ compName: string;
283
+ type: string;
284
+ compType: number;
285
+ compLib: string;
286
+ props: {
287
+ name: string;
288
+ children: string;
289
+ };
290
+ style: {
291
+ color: string;
292
+ fontSize: number;
293
+ };
294
+ isContainer: boolean;
295
+ isBusiObjContainer: boolean;
296
+ cmdgroup: string[];
297
+ platform: string;
298
+ fieldProps: {
299
+ trigger: string;
300
+ valuePropName: string;
301
+ };
302
+ isInlineBlock: boolean;
303
+ setEvents: never[];
304
+ icon: string;
305
+ description: string;
306
+ image: string;
307
+ groupsName: string;
308
+ transform: {
309
+ value: string;
310
+ };
311
+ isLabelDropBoxChild: boolean;
312
+ components: never[];
313
+ path: string[];
314
+ }[];
315
+ path: string[];
316
+ } | {
317
+ id: string;
318
+ label: string;
319
+ compName: string;
320
+ type: string;
321
+ compType: number;
322
+ compLib: string;
323
+ props: {
324
+ name: string;
325
+ visible: number;
326
+ };
327
+ style: {
328
+ margin: string;
329
+ padding: string;
330
+ display: string;
331
+ flexDirection: string;
332
+ justifyContent: string;
333
+ alignItems?: undefined;
334
+ };
335
+ isContainer: boolean;
336
+ isBusiObjContainer: boolean;
337
+ cmdgroup: string[];
338
+ platform: string;
339
+ engineApi: string[];
340
+ description: string;
341
+ image: string;
342
+ groupsName: string;
343
+ icon: string;
344
+ setEvents: never[];
345
+ isLabelDropBoxChild: boolean;
346
+ components: ({
347
+ id: string;
348
+ label: string;
349
+ compName: string;
350
+ type: string;
351
+ compType: number;
352
+ compLib: string;
353
+ props: {
354
+ name: string;
355
+ visible: number;
356
+ children?: undefined;
357
+ };
358
+ style: {
359
+ margin: string;
360
+ padding: string;
361
+ display: string;
362
+ flexDirection: string;
363
+ color?: undefined;
364
+ fontSize?: undefined;
365
+ };
366
+ isContainer: boolean;
367
+ isBusiObjContainer: boolean;
368
+ cmdgroup: string[];
369
+ platform: string;
370
+ engineApi: string[];
371
+ description: string;
372
+ image: string;
373
+ groupsName: string;
374
+ icon: string;
375
+ setEvents: never[];
376
+ isLabelDropBoxChild: boolean;
377
+ components: ({
378
+ id: string;
379
+ label: string;
380
+ compName: string;
381
+ type: string;
382
+ compType: number;
383
+ compLib: string;
384
+ props: {
385
+ name: string;
386
+ state: string;
387
+ mode: string;
388
+ icon: {
389
+ type: string;
390
+ theme: string;
391
+ fontAddress: string;
392
+ isIconFont: boolean;
393
+ };
394
+ size: string;
395
+ theme: string;
396
+ type: {
397
+ type: string;
398
+ theme: string;
399
+ fontAddress: string;
400
+ isIconFont: boolean;
401
+ iconFileInfo: {};
402
+ };
403
+ children?: undefined;
404
+ };
405
+ style: {
406
+ border: string;
407
+ color: string;
408
+ fontSize: number;
409
+ margin: string;
410
+ };
411
+ isContainer: boolean;
412
+ isBusiObjContainer: boolean;
413
+ cmdgroup: string[];
414
+ platform: string;
415
+ engineApi: string[];
416
+ isInlineBlock: boolean;
417
+ setEvents: never[];
418
+ description: string;
419
+ image: string;
420
+ groupsName: string;
421
+ icon: string;
422
+ isLabelDropBoxChild: boolean;
423
+ components: never[];
424
+ path: string[];
425
+ fieldProps?: undefined;
426
+ transform?: undefined;
427
+ } | {
428
+ id: string;
429
+ label: string;
430
+ compName: string;
431
+ type: string;
432
+ compType: number;
433
+ compLib: string;
434
+ props: {
435
+ name: string;
436
+ children: string;
437
+ state?: undefined;
438
+ mode?: undefined;
439
+ icon?: undefined;
440
+ size?: undefined;
441
+ theme?: undefined;
442
+ type?: undefined;
443
+ };
444
+ style: {
445
+ color: string;
446
+ fontSize: number;
447
+ border?: undefined;
448
+ margin?: undefined;
449
+ };
450
+ isContainer: boolean;
451
+ isBusiObjContainer: boolean;
452
+ cmdgroup: string[];
453
+ platform: string;
454
+ fieldProps: {
455
+ trigger: string;
456
+ valuePropName: string;
457
+ };
458
+ isInlineBlock: boolean;
459
+ setEvents: never[];
460
+ icon: string;
461
+ description: string;
462
+ image: string;
463
+ groupsName: string;
464
+ transform: {
465
+ value: string;
466
+ };
467
+ isLabelDropBoxChild: boolean;
468
+ components: never[];
469
+ path: string[];
470
+ engineApi?: undefined;
471
+ })[];
472
+ path: string[];
473
+ fieldProps?: undefined;
474
+ isInlineBlock?: undefined;
475
+ transform?: undefined;
476
+ } | {
477
+ id: string;
478
+ label: string;
479
+ compName: string;
480
+ type: string;
481
+ compType: number;
482
+ compLib: string;
483
+ props: {
484
+ name: string;
485
+ children: string;
486
+ visible?: undefined;
487
+ };
488
+ style: {
489
+ color: string;
490
+ fontSize: number;
491
+ margin?: undefined;
492
+ padding?: undefined;
493
+ display?: undefined;
494
+ flexDirection?: undefined;
495
+ };
496
+ isContainer: boolean;
497
+ isBusiObjContainer: boolean;
498
+ cmdgroup: string[];
499
+ platform: string;
500
+ fieldProps: {
501
+ trigger: string;
502
+ valuePropName: string;
503
+ };
504
+ isInlineBlock: boolean;
505
+ setEvents: never[];
506
+ icon: string;
507
+ description: string;
508
+ image: string;
509
+ groupsName: string;
510
+ transform: {
511
+ value: string;
512
+ };
513
+ isLabelDropBoxChild: boolean;
514
+ components: never[];
515
+ path: string[];
516
+ engineApi?: undefined;
517
+ })[];
518
+ path: string[];
519
+ })[];
520
+ path: string[];
521
+ isInlineBlock?: undefined;
522
+ })[];
523
+ path: string[];
524
+ }[];
525
+ path: string[];
526
+ }[];
527
+ };