@pisell/private-materials 6.3.9 → 6.3.10

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 (474) 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 +13 -13
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
  10. package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
  11. package/es/businessModel/SalesModel/index.d.ts +4 -0
  12. package/es/businessModel/index.d.ts +0 -0
  13. package/es/components/Sales/Cart/serve.d.ts +2 -0
  14. package/es/components/Sales/Cart/types.d.ts +31 -0
  15. package/es/components/Sales/Cart/utils.d.ts +63 -0
  16. package/es/components/Sales/Checkout/index.d.ts +37 -0
  17. package/es/components/Sales/Checkout/serve.d.ts +15 -0
  18. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  19. package/es/components/Sales/Customer/index.d.ts +25 -0
  20. package/es/components/Sales/Event/Detail.d.ts +30 -0
  21. package/es/components/Sales/Event/index.d.ts +30 -0
  22. package/es/components/Sales/Event/serve.d.ts +49 -0
  23. package/es/components/Sales/Holder/index.d.ts +33 -0
  24. package/es/components/Sales/Holder/serve.d.ts +8 -0
  25. package/es/components/Sales/Init/index.d.ts +25 -0
  26. package/es/components/Sales/Init/serve.d.ts +3 -0
  27. package/es/components/Sales/Resource/index.d.ts +26 -0
  28. package/es/components/Sales/Resource/serve.d.ts +12 -0
  29. package/es/components/Sales/Step/index.d.ts +39 -0
  30. package/es/components/Sales/Summary/index.d.ts +35 -0
  31. package/es/components/Sales/Summary/serve.d.ts +1 -0
  32. package/es/components/Sales/Summary/utils.d.ts +51 -0
  33. package/es/components/Sales/hooks/index.d.ts +1 -0
  34. package/es/components/Sales/index.d.ts +20 -0
  35. package/es/components/Sales/utils/index.d.ts +1 -0
  36. package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
  37. package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  38. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  39. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  40. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  41. package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  42. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  43. package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  44. package/es/components/appointmentBooking/context.d.ts +35 -0
  45. package/es/components/appointmentBooking/locales.d.ts +360 -0
  46. package/es/components/appointmentBooking/type.d.ts +17 -0
  47. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  48. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  49. package/es/components/booking/components/browserSelect/index.js +1 -1
  50. package/es/components/booking/components/drawer/index.d.ts +19 -0
  51. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  52. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  53. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  54. package/es/components/booking/editBookingModal/locales.d.ts +21 -0
  55. package/es/components/booking/editBookingModal/mock.d.ts +807 -0
  56. package/es/components/booking/editBookingModal/serve.d.ts +52 -0
  57. package/es/components/booking/editBookingModal/type.d.ts +12 -0
  58. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  59. package/es/components/booking/forms/model.js +5 -5
  60. package/es/components/booking/forms/table/index.d.ts +1 -0
  61. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  62. package/es/components/booking/info/Provider.d.ts +0 -0
  63. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  64. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  65. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  66. package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  67. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  68. package/es/components/booking/info/index.d.ts +4 -0
  69. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  70. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  71. package/es/components/booking/info/service/like/index.d.ts +1 -0
  72. package/es/components/booking/info/service/like/index.js +1 -1
  73. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  74. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  75. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  76. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
  77. package/es/components/booking/info/service2/utils.d.ts +1 -1
  78. package/es/components/booking/info2/service/addService/utils.js +1 -16
  79. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  80. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  81. package/es/components/booking/info2/utils.d.ts +4 -0
  82. package/es/components/booking/locales.d.ts +831 -0
  83. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  84. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  85. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  86. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  87. package/es/components/booking/notes/model.js +5 -5
  88. package/es/components/booking/payments/model.js +5 -5
  89. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  90. package/es/components/eftpos/form/index.d.ts +1 -0
  91. package/es/components/eftpos/group/index.d.ts +1 -0
  92. package/es/components/eftpos/hooks.d.ts +1 -0
  93. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  94. package/es/components/eftpos/icon/device.d.ts +1 -0
  95. package/es/components/eftpos/receipt/index.d.ts +1 -0
  96. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  97. package/es/components/eftposPay/amount.d.ts +1 -1
  98. package/es/components/eftposPay/app.d.ts +1 -0
  99. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  100. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  101. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  102. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  103. package/es/components/eftposPay/const.d.ts +184 -0
  104. package/es/components/eftposPay/device.d.ts +1 -1
  105. package/es/components/eftposPay/hooks.d.ts +1 -1
  106. package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  107. package/es/components/eftposPay/linkly/service.d.ts +32 -0
  108. package/es/components/eftposPay/locales.d.ts +330 -0
  109. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  110. package/es/components/eftposPay/store/index.d.ts +355 -0
  111. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  112. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  113. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
  114. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  115. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
  116. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  119. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
  120. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
  121. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
  122. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  123. package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
  124. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  125. package/es/components/eventBooking/components/progressBar/index.js +20 -0
  126. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  127. package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
  128. package/es/components/eventBooking/locales.d.ts +246 -0
  129. package/es/components/eventBooking/type.d.ts +17 -0
  130. package/es/components/eventBooking/utils.d.ts +45 -0
  131. package/es/components/listComponent/index.js +5 -5
  132. package/es/components/login/locales.d.ts +24 -0
  133. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  134. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  135. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  136. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  137. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +20 -7
  138. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  139. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  140. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  141. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  142. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  143. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  145. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  146. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  147. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  148. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  149. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +12 -2
  150. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +31 -24
  151. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
  152. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  153. package/es/components/pay/toC/locales.d.ts +289 -0
  154. package/es/components/pay/toC/utils.d.ts +1 -1
  155. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  156. package/es/components/productExtension/card/index.js +3 -3
  157. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  158. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  159. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  160. package/es/components/productExtension/fields/Forms/index.js +12 -12
  161. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  162. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  163. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  164. package/es/components/productExtension/server.js +2 -2
  165. package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  166. package/es/components/productSelect/hooks/useToken.d.ts +18 -0
  167. package/es/components/productSelect/locales.d.ts +18 -0
  168. package/es/components/productSelect/mock.d.ts +134 -0
  169. package/es/components/productSelect/theme/token.d.ts +17 -0
  170. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  171. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  172. package/es/components/schedules/calendar/index.js +4 -4
  173. package/es/components/schedules/calendar/serve.js +2 -2
  174. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  175. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  176. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  177. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  178. package/es/components/schedules/components/ResourceList/index.js +1 -1
  179. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  180. package/es/components/schedules/components/Search/index.js +5 -5
  181. package/es/components/schedules/model.js +5 -5
  182. package/es/components/schedules/openHours/index.js +1 -1
  183. package/es/components/schedules/openHours/serve.js +2 -2
  184. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  185. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  186. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  187. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  188. package/es/components/schedules/products/index.d.ts +1 -0
  189. package/es/components/schedules/products/serve.js +2 -2
  190. package/es/components/schedules/products/utils.js +5 -5
  191. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  192. package/es/components/schedules/resources/detail/index.js +10 -10
  193. package/es/components/schedules/resources/list/index.js +2 -2
  194. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  195. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  196. package/es/components/schedules/resources/serve.js +2 -2
  197. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  198. package/es/components/schedules/utils.d.ts +1 -1
  199. package/es/components/schedules/utils.js +4 -4
  200. package/es/components/selectModal/index.js +2 -2
  201. package/es/components/shoppingCart/Provider.d.ts +3 -0
  202. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  203. package/es/components/shoppingCart/components/Empty/index.d.ts +4 -0
  204. package/es/components/shoppingCart/components/Render/index.d.ts +4 -0
  205. package/es/components/shoppingCart/hooks/useContext.d.ts +1 -0
  206. package/es/components/shoppingCart/locales.d.ts +33 -0
  207. package/es/components/shoppingCart/mock.d.ts +40 -0
  208. package/es/components/shoppingCart/type.d.ts +48 -0
  209. package/es/components/shoppingCart/utils.d.ts +63 -0
  210. package/es/components/stepController/components/Content/index.d.ts +7 -0
  211. package/es/components/stepController/components/Footer/index.d.ts +8 -0
  212. package/es/components/stepController/locales.d.ts +27 -0
  213. package/es/components/stepController/types.d.ts +23 -0
  214. package/es/components/subTotal/locales.d.ts +42 -0
  215. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  216. package/es/components/ticketBooking/data.d.ts +58 -0
  217. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  218. package/es/components/ticketBooking/locales.d.ts +174 -0
  219. package/es/components/ticketBooking/miniRedux.d.ts +22 -0
  220. package/es/components/ticketBooking/serve.d.ts +287 -0
  221. package/es/components/wallet/Detail/index.js +2 -2
  222. package/es/components/wallet/Detail/locales.d.ts +96 -0
  223. package/es/components/wallet/Detail/serve.d.ts +39 -0
  224. package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
  225. package/es/components/wallet/Voucher/locales.d.ts +21 -0
  226. package/es/components/wallet/components/WalletCard.js +3 -2
  227. package/es/components/wallet/components/index.d.ts +2 -0
  228. package/es/components/wallet/locales.d.ts +132 -0
  229. package/es/components/walletList/locales.d.ts +18 -0
  230. package/es/components/walletList/model.d.ts +6 -0
  231. package/es/components/walletList/serve.d.ts +20 -0
  232. package/es/components/walletList/types/index.d.ts +194 -0
  233. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  234. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  235. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  236. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  237. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  238. package/es/hooks/useComponents.js +1 -1
  239. package/es/hooks/useEngineContext.d.ts +10 -0
  240. package/es/hooks/useLocale.d.ts +2 -0
  241. package/es/hooks/useLoginUser.d.ts +2 -0
  242. package/es/hooks/useWindowSize.d.ts +5 -0
  243. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  244. package/es/plus/productSelect/CategoryTabs/index.d.ts +18 -0
  245. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  246. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  247. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  248. package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  249. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  250. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  251. package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  252. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  253. package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  254. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  255. package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
  256. package/es/plus/productSelect/locales.d.ts +18 -0
  257. package/es/plus/productSelect/theme/token.d.ts +17 -0
  258. package/es/utils/date.d.ts +11 -0
  259. package/es/utils/index.d.ts +1 -1
  260. package/es/utils/locales.d.ts +1 -0
  261. package/es/utils/tasks/type.d.ts +4 -0
  262. package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
  263. package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
  264. package/lib/businessModel/SalesModel/index.d.ts +4 -0
  265. package/lib/businessModel/index.d.ts +0 -0
  266. package/lib/components/Sales/Cart/serve.d.ts +2 -0
  267. package/lib/components/Sales/Cart/types.d.ts +31 -0
  268. package/lib/components/Sales/Cart/utils.d.ts +63 -0
  269. package/lib/components/Sales/Checkout/index.d.ts +37 -0
  270. package/lib/components/Sales/Checkout/serve.d.ts +15 -0
  271. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  272. package/lib/components/Sales/Customer/index.d.ts +25 -0
  273. package/lib/components/Sales/Event/Detail.d.ts +30 -0
  274. package/lib/components/Sales/Event/index.d.ts +30 -0
  275. package/lib/components/Sales/Event/serve.d.ts +49 -0
  276. package/lib/components/Sales/Holder/index.d.ts +33 -0
  277. package/lib/components/Sales/Holder/serve.d.ts +8 -0
  278. package/lib/components/Sales/Init/index.d.ts +25 -0
  279. package/lib/components/Sales/Init/serve.d.ts +3 -0
  280. package/lib/components/Sales/Resource/index.d.ts +26 -0
  281. package/lib/components/Sales/Resource/serve.d.ts +12 -0
  282. package/lib/components/Sales/Step/index.d.ts +39 -0
  283. package/lib/components/Sales/Summary/index.d.ts +35 -0
  284. package/lib/components/Sales/Summary/serve.d.ts +1 -0
  285. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  286. package/lib/components/Sales/hooks/index.d.ts +1 -0
  287. package/lib/components/Sales/index.d.ts +20 -0
  288. package/lib/components/Sales/utils/index.d.ts +1 -0
  289. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
  290. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
  291. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  292. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  293. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  294. package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  295. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  296. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
  297. package/lib/components/appointmentBooking/context.d.ts +35 -0
  298. package/lib/components/appointmentBooking/locales.d.ts +360 -0
  299. package/lib/components/appointmentBooking/type.d.ts +17 -0
  300. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  301. package/lib/components/booking/components/drawer/index.d.ts +19 -0
  302. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  303. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  304. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  305. package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
  306. package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
  307. package/lib/components/booking/editBookingModal/serve.d.ts +52 -0
  308. package/lib/components/booking/editBookingModal/type.d.ts +12 -0
  309. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  310. package/lib/components/booking/forms/table/index.d.ts +1 -0
  311. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  312. package/lib/components/booking/info/Provider.d.ts +0 -0
  313. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  314. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  315. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  316. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
  317. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  318. package/lib/components/booking/info/index.d.ts +4 -0
  319. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  320. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  321. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  322. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  323. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  324. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  325. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
  326. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  327. package/lib/components/booking/info2/service/addService/utils.js +3 -15
  328. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
  329. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
  330. package/lib/components/booking/info2/utils.d.ts +4 -0
  331. package/lib/components/booking/locales.d.ts +831 -0
  332. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  333. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  334. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  335. package/lib/components/eftpos/form/index.d.ts +1 -0
  336. package/lib/components/eftpos/group/index.d.ts +1 -0
  337. package/lib/components/eftpos/hooks.d.ts +1 -0
  338. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  339. package/lib/components/eftpos/icon/device.d.ts +1 -0
  340. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  341. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  342. package/lib/components/eftposPay/amount.d.ts +1 -1
  343. package/lib/components/eftposPay/app.d.ts +1 -0
  344. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  345. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  346. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  347. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  348. package/lib/components/eftposPay/const.d.ts +184 -0
  349. package/lib/components/eftposPay/device.d.ts +1 -1
  350. package/lib/components/eftposPay/hooks.d.ts +1 -1
  351. package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
  352. package/lib/components/eftposPay/linkly/service.d.ts +32 -0
  353. package/lib/components/eftposPay/locales.d.ts +330 -0
  354. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  355. package/lib/components/eftposPay/store/index.d.ts +355 -0
  356. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  357. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  358. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
  359. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  360. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
  361. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  362. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  363. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  364. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
  365. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
  366. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
  367. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
  368. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
  369. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
  370. package/lib/components/eventBooking/components/progressBar/index.js +18 -0
  371. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  372. package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
  373. package/lib/components/eventBooking/locales.d.ts +246 -0
  374. package/lib/components/eventBooking/type.d.ts +17 -0
  375. package/lib/components/eventBooking/utils.d.ts +45 -0
  376. package/lib/components/login/locales.d.ts +24 -0
  377. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  378. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  379. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  380. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  381. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +11 -7
  382. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  383. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  384. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  385. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  386. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  387. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  388. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  389. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  390. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  391. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  392. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  393. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +9 -2
  394. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +6 -2
  395. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
  396. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  397. package/lib/components/pay/toC/locales.d.ts +289 -0
  398. package/lib/components/pay/toC/utils.d.ts +1 -1
  399. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  400. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  401. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  402. package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
  403. package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
  404. package/lib/components/productSelect/locales.d.ts +18 -0
  405. package/lib/components/productSelect/mock.d.ts +134 -0
  406. package/lib/components/productSelect/theme/token.d.ts +17 -0
  407. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  408. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  409. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  410. package/lib/components/schedules/products/index.d.ts +1 -0
  411. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  412. package/lib/components/schedules/utils.d.ts +1 -1
  413. package/lib/components/schedules/utils.js +1 -1
  414. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  415. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  416. package/lib/components/shoppingCart/components/Empty/index.d.ts +4 -0
  417. package/lib/components/shoppingCart/components/Render/index.d.ts +4 -0
  418. package/lib/components/shoppingCart/hooks/useContext.d.ts +1 -0
  419. package/lib/components/shoppingCart/locales.d.ts +33 -0
  420. package/lib/components/shoppingCart/mock.d.ts +40 -0
  421. package/lib/components/shoppingCart/type.d.ts +48 -0
  422. package/lib/components/shoppingCart/utils.d.ts +63 -0
  423. package/lib/components/stepController/components/Content/index.d.ts +7 -0
  424. package/lib/components/stepController/components/Footer/index.d.ts +8 -0
  425. package/lib/components/stepController/locales.d.ts +27 -0
  426. package/lib/components/stepController/types.d.ts +23 -0
  427. package/lib/components/subTotal/locales.d.ts +42 -0
  428. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  429. package/lib/components/ticketBooking/data.d.ts +58 -0
  430. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
  431. package/lib/components/ticketBooking/locales.d.ts +174 -0
  432. package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
  433. package/lib/components/ticketBooking/serve.d.ts +287 -0
  434. package/lib/components/wallet/Detail/index.js +3 -3
  435. package/lib/components/wallet/Detail/locales.d.ts +96 -0
  436. package/lib/components/wallet/Detail/serve.d.ts +39 -0
  437. package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
  438. package/lib/components/wallet/Voucher/locales.d.ts +21 -0
  439. package/lib/components/wallet/components/WalletCard.js +1 -1
  440. package/lib/components/wallet/components/index.d.ts +2 -0
  441. package/lib/components/wallet/locales.d.ts +132 -0
  442. package/lib/components/walletList/locales.d.ts +18 -0
  443. package/lib/components/walletList/model.d.ts +6 -0
  444. package/lib/components/walletList/serve.d.ts +20 -0
  445. package/lib/components/walletList/types/index.d.ts +194 -0
  446. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  447. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  448. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  449. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  450. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  451. package/lib/hooks/useEngineContext.d.ts +10 -0
  452. package/lib/hooks/useLocale.d.ts +2 -0
  453. package/lib/hooks/useLoginUser.d.ts +2 -0
  454. package/lib/hooks/useWindowSize.d.ts +5 -0
  455. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  456. package/lib/plus/productSelect/CategoryTabs/index.d.ts +18 -0
  457. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
  458. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  459. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  460. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  461. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  462. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  463. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  464. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  465. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  466. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  467. package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
  468. package/lib/plus/productSelect/locales.d.ts +18 -0
  469. package/lib/plus/productSelect/theme/token.d.ts +17 -0
  470. package/lib/utils/date.d.ts +11 -0
  471. package/lib/utils/index.d.ts +1 -1
  472. package/lib/utils/locales.d.ts +1 -0
  473. package/lib/utils/tasks/type.d.ts +4 -0
  474. package/package.json +2 -2
