@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,34 @@
1
+ export declare const Text: {
2
+ type: string;
3
+ variable: {
4
+ textColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ lineHeight: {
10
+ type: string;
11
+ label: string;
12
+ groupsName: string;
13
+ };
14
+ fontSize: {
15
+ type: string;
16
+ label: string;
17
+ groupsName: string;
18
+ followTheme: string;
19
+ };
20
+ };
21
+ groupsName: string;
22
+ icon: string;
23
+ title: string;
24
+ defaultValue: {
25
+ textColor: string;
26
+ lineHeight: string;
27
+ fontSize: string;
28
+ }[];
29
+ followThemes: {
30
+ '@font-size-base': string[];
31
+ };
32
+ tpl: string;
33
+ components: never[];
34
+ };
@@ -0,0 +1,34 @@
1
+ export var Text = {
2
+ type: 'Text',
3
+ variable: {
4
+ textColor: {
5
+ type: 'color',
6
+ label: '文本颜色',
7
+ groupsName: '文字'
8
+ },
9
+ lineHeight: {
10
+ type: 'px',
11
+ label: '文本行高',
12
+ groupsName: '文字'
13
+ },
14
+ fontSize: {
15
+ type: 'px',
16
+ label: '文本尺寸',
17
+ groupsName: '文字',
18
+ followTheme: '@font-size-base'
19
+ }
20
+ },
21
+ groupsName: '通用',
22
+ icon: 'Text',
23
+ title: '文本',
24
+ defaultValue: [{
25
+ textColor: '#1c242e',
26
+ lineHeight: '22px',
27
+ fontSize: '14px'
28
+ }],
29
+ followThemes: {
30
+ '@font-size-base': ['fontSize']
31
+ },
32
+ tpl: '',
33
+ components: []
34
+ };
@@ -0,0 +1,151 @@
1
+ export declare const TextArea: {
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
+ textColor: {
29
+ type: string;
30
+ label: string;
31
+ groupsName: string;
32
+ desc: string;
33
+ canEdit: boolean;
34
+ extendsKey: string;
35
+ };
36
+ fontSize: {
37
+ type: string;
38
+ label: string;
39
+ groupsName: string;
40
+ desc: string;
41
+ canEdit: boolean;
42
+ extendsKey: string;
43
+ };
44
+ itemBorderRadius: {
45
+ type: string;
46
+ label: string;
47
+ groupsName: string;
48
+ desc: string;
49
+ canEdit: boolean;
50
+ extendsKey: string;
51
+ };
52
+ itemBorderColor: {
53
+ type: string;
54
+ label: string;
55
+ groupsName: string;
56
+ desc: string;
57
+ canEdit: boolean;
58
+ extendsKey: string;
59
+ };
60
+ itemHoverBorderColor: {
61
+ type: string;
62
+ label: string;
63
+ groupsName: string;
64
+ hidden: boolean;
65
+ desc: string;
66
+ canEdit: boolean;
67
+ extendsKey: string;
68
+ };
69
+ };
70
+ groupsName: string;
71
+ icon: string;
72
+ title: string;
73
+ defaultValue: {}[];
74
+ tpl: string;
75
+ components: {
76
+ id: string;
77
+ label: string;
78
+ compName: string;
79
+ type: string;
80
+ compType: number;
81
+ compLib: string;
82
+ props: {
83
+ name: string;
84
+ colSpan: number;
85
+ labelCol: number;
86
+ wrapperCol: number;
87
+ layout: string;
88
+ colon: boolean;
89
+ labelAlign: string;
90
+ basicStatus: number;
91
+ colSpace: number;
92
+ rowSpace: number;
93
+ formCode: string;
94
+ };
95
+ style: {
96
+ padding: string;
97
+ };
98
+ isContainer: boolean;
99
+ isBusiObjContainer: boolean;
100
+ cmdgroup: string[];
101
+ platform: string;
102
+ icon: string;
103
+ description: string;
104
+ image: string;
105
+ groupsName: string;
106
+ engineApi: string[];
107
+ setEvents: never[];
108
+ isLabelDropBoxChild: boolean;
109
+ components: {
110
+ id: string;
111
+ label: string;
112
+ compName: string;
113
+ type: string;
114
+ compType: number;
115
+ compLib: string;
116
+ props: {
117
+ name: string;
118
+ labelCol: number;
119
+ wrapperCol: number;
120
+ basicStatus: number;
121
+ titleTip: string;
122
+ tipSize: string;
123
+ tipWidth: string;
124
+ tipHeight: string;
125
+ required: boolean;
126
+ placeholder: string;
127
+ allowClear: boolean;
128
+ formItemIndex: number;
129
+ fieldName: string;
130
+ };
131
+ style: {};
132
+ isContainer: boolean;
133
+ isBusiObjContainer: boolean;
134
+ cmdgroup: string[];
135
+ platform: string;
136
+ fieldProps: {
137
+ trigger: string;
138
+ valuePropName: string;
139
+ };
140
+ icon: string;
141
+ description: string;
142
+ image: string;
143
+ groupsName: string;
144
+ setEvents: never[];
145
+ isLabelDropBoxChild: boolean;
146
+ components: never[];
147
+ path: string[];
148
+ }[];
149
+ path: string[];
150
+ }[];
151
+ };
@@ -0,0 +1,151 @@
1
+ export var TextArea = {
2
+ type: 'TextArea',
3
+ variable: {
4
+ labelTextColor: {
5
+ type: 'color',
6
+ label: '标题颜色',
7
+ groupsName: '标题',
8
+ desc: '继承自表单,此处不可编辑',
9
+ canEdit: false,
10
+ extendsKey: 'Form'
11
+ },
12
+ labelFontSize: {
13
+ type: 'px',
14
+ label: '标题尺寸',
15
+ groupsName: '标题',
16
+ desc: '继承自表单,此处不可编辑',
17
+ canEdit: false,
18
+ extendsKey: 'Form'
19
+ },
20
+ labelLineHeight: {
21
+ type: 'px',
22
+ label: '标题行高',
23
+ groupsName: '标题',
24
+ desc: '继承自表单,此处不可编辑',
25
+ canEdit: false,
26
+ extendsKey: 'Form'
27
+ },
28
+ textColor: {
29
+ type: 'color',
30
+ label: '文本颜色',
31
+ groupsName: '文字',
32
+ desc: '继承自表单,此处不可编辑',
33
+ canEdit: false,
34
+ extendsKey: 'Form'
35
+ },
36
+ fontSize: {
37
+ type: 'px',
38
+ label: '文本尺寸',
39
+ groupsName: '文字',
40
+ desc: '继承自表单,此处不可编辑',
41
+ canEdit: false,
42
+ extendsKey: 'Form'
43
+ },
44
+ itemBorderRadius: {
45
+ type: 'px',
46
+ label: '圆角',
47
+ groupsName: '边框',
48
+ desc: '继承自表单,此处不可编辑',
49
+ canEdit: false,
50
+ extendsKey: 'Form'
51
+ },
52
+ itemBorderColor: {
53
+ type: 'color',
54
+ label: '颜色',
55
+ groupsName: '边框',
56
+ desc: '继承自表单,此处不可编辑',
57
+ canEdit: false,
58
+ extendsKey: 'Form'
59
+ },
60
+ itemHoverBorderColor: {
61
+ type: 'color',
62
+ label: '组件激活边框颜色',
63
+ groupsName: '边框',
64
+ hidden: true,
65
+ desc: '继承自表单,此处不可编辑',
66
+ canEdit: false,
67
+ extendsKey: 'Form'
68
+ }
69
+ },
70
+ groupsName: '数据录入',
71
+ icon: 'icon-ico-comp-textarea',
72
+ title: '多行输入',
73
+ defaultValue: [{}],
74
+ tpl: '',
75
+ components: [{
76
+ id: 'Form_180373',
77
+ label: '表单',
78
+ compName: 'Form',
79
+ type: 'Form',
80
+ compType: 0,
81
+ compLib: 'comm',
82
+ props: {
83
+ name: '表单',
84
+ colSpan: 12,
85
+ labelCol: 8,
86
+ wrapperCol: 16,
87
+ layout: 'vertical',
88
+ colon: true,
89
+ labelAlign: 'right',
90
+ basicStatus: 1,
91
+ colSpace: 16,
92
+ rowSpace: 16,
93
+ formCode: 'Code_Form_180373'
94
+ },
95
+ style: {
96
+ padding: '0px 0px 0px 0px'
97
+ },
98
+ isContainer: true,
99
+ isBusiObjContainer: true,
100
+ cmdgroup: ['basic'],
101
+ platform: 'pc',
102
+ icon: 'Form',
103
+ description: '',
104
+ image: '',
105
+ groupsName: '容器',
106
+ engineApi: ['service.downloadFileByFileCode', 'getVisible', 'stateListener'],
107
+ setEvents: [],
108
+ isLabelDropBoxChild: false,
109
+ components: [{
110
+ id: 'TextArea_78428606',
111
+ label: '多行输入',
112
+ compName: 'TextArea',
113
+ type: 'TextArea',
114
+ compType: 2,
115
+ compLib: 'comm',
116
+ props: {
117
+ name: '多行输入',
118
+ labelCol: 8,
119
+ wrapperCol: 16,
120
+ basicStatus: 1,
121
+ titleTip: 'notext',
122
+ tipSize: 'default',
123
+ tipWidth: '240px',
124
+ tipHeight: 'auto',
125
+ required: false,
126
+ placeholder: '请输入',
127
+ allowClear: true,
128
+ formItemIndex: 15,
129
+ fieldName: 'fdec'
130
+ },
131
+ style: {},
132
+ isContainer: false,
133
+ isBusiObjContainer: false,
134
+ cmdgroup: ['basic'],
135
+ platform: 'pc',
136
+ fieldProps: {
137
+ trigger: 'onChange',
138
+ valuePropName: 'value'
139
+ },
140
+ icon: 'TextArea',
141
+ description: '',
142
+ image: '',
143
+ groupsName: '数据录入',
144
+ setEvents: [],
145
+ isLabelDropBoxChild: false,
146
+ components: [],
147
+ path: ['998509', 'Form_180373']
148
+ }],
149
+ path: ['998509']
150
+ }]
151
+ };
@@ -0,0 +1,180 @@
1
+ export declare const TimePicker: {
2
+ type: string;
3
+ hasPrefixClass: boolean;
4
+ variable: {
5
+ labelTextColor: {
6
+ type: string;
7
+ label: string;
8
+ groupsName: string;
9
+ desc: string;
10
+ canEdit: boolean;
11
+ extendsKey: string;
12
+ };
13
+ labelFontSize: {
14
+ type: string;
15
+ label: string;
16
+ groupsName: string;
17
+ desc: string;
18
+ canEdit: boolean;
19
+ extendsKey: string;
20
+ };
21
+ labelLineHeight: {
22
+ type: string;
23
+ label: string;
24
+ groupsName: string;
25
+ desc: string;
26
+ canEdit: boolean;
27
+ extendsKey: string;
28
+ };
29
+ textColor: {
30
+ type: string;
31
+ label: string;
32
+ groupsName: string;
33
+ desc: string;
34
+ canEdit: boolean;
35
+ extendsKey: string;
36
+ };
37
+ fontSize: {
38
+ type: string;
39
+ label: string;
40
+ groupsName: string;
41
+ desc: string;
42
+ canEdit: boolean;
43
+ extendsKey: string;
44
+ };
45
+ itemBorderRadius: {
46
+ type: string;
47
+ label: string;
48
+ groupsName: string;
49
+ desc: string;
50
+ canEdit: boolean;
51
+ extendsKey: string;
52
+ };
53
+ itemBorderColor: {
54
+ type: string;
55
+ label: string;
56
+ groupsName: string;
57
+ desc: string;
58
+ canEdit: boolean;
59
+ extendsKey: string;
60
+ };
61
+ itemHoverBorderColor: {
62
+ type: string;
63
+ label: string;
64
+ groupsName: string;
65
+ hidden: boolean;
66
+ desc: string;
67
+ canEdit: boolean;
68
+ extendsKey: string;
69
+ };
70
+ iconColor: {
71
+ type: string;
72
+ label: string;
73
+ groupsName: string;
74
+ followTheme: string;
75
+ };
76
+ iconFontSize: {
77
+ type: string;
78
+ label: string;
79
+ groupsName: string;
80
+ followTheme: string;
81
+ };
82
+ };
83
+ groupsName: string;
84
+ icon: string;
85
+ title: string;
86
+ defaultValue: {
87
+ iconFontSize: string;
88
+ iconColor: string;
89
+ }[];
90
+ followThemes: {
91
+ '@text-color-secondary': string[];
92
+ '@font-size-base': string[];
93
+ };
94
+ tpl: string;
95
+ components: {
96
+ id: string;
97
+ label: string;
98
+ compName: string;
99
+ type: string;
100
+ compType: number;
101
+ compLib: string;
102
+ props: {
103
+ name: string;
104
+ colSpan: number;
105
+ labelCol: number;
106
+ wrapperCol: number;
107
+ layout: string;
108
+ colon: boolean;
109
+ labelAlign: string;
110
+ basicStatus: number;
111
+ colSpace: number;
112
+ rowSpace: number;
113
+ formCode: string;
114
+ };
115
+ style: {
116
+ padding: string;
117
+ };
118
+ isContainer: boolean;
119
+ isBusiObjContainer: boolean;
120
+ cmdgroup: string[];
121
+ platform: string;
122
+ icon: string;
123
+ description: string;
124
+ image: string;
125
+ groupsName: string;
126
+ engineApi: string[];
127
+ setEvents: never[];
128
+ isLabelDropBoxChild: boolean;
129
+ components: {
130
+ id: string;
131
+ label: string;
132
+ compName: string;
133
+ type: string;
134
+ compType: number;
135
+ compLib: string;
136
+ props: {
137
+ name: string;
138
+ basicStatus: number;
139
+ size: string;
140
+ selfSpan: string;
141
+ labelCol: number;
142
+ wrapperCol: number;
143
+ titleTip: string;
144
+ tipSize: string;
145
+ tipWidth: string;
146
+ tipHeight: string;
147
+ required: boolean;
148
+ limitRange: string;
149
+ startTime: string;
150
+ endTime: string;
151
+ format: string;
152
+ timeMode: string;
153
+ pickerType: string;
154
+ placeholder: string;
155
+ customTip: string;
156
+ allowClear: boolean;
157
+ formItemIndex: number;
158
+ fieldName: string;
159
+ };
160
+ style: {};
161
+ isContainer: boolean;
162
+ isBusiObjContainer: boolean;
163
+ cmdgroup: string[];
164
+ platform: string;
165
+ fieldProps: {
166
+ trigger: string;
167
+ valuePropName: string;
168
+ };
169
+ icon: string;
170
+ description: string;
171
+ image: string;
172
+ groupsName: string;
173
+ setEvents: never[];
174
+ isLabelDropBoxChild: boolean;
175
+ components: never[];
176
+ path: string[];
177
+ }[];
178
+ path: string[];
179
+ }[];
180
+ };