@globalpayments/js 2.0.1 → 2.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.
Files changed (30) hide show
  1. package/README.md +32 -1
  2. package/package.json +2 -2
  3. package/types/apm/qr-code-payments/components/common.d.ts +2 -0
  4. package/types/apm/qr-code-payments/components/generate-qr-code.d.ts +3 -0
  5. package/types/apm/qr-code-payments/components/present-qr-code-action-handler.d.ts +1 -0
  6. package/types/apm/qr-code-payments/components/qr-code-expired-handler.d.ts +1 -0
  7. package/types/apm/qr-code-payments/components/redirect-action-handler.d.ts +1 -0
  8. package/types/apm/qr-code-payments/components/redirect-in-frame-action-handler.d.ts +1 -0
  9. package/types/apm/qr-code-payments/constants.d.ts +1 -0
  10. package/types/apm/qr-code-payments/contracts.d.ts +17 -0
  11. package/types/apm/qr-code-payments/enums.d.ts +10 -0
  12. package/types/apm/qr-code-payments/helpers.d.ts +3 -0
  13. package/types/apm/qr-code-payments/requests/get-qr-code-payment-methods.d.ts +3 -0
  14. package/types/common/currency.d.ts +7 -0
  15. package/types/common/html-element.d.ts +8 -0
  16. package/types/internal/gateways/gp-api/get-qr-code-payment-methods.d.ts +3 -0
  17. package/types/internal/gateways/gp-api/index.d.ts +1 -0
  18. package/types/internal/gateways/index.d.ts +2 -0
  19. package/types/internal/lib/enums.d.ts +17 -1
  20. package/types/internal/lib/styles/default.d.ts +143 -0
  21. package/types/internal/lib/styles/gp-default.d.ts +143 -0
  22. package/types/internal/lib/styles/qr-code-payments/common.d.ts +151 -0
  23. package/types/internal/lib/styles/simple.d.ts +143 -0
  24. package/types/internal/lib/translations/en.d.ts +30 -0
  25. package/types/internal/lib/translations/zh.d.ts +30 -0
  26. package/types/lib/version.d.ts +1 -1
  27. package/types/tools/configure.d.ts +2 -0
  28. package/types/ui/form/index.d.ts +475 -19
  29. package/types/ui/iframe-field/action-add-qr-code-payment-methods.d.ts +3 -0
  30. package/types/ui/iframe-field/action-qr-code-payment-methods-request-start.d.ts +6 -0
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/v1/globalpayments.js"></script>
27
+ <script src="https://js.globalpay.com/2.1.3/globalpayments.js"></script>
28
28
  ```
29
29
 
30
30
  > Note: Installing via NPM will only provide TypeScript types for type-checking.
@@ -174,6 +174,37 @@ Enables a mandatory restriction for card holdername field
174
174
 
175
175
  enables the use of the fingerprint mode with "ALWAYS" value
176
176
 
177
+ ##### `fieldValidation` - `object` (Optional)
178
+
179
+ > Note: Applies to GP API only.
180
+
181
+ enables the use of the HF Built-in Validations. The object structure is:
182
+ ```javascript
183
+ fieldValidation?: {
184
+ enabled?: boolean, // (Optional)
185
+ characterValidation?: string // Supported values: [`englishOnly`, `none`] (Optional)
186
+ }
187
+ ```
188
+ The optional `characterValidation` string config can be set as `englishOnly` or `none` and this will indicate if the Card Holder name contains or not English characters.
189
+
190
+ ##### `qrCodePayments` - `object` (Optional - under `apms` configs)
191
+
192
+ > Note: Applies to GP API only.
193
+
194
+ enables the use of the QR Code Payments. The object structure is:
195
+ ```javascript
196
+ apms.qrCodePayments?: {
197
+ enabled?: boolean, // (Optional)
198
+ allowedPaymentMethods?: [ // Array of allowed Payment Methods (Optional)
199
+ {
200
+ provider: string,
201
+ image: string,
202
+ },
203
+ ]
204
+ }
205
+ ```
206
+ The optional `allowedPaymentMethods` object config can be set to manually add the preferred Payment methods.
207
+
177
208
  #### Examples
178
209
 
179
210
  ##### Heartland eCommerce
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalpayments/js",
3
- "version": "2.0.1",
3
+ "version": "2.1.3",
4
4
  "author": "Heartland Developer Portal <developers@heartland.us>",
5
5
  "license": "GPL-2.0",
6
6
  "repository": {
@@ -18,7 +18,7 @@
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
20
 
21
- "postbuild": "xcopy src\\assets dist\\ /e/y/h && node bin/replace-gp-ref.js",
21
+ "postbuild": "cross-os postbuild-cross",
22
22
 
23
23
  "prebuild": "yarn test:lint && node bin/update-version.js",
24
24
  "prepublish": "yarn build",
@@ -0,0 +1,2 @@
1
+ export declare const getSelectAnotherPaymentMethodButton: (id: string, onClickCallback: any) => HTMLDivElement;
2
+ export declare function getCountdownCounter(secondsToExpire: string, onFinishCallback: any): HTMLDivElement;
@@ -0,0 +1,3 @@
1
+ export declare function removeScriptById(scriptId: string): void;
2
+ export declare function loadQRCodeLibraryAndGenerate(text: string): Promise<string>;
3
+ export declare function generateQRCode(text: string): Promise<string>;
@@ -0,0 +1 @@
1
+ export default function handlePresentQRCodeAction(content: HTMLDivElement, props: any): void;
@@ -0,0 +1 @@
1
+ export default function handleQRCodeExpiredScreen(content: HTMLDivElement, props: any): void;
@@ -0,0 +1 @@
1
+ export default function handleRedirectAction(content: HTMLDivElement, props: any): void;
@@ -0,0 +1 @@
1
+ export default function handleRedirectInFrameAction(content: HTMLDivElement, props: any): void;
@@ -0,0 +1 @@
1
+ export declare const REDIRECT_ACTION_DELAY_IN_SECONDS = 2000;
@@ -0,0 +1,17 @@
1
+ export interface IQRCodePaymentsConfiguration {
2
+ enabled?: boolean;
3
+ allowedPaymentMethods?: IQRCodePaymentsAllowedPaymentMethod[];
4
+ }
5
+ export interface IQRCodePaymentsAllowedPaymentMethod {
6
+ provider: string;
7
+ image: string;
8
+ }
9
+ export interface IPaymentMethodConfiguration {
10
+ provider: {
11
+ brand: string;
12
+ };
13
+ image: string;
14
+ }
15
+ export interface IPaymentMethodConfigurationNormalized extends Omit<IPaymentMethodConfiguration, 'provider'> {
16
+ provider: string;
17
+ }
@@ -0,0 +1,10 @@
1
+ export declare const enum QRCodePaymentsInternalEvents {
2
+ PaymentMethodsRequestStart = "qr-code-payment-methods-request-start",
3
+ PaymentMethodsRequestCompleted = "qr-code-payment-methods-request-completed",
4
+ NavigatesBackBySelectAnotherPaymentMethod = "qr-code-payment-navigates-back-select-another-payment-method"
5
+ }
6
+ export declare const enum QRCodePaymentsActions {
7
+ RedirectAction = "REDIRECT",
8
+ RedirectInFrameAction = "REDIRECT_IN_FRAME",
9
+ PresentQRCodeAction = "PRESENT_QR_CODE"
10
+ }
@@ -0,0 +1,3 @@
1
+ import { IPaymentMethodConfiguration, IPaymentMethodConfigurationNormalized } from "./contracts";
2
+ export declare const normalizePaymentMethodConfigurations: (paymentMethodConfigurations: IPaymentMethodConfiguration) => IPaymentMethodConfigurationNormalized;
3
+ export declare const validateProviderBrand: (providerBrand: string) => string;
@@ -0,0 +1,3 @@
1
+ import { IDictionary } from "../../../internal/lib/util";
2
+ declare const _default: (data: IDictionary) => Promise<unknown>;
3
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export declare const getCurrencySymbol: (currencyCode: string) => string;
2
+ export declare const addCurrencyToAmount: (currency: string, amount: string | number | undefined) => string;
3
+ export declare const availableCurrencies: {
4
+ description: string;
5
+ code: string;
6
+ symbol: string;
7
+ }[];
@@ -86,3 +86,11 @@ export declare const createHtmlLabelElement: (props?: {
86
86
  htmlFor: string;
87
87
  textContent?: string | undefined;
88
88
  } | undefined) => HTMLLabelElement;
89
+ export declare const createHtmlIFrameElement: (props?: {
90
+ id?: string | undefined;
91
+ src: string;
92
+ className?: string | undefined;
93
+ attributes?: {
94
+ [key: string]: string;
95
+ }[] | undefined;
96
+ } | undefined) => HTMLIFrameElement;
@@ -0,0 +1,3 @@
1
+ import { IDictionary } from "../../lib/util";
2
+ declare const _default: (url: string, _env: string, data: IDictionary) => Promise<any>;
3
+ export default _default;
@@ -22,6 +22,7 @@ export declare const urls: {
22
22
  assetBaseUrl: (result: string) => string;
23
23
  tokenization: (prod: boolean) => string;
24
24
  queryInstallmentPlans: (prod: boolean) => string;
25
+ getQRCodePaymentMethodsUrl: (prod: boolean) => string;
25
26
  };
26
27
  export declare const actions: IActions;
27
28
  export declare const requiredSettings: string[];
@@ -70,11 +70,13 @@ export interface IActions {
70
70
  tokenize: (url: string, env: string, data: IDictionary) => Promise<any>;
71
71
  validateData: (data: IDictionary) => IErrorReason[];
72
72
  queryInstallmentPlans?: (url: string, env: string, data: IDictionary) => Promise<any>;
73
+ getQRCodePaymentMethods?: (url: string, env: string, data: IDictionary) => Promise<any>;
73
74
  }
74
75
  export interface IUrlGenerators {
75
76
  assetBaseUrl?: (result: string) => string;
76
77
  tokenization: (prod: boolean) => string;
77
78
  queryInstallmentPlans?: (prod: boolean) => string;
79
+ getQRCodePaymentMethodsUrl?: (prod: boolean) => string;
78
80
  }
79
81
  export interface IGatewayModule {
80
82
  [key: string]: any;
@@ -1,7 +1,8 @@
1
1
  export declare enum Apm {
2
2
  ClickToPay = "click-to-pay",
3
3
  GooglePay = "google-pay",
4
- ApplePay = "apple-pay"
4
+ ApplePay = "apple-pay",
5
+ QRCodePayments = "qr-code-payments"
5
6
  }
6
7
  export declare enum CardNetwork {
7
8
  Visa = "VISA",
@@ -17,3 +18,18 @@ export declare enum Language {
17
18
  en = "en",
18
19
  zh = "zh"
19
20
  }
21
+ export declare enum QRCodePaymentsMerchantInteractionEvents {
22
+ PaymentMethodSelection = "apm-payment-method",
23
+ ProvideQRCodeDetailsMerchantEvent = "apm-action-details",
24
+ TransactionCompletedMerchantEvent = "apm-success-message"
25
+ }
26
+ export declare enum QRCodePaymentsProviderBrands {
27
+ AlipayHK = "AlipayHK",
28
+ Alipay = "Alipay",
29
+ WeChat = "WeChat"
30
+ }
31
+ export declare enum QRCodePaymentsWeChatProviderBrands {
32
+ WeChatBrand = "WeChat",
33
+ WeChatMethodResponse = "WECHAT",
34
+ WeChatAccountResponse = "WeChat Pay"
35
+ }
@@ -165,6 +165,149 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
165
165
  };
166
166
  };
167
167
  export declare const parentStyles: (assetBaseUrl: string) => {
168
+ ".secure-payment-form .credit-card-qr-code-payments"?: {
169
+ "font-family": string;
170
+ };
171
+ ".secure-payment-form .credit-card-qr-code-payments-target, .qr-code-payment-content, .qr-code-payment-countdown-timer"?: {
172
+ display: string;
173
+ "flex-direction": string;
174
+ "align-items": string;
175
+ };
176
+ ".secure-payment-form .qr-code-payment-methods-wrapper"?: {
177
+ width: string;
178
+ };
179
+ ".secure-payment-form .qr-code-payment-method-button"?: {
180
+ color: string;
181
+ height: string;
182
+ width: string;
183
+ "border-radius": string;
184
+ border: string;
185
+ margin: string;
186
+ cursor: string;
187
+ };
188
+ ".secure-payment-form .qr-code-payment-method-alipayhk"?: {
189
+ "background-color": string;
190
+ border: string;
191
+ };
192
+ ".secure-payment-form .qr-code-payment-method-alipayhk:hover"?: {
193
+ "background-color": string;
194
+ border: string;
195
+ };
196
+ ".secure-payment-form .qr-code-payment-method-alipay"?: {
197
+ "background-color": string;
198
+ border: string;
199
+ };
200
+ ".secure-payment-form .qr-code-payment-method-alipay:hover"?: {
201
+ "background-color": string;
202
+ border: string;
203
+ };
204
+ ".secure-payment-form .qr-code-payment-method-wechat"?: {
205
+ "background-color": string;
206
+ border: string;
207
+ };
208
+ ".secure-payment-form .qr-code-payment-method-wechat:hover"?: {
209
+ "background-color": string;
210
+ border: string;
211
+ };
212
+ ".secure-payment-form .qr-code-payment-iframe-wrapper"?: {
213
+ display: string;
214
+ "flex-direction": string;
215
+ "align-items": string;
216
+ };
217
+ ".secure-payment-form .qr-code-payment-iframe"?: {
218
+ border: string;
219
+ width: string;
220
+ height: string;
221
+ };
222
+ ".secure-payment-form .qr-code-payment-content"?: {
223
+ "font-size": string;
224
+ "line-height": string;
225
+ width: string;
226
+ };
227
+ ".secure-payment-form .link-button"?: {
228
+ background: string;
229
+ border: string;
230
+ color: string;
231
+ "font-style": string;
232
+ "font-weight": string;
233
+ "line-height": string;
234
+ "font-size": string;
235
+ padding: string;
236
+ cursor: string;
237
+ margin: string;
238
+ };
239
+ ".secure-payment-form .link-button:hover"?: {
240
+ color: string;
241
+ };
242
+ ".secure-payment-form .link-button:active"?: {
243
+ color: string;
244
+ };
245
+ ".secure-payment-form .link-button:focus"?: {
246
+ color: string;
247
+ border: string;
248
+ };
249
+ ".secure-payment-form .qr-code-payment-countdown-timer-message"?: {
250
+ color: string;
251
+ "font-size": string;
252
+ "line-height": string;
253
+ };
254
+ ".secure-payment-form .qr-code-payment-countdown-timer-clock img"?: {
255
+ "margin-right": string;
256
+ };
257
+ ".secure-payment-form .qr-code-payment-countdown-timer-clock"?: {
258
+ display: string;
259
+ "align-items": string;
260
+ color: string;
261
+ "font-size": string;
262
+ "line-height": string;
263
+ "font-weight": string;
264
+ "justify-content": string;
265
+ };
266
+ ".secure-payment-form .payment-amount"?: {
267
+ color: string;
268
+ "font-style": string;
269
+ "font-weight": string;
270
+ "line-height": string;
271
+ "font-size": string;
272
+ };
273
+ ".secure-payment-form .qr-code-expired-alert"?: {
274
+ display: string;
275
+ border: string;
276
+ height: string;
277
+ "margin-top": string;
278
+ };
279
+ ".secure-payment-form .qr-code-expired-alert-icon"?: {
280
+ background: string;
281
+ display: string;
282
+ "align-items": string;
283
+ "justify-content": string;
284
+ width: string;
285
+ };
286
+ ".secure-payment-form .qr-code-expired-alert-message"?: {
287
+ display: string;
288
+ "flex-direction": string;
289
+ "justify-content": string;
290
+ padding: string;
291
+ "font-size": string;
292
+ "line-height": string;
293
+ };
294
+ ".secure-payment-form .qr-code-expired-alert-message-title"?: {
295
+ color: string;
296
+ "font-size": string;
297
+ "line-height": string;
298
+ };
299
+ ".secure-payment-form .qr-code-redirecting-to-page"?: {
300
+ "justify-content": string;
301
+ height: string;
302
+ display: string;
303
+ "flex-direction": string;
304
+ "align-items": string;
305
+ };
306
+ ".secure-payment-form .qr-code-redirecting-to-page-message"?: {
307
+ color: string;
308
+ "font-size": string;
309
+ "line-height": string;
310
+ };
168
311
  "#googlePay": {
169
312
  height: string;
170
313
  margin: string;
@@ -127,6 +127,149 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
127
127
  };
128
128
  };
129
129
  export declare const parentStyles: (assetBaseUrl: string) => {
130
+ ".secure-payment-form .credit-card-qr-code-payments"?: {
131
+ "font-family": string;
132
+ };
133
+ ".secure-payment-form .credit-card-qr-code-payments-target, .qr-code-payment-content, .qr-code-payment-countdown-timer"?: {
134
+ display: string;
135
+ "flex-direction": string;
136
+ "align-items": string;
137
+ };
138
+ ".secure-payment-form .qr-code-payment-methods-wrapper"?: {
139
+ width: string;
140
+ };
141
+ ".secure-payment-form .qr-code-payment-method-button"?: {
142
+ color: string;
143
+ height: string;
144
+ width: string;
145
+ "border-radius": string;
146
+ border: string;
147
+ margin: string;
148
+ cursor: string;
149
+ };
150
+ ".secure-payment-form .qr-code-payment-method-alipayhk"?: {
151
+ "background-color": string;
152
+ border: string;
153
+ };
154
+ ".secure-payment-form .qr-code-payment-method-alipayhk:hover"?: {
155
+ "background-color": string;
156
+ border: string;
157
+ };
158
+ ".secure-payment-form .qr-code-payment-method-alipay"?: {
159
+ "background-color": string;
160
+ border: string;
161
+ };
162
+ ".secure-payment-form .qr-code-payment-method-alipay:hover"?: {
163
+ "background-color": string;
164
+ border: string;
165
+ };
166
+ ".secure-payment-form .qr-code-payment-method-wechat"?: {
167
+ "background-color": string;
168
+ border: string;
169
+ };
170
+ ".secure-payment-form .qr-code-payment-method-wechat:hover"?: {
171
+ "background-color": string;
172
+ border: string;
173
+ };
174
+ ".secure-payment-form .qr-code-payment-iframe-wrapper"?: {
175
+ display: string;
176
+ "flex-direction": string;
177
+ "align-items": string;
178
+ };
179
+ ".secure-payment-form .qr-code-payment-iframe"?: {
180
+ border: string;
181
+ width: string;
182
+ height: string;
183
+ };
184
+ ".secure-payment-form .qr-code-payment-content"?: {
185
+ "font-size": string;
186
+ "line-height": string;
187
+ width: string;
188
+ };
189
+ ".secure-payment-form .link-button"?: {
190
+ background: string;
191
+ border: string;
192
+ color: string;
193
+ "font-style": string;
194
+ "font-weight": string;
195
+ "line-height": string;
196
+ "font-size": string;
197
+ padding: string;
198
+ cursor: string;
199
+ margin: string;
200
+ };
201
+ ".secure-payment-form .link-button:hover"?: {
202
+ color: string;
203
+ };
204
+ ".secure-payment-form .link-button:active"?: {
205
+ color: string;
206
+ };
207
+ ".secure-payment-form .link-button:focus"?: {
208
+ color: string;
209
+ border: string;
210
+ };
211
+ ".secure-payment-form .qr-code-payment-countdown-timer-message"?: {
212
+ color: string;
213
+ "font-size": string;
214
+ "line-height": string;
215
+ };
216
+ ".secure-payment-form .qr-code-payment-countdown-timer-clock img"?: {
217
+ "margin-right": string;
218
+ };
219
+ ".secure-payment-form .qr-code-payment-countdown-timer-clock"?: {
220
+ display: string;
221
+ "align-items": string;
222
+ color: string;
223
+ "font-size": string;
224
+ "line-height": string;
225
+ "font-weight": string;
226
+ "justify-content": string;
227
+ };
228
+ ".secure-payment-form .payment-amount"?: {
229
+ color: string;
230
+ "font-style": string;
231
+ "font-weight": string;
232
+ "line-height": string;
233
+ "font-size": string;
234
+ };
235
+ ".secure-payment-form .qr-code-expired-alert"?: {
236
+ display: string;
237
+ border: string;
238
+ height: string;
239
+ "margin-top": string;
240
+ };
241
+ ".secure-payment-form .qr-code-expired-alert-icon"?: {
242
+ background: string;
243
+ display: string;
244
+ "align-items": string;
245
+ "justify-content": string;
246
+ width: string;
247
+ };
248
+ ".secure-payment-form .qr-code-expired-alert-message"?: {
249
+ display: string;
250
+ "flex-direction": string;
251
+ "justify-content": string;
252
+ padding: string;
253
+ "font-size": string;
254
+ "line-height": string;
255
+ };
256
+ ".secure-payment-form .qr-code-expired-alert-message-title"?: {
257
+ color: string;
258
+ "font-size": string;
259
+ "line-height": string;
260
+ };
261
+ ".secure-payment-form .qr-code-redirecting-to-page"?: {
262
+ "justify-content": string;
263
+ height: string;
264
+ display: string;
265
+ "flex-direction": string;
266
+ "align-items": string;
267
+ };
268
+ ".secure-payment-form .qr-code-redirecting-to-page-message"?: {
269
+ color: string;
270
+ "font-size": string;
271
+ "line-height": string;
272
+ };
130
273
  ".secure-payment-form .hf-cvv-tooltip-invalid"?: {
131
274
  border: string;
132
275
  "border-left": string;
@@ -0,0 +1,151 @@
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
+ };