@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,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PopoverProps } from 'antd';
2
3
  import { CustomerCardProps } from './CustomerCard';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TabProduct: (props: any) => JSX.Element;
2
3
  export default TabProduct;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type BoolConfigVal = 0 | 1;
3
4
  export interface ProductCardConfig {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ScheduleItem } from '../../../type';
3
4
  declare type Item = any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
3
4
  export default AddSchedules;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Value = number[];
3
4
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductProps } from '../../type';
2
3
  declare const Product: (props: ProductProps) => JSX.Element;
3
4
  export default Product;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  import "./index.less";
3
4
  interface TaxSelectProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddServiceProps {
3
4
  onEdit?: any;
@@ -33,6 +33,7 @@ import NotAvailable from "../notAvailable";
33
33
  import dayjs from 'dayjs';
34
34
  import { useProducts } from "../../hooks/pisellos";
35
35
  import { createCacheItem, genValues, isBundle, isOption, setHandleSetService } from "./utils";
36
+ import { useToast } from '@pisell/materials';
36
37
  var productListLayout = {
37
38
  grid: true,
38
39
  config: '12:12'
@@ -46,7 +47,7 @@ var productListSetting = {
46
47
  isStock: 0
47
48
  };
48
49
  var AddSerivce = function AddSerivce(props) {
49
- var _context$appHelper, _context$appHelper2, _context$appHelper2$g, _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _state$bookingConfig2, _state$client2;
50
+ var _context$appHelper, _context$appHelper$ge, _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _state$bookingConfig2, _state$client2;
50
51
  var onEdit = props.onEdit,
51
52
  state = props.state,
52
53
  dispatch = props.dispatch,
@@ -57,7 +58,7 @@ var AddSerivce = function AddSerivce(props) {
57
58
  var notAvailableRef = useRef(null);
58
59
  var isLoadedServiceRef = useRef(false);
59
60
  request.setRequest(context.appHelper.utils.request);
60
- var Toast = (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.Toast;
61
+ var Toast = useToast();
61
62
  var _useService = useService({
62
63
  renderMode: renderMode,
63
64
  onEdit: onEdit,
@@ -66,7 +67,7 @@ var AddSerivce = function AddSerivce(props) {
66
67
  }),
67
68
  createBookingData = _useService.createBookingData,
68
69
  createBooking = _useService.createBooking;
69
- var isBooking4 = isBooking4Shop(((_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$g = _context$appHelper2.getData) === null || _context$appHelper2$g === void 0 ? void 0 : _context$appHelper2$g.call(_context$appHelper2, 'shop_id')) || ((_context$appHelper$ut = context.appHelper.utils.store) === null || _context$appHelper$ut === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut.getState) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.call(_context$appHelper$ut)) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.global) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.globalConfig) === null || _context$appHelper$ut2 === void 0 ? void 0 : _context$appHelper$ut2.id), state === null || state === void 0 ? void 0 : state.renderType, (_context$appHelper$ut3 = context.appHelper.utils) === null || _context$appHelper$ut3 === void 0 ? void 0 : _context$appHelper$ut3.businessUtils);
70
+ var isBooking4 = isBooking4Shop(((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper$ge = _context$appHelper.getData) === null || _context$appHelper$ge === void 0 ? void 0 : _context$appHelper$ge.call(_context$appHelper, 'shop_id')) || ((_context$appHelper$ut = context.appHelper.utils.store) === null || _context$appHelper$ut === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut.getState) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.call(_context$appHelper$ut)) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.global) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.globalConfig) === null || _context$appHelper$ut2 === void 0 ? void 0 : _context$appHelper$ut2.id), state === null || state === void 0 ? void 0 : state.renderType, (_context$appHelper$ut3 = context.appHelper.utils) === null || _context$appHelper$ut3 === void 0 ? void 0 : _context$appHelper$ut3.businessUtils);
70
71
  var _useState = useState(null),
71
72
  _useState2 = _slicedToArray(_useState, 2),
72
73
  currentProduct = _useState2[0],
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -4,7 +4,7 @@ import { locales } from '@pisell/utils';
4
4
  import { SyncOutlined } from '@ant-design/icons';
5
5
  import BookingDashboard from "./bookingDashboard";
