@globalpayments/js 4.1.1 → 4.1.6
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 +1 -1
- package/package.json +1 -6
- package/types/apm/non-card-payments/contracts.d.ts +1 -0
- package/types/internal/built-in-validations/constants.d.ts +1 -0
- package/types/internal/built-in-validations/helpers.d.ts +2 -0
- package/types/internal/lib/bank-selection/available-banks-data.d.ts +2 -0
- package/types/internal/lib/bank-selection/contracts.d.ts +56 -0
- package/types/internal/lib/bank-selection/helpers.d.ts +5 -0
- package/types/internal/lib/enums.d.ts +6 -2
- package/types/internal/lib/order-information/constants.d.ts +1 -0
- package/types/internal/lib/order-information/contracts.d.ts +6 -0
- package/types/internal/lib/styles/bank-selection/common.d.ts +52 -0
- package/types/internal/lib/styles/currency-conversion/common.d.ts +13 -0
- package/types/internal/lib/styles/currency-conversion/default.d.ts +17 -0
- package/types/internal/lib/styles/currency-conversion/gp-default.d.ts +13 -0
- package/types/internal/lib/styles/currency-conversion/simple.d.ts +13 -0
- package/types/internal/lib/styles/default.d.ts +115 -8
- package/types/internal/lib/styles/gp-default.d.ts +111 -8
- package/types/internal/lib/styles/order-information/common.d.ts +19 -0
- package/types/internal/lib/styles/payment-methods/common.d.ts +33 -8
- package/types/internal/lib/styles/payment-methods/open-banking.d.ts +33 -8
- package/types/internal/lib/styles/simple.d.ts +78 -0
- package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +159 -8
- package/types/internal/lib/styles/themes/brand-themes/base/base-token-definition.d.ts +24 -0
- package/types/internal/lib/styles/themes/brand-themes/base/contracts.d.ts +14 -0
- package/types/internal/lib/translations/cs.d.ts +14 -0
- package/types/internal/lib/translations/de.d.ts +13 -0
- package/types/internal/lib/translations/el.d.ts +13 -0
- package/types/internal/lib/translations/en.d.ts +8 -0
- package/types/internal/lib/translations/es.d.ts +7 -0
- package/types/internal/lib/translations/fr.d.ts +13 -0
- package/types/internal/lib/translations/hr.d.ts +13 -0
- package/types/internal/lib/translations/hu.d.ts +13 -0
- package/types/internal/lib/translations/it.d.ts +13 -0
- package/types/internal/lib/translations/ja.d.ts +13 -0
- package/types/internal/lib/translations/mt.d.ts +13 -0
- package/types/internal/lib/translations/nl.d.ts +13 -0
- package/types/internal/lib/translations/pl.d.ts +14 -0
- package/types/internal/lib/translations/pt.d.ts +13 -0
- package/types/internal/lib/translations/ro.d.ts +13 -0
- package/types/internal/lib/translations/ru.d.ts +13 -0
- package/types/internal/lib/translations/sk.d.ts +14 -0
- package/types/internal/lib/translations/sl.d.ts +13 -0
- package/types/internal/lib/translations/sv.d.ts +13 -0
- package/types/internal/lib/translations/tr.d.ts +13 -0
- package/types/internal/lib/translations/uk.d.ts +13 -0
- package/types/internal/lib/translations/vi.d.ts +13 -0
- package/types/internal/lib/translations/zh.d.ts +3 -0
- package/types/lib/version.d.ts +1 -1
- package/types/tools/configure.d.ts +7 -0
- package/types/ui/components/bank-selection/action-add-bank-selection.d.ts +3 -0
- package/types/ui/components/order-information/action-add-order-information.d.ts +2 -0
- package/types/ui/form/index.d.ts +339 -116
- package/types/ui/iframe-field/payment-methods/action-add.d.ts +1 -1
- package/types/apm/qr-code-payments/components/redirect-action-handler.d.ts +0 -1
- package/types/apm/qr-code-payments/constants.d.ts +0 -1
- package/types/apm/qr-code-payments/enums.d.ts +0 -10
- package/types/internal/gateways/gp-api/get-qr-code-payment-methods.d.ts +0 -3
- package/types/internal/lib/styles/apple-pay/default.d.ts +0 -12
- package/types/internal/lib/styles/apple-pay/gp-default.d.ts +0 -12
- package/types/internal/lib/styles/apple-pay/simple.d.ts +0 -12
- package/types/internal/lib/styles/google-pay/default.d.ts +0 -7
- package/types/internal/lib/styles/google-pay/gp-default.d.ts +0 -7
- package/types/internal/lib/styles/google-pay/simple.d.ts +0 -7
- package/types/internal/lib/styles/qr-code-payments/common.d.ts +0 -151
- package/types/ui/iframe-field/action-accumulate-installment-data.d.ts +0 -3
- package/types/ui/iframe-field/action-add-apple-pay.d.ts +0 -2
- package/types/ui/iframe-field/action-add-click-to-pay.d.ts +0 -2
- package/types/ui/iframe-field/action-add-google-pay.d.ts +0 -2
- package/types/ui/iframe-field/action-add-installments.d.ts +0 -3
- package/types/ui/iframe-field/action-add-open-banking.d.ts +0 -2
- package/types/ui/iframe-field/action-add-qr-code-payment-methods.d.ts +0 -3
- package/types/ui/iframe-field/action-card-request-installments.d.ts +0 -6
- package/types/ui/iframe-field/action-qr-code-payment-methods-request-start.d.ts +0 -6
- package/types/ui/iframe-field/action-request-installment-data.d.ts +0 -3
- package/types/ui/iframe-field/open-banking/action-add.d.ts +0 -2
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ This plugin allows you to use online payments (eCommerce) features of a variety
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
26
26
|
```html
|
|
27
|
-
<script src="https://js.globalpay.com/4.1.
|
|
27
|
+
<script src="https://js.globalpay.com/4.1.6/globalpayments.js"></script>
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
> Note: Installing via NPM will only provide TypeScript types for type-checking.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globalpayments/js",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"author": "Heartland Developer Portal <developers@heartland.us>",
|
|
5
5
|
"license": "GPL-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -17,15 +17,10 @@
|
|
|
17
17
|
"clean": "rimraf dist",
|
|
18
18
|
"cypress:open": "cypress open",
|
|
19
19
|
"format": "prettier --write config/**/* src/**/* !src/assets/**/* !test/run.sh !test/run.ps1 test/fixtures/**/*.html",
|
|
20
|
-
|
|
21
20
|
"postbuild": "xcopy src\\assets dist\\ /e/y/h && node bin/replace-gp-ref.js",
|
|
22
|
-
|
|
23
21
|
"prebuild": "yarn test:lint && node bin/update-version.js",
|
|
24
22
|
"prepublish": "yarn build",
|
|
25
|
-
|
|
26
23
|
"test": "cross-os test-cross",
|
|
27
|
-
|
|
28
|
-
|
|
29
24
|
"test:integration": "cypress run",
|
|
30
25
|
"test:lint": "tslint --project tsconfig.json",
|
|
31
26
|
"test:serve": "serve -p 7777"
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { IApmConfiguration } from "../../apm/non-card-payments/contracts";
|
|
1
2
|
export declare const showHostedFieldValidation: (fieldId: string | null, validationMessage: string, target?: string | undefined) => void;
|
|
2
3
|
export declare const hideHostedFieldValidation: (fieldId: string | null, target?: string | undefined) => void;
|
|
3
4
|
export declare const resetValidationRoundCounter: () => void;
|
|
4
5
|
export declare const getValidationRoundCounter: () => number;
|
|
5
6
|
export declare const increaseValidationRoundCounter: () => void;
|
|
6
7
|
export declare const removeValidationRoundCounter: () => void;
|
|
8
|
+
export declare const isBlikAvailable: (countryCode: string | undefined, options: IApmConfiguration | undefined) => boolean;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export interface IBankData {
|
|
2
|
+
countryCode: string;
|
|
3
|
+
currencyCode: string;
|
|
4
|
+
availableBanks: IAvailableBankData[];
|
|
5
|
+
}
|
|
6
|
+
export interface IAvailableBankData {
|
|
7
|
+
name: string;
|
|
8
|
+
displayName: string;
|
|
9
|
+
imageName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare enum BankDisplayNames {
|
|
12
|
+
Pkobankpolskisa = "PKO BP",
|
|
13
|
+
Santander = "Santander",
|
|
14
|
+
Ing = "ING Bank \u015Al\u0105ski",
|
|
15
|
+
Bankpekaosa = "PEKAO SA",
|
|
16
|
+
QRPlatba = "QR Platba",
|
|
17
|
+
Slovenská = "Slovensk\u00E1 sporite\u013E\u0148a",
|
|
18
|
+
Mbank = "mBank",
|
|
19
|
+
Alior = "Alior Bank",
|
|
20
|
+
BNP = "BNP Paribas",
|
|
21
|
+
Millenium = "Millenium",
|
|
22
|
+
Credit = "Credit Agricole",
|
|
23
|
+
Citi = "Citi Handlowy",
|
|
24
|
+
Inteligo = "Inteligo",
|
|
25
|
+
Banki = "Banki Sp\u00F3\u0142dzielcze",
|
|
26
|
+
BOŚ = "BO\u015A Bank",
|
|
27
|
+
Nest = "Nest Bank",
|
|
28
|
+
VeloBank = "VeloBank",
|
|
29
|
+
Nowy = "Bank Nowy S.A.",
|
|
30
|
+
Plus = "PLUS BANK",
|
|
31
|
+
Pocztowy = "Bank Pocztowy",
|
|
32
|
+
Česká = "\u010Cesk\u00E1 spo\u0159itelna",
|
|
33
|
+
ČSOB = "\u010CSOB",
|
|
34
|
+
Komerční = "Komer\u010Dn\u00ED banka",
|
|
35
|
+
Raiffesenbank = "Raiffesenbank",
|
|
36
|
+
Fio = "Fio banka",
|
|
37
|
+
MONETA = "MONETA Money Bank",
|
|
38
|
+
AirBank = "AirBank",
|
|
39
|
+
Tatra = "Tatra banka",
|
|
40
|
+
VÚB = "V\u00DAB banka",
|
|
41
|
+
UniCredit = "UniCredit Bank"
|
|
42
|
+
}
|
|
43
|
+
export declare enum CountryCurrencies {
|
|
44
|
+
Poland = "PLN",
|
|
45
|
+
CzechRepublic = "CZK",
|
|
46
|
+
Slovakia = "EUR"
|
|
47
|
+
}
|
|
48
|
+
export declare enum BankCountries {
|
|
49
|
+
Poland = "PL",
|
|
50
|
+
CzechRepublic = "CZ",
|
|
51
|
+
Slovakia = "SK"
|
|
52
|
+
}
|
|
53
|
+
export interface IBankSelectionProps {
|
|
54
|
+
countryCode: string;
|
|
55
|
+
currencyCode: string;
|
|
56
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IAvailableBankData } from "./contracts";
|
|
2
|
+
export declare const isBankSelectionAvailable: (countryCode: string, currencyCode: string) => boolean;
|
|
3
|
+
export declare const getAvailableBanksByCountry: (countryCode: string | undefined) => IAvailableBankData[];
|
|
4
|
+
export declare const getImageUrl: (assetBaseUrl: string, provider: string, countryCode?: string | undefined) => string;
|
|
5
|
+
export declare const getCountryForQRPlatbaBank: (countryCode: string) => boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HostedFieldStyles as HostedFieldStylesAlias } from "../../common/enums";
|
|
2
2
|
import { BrandThemes as BrandThemesAlias } from "./styles/themes/brand-themes/brand-themes";
|
|
3
|
+
import { BankDisplayNames } from "./bank-selection/contracts";
|
|
3
4
|
export declare enum ApiVersion {
|
|
4
5
|
default = "2021-03-22"
|
|
5
6
|
}
|
|
@@ -9,7 +10,8 @@ export declare enum Apm {
|
|
|
9
10
|
GooglePay = "google-pay",
|
|
10
11
|
OpenBankingPayment = "open-banking",
|
|
11
12
|
PayPal = "paypal",
|
|
12
|
-
QRCodePayments = "qr-code-payments"
|
|
13
|
+
QRCodePayments = "qr-code-payments",
|
|
14
|
+
Blik = "blik"
|
|
13
15
|
}
|
|
14
16
|
export declare enum ApmEvents {
|
|
15
17
|
PaymentMethodActionDetail = "apm-action-details",
|
|
@@ -48,7 +50,8 @@ export declare enum ApmProviders {
|
|
|
48
50
|
AlipayHK = "AlipayHK",
|
|
49
51
|
OpenBanking = "OPEN_BANKING",
|
|
50
52
|
PayPal = "PayPal",
|
|
51
|
-
WeChat = "WeChat"
|
|
53
|
+
WeChat = "WeChat",
|
|
54
|
+
Blik = "blik"
|
|
52
55
|
}
|
|
53
56
|
export declare enum QRCodePaymentsWeChatProviderBrands {
|
|
54
57
|
WeChatBrand = "WeChat",
|
|
@@ -57,3 +60,4 @@ export declare enum QRCodePaymentsWeChatProviderBrands {
|
|
|
57
60
|
}
|
|
58
61
|
export declare const HostedFieldStyles: typeof HostedFieldStylesAlias;
|
|
59
62
|
export declare const BrandThemes: typeof BrandThemesAlias;
|
|
63
|
+
export declare const BankNames: typeof BankDisplayNames;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ORDER_INFORMATION_KEY = "order-information";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const styles: (_assetBaseUrl: string) => {
|
|
2
|
+
".bank-selection-wrapper": {
|
|
3
|
+
background: string;
|
|
4
|
+
padding: string;
|
|
5
|
+
};
|
|
6
|
+
".bank-selection": {
|
|
7
|
+
display: string;
|
|
8
|
+
"align-items": string;
|
|
9
|
+
"flex-flow": string;
|
|
10
|
+
"margin-bottom": string;
|
|
11
|
+
};
|
|
12
|
+
".bank-selecction-option": {
|
|
13
|
+
width: string;
|
|
14
|
+
height: string;
|
|
15
|
+
cursor: string;
|
|
16
|
+
display: string;
|
|
17
|
+
"align-items": string;
|
|
18
|
+
"justify-content": string;
|
|
19
|
+
"box-shadow": string;
|
|
20
|
+
"margin-right": string;
|
|
21
|
+
"margin-left": string;
|
|
22
|
+
"margin-top": string;
|
|
23
|
+
background: string;
|
|
24
|
+
"border-radius": string;
|
|
25
|
+
"flex-direction": string;
|
|
26
|
+
};
|
|
27
|
+
".bank-selecction-option::before": {
|
|
28
|
+
content: string;
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
position: string;
|
|
32
|
+
"margin-left": string;
|
|
33
|
+
};
|
|
34
|
+
".bank-selecction-option:hover": {
|
|
35
|
+
border: string;
|
|
36
|
+
};
|
|
37
|
+
".bank-selecction-option:active": {
|
|
38
|
+
background: string;
|
|
39
|
+
border: string;
|
|
40
|
+
};
|
|
41
|
+
".qr-code-button": {
|
|
42
|
+
background: string;
|
|
43
|
+
};
|
|
44
|
+
".title-text": {
|
|
45
|
+
color: string;
|
|
46
|
+
"font-size": string;
|
|
47
|
+
"font-weight": string;
|
|
48
|
+
"line-height": string;
|
|
49
|
+
"font-family": string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default styles;
|
|
@@ -197,5 +197,18 @@ declare const styles: () => {
|
|
|
197
197
|
right: string;
|
|
198
198
|
};
|
|
199
199
|
};
|
|
200
|
+
"@media(max-width: 340px)": {
|
|
201
|
+
".secure-payment-form .credit-card-currency-conversion fieldset": {
|
|
202
|
+
"flex-flow": string;
|
|
203
|
+
};
|
|
204
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
205
|
+
width: string;
|
|
206
|
+
"margin-bottom": string;
|
|
207
|
+
"margin-right": string;
|
|
208
|
+
};
|
|
209
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button:last-child": {
|
|
210
|
+
"margin-bottom": string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
200
213
|
};
|
|
201
214
|
export default styles;
|
|
@@ -77,6 +77,23 @@ export declare const styles: () => {
|
|
|
77
77
|
"font-family": string;
|
|
78
78
|
margin: string;
|
|
79
79
|
};
|
|
80
|
+
"@media(max-width: 340px)": {
|
|
81
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
82
|
+
"margin-right": string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
"@media(max-width: 768px)": {
|
|
86
|
+
".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
|
|
87
|
+
width: string;
|
|
88
|
+
"margin-top": string;
|
|
89
|
+
"margin-left": string;
|
|
90
|
+
};
|
|
91
|
+
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content": {
|
|
92
|
+
width: string;
|
|
93
|
+
"margin-top": string;
|
|
94
|
+
"margin-left": string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
80
97
|
".secure-payment-form .currency-conversion-container": {
|
|
81
98
|
display: string;
|
|
82
99
|
"flex-direction": string;
|
|
@@ -204,4 +204,17 @@ export declare const styles: () => {
|
|
|
204
204
|
right: string;
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
|
+
"@media(max-width: 340px)": {
|
|
208
|
+
".secure-payment-form .credit-card-currency-conversion fieldset": {
|
|
209
|
+
"flex-flow": string;
|
|
210
|
+
};
|
|
211
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
212
|
+
width: string;
|
|
213
|
+
"margin-bottom": string;
|
|
214
|
+
"margin-right": string;
|
|
215
|
+
};
|
|
216
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button:last-child": {
|
|
217
|
+
"margin-bottom": string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
207
220
|
};
|
|
@@ -206,4 +206,17 @@ export declare const styles: () => {
|
|
|
206
206
|
right: string;
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
|
+
"@media(max-width: 340px)": {
|
|
210
|
+
".secure-payment-form .credit-card-currency-conversion fieldset": {
|
|
211
|
+
"flex-flow": string;
|
|
212
|
+
};
|
|
213
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
214
|
+
width: string;
|
|
215
|
+
"margin-bottom": string;
|
|
216
|
+
"margin-right": string;
|
|
217
|
+
};
|
|
218
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button:last-child": {
|
|
219
|
+
"margin-bottom": string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
209
222
|
};
|
|
@@ -166,6 +166,71 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
168
|
export declare const parentStyles: (assetBaseUrl: string) => {
|
|
169
|
+
".bank-selection-wrapper": {
|
|
170
|
+
background: string;
|
|
171
|
+
padding: string;
|
|
172
|
+
};
|
|
173
|
+
".bank-selection": {
|
|
174
|
+
display: string;
|
|
175
|
+
"align-items": string;
|
|
176
|
+
"flex-flow": string;
|
|
177
|
+
"margin-bottom": string;
|
|
178
|
+
};
|
|
179
|
+
".bank-selecction-option": {
|
|
180
|
+
width: string;
|
|
181
|
+
height: string;
|
|
182
|
+
cursor: string;
|
|
183
|
+
display: string;
|
|
184
|
+
"align-items": string;
|
|
185
|
+
"justify-content": string;
|
|
186
|
+
"box-shadow": string;
|
|
187
|
+
"margin-right": string;
|
|
188
|
+
"margin-left": string;
|
|
189
|
+
"margin-top": string;
|
|
190
|
+
background: string;
|
|
191
|
+
"border-radius": string;
|
|
192
|
+
"flex-direction": string;
|
|
193
|
+
};
|
|
194
|
+
".bank-selecction-option::before": {
|
|
195
|
+
content: string;
|
|
196
|
+
width: string;
|
|
197
|
+
height: string;
|
|
198
|
+
position: string;
|
|
199
|
+
"margin-left": string;
|
|
200
|
+
};
|
|
201
|
+
".bank-selecction-option:hover": {
|
|
202
|
+
border: string;
|
|
203
|
+
};
|
|
204
|
+
".bank-selecction-option:active": {
|
|
205
|
+
background: string;
|
|
206
|
+
border: string;
|
|
207
|
+
};
|
|
208
|
+
".qr-code-button": {
|
|
209
|
+
background: string;
|
|
210
|
+
};
|
|
211
|
+
".title-text": {
|
|
212
|
+
color: string;
|
|
213
|
+
"font-size": string;
|
|
214
|
+
"font-weight": string;
|
|
215
|
+
"line-height": string;
|
|
216
|
+
"font-family": string;
|
|
217
|
+
};
|
|
218
|
+
".order-information"?: {
|
|
219
|
+
display: string;
|
|
220
|
+
"flex-direction": string;
|
|
221
|
+
"align-items": string;
|
|
222
|
+
"font-family": string;
|
|
223
|
+
};
|
|
224
|
+
".title-field"?: {
|
|
225
|
+
"font-weight": string;
|
|
226
|
+
"line-height": string;
|
|
227
|
+
"font-size": string;
|
|
228
|
+
};
|
|
229
|
+
".order-information-field"?: {
|
|
230
|
+
"line-height": string;
|
|
231
|
+
"font-size": string;
|
|
232
|
+
"font-weight": string;
|
|
233
|
+
};
|
|
169
234
|
".secure-payment-form .credit-card-qr-code-payments"?: {
|
|
170
235
|
"font-family": string;
|
|
171
236
|
};
|
|
@@ -307,8 +372,12 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
307
372
|
"flex-direction": string;
|
|
308
373
|
"align-items": string;
|
|
309
374
|
};
|
|
375
|
+
".secure-payment-form .blik-button-wrapper": {
|
|
376
|
+
display: string;
|
|
377
|
+
"flex-direction": string;
|
|
378
|
+
"align-items": string;
|
|
379
|
+
};
|
|
310
380
|
".secure-payment-form .open-banking-button::before": {
|
|
311
|
-
content: string;
|
|
312
381
|
width: string;
|
|
313
382
|
height: string;
|
|
314
383
|
position: string;
|
|
@@ -317,7 +386,6 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
317
386
|
};
|
|
318
387
|
".secure-payment-form .open-banking-button": {
|
|
319
388
|
position: string;
|
|
320
|
-
background: string;
|
|
321
389
|
color: string;
|
|
322
390
|
height: string;
|
|
323
391
|
width: string;
|
|
@@ -325,20 +393,42 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
325
393
|
border: string;
|
|
326
394
|
margin: string;
|
|
327
395
|
cursor: string;
|
|
328
|
-
"-webkit-box-shadow": string;
|
|
329
|
-
"-moz-box-shadow": string;
|
|
330
|
-
"box-shadow": string;
|
|
331
396
|
};
|
|
332
397
|
".secure-payment-form .open-banking-button:hover": {
|
|
333
398
|
"border-color": string;
|
|
334
|
-
"-
|
|
335
|
-
"-moz-box-shadow": string;
|
|
336
|
-
"box-shadow": string;
|
|
399
|
+
"background-color": string;
|
|
337
400
|
};
|
|
338
401
|
".secure-payment-form .open-banking-button:focus": {
|
|
339
402
|
outline: string;
|
|
340
403
|
"outline-offset": string;
|
|
341
404
|
};
|
|
405
|
+
".secure-payment-form .blik-button": {
|
|
406
|
+
position: string;
|
|
407
|
+
background: string;
|
|
408
|
+
color: string;
|
|
409
|
+
height: string;
|
|
410
|
+
width: string;
|
|
411
|
+
"border-radius": string;
|
|
412
|
+
border: string;
|
|
413
|
+
margin: string;
|
|
414
|
+
cursor: string;
|
|
415
|
+
};
|
|
416
|
+
".secure-payment-form .blik-button:hover": {
|
|
417
|
+
"border-color": string;
|
|
418
|
+
"background-color": string;
|
|
419
|
+
};
|
|
420
|
+
".secure-payment-form .blik-button:focus": {
|
|
421
|
+
outline: string;
|
|
422
|
+
"outline-offset": string;
|
|
423
|
+
};
|
|
424
|
+
".secure-payment-form .blik-button::before": {
|
|
425
|
+
content: string;
|
|
426
|
+
width: string;
|
|
427
|
+
height: string;
|
|
428
|
+
position: string;
|
|
429
|
+
top: string;
|
|
430
|
+
right: string;
|
|
431
|
+
};
|
|
342
432
|
".secure-payment-form .link-button": {
|
|
343
433
|
display: string;
|
|
344
434
|
"flex-direction": string;
|
|
@@ -448,6 +538,23 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
448
538
|
"font-family": string;
|
|
449
539
|
margin: string;
|
|
450
540
|
};
|
|
541
|
+
"@media(max-width: 340px)"?: {
|
|
542
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
543
|
+
"margin-right": string;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
"@media(max-width: 768px)"?: {
|
|
547
|
+
".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
|
|
548
|
+
width: string;
|
|
549
|
+
"margin-top": string;
|
|
550
|
+
"margin-left": string;
|
|
551
|
+
};
|
|
552
|
+
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content": {
|
|
553
|
+
width: string;
|
|
554
|
+
"margin-top": string;
|
|
555
|
+
"margin-left": string;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
451
558
|
".secure-payment-form .currency-conversion-container"?: {
|
|
452
559
|
display: string;
|
|
453
560
|
"flex-direction": string;
|
|
@@ -132,6 +132,71 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
134
|
export declare const parentStyles: (assetBaseUrl: string) => {
|
|
135
|
+
".bank-selection-wrapper": {
|
|
136
|
+
background: string;
|
|
137
|
+
padding: string;
|
|
138
|
+
};
|
|
139
|
+
".bank-selection": {
|
|
140
|
+
display: string;
|
|
141
|
+
"align-items": string;
|
|
142
|
+
"flex-flow": string;
|
|
143
|
+
"margin-bottom": string;
|
|
144
|
+
};
|
|
145
|
+
".bank-selecction-option": {
|
|
146
|
+
width: string;
|
|
147
|
+
height: string;
|
|
148
|
+
cursor: string;
|
|
149
|
+
display: string;
|
|
150
|
+
"align-items": string;
|
|
151
|
+
"justify-content": string;
|
|
152
|
+
"box-shadow": string;
|
|
153
|
+
"margin-right": string;
|
|
154
|
+
"margin-left": string;
|
|
155
|
+
"margin-top": string;
|
|
156
|
+
background: string;
|
|
157
|
+
"border-radius": string;
|
|
158
|
+
"flex-direction": string;
|
|
159
|
+
};
|
|
160
|
+
".bank-selecction-option::before": {
|
|
161
|
+
content: string;
|
|
162
|
+
width: string;
|
|
163
|
+
height: string;
|
|
164
|
+
position: string;
|
|
165
|
+
"margin-left": string;
|
|
166
|
+
};
|
|
167
|
+
".bank-selecction-option:hover": {
|
|
168
|
+
border: string;
|
|
169
|
+
};
|
|
170
|
+
".bank-selecction-option:active": {
|
|
171
|
+
background: string;
|
|
172
|
+
border: string;
|
|
173
|
+
};
|
|
174
|
+
".qr-code-button": {
|
|
175
|
+
background: string;
|
|
176
|
+
};
|
|
177
|
+
".title-text": {
|
|
178
|
+
color: string;
|
|
179
|
+
"font-size": string;
|
|
180
|
+
"font-weight": string;
|
|
181
|
+
"line-height": string;
|
|
182
|
+
"font-family": string;
|
|
183
|
+
};
|
|
184
|
+
".order-information"?: {
|
|
185
|
+
display: string;
|
|
186
|
+
"flex-direction": string;
|
|
187
|
+
"align-items": string;
|
|
188
|
+
"font-family": string;
|
|
189
|
+
};
|
|
190
|
+
".title-field"?: {
|
|
191
|
+
"font-weight": string;
|
|
192
|
+
"line-height": string;
|
|
193
|
+
"font-size": string;
|
|
194
|
+
};
|
|
195
|
+
".order-information-field"?: {
|
|
196
|
+
"line-height": string;
|
|
197
|
+
"font-size": string;
|
|
198
|
+
"font-weight": string;
|
|
199
|
+
};
|
|
135
200
|
".secure-payment-form .credit-card-qr-code-payments"?: {
|
|
136
201
|
"font-family": string;
|
|
137
202
|
};
|
|
@@ -273,8 +338,12 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
273
338
|
"flex-direction": string;
|
|
274
339
|
"align-items": string;
|
|
275
340
|
};
|
|
341
|
+
".secure-payment-form .blik-button-wrapper": {
|
|
342
|
+
display: string;
|
|
343
|
+
"flex-direction": string;
|
|
344
|
+
"align-items": string;
|
|
345
|
+
};
|
|
276
346
|
".secure-payment-form .open-banking-button::before": {
|
|
277
|
-
content: string;
|
|
278
347
|
width: string;
|
|
279
348
|
height: string;
|
|
280
349
|
position: string;
|
|
@@ -283,7 +352,6 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
283
352
|
};
|
|
284
353
|
".secure-payment-form .open-banking-button": {
|
|
285
354
|
position: string;
|
|
286
|
-
background: string;
|
|
287
355
|
color: string;
|
|
288
356
|
height: string;
|
|
289
357
|
width: string;
|
|
@@ -291,20 +359,42 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
291
359
|
border: string;
|
|
292
360
|
margin: string;
|
|
293
361
|
cursor: string;
|
|
294
|
-
"-webkit-box-shadow": string;
|
|
295
|
-
"-moz-box-shadow": string;
|
|
296
|
-
"box-shadow": string;
|
|
297
362
|
};
|
|
298
363
|
".secure-payment-form .open-banking-button:hover": {
|
|
299
364
|
"border-color": string;
|
|
300
|
-
"-
|
|
301
|
-
"-moz-box-shadow": string;
|
|
302
|
-
"box-shadow": string;
|
|
365
|
+
"background-color": string;
|
|
303
366
|
};
|
|
304
367
|
".secure-payment-form .open-banking-button:focus": {
|
|
305
368
|
outline: string;
|
|
306
369
|
"outline-offset": string;
|
|
307
370
|
};
|
|
371
|
+
".secure-payment-form .blik-button": {
|
|
372
|
+
position: string;
|
|
373
|
+
background: string;
|
|
374
|
+
color: string;
|
|
375
|
+
height: string;
|
|
376
|
+
width: string;
|
|
377
|
+
"border-radius": string;
|
|
378
|
+
border: string;
|
|
379
|
+
margin: string;
|
|
380
|
+
cursor: string;
|
|
381
|
+
};
|
|
382
|
+
".secure-payment-form .blik-button:hover": {
|
|
383
|
+
"border-color": string;
|
|
384
|
+
"background-color": string;
|
|
385
|
+
};
|
|
386
|
+
".secure-payment-form .blik-button:focus": {
|
|
387
|
+
outline: string;
|
|
388
|
+
"outline-offset": string;
|
|
389
|
+
};
|
|
390
|
+
".secure-payment-form .blik-button::before": {
|
|
391
|
+
content: string;
|
|
392
|
+
width: string;
|
|
393
|
+
height: string;
|
|
394
|
+
position: string;
|
|
395
|
+
top: string;
|
|
396
|
+
right: string;
|
|
397
|
+
};
|
|
308
398
|
".secure-payment-form .link-button": {
|
|
309
399
|
display: string;
|
|
310
400
|
"flex-direction": string;
|
|
@@ -541,6 +631,19 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
541
631
|
right: string;
|
|
542
632
|
};
|
|
543
633
|
};
|
|
634
|
+
"@media(max-width: 340px)"?: {
|
|
635
|
+
".secure-payment-form .credit-card-currency-conversion fieldset": {
|
|
636
|
+
"flex-flow": string;
|
|
637
|
+
};
|
|
638
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
639
|
+
width: string;
|
|
640
|
+
"margin-bottom": string;
|
|
641
|
+
"margin-right": string;
|
|
642
|
+
};
|
|
643
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button:last-child": {
|
|
644
|
+
"margin-bottom": string;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
544
647
|
".secure-payment-form .hf-cvv-tooltip-invalid"?: {
|
|
545
648
|
border: string;
|
|
546
649
|
"border-left": string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const styles: (_assetBaseUrl: string) => {
|
|
2
|
+
".order-information": {
|
|
3
|
+
display: string;
|
|
4
|
+
"flex-direction": string;
|
|
5
|
+
"align-items": string;
|
|
6
|
+
"font-family": string;
|
|
7
|
+
};
|
|
8
|
+
".title-field": {
|
|
9
|
+
"font-weight": string;
|
|
10
|
+
"line-height": string;
|
|
11
|
+
"font-size": string;
|
|
12
|
+
};
|
|
13
|
+
".order-information-field": {
|
|
14
|
+
"line-height": string;
|
|
15
|
+
"font-size": string;
|
|
16
|
+
"font-weight": string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default styles;
|