@pisell/private-materials 6.12.338 → 6.12.342

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 (44) 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/meta.js +1 -1
  5. package/build/lowcode/preview.js +1 -1
  6. package/es/components/bigSale/components/BookingFloatingPanel/useBookingPanelController.js +0 -1
  7. package/es/components/bigSale/components/ProductList/index.js +0 -1
  8. package/es/components/bigSale/components/TimeBar/index.js +0 -1
  9. package/es/components/bigSale/dialog.js +0 -1
  10. package/es/components/bigSale/hooks/useBigSaleContext.js +0 -1
  11. package/es/components/bigSale/hooks/useSelectFloorMapResourceForBigSale.js +0 -1
  12. package/es/components/bigSale/index.js +0 -1
  13. package/es/components/bigSale/templates/Kiosk/index.js +0 -1
  14. package/es/components/sharedSecondaryBigSale/SharedSecondaryBigSaleReceiver.js +0 -1
  15. package/es/index.js +0 -2
  16. package/es/plus/multiCurrencySettlement/index.js +1 -1
  17. package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
  18. package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
  19. package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
  20. package/es/plus/saasDevice/devicePasscodes/model.js +4 -4
  21. package/es/plus/saleDetail/Base.js +0 -1
  22. package/es/plus/saleDetail/components/Client/hooks/useClientSelectorProps.js +0 -1
  23. package/es/plus/saleDetail/components/DetailActions/PrintAction.js +0 -1
  24. package/es/plus/saleDetail/components/DetailActions/index.js +0 -1
  25. package/es/plus/saleDetail/components/SummaryFinancialSections/index.js +0 -1
  26. package/es/plus/saleDetail/index.js +0 -1
  27. package/es/plus/saleDetail/tmpl/B/components/Dish/index.js +0 -1
  28. package/es/plus/saleDetail/tmpl/B/components/Forms/index.less +51 -0
  29. package/es/plus/saleDetail/tmpl/B/index.js +0 -1
  30. package/es/plus/salesSdk/utils/addProductWithFlowDebounced.js +1 -1
  31. package/es/plus/salesSdk/utils/bookingDate.js +1 -1
  32. package/es/plus/salesSdk/utils/enrichCartLineHolderDisplay.js +1 -1
  33. package/es/plus/walletPassGallery/components/timelineSection/index.js +4 -4
  34. package/es/private-materials/lowcode/authmodal/meta.d.ts +1 -0
  35. package/es/pro/Login2.0/AuthModal.d.ts +1 -1
  36. package/es/pro/Login2.0/index.d.ts +2 -2
  37. package/es/pro/Login2.0/shared/types.d.ts +1 -1
  38. package/lib/plus/saleDetail/tmpl/B/components/Forms/index.less +51 -0
  39. package/lowcode/allergy-selection-modal/meta.ts +451 -0
  40. package/lowcode/huifu-kiosk-panel/meta.ts +351 -0
  41. package/lowcode/pos-permission/meta.ts +233 -0
  42. package/package.json +3 -3
  43. package/es/plus/pisellReservation/index.js +0 -17
  44. package/es/plus/salesSdk/index.js +0 -54
