@pisell/private-materials 6.3.144 → 6.3.145

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 (343) 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 +145 -153
  7. package/build/lowcode/render/default/view.js +10 -10
  8. package/build/lowcode/view.js +10 -10
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  18. package/es/components/appointmentBooking/utils.d.ts +227 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  21. package/es/components/booking/components/footer/utils.d.ts +47 -0
  22. package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  23. package/es/components/booking/components/voucher/index.d.ts +3 -0
  24. package/es/components/booking/forms/footer.d.ts +0 -1
  25. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  26. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  27. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  28. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  29. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  30. package/es/components/booking/info/service2/utils.d.ts +248 -0
  31. package/es/components/booking/info2/index.d.ts +12 -0
  32. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  33. package/es/components/booking/locales.d.ts +1489 -0
  34. package/es/components/booking/model.d.ts +120 -0
  35. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  36. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  37. package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
  38. package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  39. package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  40. package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  41. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  42. package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  43. package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  44. package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
  45. package/es/components/ecocup/components/SettingModal/index.d.ts +0 -1
  46. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  47. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  48. package/es/components/ecocup/cupList/index.d.ts +0 -1
  49. package/es/components/eftpos/hooks.d.ts +1 -0
  50. package/es/components/eftpos/index.d.ts +1 -0
  51. package/es/components/eftposPay/amount.d.ts +20 -0
  52. package/es/components/eftposPay/app.d.ts +10 -0
  53. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  54. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  55. package/es/components/eftposPay/component/fail/network.d.ts +8 -0
  56. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  57. package/es/components/eftposPay/component/manual/index.d.ts +9 -0
  58. package/es/components/eftposPay/component/signature/index.d.ts +8 -0
  59. package/es/components/eftposPay/device.d.ts +23 -0
  60. package/es/components/eftposPay/index.d.ts +4 -0
  61. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  62. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  63. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  64. package/es/components/eftposPay/pay.d.ts +20 -0
  65. package/es/components/eftposPay/payo/config.d.ts +12 -0
  66. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  67. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  68. package/es/components/eftposPay/tip.d.ts +9 -0
  69. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  70. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  71. package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  72. package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
  73. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  83. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  87. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  88. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  89. package/es/components/kioskSkuDetail/locales.d.ts +48 -0
  90. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  91. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  92. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  93. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  94. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  95. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  97. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  98. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  99. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  100. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  101. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  102. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  103. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  104. package/es/components/pay/toC/index.d.ts +3 -0
  105. package/es/components/pay/toC/locales.d.ts +631 -0
  106. package/es/components/pay/toC/payGroup.d.ts +59 -0
  107. package/es/components/pay/toC/serve.d.ts +87 -0
  108. package/es/components/pay/toC/utils.d.ts +65 -0
  109. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  110. package/es/components/ruleSetting/locales.d.ts +78 -0
  111. package/es/components/scanOrder/components/Cart/index.d.ts +16 -0
  112. package/es/components/scanOrder/components/Check/index.d.ts +3 -0
  113. package/es/components/scanOrder/components/Content/index.d.ts +3 -0
  114. package/es/components/scanOrder/components/Footer/index.d.ts +12 -0
  115. package/es/components/scanOrder/components/Menu/index.d.ts +18 -0
  116. package/es/components/scanOrder/types.d.ts +79 -0
  117. package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  118. package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  119. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  120. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  121. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  122. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  123. package/es/components/systemSettings/registry/index.d.ts +5 -0
  124. package/es/components/systemSettings/registry/services.d.ts +99 -0
  125. package/es/components/systemSettings/registry/types.d.ts +143 -0
  126. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  127. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  128. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  129. package/es/components/ticketBooking/index.d.ts +7 -0
  130. package/es/components/venueBooking/components/Addons/index.d.ts +3 -0
  131. package/es/components/venueBooking/components/Cart/index.d.ts +28 -0
  132. package/es/components/venueBooking/components/Checkout/index.d.ts +2 -0
  133. package/es/components/venueBooking/components/Footer/index.d.ts +3 -0
  134. package/es/components/venueBooking/components/Header/index.d.ts +2 -0
  135. package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
  136. package/es/components/venueBooking/context.d.ts +9 -0
  137. package/es/components/venueBooking/hooks.d.ts +72 -0
  138. package/es/components/venueBooking/index.d.ts +6 -0
  139. package/es/components/venueBooking/locales.d.ts +627 -0
  140. package/es/components/venueBooking/types.d.ts +204 -0
  141. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  142. package/es/index.d.ts +87 -0
  143. package/es/plus/orderList/components/HandleActions.d.ts +0 -1
  144. package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
  145. package/es/plus/orderList/components/Reset.d.ts +0 -1
  146. package/es/plus/orderList/components/Toolbar.d.ts +0 -1
  147. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  148. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  149. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
  150. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  151. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  152. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  153. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  154. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  155. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  156. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  157. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  158. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  159. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  160. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  161. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  162. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  163. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  164. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  165. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  166. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  167. package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
  168. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  169. package/es/plus/walletPassGallery/locales.d.ts +5 -0
  170. package/es/plus/walletPassGallery/locales.js +14 -5
  171. package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
  172. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  173. package/es/pro/Selector/demo.d.ts +0 -1
  174. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  175. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  176. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  177. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  178. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  179. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  180. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  181. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  182. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  183. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  184. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  185. package/lib/components/appointmentBooking/utils.d.ts +227 -0
  186. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  187. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  188. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  189. package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
  190. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  191. package/lib/components/booking/forms/footer.d.ts +0 -1
  192. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  193. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  194. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  195. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  196. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  197. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  198. package/lib/components/booking/info2/index.d.ts +12 -0
  199. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  200. package/lib/components/booking/locales.d.ts +1489 -0
  201. package/lib/components/booking/model.d.ts +120 -0
  202. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  203. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
  204. package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
  205. package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
  206. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  207. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
  208. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
  209. package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  210. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  211. package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
  212. package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -1
  213. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
  214. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  215. package/lib/components/ecocup/cupList/index.d.ts +0 -1
  216. package/lib/components/eftpos/hooks.d.ts +1 -0
  217. package/lib/components/eftpos/index.d.ts +1 -0
  218. package/lib/components/eftposPay/amount.d.ts +20 -0
  219. package/lib/components/eftposPay/app.d.ts +10 -0
  220. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  221. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  222. package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
  223. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  224. package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
  225. package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
  226. package/lib/components/eftposPay/device.d.ts +23 -0
  227. package/lib/components/eftposPay/index.d.ts +4 -0
  228. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  229. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  230. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  231. package/lib/components/eftposPay/pay.d.ts +20 -0
  232. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  233. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  234. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  235. package/lib/components/eftposPay/tip.d.ts +9 -0
  236. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  237. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  238. package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
  239. package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
  240. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  241. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  242. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  243. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  244. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  245. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  246. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  247. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  248. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  249. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  250. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  251. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  253. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  254. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  255. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  256. package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
  257. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  258. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  259. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  260. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  261. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  262. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  263. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  264. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  265. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  266. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  267. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  268. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  269. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  270. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  271. package/lib/components/pay/toC/index.d.ts +3 -0
  272. package/lib/components/pay/toC/locales.d.ts +631 -0
  273. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  274. package/lib/components/pay/toC/serve.d.ts +87 -0
  275. package/lib/components/pay/toC/utils.d.ts +65 -0
  276. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  277. package/lib/components/ruleSetting/locales.d.ts +78 -0
  278. package/lib/components/scanOrder/components/Cart/index.d.ts +16 -0
  279. package/lib/components/scanOrder/components/Check/index.d.ts +3 -0
  280. package/lib/components/scanOrder/components/Content/index.d.ts +3 -0
  281. package/lib/components/scanOrder/components/Footer/index.d.ts +12 -0
  282. package/lib/components/scanOrder/components/Menu/index.d.ts +18 -0
  283. package/lib/components/scanOrder/types.d.ts +79 -0
  284. package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  285. package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  286. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  287. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  288. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  289. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  290. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  291. package/lib/components/systemSettings/registry/services.d.ts +99 -0
  292. package/lib/components/systemSettings/registry/types.d.ts +143 -0
  293. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  294. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  295. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  296. package/lib/components/ticketBooking/index.d.ts +7 -0
  297. package/lib/components/venueBooking/components/Addons/index.d.ts +3 -0
  298. package/lib/components/venueBooking/components/Cart/index.d.ts +28 -0
  299. package/lib/components/venueBooking/components/Checkout/index.d.ts +2 -0
  300. package/lib/components/venueBooking/components/Footer/index.d.ts +3 -0
  301. package/lib/components/venueBooking/components/Header/index.d.ts +2 -0
  302. package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
  303. package/lib/components/venueBooking/context.d.ts +9 -0
  304. package/lib/components/venueBooking/hooks.d.ts +72 -0
  305. package/lib/components/venueBooking/index.d.ts +6 -0
  306. package/lib/components/venueBooking/locales.d.ts +627 -0
  307. package/lib/components/venueBooking/types.d.ts +204 -0
  308. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  309. package/lib/index.d.ts +87 -0
  310. package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
  311. package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
  312. package/lib/plus/orderList/components/Reset.d.ts +0 -1
  313. package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
  314. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
  315. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  316. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
  317. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
  318. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  319. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  320. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  321. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  322. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
  323. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  324. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  325. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  326. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  327. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  328. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  329. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  330. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  331. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  332. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  333. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  334. package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
  335. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  336. package/lib/plus/walletPassGallery/locales.d.ts +5 -0
  337. package/lib/plus/walletPassGallery/locales.js +14 -5
  338. package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
  339. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  340. package/lib/pro/Selector/demo.d.ts +0 -1
  341. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  342. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  343. package/package.json +1 -1
