@pisell/private-materials 3.4.47 → 3.4.49

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 (367) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -8
  11. package/es/components/Sales/Event/Detail.d.ts +30 -0
  12. package/es/components/Sales/Summary/utils.d.ts +1 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  15. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  17. package/es/components/appointmentBooking/hooks.js +5 -0
  18. package/es/components/appointmentBooking/locales.d.ts +363 -0
  19. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  20. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  21. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  22. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  23. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  24. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  25. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  26. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  27. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  28. package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  29. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  30. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  32. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  35. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  36. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  37. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  38. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  48. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  49. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  50. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  51. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  52. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  53. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  54. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  55. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  56. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  57. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  58. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  59. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  60. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  61. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  62. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  63. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  64. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  65. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  66. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  67. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  68. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  69. package/es/components/authentication/admin/index.d.ts +26 -0
  70. package/es/components/authentication/index.d.ts +0 -0
  71. package/es/components/booking/addons/model.d.ts +10 -1
  72. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  73. package/es/components/booking/components/customSelect/index.js +22 -3
  74. package/es/components/booking/components/footer/index.d.ts +11 -0
  75. package/es/components/booking/components/footer/utils.d.ts +41 -0
  76. package/es/components/booking/forms/footer.d.ts +6 -0
  77. package/es/components/booking/forms/model.d.ts +10 -1
  78. package/es/components/booking/info/client/index.d.ts +4 -0
  79. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  80. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  81. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  82. package/es/components/booking/info/main.d.ts +12 -0
  83. package/es/components/booking/info/model.d.ts +14 -0
  84. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  85. package/es/components/booking/info2/index.d.ts +12 -0
  86. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  87. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  88. package/es/components/booking/locales.d.ts +834 -0
  89. package/es/components/booking/model.d.ts +119 -0
  90. package/es/components/booking/notes/model.d.ts +10 -1
  91. package/es/components/booking/payments/model.d.ts +10 -1
  92. package/es/components/eftposPay/hooks.d.ts +1 -1
  93. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  94. package/es/components/eftposPay/store/index.d.ts +3 -3
  95. package/es/components/index.d.ts +23 -0
  96. package/es/components/index.js +1 -1
  97. package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  98. package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  99. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  100. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  101. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  102. package/es/components/pay/toC/index.d.ts +3 -0
  103. package/es/components/pay/toC/locales.d.ts +298 -0
  104. package/es/components/pay/toC/model.d.ts +40 -0
  105. package/es/components/pay/toC/serve.d.ts +62 -0
  106. package/es/components/schedules/model.d.ts +9 -1
  107. package/es/components/wallet/Detail/model.d.ts +13 -1
  108. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  109. package/es/components/wallet/PointCard/model.d.ts +13 -1
  110. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  111. package/es/components/wallet/Voucher/model.d.ts +13 -1
  112. package/es/components/wallet/model.d.ts +9 -1
  113. package/es/components/walletList/index.d.ts +0 -25
  114. package/es/components/walletList/index.js +93 -61
  115. package/es/components/walletList/serve.d.ts +4 -0
  116. package/es/components/walletList/serve.js +46 -13
  117. package/es/components/walletList/types/index.d.ts +12 -12
  118. package/es/components/walletList/types/index.js +2 -2
  119. package/es/index.d.ts +58 -0
  120. package/es/index.js +3 -2
  121. package/es/plus/clientName/index.d.ts +4 -0
  122. package/es/plus/clientName/type.d.ts +13 -0
  123. package/es/plus/clientName/utils.d.ts +2 -0
  124. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  125. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  126. package/es/plus/contactInfo/index.d.ts +6 -0
  127. package/es/plus/contactInfo/locales.d.ts +15 -0
  128. package/es/plus/contactInfo/types.d.ts +91 -0
  129. package/es/plus/contactInfo/utils.d.ts +7 -0
  130. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  131. package/es/plus/contactInfoModal/index.d.ts +41 -0
  132. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  133. package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  134. package/es/plus/productSelect/CategoryTabs/index.js +6 -3
  135. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  136. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  137. package/es/plus/productSelect/index.d.ts +32 -0
  138. package/es/plus/productSelect/utils.js +0 -1
  139. package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
  140. package/es/plus/walletEditor/WalletEditor.js +316 -0
  141. package/es/plus/walletEditor/WalletEditor.less +129 -0
  142. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  143. package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
  144. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  145. package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
  146. package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
  147. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  148. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
  149. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  150. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  151. package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
  152. package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
  153. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  154. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
  155. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  156. package/es/plus/walletEditor/index.d.ts +3 -0
  157. package/es/plus/walletEditor/index.js +3 -0
  158. package/es/plus/walletEditor/locales.d.ts +126 -0
  159. package/es/plus/walletEditor/locales.js +143 -0
  160. package/es/plus/walletEditor/types.d.ts +52 -0
  161. package/es/plus/walletEditor/types.js +1 -0
  162. package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  163. package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
  164. package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
  165. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  166. package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
  167. package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
  168. package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  169. package/es/plus/walletPassGallery/components/passList/index.js +115 -0
  170. package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  171. package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
  172. package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
  173. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  174. package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
  175. package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  176. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  177. package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
  178. package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
  179. package/es/plus/walletPassGallery/index.d.ts +6 -0
  180. package/es/plus/walletPassGallery/index.js +602 -0
  181. package/es/plus/walletPassGallery/index.less +115 -0
  182. package/es/plus/walletPassGallery/locales.d.ts +270 -0
  183. package/es/plus/walletPassGallery/locales.js +279 -0
  184. package/es/plus/walletPassGallery/serve.d.ts +218 -0
  185. package/es/plus/walletPassGallery/serve.js +289 -0
  186. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  187. package/lib/components/Sales/Event/Detail.d.ts +30 -0
  188. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  189. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  190. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  191. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  192. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  193. package/lib/components/appointmentBooking/hooks.js +3 -0
  194. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  195. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  196. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  197. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  198. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  199. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  200. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  201. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  202. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  203. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  204. package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
  205. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  206. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  207. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  208. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  209. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  210. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  211. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  212. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  213. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  214. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  215. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  216. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  217. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  218. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  219. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  220. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  221. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  222. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  223. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  224. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  225. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  226. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  227. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  228. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  229. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  230. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  231. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  232. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  233. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  234. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  235. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  236. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  237. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  238. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  239. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  240. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  241. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  242. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  243. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  244. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  245. package/lib/components/authentication/admin/index.d.ts +26 -0
  246. package/lib/components/authentication/index.d.ts +0 -0
  247. package/lib/components/booking/addons/model.d.ts +10 -1
  248. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  249. package/lib/components/booking/components/customSelect/index.js +26 -3
  250. package/lib/components/booking/components/footer/index.d.ts +11 -0
  251. package/lib/components/booking/components/footer/utils.d.ts +41 -0
  252. package/lib/components/booking/forms/footer.d.ts +6 -0
  253. package/lib/components/booking/forms/model.d.ts +10 -1
  254. package/lib/components/booking/info/client/index.d.ts +4 -0
  255. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  256. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  257. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  258. package/lib/components/booking/info/main.d.ts +12 -0
  259. package/lib/components/booking/info/model.d.ts +14 -0
  260. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  261. package/lib/components/booking/info2/index.d.ts +12 -0
  262. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  263. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  264. package/lib/components/booking/locales.d.ts +834 -0
  265. package/lib/components/booking/model.d.ts +119 -0
  266. package/lib/components/booking/notes/model.d.ts +10 -1
  267. package/lib/components/booking/payments/model.d.ts +10 -1
  268. package/lib/components/eftposPay/hooks.d.ts +1 -1
  269. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  270. package/lib/components/eftposPay/store/index.d.ts +3 -3
  271. package/lib/components/index.d.ts +23 -0
  272. package/lib/components/index.js +1 -1
  273. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  274. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  275. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  276. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  277. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  278. package/lib/components/pay/toC/index.d.ts +3 -0
  279. package/lib/components/pay/toC/locales.d.ts +298 -0
  280. package/lib/components/pay/toC/model.d.ts +40 -0
  281. package/lib/components/pay/toC/serve.d.ts +62 -0
  282. package/lib/components/schedules/model.d.ts +9 -1
  283. package/lib/components/wallet/Detail/model.d.ts +13 -1
  284. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  285. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  286. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  287. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  288. package/lib/components/wallet/model.d.ts +9 -1
  289. package/lib/components/walletList/index.d.ts +0 -25
  290. package/lib/components/walletList/index.js +88 -47
  291. package/lib/components/walletList/serve.d.ts +4 -0
  292. package/lib/components/walletList/serve.js +12 -0
  293. package/lib/components/walletList/types/index.d.ts +12 -12
  294. package/lib/index.d.ts +58 -0
  295. package/lib/index.js +6 -3
  296. package/lib/plus/clientName/index.d.ts +4 -0
  297. package/lib/plus/clientName/type.d.ts +13 -0
  298. package/lib/plus/clientName/utils.d.ts +2 -0
  299. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  300. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  301. package/lib/plus/contactInfo/index.d.ts +6 -0
  302. package/lib/plus/contactInfo/locales.d.ts +15 -0
  303. package/lib/plus/contactInfo/types.d.ts +91 -0
  304. package/lib/plus/contactInfo/utils.d.ts +7 -0
  305. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  306. package/lib/plus/contactInfoModal/index.d.ts +41 -0
  307. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  308. package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  309. package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
  310. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  311. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  312. package/lib/plus/productSelect/index.d.ts +32 -0
  313. package/lib/plus/productSelect/utils.js +0 -1
  314. package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
  315. package/lib/plus/walletEditor/WalletEditor.js +354 -0
  316. package/lib/plus/walletEditor/WalletEditor.less +129 -0
  317. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  318. package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
  319. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  320. package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
  321. package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
  322. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  323. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
  324. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  325. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  326. package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
  327. package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
  328. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  329. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
  330. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  331. package/lib/plus/walletEditor/index.d.ts +3 -0
  332. package/lib/plus/walletEditor/index.js +42 -0
  333. package/lib/plus/walletEditor/locales.d.ts +126 -0
  334. package/lib/plus/walletEditor/locales.js +167 -0
  335. package/lib/plus/walletEditor/types.d.ts +52 -0
  336. package/lib/plus/walletEditor/types.js +17 -0
  337. package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  338. package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
  339. package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
  340. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  341. package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
  342. package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
  343. package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  344. package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
  345. package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  346. package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
  347. package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
  348. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  349. package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
  350. package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  351. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  352. package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
  353. package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
  354. package/lib/plus/walletPassGallery/index.d.ts +6 -0
  355. package/lib/plus/walletPassGallery/index.js +498 -0
  356. package/lib/plus/walletPassGallery/index.less +115 -0
  357. package/lib/plus/walletPassGallery/locales.d.ts +270 -0
  358. package/lib/plus/walletPassGallery/locales.js +299 -0
  359. package/lib/plus/walletPassGallery/serve.d.ts +218 -0
  360. package/lib/plus/walletPassGallery/serve.js +98 -0
  361. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  362. package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
  363. package/lowcode/wallet-editor/meta.ts +57 -0
  364. package/lowcode/wallet-editor/snippets.ts +13 -0
  365. package/lowcode/wallet-pass-gallery/meta.ts +35 -0
  366. package/package.json +3 -3
  367. package/lowcode/wallet/meta.ts +0 -79
