@pisell/private-materials 6.4.42 → 6.5.2

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 (422) 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 +13 -13
  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/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  15. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  17. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  18. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  19. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  20. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  21. package/es/components/booking/components/actionButtons/index.js +8 -4
  22. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  23. package/es/components/booking/components/customiseItemModal/index.js +2 -2
  24. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  25. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  26. package/es/components/booking/components/footer/index.js +42 -48
  27. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  28. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  29. package/es/components/booking/components/voucher/index.js +4 -18
  30. package/es/components/booking/forms/footer.d.ts +1 -0
  31. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  32. package/es/components/booking/forms/single/index.d.ts +1 -0
  33. package/es/components/booking/forms/table/index.d.ts +1 -0
  34. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  35. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  36. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  37. package/es/components/booking/info/date/index.d.ts +1 -0
  38. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  39. package/es/components/booking/info/notes/index.d.ts +1 -0
  40. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  41. package/es/components/booking/info/service/like/index.d.ts +1 -0
  42. package/es/components/booking/info2/cartClientCard/index.js +20 -33
  43. package/es/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  44. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  45. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  46. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  47. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  48. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  49. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  50. package/es/components/checkout/PaymentModal.js +443 -723
  51. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  52. package/es/components/checkout/components/AdditionalModule/index.js +49 -80
  53. package/es/components/checkout/components/AdditionalModule/index.less +34 -33
  54. package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -3
  55. package/es/components/checkout/components/AdditionalModule/locales.js +4 -7
  56. package/es/components/checkout/components/AmountSummary/index.d.ts +1 -2
  57. package/es/components/checkout/components/AmountSummary/index.js +31 -69
  58. package/es/components/checkout/components/AmountSummary/index.less +9 -27
  59. package/es/components/checkout/components/CashPaymentModule/index.less +2 -0
  60. package/es/components/checkout/components/PaymentDetailModal/index.js +10 -55
  61. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +1 -2
  62. package/es/components/checkout/components/PaymentOptionsModule/index.js +25 -40
  63. package/es/components/checkout/components/PaymentOptionsModule/index.less +6 -11
  64. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +9 -42
  65. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +82 -512
  66. package/es/components/checkout/components/PaymentResultToast/index.d.ts +1 -2
  67. package/es/components/checkout/components/PaymentResultToast/index.js +35 -90
  68. package/es/components/checkout/components/PaymentResultToast/index.less +77 -445
  69. package/es/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  70. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -26
  71. package/es/components/checkout/components/PaymentResultToast/utils.js +2 -81
  72. package/es/components/checkout/components/ScrollableList/index.js +1 -0
  73. package/es/components/checkout/components/SearchAndClientModule/index.js +16 -17
  74. package/es/components/checkout/components/SearchAndClientModule/index.less +8 -29
  75. package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +1 -3
  76. package/es/components/checkout/components/WalletPassModule/index.less +3 -3
  77. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  78. package/es/components/checkout/hooks/useWalletPass.js +1 -1
  79. package/es/components/checkout/index.d.ts +1 -1
  80. package/es/components/checkout/index.js +1 -1
  81. package/es/components/checkout/index.less +38 -56
  82. package/es/components/checkout/locales.d.ts +0 -6
  83. package/es/components/checkout/locales.js +3 -9
  84. package/es/components/checkout/payment-modal-utils.js +5 -5
  85. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  86. package/es/components/checkout/utils/PaymentResultToastUtils.js +72 -111
  87. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  88. package/es/components/eftpos/form/index.d.ts +1 -0
  89. package/es/components/eftpos/group/index.d.ts +1 -0
  90. package/es/components/eftpos/hooks.d.ts +1 -0
  91. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  92. package/es/components/eftpos/icon/device.d.ts +1 -0
  93. package/es/components/eftpos/index.d.ts +1 -0
  94. package/es/components/eftpos/pos.d.ts +1 -0
  95. package/es/components/eftpos/receipt/index.d.ts +1 -0
  96. package/es/components/eftposPay/amount.d.ts +1 -0
  97. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  98. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  99. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  100. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  101. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  102. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  103. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  104. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  105. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  106. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  107. package/es/components/eftposPay/pay.d.ts +1 -0
  108. package/es/components/eftposPay/payo/config.d.ts +1 -0
  109. package/es/components/eftposPay/tip.d.ts +1 -0
  110. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  111. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  112. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  113. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  114. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  115. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  116. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  117. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  118. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  119. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  120. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  121. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  122. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  123. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  124. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  125. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  126. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  127. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  128. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  129. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  130. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  131. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  132. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  133. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  134. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  135. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  136. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  137. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  138. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  139. package/es/components/login/index.d.ts +1 -0
  140. package/es/components/pay/toB/components/EFTPOS/index.js +58 -91
  141. package/es/components/pay/toB/components/MX51/index.js +44 -14
  142. package/es/components/pay/toB/types/index.d.ts +12 -0
  143. package/es/components/pay/toB/types/index.js +4 -0
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  145. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  146. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  147. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  148. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  149. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  150. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  151. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  152. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  153. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  154. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  155. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  156. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  157. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  158. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  159. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  160. package/es/components/schedules/calendar/index.d.ts +1 -0
  161. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  162. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  163. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  164. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  165. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  166. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  167. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  168. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  169. package/es/components/schedules/products/index.d.ts +1 -0
  170. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  171. package/es/components/schedules/products/list/index.d.ts +1 -0
  172. package/es/components/schedules/resources/index.d.ts +1 -0
  173. package/es/components/schedules/resources/list/index.d.ts +1 -0
  174. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  175. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  176. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  177. package/es/components/schedules/schedules/index.d.ts +1 -0
  178. package/es/components/schedules/utils.d.ts +1 -1
  179. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  180. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  181. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  182. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  183. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  184. package/es/components/shoppingCart/index.d.ts +1 -0
  185. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  186. package/es/components/ticketBooking/components/addServiceVariant/addService.js +13 -6
  187. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  188. package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -2
  189. package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -1
  190. package/es/components/ticketBooking/components/menuBar/index.js +1 -1
  191. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -1
  192. package/es/components/ticketBooking/components/ticketBooking/index.js +5 -4
  193. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +7 -7
  194. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +1 -1
  195. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +1 -1
  196. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +2 -4
  197. package/es/components/ticketBooking/index.d.ts +1 -0
  198. package/es/components/ticketBooking/index.js +5 -2
  199. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  200. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  201. package/es/hooks/printer.d.ts +4 -0
  202. package/es/hooks/printer.js +35 -0
  203. package/es/hooks/usePaymentLogger.d.ts +1 -0
  204. package/es/plus/clientCard/index.js +2 -3
  205. package/es/plus/clientCard/index.less +32 -3
  206. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  207. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  208. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  209. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  210. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  211. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  212. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  213. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  214. package/es/pro/comprehensiveSearch/components/searchSection/index.js +12 -9
  215. package/es/pro/comprehensiveSearch/components/searchSection/index.less +19 -22
  216. package/es/utils/index.d.ts +1 -1
  217. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  218. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  219. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  220. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  221. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  222. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  223. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  224. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  225. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  226. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  227. package/lib/components/booking/components/actionButtons/index.js +5 -4
  228. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  229. package/lib/components/booking/components/customiseItemModal/index.js +2 -2
  230. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  231. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  232. package/lib/components/booking/components/footer/index.js +0 -3
  233. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  234. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  235. package/lib/components/booking/components/voucher/index.js +3 -15
  236. package/lib/components/booking/forms/footer.d.ts +1 -0
  237. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  238. package/lib/components/booking/forms/single/index.d.ts +1 -0
  239. package/lib/components/booking/forms/table/index.d.ts +1 -0
  240. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  241. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  242. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  243. package/lib/components/booking/info/date/index.d.ts +1 -0
  244. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  245. package/lib/components/booking/info/notes/index.d.ts +1 -0
  246. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  247. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  248. package/lib/components/booking/info2/cartClientCard/index.js +5 -16
  249. package/lib/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  250. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  251. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  252. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  253. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  254. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  255. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  256. package/lib/components/checkout/PaymentModal.js +120 -247
  257. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  258. package/lib/components/checkout/components/AdditionalModule/index.js +34 -98
  259. package/lib/components/checkout/components/AdditionalModule/index.less +34 -33
  260. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -3
  261. package/lib/components/checkout/components/AdditionalModule/locales.js +4 -7
  262. package/lib/components/checkout/components/AmountSummary/index.d.ts +1 -2
  263. package/lib/components/checkout/components/AmountSummary/index.js +47 -103
  264. package/lib/components/checkout/components/AmountSummary/index.less +9 -27
  265. package/lib/components/checkout/components/CashPaymentModule/index.less +2 -0
  266. package/lib/components/checkout/components/PaymentDetailModal/index.js +11 -56
  267. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +1 -2
  268. package/lib/components/checkout/components/PaymentOptionsModule/index.js +8 -11
  269. package/lib/components/checkout/components/PaymentOptionsModule/index.less +6 -11
  270. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +9 -42
  271. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +73 -279
  272. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +1 -2
  273. package/lib/components/checkout/components/PaymentResultToast/index.js +22 -69
  274. package/lib/components/checkout/components/PaymentResultToast/index.less +77 -445
  275. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  276. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -26
  277. package/lib/components/checkout/components/PaymentResultToast/utils.js +4 -58
  278. package/lib/components/checkout/components/ScrollableList/index.js +1 -0
  279. package/lib/components/checkout/components/SearchAndClientModule/index.js +15 -17
  280. package/lib/components/checkout/components/SearchAndClientModule/index.less +8 -29
  281. package/lib/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +2 -12
  282. package/lib/components/checkout/components/WalletPassModule/index.less +3 -3
  283. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  284. package/lib/components/checkout/hooks/useWalletPass.js +2 -2
  285. package/lib/components/checkout/index.d.ts +1 -1
  286. package/lib/components/checkout/index.js +0 -2
  287. package/lib/components/checkout/index.less +38 -56
  288. package/lib/components/checkout/locales.d.ts +0 -6
  289. package/lib/components/checkout/locales.js +3 -9
  290. package/lib/components/checkout/payment-modal-utils.js +5 -5
  291. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  292. package/lib/components/checkout/utils/PaymentResultToastUtils.js +18 -26
  293. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  294. package/lib/components/eftpos/form/index.d.ts +1 -0
  295. package/lib/components/eftpos/group/index.d.ts +1 -0
  296. package/lib/components/eftpos/hooks.d.ts +1 -0
  297. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  298. package/lib/components/eftpos/icon/device.d.ts +1 -0
  299. package/lib/components/eftpos/index.d.ts +1 -0
  300. package/lib/components/eftpos/pos.d.ts +1 -0
  301. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  302. package/lib/components/eftposPay/amount.d.ts +1 -0
  303. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  304. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  305. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  306. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  307. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  308. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  309. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  310. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  311. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  312. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  313. package/lib/components/eftposPay/pay.d.ts +1 -0
  314. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  315. package/lib/components/eftposPay/tip.d.ts +1 -0
  316. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  317. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  318. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  319. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  320. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  321. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  322. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  323. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  324. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  325. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  326. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  327. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  328. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  329. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  330. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  331. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  332. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  333. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  334. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  335. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  336. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  337. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  338. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  339. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  340. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  341. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  342. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  343. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  344. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  345. package/lib/components/login/index.d.ts +1 -0
  346. package/lib/components/pay/toB/components/EFTPOS/index.js +10 -25
  347. package/lib/components/pay/toB/components/MX51/index.js +37 -12
  348. package/lib/components/pay/toB/types/index.d.ts +12 -0
  349. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  350. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  351. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  352. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  353. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  354. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  355. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  356. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  357. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  358. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  359. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  360. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  361. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  362. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  363. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  364. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  365. package/lib/components/schedules/calendar/index.d.ts +1 -0
  366. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  367. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  368. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  369. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  370. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  371. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  372. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  373. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  374. package/lib/components/schedules/products/index.d.ts +1 -0
  375. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  376. package/lib/components/schedules/products/list/index.d.ts +1 -0
  377. package/lib/components/schedules/resources/index.d.ts +1 -0
  378. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  379. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  380. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  381. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  382. package/lib/components/schedules/schedules/index.d.ts +1 -0
  383. package/lib/components/schedules/utils.d.ts +1 -1
  384. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  385. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  386. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  387. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  388. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  389. package/lib/components/shoppingCart/index.d.ts +1 -0
  390. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  391. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +15 -9
  392. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  393. package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -2
  394. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -2
  395. package/lib/components/ticketBooking/components/menuBar/index.js +1 -1
  396. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -1
  397. package/lib/components/ticketBooking/components/ticketBooking/index.js +12 -12
  398. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +7 -7
  399. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +12 -2
  400. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +12 -2
  401. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +13 -5
  402. package/lib/components/ticketBooking/index.d.ts +1 -0
  403. package/lib/components/ticketBooking/index.js +2 -2
  404. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  405. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  406. package/lib/hooks/printer.d.ts +4 -0
  407. package/lib/hooks/printer.js +60 -0
  408. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  409. package/lib/plus/clientCard/index.js +4 -5
  410. package/lib/plus/clientCard/index.less +32 -3
  411. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  412. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  413. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  414. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  415. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  416. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  417. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  418. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  419. package/lib/pro/comprehensiveSearch/components/searchSection/index.js +18 -6
  420. package/lib/pro/comprehensiveSearch/components/searchSection/index.less +19 -22
  421. package/lib/utils/index.d.ts +1 -1
  422. package/package.json +12 -12
