@pisell/private-materials 6.3.77 → 6.3.79

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 (139) 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/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/Sales/Cart/index.d.ts +1 -1
  10. package/es/components/Sales/Cart/index.js +18 -3
  11. package/es/components/Sales/Cart/utils.d.ts +68 -0
  12. package/es/components/Sales/Checkout/utils.js +57 -1
  13. package/es/components/Sales/Summary/index.d.ts +2 -0
  14. package/es/components/Sales/Summary/index.js +7 -2
  15. package/es/components/Sales/Summary/utils.d.ts +10 -3
  16. package/es/components/Sales/Summary/utils.js +57 -10
  17. package/es/components/appointmentBooking/components/Cart/Item/index.js +62 -4
  18. package/es/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
  19. package/es/components/appointmentBooking/components/Deposit/index.js +9 -4
  20. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  21. package/es/components/appointmentBooking/locales.d.ts +366 -0
  22. package/es/components/booking/info/date/index.d.ts +0 -1
  23. package/es/components/booking/info/service2/utils.d.ts +1 -0
  24. package/es/components/booking/info/service2/utils.js +4 -4
  25. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  26. package/es/components/eftposPay/locales.d.ts +330 -0
  27. package/es/components/eftposPay/pay.d.ts +0 -1
  28. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -1
  29. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +4 -1
  30. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +79 -6
  31. package/es/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
  32. package/es/components/eventBooking/components/Provider/Cart/index.js +2 -7
  33. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  34. package/es/components/eventBooking/components/Provider/Content/index.less +1 -1
  35. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  36. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  37. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  38. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  39. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  40. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  41. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  42. package/es/components/eventBooking/components/Voucher/index.js +1 -1
  43. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  44. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  45. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  46. package/es/components/index.d.ts +1 -2
  47. package/es/components/index.js +1 -2
  48. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -3
  49. package/es/components/subTotal/index.d.ts +2 -0
  50. package/es/components/subTotal/index.js +42 -20
  51. package/es/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  52. package/es/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  53. package/es/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  54. package/es/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  55. package/es/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  56. package/es/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  57. package/es/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  58. package/es/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  59. package/es/components/systemSettings/registry/components/docs/images/image.png +0 -0
  60. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  61. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  62. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  63. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  64. package/es/plus/skuOptionsSelection/types.d.ts +429 -0
  65. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  66. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  67. package/es/pro/NumericStepper/index.d.ts +43 -0
  68. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  69. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  70. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  71. package/es/pro/Selector/demo.d.ts +0 -1
  72. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  73. package/es/pro/Selector/types.d.ts +173 -0
  74. package/lib/components/Sales/Cart/index.d.ts +1 -1
  75. package/lib/components/Sales/Cart/index.js +20 -7
  76. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  77. package/lib/components/Sales/Checkout/utils.js +64 -1
  78. package/lib/components/Sales/Summary/index.d.ts +2 -0
  79. package/lib/components/Sales/Summary/index.js +8 -2
  80. package/lib/components/Sales/Summary/utils.d.ts +10 -3
  81. package/lib/components/Sales/Summary/utils.js +38 -13
  82. package/lib/components/appointmentBooking/components/Cart/Item/index.js +52 -4
  83. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
  84. package/lib/components/appointmentBooking/components/Deposit/index.js +7 -4
  85. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  86. package/lib/components/appointmentBooking/locales.d.ts +366 -0
  87. package/lib/components/booking/info/date/index.d.ts +0 -1
  88. package/lib/components/booking/info/service2/utils.d.ts +1 -0
  89. package/lib/components/booking/info/service2/utils.js +4 -4
  90. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  91. package/lib/components/eftposPay/locales.d.ts +330 -0
  92. package/lib/components/eftposPay/pay.d.ts +0 -1
  93. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -1
  94. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +3 -1
  95. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +77 -5
  96. package/lib/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
  97. package/lib/components/eventBooking/components/Provider/Cart/index.js +2 -2
  98. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  99. package/lib/components/eventBooking/components/Provider/Content/index.less +1 -1
  100. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  101. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  102. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  103. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  104. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  105. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  106. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  107. package/lib/components/eventBooking/components/Voucher/index.js +1 -1
  108. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  109. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  110. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  111. package/lib/components/index.d.ts +1 -2
  112. package/lib/components/index.js +0 -3
  113. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -1
  114. package/lib/components/subTotal/index.d.ts +2 -0
  115. package/lib/components/subTotal/index.js +34 -20
  116. package/lib/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  117. package/lib/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  118. package/lib/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  119. package/lib/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  120. package/lib/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  121. package/lib/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  122. package/lib/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  123. package/lib/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  124. package/lib/components/systemSettings/registry/components/docs/images/image.png +0 -0
  125. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  126. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  127. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  128. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  129. package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
  130. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  131. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  132. package/lib/pro/NumericStepper/index.d.ts +43 -0
  133. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  134. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  135. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  136. package/lib/pro/Selector/demo.d.ts +0 -1
  137. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  138. package/lib/pro/Selector/types.d.ts +173 -0
  139. package/package.json +3 -3
