@pisell/private-materials 6.5.2 → 6.5.3

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 (323) 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 +9 -9
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  19. package/es/components/booking/addons/model.d.ts +1 -10
  20. package/es/components/booking/components/actionButtons/index.js +2 -2
  21. package/es/components/booking/components/customiseItemModal/index.js +2 -2
  22. package/es/components/booking/components/footer/index.js +48 -42
  23. package/es/components/booking/components/voucher/index.js +18 -4
  24. package/es/components/booking/deposit/index.d.ts +1 -0
  25. package/es/components/booking/forms/footer.d.ts +0 -1
  26. package/es/components/booking/forms/model.d.ts +1 -10
  27. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  28. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  29. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  30. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  31. package/es/components/booking/info/header/index.d.ts +1 -0
  32. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  33. package/es/components/booking/info/index.d.ts +1 -0
  34. package/es/components/booking/info/model.d.ts +1 -10
  35. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  36. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  37. package/es/components/booking/info2/cartClientCard/index.js +33 -20
  38. package/es/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  39. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  40. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  41. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  42. package/es/components/booking/model.d.ts +1 -9
  43. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  44. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  45. package/es/components/booking/notes/model.d.ts +1 -10
  46. package/es/components/booking/payments/model.d.ts +1 -10
  47. package/es/components/booking/utils.d.ts +2 -2
  48. package/es/components/checkout/PaymentModal.js +719 -432
  49. package/es/components/checkout/PaymentPlugin.d.ts +1 -0
  50. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  51. package/es/components/checkout/components/AdditionalModule/index.js +80 -49
  52. package/es/components/checkout/components/AdditionalModule/index.less +33 -34
  53. package/es/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  54. package/es/components/checkout/components/AdditionalModule/locales.js +7 -4
  55. package/es/components/checkout/components/AmountSummary/index.d.ts +2 -1
  56. package/es/components/checkout/components/AmountSummary/index.js +69 -31
  57. package/es/components/checkout/components/AmountSummary/index.less +27 -9
  58. package/es/components/checkout/components/CashPaymentModule/index.less +0 -2
  59. package/es/components/checkout/components/PaymentDetailModal/index.js +55 -10
  60. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  61. package/es/components/checkout/components/PaymentOptionsModule/index.js +40 -25
  62. package/es/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  63. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  64. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +512 -82
  65. package/es/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  66. package/es/components/checkout/components/PaymentResultToast/index.js +90 -35
  67. package/es/components/checkout/components/PaymentResultToast/index.less +445 -77
  68. package/es/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  69. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  70. package/es/components/checkout/components/PaymentResultToast/utils.js +81 -2
  71. package/es/components/checkout/components/SearchAndClientModule/index.js +17 -16
  72. package/es/components/checkout/components/SearchAndClientModule/index.less +29 -8
  73. package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +3 -1
  74. package/es/components/checkout/components/WalletPassModule/index.less +3 -3
  75. package/es/components/checkout/hooks/useWalletPass.js +1 -1
  76. package/es/components/checkout/index.d.ts +1 -1
  77. package/es/components/checkout/index.js +1 -1
  78. package/es/components/checkout/index.less +56 -38
  79. package/es/components/checkout/locales.d.ts +6 -0
  80. package/es/components/checkout/locales.js +9 -3
  81. package/es/components/checkout/payment-modal-utils.js +5 -5
  82. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  83. package/es/components/checkout/utils/PaymentResultToastUtils.js +111 -72
  84. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  85. package/es/components/eftposPay/app.d.ts +1 -0
  86. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  87. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  88. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  89. package/es/components/eftposPay/hooks.d.ts +1 -1
  90. package/es/components/eftposPay/pay.d.ts +0 -1
  91. package/es/components/eftposPay/store/index.d.ts +4 -4
  92. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  93. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  94. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  95. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  96. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  97. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  98. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  99. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  100. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  103. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  105. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  106. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  108. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  110. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  111. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  112. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  113. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  114. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  115. package/es/components/pay/toB/components/EFTPOS/index.js +91 -58
  116. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  117. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  118. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  119. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  120. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  121. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  122. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  123. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  124. package/es/components/pay/toC/model.d.ts +1 -9
  125. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  126. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  127. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  128. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  129. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  130. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  131. package/es/components/schedules/model.d.ts +1 -9
  132. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  133. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  134. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  135. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  136. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  137. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  138. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  139. package/es/components/shoppingCart/index.d.ts +0 -1
  140. package/es/components/taxSelect/index.d.ts +1 -0
  141. package/es/components/ticketBooking/components/addServiceVariant/addService.js +4 -3
  142. package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -1
  143. package/es/components/ticketBooking/components/menuBar/index.js +1 -1
  144. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  145. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +1 -1
  146. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +1 -1
  147. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +4 -2
  148. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  149. package/es/components/wallet/Detail/model.d.ts +1 -13
  150. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  151. package/es/components/wallet/PointCard/model.d.ts +1 -13
  152. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  153. package/es/components/wallet/Voucher/model.d.ts +1 -13
  154. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  155. package/es/components/wallet/model.d.ts +1 -9
  156. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  157. package/es/plus/clientCard/index.js +3 -2
  158. package/es/plus/clientCard/index.less +3 -32
  159. package/es/plus/clientName/index.d.ts +1 -0
  160. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  161. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  162. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  163. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  164. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  165. package/es/pro/comprehensiveSearch/components/searchSection/index.js +9 -12
  166. package/es/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  167. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  168. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  169. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  170. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  171. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  172. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  173. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  174. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  175. package/lib/components/booking/addons/model.d.ts +1 -10
  176. package/lib/components/booking/components/actionButtons/index.js +2 -1
  177. package/lib/components/booking/components/customiseItemModal/index.js +2 -2
  178. package/lib/components/booking/components/footer/index.js +3 -0
  179. package/lib/components/booking/components/voucher/index.js +15 -3
  180. package/lib/components/booking/deposit/index.d.ts +1 -0
  181. package/lib/components/booking/forms/footer.d.ts +0 -1
  182. package/lib/components/booking/forms/model.d.ts +1 -10
  183. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  184. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  185. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  186. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  187. package/lib/components/booking/info/header/index.d.ts +1 -0
  188. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  189. package/lib/components/booking/info/index.d.ts +1 -0
  190. package/lib/components/booking/info/model.d.ts +1 -10
  191. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  192. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  193. package/lib/components/booking/info2/cartClientCard/index.js +16 -5
  194. package/lib/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  195. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  196. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  197. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  198. package/lib/components/booking/model.d.ts +1 -9
  199. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  200. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  201. package/lib/components/booking/notes/model.d.ts +1 -10
  202. package/lib/components/booking/payments/model.d.ts +1 -10
  203. package/lib/components/booking/utils.d.ts +2 -2
  204. package/lib/components/checkout/PaymentModal.js +241 -109
  205. package/lib/components/checkout/PaymentPlugin.d.ts +1 -0
  206. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  207. package/lib/components/checkout/components/AdditionalModule/index.js +98 -34
  208. package/lib/components/checkout/components/AdditionalModule/index.less +33 -34
  209. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  210. package/lib/components/checkout/components/AdditionalModule/locales.js +7 -4
  211. package/lib/components/checkout/components/AmountSummary/index.d.ts +2 -1
  212. package/lib/components/checkout/components/AmountSummary/index.js +103 -47
  213. package/lib/components/checkout/components/AmountSummary/index.less +27 -9
  214. package/lib/components/checkout/components/CashPaymentModule/index.less +0 -2
  215. package/lib/components/checkout/components/PaymentDetailModal/index.js +56 -11
  216. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  217. package/lib/components/checkout/components/PaymentOptionsModule/index.js +11 -8
  218. package/lib/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  219. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  220. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +279 -73
  221. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  222. package/lib/components/checkout/components/PaymentResultToast/index.js +69 -22
  223. package/lib/components/checkout/components/PaymentResultToast/index.less +445 -77
  224. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  225. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  226. package/lib/components/checkout/components/PaymentResultToast/utils.js +58 -4
  227. package/lib/components/checkout/components/SearchAndClientModule/index.js +17 -15
  228. package/lib/components/checkout/components/SearchAndClientModule/index.less +29 -8
  229. package/lib/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +12 -2
  230. package/lib/components/checkout/components/WalletPassModule/index.less +3 -3
  231. package/lib/components/checkout/hooks/useWalletPass.js +2 -2
  232. package/lib/components/checkout/index.d.ts +1 -1
  233. package/lib/components/checkout/index.js +2 -0
  234. package/lib/components/checkout/index.less +56 -38
  235. package/lib/components/checkout/locales.d.ts +6 -0
  236. package/lib/components/checkout/locales.js +9 -3
  237. package/lib/components/checkout/payment-modal-utils.js +5 -5
  238. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  239. package/lib/components/checkout/utils/PaymentResultToastUtils.js +26 -18
  240. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  241. package/lib/components/eftposPay/app.d.ts +1 -0
  242. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  243. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  244. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  245. package/lib/components/eftposPay/hooks.d.ts +1 -1
  246. package/lib/components/eftposPay/pay.d.ts +0 -1
  247. package/lib/components/eftposPay/store/index.d.ts +4 -4
  248. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  249. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  250. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  251. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  253. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  254. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  255. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  256. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  257. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  258. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  259. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  260. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  261. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  262. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  263. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  264. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  265. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  266. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  267. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  268. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  269. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  270. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  271. package/lib/components/pay/toB/components/EFTPOS/index.js +25 -10
  272. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  273. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  274. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  275. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  276. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  277. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  278. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  279. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  280. package/lib/components/pay/toC/model.d.ts +1 -9
  281. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  282. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  283. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  284. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  285. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  286. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  287. package/lib/components/schedules/model.d.ts +1 -9
  288. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  289. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  290. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  291. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  292. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  293. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  294. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  295. package/lib/components/shoppingCart/index.d.ts +0 -1
  296. package/lib/components/taxSelect/index.d.ts +1 -0
  297. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -6
  298. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -2
  299. package/lib/components/ticketBooking/components/menuBar/index.js +1 -1
  300. package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -1
  301. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -12
  302. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -12
  303. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +5 -13
  304. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  305. package/lib/components/wallet/Detail/model.d.ts +1 -13
  306. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  307. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  308. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  309. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  310. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  311. package/lib/components/wallet/model.d.ts +1 -9
  312. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  313. package/lib/plus/clientCard/index.js +5 -4
  314. package/lib/plus/clientCard/index.less +3 -32
  315. package/lib/plus/clientName/index.d.ts +1 -0
  316. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  317. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  318. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  319. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  320. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  321. package/lib/pro/comprehensiveSearch/components/searchSection/index.js +6 -18
  322. package/lib/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  323. package/package.json +1 -1
