@globalpayments/js 1.9.18 → 1.9.19
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/package.json +1 -1
- package/types/internal/lib/card.d.ts +5 -5
- package/types/internal/lib/installments/contracts/enums.d.ts +6 -1
- package/types/internal/lib/styles/default.d.ts +12 -12
- package/types/internal/lib/styles/gp-default.d.ts +7 -7
- package/types/internal/lib/styles/simple.d.ts +12 -12
- package/types/lib/version.d.ts +1 -1
- package/types/ui/form/index.d.ts +88 -70
- package/types/ui/iframe-field/action-accumulate-installment-data.d.ts +3 -0
- package/types/ui/iframe-field/action-request-installment-data.d.ts +3 -0
package/package.json
CHANGED
|
@@ -94,22 +94,22 @@ export default class Card {
|
|
|
94
94
|
*/
|
|
95
95
|
static validateExpiration(e: Event): void;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* validateInstallmentFields
|
|
98
98
|
*
|
|
99
99
|
* Validates a target element"s value based on the
|
|
100
100
|
* availability of use installment plans.
|
|
101
101
|
*
|
|
102
102
|
* @param e
|
|
103
103
|
*/
|
|
104
|
-
static
|
|
104
|
+
static validateInstallmentFields(e: Event, fieldType: string): void;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* postInstallmentFieldValidatedEvent
|
|
107
107
|
*
|
|
108
|
-
* Post an event
|
|
108
|
+
* Post an event when an installment related card field is validated
|
|
109
109
|
*
|
|
110
110
|
* @param e
|
|
111
111
|
*/
|
|
112
|
-
static
|
|
112
|
+
static postInstallmentFieldValidatedEvent(e: Event): void;
|
|
113
113
|
/**
|
|
114
114
|
* attachNumberEvents
|
|
115
115
|
*
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export declare enum InstallmentEvents {
|
|
2
|
+
CardInstallmentsFieldValidated = "card-installments-field-validated",
|
|
2
3
|
CardInstallmentsRequestStart = "card-installments-request-start",
|
|
3
4
|
CardInstallmentsRequestCompleted = "card-installments-request-completed",
|
|
4
|
-
|
|
5
|
+
CardInstallmentsRequestFailed = "card-installments-request-failed",
|
|
6
|
+
CardInstallmentsHide = "card-installments-hide",
|
|
7
|
+
CardInstallmentsRequestData = "card-installments-request-data",
|
|
8
|
+
CardInstallmentsPassData = "card-installments-pass-data",
|
|
9
|
+
CardInstallmentsAccumulateData = "card-installments-accumulate-data"
|
|
5
10
|
}
|
|
6
11
|
export declare enum InstallmentAvailableStatus {
|
|
7
12
|
Available = "AVAILABLE",
|
|
@@ -69,7 +69,7 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
69
69
|
background: string;
|
|
70
70
|
"background-size": string;
|
|
71
71
|
};
|
|
72
|
-
"img.card-number": {
|
|
72
|
+
"img.card-number-icon": {
|
|
73
73
|
background: string;
|
|
74
74
|
"background-size": string;
|
|
75
75
|
width: string;
|
|
@@ -80,59 +80,59 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
80
80
|
"margin-top": string;
|
|
81
81
|
"background-position": string;
|
|
82
82
|
};
|
|
83
|
-
"img.card-number[src$='/gp-cc-generic.svg']": {
|
|
83
|
+
"img.card-number-icon[src$='/gp-cc-generic.svg']": {
|
|
84
84
|
background: string;
|
|
85
85
|
"background-size": string;
|
|
86
86
|
"background-position-y": string;
|
|
87
87
|
};
|
|
88
|
-
"img.card-number.invalid.card-type-amex": {
|
|
88
|
+
"img.card-number-icon.invalid.card-type-amex": {
|
|
89
89
|
background: string;
|
|
90
90
|
"background-size": string;
|
|
91
91
|
"background-position-y": string;
|
|
92
92
|
};
|
|
93
|
-
"img.card-number.invalid.card-type-discover": {
|
|
93
|
+
"img.card-number-icon.invalid.card-type-discover": {
|
|
94
94
|
background: string;
|
|
95
95
|
"background-size": string;
|
|
96
96
|
"background-position-y": string;
|
|
97
97
|
width: string;
|
|
98
98
|
};
|
|
99
|
-
"img.card-number.invalid.card-type-jcb": {
|
|
99
|
+
"img.card-number-icon.invalid.card-type-jcb": {
|
|
100
100
|
background: string;
|
|
101
101
|
"background-size": string;
|
|
102
102
|
"background-position-y": string;
|
|
103
103
|
};
|
|
104
|
-
"img.card-number.invalid.card-type-mastercard": {
|
|
104
|
+
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
105
105
|
background: string;
|
|
106
106
|
"background-size": string;
|
|
107
107
|
"background-position-y": string;
|
|
108
108
|
};
|
|
109
|
-
"img.card-number.invalid.card-type-visa": {
|
|
109
|
+
"img.card-number-icon.invalid.card-type-visa": {
|
|
110
110
|
background: string;
|
|
111
111
|
"background-size": string;
|
|
112
112
|
"background-position-y": string;
|
|
113
113
|
};
|
|
114
|
-
"img.card-number.valid.card-type-amex": {
|
|
114
|
+
"img.card-number-icon.valid.card-type-amex": {
|
|
115
115
|
background: string;
|
|
116
116
|
"background-size": string;
|
|
117
117
|
"background-position-y": string;
|
|
118
118
|
};
|
|
119
|
-
"img.card-number.valid.card-type-discover": {
|
|
119
|
+
"img.card-number-icon.valid.card-type-discover": {
|
|
120
120
|
background: string;
|
|
121
121
|
"background-size": string;
|
|
122
122
|
"background-position-y": string;
|
|
123
123
|
width: string;
|
|
124
124
|
};
|
|
125
|
-
"img.card-number.valid.card-type-jcb": {
|
|
125
|
+
"img.card-number-icon.valid.card-type-jcb": {
|
|
126
126
|
background: string;
|
|
127
127
|
"background-size": string;
|
|
128
128
|
"background-position-y": string;
|
|
129
129
|
};
|
|
130
|
-
"img.card-number.valid.card-type-mastercard": {
|
|
130
|
+
"img.card-number-icon.valid.card-type-mastercard": {
|
|
131
131
|
background: string;
|
|
132
132
|
"background-size": string;
|
|
133
133
|
"background-position-y": string;
|
|
134
134
|
};
|
|
135
|
-
"img.card-number.valid.card-type-visa": {
|
|
135
|
+
"img.card-number-icon.valid.card-type-visa": {
|
|
136
136
|
background: string;
|
|
137
137
|
"background-size": string;
|
|
138
138
|
"background-position-y": string;
|
|
@@ -71,7 +71,7 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
71
71
|
".card-cvv.card-type-amex": {
|
|
72
72
|
"background-image": string;
|
|
73
73
|
};
|
|
74
|
-
"img.card-number": {
|
|
74
|
+
"img.card-number-icon": {
|
|
75
75
|
background: string;
|
|
76
76
|
position: string;
|
|
77
77
|
right: string;
|
|
@@ -81,22 +81,22 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
81
81
|
"margin-top": string;
|
|
82
82
|
"background-size": string;
|
|
83
83
|
};
|
|
84
|
-
"img.card-number.card-type-amex": {
|
|
84
|
+
"img.card-number-icon.card-type-amex": {
|
|
85
85
|
"background-image": string;
|
|
86
86
|
};
|
|
87
|
-
"img.card-number.card-type-discover": {
|
|
87
|
+
"img.card-number-icon.card-type-discover": {
|
|
88
88
|
"background-image": string;
|
|
89
89
|
};
|
|
90
|
-
"img.card-number.card-type-jcb": {
|
|
90
|
+
"img.card-number-icon.card-type-jcb": {
|
|
91
91
|
"background-image": string;
|
|
92
92
|
};
|
|
93
|
-
"img.card-number.card-type-mastercard": {
|
|
93
|
+
"img.card-number-icon.card-type-mastercard": {
|
|
94
94
|
"background-image": string;
|
|
95
95
|
};
|
|
96
|
-
"img.card-number.card-type-visa": {
|
|
96
|
+
"img.card-number-icon.card-type-visa": {
|
|
97
97
|
"background-image": string;
|
|
98
98
|
};
|
|
99
|
-
"img.card-number.card-type-diners": {
|
|
99
|
+
"img.card-number-icon.card-type-diners": {
|
|
100
100
|
"background-image": string;
|
|
101
101
|
};
|
|
102
102
|
".card-number::-ms-clear": {
|
|
@@ -51,7 +51,7 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
51
51
|
background: string;
|
|
52
52
|
"background-size": string;
|
|
53
53
|
};
|
|
54
|
-
"img.card-number": {
|
|
54
|
+
"img.card-number-icon": {
|
|
55
55
|
background: string;
|
|
56
56
|
"background-size": string;
|
|
57
57
|
width: string;
|
|
@@ -62,61 +62,61 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
62
62
|
"margin-top": string;
|
|
63
63
|
"background-position": string;
|
|
64
64
|
};
|
|
65
|
-
"img.card-number[src$='/gp-cc-generic.svg']": {
|
|
65
|
+
"img.card-number-icon[src$='/gp-cc-generic.svg']": {
|
|
66
66
|
background: string;
|
|
67
67
|
"background-size": string;
|
|
68
68
|
"background-position-y": string;
|
|
69
69
|
};
|
|
70
|
-
"img.card-number.invalid.card-type-amex": {
|
|
70
|
+
"img.card-number-icon.invalid.card-type-amex": {
|
|
71
71
|
background: string;
|
|
72
72
|
"background-size": string;
|
|
73
73
|
"background-position-y": string;
|
|
74
74
|
};
|
|
75
|
-
"img.card-number.invalid.card-type-discover": {
|
|
75
|
+
"img.card-number-icon.invalid.card-type-discover": {
|
|
76
76
|
background: string;
|
|
77
77
|
"background-size": string;
|
|
78
78
|
"background-position-y": string;
|
|
79
79
|
width: string;
|
|
80
80
|
right: string;
|
|
81
81
|
};
|
|
82
|
-
"img.card-number.invalid.card-type-jcb": {
|
|
82
|
+
"img.card-number-icon.invalid.card-type-jcb": {
|
|
83
83
|
background: string;
|
|
84
84
|
"background-size": string;
|
|
85
85
|
"background-position-y": string;
|
|
86
86
|
};
|
|
87
|
-
"img.card-number.invalid.card-type-mastercard": {
|
|
87
|
+
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
88
88
|
background: string;
|
|
89
89
|
"background-size": string;
|
|
90
90
|
"background-position": string;
|
|
91
91
|
};
|
|
92
|
-
"img.card-number.invalid.card-type-visa": {
|
|
92
|
+
"img.card-number-icon.invalid.card-type-visa": {
|
|
93
93
|
background: string;
|
|
94
94
|
"background-size": string;
|
|
95
95
|
"background-position": string;
|
|
96
96
|
};
|
|
97
|
-
"img.card-number.valid.card-type-amex": {
|
|
97
|
+
"img.card-number-icon.valid.card-type-amex": {
|
|
98
98
|
background: string;
|
|
99
99
|
"background-size": string;
|
|
100
100
|
"background-position-y": string;
|
|
101
101
|
};
|
|
102
|
-
"img.card-number.valid.card-type-discover": {
|
|
102
|
+
"img.card-number-icon.valid.card-type-discover": {
|
|
103
103
|
background: string;
|
|
104
104
|
"background-size": string;
|
|
105
105
|
"background-position-y": string;
|
|
106
106
|
width: string;
|
|
107
107
|
right: string;
|
|
108
108
|
};
|
|
109
|
-
"img.card-number.valid.card-type-jcb": {
|
|
109
|
+
"img.card-number-icon.valid.card-type-jcb": {
|
|
110
110
|
background: string;
|
|
111
111
|
"background-size": string;
|
|
112
112
|
"background-position-y": string;
|
|
113
113
|
};
|
|
114
|
-
"img.card-number.valid.card-type-mastercard": {
|
|
114
|
+
"img.card-number-icon.valid.card-type-mastercard": {
|
|
115
115
|
background: string;
|
|
116
116
|
"background-size": string;
|
|
117
117
|
"background-position": string;
|
|
118
118
|
};
|
|
119
|
-
"img.card-number.valid.card-type-visa": {
|
|
119
|
+
"img.card-number-icon.valid.card-type-visa": {
|
|
120
120
|
background: string;
|
|
121
121
|
"background-size": string;
|
|
122
122
|
"background-position": string;
|
package/types/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.9.
|
|
1
|
+
declare const _default: "1.9.19";
|
|
2
2
|
export default _default;
|
package/types/ui/form/index.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare const fieldStyles: () => {
|
|
|
75
75
|
background: string;
|
|
76
76
|
"background-size": string;
|
|
77
77
|
};
|
|
78
|
-
"img.card-number": {
|
|
78
|
+
"img.card-number-icon": {
|
|
79
79
|
background: string;
|
|
80
80
|
"background-size": string;
|
|
81
81
|
width: string;
|
|
@@ -86,64 +86,59 @@ export declare const fieldStyles: () => {
|
|
|
86
86
|
"margin-top": string;
|
|
87
87
|
"background-position": string;
|
|
88
88
|
};
|
|
89
|
-
"img.card-number[src$='/gp-cc-generic.svg']": {
|
|
89
|
+
"img.card-number-icon[src$='/gp-cc-generic.svg']": {
|
|
90
90
|
background: string;
|
|
91
91
|
"background-size": string;
|
|
92
92
|
"background-position-y": string;
|
|
93
93
|
};
|
|
94
|
-
"img.card-number.invalid.card-type-amex": {
|
|
94
|
+
"img.card-number-icon.invalid.card-type-amex": {
|
|
95
95
|
background: string;
|
|
96
96
|
"background-size": string;
|
|
97
97
|
"background-position-y": string;
|
|
98
98
|
};
|
|
99
|
-
"img.card-number.invalid.card-type-discover": {
|
|
99
|
+
"img.card-number-icon.invalid.card-type-discover": {
|
|
100
100
|
background: string;
|
|
101
101
|
"background-size": string;
|
|
102
102
|
"background-position-y": string;
|
|
103
103
|
width: string;
|
|
104
104
|
};
|
|
105
|
-
"img.card-number.invalid.card-type-jcb": {
|
|
105
|
+
"img.card-number-icon.invalid.card-type-jcb": {
|
|
106
106
|
background: string;
|
|
107
107
|
"background-size": string;
|
|
108
108
|
"background-position-y": string;
|
|
109
109
|
};
|
|
110
|
-
"img.card-number.invalid.card-type-mastercard": {
|
|
110
|
+
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
111
111
|
background: string;
|
|
112
112
|
"background-size": string;
|
|
113
113
|
"background-position-y": string;
|
|
114
114
|
};
|
|
115
|
-
"img.card-number.invalid.card-type-visa": {
|
|
115
|
+
"img.card-number-icon.invalid.card-type-visa": {
|
|
116
116
|
background: string;
|
|
117
117
|
"background-size": string;
|
|
118
118
|
"background-position-y": string;
|
|
119
119
|
};
|
|
120
|
-
"img.card-number.valid.card-type-amex": {
|
|
120
|
+
"img.card-number-icon.valid.card-type-amex": {
|
|
121
121
|
background: string;
|
|
122
122
|
"background-size": string;
|
|
123
123
|
"background-position-y": string;
|
|
124
124
|
};
|
|
125
|
-
"img.card-number.valid.card-type-discover": {
|
|
125
|
+
"img.card-number-icon.valid.card-type-discover": {
|
|
126
126
|
background: string;
|
|
127
127
|
"background-size": string;
|
|
128
128
|
"background-position-y": string;
|
|
129
129
|
width: string;
|
|
130
130
|
};
|
|
131
|
-
"img.card-number.valid.card-type-jcb": {
|
|
131
|
+
"img.card-number-icon.valid.card-type-jcb": {
|
|
132
132
|
background: string;
|
|
133
133
|
"background-size": string;
|
|
134
|
-
/**
|
|
135
|
-
* Appends additional CSS rules to the group of hosted fields
|
|
136
|
-
*
|
|
137
|
-
* @param json New CSS rules
|
|
138
|
-
*/
|
|
139
134
|
"background-position-y": string;
|
|
140
135
|
};
|
|
141
|
-
"img.card-number.valid.card-type-mastercard": {
|
|
136
|
+
"img.card-number-icon.valid.card-type-mastercard": {
|
|
142
137
|
background: string;
|
|
143
138
|
"background-size": string;
|
|
144
139
|
"background-position-y": string;
|
|
145
140
|
};
|
|
146
|
-
"img.card-number.valid.card-type-visa": {
|
|
141
|
+
"img.card-number-icon.valid.card-type-visa": {
|
|
147
142
|
background: string;
|
|
148
143
|
"background-size": string;
|
|
149
144
|
"background-position-y": string;
|
|
@@ -152,12 +147,7 @@ export declare const fieldStyles: () => {
|
|
|
152
147
|
display: string;
|
|
153
148
|
};
|
|
154
149
|
"input[placeholder]": {
|
|
155
|
-
"letter-spacing": string;
|
|
156
|
-
* Sets a special-case event listener that fires when all hosted
|
|
157
|
-
* fields in a form have registered / loaded
|
|
158
|
-
*
|
|
159
|
-
* @param fn The listener function
|
|
160
|
-
*/
|
|
150
|
+
"letter-spacing": string;
|
|
161
151
|
};
|
|
162
152
|
};
|
|
163
153
|
"gp-default": {
|
|
@@ -233,7 +223,7 @@ export declare const fieldStyles: () => {
|
|
|
233
223
|
".card-cvv.card-type-amex": {
|
|
234
224
|
"background-image": string;
|
|
235
225
|
};
|
|
236
|
-
"img.card-number": {
|
|
226
|
+
"img.card-number-icon": {
|
|
237
227
|
background: string;
|
|
238
228
|
position: string;
|
|
239
229
|
right: string;
|
|
@@ -243,22 +233,32 @@ export declare const fieldStyles: () => {
|
|
|
243
233
|
"margin-top": string;
|
|
244
234
|
"background-size": string;
|
|
245
235
|
};
|
|
246
|
-
"img.card-number.card-type-amex": {
|
|
236
|
+
"img.card-number-icon.card-type-amex": {
|
|
247
237
|
"background-image": string;
|
|
248
238
|
};
|
|
249
|
-
"img.card-number.card-type-discover": {
|
|
239
|
+
"img.card-number-icon.card-type-discover": {
|
|
250
240
|
"background-image": string;
|
|
251
241
|
};
|
|
252
|
-
"img.card-number.card-type-jcb": {
|
|
242
|
+
"img.card-number-icon.card-type-jcb": {
|
|
253
243
|
"background-image": string;
|
|
254
244
|
};
|
|
255
|
-
"img.card-number.card-type-mastercard": {
|
|
245
|
+
"img.card-number-icon.card-type-mastercard": {
|
|
256
246
|
"background-image": string;
|
|
257
247
|
};
|
|
258
|
-
"img.card-number.card-type-visa": {
|
|
248
|
+
"img.card-number-icon.card-type-visa": {
|
|
259
249
|
"background-image": string;
|
|
260
250
|
};
|
|
261
|
-
|
|
251
|
+
/**
|
|
252
|
+
* Sets an event listener for an event type
|
|
253
|
+
*
|
|
254
|
+
* @param fieldTypeOrEventName The field type on which the listener should
|
|
255
|
+
* be applied, or the type of event that should trigger the listener
|
|
256
|
+
* @param eventNameOrListener The type of event that should trigger the
|
|
257
|
+
* listener, or the listener function
|
|
258
|
+
* @param listener The listener function when both field type and event type
|
|
259
|
+
* are provided
|
|
260
|
+
*/
|
|
261
|
+
"img.card-number-icon.card-type-diners": {
|
|
262
262
|
"background-image": string;
|
|
263
263
|
};
|
|
264
264
|
".card-number::-ms-clear": {
|
|
@@ -318,7 +318,7 @@ export declare const fieldStyles: () => {
|
|
|
318
318
|
background: string;
|
|
319
319
|
"background-size": string;
|
|
320
320
|
};
|
|
321
|
-
"img.card-number": {
|
|
321
|
+
"img.card-number-icon": {
|
|
322
322
|
background: string;
|
|
323
323
|
"background-size": string;
|
|
324
324
|
width: string;
|
|
@@ -329,66 +329,67 @@ export declare const fieldStyles: () => {
|
|
|
329
329
|
"margin-top": string;
|
|
330
330
|
"background-position": string;
|
|
331
331
|
};
|
|
332
|
-
"img.card-number[src$='/gp-cc-generic.svg']": {
|
|
332
|
+
"img.card-number-icon[src$='/gp-cc-generic.svg']": {
|
|
333
333
|
background: string;
|
|
334
334
|
"background-size": string;
|
|
335
335
|
"background-position-y": string;
|
|
336
336
|
};
|
|
337
|
-
"img.card-number.invalid.card-type-amex": {
|
|
337
|
+
"img.card-number-icon.invalid.card-type-amex": {
|
|
338
338
|
background: string;
|
|
339
339
|
"background-size": string;
|
|
340
340
|
"background-position-y": string;
|
|
341
341
|
};
|
|
342
|
-
|
|
342
|
+
/**
|
|
343
|
+
* Instantiates a new UIForm object for a group of hosted fields
|
|
344
|
+
*
|
|
345
|
+
* @param fields Hosted field configuration
|
|
346
|
+
* @param styles Custom CSS configuration
|
|
347
|
+
*/
|
|
348
|
+
"img.card-number-icon.invalid.card-type-discover": {
|
|
343
349
|
background: string;
|
|
344
|
-
"background-size": string;
|
|
345
|
-
* Instantiates a new UIForm object for a group of hosted fields
|
|
346
|
-
*
|
|
347
|
-
* @param fields Hosted field configuration
|
|
348
|
-
* @param styles Custom CSS configuration
|
|
349
|
-
*/
|
|
350
|
+
"background-size": string;
|
|
350
351
|
"background-position-y": string;
|
|
351
352
|
width: string;
|
|
352
353
|
right: string;
|
|
353
354
|
};
|
|
354
|
-
"img.card-number.invalid.card-type-jcb": {
|
|
355
|
+
"img.card-number-icon.invalid.card-type-jcb": {
|
|
355
356
|
background: string;
|
|
356
357
|
"background-size": string;
|
|
357
358
|
"background-position-y": string;
|
|
358
359
|
};
|
|
359
|
-
"img.card-number.invalid.card-type-mastercard": {
|
|
360
|
+
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
360
361
|
background: string;
|
|
361
362
|
"background-size": string;
|
|
362
363
|
"background-position": string;
|
|
363
364
|
};
|
|
364
|
-
"img.card-number.invalid.card-type-visa": {
|
|
365
|
+
"img.card-number-icon.invalid.card-type-visa": {
|
|
365
366
|
background: string;
|
|
366
367
|
"background-size": string;
|
|
367
368
|
"background-position": string;
|
|
368
369
|
};
|
|
369
|
-
"img.card-number.valid.card-type-amex": {
|
|
370
|
+
"img.card-number-icon.valid.card-type-amex": {
|
|
370
371
|
background: string;
|
|
371
372
|
"background-size": string;
|
|
372
373
|
"background-position-y": string;
|
|
373
374
|
};
|
|
374
|
-
"img.card-number.valid.card-type-discover": {
|
|
375
|
+
"img.card-number-icon.valid.card-type-discover": {
|
|
375
376
|
background: string;
|
|
376
377
|
"background-size": string;
|
|
377
378
|
"background-position-y": string;
|
|
378
379
|
width: string;
|
|
379
380
|
right: string;
|
|
380
381
|
};
|
|
381
|
-
"img.card-number.valid.card-type-jcb": {
|
|
382
|
+
"img.card-number-icon.valid.card-type-jcb": {
|
|
382
383
|
background: string;
|
|
383
384
|
"background-size": string;
|
|
384
385
|
"background-position-y": string;
|
|
385
386
|
};
|
|
386
|
-
"img.card-number.valid.card-type-mastercard": {
|
|
387
|
+
"img.card-number-icon.valid.card-type-mastercard": {
|
|
387
388
|
background: string;
|
|
388
389
|
"background-size": string;
|
|
389
390
|
"background-position": string;
|
|
390
391
|
};
|
|
391
|
-
"img.card-number.valid.card-type-visa": {
|
|
392
|
+
"img.card-number-icon.valid.card-type-visa": {
|
|
392
393
|
background: string;
|
|
393
394
|
"background-size": string;
|
|
394
395
|
"background-position": string;
|
|
@@ -503,7 +504,16 @@ export declare const parentStyles: () => {
|
|
|
503
504
|
"box-shadow": string;
|
|
504
505
|
};
|
|
505
506
|
".secure-payment-form .ctp-info-tooltip-content .ctp-icon": {
|
|
506
|
-
"margin-left": string;
|
|
507
|
+
"margin-left": string; /**
|
|
508
|
+
* Sets an event listener for an event type
|
|
509
|
+
*
|
|
510
|
+
* @param fieldTypeOrEventName The field type on which the listener should
|
|
511
|
+
* be applied, or the type of event that should trigger the listener
|
|
512
|
+
* @param eventNameOrListener The type of event that should trigger the
|
|
513
|
+
* listener, or the listener function
|
|
514
|
+
* @param listener The listener function when both field type and event type
|
|
515
|
+
* are provided
|
|
516
|
+
*/
|
|
507
517
|
};
|
|
508
518
|
".secure-payment-form .ctp-info-tooltip .ctp-heading": {
|
|
509
519
|
"max-width": string;
|
|
@@ -594,9 +604,7 @@ export declare const parentStyles: () => {
|
|
|
594
604
|
right: string;
|
|
595
605
|
border: string;
|
|
596
606
|
"border-width": string;
|
|
597
|
-
display: string;
|
|
598
|
-
* Deletes all hosted fields within the form
|
|
599
|
-
*/
|
|
607
|
+
display: string;
|
|
600
608
|
padding: string;
|
|
601
609
|
transform: string;
|
|
602
610
|
"-webkit-transform": string;
|
|
@@ -915,7 +923,16 @@ export declare const parentStyles: () => {
|
|
|
915
923
|
"box-shadow": string;
|
|
916
924
|
};
|
|
917
925
|
".secure-payment-form .ctp-info-tooltip-content .ctp-icon": {
|
|
918
|
-
"margin-left": string;
|
|
926
|
+
"margin-left": string; /**
|
|
927
|
+
* Sets an event listener for an event type
|
|
928
|
+
*
|
|
929
|
+
* @param fieldTypeOrEventName The field type on which the listener should
|
|
930
|
+
* be applied, or the type of event that should trigger the listener
|
|
931
|
+
* @param eventNameOrListener The type of event that should trigger the
|
|
932
|
+
* listener, or the listener function
|
|
933
|
+
* @param listener The listener function when both field type and event type
|
|
934
|
+
* are provided
|
|
935
|
+
*/
|
|
919
936
|
};
|
|
920
937
|
".secure-payment-form .ctp-info-tooltip .ctp-heading": {
|
|
921
938
|
"max-width": string;
|
|
@@ -1006,9 +1023,7 @@ export declare const parentStyles: () => {
|
|
|
1006
1023
|
right: string;
|
|
1007
1024
|
border: string;
|
|
1008
1025
|
"border-width": string;
|
|
1009
|
-
display: string;
|
|
1010
|
-
* Deletes all hosted fields within the form
|
|
1011
|
-
*/
|
|
1026
|
+
display: string;
|
|
1012
1027
|
padding: string;
|
|
1013
1028
|
transform: string;
|
|
1014
1029
|
"-webkit-transform": string;
|
|
@@ -1543,9 +1558,7 @@ export declare const parentStyles: () => {
|
|
|
1543
1558
|
".secure-payment-form .tooltip-content": {
|
|
1544
1559
|
visibility: string;
|
|
1545
1560
|
width: string;
|
|
1546
|
-
"background-color": string;
|
|
1547
|
-
* Deletes all hosted fields within the form
|
|
1548
|
-
*/
|
|
1561
|
+
"background-color": string;
|
|
1549
1562
|
color: string;
|
|
1550
1563
|
"text-align": string;
|
|
1551
1564
|
"border-radius": string;
|
|
@@ -1712,7 +1725,16 @@ export declare const parentStyles: () => {
|
|
|
1712
1725
|
"box-shadow": string;
|
|
1713
1726
|
};
|
|
1714
1727
|
".secure-payment-form .ctp-info-tooltip-content .ctp-icon": {
|
|
1715
|
-
"margin-left": string;
|
|
1728
|
+
"margin-left": string; /**
|
|
1729
|
+
* Sets an event listener for an event type
|
|
1730
|
+
*
|
|
1731
|
+
* @param fieldTypeOrEventName The field type on which the listener should
|
|
1732
|
+
* be applied, or the type of event that should trigger the listener
|
|
1733
|
+
* @param eventNameOrListener The type of event that should trigger the
|
|
1734
|
+
* listener, or the listener function
|
|
1735
|
+
* @param listener The listener function when both field type and event type
|
|
1736
|
+
* are provided
|
|
1737
|
+
*/
|
|
1716
1738
|
};
|
|
1717
1739
|
".secure-payment-form .ctp-info-tooltip .ctp-heading": {
|
|
1718
1740
|
"max-width": string;
|
|
@@ -1803,9 +1825,7 @@ export declare const parentStyles: () => {
|
|
|
1803
1825
|
right: string;
|
|
1804
1826
|
border: string;
|
|
1805
1827
|
"border-width": string;
|
|
1806
|
-
display: string;
|
|
1807
|
-
* Deletes all hosted fields within the form
|
|
1808
|
-
*/
|
|
1828
|
+
display: string;
|
|
1809
1829
|
padding: string;
|
|
1810
1830
|
transform: string;
|
|
1811
1831
|
"-webkit-transform": string;
|
|
@@ -1925,12 +1945,7 @@ export declare const parentStyles: () => {
|
|
|
1925
1945
|
"text-transform": string;
|
|
1926
1946
|
};
|
|
1927
1947
|
".secure-payment-form #ss-banner": {
|
|
1928
|
-
background: string;
|
|
1929
|
-
* Sets a special-case event listener that fires when all hosted
|
|
1930
|
-
* fields in a form have registered / loaded
|
|
1931
|
-
*
|
|
1932
|
-
* @param fn The listener function
|
|
1933
|
-
*/
|
|
1948
|
+
background: string;
|
|
1934
1949
|
"background-size": string;
|
|
1935
1950
|
height: string;
|
|
1936
1951
|
"margin-bottom": string;
|
|
@@ -1951,7 +1966,9 @@ export declare const parentStyles: () => {
|
|
|
1951
1966
|
".secure-payment-form div[class$='-shield'] .ssl-logo_ico": {
|
|
1952
1967
|
width: string;
|
|
1953
1968
|
height: string;
|
|
1954
|
-
"margin-top": string;
|
|
1969
|
+
"margin-top": string; /**
|
|
1970
|
+
* Deletes all hosted fields within the form
|
|
1971
|
+
*/
|
|
1955
1972
|
"vertical-align": string;
|
|
1956
1973
|
};
|
|
1957
1974
|
".secure-payment-form div[class$='-shield'] .ssl-msg": {
|
|
@@ -2120,4 +2137,5 @@ export default class UIForm {
|
|
|
2120
2137
|
private removeInstallmentsPanel;
|
|
2121
2138
|
private requestDataFromAll;
|
|
2122
2139
|
setSubtotalAmount(amount: string): void;
|
|
2140
|
+
private requestInstallmentData;
|
|
2123
2141
|
}
|