@lingxiteam/theme-utils 0.1.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 (128) hide show
  1. package/README.md +83 -0
  2. package/dist/config/Button.d.ts +101 -0
  3. package/dist/config/Button.js +265 -0
  4. package/dist/config/Card.d.ts +137 -0
  5. package/dist/config/Card.js +149 -0
  6. package/dist/config/Cascader.d.ts +179 -0
  7. package/dist/config/Cascader.js +208 -0
  8. package/dist/config/Checkbox.d.ts +161 -0
  9. package/dist/config/Checkbox.js +161 -0
  10. package/dist/config/CheckboxGroup.d.ts +176 -0
  11. package/dist/config/CheckboxGroup.js +184 -0
  12. package/dist/config/Collapse.d.ts +170 -0
  13. package/dist/config/Collapse.js +308 -0
  14. package/dist/config/Container.d.ts +268 -0
  15. package/dist/config/Container.js +288 -0
  16. package/dist/config/DatePicker.d.ts +163 -0
  17. package/dist/config/DatePicker.js +163 -0
  18. package/dist/config/Description.d.ts +97 -0
  19. package/dist/config/Description.js +117 -0
  20. package/dist/config/Divider.d.ts +61 -0
  21. package/dist/config/Divider.js +61 -0
  22. package/dist/config/Form.d.ts +2700 -0
  23. package/dist/config/Form.js +1214 -0
  24. package/dist/config/Icon.d.ts +51 -0
  25. package/dist/config/Icon.js +51 -0
  26. package/dist/config/Input.d.ts +150 -0
  27. package/dist/config/Input.js +150 -0
  28. package/dist/config/InputNumber.d.ts +145 -0
  29. package/dist/config/InputNumber.js +145 -0
  30. package/dist/config/Link.d.ts +123 -0
  31. package/dist/config/Link.js +115 -0
  32. package/dist/config/MultipleSelect.d.ts +158 -0
  33. package/dist/config/MultipleSelect.js +166 -0
  34. package/dist/config/Radio.d.ts +171 -0
  35. package/dist/config/Radio.js +179 -0
  36. package/dist/config/RangePicker.d.ts +165 -0
  37. package/dist/config/RangePicker.js +165 -0
  38. package/dist/config/Select.d.ts +173 -0
  39. package/dist/config/Select.js +181 -0
  40. package/dist/config/StdUpload.d.ts +204 -0
  41. package/dist/config/StdUpload.js +208 -0
  42. package/dist/config/Switch.d.ts +137 -0
  43. package/dist/config/Switch.js +137 -0
  44. package/dist/config/Table.d.ts +398 -0
  45. package/dist/config/Table.js +527 -0
  46. package/dist/config/Tabs.d.ts +170 -0
  47. package/dist/config/Tabs.js +229 -0
  48. package/dist/config/Tag.d.ts +114 -0
  49. package/dist/config/Tag.js +314 -0
  50. package/dist/config/Text.d.ts +30 -0
  51. package/dist/config/Text.js +30 -0
  52. package/dist/config/TextArea.d.ts +142 -0
  53. package/dist/config/TextArea.js +142 -0
  54. package/dist/config/TimePicker.d.ts +164 -0
  55. package/dist/config/TimePicker.js +164 -0
  56. package/dist/config/Tree.d.ts +131 -0
  57. package/dist/config/Tree.js +175 -0
  58. package/dist/config/TreeSelect.d.ts +180 -0
  59. package/dist/config/TreeSelect.js +196 -0
  60. package/dist/css.d.ts +6 -0
  61. package/dist/css.js +121 -0
  62. package/dist/demo.d.ts +5 -0
  63. package/dist/demo.js +79 -0
  64. package/dist/h5config/Accordion.d.ts +338 -0
  65. package/dist/h5config/Accordion.js +445 -0
  66. package/dist/h5config/Button.d.ts +134 -0
  67. package/dist/h5config/Button.js +245 -0
  68. package/dist/h5config/Card.d.ts +268 -0
  69. package/dist/h5config/Card.js +425 -0
  70. package/dist/h5config/DAddressPicker.d.ts +196 -0
  71. package/dist/h5config/DAddressPicker.js +226 -0
  72. package/dist/h5config/DCheckbox.d.ts +203 -0
  73. package/dist/h5config/DCheckbox.js +237 -0
  74. package/dist/h5config/DForm.d.ts +1607 -0
  75. package/dist/h5config/DForm.js +897 -0
  76. package/dist/h5config/DMultiplePicker.d.ts +197 -0
  77. package/dist/h5config/DMultiplePicker.js +231 -0
  78. package/dist/h5config/DformDate.d.ts +199 -0
  79. package/dist/h5config/DformDate.js +229 -0
  80. package/dist/h5config/DformFile.d.ts +186 -0
  81. package/dist/h5config/DformFile.js +198 -0
  82. package/dist/h5config/DformImagePicker.d.ts +138 -0
  83. package/dist/h5config/DformImagePicker.js +150 -0
  84. package/dist/h5config/DformInput.d.ts +188 -0
  85. package/dist/h5config/DformInput.js +218 -0
  86. package/dist/h5config/DformInputNumber.d.ts +173 -0
  87. package/dist/h5config/DformInputNumber.js +203 -0
  88. package/dist/h5config/DformPicker.d.ts +198 -0
  89. package/dist/h5config/DformPicker.js +232 -0
  90. package/dist/h5config/DformRadio.d.ts +203 -0
  91. package/dist/h5config/DformRadio.js +237 -0
  92. package/dist/h5config/DformRangePicker.d.ts +199 -0
  93. package/dist/h5config/DformRangePicker.js +229 -0
  94. package/dist/h5config/DformSelect.d.ts +208 -0
  95. package/dist/h5config/DformSelect.js +260 -0
  96. package/dist/h5config/DformSwitch.d.ts +146 -0
  97. package/dist/h5config/DformSwitch.js +158 -0
  98. package/dist/h5config/DformTextArea.d.ts +184 -0
  99. package/dist/h5config/DformTextArea.js +214 -0
  100. package/dist/h5config/Divider.d.ts +53 -0
  101. package/dist/h5config/Divider.js +90 -0
  102. package/dist/h5config/FilterItems.d.ts +142 -0
  103. package/dist/h5config/FilterItems.js +181 -0
  104. package/dist/h5config/Grid.d.ts +117 -0
  105. package/dist/h5config/Grid.js +154 -0
  106. package/dist/h5config/Icon.d.ts +54 -0
  107. package/dist/h5config/Icon.js +54 -0
  108. package/dist/h5config/Link.d.ts +47 -0
  109. package/dist/h5config/Link.js +47 -0
  110. package/dist/h5config/LoadMore.d.ts +527 -0
  111. package/dist/h5config/LoadMore.js +940 -0
  112. package/dist/h5config/NoticeBarPlus.d.ts +104 -0
  113. package/dist/h5config/NoticeBarPlus.js +129 -0
  114. package/dist/h5config/SearchView.d.ts +128 -0
  115. package/dist/h5config/SearchView.js +163 -0
  116. package/dist/h5config/StaticTabs.d.ts +133 -0
  117. package/dist/h5config/StaticTabs.js +173 -0
  118. package/dist/h5config/Table.d.ts +182 -0
  119. package/dist/h5config/Table.js +566 -0
  120. package/dist/index.d.ts +4 -0
  121. package/dist/index.js +4 -0
  122. package/dist/lx-mobile.d.ts +9 -0
  123. package/dist/lx-mobile.js +153 -0
  124. package/dist/lx.d.ts +6 -0
  125. package/dist/lx.js +112 -0
  126. package/dist/utils.d.ts +12 -0
  127. package/dist/utils.js +65 -0
  128. package/package.json +38 -0