@@ -1,254 +1,39 @@
1
- @primary-color: rgba(52, 64, 84, 0.8); // 毛玻璃效果的背景色
1
+ @primary-color: rgba(16, 24, 40, 0.90); // 与图片一致的深蓝灰背景
2
2
  @success-color: #47CD89; // 与图片一致的成功文字颜色
3
- @progress-color: #079455; // 与DOM样式一致的进度条颜色
4
- @warning-color: #F79009; // 与DOM样式一致的部分支付颜色
3
+ @progress-color: #079455; // 与图片一致的进度条颜色
4
+ @warning-color: #F79009; // 与图片一致的找零金额颜色
5
5
  @error-color: #F97066; // 失败状态的红色
6
6
  @paid-color: #47CD89; // 已支付金额的绿色(与成功颜色一致)
7
7
  @text-color-inverse: #ffffff;
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
- }
8
+ @border-radius-base: 10px; // 与图片一致的圆角
146
9
 
147
10
 
148
11
 
149
12
  .payment-result-toast {
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
- }
13
+ width: 680px !important;
216
14
 
217
15
  .pisell-lowcode-space-item {
218
- pointer-events: auto !important; // 确保按钮组项目可以接收点击事件
219
-
220
16
  .pisell-lowcode-dropdown-trigger {
221
- width: 56px !important; // 调整为xl尺寸
222
- height: 56px !important;
223
- box-sizing: border-box !important;
224
- pointer-events: auto !important; // 确保下拉按钮可以接收点击事件
225
-
17
+ width: 44px !important;
18
+ height: 44px !important;
19
+ box-sizing: content-box !important;
226
20
  .payment-result-toast-action-icon {
227
- font-size: 20px;
21
+ font-size: 44px;
228
22
  }
229
23
  }
230
24
  }
