@paypal/checkout-components 5.0.256 → 5.0.258
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 +8 -0
- package/__sdk__.js +72 -76
- package/dist/button.js +1 -1
- package/globals.js +28 -30
- package/package.json +6 -4
- package/src/constants/button.js +37 -36
- package/src/constants/class.js +32 -30
- package/src/constants/index.js +3 -3
- package/src/constants/misc.js +14 -12
- package/src/declarations.js +19 -19
- package/src/funding/applepay/config.jsx +51 -50
- package/src/funding/applepay/index.js +1 -1
- package/src/funding/applepay/style.scoped.scss +1 -1
- package/src/funding/applepay/template.jsx +16 -11
- package/src/funding/bancontact/config.jsx +48 -37
- package/src/funding/bancontact/index.js +1 -2
- package/src/funding/blik/config.jsx +48 -37
- package/src/funding/blik/index.js +1 -2
- package/src/funding/boleto/config.jsx +50 -39
- package/src/funding/boleto/index.js +1 -2
- package/src/funding/card/amex/config.js +9 -8
- package/src/funding/card/amex/index.js +1 -2
- package/src/funding/card/config.jsx +246 -177
- package/src/funding/card/discover/config.js +9 -7
- package/src/funding/card/discover/index.js +1 -2
- package/src/funding/card/elo/config.js +6 -7
- package/src/funding/card/elo/index.js +1 -2
- package/src/funding/card/hiper/config.js +9 -7
- package/src/funding/card/hiper/index.js +1 -2
- package/src/funding/card/index.js +1 -1
- package/src/funding/card/jcb/config.js +6 -7
- package/src/funding/card/jcb/index.js +1 -2
- package/src/funding/card/mastercard/config.js +9 -7
- package/src/funding/card/mastercard/index.js +1 -2
- package/src/funding/card/visa/config.js +9 -7
- package/src/funding/card/visa/index.js +1 -2
- package/src/funding/common.jsx +242 -216
- package/src/funding/config.js +212 -65
- package/src/funding/content.jsx +1946 -337
- package/src/funding/credit/config.jsx +74 -57
- package/src/funding/credit/index.js +1 -2
- package/src/funding/eps/config.jsx +45 -37
- package/src/funding/eps/index.js +1 -2
- package/src/funding/funding.js +193 -100
- package/src/funding/giropay/config.jsx +48 -38
- package/src/funding/giropay/index.js +1 -2
- package/src/funding/ideal/config.jsx +48 -37
- package/src/funding/ideal/index.js +1 -2
- package/src/funding/index.js +2 -2
- package/src/funding/itau/config.jsx +41 -41
- package/src/funding/itau/index.js +1 -1
- package/src/funding/maxima/config.jsx +25 -19
- package/src/funding/maxima/index.js +1 -2
- package/src/funding/mercadopago/config.jsx +48 -37
- package/src/funding/mercadopago/index.js +1 -2
- package/src/funding/multibanco/config.jsx +50 -39
- package/src/funding/multibanco/index.js +1 -2
- package/src/funding/mybank/config.jsx +48 -37
- package/src/funding/mybank/index.js +1 -2
- package/src/funding/oxxo/config.jsx +50 -39
- package/src/funding/oxxo/index.js +1 -2
- package/src/funding/p24/config.jsx +45 -37
- package/src/funding/p24/index.js +1 -2
- package/src/funding/paidy/config.jsx +50 -39
- package/src/funding/paidy/index.js +1 -1
- package/src/funding/paylater/config.jsx +118 -111
- package/src/funding/paylater/index.js +1 -2
- package/src/funding/paypal/config.jsx +44 -46
- package/src/funding/paypal/index.js +1 -2
- package/src/funding/paypal/style.scoped.scss +80 -74
- package/src/funding/paypal/template.jsx +450 -354
- package/src/funding/payu/config.jsx +50 -39
- package/src/funding/payu/index.js +1 -1
- package/src/funding/satispay/config.jsx +50 -39
- package/src/funding/satispay/index.js +1 -1
- package/src/funding/sepa/config.jsx +19 -13
- package/src/funding/sepa/index.js +1 -2
- package/src/funding/sofort/config.jsx +48 -37
- package/src/funding/sofort/index.js +1 -2
- package/src/funding/trustly/config.jsx +50 -39
- package/src/funding/trustly/index.js +1 -2
- package/src/funding/venmo/config.jsx +80 -75
- package/src/funding/venmo/index.js +1 -2
- package/src/funding/venmo/style.scoped.scss +30 -32
- package/src/funding/venmo/template.jsx +56 -57
- package/src/funding/verkkopankki/config.jsx +50 -39
- package/src/funding/verkkopankki/index.js +1 -1
- package/src/funding/wechatpay/config.jsx +48 -37
- package/src/funding/wechatpay/index.js +1 -2
- package/src/funding/zimpler/config.jsx +19 -13
- package/src/funding/zimpler/index.js +1 -2
- package/src/interface/button.js +60 -44
- package/src/interface/card-fields.js +11 -8
- package/src/interface/fields.js +7 -4
- package/src/interface/marks.js +4 -4
- package/src/interface/payment-fields.js +7 -4
- package/src/interface/wallet.js +4 -4
- package/src/lib/errors.js +7 -7
- package/src/lib/index.js +5 -5
- package/src/lib/isRTLLanguage.js +3 -3
- package/src/lib/perceived-latency-instrumentation.js +54 -36
- package/src/lib/security.js +21 -17
- package/src/lib/session.js +39 -35
- package/src/marks/component.jsx +114 -65
- package/src/marks/index.js +1 -2
- package/src/marks/template.jsx +79 -65
- package/src/types.js +48 -48
- package/src/ui/buttons/button.jsx +311 -249
- package/src/ui/buttons/buttonDesigns/control.jsx +3 -5
- package/src/ui/buttons/buttonDesigns/divideLogoAnimation.jsx +127 -99
- package/src/ui/buttons/buttonDesigns/index.js +78 -75
- package/src/ui/buttons/buttonDesigns/inlineLogoTextDesign.jsx +102 -82
- package/src/ui/buttons/buttonDesigns/script.jsx +24 -18
- package/src/ui/buttons/buttonDesigns/types.js +6 -7
- package/src/ui/buttons/buttons.jsx +318 -212
- package/src/ui/buttons/config.js +62 -59
- package/src/ui/buttons/content.jsx +304 -119
- package/src/ui/buttons/index.js +1 -1
- package/src/ui/buttons/menu-button/index.js +1 -1
- package/src/ui/buttons/menu-button/menu-button.jsx +29 -22
- package/src/ui/buttons/menu-button/menu-button.scoped.scss +16 -17
- package/src/ui/buttons/poweredBy.jsx +23 -23
- package/src/ui/buttons/props.js +680 -529
- package/src/ui/buttons/script.jsx +182 -160
- package/src/ui/buttons/spinner.jsx +4 -6
- package/src/ui/buttons/style.jsx +15 -14
- package/src/ui/buttons/styles/base.js +24 -16
- package/src/ui/buttons/styles/button.js +24 -22
- package/src/ui/buttons/styles/color.js +118 -118
- package/src/ui/buttons/styles/custom.js +30 -24
- package/src/ui/buttons/styles/index.js +1 -1
- package/src/ui/buttons/styles/labels.js +17 -13
- package/src/ui/buttons/styles/page.js +3 -3
- package/src/ui/buttons/styles/responsive.js +226 -118
- package/src/ui/buttons/tagline.jsx +53 -54
- package/src/ui/chevron.jsx +27 -16
- package/src/ui/index.js +3 -3
- package/src/ui/loading.jsx +25 -18
- package/src/ui/text/index.js +1 -1
- package/src/ui/text/style.scoped.scss +25 -26
- package/src/ui/text/text.jsx +42 -20
- package/src/ui/tracking.jsx +18 -11
- package/src/zoid/buttons/component.jsx +836 -684
- package/src/zoid/buttons/container.jsx +140 -107
- package/src/zoid/buttons/index.js +1 -1
- package/src/zoid/buttons/prerender.jsx +84 -64
- package/src/zoid/buttons/util.js +355 -254
- package/src/zoid/card-fields/component.jsx +581 -549
- package/src/zoid/card-fields/index.js +1 -1
- package/src/zoid/card-fields/prerender.jsx +20 -17
- package/src/zoid/card-form/component.js +155 -141
- package/src/zoid/card-form/index.js +1 -1
- package/src/zoid/checkout/component.jsx +314 -282
- package/src/zoid/checkout/config.js +2 -2
- package/src/zoid/checkout/content.js +190 -154
- package/src/zoid/checkout/hacks.js +31 -28
- package/src/zoid/checkout/index.js +2 -2
- package/src/zoid/checkout/props.js +27 -33
- package/src/zoid/installments/component.jsx +83 -70
- package/src/zoid/installments/index.js +1 -1
- package/src/zoid/installments/props.js +1 -1
- package/src/zoid/menu/component.jsx +53 -48
- package/src/zoid/menu/index.js +1 -1
- package/src/zoid/menu/props.js +1 -3
- package/src/zoid/modal/component.jsx +119 -106
- package/src/zoid/modal/index.js +1 -1
- package/src/zoid/modal/props.js +1 -3
- package/src/zoid/payment-fields/component.jsx +215 -191
- package/src/zoid/payment-fields/container.jsx +73 -64
- package/src/zoid/payment-fields/index.js +1 -1
- package/src/zoid/payment-fields/prerender.jsx +16 -14
- package/src/zoid/payment-fields/props.js +6 -6
- package/src/zoid/qr-code/component.jsx +131 -115
- package/src/zoid/qr-code/container.jsx +74 -68
- package/src/zoid/qr-code/index.js +1 -1
- package/src/zoid/qr-code/prerender.jsx +17 -12
- package/src/zoid/qr-code/types.js +2 -2
- package/src/zoid/wallet/component.jsx +298 -260
- package/src/zoid/wallet/container.jsx +73 -64
- package/src/zoid/wallet/index.js +1 -1
- package/src/zoid/wallet/prerender.jsx +14 -14
- package/src/zoid/wallet/props.js +4 -4
- package/src/actions/save/index.js +0 -40
- package/src/interface/actions.js +0 -14
- package/src/lib/getLogoCDNExperiment.js +0 -25
package/src/funding/config.js
CHANGED
|
@@ -1,70 +1,217 @@
|
|
|
1
1
|
/* @flow */
|
|
2
2
|
|
|
3
|
-
import { FUNDING } from
|
|
4
|
-
import { inlineMemoize } from
|
|
3
|
+
import { FUNDING } from "@paypal/sdk-constants/src";
|
|
4
|
+
import { inlineMemoize } from "@krakenjs/belter/src";
|
|
5
5
|
|
|
6
|
-
import { type FundingSourceConfig } from
|
|
7
|
-
import { getPayPalConfig } from
|
|
8
|
-
import { getVenmoConfig } from
|
|
9
|
-
import { getApplePayConfig } from
|
|
10
|
-
import { getItauConfig } from
|
|
11
|
-
import { getCreditConfig } from
|
|
12
|
-
import { getPaylaterConfig } from
|
|
13
|
-
import { getCardConfig } from
|
|
14
|
-
import { getIdealConfig } from
|
|
15
|
-
import { getSepaConfig } from
|
|
16
|
-
import { getBancontactConfig } from
|
|
17
|
-
import { getGiropayConfig } from
|
|
18
|
-
import { getSofortConfig } from
|
|
19
|
-
import { getEpsConfig } from
|
|
20
|
-
import { getMybankConfig } from
|
|
21
|
-
import { getP24Config } from
|
|
22
|
-
import { getZimplerConfig } from
|
|
23
|
-
import { getWechatpayConfig } from
|
|
24
|
-
import { getPayuConfig } from
|
|
25
|
-
import { getVerkkopankkiConfig } from
|
|
26
|
-
import { getBlikConfig } from
|
|
27
|
-
import { getTrustlyConfig } from
|
|
28
|
-
import { getOxxoConfig } from
|
|
29
|
-
import { getBoletoConfig } from
|
|
30
|
-
import { getMaximaConfig } from
|
|
31
|
-
import { getMercadopagoConfig } from
|
|
32
|
-
import { getMultibancoConfig } from
|
|
33
|
-
import { getSatispayConfig } from
|
|
34
|
-
import { getPaidyConfig } from
|
|
6
|
+
import { type FundingSourceConfig } from "./common";
|
|
7
|
+
import { getPayPalConfig } from "./paypal";
|
|
8
|
+
import { getVenmoConfig } from "./venmo";
|
|
9
|
+
import { getApplePayConfig } from "./applepay";
|
|
10
|
+
import { getItauConfig } from "./itau";
|
|
11
|
+
import { getCreditConfig } from "./credit";
|
|
12
|
+
import { getPaylaterConfig } from "./paylater";
|
|
13
|
+
import { getCardConfig } from "./card";
|
|
14
|
+
import { getIdealConfig } from "./ideal";
|
|
15
|
+
import { getSepaConfig } from "./sepa";
|
|
16
|
+
import { getBancontactConfig } from "./bancontact";
|
|
17
|
+
import { getGiropayConfig } from "./giropay";
|
|
18
|
+
import { getSofortConfig } from "./sofort";
|
|
19
|
+
import { getEpsConfig } from "./eps";
|
|
20
|
+
import { getMybankConfig } from "./mybank";
|
|
21
|
+
import { getP24Config } from "./p24";
|
|
22
|
+
import { getZimplerConfig } from "./zimpler";
|
|
23
|
+
import { getWechatpayConfig } from "./wechatpay";
|
|
24
|
+
import { getPayuConfig } from "./payu";
|
|
25
|
+
import { getVerkkopankkiConfig } from "./verkkopankki";
|
|
26
|
+
import { getBlikConfig } from "./blik";
|
|
27
|
+
import { getTrustlyConfig } from "./trustly";
|
|
28
|
+
import { getOxxoConfig } from "./oxxo";
|
|
29
|
+
import { getBoletoConfig } from "./boleto";
|
|
30
|
+
import { getMaximaConfig } from "./maxima";
|
|
31
|
+
import { getMercadopagoConfig } from "./mercadopago";
|
|
32
|
+
import { getMultibancoConfig } from "./multibanco";
|
|
33
|
+
import { getSatispayConfig } from "./satispay";
|
|
34
|
+
import { getPaidyConfig } from "./paidy";
|
|
35
35
|
|
|
36
|
-
export function getFundingConfig()
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
36
|
+
export function getFundingConfig(): {
|
|
37
|
+
[$Values<typeof FUNDING>]: ?FundingSourceConfig,
|
|
38
|
+
} {
|
|
39
|
+
return inlineMemoize(getFundingConfig, () => {
|
|
40
|
+
return {
|
|
41
|
+
[FUNDING.PAYPAL]:
|
|
42
|
+
!__TREE_SHAKE__ ||
|
|
43
|
+
(typeof __FUNDING_ELIGIBILITY__.paypal !== "undefined" &&
|
|
44
|
+
__FUNDING_ELIGIBILITY__.paypal.eligible)
|
|
45
|
+
? getPayPalConfig()
|
|
46
|
+
: null,
|
|
47
|
+
[FUNDING.VENMO]:
|
|
48
|
+
!__TREE_SHAKE__ ||
|
|
49
|
+
(typeof __FUNDING_ELIGIBILITY__.venmo !== "undefined" &&
|
|
50
|
+
__FUNDING_ELIGIBILITY__.venmo.eligible)
|
|
51
|
+
? getVenmoConfig()
|
|
52
|
+
: null,
|
|
53
|
+
[FUNDING.APPLEPAY]:
|
|
54
|
+
!__TREE_SHAKE__ ||
|
|
55
|
+
(typeof __FUNDING_ELIGIBILITY__.applepay !== "undefined" &&
|
|
56
|
+
__FUNDING_ELIGIBILITY__.applepay.eligible)
|
|
57
|
+
? getApplePayConfig()
|
|
58
|
+
: null,
|
|
59
|
+
[FUNDING.ITAU]:
|
|
60
|
+
!__TREE_SHAKE__ ||
|
|
61
|
+
(typeof __FUNDING_ELIGIBILITY__.itau !== "undefined" &&
|
|
62
|
+
__FUNDING_ELIGIBILITY__.itau.eligible)
|
|
63
|
+
? getItauConfig()
|
|
64
|
+
: null,
|
|
65
|
+
[FUNDING.CREDIT]:
|
|
66
|
+
!__TREE_SHAKE__ ||
|
|
67
|
+
(typeof __FUNDING_ELIGIBILITY__.credit !== "undefined" &&
|
|
68
|
+
__FUNDING_ELIGIBILITY__.credit.eligible)
|
|
69
|
+
? getCreditConfig()
|
|
70
|
+
: null,
|
|
71
|
+
[FUNDING.PAYLATER]:
|
|
72
|
+
!__TREE_SHAKE__ ||
|
|
73
|
+
(typeof __FUNDING_ELIGIBILITY__.paylater !== "undefined" &&
|
|
74
|
+
__FUNDING_ELIGIBILITY__.paylater.eligible)
|
|
75
|
+
? getPaylaterConfig()
|
|
76
|
+
: null,
|
|
77
|
+
[FUNDING.CARD]:
|
|
78
|
+
!__TREE_SHAKE__ ||
|
|
79
|
+
(typeof __FUNDING_ELIGIBILITY__.card !== "undefined" &&
|
|
80
|
+
__FUNDING_ELIGIBILITY__.card.eligible)
|
|
81
|
+
? getCardConfig()
|
|
82
|
+
: null,
|
|
83
|
+
[FUNDING.IDEAL]:
|
|
84
|
+
!__TREE_SHAKE__ ||
|
|
85
|
+
(typeof __FUNDING_ELIGIBILITY__.ideal !== "undefined" &&
|
|
86
|
+
__FUNDING_ELIGIBILITY__.ideal.eligible)
|
|
87
|
+
? getIdealConfig()
|
|
88
|
+
: null,
|
|
89
|
+
[FUNDING.SEPA]:
|
|
90
|
+
!__TREE_SHAKE__ ||
|
|
91
|
+
(typeof __FUNDING_ELIGIBILITY__.sepa !== "undefined" &&
|
|
92
|
+
__FUNDING_ELIGIBILITY__.sepa.eligible)
|
|
93
|
+
? getSepaConfig()
|
|
94
|
+
: null,
|
|
95
|
+
[FUNDING.BANCONTACT]:
|
|
96
|
+
!__TREE_SHAKE__ ||
|
|
97
|
+
(typeof __FUNDING_ELIGIBILITY__.bancontact !== "undefined" &&
|
|
98
|
+
__FUNDING_ELIGIBILITY__.bancontact.eligible)
|
|
99
|
+
? getBancontactConfig()
|
|
100
|
+
: null,
|
|
101
|
+
[FUNDING.GIROPAY]:
|
|
102
|
+
!__TREE_SHAKE__ ||
|
|
103
|
+
(typeof __FUNDING_ELIGIBILITY__.giropay !== "undefined" &&
|
|
104
|
+
__FUNDING_ELIGIBILITY__.giropay.eligible)
|
|
105
|
+
? getGiropayConfig()
|
|
106
|
+
: null,
|
|
107
|
+
[FUNDING.SOFORT]:
|
|
108
|
+
!__TREE_SHAKE__ ||
|
|
109
|
+
(typeof __FUNDING_ELIGIBILITY__.sofort !== "undefined" &&
|
|
110
|
+
__FUNDING_ELIGIBILITY__.sofort.eligible)
|
|
111
|
+
? getSofortConfig()
|
|
112
|
+
: null,
|
|
113
|
+
[FUNDING.EPS]:
|
|
114
|
+
!__TREE_SHAKE__ ||
|
|
115
|
+
(typeof __FUNDING_ELIGIBILITY__.eps !== "undefined" &&
|
|
116
|
+
__FUNDING_ELIGIBILITY__.eps.eligible)
|
|
117
|
+
? getEpsConfig()
|
|
118
|
+
: null,
|
|
119
|
+
[FUNDING.MYBANK]:
|
|
120
|
+
!__TREE_SHAKE__ ||
|
|
121
|
+
(typeof __FUNDING_ELIGIBILITY__.mybank !== "undefined" &&
|
|
122
|
+
__FUNDING_ELIGIBILITY__.mybank.eligible)
|
|
123
|
+
? getMybankConfig()
|
|
124
|
+
: null,
|
|
125
|
+
[FUNDING.P24]:
|
|
126
|
+
!__TREE_SHAKE__ ||
|
|
127
|
+
(typeof __FUNDING_ELIGIBILITY__.p24 !== "undefined" &&
|
|
128
|
+
__FUNDING_ELIGIBILITY__.p24.eligible)
|
|
129
|
+
? getP24Config()
|
|
130
|
+
: null,
|
|
131
|
+
[FUNDING.PAYU]:
|
|
132
|
+
!__TREE_SHAKE__ ||
|
|
133
|
+
(typeof __FUNDING_ELIGIBILITY__.payu !== "undefined" &&
|
|
134
|
+
__FUNDING_ELIGIBILITY__.payu.eligible)
|
|
135
|
+
? getPayuConfig()
|
|
136
|
+
: null,
|
|
137
|
+
[FUNDING.VERKKOPANKKI]:
|
|
138
|
+
!__TREE_SHAKE__ ||
|
|
139
|
+
(typeof __FUNDING_ELIGIBILITY__.verkkopankki !== "undefined" &&
|
|
140
|
+
__FUNDING_ELIGIBILITY__.verkkopankki.eligible)
|
|
141
|
+
? getVerkkopankkiConfig()
|
|
142
|
+
: null,
|
|
143
|
+
[FUNDING.BLIK]:
|
|
144
|
+
!__TREE_SHAKE__ ||
|
|
145
|
+
(typeof __FUNDING_ELIGIBILITY__.blik !== "undefined" &&
|
|
146
|
+
__FUNDING_ELIGIBILITY__.blik.eligible)
|
|
147
|
+
? getBlikConfig()
|
|
148
|
+
: null,
|
|
149
|
+
[FUNDING.TRUSTLY]:
|
|
150
|
+
!__TREE_SHAKE__ ||
|
|
151
|
+
(typeof __FUNDING_ELIGIBILITY__.trustly !== "undefined" &&
|
|
152
|
+
__FUNDING_ELIGIBILITY__.trustly.eligible)
|
|
153
|
+
? getTrustlyConfig()
|
|
154
|
+
: null,
|
|
155
|
+
[FUNDING.ZIMPLER]:
|
|
156
|
+
!__TREE_SHAKE__ ||
|
|
157
|
+
(typeof __FUNDING_ELIGIBILITY__.zimpler !== "undefined" &&
|
|
158
|
+
__FUNDING_ELIGIBILITY__.zimpler.eligible)
|
|
159
|
+
? getZimplerConfig()
|
|
160
|
+
: null,
|
|
161
|
+
[FUNDING.WECHATPAY]:
|
|
162
|
+
!__TREE_SHAKE__ ||
|
|
163
|
+
(typeof __FUNDING_ELIGIBILITY__.wechatpay !== "undefined" &&
|
|
164
|
+
__FUNDING_ELIGIBILITY__.wechatpay.eligible)
|
|
165
|
+
? getWechatpayConfig()
|
|
166
|
+
: null,
|
|
167
|
+
[FUNDING.OXXO]:
|
|
168
|
+
!__TREE_SHAKE__ ||
|
|
169
|
+
(typeof __FUNDING_ELIGIBILITY__.oxxo !== "undefined" &&
|
|
170
|
+
__FUNDING_ELIGIBILITY__.oxxo.eligible)
|
|
171
|
+
? getOxxoConfig()
|
|
172
|
+
: null,
|
|
173
|
+
[FUNDING.BOLETO]:
|
|
174
|
+
!__TREE_SHAKE__ ||
|
|
175
|
+
(typeof __FUNDING_ELIGIBILITY__.boleto !== "undefined" &&
|
|
176
|
+
__FUNDING_ELIGIBILITY__.boleto.eligible)
|
|
177
|
+
? getBoletoConfig()
|
|
178
|
+
: null,
|
|
179
|
+
[FUNDING.BOLETOBANCARIO]:
|
|
180
|
+
!__TREE_SHAKE__ ||
|
|
181
|
+
(typeof __FUNDING_ELIGIBILITY__.boletobancario !== "undefined" &&
|
|
182
|
+
__FUNDING_ELIGIBILITY__.boletobancario.eligible)
|
|
183
|
+
? getBoletoConfig()
|
|
184
|
+
: null,
|
|
185
|
+
[FUNDING.MAXIMA]:
|
|
186
|
+
!__TREE_SHAKE__ ||
|
|
187
|
+
(typeof __FUNDING_ELIGIBILITY__.maxima !== "undefined" &&
|
|
188
|
+
__FUNDING_ELIGIBILITY__.maxima.eligible)
|
|
189
|
+
? getMaximaConfig()
|
|
190
|
+
: null,
|
|
191
|
+
[FUNDING.MERCADOPAGO]:
|
|
192
|
+
!__TREE_SHAKE__ ||
|
|
193
|
+
(typeof __FUNDING_ELIGIBILITY__.mercadopago !== "undefined" &&
|
|
194
|
+
__FUNDING_ELIGIBILITY__.mercadopago.eligible)
|
|
195
|
+
? getMercadopagoConfig()
|
|
196
|
+
: null,
|
|
197
|
+
[FUNDING.MULTIBANCO]:
|
|
198
|
+
!__TREE_SHAKE__ ||
|
|
199
|
+
(typeof __FUNDING_ELIGIBILITY__.multibanco !== "undefined" &&
|
|
200
|
+
__FUNDING_ELIGIBILITY__.multibanco.eligible)
|
|
201
|
+
? getMultibancoConfig()
|
|
202
|
+
: null,
|
|
203
|
+
[FUNDING.SATISPAY]:
|
|
204
|
+
!__TREE_SHAKE__ ||
|
|
205
|
+
(typeof __FUNDING_ELIGIBILITY__.satispay !== "undefined" &&
|
|
206
|
+
__FUNDING_ELIGIBILITY__.satispay.eligible)
|
|
207
|
+
? getSatispayConfig()
|
|
208
|
+
: null,
|
|
209
|
+
[FUNDING.PAIDY]:
|
|
210
|
+
!__TREE_SHAKE__ ||
|
|
211
|
+
(typeof __FUNDING_ELIGIBILITY__.paidy !== "undefined" &&
|
|
212
|
+
__FUNDING_ELIGIBILITY__.paidy.eligible)
|
|
213
|
+
? getPaidyConfig()
|
|
214
|
+
: null,
|
|
215
|
+
};
|
|
216
|
+
});
|
|
70
217
|
}
|