@pisell/private-materials 6.5.2 → 6.5.4

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 (289) 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 +150 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  15. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/index.d.ts +1 -0
  17. package/es/components/booking/components/actionButtons/index.js +2 -2
  18. package/es/components/booking/components/customiseItemModal/index.js +2 -2
  19. package/es/components/booking/components/footer/index.d.ts +1 -0
  20. package/es/components/booking/components/footer/index.js +48 -42
  21. package/es/components/booking/components/voucher/index.d.ts +1 -0
  22. package/es/components/booking/components/voucher/index.js +18 -4
  23. package/es/components/booking/deposit/index.d.ts +1 -0
  24. package/es/components/booking/hooks/useQuotation.d.ts +1 -0
  25. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  26. package/es/components/booking/info/header/index.d.ts +1 -0
  27. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  28. package/es/components/booking/info/index.d.ts +1 -0
  29. package/es/components/booking/info/service/Lists.d.ts +1 -0
  30. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  31. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  32. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  33. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  34. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  35. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  36. package/es/components/booking/info/service2/utils.d.ts +1 -1
  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/serviceItem/index.d.ts +1 -0
  41. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  42. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  43. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  44. package/es/components/booking/utils.d.ts +2 -2
  45. package/es/components/checkout/PaymentModal.js +719 -432
  46. package/es/components/checkout/PaymentPlugin.d.ts +1 -0
  47. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  48. package/es/components/checkout/components/AdditionalModule/index.js +80 -49
  49. package/es/components/checkout/components/AdditionalModule/index.less +33 -34
  50. package/es/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  51. package/es/components/checkout/components/AdditionalModule/locales.js +7 -4
  52. package/es/components/checkout/components/AmountSummary/index.d.ts +2 -1
  53. package/es/components/checkout/components/AmountSummary/index.js +69 -31
  54. package/es/components/checkout/components/AmountSummary/index.less +27 -9
  55. package/es/components/checkout/components/CashPaymentModule/index.js +8 -1
  56. package/es/components/checkout/components/CashPaymentModule/index.less +0 -2
  57. package/es/components/checkout/components/PaymentDetailModal/index.js +55 -10
  58. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  59. package/es/components/checkout/components/PaymentOptionsModule/index.js +40 -25
  60. package/es/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  61. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  62. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +512 -82
  63. package/es/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  64. package/es/components/checkout/components/PaymentResultToast/index.js +90 -35
  65. package/es/components/checkout/components/PaymentResultToast/index.less +445 -77
  66. package/es/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  67. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  68. package/es/components/checkout/components/PaymentResultToast/utils.js +81 -2
  69. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  70. package/es/components/checkout/components/SearchAndClientModule/index.js +17 -16
  71. package/es/components/checkout/components/SearchAndClientModule/index.less +29 -8
  72. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
  73. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
  74. package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +3 -1
  75. package/es/components/checkout/components/WalletPassModule/index.less +3 -3
  76. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  77. package/es/components/checkout/hooks/useWalletPass.js +1 -1
  78. package/es/components/checkout/index.d.ts +1 -1
  79. package/es/components/checkout/index.js +1 -1
  80. package/es/components/checkout/index.less +56 -38
  81. package/es/components/checkout/locales.d.ts +6 -0
  82. package/es/components/checkout/locales.js +9 -3
  83. package/es/components/checkout/payment-modal-utils.js +5 -5
  84. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  85. package/es/components/checkout/utils/PaymentResultToastUtils.js +111 -72
  86. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  87. package/es/components/eftposPay/amount.d.ts +1 -1
  88. package/es/components/eftposPay/app.d.ts +1 -0
  89. package/es/components/eftposPay/device.d.ts +1 -1
  90. package/es/components/eftposPay/hooks.d.ts +2 -2
  91. package/es/components/eftposPay/index.d.ts +1 -0
  92. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  93. package/es/components/eftposPay/store/index.d.ts +6 -6
  94. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  95. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  96. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  97. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  98. package/es/components/eventBooking/index.d.ts +1 -0
  99. package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
  100. package/es/components/pay/toB/components/Card/index.d.ts +1 -0
  101. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  102. package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
  103. package/es/components/pay/toB/components/Content/Footer.d.ts +1 -0
  104. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  105. package/es/components/pay/toB/components/EFTPOS/index.js +91 -58
  106. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  107. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  108. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  109. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  110. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  111. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  112. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  113. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  114. package/es/components/productExtension/index.d.ts +1 -0
  115. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  116. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  117. package/es/components/ruleSetting/index.d.ts +1 -0
  118. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  119. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  120. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  121. package/es/components/schedules/utils.d.ts +1 -1
  122. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  123. package/es/components/taxSelect/index.d.ts +1 -0
  124. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  125. package/es/components/ticketBooking/components/addServiceVariant/addService.js +4 -3
  126. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  127. package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -1
  128. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  129. package/es/components/ticketBooking/components/menuBar/index.js +1 -1
  130. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  131. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  132. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  133. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +1 -1
  134. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +1 -1
  135. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +4 -2
  136. package/es/components/ticketBooking/index.d.ts +1 -0
  137. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  138. package/es/plus/clientCard/index.js +3 -2
  139. package/es/plus/clientCard/index.less +3 -32
  140. package/es/plus/clientName/index.d.ts +1 -0
  141. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  142. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  143. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  144. package/es/plus/noteModal/AddTempModal.d.ts +1 -0
  145. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  146. package/es/pro/comprehensiveSearch/components/searchSection/index.js +9 -12
  147. package/es/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  148. package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  149. package/es/utils/index.d.ts +1 -1
  150. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  151. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  152. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  153. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  154. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  155. package/lib/components/appointmentBooking/index.d.ts +1 -0
  156. package/lib/components/booking/components/actionButtons/index.js +2 -1
  157. package/lib/components/booking/components/customiseItemModal/index.js +2 -2
  158. package/lib/components/booking/components/footer/index.d.ts +1 -0
  159. package/lib/components/booking/components/footer/index.js +3 -0
  160. package/lib/components/booking/components/voucher/index.d.ts +1 -0
  161. package/lib/components/booking/components/voucher/index.js +15 -3
  162. package/lib/components/booking/deposit/index.d.ts +1 -0
  163. package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
  164. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  165. package/lib/components/booking/info/header/index.d.ts +1 -0
  166. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  167. package/lib/components/booking/info/index.d.ts +1 -0
  168. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  169. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  170. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  171. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  172. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  173. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  174. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  175. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  176. package/lib/components/booking/info2/cartClientCard/index.js +16 -5
  177. package/lib/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  178. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  179. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  180. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  181. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  182. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  183. package/lib/components/booking/utils.d.ts +2 -2
  184. package/lib/components/checkout/PaymentModal.js +241 -109
  185. package/lib/components/checkout/PaymentPlugin.d.ts +1 -0
  186. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  187. package/lib/components/checkout/components/AdditionalModule/index.js +98 -34
  188. package/lib/components/checkout/components/AdditionalModule/index.less +33 -34
  189. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  190. package/lib/components/checkout/components/AdditionalModule/locales.js +7 -4
  191. package/lib/components/checkout/components/AmountSummary/index.d.ts +2 -1
  192. package/lib/components/checkout/components/AmountSummary/index.js +103 -47
  193. package/lib/components/checkout/components/AmountSummary/index.less +27 -9
  194. package/lib/components/checkout/components/CashPaymentModule/index.js +5 -1
  195. package/lib/components/checkout/components/CashPaymentModule/index.less +0 -2
  196. package/lib/components/checkout/components/PaymentDetailModal/index.js +56 -11
  197. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  198. package/lib/components/checkout/components/PaymentOptionsModule/index.js +11 -8
  199. package/lib/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  200. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  201. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +279 -73
  202. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  203. package/lib/components/checkout/components/PaymentResultToast/index.js +69 -22
  204. package/lib/components/checkout/components/PaymentResultToast/index.less +445 -77
  205. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  206. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  207. package/lib/components/checkout/components/PaymentResultToast/utils.js +58 -4
  208. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  209. package/lib/components/checkout/components/SearchAndClientModule/index.js +17 -15
  210. package/lib/components/checkout/components/SearchAndClientModule/index.less +29 -8
  211. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
  212. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
  213. package/lib/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +12 -2
  214. package/lib/components/checkout/components/WalletPassModule/index.less +3 -3
  215. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  216. package/lib/components/checkout/hooks/useWalletPass.js +2 -2
  217. package/lib/components/checkout/index.d.ts +1 -1
  218. package/lib/components/checkout/index.js +2 -0
  219. package/lib/components/checkout/index.less +56 -38
  220. package/lib/components/checkout/locales.d.ts +6 -0
  221. package/lib/components/checkout/locales.js +9 -3
  222. package/lib/components/checkout/payment-modal-utils.js +5 -5
  223. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  224. package/lib/components/checkout/utils/PaymentResultToastUtils.js +26 -18
  225. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  226. package/lib/components/eftposPay/amount.d.ts +1 -1
  227. package/lib/components/eftposPay/app.d.ts +1 -0
  228. package/lib/components/eftposPay/device.d.ts +1 -1
  229. package/lib/components/eftposPay/hooks.d.ts +2 -2
  230. package/lib/components/eftposPay/index.d.ts +1 -0
  231. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  232. package/lib/components/eftposPay/store/index.d.ts +6 -6
  233. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  234. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  235. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  236. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  237. package/lib/components/eventBooking/index.d.ts +1 -0
  238. package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
  239. package/lib/components/pay/toB/components/Card/index.d.ts +1 -0
  240. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  241. package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
  242. package/lib/components/pay/toB/components/Content/Footer.d.ts +1 -0
  243. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  244. package/lib/components/pay/toB/components/EFTPOS/index.js +25 -10
  245. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  246. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  247. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  248. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  249. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  250. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  251. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  252. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  253. package/lib/components/productExtension/index.d.ts +1 -0
  254. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  255. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  256. package/lib/components/ruleSetting/index.d.ts +1 -0
  257. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  258. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  259. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  260. package/lib/components/schedules/utils.d.ts +1 -1
  261. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  262. package/lib/components/taxSelect/index.d.ts +1 -0
  263. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  264. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -6
  265. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  266. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -2
  267. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  268. package/lib/components/ticketBooking/components/menuBar/index.js +1 -1
  269. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  270. package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -1
  271. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  272. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -12
  273. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -12
  274. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +5 -13
  275. package/lib/components/ticketBooking/index.d.ts +1 -0
  276. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  277. package/lib/plus/clientCard/index.js +5 -4
  278. package/lib/plus/clientCard/index.less +3 -32
  279. package/lib/plus/clientName/index.d.ts +1 -0
  280. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  281. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  282. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  283. package/lib/plus/noteModal/AddTempModal.d.ts +1 -0
  284. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  285. package/lib/pro/comprehensiveSearch/components/searchSection/index.js +6 -18
  286. package/lib/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  287. package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  288. package/lib/utils/index.d.ts +1 -1
  289. package/package.json +12 -12
@@ -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;