@@ -0,0 +1,42 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.subtotal.deposit': string;
4
+ 'pisell2.subtotal.total': string;
5
+ 'pisell2.subtotal.subtotal': string;
6
+ 'pisell2.subtotal.tax': string;
7
+ 'pisell2.subtotal.delivery-fee': string;
8
+ 'pisell2.subtotal.discount': string;
9
+ 'pisell2.subtotal.point-deduction': string;
10
+ 'pisell2.subtotal.member-deduction': string;
11
+ 'pisell2.subtotal.items': string;
12
+ 'pisell2.subtotal.not-contain': string;
13
+ 'pisell2.subtotal.included': string;
14
+ };
15
+ 'zh-CN': {
16
+ 'pisell2.subtotal.deposit': string;
17
+ 'pisell2.subtotal.total': string;
18
+ 'pisell2.subtotal.subtotal': string;
19
+ 'pisell2.subtotal.tax': string;
20
+ 'pisell2.subtotal.delivery-fee': string;
21
+ 'pisell2.subtotal.discount': string;
22
+ 'pisell2.subtotal.point-deduction': string;
23
+ 'pisell2.subtotal.member-deduction': string;
24
+ 'pisell2.subtotal.items': string;
25
+ 'pisell2.subtotal.not-contain': string;
26
+ 'pisell2.subtotal.included': string;
27
+ };
28
+ 'zh-HK': {
29
+ 'pisell2.subtotal.deposit': string;
30
+ 'pisell2.subtotal.total': string;
31
+ 'pisell2.subtotal.subtotal': string;
32
+ 'pisell2.subtotal.tax': string;
33
+ 'pisell2.subtotal.delivery-fee': string;
34
+ 'pisell2.subtotal.discount': string;
35
+ 'pisell2.subtotal.point-deduction': string;
36
+ 'pisell2.subtotal.member-deduction': string;
37
+ 'pisell2.subtotal.items': string;
38
+ 'pisell2.subtotal.not-contain': string;
39
+ 'pisell2.subtotal.included': string;
40
+ };
41
+ };
42
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface AddServiceVariantProps {
3
+ globalState: any;
4
+ setGlobalState: any;
5
+ }
6
+ declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
7
+ export default AddServiceVariant;
@@ -0,0 +1,58 @@
1
+ declare const mockProduct: {
2
+ order_id: number;
3
+ shop_id: number;
4
+ product_id: number;
5
+ product_variant_id: number;
6
+ product_unique_string: string;
7
+ product_title: string;
8
+ product_cover: string;
9
+ product_sku: {
10
+ code: string;
11
+ name: string;
12
+ barcode: string;
13
+ sku_ids: string;
14
+ variant: never[];
15
+ variant_id: string;
16
+ generate_voucher: never[];
17
+ };
18
+ product_bundle: never[];
19
+ gift_card: number;
20
+ selling_price: string;
21
+ original_price: string;
22
+ cost_price: string;
23
+ product_quantity: number;
24
+ payment_price: string;
25
+ deposit_price: string;
26
+ tax_fee: string;
27
+ is_charge_tax: number;
28
+ refund_quantity: number;
29
+ refund_status: string;
30
+ shipping_status: string;
31
+ payment_status: string;
32
+ commission: number;
33
+ commission_tax: number;
34
+ rebate_type: string;
35
+ rebate_value: string;
36
+ commission_percent: string;
37
+ channel: string;
38
+ channel_id: number;
39
+ item_relation_id: number;
40
+ schedule_event_id: number;
41
+ note: string;
42
+ extension_type: string;
43
+ before_product_quantity: number;
44
+ remove_product_quantity: number;
45
+ deleted_at: null;
46
+ created_at: string;
47
+ updated_at: string;
48
+ order_detail_id: number;
49
+ product_option_string: string;
50
+ product_subtitle: string;
51
+ source_product_price: string;
52
+ discount_amount: number;
53
+ product_discount_reason: string;
54
+ discount_type: string;
55
+ discountway: string;
56
+ discount_per: string;
57
+ single_discount: null;
58
+ };
@@ -0,0 +1,11 @@
1
+ export declare enum NetworkStatus {
2
+ GOOD = "GOOD",
3
+ WEAK = "WEAK",
4
+ OFFLINE = "OFFLINE"
5
+ }
6
+ export declare const NetworkStatusColor: {
7
+ GOOD: string;
8
+ WEAK: string;
9
+ OFFLINE: string;
10
+ };
11
+ export declare const useNetworkStatus: () => NetworkStatus;
@@ -0,0 +1,174 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.ticket-booking.info': string;
4
+ 'pisell2.ticket-booking.notes': string;
5
+ 'pisell2.ticket-booking.forms': string;
6
+ 'pisell2.ticket-booking.sales': string;
7
+ 'pisell2.ticket-booking.payment': string;
8
+ 'pisell2.ticket-booking.unsaved-changes': string;
9
+ 'pisell2.ticket-booking.exit-confirm': string;
10
+ 'pisell2.ticket-booking.go-back': string;
11
+ 'pisell2.ticket-booking.exit': string;
12
+ 'pisell2.ticket-booking.deposit': string;
13
+ 'pisell2.ticket-booking.copy-success': string;
14
+ 'pisell2.ticket-booking.no-data': string;
15
+ 'pisell2.ticket-booking.authorized': string;
16
+ 'pisell2.ticket-booking.paid': string;
17
+ 'pisell2.ticket-booking.partially-paid': string;
18
+ 'pisell2.ticket-booking.partially-refunded': string;
19
+ 'pisell2.ticket-booking.payment-pending': string;
20
+ 'pisell2.ticket-booking.refunded': string;
21
+ 'pisell2.ticket-booking.unpaid': string;
22
+ 'pisell2.ticket-booking.voided': string;
23
+ 'pisell2.ticket-booking.pending': string;
24
+ 'pisell2.ticket-booking.all': string;
25
+ 'pisell2.ticket-booking.not-started': string;
26
+ 'pisell2.ticket-booking.started': string;
27
+ 'pisell2.ticket-booking.finished': string;
28
+ 'pisell2.ticket-booking.canceled': string;
29
+ 'pisell2.ticket-booking.inform': string;
30
+ 'pisell2.ticket-booking.check-management': string;
31
+ 'pisell2.ticket-booking.confirm': string;
32
+ 'pisell2.ticket-booking.dashboard': string;
33
+ 'pisell2.ticket-booking.booking-list': string;
34
+ 'pisell2.ticket-booking.full-data': string;
35
+ 'pisell2.ticket-booking.today': string;
36
+ 'pisell2.ticket-booking.now': string;
37
+ 'pisell2.ticket-booking.start-time': string;
38
+ 'pisell2.ticket-booking.create-time': string;
39
+ 'pisell2.ticket-booking.customer': string;
40
+ 'pisell2.ticket-booking.total': string;
41
+ 'pisell2.ticket-booking.search': string;
42
+ 'pisell2.ticket-booking.refresh-success': string;
43
+ 'pisell2.ticket-booking.loading': string;
44
+ 'pisell2.ticket-booking.appointment-not-found': string;
45
+ 'pisell2.ticket-booking.scan': string;
46
+ 'pisell2.ticket-booking.create-new': string;
47
+ 'pisell2.ticket-booking.add-to-cart': string;
48
+ 'pisell2.ticket-booking.not-available-title': string;
49
+ 'pisell2.ticket-booking.not-available-ok': string;
50
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
51
+ 'pisell2.product.card.cart-items': (number: number) => string;
52
+ 'pisell2.product.card.subtotal': string;
53
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
54
+ 'pisell2.product.card.day': (val: number) => string;
55
+ 'pisell2.product.card.day.event': (val: number) => string;
56
+ 'pisell2.product.card.minute': (val: number) => string;
57
+ "pisell2.ticket-booking.reload": string;
58
+ };
59
+ 'zh-CN': {
60
+ 'pisell2.ticket-booking.info': string;
61
+ 'pisell2.ticket-booking.notes': string;
62
+ 'pisell2.ticket-booking.forms': string;
63
+ 'pisell2.ticket-booking.sales': string;
64
+ 'pisell2.ticket-booking.payment': string;
65
+ 'pisell2.ticket-booking.unsaved-changes': string;
66
+ 'pisell2.ticket-booking.exit-confirm': string;
67
+ 'pisell2.ticket-booking.go-back': string;
68
+ 'pisell2.ticket-booking.exit': string;
69
+ 'pisell2.ticket-booking.deposit': string;
70
+ 'pisell2.ticket-booking.copy-success': string;
71
+ 'pisell2.ticket-booking.no-data': string;
72
+ 'pisell2.ticket-booking.authorized': string;
73
+ 'pisell2.ticket-booking.paid': string;
74
+ 'pisell2.ticket-booking.partially-paid': string;
75
+ 'pisell2.ticket-booking.partially-refunded': string;
76
+ 'pisell2.ticket-booking.payment-pending': string;
77
+ 'pisell2.ticket-booking.refunded': string;
78
+ 'pisell2.ticket-booking.unpaid': string;
79
+ 'pisell2.ticket-booking.voided': string;
80
+ 'pisell2.ticket-booking.pending': string;
81
+ 'pisell2.ticket-booking.all': string;
82
+ 'pisell2.ticket-booking.not-started': string;
83
+ 'pisell2.ticket-booking.started': string;
84
+ 'pisell2.ticket-booking.finished': string;
85
+ 'pisell2.ticket-booking.canceled': string;
86
+ 'pisell2.ticket-booking.inform': string;
87
+ 'pisell2.ticket-booking.check-management': string;
88
+ 'pisell2.ticket-booking.confirm': string;
89
+ 'pisell2.ticket-booking.dashboard': string;
90
+ 'pisell2.ticket-booking.booking-list': string;
91
+ 'pisell2.ticket-booking.full-data': string;
92
+ 'pisell2.ticket-booking.today': string;
93
+ 'pisell2.ticket-booking.now': string;
94
+ 'pisell2.ticket-booking.start-time': string;
95
+ 'pisell2.ticket-booking.create-time': string;
96
+ 'pisell2.ticket-booking.customer': string;
97
+ 'pisell2.ticket-booking.total': string;
98
+ 'pisell2.ticket-booking.search': string;
99
+ 'pisell2.ticket-booking.refresh-success': string;
100
+ 'pisell2.ticket-booking.loading': string;
101
+ 'pisell2.ticket-booking.appointment-not-found': string;
102
+ 'pisell2.ticket-booking.scan': string;
103
+ 'pisell2.ticket-booking.create-new': string;
104
+ 'pisell2.ticket-booking.add-to-cart': string;
105
+ 'pisell2.ticket-booking.not-available-title': string;
106
+ 'pisell2.ticket-booking.not-available-ok': string;
107
+ 'pisell2.product.card.cart-items': (number: number) => string;
108
+ 'pisell2.product.card.subtotal': string;
109
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
110
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
111
+ 'pisell2.product.card.day': (val: number) => string;
112
+ 'pisell2.product.card.day.event': (val: number) => string;
113
+ 'pisell2.product.card.minute': (val: number) => string;
114
+ "pisell2.ticket-booking.reload": string;
115
+ };
116
+ 'zh-HK': {
117
+ 'pisell2.ticket-booking.info': string;
118
+ 'pisell2.ticket-booking.notes': string;
119
+ 'pisell2.ticket-booking.forms': string;
120
+ 'pisell2.ticket-booking.sales': string;
121
+ 'pisell2.ticket-booking.payment': string;
122
+ 'pisell2.ticket-booking.unsaved-changes': string;
123
+ 'pisell2.ticket-booking.exit-confirm': string;
124
+ 'pisell2.ticket-booking.go-back': string;
125
+ 'pisell2.ticket-booking.exit': string;
126
+ 'pisell2.ticket-booking.deposit': string;
127
+ 'pisell2.ticket-booking.copy-success': string;
128
+ 'pisell2.ticket-booking.no-data': string;
129
+ 'pisell2.ticket-booking.authorized': string;
130
+ 'pisell2.ticket-booking.paid': string;
131
+ 'pisell2.ticket-booking.partially-paid': string;
132
+ 'pisell2.ticket-booking.partially-refunded': string;
133
+ 'pisell2.ticket-booking.payment-pending': string;
134
+ 'pisell2.ticket-booking.refunded': string;
135
+ 'pisell2.ticket-booking.unpaid': string;
136
+ 'pisell2.ticket-booking.voided': string;
137
+ 'pisell2.ticket-booking.pending': string;
138
+ 'pisell2.ticket-booking.all': string;
139
+ 'pisell2.ticket-booking.not-started': string;
140
+ 'pisell2.ticket-booking.started': string;
141
+ 'pisell2.ticket-booking.finished': string;
142
+ 'pisell2.ticket-booking.canceled': string;
143
+ 'pisell2.ticket-booking.inform': string;
144
+ 'pisell2.ticket-booking.check-management': string;
145
+ 'pisell2.ticket-booking.confirm': string;
146
+ 'pisell2.ticket-booking.dashboard': string;
147
+ 'pisell2.ticket-booking.booking-list': string;
148
+ 'pisell2.ticket-booking.full-data': string;
149
+ 'pisell2.ticket-booking.today': string;
150
+ 'pisell2.ticket-booking.now': string;
151
+ 'pisell2.ticket-booking.start-time': string;
152
+ 'pisell2.ticket-booking.create-time': string;
153
+ 'pisell2.ticket-booking.customer': string;
154
+ 'pisell2.ticket-booking.total': string;
155
+ 'pisell2.ticket-booking.search': string;
156
+ 'pisell2.ticket-booking.refresh-success': string;
157
+ 'pisell2.ticket-booking.loading': string;
158
+ 'pisell2.ticket-booking.appointment-not-found': string;
159
+ 'pisell2.ticket-booking.scan': string;
160
+ 'pisell2.ticket-booking.create-new': string;
161
+ 'pisell2.ticket-booking.add-to-cart': string;
162
+ 'pisell2.ticket-booking.not-available-title': string;
163
+ 'pisell2.ticket-booking.not-available-ok': string;
164
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
165
+ 'pisell2.product.card.cart-items': (number: number) => string;
166
+ 'pisell2.product.card.subtotal': string;
167
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
168
+ 'pisell2.product.card.day': (val: number) => string;
169
+ 'pisell2.product.card.day.event': (val: number) => string;
170
+ 'pisell2.product.card.minute': (val: number) => string;
171
+ "pisell2.ticket-booking.reload": string;
172
+ };
173
+ };
174
+ export default _default;
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ declare class Store<T extends object> {
3
+ private state;
4
+ private listeners;
5
+ constructor(initialState: T);
6
+ getState(): T;
7
+ setState(partialState: Partial<T> | ((prevState: T) => Partial<T>), callback?: (state: T) => void): void;
8
+ subscribe(listener: () => void): () => void;
9
+ private notify;
10
+ getLatestState(): T;
11
+ }
12
+ interface ProviderProps<T extends object> {
13
+ store: Store<T>;
14
+ children: React.ReactNode;
15
+ }
16
+ export declare function Provider<T extends object>({ store, children, }: ProviderProps<T>): JSX.Element;
17
+ export declare function createStore<T extends object>(initialState: T): Store<T>;
18
+ export declare function useStore<T extends object>(): [
19
+ T,
20
+ (update: Partial<T> | ((prevState: T) => Partial<T>), callback?: (state: T) => void) => void
21
+ ];
22
+ export {};
@@ -0,0 +1,287 @@
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>;
283
+ /**
284
+ * 作废2.0预约订单
285
+ * @param order_id
286
+ */
287
+ export declare const voidAppointment: (order_id: number) => Promise<any>;
@@ -30,7 +30,7 @@ var Text = Typography.Text;
30
30
  dayjs.extend(timezone);