@@ -0,0 +1,120 @@
1
+ /// <reference types="react" />
2
+ export interface FormState {
3
+ amountSymbol: string;
4
+ apis: {
5
+ getClients: (par?: any) => any;
6
+ getClientsEs: (par?: any) => any;
7
+ getServices: (par?: any) => any;
8
+ getResources: (par?: any) => any;
9
+ getProducts: (par?: any) => any;
10
+ getPets: (par?: any) => any;
11
+ getForms: (par?: any) => any;
12
+ getFormData: (par?: any) => any;
13
+ getAddonsByOrderId: (par?: any) => any;
14
+ saveAddonsByOrderId: (par?: any) => any;
15
+ getNotesByOrder: (par?: any) => any;
16
+ saveBookingFormData: (par?: any) => any;
17
+ getPetsData: (par?: any) => any;
18
+ };
19
+ client: {
20
+ showModal: boolean;
21
+ value: any;
22
+ clients: any[];
23
+ clientsParams: {
24
+ skip: number;
25
+ num: number;
26
+ search: string;
27
+ };
28
+ edit: boolean;
29
+ };
30
+ contacts_info: {
31
+ edit: boolean;
32
+ value: any;
33
+ };
34
+ date: {
35
+ value: any;
36
+ end_date: any;
37
+ edit: boolean;
38
+ };
39
+ service: {
40
+ addModal: boolean;
41
+ editModal: boolean;
42
+ services: any[];
43
+ resources: any[];
44
+ resourcesOrigin: any[];
45
+ reloadResourceModal: false;
46
+ value: any[];
47
+ cacheItem: any;
48
+ edit: boolean;
49
+ addTimeModal: boolean;
50
+ changeService: any;
51
+ };
52
+ pet: {
53
+ showModal: boolean;
54
+ pets: any[];
55
+ value: any[];
56
+ formData: any;
57
+ originValue: any;
58
+ edit: boolean;
59
+ };
60
+ addons: {
61
+ showModal: boolean;
62
+ value: any[];
63
+ productList: any[];
64
+ originData: any[];
65
+ edit: boolean;
66
+ };
67
+ notes: {
68
+ orderNote: string;
69
+ internalNotes: any[];
70
+ edit: boolean;
71
+ };
72
+ form: {
73
+ value: any;
74
+ forms: any[];
75
+ edit: boolean;
76
+ };
77
+ setGlobalState: () => void;
78
+ disabledEdit: boolean;
79
+ bookingConfig: any;
80
+ action: any;
81
+ bookingId: string | number;
82
+ bookingDetail: any;
83
+ channelDisabledEdit: boolean;
84
+ renderType?: 'eventBooking' | 'dayBooking';
85
+ modalOpen?: boolean;
86
+ isTerminal?: boolean;
87
+ isFranchisee?: boolean;
88
+ addTimeProducts: any[];
89
+ eventOtherParams?: {
90
+ relation_id: number;
91
+ number: number;
92
+ registration_type: 'single' | 'all' | 'extra_include';
93
+ start_date: string;
94
+ start_time: string;
95
+ end_date: string;
96
+ end_time: string;
97
+ productIds: number[];
98
+ };
99
+ disableEventBookingEdit?: boolean;
100
+ /** 关闭自动打开选择服务弹窗 */
101
+ closeAutoOpenService?: boolean;
102
+ /** 是否terminal创建booking页面 */
103
+ isBookingCreatePage?: boolean;
104
+ loading: boolean;
105
+ isTerminalDayBookingPage?: boolean;
106
+ activeCartId?: any[];
107
+ isDayBooking: boolean;
108
+ }
109
+ export declare const walkInData: {
110
+ id: number;
111
+ nickname: string;
112
+ };
113
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
+ state: FormState;
115
+ } & {
116
+ dispatch: (params: {
117
+ type: string;
118
+ payload: any;
119
+ }) => void;
120
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ECupActionType, ICup, ICustomer } from '../../types';
3
2
  import './index.less';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ICustomer, ICup, ECupActionType } from '../../types';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  type: 'rentInfo' | 'markInfo' | 'belongInfo' | 'otherBelongInfo';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ECupScanStatus, ICup } from '../../types';
