@globalpayments/js 4.1.3 → 4.1.7
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 -1
- package/types/apm/non-card-payments/contracts.d.ts +1 -0
- package/types/internal/built-in-validations/constants.d.ts +2 -0
- package/types/internal/built-in-validations/helpers.d.ts +3 -0
- package/types/internal/lib/bank-selection/available-banks-data.d.ts +3 -0
- package/types/internal/lib/bank-selection/contracts.d.ts +71 -0
- package/types/internal/lib/bank-selection/helpers.d.ts +6 -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/default.d.ts +98 -8
- package/types/internal/lib/styles/gp-default.d.ts +102 -12
- 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 +65 -0
- package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +146 -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/styles/themes/helpers.d.ts +1 -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/et.d.ts +108 -0
- package/types/internal/lib/translations/fr.d.ts +13 -0
- package/types/internal/lib/translations/ga.d.ts +108 -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/lv.d.ts +108 -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 +8 -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 +308 -121
- 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
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const styles: (assetBaseUrl: string) => {
|
|
2
|
-
"apple-pay-button": {
|
|
3
|
-
"--apple-pay-button-width": string;
|
|
4
|
-
"--apple-pay-button-height": string;
|
|
5
|
-
"--apple-pay-button-border-radius": string;
|
|
6
|
-
"--apple-pay-button-padding": string;
|
|
7
|
-
"--apple-pay-button-box-sizing": string;
|
|
8
|
-
display: string;
|
|
9
|
-
margin: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default styles;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const styles: (assetBaseUrl: string) => {
|
|
2
|
-
"apple-pay-button": {
|
|
3
|
-
"--apple-pay-button-width": string;
|
|
4
|
-
"--apple-pay-button-height": string;
|
|
5
|
-
"--apple-pay-button-border-radius": string;
|
|
6
|
-
"--apple-pay-button-padding": string;
|
|
7
|
-
"--apple-pay-button-box-sizing": string;
|
|
8
|
-
display: string;
|
|
9
|
-
margin: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default styles;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const styles: (assetBaseUrl: string) => {
|
|
2
|
-
"apple-pay-button": {
|
|
3
|
-
"--apple-pay-button-width": string;
|
|
4
|
-
"--apple-pay-button-height": string;
|
|
5
|
-
"--apple-pay-button-border-radius": string;
|
|
6
|
-
"--apple-pay-button-padding": string;
|
|
7
|
-
"--apple-pay-button-box-sizing": string;
|
|
8
|
-
display: string;
|
|
9
|
-
margin: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default styles;
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
2
|
-
"@font-face": {
|
|
3
|
-
"font-family": string;
|
|
4
|
-
src: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export declare const styles: (assetBaseUrl: string) => {
|
|
8
|
-
".secure-payment-form .credit-card-qr-code-payments": {
|
|
9
|
-
"font-family": string;
|
|
10
|
-
};
|
|
11
|
-
".secure-payment-form .credit-card-qr-code-payments-target, .qr-code-payment-content, .qr-code-payment-countdown-timer": {
|
|
12
|
-
display: string;
|
|
13
|
-
"flex-direction": string;
|
|
14
|
-
"align-items": string;
|
|
15
|
-
};
|
|
16
|
-
".secure-payment-form .qr-code-payment-methods-wrapper": {
|
|
17
|
-
width: string;
|
|
18
|
-
};
|
|
19
|
-
".secure-payment-form .qr-code-payment-method-button": {
|
|
20
|
-
color: string;
|
|
21
|
-
height: string;
|
|
22
|
-
width: string;
|
|
23
|
-
"border-radius": string;
|
|
24
|
-
border: string;
|
|
25
|
-
margin: string;
|
|
26
|
-
cursor: string;
|
|
27
|
-
};
|
|
28
|
-
".secure-payment-form .qr-code-payment-method-alipayhk": {
|
|
29
|
-
"background-color": string;
|
|
30
|
-
border: string;
|
|
31
|
-
};
|
|
32
|
-
".secure-payment-form .qr-code-payment-method-alipayhk:hover": {
|
|
33
|
-
"background-color": string;
|
|
34
|
-
border: string;
|
|
35
|
-
};
|
|
36
|
-
".secure-payment-form .qr-code-payment-method-alipay": {
|
|
37
|
-
"background-color": string;
|
|
38
|
-
border: string;
|
|
39
|
-
};
|
|
40
|
-
".secure-payment-form .qr-code-payment-method-alipay:hover": {
|
|
41
|
-
"background-color": string;
|
|
42
|
-
border: string;
|
|
43
|
-
};
|
|
44
|
-
".secure-payment-form .qr-code-payment-method-wechat": {
|
|
45
|
-
"background-color": string;
|
|
46
|
-
border: string;
|
|
47
|
-
};
|
|
48
|
-
".secure-payment-form .qr-code-payment-method-wechat:hover": {
|
|
49
|
-
"background-color": string;
|
|
50
|
-
border: string;
|
|
51
|
-
};
|
|
52
|
-
".secure-payment-form .qr-code-payment-iframe-wrapper": {
|
|
53
|
-
display: string;
|
|
54
|
-
"flex-direction": string;
|
|
55
|
-
"align-items": string;
|
|
56
|
-
};
|
|
57
|
-
".secure-payment-form .qr-code-payment-iframe": {
|
|
58
|
-
border: string;
|
|
59
|
-
width: string;
|
|
60
|
-
height: string;
|
|
61
|
-
};
|
|
62
|
-
".secure-payment-form .qr-code-payment-content": {
|
|
63
|
-
"font-size": string;
|
|
64
|
-
"line-height": string;
|
|
65
|
-
width: string;
|
|
66
|
-
};
|
|
67
|
-
".secure-payment-form .link-button": {
|
|
68
|
-
background: string;
|
|
69
|
-
border: string;
|
|
70
|
-
color: string;
|
|
71
|
-
"font-style": string;
|
|
72
|
-
"font-weight": string;
|
|
73
|
-
"line-height": string;
|
|
74
|
-
"font-size": string;
|
|
75
|
-
padding: string;
|
|
76
|
-
cursor: string;
|
|
77
|
-
margin: string;
|
|
78
|
-
};
|
|
79
|
-
".secure-payment-form .link-button:hover": {
|
|
80
|
-
color: string;
|
|
81
|
-
};
|
|
82
|
-
".secure-payment-form .link-button:active": {
|
|
83
|
-
color: string;
|
|
84
|
-
};
|
|
85
|
-
".secure-payment-form .link-button:focus": {
|
|
86
|
-
color: string;
|
|
87
|
-
border: string;
|
|
88
|
-
};
|
|
89
|
-
".secure-payment-form .qr-code-payment-countdown-timer-message": {
|
|
90
|
-
color: string;
|
|
91
|
-
"font-size": string;
|
|
92
|
-
"line-height": string;
|
|
93
|
-
};
|
|
94
|
-
".secure-payment-form .qr-code-payment-countdown-timer-clock img": {
|
|
95
|
-
"margin-right": string;
|
|
96
|
-
};
|
|
97
|
-
".secure-payment-form .qr-code-payment-countdown-timer-clock": {
|
|
98
|
-
display: string;
|
|
99
|
-
"align-items": string;
|
|
100
|
-
color: string;
|
|
101
|
-
"font-size": string;
|
|
102
|
-
"line-height": string;
|
|
103
|
-
"font-weight": string;
|
|
104
|
-
"justify-content": string;
|
|
105
|
-
};
|
|
106
|
-
".secure-payment-form .payment-amount": {
|
|
107
|
-
color: string;
|
|
108
|
-
"font-style": string;
|
|
109
|
-
"font-weight": string;
|
|
110
|
-
"line-height": string;
|
|
111
|
-
"font-size": string;
|
|
112
|
-
};
|
|
113
|
-
".secure-payment-form .qr-code-expired-alert": {
|
|
114
|
-
display: string;
|
|
115
|
-
border: string;
|
|
116
|
-
height: string;
|
|
117
|
-
"margin-top": string;
|
|
118
|
-
};
|
|
119
|
-
".secure-payment-form .qr-code-expired-alert-icon": {
|
|
120
|
-
background: string;
|
|
121
|
-
display: string;
|
|
122
|
-
"align-items": string;
|
|
123
|
-
"justify-content": string;
|
|
124
|
-
width: string;
|
|
125
|
-
};
|
|
126
|
-
".secure-payment-form .qr-code-expired-alert-message": {
|
|
127
|
-
display: string;
|
|
128
|
-
"flex-direction": string;
|
|
129
|
-
"justify-content": string;
|
|
130
|
-
padding: string;
|
|
131
|
-
"font-size": string;
|
|
132
|
-
"line-height": string;
|
|
133
|
-
};
|
|
134
|
-
".secure-payment-form .qr-code-expired-alert-message-title": {
|
|
135
|
-
color: string;
|
|
136
|
-
"font-size": string;
|
|
137
|
-
"line-height": string;
|
|
138
|
-
};
|
|
139
|
-
".secure-payment-form .qr-code-redirecting-to-page": {
|
|
140
|
-
"justify-content": string;
|
|
141
|
-
height: string;
|
|
142
|
-
display: string;
|
|
143
|
-
"flex-direction": string;
|
|
144
|
-
"align-items": string;
|
|
145
|
-
};
|
|
146
|
-
".secure-payment-form .qr-code-redirecting-to-page-message": {
|
|
147
|
-
color: string;
|
|
148
|
-
"font-size": string;
|
|
149
|
-
"line-height": string;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { IframeField } from ".";
|
|
2
|
-
import { InstallmentPaymentData } from "../../internal/lib/installments/installments-handler";
|
|
3
|
-
export default function addInstallments(iframeField: IframeField | undefined, installmentPlans: any, tokenizationCallback: (installment: InstallmentPaymentData) => void): void;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { IframeField } from ".";
|
|
2
|
-
import { IPaymentMethodConfigurationNormalized } from "../../apm/qr-code-payments/contracts";
|
|
3
|
-
export default function addQRCodePaymentMethods(iframeField: IframeField | undefined, paymentMethodConfigurations: IPaymentMethodConfigurationNormalized[], amount: string | number): void;
|