31
31
  dayjs.extend(utc);
32
32
  var Detail = /*#__PURE__*/forwardRef(function (props, ref) {
33
- var _context$appHelper, _utils$getStore, _dvaStore$core, _context$appHelper2, _store$getState, _detail$machinecode_c;
33
+ var _context$appHelper, _utils$getStore, _dvaStore$core, _context$appHelper2, _store$getState, _utils$interaction, _utils$interaction$is, _detail$machinecode_c;
34
34
  var _props$detail = props.detail,
35
35
  detail = _props$detail === void 0 ? {} : _props$detail,
36
36
  _props$buttonGroupLis = props.buttonGroupList,
@@ -817,7 +817,7 @@ var Detail = /*#__PURE__*/forwardRef(function (props, ref) {
817
817
  return /*#__PURE__*/React.createElement("div", {
818
818
  className: "wallet-detail".concat(platform === 'h5' ? ' wallet-detail-h5' : ' wallet-detail-pc', " ").concat(className || ''),
819
819
  ref: detailWrapperRef
820
- }, (platform === 'h5' || showWalletBar) && /*#__PURE__*/React.createElement("div", {
820
+ }, (platform === 'h5' || showWalletBar) && !(utils !== null && utils !== void 0 && (_utils$interaction = utils.interaction) !== null && _utils$interaction !== void 0 && (_utils$interaction = _utils$interaction.utils) !== null && _utils$interaction !== void 0 && (_utils$interaction$is = _utils$interaction.isAppEnv) !== null && _utils$interaction$is !== void 0 && _utils$interaction$is.call(_utils$interaction)) && /*#__PURE__*/React.createElement("div", {
821
821
  className: "wallet-detail-header"
822
822
  }, /*#__PURE__*/React.createElement(WalletBar, {
823
823
  setup: "detail",