@@ -1,39 +1,254 @@
1
- @primary-color: rgba(16, 24, 40, 0.90); // 与图片一致的深蓝灰背景
1
+ @primary-color: rgba(52, 64, 84, 0.8); // 毛玻璃效果的背景色
2
2
  @success-color: #47CD89; // 与图片一致的成功文字颜色
3
- @progress-color: #079455; // 与图片一致的进度条颜色
4
- @warning-color: #F79009; // 与图片一致的找零金额颜色
3
+ @progress-color: #079455; // 与DOM样式一致的进度条颜色
4
+ @warning-color: #F79009; // 与DOM样式一致的部分支付颜色
5
5
  @error-color: #F97066; // 失败状态的红色
6
6
  @paid-color: #47CD89; // 已支付金额的绿色(与成功颜色一致)
7
7
  @text-color-inverse: #ffffff;
8
- @border-radius-base: 10px; // 与图片一致的圆角
8
+ @border-radius-base: 16px; // 更新为rounded-2xl的圆角
9
+
10
+
11
+ // Toast Modal Wrap 特定样式
12
+ .toast-modal-wrap {
13
+ position: static !important;
14
+ display: block !important;
15
+ overflow: visible !important;
16
+ padding: 0 !important;
17
+ margin: 0 !important;
18
+ pointer-events: none !important; // 让Toast Modal Wrap点击穿透
19
+
20
+ .ant-modal {
21
+ position: static !important;
22
+ top: auto !important;
23
+ left: auto !important;
24
+ right: auto !important;
25
+ bottom: auto !important;
26
+ transform: none !important;
27
+ margin: 0 !important;
28
+ padding: 0 !important;
29
+ width: 100% !important;
30
+ max-width: none !important;
31
+ pointer-events: none !important; // 让Modal点击穿透
32
+ }
33
+ }
34
+
35
+ // Toast容器样式 - 用于多实例定位
36
+ [data-toast-id] {
37
+ z-index: 1000;
38
+ position: fixed !important;
39
+ left: 96px !important;
40
+ /* 注意:不设置bottom的!important,让JavaScript可以动态更新 */
41
+ /* 移除强制的z-index设置,让Toast使用默认层级 */
42
+ pointer-events: none !important; // 让Toast容器本身点击穿透
43
+ /* 优化的动画过渡效果 */
44
+ transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
45
+ width: auto !important;
46
+ height: auto !important;
47
+
48
+ /* 新Toast进入动画 */
49
+ &.toast-entering {
50
+ opacity: 0;
51
+ transform: translateY(100%) scale(0.95);
52
+ animation: toast-slide-up 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
53
+ }
54
+
55
+ /* Toast位移动画 */
56
+ &.toast-moving {
57
+ transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
58
+ }
59
+
60
+ /* Toast退出动画 */
61
+ &.toast-exiting {
62
+ opacity: 0;
63
+ transform: translateX(-100%) scale(0.9);
64
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1) !important;
65
+ }
66
+
67
+ // 全局Ant Design Modal样式覆盖
68
+ .ant-modal-content {
69
+ background: transparent !important;
70
+ box-shadow: none !important;
71
+ border-radius: @border-radius-base !important;
72
+ }
73
+
74
+ .ant-modal-body {
75
+ padding: 0 !important;
76
+ background: transparent !important;
77
+ }
78
+
79
+ .ant-modal-header {
80
+ display: none !important;
81
+ }
82
+
83
+ // 强制覆盖Ant Design Modal的默认定位
84
+ .ant-modal-wrap {
85
+ position: static !important;
86
+ pointer-events: none !important; // 让Modal wrap点击穿透
87
+ }
88
+
89
+ .ant-modal {
90
+ position: static !important;
91
+ top: auto !important;
92
+ left: auto !important;
93
+ transform: none !important;
94
+ margin: 0 !important;
95
+ padding: 0 !important;
96
+ pointer-events: none !important; // 让Modal本身点击穿透
97
+ }
98
+
99
+
100
+ // 覆盖所有可能的Ant Design Modal定位
101
+ .ant-modal-wrap {
102
+ position: static !important;
103
+ display: block !important;
104
+ overflow: visible !important;
105
+ pointer-events: none !important; // 让Modal wrap点击穿透
106
+ }
107
+
108
+ .ant-modal {
109
+ position: static !important;
110
+ top: auto !important;
111
+ left: auto !important;
112
+ right: auto !important;
113
+ bottom: auto !important;
114
+ transform: none !important;
115
+ margin: 0 !important;
116
+ padding: 0 !important;
117
+ width: 100% !important;
118
+ max-width: none !important;
119
+ pointer-events: none !important; // 让Modal点击穿透
120
+ }
121
+
122
+ // Toast进入动画
123
+ &.toast-enter {
124
+ opacity: 0;
125
+ transform: translateX(-100%) scale(0.95);
126
+ }
127
+
128
+ &.toast-enter-active {
129
+ opacity: 1;
130
+ transform: translateX(0) scale(1);
131
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
132
+ }
133
+
134
+ // Toast退出动画
135
+ &.toast-exit {
136
+ opacity: 1;
137
+ transform: translateX(0) scale(1);
138
+ }
139
+
140
+ &.toast-exit-active {
141
+ opacity: 0;
142
+ transform: translateX(-100%) scale(0.95);
143
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
144
+ }
145
+ }
9
146
 
