@pisell/private-materials 6.3.149 → 6.3.150

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 (567) 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 +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/businessModel/SalesModel/index.d.ts +1 -0
  8. package/es/components/Sales/Summary/utils.d.ts +58 -0
  9. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  11. package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  12. package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
  13. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  15. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  16. package/es/components/appointmentBooking/context.d.ts +35 -0
  17. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  18. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  19. package/es/components/appointmentBooking/hooks.js +27 -20
  20. package/es/components/appointmentBooking/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/locales.d.ts +606 -0
  22. package/es/components/appointmentBooking/utils.d.ts +227 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  26. package/es/components/booking/addons/model.d.ts +1 -10
  27. package/es/components/booking/components/footer/amount.d.ts +25 -0
  28. package/es/components/booking/components/footer/index.d.ts +0 -1
  29. package/es/components/booking/components/footer/utils.d.ts +47 -0
  30. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  31. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  32. package/es/components/booking/components/voucher/index.d.ts +3 -0
  33. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  34. package/es/components/booking/dashboard/serve.d.ts +1 -0
  35. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  36. package/es/components/booking/deposit/DepositItem/index.d.ts +26 -0
  37. package/es/components/booking/deposit/index.d.ts +3 -0
  38. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  39. package/es/components/booking/forms/forms.d.ts +30 -0
  40. package/es/components/booking/forms/model.d.ts +1 -10
  41. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  42. package/es/components/booking/forms/serve.d.ts +18 -0
  43. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  44. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  45. package/es/components/booking/info/client/index.d.ts +4 -0
  46. package/es/components/booking/info/client/serve.d.ts +2 -0
  47. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  48. package/es/components/booking/info/header/index.d.ts +3 -0
  49. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  50. package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  51. package/es/components/booking/info/model.d.ts +5 -0
  52. package/es/components/booking/info/notes/index.d.ts +1 -0
  53. package/es/components/booking/info/pet/serve.d.ts +1 -0
  54. package/es/components/booking/info/service/Lists.d.ts +1 -0
  55. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  56. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  57. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  58. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  59. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  60. package/es/components/booking/info/service/serve.d.ts +20 -0
  61. package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
  62. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  63. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  64. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  65. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  66. package/es/components/booking/info/service2/utils.d.ts +248 -0
  67. package/es/components/booking/info/utils.d.ts +50 -0
  68. package/es/components/booking/info2/serve.d.ts +6 -0
  69. package/es/components/booking/info2/service/addService/index.d.ts +11 -0
  70. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  71. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  72. package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
  73. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  74. package/es/components/booking/locales.d.ts +1489 -0
  75. package/es/components/booking/model.d.ts +112 -0
  76. package/es/components/booking/notes/addNote/index.d.ts +4 -0
  77. package/es/components/booking/notes/model.d.ts +1 -10
  78. package/es/components/booking/payments/model.d.ts +1 -10
  79. package/es/components/booking/utils.d.ts +175 -0
  80. package/es/components/ecocup/utils/download.d.ts +7 -0
  81. package/es/components/ecocup/utils/index.d.ts +2 -0
  82. package/es/components/eftpos/const.d.ts +64 -0
  83. package/es/components/eftpos/device.d.ts +9 -0
  84. package/es/components/eftpos/hooks.d.ts +34 -0
  85. package/es/components/eftpos/index.d.ts +47 -0
  86. package/es/components/eftpos/locales.d.ts +163 -0
  87. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  88. package/es/components/eftpos/table.d.ts +21 -0
  89. package/es/components/eftposPay/amount.d.ts +21 -0
  90. package/es/components/eftposPay/app.d.ts +11 -0
  91. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  92. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  93. package/es/components/eftposPay/component/fail/network.d.ts +9 -0
  94. package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
  95. package/es/components/eftposPay/component/manual/index.d.ts +10 -0
  96. package/es/components/eftposPay/component/signature/index.d.ts +9 -0
  97. package/es/components/eftposPay/const.d.ts +186 -0
  98. package/es/components/eftposPay/device.d.ts +24 -0
  99. package/es/components/eftposPay/hooks.d.ts +36 -0
  100. package/es/components/eftposPay/index.d.ts +5 -0
  101. package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  102. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  103. package/es/components/eftposPay/linkly/index.d.ts +3 -0
  104. package/es/components/eftposPay/locales.d.ts +572 -0
  105. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  106. package/es/components/eftposPay/pay.d.ts +21 -0
  107. package/es/components/eftposPay/payo/config.d.ts +13 -0
  108. package/es/components/eftposPay/payo/hooks.d.ts +10 -0
  109. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  110. package/es/components/eftposPay/store/index.d.ts +358 -0
  111. package/es/components/eftposPay/tip.d.ts +10 -0
  112. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  113. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  114. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  115. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  116. package/es/components/eftposPay/windcave/receiptAction.d.ts +23 -0
  117. package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
  118. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  119. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  121. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  122. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  123. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  124. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  125. package/es/components/eventBooking/index.d.ts +1 -0
  126. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  127. package/es/components/kioskSkuDetail/locales.d.ts +48 -0
  128. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
  129. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  130. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  131. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  132. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  133. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  134. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  135. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  136. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  137. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  138. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  139. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  140. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  141. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  142. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  143. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  144. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  145. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  146. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  147. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  148. package/es/components/pay/toC/index.d.ts +3 -0
  149. package/es/components/pay/toC/locales.d.ts +631 -0
  150. package/es/components/pay/toC/model.d.ts +32 -0
  151. package/es/components/pay/toC/payGroup.d.ts +59 -0
  152. package/es/components/pay/toC/serve.d.ts +87 -0
  153. package/es/components/pay/toC/utils.d.ts +65 -0
  154. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  155. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  156. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  157. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  158. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  159. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  160. package/es/components/productExtension/index.d.ts +1 -0
  161. package/es/components/ruleSetting/index.d.ts +1 -0
  162. package/es/components/ruleSetting/locales.d.ts +78 -0
  163. package/es/components/scanOrder/components/Checkout/index.d.ts +7 -0
  164. package/es/components/scanOrder/components/ErrorState/index.d.ts +8 -0
  165. package/es/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
  166. package/es/components/scanOrder/context.d.ts +4 -0
  167. package/es/components/scanOrder/hooks.d.ts +14 -0
  168. package/es/components/scanOrder/index.d.ts +5 -0
  169. package/es/components/scanOrder/locales.d.ts +248 -0
  170. package/es/components/scanOrder/types.d.ts +79 -0
  171. package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  172. package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  173. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  174. package/es/components/schedules/locales.d.ts +143 -0
  175. package/es/components/schedules/model.d.ts +1 -9
  176. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  177. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  178. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  179. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  180. package/es/components/shoppingCart/index.d.ts +1 -0
  181. package/es/components/shoppingCart/locales.d.ts +53 -0
  182. package/es/components/shoppingCart/type.d.ts +48 -0
  183. package/es/components/subTotal/locales.d.ts +68 -0
  184. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  185. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  186. package/es/components/systemSettings/registry/index.d.ts +5 -0
  187. package/es/components/systemSettings/registry/locales.d.ts +534 -0
  188. package/es/components/systemSettings/registry/services.d.ts +99 -0
  189. package/es/components/systemSettings/registry/types.d.ts +143 -0
  190. package/es/components/taxSelect/index.d.ts +1 -0
  191. package/es/components/taxSelect/locales.d.ts +38 -0
  192. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  193. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  194. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  195. package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  196. package/es/components/ticketBooking/index.d.ts +0 -1
  197. package/es/components/ticketBooking/locales.d.ts +299 -0
  198. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  199. package/es/components/ticketBooking/utils/index.d.ts +25 -0
  200. package/es/components/venueBooking/components/Deposit/index.d.ts +14 -0
  201. package/es/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -0
  202. package/es/components/venueBooking/hooks.d.ts +72 -0
  203. package/es/components/venueBooking/locales.d.ts +627 -0
  204. package/es/components/venueBooking/mock.d.ts +23 -0
  205. package/es/components/venueBooking/temp.d.ts +2 -0
  206. package/es/components/venueBooking/types.d.ts +204 -0
  207. package/es/components/venueBooking/utils/transformProductDetail.d.ts +8 -0
  208. package/es/components/venueBooking/utils.d.ts +66 -0
  209. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  210. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  211. package/es/hooks/useEngineContext.d.ts +11 -0
  212. package/es/hooks/useWindowSize.d.ts +5 -0
  213. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  214. package/es/plus/clinetSearch/index.d.ts +18 -0
  215. package/es/plus/orderList/locales.d.ts +618 -0
  216. package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
  217. package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
  218. package/es/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
  219. package/es/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
  220. package/es/plus/pisellFinancialSummary/locales.d.ts +28 -0
  221. package/es/plus/pisellFinancialSummary/types.d.ts +139 -0
  222. package/es/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
  223. package/es/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
  224. package/es/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
  225. package/es/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
  226. package/es/plus/pisellReservation/floorMap/floorMapHostCheckout.d.ts +6 -0
  227. package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
  228. package/es/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
  229. package/es/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
  230. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
  231. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
  232. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
  233. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
  234. package/es/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
  235. package/es/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
  236. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
  237. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -0
  238. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
  239. package/es/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +8 -0
  240. package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +47 -0
  241. package/es/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +5 -0
  242. package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
  243. package/es/plus/pisellReservation/locales/locales-ja.d.ts +133 -0
  244. package/es/plus/pisellReservation/locales/locales-pt.d.ts +133 -0
  245. package/es/plus/pisellReservation/locales/locales.d.ts +666 -0
  246. package/es/plus/pisellReservation/reservationConstants.d.ts +1117 -0
  247. package/es/plus/pisellSalesGrid/types.d.ts +197 -0
  248. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +30 -0
  249. package/es/plus/pisellSalesProductCard/locales.d.ts +38 -0
  250. package/es/plus/pisellSalesProductCard/types.d.ts +134 -0
  251. package/es/plus/pisellSalesProductCard/utils.d.ts +17 -0
  252. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  253. package/es/plus/productSelect/ProductCard/ProductCardV2.d.ts +21 -0
  254. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  255. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  256. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  257. package/es/plus/selectHolder/locales.d.ts +35 -0
  258. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  259. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  260. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  261. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  262. package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
  263. package/es/plus/skuOptionsSelection/types.d.ts +458 -0
  264. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  265. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  266. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  267. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  268. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  269. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  270. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
  271. package/es/plus/walletPassGallery/locales.d.ts +488 -0
  272. package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
  273. package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
  274. package/es/pro/Login2.0/Register2.d.ts +65 -0
  275. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  276. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  277. package/es/pro/Login2.0/shared/registerFlow.d.ts +117 -0
  278. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  279. package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  280. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  281. package/es/pro/NumericStepper/index.d.ts +96 -0
  282. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  283. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  284. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  285. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  286. package/es/test/setup.d.ts +1 -0
  287. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  288. package/lib/components/Sales/Summary/utils.d.ts +58 -0
  289. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  290. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  291. package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
  292. package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
  293. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  294. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  295. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  296. package/lib/components/appointmentBooking/context.d.ts +35 -0
  297. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
  298. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  299. package/lib/components/appointmentBooking/hooks.js +8 -1
  300. package/lib/components/appointmentBooking/index.d.ts +1 -0
  301. package/lib/components/appointmentBooking/locales.d.ts +606 -0
  302. package/lib/components/appointmentBooking/utils.d.ts +227 -0
  303. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  304. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  305. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  306. package/lib/components/booking/addons/model.d.ts +1 -10
  307. package/lib/components/booking/components/footer/amount.d.ts +25 -0
  308. package/lib/components/booking/components/footer/index.d.ts +0 -1
  309. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  310. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  311. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  312. package/lib/components/booking/components/voucher/index.d.ts +3 -0
  313. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  314. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  315. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  316. package/lib/components/booking/deposit/DepositItem/index.d.ts +26 -0
  317. package/lib/components/booking/deposit/index.d.ts +3 -0
  318. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  319. package/lib/components/booking/forms/forms.d.ts +30 -0
  320. package/lib/components/booking/forms/model.d.ts +1 -10
  321. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  322. package/lib/components/booking/forms/serve.d.ts +18 -0
  323. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  324. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  325. package/lib/components/booking/info/client/index.d.ts +4 -0
  326. package/lib/components/booking/info/client/serve.d.ts +2 -0
  327. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  328. package/lib/components/booking/info/header/index.d.ts +3 -0
  329. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  330. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  331. package/lib/components/booking/info/model.d.ts +5 -0
  332. package/lib/components/booking/info/notes/index.d.ts +1 -0
  333. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  334. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  335. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  336. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  337. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  338. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  339. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  340. package/lib/components/booking/info/service/serve.d.ts +20 -0
  341. package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
  342. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
  343. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  344. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  345. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  346. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  347. package/lib/components/booking/info/utils.d.ts +50 -0
  348. package/lib/components/booking/info2/serve.d.ts +6 -0
  349. package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
  350. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  351. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  352. package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
  353. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  354. package/lib/components/booking/locales.d.ts +1489 -0
  355. package/lib/components/booking/model.d.ts +112 -0
  356. package/lib/components/booking/notes/addNote/index.d.ts +4 -0
  357. package/lib/components/booking/notes/model.d.ts +1 -10
  358. package/lib/components/booking/payments/model.d.ts +1 -10
  359. package/lib/components/booking/utils.d.ts +175 -0
  360. package/lib/components/ecocup/utils/download.d.ts +7 -0
  361. package/lib/components/ecocup/utils/index.d.ts +2 -0
  362. package/lib/components/eftpos/const.d.ts +64 -0
  363. package/lib/components/eftpos/device.d.ts +9 -0
  364. package/lib/components/eftpos/hooks.d.ts +34 -0
  365. package/lib/components/eftpos/index.d.ts +47 -0
  366. package/lib/components/eftpos/locales.d.ts +163 -0
  367. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  368. package/lib/components/eftpos/table.d.ts +21 -0
  369. package/lib/components/eftposPay/amount.d.ts +21 -0
  370. package/lib/components/eftposPay/app.d.ts +11 -0
  371. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  372. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  373. package/lib/components/eftposPay/component/fail/network.d.ts +9 -0
  374. package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
  375. package/lib/components/eftposPay/component/manual/index.d.ts +10 -0
  376. package/lib/components/eftposPay/component/signature/index.d.ts +9 -0
  377. package/lib/components/eftposPay/const.d.ts +186 -0
  378. package/lib/components/eftposPay/device.d.ts +24 -0
  379. package/lib/components/eftposPay/hooks.d.ts +36 -0
  380. package/lib/components/eftposPay/index.d.ts +5 -0
  381. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
  382. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  383. package/lib/components/eftposPay/linkly/index.d.ts +3 -0
  384. package/lib/components/eftposPay/locales.d.ts +572 -0
  385. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  386. package/lib/components/eftposPay/pay.d.ts +21 -0
  387. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  388. package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
  389. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  390. package/lib/components/eftposPay/store/index.d.ts +358 -0
  391. package/lib/components/eftposPay/tip.d.ts +10 -0
  392. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  393. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  394. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  395. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  396. package/lib/components/eftposPay/windcave/receiptAction.d.ts +23 -0
  397. package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
  398. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  399. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  400. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  401. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  402. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  403. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  404. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  405. package/lib/components/eventBooking/index.d.ts +1 -0
  406. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  407. package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
  408. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
  409. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  410. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  411. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  412. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
  413. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
  414. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
  415. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  416. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  417. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  418. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  419. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  420. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  421. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  422. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  423. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  424. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
  425. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  426. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
  427. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  428. package/lib/components/pay/toC/index.d.ts +3 -0
  429. package/lib/components/pay/toC/locales.d.ts +631 -0
  430. package/lib/components/pay/toC/model.d.ts +32 -0
  431. package/lib/components/pay/toC/payGroup.d.ts +59 -0
  432. package/lib/components/pay/toC/serve.d.ts +87 -0
  433. package/lib/components/pay/toC/utils.d.ts +65 -0
  434. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  435. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  436. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  437. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  438. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  439. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  440. package/lib/components/productExtension/index.d.ts +1 -0
  441. package/lib/components/ruleSetting/index.d.ts +1 -0
  442. package/lib/components/ruleSetting/locales.d.ts +78 -0
  443. package/lib/components/scanOrder/components/Checkout/index.d.ts +7 -0
  444. package/lib/components/scanOrder/components/ErrorState/index.d.ts +8 -0
  445. package/lib/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
  446. package/lib/components/scanOrder/context.d.ts +4 -0
  447. package/lib/components/scanOrder/hooks.d.ts +14 -0
  448. package/lib/components/scanOrder/index.d.ts +5 -0
  449. package/lib/components/scanOrder/locales.d.ts +248 -0
  450. package/lib/components/scanOrder/types.d.ts +79 -0
  451. package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
  452. package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
  453. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  454. package/lib/components/schedules/locales.d.ts +143 -0
  455. package/lib/components/schedules/model.d.ts +1 -9
  456. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  457. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  458. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  459. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  460. package/lib/components/shoppingCart/index.d.ts +1 -0
  461. package/lib/components/shoppingCart/locales.d.ts +53 -0
  462. package/lib/components/shoppingCart/type.d.ts +48 -0
  463. package/lib/components/subTotal/locales.d.ts +68 -0
  464. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  465. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  466. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  467. package/lib/components/systemSettings/registry/locales.d.ts +534 -0
  468. package/lib/components/systemSettings/registry/services.d.ts +99 -0
  469. package/lib/components/systemSettings/registry/types.d.ts +143 -0
  470. package/lib/components/taxSelect/index.d.ts +1 -0
  471. package/lib/components/taxSelect/locales.d.ts +38 -0
  472. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  473. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  474. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  475. package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
  476. package/lib/components/ticketBooking/index.d.ts +0 -1
  477. package/lib/components/ticketBooking/locales.d.ts +299 -0
  478. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  479. package/lib/components/ticketBooking/utils/index.d.ts +25 -0
  480. package/lib/components/venueBooking/components/Deposit/index.d.ts +14 -0
  481. package/lib/components/venueBooking/components/VenueSelection/components/PriceLegend.d.ts +2 -0
  482. package/lib/components/venueBooking/hooks.d.ts +72 -0
  483. package/lib/components/venueBooking/locales.d.ts +627 -0
  484. package/lib/components/venueBooking/mock.d.ts +23 -0
  485. package/lib/components/venueBooking/temp.d.ts +2 -0
  486. package/lib/components/venueBooking/types.d.ts +204 -0
  487. package/lib/components/venueBooking/utils/transformProductDetail.d.ts +8 -0
  488. package/lib/components/venueBooking/utils.d.ts +66 -0
  489. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  490. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  491. package/lib/hooks/useEngineContext.d.ts +11 -0
  492. package/lib/hooks/useWindowSize.d.ts +5 -0
  493. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  494. package/lib/plus/clinetSearch/index.d.ts +18 -0
  495. package/lib/plus/orderList/locales.d.ts +618 -0
  496. package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
  497. package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
  498. package/lib/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
  499. package/lib/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
  500. package/lib/plus/pisellFinancialSummary/locales.d.ts +28 -0
  501. package/lib/plus/pisellFinancialSummary/types.d.ts +139 -0
  502. package/lib/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
  503. package/lib/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
  504. package/lib/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
  505. package/lib/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
  506. package/lib/plus/pisellReservation/floorMap/floorMapHostCheckout.d.ts +6 -0
  507. package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
  508. package/lib/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
  509. package/lib/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
  510. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
  511. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
  512. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
  513. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
  514. package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
  515. package/lib/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
  516. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
  517. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +4 -0
  518. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
  519. package/lib/plus/pisellReservation/hooks/useNewReservationRoutesFromEngine.d.ts +8 -0
  520. package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +47 -0
  521. package/lib/plus/pisellReservation/hooks/useReservationLoadingShownDebounced.d.ts +5 -0
  522. package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
  523. package/lib/plus/pisellReservation/locales/locales-ja.d.ts +133 -0
  524. package/lib/plus/pisellReservation/locales/locales-pt.d.ts +133 -0
  525. package/lib/plus/pisellReservation/locales/locales.d.ts +666 -0
  526. package/lib/plus/pisellReservation/reservationConstants.d.ts +1117 -0
  527. package/lib/plus/pisellSalesGrid/types.d.ts +197 -0
  528. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +30 -0
  529. package/lib/plus/pisellSalesProductCard/locales.d.ts +38 -0
  530. package/lib/plus/pisellSalesProductCard/types.d.ts +134 -0
  531. package/lib/plus/pisellSalesProductCard/utils.d.ts +17 -0
  532. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  533. package/lib/plus/productSelect/ProductCard/ProductCardV2.d.ts +21 -0
  534. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  535. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  536. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  537. package/lib/plus/selectHolder/locales.d.ts +35 -0
  538. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  539. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
  540. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
  541. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  542. package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
  543. package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
  544. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  545. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  546. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  547. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  548. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  549. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  550. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
  551. package/lib/plus/walletPassGallery/locales.d.ts +488 -0
  552. package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
  553. package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
  554. package/lib/pro/Login2.0/Register2.d.ts +65 -0
  555. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  556. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  557. package/lib/pro/Login2.0/shared/registerFlow.d.ts +117 -0
  558. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  559. package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
  560. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  561. package/lib/pro/NumericStepper/index.d.ts +96 -0
  562. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  563. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  564. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  565. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  566. package/lib/test/setup.d.ts +1 -0
  567. package/package.json +1 -1
