@pisell/private-materials 3.0.111 → 3.0.113

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 (396) hide show
  1. package/build/lowcode/assets-daily.json +19 -11
  2. package/build/lowcode/assets-dev.json +10 -2
  3. package/build/lowcode/assets-prod.json +19 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  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 +18 -16
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +18 -16
  11. package/es/components/booking/addons/index.d.ts +1 -1
  12. package/es/components/booking/addons/model.d.ts +2 -1
  13. package/es/components/booking/components/footer/index.js +1 -1
  14. package/es/components/booking/deposit/DepositItem/index.d.ts +4 -1
  15. package/es/components/booking/deposit/DepositItem/index.js +17 -6
  16. package/es/components/booking/deposit/DepositItem/index.less +36 -12
  17. package/es/components/booking/deposit/index.js +5 -2
  18. package/es/components/booking/forms/forms.d.ts +1 -1
  19. package/es/components/booking/forms/index.d.ts +1 -1
  20. package/es/components/booking/forms/model.d.ts +2 -1
  21. package/es/components/booking/index.d.ts +1 -1
  22. package/es/components/booking/info/index.d.ts +1 -1
  23. package/es/components/booking/info/model.d.ts +2 -1
  24. package/es/components/booking/info/service/editService/index.js +11 -9
  25. package/es/components/booking/locales.d.ts +12 -0
  26. package/es/components/booking/locales.js +12 -0
  27. package/es/components/booking/model.d.ts +2 -1
  28. package/es/components/booking/notes/index.d.ts +1 -1
  29. package/es/components/booking/notes/model.d.ts +2 -1
  30. package/es/components/booking/payments/index.d.ts +1 -1
  31. package/es/components/booking/payments/model.d.ts +2 -1
  32. package/es/components/index.d.ts +2 -1
  33. package/es/components/index.js +2 -1
  34. package/es/components/pay/toC/PayAmount/index.d.ts +15 -0
  35. package/es/components/pay/toC/PayAmount/index.js +25 -0
  36. package/es/components/pay/toC/PayAmount/index.less +21 -0
  37. package/es/components/pay/toC/PayCountdown/index.d.ts +15 -0
  38. package/es/components/pay/toC/PayCountdown/index.js +26 -0
  39. package/es/components/pay/toC/PayCountdown/index.less +22 -0
  40. package/es/components/pay/toC/PaymentList/index.d.ts +19 -0
  41. package/es/components/pay/toC/PaymentList/index.js +342 -0
  42. package/es/components/pay/toC/PaymentList/index.less +112 -0
  43. package/es/components/pay/toC/PaymentList/mock.d.ts +88 -0
  44. package/es/components/pay/toC/PaymentList/mock.js +128 -0
  45. package/es/components/pay/toC/PaymentList/payment/alipay.svg +13 -0
  46. package/es/components/pay/toC/PaymentList/payment/apple_pay.svg +7 -0
  47. package/es/components/pay/toC/PaymentList/payment/bank_deposit.svg +11 -0
  48. package/es/components/pay/toC/PaymentList/payment/cash.svg +8 -0
  49. package/es/components/pay/toC/PaymentList/payment/credit_card.svg +10 -0
  50. package/es/components/pay/toC/PaymentList/payment/custom.svg +10 -0
  51. package/es/components/pay/toC/PaymentList/payment/google_pay.svg +9 -0
  52. package/es/components/pay/toC/PaymentList/payment/paypal.svg +8 -0
  53. package/es/components/pay/toC/PaymentList/payment/stripe.svg +16 -0
  54. package/es/components/pay/toC/PaymentList/payment/wxpay.svg +5 -0
  55. package/es/components/pay/toC/PaymentList/serve.d.ts +26 -0
  56. package/es/components/pay/toC/PaymentList/serve.js +135 -0
  57. package/es/components/pay/toC/PaymentList/status.d.ts +4 -0
  58. package/es/components/pay/toC/PaymentList/status.js +100 -0
  59. package/es/components/pay/toC/PaymentList/utils.d.ts +10 -0
  60. package/es/components/pay/toC/PaymentList/utils.js +53 -0
  61. package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  62. package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +113 -0
  63. package/es/components/pay/toC/PaymentMethods/ApplePay/index.less +0 -0
  64. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
  65. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +74 -0
  66. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.less +0 -0
  67. package/es/components/pay/toC/PaymentMethods/CashManual/index.d.ts +10 -0
  68. package/es/components/pay/toC/PaymentMethods/CashManual/index.js +79 -0
  69. package/es/components/pay/toC/PaymentMethods/CashManual/index.less +0 -0
  70. package/es/components/pay/toC/PaymentMethods/CashManual/serve.d.ts +1 -0
  71. package/es/components/pay/toC/PaymentMethods/CashManual/serve.js +27 -0
  72. package/es/components/pay/toC/PaymentMethods/CustomPayment/index.d.ts +10 -0
  73. package/es/components/pay/toC/PaymentMethods/CustomPayment/index.js +78 -0
  74. package/es/components/pay/toC/PaymentMethods/CustomPayment/index.less +0 -0
  75. package/es/components/pay/toC/PaymentMethods/CustomPayment/serve.d.ts +1 -0
  76. package/es/components/pay/toC/PaymentMethods/CustomPayment/serve.js +27 -0
  77. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  78. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +109 -0
  79. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.less +0 -0
  80. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  81. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.js +41 -0
  82. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  83. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +109 -0
  84. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.less +0 -0
  85. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  86. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.js +41 -0
  87. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.d.ts +10 -0
  88. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +65 -0
  89. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.less +0 -0
  90. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  91. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.js +36 -0
  92. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  93. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +109 -0
  94. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.less +0 -0
  95. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  96. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.js +41 -0
  97. package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  98. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +110 -0
  99. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +12 -0
  100. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +349 -0
  101. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +25 -0
  102. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
  103. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +375 -0
  104. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.less +95 -0
  105. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.d.ts +5 -0
  106. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.js +37 -0
  107. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +4 -0
  108. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +21 -0
  109. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +24 -0
  110. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +10 -0
  111. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +222 -0
  112. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -0
  113. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +7 -0
  114. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +130 -0
  115. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.less +0 -0
  116. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
  117. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +524 -0
  118. package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.d.ts +10 -0
  119. package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.js +73 -0
  120. package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.less +0 -0
  121. package/es/components/pay/toC/PaymentMethods/OfflinePayment/serve.d.ts +1 -0
  122. package/es/components/pay/toC/PaymentMethods/OfflinePayment/serve.js +27 -0
  123. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  124. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.js +61 -0
  125. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  126. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.js +121 -0
  127. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.less +35 -0
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  129. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.js +33 -0
  130. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  131. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.js +30 -0
  132. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +8 -0
  133. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.js +37 -0
  134. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +8 -0
  135. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.js +13 -0
  136. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  137. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js +15 -0
  138. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less +27 -0
  139. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/stripe_loading.gif +0 -0
  140. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  141. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.js +108 -0
  142. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +4 -0
  143. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.js +113 -0
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less +22 -0
  145. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +4 -0
  146. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.js +96 -0
  147. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.module.less +4 -0
  148. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.d.ts +9 -0
  149. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.js +33 -0
  150. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  151. package/es/components/pay/toC/PaymentMethods/StripePay/index.js +78 -0
  152. package/es/components/pay/toC/PaymentMethods/StripePay/index.less +0 -0
  153. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  154. package/es/components/pay/toC/PaymentMethods/StripePay/serve.js +36 -0
  155. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  156. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +108 -0
  157. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.less +0 -0
  158. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  159. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.js +41 -0
  160. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  161. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +109 -0
  162. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.less +0 -0
  163. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  164. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.js +41 -0
  165. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +15 -0
  166. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +142 -0
  167. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.less +20 -0
  168. package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +6 -0
  169. package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.js +19 -0
  170. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +20 -0
  171. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +344 -0
  172. package/es/components/pay/toC/PaymentMethods/WalletPass/index.less +0 -0
  173. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +111 -0
  174. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.js +114 -0
  175. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
  176. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +40 -0
  177. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  178. package/es/components/pay/toC/PaymentMethods/index.js +316 -0
  179. package/es/components/pay/toC/WalletPassBlock/index.d.ts +14 -0
  180. package/es/components/pay/toC/WalletPassBlock/index.js +72 -0
  181. package/es/components/pay/toC/WalletPassBlock/index.less +65 -0
  182. package/es/components/pay/toC/index.d.ts +3 -0
  183. package/es/components/pay/toC/index.js +647 -0
  184. package/es/components/pay/toC/index.less +22 -0
  185. package/es/components/pay/toC/locales.d.ts +208 -0
  186. package/es/components/pay/toC/locales.js +207 -0
  187. package/es/components/pay/toC/model.d.ts +35 -0
  188. package/es/components/pay/toC/model.js +43 -0
  189. package/es/components/pay/toC/payGroup.d.ts +48 -0
  190. package/es/components/pay/toC/payGroup.js +105 -0
  191. package/es/components/pay/toC/serve.d.ts +34 -0
  192. package/es/components/pay/toC/serve.js +148 -0
  193. package/es/components/pay/toC/status.d.ts +3 -0
  194. package/es/components/pay/toC/status.js +82 -0
  195. package/es/components/pay/toC/utils.d.ts +30 -0
  196. package/es/components/pay/toC/utils.js +48 -0
  197. package/es/components/schedules/index.d.ts +1 -1
  198. package/es/components/schedules/model.d.ts +2 -1
  199. package/es/index.d.ts +1 -0
  200. package/es/index.js +1 -0
  201. package/es/utils/index.d.ts +6 -5
  202. package/es/utils/index.js +28 -6
  203. package/lib/components/booking/addons/index.d.ts +1 -1
  204. package/lib/components/booking/addons/model.d.ts +2 -1
  205. package/lib/components/booking/components/footer/index.js +1 -1
  206. package/lib/components/booking/deposit/DepositItem/index.d.ts +4 -1
  207. package/lib/components/booking/deposit/DepositItem/index.js +17 -6
  208. package/lib/components/booking/deposit/DepositItem/index.less +36 -12
  209. package/lib/components/booking/deposit/index.js +5 -2
  210. package/lib/components/booking/forms/forms.d.ts +1 -1
  211. package/lib/components/booking/forms/index.d.ts +1 -1
  212. package/lib/components/booking/forms/model.d.ts +2 -1
  213. package/lib/components/booking/index.d.ts +1 -1
  214. package/lib/components/booking/info/index.d.ts +1 -1
  215. package/lib/components/booking/info/model.d.ts +2 -1
  216. package/lib/components/booking/info/service/editService/index.js +2 -0
  217. package/lib/components/booking/locales.d.ts +12 -0
  218. package/lib/components/booking/locales.js +12 -0
  219. package/lib/components/booking/model.d.ts +2 -1
  220. package/lib/components/booking/notes/index.d.ts +1 -1
  221. package/lib/components/booking/notes/model.d.ts +2 -1
  222. package/lib/components/booking/payments/index.d.ts +1 -1
  223. package/lib/components/booking/payments/model.d.ts +2 -1
  224. package/lib/components/index.d.ts +2 -1
  225. package/lib/components/index.js +5 -2
  226. package/lib/components/pay/toC/PayAmount/index.d.ts +15 -0
  227. package/lib/components/pay/toC/PayAmount/index.js +42 -0
  228. package/lib/components/pay/toC/PayAmount/index.less +21 -0
  229. package/lib/components/pay/toC/PayCountdown/index.d.ts +15 -0
  230. package/lib/components/pay/toC/PayCountdown/index.js +49 -0
  231. package/lib/components/pay/toC/PayCountdown/index.less +22 -0
  232. package/lib/components/pay/toC/PaymentList/index.d.ts +19 -0
  233. package/lib/components/pay/toC/PaymentList/index.js +256 -0
  234. package/lib/components/pay/toC/PaymentList/index.less +112 -0
  235. package/lib/components/pay/toC/PaymentList/mock.d.ts +88 -0
  236. package/lib/components/pay/toC/PaymentList/mock.js +174 -0
  237. package/lib/components/pay/toC/PaymentList/payment/alipay.svg +13 -0
  238. package/lib/components/pay/toC/PaymentList/payment/apple_pay.svg +7 -0
  239. package/lib/components/pay/toC/PaymentList/payment/bank_deposit.svg +11 -0
  240. package/lib/components/pay/toC/PaymentList/payment/cash.svg +8 -0
  241. package/lib/components/pay/toC/PaymentList/payment/credit_card.svg +10 -0
  242. package/lib/components/pay/toC/PaymentList/payment/custom.svg +10 -0
  243. package/lib/components/pay/toC/PaymentList/payment/google_pay.svg +9 -0
  244. package/lib/components/pay/toC/PaymentList/payment/paypal.svg +8 -0
  245. package/lib/components/pay/toC/PaymentList/payment/stripe.svg +16 -0
  246. package/lib/components/pay/toC/PaymentList/payment/wxpay.svg +5 -0
  247. package/lib/components/pay/toC/PaymentList/serve.d.ts +26 -0
  248. package/lib/components/pay/toC/PaymentList/serve.js +83 -0
  249. package/lib/components/pay/toC/PaymentList/status.d.ts +4 -0
  250. package/lib/components/pay/toC/PaymentList/status.js +132 -0
  251. package/lib/components/pay/toC/PaymentList/utils.d.ts +10 -0
  252. package/lib/components/pay/toC/PaymentList/utils.js +52 -0
  253. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
  254. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +96 -0
  255. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.less +0 -0
  256. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
  257. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +68 -0
  258. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.less +0 -0
  259. package/lib/components/pay/toC/PaymentMethods/CashManual/index.d.ts +10 -0
  260. package/lib/components/pay/toC/PaymentMethods/CashManual/index.js +56 -0
  261. package/lib/components/pay/toC/PaymentMethods/CashManual/index.less +0 -0
  262. package/lib/components/pay/toC/PaymentMethods/CashManual/serve.d.ts +1 -0
  263. package/lib/components/pay/toC/PaymentMethods/CashManual/serve.js +33 -0
  264. package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.d.ts +10 -0
  265. package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.js +56 -0
  266. package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.less +0 -0
  267. package/lib/components/pay/toC/PaymentMethods/CustomPayment/serve.d.ts +1 -0
  268. package/lib/components/pay/toC/PaymentMethods/CustomPayment/serve.js +33 -0
  269. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
  270. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +89 -0
  271. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.less +0 -0
  272. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  273. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.js +44 -0
  274. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
  275. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +89 -0
  276. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.less +0 -0
  277. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  278. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.js +44 -0
  279. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.d.ts +10 -0
  280. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +61 -0
  281. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.less +0 -0
  282. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  283. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.js +43 -0
  284. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
  285. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +89 -0
  286. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.less +0 -0
  287. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  288. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.js +44 -0
  289. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
  290. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +95 -0
  291. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +12 -0
  292. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +270 -0
  293. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +25 -0
  294. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
  295. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +224 -0
  296. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.less +95 -0
  297. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.d.ts +5 -0
  298. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.js +39 -0
  299. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +4 -0
  300. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +52 -0
  301. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +24 -0
  302. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +10 -0
  303. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +139 -0
  304. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -0
  305. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +7 -0
  306. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +80 -0
  307. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.less +0 -0
  308. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
  309. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +336 -0
  310. package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.d.ts +10 -0
  311. package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.js +53 -0
  312. package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.less +0 -0
  313. package/lib/components/pay/toC/PaymentMethods/OfflinePayment/serve.d.ts +1 -0
  314. package/lib/components/pay/toC/PaymentMethods/OfflinePayment/serve.js +33 -0
  315. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  316. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.js +76 -0
  317. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  318. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.js +107 -0
  319. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.less +35 -0
  320. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
  321. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.js +30 -0
  322. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
  323. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.js +44 -0
  324. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +8 -0
  325. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.js +69 -0
  326. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +8 -0
  327. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.js +44 -0
  328. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  329. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js +48 -0
  330. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less +27 -0
  331. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/stripe_loading.gif +0 -0
  332. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  333. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.js +124 -0
  334. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +4 -0
  335. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.js +94 -0
  336. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less +22 -0
  337. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +4 -0
  338. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.js +81 -0
  339. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.module.less +4 -0
  340. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.d.ts +9 -0
  341. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.js +30 -0
  342. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  343. package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +71 -0
  344. package/lib/components/pay/toC/PaymentMethods/StripePay/index.less +0 -0
  345. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  346. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.js +43 -0
  347. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
  348. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +88 -0
  349. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.less +0 -0
  350. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  351. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.js +44 -0
  352. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
  353. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +87 -0
  354. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.less +0 -0
  355. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  356. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.js +44 -0
  357. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +15 -0
  358. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +126 -0
  359. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.less +20 -0
  360. package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +6 -0
  361. package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.js +56 -0
  362. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +20 -0
  363. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +284 -0
  364. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.less +0 -0
  365. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +111 -0
  366. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.js +54 -0
  367. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
  368. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +70 -0
  369. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  370. package/lib/components/pay/toC/PaymentMethods/index.js +176 -0
  371. package/lib/components/pay/toC/WalletPassBlock/index.d.ts +14 -0
  372. package/lib/components/pay/toC/WalletPassBlock/index.js +97 -0
  373. package/lib/components/pay/toC/WalletPassBlock/index.less +65 -0
  374. package/lib/components/pay/toC/index.d.ts +3 -0
  375. package/lib/components/pay/toC/index.js +366 -0
  376. package/lib/components/pay/toC/index.less +22 -0
  377. package/lib/components/pay/toC/locales.d.ts +208 -0
  378. package/lib/components/pay/toC/locales.js +231 -0
  379. package/lib/components/pay/toC/model.d.ts +35 -0
  380. package/lib/components/pay/toC/model.js +60 -0
  381. package/lib/components/pay/toC/payGroup.d.ts +48 -0
  382. package/lib/components/pay/toC/payGroup.js +77 -0
  383. package/lib/components/pay/toC/serve.d.ts +34 -0
  384. package/lib/components/pay/toC/serve.js +78 -0
  385. package/lib/components/pay/toC/status.d.ts +3 -0
  386. package/lib/components/pay/toC/status.js +92 -0
  387. package/lib/components/pay/toC/utils.d.ts +30 -0
  388. package/lib/components/pay/toC/utils.js +62 -0
  389. package/lib/components/schedules/index.d.ts +1 -1
  390. package/lib/components/schedules/model.d.ts +2 -1
  391. package/lib/index.d.ts +1 -0
  392. package/lib/index.js +3 -0
  393. package/lib/utils/index.d.ts +6 -5
  394. package/lib/utils/index.js +12 -1
  395. package/lowcode/toc-pay/meta.ts +59 -0
  396. package/package.json +4 -3
