@pisell/private-materials 6.4.41 → 6.4.43

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 (230) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +8 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/components/Sales/Summary/utils.d.ts +1 -1
  12. package/es/components/booking/addons/model.d.ts +10 -1
  13. package/es/components/booking/components/actionButtons/index.js +37 -42
  14. package/es/components/booking/components/actionButtons/index.less +0 -28
  15. package/es/components/booking/components/footer/amount.d.ts +3 -3
  16. package/es/components/booking/components/footer/amount.js +13 -2
  17. package/es/components/booking/components/footer/index.js +168 -68
  18. package/es/components/booking/components/footer/utils.js +62 -33
  19. package/es/components/booking/forms/model.d.ts +10 -1
  20. package/es/components/booking/info/model.d.ts +10 -1
  21. package/es/components/booking/info/model.js +5 -0
  22. package/es/components/booking/info/service/addService/index.js +2 -1
  23. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  24. package/es/components/booking/info/service2/utils.d.ts +1 -1
  25. package/es/components/booking/info2/index.js +42 -2
  26. package/es/components/booking/info2/service/addService/index.js +2 -1
  27. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  28. package/es/components/booking/info2/service/editService/index.js +12 -4
  29. package/es/components/booking/model.d.ts +9 -1
  30. package/es/components/booking/notes/model.d.ts +10 -1
  31. package/es/components/booking/payments/model.d.ts +10 -1
  32. package/es/components/booking/utils.d.ts +2 -2
  33. package/es/components/checkout/PaymentModal.d.ts +2 -0
  34. package/es/components/checkout/PaymentModal.js +395 -240
  35. package/es/components/checkout/components/AdditionalModule/index.less +1 -1
  36. package/es/components/checkout/components/AmountSummary/index.js +161 -54
  37. package/es/components/checkout/components/CashPaymentModule/index.d.ts +5 -3
  38. package/es/components/checkout/components/CashPaymentModule/index.js +114 -137
  39. package/es/components/checkout/components/CashPaymentModule/index.less +200 -176
  40. package/es/components/checkout/components/PaymentDetailModal/index.js +2 -2
  41. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +29 -0
  42. package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +210 -0
  43. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -4
  44. package/es/components/checkout/components/PaymentOptionsModule/index.js +12 -114
  45. package/es/components/checkout/components/PaymentOptionsModule/index.less +29 -0
  46. package/es/components/checkout/components/SavePayLaterHandler/index.js +1 -1
  47. package/es/components/checkout/components/SearchAndClientModule/index.js +40 -39
  48. package/es/components/checkout/components/WalletPassModule/index.js +3 -2
  49. package/es/components/checkout/components/WalletPassModule/utils.js +6 -1
  50. package/es/components/checkout/hooks/useWalletPass.js +2 -0
  51. package/es/components/checkout/index.less +1 -1
  52. package/es/components/checkout/locales.d.ts +33 -0
  53. package/es/components/checkout/locales.js +39 -3
  54. package/es/components/checkout/types.d.ts +1 -0
  55. package/es/components/eftposPay/amount.d.ts +1 -1
  56. package/es/components/eftposPay/device.d.ts +1 -1
  57. package/es/components/eftposPay/hooks.d.ts +2 -2
  58. package/es/components/eftposPay/store/index.d.ts +5 -5
  59. package/es/components/pay/toC/model.d.ts +9 -1
  60. package/es/components/schedules/model.d.ts +9 -1
  61. package/es/components/shoppingCart/components/Cart/Product.js +143 -71
  62. package/es/components/shoppingCart/components/Cart/index.js +1 -1
  63. package/es/components/shoppingCart/components/Cart/index.less +31 -0
  64. package/es/components/shoppingCart/locales.d.ts +3 -0
  65. package/es/components/shoppingCart/locales.js +12 -3
  66. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +7 -7
  67. package/es/components/ticketBooking/utils/index.js +2 -1
  68. package/es/components/wallet/Detail/model.d.ts +13 -1
  69. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  70. package/es/components/wallet/PointCard/model.d.ts +13 -1
  71. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  72. package/es/components/wallet/Voucher/model.d.ts +13 -1
  73. package/es/components/wallet/model.d.ts +9 -1
  74. package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.js +1 -1
  75. package/es/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  76. package/es/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.js +148 -0
  77. package/es/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.less +23 -0
  78. package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
  79. package/es/pro/pisellSimplePriceKeyboardPopover/index.js +1 -0
  80. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  81. package/es/pro/pisellSimplePriceKeyboardPopover/types.js +1 -0
  82. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +4 -0
  83. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +310 -0
  84. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +13 -0
  85. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +349 -0
  86. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +11 -0
  87. package/es/pro/priceKeyboard/components/cashKeyboard/index.js +49 -0
  88. package/es/pro/priceKeyboard/components/cashKeyboard/index.less +103 -0
  89. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  90. package/es/pro/priceKeyboard/components/cashKeyboard/locales.js +41 -0
  91. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +97 -0
  92. package/es/pro/priceKeyboard/components/cashKeyboard/types.js +1 -0
  93. package/es/pro/priceKeyboard/components/discountKeyboard/index.d.ts +22 -0
  94. package/es/pro/priceKeyboard/components/discountKeyboard/index.js +442 -0
  95. package/es/pro/priceKeyboard/components/discountKeyboard/index.less +47 -0
  96. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  97. package/es/pro/priceKeyboard/components/discountKeyboard/locales.js +44 -0
  98. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  99. package/es/pro/priceKeyboard/components/discountKeyboard/types.js +1 -0
  100. package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +11 -0
  101. package/es/pro/priceKeyboard/components/paymentKeyboard/index.js +444 -0
  102. package/es/pro/priceKeyboard/components/paymentKeyboard/index.less +64 -0
  103. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  104. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.js +47 -0
  105. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  106. package/es/pro/priceKeyboard/components/paymentKeyboard/types.js +1 -0
  107. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +17 -0
  108. package/es/pro/priceKeyboard/components/shortcuts/index.js +47 -0
  109. package/es/pro/priceKeyboard/components/shortcuts/index.less +39 -0
  110. package/es/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
  111. package/es/pro/priceKeyboard/hooks/keyActions.js +252 -0
  112. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +27 -0
  113. package/es/pro/priceKeyboard/hooks/rightItems.js +50 -0
  114. package/es/pro/priceKeyboard/index.d.ts +3 -0
  115. package/es/pro/priceKeyboard/index.js +3 -0
  116. package/es/pro/priceKeyboard/index.less +215 -0
  117. package/es/pro/priceKeyboard/utils.d.ts +31 -0
  118. package/es/pro/priceKeyboard/utils.js +51 -0
  119. package/es/pro/skuDetailModal/index.js +19 -16
  120. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  121. package/lib/components/booking/addons/model.d.ts +10 -1
  122. package/lib/components/booking/components/actionButtons/index.js +31 -28
  123. package/lib/components/booking/components/actionButtons/index.less +0 -28
  124. package/lib/components/booking/components/footer/amount.d.ts +3 -3
  125. package/lib/components/booking/components/footer/amount.js +10 -4
  126. package/lib/components/booking/components/footer/index.js +107 -40
  127. package/lib/components/booking/components/footer/utils.js +35 -7
  128. package/lib/components/booking/forms/model.d.ts +10 -1
  129. package/lib/components/booking/info/model.d.ts +10 -1
  130. package/lib/components/booking/info/model.js +3 -0
  131. package/lib/components/booking/info/service/addService/index.js +2 -1
  132. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  133. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  134. package/lib/components/booking/info2/index.js +18 -1
  135. package/lib/components/booking/info2/service/addService/index.js +2 -1
  136. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  137. package/lib/components/booking/info2/service/editService/index.js +12 -4
  138. package/lib/components/booking/model.d.ts +9 -1
  139. package/lib/components/booking/notes/model.d.ts +10 -1
  140. package/lib/components/booking/payments/model.d.ts +10 -1
  141. package/lib/components/booking/utils.d.ts +2 -2
  142. package/lib/components/checkout/PaymentModal.d.ts +2 -0
  143. package/lib/components/checkout/PaymentModal.js +152 -73
  144. package/lib/components/checkout/components/AdditionalModule/index.less +1 -1
  145. package/lib/components/checkout/components/AmountSummary/index.js +114 -40
  146. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +5 -3
  147. package/lib/components/checkout/components/CashPaymentModule/index.js +103 -140
  148. package/lib/components/checkout/components/CashPaymentModule/index.less +200 -176
  149. package/lib/components/checkout/components/PaymentDetailModal/index.js +2 -2
  150. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +29 -0
  151. package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +172 -0
  152. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -4
  153. package/lib/components/checkout/components/PaymentOptionsModule/index.js +11 -123
  154. package/lib/components/checkout/components/PaymentOptionsModule/index.less +29 -0
  155. package/lib/components/checkout/components/SavePayLaterHandler/index.js +1 -1
  156. package/lib/components/checkout/components/SearchAndClientModule/index.js +3 -29
  157. package/lib/components/checkout/components/WalletPassModule/index.js +3 -2
  158. package/lib/components/checkout/components/WalletPassModule/utils.js +4 -1
  159. package/lib/components/checkout/hooks/useWalletPass.js +2 -0
  160. package/lib/components/checkout/index.less +1 -1
  161. package/lib/components/checkout/locales.d.ts +33 -0
  162. package/lib/components/checkout/locales.js +39 -3
  163. package/lib/components/checkout/types.d.ts +1 -0
  164. package/lib/components/eftposPay/amount.d.ts +1 -1
  165. package/lib/components/eftposPay/device.d.ts +1 -1
  166. package/lib/components/eftposPay/hooks.d.ts +2 -2
  167. package/lib/components/eftposPay/store/index.d.ts +5 -5
  168. package/lib/components/pay/toC/model.d.ts +9 -1
  169. package/lib/components/schedules/model.d.ts +9 -1
  170. package/lib/components/shoppingCart/components/Cart/Product.js +111 -51
  171. package/lib/components/shoppingCart/components/Cart/index.js +1 -1
  172. package/lib/components/shoppingCart/components/Cart/index.less +31 -0
  173. package/lib/components/shoppingCart/locales.d.ts +3 -0
  174. package/lib/components/shoppingCart/locales.js +6 -3
  175. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +7 -7
  176. package/lib/components/ticketBooking/index.js +5 -1
  177. package/lib/components/ticketBooking/utils/index.js +2 -1
  178. package/lib/components/wallet/Detail/model.d.ts +13 -1
  179. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  180. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  181. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  182. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  183. package/lib/components/wallet/model.d.ts +9 -1
  184. package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.js +2 -2
  185. package/lib/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
  186. package/lib/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.js +144 -0
  187. package/lib/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.less +23 -0
  188. package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
  189. package/lib/pro/pisellSimplePriceKeyboardPopover/index.js +35 -0
  190. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  191. package/lib/pro/pisellSimplePriceKeyboardPopover/types.js +17 -0
  192. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +4 -0
  193. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +332 -0
  194. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +13 -0
  195. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.js +399 -0
  196. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +11 -0
  197. package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +76 -0
  198. package/lib/pro/priceKeyboard/components/cashKeyboard/index.less +103 -0
  199. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  200. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.js +65 -0
  201. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +97 -0
  202. package/lib/pro/priceKeyboard/components/cashKeyboard/types.js +17 -0
  203. package/lib/pro/priceKeyboard/components/discountKeyboard/index.d.ts +22 -0
  204. package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +485 -0
  205. package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +47 -0
  206. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  207. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.js +68 -0
  208. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  209. package/lib/pro/priceKeyboard/components/discountKeyboard/types.js +17 -0
  210. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +11 -0
  211. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.js +488 -0
  212. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.less +64 -0
  213. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  214. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.js +71 -0
  215. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  216. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.js +17 -0
  217. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +17 -0
  218. package/lib/pro/priceKeyboard/components/shortcuts/index.js +79 -0
  219. package/lib/pro/priceKeyboard/components/shortcuts/index.less +39 -0
  220. package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
  221. package/lib/pro/priceKeyboard/hooks/keyActions.js +176 -0
  222. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +27 -0
  223. package/lib/pro/priceKeyboard/hooks/rightItems.js +81 -0
  224. package/lib/pro/priceKeyboard/index.d.ts +3 -0
  225. package/lib/pro/priceKeyboard/index.js +45 -0
  226. package/lib/pro/priceKeyboard/index.less +215 -0
  227. package/lib/pro/priceKeyboard/utils.d.ts +31 -0
  228. package/lib/pro/priceKeyboard/utils.js +75 -0
  229. package/lib/pro/skuDetailModal/index.js +18 -22
  230. package/package.json +3 -3
