@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;
@@ -1,13 +1,16 @@
1
1
  import React from 'react';
2
2
  import { useSummary } from "../../../../../Sales";
3
3
  import { DepositContent } from "../../../../../appointmentBooking/components/Deposit";
4
- var Deposit = function Deposit() {
4
+ var Deposit = function Deposit(props) {
5
+ var _props$showTitle = props.showTitle,
6
+ showTitle = _props$showTitle === void 0 ? true : _props$showTitle;
5
7
  var _useSummary = useSummary(),
6
8
  deposit = _useSummary.deposit,
7
9
  isAgreeDepositPolicy = _useSummary.isAgreeDepositPolicy,
8
10
  setIsAgreeDepositPolicy = _useSummary.setIsAgreeDepositPolicy,
9
11
  getDepositProtocol = _useSummary.getDepositProtocol;
10
12
  return /*#__PURE__*/React.createElement(DepositContent, {
13
+ showTitle: showTitle,
11
14
  isAgreeDepositPolicy: !!isAgreeDepositPolicy,
12
15
  setIsAgreeDepositPolicy: setIsAgreeDepositPolicy,
13
16
  deposit: deposit,
@@ -1,15 +1,22 @@
1
- import React from 'react';
1
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
2
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ import React, { useMemo } from 'react';
2
8
  import { isMobile, locales } from '@pisell/utils';
3
9
  import ShoppingCart from "../../../../../shoppingCart";
4
10
  import { useCart, useHolder, useSummary, useStep } from "../../../../../Sales";
5
11
  import SelectHolderModal from "../../SelectHolderModal";
6
12
  import ContinueButton from "../ContinueButton";
7
- import Total from "./Total";
13
+ import { SubTotal } from "../../../../../index";
14
+ import useEngineContext from "../../../../../../hooks/useEngineContext";
8
15
  import Deposit from "../Deposit";
9
16
  import Voucher from "../../../Voucher";
10
17
  import "./index.less";
11
18
  var CartItem = function CartItem() {
12
- var _cartData$cartItems;
19
+ var _context$appHelper, _cartData$cartItems2;
13
20
  var _useHolder = useHolder(),
14
21
  open = _useHolder.open,
15
22
  holderData = _useHolder.holderData,
@@ -20,14 +27,24 @@ var CartItem = function CartItem() {
20
27
  cartData = _useCart.cartData,
21
28
  addNoteToCartItem = _useCart.addNoteToCartItem;
22
29
  var _useSummary = useSummary(),
23
- deposit = _useSummary.deposit;
30
+ taxTitle = _useSummary.taxTitle,
31
+ taxRate = _useSummary.taxRate,
32
+ totalTaxFee = _useSummary.totalTaxFee,
33
+ isPriceIncludeTax = _useSummary.isPriceIncludeTax,
34
+ total = _useSummary.total,
35
+ deposit = _useSummary.deposit,
36
+ subtotal = _useSummary.subtotal,
37
+ surcharge = _useSummary.surcharge;
24
38
  var _useStep = useStep(),
25
39
  isLastStep = _useStep.isLastStep;
40
+ var context = useEngineContext();
41
+ var _ref = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
42
+ translation = _ref.translation;
26
43
  var handleClickCard = function handleClickCard(e, type, key) {
27
44
  if (type === 'note') {
28
45
  return addNoteToCartItem(e);
29
46
  }
30
- console.log(e, type, key, 'wh9988767');
47
+
31
48
  // 删除
32
49
  if (type === 'delete') {
33
50
  return deleteCartItem(e);
@@ -36,6 +53,54 @@ var CartItem = function CartItem() {
36
53
  return deleteCartItemByHolder(key);
37
54
  }
38
55
  };
56
+
57
+ /**
58
+ * @description: 是否显示定金
59
+ * @param {*} useMemo
60
+ * @return {*}
61
+ */
62
+ var showDeposit = useMemo(function () {
63
+ var _cartData$cartItems;
64
+ return (cartData === null || cartData === void 0 || (_cartData$cartItems = cartData.cartItems) === null || _cartData$cartItems === void 0 ? void 0 : _cartData$cartItems.length) > 0 && (deposit === null || deposit === void 0 ? void 0 : deposit.hasDeposit);
65
+ }, [cartData === null || cartData === void 0 || (_cartData$cartItems2 = cartData.cartItems) === null || _cartData$cartItems2 === void 0 ? void 0 : _cartData$cartItems2.length, deposit === null || deposit === void 0 ? void 0 : deposit.hasDeposit]);
66
+
67
+ /**
68
+ * @description: 结算列表数据
69
+ * @param {*} useMemo
70
+ * @return {*}
71
+ */
72
+ var subTotalList = useMemo(function () {
73
+ var surchargeList = ((surcharge === null || surcharge === void 0 ? void 0 : surcharge.surchargeList) || []).map(function (d, index) {
74
+ return {
75
+ key: "custom_surcharge_".concat(index),
76
+ label: translation(d === null || d === void 0 ? void 0 : d.name),
77
+ value: d.amount
78
+ };
79
+ });
80
+ return [{
81
+ key: 'deposit',
82
+ value: deposit === null || deposit === void 0 ? void 0 : deposit.total,
83
+ label: locales.getText('pisell2.appointment.deposit'),
84
+ hidden: !showDeposit
85
+ }, {
86
+ key: 'sub_total',
87
+ value: subtotal
88
+ }].concat(_toConsumableArray(surchargeList), [{
89
+ key: 'tax',
90
+ value: totalTaxFee,
91
+ hidden: Number(totalTaxFee) <= 0,
92
+ tax: {
93
+ rate: taxRate,
94
+ is_price_include_tax: isPriceIncludeTax,
95
+ title: taxTitle
96
+ }
97
+ }, {
98
+ key: 'custom_total',
99
+ value: total,
100
+ label: locales.getText('pisell2.event.total'),
101
+ bold: !showDeposit
102
+ }]);
103
+ }, [total, subtotal, surcharge === null || surcharge === void 0 ? void 0 : surcharge.surchargeList, deposit === null || deposit === void 0 ? void 0 : deposit.total, taxRate, isPriceIncludeTax, totalTaxFee, taxTitle, showDeposit]);
39
104
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
40
105
  className: "cart-item-wrap ".concat(isMobile() ? 'cart-mobile-item-wrap' : '')
41
106
  }, /*#__PURE__*/React.createElement("div", {
@@ -59,7 +124,15 @@ var CartItem = function CartItem() {
59
124
  }
60
125
  })), /*#__PURE__*/React.createElement("div", {
61
126
  className: "event-footer"
62
- }, /*#__PURE__*/React.createElement(Voucher, null), /*#__PURE__*/React.createElement(Total, null), (cartData === null || cartData === void 0 || (_cartData$cartItems = cartData.cartItems) === null || _cartData$cartItems === void 0 ? void 0 : _cartData$cartItems.length) > 0 && deposit !== null && deposit !== void 0 && deposit.hasDeposit ? /*#__PURE__*/React.createElement(Deposit, null) : null, /*#__PURE__*/React.createElement(ContinueButton, null))), /*#__PURE__*/React.createElement(SelectHolderModal, {
127
+ }, /*#__PURE__*/React.createElement(Voucher, null), /*#__PURE__*/React.createElement(SubTotal, {
128
+ list: subTotalList,
129
+ style: {
130
+ padding: 0
131
+ },
132
+ children: showDeposit ? /*#__PURE__*/React.createElement(Deposit, {
133
+ showTitle: false
134
+ }) : null
135
+ }), /*#__PURE__*/React.createElement(ContinueButton, null))), /*#__PURE__*/React.createElement(SelectHolderModal, {
63
136
  open: open
64
137
  }));
65
138
  };
@@ -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;
@@ -15,16 +15,11 @@ var Cart = function Cart(_ref) {
15
15
  return _onCancel();
16
16
  },
17
17
  bodyStyle: {
18
- padding: '20px'
18
+ padding: 0
19
19
  },
20
20
  destroyOnClose: true,
21
21
  className: "event-cart-modal",
22
22
  footer: null
23
- }, /*#__PURE__*/React.createElement("div", {
24
- style: {
25
- flex: 1,
26
- overflowY: 'auto'
27
- }
28
- }, /*#__PURE__*/React.createElement(CartItem, null)));
23
+ }, /*#__PURE__*/React.createElement(CartItem, null));
29
24
  };
30
25
  export 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;
@@ -102,7 +102,7 @@ var VoucherCard = function VoucherCard() {
102
102
  var batchUpdateCart = function batchUpdateCart(productList) {
103
103
  if (!(productList !== null && productList !== void 0 && productList.length)) return;
104
104
  productList.forEach(function (product) {
105
- updateCartItem(product);
105
+ updateCartItem(product, 'deposit');
106
106
  });
107
107
  };
108
108