@@ -0,0 +1,22 @@
1
+ .custom-payment-list-title {
2
+ .custom-payment-list-title-price {
3
+ color: var(--theme-color);
4
+ ;
5
+ }
6
+
7
+
8
+ .custom-payment-list-title-desc {
9
+ color: var(--Gray-700, #344054);
10
+ font-size: 16px;
11
+ font-style: normal;
12
+ font-weight: 400;
13
+ line-height: 24px;
14
+ }
15
+ }
16
+
17
+ .toc-pay-submit-btn {
18
+ color: var(--Base-White, #FFF);
19
+ font-size: 16px;
20
+ font-style: normal;
21
+ font-weight: 600;
22
+ }
@@ -0,0 +1,208 @@
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.redirectingToAlipay': string;
39
+ 'tocPay.text.redirectingToPaypal': string;
40
+ 'tocPay.text.redirectingToWeChatPay': string;
41
+ 'tocPay.text.submit': string;
42
+ 'tocPay.text.clickSubmitToComplete': string;
43
+ 'tocPay.text.noExtraPayNeeded': string;
44
+ 'tocPay.text.continuePayment': string;
45
+ 'tocPay.text.prompt': string;
46
+ 'tocPay.text.confirmLeave': string;
47
+ 'tocPay.text.continuePay': string;
48
+ 'tocPay.text.leave': string;
49
+ 'tocPay.text.getParamsFail': string;
50
+ 'tocPay.text.walletPass': string;
51
+ 'tocPay.text.searchResult': string;
52
+ 'tocPay.text.select': string;
53
+ 'tocPay.text.couponCodesAdded': string;
54
+ 'tocPay.text.redeem': string;
55
+ 'tocPay.text.howToPay': string;
56
+ 'tocPay.text.congrats': string;
57
+ 'tocPay.text.creditHaveBeen': string;
58
+ 'tocPay.text.walletPassCodesTitle': string;
59
+ 'tocPay.text.scanBarQrCode': string;
60
+ 'tocPay.text.enterCodes': string;
61
+ 'tocPay.text.searchDescribe': string;
62
+ 'tocPay.text.walletPassEmpty': string;
63
+ 'tocPay.text.walletPassDisabled': string;
64
+ 'tocPay.text.walletPassPermanent': string;
65
+ 'tocPay.text.walletPassCompleteTitle': string;
66
+ 'tocPay.text.walletPassNoExtraPay': string;
67
+ 'tocPay.text.walletCanPay': string;
68
+ 'tocPay.text.paymentInstructions': string;
69
+ 'tocPay.text.walletSearchEmpty': string;
70
+ };
71
+ 'zh-CN': {
72
+ 'tocPay.text.checkout': string;
73
+ 'tocPay.text.total': string;
74
+ 'tocPay.text.completePaymentIn': string;
75
+ 'tocPay.text.paymentInstructions': string;
76
+ 'tocPay.text.serviceCharge': string;
77
+ 'tocPay.text.noAvailablePaymentMethods': string;
78
+ 'tocPay.text.paymentMethod': string;
79
+ 'tocPay.text.connectingApplePay': string;
80
+ 'tocPay.text.connectingGooglePay': string;
81
+ 'tocPay.text.enterName': string;
82
+ 'tocPay.text.enterValidName': string;
83
+ 'tocPay.text.enterCardNumber': string;
84
+ 'tocPay.text.enterValidCardNumber': string;
85
+ 'tocPay.text.enterExpirationDate': string;
86
+ 'tocPay.text.enterCVV': string;
87
+ 'tocPay.text.enterValidCVV': string;
88
+ 'tocPay.text.addCard': string;
89
+ 'tocPay.text.creditorDebitCard': string;
90
+ 'tocPay.text.addCreditOrDebitCard': string;
91
+ 'tocPay.text.cardNumber': string;
92
+ 'tocPay.text.incorrectCardNumber': string;
93
+ 'tocPay.text.expiration': string;
94
+ 'tocPay.text.incorrectExpiryDate': string;
95
+ 'tocPay.text.securityCode': string;
96
+ 'tocPay.text.incorrectSecurityCode': string;
97
+ 'tocPay.text.cardholderName': string;
98
+ 'tocPay.text.enterEnglishName': string;
99
+ 'tocPay.text.incorrectName': string;
100
+ 'tocPay.text.saveCardForNextTime': string;
101
+ 'tocPay.text.secureBankInfo': string;
102
+ 'tocPay.text.pay': string;
103
+ 'tocPay.text.surcharge': string;
104
+ 'tocPay.text.done': string;
105
+ 'tocPay.text.manageCard': string;
106
+ 'tocPay.text.waitingForBankVerification': string;
107
+ 'tocPay.text.redirectingToAlipay': string;
108
+ 'tocPay.text.redirectingToPaypal': string;
109
+ 'tocPay.text.redirectingToWeChatPay': string;
110
+ 'tocPay.text.submit': string;
111
+ 'tocPay.text.clickSubmitToComplete': string;
112
+ 'tocPay.text.noExtraPayNeeded': string;
113
+ 'tocPay.text.continuePayment': string;
114
+ 'tocPay.text.prompt': string;
115
+ 'tocPay.text.confirmLeave': string;
116
+ 'tocPay.text.continuePay': string;
117
+ 'tocPay.text.leave': string;
118
+ 'tocPay.text.getParamsFail': string;
119
+ 'tocPay.text.walletPass': string;
120
+ 'tocPay.text.searchResult': string;
121
+ 'tocPay.text.select': string;
122
+ 'tocPay.text.couponCodesAdded': string;
123
+ 'tocPay.text.redeem': string;
124
+ 'tocPay.text.howToPay': string;
125
+ 'tocPay.text.congrats': string;
126
+ 'tocPay.text.creditHaveBeen': string;
127
+ 'tocPay.text.walletPassCodesTitle': string;
128
+ 'tocPay.text.scanBarQrCode': string;
129
+ 'tocPay.text.enterCodes': string;
130
+ 'tocPay.text.searchDescribe': string;
131
+ 'tocPay.text.walletPassEmpty': string;
132
+ 'tocPay.text.walletPassDisabled': string;
133
+ 'tocPay.text.walletPassPermanent': string;
134
+ 'tocPay.text.walletPassCompleteTitle': string;
135
+ 'tocPay.text.walletPassNoExtraPay': string;
136
+ 'tocPay.text.walletCanPay': string;
137
+ 'tocPay.text.walletSearchEmpty': string;
138
+ };
139
+ 'zh-HK': {
140
+ 'tocPay.text.checkout': string;
141
+ 'tocPay.text.total': string;
142
+ 'tocPay.text.completePaymentIn': string;
143
+ 'tocPay.text.paymentInstructions': string;
144
+ 'tocPay.text.serviceCharge': string;
145
+ 'tocPay.text.noAvailablePaymentMethods': string;
146
+ 'tocPay.text.paymentMethod': string;
147
+ 'tocPay.text.connectingApplePay': string;
148
+ 'tocPay.text.connectingGooglePay': string;
149
+ 'tocPay.text.enterName': string;
150
+ 'tocPay.text.enterValidName': string;
151
+ 'tocPay.text.enterCardNumber': string;
152
+ 'tocPay.text.enterValidCardNumber': string;
153
+ 'tocPay.text.enterExpirationDate': string;
154
+ 'tocPay.text.enterCVV': string;
155
+ 'tocPay.text.enterValidCVV': string;
156
+ 'tocPay.text.addCard': string;
157
+ 'tocPay.text.creditorDebitCard': string;
158
+ 'tocPay.text.addCreditOrDebitCard': string;
159
+ 'tocPay.text.cardNumber': string;
160
+ 'tocPay.text.incorrectCardNumber': string;
161
+ 'tocPay.text.expiration': string;
162
+ 'tocPay.text.incorrectExpiryDate': string;
163
+ 'tocPay.text.securityCode': string;
164
+ 'tocPay.text.incorrectSecurityCode': string;
165
+ 'tocPay.text.cardholderName': string;
166
+ 'tocPay.text.enterEnglishName': string;
167
+ 'tocPay.text.incorrectName': string;
168
+ 'tocPay.text.saveCardForNextTime': string;
169
+ 'tocPay.text.secureBankInfo': string;
170
+ 'tocPay.text.pay': string;
171
+ 'tocPay.text.surcharge': string;
172
+ 'tocPay.text.done': string;
173
+ 'tocPay.text.manageCard': string;
174
+ 'tocPay.text.waitingForBankVerification': string;
175
+ 'tocPay.text.redirectingToAlipay': string;
176
+ 'tocPay.text.redirectingToPaypal': string;
177
+ 'tocPay.text.redirectingToWeChatPay': string;
178
+ 'tocPay.text.submit': string;
179
+ 'tocPay.text.clickSubmitToComplete': string;
180
+ 'tocPay.text.noExtraPayNeeded': string;
181
+ 'tocPay.text.continuePayment': string;
182
+ 'tocPay.text.prompt': string;
183
+ 'tocPay.text.confirmLeave': string;
184
+ 'tocPay.text.continuePay': string;
185
+ 'tocPay.text.leave': string;
186
+ 'tocPay.text.getParamsFail': string;
187
+ 'tocPay.text.walletPass': string;
188
+ 'tocPay.text.searchResult': string;
189
+ 'tocPay.text.select': string;
190
+ 'tocPay.text.couponCodesAdded': string;
191
+ 'tocPay.text.redeem': string;
192
+ 'tocPay.text.howToPay': string;
193
+ 'tocPay.text.congrats': string;
194
+ 'tocPay.text.creditHaveBeen': string;
195
+ 'tocPay.text.walletPassCodesTitle': string;
196
+ 'tocPay.text.scanBarQrCode': string;
197
+ 'tocPay.text.enterCodes': string;
198
+ 'tocPay.text.searchDescribe': string;
199
+ 'tocPay.text.walletPassEmpty': string;
200
+ 'tocPay.text.walletPassDisabled': string;
201
+ 'tocPay.text.walletPassPermanent': string;
202
+ 'tocPay.text.walletPassCompleteTitle': string;
203
+ 'tocPay.text.walletPassNoExtraPay': string;
204
+ 'tocPay.text.walletCanPay': string;
205
+ 'tocPay.text.walletSearchEmpty': string;
206
+ };
207
+ };
208
+ export default _default;
@@ -0,0 +1,207 @@
1
+ export default {
2
+ 'en': {
3
+ 'tocPay.text.checkout': 'Checkout',
4
+ 'tocPay.text.total': 'Total',
5
+ 'tocPay.text.completePaymentIn': 'Complete payment in',
6
+ 'tocPay.text.paymentInstruction': 'Payment instruction',
7
+ 'tocPay.text.serviceCharge': 'Service charge',
8
+ 'tocPay.text.noAvailablePaymentMethods': 'No payment methods available for current shop',
9
+ 'tocPay.text.paymentMethod': 'Payment method',
10
+ 'tocPay.text.connectingApplePay': 'Connecting to Apple Pay, please wait...',
11
+ 'tocPay.text.connectingGooglePay': 'Connecting to Google Pay, please wait...',
12
+ 'tocPay.text.enterName': 'Please enter your name',
13
+ 'tocPay.text.enterValidName': 'Please enter a valid name',
14
+ 'tocPay.text.enterCardNumber': 'Please enter your card number',
15
+ 'tocPay.text.enterValidCardNumber': 'Please enter a valid card number',
16
+ 'tocPay.text.enterExpirationDate': 'Please enter the expiration date',
17
+ 'tocPay.text.enterCVV': 'Please enter the CVV',
18
+ 'tocPay.text.enterValidCVV': 'Please enter a valid CVV',
19
+ 'tocPay.text.addCard': 'Add card',
20
+ 'tocPay.text.creditorDebitCard': 'Card',
21
+ 'tocPay.text.addCreditOrDebitCard': 'Add card',
22
+ 'tocPay.text.cardNumber': 'Card number',
23
+ 'tocPay.text.incorrectCardNumber': 'Incorrect card number. Please try again.',
24
+ 'tocPay.text.expiration': 'Expiration',
25
+ 'tocPay.text.incorrectExpiryDate': 'Incorrect expiry date.',
26
+ 'tocPay.text.securityCode': 'Security code',
27
+ 'tocPay.text.incorrectSecurityCode': 'Incorrect security code.',
28
+ 'tocPay.text.cardholderName': 'Cardholder name',
29
+ 'tocPay.text.enterEnglishName': 'Please enter only your first and last name in English, separated by a space.',
30
+ 'tocPay.text.incorrectName': 'Full name on card.',
31
+ 'tocPay.text.saveCardForNextTime': 'Save this card for next time?',
32
+ 'tocPay.text.secureBankInfo': "Your bank card information is securely stored by professional financial institutions. By clicking 'Pay', you agree to the payment process.",
33
+ 'tocPay.text.pay': 'Pay',
34
+ 'tocPay.text.surcharge': 'Surcharge',
35
+ 'tocPay.text.done': 'Done',
36
+ 'tocPay.text.manageCard': 'Manage card',
37
+ 'tocPay.text.waitingForBankVerification': 'Waiting for bank verification, please wait for 5-10 seconds. You may be redirected to the card issuing bank’s verification page to authorize this payment.',
38
+ 'tocPay.text.redirectingToAlipay': 'Redirecting to Alipay, please wait...',
39
+ 'tocPay.text.redirectingToPaypal': 'Redirecting to Paypal, please wait...',
40
+ 'tocPay.text.redirectingToWeChatPay': 'Redirecting to WeChat Pay, please wait...',
41
+ 'tocPay.text.submit': 'Submit',
42
+ 'tocPay.text.clickSubmitToComplete': 'Please click the ‘Submit’ button at the bottom to complete',
43
+ 'tocPay.text.noExtraPayNeeded': 'No extra pay needed',
44
+ 'tocPay.text.continuePayment': 'Continue payment:',
45
+ 'tocPay.text.prompt': 'Notice',
46
+ 'tocPay.text.confirmLeave': 'Are you sure you want to leave?',
47
+ 'tocPay.text.continuePay': 'Continue to pay',
48
+ 'tocPay.text.leave': 'Leave',
49
+ 'tocPay.text.getParamsFail': 'Failed to obtain payment parameters',
50
+ 'tocPay.text.walletPass': 'Wallet Pass',
51
+ 'tocPay.text.searchResult': 'Search result',
52
+ 'tocPay.text.select': 'Select',
53
+ 'tocPay.text.couponCodesAdded': 'Codes added',
54
+ 'tocPay.text.redeem': 'Redeem',
55
+ 'tocPay.text.howToPay': 'How would you like to pay?',
56
+ 'tocPay.text.congrats': 'Congrats,',
57
+ 'tocPay.text.creditHaveBeen': 'credit have been applied to reduce amount due.',
58
+ 'tocPay.text.walletPassCodesTitle': 'Do you have any codes on hands?',
59
+ 'tocPay.text.scanBarQrCode': 'Scan Bar/QR code',
60
+ 'tocPay.text.enterCodes': 'Enter codes',
61
+ 'tocPay.text.searchDescribe': 'Please enter code or encode',
62
+ 'tocPay.text.walletPassEmpty': 'No cards available. Please scan or search for cards.',
63
+ 'tocPay.text.walletPassDisabled': 'Disabled',
64
+ 'tocPay.text.walletPassPermanent': 'Permanent',
65
+ 'tocPay.text.walletPassCompleteTitle': 'Please click ‘Submit’ button at the bottom to complete',
66
+ 'tocPay.text.walletPassNoExtraPay': 'No extra pay needed',
67
+ 'tocPay.text.walletCanPay': 'You can use the balance in your wallet pass or other eligible types of voucher to pay.',
68
+ 'tocPay.text.paymentInstructions': 'Instructions',
69
+ 'tocPay.text.walletSearchEmpty': 'No results found.'
70
+ },
71
+ 'zh-CN': {
72
+ 'tocPay.text.checkout': '结账',
73
+ 'tocPay.text.total': '总计',
74
+ 'tocPay.text.completePaymentIn': '在以下时间内完成付款',
75
+ 'tocPay.text.paymentInstructions': '付款说明',
76
+ 'tocPay.text.serviceCharge': '手续费',
77
+ 'tocPay.text.noAvailablePaymentMethods': '该店铺暂无可用的支付方式',
78
+ 'tocPay.text.paymentMethod': '支付方式',
79
+ 'tocPay.text.connectingApplePay': '正在转入Apple支付,请稍候...',
80
+ 'tocPay.text.connectingGooglePay': '正在转入Google支付,请稍候...',
81
+ 'tocPay.text.enterName': '请输入姓名',
82
+ 'tocPay.text.enterValidName': '请输入正确的姓名',
83
+ 'tocPay.text.enterCardNumber': '请输入卡号',
84
+ 'tocPay.text.enterValidCardNumber': '请输入正确的卡号',
85
+ 'tocPay.text.enterExpirationDate': '请输入有效日期',
86
+ 'tocPay.text.enterCVV': '请输入cvv',
87
+ 'tocPay.text.enterValidCVV': '请输入正确的cvv',
88
+ 'tocPay.text.addCard': '添加卡片',
89
+ 'tocPay.text.creditorDebitCard': '银行卡',
90
+ 'tocPay.text.addCreditOrDebitCard': '添加卡片',
91
+ 'tocPay.text.cardNumber': '卡号',
92
+ 'tocPay.text.incorrectCardNumber': '卡号错误,请重试。',
93
+ 'tocPay.text.expiration': '有效日期',
94
+ 'tocPay.text.incorrectExpiryDate': '有效日期错误。',
95
+ 'tocPay.text.securityCode': '安全码',
96
+ 'tocPay.text.incorrectSecurityCode': '安全码错误。',
97
+ 'tocPay.text.cardholderName': '持卡人姓名',
98
+ 'tocPay.text.enterEnglishName': '请仅输入您的英文名字和姓氏,以空格键分隔。',
99
+ 'tocPay.text.incorrectName': '请输入您的全名',
100
+ 'tocPay.text.saveCardForNextTime': '保存此卡以便下次使用?',
101
+ 'tocPay.text.secureBankInfo': "您的银行卡信息由银行等第三方专业金融机构保存,我们不会存储您的银行卡有效信息。点击“立即支付”表示您已知悉并同意继续支付流程。",
102
+ 'tocPay.text.pay': '支付',
103
+ 'tocPay.text.surcharge': '附加费',
104
+ 'tocPay.text.done': '完成',
105
+ 'tocPay.text.manageCard': '管理卡片',
106
+ 'tocPay.text.waitingForBankVerification': '正在等待银行校验,请静候5-10秒左右。您可能被转入开卡行的持卡人校验页面来授权本次支付。',
107
+ 'tocPay.text.redirectingToAlipay': '正在转入支付宝支付,请稍候...',
108
+ 'tocPay.text.redirectingToPaypal': '正在转入Paypal支付,请稍候...',
109
+ 'tocPay.text.redirectingToWeChatPay': '正在转入微信支付,请稍候...',
110
+ 'tocPay.text.submit': '提交',
111
+ 'tocPay.text.clickSubmitToComplete': '请点击底部的“提交”按钮完成支付',
112
+ 'tocPay.text.noExtraPayNeeded': '无需额外支付金额',
113
+ 'tocPay.text.continuePayment': '继续支付:',
114
+ 'tocPay.text.prompt': '提示',
115
+ 'tocPay.text.confirmLeave': '你确定要离开吗?',
116
+ 'tocPay.text.continuePay': '继续支付',
117
+ 'tocPay.text.leave': '离开',
118
+ 'tocPay.text.getParamsFail': '获取支付参数失败',
119
+ 'tocPay.text.walletPass': '钱包支付',
120
+ 'tocPay.text.searchResult': '搜索结果',
121
+ 'tocPay.text.select': '选择',
122
+ 'tocPay.text.couponCodesAdded': '编码添加',
123
+ 'tocPay.text.redeem': '兑换',
124
+ 'tocPay.text.howToPay': '您想如何付款?',
125
+ 'tocPay.text.congrats': '恭喜,您钱包内有',
126
+ 'tocPay.text.creditHaveBeen': '可以用于支付订单金额。',
127
+ 'tocPay.text.walletPassCodesTitle': '您有可用于支付的编码吗?',
128
+ 'tocPay.text.scanBarQrCode': '扫描条形码/二维码',
129
+ 'tocPay.text.enterCodes': '输入编码',
130
+ 'tocPay.text.searchDescribe': '请输入卡片编码或发行编码',
131
+ 'tocPay.text.walletPassEmpty': '没有可使用的卡片,请扫描或搜索卡片',
132
+ 'tocPay.text.walletPassDisabled': '不可用',
133
+ 'tocPay.text.walletPassPermanent': '永久有效',
134
+ 'tocPay.text.walletPassCompleteTitle': '请点击底部的“提交”按钮完成支付',
135
+ 'tocPay.text.walletPassNoExtraPay': '无需额外支付金额',
136
+ 'tocPay.text.walletCanPay': '您可以使用钱包内的余额或其他符合条件的代金券进行支付。',
137
+ 'tocPay.text.walletSearchEmpty': '没有查询到任何结果。'
138
+ },
139
+ 'zh-HK': {
140
+ 'tocPay.text.checkout': '結帳',
141
+ 'tocPay.text.total': '總計',
142
+ 'tocPay.text.completePaymentIn': '在以下時間內完成付款',
143
+ 'tocPay.text.paymentInstructions': '付款說明',
144
+ 'tocPay.text.serviceCharge': '手續費',
145
+ 'tocPay.text.noAvailablePaymentMethods': '該店鋪暫無可用的支付方式',
146
+ 'tocPay.text.paymentMethod': '支付方式',
147
+ 'tocPay.text.connectingApplePay': '正在轉接Apple支付,請稍候...',
148
+ 'tocPay.text.connectingGooglePay': '正在轉接Google支付,請稍候...',
149
+ 'tocPay.text.enterName': '請輸入姓名',
150
+ 'tocPay.text.enterValidName': '請輸入正確的姓名',
151
+ 'tocPay.text.enterCardNumber': '請輸入卡號',
152
+ 'tocPay.text.enterValidCardNumber': '請輸入正確的卡號',
153
+ 'tocPay.text.enterExpirationDate': '請輸入有效日期',
154
+ 'tocPay.text.enterCVV': '請輸入cvv',
155
+ 'tocPay.text.enterValidCVV': '請輸入正確的cvv',
156
+ 'tocPay.text.addCard': '添加卡片',
157
+ 'tocPay.text.creditorDebitCard': '銀行卡',
158
+ 'tocPay.text.addCreditOrDebitCard': '添加卡片',
159
+ 'tocPay.text.cardNumber': '卡號',
160
+ 'tocPay.text.incorrectCardNumber': '卡號錯誤,請重試。',
161
+ 'tocPay.text.expiration': '有效日期',
162
+ 'tocPay.text.incorrectExpiryDate': '有效日期錯誤。',
163
+ 'tocPay.text.securityCode': '安全碼',
164
+ 'tocPay.text.incorrectSecurityCode': '安全碼錯誤。',
165
+ 'tocPay.text.cardholderName': '持卡人姓名',
166
+ 'tocPay.text.enterEnglishName': '請僅輸入您的英文名字和姓氏,以空格鍵分隔。',
167
+ 'tocPay.text.incorrectName': '請輸入您的全名',
168
+ 'tocPay.text.saveCardForNextTime': '保存此卡以便下次使用?',
169
+ 'tocPay.text.secureBankInfo': "您的銀行卡信息由銀行等第三方專業金融機構保存,我們不會存儲您的銀行卡有效信息。點擊“立即支付”表示您已知悉並同意繼續支付流程。",
170
+ 'tocPay.text.pay': '支付',
171
+ 'tocPay.text.surcharge': '附加費',
172
+ 'tocPay.text.done': '完成',
173
+ 'tocPay.text.manageCard': '管理卡片',
174
+ 'tocPay.text.waitingForBankVerification': '正在等待銀行校驗,請靜候5-10秒左右。您可能被轉入開卡行的持卡人校驗頁面來授權本次支付。',
175
+ 'tocPay.text.redirectingToAlipay': '正在轉入支付寶支付,請稍候...',
176
+ 'tocPay.text.redirectingToPaypal': '正在轉入Paypal支付,請稍候...',
177
+ 'tocPay.text.redirectingToWeChatPay': '正在轉入微信支付,請稍候...',
178
+ 'tocPay.text.submit': '提交',
179
+ 'tocPay.text.clickSubmitToComplete': '請點擊底部的“提交”按鈕完成支付',
180
+ 'tocPay.text.noExtraPayNeeded': '無需額外支付金額',
181
+ 'tocPay.text.continuePayment': '繼續支付:',
182
+ 'tocPay.text.prompt': '提示',
183
+ 'tocPay.text.confirmLeave': '你確定要離開嗎?',
184
+ 'tocPay.text.continuePay': '繼續支付',
185
+ 'tocPay.text.leave': '離開',
186
+ 'tocPay.text.getParamsFail': '取得支付參數失敗',
187
+ 'tocPay.text.walletPass': '錢包支付',
188
+ 'tocPay.text.searchResult': '搜索結果',
189
+ 'tocPay.text.select': '選擇',
190
+ 'tocPay.text.couponCodesAdded': '編碼添加',
191
+ 'tocPay.text.redeem': '兌換',
192
+ 'tocPay.text.howToPay': '您想如何付款?',
193
+ 'tocPay.text.congrats': '恭喜,您錢包內有',
194
+ 'tocPay.text.creditHaveBeen': '可以用於支付訂單金額。',
195
+ 'tocPay.text.walletPassCodesTitle': '您有可用於付款的編碼嗎?',
196
+ 'tocPay.text.scanBarQrCode': '掃描條形碼/二維碼',
197
+ 'tocPay.text.enterCodes': '輸入編碼',
198
+ 'tocPay.text.searchDescribe': '請輸入卡片編碼或發行編碼',
199
+ 'tocPay.text.walletPassEmpty': '沒有可使用的卡片,請掃描或搜尋卡片',
200
+ 'tocPay.text.walletPassDisabled': '不可用',
201
+ 'tocPay.text.walletPassPermanent': '永久有效',
202
+ 'tocPay.text.walletPassCompleteTitle': '請點擊底部的“提交”按鈕完成支付',
203
+ 'tocPay.text.walletPassNoExtraPay': '無需額外支付金額',
204
+ 'tocPay.text.walletCanPay': '您可以使用錢包內的餘額或其他符合資格的代金券進行支付。',
205
+ 'tocPay.text.walletSearchEmpty': '沒有查詢到任何結果。'
206
+ }
207
+ };
@@ -0,0 +1,35 @@
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
+ }
10
+ export interface PayGroup {
11
+ order_id?: string;
12
+ total_amount?: number;
13
+ walletPass?: {
14
+ amount: number;
15
+ cards: any[];
16
+ [key: string]: any;
17
+ paid?: boolean;
18
+ };
19
+ otherPayment?: {
20
+ [key: string]: any;
21
+ };
22
+ wait_amount?: number;
23
+ payment_group_id?: number;
24
+ payment_priority?: string[];
25
+ pay_number?: string;
26
+ _order: any;
27
+ }
28
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
29
+ state: FormState;
30
+ } & {
31
+ dispatch: (params: {
32
+ type: string;
33
+ payload: any;
34
+ }) => void;
35
+ }>;
@@ -0,0 +1,43 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ import { miniRedux } from '@pisell/utils';
8
+ import { syncPayGroupToStorage } from "./payGroup";
9
+ // 默认值
10
+ var defaultState = {
11
+ platform: undefined,
12
+ order: null,
13
+ status: 'init',
14
+ payCallback: function payCallback() {},
15
+ history: null,
16
+ payGroup: {
17
+ wait_amount: 0
18
+ }
19
+ };
20
+ var _miniRedux = miniRedux({
21
+ namespace: 'state',
22
+ state: defaultState,
23
+ reducers: {
24
+ setState: function setState(state, payload) {
25
+ return _objectSpread(_objectSpread({}, state), payload);
26
+ },
27
+ setPayGroup: function setPayGroup(state, payload) {
28
+ var res = _objectSpread(_objectSpread({}, state.payGroup), payload);
29
+
30
+ // 同步交易组到storage
31
+ syncPayGroupToStorage(res);
32
+ return _objectSpread(_objectSpread({}, state), {}, {
33
+ payGroup: res
34
+ });
35
+ },
36
+ init: function init(state, payload) {
37
+ return _objectSpread(_objectSpread({}, defaultState), payload);
38
+ }
39
+ }
40
+ }),
41
+ Provider = _miniRedux.Provider,
42
+ Context = _miniRedux.Context;
43
+ export { Provider, Context };
@@ -0,0 +1,48 @@
1
+ import { PayGroup } from './model';
2
+ /**
3
+ * @title: 同步交易组到storage
4
+ * @description:
5
+ * @param {PayGroup} payGroup
6
+ * @return {*}
7
+ * @Author: zhiwei.Wang
8
+ * @Date: 2024-08-16 10:40
9
+ */
10
+ export declare const syncPayGroupToStorage: (payGroup: PayGroup) => void;
11
+ /**
12
+ * @title: 通过订单id获取交易组
13
+ * @description:
14
+ * @param {string} orderId
15
+ * @return {*}
16
+ * @Author: zhiwei.Wang
17
+ * @Date: 2024-08-16 10:40
18
+ */
19
+ export declare const getPayGroupFromStorage: (orderId: string) => PayGroup | null;
20
+ /**
21
+ * @title: 删除交易组
22
+ * @description:
23
+ * @param {string} orderId
24
+ * @return {*}
25
+ * @Author: zhiwei.Wang
26
+ * @Date: 2024-08-16 10:40
27
+ */
28
+ export declare const removePayGroupFromStorage: (orderId: string) => void;
29
+ /**
30
+ * @title: 获取交易组参数
31
+ * @description:
32
+ * @param {string} orderId
33
+ * @param {any} rest
34
+ * @return {*}
35
+ * @Author: zhiwei.Wang
36
+ * @Date: 2024-08-16 10:40
37
+ */
38
+ export declare const getPayGroupParamsFromStorage: (orderId: string, rest?: any) => any;
39
+ /**
40
+ * @title: 通过订单id设置交易号
41
+ * @description:
42
+ * @param {string} orderId
43
+ * @param {string} payNumber
44
+ * @return {*}
45
+ * @Author: zhiwei.Wang
46
+ * @Date: 2024-08-16 10:41
47
+ */
48
+ export declare const setPayNumber: (orderId: string, payNumber: string) => void;