@pisell/private-materials 6.3.33 → 6.3.35

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 (175) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -8
  11. package/es/components/booking/addons/model.d.ts +10 -1
  12. package/es/components/booking/components/customSelect/index.js +18 -3
  13. package/es/components/booking/forms/model.d.ts +10 -1
  14. package/es/components/booking/info/model.d.ts +10 -1
  15. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  16. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  17. package/es/components/booking/model.d.ts +9 -1
  18. package/es/components/booking/notes/model.d.ts +10 -1
  19. package/es/components/booking/payments/model.d.ts +10 -1
  20. package/es/components/index.d.ts +1 -2
  21. package/es/components/index.js +1 -2
  22. package/es/components/pay/toC/model.d.ts +9 -1
  23. package/es/components/schedules/model.d.ts +9 -1
  24. package/es/components/wallet/Detail/model.d.ts +13 -1
  25. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  26. package/es/components/wallet/PointCard/model.d.ts +13 -1
  27. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  28. package/es/components/wallet/Voucher/model.d.ts +13 -1
  29. package/es/components/wallet/model.d.ts +9 -1
  30. package/es/components/walletList/index.d.ts +0 -25
  31. package/es/components/walletList/index.js +98 -66
  32. package/es/components/walletList/serve.d.ts +4 -0
  33. package/es/components/walletList/serve.js +46 -13
  34. package/es/components/walletList/types/index.d.ts +12 -12
  35. package/es/components/walletList/types/index.js +2 -2
  36. package/es/index.d.ts +2 -1
  37. package/es/index.js +2 -1
  38. package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  39. package/es/plus/productSelect/CategoryTabs/index.js +6 -3
  40. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  41. package/es/plus/productSelect/utils.js +0 -1
  42. package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
  43. package/es/plus/walletEditor/WalletEditor.js +316 -0
  44. package/es/plus/walletEditor/WalletEditor.less +129 -0
  45. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  46. package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
  47. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  48. package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
  49. package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
  50. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  51. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
  52. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  53. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  54. package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
  55. package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
  56. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  57. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
  58. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  59. package/es/plus/walletEditor/index.d.ts +3 -0
  60. package/es/plus/walletEditor/index.js +3 -0
  61. package/es/plus/walletEditor/locales.d.ts +126 -0
  62. package/es/plus/walletEditor/locales.js +143 -0
  63. package/es/plus/walletEditor/types.d.ts +52 -0
  64. package/es/plus/walletEditor/types.js +1 -0
  65. package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  66. package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
  67. package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
  68. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  69. package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
  70. package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
  71. package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  72. package/es/plus/walletPassGallery/components/passList/index.js +115 -0
  73. package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  74. package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
  75. package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
  76. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  77. package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
  78. package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  79. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  80. package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
  81. package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
  82. package/es/plus/walletPassGallery/index.d.ts +6 -0
  83. package/es/plus/walletPassGallery/index.js +602 -0
  84. package/es/plus/walletPassGallery/index.less +115 -0
  85. package/es/plus/walletPassGallery/locales.d.ts +270 -0
  86. package/es/plus/walletPassGallery/locales.js +279 -0
  87. package/es/plus/walletPassGallery/serve.d.ts +218 -0
  88. package/es/plus/walletPassGallery/serve.js +289 -0
  89. package/es/pro/Login2.0/Login2.js +8 -1
  90. package/es/pro/Login2.0/locales.js +93 -93
  91. package/lib/components/booking/addons/model.d.ts +10 -1
  92. package/lib/components/booking/components/customSelect/index.js +22 -3
  93. package/lib/components/booking/forms/model.d.ts +10 -1
  94. package/lib/components/booking/info/model.d.ts +10 -1
  95. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  96. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  97. package/lib/components/booking/model.d.ts +9 -1
  98. package/lib/components/booking/notes/model.d.ts +10 -1
  99. package/lib/components/booking/payments/model.d.ts +10 -1
  100. package/lib/components/index.d.ts +1 -2
  101. package/lib/components/index.js +0 -3
  102. package/lib/components/pay/toC/model.d.ts +9 -1
  103. package/lib/components/schedules/model.d.ts +9 -1
  104. package/lib/components/wallet/Detail/model.d.ts +13 -1
  105. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  106. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  107. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  108. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  109. package/lib/components/wallet/model.d.ts +9 -1
  110. package/lib/components/walletList/index.d.ts +0 -25
  111. package/lib/components/walletList/index.js +90 -51
  112. package/lib/components/walletList/serve.d.ts +4 -0
  113. package/lib/components/walletList/serve.js +12 -0
  114. package/lib/components/walletList/types/index.d.ts +12 -12
  115. package/lib/index.d.ts +2 -1
  116. package/lib/index.js +6 -3
  117. package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  118. package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
  119. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  120. package/lib/plus/productSelect/utils.js +0 -1
  121. package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
  122. package/lib/plus/walletEditor/WalletEditor.js +354 -0
  123. package/lib/plus/walletEditor/WalletEditor.less +129 -0
  124. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  125. package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
  126. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  127. package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
  128. package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
  129. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  130. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
  131. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  132. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  133. package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
  134. package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
  135. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  136. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
  137. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  138. package/lib/plus/walletEditor/index.d.ts +3 -0
  139. package/lib/plus/walletEditor/index.js +42 -0
  140. package/lib/plus/walletEditor/locales.d.ts +126 -0
  141. package/lib/plus/walletEditor/locales.js +167 -0
  142. package/lib/plus/walletEditor/types.d.ts +52 -0
  143. package/lib/plus/walletEditor/types.js +17 -0
  144. package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  145. package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
  146. package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
  147. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  148. package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
  149. package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
  150. package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  151. package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
  152. package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  153. package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
  154. package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
  155. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  156. package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
  157. package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  158. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  159. package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
  160. package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
  161. package/lib/plus/walletPassGallery/index.d.ts +6 -0
  162. package/lib/plus/walletPassGallery/index.js +498 -0
  163. package/lib/plus/walletPassGallery/index.less +115 -0
  164. package/lib/plus/walletPassGallery/locales.d.ts +270 -0
  165. package/lib/plus/walletPassGallery/locales.js +299 -0
  166. package/lib/plus/walletPassGallery/serve.d.ts +218 -0
  167. package/lib/plus/walletPassGallery/serve.js +98 -0
  168. package/lib/pro/Login2.0/Login2.js +6 -0
  169. package/lib/pro/Login2.0/locales.js +93 -93
  170. package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
  171. package/lowcode/wallet-editor/meta.ts +57 -0
  172. package/lowcode/wallet-editor/snippets.ts +13 -0
  173. package/lowcode/wallet-pass-gallery/meta.ts +35 -0
  174. package/package.json +3 -3
  175. 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,13 @@
1
+ import { Snippet } from '@alilc/lowcode-types';
2
+
3
+ const snippets: any[] = [
4
+ {
5
+ title: '钱包编辑器',
6
+ screenshot: '',
7
+ schema: {
8
+ componentName: 'WalletEditor'
9
+ },
10
+ },
11
+ ];
12
+
13
+ export default snippets;
@@ -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.33",
3
+ "version": "6.3.35",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -61,9 +61,9 @@
61
61
  "decimal.js": "^10.4.3",
62
62
  "@react-spring/web": "^9.6.1",
63
63
  "@use-gesture/react": "^10.3.1",
64
- "@pisell/icon": "0.0.11",
65
- "@pisell/materials": "6.3.9",
66
64
  "@pisell/utils": "3.0.1",
65
+ "@pisell/icon": "0.0.11",
66
+ "@pisell/materials": "6.3.10",
67
67
  "@pisell/date-picker": "3.0.4"
68
68
  },
69
69
  "peerDependencies": {
@@ -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
- };