@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.
- 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/meta.js +1 -1
- package/build/lowcode/preview.js +1 -1
- package/es/components/bigSale/components/BookingFloatingPanel/useBookingPanelController.js +0 -1
- package/es/components/bigSale/components/ProductList/index.js +0 -1
- package/es/components/bigSale/components/TimeBar/index.js +0 -1
- package/es/components/bigSale/dialog.js +0 -1
- package/es/components/bigSale/hooks/useBigSaleContext.js +0 -1
- package/es/components/bigSale/hooks/useSelectFloorMapResourceForBigSale.js +0 -1
- package/es/components/bigSale/index.js +0 -1
- package/es/components/bigSale/templates/Kiosk/index.js +0 -1
- package/es/components/sharedSecondaryBigSale/SharedSecondaryBigSaleReceiver.js +0 -1
- package/es/index.js +0 -2
- package/es/plus/multiCurrencySettlement/index.js +1 -1
- package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
- package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
- package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
- package/es/plus/saasDevice/devicePasscodes/model.js +4 -4
- package/es/plus/saleDetail/Base.js +0 -1
- package/es/plus/saleDetail/components/Client/hooks/useClientSelectorProps.js +0 -1
- package/es/plus/saleDetail/components/DetailActions/PrintAction.js +0 -1
- package/es/plus/saleDetail/components/DetailActions/index.js +0 -1
- package/es/plus/saleDetail/components/SummaryFinancialSections/index.js +0 -1
- package/es/plus/saleDetail/index.js +0 -1
- package/es/plus/saleDetail/tmpl/B/components/Dish/index.js +0 -1
- package/es/plus/saleDetail/tmpl/B/components/Forms/index.less +51 -0
- package/es/plus/saleDetail/tmpl/B/index.js +0 -1
- package/es/plus/salesSdk/utils/addProductWithFlowDebounced.js +1 -1
- package/es/plus/salesSdk/utils/bookingDate.js +1 -1
- package/es/plus/salesSdk/utils/enrichCartLineHolderDisplay.js +1 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.js +4 -4
- package/es/private-materials/lowcode/authmodal/meta.d.ts +1 -0
- package/es/pro/Login2.0/AuthModal.d.ts +1 -1
- package/es/pro/Login2.0/index.d.ts +2 -2
- package/es/pro/Login2.0/shared/types.d.ts +1 -1
- package/lib/plus/saleDetail/tmpl/B/components/Forms/index.less +51 -0
- package/lowcode/allergy-selection-modal/meta.ts +451 -0
- package/lowcode/huifu-kiosk-panel/meta.ts +351 -0
- package/lowcode/pos-permission/meta.ts +233 -0
- package/package.json +3 -3
- package/es/plus/pisellReservation/index.js +0 -17
- package/es/plus/salesSdk/index.js +0 -54
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const HuifuKioskPanelMeta: ComponentMetadata = {
|
|
5
|
+
"componentName": "HuifuKioskPanel",
|
|
6
|
+
"title": "HuifuKioskPanel",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "@pisell/private-materials",
|
|
12
|
+
"version": "6.11.691",
|
|
13
|
+
"exportName": "HuifuKioskPanel",
|
|
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": "status",
|
|
25
|
+
"zh-CN": "status"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"name": "status",
|
|
29
|
+
"setter": {
|
|
30
|
+
"componentName": "SelectSetter",
|
|
31
|
+
"props": {
|
|
32
|
+
"dataSource": [
|
|
33
|
+
{
|
|
34
|
+
"label": "success",
|
|
35
|
+
"value": "success"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"label": "failed",
|
|
39
|
+
"value": "failed"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"label": "offline",
|
|
43
|
+
"value": "offline"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"label": "unknown",
|
|
47
|
+
"value": "unknown"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"label": "waiting",
|
|
51
|
+
"value": "waiting"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "processing",
|
|
55
|
+
"value": "processing"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "network",
|
|
59
|
+
"value": "network"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"options": [
|
|
63
|
+
{
|
|
64
|
+
"label": "success",
|
|
65
|
+
"value": "success"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"label": "failed",
|
|
69
|
+
"value": "failed"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"label": "offline",
|
|
73
|
+
"value": "offline"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"label": "unknown",
|
|
77
|
+
"value": "unknown"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"label": "waiting",
|
|
81
|
+
"value": "waiting"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"label": "processing",
|
|
85
|
+
"value": "processing"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"label": "network",
|
|
89
|
+
"value": "network"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"isRequired": true,
|
|
94
|
+
"initialValue": "success"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"title": {
|
|
99
|
+
"label": {
|
|
100
|
+
"type": "i18n",
|
|
101
|
+
"en-US": "amount",
|
|
102
|
+
"zh-CN": "Already fo"
|
|
103
|
+
},
|
|
104
|
+
"tip": "amount | Already formatted by the host's presentation adapter."
|
|
105
|
+
},
|
|
106
|
+
"name": "amount",
|
|
107
|
+
"description": "Already formatted by the host's presentation adapter.",
|
|
108
|
+
"setter": {
|
|
109
|
+
"componentName": "StringSetter",
|
|
110
|
+
"isRequired": true,
|
|
111
|
+
"initialValue": ""
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"title": {
|
|
116
|
+
"label": {
|
|
117
|
+
"type": "i18n",
|
|
118
|
+
"en-US": "errorMessage",
|
|
119
|
+
"zh-CN": "errorMessage"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"name": "errorMessage",
|
|
123
|
+
"setter": {
|
|
124
|
+
"componentName": "MixedSetter",
|
|
125
|
+
"props": {
|
|
126
|
+
"setters": [
|
|
127
|
+
{
|
|
128
|
+
"componentName": "ObjectSetter",
|
|
129
|
+
"props": {
|
|
130
|
+
"config": {
|
|
131
|
+
"extraSetter": {
|
|
132
|
+
"componentName": "MixedSetter",
|
|
133
|
+
"isRequired": false,
|
|
134
|
+
"props": {}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"isRequired": false,
|
|
139
|
+
"initialValue": {}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"componentName": "StringSetter",
|
|
143
|
+
"isRequired": false,
|
|
144
|
+
"initialValue": ""
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"title": {
|
|
152
|
+
"label": {
|
|
153
|
+
"type": "i18n",
|
|
154
|
+
"en-US": "scanError",
|
|
155
|
+
"zh-CN": "scanError"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"name": "scanError",
|
|
159
|
+
"setter": {
|
|
160
|
+
"componentName": "MixedSetter",
|
|
161
|
+
"props": {
|
|
162
|
+
"setters": [
|
|
163
|
+
{
|
|
164
|
+
"componentName": "ObjectSetter",
|
|
165
|
+
"props": {
|
|
166
|
+
"config": {
|
|
167
|
+
"extraSetter": {
|
|
168
|
+
"componentName": "MixedSetter",
|
|
169
|
+
"isRequired": false,
|
|
170
|
+
"props": {}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"isRequired": false,
|
|
175
|
+
"initialValue": {}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"componentName": "BoolSetter",
|
|
179
|
+
"isRequired": false,
|
|
180
|
+
"initialValue": false
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"title": {
|
|
188
|
+
"label": {
|
|
189
|
+
"type": "i18n",
|
|
190
|
+
"en-US": "onCancel",
|
|
191
|
+
"zh-CN": "onCancel"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"name": "onCancel",
|
|
195
|
+
"setter": {
|
|
196
|
+
"componentName": "MixedSetter",
|
|
197
|
+
"props": {
|
|
198
|
+
"setters": [
|
|
199
|
+
{
|
|
200
|
+
"componentName": "ObjectSetter",
|
|
201
|
+
"props": {
|
|
202
|
+
"config": {
|
|
203
|
+
"extraSetter": {
|
|
204
|
+
"componentName": "MixedSetter",
|
|
205
|
+
"isRequired": false,
|
|
206
|
+
"props": {}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"isRequired": false,
|
|
211
|
+
"initialValue": {}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"componentName": "FunctionSetter",
|
|
215
|
+
"isRequired": false
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"title": {
|
|
223
|
+
"label": {
|
|
224
|
+
"type": "i18n",
|
|
225
|
+
"en-US": "onRetry",
|
|
226
|
+
"zh-CN": "onRetry"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"name": "onRetry",
|
|
230
|
+
"setter": {
|
|
231
|
+
"componentName": "MixedSetter",
|
|
232
|
+
"props": {
|
|
233
|
+
"setters": [
|
|
234
|
+
{
|
|
235
|
+
"componentName": "ObjectSetter",
|
|
236
|
+
"props": {
|
|
237
|
+
"config": {
|
|
238
|
+
"extraSetter": {
|
|
239
|
+
"componentName": "MixedSetter",
|
|
240
|
+
"isRequired": false,
|
|
241
|
+
"props": {}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"isRequired": false,
|
|
246
|
+
"initialValue": {}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"componentName": "FunctionSetter",
|
|
250
|
+
"isRequired": false
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"title": {
|
|
258
|
+
"label": {
|
|
259
|
+
"type": "i18n",
|
|
260
|
+
"en-US": "recoveryAction",
|
|
261
|
+
"zh-CN": "recoveryAction"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"name": "recoveryAction",
|
|
265
|
+
"setter": {
|
|
266
|
+
"componentName": "MixedSetter",
|
|
267
|
+
"props": {
|
|
268
|
+
"setters": [
|
|
269
|
+
{
|
|
270
|
+
"componentName": "ObjectSetter",
|
|
271
|
+
"props": {
|
|
272
|
+
"config": {
|
|
273
|
+
"extraSetter": {
|
|
274
|
+
"componentName": "MixedSetter",
|
|
275
|
+
"isRequired": false,
|
|
276
|
+
"props": {}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"isRequired": false,
|
|
281
|
+
"initialValue": {}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"componentName": "ObjectSetter",
|
|
285
|
+
"props": {
|
|
286
|
+
"config": {
|
|
287
|
+
"items": [
|
|
288
|
+
{
|
|
289
|
+
"title": {
|
|
290
|
+
"label": {
|
|
291
|
+
"type": "i18n",
|
|
292
|
+
"en-US": "label",
|
|
293
|
+
"zh-CN": "label"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"name": "label",
|
|
297
|
+
"setter": {
|
|
298
|
+
"componentName": "StringSetter",
|
|
299
|
+
"isRequired": true,
|
|
300
|
+
"initialValue": ""
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"title": {
|
|
305
|
+
"label": {
|
|
306
|
+
"type": "i18n",
|
|
307
|
+
"en-US": "onClick",
|
|
308
|
+
"zh-CN": "onClick"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"name": "onClick",
|
|
312
|
+
"setter": {
|
|
313
|
+
"componentName": "FunctionSetter",
|
|
314
|
+
"isRequired": true
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"extraSetter": {
|
|
319
|
+
"componentName": "MixedSetter",
|
|
320
|
+
"isRequired": false,
|
|
321
|
+
"props": {}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"supports": {
|
|
332
|
+
"style": true
|
|
333
|
+
},
|
|
334
|
+
"component": {}
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
const snippets: Snippet[] = [
|
|
338
|
+
{
|
|
339
|
+
"title": "HuifuKioskPanel",
|
|
340
|
+
"screenshot": "",
|
|
341
|
+
"schema": {
|
|
342
|
+
"componentName": "HuifuKioskPanel",
|
|
343
|
+
"props": {}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
];
|
|
347
|
+
|
|
348
|
+
export default {
|
|
349
|
+
...HuifuKioskPanelMeta,
|
|
350
|
+
snippets
|
|
351
|
+
};
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const PosPermissionMeta: ComponentMetadata = {
|
|
5
|
+
"componentName": "PosPermission",
|
|
6
|
+
"title": "PosPermission",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "@pisell/private-materials",
|
|
12
|
+
"version": "6.12.289",
|
|
13
|
+
"exportName": "PosPermission",
|
|
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": "permissionKey",
|
|
25
|
+
"zh-CN": "permissionKey"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"name": "permissionKey",
|
|
29
|
+
"setter": {
|
|
30
|
+
"componentName": "SelectSetter",
|
|
31
|
+
"props": {
|
|
32
|
+
"dataSource": [
|
|
33
|
+
{
|
|
34
|
+
"label": "order_edit",
|
|
35
|
+
"value": "order_edit"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"label": "order_refund_amount",
|
|
39
|
+
"value": "order_refund_amount"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"label": "order_refund_item",
|
|
43
|
+
"value": "order_refund_item"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"label": "discount",
|
|
47
|
+
"value": "discount"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"options": [
|
|
51
|
+
{
|
|
52
|
+
"label": "order_edit",
|
|
53
|
+
"value": "order_edit"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"label": "order_refund_amount",
|
|
57
|
+
"value": "order_refund_amount"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"label": "order_refund_item",
|
|
61
|
+
"value": "order_refund_item"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"label": "discount",
|
|
65
|
+
"value": "discount"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"isRequired": true,
|
|
70
|
+
"initialValue": "order_edit"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"title": {
|
|
75
|
+
"label": {
|
|
76
|
+
"type": "i18n",
|
|
77
|
+
"en-US": "enabled",
|
|
78
|
+
"zh-CN": "默认读取 appHe"
|
|
79
|
+
},
|
|
80
|
+
"tip": "enabled | 默认读取 appHelper.utils.isWebPos,非 WebPOS 保持原业务行为。"
|
|
81
|
+
},
|
|
82
|
+
"name": "enabled",
|
|
83
|
+
"description": "默认读取 appHelper.utils.isWebPos,非 WebPOS 保持原业务行为。",
|
|
84
|
+
"setter": {
|
|
85
|
+
"componentName": "MixedSetter",
|
|
86
|
+
"props": {
|
|
87
|
+
"setters": [
|
|
88
|
+
{
|
|
89
|
+
"componentName": "ObjectSetter",
|
|
90
|
+
"props": {
|
|
91
|
+
"config": {
|
|
92
|
+
"extraSetter": {
|
|
93
|
+
"componentName": "MixedSetter",
|
|
94
|
+
"isRequired": false,
|
|
95
|
+
"props": {}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"isRequired": false,
|
|
100
|
+
"initialValue": {}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"componentName": "BoolSetter",
|
|
104
|
+
"isRequired": false,
|
|
105
|
+
"initialValue": false
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"title": {
|
|
113
|
+
"label": {
|
|
114
|
+
"type": "i18n",
|
|
115
|
+
"en-US": "scopeKey",
|
|
116
|
+
"zh-CN": "订单 / 商品标识改"
|
|
117
|
+
},
|
|
118
|
+
"tip": "scopeKey | 订单 / 商品标识改变时取消尚未完成的授权。"
|
|
119
|
+
},
|
|
120
|
+
"name": "scopeKey",
|
|
121
|
+
"description": "订单 / 商品标识改变时取消尚未完成的授权。",
|
|
122
|
+
"setter": {
|
|
123
|
+
"componentName": "ObjectSetter",
|
|
124
|
+
"props": {
|
|
125
|
+
"config": {
|
|
126
|
+
"extraSetter": {
|
|
127
|
+
"componentName": "MixedSetter",
|
|
128
|
+
"isRequired": false,
|
|
129
|
+
"props": {}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"isRequired": false,
|
|
134
|
+
"initialValue": {}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"title": {
|
|
139
|
+
"label": {
|
|
140
|
+
"type": "i18n",
|
|
141
|
+
"en-US": "active",
|
|
142
|
+
"zh-CN": "缓存页面 / 弹窗隐"
|
|
143
|
+
},
|
|
144
|
+
"tip": "active | 缓存页面 / 弹窗隐藏时置为 false。"
|
|
145
|
+
},
|
|
146
|
+
"name": "active",
|
|
147
|
+
"description": "缓存页面 / 弹窗隐藏时置为 false。",
|
|
148
|
+
"setter": {
|
|
149
|
+
"componentName": "MixedSetter",
|
|
150
|
+
"props": {
|
|
151
|
+
"setters": [
|
|
152
|
+
{
|
|
153
|
+
"componentName": "ObjectSetter",
|
|
154
|
+
"props": {
|
|
155
|
+
"config": {
|
|
156
|
+
"extraSetter": {
|
|
157
|
+
"componentName": "MixedSetter",
|
|
158
|
+
"isRequired": false,
|
|
159
|
+
"props": {}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"isRequired": false,
|
|
164
|
+
"initialValue": {}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"componentName": "BoolSetter",
|
|
168
|
+
"isRequired": false,
|
|
169
|
+
"initialValue": false
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"title": {
|
|
177
|
+
"label": {
|
|
178
|
+
"type": "i18n",
|
|
179
|
+
"en-US": "isAvailable",
|
|
180
|
+
"zh-CN": "在点击和授权完成时重"
|
|
181
|
+
},
|
|
182
|
+
"tip": "isAvailable | 在点击和授权完成时重新检查现有业务可操作状态。"
|
|
183
|
+
},
|
|
184
|
+
"name": "isAvailable",
|
|
185
|
+
"description": "在点击和授权完成时重新检查现有业务可操作状态。",
|
|
186
|
+
"setter": {
|
|
187
|
+
"componentName": "MixedSetter",
|
|
188
|
+
"props": {
|
|
189
|
+
"setters": [
|
|
190
|
+
{
|
|
191
|
+
"componentName": "ObjectSetter",
|
|
192
|
+
"props": {
|
|
193
|
+
"config": {
|
|
194
|
+
"extraSetter": {
|
|
195
|
+
"componentName": "MixedSetter",
|
|
196
|
+
"isRequired": false,
|
|
197
|
+
"props": {}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"isRequired": false,
|
|
202
|
+
"initialValue": {}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"componentName": "FunctionSetter",
|
|
206
|
+
"isRequired": false
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"supports": {
|
|
214
|
+
"style": true
|
|
215
|
+
},
|
|
216
|
+
"component": {}
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
const snippets: Snippet[] = [
|
|
220
|
+
{
|
|
221
|
+
"title": "PosPermission",
|
|
222
|
+
"screenshot": "",
|
|
223
|
+
"schema": {
|
|
224
|
+
"componentName": "PosPermission",
|
|
225
|
+
"props": {}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
];
|
|
229
|
+
|
|
230
|
+
export default {
|
|
231
|
+
...PosPermissionMeta,
|
|
232
|
+
snippets
|
|
233
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.342",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"styled-components": "^6.0.0-rc.3",
|
|
73
73
|
"use-sync-external-store": "^1.6.0",
|
|
74
74
|
"@pisell/pi-payment-sdk": "0.0.3",
|
|
75
|
+
"@pisell/materials": "6.12.81",
|
|
75
76
|
"@pisell/utils": "3.0.7",
|
|
76
77
|
"@pisell/icon": "0.0.11",
|
|
77
|
-
"@pisell/date-picker": "3.0.12"
|
|
78
|
-
"@pisell/materials": "6.12.81"
|
|
78
|
+
"@pisell/date-picker": "3.0.12"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"react": "^18.0.0",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./serve/formResourcePage.js";
|
|
2
|
-
import "./floorRoomCard/mapRowToFloorRoomCardData.js";
|
|
3
|
-
import "./floorRoomCard/ReservationFloorRoomCard.js";
|
|
4
|
-
import "./floorMap/reservationMock.js";
|
|
5
|
-
import "./floorMap/floorPlanApi.js";
|
|
6
|
-
import "./reservationConstants.js";
|
|
7
|
-
import "./data/bookingToReservationTables.js";
|
|
8
|
-
import "./data/formResourceToReservationTables.js";
|
|
9
|
-
import "./data/salesEmbeddedResourceToTableRows.js";
|
|
10
|
-
import "./floorMap/reservationCards.js";
|
|
11
|
-
import "./PisellReservation.js";
|
|
12
|
-
import "./PisellReservationBookingPage.js";
|
|
13
|
-
import "./PisellVenueControlPage.js";
|
|
14
|
-
import "./PisellVenueWallPage.js";
|
|
15
|
-
import "./PisellReservationTablePage.js";
|
|
16
|
-
import "./components/SelectFloorMapResourceDialog.js";
|
|
17
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import "./hosts/createInstanceHostBridge.js";
|
|
2
|
-
import "./holderConfirm/createHolderConfirmBridge.js";
|
|
3
|
-
import "./giftSelect/createGiftSelectBridge.js";
|
|
4
|
-
import "./context/SalesSdkHostBridgesContext.js";
|
|
5
|
-
import "./utils/formatHolderOptions.js";
|
|
6
|
-
import "./utils/enrichCartLineHolderDisplay.js";
|
|
7
|
-
import "./context/SalesSdkHolderContext.js";
|
|
8
|
-
import "../multiCurrencySettlement/index.js";
|
|
9
|
-
import "./utils/customerAuthGate.js";
|
|
10
|
-
import "./context/SalesSdkBusinessAvailabilityContext.js";
|
|
11
|
-
import "./utils/appendPromotionTags.js";
|
|
12
|
-
import "./utils/productSkuOptions.js";
|
|
13
|
-
import "./context/SalesSdkUIHostsContext.js";
|
|
14
|
-
import "./utils/runAddProductFlow.js";
|
|
15
|
-
import "./components/showAddToCartToast.js";
|
|
16
|
-
import "./utils/resolveAddProductDebounceKey.js";
|
|
17
|
-
import "./utils/identity.js";
|
|
18
|
-
import "./utils/resolveInCartQuantityForAddToast.js";
|
|
19
|
-
import "./utils/addProductWithFlowDebounced.js";
|
|
20
|
-
import "./utils/bookingDate.js";
|
|
21
|
-
import "./utils/holderSubmitValidation.js";
|
|
22
|
-
import "./utils/removeOrderProducts.js";
|
|
23
|
-
import "./selectors.js";
|
|
24
|
-
import "./utils/enrich.js";
|
|
25
|
-
import "./giftSelect/createOpenGiftSelectHost.js";
|
|
26
|
-
import "./utils/ensureHoldersBeforeSubmit.js";
|
|
27
|
-
import "./hooks/useSalesSdk.js";
|
|
28
|
-
import "./bookingEditService/BookingEditServiceDrawer.js";
|
|
29
|
-
import "./hosts/BookingEditHostRenderer.js";
|
|
30
|
-
import "./hosts/CustomerAuthHostRenderer.js";
|
|
31
|
-
import "./hooks/useSalesSdkCart.js";
|
|
32
|
-
import "./hooks/useSalesSdkCustomer.js";
|
|
33
|
-
import "./normalProductDetail/NormalProductDetailHostRenderer.js";
|
|
34
|
-
import "./hosts/createOpenBookingEditHost.js";
|
|
35
|
-
import "./hosts/createOpenMultiDaySelectHost.js";
|
|
36
|
-
import "./hosts/createOpenHolderSelectHost.js";
|
|
37
|
-
import "./hosts/createOpenCustomerAuthHost.js";
|
|
38
|
-
import "./demo/hosts/legacyOpenProductDetail.js";
|
|
39
|
-
import "./hosts/createCompositeOpenProductDetailHost.js";
|
|
40
|
-
import "./normalProductDetail/createOpenNormalProductDetailHost.js";
|
|
41
|
-
import "./normalProductDetail/createOpenBookingSelectionFlowHost.js";
|
|
42
|
-
import "./giftSelect/GiftSelectModal.js";
|
|
43
|
-
import "./giftSelect/GiftSelectHostRenderer.js";
|
|
44
|
-
import "./allergy/AllergySelectionModal.js";
|
|
45
|
-
import "./context/SalesSdkProvider.js";
|
|
46
|
-
import "./context/SalesSdkDishContext.js";
|
|
47
|
-
import "./context/SalesSdkBookingContext.js";
|
|
48
|
-
import "./hooks/useSalesSdkSummary.js";
|
|
49
|
-
import "./hooks/useSalesSdkProducts.js";
|
|
50
|
-
import "./demo/index.js";
|
|
51
|
-
import "./hooks/useSalesSdkDish.js";
|
|
52
|
-
import "./hooks/useCurrentSalesSdkDish.js";
|
|
53
|
-
import "./hooks/useSyncOsModule.js";
|
|
54
|
-
export {};
|