@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.
- package/build/lowcode/assets-daily.json +19 -11
- package/build/lowcode/assets-dev.json +10 -2
- package/build/lowcode/assets-prod.json +19 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +18 -16
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +18 -16
- package/es/components/booking/addons/index.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +2 -1
- package/es/components/booking/components/footer/index.js +1 -1
- package/es/components/booking/deposit/DepositItem/index.d.ts +4 -1
- package/es/components/booking/deposit/DepositItem/index.js +17 -6
- package/es/components/booking/deposit/DepositItem/index.less +36 -12
- package/es/components/booking/deposit/index.js +5 -2
- package/es/components/booking/forms/forms.d.ts +1 -1
- package/es/components/booking/forms/index.d.ts +1 -1
- package/es/components/booking/forms/model.d.ts +2 -1
- package/es/components/booking/index.d.ts +1 -1
- package/es/components/booking/info/index.d.ts +1 -1
- package/es/components/booking/info/model.d.ts +2 -1
- package/es/components/booking/info/service/editService/index.js +11 -9
- package/es/components/booking/locales.d.ts +12 -0
- package/es/components/booking/locales.js +12 -0
- package/es/components/booking/model.d.ts +2 -1
- package/es/components/booking/notes/index.d.ts +1 -1
- package/es/components/booking/notes/model.d.ts +2 -1
- package/es/components/booking/payments/index.d.ts +1 -1
- package/es/components/booking/payments/model.d.ts +2 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +2 -1
- package/es/components/pay/toC/PayAmount/index.d.ts +15 -0
- package/es/components/pay/toC/PayAmount/index.js +25 -0
- package/es/components/pay/toC/PayAmount/index.less +21 -0
- package/es/components/pay/toC/PayCountdown/index.d.ts +15 -0
- package/es/components/pay/toC/PayCountdown/index.js +26 -0
- package/es/components/pay/toC/PayCountdown/index.less +22 -0
- package/es/components/pay/toC/PaymentList/index.d.ts +19 -0
- package/es/components/pay/toC/PaymentList/index.js +342 -0
- package/es/components/pay/toC/PaymentList/index.less +112 -0
- package/es/components/pay/toC/PaymentList/mock.d.ts +88 -0
- package/es/components/pay/toC/PaymentList/mock.js +128 -0
- package/es/components/pay/toC/PaymentList/payment/alipay.svg +13 -0
- package/es/components/pay/toC/PaymentList/payment/apple_pay.svg +7 -0
- package/es/components/pay/toC/PaymentList/payment/bank_deposit.svg +11 -0
- package/es/components/pay/toC/PaymentList/payment/cash.svg +8 -0
- package/es/components/pay/toC/PaymentList/payment/credit_card.svg +10 -0
- package/es/components/pay/toC/PaymentList/payment/custom.svg +10 -0
- package/es/components/pay/toC/PaymentList/payment/google_pay.svg +9 -0
- package/es/components/pay/toC/PaymentList/payment/paypal.svg +8 -0
- package/es/components/pay/toC/PaymentList/payment/stripe.svg +16 -0
- package/es/components/pay/toC/PaymentList/payment/wxpay.svg +5 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +26 -0
- package/es/components/pay/toC/PaymentList/serve.js +135 -0
- package/es/components/pay/toC/PaymentList/status.d.ts +4 -0
- package/es/components/pay/toC/PaymentList/status.js +100 -0
- package/es/components/pay/toC/PaymentList/utils.d.ts +10 -0
- package/es/components/pay/toC/PaymentList/utils.js +53 -0
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +113 -0
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +74 -0
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/CashManual/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/CashManual/index.js +79 -0
- package/es/components/pay/toC/PaymentMethods/CashManual/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/CashManual/serve.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/CashManual/serve.js +27 -0
- package/es/components/pay/toC/PaymentMethods/CustomPayment/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/CustomPayment/index.js +78 -0
- package/es/components/pay/toC/PaymentMethods/CustomPayment/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/CustomPayment/serve.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/CustomPayment/serve.js +27 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +109 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.js +41 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +109 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.js +41 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +65 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.js +36 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +109 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.js +41 -0
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +110 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +12 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +349 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +25 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +375 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.less +95 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.js +37 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +21 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +24 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +222 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +130 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +524 -0
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.js +73 -0
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/serve.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/serve.js +27 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.js +61 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.js +121 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.less +35 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.js +33 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.js +30 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +8 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.js +37 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +8 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.js +13 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js +15 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less +27 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/stripe_loading.gif +0 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.js +108 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.js +113 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less +22 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.js +96 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.module.less +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.js +33 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/index.js +78 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.js +36 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +108 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.js +41 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +109 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.js +41 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +142 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.less +20 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.js +19 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +20 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +344 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.less +0 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +111 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.js +114 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +40 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/index.js +316 -0
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +14 -0
- package/es/components/pay/toC/WalletPassBlock/index.js +72 -0
- package/es/components/pay/toC/WalletPassBlock/index.less +65 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/index.js +647 -0
- package/es/components/pay/toC/index.less +22 -0
- package/es/components/pay/toC/locales.d.ts +208 -0
- package/es/components/pay/toC/locales.js +207 -0
- package/es/components/pay/toC/model.d.ts +35 -0
- package/es/components/pay/toC/model.js +43 -0
- package/es/components/pay/toC/payGroup.d.ts +48 -0
- package/es/components/pay/toC/payGroup.js +105 -0
- package/es/components/pay/toC/serve.d.ts +34 -0
- package/es/components/pay/toC/serve.js +148 -0
- package/es/components/pay/toC/status.d.ts +3 -0
- package/es/components/pay/toC/status.js +82 -0
- package/es/components/pay/toC/utils.d.ts +30 -0
- package/es/components/pay/toC/utils.js +48 -0
- package/es/components/schedules/index.d.ts +1 -1
- package/es/components/schedules/model.d.ts +2 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/utils/index.d.ts +6 -5
- package/es/utils/index.js +28 -6
- package/lib/components/booking/addons/index.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +2 -1
- package/lib/components/booking/components/footer/index.js +1 -1
- package/lib/components/booking/deposit/DepositItem/index.d.ts +4 -1
- package/lib/components/booking/deposit/DepositItem/index.js +17 -6
- package/lib/components/booking/deposit/DepositItem/index.less +36 -12
- package/lib/components/booking/deposit/index.js +5 -2
- package/lib/components/booking/forms/forms.d.ts +1 -1
- package/lib/components/booking/forms/index.d.ts +1 -1
- package/lib/components/booking/forms/model.d.ts +2 -1
- package/lib/components/booking/index.d.ts +1 -1
- package/lib/components/booking/info/index.d.ts +1 -1
- package/lib/components/booking/info/model.d.ts +2 -1
- package/lib/components/booking/info/service/editService/index.js +2 -0
- package/lib/components/booking/locales.d.ts +12 -0
- package/lib/components/booking/locales.js +12 -0
- package/lib/components/booking/model.d.ts +2 -1
- package/lib/components/booking/notes/index.d.ts +1 -1
- package/lib/components/booking/notes/model.d.ts +2 -1
- package/lib/components/booking/payments/index.d.ts +1 -1
- package/lib/components/booking/payments/model.d.ts +2 -1
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +5 -2
- package/lib/components/pay/toC/PayAmount/index.d.ts +15 -0
- package/lib/components/pay/toC/PayAmount/index.js +42 -0
- package/lib/components/pay/toC/PayAmount/index.less +21 -0
- package/lib/components/pay/toC/PayCountdown/index.d.ts +15 -0
- package/lib/components/pay/toC/PayCountdown/index.js +49 -0
- package/lib/components/pay/toC/PayCountdown/index.less +22 -0
- package/lib/components/pay/toC/PaymentList/index.d.ts +19 -0
- package/lib/components/pay/toC/PaymentList/index.js +256 -0
- package/lib/components/pay/toC/PaymentList/index.less +112 -0
- package/lib/components/pay/toC/PaymentList/mock.d.ts +88 -0
- package/lib/components/pay/toC/PaymentList/mock.js +174 -0
- package/lib/components/pay/toC/PaymentList/payment/alipay.svg +13 -0
- package/lib/components/pay/toC/PaymentList/payment/apple_pay.svg +7 -0
- package/lib/components/pay/toC/PaymentList/payment/bank_deposit.svg +11 -0
- package/lib/components/pay/toC/PaymentList/payment/cash.svg +8 -0
- package/lib/components/pay/toC/PaymentList/payment/credit_card.svg +10 -0
- package/lib/components/pay/toC/PaymentList/payment/custom.svg +10 -0
- package/lib/components/pay/toC/PaymentList/payment/google_pay.svg +9 -0
- package/lib/components/pay/toC/PaymentList/payment/paypal.svg +8 -0
- package/lib/components/pay/toC/PaymentList/payment/stripe.svg +16 -0
- package/lib/components/pay/toC/PaymentList/payment/wxpay.svg +5 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +26 -0
- package/lib/components/pay/toC/PaymentList/serve.js +83 -0
- package/lib/components/pay/toC/PaymentList/status.d.ts +4 -0
- package/lib/components/pay/toC/PaymentList/status.js +132 -0
- package/lib/components/pay/toC/PaymentList/utils.d.ts +10 -0
- package/lib/components/pay/toC/PaymentList/utils.js +52 -0
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +96 -0
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +68 -0
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/CashManual/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/CashManual/index.js +56 -0
- package/lib/components/pay/toC/PaymentMethods/CashManual/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/CashManual/serve.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/CashManual/serve.js +33 -0
- package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.js +56 -0
- package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/CustomPayment/serve.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/CustomPayment/serve.js +33 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +89 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.js +44 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +89 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.js +44 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.js +61 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.js +43 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +89 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.js +44 -0
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +95 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.d.ts +12 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +270 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.less +25 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.js +224 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.less +95 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.js +39 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.js +52 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.less +24 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +139 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +80 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +336 -0
- package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.js +53 -0
- package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/OfflinePayment/serve.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/OfflinePayment/serve.js +33 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.js +76 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.js +107 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.less +35 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/serve.js +30 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/DynamicSDK.js +44 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +8 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.js +69 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +8 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.js +44 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js +48 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less +27 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/stripe_loading.gif +0 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.js +124 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.js +94 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less +22 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.js +81 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.module.less +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/serve.js +30 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.js +71 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.js +43 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +88 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.js +44 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +87 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.js +44 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +15 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +126 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.less +20 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.js +56 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +20 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +284 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.less +0 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +111 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.js +54 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +70 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +176 -0
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +14 -0
- package/lib/components/pay/toC/WalletPassBlock/index.js +97 -0
- package/lib/components/pay/toC/WalletPassBlock/index.less +65 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/index.js +366 -0
- package/lib/components/pay/toC/index.less +22 -0
- package/lib/components/pay/toC/locales.d.ts +208 -0
- package/lib/components/pay/toC/locales.js +231 -0
- package/lib/components/pay/toC/model.d.ts +35 -0
- package/lib/components/pay/toC/model.js +60 -0
- package/lib/components/pay/toC/payGroup.d.ts +48 -0
- package/lib/components/pay/toC/payGroup.js +77 -0
- package/lib/components/pay/toC/serve.d.ts +34 -0
- package/lib/components/pay/toC/serve.js +78 -0
- package/lib/components/pay/toC/status.d.ts +3 -0
- package/lib/components/pay/toC/status.js +92 -0
- package/lib/components/pay/toC/utils.d.ts +30 -0
- package/lib/components/pay/toC/utils.js +62 -0
- package/lib/components/schedules/index.d.ts +1 -1
- package/lib/components/schedules/model.d.ts +2 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/utils/index.d.ts +6 -5
- package/lib/utils/index.js +12 -1
- package/lowcode/toc-pay/meta.ts +59 -0
- 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;
|