@@ -0,0 +1,330 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.eftpos-pay.text.loading': (mode: string) => string;
4
+ 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
5
+ 'page.eftpos-pay.text.surcharge': string;
6
+ 'page.eftpos-pay.text.card': string;
7
+ 'page.eftpos-pay.text.account': string;
8
+ 'page.eftpos-pay.text.pin': string;
9
+ 'page.eftpos-pay.text.receipt': string;
10
+ 'page.eftpos-pay.text.receipt.again.title': string;
11
+ 'page.eftpos-pay.text.receipt.again.text': string;
12
+ 'page.eftpos-pay.text.signature.title': string;
13
+ 'page.eftpos-pay.text.signature.text': (mode: string) => "Decline will cause payment failure, need to pay again." | "Decline will cause refund failure; a refund needs to be processed again.";
14
+ 'page.eftpos-pay.text.timedout.title': string;
15
+ 'page.eftpos-pay.text.timedout.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
16
+ 'page.eftpos-pay.text.request.title': (mode: string) => string;
17
+ 'page.eftpos-pay.text.request.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
18
+ 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
19
+ 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually mark the refund result based on the refund status displayed on the card reader, to ensure the accuracy of the transaction.";
20
+ 'page.eftpos-pay.text.interrupted': string;
21
+ 'page.eftpos-pay.text.reconnect': string;
22
+ 'page.eftpos-pay.text.waiting.pay': (mode: string) => "If you have confirmed the payment status from the EFTPOS, you can press Manual marking buttonto skip." | "If you have confirmed the refund status on the EFTPOS, you can press the Manual Marking button to skip.";
23
+ 'page.eftpos-pay.text.restored': string;
24
+ 'page.eftpos-pay.text.disconnected': string;
25
+ 'page.eftpos-pay.text.waiting.network': string;
26
+ 'page.eftpos-pay.text.waiting.wifi.title': string;
27
+ 'page.eftpos-pay.text.waiting.wifi.connection': string;
28
+ 'page.eftpos-pay.text.waiting.wifi.router': string;
29
+ 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
30
+ 'page.eftpos-pay.text.accept': string;
31
+ 'page.eftpos-pay.text.decline': string;
32
+ 'page.eftpos-pay.text.manual.marking': string;
33
+ 'page.eftpos-pay.text.manual.title': string;
34
+ 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
35
+ 'page.eftpos-pay.text.manual.confirm': string;
36
+ 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
37
+ 'page.eftpos-pay.text.manual.diff': string;
38
+ 'page.eftpos-pay.text.manual.tip': string;
39
+ 'page.eftpos-pay.text.manual.cancel': string;
40
+ 'page.eftpos-pay.text.manual.print_receipt': string;
41
+ 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "Modify payment info" | "Modify refund information";
42
+ 'page.eftpos-pay.text.successful': (mode: string) => string;
43
+ 'page.eftpos-pay.text.failed': (mode: string) => string;
44
+ 'page.eftpos-pay.text.confirm': string;
45
+ 'page.eftpos-pay.text.confirm.decline': string;
46
+ 'page.eftpos-pay.text.back': string;
47
+ 'page.eftpos-pay.text.cancel': string;
48
+ 'page.eftpos-pay.text.waiting.processing': string;
49
+ 'page.eftpos-pay.text.waiting.signature': string;
50
+ 'page.eftpos-pay.text.waiting.decline': string;
51
+ 'page.eftpos-pay.text.processing': string;
52
+ 'page.eftpos-pay.text.transaction.processing': string;
53
+ 'page.eftpos-pay.text.retry': string;
54
+ 'page.eftpos-pay.text.sure': string;
55
+ 'page.eftpos-pay.text.device': string;
56
+ 'page.eftpos-pay.text.leave': string;
57
+ 'page.eftpos-pay.text.latest.success': string;
58
+ 'page.eftpos-pay.text.latest.amount': string;
59
+ 'page.eftpos-pay.text.latest.surcharge': string;
60
+ 'page.eftpos-pay.text.latest.time': string;
61
+ 'page.eftpos-pay.text.latest.confirm': string;
62
+ 'page.eftpos-pay.text.amount.to.pay': string;
63
+ 'page.eftpos-pay.text.surcharge.percentage': string;
64
+ 'page.eftpos-pay.text.surcharge.fixed': string;
65
+ 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
66
+ 'page.eftpos-pay.text.surcharge.edit.title': string;
67
+ 'page.eftpos-pay.text.input.title': (name: string) => string;
68
+ 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
69
+ 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
70
+ 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
71
+ 'page.eftpos-pay.text.surcharge.edit.rate': string;
72
+ 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
73
+ 'page.eftpos-pay.text.transaction.end': string;
74
+ 'page.eftpos-pay.text.transaction.user.declined.title': string;
75
+ 'page.eftpos-pay.text.transaction.user.declined.text': string;
76
+ 'page.eftpos-pay.text.transaction.user.config.title': string;
77
+ 'page.eftpos-pay.text.transaction.user.config.text': string;
78
+ 'page.eftpos-pay.text.transaction.back.declined.title': string;
79
+ 'page.eftpos-pay.text.transaction.back.declined.text': string;
80
+ 'page.eftpos-pay.text.transaction.fail': string;
81
+ 'page.eftpos-pay.text.transaction.fail.timeout': string;
82
+ 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
83
+ 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
84
+ 'page.eftpos-pay.text.transaction.fail.terminal': string;
85
+ 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
86
+ 'page.eftpos-pay.text.transaction.fail.cancel': string;
87
+ 'page.eftpos-pay.text.transaction.fail.socket': string;
88
+ 'page.eftpos-pay.text.transaction.eftpos.fail': string;
89
+ 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
90
+ 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
91
+ 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
92
+ 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
93
+ 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "If you have confirmed the payment status of this order, please click on Manual marking." | "If you have confirmed the refund status of this order, please click on Manual Marking.";
94
+ 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
95
+ 'page.eftpos-pay.text.application': string;
96
+ 'page.eftpos-pay.text.approved': string;
97
+ 'page.eftpos-pay.text.device.no.title': string;
98
+ 'page.eftpos-pay.text.device.no.add': string;
99
+ 'page.eftpos-pay.text.device.no.web': string;
100
+ 'page.eftpos-pay.text.device.no.terminal': string;
101
+ 'page.eftpos-pay.text.waiting.decline.signature': string;
102
+ 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
103
+ 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
104
+ 'page.eftpos-pay.text.reconnecting': string;
105
+ 'page.eftpos-pay.text.reconnect.network': string;
106
+ 'page.eftpos-pay.text.network.disconnected': string;
107
+ 'page.eftpos-pay.text.not.connected': string;
108
+ 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
109
+ 'page.eftpos-pay.text.tyro': (key: string) => string;
110
+ };
111
+ 'zh-CN': {
112
+ 'page.eftpos-pay.text.loading': (mode: string) => string;
113
+ 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
114
+ 'page.eftpos-pay.text.surcharge': string;
115
+ 'page.eftpos-pay.text.card': string;
116
+ 'page.eftpos-pay.text.account': string;
117
+ 'page.eftpos-pay.text.pin': string;
118
+ 'page.eftpos-pay.text.receipt': string;
119
+ 'page.eftpos-pay.text.receipt.again.title': string;
120
+ 'page.eftpos-pay.text.receipt.again.text': string;
121
+ 'page.eftpos-pay.text.signature.title': string;
122
+ 'page.eftpos-pay.text.signature.text': (mode: string) => "拒绝将导致支付失败,需重新支付。" | "拒绝将导致退款失败;需要重新退款";
123
+ 'page.eftpos-pay.text.timedout.title': string;
124
+ 'page.eftpos-pay.text.timedout.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
125
+ 'page.eftpos-pay.text.request.title': (mode: string) => string;
126
+ 'page.eftpos-pay.text.request.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
127
+ 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
128
+ 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请您根据刷卡机上的退款状态,手动标记退款结果,以确保交易的准确性。";
129
+ 'page.eftpos-pay.text.interrupted': string;
130
+ 'page.eftpos-pay.text.reconnect': string;
131
+ 'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已经从EFTPOS确认了付款状态,您可以按手动标记按钮跳过。" | "如果您已确认了EFTPOS上的退款状态,您可以按下手动标记按钮跳过。";
132
+ 'page.eftpos-pay.text.restored': string;
133
+ 'page.eftpos-pay.text.disconnected': string;
134
+ 'page.eftpos-pay.text.waiting.network': string;
135
+ 'page.eftpos-pay.text.waiting.wifi.title': string;
136
+ 'page.eftpos-pay.text.waiting.wifi.connection': string;
137
+ 'page.eftpos-pay.text.waiting.wifi.router': string;
138
+ 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
139
+ 'page.eftpos-pay.text.accept': string;
140
+ 'page.eftpos-pay.text.decline': string;
141
+ 'page.eftpos-pay.text.manual.marking': string;
142
+ 'page.eftpos-pay.text.manual.title': string;
143
+ 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
144
+ 'page.eftpos-pay.text.manual.confirm': string;
145
+ 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
146
+ 'page.eftpos-pay.text.manual.diff': string;
147
+ 'page.eftpos-pay.text.manual.tip': string;
148
+ 'page.eftpos-pay.text.manual.cancel': string;
149
+ 'page.eftpos-pay.text.manual.print_receipt': string;
150
+ 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
151
+ 'page.eftpos-pay.text.successful': (mode: string) => string;
152
+ 'page.eftpos-pay.text.failed': (mode: string) => string;
153
+ 'page.eftpos-pay.text.confirm': string;
154
+ 'page.eftpos-pay.text.confirm.decline': string;
155
+ 'page.eftpos-pay.text.back': string;
156
+ 'page.eftpos-pay.text.cancel': string;
157
+ 'page.eftpos-pay.text.waiting.processing': string;
158
+ 'page.eftpos-pay.text.waiting.signature': string;
159
+ 'page.eftpos-pay.text.waiting.decline': string;
160
+ 'page.eftpos-pay.text.processing': string;
161
+ 'page.eftpos-pay.text.transaction.processing': string;
162
+ 'page.eftpos-pay.text.retry': string;
163
+ 'page.eftpos-pay.text.sure': string;
164
+ 'page.eftpos-pay.text.device': string;
165
+ 'page.eftpos-pay.text.leave': string;
166
+ 'page.eftpos-pay.text.latest.success': string;
167
+ 'page.eftpos-pay.text.latest.amount': string;
168
+ 'page.eftpos-pay.text.latest.surcharge': string;
169
+ 'page.eftpos-pay.text.latest.time': string;
170
+ 'page.eftpos-pay.text.latest.confirm': string;
171
+ 'page.eftpos-pay.text.amount.to.pay': string;
172
+ 'page.eftpos-pay.text.surcharge.percentage': string;
173
+ 'page.eftpos-pay.text.surcharge.fixed': string;
174
+ 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
175
+ 'page.eftpos-pay.text.surcharge.edit.title': string;
176
+ 'page.eftpos-pay.text.input.title': (name: string) => string;
177
+ 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
178
+ 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
179
+ 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
180
+ 'page.eftpos-pay.text.surcharge.edit.rate': string;
181
+ 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
182
+ 'page.eftpos-pay.text.transaction.end': string;
183
+ 'page.eftpos-pay.text.transaction.user.declined.title': string;
184
+ 'page.eftpos-pay.text.transaction.user.declined.text': string;
185
+ 'page.eftpos-pay.text.transaction.user.config.title': string;
186
+ 'page.eftpos-pay.text.transaction.user.config.text': string;
187
+ 'page.eftpos-pay.text.transaction.back.declined.title': string;
188
+ 'page.eftpos-pay.text.transaction.back.declined.text': string;
189
+ 'page.eftpos-pay.text.transaction.fail': string;
190
+ 'page.eftpos-pay.text.transaction.fail.timeout': string;
191
+ 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
192
+ 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
193
+ 'page.eftpos-pay.text.transaction.fail.terminal': string;
194
+ 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
195
+ 'page.eftpos-pay.text.transaction.fail.cancel': string;
196
+ 'page.eftpos-pay.text.transaction.fail.socket': string;
197
+ 'page.eftpos-pay.text.transaction.eftpos.fail': string;
198
+ 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
199
+ 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
200
+ 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
201
+ 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
202
+ 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已确认此交易的付款状态,请点击手动标记" | "如果您已确认此订单的退款状态,请点击手动标记。";
203
+ 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
204
+ 'page.eftpos-pay.text.application': string;
205
+ 'page.eftpos-pay.text.approved': string;
206
+ 'page.eftpos-pay.text.device.no.title': string;
207
+ 'page.eftpos-pay.text.device.no.add': string;
208
+ 'page.eftpos-pay.text.device.no.web': string;
209
+ 'page.eftpos-pay.text.device.no.terminal': string;
210
+ 'page.eftpos-pay.text.waiting.decline.signature': string;
211
+ 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
212
+ 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
213
+ 'page.eftpos-pay.text.reconnecting': string;
214
+ 'page.eftpos-pay.text.reconnect.network': string;
215
+ 'page.eftpos-pay.text.network.disconnected': string;
216
+ 'page.eftpos-pay.text.not.connected': string;
217
+ 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
218
+ 'page.eftpos-pay.text.tyro': (key: string) => string | string[];
219
+ };
220
+ 'zh-HK': {
221
+ 'page.eftpos-pay.text.loading': (mode: string) => string;
222
+ 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
223
+ 'page.eftpos-pay.text.surcharge': string;
224
+ 'page.eftpos-pay.text.card': string;
225
+ 'page.eftpos-pay.text.account': string;
226
+ 'page.eftpos-pay.text.pin': string;
227
+ 'page.eftpos-pay.text.receipt': string;
228
+ 'page.eftpos-pay.text.receipt.again.title': string;
229
+ 'page.eftpos-pay.text.receipt.again.text': string;
230
+ 'page.eftpos-pay.text.signature.title': string;
231
+ 'page.eftpos-pay.text.signature.text': (mode: string) => "拒絕將導致支付失敗,需重新支付。" | "拒絕將導致退款失敗;需要重新退款";
232
+ 'page.eftpos-pay.text.timedout.title': string;
233
+ 'page.eftpos-pay.text.timedout.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
234
+ 'page.eftpos-pay.text.request.title': (mode: string) => string;
235
+ 'page.eftpos-pay.text.request.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
236
+ 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
237
+ 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請您根據刷卡機上的退款狀態,手動標記退款結果,以確保交易的準確性。";
238
+ 'page.eftpos-pay.text.interrupted': string;
239
+ 'page.eftpos-pay.text.reconnect': string;
240
+ 'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已經從EFTPOS確認了付款狀態,您可以按手動標記按鈕跳過。" | "如果您已確認了EFTPOS上的退款狀態,您可以按下手動標記按鈕跳過。";
241
+ 'page.eftpos-pay.text.restored': string;
242
+ 'page.eftpos-pay.text.disconnected': string;
243
+ 'page.eftpos-pay.text.waiting.network': string;
244
+ 'page.eftpos-pay.text.waiting.wifi.title': string;
245
+ 'page.eftpos-pay.text.waiting.wifi.connection': string;
246
+ 'page.eftpos-pay.text.waiting.wifi.router': string;
247
+ 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
248
+ 'page.eftpos-pay.text.accept': string;
249
+ 'page.eftpos-pay.text.decline': string;
250
+ 'page.eftpos-pay.text.manual.marking': string;
251
+ 'page.eftpos-pay.text.manual.title': string;
252
+ 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
253
+ 'page.eftpos-pay.text.manual.confirm': string;
254
+ 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
255
+ 'page.eftpos-pay.text.manual.diff': string;
256
+ 'page.eftpos-pay.text.manual.tip': string;
257
+ 'page.eftpos-pay.text.manual.cancel': string;
258
+ 'page.eftpos-pay.text.manual.print_receipt': string;
259
+ 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
260
+ 'page.eftpos-pay.text.successful': (mode: string) => string;
261
+ 'page.eftpos-pay.text.failed': (mode: string) => string;
262
+ 'page.eftpos-pay.text.confirm': string;
263
+ 'page.eftpos-pay.text.confirm.decline': string;
264
+ 'page.eftpos-pay.text.back': string;
265
+ 'page.eftpos-pay.text.cancel': string;
266
+ 'page.eftpos-pay.text.waiting.processing': string;
267
+ 'page.eftpos-pay.text.waiting.signature': string;
268
+ 'page.eftpos-pay.text.waiting.decline': string;
269
+ 'page.eftpos-pay.text.processing': string;
270
+ 'page.eftpos-pay.text.transaction.processing': string;
271
+ 'page.eftpos-pay.text.retry': string;
272
+ 'page.eftpos-pay.text.sure': string;
273
+ 'page.eftpos-pay.text.device': string;
274
+ 'page.eftpos-pay.text.leave': string;
275
+ 'page.eftpos-pay.text.latest.success': string;
276
+ 'page.eftpos-pay.text.latest.amount': string;
277
+ 'page.eftpos-pay.text.latest.surcharge': string;
278
+ 'page.eftpos-pay.text.latest.time': string;
279
+ 'page.eftpos-pay.text.latest.confirm': string;
280
+ 'page.eftpos-pay.text.amount.to.pay': string;
281
+ 'page.eftpos-pay.text.surcharge.percentage': string;
282
+ 'page.eftpos-pay.text.surcharge.fixed': string;
283
+ 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
284
+ 'page.eftpos-pay.text.surcharge.edit.title': string;
285
+ 'page.eftpos-pay.text.input.title': (name: string) => string;
286
+ 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
287
+ 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
288
+ 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
289
+ 'page.eftpos-pay.text.surcharge.edit.rate': string;
290
+ 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
291
+ 'page.eftpos-pay.text.transaction.end': string;
292
+ 'page.eftpos-pay.text.transaction.user.declined.title': string;
293
+ 'page.eftpos-pay.text.transaction.user.declined.text': string;
294
+ 'page.eftpos-pay.text.transaction.user.config.title': string;
295
+ 'page.eftpos-pay.text.transaction.user.config.text': string;
296
+ 'page.eftpos-pay.text.transaction.back.declined.title': string;
297
+ 'page.eftpos-pay.text.transaction.back.declined.text': string;
298
+ 'page.eftpos-pay.text.transaction.fail': string;
299
+ 'page.eftpos-pay.text.transaction.fail.timeout': string;
300
+ 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
301
+ 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
302
+ 'page.eftpos-pay.text.transaction.fail.terminal': string;
303
+ 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
304
+ 'page.eftpos-pay.text.transaction.fail.cancel': string;
305
+ 'page.eftpos-pay.text.transaction.fail.socket': string;
306
+ 'page.eftpos-pay.text.transaction.eftpos.fail': string;
307
+ 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
308
+ 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
309
+ 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
310
+ 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
311
+ 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已確認此交易的付款狀態,請點擊手動標記" | "如果您已確認此訂單的退款狀態,請點擊手動標記。";
312
+ 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
313
+ 'page.eftpos-pay.text.application': string;
314
+ 'page.eftpos-pay.text.approved': string;
315
+ 'page.eftpos-pay.text.device.no.title': string;
316
+ 'page.eftpos-pay.text.device.no.add': string;
317
+ 'page.eftpos-pay.text.device.no.web': string;
318
+ 'page.eftpos-pay.text.device.no.terminal': string;
319
+ 'page.eftpos-pay.text.waiting.decline.signature': string;
320
+ 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
321
+ 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
322
+ 'page.eftpos-pay.text.reconnecting': string;
323
+ 'page.eftpos-pay.text.reconnect.network': string;
324
+ 'page.eftpos-pay.text.network.disconnected': string;
325
+ 'page.eftpos-pay.text.not.connected': string;
326
+ 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
327
+ 'page.eftpos-pay.text.tyro': (key: string) => string | string[];
328
+ };
329
+ };
330
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,2 +1,5 @@
1
- declare const Deposit: () => JSX.Element;
1
+ interface DepositProps {
2
+ showTitle?: boolean;
3
+ }
4
+ declare const Deposit: (props: DepositProps) => JSX.Element;
2
5
  export default Deposit;