6
6
  import BookingList from "./bookingList";
7
- import useToast from "../../../../hooks/useToast";
7
+ import { useToast } from '@pisell/materials';
8
8
  import "./index.less";
9
9
  var BookingDataPanel = /*#__PURE__*/forwardRef(function (props, ref) {
10
10
  var currentDate = props.currentDate,
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const index: () => JSX.Element;
3
4
  export default index;
@@ -15,7 +15,7 @@ var index = function index() {
15
15
  label: locales.getText('pisell2.ticket-booking.reload')
16
16
  }, {
17
17
  key: 'version',
18
- label: '6.4.13'
18
+ label: '6.4.38'
19
19
  }
20
20
  /*
21
21
  {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const _formatBookingDetail: (data: any, modalState: any) => any;
3
4
  interface TicketBookingProps {
@@ -25,7 +25,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
25
25
  import React, { useEffect, useMemo, useRef, useState } from 'react';
26
26
  import { locales } from '@pisell/utils';
27
27
  import { message } from 'antd';
28
- import { Iconfont, PisellModal } from '@pisell/materials';
28
+ import { Iconfont, PisellModal, useToast } from '@pisell/materials';
29
29
  import { getOrderInfoByCode, getBookingDetail, getEventBookingDetail, getBookingConfig, getServices } from "../../serve";
30
30
  import * as apis from "../../serve";
31
31
  import dayjs from 'dayjs';
@@ -233,12 +233,12 @@ var TicketBooking = function TicketBooking(props) {
233
233
  interaction = _engineContext$appHel.interaction,
234
234
  store = _engineContext$appHel.store,
235
235
  storage = _engineContext$appHel.storage,
236
- Toast = _engineContext$appHel.Toast,
237
236
  getSymbolic = _engineContext$appHel.getSymbolic,
238
237
  translation = _engineContext$appHel.translation,
239
238
  pisellosAllModule = _engineContext$appHel.pisellosAllModule,
240
239
  getData = _engineContext$appHel.getData;
241
240
  var ScheduleModule = pisellosAllModule.ScheduleModule;
241
+ var Toast = useToast();
242
242
  var _persistentRef = useRef(false);
243
243
  var _initStateRef = useRef({});
244
244
  var _listTimerRef = useRef();
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { Dayjs } from 'dayjs';
2
3
  import './index.less';
3
4
  interface ITimeBarProps {
@@ -2,7 +2,7 @@ import { useRef } from 'react';
2
2
  import { locales } from "@pisell/utils";
3
3
  import { useBookingTicket } from "./bookingTicket";
4
4
  import { formatScanCustomer } from "../../utils";
5
- import useToast from "../../../../hooks/useToast";
5
+ import { useToast } from '@pisell/materials';
6
6
  var useScanCustomer = function useScanCustomer() {
7
7
  var bookingTicket = useBookingTicket();
8
8
  var scanRef = useRef(null);
@@ -1,7 +1,7 @@
1
1
  import { useRef } from 'react';
2
2
  import { useBookingTicket } from "./bookingTicket";
3
3
  import { formatScanGlobal } from "../../utils";
4
- import useToast from "../../../../hooks/useToast";
4
+ import { useToast } from '@pisell/materials';
5
5
  import { locales } from '@pisell/utils';
6
6
  var useScanGlobal = function useScanGlobal() {
7
7
  var bookingTicket = useBookingTicket();
@@ -1,7 +1,7 @@
1
1
  import { locales } from "@pisell/utils";
2
2
  import { getHandleSetClient } from "../../../booking/info2/cartClientCard/utils";
3
3
  import { getHandleSetService } from "../../components/addServiceVariant/utils";
4
- import useToast from "../../../../hooks/useToast";
4
+ import { useToast } from '@pisell/materials';
5
5
  var useScanGlobalHandle = function useScanGlobalHandle() {
6
6
  var Toast = useToast();
7
7
  var walletHandle = function walletHandle(data) {
@@ -21,7 +21,9 @@ var useScanGlobalHandle = function useScanGlobalHandle() {
21
21
  return;
22
22
  }
23
23
  if (handleSetClient && data.data) {
24
- handleSetClient(data.data);
24
+ handleSetClient(data.data, {
25
+ fullData: data
26
+ });
25
27
  }
26
28
  };
27
29
  var productHandle = function productHandle(data) {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface TicketBookingProps {
3
4
  productExtensionType: string[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './../../index.less';
2
3
  declare const Search: () => JSX.Element;
3
4
  export default Search;
@@ -7,7 +7,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
7
7
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  import React, { useMemo } from 'react';
9
9
  import { Tag, Dropdown, Button } from 'antd';
10
- import { PisellAvatar, Iconfont } from '@pisell/materials';
10
+ import { PisellAvatar, Icon } from '@pisell/materials';
11
11
  import { PlusCircle, User01 } from '@pisell/icon';
12
12
  import classNames from 'classnames';
13
13
  import LineCard from "./line";
@@ -442,7 +442,8 @@ var ClientCard = function ClientCard(_ref) {
442
442
  }, _dropdownProps), /*#__PURE__*/React.createElement(Button, _extends({
443
443
  type: "text",
444
444
  className: "".concat(PREFIX, "__menu-button"),
445
- icon: /*#__PURE__*/React.createElement(Iconfont, {
445
+ size: "large",
446
+ icon: /*#__PURE__*/React.createElement(Icon, {
446
447
  type: 'pisell2-dots-vertical',
447
448
  className: "".concat(PREFIX, "__menu-button-icon")
448
449
  })
@@ -90,20 +90,19 @@
90
90
  flex-shrink: 0;
91
91
  }
92
92
 
93
- // 操作区域
94
93
  &__actions {
95
94
  display: flex;
96
95
  align-items: center;
97
96
  flex-shrink: 0;
98
97
  }
99
98
 
100
- // 菜单按钮样式
101
99
  &__menu-button {
102
100
  border: none;
103
101
  box-shadow: none;
104
102
  padding: 4px;
105
- width: 40px;
106
- height: 40px;
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: center;
107
106
 
108
107
  &:hover {
109
108
  background-color: rgba(0, 0, 0, 0.04);
@@ -265,25 +264,6 @@
265
264
  overflow: hidden;
266
265
  }
267
266
  }
268
-
269
- // 当标签过多时,使用渐变遮罩效果
270
- // position: relative;
271
-
272
- // &::after {
273
- // content: '';
274
- // position: absolute;
275
- // right: -5px;
276
- // top: 0;
277
- // bottom: 0;
278
- // width: 20px;
279
- // background: linear-gradient(
280
- // to right,
281
- // rgba(255, 255, 255, 0),
282
- // rgba(255, 255, 255, 1)
283
- // );
284
- // pointer-events: none;
285
- // z-index: 1;
286
- // }
287
267
  }
288
268
 
289
269
  &--separate {
@@ -320,15 +300,6 @@
320
300
  transition: all 0.2s ease;
321
301
  }
322
302
 
323
- &__action-btn {
324
- display: flex;
325
- padding: 0;
326
- justify-content: center;
327
- align-items: center;
328
- width: 40px;
329
- height: 40px;
330
- }
331
-
332
303
  // 操作菜单样式
333
304
  &__menu-button {
334
305
  &.ant-btn {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { IClientNameProps } from './type';
3
4
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTempModal: ({ open, onCancel, onConfirm, }: {
3
4
  open: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SCOProps } from './types';
2
3
  import './index.less';
3
4
  declare const SaasCreateOrganization: (props: SCOProps) => JSX.Element;
@@ -10,7 +10,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import React, { useMemo } from 'react';
12
12
  import { Button, Input } from 'antd';
13
- import { Iconfont } from '@pisell/materials';
13
+ import { Icon } from '@pisell/materials';
14
14
  import { locales } from '@pisell/utils';
15
15
  import { useControllableValue, useMemoizedFn } from 'ahooks';
16
16
  import classNames from 'classnames';
@@ -100,18 +100,18 @@ var SearchSection = function SearchSection(props) {
100
100
  var divider = null;
101
101
  if (idx > 0) {
102
102
  divider = /*#__PURE__*/React.createElement("span", {
103
- className: "comprehensive-search__search-camera-divider"
103
+ className: "comprehensive-search__camera-activator-icons-divider"
104
104
  });
105
105
  }
106
- return /*#__PURE__*/React.createElement(React.Fragment, null, divider, /*#__PURE__*/React.createElement(Iconfont, {
106
+ return /*#__PURE__*/React.createElement(React.Fragment, null, divider, /*#__PURE__*/React.createElement(Icon, {
107
107
  type: item,
108
- className: "comprehensive-search__search-camera"
108
+ className: "comprehensive-search__camera-activator-icon"
109
109
  }));
110
110
  });
111
111
  }
112
- return /*#__PURE__*/React.createElement(Iconfont, {
112
+ return /*#__PURE__*/React.createElement(Icon, {
113
113
  type: "pisell2-camera-01",
114
- className: "comprehensive-search__search-camera"
114
+ className: "comprehensive-search__camera-activator-icon"
115
115
  });
116
116
  };
117
117
  return /*#__PURE__*/React.createElement("div", {
@@ -120,7 +120,7 @@ var SearchSection = function SearchSection(props) {
120
120
  }, /*#__PURE__*/React.createElement("div", {
121
121
  className: "comprehensive-search__search-input-wrapper"
122
122
  }, isShowSearchCamera && /*#__PURE__*/React.createElement("div", {
123
- className: classNames('comprehensive-search__search-camera-wrapper', {
123
+ className: classNames('comprehensive-search__camera-activator', {
124
124
  disabled: !isTerminal
125
125
  }),
126
126
  onClick: handleCameraClick
@@ -128,11 +128,8 @@ var SearchSection = function SearchSection(props) {
128
128
  value: searchValue,
129
129
  onChange: handleInputChange,
130
130
  placeholder: placeholder || locales.getText('pisell2.comprehensive-search.placeholder'),
131
- prefix: /*#__PURE__*/React.createElement(Iconfont, {
132
- style: {
133
- fontSize: 24,
134
- color: '#5D3F9F'
135
- },
131
+ prefix: /*#__PURE__*/React.createElement(Icon, {
132
+ className: "comprehensive-search__prefix-icon",
136
133
  type: searchIcon
137
134
  }),
138
135
  onPressEnter: handleSearch,
@@ -22,7 +22,7 @@
22
22
 
23
23
  .comprehensive-search__search-input {
24
24
  height: 38px;
25
- padding: 0 16px;
25
+ padding: 0 12px;
26
26
  display: flex;
27
27
  align-items: center;
28
28
  border: none;
@@ -35,45 +35,48 @@
35
35
  box-shadow: none;
36
36
  }
37
37
 
38
- .ant-input-prefix {
39
- margin-right: 12px;
40
-
41
- .anticon,
42
- .iconfont {
43
- font-size: 24px;
44
- color: #5d3f9f;
45
- }
38
+ .comprehensive-search__prefix-icon {
39
+ font-size: 20px;
40
+ color: #667085;
46
41
  }
47
42
  }
48
43
 
49
- .comprehensive-search__search-camera-wrapper {
44
+ .comprehensive-search__camera-activator {
50
45
  display: flex;
51
46
  align-items: center;
52
47
  justify-content: center;
53
48
  padding: 8px !important;
54
49
  border-radius: 8px;
55
- border: 1px solid #7f56da;
56
- background: #5d3f9f;
50
+ border: 1px solid #e9d7fe;
51
+ background: #f9f5ff;
57
52
  width: 38px;
58
53
  height: 38px;
59
54
  cursor: pointer;
60
55
  gap: 8px;
61
56
 
62
- .comprehensive-search__search-camera-divider {
57
+ .comprehensive-search__camera-activator-icons-divider {
63
58
  display: inline-block;
64
59
  height: 20px;
65
- width: 1px;
66
- background-color: white;
60
+ width: 2px;
61
+ background-color: #b692f6;
62
+ }
63
+
64
+ .comprehensive-search__camera-activator-icon {
65
+ font-size: 24px;
66
+ color: #6941c6;
67
67
  }
68
68
 
69
69
  &.disabled {
70
70
  border: none;
71
71
  background-color: #d1d5dd;
72
- }
73
72
 
74
- .comprehensive-search__search-camera {
75
- font-size: 20px;
76
- color: #fff;
73
+ .comprehensive-search__camera-activator-icon {
74
+ color: white;
75
+ }
76
+
77
+ .comprehensive-search__camera-activator-icons-divider {
78
+ background-color: white;
79
+ }
77
80
  }
78
81
  }
79
82
 
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PopoverProps } from 'antd';
2
3
  import './index.less';
3
4
  interface PisellPhoneKeyboardProps {
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../booking/components/voucher/index.less';
2
3
  import './index.less';
3
4
  declare const VoucherCard: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Deposit: (props: any) => JSX.Element;
3
4
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;
@@ -63,7 +63,8 @@ var ActionButtons = ({
63
63
  const [showVoucherModal, setShowVoucherModal] = (0, import_react.useState)(false);
64
64
  const shopDiscount = (0, import_hooks.useShopDiscount)();
65
65
  const context = (0, import_useEngineContext.default)();
66
- const { Toast, getData, pisellosAllModule } = (_a = context.appHelper) == null ? void 0 : _a.utils;
66
+ const { getData, pisellosAllModule } = (_a = context.appHelper) == null ? void 0 : _a.utils;
67
+ const Toast = (0, import_materials.useToast)();
67
68
  const pisellOS = (0, import_useEngineContext.usePisellOS)();
68
69
  const { ScheduleModule } = pisellosAllModule;
69
70
  const changeCustomerToGlobalState = (0, import_ahooks.useMemoizedFn)((value) => {
@@ -35,6 +35,7 @@ module.exports = __toCommonJS(customiseItemModal_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_antd = require("antd");
37
37
  var import_utils = require("@pisell/utils");
38
+ var import_materials = require("@pisell/materials");
38
39
  var import_pisellNumberSelector = __toESM(require("../../../../pro/pisellNumberSelector"));
39
40
  var import_pisellPriceKeyboardModal = __toESM(require("../../../../pro/pisellPriceKeyboardModal"));
40
41
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
@@ -46,7 +47,6 @@ var CustomiseItemModal = ({
46
47
  currencySymbol = "$",
47
48
  disabled = false
48
49
  }) => {
49
- var _a, _b;
50
50
  const [productName, setProductName] = (0, import_react.useState)("");
51
51
  const [vouchersApplicable, setVouchersApplicable] = (0, import_react.useState)(false);
52
52
  const [priceType, setPriceType] = (0, import_react.useState)("sell");
@@ -58,7 +58,7 @@ var CustomiseItemModal = ({
58
58
  const sellPriceButtonRef = (0, import_react.useRef)(null);
59
59
  const deductionPriceButtonRef = (0, import_react.useRef)(null);
60
60
  const context = (0, import_useEngineContext.default)();
61
- const Toast = (_b = (_a = context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.Toast;
61
+ const Toast = (0, import_materials.useToast)();
62
62
  const resetForm = () => {
63
63
  setProductName("");
64
64
  setVouchersApplicable(false);
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 底部
@@ -40,6 +40,7 @@ var import_classnames = __toESM(require("classnames"));
40
40
  var import_react = __toESM(require("react"));
41
41
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
42
42
  var import_PaymentModal = __toESM(require("../../../checkout/PaymentModal"));
43
+ var import_PaymentResultToast = require("../../../checkout/components/PaymentResultToast");
43
44
  var import_addons = require("../../addons");
44
45
  var import_utils2 = require("../../info/service2/utils");
45
46
  var import_serve = require("../../info2/serve");
@@ -455,6 +456,7 @@ var Footer = (props) => {
455
456
  (_k = (_j = state.client) == null ? void 0 : _j.value) == null ? void 0 : _k.id
456
457
  ]);
457
458
  const handleCheckout = async () => {
459
+ (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
458
460
  const isNewOrder = !state.bookingId;
459
461
  if (isEdit) {
460
462
  if ((0, import_utils2.isDayBooking)(state)) {
@@ -555,6 +557,7 @@ var Footer = (props) => {
555
557
  noSubmit = false
556
558
  }) => {
557
559
  var _a2;
560
+ (0, import_PaymentResultToast.closeAllPaymentResultToasts)();
558
561
  if ((0, import_utils2.isDayBooking)(state)) {
559
562
  const isHasDayProducts = handleDaySubmit();
560
563
  if (isHasDayProducts) return;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const VoucherCard: (props: any) => JSX.Element | null;
3
4
  export default VoucherCard;