@lingxiteam/theme-utils 0.5.2 → 0.5.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.
Files changed (127) hide show
  1. package/package.json +1 -1
  2. package/dist/config/Button.d.ts +0 -113
  3. package/dist/config/Button.js +0 -277
  4. package/dist/config/Card.d.ts +0 -144
  5. package/dist/config/Card.js +0 -162
  6. package/dist/config/Cascader.d.ts +0 -196
  7. package/dist/config/Cascader.js +0 -225
  8. package/dist/config/Checkbox.d.ts +0 -162
  9. package/dist/config/Checkbox.js +0 -178
  10. package/dist/config/CheckboxGroup.d.ts +0 -184
  11. package/dist/config/CheckboxGroup.js +0 -192
  12. package/dist/config/Collapse.d.ts +0 -186
  13. package/dist/config/Collapse.js +0 -330
  14. package/dist/config/Container.d.ts +0 -275
  15. package/dist/config/Container.js +0 -301
  16. package/dist/config/DatePicker.d.ts +0 -179
  17. package/dist/config/DatePicker.js +0 -179
  18. package/dist/config/Description.d.ts +0 -106
  19. package/dist/config/Description.js +0 -126
  20. package/dist/config/Divider.d.ts +0 -61
  21. package/dist/config/Divider.js +0 -61
  22. package/dist/config/Form.d.ts +0 -3071
  23. package/dist/config/Form.js +0 -1358
  24. package/dist/config/Icon.d.ts +0 -55
  25. package/dist/config/Icon.js +0 -55
  26. package/dist/config/Input.d.ts +0 -159
  27. package/dist/config/Input.js +0 -159
  28. package/dist/config/InputNumber.d.ts +0 -154
  29. package/dist/config/InputNumber.js +0 -154
  30. package/dist/config/Link.d.ts +0 -128
  31. package/dist/config/Link.js +0 -120
  32. package/dist/config/MultipleSelect.d.ts +0 -167
  33. package/dist/config/MultipleSelect.js +0 -175
  34. package/dist/config/Radio.d.ts +0 -239
  35. package/dist/config/Radio.js +0 -261
  36. package/dist/config/RangePicker.d.ts +0 -182
  37. package/dist/config/RangePicker.js +0 -182
  38. package/dist/config/Select.d.ts +0 -190
  39. package/dist/config/Select.js +0 -198
  40. package/dist/config/StdUpload.d.ts +0 -197
  41. package/dist/config/StdUpload.js +0 -211
  42. package/dist/config/Switch.d.ts +0 -141
  43. package/dist/config/Switch.js +0 -151
  44. package/dist/config/Table.d.ts +0 -482
  45. package/dist/config/Table.js +0 -560
  46. package/dist/config/Tabs.d.ts +0 -230
  47. package/dist/config/Tabs.js +0 -970
  48. package/dist/config/Tag.d.ts +0 -173
  49. package/dist/config/Tag.js +0 -548
  50. package/dist/config/Text.d.ts +0 -34
  51. package/dist/config/Text.js +0 -34
  52. package/dist/config/TextArea.d.ts +0 -151
  53. package/dist/config/TextArea.js +0 -151
  54. package/dist/config/TimePicker.d.ts +0 -180
  55. package/dist/config/TimePicker.js +0 -180
  56. package/dist/config/Tree.d.ts +0 -151
  57. package/dist/config/Tree.js +0 -195
  58. package/dist/config/TreeSelect.d.ts +0 -197
  59. package/dist/config/TreeSelect.js +0 -213
  60. package/dist/css.d.ts +0 -6
  61. package/dist/css.js +0 -126
  62. package/dist/demo.d.ts +0 -5
  63. package/dist/demo.js +0 -79
  64. package/dist/h5config/Accordion.d.ts +0 -410
  65. package/dist/h5config/Accordion.js +0 -548
  66. package/dist/h5config/Button.d.ts +0 -142
  67. package/dist/h5config/Button.js +0 -253
  68. package/dist/h5config/Card.d.ts +0 -275
  69. package/dist/h5config/Card.js +0 -535
  70. package/dist/h5config/DAddressPicker.d.ts +0 -188
  71. package/dist/h5config/DAddressPicker.js +0 -230
  72. package/dist/h5config/DCheckbox.d.ts +0 -202
  73. package/dist/h5config/DCheckbox.js +0 -248
  74. package/dist/h5config/DForm.d.ts +0 -1597
  75. package/dist/h5config/DForm.js +0 -932
  76. package/dist/h5config/DMultiplePicker.d.ts +0 -189
  77. package/dist/h5config/DMultiplePicker.js +0 -235
  78. package/dist/h5config/DformDate.d.ts +0 -191
  79. package/dist/h5config/DformDate.js +0 -233
  80. package/dist/h5config/DformFile.d.ts +0 -277
  81. package/dist/h5config/DformFile.js +0 -292
  82. package/dist/h5config/DformImagePicker.d.ts +0 -138
  83. package/dist/h5config/DformImagePicker.js +0 -156
  84. package/dist/h5config/DformInput.d.ts +0 -189
  85. package/dist/h5config/DformInput.js +0 -231
  86. package/dist/h5config/DformInputNumber.d.ts +0 -173
  87. package/dist/h5config/DformInputNumber.js +0 -215
  88. package/dist/h5config/DformPicker.d.ts +0 -190
  89. package/dist/h5config/DformPicker.js +0 -236
  90. package/dist/h5config/DformRadio.d.ts +0 -210
  91. package/dist/h5config/DformRadio.js +0 -256
  92. package/dist/h5config/DformRangePicker.d.ts +0 -195
  93. package/dist/h5config/DformRangePicker.js +0 -237
  94. package/dist/h5config/DformSelect.d.ts +0 -198
  95. package/dist/h5config/DformSelect.js +0 -262
  96. package/dist/h5config/DformSwitch.d.ts +0 -145
  97. package/dist/h5config/DformSwitch.js +0 -163
  98. package/dist/h5config/DformTextArea.d.ts +0 -184
  99. package/dist/h5config/DformTextArea.js +0 -226
  100. package/dist/h5config/Divider.d.ts +0 -53
  101. package/dist/h5config/Divider.js +0 -90
  102. package/dist/h5config/FilterItems.d.ts +0 -154
  103. package/dist/h5config/FilterItems.js +0 -204
  104. package/dist/h5config/Grid.d.ts +0 -235
  105. package/dist/h5config/Grid.js +0 -278
  106. package/dist/h5config/Icon.d.ts +0 -54
  107. package/dist/h5config/Icon.js +0 -54
  108. package/dist/h5config/Link.d.ts +0 -51
  109. package/dist/h5config/Link.js +0 -51
  110. package/dist/h5config/LoadMore.d.ts +0 -527
  111. package/dist/h5config/LoadMore.js +0 -940
  112. package/dist/h5config/NoticeBarPlus.d.ts +0 -111
  113. package/dist/h5config/NoticeBarPlus.js +0 -141
  114. package/dist/h5config/SearchView.d.ts +0 -135
  115. package/dist/h5config/SearchView.js +0 -177
  116. package/dist/h5config/StaticTabs.d.ts +0 -121
  117. package/dist/h5config/StaticTabs.js +0 -180
  118. package/dist/h5config/Table.d.ts +0 -197
  119. package/dist/h5config/Table.js +0 -589
  120. package/dist/index.d.ts +0 -4
  121. package/dist/index.js +0 -4
  122. package/dist/lx-mobile.d.ts +0 -23
  123. package/dist/lx-mobile.js +0 -174
  124. package/dist/lx.d.ts +0 -24
  125. package/dist/lx.js +0 -139
  126. package/dist/utils.d.ts +0 -12
  127. package/dist/utils.js +0 -67
