@pisell/private-materials 3.4.87 → 3.4.89
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 +2 -2
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/footer/utils.js +4 -4
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/hooks/useClearCart.d.ts +1 -1
- package/es/components/booking/hooks/useClearCart.js +39 -9
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/index.less +4 -2
- package/es/components/booking/info2/service/editService/index.js +36 -6
- package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/es/components/booking/info2/service/editService/utils.js +76 -0
- package/es/components/booking/locales.d.ts +20 -0
- package/es/components/booking/locales.js +20 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
- package/es/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +65 -21
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +28 -16
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +20 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +14 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +167 -56
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +83 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +260 -33
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +23 -3
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +292 -115
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/index.js +12 -2
- package/es/components/pay/toC/index.js +53 -18
- package/es/components/pay/toC/locales.d.ts +115 -0
- package/es/components/pay/toC/locales.js +143 -18
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pay/toC/serve.d.ts +10 -0
- package/es/components/pay/toC/serve.js +40 -1
- package/es/components/pay/toC/utils.d.ts +5 -0
- package/es/components/pay/toC/utils.js +10 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/shoppingCart/components/Cart/index.less +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/es/components/shoppingCart/hooks/useClearCart.js +41 -11
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/recharge/index.js +13 -5
- package/es/plus/walletPassGallery/components/recharge/index.less +70 -1
- package/es/plus/walletPassGallery/locales.d.ts +10 -0
- package/es/plus/walletPassGallery/locales.js +26 -5
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/footer/utils.js +2 -2
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -1
- package/lib/components/booking/hooks/useClearCart.js +28 -6
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/index.less +4 -2
- package/lib/components/booking/info2/service/editService/index.js +24 -1
- package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/lib/components/booking/info2/service/editService/utils.js +38 -2
- package/lib/components/booking/locales.d.ts +20 -0
- package/lib/components/booking/locales.js +20 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentList/payment/google_pay.svg +26 -8
- package/lib/components/pay/toC/PaymentList/payment/google_pay2.svg +9 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +40 -17
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +110 -9
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +17 -5
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +20 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +8 -2
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +20 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +7 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +98 -24
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +47 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.d.ts +34 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.js +107 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/components/TDSErrorModal/index.less +52 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +9 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +149 -5
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +23 -3
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +99 -16
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +19 -14
- package/lib/components/pay/toC/index.js +34 -3
- package/lib/components/pay/toC/locales.d.ts +115 -0
- package/lib/components/pay/toC/locales.js +133 -18
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pay/toC/serve.d.ts +10 -0
- package/lib/components/pay/toC/serve.js +10 -0
- package/lib/components/pay/toC/utils.d.ts +5 -0
- package/lib/components/pay/toC/utils.js +17 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/shoppingCart/components/Cart/index.less +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -1
- package/lib/components/shoppingCart/hooks/useClearCart.js +42 -11
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/recharge/index.js +7 -5
- package/lib/plus/walletPassGallery/components/recharge/index.less +70 -1
- package/lib/plus/walletPassGallery/locales.d.ts +10 -0
- package/lib/plus/walletPassGallery/locales.js +20 -5
- package/lowcode/eco-cup-list/meta.ts +20 -56
- package/lowcode/eco-customer-list/meta.ts +20 -56
- package/package.json +3 -3
|
@@ -7,10 +7,79 @@
|
|
|
7
7
|
|
|
8
8
|
&-card-item {
|
|
9
9
|
cursor: pointer;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.pisell-card-item {
|
|
14
|
+
border-radius: 8px;
|
|
15
|
+
border: 1px solid transparent;
|
|
16
|
+
transition: all 0.3s;
|
|
17
|
+
background: #fff;
|
|
18
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
19
|
+
min-width: 0;
|
|
10
20
|
}
|
|
11
21
|
|
|
12
22
|
.pisell-card-selected {
|
|
13
|
-
border:
|
|
23
|
+
border-color: var(--theme-color, #7f56d9);
|
|
14
24
|
background: var(--Primary-50, #f9f5ff);
|
|
25
|
+
box-shadow: 0 4px 12px rgba(127, 86, 217, 0.1);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.card-content {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: 16px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.card-content-left {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: 8px;
|
|
39
|
+
flex: 1;
|
|
40
|
+
min-width: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.pisell-card-amount-item-name {
|
|
44
|
+
font-size: 16px;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
color: #333;
|
|
47
|
+
margin: 0;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.pisell-card-amount-item-arrival {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: 4px;
|
|
57
|
+
font-size: 13px;
|
|
58
|
+
color: #666;
|
|
59
|
+
flex-wrap: wrap;
|
|
60
|
+
|
|
61
|
+
.highlight-amount {
|
|
62
|
+
color: #ff4d4f;
|
|
63
|
+
font-weight: 500;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.card-content-right {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
align-items: flex-end;
|
|
71
|
+
margin-top: 4px;
|
|
72
|
+
flex-shrink: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.pay-label {
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
color: #666;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.pay-amount {
|
|
81
|
+
font-size: 20px;
|
|
82
|
+
font-weight: bold;
|
|
83
|
+
color: var(--theme-color, #7f56d9);
|
|
15
84
|
}
|
|
16
85
|
}
|
|
@@ -92,6 +92,8 @@ declare const _default: {
|
|
|
92
92
|
'page.wallet.tempHolderSelector.confirm': string;
|
|
93
93
|
'page.wallet.notValidDate': string;
|
|
94
94
|
'page.wallet.includedDate': string;
|
|
95
|
+
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
96
|
+
'wallet-pass-gallery.rechargePayAmount': string;
|
|
95
97
|
};
|
|
96
98
|
'zh-CN': {
|
|
97
99
|
'wallet-pass-gallery.rechargeableCard': string;
|
|
@@ -186,6 +188,8 @@ declare const _default: {
|
|
|
186
188
|
'page.wallet.tempHolderSelector.confirm': string;
|
|
187
189
|
'page.wallet.notValidDate': string;
|
|
188
190
|
'page.wallet.includedDate': string;
|
|
191
|
+
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
192
|
+
'wallet-pass-gallery.rechargePayAmount': string;
|
|
189
193
|
};
|
|
190
194
|
'zh-HK': {
|
|
191
195
|
'wallet-pass-gallery.rechargeableCard': string;
|
|
@@ -280,6 +284,8 @@ declare const _default: {
|
|
|
280
284
|
'page.wallet.tempHolderSelector.confirm': string;
|
|
281
285
|
'page.wallet.notValidDate': string;
|
|
282
286
|
'page.wallet.includedDate': string;
|
|
287
|
+
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
288
|
+
'wallet-pass-gallery.rechargePayAmount': string;
|
|
283
289
|
};
|
|
284
290
|
ja: {
|
|
285
291
|
'wallet-pass-gallery.rechargeableCard': string;
|
|
@@ -374,6 +380,8 @@ declare const _default: {
|
|
|
374
380
|
'page.wallet.tempHolderSelector.confirm': string;
|
|
375
381
|
'page.wallet.notValidDate': string;
|
|
376
382
|
'page.wallet.includedDate': string;
|
|
383
|
+
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
384
|
+
'wallet-pass-gallery.rechargePayAmount': string;
|
|
377
385
|
};
|
|
378
386
|
pt: {
|
|
379
387
|
'wallet-pass-gallery.rechargeableCard': string;
|
|
@@ -468,6 +476,8 @@ declare const _default: {
|
|
|
468
476
|
'page.wallet.tempHolderSelector.confirm': string;
|
|
469
477
|
'page.wallet.notValidDate': string;
|
|
470
478
|
'page.wallet.includedDate': string;
|
|
479
|
+
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
480
|
+
'wallet-pass-gallery.rechargePayAmount': string;
|
|
471
481
|
};
|
|
472
482
|
};
|
|
473
483
|
export default _default;
|
|
@@ -100,7 +100,12 @@ export default {
|
|
|
100
100
|
// temp
|
|
101
101
|
'page.wallet.notValidDate': 'Not valid on',
|
|
102
102
|
// 不可用日期
|
|
103
|
-
'page.wallet.includedDate': 'Included dates'
|
|
103
|
+
'page.wallet.includedDate': 'Included dates',
|
|
104
|
+
// 包含日期
|
|
105
|
+
|
|
106
|
+
// recharge
|
|
107
|
+
'wallet-pass-gallery.rechargeArrivalAmount': 'You get',
|
|
108
|
+
'wallet-pass-gallery.rechargePayAmount': 'Pay'
|
|
104
109
|
},
|
|
105
110
|
'zh-CN': {
|
|
106
111
|
'wallet-pass-gallery.rechargeableCard': '充值卡',
|
|
@@ -199,7 +204,12 @@ export default {
|
|
|
199
204
|
// temp
|
|
200
205
|
'page.wallet.notValidDate': '不可用日期',
|
|
201
206
|
// 不可用日期
|
|
202
|
-
'page.wallet.includedDate': '包含日期'
|
|
207
|
+
'page.wallet.includedDate': '包含日期',
|
|
208
|
+
// 包含日期
|
|
209
|
+
|
|
210
|
+
// recharge
|
|
211
|
+
'wallet-pass-gallery.rechargeArrivalAmount': '到账金额',
|
|
212
|
+
'wallet-pass-gallery.rechargePayAmount': '支付金额'
|
|
203
213
|
},
|
|
204
214
|
'zh-HK': {
|
|
205
215
|
'wallet-pass-gallery.rechargeableCard': '充值卡',
|
|
@@ -298,7 +308,12 @@ export default {
|
|
|
298
308
|
// temp
|
|
299
309
|
'page.wallet.notValidDate': '不可用日期',
|
|
300
310
|
// 不可用日期
|
|
301
|
-
'page.wallet.includedDate': '包含日期'
|
|
311
|
+
'page.wallet.includedDate': '包含日期',
|
|
312
|
+
// 包含日期
|
|
313
|
+
|
|
314
|
+
// recharge
|
|
315
|
+
'wallet-pass-gallery.rechargeArrivalAmount': '到帳金額',
|
|
316
|
+
'wallet-pass-gallery.rechargePayAmount': '支付金額'
|
|
302
317
|
},
|
|
303
318
|
ja: {
|
|
304
319
|
'wallet-pass-gallery.rechargeableCard': 'チャージ可能なカード',
|
|
@@ -394,7 +409,10 @@ export default {
|
|
|
394
409
|
'page.wallet.tempHolderSelector.create': '新規作成',
|
|
395
410
|
'page.wallet.tempHolderSelector.confirm': '確認',
|
|
396
411
|
'page.wallet.notValidDate': '利用不可日',
|
|
397
|
-
'page.wallet.includedDate': '含まれる日付'
|
|
412
|
+
'page.wallet.includedDate': '含まれる日付',
|
|
413
|
+
// recharge
|
|
414
|
+
'wallet-pass-gallery.rechargeArrivalAmount': 'チャージ後残高',
|
|
415
|
+
'wallet-pass-gallery.rechargePayAmount': '支払金額'
|
|
398
416
|
},
|
|
399
417
|
pt: {
|
|
400
418
|
'wallet-pass-gallery.rechargeableCard': 'Cartão recarregável',
|
|
@@ -490,6 +508,9 @@ export default {
|
|
|
490
508
|
'page.wallet.tempHolderSelector.create': 'Criar Novo',
|
|
491
509
|
'page.wallet.tempHolderSelector.confirm': 'Confirmar',
|
|
492
510
|
'page.wallet.notValidDate': 'Não válido em',
|
|
493
|
-
'page.wallet.includedDate': 'Datas incluídas'
|
|
511
|
+
'page.wallet.includedDate': 'Datas incluídas',
|
|
512
|
+
// recharge
|
|
513
|
+
'wallet-pass-gallery.rechargeArrivalAmount': 'Recebe',
|
|
514
|
+
'wallet-pass-gallery.rechargePayAmount': 'Paga'
|
|
494
515
|
}
|
|
495
516
|
};
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -234,7 +234,7 @@ var formatHolders = (state, item, values) => {
|
|
|
234
234
|
var formatProductPrice = (item) => {
|
|
235
235
|
var _a, _b, _c, _d;
|
|
236
236
|
const other = (_a = item._extend) == null ? void 0 : _a.other;
|
|
237
|
-
let price = Number((_b = item._extend) == null ? void 0 : _b.price);
|
|
237
|
+
let price = Number((item == null ? void 0 : item.price) ?? ((_b = item == null ? void 0 : item._extend) == null ? void 0 : _b.price));
|
|
238
238
|
if ((other == null ? void 0 : other.product_variant_id) > 0 && ((_c = item == null ? void 0 : item.variant) == null ? void 0 : _c.length) > 0) {
|
|
239
239
|
const variant = item.variant.find(
|
|
240
240
|
(d) => d.id === (other == null ? void 0 : other.product_variant_id)
|
|
@@ -280,7 +280,7 @@ var formatMetaData = (item, isMultiDayPrices) => {
|
|
|
280
280
|
var getSourceProductPrice = (item) => {
|
|
281
281
|
var _a, _b, _c;
|
|
282
282
|
const other = (_a = item._extend) == null ? void 0 : _a.other;
|
|
283
|
-
let price = Number((_b = item._extend) == null ? void 0 : _b.price);
|
|
283
|
+
let price = Number((item == null ? void 0 : item.price) ?? ((_b = item._extend) == null ? void 0 : _b.price));
|
|
284
284
|
if ((other == null ? void 0 : other.product_variant_id) > 0 && ((_c = item == null ? void 0 : item.variant) == null ? void 0 : _c.length) > 0) {
|
|
285
285
|
const variant = item.variant.find(
|
|
286
286
|
(d) => d.id === (other == null ? void 0 : other.product_variant_id)
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -38,28 +38,50 @@ var import_materials = require("@pisell/materials");
|
|
|
38
38
|
var import_utils = require("@pisell/utils");
|
|
39
39
|
var useClearCart = (state, dispatch) => {
|
|
40
40
|
var _a, _b;
|
|
41
|
-
const
|
|
41
|
+
const [open, setOpen] = (0, import_react.useState)(false);
|
|
42
|
+
const handleOpenModal = (0, import_react.useCallback)(() => {
|
|
43
|
+
setOpen(true);
|
|
44
|
+
}, []);
|
|
45
|
+
const handleConfirm = (0, import_react.useCallback)(() => {
|
|
42
46
|
dispatch({
|
|
43
47
|
type: "setService",
|
|
44
48
|
payload: {
|
|
45
49
|
value: []
|
|
46
50
|
}
|
|
47
51
|
});
|
|
48
|
-
|
|
52
|
+
setOpen(false);
|
|
53
|
+
}, []);
|
|
54
|
+
const handleCancel = (0, import_react.useCallback)(() => {
|
|
55
|
+
setOpen(false);
|
|
56
|
+
}, []);
|
|
49
57
|
return (0, import_react.useMemo)(() => {
|
|
50
58
|
var _a2, _b2, _c, _d;
|
|
51
|
-
|
|
59
|
+
const showClearBtn = !!((_b2 = (_a2 = state.service) == null ? void 0 : _a2.value) == null ? void 0 : _b2.length) && !state.channelDisabledEdit;
|
|
60
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showClearBtn && /* @__PURE__ */ import_react.default.createElement(
|
|
52
61
|
"span",
|
|
53
62
|
{
|
|
54
63
|
className: (0, import_classnames.default)("pisell-lowcode__booking-service-clear-btn", {
|
|
55
64
|
["pisell-lowcode__booking-service-clear-btn-disabled"]: !((_d = (_c = state.service) == null ? void 0 : _c.value) == null ? void 0 : _d.length)
|
|
56
65
|
}),
|
|
57
|
-
onClick:
|
|
66
|
+
onClick: handleOpenModal
|
|
58
67
|
},
|
|
59
68
|
/* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-trash-01" }),
|
|
60
69
|
" ",
|
|
61
70
|
/* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.booking.info.text.clear-cart"))
|
|
62
|
-
)
|
|
63
|
-
|
|
71
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
72
|
+
import_materials.PisellModal,
|
|
73
|
+
{
|
|
74
|
+
open,
|
|
75
|
+
platform: "pc",
|
|
76
|
+
title: import_utils.locales.getText("pisell2.booking.info.text.clear-cart-modal.title"),
|
|
77
|
+
onOk: handleConfirm,
|
|
78
|
+
onCancel: handleCancel,
|
|
79
|
+
okText: import_utils.locales.getText("pisell2.booking.info.text.clear-cart-modal.confirm"),
|
|
80
|
+
cancelText: import_utils.locales.getText("pisell2.booking.info.text.clear-cart-modal.cancel"),
|
|
81
|
+
destroyOnClose: true
|
|
82
|
+
},
|
|
83
|
+
/* @__PURE__ */ import_react.default.createElement("div", { style: { margin: "24px 0" } }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.booking.info.text.clear-cart-modal.content")))
|
|
84
|
+
));
|
|
85
|
+
}, [(_b = (_a = state.service) == null ? void 0 : _a.value) == null ? void 0 : _b.length, state.channelDisabledEdit, open]);
|
|
64
86
|
};
|
|
65
87
|
var useClearCart_default = useClearCart;
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormState } from '../model';
|
|
3
1
|
export declare const walkInData: {
|
|
4
2
|
id: number;
|
|
5
3
|
nickname: string;
|
|
6
4
|
};
|
|
7
|
-
export declare const Provider:
|
|
8
|
-
state: FormState;
|
|
9
|
-
} & {
|
|
10
|
-
dispatch: (params: {
|
|
11
|
-
type: string;
|
|
12
|
-
payload: any;
|
|
13
|
-
}) => void;
|
|
14
|
-
}>;
|
|
5
|
+
export declare const Provider: any, Context: any;
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
line-height: 24px; /* 150% */
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
|
-
margin-bottom:
|
|
12
|
-
padding: 12px 0;
|
|
11
|
+
margin-bottom: 16px !important;
|
|
12
|
+
// padding: 12px 0;
|
|
13
|
+
padding: 0 !important;
|
|
14
|
+
width: max-content;
|
|
13
15
|
.anticon {
|
|
14
16
|
font-size: 18px;
|
|
15
17
|
margin-right: 6px;
|
|
@@ -52,6 +52,8 @@ var import_materials = require("@pisell/materials");
|
|
|
52
52
|
var import_utils5 = require("../../../info/utils");
|
|
53
53
|
var import_utils6 = require("../../../info/service2/utils");
|
|
54
54
|
var import_utils7 = require("../../../../ticketBooking/utils");
|
|
55
|
+
var import_decimal = require("decimal.js");
|
|
56
|
+
var import_utils8 = require("./utils");
|
|
55
57
|
var submitLock = false;
|
|
56
58
|
var Info = (_, ref) => {
|
|
57
59
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I;
|
|
@@ -165,7 +167,7 @@ var Info = (_, ref) => {
|
|
|
165
167
|
form.setFieldsValue({ discount });
|
|
166
168
|
};
|
|
167
169
|
const onFinish = (values) => {
|
|
168
|
-
var _a2, _b2;
|
|
170
|
+
var _a2, _b2, _c2, _d2, _e2;
|
|
169
171
|
let isSuccess = (_a2 = resourcesRef.current) == null ? void 0 : _a2.check();
|
|
170
172
|
if (isShowTimeAndResource && !isSuccess) {
|
|
171
173
|
return;
|
|
@@ -193,6 +195,23 @@ var Info = (_, ref) => {
|
|
|
193
195
|
const { startDate, endDate } = (0, import_utils3.getServiceTimes)({ _extend });
|
|
194
196
|
_extend.startDate = startDate;
|
|
195
197
|
_extend.endDate = endDate;
|
|
198
|
+
if (isChangeTotal.current) {
|
|
199
|
+
const discountRatio = new import_decimal.Decimal(values.total).div(_item._extend.origin_total);
|
|
200
|
+
const bundles2 = ((_c2 = _extend == null ? void 0 : _extend.other) == null ? void 0 : _c2.bundle) || [];
|
|
201
|
+
let childProductsTotal = new import_decimal.Decimal(0);
|
|
202
|
+
if (bundles2.length > 0) {
|
|
203
|
+
bundles2.forEach((bundle) => {
|
|
204
|
+
const discountedPrice = new import_decimal.Decimal(bundle.original_price).mul(discountRatio).toDecimalPlaces(2, import_decimal.Decimal.ROUND_HALF_UP);
|
|
205
|
+
bundle.bundle_selling_price = discountedPrice.toNumber();
|
|
206
|
+
childProductsTotal = childProductsTotal.add(
|
|
207
|
+
discountedPrice.mul(bundle.quantity)
|
|
208
|
+
);
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
const mainProductTotal = new import_decimal.Decimal(values.total).sub(childProductsTotal);
|
|
212
|
+
const mainProductQuantity = ((_d2 = _extend.other) == null ? void 0 : _d2.quantity) || _extend.quantity || 1;
|
|
213
|
+
_extend.main_product_selling_price = mainProductTotal.div(mainProductQuantity).toNumber();
|
|
214
|
+
}
|
|
196
215
|
if (_extend.bundle_edit !== void 0) {
|
|
197
216
|
_extend.bundle_edit = 1;
|
|
198
217
|
}
|
|
@@ -200,6 +219,10 @@ var Info = (_, ref) => {
|
|
|
200
219
|
_item._time = (/* @__PURE__ */ new Date()).getTime();
|
|
201
220
|
_item._serviceKey = (0, import_utils7.genServiceKey)(_item);
|
|
202
221
|
let _id = _item == null ? void 0 : _item._id;
|
|
222
|
+
_item = (0, import_utils8.setProductPrice)(_item, {
|
|
223
|
+
newTotal: values.total,
|
|
224
|
+
origin_total: (_e2 = _item._extend) == null ? void 0 : _e2.origin_total
|
|
225
|
+
});
|
|
203
226
|
if (!_list.some((d) => d._id === _id)) {
|
|
204
227
|
const detail = (0, import_utils7.addService)(_list, _item, state);
|
|
205
228
|
_list = detail.list;
|
|
@@ -11,3 +11,18 @@ export declare const getAutoAllocationStorage: (id: string | number) => any;
|
|
|
11
11
|
export declare const setAutoAllocationStorage: (data: {
|
|
12
12
|
[key: string]: boolean;
|
|
13
13
|
}) => void;
|
|
14
|
+
/**
|
|
15
|
+
* 手动折扣后给商品价格和子商品价格重新计算
|
|
16
|
+
*
|
|
17
|
+
* 计算逻辑:
|
|
18
|
+
* 1. 子商品(bundle + option)按折扣比例计算,直接截取两位小数(不四舍五入)
|
|
19
|
+
* 2. 主商品价格 = newTotal - 所有子商品价格总和(确保总价精确等于 newTotal)
|
|
20
|
+
*
|
|
21
|
+
* @param cacheItem - 缓存的商品项
|
|
22
|
+
* @param newTotal - 折扣后的新总价
|
|
23
|
+
* @param origin_total - 原始总价
|
|
24
|
+
*/
|
|
25
|
+
export declare const setProductPrice: (cacheItem: any, { newTotal, origin_total }: {
|
|
26
|
+
newTotal: number;
|
|
27
|
+
origin_total: number;
|
|
28
|
+
}) => any;
|
|
@@ -20,10 +20,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
var utils_exports = {};
|
|
21
21
|
__export(utils_exports, {
|
|
22
22
|
getAutoAllocationStorage: () => getAutoAllocationStorage,
|
|
23
|
-
setAutoAllocationStorage: () => setAutoAllocationStorage
|
|
23
|
+
setAutoAllocationStorage: () => setAutoAllocationStorage,
|
|
24
|
+
setProductPrice: () => setProductPrice
|
|
24
25
|
});
|
|
25
26
|
module.exports = __toCommonJS(utils_exports);
|
|
26
27
|
var import_utils = require("@pisell/utils");
|
|
28
|
+
var import_utils2 = require("../addService/utils");
|
|
29
|
+
var import_decimal = require("decimal.js");
|
|
30
|
+
var import_utils3 = require("@pisell/utils");
|
|
27
31
|
var getAutoAllocationStorage = (id) => {
|
|
28
32
|
const value = localStorage.getItem("resource-auto-allocation");
|
|
29
33
|
if (value) {
|
|
@@ -41,8 +45,40 @@ var setAutoAllocationStorage = (data) => {
|
|
|
41
45
|
localStorage.setItem("resource-auto-allocation", JSON.stringify({ ...data }));
|
|
42
46
|
}
|
|
43
47
|
};
|
|
48
|
+
var setProductPrice = (cacheItem, { newTotal, origin_total }) => {
|
|
49
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
50
|
+
if (((_a = cacheItem == null ? void 0 : cacheItem.discount_list) == null ? void 0 : _a.length) && ((cacheItem == null ? void 0 : cacheItem.discount_list) || []).some((item) => ["good_pass", "discount_card", "product_discount_card"].includes(
|
|
51
|
+
item.type
|
|
52
|
+
))) {
|
|
53
|
+
return cacheItem;
|
|
54
|
+
}
|
|
55
|
+
if (cacheItem.discount_amount) {
|
|
56
|
+
return cacheItem;
|
|
57
|
+
}
|
|
58
|
+
const discountRatio = new import_decimal.Decimal(newTotal).div(new import_decimal.Decimal(origin_total));
|
|
59
|
+
let subTotal = new import_decimal.Decimal(0);
|
|
60
|
+
if (((_b = cacheItem._extend.other) == null ? void 0 : _b.bundle) && (0, import_utils3.isArr)((_c = cacheItem._extend.other) == null ? void 0 : _c.bundle)) {
|
|
61
|
+
(_e = (_d = cacheItem._extend.other) == null ? void 0 : _d.bundle) == null ? void 0 : _e.forEach((bundle) => {
|
|
62
|
+
const newPrice = new import_decimal.Decimal(bundle.original_price || bundle.price).mul(discountRatio).toDecimalPlaces(2, import_decimal.Decimal.ROUND_DOWN).toNumber();
|
|
63
|
+
const quantity = bundle.num ?? bundle.quantity ?? 1;
|
|
64
|
+
subTotal = subTotal.add(new import_decimal.Decimal(newPrice).mul(quantity));
|
|
65
|
+
bundle.price = newPrice;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
if (((_f = cacheItem._extend.other) == null ? void 0 : _f.option) && (0, import_utils3.isArr)((_g = cacheItem._extend.other) == null ? void 0 : _g.option)) {
|
|
69
|
+
(_i = (_h = cacheItem._extend.other) == null ? void 0 : _h.option) == null ? void 0 : _i.forEach((option) => {
|
|
70
|
+
const newPrice = new import_decimal.Decimal(option.price).mul(discountRatio).toDecimalPlaces(2, import_decimal.Decimal.ROUND_DOWN).toNumber();
|
|
71
|
+
const quantity = option.num ?? option.quantity ?? 1;
|
|
72
|
+
subTotal = subTotal.add(new import_decimal.Decimal(newPrice).mul(quantity));
|
|
73
|
+
option.price = newPrice;
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
cacheItem._extend.price = new import_decimal.Decimal(newTotal).sub(subTotal).toNumber();
|
|
77
|
+
return cacheItem;
|
|
78
|
+
};
|
|
44
79
|
// Annotate the CommonJS export names for ESM import in node:
|
|
45
80
|
0 && (module.exports = {
|
|
46
81
|
getAutoAllocationStorage,
|
|
47
|
-
setAutoAllocationStorage
|
|
82
|
+
setAutoAllocationStorage,
|
|
83
|
+
setProductPrice
|
|
48
84
|
});
|
|
@@ -227,6 +227,10 @@ declare const _default: {
|
|
|
227
227
|
'pisell2.booking.dashboard.default': string;
|
|
228
228
|
'pisell2.booking.info.text.clear-cart': string;
|
|
229
229
|
'pisell2.booking.info.text.clear-all': string;
|
|
230
|
+
'pisell2.booking.info.text.clear-cart-modal.title': string;
|
|
231
|
+
'pisell2.booking.info.text.clear-cart-modal.content': string;
|
|
232
|
+
'pisell2.booking.info.text.clear-cart-modal.confirm': string;
|
|
233
|
+
'pisell2.booking.info.text.clear-cart-modal.cancel': string;
|
|
230
234
|
'pisell2.booking.info.text.create-new': string;
|
|
231
235
|
'pisell2.booking.info.text.form-agreement-yes': string;
|
|
232
236
|
'pisell2.booking.info.text.form-agreement-no': string;
|
|
@@ -505,6 +509,10 @@ declare const _default: {
|
|
|
505
509
|
'pisell2.booking.dashboard.default': string;
|
|
506
510
|
'pisell2.booking.info.text.clear-cart': string;
|
|
507
511
|
'pisell2.booking.info.text.clear-all': string;
|
|
512
|
+
'pisell2.booking.info.text.clear-cart-modal.title': string;
|
|
513
|
+
'pisell2.booking.info.text.clear-cart-modal.content': string;
|
|
514
|
+
'pisell2.booking.info.text.clear-cart-modal.confirm': string;
|
|
515
|
+
'pisell2.booking.info.text.clear-cart-modal.cancel': string;
|
|
508
516
|
'pisell2.booking.info.text.create-new': string;
|
|
509
517
|
'pisell2.booking.info.text.form-agreement-yes': string;
|
|
510
518
|
'pisell2.booking.info.text.form-agreement-no': string;
|
|
@@ -783,6 +791,10 @@ declare const _default: {
|
|
|
783
791
|
'pisell2.booking.dashboard.default': string;
|
|
784
792
|
'pisell2.booking.info.text.clear-cart': string;
|
|
785
793
|
'pisell2.booking.info.text.clear-all': string;
|
|
794
|
+
'pisell2.booking.info.text.clear-cart-modal.title': string;
|
|
795
|
+
'pisell2.booking.info.text.clear-cart-modal.content': string;
|
|
796
|
+
'pisell2.booking.info.text.clear-cart-modal.confirm': string;
|
|
797
|
+
'pisell2.booking.info.text.clear-cart-modal.cancel': string;
|
|
786
798
|
'pisell2.booking.info.text.create-new': string;
|
|
787
799
|
'pisell2.booking.info.text.form-agreement-yes': string;
|
|
788
800
|
'pisell2.booking.info.text.form-agreement-no': string;
|
|
@@ -1067,6 +1079,10 @@ declare const _default: {
|
|
|
1067
1079
|
'pisell2.booking.info.text.clear': string;
|
|
1068
1080
|
'pisell2.booking.info.text.clear-cart': string;
|
|
1069
1081
|
'pisell2.booking.info.text.clear-all': string;
|
|
1082
|
+
'pisell2.booking.info.text.clear-cart-modal.title': string;
|
|
1083
|
+
'pisell2.booking.info.text.clear-cart-modal.content': string;
|
|
1084
|
+
'pisell2.booking.info.text.clear-cart-modal.confirm': string;
|
|
1085
|
+
'pisell2.booking.info.text.clear-cart-modal.cancel': string;
|
|
1070
1086
|
'pisell2.booking.info.text.add-holder': string;
|
|
1071
1087
|
'pisell2.booking.info.text.select-holder-title': string;
|
|
1072
1088
|
'pisell2.booking.info.text.create-new': string;
|
|
@@ -1381,6 +1397,10 @@ declare const _default: {
|
|
|
1381
1397
|
'pisell2.booking.info.text.clear': string;
|
|
1382
1398
|
'pisell2.booking.info.text.clear-cart': string;
|
|
1383
1399
|
'pisell2.booking.info.text.clear-all': string;
|
|
1400
|
+
'pisell2.booking.info.text.clear-cart-modal.title': string;
|
|
1401
|
+
'pisell2.booking.info.text.clear-cart-modal.content': string;
|
|
1402
|
+
'pisell2.booking.info.text.clear-cart-modal.confirm': string;
|
|
1403
|
+
'pisell2.booking.info.text.clear-cart-modal.cancel': string;
|
|
1384
1404
|
'pisell2.booking.info.text.add-holder': string;
|
|
1385
1405
|
'pisell2.booking.info.text.select-holder-title': string;
|
|
1386
1406
|
'pisell2.booking.info.text.create-new': string;
|
|
@@ -283,6 +283,10 @@ var locales_default = {
|
|
|
283
283
|
"pisell2.booking.dashboard.default": "Default",
|
|
284
284
|
"pisell2.booking.info.text.clear-cart": "Clear cart",
|
|
285
285
|
"pisell2.booking.info.text.clear-all": "Clear all",
|
|
286
|
+
"pisell2.booking.info.text.clear-cart-modal.title": "Clear Cart",
|
|
287
|
+
"pisell2.booking.info.text.clear-cart-modal.content": "This will remove all items from the cart and cannot be undone. Continue?",
|
|
288
|
+
"pisell2.booking.info.text.clear-cart-modal.confirm": "Clear All",
|
|
289
|
+
"pisell2.booking.info.text.clear-cart-modal.cancel": "Cancel",
|
|
286
290
|
"pisell2.booking.info.text.create-new": "Create new",
|
|
287
291
|
"pisell2.booking.info.text.form-agreement-yes": "Yes",
|
|
288
292
|
"pisell2.booking.info.text.form-agreement-no": "No",
|
|
@@ -594,6 +598,10 @@ var locales_default = {
|
|
|
594
598
|
"pisell2.booking.dashboard.default": "默认",
|
|
595
599
|
"pisell2.booking.info.text.clear-cart": "清空购物车",
|
|
596
600
|
"pisell2.booking.info.text.clear-all": "清空",
|
|
601
|
+
"pisell2.booking.info.text.clear-cart-modal.title": "清空购物车",
|
|
602
|
+
"pisell2.booking.info.text.clear-cart-modal.content": "此操作将移除购物车中的所有商品,且无法恢复,是否继续?",
|
|
603
|
+
"pisell2.booking.info.text.clear-cart-modal.confirm": "确认清空",
|
|
604
|
+
"pisell2.booking.info.text.clear-cart-modal.cancel": "取消",
|
|
597
605
|
"pisell2.booking.info.text.create-new": "新建",
|
|
598
606
|
"pisell2.booking.info.text.form-agreement-yes": "是",
|
|
599
607
|
"pisell2.booking.info.text.form-agreement-no": "否",
|
|
@@ -905,6 +913,10 @@ var locales_default = {
|
|
|
905
913
|
"pisell2.booking.dashboard.default": "默认",
|
|
906
914
|
"pisell2.booking.info.text.clear-cart": "清空購物車",
|
|
907
915
|
"pisell2.booking.info.text.clear-all": "清空",
|
|
916
|
+
"pisell2.booking.info.text.clear-cart-modal.title": "清空購物車",
|
|
917
|
+
"pisell2.booking.info.text.clear-cart-modal.content": "此操作將移除購物車中的所有商品,且無法恢復,是否繼續?",
|
|
918
|
+
"pisell2.booking.info.text.clear-cart-modal.confirm": "確認清空",
|
|
919
|
+
"pisell2.booking.info.text.clear-cart-modal.cancel": "取消",
|
|
908
920
|
"pisell2.booking.info.text.create-new": "新建",
|
|
909
921
|
"pisell2.booking.info.text.form-agreement-yes": "是",
|
|
910
922
|
"pisell2.booking.info.text.form-agreement-no": "否",
|
|
@@ -1216,6 +1228,10 @@ var locales_default = {
|
|
|
1216
1228
|
"pisell2.booking.info.text.clear": "クリア",
|
|
1217
1229
|
"pisell2.booking.info.text.clear-cart": "カートをクリア",
|
|
1218
1230
|
"pisell2.booking.info.text.clear-all": "すべてクリア",
|
|
1231
|
+
"pisell2.booking.info.text.clear-cart-modal.title": "カートを空にする",
|
|
1232
|
+
"pisell2.booking.info.text.clear-cart-modal.content": "この操作によりカート内のすべての商品が削除され、元に戻せません。続行しますか?",
|
|
1233
|
+
"pisell2.booking.info.text.clear-cart-modal.confirm": "すべて削除",
|
|
1234
|
+
"pisell2.booking.info.text.clear-cart-modal.cancel": "キャンセル",
|
|
1219
1235
|
"pisell2.booking.info.text.add-holder": "選択",
|
|
1220
1236
|
"pisell2.booking.info.text.select-holder-title": "このイベントを誰のために予約しますか?",
|
|
1221
1237
|
"pisell2.booking.info.text.create-new": "新規作成",
|
|
@@ -1556,6 +1572,10 @@ var locales_default = {
|
|
|
1556
1572
|
"pisell2.booking.info.text.clear": "Limpar",
|
|
1557
1573
|
"pisell2.booking.info.text.clear-cart": "Limpar carrinho",
|
|
1558
1574
|
"pisell2.booking.info.text.clear-all": "Limpar tudo",
|
|
1575
|
+
"pisell2.booking.info.text.clear-cart-modal.title": "Esvaziar carrinho",
|
|
1576
|
+
"pisell2.booking.info.text.clear-cart-modal.content": "Esta ação irá remover todos os itens do carrinho e não pode ser desfeita. Deseja continuar?",
|
|
1577
|
+
"pisell2.booking.info.text.clear-cart-modal.confirm": "Esvaziar tudo",
|
|
1578
|
+
"pisell2.booking.info.text.clear-cart-modal.cancel": "Cancelar",
|
|
1559
1579
|
"pisell2.booking.info.text.add-holder": "Selecionar",
|
|
1560
1580
|
"pisell2.booking.info.text.select-holder-title": "Para quem você gostaria de reservar este evento?",
|
|
1561
1581
|
"pisell2.booking.info.text.create-new": "Criar novo",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
amountSymbol: string;
|
|
4
3
|
apis: {
|
|
@@ -109,11 +108,4 @@ export declare const walkInData: {
|
|
|
109
108
|
id: number;
|
|
110
109
|
nickname: string;
|
|
111
110
|
};
|
|
112
|
-
export declare const Provider:
|
|
113
|
-
state: FormState;
|
|
114
|
-
} & {
|
|
115
|
-
dispatch: (params: {
|
|
116
|
-
type: string;
|
|
117
|
-
payload: any;
|
|
118
|
-
}) => void;
|
|
119
|
-
}>;
|
|
111
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|