@globalpayments/js 4.1.16 → 4.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/types/common/html-element.d.ts +1 -0
- package/types/internal/lib/installments/components/add-installments-options.d.ts +2 -0
- package/types/internal/lib/installments/contracts/constants.d.ts +1 -0
- package/types/internal/lib/installments/contracts/enums.d.ts +8 -3
- package/types/internal/lib/installments/contracts/installment-payment-method.d.ts +6 -3
- package/types/internal/lib/installments/contracts/installment-plans-data.d.ts +1 -5
- package/types/internal/lib/installments/contracts/installment-term.d.ts +7 -24
- package/types/internal/lib/installments/contracts/interfaces.d.ts +4 -0
- package/types/internal/lib/installments/templates/common.d.ts +2 -6
- package/types/internal/lib/installments/templates/create-installment-options.d.ts +3 -0
- package/types/internal/lib/installments/templates/create-installment-section.d.ts +2 -0
- package/types/internal/lib/installments/templates/enum.d.ts +7 -0
- package/types/internal/lib/styles/gp-default.d.ts +70 -0
- package/types/internal/lib/styles/gp-default2.d.ts +70 -0
- package/types/internal/lib/styles/installments/common.d.ts +70 -0
- package/types/internal/lib/styles/installments/default.d.ts +70 -0
- package/types/internal/lib/styles/installments/gp-default.d.ts +70 -0
- package/types/internal/lib/styles/installments/simple.d.ts +70 -0
- package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +70 -0
- package/types/internal/lib/translations/cs.d.ts +8 -0
- package/types/internal/lib/translations/de.d.ts +8 -0
- package/types/internal/lib/translations/el.d.ts +8 -0
- package/types/internal/lib/translations/en.d.ts +8 -0
- package/types/internal/lib/translations/es.d.ts +8 -0
- package/types/internal/lib/translations/et.d.ts +8 -0
- package/types/internal/lib/translations/fr.d.ts +8 -0
- package/types/internal/lib/translations/ga.d.ts +8 -0
- package/types/internal/lib/translations/hr.d.ts +8 -0
- package/types/internal/lib/translations/hu.d.ts +8 -0
- package/types/internal/lib/translations/it.d.ts +8 -0
- package/types/internal/lib/translations/ja.d.ts +8 -0
- package/types/internal/lib/translations/lt.d.ts +8 -0
- package/types/internal/lib/translations/lv.d.ts +8 -0
- package/types/internal/lib/translations/mt.d.ts +8 -0
- package/types/internal/lib/translations/nl.d.ts +8 -0
- package/types/internal/lib/translations/pl.d.ts +8 -0
- package/types/internal/lib/translations/pt.d.ts +8 -0
- package/types/internal/lib/translations/ro.d.ts +8 -0
- package/types/internal/lib/translations/ru.d.ts +8 -0
- package/types/internal/lib/translations/sk.d.ts +8 -0
- package/types/internal/lib/translations/sl.d.ts +8 -0
- package/types/internal/lib/translations/sv.d.ts +8 -0
- package/types/internal/lib/translations/tr.d.ts +8 -0
- package/types/internal/lib/translations/uk.d.ts +8 -0
- package/types/internal/lib/translations/vi.d.ts +8 -0
- package/types/internal/lib/translations/zh.d.ts +8 -0
- package/types/lib/version.d.ts +1 -1
- package/types/tools/configure.d.ts +2 -0
- package/types/ui/form/index.d.ts +256 -54
- package/types/ui/iframe-field/installments/action-add.d.ts +3 -2
- package/types/ui/iframe-field/installments/action-get-value.d.ts +8 -0
package/types/ui/form/index.d.ts
CHANGED
|
@@ -139,14 +139,16 @@ export declare const fieldStyles: () => {
|
|
|
139
139
|
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
140
140
|
background: string;
|
|
141
141
|
"background-size": string;
|
|
142
|
-
/**
|
|
143
|
-
* Represents logic surrounding a group of hosted fields.
|
|
144
|
-
*/
|
|
145
142
|
"background-position-y": string;
|
|
146
143
|
};
|
|
147
144
|
"img.card-number-icon.invalid.card-type-visa": {
|
|
148
145
|
background: string;
|
|
149
|
-
"background-size": string;
|
|
146
|
+
"background-size": string; /**
|
|
147
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
148
|
+
*
|
|
149
|
+
* @param fields Hosted field configuration
|
|
150
|
+
* @param styles Custom CSS configuration
|
|
151
|
+
*/
|
|
150
152
|
"background-position-y": string;
|
|
151
153
|
};
|
|
152
154
|
"img.card-number-icon.valid.card-type-amex": {
|
|
@@ -158,16 +160,7 @@ export declare const fieldStyles: () => {
|
|
|
158
160
|
background: string;
|
|
159
161
|
"background-size": string;
|
|
160
162
|
"background-position-y": string;
|
|
161
|
-
width: string;
|
|
162
|
-
* Sets an event listener for an event type
|
|
163
|
-
*
|
|
164
|
-
* @param fieldTypeOrEventName The field type on which the listener should
|
|
165
|
-
* be applied, or the type of event that should trigger the listener
|
|
166
|
-
* @param eventNameOrListener The type of event that should trigger the
|
|
167
|
-
* listener, or the listener function
|
|
168
|
-
* @param listener The listener function when both field type and event type
|
|
169
|
-
* are provided
|
|
170
|
-
*/
|
|
163
|
+
width: string;
|
|
171
164
|
};
|
|
172
165
|
"img.card-number-icon.valid.card-type-jcb": {
|
|
173
166
|
background: string;
|
|
@@ -473,6 +466,12 @@ export declare const fieldStyles: () => {
|
|
|
473
466
|
"background-position-y": string;
|
|
474
467
|
};
|
|
475
468
|
"img.card-number-icon.valid.card-type-mastercard": {
|
|
469
|
+
/**
|
|
470
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
471
|
+
*
|
|
472
|
+
* @param fields Hosted field configuration
|
|
473
|
+
* @param styles Custom CSS configuration
|
|
474
|
+
*/
|
|
476
475
|
background: string;
|
|
477
476
|
"background-size": string;
|
|
478
477
|
"background-position": string;
|
|
@@ -484,16 +483,7 @@ export declare const fieldStyles: () => {
|
|
|
484
483
|
};
|
|
485
484
|
"img.card-number-icon.card-type-carnet": {
|
|
486
485
|
"background-image": string;
|
|
487
|
-
};
|
|
488
|
-
* Sets an event listener for an event type
|
|
489
|
-
*
|
|
490
|
-
* @param fieldTypeOrEventName The field type on which the listener should
|
|
491
|
-
* be applied, or the type of event that should trigger the listener
|
|
492
|
-
* @param eventNameOrListener The type of event that should trigger the
|
|
493
|
-
* listener, or the listener function
|
|
494
|
-
* @param listener The listener function when both field type and event type
|
|
495
|
-
* are provided
|
|
496
|
-
*/
|
|
486
|
+
};
|
|
497
487
|
".card-number::-ms-clear": {
|
|
498
488
|
display: string;
|
|
499
489
|
};
|
|
@@ -627,6 +617,9 @@ export declare const fieldStyles: () => {
|
|
|
627
617
|
"background-image": string;
|
|
628
618
|
};
|
|
629
619
|
"img.card-number-icon.card-type-mastercard": {
|
|
620
|
+
/**
|
|
621
|
+
* Represents logic surrounding a group of hosted fields.
|
|
622
|
+
*/
|
|
630
623
|
"background-image": string;
|
|
631
624
|
};
|
|
632
625
|
"img.card-number-icon.card-type-visa": {
|
|
@@ -807,6 +800,9 @@ export declare const parentStyles: () => {
|
|
|
807
800
|
display: string;
|
|
808
801
|
"align-items": string;
|
|
809
802
|
"justify-content": string;
|
|
803
|
+
/**
|
|
804
|
+
* Represents logic surrounding a group of hosted fields.
|
|
805
|
+
*/
|
|
810
806
|
width: string;
|
|
811
807
|
};
|
|
812
808
|
".secure-payment-form .qr-code-expired-alert-message"?: {
|
|
@@ -1120,7 +1116,12 @@ export declare const parentStyles: () => {
|
|
|
1120
1116
|
};
|
|
1121
1117
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content.visible"?: {
|
|
1122
1118
|
display: string;
|
|
1123
|
-
opacity: string;
|
|
1119
|
+
opacity: string; /**
|
|
1120
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
1121
|
+
*
|
|
1122
|
+
* @param fields Hosted field configuration
|
|
1123
|
+
* @param styles Custom CSS configuration
|
|
1124
|
+
*/
|
|
1124
1125
|
visibility: boolean;
|
|
1125
1126
|
};
|
|
1126
1127
|
".secure-payment-form .credit-card-currency-conversion .additional-info"?: {
|
|
@@ -1174,6 +1175,12 @@ export declare const parentStyles: () => {
|
|
|
1174
1175
|
"justify-content": string;
|
|
1175
1176
|
};
|
|
1176
1177
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
1178
|
+
/**
|
|
1179
|
+
* Sets a special-case event listener that fires when all hosted
|
|
1180
|
+
* fields in a form have registered / loaded
|
|
1181
|
+
*
|
|
1182
|
+
* @param fn The listener function
|
|
1183
|
+
*/
|
|
1177
1184
|
width: string;
|
|
1178
1185
|
"justify-content": string;
|
|
1179
1186
|
};
|
|
@@ -1623,9 +1630,7 @@ export declare const parentStyles: () => {
|
|
|
1623
1630
|
"text-align": string;
|
|
1624
1631
|
float: string;
|
|
1625
1632
|
display: string;
|
|
1626
|
-
"justify-content": string;
|
|
1627
|
-
* Deletes all hosted fields within the form
|
|
1628
|
-
*/
|
|
1633
|
+
"justify-content": string;
|
|
1629
1634
|
};
|
|
1630
1635
|
".secure-payment-form div[class$='-logo'] .security-msg": {
|
|
1631
1636
|
color: string;
|
|
@@ -1850,6 +1855,9 @@ export declare const parentStyles: () => {
|
|
|
1850
1855
|
display: string;
|
|
1851
1856
|
"align-items": string;
|
|
1852
1857
|
"justify-content": string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Represents logic surrounding a group of hosted fields.
|
|
1860
|
+
*/
|
|
1853
1861
|
width: string;
|
|
1854
1862
|
};
|
|
1855
1863
|
".secure-payment-form .qr-code-expired-alert-message"?: {
|
|
@@ -2129,6 +2137,9 @@ export declare const parentStyles: () => {
|
|
|
2129
2137
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content"?: {
|
|
2130
2138
|
opacity: string;
|
|
2131
2139
|
visibility: boolean;
|
|
2140
|
+
/**
|
|
2141
|
+
* Represents logic surrounding a group of hosted fields.
|
|
2142
|
+
*/
|
|
2132
2143
|
display: string;
|
|
2133
2144
|
"flex-direction": string;
|
|
2134
2145
|
"margin-left": string;
|
|
@@ -2137,7 +2148,12 @@ export declare const parentStyles: () => {
|
|
|
2137
2148
|
};
|
|
2138
2149
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content.visible"?: {
|
|
2139
2150
|
display: string;
|
|
2140
|
-
opacity: string;
|
|
2151
|
+
opacity: string; /**
|
|
2152
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
2153
|
+
*
|
|
2154
|
+
* @param fields Hosted field configuration
|
|
2155
|
+
* @param styles Custom CSS configuration
|
|
2156
|
+
*/
|
|
2141
2157
|
visibility: boolean;
|
|
2142
2158
|
};
|
|
2143
2159
|
".secure-payment-form .credit-card-currency-conversion .additional-info"?: {
|
|
@@ -2198,6 +2214,12 @@ export declare const parentStyles: () => {
|
|
|
2198
2214
|
"justify-content": string;
|
|
2199
2215
|
};
|
|
2200
2216
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
2217
|
+
/**
|
|
2218
|
+
* Sets a special-case event listener that fires when all hosted
|
|
2219
|
+
* fields in a form have registered / loaded
|
|
2220
|
+
*
|
|
2221
|
+
* @param fn The listener function
|
|
2222
|
+
*/
|
|
2201
2223
|
width: string;
|
|
2202
2224
|
"justify-content": string;
|
|
2203
2225
|
};
|
|
@@ -2568,6 +2590,76 @@ export declare const parentStyles: () => {
|
|
|
2568
2590
|
".secure-payment-form .credit-card-installments": {
|
|
2569
2591
|
"font-family": string;
|
|
2570
2592
|
};
|
|
2593
|
+
".secure-payment-form .installment-eligibility-badge": {
|
|
2594
|
+
display: string;
|
|
2595
|
+
alignItems: string;
|
|
2596
|
+
justifyContent: string;
|
|
2597
|
+
width: string;
|
|
2598
|
+
margin: string;
|
|
2599
|
+
};
|
|
2600
|
+
".secure-payment-form .installment-badge": {
|
|
2601
|
+
display: string;
|
|
2602
|
+
"align-items": string;
|
|
2603
|
+
background: string;
|
|
2604
|
+
border: string;
|
|
2605
|
+
"border-radius": string;
|
|
2606
|
+
padding: string;
|
|
2607
|
+
"font-size": string;
|
|
2608
|
+
color: string;
|
|
2609
|
+
"font-weight": string;
|
|
2610
|
+
gap: string;
|
|
2611
|
+
};
|
|
2612
|
+
".secure-payment-form .pay-in-full-option": {
|
|
2613
|
+
"padding-left": string;
|
|
2614
|
+
border: string;
|
|
2615
|
+
'&.checked': {
|
|
2616
|
+
border: string;
|
|
2617
|
+
};
|
|
2618
|
+
padding: string;
|
|
2619
|
+
display: string;
|
|
2620
|
+
gap: string;
|
|
2621
|
+
};
|
|
2622
|
+
".secure-payment-form .pay-in-full-option label": {
|
|
2623
|
+
"font-size": string;
|
|
2624
|
+
"font-weight": string;
|
|
2625
|
+
};
|
|
2626
|
+
".secure-payment-form .payment-option-content": {
|
|
2627
|
+
display: string;
|
|
2628
|
+
"flex-direction": string;
|
|
2629
|
+
gap: string;
|
|
2630
|
+
width: string;
|
|
2631
|
+
};
|
|
2632
|
+
".secure-payment-form .installment-section": {
|
|
2633
|
+
border: string;
|
|
2634
|
+
};
|
|
2635
|
+
".secure-payment-form .payment-option-text": {
|
|
2636
|
+
color: string;
|
|
2637
|
+
"font-size": string;
|
|
2638
|
+
"font-weight": string;
|
|
2639
|
+
};
|
|
2640
|
+
".secure-payment-form .section-title": {
|
|
2641
|
+
display: string;
|
|
2642
|
+
"font-size": string;
|
|
2643
|
+
"font-weight": string;
|
|
2644
|
+
width: string;
|
|
2645
|
+
height: string;
|
|
2646
|
+
gap: string;
|
|
2647
|
+
padding: string;
|
|
2648
|
+
"align-items": string;
|
|
2649
|
+
"border-bottom": string;
|
|
2650
|
+
"text-transform": string;
|
|
2651
|
+
};
|
|
2652
|
+
".secure-payment-form .installment-content": {
|
|
2653
|
+
padding: string;
|
|
2654
|
+
};
|
|
2655
|
+
".secure-payment-form .installment-months-button": {
|
|
2656
|
+
padding: string;
|
|
2657
|
+
'&.checked': {
|
|
2658
|
+
border: string;
|
|
2659
|
+
};
|
|
2660
|
+
display: string;
|
|
2661
|
+
gap: string;
|
|
2662
|
+
};
|
|
2571
2663
|
".secure-payment-form .installment-issuer-panel": {
|
|
2572
2664
|
background: string;
|
|
2573
2665
|
display: string;
|
|
@@ -2685,6 +2777,12 @@ export declare const parentStyles: () => {
|
|
|
2685
2777
|
"flex-direction": string;
|
|
2686
2778
|
"justify-content": string;
|
|
2687
2779
|
};
|
|
2780
|
+
/**
|
|
2781
|
+
* Sets a special-case event listener that fires when all hosted
|
|
2782
|
+
* fields in a form have registered / loaded
|
|
2783
|
+
*
|
|
2784
|
+
* @param fn The listener function
|
|
2785
|
+
*/
|
|
2688
2786
|
".secure-payment-form .installment-link": {
|
|
2689
2787
|
background: string;
|
|
2690
2788
|
border: string;
|
|
@@ -2705,7 +2803,9 @@ export declare const parentStyles: () => {
|
|
|
2705
2803
|
};
|
|
2706
2804
|
".secure-payment-form .installment-link:focus": {
|
|
2707
2805
|
color: string;
|
|
2708
|
-
border: string;
|
|
2806
|
+
border: string; /**
|
|
2807
|
+
* Deletes all hosted fields within the form
|
|
2808
|
+
*/
|
|
2709
2809
|
};
|
|
2710
2810
|
".secure-payment-form .installment-step-container": {
|
|
2711
2811
|
display: string;
|
|
@@ -2746,12 +2846,7 @@ export declare const parentStyles: () => {
|
|
|
2746
2846
|
background: string;
|
|
2747
2847
|
};
|
|
2748
2848
|
".secure-payment-form .installment-button-explore-plans:focus": {
|
|
2749
|
-
background: string;
|
|
2750
|
-
* Sets a special-case event listener that fires when all hosted
|
|
2751
|
-
* fields in a form have registered / loaded
|
|
2752
|
-
*
|
|
2753
|
-
* @param fn The listener function
|
|
2754
|
-
*/
|
|
2849
|
+
background: string;
|
|
2755
2850
|
border: string;
|
|
2756
2851
|
};
|
|
2757
2852
|
".secure-payment-form .installment-button-learn-more": {
|
|
@@ -2771,9 +2866,7 @@ export declare const parentStyles: () => {
|
|
|
2771
2866
|
color: string;
|
|
2772
2867
|
};
|
|
2773
2868
|
".secure-payment-form .installment-button-learn-more:active": {
|
|
2774
|
-
color: string;
|
|
2775
|
-
* Deletes all hosted fields within the form
|
|
2776
|
-
*/
|
|
2869
|
+
color: string;
|
|
2777
2870
|
};
|
|
2778
2871
|
".secure-payment-form .installment-button-learn-more:focus": {
|
|
2779
2872
|
color: string;
|
|
@@ -2955,6 +3048,12 @@ export declare const parentStyles: () => {
|
|
|
2955
3048
|
"border-bottom": string;
|
|
2956
3049
|
};
|
|
2957
3050
|
"@font-face": {
|
|
3051
|
+
/**
|
|
3052
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
3053
|
+
*
|
|
3054
|
+
* @param fields Hosted field configuration
|
|
3055
|
+
* @param styles Custom CSS configuration
|
|
3056
|
+
*/
|
|
2958
3057
|
"font-family": string;
|
|
2959
3058
|
src: string;
|
|
2960
3059
|
};
|
|
@@ -3381,7 +3480,12 @@ export declare const parentStyles: () => {
|
|
|
3381
3480
|
};
|
|
3382
3481
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content.visible"?: {
|
|
3383
3482
|
display: string;
|
|
3384
|
-
opacity: string;
|
|
3483
|
+
opacity: string; /**
|
|
3484
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
3485
|
+
*
|
|
3486
|
+
* @param fields Hosted field configuration
|
|
3487
|
+
* @param styles Custom CSS configuration
|
|
3488
|
+
*/
|
|
3385
3489
|
visibility: boolean;
|
|
3386
3490
|
};
|
|
3387
3491
|
".secure-payment-form .credit-card-currency-conversion .additional-info"?: {
|
|
@@ -3430,6 +3534,12 @@ export declare const parentStyles: () => {
|
|
|
3430
3534
|
"justify-content": string;
|
|
3431
3535
|
};
|
|
3432
3536
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
3537
|
+
/**
|
|
3538
|
+
* Sets a special-case event listener that fires when all hosted
|
|
3539
|
+
* fields in a form have registered / loaded
|
|
3540
|
+
*
|
|
3541
|
+
* @param fn The listener function
|
|
3542
|
+
*/
|
|
3433
3543
|
width: string;
|
|
3434
3544
|
"justify-content": string;
|
|
3435
3545
|
};
|
|
@@ -3561,6 +3671,9 @@ export declare const parentStyles: () => {
|
|
|
3561
3671
|
display: string;
|
|
3562
3672
|
"align-items": string;
|
|
3563
3673
|
"justify-content": string;
|
|
3674
|
+
/**
|
|
3675
|
+
* Represents logic surrounding a group of hosted fields.
|
|
3676
|
+
*/
|
|
3564
3677
|
width: string;
|
|
3565
3678
|
};
|
|
3566
3679
|
".secure-payment-form .qr-code-expired-alert-message"?: {
|
|
@@ -4001,15 +4114,15 @@ export declare const parentStyles: () => {
|
|
|
4001
4114
|
flex: string;
|
|
4002
4115
|
"margin-left": string;
|
|
4003
4116
|
width: string;
|
|
4004
|
-
height: string;
|
|
4005
|
-
"text-align": string;
|
|
4006
|
-
float: string;
|
|
4007
4117
|
/**
|
|
4008
4118
|
* Sets a special-case event listener that fires when all hosted
|
|
4009
4119
|
* fields in a form have registered / loaded
|
|
4010
4120
|
*
|
|
4011
4121
|
* @param fn The listener function
|
|
4012
4122
|
*/
|
|
4123
|
+
height: string;
|
|
4124
|
+
"text-align": string;
|
|
4125
|
+
float: string;
|
|
4013
4126
|
display: string;
|
|
4014
4127
|
"justify-content": string;
|
|
4015
4128
|
};
|
|
@@ -4262,6 +4375,9 @@ export declare const parentStyles: () => {
|
|
|
4262
4375
|
display: string;
|
|
4263
4376
|
"align-items": string;
|
|
4264
4377
|
"justify-content": string;
|
|
4378
|
+
/**
|
|
4379
|
+
* Represents logic surrounding a group of hosted fields.
|
|
4380
|
+
*/
|
|
4265
4381
|
width: string;
|
|
4266
4382
|
};
|
|
4267
4383
|
".secure-payment-form .qr-code-expired-alert-message"?: {
|
|
@@ -4541,6 +4657,9 @@ export declare const parentStyles: () => {
|
|
|
4541
4657
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content"?: {
|
|
4542
4658
|
opacity: string;
|
|
4543
4659
|
visibility: boolean;
|
|
4660
|
+
/**
|
|
4661
|
+
* Represents logic surrounding a group of hosted fields.
|
|
4662
|
+
*/
|
|
4544
4663
|
display: string;
|
|
4545
4664
|
"flex-direction": string;
|
|
4546
4665
|
"margin-left": string;
|
|
@@ -4549,7 +4668,12 @@ export declare const parentStyles: () => {
|
|
|
4549
4668
|
};
|
|
4550
4669
|
".secure-payment-form .credit-card-currency-conversion .merchant-currency-content.visible"?: {
|
|
4551
4670
|
display: string;
|
|
4552
|
-
opacity: string;
|
|
4671
|
+
opacity: string; /**
|
|
4672
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
4673
|
+
*
|
|
4674
|
+
* @param fields Hosted field configuration
|
|
4675
|
+
* @param styles Custom CSS configuration
|
|
4676
|
+
*/
|
|
4553
4677
|
visibility: boolean;
|
|
4554
4678
|
};
|
|
4555
4679
|
".secure-payment-form .credit-card-currency-conversion .additional-info"?: {
|
|
@@ -4610,6 +4734,12 @@ export declare const parentStyles: () => {
|
|
|
4610
4734
|
"justify-content": string;
|
|
4611
4735
|
};
|
|
4612
4736
|
".secure-payment-form .credit-card-currency-conversion .radio-button": {
|
|
4737
|
+
/**
|
|
4738
|
+
* Sets a special-case event listener that fires when all hosted
|
|
4739
|
+
* fields in a form have registered / loaded
|
|
4740
|
+
*
|
|
4741
|
+
* @param fn The listener function
|
|
4742
|
+
*/
|
|
4613
4743
|
width: string;
|
|
4614
4744
|
"justify-content": string;
|
|
4615
4745
|
};
|
|
@@ -4980,6 +5110,76 @@ export declare const parentStyles: () => {
|
|
|
4980
5110
|
".secure-payment-form .credit-card-installments": {
|
|
4981
5111
|
"font-family": string;
|
|
4982
5112
|
};
|
|
5113
|
+
".secure-payment-form .installment-eligibility-badge": {
|
|
5114
|
+
display: string;
|
|
5115
|
+
alignItems: string;
|
|
5116
|
+
justifyContent: string;
|
|
5117
|
+
width: string;
|
|
5118
|
+
margin: string;
|
|
5119
|
+
};
|
|
5120
|
+
".secure-payment-form .installment-badge": {
|
|
5121
|
+
display: string;
|
|
5122
|
+
"align-items": string;
|
|
5123
|
+
background: string;
|
|
5124
|
+
border: string;
|
|
5125
|
+
"border-radius": string;
|
|
5126
|
+
padding: string;
|
|
5127
|
+
"font-size": string;
|
|
5128
|
+
color: string;
|
|
5129
|
+
"font-weight": string;
|
|
5130
|
+
gap: string;
|
|
5131
|
+
};
|
|
5132
|
+
".secure-payment-form .pay-in-full-option": {
|
|
5133
|
+
"padding-left": string;
|
|
5134
|
+
border: string;
|
|
5135
|
+
'&.checked': {
|
|
5136
|
+
border: string;
|
|
5137
|
+
};
|
|
5138
|
+
padding: string;
|
|
5139
|
+
display: string;
|
|
5140
|
+
gap: string;
|
|
5141
|
+
};
|
|
5142
|
+
".secure-payment-form .pay-in-full-option label": {
|
|
5143
|
+
"font-size": string;
|
|
5144
|
+
"font-weight": string;
|
|
5145
|
+
};
|
|
5146
|
+
".secure-payment-form .payment-option-content": {
|
|
5147
|
+
display: string;
|
|
5148
|
+
"flex-direction": string;
|
|
5149
|
+
gap: string;
|
|
5150
|
+
width: string;
|
|
5151
|
+
};
|
|
5152
|
+
".secure-payment-form .installment-section": {
|
|
5153
|
+
border: string;
|
|
5154
|
+
};
|
|
5155
|
+
".secure-payment-form .payment-option-text": {
|
|
5156
|
+
color: string;
|
|
5157
|
+
"font-size": string;
|
|
5158
|
+
"font-weight": string;
|
|
5159
|
+
};
|
|
5160
|
+
".secure-payment-form .section-title": {
|
|
5161
|
+
display: string;
|
|
5162
|
+
"font-size": string;
|
|
5163
|
+
"font-weight": string;
|
|
5164
|
+
width: string;
|
|
5165
|
+
height: string;
|
|
5166
|
+
gap: string;
|
|
5167
|
+
padding: string;
|
|
5168
|
+
"align-items": string;
|
|
5169
|
+
"border-bottom": string;
|
|
5170
|
+
"text-transform": string;
|
|
5171
|
+
};
|
|
5172
|
+
".secure-payment-form .installment-content": {
|
|
5173
|
+
padding: string;
|
|
5174
|
+
};
|
|
5175
|
+
".secure-payment-form .installment-months-button": {
|
|
5176
|
+
padding: string;
|
|
5177
|
+
'&.checked': {
|
|
5178
|
+
border: string;
|
|
5179
|
+
};
|
|
5180
|
+
display: string;
|
|
5181
|
+
gap: string;
|
|
5182
|
+
};
|
|
4983
5183
|
".secure-payment-form .installment-issuer-panel": {
|
|
4984
5184
|
background: string;
|
|
4985
5185
|
display: string;
|
|
@@ -5097,6 +5297,12 @@ export declare const parentStyles: () => {
|
|
|
5097
5297
|
"flex-direction": string;
|
|
5098
5298
|
"justify-content": string;
|
|
5099
5299
|
};
|
|
5300
|
+
/**
|
|
5301
|
+
* Sets a special-case event listener that fires when all hosted
|
|
5302
|
+
* fields in a form have registered / loaded
|
|
5303
|
+
*
|
|
5304
|
+
* @param fn The listener function
|
|
5305
|
+
*/
|
|
5100
5306
|
".secure-payment-form .installment-link": {
|
|
5101
5307
|
background: string;
|
|
5102
5308
|
border: string;
|
|
@@ -5117,7 +5323,9 @@ export declare const parentStyles: () => {
|
|
|
5117
5323
|
};
|
|
5118
5324
|
".secure-payment-form .installment-link:focus": {
|
|
5119
5325
|
color: string;
|
|
5120
|
-
border: string;
|
|
5326
|
+
border: string; /**
|
|
5327
|
+
* Deletes all hosted fields within the form
|
|
5328
|
+
*/
|
|
5121
5329
|
};
|
|
5122
5330
|
".secure-payment-form .installment-step-container": {
|
|
5123
5331
|
display: string;
|
|
@@ -5158,12 +5366,7 @@ export declare const parentStyles: () => {
|
|
|
5158
5366
|
background: string;
|
|
5159
5367
|
};
|
|
5160
5368
|
".secure-payment-form .installment-button-explore-plans:focus": {
|
|
5161
|
-
background: string;
|
|
5162
|
-
* Sets a special-case event listener that fires when all hosted
|
|
5163
|
-
* fields in a form have registered / loaded
|
|
5164
|
-
*
|
|
5165
|
-
* @param fn The listener function
|
|
5166
|
-
*/
|
|
5369
|
+
background: string;
|
|
5167
5370
|
border: string;
|
|
5168
5371
|
};
|
|
5169
5372
|
".secure-payment-form .installment-button-learn-more": {
|
|
@@ -5183,9 +5386,7 @@ export declare const parentStyles: () => {
|
|
|
5183
5386
|
color: string;
|
|
5184
5387
|
};
|
|
5185
5388
|
".secure-payment-form .installment-button-learn-more:active": {
|
|
5186
|
-
color: string;
|
|
5187
|
-
* Deletes all hosted fields within the form
|
|
5188
|
-
*/
|
|
5389
|
+
color: string;
|
|
5189
5390
|
};
|
|
5190
5391
|
".secure-payment-form .installment-button-learn-more:focus": {
|
|
5191
5392
|
color: string;
|
|
@@ -5810,6 +6011,7 @@ export default class UIForm {
|
|
|
5810
6011
|
private startCardInstallmentDataRequest;
|
|
5811
6012
|
private removeInstallmentsPanel;
|
|
5812
6013
|
private currencyConversionResponseData;
|
|
6014
|
+
private installmentResponseData;
|
|
5813
6015
|
/**
|
|
5814
6016
|
* Configures event listeners related to currency conversion for the specified iframe field.
|
|
5815
6017
|
* @param dccField The iframe field associated with the currency conversion.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { IframeField } from "../index";
|
|
2
|
-
import { InstallmentPaymentData } from "../../../internal/lib/installments/
|
|
3
|
-
|
|
2
|
+
import { InstallmentPaymentData } from "../../../internal/lib/installments/contracts/interfaces";
|
|
3
|
+
import InstallmentPlansData from "../../../internal/lib/installments/contracts/installment-plans-data";
|
|
4
|
+
export default function addInstallments(iframeField: IframeField | undefined, installmentPlans: InstallmentPlansData, installmentCallback: (installment: InstallmentPaymentData) => void): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IDictionary } from "../../../internal/lib/util";
|
|
2
|
+
declare const _default: (id: string, data: IDictionary) => void;
|
|
3
|
+
/**
|
|
4
|
+
* Initiates a installment request and posts the response data to the parent window.
|
|
5
|
+
* @param id The ID of the message.
|
|
6
|
+
* @param data An object containing the data required for the installment request.
|
|
7
|
+
*/
|
|
8
|
+
export default _default;
|