@@ -23,6 +23,7 @@ declare const _default: {
23
23
  'balance.due': string;
24
24
  'deposit.due': string;
25
25
  'partial.paid': string;
26
+ 'deposit.partial.paid': string;
26
27
  'split.payment': string;
27
28
  cash: string;
28
29
  rounding: string;
@@ -78,6 +79,7 @@ declare const _default: {
78
79
  'wallet-pass-module-disabled-modal-title': string;
79
80
  'wallet-pass-module-disabled-modal-empty': string;
80
81
  'wallet-pass-module-discount-partially-paid': string;
82
+ 'wallet-pass-module-discount-order-free': string;
81
83
  'additional.options': string;
82
84
  'add.tip': string;
83
85
  'service.charge': string;
@@ -153,6 +155,15 @@ declare const _default: {
153
155
  'pisell2.checkout.sync-retry-hint': string;
154
156
  'pisell2.checkout.tips': string;
155
157
  retry: string;
158
+ 'cash-payment-title': string;
159
+ 'cash-payment-balance-due': string;
160
+ 'cash-payment-cash-received': string;
161
+ 'cash-payment-change-due': string;
162
+ 'cash-payment-rounding': string;
163
+ 'cash-payment-other': string;
164
+ 'cash-payment-reset': string;
165
+ 'cash-payment-pay': string;
166
+ 'cash-payment-amount-cannot-be-zero': string;
156
167
  };
157
168
  'zh-CN': {
158
169
  'order.total': string;
@@ -178,6 +189,7 @@ declare const _default: {
178
189
  'balance.due': string;
179
190
  'deposit.due': string;
180
191
  'partial.paid': string;
192
+ 'deposit.partial.paid': string;
181
193
  'split.payment': string;
182
194
  cash: string;
183
195
  rounding: string;
@@ -233,6 +245,7 @@ declare const _default: {
233
245
  'wallet-pass-module-disabled-modal-title': string;
234
246
  'wallet-pass-module-disabled-modal-empty': string;
235
247
  'wallet-pass-module-discount-partially-paid': string;
248
+ 'wallet-pass-module-discount-order-free': string;
236
249
  'additional.options': string;
237
250
  'add.tip': string;
238
251
  'service.charge': string;
@@ -308,6 +321,15 @@ declare const _default: {
308
321
  'pisell2.checkout.sync-retry-hint': string;
309
322
  'pisell2.checkout.tips': string;
310
323
  retry: string;
324
+ 'cash-payment-title': string;
325
+ 'cash-payment-balance-due': string;
326
+ 'cash-payment-cash-received': string;
327
+ 'cash-payment-change-due': string;
328
+ 'cash-payment-rounding': string;
329
+ 'cash-payment-other': string;
330
+ 'cash-payment-reset': string;
331
+ 'cash-payment-pay': string;
332
+ 'cash-payment-amount-cannot-be-zero': string;
311
333
  };
312
334
  'zh-HK': {
313
335
  'order.total': string;
@@ -333,6 +355,7 @@ declare const _default: {
333
355
  'balance.due': string;
334
356
  'deposit.due': string;
335
357
  'partial.paid': string;
358
+ 'deposit.partial.paid': string;
336
359
  'split.payment': string;
337
360
  cash: string;
338
361
  rounding: string;
@@ -394,6 +417,7 @@ declare const _default: {
394
417
  'wallet-pass-module-disabled-modal-title': string;
395
418
  'wallet-pass-module-disabled-modal-empty': string;
396
419
  'wallet-pass-module-discount-partially-paid': string;
420
+ 'wallet-pass-module-discount-order-free': string;
397
421
  'pisell2.checkout.search-section.placeholder': string;
398
422
  'pisell2.checkout.discount.percentage.off': (value: string) => string;
399
423
  'pisell2.checkout.discount.fixed_amount': string;
@@ -463,6 +487,15 @@ declare const _default: {
463
487
  'pisell2.checkout.sync-retry-hint': string;
464
488
  'pisell2.checkout.tips': string;
465
489
  retry: string;
490
+ 'cash-payment-title': string;
491
+ 'cash-payment-balance-due': string;
492
+ 'cash-payment-cash-received': string;
493
+ 'cash-payment-change-due': string;
494
+ 'cash-payment-rounding': string;
495
+ 'cash-payment-other': string;
496
+ 'cash-payment-reset': string;
497
+ 'cash-payment-pay': string;
498
+ 'cash-payment-amount-cannot-be-zero': string;
466
499
  };
467
500
  };
468
501
  export default _default;
@@ -27,6 +27,7 @@ export default {
27
27
  'balance.due': 'Balance Due',
28
28
  'deposit.due': 'Deposit Due',
29
29
  'partial.paid': 'Partial Paid',
30
+ 'deposit.partial.paid': 'Deposit Paid',
30
31
  'split.payment': 'Pay\nPartially',
31
32
  // Cash Payment
32
33
  'cash': 'Cash',
@@ -98,6 +99,7 @@ export default {
98
99
  'wallet-pass-module-disabled-modal-title': 'Unable to use',
99
100
  'wallet-pass-module-disabled-modal-empty': 'No unusable cards',
100
101
  'wallet-pass-module-discount-partially-paid': 'Promotion cannot be changed on partially paid orders or used wallet',
102
+ 'wallet-pass-module-discount-order-free': 'The order total is free, can not use wallet',
101
103
  // Additional Module
102
104
  'additional.options': 'Additional Options',
103
105
  'add.tip': 'Add Tip',
@@ -198,7 +200,17 @@ export default {
198
200
  'pisell2.checkout.order-sync-failed': 'Order sync failed, please check your network',
199
201
  'pisell2.checkout.sync-retry-hint': 'Network error, please click the retry button to resync the order',
200
202
  'pisell2.checkout.tips': 'Tips',
201
- 'retry': 'Retry'
203
+ 'retry': 'Retry',
204
+ // Cash Payment Module
205
+ 'cash-payment-title': 'Cash Payment',
206
+ 'cash-payment-balance-due': 'Balance Due',
207
+ 'cash-payment-cash-received': 'Cash Received',
208
+ 'cash-payment-change-due': 'Change Due',
209
+ 'cash-payment-rounding': 'Rounding',
210
+ 'cash-payment-other': 'Other',
211
+ 'cash-payment-reset': 'Reset',
212
+ 'cash-payment-pay': 'Pay',
213
+ 'cash-payment-amount-cannot-be-zero': 'The amount cannot be 0'
202
214
  },
203
215
  'zh-CN': {
204
216
  // Order and Payment
@@ -228,6 +240,7 @@ export default {
228
240
  'balance.due': '应付金额',
229
241
  'deposit.due': '定金待支付金额',
230
242
  'partial.paid': '部分支付',
243
+ 'deposit.partial.paid': '定金部分支付',
231
244
  'split.payment': '部分付款',
232
245
  // Cash Payment
233
246
  'cash': '现金',
@@ -299,6 +312,7 @@ export default {
299
312
  'wallet-pass-module-disabled-modal-title': '无法使用的卡券',
300
313
  'wallet-pass-module-disabled-modal-empty': '暂无不可用卡券',
301
314
  'wallet-pass-module-discount-partially-paid': '部分付款或已使用钱包的订单不可修改促销',
315
+ 'wallet-pass-module-discount-order-free': '订单金额为0,不可使用折扣卡或商品券',
302
316
  // Additional Module
303
317
  'additional.options': '附加选项',
304
318
  'add.tip': '添加小费',
@@ -402,7 +416,17 @@ export default {
402
416
  'pisell2.checkout.order-sync-failed': '订单同步失败,请检查网络',
403
417
  'pisell2.checkout.sync-retry-hint': '网络异常,请点击重试按钮重新同步订单',
404
418
  'pisell2.checkout.tips': '提示',
405
- 'retry': '重试'
419
+ 'retry': '重试',
420
+ // 现金支付模块
421
+ 'cash-payment-title': '现金支付',
422
+ 'cash-payment-balance-due': '应付金额',
423
+ 'cash-payment-cash-received': '实收金额',
424
+ 'cash-payment-change-due': '找零金额',
425
+ 'cash-payment-rounding': '抹零',
426
+ 'cash-payment-other': '其他',
427
+ 'cash-payment-reset': '重置',
428
+ 'cash-payment-pay': '支付',
429
+ 'cash-payment-amount-cannot-be-zero': '金额不能为0'
406
430
  },
407
431
  'zh-HK': {
408
432
  // Order and Payment
@@ -432,6 +456,7 @@ export default {
432
456
  'balance.due': '應付金額',
433
457
  'deposit.due': '定金待支付金額',
434
458
  'partial.paid': '部分支付',
459
+ 'deposit.partial.paid': '定金部分支付',
435
460
  'split.payment': '部分付款',
436
461
  // Cash Payment
437
462
  'cash': '現金',
@@ -510,6 +535,7 @@ export default {
510
535
  'wallet-pass-module-disabled-modal-title': '無法使用的卡券',
511
536
  'wallet-pass-module-disabled-modal-empty': '暫無不可用卡券',
512
537
  'wallet-pass-module-discount-partially-paid': '部分付款或已使用錢包的訂單不可修改促銷',
538
+ 'wallet-pass-module-discount-order-free': '訂單金額為0,不可使用折扣卡或商品券',
513
539
  // search section
514
540
  'pisell2.checkout.search-section.placeholder': '錢包碼 / 短碼',
515
541
  // discount formatting
@@ -606,6 +632,16 @@ export default {
606
632
  'pisell2.checkout.order-sync-failed': '訂單同步失敗,請檢查網絡',
607
633
  'pisell2.checkout.sync-retry-hint': '網絡異常,請點擊重試按鈕重新同步訂單',
608
634
  'pisell2.checkout.tips': '提示',
609
- 'retry': '重試'
635
+ 'retry': '重試',
636
+ // 現金支付模組
637
+ 'cash-payment-title': '現金支付',
638
+ 'cash-payment-balance-due': '應付金額',
639
+ 'cash-payment-cash-received': '實收金額',
640
+ 'cash-payment-change-due': '找零金額',
641
+ 'cash-payment-rounding': '抹零',
642
+ 'cash-payment-other': '其他',
643
+ 'cash-payment-reset': '重置',
644
+ 'cash-payment-pay': '支付',
645
+ 'cash-payment-amount-cannot-be-zero': '金額不能為0'
610
646
  }
611
647
  };
@@ -121,6 +121,7 @@ export interface PaymentMethod {
121
121
  type: string;
122
122
  fixed?: number;
123
123
  percentage?: number;
124
+ totalAmount?: string;
124
125
  }
125
126
  export interface PaymentMethodSelection {
126
127
  method: PaymentMethod;
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "success" | "warn" | "loading" | "fail" | "question";
177
+ status: "loading" | "success" | "warn" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,20 +295,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
298
+ mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
300
+ eftpos?: "stripe" | "tyro" | "windcave" | "payo" | "linkly" | undefined;
301
301
  action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "step" | "unset" | undefined;
306
+ type?: "unset" | "step" | undefined;
307
307
  render?: boolean | undefined;
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -28,4 +29,11 @@ export interface PayGroup {
28
29
  pay_number?: string;
29
30
  _order: any;
30
31
  }
31
- export declare const Provider: any, Context: any;
32
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
+ state: FormState;
34
+ } & {
35
+ dispatch: (params: {
36
+ type: string;
37
+ payload: any;
38
+ }) => void;
39
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -1,6 +1,12 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React, { useMemo } from 'react';
3
- import { ProductCard } from '@pisell/materials';
2
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
+ 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); }
5
+ 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; }
6
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
+ import React, { useMemo, useState } from 'react';
9
+ import { ProductCard, Iconfont } from '@pisell/materials';
4
10
  // import ProductCard from '../../../../../../materials/src/components/productCard';
5
11
  import useClearCart from "../../hooks/useClearCart";
6
12
  import { useContext } from "../../hooks/useContext";
@@ -8,6 +14,9 @@ import useAddService from "../../hooks/useAddService";
8
14
  import { useMemoizedFn } from 'ahooks';
9
15
  import { isNormalProductByDurationSchedule } from "../../../booking/info/service2/utils";
10
16
  import PisellNumberSelector from "../../../../pro/pisellNumberSelector";
17
+ import { formatAmount } from "@pisell/utils";
18
+ import { locales } from '@pisell/utils';
19
+ import Decimal from 'decimal.js';
11
20
  var Product = function Product(props) {
12
21
  var id = props.id,
13
22
  lists = props.lists,
@@ -32,6 +41,12 @@ var Product = function Product(props) {
32
41
  productCardStyleConfig = _state$productCardSty === void 0 ? {} : _state$productCardSty;
33
42
  var clearCart = useClearCart(id);
34
43
 
44
+ // 控制编辑区域展开收起状态
45
+ var _useState = useState(true),
46
+ _useState2 = _slicedToArray(_useState, 2),
47
+ isEditExpanded = _useState2[0],
48
+ setIsEditExpanded = _useState2[1];
49
+
35
50
  /**
36
51
  * @title: 更新商品数据
37
52
  * @description:
@@ -44,6 +59,12 @@ var Product = function Product(props) {
44
59
  if (disabledEdit && !(other !== null && other !== void 0 && other.disabled)) return;
45
60
  onChange(item, type, other);
46
61
  });
62
+
63
+ // 切换编辑区域展开收起状态
64
+ var toggleEditExpanded = useMemoizedFn(function (e) {
65
+ e === null || e === void 0 || e.preventDefault();
66
+ setIsEditExpanded(!isEditExpanded);
67
+ });
47
68
  var productParams = useMemo(function () {
48
69
  return {
49
70
  isShowNote: isShowNote,
@@ -66,78 +87,129 @@ var Product = function Product(props) {
66
87
  disabledEdit: true
67
88
  };
68
89
  });
90
+
91
+ // 预先根据是否处于编辑态切分列表,避免多次 filter 计算
92
+ var editItems = useMemo(function () {
93
+ return (lists || []).filter(function (item) {
94
+ var _item$_origin;
95
+ return item === null || item === void 0 || (_item$_origin = item._origin) === null || _item$_origin === void 0 ? void 0 : _item$_origin.edit;
96
+ });
97
+ }, [lists]);
98
+ var normalItems = useMemo(function () {
99
+ return (lists || []).filter(function (item) {
100
+ var _item$_origin2;
101
+ return !(item !== null && item !== void 0 && (_item$_origin2 = item._origin) !== null && _item$_origin2 !== void 0 && _item$_origin2.edit);
102
+ });
103
+ }, [lists]);
104
+ var editTotal = useMemo(function () {
105
+ var total = editItems.reduce(function (total, item) {
106
+ var itemTotal = new Decimal((item === null || item === void 0 ? void 0 : item.total) || 0);
107
+ return total.add(itemTotal);
108
+ }, new Decimal(0));
109
+ return formatAmount(total.toNumber(), 2, (state === null || state === void 0 ? void 0 : state.amountSymbol) || '$');
110
+ }, [editItems]);
111
+
112
+ // 统一渲染单个商品卡片,去重映射逻辑
113
+ var renderProductItem = useMemoizedFn(function (item) {
114
+ var Comp = ProductCard;
115
+ var isRetail;
116
+ if (state.scenario === 'booking2') {
117
+ isRetail = isNormalProductByDurationSchedule(item === null || item === void 0 ? void 0 : item._origin);
118
+ Comp = ProductCard.V2;
119
+ }
120
+ return /*#__PURE__*/React.createElement(Comp, _extends({
121
+ type: isRetail ? 'a2' : 'a5',
122
+ rightActions: [{
123
+ key: 'update_number',
124
+ text: /*#__PURE__*/React.createElement(PisellNumberSelector, {
125
+ enablePriceAdjust: true,
126
+ min: 1,
127
+ className: "pisell-sku-card__pisell-number-setter",
128
+ value: item === null || item === void 0 ? void 0 : item.num,
129
+ onChange: function onChange(value) {
130
+ if (value < 1) {
131
+ handleChange(item, 'num', {
132
+ num: 1
133
+ });
134
+ } else {
135
+ handleChange(item, 'num', {
136
+ num: value
137
+ });
138
+ }
139
+ }
140
+ }),
141
+ color: '#667085'
142
+ }],
143
+ escapeDom: ".pisell-number-selector-popover",
144
+ key: item._id,
145
+ dataSource: item,
146
+ onAction: function onAction(e) {
147
+ return _onAction === null || _onAction === void 0 ? void 0 : _onAction(e);
148
+ },
149
+ onDelete: function onDelete(e) {
150
+ return handleChange(e, 'delete', item);
151
+ },
152
+ onNote: function onNote(e) {
153
+ return handleChange(e, 'note', {
154
+ note: e.note
155
+ });
156
+ },
157
+ onLike: function onLike(e) {
158
+ return handleChange(e, 'like', {
159
+ like_status: e.like_status
160
+ });
161
+ },
162
+ onEditProduct: function onEditProduct(e) {
163
+ return handleChange === null || handleChange === void 0 ? void 0 : handleChange(e, 'edit_product');
164
+ },
165
+ onCard: function onCard(e) {
166
+ return handleChange === null || handleChange === void 0 ? void 0 : handleChange(e, 'view');
167
+ },
168
+ onChangeResource: function onChangeResource(e) {
169
+ return handleChange(item, 'change_resource', e);
170
+ },
171
+ onChangeHolder: function onChangeHolder(e) {
172
+ return handleChange(item, 'change_holder', e);
173
+ },
174
+ onAddHolder: function onAddHolder(e) {
175
+ return handleChange(item, 'add_holder', e);
176
+ }
177
+ }, productParams, getProductCardStyleProps(isRetail ? 'retail' : 'appointment'), {
178
+ scenario: state.scenario
179
+ }));
180
+ });
69
181
  return useMemo(function () {
70
- console.log('render cart');
182
+ console.log('render cart', lists);
71
183
  return /*#__PURE__*/React.createElement("div", {
72
184
  className: "pisell-lowcode__shopping-cart-content"
73
- }, clearCart, lists === null || lists === void 0 ? void 0 : lists.map(function (item) {
74
- var Comp = ProductCard;
75
- var isRetail;
76
- if (state.scenario === 'booking2') {
77
- isRetail = isNormalProductByDurationSchedule(item === null || item === void 0 ? void 0 : item._origin);
78
- Comp = ProductCard.V2;
185
+ }, clearCart, editItems.length > 0 && /*#__PURE__*/React.createElement("div", {
186
+ className: "pisell-lowcode__shopping-cart-edit"
187
+ }, /*#__PURE__*/React.createElement("div", {
188
+ className: "pisell-lowcode__shopping-cart-edit-header",
189
+ onClick: toggleEditExpanded,
190
+ style: {
191
+ cursor: 'pointer'
79
192
  }
80
- return /*#__PURE__*/React.createElement(Comp, _extends({
81
- type: isRetail ? 'a2' : 'a5',
82
- rightActions: [{
83
- key: 'update_number',
84
- text: /*#__PURE__*/React.createElement(PisellNumberSelector, {
85
- enablePriceAdjust: true,
86
- min: 1,
87
- className: "pisell-sku-card__pisell-number-setter",
88
- value: item === null || item === void 0 ? void 0 : item.num,
89
- onChange: function onChange(value) {
90
- if (value < 1) {
91
- handleChange(item, 'num', {
92
- num: 1
93
- });
94
- } else {
95
- handleChange(item, 'num', {
96
- num: value
97
- });
98
- }
99
- }
100
- }),
101
- color: '#667085'
102
- }],
103
- escapeDom: ".pisell-number-selector-popover",
104
- key: item._id,
105
- dataSource: item,
106
- onAction: function onAction(e) {
107
- return _onAction === null || _onAction === void 0 ? void 0 : _onAction(e);
108
- },
109
- onDelete: function onDelete(e) {
110
- return handleChange(e, 'delete', item);
111
- },
112
- onNote: function onNote(e) {
113
- return handleChange(e, 'note', {
114
- note: e.note
115
- });
116
- },
117
- onLike: function onLike(e) {
118
- return handleChange(e, 'like', {
119
- like_status: e.like_status
120
- });
121
- },
122
- onEditProduct: function onEditProduct(e) {
123
- return handleChange === null || handleChange === void 0 ? void 0 : handleChange(e, 'edit_product');
124
- },
125
- onCard: function onCard(e) {
126
- return handleChange === null || handleChange === void 0 ? void 0 : handleChange(e, 'view');
127
- },
128
- onChangeResource: function onChangeResource(e) {
129
- return handleChange(item, 'change_resource', e);
130
- },
131
- onChangeHolder: function onChangeHolder(e) {
132
- return handleChange(item, 'change_holder', e);
133
- },
134
- onAddHolder: function onAddHolder(e) {
135
- return handleChange(item, 'add_holder', e);
136
- }
137
- }, productParams, getProductCardStyleProps(isRetail ? 'retail' : 'appointment'), {
138
- scenario: state.scenario
139
- }));
140
- }), !hideAddBtn && platform !== 'h5' && isAdd ? useAddService(id, 'more') : null);
141
- }, [clearCart, lists, productParams, hideAddBtn, isAdd, platform]);
193
+ }, /*#__PURE__*/React.createElement("div", {
194
+ className: "pisell-lowcode__shopping-cart-edit-header-title"
195
+ }, locales.getText('pisell2.text.shopping-cart.save.items')(editItems.length)), /*#__PURE__*/React.createElement("div", {
196
+ className: "pisell-lowcode__shopping-cart-edit-header-summary"
197
+ }, editTotal), /*#__PURE__*/React.createElement("div", {
198
+ className: "pisell-lowcode__shopping-cart-edit-header-switch"
199
+ }, /*#__PURE__*/React.createElement(Iconfont, {
200
+ type: "pisell2-chevron-down",
201
+ style: {
202
+ transform: isEditExpanded ? 'rotate(180deg)' : 'rotate(0deg)',
203
+ transition: 'transform 0.3s ease'
204
+ }
205
+ }))), /*#__PURE__*/React.createElement("div", {
206
+ className: "pisell-lowcode__shopping-cart-edit-content",
207
+ style: {
208
+ maxHeight: isEditExpanded ? 'unset' : '0',
209
+ overflow: 'hidden',
210
+ transition: 'max-height 0.3s ease'
211
+ }
212
+ }, editItems.map(renderProductItem))), normalItems.map(renderProductItem), !hideAddBtn && platform !== 'h5' && isAdd ? useAddService(id, 'more') : null);
213
+ }, [clearCart, editItems, normalItems, productParams, hideAddBtn, isAdd, platform, isEditExpanded]);
142
214
  };
143
215
  export default Product;
@@ -52,7 +52,7 @@ var Cart = function Cart() {
52
52
  });
53
53
  }, [carts, platform]);
54
54
  return useMemo(function () {
55
- console.log('render cart 22222');
55
+ console.log('render cart 22222', state.prodcuts);
56
56
  return /*#__PURE__*/React.createElement("div", {
57
57
  className: classNames('pisell-lowcode__shopping-cart')
58
58
  }, isProductList ? /*#__PURE__*/React.createElement(Product, {
@@ -24,6 +24,37 @@
24
24
  margin-bottom: 0;
25
25
  }
26
26
  }
27
+
28
+ .pisell-lowcode__shopping-cart-edit {
29
+ display: flex;
30
+ padding: 6px;
31
+ background: #EAECF0;
32
+ flex-direction: column;
33
+ color: black;
34
+ border-radius: 8px;
35
+ .pisell-lowcode__shopping-cart-edit-header {
36
+ display: flex;
37
+ font-size: 14px;
38
+ font-weight: 600;
39
+ .pisell-lowcode__shopping-cart-edit-header-title {
40
+ flex: 1;
41
+ }
42
+ .pisell-lowcode__shopping-cart-edit-header-summary {
43
+ margin-right: 4px;
44
+ }
45
+ // .pisell-lowcode__shopping-cart-edit-header-switch {
46
+ // font-size: 14px;
47
+ // font-weight: 400;
48
+ // line-height: 20px;
49
+ // }
50
+ }
51
+ .pisell-lowcode__shopping-cart-edit-content {
52
+ margin-top: 6px;
53
+ gap: 8px;
54
+ display: flex;
55
+ flex-direction: column;
56
+ }
57
+ }
27
58
 
28
59
  .pisell-lowcode__shopping-cart-label {
29
60
  color: var(--Base-Black, #000);
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  'pisell2.text.shopping-cart.confirm': string;
9
9
  'pisell2.text.shopping-cart.cancel': string;
10
10
  'pisell2.text.shopping-cart.select.holder.modal.title': string;
11
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
11
12
  };
12
13
  'zh-CN': {
13
14
  'pisell2.text.shopping-cart.item': (num: number) => string;
@@ -18,6 +19,7 @@ declare const _default: {
18
19
  'pisell2.text.shopping-cart.confirm': string;
19
20
  'pisell2.text.shopping-cart.cancel': string;
20
21
  'pisell2.text.shopping-cart.select.holder.modal.title': string;
22
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
21
23
  };
22
24
  'zh-HK': {
23
25
  'pisell2.text.shopping-cart.item': (num: number) => string;
@@ -28,6 +30,7 @@ declare const _default: {
28
30
  'pisell2.text.shopping-cart.confirm': string;
29
31
  'pisell2.text.shopping-cart.cancel': string;
30
32
  'pisell2.text.shopping-cart.select.holder.modal.title': string;
33
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
31
34
  };
32
35
  };
33
36
  export default _default;