@pisell/private-materials 6.3.75 → 6.3.76

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 (569) 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/components/Sales/Cart/index.d.ts +53 -0
  8. package/es/components/Sales/Cart/utils.d.ts +68 -0
  9. package/es/components/Sales/Event/Detail.d.ts +30 -0
  10. package/es/components/Sales/Summary/index.d.ts +35 -0
  11. package/es/components/Sales/Summary/utils.d.ts +51 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/components/Header/index.js +12 -12
  18. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  19. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
  20. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +82 -0
  21. package/es/components/appointmentBooking/components/TimeSlicing/index.js +46 -5
  22. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  23. package/es/components/appointmentBooking/hooks.js +6 -13
  24. package/es/components/appointmentBooking/index.d.ts +3 -0
  25. package/es/components/appointmentBooking/locales.d.ts +363 -0
  26. package/es/components/appointmentBooking/utils.d.ts +23 -0
  27. package/es/components/appointmentBooking/utils.js +159 -0
  28. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  29. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  30. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  31. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  32. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  33. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  34. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  35. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  36. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  37. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  38. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  48. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  49. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  50. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  55. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  56. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  57. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  58. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  59. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  60. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  61. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  62. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  63. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  64. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  65. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  66. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  67. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  68. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  69. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  70. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  71. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  72. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  73. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  74. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  75. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  76. package/es/components/authentication/admin/index.d.ts +26 -0
  77. package/es/components/authentication/index.d.ts +0 -0
  78. package/es/components/booking/addons/index.d.ts +17 -0
  79. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  80. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  81. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  82. package/es/components/booking/dashboard/serve.d.ts +1 -0
  83. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  84. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  85. package/es/components/booking/deposit/index.d.ts +2 -0
  86. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  87. package/es/components/booking/forms/forms.d.ts +30 -0
  88. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  89. package/es/components/booking/forms/serve.d.ts +18 -0
  90. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  91. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  92. package/es/components/booking/info/client/index.d.ts +4 -0
  93. package/es/components/booking/info/client/serve.d.ts +2 -0
  94. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  95. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  96. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  97. package/es/components/booking/info/date/index.d.ts +4 -0
  98. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  99. package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  100. package/es/components/booking/info/index.d.ts +3 -0
  101. package/es/components/booking/info/model.d.ts +5 -0
  102. package/es/components/booking/info/pet/serve.d.ts +1 -0
  103. package/es/components/booking/info/service/addTimeModal/index.d.ts +3 -0
  104. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  105. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  106. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  107. package/es/components/booking/info/service/serve.d.ts +20 -0
  108. package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
  109. package/es/components/booking/info/service2/utils.d.ts +1 -1
  110. package/es/components/booking/info2/index.d.ts +12 -0
  111. package/es/components/booking/info2/serve.d.ts +6 -0
  112. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  113. package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  114. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  115. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  116. package/es/components/booking/info2/service/index.d.ts +4 -0
  117. package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
  118. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  119. package/es/components/booking/locales.d.ts +843 -0
  120. package/es/components/booking/model.d.ts +112 -0
  121. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  122. package/es/components/booking/utils.d.ts +2 -2
  123. package/es/components/eftposPay/app.d.ts +10 -0
  124. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  125. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  126. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  127. package/es/components/eftposPay/const.d.ts +184 -0
  128. package/es/components/eftposPay/device.d.ts +23 -0
  129. package/es/components/eftposPay/hooks.d.ts +35 -0
  130. package/es/components/eftposPay/index.d.ts +4 -0
  131. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  132. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  133. package/es/components/eftposPay/locales.d.ts +330 -0
  134. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  135. package/es/components/eftposPay/pay.d.ts +20 -0
  136. package/es/components/eftposPay/payo/config.d.ts +12 -0
  137. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  138. package/es/components/eftposPay/store/index.d.ts +355 -0
  139. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  140. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  141. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  142. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  143. package/es/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
  144. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  145. package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  146. package/es/components/eventBooking/index.d.ts +3 -0
  147. package/es/components/index.d.ts +24 -0
  148. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  149. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  150. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  151. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  152. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  153. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  154. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  155. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  156. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  157. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  158. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  159. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  160. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  161. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  162. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  163. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  164. package/es/components/pay/toC/locales.d.ts +307 -0
  165. package/es/components/pay/toC/model.d.ts +32 -0
  166. package/es/components/pay/toC/serve.d.ts +62 -0
  167. package/es/components/pay/toC/status.d.ts +13 -0
  168. package/es/components/pay/toC/utils.d.ts +57 -0
  169. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  170. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  171. package/es/components/ruleSetting/index.d.ts +9 -0
  172. package/es/components/ruleSetting/locales.d.ts +48 -0
  173. package/es/components/ruleSetting/server.d.ts +4 -0
  174. package/es/components/shoppingCart/locales.d.ts +33 -0
  175. package/es/components/shoppingCart/type.d.ts +48 -0
  176. package/es/components/subTotal/locales.d.ts +42 -0
  177. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  178. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  179. package/es/components/systemSettings/registry/components/index.d.ts +4 -0
  180. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  181. package/es/components/systemSettings/registry/services.d.ts +77 -0
  182. package/es/components/systemSettings/registry/types.d.ts +126 -0
  183. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  184. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  185. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  186. package/es/components/ticketBooking/index.d.ts +7 -0
  187. package/es/components/ticketBooking/locales.d.ts +174 -0
  188. package/es/components/ticketBooking/serve.d.ts +287 -0
  189. package/es/components/wallet/utils.d.ts +48 -0
  190. package/es/components/walletList/locales.d.ts +27 -0
  191. package/es/components/walletList/serve.d.ts +43 -0
  192. package/es/components/walletList/types/index.d.ts +194 -0
  193. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  194. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  195. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  196. package/es/hooks/useEngineContext.d.ts +10 -0
  197. package/es/hooks/useWindowSize.d.ts +5 -0
  198. package/es/index.d.ts +66 -0
  199. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  200. package/es/plus/contactInfo/locales.d.ts +15 -0
  201. package/es/plus/contactInfo/types.d.ts +91 -0
  202. package/es/plus/contactInfo/utils.d.ts +7 -0
  203. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  204. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  205. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  206. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  207. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  208. package/es/plus/productSelect/utils.d.ts +39 -0
  209. package/es/plus/selectHolder/locales.d.ts +21 -0
  210. package/es/plus/selectHolder/types.d.ts +104 -0
  211. package/es/plus/selectHolder/utils.d.ts +9 -0
  212. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  213. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  214. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  215. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  216. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  217. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  218. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  219. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  220. package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
  221. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  222. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  223. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  224. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  225. package/es/plus/skuOptionsSelection/types.d.ts +429 -0
  226. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  227. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  228. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  229. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  230. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  231. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  232. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  233. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  234. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  235. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  236. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  237. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  238. package/es/plus/walletEditor/index.d.ts +3 -0
  239. package/es/plus/walletEditor/locales.d.ts +135 -0
  240. package/es/plus/walletEditor/types.d.ts +52 -0
  241. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  242. package/es/plus/walletPassGallery/serve.d.ts +243 -0
  243. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  244. package/es/pro/Cards/index.d.ts +1 -0
  245. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  246. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  247. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  248. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  249. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  250. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  251. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  252. package/es/pro/Login2.0/locales.d.ts +543 -0
  253. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  254. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  255. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  256. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  257. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  258. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  259. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  260. package/es/pro/Login2.0/steps/index.d.ts +19 -0
  261. package/es/pro/Login2.0/types.d.ts +167 -0
  262. package/es/pro/NumericStepper/index.d.ts +43 -0
  263. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  264. package/es/pro/Selector/Item.d.ts +14 -0
  265. package/es/pro/Selector/Selector.d.ts +14 -0
  266. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  267. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  268. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  269. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  270. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  271. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  272. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  273. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  274. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  275. package/es/pro/Selector/components/index.d.ts +4 -0
  276. package/es/pro/Selector/demo.d.ts +2 -0
  277. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  278. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  279. package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  280. package/es/pro/Selector/index.d.ts +11 -0
  281. package/es/pro/Selector/locales.d.ts +36 -0
  282. package/es/pro/Selector/types.d.ts +173 -0
  283. package/es/pro/Selector/utils/index.d.ts +49 -0
  284. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  285. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  286. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  287. package/es/test/setup.d.ts +1 -0
  288. package/lib/components/Sales/Cart/index.d.ts +53 -0
  289. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  290. package/lib/components/Sales/Event/Detail.d.ts +30 -0
  291. package/lib/components/Sales/Summary/index.d.ts +35 -0
  292. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  293. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  294. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  295. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  296. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  297. package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
  298. package/lib/components/appointmentBooking/components/Header/index.js +3 -8
  299. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  300. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
  301. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +89 -0
  302. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +27 -7
  303. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  304. package/lib/components/appointmentBooking/hooks.js +6 -11
  305. package/lib/components/appointmentBooking/index.d.ts +3 -0
  306. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  307. package/lib/components/appointmentBooking/utils.d.ts +23 -0
  308. package/lib/components/appointmentBooking/utils.js +103 -0
  309. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  310. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  311. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  312. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  313. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  314. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  315. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  316. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  317. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  318. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  319. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  320. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  321. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  322. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  323. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  324. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  325. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  326. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  327. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  328. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  329. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  330. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  331. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  332. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  333. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  334. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  335. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  336. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  337. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  338. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  339. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  340. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  341. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  342. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  343. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  344. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  345. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  346. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  347. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  348. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  349. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  350. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  351. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  352. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  353. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  354. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  355. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  356. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  357. package/lib/components/authentication/admin/index.d.ts +26 -0
  358. package/lib/components/authentication/index.d.ts +0 -0
  359. package/lib/components/booking/addons/index.d.ts +17 -0
  360. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  361. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  362. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  363. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  364. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  365. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  366. package/lib/components/booking/deposit/index.d.ts +2 -0
  367. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  368. package/lib/components/booking/forms/forms.d.ts +30 -0
  369. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  370. package/lib/components/booking/forms/serve.d.ts +18 -0
  371. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  372. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  373. package/lib/components/booking/info/client/index.d.ts +4 -0
  374. package/lib/components/booking/info/client/serve.d.ts +2 -0
  375. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  376. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  377. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  378. package/lib/components/booking/info/date/index.d.ts +4 -0
  379. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  380. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  381. package/lib/components/booking/info/index.d.ts +3 -0
  382. package/lib/components/booking/info/model.d.ts +5 -0
  383. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  384. package/lib/components/booking/info/service/addTimeModal/index.d.ts +3 -0
  385. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  386. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  387. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  388. package/lib/components/booking/info/service/serve.d.ts +20 -0
  389. package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
  390. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  391. package/lib/components/booking/info2/index.d.ts +12 -0
  392. package/lib/components/booking/info2/serve.d.ts +6 -0
  393. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  394. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  395. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  396. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  397. package/lib/components/booking/info2/service/index.d.ts +4 -0
  398. package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
  399. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  400. package/lib/components/booking/locales.d.ts +843 -0
  401. package/lib/components/booking/model.d.ts +112 -0
  402. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  403. package/lib/components/booking/utils.d.ts +2 -2
  404. package/lib/components/eftposPay/app.d.ts +10 -0
  405. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  406. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  407. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  408. package/lib/components/eftposPay/const.d.ts +184 -0
  409. package/lib/components/eftposPay/device.d.ts +23 -0
  410. package/lib/components/eftposPay/hooks.d.ts +35 -0
  411. package/lib/components/eftposPay/index.d.ts +4 -0
  412. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  413. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  414. package/lib/components/eftposPay/locales.d.ts +330 -0
  415. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  416. package/lib/components/eftposPay/pay.d.ts +20 -0
  417. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  418. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  419. package/lib/components/eftposPay/store/index.d.ts +355 -0
  420. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  421. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  422. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  423. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  424. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
  425. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  426. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  427. package/lib/components/eventBooking/index.d.ts +3 -0
  428. package/lib/components/index.d.ts +24 -0
  429. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  430. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  431. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  432. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  433. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  434. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  435. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  436. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  437. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  438. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  439. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  440. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  441. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  442. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  443. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  444. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  445. package/lib/components/pay/toC/locales.d.ts +307 -0
  446. package/lib/components/pay/toC/model.d.ts +32 -0
  447. package/lib/components/pay/toC/serve.d.ts +62 -0
  448. package/lib/components/pay/toC/status.d.ts +13 -0
  449. package/lib/components/pay/toC/utils.d.ts +57 -0
  450. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  451. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  452. package/lib/components/ruleSetting/index.d.ts +9 -0
  453. package/lib/components/ruleSetting/locales.d.ts +48 -0
  454. package/lib/components/ruleSetting/server.d.ts +4 -0
  455. package/lib/components/shoppingCart/locales.d.ts +33 -0
  456. package/lib/components/shoppingCart/type.d.ts +48 -0
  457. package/lib/components/subTotal/locales.d.ts +42 -0
  458. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  459. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  460. package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
  461. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  462. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  463. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  464. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  465. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  466. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  467. package/lib/components/ticketBooking/index.d.ts +7 -0
  468. package/lib/components/ticketBooking/locales.d.ts +174 -0
  469. package/lib/components/ticketBooking/serve.d.ts +287 -0
  470. package/lib/components/wallet/utils.d.ts +48 -0
  471. package/lib/components/walletList/locales.d.ts +27 -0
  472. package/lib/components/walletList/serve.d.ts +43 -0
  473. package/lib/components/walletList/types/index.d.ts +194 -0
  474. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  475. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  476. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  477. package/lib/hooks/useEngineContext.d.ts +10 -0
  478. package/lib/hooks/useWindowSize.d.ts +5 -0
  479. package/lib/index.d.ts +66 -0
  480. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  481. package/lib/plus/contactInfo/locales.d.ts +15 -0
  482. package/lib/plus/contactInfo/types.d.ts +91 -0
  483. package/lib/plus/contactInfo/utils.d.ts +7 -0
  484. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  485. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  486. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  487. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  488. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  489. package/lib/plus/productSelect/utils.d.ts +39 -0
  490. package/lib/plus/selectHolder/locales.d.ts +21 -0
  491. package/lib/plus/selectHolder/types.d.ts +104 -0
  492. package/lib/plus/selectHolder/utils.d.ts +9 -0
  493. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  494. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  495. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  496. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  497. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  498. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  499. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  500. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  501. package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
  502. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  503. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  504. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  505. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  506. package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
  507. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  508. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  509. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  510. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  511. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  512. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  513. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  514. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  515. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  516. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  517. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  518. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  519. package/lib/plus/walletEditor/index.d.ts +3 -0
  520. package/lib/plus/walletEditor/locales.d.ts +135 -0
  521. package/lib/plus/walletEditor/types.d.ts +52 -0
  522. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  523. package/lib/plus/walletPassGallery/serve.d.ts +243 -0
  524. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  525. package/lib/pro/Cards/index.d.ts +1 -0
  526. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  527. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  528. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  529. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  530. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  531. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  532. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  533. package/lib/pro/Login2.0/locales.d.ts +543 -0
  534. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  535. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  536. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  537. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  538. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  539. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  540. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  541. package/lib/pro/Login2.0/steps/index.d.ts +19 -0
  542. package/lib/pro/Login2.0/types.d.ts +167 -0
  543. package/lib/pro/NumericStepper/index.d.ts +43 -0
  544. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  545. package/lib/pro/Selector/Item.d.ts +14 -0
  546. package/lib/pro/Selector/Selector.d.ts +14 -0
  547. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  548. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  549. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  550. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  551. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  552. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  553. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  554. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  555. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  556. package/lib/pro/Selector/components/index.d.ts +4 -0
  557. package/lib/pro/Selector/demo.d.ts +2 -0
  558. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  559. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  560. package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  561. package/lib/pro/Selector/index.d.ts +11 -0
  562. package/lib/pro/Selector/locales.d.ts +36 -0
  563. package/lib/pro/Selector/types.d.ts +173 -0
  564. package/lib/pro/Selector/utils/index.d.ts +49 -0
  565. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  566. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  567. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  568. package/lib/test/setup.d.ts +1 -0
  569. package/package.json +4 -4
