@pisell/private-materials 6.5.1 → 6.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +9 -9
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  19. package/es/components/booking/addons/model.d.ts +1 -10
  20. package/es/components/booking/components/actionButtons/index.js +8 -4
  21. package/es/components/booking/components/customiseItemModal/index.js +2 -2
  22. package/es/components/booking/components/footer/index.js +71 -49
  23. package/es/components/booking/components/voucher/index.js +18 -4
  24. package/es/components/booking/deposit/index.d.ts +1 -0
  25. package/es/components/booking/forms/footer.d.ts +0 -1
  26. package/es/components/booking/forms/model.d.ts +1 -10
  27. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  28. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  29. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  30. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  31. package/es/components/booking/info/header/index.d.ts +1 -0
  32. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  33. package/es/components/booking/info/index.d.ts +1 -0
  34. package/es/components/booking/info/model.d.ts +1 -10
  35. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  36. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  37. package/es/components/booking/info2/cartClientCard/index.js +33 -20
  38. package/es/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  39. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  40. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  41. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  42. package/es/components/booking/model.d.ts +1 -9
  43. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  44. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  45. package/es/components/booking/notes/model.d.ts +1 -10
  46. package/es/components/booking/payments/model.d.ts +1 -10
  47. package/es/components/booking/utils.d.ts +2 -2
  48. package/es/components/checkout/PaymentModal.js +726 -442
  49. package/es/components/checkout/PaymentPlugin.d.ts +1 -0
  50. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  51. package/es/components/checkout/components/AdditionalModule/index.js +80 -49
  52. package/es/components/checkout/components/AdditionalModule/index.less +33 -34
  53. package/es/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  54. package/es/components/checkout/components/AdditionalModule/locales.js +7 -4
  55. package/es/components/checkout/components/AmountSummary/index.d.ts +2 -1
  56. package/es/components/checkout/components/AmountSummary/index.js +69 -31
  57. package/es/components/checkout/components/AmountSummary/index.less +27 -9
  58. package/es/components/checkout/components/CashPaymentModule/index.less +0 -2
  59. package/es/components/checkout/components/PaymentDetailModal/index.js +55 -10
  60. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  61. package/es/components/checkout/components/PaymentOptionsModule/index.js +40 -25
  62. package/es/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  63. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  64. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +511 -81
  65. package/es/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  66. package/es/components/checkout/components/PaymentResultToast/index.js +89 -34
  67. package/es/components/checkout/components/PaymentResultToast/index.less +445 -77
  68. package/es/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  69. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  70. package/es/components/checkout/components/PaymentResultToast/utils.js +81 -2
  71. package/es/components/checkout/components/SearchAndClientModule/index.js +17 -16
  72. package/es/components/checkout/components/SearchAndClientModule/index.less +29 -8
  73. package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +3 -1
  74. package/es/components/checkout/components/WalletPassModule/index.less +3 -3
  75. package/es/components/checkout/hooks/useWalletPass.js +1 -1
  76. package/es/components/checkout/index.d.ts +1 -1
  77. package/es/components/checkout/index.js +1 -1
  78. package/es/components/checkout/index.less +56 -38
  79. package/es/components/checkout/locales.d.ts +6 -0
  80. package/es/components/checkout/locales.js +9 -3
  81. package/es/components/checkout/payment-modal-utils.js +5 -5
  82. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  83. package/es/components/checkout/utils/PaymentResultToastUtils.js +111 -72
  84. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  85. package/es/components/eftposPay/app.d.ts +1 -0
  86. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  87. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  88. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  89. package/es/components/eftposPay/hooks.d.ts +1 -1
  90. package/es/components/eftposPay/pay.d.ts +0 -1
  91. package/es/components/eftposPay/store/index.d.ts +4 -4
  92. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  93. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  94. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  95. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  96. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  97. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  98. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  99. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  100. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  103. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  105. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  106. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  108. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  110. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  111. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  112. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  113. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  114. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  115. package/es/components/pay/toB/components/EFTPOS/index.js +91 -58
  116. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  117. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  118. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  119. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  120. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  121. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  122. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  123. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  124. package/es/components/pay/toC/model.d.ts +1 -9
  125. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  126. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  127. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  128. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  129. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  130. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  131. package/es/components/schedules/model.d.ts +1 -9
  132. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  133. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  134. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  135. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  136. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  137. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  138. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  139. package/es/components/shoppingCart/index.d.ts +0 -1
  140. package/es/components/taxSelect/index.d.ts +1 -0
  141. package/es/components/ticketBooking/components/addServiceVariant/addService.js +5 -4
  142. package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -1
  143. package/es/components/ticketBooking/components/menuBar/index.js +1 -1
  144. package/es/components/ticketBooking/components/ticketBooking/index.js +4 -3
  145. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +1 -1
  146. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +1 -1
  147. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +4 -2
  148. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  149. package/es/components/wallet/Detail/model.d.ts +1 -13
  150. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  151. package/es/components/wallet/PointCard/model.d.ts +1 -13
  152. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  153. package/es/components/wallet/Voucher/model.d.ts +1 -13
  154. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  155. package/es/components/wallet/model.d.ts +1 -9
  156. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  157. package/es/plus/clientCard/index.js +3 -2
  158. package/es/plus/clientCard/index.less +3 -32
  159. package/es/plus/clientName/index.d.ts +1 -0
  160. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  161. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  162. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  163. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  164. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  165. package/es/pro/comprehensiveSearch/components/searchSection/index.js +9 -12
  166. package/es/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  167. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  168. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  169. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  170. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  171. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  172. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  173. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  174. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  175. package/lib/components/booking/addons/model.d.ts +1 -10
  176. package/lib/components/booking/components/actionButtons/index.js +6 -3
  177. package/lib/components/booking/components/customiseItemModal/index.js +2 -2
  178. package/lib/components/booking/components/footer/index.js +11 -7
  179. package/lib/components/booking/components/voucher/index.js +15 -3
  180. package/lib/components/booking/deposit/index.d.ts +1 -0
  181. package/lib/components/booking/forms/footer.d.ts +0 -1
  182. package/lib/components/booking/forms/model.d.ts +1 -10
  183. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  184. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  185. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  186. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  187. package/lib/components/booking/info/header/index.d.ts +1 -0
  188. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  189. package/lib/components/booking/info/index.d.ts +1 -0
  190. package/lib/components/booking/info/model.d.ts +1 -10
  191. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  192. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  193. package/lib/components/booking/info2/cartClientCard/index.js +16 -5
  194. package/lib/components/booking/info2/cartClientCard/utils.d.ts +2 -2
  195. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  196. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  197. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  198. package/lib/components/booking/model.d.ts +1 -9
  199. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  200. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  201. package/lib/components/booking/notes/model.d.ts +1 -10
  202. package/lib/components/booking/payments/model.d.ts +1 -10
  203. package/lib/components/booking/utils.d.ts +2 -2
  204. package/lib/components/checkout/PaymentModal.js +241 -111
  205. package/lib/components/checkout/PaymentPlugin.d.ts +1 -0
  206. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  207. package/lib/components/checkout/components/AdditionalModule/index.js +98 -34
  208. package/lib/components/checkout/components/AdditionalModule/index.less +33 -34
  209. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  210. package/lib/components/checkout/components/AdditionalModule/locales.js +7 -4
  211. package/lib/components/checkout/components/AmountSummary/index.d.ts +2 -1
  212. package/lib/components/checkout/components/AmountSummary/index.js +103 -47
  213. package/lib/components/checkout/components/AmountSummary/index.less +27 -9
  214. package/lib/components/checkout/components/CashPaymentModule/index.less +0 -2
  215. package/lib/components/checkout/components/PaymentDetailModal/index.js +56 -11
  216. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  217. package/lib/components/checkout/components/PaymentOptionsModule/index.js +11 -8
  218. package/lib/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  219. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  220. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +278 -72
  221. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  222. package/lib/components/checkout/components/PaymentResultToast/index.js +68 -21
  223. package/lib/components/checkout/components/PaymentResultToast/index.less +445 -77
  224. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  225. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  226. package/lib/components/checkout/components/PaymentResultToast/utils.js +58 -4
  227. package/lib/components/checkout/components/SearchAndClientModule/index.js +17 -15
  228. package/lib/components/checkout/components/SearchAndClientModule/index.less +29 -8
  229. package/lib/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +12 -2
  230. package/lib/components/checkout/components/WalletPassModule/index.less +3 -3
  231. package/lib/components/checkout/hooks/useWalletPass.js +2 -2
  232. package/lib/components/checkout/index.d.ts +1 -1
  233. package/lib/components/checkout/index.js +2 -0
  234. package/lib/components/checkout/index.less +56 -38
  235. package/lib/components/checkout/locales.d.ts +6 -0
  236. package/lib/components/checkout/locales.js +9 -3
  237. package/lib/components/checkout/payment-modal-utils.js +5 -5
  238. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  239. package/lib/components/checkout/utils/PaymentResultToastUtils.js +26 -18
  240. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  241. package/lib/components/eftposPay/app.d.ts +1 -0
  242. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  243. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  244. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  245. package/lib/components/eftposPay/hooks.d.ts +1 -1
  246. package/lib/components/eftposPay/pay.d.ts +0 -1
  247. package/lib/components/eftposPay/store/index.d.ts +4 -4
  248. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  249. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  250. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  251. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  253. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  254. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  255. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  256. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  257. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  258. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  259. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  260. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  261. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  262. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  263. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  264. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  265. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  266. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  267. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  268. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  269. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  270. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  271. package/lib/components/pay/toB/components/EFTPOS/index.js +25 -10
  272. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  273. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  274. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  275. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  276. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  277. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  278. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  279. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  280. package/lib/components/pay/toC/model.d.ts +1 -9
  281. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  282. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  283. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  284. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  285. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  286. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  287. package/lib/components/schedules/model.d.ts +1 -9
  288. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  289. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  290. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  291. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  292. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  293. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  294. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  295. package/lib/components/shoppingCart/index.d.ts +0 -1
  296. package/lib/components/taxSelect/index.d.ts +1 -0
  297. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +8 -7
  298. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -2
  299. package/lib/components/ticketBooking/components/menuBar/index.js +1 -1
  300. package/lib/components/ticketBooking/components/ticketBooking/index.js +3 -3
  301. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -12
  302. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -12
  303. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +5 -13
  304. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  305. package/lib/components/wallet/Detail/model.d.ts +1 -13
  306. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  307. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  308. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  309. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  310. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  311. package/lib/components/wallet/model.d.ts +1 -9
  312. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  313. package/lib/plus/clientCard/index.js +5 -4
  314. package/lib/plus/clientCard/index.less +3 -32
  315. package/lib/plus/clientName/index.d.ts +1 -0
  316. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  317. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  318. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  319. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  320. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  321. package/lib/pro/comprehensiveSearch/components/searchSection/index.js +6 -18
  322. package/lib/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  323. package/package.json +1 -1
