@pisell/private-materials 6.1.26 → 6.1.28

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 (459) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  15. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  16. package/es/components/booking/addons/model.d.ts +10 -1
  17. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  18. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  19. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  20. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  21. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  22. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  23. package/es/components/booking/components/footer/index.d.ts +0 -1
  24. package/es/components/booking/components/footer/index.js +136 -88
  25. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  26. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  27. package/es/components/booking/components/voucher/index.d.ts +3 -0
  28. package/es/components/booking/forms/model.d.ts +10 -1
  29. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  30. package/es/components/booking/forms/table/index.d.ts +1 -0
  31. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  32. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  33. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  34. package/es/components/booking/info/client/index.d.ts +4 -0
  35. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  36. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  37. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  38. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  39. package/es/components/booking/info/date/index.d.ts +1 -0
  40. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  41. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  42. package/es/components/booking/info/index.d.ts +3 -0
  43. package/es/components/booking/info/model.d.ts +10 -1
  44. package/es/components/booking/info/notes/index.d.ts +1 -0
  45. package/es/components/booking/info/service/Lists.d.ts +2 -0
  46. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  47. package/es/components/booking/info/service/addService/index.d.ts +11 -0
  48. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  49. package/es/components/booking/info/service/editService/BookingList/index.d.ts +4 -0
  50. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  51. package/es/components/booking/info/service/like/index.d.ts +1 -0
  52. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  53. package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
  54. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  55. package/es/components/booking/info/service2/Lists.d.ts +2 -0
  56. package/es/components/booking/info/service2/utils.d.ts +251 -0
  57. package/es/components/booking/info2/cartClientCard/index.d.ts +6 -0
  58. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  59. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  60. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  61. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  62. package/es/components/booking/info2/service/editService/index.d.ts +7 -0
  63. package/es/components/booking/info2/service/index.d.ts +4 -0
  64. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  65. package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
  66. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  67. package/es/components/booking/locales.d.ts +906 -0
  68. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  69. package/es/components/booking/materiels/duration/index.d.ts +13 -0
  70. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  71. package/es/components/booking/materiels/startTime/index.d.ts +9 -0
  72. package/es/components/booking/model.d.ts +9 -1
  73. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  74. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  75. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  76. package/es/components/booking/notes/model.d.ts +10 -1
  77. package/es/components/booking/payments/model.d.ts +10 -1
  78. package/es/components/booking/utils.d.ts +174 -0
  79. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  80. package/es/components/eftpos/form/index.d.ts +1 -0
  81. package/es/components/eftpos/group/index.d.ts +1 -0
  82. package/es/components/eftpos/hooks.d.ts +1 -0
  83. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  84. package/es/components/eftpos/icon/device.d.ts +1 -0
  85. package/es/components/eftpos/index.d.ts +1 -0
  86. package/es/components/eftpos/pos.d.ts +1 -0
  87. package/es/components/eftpos/receipt/index.d.ts +1 -0
  88. package/es/components/eftposPay/amount.d.ts +1 -0
  89. package/es/components/eftposPay/app.d.ts +1 -0
  90. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  91. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  92. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  93. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  94. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  95. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  96. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  97. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  98. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  99. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  100. package/es/components/eftposPay/device.d.ts +1 -0
  101. package/es/components/eftposPay/pay.d.ts +1 -0
  102. package/es/components/eftposPay/payo/config.d.ts +1 -0
  103. package/es/components/eftposPay/store/index.d.ts +1 -1
  104. package/es/components/eftposPay/tip.d.ts +1 -0
  105. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  106. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  107. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  108. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  109. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  110. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  111. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  112. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  113. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  114. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  115. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  116. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  117. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  118. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  119. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  120. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  121. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  122. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  123. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  124. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  125. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  126. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  127. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  128. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  129. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  130. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  131. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  132. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  133. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  134. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  135. package/es/components/login/index.d.ts +1 -0
  136. package/es/components/pay/toB/components/Cache/index.d.ts +10 -0
  137. package/es/components/pay/toB/components/Card/index.d.ts +7 -0
  138. package/es/components/pay/toB/components/CardGroup/index.d.ts +7 -0
  139. package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +6 -0
  140. package/es/components/pay/toB/components/Content/Footer.d.ts +7 -0
  141. package/es/components/pay/toB/components/Content/Header.d.ts +4 -0
  142. package/es/components/pay/toB/components/Content/index.d.ts +4 -0
  143. package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
  144. package/es/components/pay/toB/components/index.d.ts +5 -0
  145. package/es/components/pay/toB/hooks.d.ts +12 -0
  146. package/es/components/pay/toB/index.d.ts +3 -0
  147. package/es/components/pay/toB/locales.d.ts +54 -0
  148. package/es/components/pay/toB/store/context.d.ts +3 -0
  149. package/es/components/pay/toB/store/hooks.d.ts +15 -0
  150. package/es/components/pay/toB/store/index.d.ts +3 -0
  151. package/es/components/pay/toB/store/provider.d.ts +4 -0
  152. package/es/components/pay/toB/store/utils.d.ts +13 -0
  153. package/es/components/pay/toB/types/index.d.ts +1 -0
  154. package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
  155. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  156. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  157. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  158. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  159. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  160. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  161. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  162. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  163. package/es/components/pay/toC/model.d.ts +9 -1
  164. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  165. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  166. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  167. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  168. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  169. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  170. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  171. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  172. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  173. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  174. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  175. package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
  176. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  177. package/es/components/productSelect/components/productGroup/index.d.ts +38 -0
  178. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  179. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  180. package/es/components/schedules/calendar/index.d.ts +1 -0
  181. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  182. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  183. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  184. package/es/components/schedules/model.d.ts +9 -1
  185. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  186. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  187. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  188. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  189. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  190. package/es/components/schedules/products/index.d.ts +1 -0
  191. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  192. package/es/components/schedules/products/list/index.d.ts +1 -0
  193. package/es/components/schedules/resources/index.d.ts +1 -0
  194. package/es/components/schedules/resources/list/index.d.ts +1 -0
  195. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  196. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  197. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  198. package/es/components/schedules/schedules/index.d.ts +1 -0
  199. package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  200. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  201. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  202. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  203. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  204. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  205. package/es/components/shoppingCart/index.d.ts +1 -0
  206. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  207. package/es/components/ticketBooking/components/menuBar/index.d.ts +3 -0
  208. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  209. package/es/components/ticketBooking/components/timeBar/index.d.ts +13 -0
  210. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  211. package/es/components/ticketBooking/locales.d.ts +180 -0
  212. package/es/components/ticketBooking/serve.d.ts +288 -0
  213. package/es/components/ticketBooking/utils/index.d.ts +62 -0
  214. package/es/components/wallet/Detail/model.d.ts +13 -1
  215. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  216. package/es/components/wallet/PointCard/model.d.ts +13 -1
  217. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  218. package/es/components/wallet/Voucher/model.d.ts +13 -1
  219. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  220. package/es/components/wallet/model.d.ts +9 -1
  221. package/es/components/walletList/index.d.ts +28 -0
  222. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  223. package/es/hooks/useEngineContext.d.ts +3 -0
  224. package/es/plus/clientCard/locales.d.ts +18 -0
  225. package/es/plus/clientName/index.d.ts +1 -0
  226. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  227. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  228. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -0
  229. package/es/plus/clinetSearch/index.d.ts +18 -0
  230. package/es/pro/comprehensiveSearch/index.d.ts +9 -0
  231. package/es/pro/comprehensiveSearch/types.d.ts +31 -0
  232. package/es/pro/pisellPhoneKeyboard/index.d.ts +12 -0
  233. package/es/pro/skuDetailModal/index.d.ts +5 -0
  234. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  235. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  236. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  237. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  238. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  239. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  240. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  241. package/lib/components/booking/addons/model.d.ts +10 -1
  242. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  243. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  244. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  245. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  246. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  247. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  248. package/lib/components/booking/components/footer/index.d.ts +0 -1
  249. package/lib/components/booking/components/footer/index.js +34 -10
  250. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  251. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  252. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  253. package/lib/components/booking/forms/model.d.ts +10 -1
  254. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  255. package/lib/components/booking/forms/table/index.d.ts +1 -0
  256. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  257. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  258. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  259. package/lib/components/booking/info/client/index.d.ts +4 -0
  260. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  261. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  262. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  263. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  264. package/lib/components/booking/info/date/index.d.ts +1 -0
  265. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  266. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  267. package/lib/components/booking/info/index.d.ts +3 -0
  268. package/lib/components/booking/info/model.d.ts +10 -1
  269. package/lib/components/booking/info/notes/index.d.ts +1 -0
  270. package/lib/components/booking/info/service/Lists.d.ts +2 -0
  271. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  272. package/lib/components/booking/info/service/addService/index.d.ts +11 -0
  273. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  274. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +4 -0
  275. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  276. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  277. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  278. package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
  279. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  280. package/lib/components/booking/info/service2/Lists.d.ts +2 -0
  281. package/lib/components/booking/info/service2/utils.d.ts +251 -0
  282. package/lib/components/booking/info2/cartClientCard/index.d.ts +6 -0
  283. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  284. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  285. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  286. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  287. package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
  288. package/lib/components/booking/info2/service/index.d.ts +4 -0
  289. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  290. package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
  291. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  292. package/lib/components/booking/locales.d.ts +906 -0
  293. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  294. package/lib/components/booking/materiels/duration/index.d.ts +13 -0
  295. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  296. package/lib/components/booking/materiels/startTime/index.d.ts +9 -0
  297. package/lib/components/booking/model.d.ts +9 -1
  298. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  299. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  300. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  301. package/lib/components/booking/notes/model.d.ts +10 -1
  302. package/lib/components/booking/payments/model.d.ts +10 -1
  303. package/lib/components/booking/utils.d.ts +174 -0
  304. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  305. package/lib/components/eftpos/form/index.d.ts +1 -0
  306. package/lib/components/eftpos/group/index.d.ts +1 -0
  307. package/lib/components/eftpos/hooks.d.ts +1 -0
  308. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  309. package/lib/components/eftpos/icon/device.d.ts +1 -0
  310. package/lib/components/eftpos/index.d.ts +1 -0
  311. package/lib/components/eftpos/pos.d.ts +1 -0
  312. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  313. package/lib/components/eftposPay/amount.d.ts +1 -0
  314. package/lib/components/eftposPay/app.d.ts +1 -0
  315. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  316. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  317. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  318. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  319. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  320. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  321. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  322. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  323. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  324. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  325. package/lib/components/eftposPay/device.d.ts +1 -0
  326. package/lib/components/eftposPay/pay.d.ts +1 -0
  327. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  328. package/lib/components/eftposPay/store/index.d.ts +1 -1
  329. package/lib/components/eftposPay/tip.d.ts +1 -0
  330. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  331. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  332. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  333. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  334. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  335. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  336. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  337. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  338. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  339. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  340. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  341. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  342. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  343. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  344. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  345. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  346. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  347. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  348. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  349. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  350. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  351. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  352. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  353. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  354. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  355. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  356. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  357. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  358. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  359. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  360. package/lib/components/login/index.d.ts +1 -0
  361. package/lib/components/pay/toB/components/Cache/index.d.ts +10 -0
  362. package/lib/components/pay/toB/components/Card/index.d.ts +7 -0
  363. package/lib/components/pay/toB/components/CardGroup/index.d.ts +7 -0
  364. package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +6 -0
  365. package/lib/components/pay/toB/components/Content/Footer.d.ts +7 -0
  366. package/lib/components/pay/toB/components/Content/Header.d.ts +4 -0
  367. package/lib/components/pay/toB/components/Content/index.d.ts +4 -0
  368. package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
  369. package/lib/components/pay/toB/components/index.d.ts +5 -0
  370. package/lib/components/pay/toB/hooks.d.ts +12 -0
  371. package/lib/components/pay/toB/index.d.ts +3 -0
  372. package/lib/components/pay/toB/locales.d.ts +54 -0
  373. package/lib/components/pay/toB/store/context.d.ts +3 -0
  374. package/lib/components/pay/toB/store/hooks.d.ts +15 -0
  375. package/lib/components/pay/toB/store/index.d.ts +3 -0
  376. package/lib/components/pay/toB/store/provider.d.ts +4 -0
  377. package/lib/components/pay/toB/store/utils.d.ts +13 -0
  378. package/lib/components/pay/toB/types/index.d.ts +1 -0
  379. package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
  380. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  381. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  382. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  383. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  384. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  385. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  386. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  387. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  388. package/lib/components/pay/toC/model.d.ts +9 -1
  389. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  390. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  391. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  392. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  393. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  394. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  395. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  396. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  397. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  398. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  399. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  400. package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
  401. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  402. package/lib/components/productSelect/components/productGroup/index.d.ts +38 -0
  403. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  404. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  405. package/lib/components/schedules/calendar/index.d.ts +1 -0
  406. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  407. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  408. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  409. package/lib/components/schedules/model.d.ts +9 -1
  410. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  411. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  412. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  413. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  414. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  415. package/lib/components/schedules/products/index.d.ts +1 -0
  416. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  417. package/lib/components/schedules/products/list/index.d.ts +1 -0
  418. package/lib/components/schedules/resources/index.d.ts +1 -0
  419. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  420. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  421. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  422. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  423. package/lib/components/schedules/schedules/index.d.ts +1 -0
  424. package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
  425. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  426. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  427. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  428. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  429. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  430. package/lib/components/shoppingCart/index.d.ts +1 -0
  431. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  432. package/lib/components/ticketBooking/components/menuBar/index.d.ts +3 -0
  433. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  434. package/lib/components/ticketBooking/components/timeBar/index.d.ts +13 -0
  435. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  436. package/lib/components/ticketBooking/locales.d.ts +180 -0
  437. package/lib/components/ticketBooking/serve.d.ts +288 -0
  438. package/lib/components/ticketBooking/utils/index.d.ts +62 -0
  439. package/lib/components/wallet/Detail/model.d.ts +13 -1
  440. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  441. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  442. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  443. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  444. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  445. package/lib/components/wallet/model.d.ts +9 -1
  446. package/lib/components/walletList/index.d.ts +28 -0
  447. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  448. package/lib/hooks/useEngineContext.d.ts +3 -0
  449. package/lib/plus/clientCard/locales.d.ts +18 -0
  450. package/lib/plus/clientName/index.d.ts +1 -0
  451. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  452. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  453. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -0
  454. package/lib/plus/clinetSearch/index.d.ts +18 -0
  455. package/lib/pro/comprehensiveSearch/index.d.ts +9 -0
  456. package/lib/pro/comprehensiveSearch/types.d.ts +31 -0
  457. package/lib/pro/pisellPhoneKeyboard/index.d.ts +12 -0
  458. package/lib/pro/skuDetailModal/index.d.ts +5 -0
  459. package/package.json +12 -12
