@pisell/private-materials 6.3.33 → 6.3.34
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +23 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +23 -8
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +1 -2
- package/es/components/walletList/index.d.ts +0 -25
- package/es/components/walletList/index.js +98 -66
- package/es/components/walletList/serve.d.ts +4 -0
- package/es/components/walletList/serve.js +46 -13
- package/es/components/walletList/types/index.d.ts +12 -12
- package/es/components/walletList/types/index.js +2 -2
- package/es/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/es/plus/productSelect/CategoryTabs/index.js +6 -3
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/es/plus/productSelect/utils.js +0 -1
- package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/es/plus/walletEditor/WalletEditor.js +316 -0
- package/es/plus/walletEditor/WalletEditor.less +129 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
- package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
- package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/es/plus/walletEditor/index.d.ts +3 -0
- package/es/plus/walletEditor/index.js +3 -0
- package/es/plus/walletEditor/locales.d.ts +126 -0
- package/es/plus/walletEditor/locales.js +143 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletEditor/types.js +1 -0
- package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
- package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
- package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passList/index.js +115 -0
- package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
- package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
- package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/es/plus/walletPassGallery/index.d.ts +6 -0
- package/es/plus/walletPassGallery/index.js +602 -0
- package/es/plus/walletPassGallery/index.less +115 -0
- package/es/plus/walletPassGallery/locales.d.ts +270 -0
- package/es/plus/walletPassGallery/locales.js +279 -0
- package/es/plus/walletPassGallery/serve.d.ts +218 -0
- package/es/plus/walletPassGallery/serve.js +289 -0
- package/es/pro/Login2.0/Login2.js +4 -0
- package/es/pro/Login2.0/locales.js +93 -93
- package/lib/components/index.d.ts +1 -2
- package/lib/components/index.js +0 -3
- package/lib/components/walletList/index.d.ts +0 -25
- package/lib/components/walletList/index.js +90 -51
- package/lib/components/walletList/serve.d.ts +4 -0
- package/lib/components/walletList/serve.js +12 -0
- package/lib/components/walletList/types/index.d.ts +12 -12
- package/lib/index.d.ts +2 -1
- package/lib/index.js +6 -3
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/lib/plus/productSelect/utils.js +0 -1
- package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/lib/plus/walletEditor/WalletEditor.js +354 -0
- package/lib/plus/walletEditor/WalletEditor.less +129 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
- package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/lib/plus/walletEditor/index.d.ts +3 -0
- package/lib/plus/walletEditor/index.js +42 -0
- package/lib/plus/walletEditor/locales.d.ts +126 -0
- package/lib/plus/walletEditor/locales.js +167 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletEditor/types.js +17 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
- package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
- package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/lib/plus/walletPassGallery/index.d.ts +6 -0
- package/lib/plus/walletPassGallery/index.js +498 -0
- package/lib/plus/walletPassGallery/index.less +115 -0
- package/lib/plus/walletPassGallery/locales.d.ts +270 -0
- package/lib/plus/walletPassGallery/locales.js +299 -0
- package/lib/plus/walletPassGallery/serve.d.ts +218 -0
- package/lib/plus/walletPassGallery/serve.js +98 -0
- package/lib/pro/Login2.0/Login2.js +3 -0
- package/lib/pro/Login2.0/locales.js +93 -93
- package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
- package/lowcode/wallet-editor/meta.ts +57 -0
- package/lowcode/wallet-editor/snippets.ts +13 -0
- package/lowcode/wallet-pass-gallery/meta.ts +35 -0
- package/package.json +4 -4
- package/lowcode/wallet/meta.ts +0 -79
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
|
|
2
|
+
|
|
3
|
+
const SortableWalletPassTypesMeta: ComponentMetadata = {
|
|
4
|
+
"componentName": "SortableWalletPassTypes",
|
|
5
|
+
"title": "可排序钱包通行证类型",
|
|
6
|
+
"docUrl": "",
|
|
7
|
+
"screenshot": "",
|
|
8
|
+
"devMode": "proCode",
|
|
9
|
+
"npm": {
|
|
10
|
+
"package": "@pisell/private-materials",
|
|
11
|
+
"version": "1.1.558",
|
|
12
|
+
"exportName": "SortableWalletPassTypes",
|
|
13
|
+
"main": "src/index.ts",
|
|
14
|
+
"destructuring": true,
|
|
15
|
+
"subName": ""
|
|
16
|
+
},
|
|
17
|
+
"configure": {
|
|
18
|
+
"props": [
|
|
19
|
+
{
|
|
20
|
+
"title": {
|
|
21
|
+
"label": {
|
|
22
|
+
"type": "i18n",
|
|
23
|
+
"en-US": "value",
|
|
24
|
+
"zh-CN": "当前值"
|
|
25
|
+
},
|
|
26
|
+
"tip": {
|
|
27
|
+
"type": "i18n",
|
|
28
|
+
"en-US": "Current value of wallet pass types configuration",
|
|
29
|
+
"zh-CN": "钱包通行证类型的当前配置值"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"name": "value",
|
|
33
|
+
"propType": {
|
|
34
|
+
"type": "arrayOf",
|
|
35
|
+
"value": {
|
|
36
|
+
"type": "shape",
|
|
37
|
+
"value": [
|
|
38
|
+
{
|
|
39
|
+
"name": "type",
|
|
40
|
+
"propType": {
|
|
41
|
+
"type": "oneOf",
|
|
42
|
+
"value": ["balance", "point", "voucher", "discount"]
|
|
43
|
+
},
|
|
44
|
+
"description": "钱包通行证类型"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "display",
|
|
48
|
+
"propType": {
|
|
49
|
+
"type": "oneOf",
|
|
50
|
+
"value": [0, 1]
|
|
51
|
+
},
|
|
52
|
+
"description": "是否显示,1表示显示,0表示隐藏"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "custom_title",
|
|
56
|
+
"propType": {
|
|
57
|
+
"type": "shape",
|
|
58
|
+
"value": [
|
|
59
|
+
{
|
|
60
|
+
"name": "original",
|
|
61
|
+
"propType": "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "en",
|
|
65
|
+
"propType": "string"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "zh-CN",
|
|
69
|
+
"propType": "string"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "zh-HK",
|
|
73
|
+
"propType": "string"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"description": "自定义标题,支持多语言"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"setter": ["JsonSetter", "VariableSetter"],
|
|
83
|
+
"defaultValue": [
|
|
84
|
+
{
|
|
85
|
+
"type": "balance",
|
|
86
|
+
"display": 1,
|
|
87
|
+
"custom_title": {
|
|
88
|
+
"original": "Balance",
|
|
89
|
+
"en": "Balance",
|
|
90
|
+
"zh-CN": "余额",
|
|
91
|
+
"zh-HK": "餘額"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "point",
|
|
96
|
+
"display": 1,
|
|
97
|
+
"custom_title": {
|
|
98
|
+
"original": "Points",
|
|
99
|
+
"en": "Points",
|
|
100
|
+
"zh-CN": "积分",
|
|
101
|
+
"zh-HK": "積分"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "voucher",
|
|
106
|
+
"display": 1,
|
|
107
|
+
"custom_title": {
|
|
108
|
+
"original": "Voucher",
|
|
109
|
+
"en": "Voucher",
|
|
110
|
+
"zh-CN": "代金券",
|
|
111
|
+
"zh-HK": "代金券"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "discount",
|
|
116
|
+
"display": 1,
|
|
117
|
+
"custom_title": {
|
|
118
|
+
"original": "Discount",
|
|
119
|
+
"en": "Discount",
|
|
120
|
+
"zh-CN": "折扣券",
|
|
121
|
+
"zh-HK": "折扣券"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"title": {
|
|
128
|
+
"label": {
|
|
129
|
+
"type": "i18n",
|
|
130
|
+
"en-US": "onChange",
|
|
131
|
+
"zh-CN": "变更回调"
|
|
132
|
+
},
|
|
133
|
+
"tip": {
|
|
134
|
+
"type": "i18n",
|
|
135
|
+
"en-US": "Callback function when value changes",
|
|
136
|
+
"zh-CN": "值变化时的回调函数"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"name": "onChange",
|
|
140
|
+
"propType": "func",
|
|
141
|
+
"setter": [
|
|
142
|
+
{
|
|
143
|
+
"componentName": "FunctionSetter",
|
|
144
|
+
"props": {
|
|
145
|
+
"template": "onChange(value,${extParams}){\n// 钱包通行证类型配置变化回调\nconsole.log('value changed:', value);\n}"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"VariableSetter"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"title": {
|
|
153
|
+
"label": {
|
|
154
|
+
"type": "i18n",
|
|
155
|
+
"en-US": "disabled",
|
|
156
|
+
"zh-CN": "禁用"
|
|
157
|
+
},
|
|
158
|
+
"tip": {
|
|
159
|
+
"type": "i18n",
|
|
160
|
+
"en-US": "Whether to disable the component",
|
|
161
|
+
"zh-CN": "是否禁用组件"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"name": "disabled",
|
|
165
|
+
"propType": "bool",
|
|
166
|
+
"setter": ["BoolSetter", "VariableSetter"],
|
|
167
|
+
"defaultValue": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"title": {
|
|
171
|
+
"label": {
|
|
172
|
+
"type": "i18n",
|
|
173
|
+
"en-US": "className",
|
|
174
|
+
"zh-CN": "CSS类名"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"name": "className",
|
|
178
|
+
"propType": "string",
|
|
179
|
+
"setter": ["StringSetter", "VariableSetter"]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"title": {
|
|
183
|
+
"label": {
|
|
184
|
+
"type": "i18n",
|
|
185
|
+
"en-US": "style",
|
|
186
|
+
"zh-CN": "内联样式"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"name": "style",
|
|
190
|
+
"propType": "object",
|
|
191
|
+
"setter": ["JsonSetter", "VariableSetter"]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"supports": {
|
|
195
|
+
"className": true,
|
|
196
|
+
"style": true,
|
|
197
|
+
"events": [
|
|
198
|
+
{
|
|
199
|
+
"name": "onChange",
|
|
200
|
+
"template": "onChange(value,${extParams}){\n// 钱包通行证类型配置变化回调\nconsole.log('value changed:', value);\n}"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
"component": {
|
|
205
|
+
"isContainer": false
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
const snippets: Snippet[] = [
|
|
211
|
+
{
|
|
212
|
+
"title": "可排序钱包通行证类型",
|
|
213
|
+
"screenshot": "",
|
|
214
|
+
"schema": {
|
|
215
|
+
"componentName": "SortableWalletPassTypes",
|
|
216
|
+
"props": {
|
|
217
|
+
"value": [
|
|
218
|
+
{
|
|
219
|
+
"type": "balance",
|
|
220
|
+
"display": 1,
|
|
221
|
+
"custom_title": {
|
|
222
|
+
"original": "Balance",
|
|
223
|
+
"en": "Balance",
|
|
224
|
+
"zh-CN": "余额",
|
|
225
|
+
"zh-HK": "餘額"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"type": "point",
|
|
230
|
+
"display": 1,
|
|
231
|
+
"custom_title": {
|
|
232
|
+
"original": "Points",
|
|
233
|
+
"en": "Points",
|
|
234
|
+
"zh-CN": "积分",
|
|
235
|
+
"zh-HK": "積分"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"type": "voucher",
|
|
240
|
+
"display": 0,
|
|
241
|
+
"custom_title": {
|
|
242
|
+
"original": "Voucher",
|
|
243
|
+
"en": "Voucher",
|
|
244
|
+
"zh-CN": "代金券",
|
|
245
|
+
"zh-HK": "代金券"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "discount",
|
|
250
|
+
"display": 0,
|
|
251
|
+
"custom_title": {
|
|
252
|
+
"original": "Discount",
|
|
253
|
+
"en": "Discount",
|
|
254
|
+
"zh-CN": "折扣券",
|
|
255
|
+
"zh-HK": "折扣券"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
];
|
|
263
|
+
|
|
264
|
+
export default {
|
|
265
|
+
...SortableWalletPassTypesMeta,
|
|
266
|
+
snippets
|
|
267
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ComponentMetadata } from '@alilc/lowcode-types';
|
|
2
|
+
import snippets from './snippets';
|
|
3
|
+
|
|
4
|
+
const WalletEditorMeta: ComponentMetadata = {
|
|
5
|
+
componentName: 'WalletEditor',
|
|
6
|
+
title: '钱包编辑器',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
category: '表单',
|
|
10
|
+
devMode: 'proCode',
|
|
11
|
+
npm: {
|
|
12
|
+
package: '@pisell/private-materials',
|
|
13
|
+
version: '1.0.0',
|
|
14
|
+
exportName: 'WalletEditor',
|
|
15
|
+
main: 'src/index.tsx',
|
|
16
|
+
destructuring: true,
|
|
17
|
+
subName: '',
|
|
18
|
+
},
|
|
19
|
+
props: [],
|
|
20
|
+
configure: {
|
|
21
|
+
props: [
|
|
22
|
+
{
|
|
23
|
+
title: {
|
|
24
|
+
label: '钱包配置值',
|
|
25
|
+
},
|
|
26
|
+
name: 'value',
|
|
27
|
+
propType: 'object',
|
|
28
|
+
setter: 'JsonSetter',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: {
|
|
32
|
+
label: '样式类名',
|
|
33
|
+
},
|
|
34
|
+
name: 'className',
|
|
35
|
+
propType: 'string',
|
|
36
|
+
setter: 'StringSetter',
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
supports: {
|
|
40
|
+
style: true,
|
|
41
|
+
events: [
|
|
42
|
+
{
|
|
43
|
+
name: 'onChange',
|
|
44
|
+
description: '钱包配置变化时的回调',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
component: {
|
|
49
|
+
isContainer: false,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export default {
|
|
55
|
+
...WalletEditorMeta,
|
|
56
|
+
snippets,
|
|
57
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const Meta = {
|
|
2
|
+
componentName: 'WalletPassGallery',
|
|
3
|
+
title: 'WalletPassGallery',
|
|
4
|
+
docUrl: '',
|
|
5
|
+
screenshot: '',
|
|
6
|
+
devMode: 'proCode',
|
|
7
|
+
npm: {
|
|
8
|
+
package: '@pisell/private-materials',
|
|
9
|
+
version: '1.1.558',
|
|
10
|
+
exportName: 'WalletPassGallery',
|
|
11
|
+
main: 'src/index.ts',
|
|
12
|
+
destructuring: true,
|
|
13
|
+
subName: '',
|
|
14
|
+
},
|
|
15
|
+
configure: {
|
|
16
|
+
props: [],
|
|
17
|
+
supports: {},
|
|
18
|
+
component: {},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
const snippets = [
|
|
22
|
+
{
|
|
23
|
+
title: '钱包卡券列表',
|
|
24
|
+
screenshot: '',
|
|
25
|
+
schema: {
|
|
26
|
+
componentName: 'WalletPassGallery',
|
|
27
|
+
props: {},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
export default {
|
|
33
|
+
...Meta,
|
|
34
|
+
snippets,
|
|
35
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.34",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@react-spring/web": "^9.6.1",
|
|
63
63
|
"@use-gesture/react": "^10.3.1",
|
|
64
64
|
"@pisell/icon": "0.0.11",
|
|
65
|
-
"@pisell/
|
|
66
|
-
"@pisell/
|
|
67
|
-
"@pisell/
|
|
65
|
+
"@pisell/date-picker": "3.0.4",
|
|
66
|
+
"@pisell/materials": "6.3.10",
|
|
67
|
+
"@pisell/utils": "3.0.1"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0",
|
package/lowcode/wallet/meta.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
|
|
3
|
-
|
|
4
|
-
const BookingAddonsMeta: ComponentMetadata = {
|
|
5
|
-
"componentName": "Wallet",
|
|
6
|
-
"title": "Wallet",
|
|
7
|
-
"docUrl": "",
|
|
8
|
-
"screenshot": "",
|
|
9
|
-
"devMode": "proCode",
|
|
10
|
-
"npm": {
|
|
11
|
-
"package": "@pisell/private-materials",
|
|
12
|
-
"version": "1.1.558",
|
|
13
|
-
"exportName": "Wallet",
|
|
14
|
-
"main": "src/index.ts",
|
|
15
|
-
"destructuring": true,
|
|
16
|
-
"subName": ""
|
|
17
|
-
},
|
|
18
|
-
"configure": {
|
|
19
|
-
"props": [
|
|
20
|
-
{
|
|
21
|
-
"title": {
|
|
22
|
-
"label": {
|
|
23
|
-
"type": "i18n",
|
|
24
|
-
"en-US": "style",
|
|
25
|
-
"zh-CN": "style"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"name": "style",
|
|
29
|
-
"setter": {
|
|
30
|
-
"componentName": "MixedSetter",
|
|
31
|
-
"isRequired": true,
|
|
32
|
-
"props": {}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"title": {
|
|
37
|
-
"label": {
|
|
38
|
-
"type": "i18n",
|
|
39
|
-
"en-US": "globalState",
|
|
40
|
-
"zh-CN": "globalState"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"name": "globalState",
|
|
44
|
-
"setter": ["JsonSetter", "VariableSetter"],
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"title": {
|
|
48
|
-
"label": {
|
|
49
|
-
"type": "i18n",
|
|
50
|
-
"en-US": "setGlobalState",
|
|
51
|
-
"zh-CN": "setGlobalState"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"name": "setGlobalState",
|
|
55
|
-
"setter": {
|
|
56
|
-
"componentName": "FunctionSetter",
|
|
57
|
-
"isRequired": true
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
"supports": {},
|
|
62
|
-
"component": {}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
const snippets: Snippet[] = [
|
|
66
|
-
{
|
|
67
|
-
"title": "Wallet",
|
|
68
|
-
"screenshot": "",
|
|
69
|
-
"schema": {
|
|
70
|
-
"componentName": "Wallet",
|
|
71
|
-
"props": {}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
];
|
|
75
|
-
|
|
76
|
-
export default {
|
|
77
|
-
...BookingAddonsMeta,
|
|
78
|
-
snippets
|
|
79
|
-
};
|