@@ -0,0 +1,119 @@
1
+ /// <reference types="react" />
2
+ export interface FormState {
3
+ amountSymbol: string;
4
+ apis: {
5
+ getClients: (par?: any) => any;
6
+ getClientsEs: (par?: any) => any;
7
+ getServices: (par?: any) => any;
8
+ getResources: (par?: any) => any;
9
+ getProducts: (par?: any) => any;
10
+ getPets: (par?: any) => any;
11
+ getForms: (par?: any) => any;
12
+ getFormData: (par?: any) => any;
13
+ getAddonsByOrderId: (par?: any) => any;
14
+ saveAddonsByOrderId: (par?: any) => any;
15
+ getNotesByOrder: (par?: any) => any;
16
+ saveBookingFormData: (par?: any) => any;
17
+ getPetsData: (par?: any) => any;
18
+ };
19
+ client: {
20
+ showModal: boolean;
21
+ value: any;
22
+ clients: any[];
23
+ clientsParams: {
24
+ skip: number;
25
+ num: number;
26
+ search: string;
27
+ };
28
+ edit: boolean;
29
+ };
30
+ contacts_info: {
31
+ edit: boolean;
32
+ value: any;
33
+ };
34
+ date: {
35
+ value: any;
36
+ end_date: any;
37
+ edit: boolean;
38
+ };
39
+ service: {
40
+ addModal: boolean;
41
+ editModal: boolean;
42
+ services: any[];
43
+ resources: any[];
44
+ resourcesOrigin: any[];
45
+ value: any[];
46
+ cacheItem: any;
47
+ edit: boolean;
48
+ addTimeModal: boolean;
49
+ changeService: any;
50
+ };
51
+ pet: {
52
+ showModal: boolean;
53
+ pets: any[];
54
+ value: any[];
55
+ formData: any;
56
+ originValue: any;
57
+ edit: boolean;
58
+ };
59
+ addons: {
60
+ showModal: boolean;
61
+ value: any[];
62
+ productList: any[];
63
+ originData: any[];
64
+ edit: boolean;
65
+ };
66
+ notes: {
67
+ orderNote: string;
68
+ internalNotes: any[];
69
+ edit: boolean;
70
+ };
71
+ form: {
72
+ value: any;
73
+ forms: any[];
74
+ edit: boolean;
75
+ };
76
+ setGlobalState: () => void;
77
+ disabledEdit: boolean;
78
+ bookingConfig: any;
79
+ action: any;
80
+ bookingId: string | number;
81
+ bookingDetail: any;
82
+ channelDisabledEdit: boolean;
83
+ renderType?: 'eventBooking' | 'dayBooking';
84
+ modalOpen?: boolean;
85
+ isTerminal?: boolean;
86
+ isFranchisee?: boolean;
87
+ addTimeProducts: any[];
88
+ eventOtherParams?: {
89
+ relation_id: number;
90
+ number: number;
91
+ registration_type: 'single' | 'all' | 'extra_include';
92
+ start_date: string;
93
+ start_time: string;
94
+ end_date: string;
95
+ end_time: string;
96
+ productIds: number[];
97
+ };
98
+ disableEventBookingEdit?: boolean;
99
+ /** 关闭自动打开选择服务弹窗 */
100
+ closeAutoOpenService?: boolean;
101
+ /** 是否terminal创建booking页面 */
102
+ isBookingCreatePage?: boolean;
103
+ loading: boolean;
104
+ isTerminalDayBookingPage?: boolean;
105
+ activeCartId?: any[];
106
+ isDayBooking: boolean;
107
+ }
108
+ export declare const walkInData: {
109
+ id: number;
110
+ nickname: string;
111
+ };
112
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
113
+ state: FormState;
114
+ } & {
115
+ dispatch: (params: {
116
+ type: string;
117
+ payload: any;
118
+ }) => void;
119
+ }>;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -0,0 +1,2 @@
1
+ declare const Linkly: ({ api, onChange }: any) => JSX.Element;
2
+ export default Linkly;
@@ -297,13 +297,13 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
300
+ eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
+ action?: "amount" | "deviceList" | "pay" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "unset" | "step" | undefined;
306
+ type?: "step" | "unset" | undefined;
307
307
  render?: boolean | undefined;
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
@@ -0,0 +1,23 @@
1
+ import Login from './login';
2
+ import BookingInfo from './booking/info/index';
3
+ import Booking from './booking';
4
+ import BookingNotes from './booking/notes';
5
+ import BookingAddons from './booking/addons';
6
+ import BookingForms from './booking/forms';
7
+ import Schedules from './schedules';
8
+ import ProductExtension from './productExtension';
9
+ import RuleSetting from './ruleSetting';
10
+ import TaxSelect from './taxSelect';
11
+ import ToCPay from './pay/toC';
12
+ import WalletList from './walletList';
13
+ import Wallet from './wallet';
14
+ import WorkspaceListDetail from './workSpaceListDetail/';
15
+ import WorkspaceList from './workSpaceList';
16
+ import PisellSelectCustomerModal from './pisellSelectCustomerModal';
17
+ import SubTotal from './subTotal';
18
+ import EditBookingModal from './booking/editBookingModal';
19
+ import StepController from './stepController';
20
+ import PinModal from './pinModal';
21
+ import PinVerifyModal from './pinVerifyModal';
22
+ import { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from './authentication/admin';
23
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, };
@@ -72,8 +72,8 @@ var import_productExtension = __toESM(require("./productExtension"));
72
72
  var import_ruleSetting = __toESM(require("./ruleSetting"));
