@globalpayments/js 4.1.3 → 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/default.d.ts +98 -8
- package/types/internal/lib/styles/gp-default.d.ts +98 -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 +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/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 +296 -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/types/ui/form/index.d.ts
CHANGED
|
@@ -130,12 +130,6 @@ export declare const fieldStyles: () => {
|
|
|
130
130
|
};
|
|
131
131
|
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
132
132
|
background: string;
|
|
133
|
-
/**
|
|
134
|
-
* Instantiates a new UIForm object for a group of hosted fields
|
|
135
|
-
*
|
|
136
|
-
* @param fields Hosted field configuration
|
|
137
|
-
* @param styles Custom CSS configuration
|
|
138
|
-
*/
|
|
139
133
|
"background-size": string;
|
|
140
134
|
"background-position-y": string;
|
|
141
135
|
};
|
|
@@ -467,6 +461,71 @@ export declare const fieldStyles: () => {
|
|
|
467
461
|
export declare const parentStyles: () => {
|
|
468
462
|
blank: {};
|
|
469
463
|
default: {
|
|
464
|
+
".bank-selection-wrapper": {
|
|
465
|
+
background: string;
|
|
466
|
+
padding: string;
|
|
467
|
+
};
|
|
468
|
+
".bank-selection": {
|
|
469
|
+
display: string;
|
|
470
|
+
"align-items": string;
|
|
471
|
+
"flex-flow": string;
|
|
472
|
+
"margin-bottom": string;
|
|
473
|
+
};
|
|
474
|
+
".bank-selecction-option": {
|
|
475
|
+
width: string;
|
|
476
|
+
height: string;
|
|
477
|
+
cursor: string;
|
|
478
|
+
display: string;
|
|
479
|
+
"align-items": string;
|
|
480
|
+
"justify-content": string;
|
|
481
|
+
"box-shadow": string;
|
|
482
|
+
"margin-right": string;
|
|
483
|
+
"margin-left": string;
|
|
484
|
+
"margin-top": string;
|
|
485
|
+
background: string;
|
|
486
|
+
"border-radius": string;
|
|
487
|
+
"flex-direction": string;
|
|
488
|
+
};
|
|
489
|
+
".bank-selecction-option::before": {
|
|
490
|
+
content: string;
|
|
491
|
+
width: string;
|
|
492
|
+
height: string;
|
|
493
|
+
position: string;
|
|
494
|
+
"margin-left": string;
|
|
495
|
+
};
|
|
496
|
+
".bank-selecction-option:hover": {
|
|
497
|
+
border: string;
|
|
498
|
+
};
|
|
499
|
+
".bank-selecction-option:active": {
|
|
500
|
+
background: string;
|
|
501
|
+
border: string;
|
|
502
|
+
};
|
|
503
|
+
".qr-code-button": {
|
|
504
|
+
background: string;
|
|
505
|
+
};
|
|
506
|
+
".title-text": {
|
|
507
|
+
color: string;
|
|
508
|
+
"font-size": string;
|
|
509
|
+
"font-weight": string;
|
|
510
|
+
"line-height": string;
|
|
511
|
+
"font-family": string;
|
|
512
|
+
};
|
|
513
|
+
".order-information"?: {
|
|
514
|
+
display: string;
|
|
515
|
+
"flex-direction": string;
|
|
516
|
+
"align-items": string;
|
|
517
|
+
"font-family": string;
|
|
518
|
+
};
|
|
519
|
+
".title-field"?: {
|
|
520
|
+
"font-weight": string;
|
|
521
|
+
"line-height": string;
|
|
522
|
+
"font-size": string;
|
|
523
|
+
};
|
|
524
|
+
".order-information-field"?: {
|
|
525
|
+
"line-height": string;
|
|
526
|
+
"font-size": string;
|
|
527
|
+
"font-weight": string;
|
|
528
|
+
};
|
|
470
529
|
".secure-payment-form .credit-card-qr-code-payments"?: {
|
|
471
530
|
"font-family": string;
|
|
472
531
|
};
|
|
@@ -608,8 +667,12 @@ export declare const parentStyles: () => {
|
|
|
608
667
|
"flex-direction": string;
|
|
609
668
|
"align-items": string;
|
|
610
669
|
};
|
|
670
|
+
".secure-payment-form .blik-button-wrapper": {
|
|
671
|
+
display: string;
|
|
672
|
+
"flex-direction": string;
|
|
673
|
+
"align-items": string;
|
|
674
|
+
};
|
|
611
675
|
".secure-payment-form .open-banking-button::before": {
|
|
612
|
-
content: string;
|
|
613
676
|
width: string;
|
|
614
677
|
height: string;
|
|
615
678
|
position: string;
|
|
@@ -618,7 +681,6 @@ export declare const parentStyles: () => {
|
|
|
618
681
|
};
|
|
619
682
|
".secure-payment-form .open-banking-button": {
|
|
620
683
|
position: string;
|
|
621
|
-
background: string;
|
|
622
684
|
color: string;
|
|
623
685
|
height: string;
|
|
624
686
|
width: string;
|
|
@@ -626,20 +688,42 @@ export declare const parentStyles: () => {
|
|
|
626
688
|
border: string;
|
|
627
689
|
margin: string;
|
|
628
690
|
cursor: string;
|
|
629
|
-
"-webkit-box-shadow": string;
|
|
630
|
-
"-moz-box-shadow": string;
|
|
631
|
-
"box-shadow": string;
|
|
632
691
|
};
|
|
633
692
|
".secure-payment-form .open-banking-button:hover": {
|
|
634
693
|
"border-color": string;
|
|
635
|
-
"-
|
|
636
|
-
"-moz-box-shadow": string;
|
|
637
|
-
"box-shadow": string;
|
|
694
|
+
"background-color": string;
|
|
638
695
|
};
|
|
639
696
|
".secure-payment-form .open-banking-button:focus": {
|
|
640
697
|
outline: string;
|
|
641
698
|
"outline-offset": string;
|
|
642
699
|
};
|
|
700
|
+
".secure-payment-form .blik-button": {
|
|
701
|
+
position: string;
|
|
702
|
+
background: string;
|
|
703
|
+
color: string;
|
|
704
|
+
height: string;
|
|
705
|
+
width: string;
|
|
706
|
+
"border-radius": string;
|
|
707
|
+
border: string;
|
|
708
|
+
margin: string;
|
|
709
|
+
cursor: string;
|
|
710
|
+
};
|
|
711
|
+
".secure-payment-form .blik-button:hover": {
|
|
712
|
+
"border-color": string;
|
|
713
|
+
"background-color": string;
|
|
714
|
+
};
|
|
715
|
+
".secure-payment-form .blik-button:focus": {
|
|
716
|
+
outline: string;
|
|
717
|
+
"outline-offset": string;
|
|
718
|
+
};
|
|
719
|
+
".secure-payment-form .blik-button::before": {
|
|
720
|
+
content: string;
|
|
721
|
+
width: string;
|
|
722
|
+
height: string;
|
|
723
|
+
position: string;
|
|
724
|
+
top: string;
|
|
725
|
+
right: string;
|
|
726
|
+
};
|
|
643
727
|
".secure-payment-form .link-button": {
|
|
644
728
|
display: string;
|
|
645
729
|
"flex-direction": string;
|
|
@@ -855,12 +939,7 @@ export declare const parentStyles: () => {
|
|
|
855
939
|
display: string;
|
|
856
940
|
};
|
|
857
941
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
858
|
-
"margin-bottom": string;
|
|
859
|
-
* Sets a special-case event listener that fires when all hosted
|
|
860
|
-
* fields in a form have registered / loaded
|
|
861
|
-
*
|
|
862
|
-
* @param fn The listener function
|
|
863
|
-
*/
|
|
942
|
+
"margin-bottom": string;
|
|
864
943
|
};
|
|
865
944
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
866
945
|
left: string;
|
|
@@ -882,9 +961,7 @@ export declare const parentStyles: () => {
|
|
|
882
961
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
883
962
|
width: string;
|
|
884
963
|
"justify-content": string;
|
|
885
|
-
};
|
|
886
|
-
* Deletes all hosted fields within the form
|
|
887
|
-
*/
|
|
964
|
+
};
|
|
888
965
|
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
889
966
|
margin: string;
|
|
890
967
|
};
|
|
@@ -1036,6 +1113,9 @@ export declare const parentStyles: () => {
|
|
|
1036
1113
|
background: string;
|
|
1037
1114
|
width: string;
|
|
1038
1115
|
left: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Represents logic surrounding a group of hosted fields.
|
|
1118
|
+
*/
|
|
1039
1119
|
"margin-left": string;
|
|
1040
1120
|
border: string;
|
|
1041
1121
|
"border-width": string;
|
|
@@ -1099,11 +1179,6 @@ export declare const parentStyles: () => {
|
|
|
1099
1179
|
display: string;
|
|
1100
1180
|
padding: string;
|
|
1101
1181
|
transform: string;
|
|
1102
|
-
/**
|
|
1103
|
-
* Appends additional CSS rules to the group of hosted fields
|
|
1104
|
-
*
|
|
1105
|
-
* @param json New CSS rules
|
|
1106
|
-
*/
|
|
1107
1182
|
"-webkit-transform": string;
|
|
1108
1183
|
"z-index": string;
|
|
1109
1184
|
top: string;
|
|
@@ -1327,9 +1402,6 @@ export declare const parentStyles: () => {
|
|
|
1327
1402
|
"vertical-align": string;
|
|
1328
1403
|
"text-align": string;
|
|
1329
1404
|
"margin-left": string;
|
|
1330
|
-
/**
|
|
1331
|
-
* Deletes all hosted fields within the form
|
|
1332
|
-
*/
|
|
1333
1405
|
"margin-right": string;
|
|
1334
1406
|
"margin-top": string;
|
|
1335
1407
|
};
|
|
@@ -1405,6 +1477,71 @@ export declare const parentStyles: () => {
|
|
|
1405
1477
|
};
|
|
1406
1478
|
};
|
|
1407
1479
|
"gp-default": {
|
|
1480
|
+
".bank-selection-wrapper": {
|
|
1481
|
+
background: string;
|
|
1482
|
+
padding: string;
|
|
1483
|
+
};
|
|
1484
|
+
".bank-selection": {
|
|
1485
|
+
display: string;
|
|
1486
|
+
"align-items": string;
|
|
1487
|
+
"flex-flow": string;
|
|
1488
|
+
"margin-bottom": string;
|
|
1489
|
+
};
|
|
1490
|
+
".bank-selecction-option": {
|
|
1491
|
+
width: string;
|
|
1492
|
+
height: string;
|
|
1493
|
+
cursor: string;
|
|
1494
|
+
display: string;
|
|
1495
|
+
"align-items": string;
|
|
1496
|
+
"justify-content": string;
|
|
1497
|
+
"box-shadow": string;
|
|
1498
|
+
"margin-right": string;
|
|
1499
|
+
"margin-left": string;
|
|
1500
|
+
"margin-top": string;
|
|
1501
|
+
background: string;
|
|
1502
|
+
"border-radius": string;
|
|
1503
|
+
"flex-direction": string;
|
|
1504
|
+
};
|
|
1505
|
+
".bank-selecction-option::before": {
|
|
1506
|
+
content: string;
|
|
1507
|
+
width: string;
|
|
1508
|
+
height: string;
|
|
1509
|
+
position: string;
|
|
1510
|
+
"margin-left": string;
|
|
1511
|
+
};
|
|
1512
|
+
".bank-selecction-option:hover": {
|
|
1513
|
+
border: string;
|
|
1514
|
+
};
|
|
1515
|
+
".bank-selecction-option:active": {
|
|
1516
|
+
background: string;
|
|
1517
|
+
border: string;
|
|
1518
|
+
};
|
|
1519
|
+
".qr-code-button": {
|
|
1520
|
+
background: string;
|
|
1521
|
+
};
|
|
1522
|
+
".title-text": {
|
|
1523
|
+
color: string;
|
|
1524
|
+
"font-size": string;
|
|
1525
|
+
"font-weight": string;
|
|
1526
|
+
"line-height": string;
|
|
1527
|
+
"font-family": string;
|
|
1528
|
+
};
|
|
1529
|
+
".order-information"?: {
|
|
1530
|
+
display: string;
|
|
1531
|
+
"flex-direction": string;
|
|
1532
|
+
"align-items": string;
|
|
1533
|
+
"font-family": string;
|
|
1534
|
+
};
|
|
1535
|
+
".title-field"?: {
|
|
1536
|
+
"font-weight": string;
|
|
1537
|
+
"line-height": string;
|
|
1538
|
+
"font-size": string;
|
|
1539
|
+
};
|
|
1540
|
+
".order-information-field"?: {
|
|
1541
|
+
"line-height": string;
|
|
1542
|
+
"font-size": string;
|
|
1543
|
+
"font-weight": string;
|
|
1544
|
+
};
|
|
1408
1545
|
".secure-payment-form .credit-card-qr-code-payments"?: {
|
|
1409
1546
|
"font-family": string;
|
|
1410
1547
|
};
|
|
@@ -1546,8 +1683,12 @@ export declare const parentStyles: () => {
|
|
|
1546
1683
|
"flex-direction": string;
|
|
1547
1684
|
"align-items": string;
|
|
1548
1685
|
};
|
|
1686
|
+
".secure-payment-form .blik-button-wrapper": {
|
|
1687
|
+
display: string;
|
|
1688
|
+
"flex-direction": string;
|
|
1689
|
+
"align-items": string;
|
|
1690
|
+
};
|
|
1549
1691
|
".secure-payment-form .open-banking-button::before": {
|
|
1550
|
-
content: string;
|
|
1551
1692
|
width: string;
|
|
1552
1693
|
height: string;
|
|
1553
1694
|
position: string;
|
|
@@ -1556,7 +1697,6 @@ export declare const parentStyles: () => {
|
|
|
1556
1697
|
};
|
|
1557
1698
|
".secure-payment-form .open-banking-button": {
|
|
1558
1699
|
position: string;
|
|
1559
|
-
background: string;
|
|
1560
1700
|
color: string;
|
|
1561
1701
|
height: string;
|
|
1562
1702
|
width: string;
|
|
@@ -1564,20 +1704,42 @@ export declare const parentStyles: () => {
|
|
|
1564
1704
|
border: string;
|
|
1565
1705
|
margin: string;
|
|
1566
1706
|
cursor: string;
|
|
1567
|
-
"-webkit-box-shadow": string;
|
|
1568
|
-
"-moz-box-shadow": string;
|
|
1569
|
-
"box-shadow": string;
|
|
1570
1707
|
};
|
|
1571
1708
|
".secure-payment-form .open-banking-button:hover": {
|
|
1572
1709
|
"border-color": string;
|
|
1573
|
-
"-
|
|
1574
|
-
"-moz-box-shadow": string;
|
|
1575
|
-
"box-shadow": string;
|
|
1710
|
+
"background-color": string;
|
|
1576
1711
|
};
|
|
1577
1712
|
".secure-payment-form .open-banking-button:focus": {
|
|
1578
1713
|
outline: string;
|
|
1579
1714
|
"outline-offset": string;
|
|
1580
1715
|
};
|
|
1716
|
+
".secure-payment-form .blik-button": {
|
|
1717
|
+
position: string;
|
|
1718
|
+
background: string;
|
|
1719
|
+
color: string;
|
|
1720
|
+
height: string;
|
|
1721
|
+
width: string;
|
|
1722
|
+
"border-radius": string;
|
|
1723
|
+
border: string;
|
|
1724
|
+
margin: string;
|
|
1725
|
+
cursor: string;
|
|
1726
|
+
};
|
|
1727
|
+
".secure-payment-form .blik-button:hover": {
|
|
1728
|
+
"border-color": string;
|
|
1729
|
+
"background-color": string;
|
|
1730
|
+
};
|
|
1731
|
+
".secure-payment-form .blik-button:focus": {
|
|
1732
|
+
outline: string;
|
|
1733
|
+
"outline-offset": string;
|
|
1734
|
+
};
|
|
1735
|
+
".secure-payment-form .blik-button::before": {
|
|
1736
|
+
content: string;
|
|
1737
|
+
width: string;
|
|
1738
|
+
height: string;
|
|
1739
|
+
position: string;
|
|
1740
|
+
top: string;
|
|
1741
|
+
right: string;
|
|
1742
|
+
};
|
|
1581
1743
|
".secure-payment-form .link-button": {
|
|
1582
1744
|
display: string;
|
|
1583
1745
|
"flex-direction": string;
|
|
@@ -1713,12 +1875,6 @@ export declare const parentStyles: () => {
|
|
|
1713
1875
|
visibility: boolean;
|
|
1714
1876
|
display: string;
|
|
1715
1877
|
"flex-direction": string;
|
|
1716
|
-
/**
|
|
1717
|
-
* Instantiates a new UIForm object for a group of hosted fields
|
|
1718
|
-
*
|
|
1719
|
-
* @param fields Hosted field configuration
|
|
1720
|
-
* @param styles Custom CSS configuration
|
|
1721
|
-
*/
|
|
1722
1878
|
"margin-left": string;
|
|
1723
1879
|
"align-items": string;
|
|
1724
1880
|
height: string;
|
|
@@ -1729,16 +1885,6 @@ export declare const parentStyles: () => {
|
|
|
1729
1885
|
visibility: boolean;
|
|
1730
1886
|
};
|
|
1731
1887
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content"?: {
|
|
1732
|
-
/**
|
|
1733
|
-
* Sets an event listener for an event type
|
|
1734
|
-
*
|
|
1735
|
-
* @param fieldTypeOrEventName The field type on which the listener should
|
|
1736
|
-
* be applied, or the type of event that should trigger the listener
|
|
1737
|
-
* @param eventNameOrListener The type of event that should trigger the
|
|
1738
|
-
* listener, or the listener function
|
|
1739
|
-
* @param listener The listener function when both field type and event type
|
|
1740
|
-
* are provided
|
|
1741
|
-
*/
|
|
1742
1888
|
opacity: string;
|
|
1743
1889
|
visibility: boolean;
|
|
1744
1890
|
display: string;
|
|
@@ -1790,12 +1936,7 @@ export declare const parentStyles: () => {
|
|
|
1790
1936
|
margin: string;
|
|
1791
1937
|
};
|
|
1792
1938
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
1793
|
-
"margin-bottom": string;
|
|
1794
|
-
* Sets a special-case event listener that fires when all hosted
|
|
1795
|
-
* fields in a form have registered / loaded
|
|
1796
|
-
*
|
|
1797
|
-
* @param fn The listener function
|
|
1798
|
-
*/
|
|
1939
|
+
"margin-bottom": string;
|
|
1799
1940
|
};
|
|
1800
1941
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
1801
1942
|
left: string;
|
|
@@ -1817,9 +1958,7 @@ export declare const parentStyles: () => {
|
|
|
1817
1958
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
1818
1959
|
width: string;
|
|
1819
1960
|
"justify-content": string;
|
|
1820
|
-
};
|
|
1821
|
-
* Deletes all hosted fields within the form
|
|
1822
|
-
*/
|
|
1961
|
+
};
|
|
1823
1962
|
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
1824
1963
|
margin: string;
|
|
1825
1964
|
};
|
|
@@ -1996,6 +2135,9 @@ export declare const parentStyles: () => {
|
|
|
1996
2135
|
background: string;
|
|
1997
2136
|
width: string;
|
|
1998
2137
|
left: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* Represents logic surrounding a group of hosted fields.
|
|
2140
|
+
*/
|
|
1999
2141
|
"margin-left": string;
|
|
2000
2142
|
border: string;
|
|
2001
2143
|
"border-width": string;
|
|
@@ -2059,11 +2201,6 @@ export declare const parentStyles: () => {
|
|
|
2059
2201
|
display: string;
|
|
2060
2202
|
padding: string;
|
|
2061
2203
|
transform: string;
|
|
2062
|
-
/**
|
|
2063
|
-
* Appends additional CSS rules to the group of hosted fields
|
|
2064
|
-
*
|
|
2065
|
-
* @param json New CSS rules
|
|
2066
|
-
*/
|
|
2067
2204
|
"-webkit-transform": string;
|
|
2068
2205
|
"z-index": string;
|
|
2069
2206
|
top: string;
|
|
@@ -2280,9 +2417,6 @@ export declare const parentStyles: () => {
|
|
|
2280
2417
|
margin: string;
|
|
2281
2418
|
};
|
|
2282
2419
|
".secure-payment-form .installment-term-selector-title": {
|
|
2283
|
-
/**
|
|
2284
|
-
* Represents logic surrounding a group of hosted fields.
|
|
2285
|
-
*/
|
|
2286
2420
|
"text-align": string;
|
|
2287
2421
|
padding: string;
|
|
2288
2422
|
};
|
|
@@ -2301,7 +2435,16 @@ export declare const parentStyles: () => {
|
|
|
2301
2435
|
};
|
|
2302
2436
|
".secure-payment-form .installment-field-value-item": {
|
|
2303
2437
|
color: string;
|
|
2304
|
-
"font-style": string;
|
|
2438
|
+
"font-style": string; /**
|
|
2439
|
+
* Sets an event listener for an event type
|
|
2440
|
+
*
|
|
2441
|
+
* @param fieldTypeOrEventName The field type on which the listener should
|
|
2442
|
+
* be applied, or the type of event that should trigger the listener
|
|
2443
|
+
* @param eventNameOrListener The type of event that should trigger the
|
|
2444
|
+
* listener, or the listener function
|
|
2445
|
+
* @param listener The listener function when both field type and event type
|
|
2446
|
+
* are provided
|
|
2447
|
+
*/
|
|
2305
2448
|
"font-weight": string;
|
|
2306
2449
|
"line-height": string;
|
|
2307
2450
|
"font-size": string;
|
|
@@ -2354,12 +2497,6 @@ export declare const parentStyles: () => {
|
|
|
2354
2497
|
"line-height": string;
|
|
2355
2498
|
"font-style": string;
|
|
2356
2499
|
border: string;
|
|
2357
|
-
/**
|
|
2358
|
-
* Sets a special-case event listener that fires when all hosted
|
|
2359
|
-
* fields in a form have registered / loaded
|
|
2360
|
-
*
|
|
2361
|
-
* @param fn The listener function
|
|
2362
|
-
*/
|
|
2363
2500
|
cursor: string;
|
|
2364
2501
|
"margin-top": string;
|
|
2365
2502
|
"margin-bottom": string;
|
|
@@ -2380,9 +2517,6 @@ export declare const parentStyles: () => {
|
|
|
2380
2517
|
};
|
|
2381
2518
|
".secure-payment-form .installment-button-explore-plans:focus": {
|
|
2382
2519
|
background: string;
|
|
2383
|
-
/**
|
|
2384
|
-
* Deletes all hosted fields within the form
|
|
2385
|
-
*/
|
|
2386
2520
|
border: string;
|
|
2387
2521
|
};
|
|
2388
2522
|
".secure-payment-form .installment-button-learn-more": {
|
|
@@ -2594,16 +2728,7 @@ export declare const parentStyles: () => {
|
|
|
2594
2728
|
".secure-payment-form label": {
|
|
2595
2729
|
margin: string;
|
|
2596
2730
|
display: string;
|
|
2597
|
-
"font-size": string;
|
|
2598
|
-
* Sets an event listener for an event type
|
|
2599
|
-
*
|
|
2600
|
-
* @param fieldTypeOrEventName The field type on which the listener should
|
|
2601
|
-
* be applied, or the type of event that should trigger the listener
|
|
2602
|
-
* @param eventNameOrListener The type of event that should trigger the
|
|
2603
|
-
* listener, or the listener function
|
|
2604
|
-
* @param listener The listener function when both field type and event type
|
|
2605
|
-
* are provided
|
|
2606
|
-
*/
|
|
2731
|
+
"font-size": string;
|
|
2607
2732
|
"font-weight": string;
|
|
2608
2733
|
"font-family": string;
|
|
2609
2734
|
};
|
|
@@ -2657,6 +2782,11 @@ export declare const parentStyles: () => {
|
|
|
2657
2782
|
display: string;
|
|
2658
2783
|
"justify-content": string;
|
|
2659
2784
|
};
|
|
2785
|
+
/**
|
|
2786
|
+
* Appends additional CSS rules to the group of hosted fields
|
|
2787
|
+
*
|
|
2788
|
+
* @param json New CSS rules
|
|
2789
|
+
*/
|
|
2660
2790
|
".secure-payment-form div[class$='-logo'] .security-msg": {
|
|
2661
2791
|
color: string;
|
|
2662
2792
|
"font-size": string;
|
|
@@ -2700,7 +2830,9 @@ export declare const parentStyles: () => {
|
|
|
2700
2830
|
"-o-transform": string;
|
|
2701
2831
|
transform: string;
|
|
2702
2832
|
margin: string;
|
|
2703
|
-
"font-family": string;
|
|
2833
|
+
"font-family": string; /**
|
|
2834
|
+
* Deletes all hosted fields within the form
|
|
2835
|
+
*/
|
|
2704
2836
|
"font-size": string;
|
|
2705
2837
|
"white-space": string;
|
|
2706
2838
|
};
|
|
@@ -2723,6 +2855,71 @@ export declare const parentStyles: () => {
|
|
|
2723
2855
|
};
|
|
2724
2856
|
};
|
|
2725
2857
|
simple: {
|
|
2858
|
+
".bank-selection-wrapper": {
|
|
2859
|
+
background: string;
|
|
2860
|
+
padding: string;
|
|
2861
|
+
};
|
|
2862
|
+
".bank-selection": {
|
|
2863
|
+
display: string;
|
|
2864
|
+
"align-items": string;
|
|
2865
|
+
"flex-flow": string;
|
|
2866
|
+
"margin-bottom": string;
|
|
2867
|
+
};
|
|
2868
|
+
".bank-selecction-option": {
|
|
2869
|
+
width: string;
|
|
2870
|
+
height: string;
|
|
2871
|
+
cursor: string;
|
|
2872
|
+
display: string;
|
|
2873
|
+
"align-items": string;
|
|
2874
|
+
"justify-content": string;
|
|
2875
|
+
"box-shadow": string;
|
|
2876
|
+
"margin-right": string;
|
|
2877
|
+
"margin-left": string;
|
|
2878
|
+
"margin-top": string;
|
|
2879
|
+
background: string;
|
|
2880
|
+
"border-radius": string;
|
|
2881
|
+
"flex-direction": string;
|
|
2882
|
+
};
|
|
2883
|
+
".bank-selecction-option::before": {
|
|
2884
|
+
content: string;
|
|
2885
|
+
width: string;
|
|
2886
|
+
height: string;
|
|
2887
|
+
position: string;
|
|
2888
|
+
"margin-left": string;
|
|
2889
|
+
};
|
|
2890
|
+
".bank-selecction-option:hover": {
|
|
2891
|
+
border: string;
|
|
2892
|
+
};
|
|
2893
|
+
".bank-selecction-option:active": {
|
|
2894
|
+
background: string;
|
|
2895
|
+
border: string;
|
|
2896
|
+
};
|
|
2897
|
+
".qr-code-button": {
|
|
2898
|
+
background: string;
|
|
2899
|
+
};
|
|
2900
|
+
".title-text": {
|
|
2901
|
+
color: string;
|
|
2902
|
+
"font-size": string;
|
|
2903
|
+
"font-weight": string;
|
|
2904
|
+
"line-height": string;
|
|
2905
|
+
"font-family": string;
|
|
2906
|
+
};
|
|
2907
|
+
".order-information"?: {
|
|
2908
|
+
display: string;
|
|
2909
|
+
"flex-direction": string;
|
|
2910
|
+
"align-items": string;
|
|
2911
|
+
"font-family": string;
|
|
2912
|
+
};
|
|
2913
|
+
".title-field"?: {
|
|
2914
|
+
"font-weight": string;
|
|
2915
|
+
"line-height": string;
|
|
2916
|
+
"font-size": string;
|
|
2917
|
+
};
|
|
2918
|
+
".order-information-field"?: {
|
|
2919
|
+
"line-height": string;
|
|
2920
|
+
"font-size": string;
|
|
2921
|
+
"font-weight": string;
|
|
2922
|
+
};
|
|
2726
2923
|
".secure-payment-form .credit-card-currency-conversion legend"?: {
|
|
2727
2924
|
"font-family": string;
|
|
2728
2925
|
color: string;
|
|
@@ -2883,12 +3080,7 @@ export declare const parentStyles: () => {
|
|
|
2883
3080
|
display: string;
|
|
2884
3081
|
};
|
|
2885
3082
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
2886
|
-
"margin-bottom": string;
|
|
2887
|
-
* Sets a special-case event listener that fires when all hosted
|
|
2888
|
-
* fields in a form have registered / loaded
|
|
2889
|
-
*
|
|
2890
|
-
* @param fn The listener function
|
|
2891
|
-
*/
|
|
3083
|
+
"margin-bottom": string;
|
|
2892
3084
|
};
|
|
2893
3085
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
2894
3086
|
left: string;
|
|
@@ -2910,9 +3102,7 @@ export declare const parentStyles: () => {
|
|
|
2910
3102
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
2911
3103
|
width: string;
|
|
2912
3104
|
"justify-content": string;
|
|
2913
|
-
};
|
|
2914
|
-
* Deletes all hosted fields within the form
|
|
2915
|
-
*/
|
|
3105
|
+
};
|
|
2916
3106
|
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
2917
3107
|
margin: string;
|
|
2918
3108
|
};
|
|
@@ -3190,6 +3380,9 @@ export declare const parentStyles: () => {
|
|
|
3190
3380
|
background: string;
|
|
3191
3381
|
width: string;
|
|
3192
3382
|
left: string;
|
|
3383
|
+
/**
|
|
3384
|
+
* Represents logic surrounding a group of hosted fields.
|
|
3385
|
+
*/
|
|
3193
3386
|
"margin-left": string;
|
|
3194
3387
|
border: string;
|
|
3195
3388
|
"border-width": string;
|
|
@@ -3253,11 +3446,6 @@ export declare const parentStyles: () => {
|
|
|
3253
3446
|
display: string;
|
|
3254
3447
|
padding: string;
|
|
3255
3448
|
transform: string;
|
|
3256
|
-
/**
|
|
3257
|
-
* Appends additional CSS rules to the group of hosted fields
|
|
3258
|
-
*
|
|
3259
|
-
* @param json New CSS rules
|
|
3260
|
-
*/
|
|
3261
3449
|
"-webkit-transform": string;
|
|
3262
3450
|
"z-index": string;
|
|
3263
3451
|
top: string;
|
|
@@ -3471,12 +3659,6 @@ export declare const parentStyles: () => {
|
|
|
3471
3659
|
"margin-left": string;
|
|
3472
3660
|
"vertical-align": string;
|
|
3473
3661
|
};
|
|
3474
|
-
/**
|
|
3475
|
-
* Sets a special-case event listener that fires when all hosted
|
|
3476
|
-
* fields in a form have registered / loaded
|
|
3477
|
-
*
|
|
3478
|
-
* @param fn The listener function
|
|
3479
|
-
*/
|
|
3480
3662
|
".secure-payment-form div[class$='-shield'] .ssl-msg": {
|
|
3481
3663
|
"font-size": string;
|
|
3482
3664
|
"font-weight": string;
|
|
@@ -3503,9 +3685,7 @@ export declare const parentStyles: () => {
|
|
|
3503
3685
|
".secure-payment-form div[class$='-logo'] .security-msg": {
|
|
3504
3686
|
color: string;
|
|
3505
3687
|
"font-size": string;
|
|
3506
|
-
display: string;
|
|
3507
|
-
* Deletes all hosted fields within the form
|
|
3508
|
-
*/
|
|
3688
|
+
display: string;
|
|
3509
3689
|
"vertical-align": string;
|
|
3510
3690
|
"white-space": string;
|
|
3511
3691
|
"margin-right": string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IframeField } from "../index";
|
|
2
2
|
import { Apm, ApmProviders } from "../../../internal/lib/enums";
|
|
3
|
-
export default function addPaymentMethod(iframeField: IframeField | undefined, apmProvider: ApmProviders, apm: Apm): void;
|
|
3
|
+
export default function addPaymentMethod(iframeField: IframeField | undefined, apmProvider: ApmProviders, apm: Apm, countryCode?: string | undefined): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function handleRedirectAction(content: HTMLDivElement, props: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const REDIRECT_ACTION_DELAY_IN_SECONDS = 2000;
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|