231
25
 
232
- .pisell-lowcode-modal-content,
233
- .ant-modal-content {
234
- background: transparent !important; // 让content区域处理背景
26
+ .pisell-lowcode-modal-content {
27
+ background: @primary-color !important;
235
28
  border-radius: @border-radius-base !important;
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 {
29
+ padding: 0 !important;
30
+ overflow: hidden !important;
31
+ width: 680px !important;
32
+
33
+ .pisell-lowcode-modal-header {
245
34
  display: none !important;
246
35
  }
247
36
 
248
- // 添加关闭按钮样式
249
- .pisell-lowcode-modal-close,
250
-
251
-
252
37
  .pisell-lowcode-dropdown-trigger {
253
38
  flex: 0 0 auto !important; // 更多按钮保持固定宽度,不跟随等比例分配
254
39
  width: 60px !important; // 明确设置更多按钮的固定宽度
@@ -267,7 +52,6 @@
267
52
  padding: 8px !important;
268
53
  white-space: nowrap !important; // 防止文字换行
269
54
  height: 44px !important; // 与其他按钮保持一致的高度
270
- pointer-events: auto !important; // 确保下拉按钮可以接收点击事件
271
55
 
272
56
  .anticon-more {
273
57
  font-size: 44px;
@@ -275,134 +59,60 @@
275
59
  }
276
60
  }
277
61
 
278
- .pisell-lowcode-modal-body,
279
- .ant-modal-body {
62
+ .pisell-lowcode-modal-body {
280
63
  padding: 0;
281
- background: transparent !important; // 让内容容器的背景透明,使用content的背景
282
- pointer-events: none !important; // 让Modal body点击穿透
64
+ background: @primary-color;
283
65
  }
284
66
 
285
67
  &-content {
286
- padding: 16px !important; // 添加内边距
68
+ padding: 48px 32px 32px;
287
69
  text-align: center;
288
- min-height: auto;
70
+ min-height: 300px;
289
71
  display: flex;
290
72
  flex-direction: column;
291
- justify-content: center;
73
+ justify-content: space-between;
292
74
  align-items: center;
293
75
  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;
308
76
 
309
77
  .pisell-lowcode-flex-vertical {
310
78
  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
- }
362
79
  }
363
80
  }
364
81
 
365
82
  // 成功状态标题
366
83
  &-success-title {
367
84
  color: @success-color;
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;
85
+ font-size: 20px; // 与图片一致
86
+ font-weight: 600;
87
+ line-height: 30px; // 与图片一致
88
+ margin: 0;
372
89
  }
373
90
 
374
91
  // 失败状态标题
375
92
  &-failed-title {
376
93
  color: @error-color;
377
- font-size: 30px !important;
378
- font-weight: 600 !important;
379
- margin: 0 !important;
380
- font-family: 'Inter', sans-serif !important;
94
+ font-size: 20px;
95
+ font-weight: 600;
96
+ line-height: 30px;
97
+ margin: 0;
381
98
  }
382
99
 
383
100
  // Wallet Pass失败状态标题
384
101
  &-wallet-pass-failed-title {
385
102
  color: @error-color;
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;
103
+ font-size: 20px;
104
+ font-weight: 600;
105
+ line-height: 30px;
106
+ margin: 0;
399
107
  }
400
108
 
401
109
  // 副标题样式
402
110
  &-subtitle {
403
111
  &-text {
404
- font-size: 30px; // 与图片一致
112
+ font-size: 36px; // 与图片一致
405
113
  font-weight: 600; // 与图片一致
114
+ line-height: 44px; // 与图片一致
115
+ margin: 16px 0 0;
406
116
  text-shadow: none; // 移除阴影
407
117
 
408
118
  // 已支付金额样式 (成功-无找零)
@@ -422,7 +132,7 @@
422
132
 
423
133
  // 部分支付金额样式
424
134
  &.partially-paid {
425
- color: @warning-color !important;
135
+ color: @warning-color;
426
136
  }
427
137
  }
428
138
  }
@@ -432,7 +142,6 @@
432
142
  bottom: 0;
433
143
  left: 0;
434
144
  right: 0;
435
- width: 100%; // 使用100%宽度
436
145
 
437
146
  &-text {
438
147
  display: none; // 图片中没有显示倒计时文字
@@ -440,18 +149,15 @@
440
149
 
441
150
  &-progress {
442
151
  width: 100%;
443
- height: 6px; // h-1.5对应6px
152
+ height: 8px;
444
153
  background: transparent;
445
- position: absolute;
446
- bottom: 0;
447
- left: 0;
448
- right: 0;
154
+ position: relative;
449
155
  border-radius: 0; // 确保无圆角
450
156
  overflow: hidden;
451
157
 
452
158
  &-bar {
453
159
  height: 100%;
454
- background: @progress-color !important; // emerald-600颜色
160
+ background: @progress-color; // 使用与图片一致的深绿色
455
161
  position: relative;
456
162
  border-radius: 0; // 确保无圆角
457
163
  width: 100%; // 初始宽度为100%
@@ -468,38 +174,33 @@
468
174
  &-actions {
469
175
  display: flex;
470
176
  gap: 16px;
471
- margin-top: 0; // 去除上边距
177
+ margin-top: 24px;
472
178
  width: 100%;
473
- max-width: none; // 去除最大宽度限制
179
+ max-width: 500px; // 增加最大宽度以适应自适应按钮
474
180
  justify-content: center; // 按钮居中对齐
475
- align-items: center;
476
- pointer-events: auto !important; // 按钮区域可以接收点击事件
477
181
  }
478
182
 
479
183
  &-action-button {
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; // 确保按钮可以接收点击事件
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;
500
201
 
501
202
  .payment-result-toast-action-icon {
502
- font-size: 20px;
203
+ font-size: 44px;
503
204
  }
504
205
 
505
206
  // 重试按钮特殊样式
@@ -542,31 +243,28 @@
542
243
  }
543
244
 
544
245
  &-more-button {
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; // 确保更多按钮可以接收点击事件
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;
561
259
 
562
260
  &:hover {
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;
261
+ background: rgba(255, 255, 255, 0.1);
262
+ transform: translateY(-2px);
263
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
566
264
  }
567
265
 
568
266
  &:active {
569
- transform: translateY(0) !important;
267
+ transform: translateY(0);
570
268
  }
571
269
  }
572
270
  }
@@ -594,75 +292,9 @@
594
292
  }
595
293
  }
596
294
 
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
-
651
295
  // 响应式设计
652
296
  @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
-
662
297
  .payment-result-toast {
663
- max-width: none !important;
664
- min-width: auto !important; // 移动端也移除最小宽度限制
665
-
666
298
  &-content {
667
299
  padding: 32px 24px 80px; // 为底部进度条预留空间
668
300
  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' | 'partially-paid';
17
+ export declare type StatusClassName = 'success' | 'failed' | 'wallet-pass-failed';
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,29 +16,3 @@ 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;