@@ -0,0 +1,2 @@
1
+ export declare const getReturnUrl: () => string;
2
+ export declare const getAliPayUrl: (orderId: number, values: any) => Promise<any>;
@@ -0,0 +1,2 @@
1
+ export declare const getReturnUrl: () => string;
2
+ export declare const getWxPayUrl: (orderId: number, values: any) => Promise<any>;
@@ -0,0 +1,155 @@
1
+ export declare type MachineCodeListParams = {
2
+ order_id: number | string;
3
+ available: number;
4
+ prepare_payments: {
5
+ voucher_id: number;
6
+ amount: number;
7
+ tag: string;
8
+ }[];
9
+ filter_prepare_wallet_pass: 1 | 0;
10
+ sale_channel: string;
11
+ other_exact_codes?: string[];
12
+ };
13
+ export declare type WalletPassDataType = {
14
+ id: number;
15
+ shop_id: number;
16
+ customer_id: number;
17
+ code: string;
18
+ encoded: string;
19
+ status: string;
20
+ cover: string;
21
+ tag: string;
22
+ relation_type: string;
23
+ product_id: number;
24
+ limit_status: string;
25
+ sales_status: number;
26
+ par_value: string;
27
+ used_par_value: string;
28
+ start_date: string;
29
+ expire_date: string;
30
+ end_time: string;
31
+ start_time: string;
32
+ created_at: string;
33
+ product_name: string;
34
+ expire_time: string;
35
+ available_max_par_value: string;
36
+ available_max_amount: string;
37
+ recommended_usage_amount: string;
38
+ custom_expire_status: number;
39
+ wallet_pass_usage_unit: WalletPassUsageUnit;
40
+ custom_order_deduct_exhausted: number;
41
+ available_product_status: number;
42
+ available_product_ids: any[];
43
+ available_product_type: string;
44
+ available_num: number;
45
+ available_product_title: string;
46
+ unified_available_status: number;
47
+ unified_messages: UnifiedMessages;
48
+ external_card: any[];
49
+ product: Product;
50
+ shop: Shop;
51
+ wallet_pass_usage?: any;
52
+ balance_par_value: string;
53
+ custom_schedule_snapshot?: {
54
+ data: any[];
55
+ };
56
+ metadata?: {
57
+ validity_type: string;
58
+ };
59
+ };
60
+ declare type Shop = {
61
+ id: number;
62
+ name: string;
63
+ default_url: string;
64
+ };
65
+ declare type Product = {
66
+ id: number;
67
+ title: string;
68
+ cover: string;
69
+ is_charge_tax: number;
70
+ };
71
+ declare type UnifiedMessages = {
72
+ title: string;
73
+ desc: string;
74
+ alert: string;
75
+ };
76
+ declare type WalletPassUsageUnit = {
77
+ price: number;
78
+ points: number;
79
+ };
80
+ /**
81
+ * 查询支付识别码列表
82
+ */
83
+ export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise<WalletPassDataType[]>;
84
+ /**
85
+ * 获取推荐的支付识别码
86
+ */
87
+ export declare const getRecommendMachineCodeList: (order_id: number) => Promise<WalletPassDataType[]>;
88
+ /**
89
+ * 搜索支付识别码
90
+ */
91
+ export declare const searchMachineCodeList: (params: {
92
+ order_id: number | string;
93
+ code?: string;
94
+ sale_channel: string;
95
+ prepare_payments: {
96
+ voucher_id: number;
97
+ amount: number;
98
+ tag: string;
99
+ }[];
100
+ filter_prepare_wallet_pass?: 1 | 0;
101
+ customer_pin_key?: string;
102
+ }) => Promise<WalletPassDataType[]>;
103
+ /**
104
+ * walletpass支付
105
+ */
106
+ export declare const walletPassPay: (params: {
107
+ order_id: number | string;
108
+ payment_group_id: number;
109
+ payments: {
110
+ amount: string;
111
+ wallet_pass_use_value: string;
112
+ voucher_id: number;
113
+ tag: string;
114
+ wallet_pass_usage_unit: {
115
+ price: number;
116
+ points: number;
117
+ };
118
+ }[];
119
+ }) => Promise<WalletPassDataType[]>;
120
+ /**
121
+ * 搜索wallet code
122
+ */
123
+ export declare const searchWalletCode: (params: {
124
+ code: string;
125
+ with_customer: 1 | 0;
126
+ }) => Promise<{
127
+ code: string;
128
+ id: number;
129
+ status: 'enable' | 'disable' | 'expired';
130
+ expired_at: string;
131
+ customer: Record<string, any>;
132
+ check_max_count: number;
133
+ failed_count: number;
134
+ }>;
135
+ /**
136
+ * 验证pin码
137
+ */
138
+ export declare const verifyPinCode: (params: {
139
+ wallet_detail_id: number;
140
+ pin: string;
141
+ }) => Promise<{
142
+ status: number;
143
+ customer_id: number;
144
+ msg: string;
145
+ customer_pin_key: string;
146
+ }>;
147
+ /**
148
+ * 获取pin码
149
+ */
150
+ export declare const getPin: (params: {
151
+ wallet_detail_id: number;
152
+ }) => Promise<{
153
+ pin: string;
154
+ }>;
155
+ export {};
@@ -0,0 +1,19 @@
1
+ export interface UsePaymentRedirectOptions {
2
+ orderId?: string;
3
+ paymentType: string;
4
+ onAfterReturn?: () => void;
5
+ }
6
+ export interface UsePaymentRedirectReturn {
7
+ isReturned: boolean;
8
+ handleRedirect: (url: string) => Promise<void>;
9
+ resetState: () => void;
10
+ }
11
+ /**
12
+ * 支付跳转 Hook
13
+ * 用于处理跳转到外部支付页面的逻辑,包括:
14
+ * 1. 保存跳转标记到 history state
15
+ * 2. 跳转到外部支付页面
16
+ * 3. 监听页面返回事件
17
+ * 4. 返回后更新状态
18
+ */
19
+ export declare const usePaymentRedirect: (options: UsePaymentRedirectOptions) => UsePaymentRedirectReturn;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface PaymentMethodsRef {
3
+ onPay: (props: any) => void;
4
+ }
5
+ interface PaymentMethodsProps {
6
+ payCallback: (props: any) => void;
7
+ }
8
+ declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
9
+ export default _default;
@@ -0,0 +1,307 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'tocPay.text.checkout': string;
4
+ 'tocPay.text.total': string;
5
+ 'tocPay.text.completePaymentIn': string;
6
+ 'tocPay.text.paymentInstruction': string;
7
+ 'tocPay.text.serviceCharge': string;
8
+ 'tocPay.text.noAvailablePaymentMethods': string;
9
+ 'tocPay.text.paymentMethod': string;
10
+ 'tocPay.text.connectingApplePay': string;
11
+ 'tocPay.text.connectingGooglePay': string;
12
+ 'tocPay.text.enterName': string;
13
+ 'tocPay.text.enterValidName': string;
14
+ 'tocPay.text.enterCardNumber': string;
15
+ 'tocPay.text.enterValidCardNumber': string;
16
+ 'tocPay.text.enterExpirationDate': string;
17
+ 'tocPay.text.enterCVV': string;
18
+ 'tocPay.text.enterValidCVV': string;
19
+ 'tocPay.text.addCard': string;
20
+ 'tocPay.text.creditorDebitCard': string;
21
+ 'tocPay.text.addCreditOrDebitCard': string;
22
+ 'tocPay.text.cardNumber': string;
23
+ 'tocPay.text.incorrectCardNumber': string;
24
+ 'tocPay.text.expiration': string;
25
+ 'tocPay.text.incorrectExpiryDate': string;
26
+ 'tocPay.text.securityCode': string;
27
+ 'tocPay.text.incorrectSecurityCode': string;
28
+ 'tocPay.text.cardholderName': string;
29
+ 'tocPay.text.enterEnglishName': string;
30
+ 'tocPay.text.incorrectName': string;
31
+ 'tocPay.text.saveCardForNextTime': string;
32
+ 'tocPay.text.secureBankInfo': string;
33
+ 'tocPay.text.pay': string;
34
+ 'tocPay.text.surcharge': string;
35
+ 'tocPay.text.done': string;
36
+ 'tocPay.text.manageCard': string;
37
+ 'tocPay.text.waitingForBankVerification': string;
38
+ 'tocPay.text.successBack': string;
39
+ 'tocPay.text.redirectingToAlipay': string;
40
+ 'tocPay.text.redirectingToPaypal': string;
41
+ 'tocPay.text.redirectingToWeChatPay': string;
42
+ 'tocPay.text.submit': string;
43
+ 'tocPay.text.clickSubmitToComplete': string;
44
+ 'tocPay.text.noExtraPayNeeded': string;
45
+ 'tocPay.text.continuePayment': string;
46
+ 'tocPay.text.prompt': string;
47
+ 'tocPay.text.confirmLeave': string;
48
+ 'tocPay.text.continuePay': string;
49
+ 'tocPay.text.leave': string;
50
+ 'tocPay.text.getParamsFail': string;
51
+ 'tocPay.text.walletPass': string;
52
+ 'tocPay.text.toUse': string;
53
+ 'tocPay.text.searchResult': string;
54
+ 'tocPay.text.select': string;
55
+ 'tocPay.text.couponCodesAdded': string;
56
+ 'tocPay.text.redeem': string;
57
+ 'tocPay.text.howToPay': string;
58
+ 'tocPay.text.congrats': string;
59
+ 'tocPay.text.creditHaveBeen': string;
60
+ 'tocPay.text.walletPassCodesTitle': string;
61
+ 'tocPay.text.scanBarQrCode': string;
62
+ 'tocPay.text.enterCodes': string;
63
+ 'tocPay.text.searchDescribe': string;
64
+ 'tocPay.text.walletPassEmpty': (walletName: string) => string;
65
+ 'tocPay.text.walletPassDisabled': string;
66
+ 'tocPay.text.walletPassPermanent': string;
67
+ 'tocPay.text.walletPassCompleteTitle': string;
68
+ 'tocPay.text.walletPassNoExtraPay': string;
69
+ 'tocPay.text.walletCanPay': string;
70
+ 'tocPay.text.paymentInstructions': string;
71
+ 'tocPay.text.walletSearchEmpty': string;
72
+ 'tocPay.text.detectIncognitoConfirm': string;
73
+ 'tocPay.text.copyLink': string;
74
+ 'tocPay.text.copySuccess': string;
75
+ 'tocPay.text.walletName': (shopName: string) => string;
76
+ 'tocPay.text.bestValueFound': string;
77
+ 'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
78
+ 'tocPay.text.totalSavings': string;
79
+ 'tocPay.text.bestCombination': (walletName: string) => string;
80
+ 'tocPay.text.recommended': string;
81
+ 'tocPay.text.edit': string;
82
+ 'tocPay.text.confirm': string;
83
+ 'tocPay.text.unusedAndContinueToPayment': string;
84
+ 'tocPay.text.walletPassAvailable': (walletName: string) => string;
85
+ 'tocPay.text.useWalletPass': (walletName: string) => string;
86
+ 'tocPay.text.useWalletPassAdd': (walletName: string) => string;
87
+ 'tocPay.text.editWalletPass': (walletName: string) => string;
88
+ 'tocPay.text.skipAndContinueToPayment': string;
89
+ 'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
90
+ 'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
91
+ 'tocPay.text.addPointsCard': string;
92
+ 'tocPay.text.hasNoWalletPassAmount': string;
93
+ 'tocPay.text.multipleSelectionAvailable': string;
94
+ 'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
95
+ 'tocPay.text.bestValueCombination': string;
96
+ 'tocPay.text.viewDetail': string;
97
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
98
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
99
+ 'tocPay.text.paymentFailed': string;
100
+ 'tocPay.text.weAreVerifyingYourPaymentPleaseCheckYourOrderStatusLater': string;
101
+ 'tocPay.text.domestic': string;
102
+ 'tocPay.text.rest-of-world': string;
103
+ };
104
+ 'zh-CN': {
105
+ 'tocPay.text.checkout': string;
106
+ 'tocPay.text.total': string;
107
+ 'tocPay.text.completePaymentIn': string;
108
+ 'tocPay.text.paymentInstructions': string;
109
+ 'tocPay.text.serviceCharge': string;
110
+ 'tocPay.text.noAvailablePaymentMethods': string;
111
+ 'tocPay.text.paymentMethod': string;
112
+ 'tocPay.text.connectingApplePay': string;
113
+ 'tocPay.text.connectingGooglePay': string;
114
+ 'tocPay.text.enterName': string;
115
+ 'tocPay.text.enterValidName': string;
116
+ 'tocPay.text.enterCardNumber': string;
117
+ 'tocPay.text.enterValidCardNumber': string;
118
+ 'tocPay.text.enterExpirationDate': string;
119
+ 'tocPay.text.enterCVV': string;
120
+ 'tocPay.text.enterValidCVV': string;
121
+ 'tocPay.text.addCard': string;
122
+ 'tocPay.text.creditorDebitCard': string;
123
+ 'tocPay.text.addCreditOrDebitCard': string;
124
+ 'tocPay.text.cardNumber': string;
125
+ 'tocPay.text.incorrectCardNumber': string;
126
+ 'tocPay.text.expiration': string;
127
+ 'tocPay.text.incorrectExpiryDate': string;
128
+ 'tocPay.text.securityCode': string;
129
+ 'tocPay.text.incorrectSecurityCode': string;
130
+ 'tocPay.text.cardholderName': string;
131
+ 'tocPay.text.enterEnglishName': string;
132
+ 'tocPay.text.incorrectName': string;
133
+ 'tocPay.text.saveCardForNextTime': string;
134
+ 'tocPay.text.secureBankInfo': string;
135
+ 'tocPay.text.pay': string;
136
+ 'tocPay.text.surcharge': string;
137
+ 'tocPay.text.done': string;
138
+ 'tocPay.text.manageCard': string;
139
+ 'tocPay.text.waitingForBankVerification': string;
140
+ 'tocPay.text.successBack': string;
141
+ 'tocPay.text.redirectingToAlipay': string;
142
+ 'tocPay.text.redirectingToPaypal': string;
143
+ 'tocPay.text.redirectingToWeChatPay': string;
144
+ 'tocPay.text.submit': string;
145
+ 'tocPay.text.clickSubmitToComplete': string;
146
+ 'tocPay.text.noExtraPayNeeded': string;
147
+ 'tocPay.text.continuePayment': string;
148
+ 'tocPay.text.prompt': string;
149
+ 'tocPay.text.confirmLeave': string;
150
+ 'tocPay.text.continuePay': string;
151
+ 'tocPay.text.leave': string;
152
+ 'tocPay.text.getParamsFail': string;
153
+ 'tocPay.text.walletPass': string;
154
+ 'tocPay.text.toUse': string;
155
+ 'tocPay.text.searchResult': string;
156
+ 'tocPay.text.select': string;
157
+ 'tocPay.text.couponCodesAdded': string;
158
+ 'tocPay.text.redeem': string;
159
+ 'tocPay.text.howToPay': string;
160
+ 'tocPay.text.congrats': string;
161
+ 'tocPay.text.creditHaveBeen': string;
162
+ 'tocPay.text.walletPassCodesTitle': string;
163
+ 'tocPay.text.scanBarQrCode': string;
164
+ 'tocPay.text.enterCodes': string;
165
+ 'tocPay.text.searchDescribe': string;
166
+ 'tocPay.text.walletPassEmpty': (walletName: string) => string;
167
+ 'tocPay.text.walletPassDisabled': string;
168
+ 'tocPay.text.walletPassPermanent': string;
169
+ 'tocPay.text.walletPassCompleteTitle': string;
170
+ 'tocPay.text.walletPassNoExtraPay': string;
171
+ 'tocPay.text.walletCanPay': string;
172
+ 'tocPay.text.walletSearchEmpty': string;
173
+ 'tocPay.text.detectIncognitoConfirm': string;
174
+ 'tocPay.text.copyLink': string;
175
+ 'tocPay.text.copySuccess': string;
176
+ 'tocPay.text.walletName': (shopName: string) => string;
177
+ 'tocPay.text.bestValueFound': string;
178
+ 'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
179
+ 'tocPay.text.totalSavings': string;
180
+ 'tocPay.text.bestCombination': (walletName: string) => string;
181
+ 'tocPay.text.recommended': string;
182
+ 'tocPay.text.edit': string;
183
+ 'tocPay.text.confirm': string;
184
+ 'tocPay.text.unusedAndContinueToPayment': string;
185
+ 'tocPay.text.walletPassAvailable': (walletName: string) => string;
186
+ 'tocPay.text.useWalletPass': (walletName: string) => string;
187
+ 'tocPay.text.useWalletPassAdd': (walletName: string) => string;
188
+ 'tocPay.text.editWalletPass': (walletName: string) => string;
189
+ 'tocPay.text.skipAndContinueToPayment': string;
190
+ 'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
191
+ 'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
192
+ 'tocPay.text.addPointsCard': string;
193
+ 'tocPay.text.hasNoWalletPassAmount': string;
194
+ 'tocPay.text.multipleSelectionAvailable': string;
195
+ 'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
196
+ 'tocPay.text.bestValueCombination': string;
197
+ 'tocPay.text.viewDetail': string;
198
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
199
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
200
+ 'tocPay.text.paymentFailed': string;
201
+ 'tocPay.text.weAreVerifyingYourPaymentPleaseCheckYourOrderStatusLater': string;
202
+ 'tocPay.text.domestic': string;
203
+ 'tocPay.text.rest-of-world': string;
204
+ };
205
+ 'zh-HK': {
206
+ 'tocPay.text.checkout': string;
207
+ 'tocPay.text.total': string;
208
+ 'tocPay.text.completePaymentIn': string;
209
+ 'tocPay.text.paymentInstructions': string;
210
+ 'tocPay.text.serviceCharge': string;
211
+ 'tocPay.text.noAvailablePaymentMethods': string;
212
+ 'tocPay.text.paymentMethod': string;
213
+ 'tocPay.text.connectingApplePay': string;
214
+ 'tocPay.text.connectingGooglePay': string;
215
+ 'tocPay.text.enterName': string;
216
+ 'tocPay.text.enterValidName': string;
217
+ 'tocPay.text.enterCardNumber': string;
218
+ 'tocPay.text.enterValidCardNumber': string;
219
+ 'tocPay.text.enterExpirationDate': string;
220
+ 'tocPay.text.enterCVV': string;
221
+ 'tocPay.text.enterValidCVV': string;
222
+ 'tocPay.text.addCard': string;
223
+ 'tocPay.text.creditorDebitCard': string;
224
+ 'tocPay.text.addCreditOrDebitCard': string;
225
+ 'tocPay.text.cardNumber': string;
226
+ 'tocPay.text.incorrectCardNumber': string;
227
+ 'tocPay.text.expiration': string;
228
+ 'tocPay.text.incorrectExpiryDate': string;
229
+ 'tocPay.text.securityCode': string;
230
+ 'tocPay.text.incorrectSecurityCode': string;
231
+ 'tocPay.text.cardholderName': string;
232
+ 'tocPay.text.enterEnglishName': string;
233
+ 'tocPay.text.incorrectName': string;
234
+ 'tocPay.text.saveCardForNextTime': string;
235
+ 'tocPay.text.secureBankInfo': string;
236
+ 'tocPay.text.pay': string;
237
+ 'tocPay.text.surcharge': string;
238
+ 'tocPay.text.done': string;
239
+ 'tocPay.text.manageCard': string;
240
+ 'tocPay.text.waitingForBankVerification': string;
241
+ 'tocPay.text.successBack': string;
242
+ 'tocPay.text.redirectingToAlipay': string;
243
+ 'tocPay.text.redirectingToPaypal': string;
244
+ 'tocPay.text.redirectingToWeChatPay': string;
245
+ 'tocPay.text.submit': string;
246
+ 'tocPay.text.clickSubmitToComplete': string;
247
+ 'tocPay.text.noExtraPayNeeded': string;
248
+ 'tocPay.text.continuePayment': string;
249
+ 'tocPay.text.prompt': string;
250
+ 'tocPay.text.confirmLeave': string;
251
+ 'tocPay.text.continuePay': string;
252
+ 'tocPay.text.leave': string;
253
+ 'tocPay.text.getParamsFail': string;
254
+ 'tocPay.text.walletPass': string;
255
+ 'tocPay.text.toUse': string;
256
+ 'tocPay.text.searchResult': string;
257
+ 'tocPay.text.select': string;
258
+ 'tocPay.text.couponCodesAdded': string;
259
+ 'tocPay.text.redeem': string;
260
+ 'tocPay.text.howToPay': string;
261
+ 'tocPay.text.congrats': string;
262
+ 'tocPay.text.creditHaveBeen': string;
263
+ 'tocPay.text.walletPassCodesTitle': string;
264
+ 'tocPay.text.scanBarQrCode': string;
265
+ 'tocPay.text.enterCodes': string;
266
+ 'tocPay.text.searchDescribe': string;
267
+ 'tocPay.text.walletPassEmpty': (walletName: string) => string;
268
+ 'tocPay.text.walletPassDisabled': string;
269
+ 'tocPay.text.walletPassPermanent': string;
270
+ 'tocPay.text.walletPassCompleteTitle': string;
271
+ 'tocPay.text.walletPassNoExtraPay': string;
272
+ 'tocPay.text.walletCanPay': string;
273
+ 'tocPay.text.walletSearchEmpty': string;
274
+ 'tocPay.text.detectIncognitoConfirm': string;
275
+ 'tocPay.text.copyLink': string;
276
+ 'tocPay.text.copySuccess': string;
277
+ 'tocPay.text.walletName': (shopName: string) => string;
278
+ 'tocPay.text.bestValueFound': string;
279
+ 'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
280
+ 'tocPay.text.totalSavings': string;
281
+ 'tocPay.text.bestCombination': (walletName: string) => string;
282
+ 'tocPay.text.recommended': string;
283
+ 'tocPay.text.edit': string;
284
+ 'tocPay.text.confirm': string;
285
+ 'tocPay.text.unusedAndContinueToPayment': string;
286
+ 'tocPay.text.walletPassAvailable': (walletName: string) => string;
287
+ 'tocPay.text.useWalletPass': (walletName: string) => string;
288
+ 'tocPay.text.useWalletPassAdd': (walletName: string) => string;
289
+ 'tocPay.text.editWalletPass': (walletName: string) => string;
290
+ 'tocPay.text.skipAndContinueToPayment': string;
291
+ 'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
292
+ 'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
293
+ 'tocPay.text.addPointsCard': string;
294
+ 'tocPay.text.hasNoWalletPassAmount': string;
295
+ 'tocPay.text.multipleSelectionAvailable': string;
296
+ 'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
297
+ 'tocPay.text.bestValueCombination': string;
298
+ 'tocPay.text.viewDetail': string;
299
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
300
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
301
+ 'tocPay.text.paymentFailed': string;
302
+ 'tocPay.text.weAreVerifyingYourPaymentPleaseCheckYourOrderStatusLater': string;
303
+ 'tocPay.text.domestic': string;
304
+ 'tocPay.text.rest-of-world': string;
305
+ };
306
+ };
307
+ export default _default;
@@ -0,0 +1,32 @@
1
+ export interface FormState {
2
+ platform: 'pc' | 'h5' | '' | undefined;
3
+ order: any;
4
+ status: 'init' | 'ready' | 'loading' | 'success' | 'error';
5
+ payCallback: (res?: any) => void;
6
+ history?: any;
7
+ payGroup?: PayGroup;
8
+ walletSetting: {
9
+ name: string;
10
+ popup_status: 0 | 1 | null;
11
+ };
12
+ }
13
+ export interface PayGroup {
14
+ order_id?: string;
15
+ total_amount?: number;
16
+ walletPass?: {
17
+ amount: number;
18
+ cards: any[];
19
+ [key: string]: any;
20
+ paid?: boolean;
21
+ };
22
+ otherPayment?: {
23
+ [key: string]: any;
24
+ };
25
+ wait_amount?: number;
26
+ payment_group_id?: number;
27
+ payment_priority?: string[];
28
+ pay_number?: string;
29
+ _order: any;
30
+ front_order_uuid?: string;
31
+ }
32
+ export declare const Provider: any, Context: any;
@@ -0,0 +1,62 @@
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
+ };
53
+ };
54
+ wallet_setting: {
55
+ popup_status?: 1 | 0;
56
+ };
57
+ }>;
58
+ /**
59
+ * @title: 获取支付结果
60
+ * @description: 获取支付结果
61
+ */
62
+ export declare const getPaymentResult: (values: any) => Promise<any>;
@@ -0,0 +1,13 @@
1
+ export declare const paymentServices: any;
2
+ export declare const paymentTypes: any[];
3
+ export declare const tripartitePaymentKeys: string[];
4
+ export declare const paymentKeys: string[];
5
+ /**
6
+ * @title: 判断是否是三方支付
7
+ * @description:
8
+ * @return: *
9
+ * @Author: shengjie.zuo
10
+ * @Date: 2024-08-30 10:16:26
11
+ */
12
+ export declare const isTripartitePayment: (service: string) => boolean;
13
+ export declare const saleChannelMap: Record<string, string>;
@@ -0,0 +1,57 @@
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
+ }[];
31
+ };
32
+ /**
33
+ * @title: 获取是否walletPass和三方支付的组合支付
34
+ * @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
35
+ * @return: *
36
+ * @Author: shengjie.zuo
37
+ * @Date: 2024-08-30 10:06:17
38
+ */
39
+ export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
40
+ export declare const isFranchiseeShop: (path?: any, history?: any) => any;
41
+ /**
42
+ * @title: 获取当前连锁加盟店铺shopid
43
+ * @description:
44
+ * @param {any} param1
45
+ * @return {*}
46
+ * @Author: chensheng.gu
47
+ * @Date: 2024-08-07 10:04
48
+ */
49
+ export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
50
+ export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
51
+ export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
52
+ export declare const clientPayment: (params: {
53
+ order_id: number;
54
+ type: "aliPay" | "wxPay" | 'google_pay';
55
+ values: any;
56
+ interaction?: any;
57
+ }) => void;
@@ -0,0 +1,2 @@
1
+ declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
+ export default PhoneField;
@@ -0,0 +1,3 @@
1
+ import { QueryParams } from './index';
2
+ export declare const getCustomerList: (params: QueryParams) => Promise<any>;
3
+ export declare const addCustomer: (params: any) => Promise<any>;