mall-components 1.0.0
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.
- package/README.md +128 -0
- package/build/_components-raw.css +791 -0
- package/build/_shims/antd.js +1 -0
- package/build/_shims/icons.js +1 -0
- package/build/_shims/moment.js +1 -0
- package/build/_shims/react-dom.js +1 -0
- package/build/_shims/react.js +1 -0
- package/build/adapters/DataSourceAdapter.d.ts +46 -0
- package/build/components/AdminLayout/AdminLayout.d.ts +5 -0
- package/build/components/AdminLayout/Breadcrumb.d.ts +8 -0
- package/build/components/AdminLayout/MainContent.d.ts +17 -0
- package/build/components/AdminLayout/Navbar.d.ts +10 -0
- package/build/components/AdminLayout/Sidebar.d.ts +14 -0
- package/build/components/AdminLayout/TabBar.d.ts +13 -0
- package/build/components/AdminLayout/TabPane.d.ts +4 -0
- package/build/components/AdminLayout/index.d.ts +3 -0
- package/build/components/AdminLayout/types.d.ts +42 -0
- package/build/components/CouponCard/CouponCard.d.ts +20 -0
- package/build/components/CouponCard/index.d.ts +1 -0
- package/build/components/OrderForm/OrderForm.d.ts +18 -0
- package/build/components/OrderForm/index.d.ts +1 -0
- package/build/components/OrderList/OrderList.d.ts +29 -0
- package/build/components/OrderList/index.d.ts +1 -0
- package/build/components/ProductForm/ProductForm.d.ts +18 -0
- package/build/components/ProductForm/index.d.ts +3 -0
- package/build/components/ProductList/ProductList.d.ts +47 -0
- package/build/components/ProductList/index.d.ts +3 -0
- package/build/components/PromotionCard/PromotionCard.d.ts +22 -0
- package/build/components/PromotionCard/index.d.ts +1 -0
- package/build/components/RoleCard/RoleCard.d.ts +18 -0
- package/build/components/RoleCard/index.d.ts +1 -0
- package/build/components/UserCard/UserCard.d.ts +17 -0
- package/build/components/UserCard/index.d.ts +1 -0
- package/build/entry-meta.d.ts +603 -0
- package/build/index.css +1 -0
- package/build/index.js +1 -0
- package/build/mall-components-meta.js +2563 -0
- package/build/mall-components.cdn.umd.css +1 -0
- package/build/mall-components.cdn.umd.js +8 -0
- package/build/mall-components.codesandbox.combined.js +1094 -0
- package/build/mall-components.codesandbox.css +401 -0
- package/build/mall-components.codesandbox.js +1080 -0
- package/build/mall-components.umd.css +1 -0
- package/build/mall-components.umd.js +8 -0
- package/build/meta/adminLayoutMeta.d.ts +3 -0
- package/build/meta/couponCardMeta.d.ts +128 -0
- package/build/meta/icons.d.ts +10 -0
- package/build/meta/orderFormMeta.d.ts +111 -0
- package/build/meta/orderListMeta.d.ts +170 -0
- package/build/meta/productFormMeta.d.ts +3 -0
- package/build/meta/productListMeta.d.ts +200 -0
- package/build/meta/promotionCardMeta.d.ts +129 -0
- package/build/meta/roleCardMeta.d.ts +3 -0
- package/build/meta/tabPaneMeta.d.ts +3 -0
- package/build/meta/userCardMeta.d.ts +3 -0
- package/build/meta.d.ts +605 -0
- package/build/setters/RestApiTester.d.ts +11 -0
- package/build/types/common.d.ts +17 -0
- package/build/types/marketing.d.ts +128 -0
- package/build/types/order.d.ts +174 -0
- package/build/types/permission.d.ts +101 -0
- package/build/types/product.d.ts +47 -0
- package/package.json +1 -0
- package/src/adapters/DataSourceAdapter.ts +445 -0
- package/src/components/AdminLayout/AdminLayout.scss +447 -0
- package/src/components/AdminLayout/AdminLayout.tsx +681 -0
- package/src/components/AdminLayout/Breadcrumb.tsx +60 -0
- package/src/components/AdminLayout/MainContent.tsx +54 -0
- package/src/components/AdminLayout/Navbar.tsx +76 -0
- package/src/components/AdminLayout/Sidebar.tsx +256 -0
- package/src/components/AdminLayout/TabBar.tsx +177 -0
- package/src/components/AdminLayout/TabPane.tsx +29 -0
- package/src/components/AdminLayout/index.ts +3 -0
- package/src/components/AdminLayout/types.ts +46 -0
- package/src/components/CouponCard/CouponCard.scss +55 -0
- package/src/components/CouponCard/CouponCard.tsx +687 -0
- package/src/components/CouponCard/index.ts +1 -0
- package/src/components/OrderForm/OrderForm.scss +148 -0
- package/src/components/OrderForm/OrderForm.tsx +503 -0
- package/src/components/OrderForm/index.ts +1 -0
- package/src/components/OrderList/OrderList.scss +160 -0
- package/src/components/OrderList/OrderList.tsx +885 -0
- package/src/components/OrderList/index.ts +1 -0
- package/src/components/ProductForm/ProductForm.scss +23 -0
- package/src/components/ProductForm/ProductForm.tsx +442 -0
- package/src/components/ProductForm/index.ts +3 -0
- package/src/components/ProductList/ProductList.scss +293 -0
- package/src/components/ProductList/ProductList.tsx +454 -0
- package/src/components/ProductList/index.ts +3 -0
- package/src/components/PromotionCard/PromotionCard.scss +71 -0
- package/src/components/PromotionCard/PromotionCard.tsx +579 -0
- package/src/components/PromotionCard/index.ts +1 -0
- package/src/components/RoleCard/RoleCard.scss +77 -0
- package/src/components/RoleCard/RoleCard.tsx +463 -0
- package/src/components/RoleCard/index.ts +1 -0
- package/src/components/UserCard/UserCard.scss +51 -0
- package/src/components/UserCard/UserCard.tsx +432 -0
- package/src/components/UserCard/index.ts +1 -0
- package/src/entry-components.ts +39 -0
- package/src/entry-meta.ts +23 -0
- package/src/index.scss +4 -0
- package/src/index.ts +36 -0
- package/src/index.tsx +17 -0
- package/src/meta/adminLayoutMeta.ts +154 -0
- package/src/meta/couponCardMeta.ts +287 -0
- package/src/meta/icons.ts +41 -0
- package/src/meta/orderFormMeta.ts +279 -0
- package/src/meta/orderListMeta.ts +443 -0
- package/src/meta/productFormMeta.ts +253 -0
- package/src/meta/productListMeta.ts +434 -0
- package/src/meta/promotionCardMeta.ts +276 -0
- package/src/meta/roleCardMeta.ts +142 -0
- package/src/meta/tabPaneMeta.ts +69 -0
- package/src/meta/userCardMeta.ts +128 -0
- package/src/meta.ts +25 -0
- package/src/setters/RestApiTester.tsx +219 -0
- package/src/shims/require.js +8 -0
- package/src/types/common.ts +19 -0
- package/src/types/marketing.ts +124 -0
- package/src/types/order.ts +169 -0
- package/src/types/permission.ts +102 -0
- package/src/types/product.ts +49 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
declare const orderListMeta: {
|
|
2
|
+
componentName: string;
|
|
3
|
+
title: string;
|
|
4
|
+
docUrl: string;
|
|
5
|
+
screenshot: string;
|
|
6
|
+
npm: {
|
|
7
|
+
package: string;
|
|
8
|
+
version: string;
|
|
9
|
+
exportName: string;
|
|
10
|
+
destructuring: boolean;
|
|
11
|
+
};
|
|
12
|
+
props: ({
|
|
13
|
+
name: string;
|
|
14
|
+
propType: string;
|
|
15
|
+
description: string;
|
|
16
|
+
defaultValue: string;
|
|
17
|
+
} | {
|
|
18
|
+
name: string;
|
|
19
|
+
propType: string;
|
|
20
|
+
description: string;
|
|
21
|
+
defaultValue?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
name: string;
|
|
24
|
+
propType: string;
|
|
25
|
+
description: string;
|
|
26
|
+
defaultValue: boolean;
|
|
27
|
+
} | {
|
|
28
|
+
name: string;
|
|
29
|
+
propType: string;
|
|
30
|
+
description: string;
|
|
31
|
+
defaultValue: number;
|
|
32
|
+
})[];
|
|
33
|
+
configure: {
|
|
34
|
+
supports: {
|
|
35
|
+
style: boolean;
|
|
36
|
+
events: {
|
|
37
|
+
name: string;
|
|
38
|
+
description: string;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
props: ({
|
|
42
|
+
type: string;
|
|
43
|
+
title: string;
|
|
44
|
+
display: string;
|
|
45
|
+
items: ({
|
|
46
|
+
name: string;
|
|
47
|
+
title: string;
|
|
48
|
+
setter: {
|
|
49
|
+
componentName: string;
|
|
50
|
+
props: {
|
|
51
|
+
options: {
|
|
52
|
+
label: string;
|
|
53
|
+
value: string;
|
|
54
|
+
}[];
|
|
55
|
+
rows?: undefined;
|
|
56
|
+
placeholder?: undefined;
|
|
57
|
+
setters?: undefined;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
extraProps: {
|
|
61
|
+
display: string;
|
|
62
|
+
};
|
|
63
|
+
condition?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
name: string;
|
|
66
|
+
title: string;
|
|
67
|
+
setter: {
|
|
68
|
+
componentName: string;
|
|
69
|
+
props: {
|
|
70
|
+
rows: number;
|
|
71
|
+
placeholder: string;
|
|
72
|
+
options?: undefined;
|
|
73
|
+
setters?: undefined;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
extraProps: {
|
|
77
|
+
display: string;
|
|
78
|
+
};
|
|
79
|
+
condition: (target: any) => boolean;
|
|
80
|
+
} | {
|
|
81
|
+
name: string;
|
|
82
|
+
title: string;
|
|
83
|
+
setter: {
|
|
84
|
+
componentName: string;
|
|
85
|
+
props: {
|
|
86
|
+
setters: string[];
|
|
87
|
+
options?: undefined;
|
|
88
|
+
rows?: undefined;
|
|
89
|
+
placeholder?: undefined;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
extraProps: {
|
|
93
|
+
display: string;
|
|
94
|
+
};
|
|
95
|
+
condition: (target: any) => boolean;
|
|
96
|
+
})[];
|
|
97
|
+
} | {
|
|
98
|
+
type: string;
|
|
99
|
+
title: string;
|
|
100
|
+
display: string;
|
|
101
|
+
items: {
|
|
102
|
+
name: string;
|
|
103
|
+
title: string;
|
|
104
|
+
setter: string;
|
|
105
|
+
extraProps: {
|
|
106
|
+
display: string;
|
|
107
|
+
};
|
|
108
|
+
}[];
|
|
109
|
+
} | {
|
|
110
|
+
type: string;
|
|
111
|
+
title: string;
|
|
112
|
+
display: string;
|
|
113
|
+
items: {
|
|
114
|
+
name: string;
|
|
115
|
+
title: string;
|
|
116
|
+
setter: {
|
|
117
|
+
componentName: string;
|
|
118
|
+
props: {
|
|
119
|
+
min: number;
|
|
120
|
+
max: number;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
extraProps: {
|
|
124
|
+
display: string;
|
|
125
|
+
};
|
|
126
|
+
}[];
|
|
127
|
+
})[];
|
|
128
|
+
};
|
|
129
|
+
icon: import("@types/react").CElement<{}, import("@types/react").Component<{}, any, any>> | null;
|
|
130
|
+
category: string;
|
|
131
|
+
group: string;
|
|
132
|
+
snippets: ({
|
|
133
|
+
title: string;
|
|
134
|
+
schema: {
|
|
135
|
+
componentName: string;
|
|
136
|
+
props: {
|
|
137
|
+
dataSourceType: string;
|
|
138
|
+
mockData: string;
|
|
139
|
+
showFilter: boolean;
|
|
140
|
+
showStatusFilter: boolean;
|
|
141
|
+
showSearch: boolean;
|
|
142
|
+
showDatePicker: boolean;
|
|
143
|
+
showActions: boolean;
|
|
144
|
+
showBatchOperations: boolean;
|
|
145
|
+
showExport: boolean;
|
|
146
|
+
showPagination: boolean;
|
|
147
|
+
defaultPageSize: number;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
} | {
|
|
151
|
+
title: string;
|
|
152
|
+
schema: {
|
|
153
|
+
componentName: string;
|
|
154
|
+
props: {
|
|
155
|
+
dataSourceType: string;
|
|
156
|
+
mockData: string;
|
|
157
|
+
showFilter: boolean;
|
|
158
|
+
showActions: boolean;
|
|
159
|
+
showBatchOperations: boolean;
|
|
160
|
+
showExport: boolean;
|
|
161
|
+
showPagination: boolean;
|
|
162
|
+
defaultPageSize: number;
|
|
163
|
+
showStatusFilter?: undefined;
|
|
164
|
+
showSearch?: undefined;
|
|
165
|
+
showDatePicker?: undefined;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
})[];
|
|
169
|
+
};
|
|
170
|
+
export default orderListMeta;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
componentName: string;
|
|
3
|
+
title: string;
|
|
4
|
+
docUrl: string;
|
|
5
|
+
screenshot: string;
|
|
6
|
+
npm: {
|
|
7
|
+
package: string;
|
|
8
|
+
version: string;
|
|
9
|
+
exportName: string;
|
|
10
|
+
destructuring: boolean;
|
|
11
|
+
};
|
|
12
|
+
props: ({
|
|
13
|
+
name: string;
|
|
14
|
+
propType: string;
|
|
15
|
+
description: string;
|
|
16
|
+
defaultValue: string;
|
|
17
|
+
} | {
|
|
18
|
+
name: string;
|
|
19
|
+
propType: string;
|
|
20
|
+
description: string;
|
|
21
|
+
defaultValue?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
name: string;
|
|
24
|
+
propType: string;
|
|
25
|
+
description: string;
|
|
26
|
+
defaultValue: boolean;
|
|
27
|
+
})[];
|
|
28
|
+
configure: {
|
|
29
|
+
supports: {
|
|
30
|
+
style: boolean;
|
|
31
|
+
events: {
|
|
32
|
+
name: string;
|
|
33
|
+
description: string;
|
|
34
|
+
}[];
|
|
35
|
+
};
|
|
36
|
+
props: ({
|
|
37
|
+
type: string;
|
|
38
|
+
title: string;
|
|
39
|
+
display: string;
|
|
40
|
+
items: ({
|
|
41
|
+
name: string;
|
|
42
|
+
title: string;
|
|
43
|
+
setter: {
|
|
44
|
+
componentName: string;
|
|
45
|
+
props: {
|
|
46
|
+
options: {
|
|
47
|
+
label: string;
|
|
48
|
+
value: string;
|
|
49
|
+
}[];
|
|
50
|
+
rows?: undefined;
|
|
51
|
+
placeholder?: undefined;
|
|
52
|
+
setters?: undefined;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
extraProps: {
|
|
56
|
+
display: string;
|
|
57
|
+
};
|
|
58
|
+
condition?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
name: string;
|
|
61
|
+
title: string;
|
|
62
|
+
setter: {
|
|
63
|
+
componentName: string;
|
|
64
|
+
props: {
|
|
65
|
+
rows: number;
|
|
66
|
+
placeholder: string;
|
|
67
|
+
options?: undefined;
|
|
68
|
+
setters?: undefined;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
extraProps: {
|
|
72
|
+
display: string;
|
|
73
|
+
};
|
|
74
|
+
condition: (target: any) => boolean;
|
|
75
|
+
} | {
|
|
76
|
+
name: string;
|
|
77
|
+
title: string;
|
|
78
|
+
setter: {
|
|
79
|
+
componentName: string;
|
|
80
|
+
props: {
|
|
81
|
+
setters: string[];
|
|
82
|
+
options?: undefined;
|
|
83
|
+
rows?: undefined;
|
|
84
|
+
placeholder?: undefined;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
extraProps: {
|
|
88
|
+
display: string;
|
|
89
|
+
};
|
|
90
|
+
condition: (target: any) => boolean;
|
|
91
|
+
})[];
|
|
92
|
+
} | {
|
|
93
|
+
type: string;
|
|
94
|
+
title: string;
|
|
95
|
+
display: string;
|
|
96
|
+
items: {
|
|
97
|
+
name: string;
|
|
98
|
+
title: string;
|
|
99
|
+
setter: string;
|
|
100
|
+
extraProps: {
|
|
101
|
+
display: string;
|
|
102
|
+
};
|
|
103
|
+
}[];
|
|
104
|
+
} | {
|
|
105
|
+
type: string;
|
|
106
|
+
title: string;
|
|
107
|
+
display: string;
|
|
108
|
+
items: {
|
|
109
|
+
name: string;
|
|
110
|
+
title: string;
|
|
111
|
+
setter: {
|
|
112
|
+
componentName: string;
|
|
113
|
+
props: {
|
|
114
|
+
item: {
|
|
115
|
+
setters: {
|
|
116
|
+
componentName: string;
|
|
117
|
+
props: {
|
|
118
|
+
config: {
|
|
119
|
+
items: ({
|
|
120
|
+
name: string;
|
|
121
|
+
description: string;
|
|
122
|
+
setter: string;
|
|
123
|
+
} | {
|
|
124
|
+
name: string;
|
|
125
|
+
description: string;
|
|
126
|
+
setter: {
|
|
127
|
+
componentName: string;
|
|
128
|
+
props: {
|
|
129
|
+
options: {
|
|
130
|
+
label: string;
|
|
131
|
+
value: string;
|
|
132
|
+
}[];
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
})[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}[];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
extraProps: {
|
|
143
|
+
display: string;
|
|
144
|
+
};
|
|
145
|
+
}[];
|
|
146
|
+
})[];
|
|
147
|
+
};
|
|
148
|
+
icon: import("@types/react").CElement<{}, import("@types/react").Component<{}, any, any>> | null;
|
|
149
|
+
category: string;
|
|
150
|
+
group: string;
|
|
151
|
+
snippets: ({
|
|
152
|
+
title: string;
|
|
153
|
+
schema: {
|
|
154
|
+
componentName: string;
|
|
155
|
+
props: {
|
|
156
|
+
dataSourceType: string;
|
|
157
|
+
mockData: string;
|
|
158
|
+
showFilter: boolean;
|
|
159
|
+
showAction: boolean;
|
|
160
|
+
showSelection: boolean;
|
|
161
|
+
showOperation: boolean;
|
|
162
|
+
showStatus: boolean;
|
|
163
|
+
showPagination: boolean;
|
|
164
|
+
actionButtons: ({
|
|
165
|
+
text: string;
|
|
166
|
+
icon: string;
|
|
167
|
+
type: string;
|
|
168
|
+
onClick: string;
|
|
169
|
+
} | {
|
|
170
|
+
text: string;
|
|
171
|
+
icon: string;
|
|
172
|
+
type: string;
|
|
173
|
+
onClick?: undefined;
|
|
174
|
+
})[];
|
|
175
|
+
batchOperations: {
|
|
176
|
+
text: string;
|
|
177
|
+
value: string;
|
|
178
|
+
}[];
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
} | {
|
|
182
|
+
title: string;
|
|
183
|
+
schema: {
|
|
184
|
+
componentName: string;
|
|
185
|
+
props: {
|
|
186
|
+
dataSourceType: string;
|
|
187
|
+
mockData: string;
|
|
188
|
+
showFilter: boolean;
|
|
189
|
+
showAction: boolean;
|
|
190
|
+
showSelection: boolean;
|
|
191
|
+
showOperation: boolean;
|
|
192
|
+
showStatus: boolean;
|
|
193
|
+
showPagination: boolean;
|
|
194
|
+
actionButtons?: undefined;
|
|
195
|
+
batchOperations?: undefined;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
})[];
|
|
199
|
+
};
|
|
200
|
+
export default _default;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
declare const promotionCardMeta: {
|
|
2
|
+
componentName: string;
|
|
3
|
+
title: string;
|
|
4
|
+
docUrl: string;
|
|
5
|
+
screenshot: string;
|
|
6
|
+
devMode: string;
|
|
7
|
+
npm: {
|
|
8
|
+
package: string;
|
|
9
|
+
version: string;
|
|
10
|
+
exportName: string;
|
|
11
|
+
main: string;
|
|
12
|
+
destructuring: boolean;
|
|
13
|
+
subName: string;
|
|
14
|
+
};
|
|
15
|
+
category: string;
|
|
16
|
+
group: string;
|
|
17
|
+
icon: import("@types/react").CElement<{}, import("@types/react").Component<{}, any, any>> | null;
|
|
18
|
+
props: ({
|
|
19
|
+
name: string;
|
|
20
|
+
propType: string;
|
|
21
|
+
description: string;
|
|
22
|
+
defaultValue: string;
|
|
23
|
+
} | {
|
|
24
|
+
name: string;
|
|
25
|
+
propType: string;
|
|
26
|
+
description: string;
|
|
27
|
+
defaultValue?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
name: string;
|
|
30
|
+
propType: string;
|
|
31
|
+
description: string;
|
|
32
|
+
defaultValue: boolean;
|
|
33
|
+
})[];
|
|
34
|
+
configure: {
|
|
35
|
+
supports: {
|
|
36
|
+
style: boolean;
|
|
37
|
+
className: boolean;
|
|
38
|
+
events: {
|
|
39
|
+
name: string;
|
|
40
|
+
description: string;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
props: ({
|
|
44
|
+
type: string;
|
|
45
|
+
title: string;
|
|
46
|
+
display: string;
|
|
47
|
+
items: ({
|
|
48
|
+
name: string;
|
|
49
|
+
title: string;
|
|
50
|
+
setter: {
|
|
51
|
+
componentName: string;
|
|
52
|
+
props: {
|
|
53
|
+
options: {
|
|
54
|
+
label: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}[];
|
|
57
|
+
rows?: undefined;
|
|
58
|
+
placeholder?: undefined;
|
|
59
|
+
setters?: undefined;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
extraProps: {
|
|
63
|
+
display: string;
|
|
64
|
+
};
|
|
65
|
+
condition?: undefined;
|
|
66
|
+
} | {
|
|
67
|
+
name: string;
|
|
68
|
+
title: string;
|
|
69
|
+
setter: {
|
|
70
|
+
componentName: string;
|
|
71
|
+
props: {
|
|
72
|
+
rows: number;
|
|
73
|
+
placeholder: string;
|
|
74
|
+
options?: undefined;
|
|
75
|
+
setters?: undefined;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
extraProps: {
|
|
79
|
+
display: string;
|
|
80
|
+
};
|
|
81
|
+
condition: (target: any) => boolean;
|
|
82
|
+
} | {
|
|
83
|
+
name: string;
|
|
84
|
+
title: string;
|
|
85
|
+
setter: {
|
|
86
|
+
componentName: string;
|
|
87
|
+
props: {
|
|
88
|
+
setters: string[];
|
|
89
|
+
options?: undefined;
|
|
90
|
+
rows?: undefined;
|
|
91
|
+
placeholder?: undefined;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
extraProps: {
|
|
95
|
+
display: string;
|
|
96
|
+
};
|
|
97
|
+
condition: (target: any) => boolean;
|
|
98
|
+
})[];
|
|
99
|
+
} | {
|
|
100
|
+
type: string;
|
|
101
|
+
title: string;
|
|
102
|
+
display: string;
|
|
103
|
+
items: {
|
|
104
|
+
name: string;
|
|
105
|
+
title: string;
|
|
106
|
+
setter: string;
|
|
107
|
+
extraProps: {
|
|
108
|
+
display: string;
|
|
109
|
+
};
|
|
110
|
+
}[];
|
|
111
|
+
})[];
|
|
112
|
+
};
|
|
113
|
+
snippets: {
|
|
114
|
+
title: string;
|
|
115
|
+
screenshot: string;
|
|
116
|
+
schema: {
|
|
117
|
+
componentName: string;
|
|
118
|
+
props: {
|
|
119
|
+
dataSourceType: string;
|
|
120
|
+
mockData: string;
|
|
121
|
+
showCreateButton: boolean;
|
|
122
|
+
showFilter: boolean;
|
|
123
|
+
showStatistics: boolean;
|
|
124
|
+
showTimeline: boolean;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}[];
|
|
128
|
+
};
|
|
129
|
+
export default promotionCardMeta;
|