@@ -0,0 +1,59 @@
1
+ import { PayGroup } from './model';
2
+ /**
3
+ * 生成 `/h5/core/stash` 的 token:前缀 + 订单号
4
+ */
5
+ export declare const buildPayGroupStashToken: (orderId: string) => string;
6
+ /**
7
+ * @title: 同步交易组到storage
8
+ * @description:
9
+ * @param {PayGroup} payGroup
10
+ * @return {*}
11
+ * @Author: zhiwei.Wang
12
+ * @Date: 2024-08-16 10:40
13
+ */
14
+ export declare const syncPayGroupToStorage: (payGroup: PayGroup) => void;
15
+ /**
16
+ * @title: 通过订单id获取交易组
17
+ * @description:
18
+ * @param {string} orderId
19
+ * @return {*}
20
+ * @Author: zhiwei.Wang
21
+ * @Date: 2024-08-16 10:40
22
+ */
23
+ export declare const getPayGroupFromStorage: (orderId: string) => PayGroup | null;
24
+ /**
25
+ * @title: 删除交易组
26
+ * @description:
27
+ * @param {string} orderId
28
+ * @return {*}
29
+ * @Author: zhiwei.Wang
30
+ * @Date: 2024-08-16 10:40
31
+ */
32
+ export declare const removePayGroupFromStorage: (orderId: string) => void;
33
+ /**
34
+ * @title: 获取交易组参数
35
+ * @description:
36
+ * @param {string} orderId
37
+ * @param {any} rest
38
+ * @return {*}
39
+ * @Author: zhiwei.Wang
40
+ * @Date: 2024-08-16 10:40
41
+ */
42
+ export declare const getPayGroupParamsFromStorage: (orderId: string, rest?: any) => any;
43
+ /**
44
+ * @title: 通过订单id设置交易号
45
+ * @description: 合并 pay_number 后调用 `/h5/core/stash` 最多 3 次;无论 stash 成败均写入 localStorage
46
+ * @param {string} orderId
47
+ * @param {string} payNumber
48
+ * @param {string} [token] 引擎 utils.token.get(),写入 stash 的 data.token
49
+ * @Author: zhiwei.Wang
50
+ * @Date: 2024-08-16 10:41
51
+ */
52
+ export declare const setPayNumber: (orderId: string, payNumber: string, token?: string) => Promise<void>;
53
+ /**
54
+ * @title: 清除服务端暂存
55
+ * @description:
56
+ * @param {string} orderId
57
+ * @return {*}
58
+ */
59
+ export declare const clearStashPayGroup: (orderId: string) => Promise<void>;
@@ -0,0 +1,87 @@
1
+ export declare const getPaymentList: (values: any) => Promise<{
2
+ message: string;
3
+ status: string;
4
+ paymentList?: undefined;
5
+ } | {
6
+ message: string;
7
+ status: string;
8
+ paymentList: any;
9
+ }>;
10
+ /**
11
+ * @title: 聚合接口, 根据订单 返回支付列表和钱包
12
+ * @description:
13
+ * @param {object} values
14
+ * @return {*}
15
+ * @Author: zhiwei.Wang
16
+ * @Date: 2024-08-15 11:52
17
+ */
18
+ export declare const getPaymentsAndWalletPass: (values: {
19
+ order_id: string;
20
+ total_amount: number;
21
+ sale_channel: string;
22
+ }) => Promise<any>;
23
+ /**
24
+ * @title: 初始化交易组
25
+ * @description:
26
+ * @param {object} values
27
+ * @return {*}
28
+ * @Author: zhiwei.Wang
29
+ * @Date: 2024-08-16 10:42
30
+ */
31
+ export declare const getPaymentInit: (values: {
32
+ order_id?: string;
33
+ amount?: number;
34
+ }) => Promise<any>;
35
+ /**
36
+ * @title: 获取钱包名称和弹窗状态
37
+ * @description:
38
+ * @param {object} values
39
+ * @return {*}
40
+ * @Author: shengjie.zuo
41
+ * @member: 马天宇
42
+ * @Date: 2025-02-21 10:42
43
+ */
44
+ export declare const getWalletNameAndPopupStatus: (values: {
45
+ setting_type?: string;
46
+ }) => Promise<{
47
+ wallet: {
48
+ name?: {
49
+ en: string;
50
+ 'zh-CN': string;
51
+ 'zh-HK': string;
52
+ 'ja': string;
53
+ 'pt': string;
54
+ };
55
+ };
56
+ wallet_setting: {
57
+ popup_status?: 1 | 0;
58
+ };
59
+ }>;
60
+ /**
61
+ * @title: 获取支付结果
62
+ * @description: 获取支付结果
63
+ */
64
+ export declare const getPaymentResult: (values: any) => Promise<any>;
65
+ /**
66
+ * @title: 检测订单是否有正在处理中的交易
67
+ * @param {object} values - { order_id: string }
68
+ * @return {Promise<{ has_pending: boolean }>}
69
+ */
70
+ export declare const checkPendingPayment: (values: {
71
+ order_id: string;
72
+ }) => Promise<{
73
+ has_pending: boolean;
74
+ }>;
75
+ /** `/h5/core/stash` 请求体 */
76
+ export interface CoreStashParams {
77
+ /** 缓存 key,由前端生成 */
78
+ token: string;
79
+ /** 暂存数据,如完整 PayGroup */
80
+ data: unknown;
81
+ /** 生命周期(秒),默认 86400(1 天) */
82
+ ttl?: number;
83
+ }
84
+ /**
85
+ * 调用服务端暂存接口,写入 payGroup 等数据。
86
+ */
87
+ export declare const postCoreStash: (params: CoreStashParams) => Promise<void>;
@@ -0,0 +1,65 @@
1
+ import { PayGroup } from "./model";
2
+ import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
3
+ /**
4
+ * 计算walletPass列表数据的总金额
5
+ * @param list
6
+ */
7
+ export declare const calcWalletPassListAmount: (list: any[]) => any;
8
+ /**
9
+ * 将walletPass列表数据转换为prepare_payments需要的数据格式
10
+ * @param list
11
+ */
12
+ export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
13
+ voucher_id: any;
14
+ amount: number;
15
+ tag: any;
16
+ }[];
17
+ /**
18
+ * walletPass支付params
19
+ * @param payGroup
20
+ */
21
+ export declare const formatWalletPassParams: (payGroup: PayGroup) => {
22
+ order_id: string;
23
+ payment_group_id: number;
24
+ payments: {
25
+ amount: string;
26
+ wallet_pass_use_value: any;
27
+ voucher_id: any;
28
+ tag: any;
29
+ wallet_pass_usage_unit: any;
30
+ metadata: {
31
+ unique_payment_number: any;
32
+ };
33
+ }[];
34
+ };
35
+ /**
36
+ * @title: 获取是否walletPass和三方支付的组合支付
37
+ * @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
38
+ * @return: *
39
+ * @Author: shengjie.zuo
40
+ * @Date: 2024-08-30 10:06:17
41
+ */
42
+ export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
43
+ export declare const isFranchiseeShop: (path?: any, history?: any) => any;
44
+ /**
45
+ * @title: 获取当前连锁加盟店铺shopid
46
+ * @description:
47
+ * @param {any} param1
48
+ * @return {*}
49
+ * @Author: chensheng.gu
50
+ * @Date: 2024-08-07 10:04
51
+ */
52
+ export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
53
+ export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
54
+ export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
55
+ export declare const clientPayment: (params: {
56
+ order_id: number;
57
+ type: "aliPay" | "wxPay" | 'google_pay';
58
+ values: any;
59
+ interaction?: any;
60
+ }) => void;
61
+ /**
62
+ * 获取唯一幂等token
63
+ * @returns
64
+ */
65
+ export declare const getUniqueIdempotencyToken: () => string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -0,0 +1,133 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.leave-empty-for-walk-in': string;
4
+ 'pisell2.text.date-year-text': string;
5
+ 'pisell2.text.date-month-text': string;
6
+ 'pisell2.text.date-day-text': string;
7
+ 'pisell2.text.gender': string;
8
+ 'pisell2.text.gender.male': string;
9
+ 'pisell2.text.gender.female': string;
10
+ 'pisell2.text.birthday': string;
11
+ 'pisell2.text.phone': string;
12
+ 'pisell2.text.email': string;
13
+ 'pisell2.text.lastname': string;
14
+ 'pisell2.text.firstname': string;
15
+ 'pisell2.text.email-error-message': string;
16
+ 'pisell2.text.notes': string;
17
+ 'pisell2.text.save': string;
18
+ 'pisell2.text.save-and-select': string;
19
+ 'pisell2.text.no-results-found': string;
20
+ 'pisell2.text.create-new-client': string;
21
+ 'pisell2.text.result-found': string;
22
+ 'pisell2.text.personnel-list': string;
23
+ 'pisell2.text.load-more': string;
24
+ 'pisell2.text.add-client.confirm': string;
25
+ 'pisell2.text.search-customer-by-phone-number': string;
26
+ 'pisell2.text.create': string;
27
+ };
28
+ 'zh-CN': {
29
+ 'pisell2.text.leave-empty-for-walk-in': string;
30
+ 'pisell2.text.date-year-text': string;
31
+ 'pisell2.text.date-month-text': string;
32
+ 'pisell2.text.date-day-text': string;
33
+ 'pisell2.text.gender': string;
34
+ 'pisell2.text.gender.male': string;
35
+ 'pisell2.text.gender.female': string;
36
+ 'pisell2.text.birthday': string;
37
+ 'pisell2.text.phone': string;
38
+ 'pisell2.text.email': string;
39
+ 'pisell2.text.lastname': string;
40
+ 'pisell2.text.firstname': string;
41
+ 'pisell2.text.email-error-message': string;
42
+ 'pisell2.text.notes': string;
43
+ 'pisell2.text.save': string;
44
+ 'pisell2.text.save-and-select': string;
45
+ 'pisell2.text.no-results-found': string;
46
+ 'pisell2.text.create-new-client': string;
47
+ 'pisell2.text.result-found': string;
48
+ 'pisell2.text.personnel-list': string;
49
+ 'pisell2.text.add-client.confirm': string;
50
+ 'pisell2.text.load-more': string;
51
+ 'pisell2.text.search-customer-by-phone-number': string;
52
+ 'pisell2.text.create': string;
53
+ };
54
+ 'zh-HK': {
55
+ 'pisell2.text.leave-empty-for-walk-in': string;
56
+ 'pisell2.text.date-year-text': string;
57
+ 'pisell2.text.date-month-text': string;
58
+ 'pisell2.text.date-day-text': string;
59
+ 'pisell2.text.gender': string;
60
+ 'pisell2.text.gender.male': string;
61
+ 'pisell2.text.gender.female': string;
62
+ 'pisell2.text.birthday': string;
63
+ 'pisell2.text.phone': string;
64
+ 'pisell2.text.email': string;
65
+ 'pisell2.text.lastname': string;
66
+ 'pisell2.text.firstname': string;
67
+ 'pisell2.text.email-error-message': string;
68
+ 'pisell2.text.notes': string;
69
+ 'pisell2.text.save': string;
70
+ 'pisell2.text.save-and-select': string;
71
+ 'pisell2.text.no-results-found': string;
72
+ 'pisell2.text.create-new-client': string;
73
+ 'pisell2.text.result-found': string;
74
+ 'pisell2.text.personnel-list': string;
75
+ 'pisell2.text.add-client.confirm': string;
76
+ 'pisell2.text.load-more': string;
77
+ 'pisell2.text.search-customer-by-phone-number': string;
78
+ 'pisell2.text.create': string;
79
+ };
80
+ ja: {
81
+ 'pisell2.text.leave-empty-for-walk-in': string;
82
+ 'pisell2.text.date-year-text': string;
83
+ 'pisell2.text.date-month-text': string;
84
+ 'pisell2.text.date-day-text': string;
85
+ 'pisell2.text.gender': string;
86
+ 'pisell2.text.gender.male': string;
87
+ 'pisell2.text.gender.female': string;
88
+ 'pisell2.text.birthday': string;
89
+ 'pisell2.text.phone': string;
90
+ 'pisell2.text.email': string;
91
+ 'pisell2.text.lastname': string;
92
+ 'pisell2.text.firstname': string;
93
+ 'pisell2.text.email-error-message': string;
94
+ 'pisell2.text.notes': string;
95
+ 'pisell2.text.save': string;
96
+ 'pisell2.text.save-and-select': string;
97
+ 'pisell2.text.no-results-found': string;
98
+ 'pisell2.text.create-new-client': string;
99
+ 'pisell2.text.result-found': string;
100
+ 'pisell2.text.personnel-list': string;
101
+ 'pisell2.text.load-more': string;
102
+ 'pisell2.text.add-client.confirm': string;
103
+ 'pisell2.text.search-customer-by-phone-number': string;
104
+ 'pisell2.text.create': string;
105
+ };
106
+ pt: {
107
+ 'pisell2.text.leave-empty-for-walk-in': string;
108
+ 'pisell2.text.date-year-text': string;
109
+ 'pisell2.text.date-month-text': string;
110
+ 'pisell2.text.date-day-text': string;
111
+ 'pisell2.text.gender': string;
112
+ 'pisell2.text.gender.male': string;
113
+ 'pisell2.text.gender.female': string;
114
+ 'pisell2.text.birthday': string;
115
+ 'pisell2.text.phone': string;
116
+ 'pisell2.text.email': string;
117
+ 'pisell2.text.lastname': string;
118
+ 'pisell2.text.firstname': string;
119
+ 'pisell2.text.email-error-message': string;
120
+ 'pisell2.text.notes': string;
121
+ 'pisell2.text.save': string;
122
+ 'pisell2.text.save-and-select': string;
123
+ 'pisell2.text.no-results-found': string;
124
+ 'pisell2.text.create-new-client': string;
125
+ 'pisell2.text.result-found': string;
126
+ 'pisell2.text.personnel-list': string;
127
+ 'pisell2.text.load-more': string;
128
+ 'pisell2.text.add-client.confirm': string;
129
+ 'pisell2.text.search-customer-by-phone-number': string;
130
+ 'pisell2.text.create': string;
131
+ };
132
+ };
133
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const Actor: ({ name }: {
2
3
  name: string;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -0,0 +1,78 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.satisfy_any_condition': string;
4
+ 'pisell2.text.add': string;
5
+ 'pisell2.text.and': string;
6
+ 'pisell2.text.or': string;
7
+ 'pisell2.text.all': string;
8
+ 'pisell2.text.rule-setting.Contain': string;
9
+ 'pisell2.text.rule-setting.Exclude': string;
10
+ 'pisell2.text.rule-setting.order_type': string;
11
+ 'pisell2.text.rule-setting.sales_channel': string;
12
+ 'pisell2.text.rule-setting.staff': string;
13
+ 'pisell2.text.rule-setting.payment_method': string;
14
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
15
+ 'pisell2.text.rule-setting.current_device': string;
16
+ };
17
+ 'zh-CN': {
18
+ 'pisell2.text.satisfy_any_condition': string;
19
+ 'pisell2.text.and': string;
20
+ 'pisell2.text.or': string;
21
+ 'pisell2.text.all': string;
22
+ 'pisell2.text.add': string;
23
+ 'pisell2.text.rule-setting.Contain': string;
24
+ 'pisell2.text.rule-setting.Exclude': string;
25
+ 'pisell2.text.rule-setting.order_type': string;
26
+ 'pisell2.text.rule-setting.sales_channel': string;
27
+ 'pisell2.text.rule-setting.staff': string;
28
+ 'pisell2.text.rule-setting.payment_method': string;
29
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
30
+ 'pisell2.text.rule-setting.current_device': string;
31
+ };
32
+ 'zh-HK': {
33
+ 'pisell2.text.satisfy_any_condition': string;
34
+ 'pisell2.text.and': string;
35
+ 'pisell2.text.or': string;
36
+ 'pisell2.text.all': string;
37
+ 'pisell2.text.add': string;
38
+ 'pisell2.text.rule-setting.Contain': string;
39
+ 'pisell2.text.rule-setting.Exclude': string;
40
+ 'pisell2.text.rule-setting.order_type': string;
41
+ 'pisell2.text.rule-setting.sales_channel': string;
42
+ 'pisell2.text.rule-setting.staff': string;
43
+ 'pisell2.text.rule-setting.payment_method': string;
44
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
45
+ 'pisell2.text.rule-setting.current_device': string;
46
+ };
47
+ ja: {
48
+ 'pisell2.text.satisfy_any_condition': string;
49
+ 'pisell2.text.add': string;
50
+ 'pisell2.text.and': string;
51
+ 'pisell2.text.or': string;
52
+ 'pisell2.text.all': string;
53
+ 'pisell2.text.rule-setting.Contain': string;
54
+ 'pisell2.text.rule-setting.Exclude': string;
55
+ 'pisell2.text.rule-setting.order_type': string;
56
+ 'pisell2.text.rule-setting.sales_channel': string;
57
+ 'pisell2.text.rule-setting.staff': string;
58
+ 'pisell2.text.rule-setting.payment_method': string;
59
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
60
+ 'pisell2.text.rule-setting.current_device': string;
61
+ };
62
+ pt: {
63
+ 'pisell2.text.satisfy_any_condition': string;
64
+ 'pisell2.text.add': string;
65
+ 'pisell2.text.and': string;
66
+ 'pisell2.text.or': string;
67
+ 'pisell2.text.all': string;
68
+ 'pisell2.text.rule-setting.Contain': string;
69
+ 'pisell2.text.rule-setting.Exclude': string;
70
+ 'pisell2.text.rule-setting.order_type': string;
71
+ 'pisell2.text.rule-setting.sales_channel': string;
72
+ 'pisell2.text.rule-setting.staff': string;
73
+ 'pisell2.text.rule-setting.payment_method': string;
74
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
75
+ 'pisell2.text.rule-setting.current_device': string;
76
+ };
77
+ };
78
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface CheckoutProps {
3
+ summary: Record<string, any>;
4
+ onSubmit: () => Promise<void>;
5
+ }
6
+ export default function Checkout(props: CheckoutProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface ErrorStateProps {
3
+ title?: string;
4
+ message: string;
5
+ onRetry?: () => void;
6
+ }
7
+ export default function ErrorState(props: ErrorStateProps): JSX.Element;
8
+ export {};
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ /**
4
+ * FulfillmentMode
5
+ *
6
+ * 通过 scanOrder module 读取 getFulfillmentModes() 返回的 { enableTableService, enablePickup }:
7
+ * - 两个都开启:渲染可切换的 Radio.Group,默认 Table service,挂载即同步一次 setPickupReferenceMode。
8
+ * - 只开启一个:仅渲染单行文案提示当前取餐方式,并同步一次 setPickupReferenceMode。
9
+ * - 都未开启:不渲染。
10
+ */
11
+ export default function FulfillmentMode(): JSX.Element | null;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ScanOrderContextValue, ScanOrderProviderProps } from './types';
3
+ export declare function ScanOrderProvider({ entryContext, children, }: ScanOrderProviderProps): JSX.Element;
4
+ export declare function useScanOrderContext(): ScanOrderContextValue;
@@ -0,0 +1,14 @@
1
+ import { ScanOrderEntryContext, ScanOrderProps, ScanOrderViewModel } from './types';
2
+ export declare const SCAN_ORDER_STEPS: readonly ["init", "product", "check", "error"];
3
+ export declare const useScanOrderModule: () => any;
4
+ export declare const contextUtils: () => any;
5
+ export declare function normalizeEntryContext(props: ScanOrderProps): ScanOrderEntryContext;
6
+ export declare function safeRunModuleAction(module: any, actionName: string, ...args: any[]): Promise<any>;
7
+ export declare function createScanOrderViewModel(module: any): ScanOrderViewModel;
8
+ export declare function useScanOrderViewModel(module: any): ScanOrderViewModel;
9
+ export declare const useScanOrderLogin: () => {
10
+ isLogin: boolean;
11
+ openLoginModal: (params: {
12
+ callback: any;
13
+ }) => void;
14
+ };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ScanOrderProps } from './types';
3
+ declare function ScanOrder(props: ScanOrderProps): JSX.Element;
4
+ export type { ScanOrderProps } from './types';
5
+ export default ScanOrder;