pay-sdk-react 1.1.1 → 1.1.3
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/README.md +38 -20
- package/README.zh-CN.md +38 -20
- package/dist/css/index.css +703 -1
- package/dist/css/index.min.css +1 -0
- package/dist/es/Airwallex/airwallex-button.js +56 -36
- package/dist/es/Airwallex/airwallex-modal.js +41 -34
- package/dist/es/Airwallex/airwallex-popup.js +43 -38
- package/dist/es/Airwallex/airwallex.js +26 -28
- package/dist/es/Airwallex/index.js +1 -1
- package/dist/es/Airwallex/style/index.css +335 -1
- package/dist/es/Airwallex/style/index.min.css +1 -0
- package/dist/es/Alipay/alipay-button.js +39 -24
- package/dist/es/Alipay/alipay-modal.js +38 -32
- package/dist/es/Alipay/alipay.js +22 -15
- package/dist/es/Alipay/index.d.ts +4 -4
- package/dist/es/Alipay/index.js +5 -5
- package/dist/es/Alipay/interface.d.ts +7 -9
- package/dist/es/Alipay/style/index.css +18 -1
- package/dist/es/Alipay/style/index.min.css +1 -0
- package/dist/es/Button/button.js +62 -37
- package/dist/es/Button/index.d.ts +2 -2
- package/dist/es/Button/index.js +2 -2
- package/dist/es/Button/interface.d.ts +4 -0
- package/dist/es/Button/style/index.css +95 -1
- package/dist/es/Button/style/index.min.css +1 -0
- package/dist/es/FullScreenLoading/index.js +40 -40
- package/dist/es/FullScreenLoading/interface.d.ts +2 -2
- package/dist/es/FullScreenLoading/style/index.css +239 -1
- package/dist/es/FullScreenLoading/style/index.min.css +1 -0
- package/dist/es/MAlipay/index.js +1 -1
- package/dist/es/MAlipay/m-alipay-auto-submit.js +9 -11
- package/dist/es/MAlipay/m-alipay-button.js +86 -55
- package/dist/es/MAlipay/style/index.css +252 -1
- package/dist/es/MAlipay/style/index.min.css +1 -0
- package/dist/es/MWeChat/index.d.ts +2 -2
- package/dist/es/MWeChat/index.js +2 -2
- package/dist/es/MWeChat/m-wechat-button.js +86 -54
- package/dist/es/MWeChat/style/index.css +252 -1
- package/dist/es/MWeChat/style/index.min.css +1 -0
- package/dist/es/Mask/index.d.ts +2 -2
- package/dist/es/Mask/index.js +2 -2
- package/dist/es/Mask/mask.js +48 -45
- package/dist/es/Mask/style/index.css +11 -1
- package/dist/es/Mask/style/index.min.css +1 -0
- package/dist/es/PayButton/index.js +2 -2
- package/dist/es/PayButton/interface.d.ts +9 -9
- package/dist/es/PayButton/interface.js +1 -1
- package/dist/es/PayMask/index.d.ts +2 -2
- package/dist/es/PayMask/index.js +2 -2
- package/dist/es/PayMask/interface.d.ts +2 -2
- package/dist/es/PayMask/pay-mask.js +41 -40
- package/dist/es/PayMask/style/index.css +62 -1
- package/dist/es/PayMask/style/index.min.css +1 -0
- package/dist/es/Paypal/index.d.ts +2 -2
- package/dist/es/Paypal/index.js +2 -2
- package/dist/es/Paypal/paypal-button.js +55 -36
- package/dist/es/Paypal/style/index.css +207 -1
- package/dist/es/Paypal/style/index.min.css +1 -0
- package/dist/es/Payssion/index.d.ts +2 -2
- package/dist/es/Payssion/index.js +2 -2
- package/dist/es/Payssion/payssion-button.js +56 -37
- package/dist/es/Payssion/style/index.css +157 -1
- package/dist/es/Payssion/style/index.min.css +1 -0
- package/dist/es/Stripe/index.d.ts +5 -5
- package/dist/es/Stripe/index.js +6 -6
- package/dist/es/Stripe/stripe-button.js +47 -33
- package/dist/es/Stripe/stripe-modal.js +38 -32
- package/dist/es/Stripe/stripe-popup.js +42 -37
- package/dist/es/Stripe/stripe.js +15 -15
- package/dist/es/Stripe/style/index.css +365 -1
- package/dist/es/Stripe/style/index.min.css +1 -0
- package/dist/es/Wechat/index.d.ts +4 -4
- package/dist/es/Wechat/index.js +5 -5
- package/dist/es/Wechat/style/index.css +25 -1
- package/dist/es/Wechat/style/index.min.css +1 -0
- package/dist/es/Wechat/wechat-button.js +38 -23
- package/dist/es/Wechat/wechat-modal.js +37 -31
- package/dist/es/Wechat/wechat.js +16 -12
- package/dist/es/confirm-modal/index.d.ts +3 -3
- package/dist/es/confirm-modal/index.js +53 -35
- package/dist/es/confirm-modal/interface.d.ts +2 -2
- package/dist/es/confirm-modal/style/index.css +95 -1
- package/dist/es/confirm-modal/style/index.min.css +1 -0
- package/dist/es/dot-loading/dot-loading.js +25 -23
- package/dist/es/dot-loading/index.d.ts +2 -2
- package/dist/es/dot-loading/index.js +2 -2
- package/dist/es/dot-loading/style/index.css +3 -1
- package/dist/es/dot-loading/style/index.min.css +1 -0
- package/dist/es/hooks/use-initialized.js +2 -2
- package/dist/es/hooks/use-inner-visible.js +8 -4
- package/dist/es/hooks/use-lock-scroll.d.ts +2 -2
- package/dist/es/hooks/use-lock-scroll.js +30 -34
- package/dist/es/hooks/use-touch.d.ts +1 -1
- package/dist/es/hooks/use-touch.js +35 -31
- package/dist/es/hooks/usePayWindowOpen.d.ts +1 -1
- package/dist/es/hooks/usePayWindowOpen.js +31 -27
- package/dist/es/icons/IconAlipay/index.js +18 -16
- package/dist/es/icons/IconClose/index.js +24 -22
- package/dist/es/icons/IconPaypalText/index.js +24 -22
- package/dist/es/icons/IconPaypalWhite/index.js +19 -17
- package/dist/es/icons/IconPayssionPay/index.js +47 -45
- package/dist/es/icons/IconStripe/index.js +19 -17
- package/dist/es/icons/IconStripeText/index.js +19 -17
- package/dist/es/icons/IconWechatPay/index.js +18 -16
- package/dist/es/icons/interface.d.ts +1 -1
- package/dist/es/icons/style/index.css +45 -1
- package/dist/es/icons/style/index.min.css +1 -0
- package/dist/es/index.d.ts +1 -1
- package/dist/es/pay-modal/index.d.ts +2 -2
- package/dist/es/pay-modal/index.js +2 -2
- package/dist/es/pay-modal/interface.d.ts +8 -18
- package/dist/es/pay-modal/pay-modal.js +53 -42
- package/dist/es/pay-modal/style/index.css +95 -1
- package/dist/es/pay-modal/style/index.min.css +1 -0
- package/dist/es/pay-popup/index.js +51 -53
- package/dist/es/pay-popup/interface.d.ts +6 -6
- package/dist/es/pay-popup/style/index.css +145 -1
- package/dist/es/pay-popup/style/index.min.css +1 -0
- package/dist/es/shared/enums/index.js +1 -1
- package/dist/es/shared/index.d.ts +1 -1
- package/dist/es/shared/index.js +1 -1
- package/dist/es/utils/can-use-dom.js +1 -1
- package/dist/es/utils/classNames.js +15 -11
- package/dist/es/utils/dom.js +18 -18
- package/dist/es/utils/get-container.js +2 -2
- package/dist/es/utils/get-scroll-parent.js +8 -9
- package/dist/es/utils/is.js +54 -32
- package/dist/es/utils/native-props.d.ts +2 -2
- package/dist/es/utils/native-props.js +7 -9
- package/dist/es/utils/omit.js +3 -5
- package/dist/es/utils/qrcode.js +5 -5
- package/dist/es/utils/render-to-container.d.ts +1 -1
- package/dist/es/utils/render-to-container.js +4 -4
- package/dist/es/utils/should-render.d.ts +1 -1
- package/dist/es/utils/should-render.js +4 -4
- package/dist/es/utils/supports-passive.js +8 -7
- package/dist/es/utils/warning.js +0 -1
- package/dist/es/utils/with-default-props.js +6 -4
- package/dist/es/utils/with-stop-propagation.d.ts +3 -3
- package/dist/es/utils/with-stop-propagation.js +27 -14
- package/dist/lib/Airwallex/airwallex-button.js +12 -15
- package/dist/lib/Airwallex/airwallex-modal.js +11 -14
- package/dist/lib/Airwallex/airwallex-popup.js +16 -23
- package/dist/lib/Airwallex/airwallex.js +20 -25
- package/dist/lib/Airwallex/index.js +1 -1
- package/dist/lib/Airwallex/style/index.css +335 -1
- package/dist/lib/Airwallex/style/index.min.css +1 -0
- package/dist/lib/Alipay/alipay-button.js +12 -15
- package/dist/lib/Alipay/alipay-modal.js +10 -13
- package/dist/lib/Alipay/alipay.js +19 -23
- package/dist/lib/Alipay/index.js +1 -1
- package/dist/lib/Alipay/style/index.css +18 -1
- package/dist/lib/Alipay/style/index.min.css +1 -0
- package/dist/lib/Button/button.js +13 -13
- package/dist/lib/Button/index.js +1 -1
- package/dist/lib/Button/style/index.css +95 -1
- package/dist/lib/Button/style/index.min.css +1 -0
- package/dist/lib/FullScreenLoading/index.js +28 -29
- package/dist/lib/FullScreenLoading/style/index.css +239 -1
- package/dist/lib/FullScreenLoading/style/index.min.css +1 -0
- package/dist/lib/MAlipay/index.js +1 -1
- package/dist/lib/MAlipay/m-alipay-auto-submit.js +3 -4
- package/dist/lib/MAlipay/m-alipay-button.js +42 -41
- package/dist/lib/MAlipay/style/index.css +252 -1
- package/dist/lib/MAlipay/style/index.min.css +1 -0
- package/dist/lib/MWeChat/index.js +2 -2
- package/dist/lib/MWeChat/m-wechat-button.js +43 -41
- package/dist/lib/MWeChat/style/index.css +252 -1
- package/dist/lib/MWeChat/style/index.min.css +1 -0
- package/dist/lib/Mask/index.js +1 -1
- package/dist/lib/Mask/mask.js +6 -11
- package/dist/lib/Mask/style/index.css +11 -1
- package/dist/lib/Mask/style/index.min.css +1 -0
- package/dist/lib/PayButton/index.js +10 -10
- package/dist/lib/PayMask/index.js +1 -1
- package/dist/lib/PayMask/pay-mask.js +20 -23
- package/dist/lib/PayMask/style/index.css +62 -1
- package/dist/lib/PayMask/style/index.min.css +1 -0
- package/dist/lib/Paypal/index.js +2 -2
- package/dist/lib/Paypal/paypal-button.js +17 -22
- package/dist/lib/Paypal/style/index.css +207 -1
- package/dist/lib/Paypal/style/index.min.css +1 -0
- package/dist/lib/Payssion/index.js +2 -2
- package/dist/lib/Payssion/payssion-button.js +17 -22
- package/dist/lib/Payssion/style/index.css +157 -1
- package/dist/lib/Payssion/style/index.min.css +1 -0
- package/dist/lib/Stripe/index.js +1 -1
- package/dist/lib/Stripe/stripe-button.js +14 -17
- package/dist/lib/Stripe/stripe-modal.js +10 -13
- package/dist/lib/Stripe/stripe-popup.js +16 -23
- package/dist/lib/Stripe/stripe.js +8 -11
- package/dist/lib/Stripe/style/index.css +365 -1
- package/dist/lib/Stripe/style/index.min.css +1 -0
- package/dist/lib/Wechat/index.js +1 -1
- package/dist/lib/Wechat/style/index.css +25 -1
- package/dist/lib/Wechat/style/index.min.css +1 -0
- package/dist/lib/Wechat/wechat-button.js +12 -15
- package/dist/lib/Wechat/wechat-modal.js +9 -12
- package/dist/lib/Wechat/wechat.js +11 -12
- package/dist/lib/confirm-modal/index.js +22 -12
- package/dist/lib/confirm-modal/style/index.css +95 -1
- package/dist/lib/confirm-modal/style/index.min.css +1 -0
- package/dist/lib/dot-loading/dot-loading.js +3 -4
- package/dist/lib/dot-loading/index.js +1 -1
- package/dist/lib/dot-loading/style/index.css +3 -1
- package/dist/lib/dot-loading/style/index.min.css +1 -0
- package/dist/lib/hooks/use-lock-scroll.js +11 -12
- package/dist/lib/hooks/use-touch.js +10 -10
- package/dist/lib/hooks/usePayWindowOpen.js +14 -15
- package/dist/lib/icons/IconAlipay/index.js +6 -6
- package/dist/lib/icons/IconClose/index.js +8 -8
- package/dist/lib/icons/IconPaypalText/index.js +7 -7
- package/dist/lib/icons/IconPaypalWhite/index.js +6 -6
- package/dist/lib/icons/IconPayssionPay/index.js +13 -13
- package/dist/lib/icons/IconStripe/index.js +6 -6
- package/dist/lib/icons/IconStripeText/index.js +6 -6
- package/dist/lib/icons/IconWechatPay/index.js +6 -6
- package/dist/lib/icons/index.js +2 -2
- package/dist/lib/icons/style/index.css +45 -1
- package/dist/lib/icons/style/index.min.css +1 -0
- package/dist/lib/index.js +2 -2
- package/dist/lib/pay-modal/index.js +1 -1
- package/dist/lib/pay-modal/pay-modal.js +29 -21
- package/dist/lib/pay-modal/style/index.css +95 -1
- package/dist/lib/pay-modal/style/index.min.css +1 -0
- package/dist/lib/pay-popup/index.js +24 -28
- package/dist/lib/pay-popup/style/index.css +145 -1
- package/dist/lib/pay-popup/style/index.min.css +1 -0
- package/dist/lib/utils/can-use-dom.js +1 -1
- package/dist/lib/utils/classNames.js +6 -7
- package/dist/lib/utils/dom.js +9 -11
- package/dist/lib/utils/get-scroll-parent.js +2 -3
- package/dist/lib/utils/getPrefixCls.js +1 -1
- package/dist/lib/utils/is.js +16 -14
- package/dist/lib/utils/native-props.js +10 -10
- package/dist/lib/utils/omit.js +3 -6
- package/dist/lib/utils/qrcode.js +1 -1
- package/dist/lib/utils/supports-passive.js +4 -3
- package/dist/lib/utils/warning.js +2 -6
- package/dist/lib/utils/with-default-props.js +4 -8
- package/dist/lib/utils/with-stop-propagation.js +6 -9
- package/dist/umd/pay-sdk-react.umd.js +106 -86
- package/dist/umd/pay-sdk-react.umd.js.map +1 -1
- package/package.json +5 -2
|
@@ -1409,46 +1409,46 @@
|
|
|
1409
1409
|
}
|
|
1410
1410
|
|
|
1411
1411
|
const classPrefix$g = getPrefixCls('icon');
|
|
1412
|
-
const IconClose = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750733458208", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "4564", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$g} ${classPrefix$g}-close`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M0 0h1024v1024H0z", fill: "#999999",
|
|
1412
|
+
const IconClose = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750733458208", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "4564", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$g} ${classPrefix$g}-close`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M0 0h1024v1024H0z", fill: "#999999", fillOpacity: "0", "data-p-id": "4565" }), jsxRuntimeExports.jsx("path", { d: "M240.448 168l2.346667 2.154667 289.92 289.941333 279.253333-279.253333a42.666667 42.666667 0 0 1 62.506667 58.026666l-2.133334 2.346667-279.296 279.210667 279.274667 279.253333a42.666667 42.666667 0 0 1-58.005333 62.528l-2.346667-2.176-279.253333-279.253333-289.92 289.962666a42.666667 42.666667 0 0 1-62.506667-58.005333l2.154667-2.346667 289.941333-289.962666-289.92-289.92a42.666667 42.666667 0 0 1 57.984-62.506667z", fill: "#999999", "data-p-id": "4566" })] })));
|
|
1413
1413
|
IconClose.displayName = 'IconClose';
|
|
1414
1414
|
|
|
1415
1415
|
const classPrefix$f = getPrefixCls('icon');
|
|
1416
|
-
const IconPaypalText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1749543295731", viewBox: "0 0 3711 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "4652", id: "mx_n_1749543295732", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$f} ${classPrefix$f}-paypal-text`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M470.648858 1.406067c118.876545 0 230.083635 66.59643 215.256023 235.196604-18.534515 199.661465-122.455624 309.334665-285.815005 313.297217H258.971914c-22.241418 0-29.655224 15.722382-37.06903 54.964424l-26.076146 180.23218c-3.706903 27.354388-18.534515 39.114218-37.06903 39.114218H25.053551c-22.241418 0-29.655224-15.722382-22.241418-47.039321L110.440145 52.407939C114.274872 17.000624 129.102484 1.406067 151.343902 1.406067h319.304956zM251.558108 393.187367h107.628011c66.852078-3.834727 111.462739-50.874048 115.041818-137.155411 3.834727-54.8366-33.234303-93.950818-88.965673-93.950818h-100.342029l-33.362127 231.106229z m794.555486 376.186744c11.120709-11.75983 25.948321-15.722382 22.241418-3.962552l-3.706903 35.279491c-3.706903 19.557109 3.834727 27.354388 18.534515 27.354388h118.876545c18.534515 0 29.655224-7.669455 33.362127-39.114218l74.265884-474.100113c3.834727-23.51966-3.706903-35.279491-18.534515-35.27949H1161.155411c-11.120709 0-18.534515 7.925103-18.534515 23.51966l-3.706903 27.482212c-3.706903 15.594557-7.413806 19.557109-14.827612 3.834727-22.241418-54.8366-77.972787-78.35626-155.945575-78.35626-181.893896 3.962551-304.477344 148.915242-315.598052 329.147422-11.120709 140.990139 89.093496 254.625889 215.383847 254.62589 89.093496 3.962551 129.86943-23.51966 178.186993-70.431157zM945.899388 698.815129c-77.972787 0-133.704157-66.59643-122.583447-144.95269 11.120709-78.35626 85.386593-144.95269 163.35938-144.95269s133.704157 66.468606 122.583448 144.95269C1098.010236 632.218699 1023.872176 698.815129 945.899388 698.815129z m593.999251-419.263512h-118.876544c-25.948321 0-33.234303 19.684933-25.948321 43.076769l148.531768 450.580452-144.824865 215.511671c-11.120709 19.557109-3.706903 35.279491 14.955436 35.279491h133.576332c18.662339 0 29.783048-3.834727 40.903758-19.557109l449.302209-681.814505c14.827612-19.557109 7.413806-43.076769-14.955436-43.076769h-126.162527c-22.369242 0-29.783048 7.925103-44.61066 27.482211l-189.307702 285.942829-85.386593-285.942829c-3.834727-19.557109-14.827612-27.482212-37.06903-27.482211z", fill: "#113984", "p-id": "4653" }), jsxRuntimeExports.jsx("path", { d: "M2524.912246 1.406067c121.177381 0 234.685308 60.844339 219.602047 215.000374-18.917988 182.660841-124.884284 282.875047-291.439271 286.58195h-143.930096c-22.624891 0-30.166521 14.316315-37.835976 50.107103l-26.459618 164.765447c-3.834727 25.053551-18.917988 35.790788-37.835975 35.790788H2070.752715c-22.752715 0-30.294345-14.316315-22.752715-42.948945l113.635751-666.347772c3.834727-28.63263 15.083261-42.948945 41.542878-42.948945h321.733617z m-219.474223 358.163525h109.801023c68.130321-3.579079 113.507927-46.528024 117.342654-125.267757 3.834727-50.234927-34.129073-86.025715-90.883036-86.025715h-102.259393l-34.001248 211.293472z m806.187492 343.84721c11.376358-10.609412 26.459618-14.188491 22.752715-3.451255l-3.834727 32.211709c-3.834727 17.895394 3.834727 25.053551 18.917987 25.053552h121.177382c18.917988 0 30.294345-7.158158 34.001248-35.790788l75.799775-433.452004c3.834727-21.474473-3.834727-32.211709-18.917988-32.211708H3228.840345c-11.376358 0-18.917988 7.158158-18.917988 21.474472l-3.834727 25.053552c-3.834727 14.316315-7.54163 17.895394-15.083261 3.579078-22.752715-50.107103-79.506678-71.581575-159.013357-71.581575-185.34515 3.579079-310.357259 136.132817-321.733616 300.898265-11.376358 128.97466 90.883036 232.767944 219.602047 232.767944 90.755212 3.579079 136.260642-21.474473 181.638248-64.423418z m-98.424666-64.423418c-79.506678 0-136.260642-60.844339-124.884284-132.425914 11.376358-71.7094 87.048309-132.553739 166.554987-132.553739 79.506678 0 136.260642 60.844339 124.884284 132.553739-15.083261 71.581575-86.920484 132.425914-166.554987 132.425914z m552.712021 118.237424H3425.689677c-11.376358 0-18.917988-7.158158-18.917988-17.895394L3527.94907 22.880539c0-10.737236 11.248533-17.895394 22.624891-17.895394h140.095369c11.376358 0 18.917988 7.158158 15.08326 17.895394l-121.049557 716.454875c3.834727 10.737236-7.669455 17.895394-18.917987 17.895394z", fill: "#009DE2", "p-id": "4654" })] })));
|
|
1416
|
+
const IconPaypalText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1749543295731", viewBox: "0 0 3711 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "4652", id: "mx_n_1749543295732", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$f} ${classPrefix$f}-paypal-text`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M470.648858 1.406067c118.876545 0 230.083635 66.59643 215.256023 235.196604-18.534515 199.661465-122.455624 309.334665-285.815005 313.297217H258.971914c-22.241418 0-29.655224 15.722382-37.06903 54.964424l-26.076146 180.23218c-3.706903 27.354388-18.534515 39.114218-37.06903 39.114218H25.053551c-22.241418 0-29.655224-15.722382-22.241418-47.039321L110.440145 52.407939C114.274872 17.000624 129.102484 1.406067 151.343902 1.406067h319.304956zM251.558108 393.187367h107.628011c66.852078-3.834727 111.462739-50.874048 115.041818-137.155411 3.834727-54.8366-33.234303-93.950818-88.965673-93.950818h-100.342029l-33.362127 231.106229z m794.555486 376.186744c11.120709-11.75983 25.948321-15.722382 22.241418-3.962552l-3.706903 35.279491c-3.706903 19.557109 3.834727 27.354388 18.534515 27.354388h118.876545c18.534515 0 29.655224-7.669455 33.362127-39.114218l74.265884-474.100113c3.834727-23.51966-3.706903-35.279491-18.534515-35.27949H1161.155411c-11.120709 0-18.534515 7.925103-18.534515 23.51966l-3.706903 27.482212c-3.706903 15.594557-7.413806 19.557109-14.827612 3.834727-22.241418-54.8366-77.972787-78.35626-155.945575-78.35626-181.893896 3.962551-304.477344 148.915242-315.598052 329.147422-11.120709 140.990139 89.093496 254.625889 215.383847 254.62589 89.093496 3.962551 129.86943-23.51966 178.186993-70.431157zM945.899388 698.815129c-77.972787 0-133.704157-66.59643-122.583447-144.95269 11.120709-78.35626 85.386593-144.95269 163.35938-144.95269s133.704157 66.468606 122.583448 144.95269C1098.010236 632.218699 1023.872176 698.815129 945.899388 698.815129z m593.999251-419.263512h-118.876544c-25.948321 0-33.234303 19.684933-25.948321 43.076769l148.531768 450.580452-144.824865 215.511671c-11.120709 19.557109-3.706903 35.279491 14.955436 35.279491h133.576332c18.662339 0 29.783048-3.834727 40.903758-19.557109l449.302209-681.814505c14.827612-19.557109 7.413806-43.076769-14.955436-43.076769h-126.162527c-22.369242 0-29.783048 7.925103-44.61066 27.482211l-189.307702 285.942829-85.386593-285.942829c-3.834727-19.557109-14.827612-27.482212-37.06903-27.482211z", fill: "#113984", "data-p-id": "4653" }), jsxRuntimeExports.jsx("path", { d: "M2524.912246 1.406067c121.177381 0 234.685308 60.844339 219.602047 215.000374-18.917988 182.660841-124.884284 282.875047-291.439271 286.58195h-143.930096c-22.624891 0-30.166521 14.316315-37.835976 50.107103l-26.459618 164.765447c-3.834727 25.053551-18.917988 35.790788-37.835975 35.790788H2070.752715c-22.752715 0-30.294345-14.316315-22.752715-42.948945l113.635751-666.347772c3.834727-28.63263 15.083261-42.948945 41.542878-42.948945h321.733617z m-219.474223 358.163525h109.801023c68.130321-3.579079 113.507927-46.528024 117.342654-125.267757 3.834727-50.234927-34.129073-86.025715-90.883036-86.025715h-102.259393l-34.001248 211.293472z m806.187492 343.84721c11.376358-10.609412 26.459618-14.188491 22.752715-3.451255l-3.834727 32.211709c-3.834727 17.895394 3.834727 25.053551 18.917987 25.053552h121.177382c18.917988 0 30.294345-7.158158 34.001248-35.790788l75.799775-433.452004c3.834727-21.474473-3.834727-32.211709-18.917988-32.211708H3228.840345c-11.376358 0-18.917988 7.158158-18.917988 21.474472l-3.834727 25.053552c-3.834727 14.316315-7.54163 17.895394-15.083261 3.579078-22.752715-50.107103-79.506678-71.581575-159.013357-71.581575-185.34515 3.579079-310.357259 136.132817-321.733616 300.898265-11.376358 128.97466 90.883036 232.767944 219.602047 232.767944 90.755212 3.579079 136.260642-21.474473 181.638248-64.423418z m-98.424666-64.423418c-79.506678 0-136.260642-60.844339-124.884284-132.425914 11.376358-71.7094 87.048309-132.553739 166.554987-132.553739 79.506678 0 136.260642 60.844339 124.884284 132.553739-15.083261 71.581575-86.920484 132.425914-166.554987 132.425914z m552.712021 118.237424H3425.689677c-11.376358 0-18.917988-7.158158-18.917988-17.895394L3527.94907 22.880539c0-10.737236 11.248533-17.895394 22.624891-17.895394h140.095369c11.376358 0 18.917988 7.158158 15.08326 17.895394l-121.049557 716.454875c3.834727 10.737236-7.669455 17.895394-18.917987 17.895394z", fill: "#009DE2", "data-p-id": "4654" })] })));
|
|
1417
1417
|
IconPaypalText.displayName = 'IconPaypalText';
|
|
1418
1418
|
|
|
1419
1419
|
const classPrefix$e = getPrefixCls('icon');
|
|
1420
|
-
const IconPaypalWhite = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749564648720", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "10907", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$e} ${classPrefix$e}-paypal-white`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M856.192 361.728c20.992 37.547 23.723 85.93 12.8 141.952-31.573 162.39-139.776 218.453-277.93 218.453h-21.334a34.347 34.347 0 0 0-33.877 29.014l-1.707 9.386-26.88 170.368-1.365 7.254a34.304 34.304 0 0 1-33.878 28.97H329.387a20.608 20.608 0 0 1-20.352-23.808L316.5 896h64.768l40.534-256.853h59.093c199.595 0 330.667-93.995 375.296-277.419zM729.899 144.555c32.512 37.034 41.941 77.226 32.085 140.16-0.81 5.248-1.707 10.24-2.645 15.36-31.36 160.981-131.798 232.362-296.79 232.362h-80.384c-26.88 0-50.09 17.664-57.77 42.752l-0.598-0.085-39.68 251.477H133.163a2.176 2.176 0 0 1-2.134-2.56l110.848-704.426A40.533 40.533 0 0 1 281.9 85.333h254.976c93.141 0 158.549 20.011 192.981 59.222z", fill: "#ffffff", "p-id": "10908" }) })));
|
|
1420
|
+
const IconPaypalWhite = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749564648720", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "10907", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$e} ${classPrefix$e}-paypal-white`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M856.192 361.728c20.992 37.547 23.723 85.93 12.8 141.952-31.573 162.39-139.776 218.453-277.93 218.453h-21.334a34.347 34.347 0 0 0-33.877 29.014l-1.707 9.386-26.88 170.368-1.365 7.254a34.304 34.304 0 0 1-33.878 28.97H329.387a20.608 20.608 0 0 1-20.352-23.808L316.5 896h64.768l40.534-256.853h59.093c199.595 0 330.667-93.995 375.296-277.419zM729.899 144.555c32.512 37.034 41.941 77.226 32.085 140.16-0.81 5.248-1.707 10.24-2.645 15.36-31.36 160.981-131.798 232.362-296.79 232.362h-80.384c-26.88 0-50.09 17.664-57.77 42.752l-0.598-0.085-39.68 251.477H133.163a2.176 2.176 0 0 1-2.134-2.56l110.848-704.426A40.533 40.533 0 0 1 281.9 85.333h254.976c93.141 0 158.549 20.011 192.981 59.222z", fill: "#ffffff", "data-p-id": "10908" }) })));
|
|
1421
1421
|
IconPaypalWhite.displayName = 'IconPaypalWhite';
|
|
1422
1422
|
|
|
1423
1423
|
const classPrefix$d = getPrefixCls('icon');
|
|
1424
|
-
const IconStripe = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749699330712", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "12279", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$d} ${classPrefix$d}-stripe`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M128 0a128 128 0 0 0-128 128v768a128 128 0 0 0 128 128h768a128 128 0 0 0 128-128V128a128 128 0 0 0-128-128z m398.464 344.64c-37.376 0-59.968 10.496-59.968 37.952 0 29.952 38.848 43.136 87.04 59.52 78.592 26.56 182.016 61.632 182.464 191.552C736 759.552 635.136 832 488.32 832a490.784 490.784 0 0 1-195.744-41.312l3.168 1.248v-167.424c59.264 32.384 134.08 56.32 192.64 56.32 39.488 0 67.712-10.56 67.712-42.944 0-33.152-42.112-48.32-92.992-66.624C385.664 543.36 288 508.16 288 391.04 288 266.56 383.232 192 526.464 192l4.192-0.032c61.472 0 120.192 11.872 173.952 33.44l-3.136-1.12v165.312c-53.632-28.8-121.344-44.992-174.976-44.992z", "p-id": "12280", fill: "#5f59d7" }) })));
|
|
1424
|
+
const IconStripe = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749699330712", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "12279", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$d} ${classPrefix$d}-stripe`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M128 0a128 128 0 0 0-128 128v768a128 128 0 0 0 128 128h768a128 128 0 0 0 128-128V128a128 128 0 0 0-128-128z m398.464 344.64c-37.376 0-59.968 10.496-59.968 37.952 0 29.952 38.848 43.136 87.04 59.52 78.592 26.56 182.016 61.632 182.464 191.552C736 759.552 635.136 832 488.32 832a490.784 490.784 0 0 1-195.744-41.312l3.168 1.248v-167.424c59.264 32.384 134.08 56.32 192.64 56.32 39.488 0 67.712-10.56 67.712-42.944 0-33.152-42.112-48.32-92.992-66.624C385.664 543.36 288 508.16 288 391.04 288 266.56 383.232 192 526.464 192l4.192-0.032c61.472 0 120.192 11.872 173.952 33.44l-3.136-1.12v165.312c-53.632-28.8-121.344-44.992-174.976-44.992z", "data-p-id": "12280", fill: "#5f59d7" }) })));
|
|
1425
1425
|
IconStripe.displayName = 'IconStripe';
|
|
1426
1426
|
|
|
1427
1427
|
const classPrefix$c = getPrefixCls('icon');
|
|
1428
|
-
const IconStripeText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749718686078", viewBox: "0 0 2469 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "7307", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$c} ${classPrefix$c}-stripe-text`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M2165.028571 477.696c5.12-80.896 26.624-118.784 68.096-118.784s61.952 38.912 65.024 118.784H2165.028571z m303.616 48.128a340.918857 340.918857 0 0 0-58.514285-212.114286 207.945143 207.945143 0 0 0-173.056-76.8c-153.6 0-249.344 113.664-249.344 295.424a305.078857 305.078857 0 0 0 75.776 227.328 269.677714 269.677714 0 0 0 194.048 65.828572 365.714286 365.714286 0 0 0 194.048-48.128l-19.602286-124.050286a319.780571 319.780571 0 0 1-154.624 37.376 109.714286 109.714286 0 0 1-76.288-22.528 110.445714 110.445714 0 0 1-33.28-79.36h299.52c-0.512-9.216 1.024-50.176 1.024-62.976z m-723.236571 122.368a71.241143 71.241143 0 0 1-63.122286 41.984 107.812571 107.812571 0 0 1-48.64-10.752V409.6a96.694857 96.694857 0 0 1 68.096-35.328c46.08 0 68.096 49.664 68.096 146.285714a255.561143 255.561143 0 0 1-24.064 127.488z m150.016-349.696a158.72 158.72 0 0 0-133.12-61.952 189.366857 189.366857 0 0 0-141.312 67.584l-9.216-56.832h-159.232V1024l180.736-30.208V811.885714a278.601143 278.601143 0 0 0 81.408 13.312 213.138286 213.138286 0 0 0 161.792-67.072 354.377143 354.377143 0 0 0 73.728-244.224 350.500571 350.500571 0 0 0-54.784-215.552z m-695.296-51.2h181.248v566.784h-181.248z m91.136-55.808a95.085714 95.085714 0 0 0 95.085714-95.744 95.085714 95.085714 0 1 0-190.171428 0 95.085714 95.085714 0 0 0 95.085714 95.744z m-169.472 48.64a107.373714 107.373714 0 0 0-107.52 74.752l-10.752-67.072h-157.696v566.272h180.736V446.171429a117.028571 117.028571 0 0 1 98.304-37.888 190.610286 190.610286 0 0 1 32.256 2.048V244.224a152.868571 152.868571 0 0 0-35.328-4.096zM775.314286 381.44l21.942857-133.632H681.984V84.48l-155.355429 25.6-22.308571 137.216-54.784 8.704-19.968 124.928H504.685714V643.657143a175.542857 175.542857 0 0 0 53.248 144.896 206.701714 206.701714 0 0 0 133.12 35.328 335.213714 335.213714 0 0 0 95.085715-13.312v-141.897143a266.532571 266.532571 0 0 1-52.224 8.192c-35.328 0-50.688-17.92-50.688-59.392V381.44zM258.048 461.312C204.8 441.344 175.542857 425.984 175.542857 402.285714c0-19.968 16.896-32.256 46.592-32.256a373.028571 373.028571 0 0 1 149.065143 39.570286l21.942857-135.168a414.72 414.72 0 0 0-179.638857-38.912 227.766857 227.766857 0 0 0-148.48 46.08A163.254857 163.254857 0 0 0 7.314286 413.184C7.314286 512 67.584 554.496 166.4 590.336c63.488 22.528 84.48 38.912 84.48 63.488s-19.968 37.888-57.344 37.888A397.604571 397.604571 0 0 1 22.528 640L0 776.704a442.953143 442.953143 0 0 0 202.752 48.64 249.490286 249.490286 0 0 0 155.136-43.885714 168.667429 168.667429 0 0 0 61.952-140.434286c0-102.4-61.952-144.384-161.792-179.712z", fill: "#6772E5", "p-id": "7308" }) })));
|
|
1428
|
+
const IconStripeText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749718686078", viewBox: "0 0 2469 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "7307", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$c} ${classPrefix$c}-stripe-text`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M2165.028571 477.696c5.12-80.896 26.624-118.784 68.096-118.784s61.952 38.912 65.024 118.784H2165.028571z m303.616 48.128a340.918857 340.918857 0 0 0-58.514285-212.114286 207.945143 207.945143 0 0 0-173.056-76.8c-153.6 0-249.344 113.664-249.344 295.424a305.078857 305.078857 0 0 0 75.776 227.328 269.677714 269.677714 0 0 0 194.048 65.828572 365.714286 365.714286 0 0 0 194.048-48.128l-19.602286-124.050286a319.780571 319.780571 0 0 1-154.624 37.376 109.714286 109.714286 0 0 1-76.288-22.528 110.445714 110.445714 0 0 1-33.28-79.36h299.52c-0.512-9.216 1.024-50.176 1.024-62.976z m-723.236571 122.368a71.241143 71.241143 0 0 1-63.122286 41.984 107.812571 107.812571 0 0 1-48.64-10.752V409.6a96.694857 96.694857 0 0 1 68.096-35.328c46.08 0 68.096 49.664 68.096 146.285714a255.561143 255.561143 0 0 1-24.064 127.488z m150.016-349.696a158.72 158.72 0 0 0-133.12-61.952 189.366857 189.366857 0 0 0-141.312 67.584l-9.216-56.832h-159.232V1024l180.736-30.208V811.885714a278.601143 278.601143 0 0 0 81.408 13.312 213.138286 213.138286 0 0 0 161.792-67.072 354.377143 354.377143 0 0 0 73.728-244.224 350.500571 350.500571 0 0 0-54.784-215.552z m-695.296-51.2h181.248v566.784h-181.248z m91.136-55.808a95.085714 95.085714 0 0 0 95.085714-95.744 95.085714 95.085714 0 1 0-190.171428 0 95.085714 95.085714 0 0 0 95.085714 95.744z m-169.472 48.64a107.373714 107.373714 0 0 0-107.52 74.752l-10.752-67.072h-157.696v566.272h180.736V446.171429a117.028571 117.028571 0 0 1 98.304-37.888 190.610286 190.610286 0 0 1 32.256 2.048V244.224a152.868571 152.868571 0 0 0-35.328-4.096zM775.314286 381.44l21.942857-133.632H681.984V84.48l-155.355429 25.6-22.308571 137.216-54.784 8.704-19.968 124.928H504.685714V643.657143a175.542857 175.542857 0 0 0 53.248 144.896 206.701714 206.701714 0 0 0 133.12 35.328 335.213714 335.213714 0 0 0 95.085715-13.312v-141.897143a266.532571 266.532571 0 0 1-52.224 8.192c-35.328 0-50.688-17.92-50.688-59.392V381.44zM258.048 461.312C204.8 441.344 175.542857 425.984 175.542857 402.285714c0-19.968 16.896-32.256 46.592-32.256a373.028571 373.028571 0 0 1 149.065143 39.570286l21.942857-135.168a414.72 414.72 0 0 0-179.638857-38.912 227.766857 227.766857 0 0 0-148.48 46.08A163.254857 163.254857 0 0 0 7.314286 413.184C7.314286 512 67.584 554.496 166.4 590.336c63.488 22.528 84.48 38.912 84.48 63.488s-19.968 37.888-57.344 37.888A397.604571 397.604571 0 0 1 22.528 640L0 776.704a442.953143 442.953143 0 0 0 202.752 48.64 249.490286 249.490286 0 0 0 155.136-43.885714 168.667429 168.667429 0 0 0 61.952-140.434286c0-102.4-61.952-144.384-161.792-179.712z", fill: "#6772E5", "data-p-id": "7308" }) })));
|
|
1429
1429
|
IconStripeText.displayName = 'IconStripeText';
|
|
1430
1430
|
|
|
1431
1431
|
const classPrefix$b = getPrefixCls('icon');
|
|
1432
|
-
const IconAlipay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750766022943", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "7113", stroke: "currentColor", className: `${classPrefix$b} ${classPrefix$b}-alipay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M1024.0512 701.0304V196.864A196.9664 196.9664 0 0 0 827.136 0H196.864A196.9664 196.9664 0 0 0 0 196.864v630.272A196.9152 196.9152 0 0 0 196.864 1024h630.272a197.12 197.12 0 0 0 193.8432-162.0992c-52.224-22.6304-278.528-120.32-396.4416-176.64-89.7024 108.6976-183.7056 173.9264-325.3248 173.9264s-236.1856-87.2448-224.8192-194.048c7.4752-70.0416 55.552-184.576 264.2944-164.9664 110.08 10.3424 160.4096 30.8736 250.1632 60.5184 23.1936-42.5984 42.496-89.4464 57.1392-139.264H248.064v-39.424h196.9152V311.1424H204.8V267.776h240.128V165.632s2.1504-15.9744 19.8144-15.9744h98.4576V267.776h256v43.4176h-256V381.952h208.8448a805.9904 805.9904 0 0 1-84.8384 212.6848c60.672 22.016 336.7936 106.3936 336.7936 106.3936zM283.5456 791.6032c-149.6576 0-173.312-94.464-165.376-133.9392 7.8336-39.3216 51.2-90.624 134.4-90.624 95.5904 0 181.248 24.4736 284.0576 74.5472-72.192 94.0032-160.9216 150.016-253.0816 150.016z", fill: "#009FE8", "p-id": "7114" }) })));
|
|
1432
|
+
const IconAlipay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750766022943", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "7113", stroke: "currentColor", className: `${classPrefix$b} ${classPrefix$b}-alipay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M1024.0512 701.0304V196.864A196.9664 196.9664 0 0 0 827.136 0H196.864A196.9664 196.9664 0 0 0 0 196.864v630.272A196.9152 196.9152 0 0 0 196.864 1024h630.272a197.12 197.12 0 0 0 193.8432-162.0992c-52.224-22.6304-278.528-120.32-396.4416-176.64-89.7024 108.6976-183.7056 173.9264-325.3248 173.9264s-236.1856-87.2448-224.8192-194.048c7.4752-70.0416 55.552-184.576 264.2944-164.9664 110.08 10.3424 160.4096 30.8736 250.1632 60.5184 23.1936-42.5984 42.496-89.4464 57.1392-139.264H248.064v-39.424h196.9152V311.1424H204.8V267.776h240.128V165.632s2.1504-15.9744 19.8144-15.9744h98.4576V267.776h256v43.4176h-256V381.952h208.8448a805.9904 805.9904 0 0 1-84.8384 212.6848c60.672 22.016 336.7936 106.3936 336.7936 106.3936zM283.5456 791.6032c-149.6576 0-173.312-94.464-165.376-133.9392 7.8336-39.3216 51.2-90.624 134.4-90.624 95.5904 0 181.248 24.4736 284.0576 74.5472-72.192 94.0032-160.9216 150.016-253.0816 150.016z", fill: "#009FE8", "data-p-id": "7114" }) })));
|
|
1433
1433
|
IconAlipay.displayName = 'IconAlipay';
|
|
1434
1434
|
|
|
1435
1435
|
const classPrefix$a = getPrefixCls('icon');
|
|
1436
|
-
const IconWechatPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750765734858", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "6038", stroke: "currentColor", className: `${classPrefix$a} ${classPrefix$a}-wechat-pay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M964.16 294.4c-3.328-5.568-5.888-5.76-11.168-2.528-17.44 10.56-35.168 20.64-52.864 30.752-45.024 25.76-90.144 51.424-135.2 77.184-53.344 30.464-106.688 60.896-159.936 91.488-75.328 43.264-150.56 86.656-225.856 129.984-21.056 12.096-41.184 5.6-51.232-16.48-8.448-18.432-16.992-36.832-25.44-55.264-21.92-48.032-43.84-96.064-65.696-144.128-4.032-8.864-2.528-15.264 4.16-20.8 6.304-5.28 13.824-5.248 21.568 0.256 35.136 24.864 70.08 49.92 105.376 74.56 15.84 11.072 33.12 12.64 51.008 4.8 45.824-20.16 91.648-40.224 137.376-60.48 64.928-28.8 129.728-57.76 194.624-86.528a30516.544 30516.544 0 0 1 165.056-72.8c7.136-3.104 7.616-5.44 2.56-11.104-40.96-45.664-89.376-81.248-144.32-108.864a568.64 568.64 0 0 0-159.488-52.064c-33.728-5.856-67.84-9.536-99.712-7.68-45.92-1.28-88.576 3.968-130.976 13.088a560.096 560.096 0 0 0-98.976 30.784c-85.76 35.904-157.696 89.216-211.008 165.76C30.816 336.32 8.352 405.12 7.776 480.48a340.96 340.96 0 0 0 15.264 102.656c20.16 66.24 56.832 122.016 106.176 170.24 16.832 16.416 35.136 31.072 53.792 45.28 11.584 8.8 15.552 20.704 12.224 34.048-6.752 27.136-14.72 54.016-22.144 80.992l-3.648 13.696a15.776 15.776 0 0 0 6.304 17.792c6.496 4.544 13.76 3.424 20.576-0.48 36.352-20.8 72.704-41.6 109.12-62.272 10.624-6.048 21.888-10.528 34.432-8.032 9.312 1.824 18.496 4.416 27.68 6.912 39.36 10.656 79.616 15.808 120.288 17.216 41.248 1.408 82.304-0.64 123.2-7.424 34.112-5.632 67.584-13.504 99.872-25.216 58.976-21.344 113.568-50.72 161.6-91.424 66.944-56.64 113.856-125.6 134.88-211.104a349.12 349.12 0 0 0 5.184-139.2c-7.36-46.304-24.224-89.44-48.416-129.792", fill: "#0DC803", "p-id": "6039" }) })));
|
|
1436
|
+
const IconWechatPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750765734858", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "6038", stroke: "currentColor", className: `${classPrefix$a} ${classPrefix$a}-wechat-pay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M964.16 294.4c-3.328-5.568-5.888-5.76-11.168-2.528-17.44 10.56-35.168 20.64-52.864 30.752-45.024 25.76-90.144 51.424-135.2 77.184-53.344 30.464-106.688 60.896-159.936 91.488-75.328 43.264-150.56 86.656-225.856 129.984-21.056 12.096-41.184 5.6-51.232-16.48-8.448-18.432-16.992-36.832-25.44-55.264-21.92-48.032-43.84-96.064-65.696-144.128-4.032-8.864-2.528-15.264 4.16-20.8 6.304-5.28 13.824-5.248 21.568 0.256 35.136 24.864 70.08 49.92 105.376 74.56 15.84 11.072 33.12 12.64 51.008 4.8 45.824-20.16 91.648-40.224 137.376-60.48 64.928-28.8 129.728-57.76 194.624-86.528a30516.544 30516.544 0 0 1 165.056-72.8c7.136-3.104 7.616-5.44 2.56-11.104-40.96-45.664-89.376-81.248-144.32-108.864a568.64 568.64 0 0 0-159.488-52.064c-33.728-5.856-67.84-9.536-99.712-7.68-45.92-1.28-88.576 3.968-130.976 13.088a560.096 560.096 0 0 0-98.976 30.784c-85.76 35.904-157.696 89.216-211.008 165.76C30.816 336.32 8.352 405.12 7.776 480.48a340.96 340.96 0 0 0 15.264 102.656c20.16 66.24 56.832 122.016 106.176 170.24 16.832 16.416 35.136 31.072 53.792 45.28 11.584 8.8 15.552 20.704 12.224 34.048-6.752 27.136-14.72 54.016-22.144 80.992l-3.648 13.696a15.776 15.776 0 0 0 6.304 17.792c6.496 4.544 13.76 3.424 20.576-0.48 36.352-20.8 72.704-41.6 109.12-62.272 10.624-6.048 21.888-10.528 34.432-8.032 9.312 1.824 18.496 4.416 27.68 6.912 39.36 10.656 79.616 15.808 120.288 17.216 41.248 1.408 82.304-0.64 123.2-7.424 34.112-5.632 67.584-13.504 99.872-25.216 58.976-21.344 113.568-50.72 161.6-91.424 66.944-56.64 113.856-125.6 134.88-211.104a349.12 349.12 0 0 0 5.184-139.2c-7.36-46.304-24.224-89.44-48.416-129.792", fill: "#0DC803", "data-p-id": "6039" }) })));
|
|
1437
1437
|
IconWechatPay.displayName = 'IconWechatPay';
|
|
1438
1438
|
|
|
1439
1439
|
const classPrefix$9 = getPrefixCls('icon');
|
|
1440
|
-
const IconPayssionPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750766211404", viewBox: "0 0 2257 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "11906", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$9} ${classPrefix$9}-payssion-pay`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M472.722384 655.612215c25.925985 14.677522 51.565019 29.90025 77.835345 43.932134 74.707583 39.900478 152.973354 70.532452 236.375539 86.659075 91.178547 17.618766 181.410156 16.054885 269.590069-16.456616 70.948531-26.141198 130.648599-68.868139 181.582327-124.249601 12.769301-13.874061 24.390799-28.809838 36.758369-43.042587 1.922569-2.209519 5.279891-4.447734 7.991574-4.476429 36.801412-0.301298 73.617171-0.215213 110.475973-0.200865a36.184468 36.184468 0 0 1 3.88818 0.559554c-2.008654 2.639945-3.414712 4.691642-5.007288 6.55682-53.258027 62.454794-117.075836 111.4803-189.889545 149.013436a578.53541 578.53541 0 0 1-152.959007 53.35846 588.248687 588.248687 0 0 1-150.419493 9.885448c-101.867456-6.083352-197.135048-36.05534-288.385332-80.460943-45.180369-21.980414-88.237303-47.562058-130.246868-75.023229-2.769073-1.807789-5.409018-3.802095-8.120701-5.739011z", fill: "#0D3676", "p-id": "11907" }), jsxRuntimeExports.jsx("path", { d: "M392.476655 219.131689c10.459349-11.865406 19.770895-23.257344 29.943293-33.831473 71.407652-74.219767 155.469824-128.410384 253.951262-159.659302 61.149168-19.412207 123.876565-27.260305 187.952629-25.366431 88.538601 2.66864 172.643816 24.491232 253.951263 58.595308a1026.422222 1026.422222 0 0 1 140.921429 73.229788 10.660214 10.660214 0 0 1 4.490777 4.591209c-8.852425-4.921202-17.661808-9.899795-26.557276-14.74926-66.299931-36.170121-135.426326-65.295604-208.928717-83.459576-44.922113-11.09064-90.475518-17.661808-136.731951-17.733546-121.624003-0.186518-226.576177 42.109997-314.067409 126.387383-22.12389 21.306081-41.320883 45.653837-61.966977 68.466408-1.865179 2.051697-4.949897 4.304259-7.48941 4.304259-37.04532 0.286951-74.104987 0.200865-111.164655 0.186518a30.861535 30.861535 0 0 1-4.304258-0.961285z", fill: "#B01D3A", "p-id": "11908" }), jsxRuntimeExports.jsx("path", { d: "M1397.506711 287.770268c28.967661 0.516511 55.481894 7.475063 77.792302 26.700751 20.531314 17.690503 30.488499 40.70394 31.865861 67.433386 3.959918 76.630152-51.651104 148.023456-134.235481 160.319289-28.350717 4.218174-56.285356 2.309952-82.383511-11.3202-38.293555-19.986108-55.381462-54.69278-52.110225-95.841494 5.853792-73.373263 55.654065-128.8982 127.836483-143.676155 10.229788-2.166477 20.818265-2.482123 31.234571-3.615577z m65.998633 89.571623c-0.846504-6.355955-1.434753-15.667502-3.400365-24.706445-6.054657-28.695058-22.539968-45.840355-50.216351-49.771578-36.098383-5.150763-67.433386 6.528126-89.729446 34.950581-31.851514 40.632202-42.540423 88.222956-35.022318 138.955818 5.394671 36.327943 34.77841 56.945342 71.106353 53.444545 29.025051-2.869506 51.952402-16.585743 70.302892-38.480073 27.102482-32.22455 34.649282-70.962878 36.973582-114.407195z", fill: "#B21B3A", "p-id": "11909" }), jsxRuntimeExports.jsx("path", { d: "M1523.994526 293.308414c14.534047 0 29.068094-0.11478 43.60214 0 8.522432 0.100433 18.393532-1.893874 25.151219 1.721703s9.957185 12.912776 14.648827 19.885676q51.507629 75.912776 102.972215 151.839899c0.774767 1.147802 1.678661 2.209519 3.672967 4.820769 2.051697-9.899795 3.902528-18.307447 5.538147-26.772489q11.277158-58.337053 22.453882-116.688453c2.869506-15.122296-3.213846-24.103849-18.264404-26.585971-4.691642-0.774767-9.426327-1.262583-16.686176-2.223867 2.61125-2.697335 4.218174-5.739012 5.853792-5.810749 30.301981-0.286951 60.61831-0.215213 90.762468-0.215213 1.434753 4.87816 0.258256 6.456388-4.304259 7.001594a136.617171 136.617171 0 0 0-23.056479 4.519472c-8.967206 2.682988-14.146664 9.455022-15.925757 18.651787q-9.69893 49.857663-19.297426 99.744022c-7.747666 40.029606-15.538374 80.044864-23.22865 119.744476-5.423366 2.539513-7.403325-1.004327-9.584149-4.189478q-31.033705-45.194716-62.096106-90.389433-34.921885-50.790253-69.901161-101.537462c-1.16215-1.693008-2.582555-3.213846-4.964245-6.126395-2.869506 13.974493-5.437713 26.413801-7.819403 38.910499q-11.764974 61.522204-23.372125 123.073103c-3.199499 16.915737 2.582555 25.179913 19.613072 28.121157 3.271237 0.559554 6.700296 0.329993 9.957186 0.932589 1.27693 0.22956 3.400364 2.094739 3.242541 2.625598a9.440674 9.440674 0 0 1-3.027328 3.988613c-0.573901 0.487816-1.850831 0.215213-2.869506 0.215213h-85.339103a34.204509 34.204509 0 0 1-3.629924-0.387383c-1.750399-4.964245 0.301298-6.284218 4.835117-6.772034a128.295604 128.295604 0 0 0 21.047825-3.558187c9.741972-2.740378 15.638807-9.569802 17.575723-19.699157q17.36051-90.676383 34.764063-181.352766c1.822136-9.555454-8.76634-22.956046-19.62742-25.151219-3.041676-0.602596-6.298565-0.516511-9.153724-1.578228-1.936916-0.717376-3.328627-2.869506-4.964245-4.390344z", fill: "#B21B3A", "p-id": "11910" }), jsxRuntimeExports.jsx("path", { d: "M48.867684 299.750454c-1.147802-4.720337 0.186518-6.585516 4.835117-6.513778 41.607834 0.573901 83.215668 0.22956 124.723069 1.936917 13.486677 0.559554 27.260305 4.921202 39.986563 10.04327 29.254612 11.894102 37.777044 32.999317 28.135505 63.129127-9.741972 30.388066-32.39672 45.998178-61.005694 55.39581-27.389433 8.981553-55.496242 8.335914-83.717831 6.485083-1.176497-0.071738-2.338647-0.200865-4.404691-0.387383-2.510818 12.654521-5.035983 25.208608-7.503758 37.762696-2.338647 11.937144-4.576862 23.902983-6.944204 35.868822-3.242542 16.413573 4.304259 26.499886 20.96174 27.877249 1.434753 0.11478 3.041676-0.329993 4.304258 0.215213a23.501252 23.501252 0 0 1 4.390344 3.256889c-1.563881 1.291278-3.099066 2.625598-4.720337 3.859485-0.301298 0.22956-0.932589 0-1.434753 0H3.902528a31.99499 31.99499 0 0 1-3.60123-0.416078c-1.133455-4.99294 1.119107-6.499431 5.538146-6.786381a76.658847 76.658847 0 0 0 14.132316-1.979959c11.3202-2.869506 18.651788-9.727625 20.890002-21.793897 11.478023-60.460487 23.372125-120.863584 34.979276-181.309723 2.726031-14.189706-3.816443-22.956046-18.135277-25.136871-2.826463-0.444773-5.624231-1.004327-8.838077-1.506491z m50.661124 118.324072c17.331815-1.090412 33.157139-0.688681 48.465953-3.328627 29.326349-5.064678 49.283762-21.521293 56.199271-51.737189 6.083352-26.585971-3.88818-45.094284-30.388066-51.464587-13.70189-3.299932-28.27898-3.156456-42.483033-4.046003-6.054657-0.373036-10.430654 2.711683-11.764974 9.211114-2.49647 12.123662-5.265543 24.175586-7.647233 36.313596-4.074698 20.775222-7.934184 41.593486-12.381918 65.066043z", fill: "#0E3578", "p-id": "11911" }), jsxRuntimeExports.jsx("path", { d: "M910.623315 290.108915l-5.810749 74.707583c-8.608517 3.084719-9.75632 2.367342-11.234115-5.739011-4.691642-25.696424-16.671829-45.768617-43.300842-53.602368-16.284445-4.792075-32.28194-3.228194-47.0312 5.466408-22.46823 13.242769-25.653382 40.273514-6.485083 58.035755 8.178092 7.575495 17.604418 13.888408 26.915964 20.08654 12.31018 8.235482 25.007743 15.882715 37.619221 23.673423 44.47734 27.46117 39.297882 72.010248 10.258483 100.432703-30.875882 30.258939-68.466408 36.614894-109.572079 25.667729-7.60419-2.023002-15.165338-4.304259-22.841266-6.069005-9.211114-2.123434-14.031883 0.286951-19.584377 7.848099-1.520838 2.066044-4.906855 2.740378-8.077659 4.390343 0-13.773628-0.17217-25.639034 0-37.490093 0.22956-12.181052 0.832157-24.390799 1.305626-36.543156 0.272603-7.274197 0.746072-7.60419 7.991573-6.341608 3.988613 10.115008 7.030289 20.244363 11.793669 29.484172 18.881348 36.586199 68.681621 47.590754 98.538829 22.166933 16.054885-13.673195 23.214302-36.858802 15.050558-53.372808a48.953769 48.953769 0 0 0-15.079253-17.618766c-16.169665-11.478023-33.27192-21.521293-49.900706-32.296287-4.806422-3.113414-9.254156-6.757686-13.888408-10.143703-26.930312-19.727852-25.710772-48.523343-14.232749-70.302892 14.003188-26.557276 37.518788-39.972216 66.744705-43.587793 16.614439-2.066044 32.870189 0.502164 48.580733 6.370303 3.802095 1.434753 7.690276 2.596903 11.592804 3.701662 9.282851 2.625598 13.328854 1.004327 19.555681-6.054657 2.195172-2.49647 5.896834-3.65862 8.909816-5.423366zM921.62787 545.351455l2.869506-80.245729c6.556821-2.424732 8.924163-0.444773 10.301526 5.308585 6.757686 28.106809 21.822592 49.240719 51.062855 57.203598 33.515828 9.125028 64.693008-7.087679 73.071965-37.604873 4.892507-17.790936 0.616944-32.081075-14.347529-43.042587-11.721931-8.608517-24.304714-16.02619-36.471418-24.003416-8.981553-5.882487-18.077886-11.621498-26.88727-17.776588-30.287634-21.176953-28.996356-50.991118-15.882714-74.506718 14.347529-25.653382 37.690959-38.55181 66.414711-41.780004a97.936233 97.936233 0 0 1 45.797313 5.825096c4.462082 1.678661 9.168071 2.697335 13.6445 4.304259 8.120701 2.869506 14.347529 0.703029 19.397859-6.183785 3.500797-4.806422 3.672967-4.691642 10.947165-3.142109-0.674334 10.502391-1.291278 21.148258-2.051697 31.794124-0.860852 12.152357-1.865179 24.290367-2.769073 36.442724-0.645639 8.70895-0.961284 8.981553-9.512412 7.876793-3.199499-9.914143-5.409018-20.014803-9.598497-29.211569-15.194033-33.32931-60.460487-44.64951-87.936005-22.453882-17.102255 13.81667-19.110909 35.137098-4.820769 51.765884 11.779321 13.716238 27.905944 21.521293 42.698246 31.076748 11.478023 7.403325 23.199954 14.347529 33.946253 22.6404 30.388066 23.415167 29.082441 56.758825 10.373264 82.57003-23.702118 32.698018-57.648371 44.47734-96.845821 40.632202-14.347529-1.434753-28.379412-6.0977-42.497381-9.555455-9.225461-2.252562-16.915737-1.535186-22.109542 7.876794-0.903894 1.936916-4.591209 2.338647-8.795035 4.189478z", fill: "#B21B3A", "p-id": "11912" }), jsxRuntimeExports.jsx("path", { d: "M457.800954 533.772999c-1.606923 1.635618-3.199499 4.677294-4.835117 4.691642-32.698018 0.272603-65.410385 0.215213-98.122751 0.215213-1.649966-5.179458 0-7.173764 4.749032-7.288544a79.284445 79.284445 0 0 0 12.783649-1.434753c10.358916-2.051697 14.491004-7.173764 13.257116-17.633113a187.507856 187.507856 0 0 0-4.734684-22.353451c-2.166477-8.795035-4.76338-17.489638-6.915509-26.29902-0.946937-3.845138-2.740378-5.495104-6.886814-5.480756-32.023685 0.129128-64.061717 0-96.128444 0.200865a8.608517 8.608517 0 0 0-6.26987 3.299932c-8.522432 13.257117-16.700524 26.743794-24.950353 40.173081-0.989979 1.621271-1.678661 3.429059-2.625598 5.079025-7.776361 13.70189-0.602596 23.113869 14.347529 24.247324 4.634252 0.344341 7.66158 0.932589 5.265543 6.972899h-78.696196c-0.903894-4.218174-0.473468-6.413345 4.691642-7.173764a35.754042 35.754042 0 0 0 24.67775-14.591437c20.344796-28.881576 40.675245-57.791847 60.259621-87.218629 29.971988-45.180369 59.212252-90.834206 88.95468-136.143702a10.416306 10.416306 0 0 1 7.747665-4.175131c1.779094 0.071738 4.304259 3.7734 4.964245 6.26987q28.264632 98.99795 56.242314 198.16807c1.893874 6.642906 4.390344 13.113641 6.685948 19.62742 3.959918 11.3202 10.717604 19.196994 24.3908 18.508312z m-115.411523-192.429058l-65.424732 101.867456h92.928945zM598.650646 452.809893c-2.309952 17.948759-6.657253 35.624914-10.043271 53.430198-2.066044 10.889774 2.783421 19.641767 13.457983 22.626053 7.030289 1.965611 14.447962 2.510818 24.075153 4.074699-2.869506 2.510818-4.562514 5.480756-6.341608 5.480756-38.967889 0.22956-77.935777 0.143475-116.918013 0.071737-0.416078 0-0.817809-0.401731-1.305625-0.659986-1.018675-4.662947 1.076065-5.939877 5.609884-6.542473a153.69073 153.69073 0 0 0 25.725119-5.122068c8.350262-2.61125 12.912776-9.426327 14.519699-18.077887 4.720337-24.84992 9.569802-49.671145 14.146664-74.60715a12.152357 12.152357 0 0 0-1.291278-7.417673c-17.920064-32.999317-35.868822-65.883853-54.118879-98.624914-10.703257-19.168299-15.194033-22.310408-37.131405-30.12981 1.908221-1.434753 3.802095-3.94557 5.739012-3.959918 35.381006-0.200865 70.762013-0.11478 106.171714 0a6.32726 6.32726 0 0 1 1.578228 0.487816c0.602596 4.777727-1.33432 6.786381-6.312913 6.470735a46.815987 46.815987 0 0 0-7.819403 0.875199c-17.53268 1.893874-21.105215 8.221134-13.75928 25.366432 6.556821 15.323161 15.208381 29.742428 22.956046 44.477339 6.685948 12.654521 13.501025 25.237303 20.646094 38.594853 1.865179-1.779094 3.429059-3.084719 4.76338-4.576861 22.037804-24.448189 44.132999-48.968116 65.78342-73.846732 4.76338-5.466409 8.235482-12.1954 11.607151-18.651788 2.410385-4.677294 0.459121-8.608517-4.863812-9.713277-6.241175-1.434753-12.582783-2.26691-19.268732-3.429059l0.559554-5.739012h88.02209l1.291278 1.549533c-2.037349 1.979959-3.83079 5.322933-6.140743 5.739012-16.413573 2.740378-29.441129 11.664541-40.445684 23.070826-26.715099 27.647688-52.181963 56.514917-79.241402 83.818265", fill: "#0D3676", "p-id": "11913" }), jsxRuntimeExports.jsx("path", { d: "M1146.79799 298.000056c1.563881-1.549533 3.127761-4.462082 4.705989-4.476429 38.451378-0.258256 76.917103-0.200865 115.454566-0.200865 1.736051 5.16511-0.071738 6.427693-4.720337 7.073331a138.927123 138.927123 0 0 0-24.3908 5.093373c-8.53678 2.797768-13.257117 9.512412-15.007515 18.52266-11.678889 60.431792-23.544295 120.820541-35.208836 181.252333-2.869506 14.677522 5.739012 24.204281 22.956046 25.983375a70.518105 70.518105 0 0 1 7.848099 0.530859c1.205192 0.258256 3.084719 2.152129 2.869505 2.869506a7.919836 7.919836 0 0 1-3.027328 3.744705c-0.602596 0.487816-1.850831 0.186518-2.869506 0.186518h-109.04122a38.738328 38.738328 0 0 1-4.304259-0.459121c-1.807789-5.294238 0.946937-6.083352 5.150763-6.714644 8.192439-1.233887 16.542701-2.338647 24.390799-4.949897 8.120701-2.726031 12.826691-9.067638 14.548395-17.977454 11.822364-60.446139 23.773855-120.806194 35.567524-181.237986 2.697335-13.874061-3.959918-23.142564-18.135277-25.610339-4.921202-0.860852-9.92849-1.233887-14.892735-1.822136z", fill: "#B21B3A", "p-id": "11914" })] })));
|
|
1440
|
+
const IconPayssionPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750766211404", viewBox: "0 0 2257 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "11906", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$9} ${classPrefix$9}-payssion-pay`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M472.722384 655.612215c25.925985 14.677522 51.565019 29.90025 77.835345 43.932134 74.707583 39.900478 152.973354 70.532452 236.375539 86.659075 91.178547 17.618766 181.410156 16.054885 269.590069-16.456616 70.948531-26.141198 130.648599-68.868139 181.582327-124.249601 12.769301-13.874061 24.390799-28.809838 36.758369-43.042587 1.922569-2.209519 5.279891-4.447734 7.991574-4.476429 36.801412-0.301298 73.617171-0.215213 110.475973-0.200865a36.184468 36.184468 0 0 1 3.88818 0.559554c-2.008654 2.639945-3.414712 4.691642-5.007288 6.55682-53.258027 62.454794-117.075836 111.4803-189.889545 149.013436a578.53541 578.53541 0 0 1-152.959007 53.35846 588.248687 588.248687 0 0 1-150.419493 9.885448c-101.867456-6.083352-197.135048-36.05534-288.385332-80.460943-45.180369-21.980414-88.237303-47.562058-130.246868-75.023229-2.769073-1.807789-5.409018-3.802095-8.120701-5.739011z", fill: "#0D3676", "data-p-id": "11907" }), jsxRuntimeExports.jsx("path", { d: "M392.476655 219.131689c10.459349-11.865406 19.770895-23.257344 29.943293-33.831473 71.407652-74.219767 155.469824-128.410384 253.951262-159.659302 61.149168-19.412207 123.876565-27.260305 187.952629-25.366431 88.538601 2.66864 172.643816 24.491232 253.951263 58.595308a1026.422222 1026.422222 0 0 1 140.921429 73.229788 10.660214 10.660214 0 0 1 4.490777 4.591209c-8.852425-4.921202-17.661808-9.899795-26.557276-14.74926-66.299931-36.170121-135.426326-65.295604-208.928717-83.459576-44.922113-11.09064-90.475518-17.661808-136.731951-17.733546-121.624003-0.186518-226.576177 42.109997-314.067409 126.387383-22.12389 21.306081-41.320883 45.653837-61.966977 68.466408-1.865179 2.051697-4.949897 4.304259-7.48941 4.304259-37.04532 0.286951-74.104987 0.200865-111.164655 0.186518a30.861535 30.861535 0 0 1-4.304258-0.961285z", fill: "#B01D3A", "data-p-id": "11908" }), jsxRuntimeExports.jsx("path", { d: "M1397.506711 287.770268c28.967661 0.516511 55.481894 7.475063 77.792302 26.700751 20.531314 17.690503 30.488499 40.70394 31.865861 67.433386 3.959918 76.630152-51.651104 148.023456-134.235481 160.319289-28.350717 4.218174-56.285356 2.309952-82.383511-11.3202-38.293555-19.986108-55.381462-54.69278-52.110225-95.841494 5.853792-73.373263 55.654065-128.8982 127.836483-143.676155 10.229788-2.166477 20.818265-2.482123 31.234571-3.615577z m65.998633 89.571623c-0.846504-6.355955-1.434753-15.667502-3.400365-24.706445-6.054657-28.695058-22.539968-45.840355-50.216351-49.771578-36.098383-5.150763-67.433386 6.528126-89.729446 34.950581-31.851514 40.632202-42.540423 88.222956-35.022318 138.955818 5.394671 36.327943 34.77841 56.945342 71.106353 53.444545 29.025051-2.869506 51.952402-16.585743 70.302892-38.480073 27.102482-32.22455 34.649282-70.962878 36.973582-114.407195z", fill: "#B21B3A", "data-p-id": "11909" }), jsxRuntimeExports.jsx("path", { d: "M1523.994526 293.308414c14.534047 0 29.068094-0.11478 43.60214 0 8.522432 0.100433 18.393532-1.893874 25.151219 1.721703s9.957185 12.912776 14.648827 19.885676q51.507629 75.912776 102.972215 151.839899c0.774767 1.147802 1.678661 2.209519 3.672967 4.820769 2.051697-9.899795 3.902528-18.307447 5.538147-26.772489q11.277158-58.337053 22.453882-116.688453c2.869506-15.122296-3.213846-24.103849-18.264404-26.585971-4.691642-0.774767-9.426327-1.262583-16.686176-2.223867 2.61125-2.697335 4.218174-5.739012 5.853792-5.810749 30.301981-0.286951 60.61831-0.215213 90.762468-0.215213 1.434753 4.87816 0.258256 6.456388-4.304259 7.001594a136.617171 136.617171 0 0 0-23.056479 4.519472c-8.967206 2.682988-14.146664 9.455022-15.925757 18.651787q-9.69893 49.857663-19.297426 99.744022c-7.747666 40.029606-15.538374 80.044864-23.22865 119.744476-5.423366 2.539513-7.403325-1.004327-9.584149-4.189478q-31.033705-45.194716-62.096106-90.389433-34.921885-50.790253-69.901161-101.537462c-1.16215-1.693008-2.582555-3.213846-4.964245-6.126395-2.869506 13.974493-5.437713 26.413801-7.819403 38.910499q-11.764974 61.522204-23.372125 123.073103c-3.199499 16.915737 2.582555 25.179913 19.613072 28.121157 3.271237 0.559554 6.700296 0.329993 9.957186 0.932589 1.27693 0.22956 3.400364 2.094739 3.242541 2.625598a9.440674 9.440674 0 0 1-3.027328 3.988613c-0.573901 0.487816-1.850831 0.215213-2.869506 0.215213h-85.339103a34.204509 34.204509 0 0 1-3.629924-0.387383c-1.750399-4.964245 0.301298-6.284218 4.835117-6.772034a128.295604 128.295604 0 0 0 21.047825-3.558187c9.741972-2.740378 15.638807-9.569802 17.575723-19.699157q17.36051-90.676383 34.764063-181.352766c1.822136-9.555454-8.76634-22.956046-19.62742-25.151219-3.041676-0.602596-6.298565-0.516511-9.153724-1.578228-1.936916-0.717376-3.328627-2.869506-4.964245-4.390344z", fill: "#B21B3A", "data-p-id": "11910" }), jsxRuntimeExports.jsx("path", { d: "M48.867684 299.750454c-1.147802-4.720337 0.186518-6.585516 4.835117-6.513778 41.607834 0.573901 83.215668 0.22956 124.723069 1.936917 13.486677 0.559554 27.260305 4.921202 39.986563 10.04327 29.254612 11.894102 37.777044 32.999317 28.135505 63.129127-9.741972 30.388066-32.39672 45.998178-61.005694 55.39581-27.389433 8.981553-55.496242 8.335914-83.717831 6.485083-1.176497-0.071738-2.338647-0.200865-4.404691-0.387383-2.510818 12.654521-5.035983 25.208608-7.503758 37.762696-2.338647 11.937144-4.576862 23.902983-6.944204 35.868822-3.242542 16.413573 4.304259 26.499886 20.96174 27.877249 1.434753 0.11478 3.041676-0.329993 4.304258 0.215213a23.501252 23.501252 0 0 1 4.390344 3.256889c-1.563881 1.291278-3.099066 2.625598-4.720337 3.859485-0.301298 0.22956-0.932589 0-1.434753 0H3.902528a31.99499 31.99499 0 0 1-3.60123-0.416078c-1.133455-4.99294 1.119107-6.499431 5.538146-6.786381a76.658847 76.658847 0 0 0 14.132316-1.979959c11.3202-2.869506 18.651788-9.727625 20.890002-21.793897 11.478023-60.460487 23.372125-120.863584 34.979276-181.309723 2.726031-14.189706-3.816443-22.956046-18.135277-25.136871-2.826463-0.444773-5.624231-1.004327-8.838077-1.506491z m50.661124 118.324072c17.331815-1.090412 33.157139-0.688681 48.465953-3.328627 29.326349-5.064678 49.283762-21.521293 56.199271-51.737189 6.083352-26.585971-3.88818-45.094284-30.388066-51.464587-13.70189-3.299932-28.27898-3.156456-42.483033-4.046003-6.054657-0.373036-10.430654 2.711683-11.764974 9.211114-2.49647 12.123662-5.265543 24.175586-7.647233 36.313596-4.074698 20.775222-7.934184 41.593486-12.381918 65.066043z", fill: "#0E3578", "data-p-id": "11911" }), jsxRuntimeExports.jsx("path", { d: "M910.623315 290.108915l-5.810749 74.707583c-8.608517 3.084719-9.75632 2.367342-11.234115-5.739011-4.691642-25.696424-16.671829-45.768617-43.300842-53.602368-16.284445-4.792075-32.28194-3.228194-47.0312 5.466408-22.46823 13.242769-25.653382 40.273514-6.485083 58.035755 8.178092 7.575495 17.604418 13.888408 26.915964 20.08654 12.31018 8.235482 25.007743 15.882715 37.619221 23.673423 44.47734 27.46117 39.297882 72.010248 10.258483 100.432703-30.875882 30.258939-68.466408 36.614894-109.572079 25.667729-7.60419-2.023002-15.165338-4.304259-22.841266-6.069005-9.211114-2.123434-14.031883 0.286951-19.584377 7.848099-1.520838 2.066044-4.906855 2.740378-8.077659 4.390343 0-13.773628-0.17217-25.639034 0-37.490093 0.22956-12.181052 0.832157-24.390799 1.305626-36.543156 0.272603-7.274197 0.746072-7.60419 7.991573-6.341608 3.988613 10.115008 7.030289 20.244363 11.793669 29.484172 18.881348 36.586199 68.681621 47.590754 98.538829 22.166933 16.054885-13.673195 23.214302-36.858802 15.050558-53.372808a48.953769 48.953769 0 0 0-15.079253-17.618766c-16.169665-11.478023-33.27192-21.521293-49.900706-32.296287-4.806422-3.113414-9.254156-6.757686-13.888408-10.143703-26.930312-19.727852-25.710772-48.523343-14.232749-70.302892 14.003188-26.557276 37.518788-39.972216 66.744705-43.587793 16.614439-2.066044 32.870189 0.502164 48.580733 6.370303 3.802095 1.434753 7.690276 2.596903 11.592804 3.701662 9.282851 2.625598 13.328854 1.004327 19.555681-6.054657 2.195172-2.49647 5.896834-3.65862 8.909816-5.423366zM921.62787 545.351455l2.869506-80.245729c6.556821-2.424732 8.924163-0.444773 10.301526 5.308585 6.757686 28.106809 21.822592 49.240719 51.062855 57.203598 33.515828 9.125028 64.693008-7.087679 73.071965-37.604873 4.892507-17.790936 0.616944-32.081075-14.347529-43.042587-11.721931-8.608517-24.304714-16.02619-36.471418-24.003416-8.981553-5.882487-18.077886-11.621498-26.88727-17.776588-30.287634-21.176953-28.996356-50.991118-15.882714-74.506718 14.347529-25.653382 37.690959-38.55181 66.414711-41.780004a97.936233 97.936233 0 0 1 45.797313 5.825096c4.462082 1.678661 9.168071 2.697335 13.6445 4.304259 8.120701 2.869506 14.347529 0.703029 19.397859-6.183785 3.500797-4.806422 3.672967-4.691642 10.947165-3.142109-0.674334 10.502391-1.291278 21.148258-2.051697 31.794124-0.860852 12.152357-1.865179 24.290367-2.769073 36.442724-0.645639 8.70895-0.961284 8.981553-9.512412 7.876793-3.199499-9.914143-5.409018-20.014803-9.598497-29.211569-15.194033-33.32931-60.460487-44.64951-87.936005-22.453882-17.102255 13.81667-19.110909 35.137098-4.820769 51.765884 11.779321 13.716238 27.905944 21.521293 42.698246 31.076748 11.478023 7.403325 23.199954 14.347529 33.946253 22.6404 30.388066 23.415167 29.082441 56.758825 10.373264 82.57003-23.702118 32.698018-57.648371 44.47734-96.845821 40.632202-14.347529-1.434753-28.379412-6.0977-42.497381-9.555455-9.225461-2.252562-16.915737-1.535186-22.109542 7.876794-0.903894 1.936916-4.591209 2.338647-8.795035 4.189478z", fill: "#B21B3A", "data-p-id": "11912" }), jsxRuntimeExports.jsx("path", { d: "M457.800954 533.772999c-1.606923 1.635618-3.199499 4.677294-4.835117 4.691642-32.698018 0.272603-65.410385 0.215213-98.122751 0.215213-1.649966-5.179458 0-7.173764 4.749032-7.288544a79.284445 79.284445 0 0 0 12.783649-1.434753c10.358916-2.051697 14.491004-7.173764 13.257116-17.633113a187.507856 187.507856 0 0 0-4.734684-22.353451c-2.166477-8.795035-4.76338-17.489638-6.915509-26.29902-0.946937-3.845138-2.740378-5.495104-6.886814-5.480756-32.023685 0.129128-64.061717 0-96.128444 0.200865a8.608517 8.608517 0 0 0-6.26987 3.299932c-8.522432 13.257117-16.700524 26.743794-24.950353 40.173081-0.989979 1.621271-1.678661 3.429059-2.625598 5.079025-7.776361 13.70189-0.602596 23.113869 14.347529 24.247324 4.634252 0.344341 7.66158 0.932589 5.265543 6.972899h-78.696196c-0.903894-4.218174-0.473468-6.413345 4.691642-7.173764a35.754042 35.754042 0 0 0 24.67775-14.591437c20.344796-28.881576 40.675245-57.791847 60.259621-87.218629 29.971988-45.180369 59.212252-90.834206 88.95468-136.143702a10.416306 10.416306 0 0 1 7.747665-4.175131c1.779094 0.071738 4.304259 3.7734 4.964245 6.26987q28.264632 98.99795 56.242314 198.16807c1.893874 6.642906 4.390344 13.113641 6.685948 19.62742 3.959918 11.3202 10.717604 19.196994 24.3908 18.508312z m-115.411523-192.429058l-65.424732 101.867456h92.928945zM598.650646 452.809893c-2.309952 17.948759-6.657253 35.624914-10.043271 53.430198-2.066044 10.889774 2.783421 19.641767 13.457983 22.626053 7.030289 1.965611 14.447962 2.510818 24.075153 4.074699-2.869506 2.510818-4.562514 5.480756-6.341608 5.480756-38.967889 0.22956-77.935777 0.143475-116.918013 0.071737-0.416078 0-0.817809-0.401731-1.305625-0.659986-1.018675-4.662947 1.076065-5.939877 5.609884-6.542473a153.69073 153.69073 0 0 0 25.725119-5.122068c8.350262-2.61125 12.912776-9.426327 14.519699-18.077887 4.720337-24.84992 9.569802-49.671145 14.146664-74.60715a12.152357 12.152357 0 0 0-1.291278-7.417673c-17.920064-32.999317-35.868822-65.883853-54.118879-98.624914-10.703257-19.168299-15.194033-22.310408-37.131405-30.12981 1.908221-1.434753 3.802095-3.94557 5.739012-3.959918 35.381006-0.200865 70.762013-0.11478 106.171714 0a6.32726 6.32726 0 0 1 1.578228 0.487816c0.602596 4.777727-1.33432 6.786381-6.312913 6.470735a46.815987 46.815987 0 0 0-7.819403 0.875199c-17.53268 1.893874-21.105215 8.221134-13.75928 25.366432 6.556821 15.323161 15.208381 29.742428 22.956046 44.477339 6.685948 12.654521 13.501025 25.237303 20.646094 38.594853 1.865179-1.779094 3.429059-3.084719 4.76338-4.576861 22.037804-24.448189 44.132999-48.968116 65.78342-73.846732 4.76338-5.466409 8.235482-12.1954 11.607151-18.651788 2.410385-4.677294 0.459121-8.608517-4.863812-9.713277-6.241175-1.434753-12.582783-2.26691-19.268732-3.429059l0.559554-5.739012h88.02209l1.291278 1.549533c-2.037349 1.979959-3.83079 5.322933-6.140743 5.739012-16.413573 2.740378-29.441129 11.664541-40.445684 23.070826-26.715099 27.647688-52.181963 56.514917-79.241402 83.818265", fill: "#0D3676", "data-p-id": "11913" }), jsxRuntimeExports.jsx("path", { d: "M1146.79799 298.000056c1.563881-1.549533 3.127761-4.462082 4.705989-4.476429 38.451378-0.258256 76.917103-0.200865 115.454566-0.200865 1.736051 5.16511-0.071738 6.427693-4.720337 7.073331a138.927123 138.927123 0 0 0-24.3908 5.093373c-8.53678 2.797768-13.257117 9.512412-15.007515 18.52266-11.678889 60.431792-23.544295 120.820541-35.208836 181.252333-2.869506 14.677522 5.739012 24.204281 22.956046 25.983375a70.518105 70.518105 0 0 1 7.848099 0.530859c1.205192 0.258256 3.084719 2.152129 2.869505 2.869506a7.919836 7.919836 0 0 1-3.027328 3.744705c-0.602596 0.487816-1.850831 0.186518-2.869506 0.186518h-109.04122a38.738328 38.738328 0 0 1-4.304259-0.459121c-1.807789-5.294238 0.946937-6.083352 5.150763-6.714644 8.192439-1.233887 16.542701-2.338647 24.390799-4.949897 8.120701-2.726031 12.826691-9.067638 14.548395-17.977454 11.822364-60.446139 23.773855-120.806194 35.567524-181.237986 2.697335-13.874061-3.959918-23.142564-18.135277-25.610339-4.921202-0.860852-9.92849-1.233887-14.892735-1.822136z", fill: "#B21B3A", "data-p-id": "11914" })] })));
|
|
1441
1441
|
IconPayssionPay.displayName = 'IconPayssionPay';
|
|
1442
1442
|
|
|
1443
|
-
const canUseDom = !!(typeof window !==
|
|
1444
|
-
typeof document !==
|
|
1443
|
+
const canUseDom = !!(typeof window !== 'undefined' &&
|
|
1444
|
+
typeof document !== 'undefined' &&
|
|
1445
1445
|
window.document &&
|
|
1446
1446
|
window.document.createElement);
|
|
1447
1447
|
|
|
1448
1448
|
const NOOP = () => { };
|
|
1449
1449
|
const isServerRendering = (function () {
|
|
1450
1450
|
try {
|
|
1451
|
-
return !(typeof window !==
|
|
1451
|
+
return !(typeof window !== 'undefined' && document !== undefined);
|
|
1452
1452
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1453
1453
|
}
|
|
1454
1454
|
catch (e) {
|
|
@@ -1482,31 +1482,29 @@
|
|
|
1482
1482
|
|
|
1483
1483
|
const opt = Object.prototype.toString;
|
|
1484
1484
|
function isArray(obj) {
|
|
1485
|
-
return opt.call(obj) ===
|
|
1485
|
+
return opt.call(obj) === '[object Array]';
|
|
1486
1486
|
}
|
|
1487
1487
|
function isObject(obj) {
|
|
1488
|
-
return opt.call(obj) ===
|
|
1488
|
+
return opt.call(obj) === '[object Object]';
|
|
1489
1489
|
}
|
|
1490
1490
|
function isString(obj) {
|
|
1491
|
-
return opt.call(obj) ===
|
|
1491
|
+
return opt.call(obj) === '[object String]';
|
|
1492
1492
|
}
|
|
1493
1493
|
function isFunction(obj) {
|
|
1494
|
-
return typeof obj ===
|
|
1494
|
+
return typeof obj === 'function';
|
|
1495
1495
|
}
|
|
1496
1496
|
function isPromise$1(obj) {
|
|
1497
|
-
return (!!obj && typeof obj ===
|
|
1497
|
+
return (!!obj && typeof obj === 'object' && typeof obj.then === 'function');
|
|
1498
1498
|
}
|
|
1499
1499
|
|
|
1500
1500
|
function warning(condition, message, ...extra) {
|
|
1501
1501
|
if (process.env.NODE_ENV !== 'production' && console) {
|
|
1502
1502
|
{
|
|
1503
|
-
// eslint-disable-next-line no-console
|
|
1504
1503
|
return console.error(`[pay-sdk-react]: ${message}`, extra ? { detail: extra } : undefined);
|
|
1505
1504
|
}
|
|
1506
1505
|
}
|
|
1507
1506
|
}
|
|
1508
1507
|
|
|
1509
|
-
// eslint-disable-next-line import/no-anonymous-default-export
|
|
1510
1508
|
function cs (...args) {
|
|
1511
1509
|
const length = args.length;
|
|
1512
1510
|
let classNames = [];
|
|
@@ -1529,10 +1527,10 @@
|
|
|
1529
1527
|
});
|
|
1530
1528
|
}
|
|
1531
1529
|
else {
|
|
1532
|
-
warning(true,
|
|
1530
|
+
warning(true, 'arguments must be one of string/array/object.');
|
|
1533
1531
|
}
|
|
1534
1532
|
}
|
|
1535
|
-
return [...new Set(classNames)].join(
|
|
1533
|
+
return [...new Set(classNames)].join(' ');
|
|
1536
1534
|
}
|
|
1537
1535
|
|
|
1538
1536
|
var isBrowser$1 = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
@@ -4889,8 +4887,8 @@
|
|
|
4889
4887
|
}
|
|
4890
4888
|
|
|
4891
4889
|
const eventToPropRecord = {
|
|
4892
|
-
click:
|
|
4893
|
-
touchstart:
|
|
4890
|
+
click: 'onClick',
|
|
4891
|
+
touchstart: 'onTouchStart',
|
|
4894
4892
|
};
|
|
4895
4893
|
function withStopPropagation(events, element) {
|
|
4896
4894
|
const props = { ...element.props };
|
|
@@ -4920,7 +4918,7 @@
|
|
|
4920
4918
|
}
|
|
4921
4919
|
|
|
4922
4920
|
const defaultRoot = canUseDom ? window : undefined;
|
|
4923
|
-
const overflowStylePatterns = [
|
|
4921
|
+
const overflowStylePatterns = ['scroll', 'auto', 'overlay'];
|
|
4924
4922
|
function isElement(node) {
|
|
4925
4923
|
const ELEMENT_NODE_TYPE = 1;
|
|
4926
4924
|
return node.nodeType === ELEMENT_NODE_TYPE;
|
|
@@ -4945,13 +4943,14 @@
|
|
|
4945
4943
|
if (canUseDom) {
|
|
4946
4944
|
try {
|
|
4947
4945
|
const opts = {};
|
|
4948
|
-
Object.defineProperty(opts,
|
|
4946
|
+
Object.defineProperty(opts, 'passive', {
|
|
4947
|
+
// eslint-disable-next-line getter-return
|
|
4949
4948
|
get() {
|
|
4950
4949
|
supportsPassive = true;
|
|
4951
4950
|
},
|
|
4952
4951
|
});
|
|
4953
|
-
window.addEventListener(
|
|
4954
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4952
|
+
window.addEventListener('test-passive', null, opts);
|
|
4953
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars, no-empty
|
|
4955
4954
|
}
|
|
4956
4955
|
catch (e) { }
|
|
4957
4956
|
}
|
|
@@ -4959,12 +4958,12 @@
|
|
|
4959
4958
|
const MIN_DISTANCE = 10;
|
|
4960
4959
|
function getDirection(x, y) {
|
|
4961
4960
|
if (x > y && x > MIN_DISTANCE) {
|
|
4962
|
-
return
|
|
4961
|
+
return 'horizontal';
|
|
4963
4962
|
}
|
|
4964
4963
|
if (y > x && y > MIN_DISTANCE) {
|
|
4965
|
-
return
|
|
4964
|
+
return 'vertical';
|
|
4966
4965
|
}
|
|
4967
|
-
return
|
|
4966
|
+
return '';
|
|
4968
4967
|
}
|
|
4969
4968
|
function useTouch() {
|
|
4970
4969
|
const startX = React.useRef(0);
|
|
@@ -4973,15 +4972,15 @@
|
|
|
4973
4972
|
const deltaY = React.useRef(0);
|
|
4974
4973
|
const offsetX = React.useRef(0);
|
|
4975
4974
|
const offsetY = React.useRef(0);
|
|
4976
|
-
const direction = React.useRef(
|
|
4977
|
-
const isVertical = () => direction.current ===
|
|
4978
|
-
const isHorizontal = () => direction.current ===
|
|
4975
|
+
const direction = React.useRef('');
|
|
4976
|
+
const isVertical = () => direction.current === 'vertical';
|
|
4977
|
+
const isHorizontal = () => direction.current === 'horizontal';
|
|
4979
4978
|
const reset = () => {
|
|
4980
4979
|
deltaX.current = 0;
|
|
4981
4980
|
deltaY.current = 0;
|
|
4982
4981
|
offsetX.current = 0;
|
|
4983
4982
|
offsetY.current = 0;
|
|
4984
|
-
direction.current =
|
|
4983
|
+
direction.current = '';
|
|
4985
4984
|
};
|
|
4986
4985
|
const start = ((event) => {
|
|
4987
4986
|
reset();
|
|
@@ -5017,7 +5016,7 @@
|
|
|
5017
5016
|
}
|
|
5018
5017
|
|
|
5019
5018
|
let totalLockCount = 0;
|
|
5020
|
-
const BODY_LOCK_CLASS =
|
|
5019
|
+
const BODY_LOCK_CLASS = 'yfm-overflow-hidden';
|
|
5021
5020
|
function getScrollableElement(el) {
|
|
5022
5021
|
let current = el?.parentElement;
|
|
5023
5022
|
while (current) {
|
|
@@ -5032,12 +5031,12 @@
|
|
|
5032
5031
|
const touch = useTouch();
|
|
5033
5032
|
const onTouchMove = (event) => {
|
|
5034
5033
|
touch.move(event);
|
|
5035
|
-
const direction = touch.deltaY.current > 0 ?
|
|
5034
|
+
const direction = touch.deltaY.current > 0 ? '10' : '01';
|
|
5036
5035
|
const el = getScrollParent(event.target, rootRef.current);
|
|
5037
5036
|
if (!el)
|
|
5038
5037
|
return;
|
|
5039
5038
|
// This has perf cost but we have to compatible with iOS 12
|
|
5040
|
-
if (shouldLock ===
|
|
5039
|
+
if (shouldLock === 'strict') {
|
|
5041
5040
|
const scrollableParent = getScrollableElement(event.target);
|
|
5042
5041
|
if (scrollableParent === document.body ||
|
|
5043
5042
|
scrollableParent === document.documentElement) {
|
|
@@ -5047,14 +5046,14 @@
|
|
|
5047
5046
|
}
|
|
5048
5047
|
const { scrollHeight, offsetHeight, scrollTop } = el;
|
|
5049
5048
|
const { height } = el.getBoundingClientRect();
|
|
5050
|
-
let status =
|
|
5049
|
+
let status = '11';
|
|
5051
5050
|
if (scrollTop === 0) {
|
|
5052
|
-
status = offsetHeight >= scrollHeight ?
|
|
5051
|
+
status = offsetHeight >= scrollHeight ? '00' : '01';
|
|
5053
5052
|
}
|
|
5054
5053
|
else if (scrollHeight <= Math.round(height + scrollTop)) {
|
|
5055
|
-
status =
|
|
5054
|
+
status = '10';
|
|
5056
5055
|
}
|
|
5057
|
-
if (status !==
|
|
5056
|
+
if (status !== '11' &&
|
|
5058
5057
|
touch.isVertical() &&
|
|
5059
5058
|
!(parseInt(status, 2) & parseInt(direction, 2))) {
|
|
5060
5059
|
if (event.cancelable && supportsPassive) {
|
|
@@ -5063,8 +5062,8 @@
|
|
|
5063
5062
|
}
|
|
5064
5063
|
};
|
|
5065
5064
|
const lock = () => {
|
|
5066
|
-
document.addEventListener(
|
|
5067
|
-
document.addEventListener(
|
|
5065
|
+
document.addEventListener('touchstart', touch.start);
|
|
5066
|
+
document.addEventListener('touchmove', onTouchMove, supportsPassive ? { passive: false } : false);
|
|
5068
5067
|
if (!totalLockCount) {
|
|
5069
5068
|
document.body.classList.add(BODY_LOCK_CLASS);
|
|
5070
5069
|
}
|
|
@@ -5072,8 +5071,8 @@
|
|
|
5072
5071
|
};
|
|
5073
5072
|
const unlock = () => {
|
|
5074
5073
|
if (totalLockCount) {
|
|
5075
|
-
document.removeEventListener(
|
|
5076
|
-
document.removeEventListener(
|
|
5074
|
+
document.removeEventListener('touchstart', touch.start);
|
|
5075
|
+
document.removeEventListener('touchmove', onTouchMove);
|
|
5077
5076
|
totalLockCount--;
|
|
5078
5077
|
if (!totalLockCount) {
|
|
5079
5078
|
document.body.classList.remove(BODY_LOCK_CLASS);
|
|
@@ -5087,7 +5086,6 @@
|
|
|
5087
5086
|
unlock();
|
|
5088
5087
|
};
|
|
5089
5088
|
}
|
|
5090
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
5091
5089
|
}, [shouldLock]);
|
|
5092
5090
|
}
|
|
5093
5091
|
|
|
@@ -5159,13 +5157,13 @@
|
|
|
5159
5157
|
return (jsxRuntimeExports.jsx(ShouldRender, { active: active, forceRender: props.forceRender, destroyOnClose: props.destroyOnClose, children: renderToContainer(props.getContainer, node) }));
|
|
5160
5158
|
};
|
|
5161
5159
|
|
|
5162
|
-
function usePayWindowOpen({ payUrl, onClose, onSuccess, autoOpen = true, openMode =
|
|
5160
|
+
function usePayWindowOpen({ payUrl, onClose, onSuccess, autoOpen = true, openMode = 'window', }) {
|
|
5163
5161
|
const payWindowRef = React.useRef(null);
|
|
5164
5162
|
const pollTimerRef = React.useRef(null);
|
|
5165
5163
|
const [isWindowMonitoring, setWindowMonitoring] = React.useState(false);
|
|
5166
5164
|
// 打开支付窗口
|
|
5167
5165
|
const openWindow = React.useCallback(() => {
|
|
5168
|
-
if (openMode ===
|
|
5166
|
+
if (openMode === 'window') {
|
|
5169
5167
|
if (payWindowRef.current && !payWindowRef.current.closed) {
|
|
5170
5168
|
payWindowRef.current.focus();
|
|
5171
5169
|
}
|
|
@@ -5174,10 +5172,10 @@
|
|
|
5174
5172
|
setWindowMonitoring(true);
|
|
5175
5173
|
}
|
|
5176
5174
|
}
|
|
5177
|
-
else if (openMode ===
|
|
5175
|
+
else if (openMode === 'replace') {
|
|
5178
5176
|
window.location.replace(payUrl);
|
|
5179
5177
|
}
|
|
5180
|
-
else if (openMode ===
|
|
5178
|
+
else if (openMode === 'href') {
|
|
5181
5179
|
window.location.href = payUrl;
|
|
5182
5180
|
}
|
|
5183
5181
|
}, [payUrl, openMode]);
|
|
@@ -5194,7 +5192,7 @@
|
|
|
5194
5192
|
}, [autoOpen, openWindow]);
|
|
5195
5193
|
// 轮询和消息监听
|
|
5196
5194
|
React.useEffect(() => {
|
|
5197
|
-
if (!isWindowMonitoring || openMode !==
|
|
5195
|
+
if (!isWindowMonitoring || openMode !== 'window') {
|
|
5198
5196
|
return;
|
|
5199
5197
|
}
|
|
5200
5198
|
pollTimerRef.current = setInterval(() => {
|
|
@@ -5205,7 +5203,7 @@
|
|
|
5205
5203
|
}
|
|
5206
5204
|
}, 1500);
|
|
5207
5205
|
function handleMessage(event) {
|
|
5208
|
-
if (event.data ===
|
|
5206
|
+
if (event.data === 'PAYMENT_SUCCESS') {
|
|
5209
5207
|
onSuccess?.();
|
|
5210
5208
|
onClose?.();
|
|
5211
5209
|
payWindowRef.current?.close();
|
|
@@ -5213,10 +5211,10 @@
|
|
|
5213
5211
|
setWindowMonitoring(false);
|
|
5214
5212
|
}
|
|
5215
5213
|
}
|
|
5216
|
-
window.addEventListener(
|
|
5214
|
+
window.addEventListener('message', handleMessage);
|
|
5217
5215
|
return () => {
|
|
5218
5216
|
clearInterval(pollTimerRef.current);
|
|
5219
|
-
window.removeEventListener(
|
|
5217
|
+
window.removeEventListener('message', handleMessage);
|
|
5220
5218
|
payWindowRef.current?.close();
|
|
5221
5219
|
};
|
|
5222
5220
|
}, [isWindowMonitoring, openMode, onClose, onSuccess]);
|
|
@@ -5295,9 +5293,9 @@
|
|
|
5295
5293
|
p.tabIndex = props.tabIndex;
|
|
5296
5294
|
}
|
|
5297
5295
|
for (const key in props) {
|
|
5298
|
-
if (!
|
|
5296
|
+
if (!Object.prototype.hasOwnProperty.call(props, key))
|
|
5299
5297
|
continue;
|
|
5300
|
-
if (key.startsWith(
|
|
5298
|
+
if (key.startsWith('data-') || key.startsWith('aria-')) {
|
|
5301
5299
|
p[key] = props[key];
|
|
5302
5300
|
}
|
|
5303
5301
|
}
|
|
@@ -5383,7 +5381,7 @@
|
|
|
5383
5381
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
5384
5382
|
if (createOrder) {
|
|
5385
5383
|
// 1. 业务侧创建订单,获取参数
|
|
5386
|
-
const { paypalUrl } = await createOrder
|
|
5384
|
+
const { paypalUrl } = await createOrder();
|
|
5387
5385
|
if (paypalUrl) {
|
|
5388
5386
|
// 2. 唤起蒙层
|
|
5389
5387
|
setShowMask(true);
|
|
@@ -9166,7 +9164,9 @@
|
|
|
9166
9164
|
|
|
9167
9165
|
const classPrefix$3 = getPrefixCls('modal');
|
|
9168
9166
|
const PayModal = (props) => {
|
|
9169
|
-
const { visible, title, desc,
|
|
9167
|
+
const { visible, title, desc, retryButtonProps, finishButtonProps, icon, showClose = true, maskClosable = false, onClose, children, footer, className, style, contentClassName, contentStyle, container, } = props;
|
|
9168
|
+
const { className: retryButtonClassName, children: retryButtonChildren = '重新支付', ...retryButtonPropsRest } = retryButtonProps || {};
|
|
9169
|
+
const { className: finishButtonClassName, children: finishButtonChildren = '支付完成', ...finishButtonPropsRest } = finishButtonProps || {};
|
|
9170
9170
|
const el = React.useRef(clientDocument?.createElement('div'));
|
|
9171
9171
|
const ref = React.useRef(null);
|
|
9172
9172
|
useLockScroll(ref, !!visible);
|
|
@@ -9193,8 +9193,8 @@
|
|
|
9193
9193
|
const renderFooter = () => {
|
|
9194
9194
|
if (footer === null)
|
|
9195
9195
|
return;
|
|
9196
|
-
const retryButtonNode = (jsxRuntimeExports.jsx(
|
|
9197
|
-
const finishButtonNode = (jsxRuntimeExports.jsx(
|
|
9196
|
+
const retryButtonNode = (jsxRuntimeExports.jsx(Button, { className: cs(`${classPrefix$3}__btn`, `${classPrefix$3}__btn--retry`, retryButtonClassName), ...retryButtonPropsRest, children: retryButtonChildren }));
|
|
9197
|
+
const finishButtonNode = (jsxRuntimeExports.jsx(Button, { className: cs(`${classPrefix$3}__btn`, `${classPrefix$3}__btn--finish`, finishButtonClassName), ...finishButtonPropsRest, children: finishButtonChildren }));
|
|
9198
9198
|
const footerContent = isFunction(footer)
|
|
9199
9199
|
? footer(retryButtonNode, finishButtonNode)
|
|
9200
9200
|
: footer || (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [retryButtonNode, finishButtonNode] }));
|
|
@@ -9246,7 +9246,7 @@
|
|
|
9246
9246
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
9247
9247
|
if (createOrder) {
|
|
9248
9248
|
// 1. 业务侧创建订单,获取参数
|
|
9249
|
-
const options = await createOrder
|
|
9249
|
+
const options = await createOrder();
|
|
9250
9250
|
if (options?.clientSecret && options?.stripeKey) {
|
|
9251
9251
|
// 2. 唤起弹窗
|
|
9252
9252
|
if (displayType === 'modal') {
|
|
@@ -9429,7 +9429,7 @@
|
|
|
9429
9429
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
9430
9430
|
if (createOrder) {
|
|
9431
9431
|
// 1. 业务侧创建订单,获取参数
|
|
9432
|
-
const options = await createOrder
|
|
9432
|
+
const options = await createOrder();
|
|
9433
9433
|
if (options) {
|
|
9434
9434
|
if (props?.payMode === 'embedded') {
|
|
9435
9435
|
if (props?.displayType === 'modal') {
|
|
@@ -9497,7 +9497,7 @@
|
|
|
9497
9497
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
9498
9498
|
if (createOrder) {
|
|
9499
9499
|
// 1. 业务侧创建订单,获取参数
|
|
9500
|
-
const { payssionUrl } = await createOrder
|
|
9500
|
+
const { payssionUrl } = await createOrder();
|
|
9501
9501
|
if (payssionUrl) {
|
|
9502
9502
|
// 2. 唤起蒙层
|
|
9503
9503
|
setShowMask(true);
|
|
@@ -9529,9 +9529,11 @@
|
|
|
9529
9529
|
var PayssionButton$1 = React.memo(PayssionButton);
|
|
9530
9530
|
|
|
9531
9531
|
const ConfirmModal = (props) => {
|
|
9532
|
-
const { visible,
|
|
9532
|
+
const { visible, title = '支付确认', desc = (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("div", { children: "1. \u5982\u679C\u60A8\u5DF2\u5B8C\u6210\u652F\u4ED8\uFF0C\u8BF7\u70B9\u51FB[\u652F\u4ED8\u5B8C\u6210]" }), jsxRuntimeExports.jsx("div", { children: "2. \u5982\u679C\u672A\u652F\u4ED8\u6210\u529F\uFF0C\u53EF\u70B9\u51FB[\u91CD\u65B0\u652F\u4ED8]" })] })), retryButtonProps, finishButtonProps, icon = (jsxRuntimeExports.jsx("span", { role: "img", "aria-label": "success", children: "\u2714\uFE0F" })), showClose = true, maskClosable = false, onClose, payUrl, autoOpenWindow = false, openMode = 'window', } = props;
|
|
9533
|
+
const { children: retryButtonChildren = '重新支付', ...retryButtonPropsRest } = retryButtonProps || {};
|
|
9534
|
+
const { children: finishButtonChildren = '支付完成', ...finishButtonPropsRest } = finishButtonProps || {};
|
|
9533
9535
|
const { closeWindow } = usePayWindowOpen({
|
|
9534
|
-
payUrl: payUrl ||
|
|
9536
|
+
payUrl: payUrl || '',
|
|
9535
9537
|
onClose,
|
|
9536
9538
|
autoOpen: autoOpenWindow,
|
|
9537
9539
|
openMode: openMode,
|
|
@@ -9543,30 +9545,36 @@
|
|
|
9543
9545
|
}, [onClose, autoOpenWindow, closeWindow]);
|
|
9544
9546
|
if (!visible)
|
|
9545
9547
|
return null;
|
|
9546
|
-
return (jsxRuntimeExports.jsx(PayModal, { visible: visible, icon: icon, title: title, desc: desc, showClose: showClose, maskClosable: maskClosable, onClose: handleClose,
|
|
9548
|
+
return (jsxRuntimeExports.jsx(PayModal, { visible: visible, icon: icon, title: title, desc: desc, showClose: showClose, maskClosable: maskClosable, onClose: handleClose, retryButtonProps: {
|
|
9549
|
+
children: retryButtonChildren,
|
|
9550
|
+
...retryButtonPropsRest,
|
|
9551
|
+
}, finishButtonProps: {
|
|
9552
|
+
children: finishButtonChildren,
|
|
9553
|
+
...finishButtonPropsRest,
|
|
9554
|
+
} }));
|
|
9547
9555
|
};
|
|
9548
9556
|
|
|
9549
9557
|
const MWechatButton = React.forwardRef((props, ref) => {
|
|
9550
9558
|
const { className, children = (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(IconWechatPay, {}), "\u5FAE\u4FE1\u652F\u4ED8"] })), onClick, wechatUrl: propsWechatUrl, createOrder, displayType = 'modal', modalProps, maskProps, ...others } = props;
|
|
9551
|
-
const {
|
|
9559
|
+
const { retryButtonProps, finishButtonProps, onClose, ...modalPropsOthers } = modalProps || {};
|
|
9552
9560
|
const { onClose: onMaskClose, ...restMaskProps } = maskProps || {};
|
|
9553
9561
|
const mWeChatButtonRef = React.useRef({ nativeElement: null });
|
|
9554
9562
|
const [showMask, setShowMask] = React.useState(false);
|
|
9555
9563
|
const [showModal, setShowModal] = React.useState(false);
|
|
9556
9564
|
const [wechatUrl, setWechatUrl] = React.useState();
|
|
9557
9565
|
React.useImperativeHandle(ref, () => mWeChatButtonRef.current);
|
|
9558
|
-
const handleRetry = React.useCallback(() => {
|
|
9566
|
+
const handleRetry = React.useCallback((event) => {
|
|
9559
9567
|
if (displayType === 'modal') {
|
|
9560
|
-
|
|
9568
|
+
retryButtonProps?.onClick?.(event);
|
|
9561
9569
|
setShowModal(false);
|
|
9562
9570
|
}
|
|
9563
|
-
}, [
|
|
9564
|
-
const handleFinish = React.useCallback(() => {
|
|
9571
|
+
}, [retryButtonProps, displayType]);
|
|
9572
|
+
const handleFinish = React.useCallback((event) => {
|
|
9565
9573
|
if (displayType === 'modal') {
|
|
9566
|
-
|
|
9574
|
+
finishButtonProps?.onClick?.(event);
|
|
9567
9575
|
setShowModal(false);
|
|
9568
9576
|
}
|
|
9569
|
-
}, [
|
|
9577
|
+
}, [finishButtonProps, displayType]);
|
|
9570
9578
|
const handleDisplay = React.useCallback(() => {
|
|
9571
9579
|
if (displayType === 'modal') {
|
|
9572
9580
|
setShowModal(true);
|
|
@@ -9583,7 +9591,7 @@
|
|
|
9583
9591
|
}, [onClose, displayType]);
|
|
9584
9592
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
9585
9593
|
if (createOrder) {
|
|
9586
|
-
const { wechatUrl } = await createOrder
|
|
9594
|
+
const { wechatUrl } = await createOrder();
|
|
9587
9595
|
if (wechatUrl) {
|
|
9588
9596
|
handleDisplay();
|
|
9589
9597
|
setWechatUrl(wechatUrl);
|
|
@@ -9608,7 +9616,13 @@
|
|
|
9608
9616
|
return (jsxRuntimeExports.jsxs(React.Fragment, { children: [jsxRuntimeExports.jsx(Button, { ref: mWeChatButtonRef, className: cs(getPrefixCls('m-wechat-btn'), className), onClick: handleClick, ...others, children: children }), displayType === 'mask' && showMask && wechatUrl && (jsxRuntimeExports.jsx(PayMask, { visible: showMask, onClose: () => {
|
|
9609
9617
|
setShowMask(false);
|
|
9610
9618
|
onMaskClose?.();
|
|
9611
|
-
}, payUrl: wechatUrl, title: 'WeChat', ...restMaskProps })), displayType === 'modal' && showModal && wechatUrl && (jsxRuntimeExports.jsx(ConfirmModal, { visible: showModal, onClose: handleOnCloseModal,
|
|
9619
|
+
}, payUrl: wechatUrl, title: 'WeChat', ...restMaskProps })), displayType === 'modal' && showModal && wechatUrl && (jsxRuntimeExports.jsx(ConfirmModal, { visible: showModal, onClose: handleOnCloseModal, retryButtonProps: {
|
|
9620
|
+
onClick: handleRetry,
|
|
9621
|
+
...omit(retryButtonProps || {}, ['onClick']),
|
|
9622
|
+
}, finishButtonProps: {
|
|
9623
|
+
onClick: handleFinish,
|
|
9624
|
+
...omit(finishButtonProps || {}, ['onClick']),
|
|
9625
|
+
}, payUrl: wechatUrl, autoOpenWindow: true, ...modalPropsOthers }))] }));
|
|
9612
9626
|
});
|
|
9613
9627
|
MWechatButton.displayName = 'MWechatButton';
|
|
9614
9628
|
var MWechatButton$1 = React.memo(MWechatButton);
|
|
@@ -9646,25 +9660,25 @@
|
|
|
9646
9660
|
|
|
9647
9661
|
const MAlipayButton = React.forwardRef((props, ref) => {
|
|
9648
9662
|
const { className, children = (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(IconAlipay, {}), "\u652F\u4ED8\u5B9D\u652F\u4ED8"] })), onClick, formHtml: propsFormHtml, createOrder, displayType = 'modal', modalProps, maskProps, ...others } = props;
|
|
9649
|
-
const {
|
|
9663
|
+
const { retryButtonProps, finishButtonProps, onClose, ...modalPropsOthers } = modalProps || {};
|
|
9650
9664
|
const { onClose: onMaskClose, ...restMaskProps } = maskProps || {};
|
|
9651
9665
|
const mAlipayButtonRef = React.useRef({ nativeElement: null });
|
|
9652
9666
|
const [formHtmlString, setFormHtmlString] = React.useState();
|
|
9653
9667
|
const [showMask, setShowMask] = React.useState(false);
|
|
9654
9668
|
const [showModal, setShowModal] = React.useState(false);
|
|
9655
9669
|
React.useImperativeHandle(ref, () => mAlipayButtonRef.current);
|
|
9656
|
-
const handleRetry = React.useCallback(() => {
|
|
9670
|
+
const handleRetry = React.useCallback((event) => {
|
|
9657
9671
|
if (displayType === 'modal') {
|
|
9658
|
-
|
|
9672
|
+
retryButtonProps?.onClick?.(event);
|
|
9659
9673
|
setShowModal(false);
|
|
9660
9674
|
}
|
|
9661
|
-
}, [
|
|
9662
|
-
const handleFinish = React.useCallback(() => {
|
|
9675
|
+
}, [retryButtonProps, displayType]);
|
|
9676
|
+
const handleFinish = React.useCallback((event) => {
|
|
9663
9677
|
if (displayType === 'modal') {
|
|
9664
|
-
|
|
9678
|
+
finishButtonProps?.onClick?.(event);
|
|
9665
9679
|
setShowModal(false);
|
|
9666
9680
|
}
|
|
9667
|
-
}, [
|
|
9681
|
+
}, [finishButtonProps, displayType]);
|
|
9668
9682
|
const handleDisplay = React.useCallback(() => {
|
|
9669
9683
|
if (displayType === 'modal') {
|
|
9670
9684
|
setShowModal(true);
|
|
@@ -9681,7 +9695,7 @@
|
|
|
9681
9695
|
}, [onClose, displayType]);
|
|
9682
9696
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
9683
9697
|
if (createOrder) {
|
|
9684
|
-
const { formHtml } = await createOrder
|
|
9698
|
+
const { formHtml } = await createOrder();
|
|
9685
9699
|
if (formHtml) {
|
|
9686
9700
|
handleDisplay();
|
|
9687
9701
|
setFormHtmlString(formHtml);
|
|
@@ -9709,7 +9723,13 @@
|
|
|
9709
9723
|
}
|
|
9710
9724
|
return showMask;
|
|
9711
9725
|
}, [displayType, showModal, showMask]);
|
|
9712
|
-
return (jsxRuntimeExports.jsxs(React.Fragment, { children: [jsxRuntimeExports.jsx(Button, { ref: mAlipayButtonRef, className: cs(getPrefixCls('m-alipay-btn'), className), onClick: handleClick, ...omit(others, ['displayType', 'displayProps']), children: children }), isShowAutoSubmit && formHtmlString && (jsxRuntimeExports.jsx(MAlipay, { formHtml: formHtmlString })), displayType === 'modal' && formHtmlString && (jsxRuntimeExports.jsx(ConfirmModal, { visible: showModal,
|
|
9726
|
+
return (jsxRuntimeExports.jsxs(React.Fragment, { children: [jsxRuntimeExports.jsx(Button, { ref: mAlipayButtonRef, className: cs(getPrefixCls('m-alipay-btn'), className), onClick: handleClick, ...omit(others, ['displayType', 'displayProps']), children: children }), isShowAutoSubmit && formHtmlString && (jsxRuntimeExports.jsx(MAlipay, { formHtml: formHtmlString })), displayType === 'modal' && formHtmlString && (jsxRuntimeExports.jsx(ConfirmModal, { visible: showModal, retryButtonProps: {
|
|
9727
|
+
onClick: handleRetry,
|
|
9728
|
+
...omit(retryButtonProps || {}, ['onClick']),
|
|
9729
|
+
}, finishButtonProps: {
|
|
9730
|
+
onClick: handleFinish,
|
|
9731
|
+
...omit(finishButtonProps || {}, ['onClick']),
|
|
9732
|
+
}, onClose: handleOnCloseModal, autoOpenWindow: false, ...modalPropsOthers })), showMask && formHtmlString && (jsxRuntimeExports.jsx(PayMask, { visible: showMask, onClose: () => {
|
|
9713
9733
|
setShowMask(false);
|
|
9714
9734
|
onMaskClose?.();
|
|
9715
9735
|
}, payUrl: formHtmlString, title: '支付宝', autoOpenWindow: false, ...restMaskProps }))] }));
|
|
@@ -9821,7 +9841,7 @@
|
|
|
9821
9841
|
setUncontrolledVisible(false);
|
|
9822
9842
|
}
|
|
9823
9843
|
onClose?.();
|
|
9824
|
-
}, ...others, children: _alipayProps
|
|
9844
|
+
}, ...others, children: _alipayProps && jsxRuntimeExports.jsx(Alipay, { ..._alipayProps }) }));
|
|
9825
9845
|
});
|
|
9826
9846
|
AlipayModal.displayName = 'AlipayModal';
|
|
9827
9847
|
var AlipayModal$1 = React.memo(AlipayModal);
|
|
@@ -9833,7 +9853,7 @@
|
|
|
9833
9853
|
React.useImperativeHandle(ref, () => alipayButtonRef.current);
|
|
9834
9854
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
9835
9855
|
if (createOrder) {
|
|
9836
|
-
const options = await createOrder
|
|
9856
|
+
const options = await createOrder();
|
|
9837
9857
|
if (options) {
|
|
9838
9858
|
alipayModalRef?.current?.open(options);
|
|
9839
9859
|
}
|
|
@@ -16240,7 +16260,7 @@
|
|
|
16240
16260
|
React.useImperativeHandle(ref, () => wechatButtonRef.current);
|
|
16241
16261
|
const handlePayCreateOrder = React.useCallback(async () => {
|
|
16242
16262
|
if (createOrder) {
|
|
16243
|
-
const options = await createOrder
|
|
16263
|
+
const options = await createOrder();
|
|
16244
16264
|
wechatModalRef.current?.open(options);
|
|
16245
16265
|
}
|
|
16246
16266
|
}, [createOrder]);
|