@pisell/private-materials 3.3.13 → 3.3.15

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 (553) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +2 -2
  6. package/build/lowcode/view.js +2 -2
  7. package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
  8. package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
  9. package/es/businessModel/SalesModel/index.d.ts +4 -0
  10. package/es/businessModel/index.d.ts +0 -0
  11. package/es/components/Sales/Cart/index.d.ts +53 -0
  12. package/es/components/Sales/Cart/serve.d.ts +2 -0
  13. package/es/components/Sales/Cart/types.d.ts +19 -0
  14. package/es/components/Sales/Checkout/index.d.ts +33 -0
  15. package/es/components/Sales/Checkout/serve.d.ts +2 -0
  16. package/es/components/Sales/Checkout/utils.d.ts +27 -0
  17. package/es/components/Sales/Customer/index.d.ts +24 -0
  18. package/es/components/Sales/Event/Detail.d.ts +27 -0
  19. package/es/components/Sales/Event/index.d.ts +30 -0
  20. package/es/components/Sales/Event/serve.d.ts +26 -0
  21. package/es/components/Sales/Holder/index.d.ts +33 -0
  22. package/es/components/Sales/Holder/serve.d.ts +8 -0
  23. package/es/components/Sales/Init/index.d.ts +24 -0
  24. package/es/components/Sales/Init/serve.d.ts +3 -0
  25. package/es/components/Sales/Resource/index.d.ts +26 -0
  26. package/es/components/Sales/Resource/serve.d.ts +5 -0
  27. package/es/components/Sales/Step/index.d.ts +37 -0
  28. package/es/components/Sales/Summary/index.d.ts +25 -0
  29. package/es/components/Sales/Summary/serve.d.ts +0 -0
  30. package/es/components/Sales/Summary/utils.d.ts +36 -0
  31. package/es/components/Sales/hooks/index.d.ts +1 -0
  32. package/es/components/Sales/index.d.ts +20 -0
  33. package/es/components/Sales/utils/index.d.ts +1 -0
  34. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  35. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  36. package/es/components/appointmentBooking/components/Date/state.d.ts +62 -0
  37. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  38. package/es/components/appointmentBooking/components/Services/index.js +2 -2
  39. package/es/components/appointmentBooking/index.d.ts +1 -0
  40. package/es/components/appointmentBooking/locales.d.ts +345 -0
  41. package/es/components/appointmentBooking/mock.d.ts +627 -0
  42. package/es/components/appointmentBooking/status.d.ts +21 -0
  43. package/es/components/appointmentBooking/type.d.ts +17 -0
  44. package/es/components/booking/addons/index.d.ts +17 -0
  45. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  46. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  47. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  48. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  49. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  50. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  51. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  52. package/es/components/booking/components/footer/amount.d.ts +23 -0
  53. package/es/components/booking/components/footer/index.d.ts +12 -0
  54. package/es/components/booking/components/footer/serve.d.ts +3 -0
  55. package/es/components/booking/components/footer/utils.d.ts +30 -0
  56. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  57. package/es/components/booking/deposit/DepositItem/index.js +1 -0
  58. package/es/components/booking/deposit/index.d.ts +1 -0
  59. package/es/components/booking/forms/index.d.ts +9 -0
  60. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  61. package/es/components/booking/forms/serve.d.ts +18 -0
  62. package/es/components/booking/forms/single/index.d.ts +1 -0
  63. package/es/components/booking/forms/table/index.d.ts +1 -0
  64. package/es/components/booking/hooks/useCreateBookingPageHeader.d.ts +6 -0
  65. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  66. package/es/components/booking/info/Provider.d.ts +0 -0
  67. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  68. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  69. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  70. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  71. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  72. package/es/components/booking/info/date/index.d.ts +1 -0
  73. package/es/components/booking/info/header/index.d.ts +1 -0
  74. package/es/components/booking/info/hooks/useAddHolder.d.ts +2 -0
  75. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  76. package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  77. package/es/components/booking/info/index.d.ts +4 -0
  78. package/es/components/booking/info/main.d.ts +12 -0
  79. package/es/components/booking/info/model.d.ts +14 -0
  80. package/es/components/booking/info/notes/index.d.ts +1 -0
  81. package/es/components/booking/info/pet/index.d.ts +14 -0
  82. package/es/components/booking/info/service/Lists.d.ts +3 -0
  83. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  84. package/es/components/booking/info/service/addService/index.d.ts +12 -0
  85. package/es/components/booking/info/service/addService/utils.d.ts +71 -0
  86. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  87. package/es/components/booking/info/service/editService/EditTabs/index.d.ts +3 -0
  88. package/es/components/booking/info/service/index.d.ts +4 -0
  89. package/es/components/booking/info/service/like/index.d.ts +1 -0
  90. package/es/components/booking/info/service/serve.d.ts +11 -0
  91. package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
  92. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  93. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  94. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  95. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  96. package/es/components/booking/info/service2/Lists.d.ts +3 -0
  97. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
  98. package/es/components/booking/info/service2/index.d.ts +6 -0
  99. package/es/components/booking/info/service2/status.d.ts +31 -0
  100. package/es/components/booking/info/service2/utils.d.ts +241 -0
  101. package/es/components/booking/info/utils.js +1 -1
  102. package/es/components/booking/info2/index.d.ts +12 -0
  103. package/es/components/booking/info2/serve.d.ts +6 -0
  104. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  105. package/es/components/booking/info2/service/addService/index.d.ts +12 -0
  106. package/es/components/booking/info2/service/addService/utils.d.ts +88 -0
  107. package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  108. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  109. package/es/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
  110. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  111. package/es/components/booking/info2/service/index.d.ts +4 -0
  112. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  113. package/es/components/booking/info2/utils.d.ts +4 -0
  114. package/es/components/booking/info2/utils.js +2 -1
  115. package/es/components/booking/info2/utilsByBooking.d.ts +34 -0
  116. package/es/components/booking/locales.d.ts +786 -0
  117. package/es/components/booking/materiels/contacts/index.d.ts +16 -0
  118. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  119. package/es/components/booking/materiels/holder/index.d.ts +7 -0
  120. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  121. package/es/components/booking/model.d.ts +115 -0
  122. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  123. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  124. package/es/components/booking/notes/addNote/index.d.ts +4 -0
  125. package/es/components/booking/payments/index.d.ts +9 -0
  126. package/es/components/booking/utils.d.ts +172 -0
  127. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  128. package/es/components/eftpos/form/index.d.ts +1 -0
  129. package/es/components/eftpos/group/index.d.ts +1 -0
  130. package/es/components/eftpos/hooks.d.ts +1 -0
  131. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  132. package/es/components/eftpos/icon/device.d.ts +1 -0
  133. package/es/components/eftpos/index.d.ts +47 -0
  134. package/es/components/eftpos/pos.d.ts +1 -0
  135. package/es/components/eftpos/receipt/index.d.ts +1 -0
  136. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  137. package/es/components/eftposPay/amount.d.ts +2 -1
  138. package/es/components/eftposPay/app.d.ts +1 -0
  139. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  140. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  141. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  142. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  143. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  144. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  145. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  146. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  147. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  148. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  149. package/es/components/eftposPay/device.d.ts +2 -1
  150. package/es/components/eftposPay/hooks.d.ts +2 -2
  151. package/es/components/eftposPay/index.d.ts +5 -0
  152. package/es/components/eftposPay/pay.d.ts +1 -0
  153. package/es/components/eftposPay/payo/config.d.ts +1 -0
  154. package/es/components/eftposPay/store/index.d.ts +4 -4
  155. package/es/components/eftposPay/tip.d.ts +1 -0
  156. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  157. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  158. package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
  159. package/es/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
  160. package/es/components/eventBooking/components/Provider/Header/index.d.ts +4 -0
  161. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +3 -0
  162. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
  163. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
  164. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
  165. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
  166. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  167. package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
  168. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  169. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
  170. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
  171. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
  172. package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +13 -0
  173. package/es/components/eventBooking/index.d.ts +4 -0
  174. package/es/components/eventBooking/locales.d.ts +216 -0
  175. package/es/components/eventBooking/mock.d.ts +627 -0
  176. package/es/components/eventBooking/status.d.ts +21 -0
  177. package/es/components/eventBooking/type.d.ts +17 -0
  178. package/es/components/eventBooking/utils.d.ts +45 -0
  179. package/es/components/index.d.ts +18 -0
  180. package/es/components/login/index.d.ts +9 -0
  181. package/es/components/login/locales.d.ts +24 -0
  182. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  183. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  184. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  185. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  186. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  187. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  188. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  189. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  190. package/es/components/pay/toC/serve.d.ts +34 -0
  191. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  192. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  193. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  194. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  195. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  196. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  197. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  198. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  199. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  200. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  201. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  202. package/es/components/productExtension/index.d.ts +8 -0
  203. package/es/components/productSelect/hooks/useToken.d.ts +18 -0
  204. package/es/components/productSelect/locales.d.ts +18 -0
  205. package/es/components/productSelect/mock.d.ts +134 -0
  206. package/es/components/productSelect/theme/token.d.ts +17 -0
  207. package/es/components/ruleSetting/index.d.ts +10 -0
  208. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  209. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  210. package/es/components/schedules/calendar/index.d.ts +1 -0
  211. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  212. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  213. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  214. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  215. package/es/components/schedules/index.d.ts +3 -0
  216. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  217. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  218. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  219. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  220. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  221. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  222. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  223. package/es/components/schedules/products/index.d.ts +1 -0
  224. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  225. package/es/components/schedules/products/list/index.d.ts +1 -0
  226. package/es/components/schedules/resources/index.d.ts +1 -0
  227. package/es/components/schedules/resources/list/index.d.ts +1 -0
  228. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  229. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  230. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  231. package/es/components/schedules/schedules/index.d.ts +1 -0
  232. package/es/components/shoppingCart/Provider.d.ts +3 -0
  233. package/es/components/shoppingCart/components/Empty/index.d.ts +4 -0
  234. package/es/components/shoppingCart/components/Render/index.d.ts +4 -0
  235. package/es/components/shoppingCart/hooks/useContext.d.ts +1 -0
  236. package/es/components/shoppingCart/index.d.ts +4 -0
  237. package/es/components/shoppingCart/locales.d.ts +33 -0
  238. package/es/components/shoppingCart/mock.d.ts +40 -0
  239. package/es/components/shoppingCart/status.d.ts +2 -0
  240. package/es/components/shoppingCart/type.d.ts +48 -0
  241. package/es/components/shoppingCart/utils.d.ts +63 -0
  242. package/es/components/subTotal/locales.d.ts +42 -0
  243. package/es/components/taxSelect/index.d.ts +12 -0
  244. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  245. package/es/components/ticketBooking/components/menuBar/index.d.ts +4 -0
  246. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  247. package/es/components/ticketBooking/data.d.ts +58 -0
  248. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  249. package/es/components/ticketBooking/index.d.ts +4 -0
  250. package/es/components/ticketBooking/locales.d.ts +144 -0
  251. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  252. package/es/components/ticketBooking/serve.d.ts +282 -0
  253. package/es/components/ticketBooking/utils/index.d.ts +14 -0
  254. package/es/components/wallet/Detail/locales.d.ts +96 -0
  255. package/es/components/wallet/Detail/model.d.ts +13 -0
  256. package/es/components/wallet/Detail/serve.d.ts +39 -0
  257. package/es/components/wallet/DetailContext.d.ts +25 -0
  258. package/es/components/wallet/DiscountCard/model.d.ts +14 -0
  259. package/es/components/wallet/PointCard/model.d.ts +13 -0
  260. package/es/components/wallet/RechargeableCard/model.d.ts +29 -0
  261. package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
  262. package/es/components/wallet/Voucher/locales.d.ts +21 -0
  263. package/es/components/wallet/Voucher/model.d.ts +13 -0
  264. package/es/components/wallet/components/FooterButtons/index.d.ts +18 -0
  265. package/es/components/wallet/components/index.d.ts +2 -0
  266. package/es/components/wallet/hooks/useWalletCard.d.ts +34 -0
  267. package/es/components/wallet/locales.d.ts +132 -0
  268. package/es/components/wallet/model.d.ts +37 -0
  269. package/es/components/wallet/serve.d.ts +143 -0
  270. package/es/components/wallet/utils/formatUtils.d.ts +36 -0
  271. package/es/components/walletList/model.d.ts +6 -0
  272. package/es/components/walletList/serve.d.ts +12 -0
  273. package/es/components/walletList/types/index.d.ts +194 -0
  274. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  275. package/es/hooks/useEngineContext.d.ts +10 -0
  276. package/es/index.d.ts +45 -0
  277. package/es/utils/locales.d.ts +1 -0
  278. package/es/utils/tasks/index.d.ts +16 -0
  279. package/es/utils/tasks/type.d.ts +4 -0
  280. package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
  281. package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
  282. package/lib/businessModel/SalesModel/index.d.ts +4 -0
  283. package/lib/businessModel/index.d.ts +0 -0
  284. package/lib/components/Sales/Cart/index.d.ts +53 -0
  285. package/lib/components/Sales/Cart/serve.d.ts +2 -0
  286. package/lib/components/Sales/Cart/types.d.ts +19 -0
  287. package/lib/components/Sales/Checkout/index.d.ts +33 -0
  288. package/lib/components/Sales/Checkout/serve.d.ts +2 -0
  289. package/lib/components/Sales/Checkout/utils.d.ts +27 -0
  290. package/lib/components/Sales/Customer/index.d.ts +24 -0
  291. package/lib/components/Sales/Event/Detail.d.ts +27 -0
  292. package/lib/components/Sales/Event/index.d.ts +30 -0
  293. package/lib/components/Sales/Event/serve.d.ts +26 -0
  294. package/lib/components/Sales/Holder/index.d.ts +33 -0
  295. package/lib/components/Sales/Holder/serve.d.ts +8 -0
  296. package/lib/components/Sales/Init/index.d.ts +24 -0
  297. package/lib/components/Sales/Init/serve.d.ts +3 -0
  298. package/lib/components/Sales/Resource/index.d.ts +26 -0
  299. package/lib/components/Sales/Resource/serve.d.ts +5 -0
  300. package/lib/components/Sales/Step/index.d.ts +37 -0
  301. package/lib/components/Sales/Summary/index.d.ts +25 -0
  302. package/lib/components/Sales/Summary/serve.d.ts +0 -0
  303. package/lib/components/Sales/Summary/utils.d.ts +36 -0
  304. package/lib/components/Sales/hooks/index.d.ts +1 -0
  305. package/lib/components/Sales/index.d.ts +20 -0
  306. package/lib/components/Sales/utils/index.d.ts +1 -0
  307. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  308. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  309. package/lib/components/appointmentBooking/components/Date/state.d.ts +62 -0
  310. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  311. package/lib/components/appointmentBooking/components/Services/index.js +1 -1
  312. package/lib/components/appointmentBooking/index.d.ts +1 -0
  313. package/lib/components/appointmentBooking/locales.d.ts +345 -0
  314. package/lib/components/appointmentBooking/mock.d.ts +627 -0
  315. package/lib/components/appointmentBooking/status.d.ts +21 -0
  316. package/lib/components/appointmentBooking/type.d.ts +17 -0
  317. package/lib/components/booking/addons/index.d.ts +17 -0
  318. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  319. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  320. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  321. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  322. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  323. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  324. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  325. package/lib/components/booking/components/footer/amount.d.ts +23 -0
  326. package/lib/components/booking/components/footer/index.d.ts +12 -0
  327. package/lib/components/booking/components/footer/serve.d.ts +3 -0
  328. package/lib/components/booking/components/footer/utils.d.ts +30 -0
  329. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  330. package/lib/components/booking/deposit/DepositItem/index.js +1 -0
  331. package/lib/components/booking/deposit/index.d.ts +1 -0
  332. package/lib/components/booking/forms/index.d.ts +9 -0
  333. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  334. package/lib/components/booking/forms/serve.d.ts +18 -0
  335. package/lib/components/booking/forms/single/index.d.ts +1 -0
  336. package/lib/components/booking/forms/table/index.d.ts +1 -0
  337. package/lib/components/booking/hooks/useCreateBookingPageHeader.d.ts +6 -0
  338. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  339. package/lib/components/booking/info/Provider.d.ts +0 -0
  340. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  341. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  342. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  343. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  344. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  345. package/lib/components/booking/info/date/index.d.ts +1 -0
  346. package/lib/components/booking/info/header/index.d.ts +1 -0
  347. package/lib/components/booking/info/hooks/useAddHolder.d.ts +2 -0
  348. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  349. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  350. package/lib/components/booking/info/index.d.ts +4 -0
  351. package/lib/components/booking/info/main.d.ts +12 -0
  352. package/lib/components/booking/info/model.d.ts +14 -0
  353. package/lib/components/booking/info/notes/index.d.ts +1 -0
  354. package/lib/components/booking/info/pet/index.d.ts +14 -0
  355. package/lib/components/booking/info/service/Lists.d.ts +3 -0
  356. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  357. package/lib/components/booking/info/service/addService/index.d.ts +12 -0
  358. package/lib/components/booking/info/service/addService/utils.d.ts +71 -0
  359. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  360. package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +3 -0
  361. package/lib/components/booking/info/service/index.d.ts +4 -0
  362. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  363. package/lib/components/booking/info/service/serve.d.ts +11 -0
  364. package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
  365. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  366. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  367. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  368. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  369. package/lib/components/booking/info/service2/Lists.d.ts +3 -0
  370. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
  371. package/lib/components/booking/info/service2/index.d.ts +6 -0
  372. package/lib/components/booking/info/service2/status.d.ts +31 -0
  373. package/lib/components/booking/info/service2/utils.d.ts +241 -0
  374. package/lib/components/booking/info/utils.js +1 -1
  375. package/lib/components/booking/info2/index.d.ts +12 -0
  376. package/lib/components/booking/info2/serve.d.ts +6 -0
  377. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  378. package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
  379. package/lib/components/booking/info2/service/addService/utils.d.ts +88 -0
  380. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  381. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  382. package/lib/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
  383. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  384. package/lib/components/booking/info2/service/index.d.ts +4 -0
  385. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  386. package/lib/components/booking/info2/utils.d.ts +4 -0
  387. package/lib/components/booking/info2/utils.js +2 -1
  388. package/lib/components/booking/info2/utilsByBooking.d.ts +34 -0
  389. package/lib/components/booking/locales.d.ts +786 -0
  390. package/lib/components/booking/materiels/contacts/index.d.ts +16 -0
  391. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  392. package/lib/components/booking/materiels/holder/index.d.ts +7 -0
  393. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  394. package/lib/components/booking/model.d.ts +115 -0
  395. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  396. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  397. package/lib/components/booking/notes/addNote/index.d.ts +4 -0
  398. package/lib/components/booking/payments/index.d.ts +9 -0
  399. package/lib/components/booking/utils.d.ts +172 -0
  400. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  401. package/lib/components/eftpos/form/index.d.ts +1 -0
  402. package/lib/components/eftpos/group/index.d.ts +1 -0
  403. package/lib/components/eftpos/hooks.d.ts +1 -0
  404. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  405. package/lib/components/eftpos/icon/device.d.ts +1 -0
  406. package/lib/components/eftpos/index.d.ts +47 -0
  407. package/lib/components/eftpos/pos.d.ts +1 -0
  408. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  409. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  410. package/lib/components/eftposPay/amount.d.ts +2 -1
  411. package/lib/components/eftposPay/app.d.ts +1 -0
  412. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  413. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  414. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  415. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  416. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  417. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  418. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  419. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  420. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  421. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  422. package/lib/components/eftposPay/device.d.ts +2 -1
  423. package/lib/components/eftposPay/hooks.d.ts +2 -2
  424. package/lib/components/eftposPay/index.d.ts +5 -0
  425. package/lib/components/eftposPay/pay.d.ts +1 -0
  426. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  427. package/lib/components/eftposPay/store/index.d.ts +4 -4
  428. package/lib/components/eftposPay/tip.d.ts +1 -0
  429. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  430. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  431. package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
  432. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
  433. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +4 -0
  434. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +3 -0
  435. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
  436. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
  437. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
  438. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
  439. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  440. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
  441. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  442. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
  443. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
  444. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
  445. package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +13 -0
  446. package/lib/components/eventBooking/index.d.ts +4 -0
  447. package/lib/components/eventBooking/locales.d.ts +216 -0
  448. package/lib/components/eventBooking/mock.d.ts +627 -0
  449. package/lib/components/eventBooking/status.d.ts +21 -0
  450. package/lib/components/eventBooking/type.d.ts +17 -0
  451. package/lib/components/eventBooking/utils.d.ts +45 -0
  452. package/lib/components/index.d.ts +18 -0
  453. package/lib/components/login/index.d.ts +9 -0
  454. package/lib/components/login/locales.d.ts +24 -0
  455. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  456. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  457. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  458. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  459. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  460. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  461. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  462. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  463. package/lib/components/pay/toC/serve.d.ts +34 -0
  464. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  465. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  466. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  467. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  468. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  469. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  470. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  471. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  472. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  473. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  474. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  475. package/lib/components/productExtension/index.d.ts +8 -0
  476. package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
  477. package/lib/components/productSelect/locales.d.ts +18 -0
  478. package/lib/components/productSelect/mock.d.ts +134 -0
  479. package/lib/components/productSelect/theme/token.d.ts +17 -0
  480. package/lib/components/ruleSetting/index.d.ts +10 -0
  481. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  482. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  483. package/lib/components/schedules/calendar/index.d.ts +1 -0
  484. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  485. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  486. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  487. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  488. package/lib/components/schedules/index.d.ts +3 -0
  489. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  490. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  491. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  492. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  493. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  494. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  495. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  496. package/lib/components/schedules/products/index.d.ts +1 -0
  497. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  498. package/lib/components/schedules/products/list/index.d.ts +1 -0
  499. package/lib/components/schedules/resources/index.d.ts +1 -0
  500. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  501. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  502. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  503. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  504. package/lib/components/schedules/schedules/index.d.ts +1 -0
  505. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  506. package/lib/components/shoppingCart/components/Empty/index.d.ts +4 -0
  507. package/lib/components/shoppingCart/components/Render/index.d.ts +4 -0
  508. package/lib/components/shoppingCart/hooks/useContext.d.ts +1 -0
  509. package/lib/components/shoppingCart/index.d.ts +4 -0
  510. package/lib/components/shoppingCart/locales.d.ts +33 -0
  511. package/lib/components/shoppingCart/mock.d.ts +40 -0
  512. package/lib/components/shoppingCart/status.d.ts +2 -0
  513. package/lib/components/shoppingCart/type.d.ts +48 -0
  514. package/lib/components/shoppingCart/utils.d.ts +63 -0
  515. package/lib/components/subTotal/locales.d.ts +42 -0
  516. package/lib/components/taxSelect/index.d.ts +12 -0
  517. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  518. package/lib/components/ticketBooking/components/menuBar/index.d.ts +4 -0
  519. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  520. package/lib/components/ticketBooking/data.d.ts +58 -0
  521. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  522. package/lib/components/ticketBooking/index.d.ts +4 -0
  523. package/lib/components/ticketBooking/locales.d.ts +144 -0
  524. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  525. package/lib/components/ticketBooking/serve.d.ts +282 -0
  526. package/lib/components/ticketBooking/utils/index.d.ts +14 -0
  527. package/lib/components/wallet/Detail/locales.d.ts +96 -0
  528. package/lib/components/wallet/Detail/model.d.ts +13 -0
  529. package/lib/components/wallet/Detail/serve.d.ts +39 -0
  530. package/lib/components/wallet/DetailContext.d.ts +25 -0
  531. package/lib/components/wallet/DiscountCard/model.d.ts +14 -0
  532. package/lib/components/wallet/PointCard/model.d.ts +13 -0
  533. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -0
  534. package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
  535. package/lib/components/wallet/Voucher/locales.d.ts +21 -0
  536. package/lib/components/wallet/Voucher/model.d.ts +13 -0
  537. package/lib/components/wallet/components/FooterButtons/index.d.ts +18 -0
  538. package/lib/components/wallet/components/index.d.ts +2 -0
  539. package/lib/components/wallet/hooks/useWalletCard.d.ts +34 -0
  540. package/lib/components/wallet/locales.d.ts +132 -0
  541. package/lib/components/wallet/model.d.ts +37 -0
  542. package/lib/components/wallet/serve.d.ts +143 -0
  543. package/lib/components/wallet/utils/formatUtils.d.ts +36 -0
  544. package/lib/components/walletList/model.d.ts +6 -0
  545. package/lib/components/walletList/serve.d.ts +12 -0
  546. package/lib/components/walletList/types/index.d.ts +194 -0
  547. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  548. package/lib/hooks/useEngineContext.d.ts +10 -0
  549. package/lib/index.d.ts +45 -0
  550. package/lib/utils/locales.d.ts +1 -0
  551. package/lib/utils/tasks/index.d.ts +16 -0
  552. package/lib/utils/tasks/type.d.ts +4 -0
  553. package/package.json +3 -3