@@ -35,7 +35,8 @@ module.exports = __toCommonJS(Deposit_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_Sales = require("../../../../../Sales");
37
37
  var import_Deposit = require("../../../../../appointmentBooking/components/Deposit");
38
- var Deposit = () => {
38
+ var Deposit = (props) => {
39
+ const { showTitle = true } = props;
39
40
  const {
40
41
  deposit,
41
42
  isAgreeDepositPolicy,
@@ -45,6 +46,7 @@ var Deposit = () => {
45
46
  return /* @__PURE__ */ import_react.default.createElement(
46
47
  import_Deposit.DepositContent,
47
48
  {
49
+ showTitle,
48
50
  isAgreeDepositPolicy: !!isAgreeDepositPolicy,
49
51
  setIsAgreeDepositPolicy,
50
52
  deposit,
@@ -38,12 +38,13 @@ var import_shoppingCart = __toESM(require("../../../../../shoppingCart"));
38
38
  var import_Sales = require("../../../../../Sales");
39
39
  var import_SelectHolderModal = __toESM(require("../../SelectHolderModal"));
40
40
  var import_ContinueButton = __toESM(require("../ContinueButton"));
41
- var import_Total = __toESM(require("./Total"));
41
+ var import__ = require("../../../../../index");
42
+ var import_useEngineContext = __toESM(require("../../../../../../hooks/useEngineContext"));
42
43
  var import_Deposit = __toESM(require("../Deposit"));
43
44
  var import_Voucher = __toESM(require("../../../Voucher"));
44
45
  var import_index = require("./index.less");
45
46
  var CartItem = () => {
46
- var _a;
47
+ var _a, _b;
47
48
  const { open, holderData, selectedHolderIds } = (0, import_Sales.useHolder)();
48
49
  const {
49
50
  deleteCartItem,
@@ -51,13 +52,23 @@ var CartItem = () => {
51
52
  cartData,
52
53
  addNoteToCartItem
53
54
  } = (0, import_Sales.useCart)();
54
- const { deposit } = (0, import_Sales.useSummary)();
55
+ const {
56
+ taxTitle,
57
+ taxRate,
58
+ totalTaxFee,
59
+ isPriceIncludeTax,
60
+ total,
61
+ deposit,
62
+ subtotal,
63
+ surcharge
64
+ } = (0, import_Sales.useSummary)();
55
65
  const { isLastStep } = (0, import_Sales.useStep)();
66
+ const context = (0, import_useEngineContext.default)();
67
+ const { translation } = ((_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) || {};
56
68
  const handleClickCard = (e, type, key) => {
57
69
  if (type === "note") {
58
70
  return addNoteToCartItem(e);
59
71
  }
60
- console.log(e, type, key, "wh9988767");
61
72
  if (type === "delete") {
62
73
  return deleteCartItem(e);
63
74
  }
@@ -65,6 +76,60 @@ var CartItem = () => {
65
76
  return deleteCartItemByHolder(key);
66
77
  }
67
78
  };
79
+ const showDeposit = (0, import_react.useMemo)(() => {
80
+ var _a2;
81
+ return ((_a2 = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a2.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit);
82
+ }, [(_b = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _b.length, deposit == null ? void 0 : deposit.hasDeposit]);
83
+ const subTotalList = (0, import_react.useMemo)(() => {
84
+ const surchargeList = ((surcharge == null ? void 0 : surcharge.surchargeList) || []).map(
85
+ (d, index) => {
86
+ return {
87
+ key: `custom_surcharge_${index}`,
88
+ label: translation(d == null ? void 0 : d.name),
89
+ value: d.amount
90
+ };
91
+ }
92
+ );
93
+ return [
94
+ {
95
+ key: "deposit",
96
+ value: deposit == null ? void 0 : deposit.total,
97
+ label: import_utils.locales.getText("pisell2.appointment.deposit"),
98
+ hidden: !showDeposit
99
+ },
100
+ {
101
+ key: "sub_total",
102
+ value: subtotal
103
+ },
104
+ ...surchargeList,
105
+ {
106
+ key: "tax",
107
+ value: totalTaxFee,
108
+ hidden: Number(totalTaxFee) <= 0,
109
+ tax: {
110
+ rate: taxRate,
111
+ is_price_include_tax: isPriceIncludeTax,
112
+ title: taxTitle
113
+ }
114
+ },
115
+ {
116
+ key: "custom_total",
117
+ value: total,
118
+ label: import_utils.locales.getText("pisell2.event.total"),
119
+ bold: !showDeposit
120
+ }
121
+ ];
122
+ }, [
123
+ total,
124
+ subtotal,
125
+ surcharge == null ? void 0 : surcharge.surchargeList,
126
+ deposit == null ? void 0 : deposit.total,
127
+ taxRate,
128
+ isPriceIncludeTax,
129
+ totalTaxFee,
130
+ taxTitle,
131
+ showDeposit
132
+ ]);
68
133
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
69
134
  "div",
70
135
  {
@@ -89,7 +154,14 @@ var CartItem = () => {
89
154
  onChange: (e, type, key) => handleClickCard(e, type, key)
90
155
  }
91
156
  )),
92
- /* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Voucher.default, null), /* @__PURE__ */ import_react.default.createElement(import_Total.default, null), ((_a = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit) ? /* @__PURE__ */ import_react.default.createElement(import_Deposit.default, null) : null, /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
157
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Voucher.default, null), /* @__PURE__ */ import_react.default.createElement(
158
+ import__.SubTotal,
159
+ {
160
+ list: subTotalList,
161
+ style: { padding: 0 },
162
+ children: showDeposit ? /* @__PURE__ */ import_react.default.createElement(import_Deposit.default, { showTitle: false }) : null
163
+ }
164
+ ), /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
93
165
  ), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open }));
94
166
  };
95
167
  var Item_default = CartItem;
@@ -1,8 +1,12 @@
1
1
  .cart-item-wrap {
2
2
  height: 100%;
3
+ display: flex;
4
+ flex-direction: column;
3
5
  .content {
4
6
  background: #fff;
5
7
  padding: 20px;
8
+ height: auto;
9
+ overflow: auto;
6
10
  .pisell-lowcode__shopping-cart-content {
7
11
  .ant-card-body {
8
12
  padding: 0;
@@ -71,15 +75,12 @@
71
75
 
72
76
  .content {
73
77
  flex: 1;
74
- overflow-y: auto;
75
- padding: 0 0 140px;
78
+ padding: 20px 20px 4px;
79
+ max-height: 100%;
76
80
  }
77
81
  .event-footer {
78
82
  z-index: 10;
79
- position: fixed;
80
- bottom: 0;
81
- left: 0;
82
- right: 0;
83
+ flex: none;
83
84
  border-top: 1px solid #eaecf0;
84
85
  padding: 14px 24px 24px;
85
86
  margin-top: 0;
@@ -47,13 +47,13 @@ var Cart = ({ open, onCancel }) => {
47
47
  closable: true,
48
48
  onCancel: () => onCancel(),
49
49
  bodyStyle: {
50
- padding: "20px"
50
+ padding: 0
51
51
  },
52
52
  destroyOnClose: true,
53
53
  className: `event-cart-modal`,
54
54
  footer: null
55
55
  },
56
- /* @__PURE__ */ import_react.default.createElement("div", { style: { flex: 1, overflowY: "auto" } }, /* @__PURE__ */ import_react.default.createElement(import_Item.default, null))
56
+ /* @__PURE__ */ import_react.default.createElement(import_Item.default, null)
57
57
  );
58
58
  };
59
59
  var Cart_default = Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -14,7 +14,7 @@
14
14
  width: 360px;
15
15
  position: sticky;
16
16
  top: 93px;
17
- height: fit-content;
17
+ height: calc(var(--vh, 1vh) * 100 - 110px);
18
18
  }
19
19
  }
20
20
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Voucher 组件多语言配置
3
+ */
4
+ declare const _default: {
5
+ en: {
6
+ 'pisell2.voucher.title': string;
7
+ 'pisell2.voucher.details': string;
8
+ 'pisell2.voucher.login': string;
9
+ 'pisell2.voucher.login-tip': string;
10
+ 'pisell2.voucher.code': string;
11
+ 'pisell2.voucher.enter-code': string;
12
+ 'pisell2.voucher.apply': string;
13
+ 'pisell2.voucher.code-invalid': string;
14
+ 'pisell2.voucher.code-invalid-cart': string;
15
+ };
16
+ 'zh-CN': {
17
+ 'pisell2.voucher.title': string;
18
+ 'pisell2.voucher.details': string;
19
+ 'pisell2.voucher.login': string;
20
+ 'pisell2.voucher.login-tip': string;
21
+ 'pisell2.voucher.code': string;
22
+ 'pisell2.voucher.enter-code': string;
23
+ 'pisell2.voucher.apply': string;
24
+ 'pisell2.voucher.code-invalid': string;
25
+ 'pisell2.voucher.code-invalid-cart': string;
26
+ };
27
+ 'zh-HK': {
28
+ 'pisell2.voucher.title': string;
29
+ 'pisell2.voucher.details': string;
30
+ 'pisell2.voucher.login': string;
31
+ 'pisell2.voucher.login-tip': string;
32
+ 'pisell2.voucher.code': string;
33
+ 'pisell2.voucher.enter-code': string;
34
+ 'pisell2.voucher.apply': string;
35
+ 'pisell2.voucher.code-invalid': string;
36
+ 'pisell2.voucher.code-invalid-cart': string;
37
+ };
38
+ };
39
+ export default _default;
@@ -78,7 +78,7 @@ var VoucherCard = () => {
78
78
  const batchUpdateCart = (productList) => {
79
79
  if (!(productList == null ? void 0 : productList.length)) return;
80
80
  productList.forEach((product) => {
81
- updateCartItem(product);
81
+ updateCartItem(product, "deposit");
82
82
  });
83
83
  };
84
84
  (0, import_react.useEffect)(() => {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: (props: {
3
2
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
4
3
  }) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;