3
2
  import './index.less';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ICup, ICustomer } from '../../types';
4
3
  interface IProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ICustomer } from '../../types';
4
3
  interface IProps extends Partial<ICustomer> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface MoreDropdownProps {
3
2
  locales: any;
4
3
  onClick?: (key: string) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface SearchBarProps {
4
3
  scanListenerKey: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  interface IProps {
4
3
  onClickAction: (type: string, record: any) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  export declare const useSummary: (locales: any, staticsData: any, isPartner?: boolean) => () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CupListProps {
4
3
  data: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos } from './const';
2
3
  /**
3
4
  * @title: tyro 设备连接
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos, DeviceStatus } from './const';
2
3
  import './index.less';
3
4
  interface PosProps {
@@ -0,0 +1,20 @@
1
+ import { PosProps } from './const';
2
+ /**
3
+ * @title: 支付金额信息配置页
4
+ * @description: 配置支付金额与手续费
5
+ * @return React.Element
6
+ * @Author: hongbing.wang
7
+ * @Date: 2024-08-12 11:35
8
+ */
9
+ declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
+ className?: string | undefined;
11
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
+ [keys: string]: unknown;
13
+ } | undefined, other?: any) => void) | undefined;
14
+ onClose: () => void;
15
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
16
+ isMobile: boolean;
17
+ net: boolean;
18
+ client: string;
19
+ }) => JSX.Element;
20
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { PosProps, RouteType } from './const';
2
+ declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
+ action: RouteType;
4
+ device_number: string | number;
5
+ api: ReturnType<PosProps['getApi']>;
6
+ isMobile: boolean;
7
+ channel?: string | undefined;
8
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
9
+ }) => JSX.Element;
10
+ export default App;
@@ -0,0 +1,3 @@
1
+ import { ActionProps } from '../../const';
2
+ declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ActionProps } from '../../const';
2
+ declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { ActionProps } from '../../const';
2
+ /**
3
+ * @title: 断网(客户端)提示页
4
+ * @Author: hongbing.wang
5
+ * @Date: 2024-08-20 11:40
6
+ */
7
+ declare const _default: ({ className }: ActionProps) => JSX.Element;
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { ActionProps } from '../../const';
2
+ /**
3
+ * @title: 支付状态未知页面
4
+ * @description:
5
+ * @Author: hongbing.wang
6
+ * @Date: 2024-08-20 11:42
7
+ */
8
+ declare const _default: ({ onChange, className }: ActionProps) => JSX.Element;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { ActionProps } from '../../const';
2
+ import './index.less';
3
+ /**
4
+ * @title: 结果标记页面
5
+ * @Author: hongbing.wang
6
+ * @Date: 2024-08-20 11:46
7
+ */
8
+ declare const _default: ({ onChange, className, formatAmount }: ActionProps) => JSX.Element;
9
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { ActionProps } from '../../const';
2
+ /**
3
+ * @title: 取消签名确认页
4
+ * @Author: hongbing.wang
5
+ * @Date: 2024-08-20 11:49
6
+ */
7
+ declare const _default: ({ api, className }: ActionProps) => JSX.Element;
8
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { PayProps, PosProps } from './const';
2
+ import './device.less';
3
+ /**
4
+ * @title: 设备选择页
5
+ * @description: 选择设备信息,无设备增加提示;仅有一条,默认选中跳走;多条记录则停留等待用户选择
6
+ * @return React.Element
7
+ * @Author: hongbing.wang
8
+ * @Date: 2024-08-12 11:40
9
+ */
10
+ declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
+ api: PayProps['api'];
12
+ className?: string | undefined;
13
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
+ [keys: string]: unknown;
15
+ } | undefined, other?: any) => void) | undefined;
16
+ onClose: () => void;
17
+ device_number?: string | number | undefined;
18
+ isMobile: boolean;
19
+ net: boolean;
20
+ client: string;
21
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
22
+ }) => JSX.Element;
23
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { PosProps } from './const';
2
+ import './index.less';
3
+ declare const _default: (props: PosProps) => JSX.Element | null;
4
+ export default _default;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * 支付或退款
3
+ * @param failAction 失败回调
4
+ */
5
+ export declare const useLinklyPayOrRefund: (handleCheck: () => boolean) => {
6
+ action: {
7
+ pay: import("ahooks/lib/useRequest/src/types").Result<any, [data: any]>;
8
+ };
9
+ payOrRefund: (resultQuery: any, handleLinklySuccess: any) => void;
10
+ };
11
+ /**
12
+ * @title: 取消支付或退款
13
+ * @description: 取消支付或退款调用接口后不管成功还是失败都需要调用支付查询接口
14
+ */
15
+ export declare const useLinklyCancel: (handleCheck: () => boolean) => {
16
+ action: {
17
+ cancel: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
18
+ };
19
+ linklyCancel: (resultQuery: any) => void;
20
+ };
21
+ /**
22
+ * @title: 支付或退款签名
23
+ * @description: 支付或退款签名调用接口后不管成功还是失败都需要调用支付查询接口
24
+ */
25
+ export declare const useLinklySignature: (handleCheck: () => boolean) => {
26
+ action: {
27
+ signature: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
28
+ };
29
+ linklySignature: (status: number, resultQuery: any) => void;
30
+ };
@@ -0,0 +1,4 @@
1
+ export declare const useTimeResultQuery: (api: any, resultCheck: () => boolean, handleLinklySuccess: (res: any) => void) => {
2
+ run: () => Promise<void>;
3
+ stop: () => void;
4
+ };
@@ -0,0 +1,2 @@
1
+ declare const Linkly: ({ api, onChange }: any) => JSX.Element;
2
+ export default Linkly;
@@ -0,0 +1,20 @@
1
+ import { PayProps } from './const';
2
+ import './index.less';
3
+ /**
4
+ * @title: 支付组件
5
+ * @description:
6
+ * @Author: hongbing.wang
7
+ * @Date: 2024-08-20 14:59
8
+ */
9
+ declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client, }: PayProps & {
10
+ terminal: {
11
+ network: boolean;
12
+ };
13
+ net: boolean;
14
+ isMobile: boolean;
15
+ tyroUrl?: string | undefined;
16
+ tyroVersion?: string | undefined;
17
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
18
+ client: string;
19
+ }) => JSX.Element;
20
+ export default Pay;
@@ -0,0 +1,12 @@
1
+ import { StatusEnum } from '../const';
2
+ export declare const POS: ({ api, onChange, }: {
3
+ api: {
4
+ [key: string]: (...agrn: unknown[]) => Promise<unknown>;
5
+ };
6
+ onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
7
+ [keys: string]: unknown;
8
+ } | undefined) => void;
9
+ }) => JSX.Element;
10
+ export declare const Action: ({ onChange }: {
11
+ onChange: any;
12
+ }) => JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { PayStatus } from '../const';
2
+ /**
3
+ * @title: 循环查询 接口状态
4
+ * @Author: hongbing.wang
5
+ * @Date: 2024-08-20 13:29
6
+ */
7
+ export declare const useValidate: (timeout: number) => readonly [(params_0: (...agrn: unknown[]) => Promise<any>, params_1: number, params_2?: number | undefined) => Promise<{
8
+ [key: string]: unknown;
9
+ code: `${PayStatus}`;
10
+ }>, () => void];
@@ -0,0 +1,66 @@
1
+ interface RunApiParams {
2
+ [key: string]: any;
3
+ }
4
+ export declare enum ActionType {
5
+ Pay = "pay",
6
+ Refund = "refund",
7
+ Query = "query"
8
+ }
9
+ interface UsePaymentOptions {
10
+ /**
11
+ * 支付接口
12
+ */
13
+ payApi: (params: RunApiParams, options?: {
14
+ signal?: AbortSignal;
15
+ }) => Promise<any>;
16
+ /**
17
+ * 退款接口
18
+ */
19
+ refundApi?: (params: RunApiParams, options?: {
20
+ signal?: AbortSignal;
21
+ }) => Promise<any>;
22
+ /**
23
+ * 查询接口
24
+ */
25
+ checkApi: (params: {
26
+ number: string;
27
+ }, options?: {
28
+ signal?: AbortSignal;
29
+ }) => Promise<any>;
30
+ /**
31
+ * 检查是否应该继续处理结果(用于处理网络断开、组件卸载等情况)
32
+ */
33
+ shouldContinue?: () => boolean;
34
+ }
35
+ interface RunParams {
36
+ /** 支付类型 */
37
+ paymentType: ActionType;
38
+ /** 支付交易号 */
39
+ paymentNum: string;
40
+ /** 订单ID */
41
+ orderId?: string | number;
42
+ /** 设备ID */
43
+ deviceId?: string | number;
44
+ /** 支付参数 */
45
+ params: RunApiParams;
46
+ /** 回调方法 */
47
+ callbacks: RunCallbacks;
48
+ }
49
+ interface RunCallbacks {
50
+ /**
51
+ * 成功回调
52
+ */
53
+ onSuccess: (res: any) => void;
54
+ /**
55
+ * 失败回调
56
+ */
57
+ onError: (error: any) => void;
58
+ }
59
+ export declare const usePayment: (options: UsePaymentOptions) => {
60
+ run: (options: RunParams) => Promise<void>;
61
+ stop: () => void;
62
+ clean: (params?: {
63
+ clearCallbacks?: boolean;
64
+ }) => void;
65
+ };
66
+ export {};
@@ -0,0 +1,9 @@
1
+ import './tip.less';
2
+ /**
3
+ * @title: 支付状态未知页面
4
+ * @description:
5
+ * @Author: hongbing.wang
6
+ * @Date: 2024-08-20 11:42
7
+ */
8
+ declare const _default: ({ onChangeStatus, className, formatAmount, cardSurcharge, receipts, successTime, onChangeParams, }: any) => JSX.Element;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ declare const _default: ({ api, onChange, children, url, version, }: {
3
+ api: any;
4
+ onChange: any;
5
+ children?: React.ReactNode;
6
+ url?: string | undefined;
7
+ version?: string | undefined;
8
+ }) => JSX.Element;
9
+ export default _default;
@@ -0,0 +1,81 @@
1
+ export interface PayLogContext {
2
+ /** 渠道 */
3
+ channel?: string;
4
+ /** 订单ID */
5
+ orderId?: string | number;
6
+ /** 设备ID */
7
+ deviceId?: string | number;
8
+ /** 支付类型:PAYO / WINDCAVE / LINKLY / TYRO */
9
+ paymentType?: string;
10
+ /** 交易记录号 */
11
+ transactionNumber?: string;
12
+ /** 模式:pay / refund / query */
13
+ mode?: string;
14
+ /** 其他扩展信息 */
15
+ extra?: Record<string, any>;
16
+ }
17
+ declare class PayLog {
18
+ private static instance;
19
+ private sessionKey;
20
+ private context;
21
+ private logs;
22
+ private startTime;
23
+ private flushed;
24
+ private constructor();
25
+ static getInstance(): PayLog;
26
+ /**
27
+ * 初始化一次交易会话
28
+ * - 生成唯一 sessionKey
29
+ * - 恢复上报 localStorage 中残留的旧日志
30
+ * - 接受部分 context(后续可通过 setContext 补充)
31
+ */
32
+ init(context?: Partial<PayLogContext>): void;
33
+ /**
34
+ * 补充/更新上下文信息
35
+ * 新值覆盖旧值,extra 做浅合并
36
+ */
37
+ setContext(partial: Partial<PayLogContext>): void;
38
+ /**
39
+ * 记录一条日志
40
+ */
41
+ log(title: string, data?: any): void;
42
+ /**
43
+ * 上报日志到飞书并清理 localStorage
44
+ */
45
+ flush(customTitle?: string): void;
46
+ /**
47
+ * flush + 重置内部状态
48
+ */
49
+ destroy(): void;
50
+ /**
51
+ * 构建 sendWarningLog 所需的 content 数组
52
+ */
53
+ private buildContent;
54
+ /**
55
+ * 持久化当前会话到 localStorage
56
+ */
57
+ private persistToStorage;
58
+ /**
59
+ * 从 localStorage 移除指定 session
60
+ */
61
+ private removeFromStorage;
62
+ /**
63
+ * 获取 localStorage 中所有 session
64
+ */
65
+ private getAllSessions;
66
+ /**
67
+ * 恢复上报 localStorage 中残留的旧日志(崩溃/异常退出场景)
68
+ */
69
+ private recoverOrphanedLogs;
70
+ }
71
+ declare const payLog: PayLog;
72
+ export default payLog;
73
+ /**
74
+ * 在根组件中使用,管理 PayLog 生命周期
75
+ * - mount 时 init(+ 恢复上报残留日志)
76
+ * - unmount 时 flush
77
+ */
78
+ export declare function usePayLog(context?: Partial<PayLogContext>): {
79
+ log: (title: string, data?: any) => void;
80
+ setContext: (partial: Partial<PayLogContext>) => void;
81
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @title: 按钮操作区
3
+ * @description: 仅包含签名
4
+ * @Author: hongbing.wang
5
+ * @Date: 2024-08-20 12:33
6
+ */
7
+ export declare const ReceiptAction: ({ api, onChange, }: {
8
+ api: any;
9
+ onChange: (status: boolean) => void;
10
+ }) => JSX.Element;
11
+ /**
12
+ * @title: 按钮操作区
13
+ * @description: 不包含签名
14
+ * @Author: hongbing.wang
15
+ * @Date: 2024-08-20 12:32
16
+ */
17
+ declare const Action: ({ index, onCancel, disabled, }: {
18
+ index: number;
19
+ onCancel: () => void;
20
+ disabled: boolean;
21
+ }) => JSX.Element | null;
22
+ export default Action;
@@ -0,0 +1,6 @@
1
+ declare const _default: ({ api, onChange, formatAmount, }: {
2
+ api: any;
3
+ onChange: any;
4
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
5
+ }) => JSX.Element;
6
+ export default _default;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DepositProps {
3
2
  showTitle?: boolean;
4
3
  }
@@ -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,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,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;