@@ -0,0 +1,10 @@
1
+ import './index.less';
2
+ declare const ToBPayCache: (props: {
3
+ open: boolean;
4
+ title: string;
5
+ uuid: string;
6
+ expect_amount: string;
7
+ onCancel: () => void;
8
+ onOk: (amount: string) => void;
9
+ }) => JSX.Element;
10
+ export default ToBPayCache;
@@ -0,0 +1,7 @@
1
+ import { PayMethod } from '../../types';
2
+ import './index.less';
3
+ declare const ToBPayCard: ({ data, onChange, }: {
4
+ data: PayMethod;
5
+ onChange: (item: PayMethod, type: 'fullPay' | 'pay') => void;
6
+ }) => JSX.Element;
7
+ export default ToBPayCard;
@@ -0,0 +1,7 @@
1
+ import { PayMethod, PayMethodGroup } from '../../types';
2
+ import './index.less';
3
+ declare const ToBPayCardGroup: (props: {
4
+ data: PayMethodGroup;
5
+ onChange: (item: PayMethod, type: 'fullPay' | 'pay') => void;
6
+ }) => JSX.Element;
7
+ export default ToBPayCardGroup;
@@ -0,0 +1,6 @@
1
+ import { Payment } from '../../types';
2
+ import './index.less';
3
+ declare const ConfirmedPayment: (props: {
4
+ data: Payment[];
5
+ }) => JSX.Element;
6
+ export default ConfirmedPayment;
@@ -0,0 +1,7 @@
1
+ declare const ToBPayFooter: (props: {
2
+ loading: boolean;
3
+ submitDisabled: boolean;
4
+ onCancel: () => void;
5
+ onSubmit: () => void;
6
+ }) => JSX.Element;
7
+ export default ToBPayFooter;
@@ -0,0 +1,4 @@
1
+ declare const ToBPayTitle: (props: {
2
+ amount: number | string;
3
+ }) => JSX.Element;
4
+ export default ToBPayTitle;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const ToBPayContent: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
+ export default ToBPayContent;
@@ -0,0 +1,16 @@
1
+ import { Order, PayMethod, PayMethodCode } from '../../types';
2
+ export declare const isEftposPay: (code: PayMethodCode) => boolean;
3
+ /**
4
+ * @title: 处理eftpos支付
5
+ * @description: 处理eftpos支付
6
+ * @param {any} action 引擎action
7
+ * @param {any} params 参数
8
+ * @param {any} successCallback 成功回调
9
+ */
10
+ export declare const handleEftposPay: (action: any, params: {
11
+ payMethod: PayMethod;
12
+ order: Order;
13
+ symbol: string;
14
+ network: any;
15
+ type: string;
16
+ }, successCallback: (res: any) => void) => void;
@@ -0,0 +1,5 @@
1
+ export { default as ToBPayContent } from './Content';
2
+ export { default as ToBPayCard } from './Card';
3
+ export { default as ToBPayCardGroup } from './CardGroup';
4
+ export { default as ConfirmedPayment } from './ConfirmedPayment';
5
+ export { default as ToBPayCache } from './Cache';
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @title: 获取引擎utils
3
+ */
4
+ export declare const useEngineUtils: () => any;
5
+ /**
6
+ * @title: 获取当前的语言
7
+ */
8
+ export declare const useEngineLocale: () => any;
9
+ /**
10
+ * @title: 获取当前的货币符号
11
+ */
12
+ export declare const useSymbol: () => any;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ToBPay: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
3
+ export default ToBPay;
@@ -0,0 +1,54 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'tobPay.text.back': string;
4
+ 'tobPay.text.waitPay': string;
5
+ 'tobPay.text.card.edit.amount': string;
6
+ 'tobPay.text.group.normalPay': string;
7
+ 'tobPay.text.group.thirdPay': string;
8
+ 'tobPay.text.cancel': string;
9
+ 'tobPay.text.submit': string;
10
+ 'tobPay.text.confirmed.payment': string;
11
+ 'tobPay.text.cash.modal.amount.toPay': string;
12
+ 'tobPay.text.cash.modal.input.title': string;
13
+ 'tobPay.text.cash.modal.no.change.given': string;
14
+ 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
15
+ 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
16
+ 'tobPay.text.cash.modal.ok': string;
17
+ 'tobPay.text.payment.with.surcharge': string;
18
+ };
19
+ 'zh-CN': {
20
+ 'tobPay.text.back': string;
21
+ 'tobPay.text.waitPay': string;
22
+ 'tobPay.text.card.edit.amount': string;
23
+ 'tobPay.text.group.normalPay': string;
24
+ 'tobPay.text.group.thirdPay': string;
25
+ 'tobPay.text.cancel': string;
26
+ 'tobPay.text.submit': string;
27
+ 'tobPay.text.confirmed.payment': string;
28
+ 'tobPay.text.cash.modal.amount.toPay': string;
29
+ 'tobPay.text.cash.modal.input.title': string;
30
+ 'tobPay.text.cash.modal.no.change.given': string;
31
+ 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
32
+ 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
33
+ 'tobPay.text.cash.modal.ok': string;
34
+ 'tobPay.text.payment.with.surcharge': string;
35
+ };
36
+ 'zh-HK': {
37
+ 'tobPay.text.back': string;
38
+ 'tobPay.text.waitPay': string;
39
+ 'tobPay.text.card.edit.amount': string;
40
+ 'tobPay.text.group.normalPay': string;
41
+ 'tobPay.text.group.thirdPay': string;
42
+ 'tobPay.text.cancel': string;
43
+ 'tobPay.text.submit': string;
44
+ 'tobPay.text.confirmed.payment': string;
45
+ 'tobPay.text.cash.modal.amount.toPay': string;
46
+ 'tobPay.text.cash.modal.input.title': string;
47
+ 'tobPay.text.cash.modal.no.change.given': string;
48
+ 'tobPay.text.cash.modal.amount.pay.change': (money: string) => string;
49
+ 'tobPay.text.cash.modal.amount.left.pay.paid': (money: string) => string;
50
+ 'tobPay.text.cash.modal.ok': string;
51
+ 'tobPay.text.payment.with.surcharge': string;
52
+ };
53
+ };
54
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { ToBPayContextType } from '../types';
3
+ export declare const ToBPayContext: import("react").Context<ToBPayContextType>;
@@ -0,0 +1,15 @@
1
+ import { ToBPayContextType } from '../types';
2
+ /**
3
+ * 使用商家端支付的Hook
4
+ * @throws {Error} 如果在ToBPayProvider外部使用会抛出错误
5
+ * @returns {ToBPayContextType} 商家端支付上下文
6
+ */
7
+ export declare const useToBPay: () => ToBPayContextType;
8
+ export declare const useOSPayment: () => any;
9
+ /**
10
+ * 使用OS支付的Hook
11
+ */
12
+ export declare const useOSPaymentEffect: () => {
13
+ osPaymentEffectOn: () => void;
14
+ osPaymentEffectOff: () => void;
15
+ };
@@ -0,0 +1,3 @@
1
+ export * from './context';
2
+ export * from './provider';
3
+ export * from './hooks';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const ToBPayProvider: ({ children }: {
3
+ children: React.ReactNode;
4
+ }) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { PayMethod, PayMethodGroup } from '../types';
2
+ /**
3
+ * 处理支付方式列表
4
+ * @param payMethodList 支付方式列表
5
+ * @returns 处理后的支付方式列表
6
+ */
7
+ export declare const handlePayMethodList: (payMethodList: PayMethod[]) => PayMethodGroup[];
8
+ /**
9
+ * inputNumber过滤
10
+ * @param value
11
+ * @returns string
12
+ */
13
+ export declare const limitDecimals: (value: any) => any;
@@ -0,0 +1 @@
1
+ export * from './storeTypes';
@@ -0,0 +1,143 @@
1
+ export interface ToBPayContextType {
2
+ /** 订单 */
3
+ order: Order;
4
+ /** 设置订单 */
5
+ setOrder: (order: Order) => void;
6
+ /** 订单信息 */
7
+ orderInfo: OrderInfo;
8
+ /** 设置订单信息 */
9
+ setOrderInfo: (orderInfo: OrderInfo) => void;
10
+ /** 支付方式列表 */
11
+ payMethodGroupList: PayMethodGroup[];
12
+ /** 设置支付方式列表 */
13
+ setPayMethodGroupList: (payMethodGroupList: PayMethodGroup[]) => void;
14
+ /** 获取支付方式列表 */
15
+ getPayMethodList: () => Promise<void>;
16
+ }
17
+ /**
18
+ * OS支付的订单信息
19
+ */
20
+ export interface Order {
21
+ /** 订单唯一标识 */
22
+ uuid: string;
23
+ /** 订单 id */
24
+ id: number;
25
+ /** 订单信息 */
26
+ order_info: OrderInfo;
27
+ /** 作废的支付项 */
28
+ adjust_offline_payments: any[];
29
+ /** 支付项 */
30
+ payment: Payment[];
31
+ /** 支付状态 */
32
+ payment_status: string;
33
+ /** 税费 */
34
+ tax_fee: string;
35
+ /** 订单总金额 */
36
+ total_amount: string;
37
+ /** 待付金额 */
38
+ expect_amount: string;
39
+ }
40
+ /**
41
+ * 订单信息
42
+ */
43
+ export interface OrderInfo {
44
+ /** 订单 id */
45
+ order_id: number;
46
+ /** 订单总金额 */
47
+ total_amount: string;
48
+ /** 是否是定金订单 */
49
+ is_deposit: 0 | 1;
50
+ /** 定金金额 */
51
+ deposit_amount: string;
52
+ }
53
+ /**
54
+ * 支付方式
55
+ */
56
+ export interface PayMethod {
57
+ /** 支付方式 id */
58
+ id: number;
59
+ /** 店铺 id */
60
+ shop_id: number;
61
+ /** 支付方式代码 */
62
+ code: PayMethodCode;
63
+ /** 支付方式类型 */
64
+ type: string;
65
+ /** 支付方式名称 */
66
+ name: string;
67
+ /** 支付方式描述 */
68
+ description: string;
69
+ /** 支付方式通道 */
70
+ channel_application: string[];
71
+ /** 支付方式状态 */
72
+ status: 0 | 1;
73
+ /** 是否是附加费用 */
74
+ is_surcharge: 0 | 1;
75
+ /** 是否禁用 */
76
+ disable: 0 | 1;
77
+ /** 支付方式公司 */
78
+ companies: any;
79
+ /** 支付方式额外数据 */
80
+ metadata?: {
81
+ order_rounding_switch: number;
82
+ };
83
+ /** 创建时间 */
84
+ created_at: string;
85
+ /** 更新时间 */
86
+ updated_at: string;
87
+ /** 删除时间 */
88
+ deleted_at: string | null;
89
+ /** 固定费用 */
90
+ fixed: string;
91
+ /** 百分比费用 */
92
+ percentage: string;
93
+ }
94
+ export declare enum PayMethodCode {
95
+ /** 现金支付 */
96
+ CASHMANUAL = "CASHMANUAL",
97
+ /** eftpos payo */
98
+ EFTPOS_PAYO = "EFTPOS_PAYO",
99
+ /** eftpos windcave */
100
+ EFTPOS_WINDCAVE = "EFTPOS_WINDCAVE",
101
+ /** eftpos tyro */
102
+ EFTPOS_TYRO = "EFTPOS_TYRO",
103
+ /** eftpos linkly */
104
+ EFTPOS_LINKLY = "EFTPOS_LINKLY"
105
+ }
106
+ export interface PayMethodGroup {
107
+ title: string;
108
+ list: PayMethod[];
109
+ }
110
+ /**
111
+ * 已经支付的信息
112
+ */
113
+ export interface Payment {
114
+ /** 当前支付项的唯一 ID,用于标记支付项的唯一性 */
115
+ uuid: string;
116
+ /** 当前支付方式付出去多少钱 */
117
+ amount: number;
118
+ /** 支付类型,跟支付列表上对应的支付方式保持一致 */
119
+ code: PayMethodCode;
120
+ /** 支付类型id,跟支付列表上对应的支付方式保持一致 */
121
+ id: number;
122
+ /** 支付类型id,跟支付列表上对应的支付方式保持一致 */
123
+ name: string;
124
+ /** 支付类型type,跟支付列表上对应的支付方式保持一致 */
125
+ type: string;
126
+ /** 代金券、充值卡、积分卡 等wallet pass id,通过order/deduction 查出来的,本期都为空 */
127
+ voucher_id?: string | null;
128
+ /** 该支付项是否已经同步给后端 */
129
+ isSynced?: boolean;
130
+ /** 支付时间 */
131
+ created_at?: string;
132
+ /** 支付方式额外数据 */
133
+ metadata?: {
134
+ unique_payment_number: string;
135
+ };
136
+ /** 手续费 */
137
+ service_charge?: {
138
+ /** 手续费百分比 */
139
+ percentage?: number | string;
140
+ /** 手续费固定金额 */
141
+ amount?: number | string;
142
+ };
143
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare type PaymentStatusProps = {
4
+ onChange: (status: 'succeeded' | 'processing' | 'requires_payment_method' | 'error') => void;
5
+ };
6
+ declare const PaymentStatus: React.FC<PaymentStatusProps>;
7
+ export default PaymentStatus;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const StripePayment: () => JSX.Element;
3
+ 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;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const PageLoading: () => JSX.Element;
3
+ export default PageLoading;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const PaymentRequestForm: () => JSX.Element | null;
3
+ export default PaymentRequestForm;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
3
4
  export default SetupForm;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.module.less';
2
3
  declare const StripePayment: () => JSX.Element;
3
4
  export default StripePayment;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -28,4 +29,11 @@ export interface PayGroup {
28
29
  pay_number?: string;
29
30
  _order: any;
30
31
  }
31
- export declare const Provider: any, Context: any;
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
+ }>;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -0,0 +1,2 @@
1
+ declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
+ export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddClientProps {
3
4
  onChange: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface CustomerListProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const Actor: ({ name }: {
2
3
  name: string;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface InfoProps {
2
3
  relation_id: any;
3
4
  action: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItemPreview;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -0,0 +1,2 @@
1
+ declare const TabProduct: (props: any) => JSX.Element;
2
+ export default TabProduct;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ value: string | number;
4
+ isMini?: boolean;
5
+ className?: string;
6
+ style?: React.CSSProperties;
7
+ prefix?: React.ReactElement;
8
+ suffix?: React.ReactElement;
9
+ }
10
+ declare const index: (props: IProps) => JSX.Element;
11
+ export default index;
@@ -0,0 +1,38 @@
1
+ import './index.less';
2
+ declare type BoolConfigVal = 0 | 1;
3
+ export interface ProductCardConfig {
4
+ isProductCover: BoolConfigVal;
5
+ imgWidth: string;
6
+ imgHeight: string;
7
+ radius?: number;
8
+ isTitle: BoolConfigVal;
9
+ isSubtitle: BoolConfigVal;
10
+ showSpec: boolean;
11
+ isTag: BoolConfigVal;
12
+ isPrice: BoolConfigVal;
13
+ isOriginPrice: BoolConfigVal;
14
+ showZeroPrice: boolean;
15
+ showMarketingTag: boolean;
16
+ showRemark: boolean;
17
+ isStock: BoolConfigVal;
18
+ list_max_length: 0 | 1;
19
+ }
20
+ interface ProductGroupProps {
21
+ data: {
22
+ icon: string;
23
+ id: number;
24
+ name: string;
25
+ products: any[];
26
+ slug: string;
27
+ sort: number;
28
+ };
29
+ layout: {
30
+ grid: boolean;
31
+ config?: string;
32
+ };
33
+ onSelectProduct?: (id: number) => void;
34
+ currentProductId?: number;
35
+ }
36
+ declare const ProductGroup: ({ data, layout, onSelectProduct, currentProductId, isProductCover, imgWidth, imgHeight, radius, isTitle, isSubtitle, showSpec, isTag, isPrice, isOriginPrice, showZeroPrice, showMarketingTag, showRemark, isStock, }: ProductGroupProps & ProductCardConfig) => JSX.Element;
37
+ export declare const ProductGroupSkeleton: ({ layout }: any) => JSX.Element;
38
+ export default ProductGroup;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from "../type";
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Calendar: () => JSX.Element;
3
4
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type CurrentDayProps = {
3
4
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from "../../type";
2
3
  import "./index.less";
3
4
  declare type ScheduleDetailListPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
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
+ }>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ResourcesModule: ({ product }: {
2
3
  product: any;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetail: ({ form, currentProduct, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailByDate: () => JSX.Element;
3
4
  export default ProductDetailByDate;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Products: () => JSX.Element;
3
4
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ProductListProps {
3
4
  loading: boolean;