73
73
  var import_taxSelect = __toESM(require("./taxSelect"));
74
74
  var import_toC = __toESM(require("./pay/toC"));
75
- var import_wallet = __toESM(require("./wallet"));
76
75
  var import_walletList = __toESM(require("./walletList"));
76
+ var import_wallet = __toESM(require("./wallet"));
77
77
  var import_workSpaceListDetail = __toESM(require("./workSpaceListDetail/"));
78
78
  var import_workSpaceList = __toESM(require("./workSpaceList"));
79
79
  var import_pisellSelectCustomerModal = __toESM(require("./pisellSelectCustomerModal"));
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface ApplePayRef {
4
+ init: (res: any) => void;
5
+ }
6
+ export interface ApplePayProps {
7
+ onChange?: (values: any) => void;
8
+ }
9
+ declare const _default: React.ForwardRefExoticComponent<ApplePayProps & React.RefAttributes<any>>;
10
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface GooglePayRef {
3
+ init: (res: any) => void;
4
+ }
5
+ export interface GooglePayProps {
6
+ onChange?: (values: any) => void;
7
+ }
8
+ declare const _default: React.ForwardRefExoticComponent<GooglePayProps & React.RefAttributes<any>>;
9
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface SuperPayAliPayH5Ref {
4
+ init: (res: any) => void;
5
+ }
6
+ export interface SuperPayAliPayH5Props {
7
+ onChange?: (values: any) => void;
8
+ }
9
+ declare const _default: React.ForwardRefExoticComponent<SuperPayAliPayH5Props & React.RefAttributes<any>>;
10
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PaymentReturnContentProps {
4
+ orderId?: string;
5
+ unique_payment_number?: string;
6
+ state?: any;
7
+ handleReturn?: () => void;
8
+ pay_number?: string;
9
+ }
10
+ /**
11
+ * 支付返回后展示的内容组件
12
+ * 当用户从外部支付页面返回时展示此组件
13
+ */
14
+ declare const PaymentReturnContent: React.FC<PaymentReturnContentProps>;
15
+ export default PaymentReturnContent;
@@ -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,3 @@
1
+ import './index.less';
2
+ declare const _default: any;
3
+ export default _default;
@@ -0,0 +1,298 @@
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
+ };
101
+ 'zh-CN': {
102
+ 'tocPay.text.checkout': string;
103
+ 'tocPay.text.total': string;
104
+ 'tocPay.text.completePaymentIn': string;
105
+ 'tocPay.text.paymentInstructions': string;
106
+ 'tocPay.text.serviceCharge': string;
107
+ 'tocPay.text.noAvailablePaymentMethods': string;
108
+ 'tocPay.text.paymentMethod': string;
109
+ 'tocPay.text.connectingApplePay': string;
110
+ 'tocPay.text.connectingGooglePay': string;
111
+ 'tocPay.text.enterName': string;
112
+ 'tocPay.text.enterValidName': string;
113
+ 'tocPay.text.enterCardNumber': string;
114
+ 'tocPay.text.enterValidCardNumber': string;
115
+ 'tocPay.text.enterExpirationDate': string;
116
+ 'tocPay.text.enterCVV': string;
117
+ 'tocPay.text.enterValidCVV': string;
118
+ 'tocPay.text.addCard': string;
119
+ 'tocPay.text.creditorDebitCard': string;
120
+ 'tocPay.text.addCreditOrDebitCard': string;
121
+ 'tocPay.text.cardNumber': string;
122
+ 'tocPay.text.incorrectCardNumber': string;
123
+ 'tocPay.text.expiration': string;
124
+ 'tocPay.text.incorrectExpiryDate': string;
125
+ 'tocPay.text.securityCode': string;
126
+ 'tocPay.text.incorrectSecurityCode': string;
127
+ 'tocPay.text.cardholderName': string;
128
+ 'tocPay.text.enterEnglishName': string;
129
+ 'tocPay.text.incorrectName': string;
130
+ 'tocPay.text.saveCardForNextTime': string;
131
+ 'tocPay.text.secureBankInfo': string;
132
+ 'tocPay.text.pay': string;
133
+ 'tocPay.text.surcharge': string;
134
+ 'tocPay.text.done': string;
135
+ 'tocPay.text.manageCard': string;
136
+ 'tocPay.text.waitingForBankVerification': string;
137
+ 'tocPay.text.successBack': string;
138
+ 'tocPay.text.redirectingToAlipay': string;
139
+ 'tocPay.text.redirectingToPaypal': string;
140
+ 'tocPay.text.redirectingToWeChatPay': string;
141
+ 'tocPay.text.submit': string;
142
+ 'tocPay.text.clickSubmitToComplete': string;
143
+ 'tocPay.text.noExtraPayNeeded': string;
144
+ 'tocPay.text.continuePayment': string;
145
+ 'tocPay.text.prompt': string;
146
+ 'tocPay.text.confirmLeave': string;
147
+ 'tocPay.text.continuePay': string;
148
+ 'tocPay.text.leave': string;
149
+ 'tocPay.text.getParamsFail': string;
150
+ 'tocPay.text.walletPass': string;
151
+ 'tocPay.text.toUse': string;
152
+ 'tocPay.text.searchResult': string;
153
+ 'tocPay.text.select': string;
154
+ 'tocPay.text.couponCodesAdded': string;
155
+ 'tocPay.text.redeem': string;
156
+ 'tocPay.text.howToPay': string;
157
+ 'tocPay.text.congrats': string;
158
+ 'tocPay.text.creditHaveBeen': string;
159
+ 'tocPay.text.walletPassCodesTitle': string;
160
+ 'tocPay.text.scanBarQrCode': string;
161
+ 'tocPay.text.enterCodes': string;
162
+ 'tocPay.text.searchDescribe': string;
163
+ 'tocPay.text.walletPassEmpty': (walletName: string) => string;
164
+ 'tocPay.text.walletPassDisabled': string;
165
+ 'tocPay.text.walletPassPermanent': string;
166
+ 'tocPay.text.walletPassCompleteTitle': string;
167
+ 'tocPay.text.walletPassNoExtraPay': string;
168
+ 'tocPay.text.walletCanPay': string;
169
+ 'tocPay.text.walletSearchEmpty': string;
170
+ 'tocPay.text.detectIncognitoConfirm': string;
171
+ 'tocPay.text.copyLink': string;
172
+ 'tocPay.text.copySuccess': string;
173
+ 'tocPay.text.walletName': (shopName: string) => string;
174
+ 'tocPay.text.bestValueFound': string;
175
+ 'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
176
+ 'tocPay.text.totalSavings': string;
177
+ 'tocPay.text.bestCombination': (walletName: string) => string;
178
+ 'tocPay.text.recommended': string;
179
+ 'tocPay.text.edit': string;
180
+ 'tocPay.text.confirm': string;
181
+ 'tocPay.text.unusedAndContinueToPayment': string;
182
+ 'tocPay.text.walletPassAvailable': (walletName: string) => string;
183
+ 'tocPay.text.useWalletPass': (walletName: string) => string;
184
+ 'tocPay.text.useWalletPassAdd': (walletName: string) => string;
185
+ 'tocPay.text.editWalletPass': (walletName: string) => string;
186
+ 'tocPay.text.skipAndContinueToPayment': string;
187
+ 'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
188
+ 'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
189
+ 'tocPay.text.addPointsCard': string;
190
+ 'tocPay.text.hasNoWalletPassAmount': string;
191
+ 'tocPay.text.multipleSelectionAvailable': string;
192
+ 'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
193
+ 'tocPay.text.bestValueCombination': string;
194
+ 'tocPay.text.viewDetail': string;
195
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
196
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
197
+ 'tocPay.text.paymentFailed': string;
198
+ };
199
+ 'zh-HK': {
200
+ 'tocPay.text.checkout': string;
201
+ 'tocPay.text.total': string;
202
+ 'tocPay.text.completePaymentIn': string;
203
+ 'tocPay.text.paymentInstructions': string;
204
+ 'tocPay.text.serviceCharge': string;
205
+ 'tocPay.text.noAvailablePaymentMethods': string;
206
+ 'tocPay.text.paymentMethod': string;
207
+ 'tocPay.text.connectingApplePay': string;
208
+ 'tocPay.text.connectingGooglePay': string;
209
+ 'tocPay.text.enterName': string;
210
+ 'tocPay.text.enterValidName': string;
211
+ 'tocPay.text.enterCardNumber': string;
212
+ 'tocPay.text.enterValidCardNumber': string;
213
+ 'tocPay.text.enterExpirationDate': string;
214
+ 'tocPay.text.enterCVV': string;
215
+ 'tocPay.text.enterValidCVV': string;
216
+ 'tocPay.text.addCard': string;
217
+ 'tocPay.text.creditorDebitCard': string;
218
+ 'tocPay.text.addCreditOrDebitCard': string;
219
+ 'tocPay.text.cardNumber': string;
220
+ 'tocPay.text.incorrectCardNumber': string;
221
+ 'tocPay.text.expiration': string;
222
+ 'tocPay.text.incorrectExpiryDate': string;
223
+ 'tocPay.text.securityCode': string;
224
+ 'tocPay.text.incorrectSecurityCode': string;
225
+ 'tocPay.text.cardholderName': string;
226
+ 'tocPay.text.enterEnglishName': string;
227
+ 'tocPay.text.incorrectName': string;
228
+ 'tocPay.text.saveCardForNextTime': string;
229
+ 'tocPay.text.secureBankInfo': string;
230
+ 'tocPay.text.pay': string;
231
+ 'tocPay.text.surcharge': string;
232
+ 'tocPay.text.done': string;
233
+ 'tocPay.text.manageCard': string;
234
+ 'tocPay.text.waitingForBankVerification': string;
235
+ 'tocPay.text.successBack': string;
236
+ 'tocPay.text.redirectingToAlipay': string;
237
+ 'tocPay.text.redirectingToPaypal': string;
238
+ 'tocPay.text.redirectingToWeChatPay': string;
239
+ 'tocPay.text.submit': string;
240
+ 'tocPay.text.clickSubmitToComplete': string;
241
+ 'tocPay.text.noExtraPayNeeded': string;
242
+ 'tocPay.text.continuePayment': string;
243
+ 'tocPay.text.prompt': string;
244
+ 'tocPay.text.confirmLeave': string;
245
+ 'tocPay.text.continuePay': string;
246
+ 'tocPay.text.leave': string;
247
+ 'tocPay.text.getParamsFail': string;
248
+ 'tocPay.text.walletPass': string;
249
+ 'tocPay.text.toUse': string;
250
+ 'tocPay.text.searchResult': string;
251
+ 'tocPay.text.select': string;
252
+ 'tocPay.text.couponCodesAdded': string;
253
+ 'tocPay.text.redeem': string;
254
+ 'tocPay.text.howToPay': string;
255
+ 'tocPay.text.congrats': string;
256
+ 'tocPay.text.creditHaveBeen': string;
257
+ 'tocPay.text.walletPassCodesTitle': string;
258
+ 'tocPay.text.scanBarQrCode': string;
259
+ 'tocPay.text.enterCodes': string;
260
+ 'tocPay.text.searchDescribe': string;
261
+ 'tocPay.text.walletPassEmpty': (walletName: string) => string;
262
+ 'tocPay.text.walletPassDisabled': string;
263
+ 'tocPay.text.walletPassPermanent': string;
264
+ 'tocPay.text.walletPassCompleteTitle': string;
265
+ 'tocPay.text.walletPassNoExtraPay': string;
266
+ 'tocPay.text.walletCanPay': string;
267
+ 'tocPay.text.walletSearchEmpty': string;
268
+ 'tocPay.text.detectIncognitoConfirm': string;
269
+ 'tocPay.text.copyLink': string;
270
+ 'tocPay.text.copySuccess': string;
271
+ 'tocPay.text.walletName': (shopName: string) => string;
272
+ 'tocPay.text.bestValueFound': string;
273
+ 'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
274
+ 'tocPay.text.totalSavings': string;
275
+ 'tocPay.text.bestCombination': (walletName: string) => string;
276
+ 'tocPay.text.recommended': string;
277
+ 'tocPay.text.edit': string;
278
+ 'tocPay.text.confirm': string;
279
+ 'tocPay.text.unusedAndContinueToPayment': string;
280
+ 'tocPay.text.walletPassAvailable': (walletName: string) => string;
281
+ 'tocPay.text.useWalletPass': (walletName: string) => string;
282
+ 'tocPay.text.useWalletPassAdd': (walletName: string) => string;
283
+ 'tocPay.text.editWalletPass': (walletName: string) => string;
284
+ 'tocPay.text.skipAndContinueToPayment': string;
285
+ 'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
286
+ 'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
287
+ 'tocPay.text.addPointsCard': string;
288
+ 'tocPay.text.hasNoWalletPassAmount': string;
289
+ 'tocPay.text.multipleSelectionAvailable': string;
290
+ 'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
291
+ 'tocPay.text.bestValueCombination': string;
292
+ 'tocPay.text.viewDetail': string;
293
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
294
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
295
+ 'tocPay.text.paymentFailed': string;
296
+ };
297
+ };
298
+ export default _default;
@@ -0,0 +1,40 @@
1
+ /// <reference types="react" />
2
+ export interface FormState {
3
+ platform: 'pc' | 'h5' | '' | undefined;
4
+ order: any;
5
+ status: 'init' | 'ready' | 'loading' | 'success' | 'error';
6
+ payCallback: (res?: any) => void;
7
+ history?: any;
8
+ payGroup?: PayGroup;
9
+ walletSetting: {
10
+ name: string;
11
+ popup_status: 0 | 1 | null;
12
+ };
13
+ }
14
+ export interface PayGroup {
15
+ order_id?: string;
16
+ total_amount?: number;
17
+ walletPass?: {
18
+ amount: number;
19
+ cards: any[];
20
+ [key: string]: any;
21
+ paid?: boolean;
22
+ };
23
+ otherPayment?: {
24
+ [key: string]: any;
25
+ };
26
+ wait_amount?: number;
27
+ payment_group_id?: number;
28
+ payment_priority?: string[];
29
+ pay_number?: string;
30
+ _order: any;
31
+ front_order_uuid?: string;
32
+ }
33
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
+ state: FormState;
35
+ } & {
36
+ dispatch: (params: {
37
+ type: string;
38
+ payload: any;
39
+ }) => void;
40
+ }>;