@@ -0,0 +1,181 @@
1
+ export var FilterItems = {
2
+ type: 'FilterItems',
3
+ variable: {
4
+ backgroundColor: {
5
+ type: 'color',
6
+ label: '背景颜色',
7
+ groupsName: '背景颜色'
8
+ },
9
+ borderColor: {
10
+ type: 'color',
11
+ label: '边框颜色',
12
+ groupsName: '边框'
13
+ },
14
+ borderRadius: {
15
+ type: 'px',
16
+ label: '边框圆角',
17
+ groupsName: '边框'
18
+ },
19
+ textColor: {
20
+ type: 'color',
21
+ label: '文本颜色',
22
+ groupsName: '文字'
23
+ },
24
+ fontSize: {
25
+ type: 'px',
26
+ label: '文本尺寸',
27
+ groupsName: '文字'
28
+ },
29
+ lineHeight: {
30
+ type: 'px',
31
+ label: '标题文本行高',
32
+ groupsName: '文字'
33
+ },
34
+ fontWeight: {
35
+ type: 'select',
36
+ label: '标题文本字重',
37
+ groupsName: '文字',
38
+ options: [{
39
+ title: '100',
40
+ value: '100'
41
+ }, {
42
+ title: '200',
43
+ value: '200'
44
+ }, {
45
+ title: '300',
46
+ value: '300'
47
+ }, {
48
+ title: '400',
49
+ value: '400'
50
+ }, {
51
+ title: '500',
52
+ value: '500'
53
+ }]
54
+ },
55
+ iconColor: {
56
+ type: 'color',
57
+ label: '收起图标颜色',
58
+ groupsName: '文字'
59
+ },
60
+ iconCloseColor: {
61
+ type: 'color',
62
+ label: '下拉图标颜色',
63
+ groupsName: '文字'
64
+ },
65
+ iconSize: {
66
+ type: 'px',
67
+ label: '下拉图标尺寸',
68
+ groupsName: '文字'
69
+ }
70
+ },
71
+ groupsName: '高级',
72
+ icon: 'icon-ico-comp-app-FilterItems',
73
+ title: '筛选项',
74
+ defaultValue: [{
75
+ backgroundColor: '#fff',
76
+ borderColor: 'rgba(0,0,0,0)',
77
+ borderRadius: '4px',
78
+ textColor: '#1677ff',
79
+ fontSize: '14px',
80
+ lineHeight: '100%',
81
+ fontWeight: '400',
82
+ iconColor: '#1677ff',
83
+ iconSize: '16px',
84
+ iconCloseColor: 'rgba(0,0,0,0.3)'
85
+ }],
86
+ tpl: "\n .alita-filter-item-content{\n background: backgroundColor;\n font-size: fontSize;\n border-radius: borderRadius;\n border: 1px solid borderColor;\n }\n .alita-filter-item-active-text{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n }\n .alita-filter-item-noraml-icon{\n width: iconSize;\n height: iconSize;\n overflow: hidden;\n }\n .alita-filter-item-icon-up{\n background-image: none;\n width: iconSize;\n height: iconSize;\n position: relative;\n }\n .alita-filter-item-icon-up::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: iconSize;\n height: iconSize;\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Ctitle%3E%E7%BC%96%E7%BB%84%206%3C%2Ftitle%3E%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22%E5%85%B6%E4%BD%99%E7%BB%84%E4%BB%B6%22%20transform%3D%22translate%28-171.000000%2C%20-3340.000000%29%22%3E%3Cg%20id%3D%22%E5%AF%BC%E8%88%AA%E6%A0%8F%EF%BC%9ANavigationBa%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%2836.000000%2C%201199.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%2851.000000%2C%202131.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%2884.000000%2C%2010.000000%29%22%3E%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%2216%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M13.4723603%2C5.99735754%20L8.67496913%2C11.2434071%20C8.53163306%2C11.4065089%208.32501122%2C11.5%208.10787665%2C11.5%20C7.89072486%2C11.5%207.68408225%2C11.4065218%207.54073483%2C11.2434071%20L2.74334363%2C5.99735754%20C2.50915215%2C5.75000397%202.43677915%2C5.38947121%202.55781612%2C5.07103987%20C2.67885308%2C4.75260854%202.97097257%2C4.53024691%203.31046078%2C4.5%20L12.9013205%2C4.5%20C13.2421162%2C4.52895167%2013.5355186%2C4.74998106%2013.6565803%2C5.06974464%20C13.7789495%2C5.38948354%2013.7065888%2C5.74867172%2013.4723603%2C5.99735754%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23BFBFBF%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%20%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-repeat: round;\n transform: translateX(-100%);\n background-size: 100%;\n filter: drop-shadow(iconSize 0 iconCloseColor);\n }\n .alita-filter-item-icon-down{\n background-image: none;\n width: iconSize;\n height: iconSize;\n position: relative;\n }\n .alita-filter-item-icon-down::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: iconSize;\n height: iconSize;\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Ctitle%3E%E7%BC%96%E7%BB%84%206%3C%2Ftitle%3E%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22%E5%85%B6%E4%BD%99%E7%BB%84%E4%BB%B6%22%20transform%3D%22translate%28-295.000000%2C%20-3340.000000%29%22%3E%3Cg%20id%3D%22%E5%AF%BC%E8%88%AA%E6%A0%8F%EF%BC%9ANavigationBa%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%2836.000000%2C%201199.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%28175.000000%2C%202131.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%2892.000000%2C%2018.000000%29%20scale%281%2C%20-1%29%20translate%28-92.000000%2C%20-18.000000%29%20translate%2884.000000%2C%2010.000000%29%22%3E%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%231677ff%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%2216%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M13.4723603%2C5.99735754%20L8.67496913%2C11.2434071%20C8.53163306%2C11.4065089%208.32501122%2C11.5%208.10787665%2C11.5%20C7.89072486%2C11.5%207.68408225%2C11.4065218%207.54073483%2C11.2434071%20L2.74334363%2C5.99735754%20C2.50915215%2C5.75000397%202.43677915%2C5.38947121%202.55781612%2C5.07103987%20C2.67885308%2C4.75260854%202.97097257%2C4.53024691%203.31046078%2C4.5%20L12.9013205%2C4.5%20C13.2421162%2C4.52895167%2013.5355186%2C4.74998106%2013.6565803%2C5.06974464%20C13.7789495%2C5.38948354%2013.7065888%2C5.74867172%2013.4723603%2C5.99735754%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%231677ff%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-repeat: round;\n background-size: 100%;\n transform: translateX(-100%);\n filter: drop-shadow(iconSize 0 iconColor);\n}\n",
87
+ components: [{
88
+ id: 'FilterItems_7957386',
89
+ label: '筛选项',
90
+ compName: 'FilterItems',
91
+ type: 'FilterItems',
92
+ compType: 1,
93
+ compLib: '@alitajs/antd-mobile-plus',
94
+ props: {
95
+ name: '筛选项',
96
+ data: [{
97
+ data: [{
98
+ id: '1',
99
+ label: '任务-1'
100
+ }, {
101
+ id: '2',
102
+ label: '任务-2'
103
+ }, {
104
+ id: '3',
105
+ label: '任务-3'
106
+ }],
107
+ filterId: 'f_1',
108
+ defaultText: '地区'
109
+ }, {
110
+ data: [{
111
+ id: '21',
112
+ label: '任务-21'
113
+ }, {
114
+ id: '22',
115
+ label: '任务-22'
116
+ }, {
117
+ id: '23',
118
+ label: '任务-23'
119
+ }, {
120
+ id: '24',
121
+ label: '任务-24-'
122
+ }],
123
+ filterId: 'f_2',
124
+ defaultText: '商区'
125
+ }, {
126
+ data: [{
127
+ id: '31',
128
+ label: '任务-31'
129
+ }, {
130
+ id: '32',
131
+ label: '任务-32'
132
+ }, {
133
+ id: '33',
134
+ label: '任务-33'
135
+ }],
136
+ filterId: 'f_3'
137
+ }]
138
+ },
139
+ style: {},
140
+ isContainer: false,
141
+ isBusiObjContainer: false,
142
+ cmdgroup: ['basic'],
143
+ platform: 'h5',
144
+ setEvents: [{
145
+ dataName: 'event',
146
+ dataId: 169269946211136930,
147
+ path: [],
148
+ value: 'onItemChange',
149
+ params: [{
150
+ title: '选中数据项',
151
+ value: '$d$',
152
+ name: 'd'
153
+ }],
154
+ children: [{
155
+ dataName: 'action',
156
+ dataId: 169269946396342900,
157
+ todoOptions: ['valueArray'],
158
+ path: [169269946211136930],
159
+ options: {
160
+ compId: 'console',
161
+ compName: 'system',
162
+ id: '5428364',
163
+ pageJsonId: '5788174',
164
+ value: ['13']
165
+ },
166
+ actionObjId: 'console',
167
+ actionObjName: 'system',
168
+ value: 'console',
169
+ children: [],
170
+ elseIfs: []
171
+ }]
172
+ }],
173
+ description: '',
174
+ image: '',
175
+ groupsName: '高级',
176
+ icon: 'FilterItems',
177
+ isLabelDropBoxChild: false,
178
+ components: [],
179
+ path: ['5788174', 'View_5788174_1']
180
+ }]
181
+ };
@@ -0,0 +1,117 @@
1
+ export declare const Grid: {
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
+ lineColor: {
20
+ type: string;
21
+ label: string;
22
+ groupsName: string;
23
+ };
24
+ iconSize: {
25
+ type: string;
26
+ label: string;
27
+ groupsName: string;
28
+ };
29
+ textColor: {
30
+ type: string;
31
+ label: string;
32
+ groupsName: string;
33
+ };
34
+ lineHeight: {
35
+ type: string;
36
+ label: string;
37
+ groupsName: string;
38
+ };
39
+ fontSize: {
40
+ type: string;
41
+ label: string;
42
+ groupsName: string;
43
+ };
44
+ fontWeight: {
45
+ type: string;
46
+ label: string;
47
+ groupsName: string;
48
+ options: {
49
+ title: string;
50
+ value: string;
51
+ }[];
52
+ };
53
+ };
54
+ groupsName: string;
55
+ icon: string;
56
+ title: string;
57
+ defaultValue: {
58
+ backgroundColor: string;
59
+ borderColor: string;
60
+ borderRadius: string;
61
+ lineColor: string;
62
+ iconSize: string;
63
+ textColor: string;
64
+ lineHeight: string;
65
+ fontSize: string;
66
+ fontWeight: string;
67
+ }[];
68
+ tpl: string;
69
+ components: {
70
+ id: string;
71
+ label: string;
72
+ compName: string;
73
+ type: string;
74
+ compType: number;
75
+ compLib: string;
76
+ props: {
77
+ name: string;
78
+ gridData: {
79
+ icon: string;
80
+ text: string;
81
+ }[];
82
+ hasLine: boolean;
83
+ isCarousel: boolean;
84
+ aliasIcon: string;
85
+ aliasText: string;
86
+ maxRow: number;
87
+ columnNum: number;
88
+ square: boolean;
89
+ carouselMaxRow: number;
90
+ };
91
+ style: {};
92
+ isContainer: boolean;
93
+ isBusiObjContainer: boolean;
94
+ cmdgroup: string[];
95
+ platform: string;
96
+ engineApi: string[];
97
+ setEvents: {
98
+ dataName: string;
99
+ dataId: string;
100
+ value: string;
101
+ params: {
102
+ title: string;
103
+ name: string;
104
+ value: string;
105
+ }[];
106
+ path: never[];
107
+ children: never[];
108
+ }[];
109
+ description: string;
110
+ image: string;
111
+ groupsName: string;
112
+ icon: string;
113
+ isLabelDropBoxChild: boolean;
114
+ components: never[];
115
+ path: string[];
116
+ }[];
117
+ };
@@ -0,0 +1,154 @@
1
+ export var Grid = {
2
+ type: 'Grid',
3
+ variable: {
4
+ backgroundColor: {
5
+ type: 'color',
6
+ label: '背景颜色',
7
+ groupsName: '背景颜色'
8
+ },
9
+ borderColor: {
10
+ type: 'color',
11
+ label: '边框颜色',
12
+ groupsName: '边框'
13
+ },
14
+ borderRadius: {
15
+ type: 'px',
16
+ label: '边框圆角',
17
+ groupsName: '边框'
18
+ },
19
+ lineColor: {
20
+ type: 'color',
21
+ label: '分割线颜色',
22
+ groupsName: '边框'
23
+ },
24
+ iconSize: {
25
+ type: 'px',
26
+ label: '图标尺寸',
27
+ groupsName: '文字'
28
+ },
29
+ textColor: {
30
+ type: 'color',
31
+ label: '文本颜色',
32
+ groupsName: '文字'
33
+ },
34
+ lineHeight: {
35
+ type: 'px',
36
+ label: '文本行高',
37
+ groupsName: '文字'
38
+ },
39
+ fontSize: {
40
+ type: 'px',
41
+ label: '文本尺寸',
42
+ groupsName: '文字'
43
+ },
44
+ fontWeight: {
45
+ type: 'select',
46
+ label: '文本字重',
47
+ groupsName: '文字',
48
+ options: [{
49
+ title: '100',
50
+ value: '100'
51
+ }, {
52
+ title: '200',
53
+ value: '200'
54
+ }, {
55
+ title: '300',
56
+ value: '300'
57
+ }, {
58
+ title: '400',
59
+ value: '400'
60
+ }, {
61
+ title: '500',
62
+ value: '500'
63
+ }]
64
+ }
65
+ },
66
+ groupsName: '高级',
67
+ icon: 'icon-ico-comp-app-Grid',
68
+ title: '宫格',
69
+ defaultValue: [{
70
+ backgroundColor: '#fff',
71
+ borderColor: '#ddd',
72
+ borderRadius: '0',
73
+ lineColor: '#ddd',
74
+ iconSize: '25px',
75
+ textColor: '#000',
76
+ lineHeight: '100%',
77
+ fontSize: '12px',
78
+ fontWeight: '400'
79
+ }],
80
+ tpl: "\n .use-app-grid{\n background-color: backgroundColor;\n }\n .am-grid {\n border-radius: borderRadius;\n --adm-font-size-4: fontSize;\n --adm-color-text: textColor\n }\n .am-grid.am-grid-line:not(.am-grid-carousel){\n border:1PX solid borderColor;\n border-bottom:none;\n }\n .am-grid.am-grid-line .am-grid-flex:last-child{\n border-color: borderColor;\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }\n .am-grid.am-grid-line .am-grid-flex:first-child{\n border-top-left-radius: borderRadius;\n }\n .am-grid.am-grid-line .am-grid-flex .am-grid-flex-item:first-child{\n border: none;\n }\n .am-grid.am-grid-line .am-grid-flex{\n border-color: lineColor;\n }\n .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content .am-grid-icon{\n width: iconSize;\n }\n .am-grid .am-grid-flex .am-grid-flex-item .am-grid-item-content .am-grid-item-inner-content .am-grid-text{\n line-height: lineHeight;\n font-weight: fontWeight;\n }",
81
+ components: [{
82
+ id: 'Grid_842271',
83
+ label: '宫格',
84
+ compName: 'Grid',
85
+ type: 'Grid',
86
+ compType: 3,
87
+ compLib: '@/components',
88
+ props: {
89
+ name: '宫格',
90
+ gridData: [{
91
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
92
+ text: '整体清洁'
93
+ }, {
94
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
95
+ text: '汽车清洁'
96
+ }, {
97
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
98
+ text: '垃圾桶清洁'
99
+ }, {
100
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
101
+ text: '家庭除螨'
102
+ }, {
103
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
104
+ text: '干洗衣物'
105
+ }, {
106
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
107
+ text: '家电清洗'
108
+ }, {
109
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
110
+ text: '服务清洁'
111
+ }, {
112
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
113
+ text: '墙壁粉刷'
114
+ }],
115
+ hasLine: true,
116
+ isCarousel: false,
117
+ aliasIcon: 'icon',
118
+ aliasText: 'text',
119
+ maxRow: 0,
120
+ columnNum: 4,
121
+ square: true,
122
+ carouselMaxRow: 2
123
+ },
124
+ style: {},
125
+ isContainer: false,
126
+ isBusiObjContainer: false,
127
+ cmdgroup: ['basic'],
128
+ platform: 'h5',
129
+ engineApi: ['downloadFileByFileCode'],
130
+ setEvents: [{
131
+ dataName: 'event',
132
+ dataId: '74633',
133
+ value: 'onClick',
134
+ params: [{
135
+ title: '数据项',
136
+ name: 'e',
137
+ value: '$e$'
138
+ }, {
139
+ title: '数据索引',
140
+ name: 'index',
141
+ value: '$index$'
142
+ }],
143
+ path: [],
144
+ children: []
145
+ }],
146
+ description: '',
147
+ image: '',
148
+ groupsName: '高级',
149
+ icon: 'Grid',
150
+ isLabelDropBoxChild: false,
151
+ components: [],
152
+ path: ['454426', 'View_454426_1']
153
+ }]
154
+ };
@@ -0,0 +1,54 @@
1
+ export declare const Icon: {
2
+ type: string;
3
+ variable: {
4
+ iconSize: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ };
10
+ groupsName: string;
11
+ icon: string;
12
+ title: string;
13
+ defaultValue: {
14
+ iconSize: string;
15
+ }[];
16
+ tpl: string;
17
+ components: {
18
+ id: string;
19
+ label: string;
20
+ compName: string;
21
+ type: string;
22
+ compType: number;
23
+ compLib: string;
24
+ props: {
25
+ name: string;
26
+ state: string;
27
+ mode: string;
28
+ icon: {
29
+ type: string;
30
+ theme: string;
31
+ fontAddress: string;
32
+ isIconFont: boolean;
33
+ };
34
+ size: string;
35
+ };
36
+ style: {
37
+ border: string;
38
+ };
39
+ isContainer: boolean;
40
+ isBusiObjContainer: boolean;
41
+ cmdgroup: string[];
42
+ platform: string;
43
+ engineApi: string[];
44
+ isInlineBlock: boolean;
45
+ setEvents: never[];
46
+ description: string;
47
+ image: string;
48
+ groupsName: string;
49
+ icon: string;
50
+ isLabelDropBoxChild: boolean;
51
+ components: never[];
52
+ path: string[];
53
+ }[];
54
+ };
@@ -0,0 +1,54 @@
1
+ export var Icon = {
2
+ type: 'Icon',
3
+ variable: {
4
+ iconSize: {
5
+ type: 'px',
6
+ label: '尺寸',
7
+ groupsName: '图标'
8
+ }
9
+ },
10
+ groupsName: '基础',
11
+ icon: 'icon-ico-comp-app-Icon',
12
+ title: '图标',
13
+ defaultValue: [{
14
+ iconSize: '20px'
15
+ }],
16
+ tpl: ".cust-icon-sm{\n width: iconSize;\n height: iconSize;\n font-size: iconSize;\n }",
17
+ components: [{
18
+ id: 'Icon_7464028',
19
+ label: '图标',
20
+ compName: 'Icon',
21
+ type: 'Icon',
22
+ compType: 1,
23
+ compLib: '@/components',
24
+ props: {
25
+ name: '图标',
26
+ state: '1',
27
+ mode: 'normal',
28
+ icon: {
29
+ type: 'check-circle',
30
+ theme: 'outlined',
31
+ fontAddress: '',
32
+ isIconFont: false
33
+ },
34
+ size: 'sm'
35
+ },
36
+ style: {
37
+ border: '0px'
38
+ },
39
+ isContainer: false,
40
+ isBusiObjContainer: false,
41
+ cmdgroup: ['basic'],
42
+ platform: 'h5',
43
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
44
+ isInlineBlock: true,
45
+ setEvents: [],
46
+ description: '',
47
+ image: '',
48
+ groupsName: '基础',
49
+ icon: 'Icon',
50
+ isLabelDropBoxChild: false,
51
+ components: [],
52
+ path: ['769713', 'View_769713_1']
53
+ }]
54
+ };
@@ -0,0 +1,47 @@
1
+ export declare const ALink: {
2
+ type: string;
3
+ variable: {
4
+ textColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ };
10
+ groupsName: string;
11
+ icon: string;
12
+ title: string;
13
+ defaultValue: {
14
+ textColor: string;
15
+ }[];
16
+ tpl: string;
17
+ components: {
18
+ id: string;
19
+ label: string;
20
+ compName: string;
21
+ type: string;
22
+ compType: number;
23
+ compLib: string;
24
+ props: {
25
+ name: string;
26
+ href: string;
27
+ children: string;
28
+ target: string;
29
+ };
30
+ style: {
31
+ textAlign: string;
32
+ };
33
+ isContainer: boolean;
34
+ isBusiObjContainer: boolean;
35
+ cmdgroup: string[];
36
+ platform: string;
37
+ description: string;
38
+ isInlineBlock: boolean;
39
+ image: string;
40
+ groupsName: string;
41
+ icon: string;
42
+ setEvents: never[];
43
+ isLabelDropBoxChild: boolean;
44
+ components: never[];
45
+ path: string[];
46
+ }[];
47
+ };
@@ -0,0 +1,47 @@
1
+ export var ALink = {
2
+ type: 'ALink',
3
+ variable: {
4
+ textColor: {
5
+ type: 'color',
6
+ label: '文本颜色',
7
+ groupsName: '文字'
8
+ }
9
+ },
10
+ groupsName: '基础',
11
+ icon: 'icon-ico-comp-app-ALink',
12
+ title: '超链接',
13
+ defaultValue: [{
14
+ textColor: '#108ee9'
15
+ }],
16
+ tpl: "\n a{\n color: textColor;\n }",
17
+ components: [{
18
+ id: 'ALink_414643',
19
+ label: '超链接',
20
+ compName: 'ALink',
21
+ type: 'ALink',
22
+ compType: 1,
23
+ compLib: 'html',
24
+ props: {
25
+ name: '超链接',
26
+ href: '',
27
+ children: '超链接',
28
+ target: '_self'
29
+ },
30
+ style: {
31
+ textAlign: 'left'
32
+ },
33
+ isContainer: false,
34
+ isBusiObjContainer: false,
35
+ cmdgroup: ['basic'],
36
+ platform: 'h5',
37
+ description: '',
38
+ isInlineBlock: true,
39
+ image: '',
40
+ groupsName: '基础',
41
+ icon: 'ALink',
42
+ setEvents: [],
43
+ isLabelDropBoxChild: false,
44
+ components: [],
45
+ path: ['769713', 'View_769713_1']
46
+ }]
47
+ };