@@ -0,0 +1,282 @@
1
+ /**
2
+ * @title: 获取客户列表
3
+ * @description: 获取客户列表
4
+ * @param {any} params
5
+ * @return {*}
6
+ * @Author: cong.shao
7
+ * @Date: 2025-04-24 16:28
8
+ */
9
+ export declare const getClients: (params: any) => Promise<any>;
10
+ /**
11
+ * @title: 获取服务列表
12
+ * @description: 查询服务列表
13
+ * @param {any} params
14
+ * @return {*}
15
+ * @Author: cong.shao
16
+ * @Date: 2025-04-24 16:28
17
+ */
18
+ export declare const getServices: (params: any) => Promise<any>;
19
+ /**
20
+ * @title: 获取资源列表
21
+ * @description: 资源列表
22
+ * @param {any} params
23
+ * @return {*}
24
+ * @Author: cong.shao
25
+ * @Date: 2025-04-24 16:28
26
+ */
27
+ export declare const getResources: (params: any) => Promise<any>;
28
+ /**
29
+ * @title: 获取产品列表
30
+ * @description: 查询产品列表
31
+ * @param {any} params
32
+ * @return {*}
33
+ * @Author: cong.shao
34
+ * @Date: 2025-04-24 16:28
35
+ */
36
+ export declare const getProducts: (params: any) => Promise<any>;
37
+ /**
38
+ * @title: 获取表单列表
39
+ * @description: 获取关联记录表单列表
40
+ * @param {any} params
41
+ * @return {*}
42
+ * @Author: cong.shao
43
+ * @Date: 2025-04-24 16:28
44
+ */
45
+ export declare const getForms: (params: any) => Promise<any>;
46
+ /**
47
+ * @title: 获取预约配置
48
+ * @description: 获取预约相关配置信息
49
+ * @param {any} params
50
+ * @return {*}
51
+ * @Author: cong.shao
52
+ * @Date: 2025-04-24 16:28
53
+ */
54
+ export declare const getBookingConfig: (params: any) => Promise<any>;
55
+ /**
56
+ * @title: 获取宠物信息
57
+ * @description: 根据ID获取宠物信息
58
+ * @param {string} formId
59
+ * @param {any} params
60
+ * @return {*}
61
+ * @Author: cong.shao
62
+ * @Date: 2025-04-24 16:28
63
+ */
64
+ export declare const getPets: (formId: string, params: any) => Promise<any>;
65
+ /**
66
+ * @title: 获取宠物数据
67
+ * @description: 获取宠物数据
68
+ * @param {any} params
69
+ * @return {*}
70
+ * @Author: cong.shao
71
+ * @Date: 2025-04-24 16:28
72
+ */
73
+ export declare const getPetsData: (params: any) => Promise<any>;
74
+ /**
75
+ * @title: 创建预约
76
+ * @description: 创建新的预约记录
77
+ * @param {any} params
78
+ * @return {*}
79
+ * @Author: cong.shao
80
+ * @Date: 2025-04-24 16:28
81
+ */
82
+ export declare const createBooking: (params: any) => Promise<any>;
83
+ /**
84
+ * @title: 获取预约附加服务
85
+ * @description: 根据预约ID获取附加服务信息
86
+ * @param {string} bookingId
87
+ * @param {any} params
88
+ * @return {*}
89
+ * @Author: cong.shao
90
+ * @Date: 2025-04-24 16:28
91
+ */
92
+ export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
93
+ /**
94
+ * @title: 保存预约附加服务
95
+ * @description: 保存预约的附加服务信息
96
+ * @param {string} bookingId
97
+ * @param {any} params
98
+ * @return {*}
99
+ * @Author: cong.shao
100
+ * @Date: 2025-04-24 16:28
101
+ */
102
+ export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
103
+ /**
104
+ * @title: 获取预约详情
105
+ * @description: 获取预约详细信息
106
+ * @param {number} bookingId
107
+ * @param {any} params
108
+ * @return {*}
109
+ * @Author: cong.shao
110
+ * @Date: 2025-04-24 16:28
111
+ */
112
+ export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
113
+ /**
114
+ * @title: 编辑预约状态
115
+ * @description: 更新预约状态
116
+ * @param {string} bookingId
117
+ * @param {any} params
118
+ * @return {*}
119
+ * @Author: cong.shao
120
+ * @Date: 2025-04-24 16:28
121
+ */
122
+ export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
123
+ /**
124
+ * @title: 编辑预约信息
125
+ * @description: 更新预约信息
126
+ * @param {string} bookingId
127
+ * @param {any} params
128
+ * @return {*}
129
+ * @Author: cong.shao
130
+ * @Date: 2025-04-24 16:28
131
+ */
132
+ export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
133
+ /**
134
+ * @title: 获取预约备注
135
+ * @description: 获取预约相关备注信息
136
+ * @param {any} params
137
+ * @return {*}
138
+ * @Author: cong.shao
139
+ * @Date: 2025-04-24 16:28
140
+ */
141
+ export declare const getNotesByOrder: (params: any) => Promise<any>;
142
+ /**
143
+ * @title: 添加预约备注
144
+ * @description: 添加预约相关备注
145
+ * @param {any} params
146
+ * @return {*}
147
+ * @Author: cong.shao
148
+ * @Date: 2025-04-24 16:28
149
+ */
150
+ export declare const addNotesByOrder: (params: any) => Promise<any>;
151
+ /**
152
+ * @title: 编辑预约备注
153
+ * @description: 更新预约备注信息
154
+ * @param {string} bookingId
155
+ * @param {any} params
156
+ * @return {*}
157
+ * @Author: cong.shao
158
+ * @Date: 2025-04-24 16:28
159
+ */
160
+ export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
161
+ /**
162
+ * @title: 删除预约备注
163
+ * @description: 删除预约相关备注
164
+ * @param {string} bookingId
165
+ * @param {any} params
166
+ * @return {*}
167
+ * @Author: cong.shao
168
+ * @Date: 2025-04-24 16:28
169
+ */
170
+ export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
171
+ /**
172
+ * @title: 保存预约表单数据
173
+ * @description: 保存预约相关的表单数据
174
+ * @param {any} params
175
+ * @return {*}
176
+ * @Author: cong.shao
177
+ * @Date: 2025-04-24 16:28
178
+ */
179
+ export declare const saveBookingFormData: (params: any) => Promise<any>;
180
+ /**
181
+ * @title: 获取支付列表
182
+ * @description: 获取支付相关列表数据
183
+ * @param {any} params
184
+ * @return {*}
185
+ * @Author: cong.shao
186
+ * @Date: 2025-04-24 16:28
187
+ */
188
+ export declare const getPaymentList: (params: any) => Promise<any>;
189
+ /**
190
+ * @title: 编辑订单备注
191
+ * @description: 更新订单备注信息
192
+ * @param {string} bookingId
193
+ * @param {any} params
194
+ * @return {*}
195
+ * @Author: cong.shao
196
+ * @Date: 2025-04-24 16:28
197
+ */
198
+ export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
199
+ /**
200
+ * @title: 获取退款信息
201
+ * @description: 获取退款相关信息
202
+ * @param {string} bookingId
203
+ * @param {any} params
204
+ * @return {*}
205
+ * @Author: cong.shao
206
+ * @Date: 2025-04-24 16:28
207
+ */
208
+ export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
209
+ /**
210
+ * @title: 创建活动预约
211
+ * @description: 创建新的活动预约记录
212
+ * @param {any} params
213
+ * @return {*}
214
+ * @Author: cong.shao
215
+ * @Date: 2025-04-24 16:28
216
+ */
217
+ export declare const createEventBooking: (params: any) => Promise<any>;
218
+ /**
219
+ * @title: 获取活动预约详情
220
+ * @description: 获取活动预约详细信息
221
+ * @param {number} bookingId
222
+ * @param {any} params
223
+ * @return {*}
224
+ * @Author: cong.shao
225
+ * @Date: 2025-04-24 16:28
226
+ */
227
+ export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
228
+ /**
229
+ * @title: 编辑活动预约
230
+ * @description: 更新活动预约信息
231
+ * @param {string} bookingId
232
+ * @param {any} params
233
+ * @return {*}
234
+ * @Author: cong.shao
235
+ * @Date: 2025-04-24 16:28
236
+ */
237
+ export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
238
+ /**
239
+ * @title: 获取定金显示配置
240
+ * @description: 获取定金相关显示配置
241
+ * @param {any} params
242
+ * @return {*}
243
+ * @Author: cong.shao
244
+ * @Date: 2025-04-24 16:28
245
+ */
246
+ export declare const getDepositShow: (params: any) => Promise<any>;
247
+ /**
248
+ * @title: 获取表单记录
249
+ * @description: 获取表单记录数据
250
+ * @param {any} params
251
+ * @return {*}
252
+ * @Author: cong.shao
253
+ * @Date: 2025-04-24 16:28
254
+ */
255
+ export declare const getFormRecords: (params: any) => Promise<any>;
256
+ /**
257
+ * @title: 获取预约列表
258
+ * @description: 获取预约列表数据
259
+ * @param {any} params
260
+ * @return {*}
261
+ * @Author: cong.shao
262
+ * @Date: 2025-04-24 16:28
263
+ */
264
+ export declare const getBookingList2: (params: any) => Promise<any>;
265
+ /**
266
+ * @title: 获取订单信息
267
+ * @description: 根据机器码获取订单信息
268
+ * @param {any} params
269
+ * @return {*}
270
+ * @Author: cong.shao
271
+ * @Date: 2025-04-24 16:28
272
+ */
273
+ export declare const getOrderInfoByCode: (params: any) => Promise<any>;
274
+ /**
275
+ * @title: 获取ES客户数据
276
+ * @description: 从ES获取客户数据
277
+ * @param {any} params
278
+ * @return {*}
279
+ * @Author: cong.shao
280
+ * @Date: 2025-04-24 16:28
281
+ */
282
+ export declare const getClientsEs: (params: any) => Promise<any>;
@@ -0,0 +1,14 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ /** dayjs对象格式化为字符串时间 */
3
+ export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
4
+ export declare const getDefaultStartParam: () => string | string[];
5
+ export declare const formatBookingList: (bookingList: any[]) => any[];
6
+ export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
7
+ export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
8
+ export declare const restoreProductOtherData: (data: any) => {
9
+ product_id: any;
10
+ option: never[];
11
+ bundle: any;
12
+ product_variant_id: number;
13
+ quantity: number;
14
+ } | undefined;
@@ -0,0 +1,96 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.wallet.copyTitle': string;
4
+ 'page.wallet.copyButton': string;
5
+ 'page.wallet.copySuccess': string;
6
+ 'page.wallet.detail': string;
7
+ 'page.wallet.activelog': string;
8
+ 'page.wallet.copyText': string;
9
+ 'page.wallet.spendingDetails': string;
10
+ 'page.wallet.rechargeDetails': string;
11
+ 'page.wallet.date': string;
12
+ 'page.wallet.spending': string;
13
+ 'page.wallet.recharge': string;
14
+ 'page.wallet.pointsEarned': string;
15
+ 'page.wallet.pointsRedeemed': string;
16
+ 'page.wallet.refund': string;
17
+ 'page.wallet.expire': string;
18
+ 'page.wallet.viewOrder': string;
19
+ 'page.wallet.done': string;
20
+ 'page.wallet.addIos': string;
21
+ 'page.wallet.addGoogle': string;
22
+ 'page.wallet.viewDetails': string;
23
+ 'page.wallet.expireDate': string;
24
+ 'page.wallet.urlEmpty': string;
25
+ 'page.wallet.notIOS': string;
26
+ 'page.wallet.addSuccess': string;
27
+ 'page.wallet.addFailed': string;
28
+ 'page.wallet.useAppleInstead': string;
29
+ 'page.wallet.openedInBrowser': string;
30
+ 'page.wallet.openFailed': string;
31
+ 'page.wallet.loading': string;
32
+ };
33
+ 'zh-CN': {
34
+ 'page.wallet.copyTitle': string;
35
+ 'page.wallet.copyButton': string;
36
+ 'page.wallet.copySuccess': string;
37
+ 'page.wallet.detail': string;
38
+ 'page.wallet.activelog': string;
39
+ 'page.wallet.copyText': string;
40
+ 'page.wallet.spendingDetails': string;
41
+ 'page.wallet.rechargeDetails': string;
42
+ 'page.wallet.date': string;
43
+ 'page.wallet.spending': string;
44
+ 'page.wallet.recharge': string;
45
+ 'page.wallet.pointsEarned': string;
46
+ 'page.wallet.pointsRedeemed': string;
47
+ 'page.wallet.refund': string;
48
+ 'page.wallet.expire': string;
49
+ 'page.wallet.viewOrder': string;
50
+ 'page.wallet.done': string;
51
+ 'page.wallet.addIos': string;
52
+ 'page.wallet.addGoogle': string;
53
+ 'page.wallet.viewDetails': string;
54
+ 'page.wallet.expireDate': string;
55
+ 'page.wallet.urlEmpty': string;
56
+ 'page.wallet.notIOS': string;
57
+ 'page.wallet.addSuccess': string;
58
+ 'page.wallet.addFailed': string;
59
+ 'page.wallet.useAppleInstead': string;
60
+ 'page.wallet.openedInBrowser': string;
61
+ 'page.wallet.openFailed': string;
62
+ 'page.wallet.loading': string;
63
+ };
64
+ 'zh-HK': {
65
+ 'page.wallet.copyTitle': string;
66
+ 'page.wallet.copyButton': string;
67
+ 'page.wallet.copySuccess': string;
68
+ 'page.wallet.detail': string;
69
+ 'page.wallet.activelog': string;
70
+ 'page.wallet.copyText': string;
71
+ 'page.wallet.spendingDetails': string;
72
+ 'page.wallet.rechargeDetails': string;
73
+ 'page.wallet.date': string;
74
+ 'page.wallet.spending': string;
75
+ 'page.wallet.recharge': string;
76
+ 'page.wallet.pointsEarned': string;
77
+ 'page.wallet.pointsRedeemed': string;
78
+ 'page.wallet.refund': string;
79
+ 'page.wallet.expire': string;
80
+ 'page.wallet.viewOrder': string;
81
+ 'page.wallet.done': string;
82
+ 'page.wallet.addIos': string;
83
+ 'page.wallet.addGoogle': string;
84
+ 'page.wallet.viewDetails': string;
85
+ 'page.wallet.expireDate': string;
86
+ 'page.wallet.urlEmpty': string;
87
+ 'page.wallet.notIOS': string;
88
+ 'page.wallet.addSuccess': string;
89
+ 'page.wallet.addFailed': string;
90
+ 'page.wallet.useAppleInstead': string;
91
+ 'page.wallet.openedInBrowser': string;
92
+ 'page.wallet.openFailed': string;
93
+ 'page.wallet.loading': string;
94
+ };
95
+ };
96
+ export default _default;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ addWalletCard: any;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ walletDetailState: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -0,0 +1,39 @@
1
+ interface IAssetListProps {
2
+ skip?: string;
3
+ num?: string;
4
+ card_id?: string;
5
+ sourceType?: string;
6
+ business_object?: string;
7
+ tag?: string;
8
+ }
9
+ export interface IAssetItem {
10
+ id?: string;
11
+ tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
12
+ shop_id?: string;
13
+ transaction_id?: string;
14
+ title?: string;
15
+ created_at?: string;
16
+ amount?: string;
17
+ balance?: string;
18
+ currency_symbol?: string;
19
+ action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
20
+ }
21
+ /**
22
+ * 资产明细列表
23
+ * @param params 接口请求参数
24
+ * @returns 资产明细列表
25
+ */
26
+ export declare const getAssetList: (params: IAssetListProps) => Promise<{
27
+ list: IAssetItem[];
28
+ }>;
29
+ /**
30
+ * 获取资产详情
31
+ * @param params 接口请求参数
32
+ * @returns 资产详情
33
+ */
34
+ export declare const getDetailApi: (params: {
35
+ id: string;
36
+ }) => Promise<{
37
+ data: any;
38
+ }>;
39
+ export {};
@@ -0,0 +1,25 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface DetailContextType {
3
+ openDetail: (detail: any) => void;
4
+ closeDetail: () => void;
5
+ addWalletCard: () => void;
6
+ setShowModal: (show: boolean) => void;
7
+ renderDetail: (detail: any) => React.ReactNode;
8
+ currentDetail: any;
9
+ isOpen: boolean;
10
+ isInitialized: boolean;
11
+ }
12
+ export interface DetailProviderProps {
13
+ children: ReactNode;
14
+ }
15
+ /**
16
+ * 详情提供者组件
17
+ * 管理钱包详情的显示状态和数据
18
+ */
19
+ export declare const DetailProvider: React.FC<DetailProviderProps>;
20
+ /**
21
+ * 使用详情上下文的钩子
22
+ * @returns DetailContext上下文值
23
+ * @throws 如果不在DetailProvider内部使用,将抛出错误
24
+ */
25
+ export declare const useDetail: () => DetailContextType;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ setup?: 'menu' | 'list' | 'detail' | string;
5
+ }
6
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
+ state: RechargeState;
8
+ } & {
9
+ dispatch: (params: {
10
+ type: string;
11
+ payload: any;
12
+ }) => void;
13
+ }>;
14
+ export {};
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ selectedGiftOptionId: string | null;
4
+ cardList: Array<{
5
+ id: string;
6
+ name: string;
7
+ price: number;
8
+ }>;
9
+ selectedItem: {
10
+ id?: string;
11
+ gift_price?: number;
12
+ price?: number;
13
+ name?: string;
14
+ variant_id?: string;
15
+ };
16
+ productId?: string;
17
+ detailId?: string;
18
+ total: string | number;
19
+ rechargeModalOpen: boolean;
20
+ }
21
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
+ state: RechargeState;
23
+ } & {
24
+ dispatch: (params: {
25
+ type: string;
26
+ payload: any;
27
+ }) => void;
28
+ }>;
29
+ export {};
@@ -0,0 +1,23 @@
1
+ interface OrderParams {
2
+ voucher_id: string;
3
+ product_id: string;
4
+ product_variant_id: string;
5
+ quantity: number;
6
+ type: string;
7
+ platform: string;
8
+ currency_code: {
9
+ currency_code: string;
10
+ currency_symbol: string;
11
+ currency_format: string;
12
+ };
13
+ }
14
+ interface OrderResponse {
15
+ order_id: string;
16
+ }
17
+ /**
18
+ * 下单接口
19
+ * @param params - 订单参数
20
+ * @returns 订单响应数据
21
+ */
22
+ export declare const goOrder: (params: OrderParams) => Promise<OrderResponse>;
23
+ export {};
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.wallet.rechargeOptions': string;
4
+ 'page.wallet.available': string;
5
+ 'page.wallet.unavailable': string;
6
+ 'page.wallet.recharge': string;
7
+ };
8
+ 'zh-CN': {
9
+ 'page.wallet.rechargeOptions': string;
10
+ 'page.wallet.available': string;
11
+ 'page.wallet.unavailable': string;
12
+ 'page.wallet.recharge': string;
13
+ };
14
+ 'zh-HK': {
15
+ 'page.wallet.rechargeOptions': string;
16
+ 'page.wallet.available': string;
17
+ 'page.wallet.unavailable': string;
18
+ 'page.wallet.recharge': string;
19
+ };
20
+ };
21
+ export default _default;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: 0;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface FooterButtonsProps {
4
+ step: string;
5
+ onAppleWalletClick?: () => void;
6
+ onRechargeClick?: () => void;
7
+ onAddClick?: () => void;
8
+ disabled?: boolean;
9
+ platform?: 'pc' | 'h5';
10
+ isIOS?: boolean;
11
+ addWalletLoading?: boolean;
12
+ }
13
+ /**
14
+ * 通用底部按钮组件
15
+ * 根据step不同显示不同的按钮组
16
+ */
17
+ declare const FooterButtons: React.FC<FooterButtonsProps>;
18
+ export default FooterButtons;
@@ -0,0 +1,2 @@
1
+ export { default as WalletBar } from './WalletBar';
2
+ export { default as FooterButtons } from './FooterButtons';
@@ -0,0 +1,34 @@
1
+ /// <reference types="react" />
2
+ import { IWalletListItemProps } from '../serve';
3
+ /**
4
+ * 钱包卡片Hook的参数
5
+ */
6
+ export interface UseWalletCardParams {
7
+ globalState: any;
8
+ setGlobalState: (state: any) => void;
9
+ walletContext: any;
10
+ cardList: IWalletListItemProps[];
11
+ cardType: string;
12
+ isDiscountCard?: boolean;
13
+ valueField?: string;
14
+ setupValue?: 'menu' | 'list' | 'detail';
15
+ }
16
+ /**
17
+ * 钱包卡片Hook
18
+ * 封装了钱包卡片组件的通用逻辑
19
+ */
20
+ export declare function useWalletCard({ globalState, setGlobalState, walletContext, cardList, cardType, isDiscountCard, valueField, setupValue }: UseWalletCardParams): {
21
+ platform: string;
22
+ currentId: any;
23
+ currentDetail: any;
24
+ isEmpty: boolean;
25
+ state: any;
26
+ dispatch: any;
27
+ handleRowClick: (detail: IWalletListItemProps) => void;
28
+ renderCardDetail: () => import("react").ReactNode;
29
+ formatData: () => {
30
+ title: any;
31
+ dataSource: IWalletListItemProps[];
32
+ }[];
33
+ };
34
+ export default useWalletCard;