10
147
 
11
148
 
12
149
  .payment-result-toast {
13
- width: 680px !important;
150
+ width: auto !important;
151
+
152
+ // 全局Ant Design Modal样式覆盖
153
+ .ant-modal-content {
154
+ background: transparent !important;
155
+ box-shadow: none !important;
156
+ border-radius: @border-radius-base !important;
157
+ }
158
+
159
+ .ant-modal-body {
160
+ padding: 0 !important;
161
+ background: transparent !important;
162
+ }
163
+
164
+ .ant-modal-header {
165
+ display: none !important;
166
+ }
167
+
168
+ // 强制覆盖Ant Design Modal的默认定位
169
+ .ant-modal-wrap {
170
+ position: static !important;
171
+ pointer-events: none !important; // 让Modal wrap点击穿透
172
+ }
173
+
174
+ .ant-modal {
175
+ position: static !important;
176
+ top: auto !important;
177
+ left: auto !important;
178
+ transform: none !important;
179
+ margin: 0 !important;
180
+ padding: 0 !important;
181
+ pointer-events: none !important; // 让Modal本身点击穿透
182
+ }
183
+
184
+
185
+ // 确保Modal不会被Ant Design默认定位影响
186
+ .ant-modal-wrap {
187
+ position: static !important;
188
+ display: block !important;
189
+ overflow: visible !important;
190
+ pointer-events: none !important; // 让Modal wrap点击穿透
191
+ }
192
+
193
+ .ant-modal {
194
+ position: static !important;
195
+ top: auto !important;
196
+ left: auto !important;
197
+ transform: none !important;
198
+ margin: 0 !important;
199
+ padding: 0 !important;
200
+ width: 100% !important;
201
+ max-width: none !important;
202
+ pointer-events: none !important; // 让Modal点击穿透
203
+ }
204
+
205
+ .ant-modal-close-x {
206
+ color: @text-color-inverse !important;
207
+ }
208
+
209
+ .ant-dropdown-trigger {
210
+ padding: 8px 12px !important;
211
+ font-size: 22px !important;
212
+ background: transparent !important;
213
+ color: @text-color-inverse !important;
214
+ box-sizing: content-box !important;
215
+ }
14
216
 
15
217
  .pisell-lowcode-space-item {
218
+ pointer-events: auto !important; // 确保按钮组项目可以接收点击事件
219
+
16
220
  .pisell-lowcode-dropdown-trigger {
17
- width: 44px !important;
18
- height: 44px !important;
19
- box-sizing: content-box !important;
221
+ width: 56px !important; // 调整为xl尺寸
222
+ height: 56px !important;
223
+ box-sizing: border-box !important;
224
+ pointer-events: auto !important; // 确保下拉按钮可以接收点击事件
225
+
20
226
  .payment-result-toast-action-icon {
21
- font-size: 44px;
227
+ font-size: 20px;
22
228
  }
23
229
  }
24
230
  }
25
231
 
26
- .pisell-lowcode-modal-content {
27
- background: @primary-color !important;
232
+ .pisell-lowcode-modal-content,
233
+ .ant-modal-content {
234
+ background: transparent !important; // 让content区域处理背景
28
235
  border-radius: @border-radius-base !important;
29
- padding: 0 !important;
30
- overflow: hidden !important;
31
- width: 680px !important;
32
-
33
- .pisell-lowcode-modal-header {
236
+ padding: 0 !important; // 让content区域处理padding
237
+ overflow: visible !important;
238
+ width: auto !important;
239
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; // 添加阴影效果
240
+ border: none !important; // 移除边框
241
+ pointer-events: none !important; // 让Modal content点击穿透
242
+
243
+ .pisell-lowcode-modal-header,
244
+ .ant-modal-header {
34
245
  display: none !important;
35
246
  }
36
247
 
248
+ // 添加关闭按钮样式
249
+ .pisell-lowcode-modal-close,
250
+
251
+
37
252
  .pisell-lowcode-dropdown-trigger {
38
253
  flex: 0 0 auto !important; // 更多按钮保持固定宽度,不跟随等比例分配
39
254
  width: 60px !important; // 明确设置更多按钮的固定宽度
@@ -52,6 +267,7 @@
52
267
  padding: 8px !important;
53
268
  white-space: nowrap !important; // 防止文字换行
54
269
  height: 44px !important; // 与其他按钮保持一致的高度
270
+ pointer-events: auto !important; // 确保下拉按钮可以接收点击事件
55
271
 
56
272
  .anticon-more {
57
273
  font-size: 44px;
@@ -59,60 +275,134 @@
59
275
  }
60
276
  }
61
277
 
62
- .pisell-lowcode-modal-body {
278
+ .pisell-lowcode-modal-body,
279
+ .ant-modal-body {
63
280
  padding: 0;
64
- background: @primary-color;
281
+ background: transparent !important; // 让内容容器的背景透明,使用content的背景
282
+ pointer-events: none !important; // 让Modal body点击穿透
65
283
  }
66
284
 
67
285
  &-content {
68
- padding: 48px 32px 32px;
286
+ padding: 16px !important; // 添加内边距
69
287
  text-align: center;
70
- min-height: 300px;
288
+ min-height: auto;
71
289
  display: flex;
72
290
  flex-direction: column;
73
- justify-content: space-between;
291
+ justify-content: center;
74
292
  align-items: center;
75
293
  position: relative;
294
+ gap: 16px; // 添加元素间隙
295
+ background: @primary-color !important; // 毛玻璃背景
296
+ border-radius: @border-radius-base !important;
297
+ backdrop-filter: blur(12px) !important;
298
+ -webkit-backdrop-filter: blur(12px) !important;
299
+ overflow: hidden !important;
300
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
301
+ pointer-events: none !important; // 内容区域点击穿透
302
+
303
+ // Toast内容进入动画
304
+ /* 初始状态:隐藏在底部 */
305
+ opacity: 0;
306
+ transform: translateY(100%) scale(0.95);
307
+ animation: toast-slide-up 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
76
308
 
77
309
  .pisell-lowcode-flex-vertical {
78
310
  margin-bottom: 0 !important;
311
+ pointer-events: auto !important; // 按钮组容器可点击
312
+ }
313
+
314
+ // 确保所有子元素默认穿透,只有按钮类元素可点击
315
+ >* {
316
+ pointer-events: none !important;
317
+ }
318
+
319
+ // 按钮相关元素可点击
320
+ button,
321
+ a,
322
+ [role="button"],
323
+ .ant-btn,
324
+ .pisell-lowcode-button,
325
+ .pisell-lowcode-space,
326
+ .pisell-lowcode-space-item,
327
+ .pisell-lowcode-dropdown-trigger {
328
+ pointer-events: auto !important;
329
+ }
330
+ }
331
+
332
+ // Modal关闭按钮样式 - 与标题内容垂直居中对齐
333
+ .ant-modal-close {
334
+ position: absolute !important;
335
+ top: 20px !important; // 大约与标题内容的中心位置对齐
336
+ right: 16px !important;
337
+ z-index: 1 !important; // 使用相对z-index,确保在内容之上即可
338
+ pointer-events: auto !important; // 确保关闭按钮可以接收点击事件
339
+
340
+ .ant-modal-close-x {
341
+ font-size: 40px !important;
342
+ width: 40px !important;
343
+ height: 40px !important;
344
+ background: transparent !important;
345
+ display: flex !important;
346
+ align-items: center !important;
347
+ justify-content: center !important;
348
+ color: @text-color-inverse !important;
349
+ line-height: 1 !important;
350
+ pointer-events: auto !important; // 确保关闭按钮内部元素可以接收点击事件
351
+
352
+ .anticon {
353
+ font-size: 40px !important;
354
+ pointer-events: auto !important; // 确保图标可以接收点击事件
355
+ }
356
+
357
+ &:hover {
358
+ background: rgba(255, 255, 255, 0.1) !important;
359
+ transform: scale(1.05) !important;
360
+ transition: all 0.2s ease !important;
361
+ }
79
362
  }
80
363
  }
81
364
 
82
365
  // 成功状态标题
83
366
  &-success-title {
84
367
  color: @success-color;
85
- font-size: 20px; // 与图片一致
86
- font-weight: 600;
87
- line-height: 30px; // 与图片一致
88
- margin: 0;
368
+ font-size: 30px !important; // text-3xl对应30px
369
+ font-weight: 600 !important; // font-semibold
370
+ margin: 0 !important;
371
+ font-family: 'Inter', sans-serif !important;
89
372
  }
90
373
 
91
374
  // 失败状态标题
92
375
  &-failed-title {
93
376
  color: @error-color;
94
- font-size: 20px;
95
- font-weight: 600;
96
- line-height: 30px;
97
- margin: 0;
377
+ font-size: 30px !important;
378
+ font-weight: 600 !important;
379
+ margin: 0 !important;
380
+ font-family: 'Inter', sans-serif !important;
98
381
  }
99
382
 
100
383
  // Wallet Pass失败状态标题
101
384
  &-wallet-pass-failed-title {
102
385
  color: @error-color;
103
- font-size: 20px;
104
- font-weight: 600;
105
- line-height: 30px;
106
- margin: 0;
386
+ font-size: 30px !important;
387
+ font-weight: 600 !important;
388
+ margin: 0 !important;
389
+ font-family: 'Inter', sans-serif !important;
390
+ }
391
+
392
+ // 部分支付状态标题
393
+ &-partially-paid-title {
394
+ color: @warning-color !important; // amber-500颜色
395
+ font-size: 30px !important; // text-3xl
396
+ font-weight: 600 !important; // font-semibold
397
+ margin: 0 !important;
398
+ font-family: 'Inter', sans-serif !important;
107
399
  }
108
400
 
109
401
  // 副标题样式
110
402
  &-subtitle {
111
403
  &-text {
112
- font-size: 36px; // 与图片一致
404
+ font-size: 30px; // 与图片一致
113
405
  font-weight: 600; // 与图片一致
114
- line-height: 44px; // 与图片一致
115
- margin: 16px 0 0;
116
406
  text-shadow: none; // 移除阴影
117
407
 
118
408
  // 已支付金额样式 (成功-无找零)
@@ -132,7 +422,7 @@
132
422
 
133
423
  // 部分支付金额样式
134
424
  &.partially-paid {
135
- color: @warning-color;
425
+ color: @warning-color !important;
136
426
  }
137
427
  }
138
428
  }
@@ -142,6 +432,7 @@
142
432
  bottom: 0;
143
433
  left: 0;
144
434
  right: 0;
435
+ width: 100%; // 使用100%宽度
145
436
 
146
437
  &-text {
147
438
  display: none; // 图片中没有显示倒计时文字
@@ -149,15 +440,18 @@
149
440
 
150
441
  &-progress {
151
442
  width: 100%;
152
- height: 8px;
443
+ height: 6px; // h-1.5对应6px
153
444
  background: transparent;
154
- position: relative;
445
+ position: absolute;
446
+ bottom: 0;
447
+ left: 0;
448
+ right: 0;
155
449
  border-radius: 0; // 确保无圆角
156
450
  overflow: hidden;
157
451
 
158
452
  &-bar {
159
453
  height: 100%;
160
- background: @progress-color; // 使用与图片一致的深绿色
454
+ background: @progress-color !important; // emerald-600颜色
161
455
  position: relative;
162
456
  border-radius: 0; // 确保无圆角
163
457
  width: 100%; // 初始宽度为100%
@@ -174,33 +468,38 @@
174
468
  &-actions {
175
469
  display: flex;
176
470
  gap: 16px;
177
- margin-top: 24px;
471
+ margin-top: 0; // 去除上边距
178
472
  width: 100%;
179
- max-width: 500px; // 增加最大宽度以适应自适应按钮
473
+ max-width: none; // 去除最大宽度限制
180
474
  justify-content: center; // 按钮居中对齐
475
+ align-items: center;
476
+ pointer-events: auto !important; // 按钮区域可以接收点击事件
181
477
  }
182
478
 
183
479
  &-action-button {
184
- flex: 1; // 改为等比例分配宽度,使前三个按钮宽度相同
185
- border: 1px solid @text-color-inverse;
186
- background: transparent;
187
- color: @text-color-inverse;
188
- border-radius: @border-radius-base;
189
- font-size: 20px;
190
- font-weight: 600;
191
- display: flex;
192
- align-items: center;
193
- justify-content: center;
194
- gap: 0px;
195
- cursor: pointer;
196
- transition: all 0.3s ease;
197
- padding: 8px 16px;
198
- white-space: nowrap; // 防止文字换行
199
- height: 44px !important;
200
- box-sizing: content-box;
480
+ flex: 1; // Print Receipt按钮使用flex: 1
481
+ border: 1px solid rgba(209, 213, 219, 1) !important; // outline-gray-300
482
+ background: transparent !important;
483
+ color: @text-color-inverse !important;
484
+ border-radius: 8px !important; // rounded-lg
485
+ font-size: 16px !important; // text-base
486
+ font-weight: 600 !important; // font-semibold
487
+ display: flex !important;
488
+ align-items: center !important;
489
+ justify-content: center !important;
490
+ gap: 8px !important; // gap-2
491
+ cursor: pointer !important;
492
+ transition: all 0.3s ease !important;
493
+ padding: 12px 20px !important; // px-5 py-3
494
+ white-space: nowrap !important; // 防止文字换行
495
+ height: auto !important;
496
+ box-sizing: border-box !important;
497
+ font-family: 'Inter', sans-serif !important;
498
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
499
+ pointer-events: auto !important; // 确保按钮可以接收点击事件
201
500
 
202
501
  .payment-result-toast-action-icon {
203
- font-size: 44px;
502
+ font-size: 20px;
204
503
  }
205
504
 
206
505
  // 重试按钮特殊样式
@@ -243,28 +542,31 @@
243
542
  }
244
543
 
245
544
  &-more-button {
246
- flex: 0 0 auto !important; // 更多按钮保持固定宽度,不跟随等比例分配
247
- width: 60px !important;
248
- height: 44px !important; // 与其他按钮保持一致的高度
249
- border: 1px solid @text-color-inverse;
250
- background: transparent;
251
- color: @text-color-inverse;
252
- border-radius: @border-radius-base;
253
- font-size: 20px;
254
- display: flex;
255
- align-items: center;
256
- justify-content: center;
257
- cursor: pointer;
258
- transition: all 0.3s ease;
545
+ flex: 0 0 auto !important; // 更多按钮保持固定宽度
546
+ width: auto !important;
547
+ height: auto !important;
548
+ border: 1px solid rgba(209, 213, 219, 1) !important; // outline-gray-300
549
+ background: transparent !important;
550
+ color: @text-color-inverse !important;
551
+ border-radius: 8px !important; // rounded-lg
552
+ font-size: 20px !important;
553
+ display: flex !important;
554
+ align-items: center !important;
555
+ justify-content: center !important;
556
+ cursor: pointer !important;
557
+ transition: all 0.3s ease !important;
558
+ padding: 14px !important; // p-3.5
559
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
560
+ pointer-events: auto !important; // 确保更多按钮可以接收点击事件
259
561
 
260
562
  &:hover {
261
- background: rgba(255, 255, 255, 0.1);
262
- transform: translateY(-2px);
263
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
563
+ background: rgba(255, 255, 255, 0.1) !important;
564
+ transform: translateY(-2px) !important;
565
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
264
566
  }
265
567
 
266
568
  &:active {
267
- transform: translateY(0);
569
+ transform: translateY(0) !important;
268
570
  }
269
571
  }
270
572
  }
@@ -292,9 +594,75 @@
292
594
  }
293
595
  }
294
596
 
597
+ // 新Toast从底部滑入动画
598
+ @keyframes toast-slide-up {
599
+ 0% {
600
+ opacity: 0;
601
+ transform: translateY(100%) scale(0.95);
602
+ }
603
+
604
+ 60% {
605
+ opacity: 0.8;
606
+ transform: translateY(-10%) scale(0.98);
607
+ }
608
+
609
+ 100% {
610
+ opacity: 1;
611
+ transform: translateY(0) scale(1);
612
+ }
613
+ }
614
+
615
+ // Toast滑出动画
616
+ @keyframes toast-slide-out {
617
+ from {
618
+ opacity: 1;
619
+ transform: translateX(0) scale(1);
620
+ }
621
+
622
+ to {
623
+ opacity: 0;
624
+ transform: translateX(-100%) scale(0.9);
625
+ }
626
+ }
627
+
628
+ // Toast位移动画(平滑向上移动)
629
+ @keyframes toast-position-change {
630
+ from {
631
+ transform: translateY(0);
632
+ }
633
+
634
+ to {
635
+ transform: translateY(0); // 由JavaScript控制实际位置
636
+ }
637
+ }
638
+
639
+ // 缓动效果(用于位移动画)
640
+ @keyframes toast-ease-move {
641
+ 0% {
642
+ transform: translateY(0);
643
+ animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
644
+ }
645
+
646
+ 100% {
647
+ transform: translateY(0);
648
+ }
649
+ }
650
+
295
651
  // 响应式设计
296
652
  @media (max-width: 768px) {
653
+
654
+ // Toast容器移动端样式
655
+ [data-toast-id] {
656
+ left: 96px !important;
657
+ bottom: 110px !important;
658
+ right: 16px !important;
659
+ width: auto !important;
660
+ }
661
+
297
662
  .payment-result-toast {
663
+ max-width: none !important;
664
+ min-width: auto !important; // 移动端也移除最小宽度限制
665
+
298
666
  &-content {
299
667
  padding: 32px 24px 80px; // 为底部进度条预留空间
300
668
  min-height: 280px;
@@ -14,7 +14,7 @@ export interface ActionButtonProps {
14
14
  /** 操作按钮组列表,支持多行按钮组 */
15
15
  export declare type ActionButtonGroupList = ActionButtonProps[][];
16
16
  /** 状态样式类型 */
17
- export declare type StatusClassName = 'success' | 'failed' | 'wallet-pass-failed';
17
+ export declare type StatusClassName = 'success' | 'failed' | 'wallet-pass-failed' | 'partially-paid';
18
18
  export interface PaymentResultToastProps {
19
19
  /** 是否可见 */
20
20
  visible?: boolean;
@@ -22,8 +22,8 @@ export interface PaymentResultToastProps {
22
22
  onClose?: () => void;
23
23
  /** 状态样式类名,用于控制样式主题 */
24
24
  statusClassName?: StatusClassName;
25
- /** 标题文本(已计算好的显示文本) */
26
- title: string;
25
+ /** 标题文本(已计算好的显示文本)- 已不再显示 */
26
+ title?: string;
27
27
  /** 副标题内容(已计算好的金额显示内容,支持自定义样式) */
28
28
  subtitle?: React.ReactNode;
29
29
  /** 找零信息文本(已计算好的找零显示文本) */
@@ -16,3 +16,29 @@ export declare const getDefaultModalConfig: () => {
16
16
  closable: boolean;
17
17
  zIndex: number;
18
18
  };
19
+ /**
20
+ * 一键关闭当前页面上所有的 PaymentResultToast
21
+ * 这个函数是对现有 clearAllPaymentResultToasts 函数的封装,
22
+ * 提供了更友好的 API 和额外的配置选项
23
+ *
24
+ * 使用方法:
25
+ * - closeAllPaymentResultToasts() // 带动画关闭
26
+ * - closeAllPaymentResultToasts({ immediate: true }) // 立即关闭
27
+ *
28
+ * @param options 配置选项
29
+ * @param options.immediate 是否立即关闭(跳过退出动画),默认 false
30
+ * @returns Promise<void> 返回 Promise,在所有 Toast 关闭完成后 resolve
31
+ */
32
+ export declare const closeAllPaymentResultToasts: (options?: {
33
+ immediate?: boolean;
34
+ }) => Promise<void>;
35
+ /**
36
+ * 获取当前页面上 PaymentResultToast 的数量
37
+ * @returns number 当前显示的 Toast 数量
38
+ */
39
+ export declare const getToastCount: () => number;
40
+ /**
41
+ * 检查当前页面是否有正在显示的 PaymentResultToast
42
+ * @returns boolean 是否有 Toast 正在显示
43
+ */
44
+ export declare const hasActivePaymentResultToasts: () => boolean;