@globalpayments/js 4.0.19 → 4.1.1
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 -2
- package/types/apm/qr-code-payments/enums.d.ts +2 -1
- package/types/common/constants.d.ts +2 -0
- package/types/common/enums.d.ts +6 -0
- package/types/internal/lib/add-footer-branded-icons.d.ts +12 -0
- package/types/internal/lib/enums.d.ts +4 -0
- package/types/internal/lib/styles/built-in-validations/common.d.ts +0 -4
- package/types/internal/lib/styles/built-in-validations/default.d.ts +0 -4
- package/types/internal/lib/styles/built-in-validations/gp-default.d.ts +0 -4
- package/types/internal/lib/styles/built-in-validations/simple.d.ts +0 -4
- package/types/internal/lib/styles/currency-conversion/common.d.ts +12 -2
- package/types/internal/lib/styles/currency-conversion/default.d.ts +5 -0
- package/types/internal/lib/styles/currency-conversion/gp-default.d.ts +12 -2
- package/types/internal/lib/styles/currency-conversion/simple.d.ts +5 -0
- package/types/internal/lib/styles/default.d.ts +13 -4
- package/types/internal/lib/styles/gp-default.d.ts +24 -6
- package/types/internal/lib/styles/qr-code-payments/common.d.ts +8 -0
- package/types/internal/lib/styles/simple.d.ts +13 -4
- package/types/internal/lib/styles/themes/brand-themes/base/base-theme-preset.d.ts +5 -0
- package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +1693 -0
- package/types/internal/lib/styles/themes/brand-themes/base/base-token-definition.d.ts +98 -0
- package/types/internal/lib/styles/themes/brand-themes/base/contracts.d.ts +82 -0
- package/types/internal/lib/styles/themes/brand-themes/brand-theme-boipa-uk.d.ts +9 -0
- package/types/internal/lib/styles/themes/brand-themes/brand-theme-boipa.d.ts +9 -0
- package/types/internal/lib/styles/themes/brand-themes/brand-theme-commerzbank.d.ts +9 -0
- package/types/internal/lib/styles/themes/brand-themes/brand-theme-e-service.d.ts +9 -0
- package/types/internal/lib/styles/themes/brand-themes/brand-theme-nbg-pay.d.ts +9 -0
- package/types/internal/lib/styles/themes/brand-themes/brand-themes.d.ts +14 -0
- package/types/internal/lib/styles/themes/helpers.d.ts +1 -0
- package/types/internal/lib/styles/tooltip/common.d.ts +8 -0
- package/types/lib/version.d.ts +1 -1
- package/types/ui/form/index.d.ts +148 -25
- package/types/apm/apm-payment-methods/index.d.ts +0 -3
- package/types/apm/apm-payment-methods/open-banking/contracts.d.ts +0 -7
- package/types/apm/apm-payment-methods/qr-code-payments/components/common.d.ts +0 -1
- package/types/apm/apm-payment-methods/qr-code-payments/components/redirect-action-handler.d.ts +0 -1
- package/types/apm/apm-payment-methods/qr-code-payments/components/redirect-in-frame-action-handler.d.ts +0 -1
- package/types/apm/apm-payment-methods/qr-code-payments/constants.d.ts +0 -1
- package/types/apm/apm-payment-methods/qr-code-payments/contracts.d.ts +0 -17
- package/types/apm/apm-payment-methods/qr-code-payments/enums.d.ts +0 -9
- package/types/apm/apm-payment-methods/qr-code-payments/helpers.d.ts +0 -2
- package/types/apm/apm-payment-methods/qr-code-payments/requests/get-qr-code-payment-methods.d.ts +0 -3
- package/types/apm/open-banking/contracts.d.ts +0 -7
- package/types/apm/payment-methods/components/common.d.ts +0 -5
- package/types/apm/payment-methods/components/constants.d.ts +0 -1
- package/types/apm/payment-methods/components/redirect-action-handler.d.ts +0 -1
- package/types/apm/payment-methods/contracts.d.ts +0 -8
- package/types/apm/payment-methods/enums.d.ts +0 -10
- package/types/common/local-storage.d.ts +0 -6
- package/types/internal/gateways/gp-api/get-currency-conversion-rates.d.ts +0 -3
- package/types/internal/lib/currency-conversion/components/dom-manipulation.d.ts +0 -1
- package/types/internal/lib/currency-conversion/components/radio-group.d.ts +0 -2
- package/types/internal/lib/dynamic-currency-conversion/contracts/constants.d.ts +0 -1
- package/types/internal/lib/styles/common/tooltip.d.ts +0 -490
- package/types/internal/lib/styles/open-banking/common.d.ts +0 -43
- package/types/internal/validators/currency-conversion.d.ts +0 -4
- package/types/ui/iframe-field/action-accumulate-currency-conversion-data.d.ts +0 -3
- package/types/ui/iframe-field/action-add-currency-conversion.d.ts +0 -2
- package/types/ui/iframe-field/action-add-dynamic-currency-conversion.d.ts +0 -2
- package/types/ui/iframe-field/action-card-request-currency-conversion.d.ts +0 -6
- package/types/ui/iframe-field/action-get-value.d.ts +0 -5
- package/types/ui/iframe-field/action-request-currency-conversion-data.d.ts +0 -3
- package/types/ui/iframe-field/action-request-currency-conversion.d.ts +0 -6
- package/types/ui/iframe-field/action-set-custom-validation-message.d.ts +0 -3
- package/types/ui/iframe-field/action-set-validation-message.d.ts +0 -2
- package/types/ui/iframe-field/apple-pay/action-add-apple-pay.d.ts +0 -2
- package/types/ui/iframe-field/click-to-pay/action-add-click-to-pay.d.ts +0 -2
- package/types/ui/iframe-field/currency-conversion/action-accumulate-currency-conversion-data.d.ts +0 -3
- package/types/ui/iframe-field/currency-conversion/action-add-currency-conversion.d.ts +0 -2
- package/types/ui/iframe-field/currency-conversion/action-get-status.d.ts +0 -8
- package/types/ui/iframe-field/currency-conversion/action-request-completed.d.ts +0 -6
- package/types/ui/iframe-field/currency-conversion/action-request-currency-conversion-data.d.ts +0 -3
- package/types/ui/iframe-field/currency-conversion/action-request-currency-conversion.d.ts +0 -6
- package/types/ui/iframe-field/currency-conversion/action-request-pass-data.d.ts +0 -3
- package/types/ui/iframe-field/currency-conversion/action-set-value.d.ts +0 -3
- package/types/ui/iframe-field/google-pay/action-add-google-pay.d.ts +0 -2
- package/types/ui/iframe-field/installments/action-accumulate-installment-data.d.ts +0 -3
- package/types/ui/iframe-field/installments/action-add-installments.d.ts +0 -3
- package/types/ui/iframe-field/installments/action-card-request-installments.d.ts +0 -6
- package/types/ui/iframe-field/installments/action-request-installment-data.d.ts +0 -3
- package/types/ui/iframe-field/open-banking/action-add-open-banking.d.ts +0 -2
- package/types/ui/iframe-field/paypal/action-add.d.ts +0 -2
- package/types/ui/iframe-field/qr-code-payment-methods/action-add-qr-code-payment-methods.d.ts +0 -3
- package/types/ui/iframe-field/qr-code-payment-methods/action-qr-code-payment-methods-request-start.d.ts +0 -6
package/types/ui/form/index.d.ts
CHANGED
|
@@ -23,10 +23,6 @@ export declare const fieldStyles: () => {
|
|
|
23
23
|
"margin-top": string;
|
|
24
24
|
"background-position": string;
|
|
25
25
|
};
|
|
26
|
-
"@font-face"?: {
|
|
27
|
-
"font-family": string;
|
|
28
|
-
src: string;
|
|
29
|
-
};
|
|
30
26
|
"#secure-payment-field[type=text].field-validation-wrapper"?: {
|
|
31
27
|
"font-family": string;
|
|
32
28
|
};
|
|
@@ -134,6 +130,12 @@ export declare const fieldStyles: () => {
|
|
|
134
130
|
};
|
|
135
131
|
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
136
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
|
+
*/
|
|
137
139
|
"background-size": string;
|
|
138
140
|
"background-position-y": string;
|
|
139
141
|
};
|
|
@@ -192,10 +194,6 @@ export declare const fieldStyles: () => {
|
|
|
192
194
|
"margin-top": string;
|
|
193
195
|
"background-size": string;
|
|
194
196
|
};
|
|
195
|
-
"@font-face"?: {
|
|
196
|
-
"font-family": string;
|
|
197
|
-
src: string;
|
|
198
|
-
};
|
|
199
197
|
"#secure-payment-field[type=text].field-validation-wrapper"?: {
|
|
200
198
|
"font-family": string;
|
|
201
199
|
};
|
|
@@ -210,6 +208,10 @@ export declare const fieldStyles: () => {
|
|
|
210
208
|
opacity: string;
|
|
211
209
|
visibility: string;
|
|
212
210
|
};
|
|
211
|
+
"@font-face": {
|
|
212
|
+
"font-family": string;
|
|
213
|
+
src: string;
|
|
214
|
+
};
|
|
213
215
|
"*": {
|
|
214
216
|
"box-sizing": string;
|
|
215
217
|
};
|
|
@@ -334,10 +336,6 @@ export declare const fieldStyles: () => {
|
|
|
334
336
|
"#field-validation-wrapper"?: {
|
|
335
337
|
"margin-top": string;
|
|
336
338
|
};
|
|
337
|
-
"@font-face"?: {
|
|
338
|
-
"font-family": string;
|
|
339
|
-
src: string;
|
|
340
|
-
};
|
|
341
339
|
"#secure-payment-field[type=text].field-validation-wrapper"?: {
|
|
342
340
|
"font-family": string;
|
|
343
341
|
};
|
|
@@ -424,9 +422,6 @@ export declare const fieldStyles: () => {
|
|
|
424
422
|
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
425
423
|
background: string;
|
|
426
424
|
"background-size": string;
|
|
427
|
-
/**
|
|
428
|
-
* Represents logic surrounding a group of hosted fields.
|
|
429
|
-
*/
|
|
430
425
|
"background-position": string;
|
|
431
426
|
};
|
|
432
427
|
"img.card-number-icon.invalid.card-type-visa": {
|
|
@@ -764,6 +759,7 @@ export declare const parentStyles: () => {
|
|
|
764
759
|
};
|
|
765
760
|
".secure-payment-form .credit-card-currency-conversion .radio-button:hover"?: {
|
|
766
761
|
"border-color": string;
|
|
762
|
+
color: string;
|
|
767
763
|
};
|
|
768
764
|
".secure-payment-form .credit-card-currency-conversion fieldset:focus-within > .radio-button"?: {
|
|
769
765
|
outline: string;
|
|
@@ -795,9 +791,11 @@ export declare const parentStyles: () => {
|
|
|
795
791
|
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:checked"?: {
|
|
796
792
|
"background-color": string;
|
|
797
793
|
border: string;
|
|
794
|
+
color: string;
|
|
798
795
|
};
|
|
799
796
|
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:focus"?: {
|
|
800
797
|
outline: string;
|
|
798
|
+
color: string;
|
|
801
799
|
};
|
|
802
800
|
".secure-payment-form .credit-card-currency-conversion .card-currency-content.visible"?: {
|
|
803
801
|
display: string;
|
|
@@ -815,6 +813,8 @@ export declare const parentStyles: () => {
|
|
|
815
813
|
"font-weight": number;
|
|
816
814
|
margin: string;
|
|
817
815
|
display: string;
|
|
816
|
+
"line-height": string;
|
|
817
|
+
color: string;
|
|
818
818
|
};
|
|
819
819
|
".secure-payment-form .credit-card-currency-conversion .tooltip"?: {
|
|
820
820
|
width: string;
|
|
@@ -838,7 +838,12 @@ export declare const parentStyles: () => {
|
|
|
838
838
|
display: string;
|
|
839
839
|
};
|
|
840
840
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
841
|
-
"margin-bottom": string;
|
|
841
|
+
"margin-bottom": string; /**
|
|
842
|
+
* Sets a special-case event listener that fires when all hosted
|
|
843
|
+
* fields in a form have registered / loaded
|
|
844
|
+
*
|
|
845
|
+
* @param fn The listener function
|
|
846
|
+
*/
|
|
842
847
|
};
|
|
843
848
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
844
849
|
left: string;
|
|
@@ -860,7 +865,9 @@ export declare const parentStyles: () => {
|
|
|
860
865
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
861
866
|
width: string;
|
|
862
867
|
"justify-content": string;
|
|
863
|
-
};
|
|
868
|
+
}; /**
|
|
869
|
+
* Deletes all hosted fields within the form
|
|
870
|
+
*/
|
|
864
871
|
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
865
872
|
margin: string;
|
|
866
873
|
};
|
|
@@ -1075,6 +1082,11 @@ export declare const parentStyles: () => {
|
|
|
1075
1082
|
display: string;
|
|
1076
1083
|
padding: string;
|
|
1077
1084
|
transform: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Appends additional CSS rules to the group of hosted fields
|
|
1087
|
+
*
|
|
1088
|
+
* @param json New CSS rules
|
|
1089
|
+
*/
|
|
1078
1090
|
"-webkit-transform": string;
|
|
1079
1091
|
"z-index": string;
|
|
1080
1092
|
top: string;
|
|
@@ -1191,6 +1203,14 @@ export declare const parentStyles: () => {
|
|
|
1191
1203
|
"background-size": string;
|
|
1192
1204
|
background: string;
|
|
1193
1205
|
"font-family": string;
|
|
1206
|
+
"font-size": string;
|
|
1207
|
+
"line-height": string;
|
|
1208
|
+
};
|
|
1209
|
+
".secure-payment-form .tooltip h4": {
|
|
1210
|
+
"font-family": string;
|
|
1211
|
+
"font-size": string;
|
|
1212
|
+
"line-height": string;
|
|
1213
|
+
color: string;
|
|
1194
1214
|
};
|
|
1195
1215
|
".secure-payment-form .tooltip:focus": {
|
|
1196
1216
|
border: string;
|
|
@@ -1290,6 +1310,9 @@ export declare const parentStyles: () => {
|
|
|
1290
1310
|
"vertical-align": string;
|
|
1291
1311
|
"text-align": string;
|
|
1292
1312
|
"margin-left": string;
|
|
1313
|
+
/**
|
|
1314
|
+
* Deletes all hosted fields within the form
|
|
1315
|
+
*/
|
|
1293
1316
|
"margin-right": string;
|
|
1294
1317
|
"margin-top": string;
|
|
1295
1318
|
};
|
|
@@ -1600,8 +1623,9 @@ export declare const parentStyles: () => {
|
|
|
1600
1623
|
padding: number;
|
|
1601
1624
|
display: string;
|
|
1602
1625
|
"font-size": string;
|
|
1603
|
-
"font-weight":
|
|
1626
|
+
"font-weight": string;
|
|
1604
1627
|
position: string;
|
|
1628
|
+
color: string;
|
|
1605
1629
|
};
|
|
1606
1630
|
".secure-payment-form .credit-card-currency-conversion .radio-button"?: {
|
|
1607
1631
|
display: string;
|
|
@@ -1618,6 +1642,7 @@ export declare const parentStyles: () => {
|
|
|
1618
1642
|
};
|
|
1619
1643
|
".secure-payment-form .credit-card-currency-conversion .radio-button:hover"?: {
|
|
1620
1644
|
"border-color": string;
|
|
1645
|
+
color: string;
|
|
1621
1646
|
};
|
|
1622
1647
|
".secure-payment-form .credit-card-currency-conversion fieldset:focus-within > .radio-button"?: {
|
|
1623
1648
|
outline: string;
|
|
@@ -1633,6 +1658,9 @@ export declare const parentStyles: () => {
|
|
|
1633
1658
|
color: string;
|
|
1634
1659
|
outline: string;
|
|
1635
1660
|
};
|
|
1661
|
+
".secure-payment-form .credit-card-currency-conversion .radio-button.checked label"?: {
|
|
1662
|
+
color: string;
|
|
1663
|
+
};
|
|
1636
1664
|
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']"?: {
|
|
1637
1665
|
margin: string;
|
|
1638
1666
|
appearance: string;
|
|
@@ -1649,22 +1677,31 @@ export declare const parentStyles: () => {
|
|
|
1649
1677
|
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:checked"?: {
|
|
1650
1678
|
"background-color": string;
|
|
1651
1679
|
border: string;
|
|
1680
|
+
color: string;
|
|
1652
1681
|
};
|
|
1653
1682
|
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:focus"?: {
|
|
1654
1683
|
outline: string;
|
|
1684
|
+
color: string;
|
|
1655
1685
|
};
|
|
1656
1686
|
".secure-payment-form .credit-card-currency-conversion .radio-button label"?: {
|
|
1657
1687
|
"font-family": string;
|
|
1658
1688
|
"font-size": string;
|
|
1659
|
-
"font-weight":
|
|
1689
|
+
"font-weight": string;
|
|
1660
1690
|
display: string;
|
|
1661
1691
|
margin: string;
|
|
1692
|
+
color: string;
|
|
1662
1693
|
};
|
|
1663
1694
|
".secure-payment-form .credit-card-currency-conversion .card-currency-content"?: {
|
|
1664
1695
|
opacity: string;
|
|
1665
1696
|
visibility: boolean;
|
|
1666
1697
|
display: string;
|
|
1667
1698
|
"flex-direction": string;
|
|
1699
|
+
/**
|
|
1700
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
1701
|
+
*
|
|
1702
|
+
* @param fields Hosted field configuration
|
|
1703
|
+
* @param styles Custom CSS configuration
|
|
1704
|
+
*/
|
|
1668
1705
|
"margin-left": string;
|
|
1669
1706
|
"align-items": string;
|
|
1670
1707
|
height: string;
|
|
@@ -1675,6 +1712,16 @@ export declare const parentStyles: () => {
|
|
|
1675
1712
|
visibility: boolean;
|
|
1676
1713
|
};
|
|
1677
1714
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content"?: {
|
|
1715
|
+
/**
|
|
1716
|
+
* Sets an event listener for an event type
|
|
1717
|
+
*
|
|
1718
|
+
* @param fieldTypeOrEventName The field type on which the listener should
|
|
1719
|
+
* be applied, or the type of event that should trigger the listener
|
|
1720
|
+
* @param eventNameOrListener The type of event that should trigger the
|
|
1721
|
+
* listener, or the listener function
|
|
1722
|
+
* @param listener The listener function when both field type and event type
|
|
1723
|
+
* are provided
|
|
1724
|
+
*/
|
|
1678
1725
|
opacity: string;
|
|
1679
1726
|
visibility: boolean;
|
|
1680
1727
|
display: string;
|
|
@@ -1694,6 +1741,8 @@ export declare const parentStyles: () => {
|
|
|
1694
1741
|
"font-weight": number;
|
|
1695
1742
|
margin: string;
|
|
1696
1743
|
display: string;
|
|
1744
|
+
"line-height": string;
|
|
1745
|
+
color: string;
|
|
1697
1746
|
};
|
|
1698
1747
|
".secure-payment-form .credit-card-currency-conversion .additional-info p"?: {
|
|
1699
1748
|
margin: string;
|
|
@@ -1724,7 +1773,12 @@ export declare const parentStyles: () => {
|
|
|
1724
1773
|
margin: string;
|
|
1725
1774
|
};
|
|
1726
1775
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
1727
|
-
"margin-bottom": string;
|
|
1776
|
+
"margin-bottom": string; /**
|
|
1777
|
+
* Sets a special-case event listener that fires when all hosted
|
|
1778
|
+
* fields in a form have registered / loaded
|
|
1779
|
+
*
|
|
1780
|
+
* @param fn The listener function
|
|
1781
|
+
*/
|
|
1728
1782
|
};
|
|
1729
1783
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
1730
1784
|
left: string;
|
|
@@ -1746,7 +1800,9 @@ export declare const parentStyles: () => {
|
|
|
1746
1800
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
1747
1801
|
width: string;
|
|
1748
1802
|
"justify-content": string;
|
|
1749
|
-
};
|
|
1803
|
+
}; /**
|
|
1804
|
+
* Deletes all hosted fields within the form
|
|
1805
|
+
*/
|
|
1750
1806
|
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
1751
1807
|
margin: string;
|
|
1752
1808
|
};
|
|
@@ -1973,6 +2029,11 @@ export declare const parentStyles: () => {
|
|
|
1973
2029
|
display: string;
|
|
1974
2030
|
padding: string;
|
|
1975
2031
|
transform: string;
|
|
2032
|
+
/**
|
|
2033
|
+
* Appends additional CSS rules to the group of hosted fields
|
|
2034
|
+
*
|
|
2035
|
+
* @param json New CSS rules
|
|
2036
|
+
*/
|
|
1976
2037
|
"-webkit-transform": string;
|
|
1977
2038
|
"z-index": string;
|
|
1978
2039
|
top: string;
|
|
@@ -2189,6 +2250,9 @@ export declare const parentStyles: () => {
|
|
|
2189
2250
|
margin: string;
|
|
2190
2251
|
};
|
|
2191
2252
|
".secure-payment-form .installment-term-selector-title": {
|
|
2253
|
+
/**
|
|
2254
|
+
* Represents logic surrounding a group of hosted fields.
|
|
2255
|
+
*/
|
|
2192
2256
|
"text-align": string;
|
|
2193
2257
|
padding: string;
|
|
2194
2258
|
};
|
|
@@ -2260,6 +2324,12 @@ export declare const parentStyles: () => {
|
|
|
2260
2324
|
"line-height": string;
|
|
2261
2325
|
"font-style": string;
|
|
2262
2326
|
border: string;
|
|
2327
|
+
/**
|
|
2328
|
+
* Sets a special-case event listener that fires when all hosted
|
|
2329
|
+
* fields in a form have registered / loaded
|
|
2330
|
+
*
|
|
2331
|
+
* @param fn The listener function
|
|
2332
|
+
*/
|
|
2263
2333
|
cursor: string;
|
|
2264
2334
|
"margin-top": string;
|
|
2265
2335
|
"margin-bottom": string;
|
|
@@ -2280,6 +2350,9 @@ export declare const parentStyles: () => {
|
|
|
2280
2350
|
};
|
|
2281
2351
|
".secure-payment-form .installment-button-explore-plans:focus": {
|
|
2282
2352
|
background: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* Deletes all hosted fields within the form
|
|
2355
|
+
*/
|
|
2283
2356
|
border: string;
|
|
2284
2357
|
};
|
|
2285
2358
|
".secure-payment-form .installment-button-learn-more": {
|
|
@@ -2421,6 +2494,14 @@ export declare const parentStyles: () => {
|
|
|
2421
2494
|
"background-size": string;
|
|
2422
2495
|
background: string;
|
|
2423
2496
|
"font-family": string;
|
|
2497
|
+
"font-size": string;
|
|
2498
|
+
"line-height": string;
|
|
2499
|
+
};
|
|
2500
|
+
".secure-payment-form .tooltip h4": {
|
|
2501
|
+
"font-family": string;
|
|
2502
|
+
"font-size": string;
|
|
2503
|
+
"line-height": string;
|
|
2504
|
+
color: string;
|
|
2424
2505
|
};
|
|
2425
2506
|
".secure-payment-form .tooltip:focus": {
|
|
2426
2507
|
border: string;
|
|
@@ -2483,7 +2564,16 @@ export declare const parentStyles: () => {
|
|
|
2483
2564
|
".secure-payment-form label": {
|
|
2484
2565
|
margin: string;
|
|
2485
2566
|
display: string;
|
|
2486
|
-
"font-size": string;
|
|
2567
|
+
"font-size": string; /**
|
|
2568
|
+
* Sets an event listener for an event type
|
|
2569
|
+
*
|
|
2570
|
+
* @param fieldTypeOrEventName The field type on which the listener should
|
|
2571
|
+
* be applied, or the type of event that should trigger the listener
|
|
2572
|
+
* @param eventNameOrListener The type of event that should trigger the
|
|
2573
|
+
* listener, or the listener function
|
|
2574
|
+
* @param listener The listener function when both field type and event type
|
|
2575
|
+
* are provided
|
|
2576
|
+
*/
|
|
2487
2577
|
"font-weight": string;
|
|
2488
2578
|
"font-family": string;
|
|
2489
2579
|
};
|
|
@@ -2689,6 +2779,7 @@ export declare const parentStyles: () => {
|
|
|
2689
2779
|
};
|
|
2690
2780
|
".secure-payment-form .credit-card-currency-conversion .radio-button:hover"?: {
|
|
2691
2781
|
"border-color": string;
|
|
2782
|
+
color: string;
|
|
2692
2783
|
};
|
|
2693
2784
|
".secure-payment-form .credit-card-currency-conversion fieldset:focus-within > .radio-button"?: {
|
|
2694
2785
|
outline: string;
|
|
@@ -2720,9 +2811,11 @@ export declare const parentStyles: () => {
|
|
|
2720
2811
|
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:checked"?: {
|
|
2721
2812
|
"background-color": string;
|
|
2722
2813
|
border: string;
|
|
2814
|
+
color: string;
|
|
2723
2815
|
};
|
|
2724
2816
|
".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:focus"?: {
|
|
2725
2817
|
outline: string;
|
|
2818
|
+
color: string;
|
|
2726
2819
|
};
|
|
2727
2820
|
".secure-payment-form .credit-card-currency-conversion .card-currency-content.visible"?: {
|
|
2728
2821
|
display: string;
|
|
@@ -2740,6 +2833,8 @@ export declare const parentStyles: () => {
|
|
|
2740
2833
|
"font-weight": number;
|
|
2741
2834
|
margin: string;
|
|
2742
2835
|
display: string;
|
|
2836
|
+
"line-height": string;
|
|
2837
|
+
color: string;
|
|
2743
2838
|
};
|
|
2744
2839
|
".secure-payment-form .credit-card-currency-conversion .tooltip"?: {
|
|
2745
2840
|
width: string;
|
|
@@ -2758,7 +2853,12 @@ export declare const parentStyles: () => {
|
|
|
2758
2853
|
display: string;
|
|
2759
2854
|
};
|
|
2760
2855
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
|
|
2761
|
-
"margin-bottom": string;
|
|
2856
|
+
"margin-bottom": string; /**
|
|
2857
|
+
* Sets a special-case event listener that fires when all hosted
|
|
2858
|
+
* fields in a form have registered / loaded
|
|
2859
|
+
*
|
|
2860
|
+
* @param fn The listener function
|
|
2861
|
+
*/
|
|
2762
2862
|
};
|
|
2763
2863
|
".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
|
|
2764
2864
|
left: string;
|
|
@@ -2780,7 +2880,9 @@ export declare const parentStyles: () => {
|
|
|
2780
2880
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
2781
2881
|
width: string;
|
|
2782
2882
|
"justify-content": string;
|
|
2783
|
-
};
|
|
2883
|
+
}; /**
|
|
2884
|
+
* Deletes all hosted fields within the form
|
|
2885
|
+
*/
|
|
2784
2886
|
".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
|
|
2785
2887
|
margin: string;
|
|
2786
2888
|
};
|
|
@@ -3108,6 +3210,11 @@ export declare const parentStyles: () => {
|
|
|
3108
3210
|
display: string;
|
|
3109
3211
|
padding: string;
|
|
3110
3212
|
transform: string;
|
|
3213
|
+
/**
|
|
3214
|
+
* Appends additional CSS rules to the group of hosted fields
|
|
3215
|
+
*
|
|
3216
|
+
* @param json New CSS rules
|
|
3217
|
+
*/
|
|
3111
3218
|
"-webkit-transform": string;
|
|
3112
3219
|
"z-index": string;
|
|
3113
3220
|
top: string;
|
|
@@ -3224,6 +3331,14 @@ export declare const parentStyles: () => {
|
|
|
3224
3331
|
"background-size": string;
|
|
3225
3332
|
background: string;
|
|
3226
3333
|
"font-family": string;
|
|
3334
|
+
"font-size": string;
|
|
3335
|
+
"line-height": string;
|
|
3336
|
+
};
|
|
3337
|
+
".secure-payment-form .tooltip h4": {
|
|
3338
|
+
"font-family": string;
|
|
3339
|
+
"font-size": string;
|
|
3340
|
+
"line-height": string;
|
|
3341
|
+
color: string;
|
|
3227
3342
|
};
|
|
3228
3343
|
".secure-payment-form .tooltip:focus": {
|
|
3229
3344
|
border: string;
|
|
@@ -3313,6 +3428,12 @@ export declare const parentStyles: () => {
|
|
|
3313
3428
|
"margin-left": string;
|
|
3314
3429
|
"vertical-align": string;
|
|
3315
3430
|
};
|
|
3431
|
+
/**
|
|
3432
|
+
* Sets a special-case event listener that fires when all hosted
|
|
3433
|
+
* fields in a form have registered / loaded
|
|
3434
|
+
*
|
|
3435
|
+
* @param fn The listener function
|
|
3436
|
+
*/
|
|
3316
3437
|
".secure-payment-form div[class$='-shield'] .ssl-msg": {
|
|
3317
3438
|
"font-size": string;
|
|
3318
3439
|
"font-weight": string;
|
|
@@ -3339,7 +3460,9 @@ export declare const parentStyles: () => {
|
|
|
3339
3460
|
".secure-payment-form div[class$='-logo'] .security-msg": {
|
|
3340
3461
|
color: string;
|
|
3341
3462
|
"font-size": string;
|
|
3342
|
-
display: string;
|
|
3463
|
+
display: string; /**
|
|
3464
|
+
* Deletes all hosted fields within the form
|
|
3465
|
+
*/
|
|
3343
3466
|
"vertical-align": string;
|
|
3344
3467
|
"white-space": string;
|
|
3345
3468
|
"margin-right": string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getSelectAnotherPaymentMethodButton: (id: string, onClickCallback: any) => HTMLDivElement;
|
package/types/apm/apm-payment-methods/qr-code-payments/components/redirect-action-handler.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function handleRedirectAction(content: HTMLDivElement, props: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function handleRedirectInFrameAction(content: HTMLDivElement, props: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const REDIRECT_ACTION_DELAY_IN_SECONDS = 2000;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const enum ApmInternalEvents {
|
|
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
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ApmProviders } from "../../../internal/lib/enums";
|
|
2
|
-
import { IApmConfiguration } from "../../open-banking/contracts";
|
|
3
|
-
export declare function isApmProviderConfigured(configuration: IApmConfiguration, desiredProvider: ApmProviders): boolean;
|
|
4
|
-
export declare const getSelectAnotherPaymentMethodButton: (id: string, onClickCallback: any) => HTMLDivElement;
|
|
5
|
-
export declare function isUrlValid(url: string): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const REDIRECT_ACTION_DELAY_IN_SECONDS = 2000;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function handleRedirectAction(content: HTMLDivElement, props: any): void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const enum ApmInternalEvents {
|
|
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
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const LocalStorageWrapper: {
|
|
2
|
-
getItem: (key: string, encodedValue?: boolean | undefined) => string | null;
|
|
3
|
-
setItem: (key: string, value: string, encodeValue?: boolean | undefined) => void;
|
|
4
|
-
removeItem: (key: string) => void;
|
|
5
|
-
cleanUp: () => void;
|
|
6
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const removeConversionCurrency: () => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DCC_KEY = "dcc";
|