@@ -0,0 +1,451 @@
1
+
2
+ import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
3
+
4
+ const AllergySelectionModalMeta: ComponentMetadata = {
5
+ "componentName": "AllergySelectionModal",
6
+ "title": "AllergySelectionModal",
7
+ "docUrl": "",
8
+ "screenshot": "",
9
+ "devMode": "proCode",
10
+ "npm": {
11
+ "package": "@pisell/private-materials",
12
+ "version": "1.10.81",
13
+ "exportName": "AllergySelectionModal",
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": "requirement",
25
+ "zh-CN": "requirement"
26
+ }
27
+ },
28
+ "name": "requirement",
29
+ "setter": {
30
+ "componentName": "ObjectSetter",
31
+ "props": {
32
+ "config": {
33
+ "items": [
34
+ {
35
+ "title": {
36
+ "label": {
37
+ "type": "i18n",
38
+ "en-US": "strategyId",
39
+ "zh-CN": "strategyId"
40
+ }
41
+ },
42
+ "name": "strategyId",
43
+ "setter": {
44
+ "componentName": "StringSetter",
45
+ "isRequired": true,
46
+ "initialValue": ""
47
+ }
48
+ },
49
+ {
50
+ "title": {
51
+ "label": {
52
+ "type": "i18n",
53
+ "en-US": "ruleId",
54
+ "zh-CN": "ruleId"
55
+ }
56
+ },
57
+ "name": "ruleId",
58
+ "setter": {
59
+ "componentName": "StringSetter",
60
+ "isRequired": true,
61
+ "initialValue": ""
62
+ }
63
+ },
64
+ {
65
+ "title": {
66
+ "label": {
67
+ "type": "i18n",
68
+ "en-US": "priority",
69
+ "zh-CN": "priority"
70
+ }
71
+ },
72
+ "name": "priority",
73
+ "setter": {
74
+ "componentName": "NumberSetter",
75
+ "isRequired": true,
76
+ "initialValue": 0
77
+ }
78
+ },
79
+ {
80
+ "title": {
81
+ "label": {
82
+ "type": "i18n",
83
+ "en-US": "targetType",
84
+ "zh-CN": "targetType"
85
+ }
86
+ },
87
+ "name": "targetType",
88
+ "setter": {
89
+ "componentName": "RadioGroupSetter",
90
+ "props": {
91
+ "dataSource": [
92
+ {
93
+ "label": "product",
94
+ "value": "product"
95
+ }
96
+ ],
97
+ "options": [
98
+ {
99
+ "label": "product",
100
+ "value": "product"
101
+ }
102
+ ]
103
+ },
104
+ "isRequired": true,
105
+ "initialValue": "product"
106
+ }
107
+ },
108
+ {
109
+ "title": {
110
+ "label": {
111
+ "type": "i18n",
112
+ "en-US": "product_id",
113
+ "zh-CN": "product_id"
114
+ }
115
+ },
116
+ "name": "product_id",
117
+ "setter": {
118
+ "componentName": "NumberSetter",
119
+ "isRequired": true,
120
+ "initialValue": 0
121
+ }
122
+ },
123
+ {
124
+ "title": {
125
+ "label": {
126
+ "type": "i18n",
127
+ "en-US": "product_variant_id",
128
+ "zh-CN": "product_variant_id"
129
+ }
130
+ },
131
+ "name": "product_variant_id",
132
+ "setter": {
133
+ "componentName": "MixedSetter",
134
+ "props": {
135
+ "setters": [
136
+ {
137
+ "componentName": "ObjectSetter",
138
+ "props": {
139
+ "config": {
140
+ "extraSetter": {
141
+ "componentName": "MixedSetter",
142
+ "isRequired": false,
143
+ "props": {}
144
+ }
145
+ }
146
+ },
147
+ "isRequired": false,
148
+ "initialValue": {}
149
+ },
150
+ {
151
+ "componentName": "NumberSetter",
152
+ "isRequired": false,
153
+ "initialValue": 0
154
+ }
155
+ ]
156
+ }
157
+ }
158
+ },
159
+ {
160
+ "title": {
161
+ "label": {
162
+ "type": "i18n",
163
+ "en-US": "dataSource",
164
+ "zh-CN": "dataSource"
165
+ }
166
+ },
167
+ "name": "dataSource",
168
+ "setter": {
169
+ "componentName": "ObjectSetter",
170
+ "props": {
171
+ "config": {
172
+ "items": [
173
+ {
174
+ "title": {
175
+ "label": {
176
+ "type": "i18n",
177
+ "en-US": "type",
178
+ "zh-CN": "type"
179
+ }
180
+ },
181
+ "name": "type",
182
+ "setter": {
183
+ "componentName": "RadioGroupSetter",
184
+ "props": {
185
+ "dataSource": [
186
+ {
187
+ "label": "inline",
188
+ "value": "inline"
189
+ }
190
+ ],
191
+ "options": [
192
+ {
193
+ "label": "inline",
194
+ "value": "inline"
195
+ }
196
+ ]
197
+ },
198
+ "isRequired": true,
199
+ "initialValue": "inline"
200
+ }
201
+ },
202
+ {
203
+ "title": {
204
+ "label": {
205
+ "type": "i18n",
206
+ "en-US": "items",
207
+ "zh-CN": "items"
208
+ }
209
+ },
210
+ "name": "items",
211
+ "setter": {
212
+ "componentName": "ArraySetter",
213
+ "props": {
214
+ "itemSetter": {
215
+ "componentName": "ObjectSetter",
216
+ "props": {
217
+ "config": {
218
+ "items": [
219
+ {
220
+ "title": {
221
+ "label": {
222
+ "type": "i18n",
223
+ "en-US": "id",
224
+ "zh-CN": "id"
225
+ }
226
+ },
227
+ "name": "id",
228
+ "setter": {
229
+ "componentName": "StringSetter",
230
+ "isRequired": true,
231
+ "initialValue": ""
232
+ }
233
+ },
234
+ {
235
+ "title": {
236
+ "label": {
237
+ "type": "i18n",
238
+ "en-US": "label",
239
+ "zh-CN": "label"
240
+ }
241
+ },
242
+ "name": "label",
243
+ "setter": {
244
+ "componentName": "MixedSetter",
245
+ "props": {
246
+ "setters": [
247
+ {
248
+ "componentName": "StringSetter",
249
+ "isRequired": false,
250
+ "initialValue": ""
251
+ },
252
+ {
253
+ "componentName": "ObjectSetter",
254
+ "props": {
255
+ "config": {
256
+ "extraSetter": {
257
+ "componentName": "StringSetter",
258
+ "isRequired": false,
259
+ "initialValue": ""
260
+ }
261
+ }
262
+ },
263
+ "initialValue": {}
264
+ }
265
+ ]
266
+ },
267
+ "isRequired": true
268
+ }
269
+ }
270
+ ],
271
+ "extraSetter": {
272
+ "componentName": "MixedSetter",
273
+ "isRequired": false,
274
+ "props": {}
275
+ }
276
+ }
277
+ }
278
+ }
279
+ },
280
+ "isRequired": true,
281
+ "initialValue": []
282
+ }
283
+ }
284
+ ],
285
+ "extraSetter": {
286
+ "componentName": "MixedSetter",
287
+ "isRequired": false,
288
+ "props": {}
289
+ }
290
+ }
291
+ },
292
+ "isRequired": true
293
+ }
294
+ },
295
+ {
296
+ "title": {
297
+ "label": {
298
+ "type": "i18n",
299
+ "en-US": "promptScope",
300
+ "zh-CN": "promptScope"
301
+ }
302
+ },
303
+ "name": "promptScope",
304
+ "setter": {
305
+ "componentName": "RadioGroupSetter",
306
+ "props": {
307
+ "dataSource": [
308
+ {
309
+ "label": "once_per_order_product",
310
+ "value": "once_per_order_product"
311
+ }
312
+ ],
313
+ "options": [
314
+ {
315
+ "label": "once_per_order_product",
316
+ "value": "once_per_order_product"
317
+ }
318
+ ]
319
+ },
320
+ "isRequired": true,
321
+ "initialValue": "once_per_order_product"
322
+ }
323
+ },
324
+ {
325
+ "title": {
326
+ "label": {
327
+ "type": "i18n",
328
+ "en-US": "allowNote",
329
+ "zh-CN": "allowNote"
330
+ }
331
+ },
332
+ "name": "allowNote",
333
+ "setter": {
334
+ "componentName": "BoolSetter",
335
+ "isRequired": true,
336
+ "initialValue": false
337
+ }
338
+ }
339
+ ],
340
+ "extraSetter": {
341
+ "componentName": "MixedSetter",
342
+ "isRequired": false,
343
+ "props": {}
344
+ }
345
+ }
346
+ },
347
+ "isRequired": true
348
+ }
349
+ },
350
+ {
351
+ "title": {
352
+ "label": {
353
+ "type": "i18n",
354
+ "en-US": "locale",
355
+ "zh-CN": "locale"
356
+ }
357
+ },
358
+ "name": "locale",
359
+ "setter": {
360
+ "componentName": "StringSetter",
361
+ "isRequired": true,
362
+ "initialValue": ""
363
+ }
364
+ },
365
+ {
366
+ "title": {
367
+ "label": {
368
+ "type": "i18n",
369
+ "en-US": "pending",
370
+ "zh-CN": "pending"
371
+ }
372
+ },
373
+ "name": "pending",
374
+ "setter": {
375
+ "componentName": "BoolSetter",
376
+ "isRequired": true,
377
+ "initialValue": false
378
+ }
379
+ },
380
+ {
381
+ "title": {
382
+ "label": {
383
+ "type": "i18n",
384
+ "en-US": "error",
385
+ "zh-CN": "error"
386
+ }
387
+ },
388
+ "name": "error",
389
+ "setter": {
390
+ "componentName": "MixedSetter",
391
+ "props": {
392
+ "setters": [
393
+ {
394
+ "componentName": "ObjectSetter",
395
+ "props": {
396
+ "config": {
397
+ "extraSetter": {
398
+ "componentName": "MixedSetter",
399
+ "isRequired": false,
400
+ "props": {}
401
+ }
402
+ }
403
+ },
404
+ "isRequired": false,
405
+ "initialValue": {}
406
+ },
407
+ {
408
+ "componentName": "StringSetter",
409
+ "isRequired": false,
410
+ "initialValue": ""
411
+ }
412
+ ]
413
+ }
414
+ }
415
+ },
416
+ {
417
+ "title": {
418
+ "label": {
419
+ "type": "i18n",
420
+ "en-US": "onSubmit",
421
+ "zh-CN": "onSubmit"
422
+ }
423
+ },
424
+ "name": "onSubmit",
425
+ "setter": {
426
+ "componentName": "FunctionSetter",
427
+ "isRequired": true
428
+ }
429
+ }
430
+ ],
431
+ "supports": {
432
+ "style": true
433
+ },
434
+ "component": {}
435
+ }
436
+ };
437
+ const snippets: Snippet[] = [
438
+ {
439
+ "title": "AllergySelectionModal",
440
+ "screenshot": "",
441
+ "schema": {
442
+ "componentName": "AllergySelectionModal",
443
+ "props": {}
444
+ }
445
+ }
446
+ ];
447
+
448
+ export default {
449
+ ...AllergySelectionModalMeta,
450
+ snippets
451
+ };