@@ -70,7 +70,7 @@ var calculateSubtitle = (status, amount, gapAmount, getData) => {
70
70
  case "paid":
71
71
  if (gapAmount) {
72
72
  text = `${import_utils.locales.getText("payment.result.changeDue") || "Change Due"} ${formatCurrency(Math.abs(gapAmount), amountSymbol)}`;
73
- colorClass = "partially-paid";
73
+ colorClass = "paid";
74
74
  } else {
75
75
  text = `${import_utils.locales.getText("payment.result.paid") || "Paid"} ${formatCurrency(amount, amountSymbol)}`;
76
76
  colorClass = "paid";
@@ -93,7 +93,7 @@ var calculateSubtitle = (status, amount, gapAmount, getData) => {
93
93
  default:
94
94
  return null;
95
95
  }
96
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "payment-result-toast-subtitle" }, /* @__PURE__ */ import_react.default.createElement("h1", { className: getSubtitleClassName(colorClass) }, text));
96
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "payment-result-toast-subtitle" }, /* @__PURE__ */ import_react.default.createElement("div", { className: getSubtitleClassName(colorClass) }, text));
97
97
  };
98
98
  var calculateStatusClassName = (status) => {
99
99
  switch (status) {
@@ -109,36 +109,36 @@ var calculateStatusClassName = (status) => {
109
109
  }
110
110
  };
111
111
  var calculateAutoCloseConfig = (status, hasChangeDue) => {
112
+ const autoCloseDelay = 30;
112
113
  switch (status) {
113
114
  case "paid":
114
115
  return {
115
116
  autoClose: true,
116
- autoCloseDelay: hasChangeDue ? 30 : 5,
117
- // 有找零30秒,无找零5秒
118
- maskClosable: true
117
+ autoCloseDelay,
118
+ maskClosable: false
119
119
  };
120
120
  case "partially_paid":
121
121
  return {
122
122
  autoClose: true,
123
- autoCloseDelay: 5,
124
- maskClosable: true
123
+ autoCloseDelay,
124
+ maskClosable: false
125
125
  };
126
126
  case "failed":
127
127
  case "wallet-pass-redemption-failed":
128
128
  return {
129
129
  autoClose: false,
130
- autoCloseDelay: 0,
130
+ autoCloseDelay,
131
131
  maskClosable: false
132
132
  };
133
133
  default:
134
134
  return {
135
135
  autoClose: false,
136
- autoCloseDelay: 5,
136
+ autoCloseDelay,
137
137
  maskClosable: false
138
138
  };
139
139
  }
140
140
  };
141
- var displayPaymentResultToast = (params, config) => {
141
+ var displayPaymentResultToast = async (params, config) => {
142
142
  const {
143
143
  paymentStatus,
144
144
  orderTotalAmount,
@@ -149,7 +149,7 @@ var displayPaymentResultToast = (params, config) => {
149
149
  } = params;
150
150
  const { getData, onToastClose } = config;
151
151
  if (paymentStatus === "paid") {
152
- (0, import_PaymentResultToast.showPaymentResultToastSuccess)({
152
+ await (0, import_PaymentResultToast.showPaymentResultToastSuccess)({
153
153
  title: calculateTitle(paymentStatus),
154
154
  subtitle: calculateSubtitle(
155
155
  paymentStatus,
@@ -161,10 +161,14 @@ var displayPaymentResultToast = (params, config) => {
161
161
  autoCloseDelay: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoCloseDelay) || 3e3,
162
162
  showCountdownProgress: true,
163
163
  actionButtons: actionButtons || [],
164
- onClose: onToastClose
164
+ onClose: onToastClose || (() => {
165
+ }),
166
+ // 提供默认空函数
167
+ closable: false
168
+ // 控制关闭按钮显示
165
169
  });
166
170
  } else if (paymentStatus === "partially_paid") {
167
- (0, import_PaymentResultToast.showPaymentResultToastSuccess)({
171
+ await (0, import_PaymentResultToast.showPaymentResultToastSuccess)({
168
172
  title: calculateTitle(paymentStatus),
169
173
  subtitle: calculateSubtitle(
170
174
  paymentStatus,
@@ -174,10 +178,12 @@ var displayPaymentResultToast = (params, config) => {
174
178
  ),
175
179
  autoClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
176
180
  actionButtons: actionButtons || [],
177
- onClose: onToastClose
181
+ onClose: onToastClose || (() => {
182
+ })
183
+ // 提供默认空函数
178
184
  });
179
185
  } else if (paymentStatus === "failed" || paymentStatus === "error") {
180
- (0, import_PaymentResultToast.showPaymentResultToastFailed)({
186
+ await (0, import_PaymentResultToast.showPaymentResultToastFailed)({
181
187
  title: calculateTitle(paymentStatus, failureReason),
182
188
  subtitle: calculateSubtitle(
183
189
  paymentStatus,
@@ -187,12 +193,14 @@ var displayPaymentResultToast = (params, config) => {
187
193
  ),
188
194
  autoClose: (autoCloseConfig == null ? void 0 : autoCloseConfig.autoClose) || false,
189
195
  actionButtons: actionButtons || [],
190
- onClose: onToastClose
196
+ onClose: onToastClose || (() => {
197
+ })
198
+ // 提供默认空函数
191
199
  });
192
200
  }
193
201
  };
194
202
  var createShowSuccessToast = (config, getActionButtons) => {
195
- return (result) => {
203
+ return async (result) => {
196
204
  var _a;
197
205
  const responseData = (_a = result.response) == null ? void 0 : _a.data;
198
206
  const paymentStatus = responseData == null ? void 0 : responseData.payment_status;
@@ -203,7 +211,7 @@ var createShowSuccessToast = (config, getActionButtons) => {
203
211
  !!gapAmount
204
212
  );
205
213
  const actionButtons = getActionButtons ? getActionButtons(paymentStatus) : [];
206
- displayPaymentResultToast({
214
+ await displayPaymentResultToast({
207
215
  paymentStatus,
208
216
  orderTotalAmount,
209
217
  gapAmount,
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.css';
2
3
  /**
3
4
  * @title: 自定义组件设置
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "loading" | "warn" | "success" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,10 +295,10 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
298
+ mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
300
  eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
- action?: "pay" | "amount" | "deviceList" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: () => JSX.Element;
3
2
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: (props: {
3
2
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
4
3
  }) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
4
3
  export default ScheduleTimeItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayMethod, PayMethodGroup } from '../../types';
2
3
  import './index.less';
3
4
  declare const ToBPayCardGroup: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ToBPayTitle: (props: {
2
3
  amount: number | string;
3
4
  }) => JSX.Element;
@@ -38,9 +38,13 @@ var import_ahooks = require("ahooks");
38
38
  var import_EFTPos = __toESM(require("../../../../eftposPay/EFTPos"));
39
39
  var import_utils = require("../../../../../utils");
40
40
  var import_useLogger = __toESM(require("../../../../../hooks/useLogger"));
41
+ var import_hooks = require("../../../../../hooks");
41
42
  var import_index = require("./index.less");
42
43
  var updateTransactionReceiveStatus = async (params) => import_utils.request.getRequest().post("/shop/pay/card-reader/transaction/receive/status", params);
43
44
  var EFTPOS = (props, ref) => {
45
+ var _a;
46
+ const context = (0, import_hooks.useEngineContext)();
47
+ const { interaction } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
44
48
  const logger = (0, import_useLogger.default)();
45
49
  const network = (0, import_ahooks.useNetwork)();
46
50
  const [visible, setVisible] = (0, import_react.useState)(false);
@@ -51,9 +55,9 @@ var EFTPOS = (props, ref) => {
51
55
  const eftposInitDataRef = (0, import_react.useRef)(null);
52
56
  const [isEftposLoading, setIsEftposLoading] = (0, import_react.useState)(false);
53
57
  (0, import_react.useEffect)(() => {
54
- var _a, _b;
58
+ var _a2, _b;
55
59
  if (eftposRef.current) {
56
- (_b = (_a = eftposRef.current) == null ? void 0 : _a.updateNetwork) == null ? void 0 : _b.call(_a, { network: network.online });
60
+ (_b = (_a2 = eftposRef.current) == null ? void 0 : _a2.updateNetwork) == null ? void 0 : _b.call(_a2, { network: network.online });
57
61
  }
58
62
  }, [network.online]);
59
63
  const closeModal = () => {
@@ -61,8 +65,8 @@ var EFTPOS = (props, ref) => {
61
65
  eftposHandlingRef.current = false;
62
66
  setVisible(false);
63
67
  };
64
- const onOpen = ({ source, data, payCallback }) => {
65
- var _a, _b, _c;
68
+ const onOpen = async ({ source, data, payCallback }) => {
69
+ var _a2, _b, _c, _d, _e;
66
70
  if (eftposHandlingRef.current || visible) {
67
71
  logger == null ? void 0 : logger.addLog({
68
72
  type: "info",
@@ -72,6 +76,15 @@ var EFTPOS = (props, ref) => {
72
76
  return;
73
77
  }
74
78
  eftposHandlingRef.current = true;
79
+ let device_number = "";
80
+ try {
81
+ device_number = await ((_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.asyncDataManager) == null ? void 0 : _b.call(_a2, {
82
+ module: "get",
83
+ key: "device_number"
84
+ }));
85
+ } catch (error) {
86
+ console.error("获取设备编号失败", error);
87
+ }
75
88
  const { type, payMethod, params, mode } = data;
76
89
  const newData = {
77
90
  type,
@@ -83,12 +96,14 @@ var EFTPOS = (props, ref) => {
83
96
  order_id: params.orderId,
84
97
  name: payMethod.name,
85
98
  symbol: params.symbol,
86
- amount: params.amount
99
+ amount: params.amount,
100
+ device_number
87
101
  },
88
102
  mode
89
103
  };
104
+ console.log("newData>>>>>>>>>>>>>>", newData);
90
105
  if (!(newData == null ? void 0 : newData.type) && (newData == null ? void 0 : newData.code)) {
91
- newData.type = (_c = (_b = (_a = newData.code) == null ? void 0 : _a.split("_")) == null ? void 0 : _b[1]) == null ? void 0 : _c.toLocaleLowerCase();
106
+ newData.type = (_e = (_d = (_c = newData.code) == null ? void 0 : _c.split("_")) == null ? void 0 : _d[1]) == null ? void 0 : _e.toLocaleLowerCase();
92
107
  }
93
108
  logger == null ? void 0 : logger.addLog({
94
109
  type: "info",
@@ -113,7 +128,7 @@ var EFTPOS = (props, ref) => {
113
128
  }
114
129
  };
115
130
  const onAfterOpenChange = (v) => {
116
- var _a, _b;
131
+ var _a2, _b;
117
132
  logger == null ? void 0 : logger.addLog({
118
133
  type: "info",
119
134
  title: "ToB_EFTPOS_modal_onAfterOpenChange",
@@ -121,7 +136,7 @@ var EFTPOS = (props, ref) => {
121
136
  });
122
137
  if (v) {
123
138
  const { data, source } = eftposInitDataRef.current;
124
- (_b = (_a = eftposRef.current) == null ? void 0 : _a.update) == null ? void 0 : _b.call(_a, data, source);
139
+ (_b = (_a2 = eftposRef.current) == null ? void 0 : _a2.update) == null ? void 0 : _b.call(_a2, data, source);
125
140
  eftposInitDataRef.current = null;
126
141
  }
127
142
  };
@@ -148,7 +163,7 @@ var EFTPOS = (props, ref) => {
148
163
  eftposHandlingRef.current = false;
149
164
  };
150
165
  const onPayResult = ({ status, params }) => {
151
- var _a;
166
+ var _a2;
152
167
  logger == null ? void 0 : logger.addLog({
153
168
  type: "info",
154
169
  title: "ToB_EFTPOS_onPayResult",
@@ -156,7 +171,7 @@ var EFTPOS = (props, ref) => {
156
171
  });
157
172
  handleResult(status, params);
158
173
  if (status === "success" || status === "fail") {
159
- (_a = payCallbackRef.current) == null ? void 0 : _a.call(payCallbackRef, { status, params });
174
+ (_a2 = payCallbackRef.current) == null ? void 0 : _a2.call(payCallbackRef, { status, params });
160
175
  closeModal();
161
176
  }
162
177
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => JSX.Element;
3
4
  export default ThreedsLoading;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const StripePayment: () => JSX.Element;
3
4
  export default StripePayment;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
3
  public_key: string;
3
4
  client_secret?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PageLoading: () => JSX.Element;
3
4
  export default PageLoading;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PaymentRequestForm: () => JSX.Element | null;
3
4
  export default PaymentRequestForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -29,11 +28,4 @@ export interface PayGroup {
29
28
  pay_number?: string;
30
29
  _order: any;
31
30
  }
32
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
- state: FormState;
34
- } & {
35
- dispatch: (params: {
36
- type: string;
37
- payload: any;
38
- }) => void;
39
- }>;
31
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: 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, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: () => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  import "./index.less";
3
4
  interface TaxSelectProps {