@@ -1,253 +0,0 @@
1
- export var Button = {
2
- type: 'Button',
3
- variable: {
4
- backgroundColor: {
5
- type: 'color',
6
- label: '填充颜色',
7
- groupsName: '背景',
8
- followTheme: '@brand-primary'
9
- },
10
- textColor: {
11
- type: 'color',
12
- label: '文本颜色',
13
- groupsName: '文字',
14
- followTheme: '@color-text-base'
15
- },
16
- fontSize: {
17
- type: 'px',
18
- label: '文本尺寸',
19
- groupsName: '文字'
20
- },
21
- lineHeight: {
22
- type: 'px',
23
- label: '文本行高',
24
- groupsName: '文字'
25
- },
26
- paddingValue: {
27
- type: 'marginInput',
28
- label: '内边距',
29
- groupsName: '布局'
30
- },
31
- marginValue: {
32
- type: 'marginInput',
33
- label: '外边距',
34
- groupsName: '布局'
35
- },
36
- borderRadius: {
37
- type: 'px',
38
- label: '圆角',
39
- groupsName: '边框'
40
- },
41
- borderColor: {
42
- type: 'color',
43
- label: '颜色',
44
- groupsName: '边框',
45
- followTheme: '@border-color-base'
46
- }
47
- },
48
- groupsName: '通用',
49
- icon: 'icon-ico-comp-app-Button',
50
- title: '按钮',
51
- defaultValue: [{
52
- textColor: '#1c242e',
53
- lineHeight: '140%',
54
- fontSize: '18px',
55
- backgroundColor: '#108ee9',
56
- borderColor: '#E5E5E5',
57
- borderRadius: '4px',
58
- paddingValue: '7px 12px 7px 12px',
59
- marginValue: '0px'
60
- }],
61
- followThemes: {
62
- '@brand-primary': ['backgroundColor'],
63
- '@border-color-base': ['borderColor'],
64
- '@color-text-base': []
65
- },
66
- tpl: "\n .adm-button{\n --border-color: borderColor;\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n border-radius: borderRadius;\n padding: paddingValue;\n margin: marginValue;\n }\n .adm-button.adm-button-large{\n font-size: fontSize;\n padding: paddingValue;\n margin: marginValue;\n }\n .adm-button:not(.adm-button-default){\n color: #fff;\n }\n .adm-button-primary{\n --color: backgroundColor;\n }\n .lcdp-button-type-link{\n color: backgroundColor;\n }\n ",
67
- components: [{
68
- id: 'Button_5647878',
69
- label: '按钮',
70
- compName: 'Button',
71
- type: 'Button',
72
- compType: 1,
73
- compLib: '@/components',
74
- props: {
75
- name: '按钮',
76
- btnIcon: 'none',
77
- type: 'primary',
78
- size: 'large',
79
- loading: false,
80
- mImagePostion: 'left',
81
- shape: 'default',
82
- status: '1',
83
- children: '按钮'
84
- },
85
- style: {
86
- textAlign: 'center'
87
- },
88
- isContainer: false,
89
- isBusiObjContainer: false,
90
- cmdgroup: ['basic'],
91
- platform: 'h5',
92
- description: '',
93
- image: '',
94
- groupsName: '基础',
95
- transform: {
96
- value: 'children'
97
- },
98
- engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
99
- icon: 'Button',
100
- setEvents: [],
101
- isLabelDropBoxChild: false,
102
- components: [],
103
- path: ['769713', 'View_769713_1']
104
- }, {
105
- id: 'Button_404175',
106
- label: '按钮',
107
- compName: 'Button',
108
- type: 'Button',
109
- compType: 1,
110
- compLib: '@/components',
111
- props: {
112
- name: '按钮',
113
- btnIcon: false,
114
- type: 'default',
115
- size: 'large',
116
- loading: false,
117
- mImagePostion: 'left',
118
- shape: 'default',
119
- status: '1',
120
- children: '按钮'
121
- },
122
- style: {
123
- textAlign: 'center'
124
- },
125
- isContainer: false,
126
- isBusiObjContainer: false,
127
- cmdgroup: ['basic'],
128
- platform: 'h5',
129
- description: '',
130
- image: '',
131
- groupsName: '基础',
132
- transform: {
133
- value: 'children'
134
- },
135
- engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
136
- icon: 'Button',
137
- setEvents: [],
138
- isLabelDropBoxChild: false,
139
- components: [],
140
- path: ['769713', 'View_769713_1']
141
- }, {
142
- id: 'Button_9353077',
143
- label: '按钮',
144
- compName: 'Button',
145
- type: 'Button',
146
- compType: 1,
147
- compLib: '@/components',
148
- props: {
149
- name: '按钮',
150
- btnIcon: false,
151
- type: 'dashed',
152
- size: 'large',
153
- loading: false,
154
- mImagePostion: 'left',
155
- shape: 'default',
156
- status: '1',
157
- children: '按钮'
158
- },
159
- style: {
160
- textAlign: 'center'
161
- },
162
- isContainer: false,
163
- isBusiObjContainer: false,
164
- cmdgroup: ['basic'],
165
- platform: 'h5',
166
- description: '',
167
- image: '',
168
- groupsName: '基础',
169
- transform: {
170
- value: 'children'
171
- },
172
- engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
173
- icon: 'Button',
174
- setEvents: [],
175
- isLabelDropBoxChild: false,
176
- components: [],
177
- path: ['769713', 'View_769713_1']
178
- }, {
179
- id: 'Button_764117',
180
- label: '按钮',
181
- compName: 'Button',
182
- type: 'Button',
183
- compType: 1,
184
- compLib: '@/components',
185
- props: {
186
- name: '按钮',
187
- btnIcon: false,
188
- type: 'text',
189
- size: 'large',
190
- loading: false,
191
- mImagePostion: 'left',
192
- shape: 'default',
193
- status: '1',
194
- children: '按钮'
195
- },
196
- style: {
197
- textAlign: 'center'
198
- },
199
- isContainer: false,
200
- isBusiObjContainer: false,
201
- cmdgroup: ['basic'],
202
- platform: 'h5',
203
- description: '',
204
- image: '',
205
- groupsName: '基础',
206
- transform: {
207
- value: 'children'
208
- },
209
- engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
210
- icon: 'Button',
211
- setEvents: [],
212
- isLabelDropBoxChild: false,
213
- components: [],
214
- path: ['769713', 'View_769713_1']
215
- }, {
216
- id: 'Button_637341',
217
- label: '按钮',
218
- compName: 'Button',
219
- type: 'Button',
220
- compType: 1,
221
- compLib: '@/components',
222
- props: {
223
- name: '按钮',
224
- btnIcon: false,
225
- type: 'link',
226
- size: 'large',
227
- loading: false,
228
- mImagePostion: 'left',
229
- shape: 'default',
230
- status: '1',
231
- children: '按钮'
232
- },
233
- style: {
234
- textAlign: 'center'
235
- },
236
- isContainer: false,
237
- isBusiObjContainer: false,
238
- cmdgroup: ['basic'],
239
- platform: 'h5',
240
- description: '',
241
- image: '',
242
- groupsName: '基础',
243
- transform: {
244
- value: 'children'
245
- },
246
- engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
247
- icon: 'Button',
248
- setEvents: [],
249
- isLabelDropBoxChild: false,
250
- components: [],
251
- path: ['769713', 'View_769713_1']
252
- }]
253
- };
@@ -1,275 +0,0 @@
1
- export declare const Card: {
2
- type: string;
3
- hasPrefixClass: boolean;
4
- variable: {
5
- backgroundColor: {
6
- type: string;
7
- label: string;
8
- groupsName: string;
9
- };
10
- bodyBgColor: {
11
- type: string;
12
- label: string;
13
- groupsName: string;
14
- };
15
- footBgColor: {
16
- type: string;
17
- label: string;
18
- groupsName: string;
19
- };
20
- textColor: {
21
- type: string;
22
- label: string;
23
- followTheme: string;
24
- groupsName: string;
25
- };
26
- fontSize: {
27
- type: string;
28
- label: string;
29
- groupsName: string;
30
- };
31
- lineHeight: {
32
- type: string;
33
- label: string;
34
- groupsName: string;
35
- options: {
36
- label: string;
37
- value: string;
38
- }[];
39
- };
40
- fontWeight: {
41
- type: string;
42
- label: string;
43
- groupsName: string;
44
- options: {
45
- title: string;
46
- value: string;
47
- }[];
48
- };
49
- borderRadius: {
50
- type: string;
51
- label: string;
52
- groupsName: string;
53
- };
54
- borderColor: {
55
- type: string;
56
- label: string;
57
- groupsName: string;
58
- followTheme: string;
59
- };
60
- titleColor: {
61
- type: string;
62
- label: string;
63
- groupsName: string;
64
- followTheme: string;
65
- };
66
- tagSize: {
67
- type: string;
68
- label: string;
69
- groupsName: string;
70
- };
71
- tagMargin: {
72
- type: string;
73
- label: string;
74
- groupsName: string;
75
- };
76
- arrowColor: {
77
- type: string;
78
- label: string;
79
- groupsName: string;
80
- };
81
- arrowSize: {
82
- type: string;
83
- label: string;
84
- groupsName: string;
85
- };
86
- lineColor: {
87
- type: string;
88
- label: string;
89
- groupsName: string;
90
- followTheme: string;
91
- };
92
- bodyLineColor: {
93
- type: string;
94
- label: string;
95
- groupsName: string;
96
- followTheme: string;
97
- };
98
- };
99
- groupsName: string;
100
- icon: string;
101
- title: string;
102
- defaultValue: {
103
- textColor: string;
104
- lineHeight: string;
105
- fontSize: string;
106
- fontWeight: string;
107
- backgroundColor: string;
108
- titleColor: string;
109
- lineColor: string;
110
- tagSize: string;
111
- tagMargin: string;
112
- arrowColor: string;
113
- arrowSize: string;
114
- bodyBgColor: string;
115
- bodyLineColor: string;
116
- footBgColor: string;
117
- borderColor: string;
118
- borderRadius: string;
119
- }[];
120
- followThemes: {
121
- '@brand-primary': string[];
122
- '@color-text-base': never[];
123
- '@border-color-base': string[];
124
- };
125
- tpl: string;
126
- components: ({
127
- id: string;
128
- label: string;
129
- compName: string;
130
- type: string;
131
- compType: number;
132
- compLib: string;
133
- props: {
134
- name: string;
135
- showHeader: boolean;
136
- postfixIcon: {
137
- type: string;
138
- theme: string;
139
- fontAddress: string;
140
- isIconFont: boolean;
141
- iconFileInfo: {};
142
- };
143
- postfixIconPosition: string;
144
- showContent: boolean;
145
- showFooter: boolean;
146
- status: string;
147
- cardType: string;
148
- title: string;
149
- headerType: string;
150
- postFixFontSize: number;
151
- iconPosition: string;
152
- $$ISNEW: boolean;
153
- headerIcon?: undefined;
154
- };
155
- style: {
156
- padding: string;
157
- margin: string;
158
- width: string;
159
- height: string;
160
- };
161
- isContainer: boolean;
162
- isBusiObjContainer: boolean;
163
- cmdgroup: string[];
164
- platform: string;
165
- description: string;
166
- image: string;
167
- groupsName: string;
168
- icon: string;
169
- setEvents: never[];
170
- isLabelDropBoxChild: boolean;
171
- components: {
172
- id: string;
173
- label: string;
174
- compName: string;
175
- type: string;
176
- compType: number;
177
- compLib: string;
178
- props: {
179
- name: string;
180
- };
181
- style: {};
182
- isContainer: boolean;
183
- isBusiObjContainer: boolean;
184
- cmdgroup: string[];
185
- description: string;
186
- image: string;
187
- groupsName: string;
188
- platform: string;
189
- icon: string;
190
- deprecated: boolean;
191
- setEvents: never[];
192
- isLabelDropBoxChild: boolean;
193
- components: never[];
194
- path: string[];
195
- }[];
196
- path: string[];
197
- } | {
198
- id: string;
199
- label: string;
200
- compName: string;
201
- type: string;
202
- compType: number;
203
- compLib: string;
204
- props: {
205
- name: string;
206
- showHeader: boolean;
207
- postfixIcon: {
208
- type: string;
209
- theme: string;
210
- fontAddress: string;
211
- isIconFont: boolean;
212
- iconFileInfo: {};
213
- };
214
- postfixIconPosition: string;
215
- showContent: boolean;
216
- showFooter: boolean;
217
- status: string;
218
- cardType: string;
219
- title: string;
220
- headerType: string;
221
- postFixFontSize: number;
222
- iconPosition: string;
223
- $$ISNEW: boolean;
224
- headerIcon: {
225
- type: string;
226
- theme: string;
227
- fontAddress: string;
228
- isIconFont: boolean;
229
- iconFileInfo: {};
230
- };
231
- };
232
- style: {
233
- padding: string;
234
- margin: string;
235
- width: string;
236
- height: string;
237
- };
238
- isContainer: boolean;
239
- isBusiObjContainer: boolean;
240
- cmdgroup: string[];
241
- platform: string;
242
- description: string;
243
- image: string;
244
- groupsName: string;
245
- icon: string;
246
- setEvents: never[];
247
- isLabelDropBoxChild: boolean;
248
- components: {
249
- id: string;
250
- label: string;
251
- compName: string;
252
- type: string;
253
- compType: number;
254
- compLib: string;
255
- props: {
256
- name: string;
257
- };
258
- style: {};
259
- isContainer: boolean;
260
- isBusiObjContainer: boolean;
261
- cmdgroup: string[];
262
- description: string;
263
- image: string;
264
- groupsName: string;
265
- platform: string;
266
- icon: string;
267
- deprecated: boolean;
268
- setEvents: never[];
269
- isLabelDropBoxChild: boolean;
270
- components: never[];
271
- path: string[];
272
- }[];
273
- path: string[];
274
- })[];
275
- };