@pisell/private-materials 6.3.175 → 6.3.177
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/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +1 -1
- package/es/components/scanOrder/components/Check/index.js +187 -46
- package/es/components/scanOrder/components/Check/index.less +39 -0
- package/es/components/scanOrder/components/Content/index.js +189 -72
- package/es/components/scanOrder/components/Menu/index.js +11 -5
- package/es/components/scanOrder/hooks.js +7 -0
- package/es/components/scanOrder/locales.d.ts +75 -0
- package/es/components/scanOrder/locales.js +75 -0
- package/es/components/venueBooking/components/Voucher/index.js +6 -1
- package/es/pro/Login2.0/locales.js +1 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +1 -1
- package/lib/components/scanOrder/components/Check/index.js +116 -3
- package/lib/components/scanOrder/components/Check/index.less +39 -0
- package/lib/components/scanOrder/components/Content/index.js +106 -25
- package/lib/components/scanOrder/components/Menu/index.js +2 -0
- package/lib/components/scanOrder/hooks.js +7 -0
- package/lib/components/scanOrder/locales.d.ts +75 -0
- package/lib/components/scanOrder/locales.js +75 -0
- package/lib/components/venueBooking/components/Voucher/index.js +5 -1
- package/lib/pro/Login2.0/locales.js +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,21 @@ declare const _default: {
|
|
|
30
30
|
'pisell2.scan.order.products.empty.tip': string;
|
|
31
31
|
'pisell2.scan.order.check.cart.empty.tip': string;
|
|
32
32
|
'pisell2.scan.order.submit.disabled.default': string;
|
|
33
|
+
'pisell2.scan.order.multiple.orders.tip': string;
|
|
34
|
+
'pisell2.scan.order.multiple.orders.confirm': string;
|
|
35
|
+
'pisell2.scan.order.settled.cannot.add.tip': string;
|
|
36
|
+
'pisell2.scan.order.inventory.insufficient.title': string;
|
|
37
|
+
'pisell2.scan.order.inventory.insufficient.description': string;
|
|
38
|
+
'pisell2.scan.order.inventory.insufficient.products.label': string;
|
|
39
|
+
'pisell2.scan.order.add.on.confirm.title': string;
|
|
40
|
+
'pisell2.scan.order.add.on.confirm.description': string;
|
|
41
|
+
'pisell2.scan.order.add.on.confirm.button': string;
|
|
42
|
+
'pisell2.scan.order.add.on.return.button': string;
|
|
43
|
+
'pisell2.scan.order.add.on.unavailable.title': string;
|
|
44
|
+
'pisell2.scan.order.add.on.unavailable.description': string;
|
|
45
|
+
'pisell2.scan.order.add.on.unavailable.confirm': string;
|
|
46
|
+
'pisell2.scan.order.add.on.login.required.title': string;
|
|
47
|
+
'pisell2.scan.order.add.on.login.required': string;
|
|
33
48
|
'pisell2.text.goodpass': string;
|
|
34
49
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
35
50
|
'pisell2.text.goodpass.view-more': string;
|
|
@@ -79,6 +94,21 @@ declare const _default: {
|
|
|
79
94
|
'pisell2.scan.order.products.empty.tip': string;
|
|
80
95
|
'pisell2.scan.order.check.cart.empty.tip': string;
|
|
81
96
|
'pisell2.scan.order.submit.disabled.default': string;
|
|
97
|
+
'pisell2.scan.order.multiple.orders.tip': string;
|
|
98
|
+
'pisell2.scan.order.multiple.orders.confirm': string;
|
|
99
|
+
'pisell2.scan.order.settled.cannot.add.tip': string;
|
|
100
|
+
'pisell2.scan.order.inventory.insufficient.title': string;
|
|
101
|
+
'pisell2.scan.order.inventory.insufficient.description': string;
|
|
102
|
+
'pisell2.scan.order.inventory.insufficient.products.label': string;
|
|
103
|
+
'pisell2.scan.order.add.on.confirm.title': string;
|
|
104
|
+
'pisell2.scan.order.add.on.confirm.description': string;
|
|
105
|
+
'pisell2.scan.order.add.on.confirm.button': string;
|
|
106
|
+
'pisell2.scan.order.add.on.return.button': string;
|
|
107
|
+
'pisell2.scan.order.add.on.unavailable.title': string;
|
|
108
|
+
'pisell2.scan.order.add.on.unavailable.description': string;
|
|
109
|
+
'pisell2.scan.order.add.on.unavailable.confirm': string;
|
|
110
|
+
'pisell2.scan.order.add.on.login.required.title': string;
|
|
111
|
+
'pisell2.scan.order.add.on.login.required': string;
|
|
82
112
|
'pisell2.text.goodpass': string;
|
|
83
113
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
84
114
|
'pisell2.text.goodpass.view-more': string;
|
|
@@ -128,6 +158,21 @@ declare const _default: {
|
|
|
128
158
|
'pisell2.scan.order.products.empty.tip': string;
|
|
129
159
|
'pisell2.scan.order.check.cart.empty.tip': string;
|
|
130
160
|
'pisell2.scan.order.submit.disabled.default': string;
|
|
161
|
+
'pisell2.scan.order.multiple.orders.tip': string;
|
|
162
|
+
'pisell2.scan.order.multiple.orders.confirm': string;
|
|
163
|
+
'pisell2.scan.order.settled.cannot.add.tip': string;
|
|
164
|
+
'pisell2.scan.order.inventory.insufficient.title': string;
|
|
165
|
+
'pisell2.scan.order.inventory.insufficient.description': string;
|
|
166
|
+
'pisell2.scan.order.inventory.insufficient.products.label': string;
|
|
167
|
+
'pisell2.scan.order.add.on.confirm.title': string;
|
|
168
|
+
'pisell2.scan.order.add.on.confirm.description': string;
|
|
169
|
+
'pisell2.scan.order.add.on.confirm.button': string;
|
|
170
|
+
'pisell2.scan.order.add.on.return.button': string;
|
|
171
|
+
'pisell2.scan.order.add.on.unavailable.title': string;
|
|
172
|
+
'pisell2.scan.order.add.on.unavailable.description': string;
|
|
173
|
+
'pisell2.scan.order.add.on.unavailable.confirm': string;
|
|
174
|
+
'pisell2.scan.order.add.on.login.required.title': string;
|
|
175
|
+
'pisell2.scan.order.add.on.login.required': string;
|
|
131
176
|
'pisell2.text.goodpass': string;
|
|
132
177
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
133
178
|
'pisell2.text.goodpass.view-more': string;
|
|
@@ -177,6 +222,21 @@ declare const _default: {
|
|
|
177
222
|
'pisell2.scan.order.products.empty.tip': string;
|
|
178
223
|
'pisell2.scan.order.check.cart.empty.tip': string;
|
|
179
224
|
'pisell2.scan.order.submit.disabled.default': string;
|
|
225
|
+
'pisell2.scan.order.multiple.orders.tip': string;
|
|
226
|
+
'pisell2.scan.order.multiple.orders.confirm': string;
|
|
227
|
+
'pisell2.scan.order.settled.cannot.add.tip': string;
|
|
228
|
+
'pisell2.scan.order.inventory.insufficient.title': string;
|
|
229
|
+
'pisell2.scan.order.inventory.insufficient.description': string;
|
|
230
|
+
'pisell2.scan.order.inventory.insufficient.products.label': string;
|
|
231
|
+
'pisell2.scan.order.add.on.confirm.title': string;
|
|
232
|
+
'pisell2.scan.order.add.on.confirm.description': string;
|
|
233
|
+
'pisell2.scan.order.add.on.confirm.button': string;
|
|
234
|
+
'pisell2.scan.order.add.on.return.button': string;
|
|
235
|
+
'pisell2.scan.order.add.on.unavailable.title': string;
|
|
236
|
+
'pisell2.scan.order.add.on.unavailable.description': string;
|
|
237
|
+
'pisell2.scan.order.add.on.unavailable.confirm': string;
|
|
238
|
+
'pisell2.scan.order.add.on.login.required.title': string;
|
|
239
|
+
'pisell2.scan.order.add.on.login.required': string;
|
|
180
240
|
'pisell2.text.goodpass': string;
|
|
181
241
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
182
242
|
'pisell2.text.goodpass.view-more': string;
|
|
@@ -226,6 +286,21 @@ declare const _default: {
|
|
|
226
286
|
'pisell2.scan.order.products.empty.tip': string;
|
|
227
287
|
'pisell2.scan.order.check.cart.empty.tip': string;
|
|
228
288
|
'pisell2.scan.order.submit.disabled.default': string;
|
|
289
|
+
'pisell2.scan.order.multiple.orders.tip': string;
|
|
290
|
+
'pisell2.scan.order.multiple.orders.confirm': string;
|
|
291
|
+
'pisell2.scan.order.settled.cannot.add.tip': string;
|
|
292
|
+
'pisell2.scan.order.inventory.insufficient.title': string;
|
|
293
|
+
'pisell2.scan.order.inventory.insufficient.description': string;
|
|
294
|
+
'pisell2.scan.order.inventory.insufficient.products.label': string;
|
|
295
|
+
'pisell2.scan.order.add.on.confirm.title': string;
|
|
296
|
+
'pisell2.scan.order.add.on.confirm.description': string;
|
|
297
|
+
'pisell2.scan.order.add.on.confirm.button': string;
|
|
298
|
+
'pisell2.scan.order.add.on.return.button': string;
|
|
299
|
+
'pisell2.scan.order.add.on.unavailable.title': string;
|
|
300
|
+
'pisell2.scan.order.add.on.unavailable.description': string;
|
|
301
|
+
'pisell2.scan.order.add.on.unavailable.confirm': string;
|
|
302
|
+
'pisell2.scan.order.add.on.login.required.title': string;
|
|
303
|
+
'pisell2.scan.order.add.on.login.required': string;
|
|
229
304
|
'pisell2.text.goodpass': string;
|
|
230
305
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
231
306
|
'pisell2.text.goodpass.view-more': string;
|
|
@@ -54,6 +54,21 @@ var locales_default = {
|
|
|
54
54
|
"pisell2.scan.order.products.empty.tip": "Please select products",
|
|
55
55
|
"pisell2.scan.order.check.cart.empty.tip": "Please go back to add products",
|
|
56
56
|
"pisell2.scan.order.submit.disabled.default": "Order submission is currently disabled.",
|
|
57
|
+
"pisell2.scan.order.multiple.orders.tip": "There are multiple active orders for this table. Please contact staff for add-on orders.",
|
|
58
|
+
"pisell2.scan.order.multiple.orders.confirm": "I Got It",
|
|
59
|
+
"pisell2.scan.order.settled.cannot.add.tip": "This order has already been settled and you cannot add more items. Please scan again to create a new order or contact staff.",
|
|
60
|
+
"pisell2.scan.order.inventory.insufficient.title": "Insufficient inventory",
|
|
61
|
+
"pisell2.scan.order.inventory.insufficient.description": "The following items are out of stock or do not have enough inventory. Please adjust your cart and try again.",
|
|
62
|
+
"pisell2.scan.order.inventory.insufficient.products.label": "Unavailable products:",
|
|
63
|
+
"pisell2.scan.order.add.on.confirm.title": "This table has already started ordering",
|
|
64
|
+
"pisell2.scan.order.add.on.confirm.description": "Someone at your table has placed the order. This will be submitted as an add-on order.",
|
|
65
|
+
"pisell2.scan.order.add.on.confirm.button": "Confirm Add-on Order",
|
|
66
|
+
"pisell2.scan.order.add.on.return.button": "Return to Cart",
|
|
67
|
+
"pisell2.scan.order.add.on.unavailable.title": "Add-on ordering is not available",
|
|
68
|
+
"pisell2.scan.order.add.on.unavailable.description": "You can’t add items to this order from your phone right now.\nPlease ask a staff member for help.",
|
|
69
|
+
"pisell2.scan.order.add.on.unavailable.confirm": "Got it",
|
|
70
|
+
"pisell2.scan.order.add.on.login.required.title": "Notice",
|
|
71
|
+
"pisell2.scan.order.add.on.login.required": "Please login before placing an add-on order.",
|
|
57
72
|
"pisell2.text.goodpass": "Promotion",
|
|
58
73
|
"pisell2.text.goodpass.product-vouchers": "Product Vouchers",
|
|
59
74
|
"pisell2.text.goodpass.view-more": "View More",
|
|
@@ -103,6 +118,21 @@ var locales_default = {
|
|
|
103
118
|
"pisell2.scan.order.products.empty.tip": "请选择商品",
|
|
104
119
|
"pisell2.scan.order.check.cart.empty.tip": "请返回添加商品",
|
|
105
120
|
"pisell2.scan.order.submit.disabled.default": "当前暂不可下单",
|
|
121
|
+
"pisell2.scan.order.multiple.orders.tip": "当前桌台存在多个进行中的订单,请联系店员处理加餐。",
|
|
122
|
+
"pisell2.scan.order.multiple.orders.confirm": "我知道了",
|
|
123
|
+
"pisell2.scan.order.settled.cannot.add.tip": "当前订单已结账,无法继续加餐。请重新扫码创建新订单或联系店员。",
|
|
124
|
+
"pisell2.scan.order.inventory.insufficient.title": "库存不足",
|
|
125
|
+
"pisell2.scan.order.inventory.insufficient.description": "以下商品库存不足或已售罄,请调整购物车后重新提交。",
|
|
126
|
+
"pisell2.scan.order.inventory.insufficient.products.label": "异常商品:",
|
|
127
|
+
"pisell2.scan.order.add.on.confirm.title": "本桌已开始点餐",
|
|
128
|
+
"pisell2.scan.order.add.on.confirm.description": "同行顾客已提交订单。本次将作为加餐提交,请确认后继续。",
|
|
129
|
+
"pisell2.scan.order.add.on.confirm.button": "确认加餐",
|
|
130
|
+
"pisell2.scan.order.add.on.return.button": "返回购物车",
|
|
131
|
+
"pisell2.scan.order.add.on.unavailable.title": "暂不支持加餐",
|
|
132
|
+
"pisell2.scan.order.add.on.unavailable.description": "当前无法通过手机为此订单加餐。\n如需加餐,请联系工作人员。",
|
|
133
|
+
"pisell2.scan.order.add.on.unavailable.confirm": "我知道了",
|
|
134
|
+
"pisell2.scan.order.add.on.login.required.title": "提示",
|
|
135
|
+
"pisell2.scan.order.add.on.login.required": "需要登录后才能加餐",
|
|
106
136
|
"pisell2.text.goodpass": "促销",
|
|
107
137
|
"pisell2.text.goodpass.product-vouchers": "商品兑换券",
|
|
108
138
|
"pisell2.text.goodpass.view-more": "查看更多",
|
|
@@ -152,6 +182,21 @@ var locales_default = {
|
|
|
152
182
|
"pisell2.scan.order.products.empty.tip": "請選擇商品",
|
|
153
183
|
"pisell2.scan.order.check.cart.empty.tip": "請返回添加商品",
|
|
154
184
|
"pisell2.scan.order.submit.disabled.default": "當前暫不可下單",
|
|
185
|
+
"pisell2.scan.order.multiple.orders.tip": "當前桌台存在多個進行中的訂單,請聯繫店員處理加餐。",
|
|
186
|
+
"pisell2.scan.order.multiple.orders.confirm": "我知道了",
|
|
187
|
+
"pisell2.scan.order.settled.cannot.add.tip": "當前訂單已結賬,無法繼續加餐。請重新掃碼創建新訂單或聯繫店員。",
|
|
188
|
+
"pisell2.scan.order.inventory.insufficient.title": "庫存不足",
|
|
189
|
+
"pisell2.scan.order.inventory.insufficient.description": "以下商品庫存不足或已售罄,請調整購物車後重新提交。",
|
|
190
|
+
"pisell2.scan.order.inventory.insufficient.products.label": "異常商品:",
|
|
191
|
+
"pisell2.scan.order.add.on.confirm.title": "本桌已開始點餐",
|
|
192
|
+
"pisell2.scan.order.add.on.confirm.description": "同行顧客已提交訂單。本次將作為加餐提交,請確認後繼續。",
|
|
193
|
+
"pisell2.scan.order.add.on.confirm.button": "確認加餐",
|
|
194
|
+
"pisell2.scan.order.add.on.return.button": "返回購物車",
|
|
195
|
+
"pisell2.scan.order.add.on.unavailable.title": "暫不支援加餐",
|
|
196
|
+
"pisell2.scan.order.add.on.unavailable.description": "目前無法透過手機為此訂單加餐。\n如需加餐,請聯絡工作人員。",
|
|
197
|
+
"pisell2.scan.order.add.on.unavailable.confirm": "我知道了",
|
|
198
|
+
"pisell2.scan.order.add.on.login.required.title": "提示",
|
|
199
|
+
"pisell2.scan.order.add.on.login.required": "需要登錄後才能加餐",
|
|
155
200
|
"pisell2.text.goodpass": "促銷",
|
|
156
201
|
"pisell2.text.goodpass.product-vouchers": "商品兌換券",
|
|
157
202
|
"pisell2.text.goodpass.view-more": "查看更多",
|
|
@@ -201,6 +246,21 @@ var locales_default = {
|
|
|
201
246
|
"pisell2.scan.order.products.empty.tip": "商品を選択してください",
|
|
202
247
|
"pisell2.scan.order.check.cart.empty.tip": "商品を追加するには、前の画面に戻ってください",
|
|
203
248
|
"pisell2.scan.order.submit.disabled.default": "現在、注文を送信できません。",
|
|
249
|
+
"pisell2.scan.order.multiple.orders.tip": "現在のテーブルには進行中の注文が複数あります。追加注文についてはスタッフにお問い合わせください。",
|
|
250
|
+
"pisell2.scan.order.multiple.orders.confirm": "了解しました",
|
|
251
|
+
"pisell2.scan.order.settled.cannot.add.tip": "現在の注文はすでに会計済みのため、追加注文できません。再度QRコードをスキャンして新しい注文を作成するか、スタッフにお問い合わせください。",
|
|
252
|
+
"pisell2.scan.order.inventory.insufficient.title": "在庫が不足しています",
|
|
253
|
+
"pisell2.scan.order.inventory.insufficient.description": "以下の商品は在庫切れ、または在庫が不足しています。カートを調整してからもう一度送信してください。",
|
|
254
|
+
"pisell2.scan.order.inventory.insufficient.products.label": "対象商品:",
|
|
255
|
+
"pisell2.scan.order.add.on.confirm.title": "このテーブルではすでに注文が開始されています",
|
|
256
|
+
"pisell2.scan.order.add.on.confirm.description": "同席のお客様がすでに注文を送信しました。今回は追加注文として送信されます。確認して続行してください。",
|
|
257
|
+
"pisell2.scan.order.add.on.confirm.button": "追加注文を確認",
|
|
258
|
+
"pisell2.scan.order.add.on.return.button": "カートに戻る",
|
|
259
|
+
"pisell2.scan.order.add.on.unavailable.title": "追加注文は現在ご利用いただけません",
|
|
260
|
+
"pisell2.scan.order.add.on.unavailable.description": "現在、スマートフォンからこの注文に商品を追加することはできません。\n追加注文をご希望の場合は、スタッフにお声がけください。",
|
|
261
|
+
"pisell2.scan.order.add.on.unavailable.confirm": "了解しました",
|
|
262
|
+
"pisell2.scan.order.add.on.login.required.title": "お知らせ",
|
|
263
|
+
"pisell2.scan.order.add.on.login.required": "追加注文を行うにはログインが必要です。",
|
|
204
264
|
"pisell2.text.goodpass": "プロモーション",
|
|
205
265
|
"pisell2.text.goodpass.product-vouchers": "商品バウチャー",
|
|
206
266
|
"pisell2.text.goodpass.view-more": "もっと見る",
|
|
@@ -250,6 +310,21 @@ var locales_default = {
|
|
|
250
310
|
"pisell2.scan.order.products.empty.tip": "Selecione produtos",
|
|
251
311
|
"pisell2.scan.order.check.cart.empty.tip": "Volte para adicionar produtos",
|
|
252
312
|
"pisell2.scan.order.submit.disabled.default": "No momento, não é possível enviar pedidos.",
|
|
313
|
+
"pisell2.scan.order.multiple.orders.tip": "Há vários pedidos ativos nesta mesa. Entre em contato com a equipe para adicionar itens.",
|
|
314
|
+
"pisell2.scan.order.multiple.orders.confirm": "Entendi",
|
|
315
|
+
"pisell2.scan.order.settled.cannot.add.tip": "Este pedido já foi finalizado e não é possível adicionar mais itens. Escaneie novamente para criar um novo pedido ou entre em contato com a equipe.",
|
|
316
|
+
"pisell2.scan.order.inventory.insufficient.title": "Estoque insuficiente",
|
|
317
|
+
"pisell2.scan.order.inventory.insufficient.description": "Os seguintes itens estão sem estoque ou não têm estoque suficiente. Ajuste o carrinho e tente novamente.",
|
|
318
|
+
"pisell2.scan.order.inventory.insufficient.products.label": "Produtos indisponíveis:",
|
|
319
|
+
"pisell2.scan.order.add.on.confirm.title": "Esta mesa já começou a fazer o pedido",
|
|
320
|
+
"pisell2.scan.order.add.on.confirm.description": "Alguém na sua mesa já enviou o pedido. Este será enviado como um pedido adicional.",
|
|
321
|
+
"pisell2.scan.order.add.on.confirm.button": "Confirmar pedido adicional",
|
|
322
|
+
"pisell2.scan.order.add.on.return.button": "Voltar ao carrinho",
|
|
323
|
+
"pisell2.scan.order.add.on.unavailable.title": "Pedidos adicionais não estão disponíveis",
|
|
324
|
+
"pisell2.scan.order.add.on.unavailable.description": "No momento, você não pode adicionar itens a este pedido pelo celular.\nPeça ajuda a um membro da equipe.",
|
|
325
|
+
"pisell2.scan.order.add.on.unavailable.confirm": "Entendi",
|
|
326
|
+
"pisell2.scan.order.add.on.login.required.title": "Aviso",
|
|
327
|
+
"pisell2.scan.order.add.on.login.required": "Faça login antes de fazer um pedido adicional.",
|
|
253
328
|
"pisell2.text.goodpass": "Promoção",
|
|
254
329
|
"pisell2.text.goodpass.product-vouchers": "Vales de Produto",
|
|
255
330
|
"pisell2.text.goodpass.view-more": "Ver Mais",
|
|
@@ -109,7 +109,11 @@ function VoucherCard() {
|
|
|
109
109
|
className: "login-btn",
|
|
110
110
|
onClick: () => {
|
|
111
111
|
openLoginModal({
|
|
112
|
-
callback: () => {
|
|
112
|
+
callback: (status) => {
|
|
113
|
+
if (status !== "success") return;
|
|
114
|
+
handleLoginSuccess().then(() => {
|
|
115
|
+
void syncAfterDiscountChange();
|
|
116
|
+
});
|
|
113
117
|
}
|
|
114
118
|
});
|
|
115
119
|
}
|
|
@@ -283,7 +283,7 @@ var locales_default = {
|
|
|
283
283
|
"pisell-register2-complete-title": "注册完成!",
|
|
284
284
|
"pisell-register2-redirecting": "正在重定向到您的帐户...",
|
|
285
285
|
"pisell-login2-continue-with-email": "使用邮箱",
|
|
286
|
-
"pisell-login2-continue-with-phone": "
|
|
286
|
+
"pisell-login2-continue-with-phone": "使用手机号继续",
|
|
287
287
|
"pisell-login2-email-not-registered": "该邮箱未注册,请先注册",
|
|
288
288
|
"pisell-login2-check-email-failed": "检查邮箱失败,请重试",
|
|
289
289
|
"pisell-login2-continue-failed": "继续失败,请重试",
|