@globalpayments/js 4.0.9 → 4.0.11
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 +2 -7
- package/types/apm/qr-code-payments/enums.d.ts +1 -2
- package/types/common/currency.d.ts +0 -1
- package/types/common/enums.d.ts +1 -8
- package/types/common/html-element.d.ts +0 -27
- package/types/internal/built-in-validations/messages.d.ts +0 -3
- package/types/internal/gateways/gp-api/index.d.ts +1 -2
- package/types/internal/gateways/index.d.ts +1 -6
- package/types/internal/lib/card.d.ts +0 -29
- package/types/internal/lib/detectLanguage.d.ts +0 -1
- package/types/internal/lib/eums.d.ts +11 -0
- package/types/internal/lib/styles/built-in-validations/simple.d.ts +0 -3
- package/types/internal/lib/styles/default.d.ts +0 -262
- package/types/internal/lib/styles/gp-default.d.ts +47 -255
- package/types/internal/lib/styles/qr-code-payments/common.d.ts +0 -8
- package/types/internal/lib/styles/simple.d.ts +0 -265
- package/types/internal/lib/translations/en.d.ts +0 -15
- package/types/internal/validators/expiration.d.ts +0 -7
- package/types/lib/version.d.ts +1 -1
- package/types/tools/configure.d.ts +0 -8
- package/types/ui/form/index.d.ts +113 -856
- package/types/ui/iframe-field/index.d.ts +1 -1
- package/types/common/helpers.d.ts +0 -4
- package/types/internal/gateways/gp-api/action-query-currency-conversion.d.ts +0 -3
- package/types/internal/lib/currency-conversion/components/enums.d.ts +0 -5
- package/types/internal/lib/currency-conversion/components/events.d.ts +0 -8
- package/types/internal/lib/currency-conversion/components/template.d.ts +0 -7
- package/types/internal/lib/currency-conversion/contracts/constants.d.ts +0 -5
- package/types/internal/lib/currency-conversion/contracts/enums.d.ts +0 -15
- package/types/internal/lib/currency-conversion/contracts/interfaces.d.ts +0 -13
- package/types/internal/lib/currency-conversion/requests/query-currency-conversion.d.ts +0 -3
- package/types/internal/lib/currency-conversion/utils/helpers.d.ts +0 -8
- package/types/internal/lib/currency-conversion/utils/reset-currency-conversion.d.ts +0 -7
- package/types/internal/lib/styles/currency-conversion/common.d.ts +0 -191
- package/types/internal/lib/styles/currency-conversion/default.d.ts +0 -204
- package/types/internal/lib/styles/currency-conversion/gp-default.d.ts +0 -197
- package/types/internal/lib/styles/currency-conversion/simple.d.ts +0 -204
- package/types/internal/lib/styles/tooltip/common.d.ts +0 -65
- package/types/ui/iframe-field/apple-pay/action-add.d.ts +0 -2
- package/types/ui/iframe-field/click-to-pay/action-add.d.ts +0 -2
- package/types/ui/iframe-field/currency-conversion/action-add.d.ts +0 -9
- package/types/ui/iframe-field/currency-conversion/action-get-value.d.ts +0 -8
- package/types/ui/iframe-field/currency-conversion/action-request-accumulate-data.d.ts +0 -9
- package/types/ui/iframe-field/currency-conversion/action-request-data.d.ts +0 -9
- package/types/ui/iframe-field/currency-conversion/action-request-start.d.ts +0 -8
- package/types/ui/iframe-field/google-pay/action-add.d.ts +0 -2
- package/types/ui/iframe-field/installments/action-add.d.ts +0 -3
- package/types/ui/iframe-field/installments/action-request-accumulate-data.d.ts +0 -3
- package/types/ui/iframe-field/installments/action-request-data.d.ts +0 -3
- package/types/ui/iframe-field/installments/action-request-start.d.ts +0 -6
- package/types/ui/iframe-field/open-banking/action-add.d.ts +0 -2
- package/types/ui/iframe-field/qr-code-payment-methods/action-add.d.ts +0 -3
- package/types/ui/iframe-field/qr-code-payment-methods/action-request-start.d.ts +0 -6
|
@@ -28,11 +28,6 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
28
28
|
"#secure-payment-field[type=text].hf-invalid"?: {
|
|
29
29
|
border: string;
|
|
30
30
|
};
|
|
31
|
-
"#secure-payment-field[hidden]"?: {
|
|
32
|
-
display: string;
|
|
33
|
-
opacity: string;
|
|
34
|
-
visibility: string;
|
|
35
|
-
};
|
|
36
31
|
"*": {
|
|
37
32
|
"box-sizing": string;
|
|
38
33
|
};
|
|
@@ -320,194 +315,6 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
320
315
|
"font-size": string;
|
|
321
316
|
"line-height": string;
|
|
322
317
|
};
|
|
323
|
-
".secure-payment-form .currency-conversion-container"?: {
|
|
324
|
-
display: string;
|
|
325
|
-
"flex-direction": string;
|
|
326
|
-
"align-items": string;
|
|
327
|
-
};
|
|
328
|
-
".secure-payment-form .credit-card-currency-conversion iframe"?: {
|
|
329
|
-
"min-height": string;
|
|
330
|
-
};
|
|
331
|
-
".secure-payment-form .credit-card-currency-conversion fieldset"?: {
|
|
332
|
-
"font-family": string;
|
|
333
|
-
border: string;
|
|
334
|
-
margin: string;
|
|
335
|
-
padding: string;
|
|
336
|
-
display: string;
|
|
337
|
-
"flex-wrap": string;
|
|
338
|
-
};
|
|
339
|
-
".secure-payment-form .credit-card-currency-conversion legend"?: {
|
|
340
|
-
"font-family": string;
|
|
341
|
-
border: number;
|
|
342
|
-
top: string;
|
|
343
|
-
margin: string;
|
|
344
|
-
padding: number;
|
|
345
|
-
display: string;
|
|
346
|
-
"font-size": string;
|
|
347
|
-
"font-weight": number;
|
|
348
|
-
position: string;
|
|
349
|
-
};
|
|
350
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button"?: {
|
|
351
|
-
display: string;
|
|
352
|
-
"justify-content": string;
|
|
353
|
-
"align-items": string;
|
|
354
|
-
border: string;
|
|
355
|
-
padding: string;
|
|
356
|
-
"white-space": string;
|
|
357
|
-
height: string;
|
|
358
|
-
"margin-right": string;
|
|
359
|
-
};
|
|
360
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button:last-child"?: {
|
|
361
|
-
"margin-right": string;
|
|
362
|
-
};
|
|
363
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button:hover"?: {
|
|
364
|
-
"border-color": string;
|
|
365
|
-
};
|
|
366
|
-
".secure-payment-form .credit-card-currency-conversion fieldset:focus-within > .radio-button"?: {
|
|
367
|
-
outline: string;
|
|
368
|
-
"outline-offset": string;
|
|
369
|
-
};
|
|
370
|
-
".secure-payment-form .credit-card-currency-conversion fieldset.no-focus-outline .radio-button.checked"?: {
|
|
371
|
-
outline: string;
|
|
372
|
-
"outline-offset": string;
|
|
373
|
-
};
|
|
374
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button.checked"?: {
|
|
375
|
-
background: string;
|
|
376
|
-
"border-color": string;
|
|
377
|
-
color: string;
|
|
378
|
-
outline: string;
|
|
379
|
-
};
|
|
380
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']"?: {
|
|
381
|
-
margin: string;
|
|
382
|
-
appearance: string;
|
|
383
|
-
"-webkit-appearance": string;
|
|
384
|
-
"-moz-appearance": string;
|
|
385
|
-
border: string;
|
|
386
|
-
"border-radius": string;
|
|
387
|
-
width: string;
|
|
388
|
-
height: string;
|
|
389
|
-
display: string;
|
|
390
|
-
position: string;
|
|
391
|
-
padding: string;
|
|
392
|
-
};
|
|
393
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:checked"?: {
|
|
394
|
-
"background-color": string;
|
|
395
|
-
border: string;
|
|
396
|
-
};
|
|
397
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:focus"?: {
|
|
398
|
-
outline: string;
|
|
399
|
-
};
|
|
400
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button label"?: {
|
|
401
|
-
"font-family": string;
|
|
402
|
-
"font-size": string;
|
|
403
|
-
"font-weight": number;
|
|
404
|
-
display: string;
|
|
405
|
-
margin: string;
|
|
406
|
-
};
|
|
407
|
-
".secure-payment-form .credit-card-currency-conversion .card-currency-content"?: {
|
|
408
|
-
opacity: string;
|
|
409
|
-
visibility: boolean;
|
|
410
|
-
display: string;
|
|
411
|
-
"flex-direction": string;
|
|
412
|
-
"margin-left": string;
|
|
413
|
-
"align-items": string;
|
|
414
|
-
height: string;
|
|
415
|
-
};
|
|
416
|
-
".secure-payment-form .credit-card-currency-conversion .card-currency-content.visible"?: {
|
|
417
|
-
display: string;
|
|
418
|
-
opacity: string;
|
|
419
|
-
visibility: boolean;
|
|
420
|
-
};
|
|
421
|
-
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content"?: {
|
|
422
|
-
opacity: string;
|
|
423
|
-
visibility: boolean;
|
|
424
|
-
display: string;
|
|
425
|
-
"flex-direction": string;
|
|
426
|
-
"margin-left": string;
|
|
427
|
-
"align-items": string;
|
|
428
|
-
height: string;
|
|
429
|
-
};
|
|
430
|
-
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content.visible"?: {
|
|
431
|
-
display: string;
|
|
432
|
-
opacity: string;
|
|
433
|
-
visibility: boolean;
|
|
434
|
-
};
|
|
435
|
-
".secure-payment-form .credit-card-currency-conversion .additional-info"?: {
|
|
436
|
-
"font-family": string;
|
|
437
|
-
"font-size": string;
|
|
438
|
-
"font-weight": number;
|
|
439
|
-
margin: string;
|
|
440
|
-
display: string;
|
|
441
|
-
};
|
|
442
|
-
".secure-payment-form .credit-card-currency-conversion .additional-info p"?: {
|
|
443
|
-
margin: string;
|
|
444
|
-
"font-style": string;
|
|
445
|
-
};
|
|
446
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip"?: {
|
|
447
|
-
width: string;
|
|
448
|
-
height: string;
|
|
449
|
-
"min-width": string;
|
|
450
|
-
"border-left": string;
|
|
451
|
-
display: string;
|
|
452
|
-
};
|
|
453
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip:hover"?: {
|
|
454
|
-
"border-left": string;
|
|
455
|
-
};
|
|
456
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip:focus"?: {
|
|
457
|
-
"border-left": string;
|
|
458
|
-
};
|
|
459
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content"?: {
|
|
460
|
-
bottom: string;
|
|
461
|
-
right: string;
|
|
462
|
-
display: string;
|
|
463
|
-
};
|
|
464
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip:hover .tooltip-content"?: {
|
|
465
|
-
display: string;
|
|
466
|
-
};
|
|
467
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content p"?: {
|
|
468
|
-
margin: string;
|
|
469
|
-
};
|
|
470
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
471
|
-
"margin-bottom": string;
|
|
472
|
-
};
|
|
473
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
474
|
-
left: string;
|
|
475
|
-
top: string;
|
|
476
|
-
right: string;
|
|
477
|
-
transform: string;
|
|
478
|
-
"border-width": string;
|
|
479
|
-
"border-style": string;
|
|
480
|
-
"border-color": string;
|
|
481
|
-
};
|
|
482
|
-
"@media only screen and (max-width: 768px)"?: {
|
|
483
|
-
".secure-payment-form .currency-conversion-container": {
|
|
484
|
-
"flex-direction": string;
|
|
485
|
-
"align-items": string;
|
|
486
|
-
};
|
|
487
|
-
".secure-payment-form .credit-card-currency-conversion fieldset": {
|
|
488
|
-
"justify-content": string;
|
|
489
|
-
};
|
|
490
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
491
|
-
width: string;
|
|
492
|
-
"justify-content": string;
|
|
493
|
-
};
|
|
494
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
495
|
-
margin: string;
|
|
496
|
-
};
|
|
497
|
-
".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
|
|
498
|
-
width: string;
|
|
499
|
-
"margin-top": string;
|
|
500
|
-
"margin-left": string;
|
|
501
|
-
};
|
|
502
|
-
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content": {
|
|
503
|
-
width: string;
|
|
504
|
-
"margin-top": string;
|
|
505
|
-
"margin-left": string;
|
|
506
|
-
};
|
|
507
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before": {
|
|
508
|
-
right: string;
|
|
509
|
-
};
|
|
510
|
-
};
|
|
511
318
|
".secure-payment-form .hf-cvv-tooltip-invalid"?: {
|
|
512
319
|
border: string;
|
|
513
320
|
"border-left": string;
|
|
@@ -1154,68 +961,6 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
1154
961
|
"line-height": string;
|
|
1155
962
|
"text-decoration-line": string;
|
|
1156
963
|
};
|
|
1157
|
-
".secure-payment-form .tooltip": {
|
|
1158
|
-
position: string;
|
|
1159
|
-
width: string;
|
|
1160
|
-
height: string;
|
|
1161
|
-
border: string;
|
|
1162
|
-
"border-left": string;
|
|
1163
|
-
color: string;
|
|
1164
|
-
float: string;
|
|
1165
|
-
"background-size": string;
|
|
1166
|
-
background: string;
|
|
1167
|
-
"font-family": string;
|
|
1168
|
-
};
|
|
1169
|
-
".secure-payment-form .tooltip:focus": {
|
|
1170
|
-
border: string;
|
|
1171
|
-
outline: string;
|
|
1172
|
-
"border-left": string;
|
|
1173
|
-
};
|
|
1174
|
-
".secure-payment-form .tooltip:hover": {
|
|
1175
|
-
border: string;
|
|
1176
|
-
outline: string;
|
|
1177
|
-
"border-left": string;
|
|
1178
|
-
};
|
|
1179
|
-
".secure-payment-form .tooltip-content": {
|
|
1180
|
-
visibility: string;
|
|
1181
|
-
width: string;
|
|
1182
|
-
"background-color": string;
|
|
1183
|
-
color: string;
|
|
1184
|
-
"text-align": string;
|
|
1185
|
-
"border-radius": string;
|
|
1186
|
-
border: string;
|
|
1187
|
-
padding: string;
|
|
1188
|
-
position: string;
|
|
1189
|
-
"z-index": string;
|
|
1190
|
-
right: string;
|
|
1191
|
-
opacity: string;
|
|
1192
|
-
transition: string;
|
|
1193
|
-
"font-size": string;
|
|
1194
|
-
"font-weight": string;
|
|
1195
|
-
"box-shadow": string;
|
|
1196
|
-
"margin-top": string;
|
|
1197
|
-
"margin-right": string;
|
|
1198
|
-
};
|
|
1199
|
-
".secure-payment-form .tooltip-content h4": {
|
|
1200
|
-
margin: string;
|
|
1201
|
-
};
|
|
1202
|
-
".secure-payment-form .tooltip:hover > .tooltip-content": {
|
|
1203
|
-
visibility: string;
|
|
1204
|
-
opacity: string;
|
|
1205
|
-
};
|
|
1206
|
-
".secure-payment-form .tooltip:focus > .tooltip-content": {
|
|
1207
|
-
visibility: string;
|
|
1208
|
-
opacity: string;
|
|
1209
|
-
};
|
|
1210
|
-
".secure-payment-form .tooltip-content::before": {
|
|
1211
|
-
position: string;
|
|
1212
|
-
content: string;
|
|
1213
|
-
right: string;
|
|
1214
|
-
top: string;
|
|
1215
|
-
"border-left": string;
|
|
1216
|
-
"border-right": string;
|
|
1217
|
-
"border-bottom": string;
|
|
1218
|
-
};
|
|
1219
964
|
".secure-payment-form": {
|
|
1220
965
|
display: string;
|
|
1221
966
|
"-ms-flex-wrap": string;
|
|
@@ -1304,6 +1049,53 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
1304
1049
|
"min-height": string;
|
|
1305
1050
|
width: string;
|
|
1306
1051
|
};
|
|
1052
|
+
".secure-payment-form .tooltip": {
|
|
1053
|
+
position: string;
|
|
1054
|
+
width: string;
|
|
1055
|
+
height: string;
|
|
1056
|
+
border: string;
|
|
1057
|
+
"border-left": string;
|
|
1058
|
+
color: string;
|
|
1059
|
+
float: string;
|
|
1060
|
+
"background-size": string;
|
|
1061
|
+
background: string;
|
|
1062
|
+
};
|
|
1063
|
+
".secure-payment-form .tooltip:focus": {
|
|
1064
|
+
border: string;
|
|
1065
|
+
outline: string;
|
|
1066
|
+
};
|
|
1067
|
+
".secure-payment-form .tooltip:hover": {
|
|
1068
|
+
border: string;
|
|
1069
|
+
outline: string;
|
|
1070
|
+
};
|
|
1071
|
+
".secure-payment-form .tooltip-content": {
|
|
1072
|
+
visibility: string;
|
|
1073
|
+
width: string;
|
|
1074
|
+
"background-color": string;
|
|
1075
|
+
color: string;
|
|
1076
|
+
"text-align": string;
|
|
1077
|
+
"border-radius": string;
|
|
1078
|
+
border: string;
|
|
1079
|
+
padding: string;
|
|
1080
|
+
position: string;
|
|
1081
|
+
"z-index": string;
|
|
1082
|
+
right: string;
|
|
1083
|
+
opacity: string;
|
|
1084
|
+
transition: string;
|
|
1085
|
+
"font-size": string;
|
|
1086
|
+
"font-weight": string;
|
|
1087
|
+
"margin-top": string;
|
|
1088
|
+
overflow: string;
|
|
1089
|
+
"box-shadow": string;
|
|
1090
|
+
};
|
|
1091
|
+
".secure-payment-form .tooltip:hover > .tooltip-content": {
|
|
1092
|
+
visibility: string;
|
|
1093
|
+
opacity: string;
|
|
1094
|
+
};
|
|
1095
|
+
".secure-payment-form .tooltip:focus > .tooltip-content": {
|
|
1096
|
+
visibility: string;
|
|
1097
|
+
opacity: string;
|
|
1098
|
+
};
|
|
1307
1099
|
".secure-payment-form .other-cards-label": {
|
|
1308
1100
|
"border-bottom": string;
|
|
1309
1101
|
"text-align": string;
|
|
@@ -41,14 +41,6 @@ export declare const styles: (assetBaseUrl: string) => {
|
|
|
41
41
|
"background-color": string;
|
|
42
42
|
border: string;
|
|
43
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
44
|
".secure-payment-form .qr-code-payment-iframe-wrapper": {
|
|
53
45
|
display: string;
|
|
54
46
|
"flex-direction": string;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
2
|
-
"#secure-payment-field[hidden]"?: {
|
|
3
|
-
display: string;
|
|
4
|
-
opacity: string;
|
|
5
|
-
visibility: string;
|
|
6
|
-
};
|
|
7
2
|
"img.card-number-icon": {
|
|
8
3
|
background: string;
|
|
9
4
|
"background-size": string;
|
|
@@ -21,9 +16,6 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
21
16
|
"margin-top": string;
|
|
22
17
|
"background-position": string;
|
|
23
18
|
};
|
|
24
|
-
"#field-validation-wrapper"?: {
|
|
25
|
-
"margin-top": string;
|
|
26
|
-
};
|
|
27
19
|
"@font-face"?: {
|
|
28
20
|
"font-family": string;
|
|
29
21
|
src: string;
|
|
@@ -156,201 +148,6 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
156
148
|
};
|
|
157
149
|
};
|
|
158
150
|
export declare const parentStyles: (assetBaseUrl: string) => {
|
|
159
|
-
".secure-payment-form .credit-card-currency-conversion legend"?: {
|
|
160
|
-
"font-family": string;
|
|
161
|
-
color: string;
|
|
162
|
-
"font-size": string;
|
|
163
|
-
"font-weight": string;
|
|
164
|
-
"line-height": string;
|
|
165
|
-
"text-transform": string;
|
|
166
|
-
"margin-bottom": string;
|
|
167
|
-
};
|
|
168
|
-
".secure-payment-form .credit-card-currency-conversion .currency-conversion-container"?: {
|
|
169
|
-
"margin-bottom": string;
|
|
170
|
-
"flex-wrap": string;
|
|
171
|
-
};
|
|
172
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content"?: {
|
|
173
|
-
display: string;
|
|
174
|
-
bottom: string;
|
|
175
|
-
right: string;
|
|
176
|
-
};
|
|
177
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button"?: {
|
|
178
|
-
display: string;
|
|
179
|
-
"justify-content": string;
|
|
180
|
-
"align-items": string;
|
|
181
|
-
border: string;
|
|
182
|
-
padding: string;
|
|
183
|
-
"white-space": string;
|
|
184
|
-
height: string;
|
|
185
|
-
"margin-right": string;
|
|
186
|
-
};
|
|
187
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button label"?: {
|
|
188
|
-
"font-family": string;
|
|
189
|
-
"font-size": string;
|
|
190
|
-
"font-weight": number;
|
|
191
|
-
display: string;
|
|
192
|
-
margin: string;
|
|
193
|
-
};
|
|
194
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button.checked label"?: {
|
|
195
|
-
color: string;
|
|
196
|
-
};
|
|
197
|
-
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content"?: {
|
|
198
|
-
opacity: string;
|
|
199
|
-
visibility: boolean;
|
|
200
|
-
display: string;
|
|
201
|
-
"flex-direction": string;
|
|
202
|
-
margin: string;
|
|
203
|
-
"align-items": string;
|
|
204
|
-
height: string;
|
|
205
|
-
};
|
|
206
|
-
".secure-payment-form .credit-card-currency-conversion .card-currency-content"?: {
|
|
207
|
-
opacity: string;
|
|
208
|
-
visibility: boolean;
|
|
209
|
-
display: string;
|
|
210
|
-
"flex-direction": string;
|
|
211
|
-
margin: string;
|
|
212
|
-
"align-items": string;
|
|
213
|
-
height: string;
|
|
214
|
-
};
|
|
215
|
-
".secure-payment-form .credit-card-currency-conversion .additional-info p"?: {
|
|
216
|
-
"font-family": string;
|
|
217
|
-
margin: string;
|
|
218
|
-
"font-style": string;
|
|
219
|
-
};
|
|
220
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content p"?: {
|
|
221
|
-
"font-family": string;
|
|
222
|
-
margin: string;
|
|
223
|
-
};
|
|
224
|
-
".secure-payment-form .currency-conversion-container"?: {
|
|
225
|
-
display: string;
|
|
226
|
-
"flex-direction": string;
|
|
227
|
-
"align-items": string;
|
|
228
|
-
};
|
|
229
|
-
".secure-payment-form .credit-card-currency-conversion iframe"?: {
|
|
230
|
-
"min-height": string;
|
|
231
|
-
};
|
|
232
|
-
".secure-payment-form .credit-card-currency-conversion fieldset"?: {
|
|
233
|
-
"font-family": string;
|
|
234
|
-
border: string;
|
|
235
|
-
margin: string;
|
|
236
|
-
padding: string;
|
|
237
|
-
display: string;
|
|
238
|
-
"flex-wrap": string;
|
|
239
|
-
};
|
|
240
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button:last-child"?: {
|
|
241
|
-
"margin-right": string;
|
|
242
|
-
};
|
|
243
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button:hover"?: {
|
|
244
|
-
"border-color": string;
|
|
245
|
-
};
|
|
246
|
-
".secure-payment-form .credit-card-currency-conversion fieldset:focus-within > .radio-button"?: {
|
|
247
|
-
outline: string;
|
|
248
|
-
"outline-offset": string;
|
|
249
|
-
};
|
|
250
|
-
".secure-payment-form .credit-card-currency-conversion fieldset.no-focus-outline .radio-button.checked"?: {
|
|
251
|
-
outline: string;
|
|
252
|
-
"outline-offset": string;
|
|
253
|
-
};
|
|
254
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button.checked"?: {
|
|
255
|
-
background: string;
|
|
256
|
-
"border-color": string;
|
|
257
|
-
color: string;
|
|
258
|
-
outline: string;
|
|
259
|
-
};
|
|
260
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']"?: {
|
|
261
|
-
margin: string;
|
|
262
|
-
appearance: string;
|
|
263
|
-
"-webkit-appearance": string;
|
|
264
|
-
"-moz-appearance": string;
|
|
265
|
-
border: string;
|
|
266
|
-
"border-radius": string;
|
|
267
|
-
width: string;
|
|
268
|
-
height: string;
|
|
269
|
-
display: string;
|
|
270
|
-
position: string;
|
|
271
|
-
padding: string;
|
|
272
|
-
};
|
|
273
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:checked"?: {
|
|
274
|
-
"background-color": string;
|
|
275
|
-
border: string;
|
|
276
|
-
};
|
|
277
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:focus"?: {
|
|
278
|
-
outline: string;
|
|
279
|
-
};
|
|
280
|
-
".secure-payment-form .credit-card-currency-conversion .card-currency-content.visible"?: {
|
|
281
|
-
display: string;
|
|
282
|
-
opacity: string;
|
|
283
|
-
visibility: boolean;
|
|
284
|
-
};
|
|
285
|
-
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content.visible"?: {
|
|
286
|
-
display: string;
|
|
287
|
-
opacity: string;
|
|
288
|
-
visibility: boolean;
|
|
289
|
-
};
|
|
290
|
-
".secure-payment-form .credit-card-currency-conversion .additional-info"?: {
|
|
291
|
-
"font-family": string;
|
|
292
|
-
"font-size": string;
|
|
293
|
-
"font-weight": number;
|
|
294
|
-
margin: string;
|
|
295
|
-
display: string;
|
|
296
|
-
};
|
|
297
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip"?: {
|
|
298
|
-
width: string;
|
|
299
|
-
height: string;
|
|
300
|
-
"min-width": string;
|
|
301
|
-
"border-left": string;
|
|
302
|
-
display: string;
|
|
303
|
-
};
|
|
304
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip:hover"?: {
|
|
305
|
-
"border-left": string;
|
|
306
|
-
};
|
|
307
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip:focus"?: {
|
|
308
|
-
"border-left": string;
|
|
309
|
-
};
|
|
310
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip:hover .tooltip-content"?: {
|
|
311
|
-
display: string;
|
|
312
|
-
};
|
|
313
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
314
|
-
"margin-bottom": string;
|
|
315
|
-
};
|
|
316
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
317
|
-
left: string;
|
|
318
|
-
top: string;
|
|
319
|
-
right: string;
|
|
320
|
-
transform: string;
|
|
321
|
-
"border-width": string;
|
|
322
|
-
"border-style": string;
|
|
323
|
-
"border-color": string;
|
|
324
|
-
};
|
|
325
|
-
"@media only screen and (max-width: 768px)"?: {
|
|
326
|
-
".secure-payment-form .currency-conversion-container": {
|
|
327
|
-
"flex-direction": string;
|
|
328
|
-
"align-items": string;
|
|
329
|
-
};
|
|
330
|
-
".secure-payment-form .credit-card-currency-conversion fieldset": {
|
|
331
|
-
"justify-content": string;
|
|
332
|
-
};
|
|
333
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
334
|
-
width: string;
|
|
335
|
-
"justify-content": string;
|
|
336
|
-
};
|
|
337
|
-
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
338
|
-
margin: string;
|
|
339
|
-
};
|
|
340
|
-
".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
|
|
341
|
-
width: string;
|
|
342
|
-
"margin-top": string;
|
|
343
|
-
"margin-left": string;
|
|
344
|
-
};
|
|
345
|
-
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content": {
|
|
346
|
-
width: string;
|
|
347
|
-
"margin-top": string;
|
|
348
|
-
"margin-left": string;
|
|
349
|
-
};
|
|
350
|
-
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before": {
|
|
351
|
-
right: string;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
151
|
".secure-payment-form .credit-card-qr-code-payments"?: {
|
|
355
152
|
"font-family": string;
|
|
356
153
|
};
|
|
@@ -766,68 +563,6 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
766
563
|
display: string;
|
|
767
564
|
margin: string;
|
|
768
565
|
};
|
|
769
|
-
".secure-payment-form .tooltip": {
|
|
770
|
-
position: string;
|
|
771
|
-
width: string;
|
|
772
|
-
height: string;
|
|
773
|
-
border: string;
|
|
774
|
-
"border-left": string;
|
|
775
|
-
color: string;
|
|
776
|
-
float: string;
|
|
777
|
-
"background-size": string;
|
|
778
|
-
background: string;
|
|
779
|
-
"font-family": string;
|
|
780
|
-
};
|
|
781
|
-
".secure-payment-form .tooltip:focus": {
|
|
782
|
-
border: string;
|
|
783
|
-
outline: string;
|
|
784
|
-
"border-left": string;
|
|
785
|
-
};
|
|
786
|
-
".secure-payment-form .tooltip:hover": {
|
|
787
|
-
border: string;
|
|
788
|
-
outline: string;
|
|
789
|
-
"border-left": string;
|
|
790
|
-
};
|
|
791
|
-
".secure-payment-form .tooltip-content": {
|
|
792
|
-
visibility: string;
|
|
793
|
-
width: string;
|
|
794
|
-
"background-color": string;
|
|
795
|
-
color: string;
|
|
796
|
-
"text-align": string;
|
|
797
|
-
"border-radius": string;
|
|
798
|
-
border: string;
|
|
799
|
-
padding: string;
|
|
800
|
-
position: string;
|
|
801
|
-
"z-index": string;
|
|
802
|
-
right: string;
|
|
803
|
-
opacity: string;
|
|
804
|
-
transition: string;
|
|
805
|
-
"font-size": string;
|
|
806
|
-
"font-weight": string;
|
|
807
|
-
"box-shadow": string;
|
|
808
|
-
"margin-top": string;
|
|
809
|
-
"margin-right": string;
|
|
810
|
-
};
|
|
811
|
-
".secure-payment-form .tooltip-content h4": {
|
|
812
|
-
margin: string;
|
|
813
|
-
};
|
|
814
|
-
".secure-payment-form .tooltip:hover > .tooltip-content": {
|
|
815
|
-
visibility: string;
|
|
816
|
-
opacity: string;
|
|
817
|
-
};
|
|
818
|
-
".secure-payment-form .tooltip:focus > .tooltip-content": {
|
|
819
|
-
visibility: string;
|
|
820
|
-
opacity: string;
|
|
821
|
-
};
|
|
822
|
-
".secure-payment-form .tooltip-content::before": {
|
|
823
|
-
position: string;
|
|
824
|
-
content: string;
|
|
825
|
-
right: string;
|
|
826
|
-
top: string;
|
|
827
|
-
"border-left": string;
|
|
828
|
-
"border-right": string;
|
|
829
|
-
"border-bottom": string;
|
|
830
|
-
};
|
|
831
566
|
".secure-payment-form": {
|
|
832
567
|
"font-family": string;
|
|
833
568
|
width: string;
|
|
@@ -33,9 +33,6 @@ declare const en: {
|
|
|
33
33
|
NotValidCardHolderName: string;
|
|
34
34
|
CharactersMoreThan100: string;
|
|
35
35
|
};
|
|
36
|
-
CurrencyConversion: {
|
|
37
|
-
Required: string;
|
|
38
|
-
};
|
|
39
36
|
};
|
|
40
37
|
footer: {
|
|
41
38
|
"ssl-msg-alt": string;
|
|
@@ -84,17 +81,5 @@ declare const en: {
|
|
|
84
81
|
"aria-label": string;
|
|
85
82
|
};
|
|
86
83
|
};
|
|
87
|
-
dcc: {
|
|
88
|
-
label: string;
|
|
89
|
-
additionalInfo: (currency: string, exchangeRate: string, payerCurrency: string, marginRatePercentage: string) => string;
|
|
90
|
-
cardCurrency: {
|
|
91
|
-
tooltip: (payerCurrency: string, exchangeRateSource: string, exchangeRateTimeCreated: string) => string;
|
|
92
|
-
"aria-label": string;
|
|
93
|
-
};
|
|
94
|
-
merchantCurrency: {
|
|
95
|
-
tooltip: (exchangeRateSource: string, exchangeRateTimeCreated: string) => string;
|
|
96
|
-
"aria-label": string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
84
|
};
|
|
100
85
|
export default en;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import IValidator from "./validator";
|
|
2
2
|
export default class Expiration implements IValidator {
|
|
3
3
|
validate(exp: string): boolean;
|
|
4
|
-
/**
|
|
5
|
-
* Validates the expiration date in the format "MM/YYYY".
|
|
6
|
-
* Returns true if the expiration date is valid, otherwise false.
|
|
7
|
-
* @param exp The expiration date string to validate.
|
|
8
|
-
* @returns A boolean indicating whether the expiration date is valid or not.
|
|
9
|
-
*/
|
|
10
|
-
validateDate(exp: string): boolean;
|
|
11
4
|
}
|
package/types/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.0.
|
|
1
|
+
declare const _default: "4.0.11";
|
|
2
2
|
export default _default;
|
|
@@ -84,14 +84,6 @@ export interface IConfiguration extends IDictionary {
|
|
|
84
84
|
mcc: string;
|
|
85
85
|
currency: string;
|
|
86
86
|
};
|
|
87
|
-
currencyConversion?: {
|
|
88
|
-
accountName: string;
|
|
89
|
-
enabled: boolean;
|
|
90
|
-
channel: string;
|
|
91
|
-
country: string;
|
|
92
|
-
currency: string;
|
|
93
|
-
transactionType?: string;
|
|
94
|
-
};
|
|
95
87
|
fieldValidation?: {
|
|
96
88
|
enabled?: boolean;
|
|
97
89
|
characterValidation?: string;
|