@globalpayments/js 1.9.3 → 1.9.7
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/apm/index.d.ts +11 -0
- package/types/index.d.ts +4 -0
- package/types/internal/lib/eums.d.ts +11 -0
- package/types/internal/lib/styles/default.d.ts +282 -0
- package/types/internal/lib/styles/gp-default.d.ts +21 -18
- package/types/internal/lib/styles/simple.d.ts +282 -0
- package/types/lib/version.d.ts +1 -1
- package/types/tools/configure.d.ts +12 -7
- package/types/ui/form/index.d.ts +724 -170
- package/types/ui/iframe-field/action-add-click-to-pay.d.ts +2 -2
- package/types/ui/iframe-field/index.d.ts +1 -0
|
@@ -173,4 +173,286 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
173
173
|
".secure-payment-form .tooltip, .secure-payment-form .tooltip-content": {
|
|
174
174
|
display: string;
|
|
175
175
|
};
|
|
176
|
+
".secure-payment-form .other-cards-label": {
|
|
177
|
+
"border-bottom": string;
|
|
178
|
+
"text-align": string;
|
|
179
|
+
margin: string;
|
|
180
|
+
position: string;
|
|
181
|
+
};
|
|
182
|
+
".secure-payment-form .other-cards-label span": {
|
|
183
|
+
"text-align": string;
|
|
184
|
+
padding: string;
|
|
185
|
+
background: string;
|
|
186
|
+
position: string;
|
|
187
|
+
color: string;
|
|
188
|
+
width: string;
|
|
189
|
+
left: string;
|
|
190
|
+
"-webkit-transform": string;
|
|
191
|
+
"-moz-transform": string;
|
|
192
|
+
"-ms-transform": string;
|
|
193
|
+
"-o-transform": string;
|
|
194
|
+
transform: string;
|
|
195
|
+
margin: string;
|
|
196
|
+
"font-family": string;
|
|
197
|
+
"font-size": string;
|
|
198
|
+
"white-space": string;
|
|
199
|
+
};
|
|
200
|
+
".secure-payment-form .hidden": {
|
|
201
|
+
display: string;
|
|
202
|
+
};
|
|
203
|
+
".secure-payment-form .ctp-panel": {
|
|
204
|
+
border: string;
|
|
205
|
+
"box-shadow": string;
|
|
206
|
+
"border-radius": string;
|
|
207
|
+
"margin-bottom": string;
|
|
208
|
+
};
|
|
209
|
+
".secure-payment-form div[class^='credit-card'].apm-active ~ div:not([class$='shield']):not([class$='logo'])": {
|
|
210
|
+
display: string;
|
|
211
|
+
};
|
|
212
|
+
".secure-payment-form .ctp-panel .ctp-button": {
|
|
213
|
+
display: string;
|
|
214
|
+
background: string;
|
|
215
|
+
"flex-direction": string;
|
|
216
|
+
"align-items": string;
|
|
217
|
+
padding: string;
|
|
218
|
+
flex: string;
|
|
219
|
+
order: string;
|
|
220
|
+
"flex-grow": string;
|
|
221
|
+
position: string;
|
|
222
|
+
"font-size": string;
|
|
223
|
+
"line-height": string;
|
|
224
|
+
cursor: string;
|
|
225
|
+
"font-family": string;
|
|
226
|
+
};
|
|
227
|
+
".secure-payment-form .apm-active .ctp-panel .ctp-button": {
|
|
228
|
+
cursor: string;
|
|
229
|
+
};
|
|
230
|
+
".secure-payment-form .ctp-panel .ctp-button:after": {
|
|
231
|
+
content: string;
|
|
232
|
+
position: string;
|
|
233
|
+
width: string;
|
|
234
|
+
height: string;
|
|
235
|
+
border: string;
|
|
236
|
+
"border-width": string;
|
|
237
|
+
display: string;
|
|
238
|
+
padding: string;
|
|
239
|
+
transform: string;
|
|
240
|
+
"-webkit-transform": string;
|
|
241
|
+
};
|
|
242
|
+
".secure-payment-form .ctp-panel .right-arrow": {
|
|
243
|
+
position: string;
|
|
244
|
+
background: string;
|
|
245
|
+
right: string;
|
|
246
|
+
border: string;
|
|
247
|
+
"border-width": string;
|
|
248
|
+
display: string;
|
|
249
|
+
padding: string;
|
|
250
|
+
transform: string;
|
|
251
|
+
"-webkit-transform": string;
|
|
252
|
+
"z-index": string;
|
|
253
|
+
top: string;
|
|
254
|
+
"margin-top": string;
|
|
255
|
+
};
|
|
256
|
+
".secure-payment-form .apm-active .right-arrow": {
|
|
257
|
+
display: string;
|
|
258
|
+
};
|
|
259
|
+
".secure-payment-form .ctp-info-tooltip": {
|
|
260
|
+
width: string;
|
|
261
|
+
height: string;
|
|
262
|
+
display: string;
|
|
263
|
+
"vertical-align": string;
|
|
264
|
+
overflow: string;
|
|
265
|
+
background: string;
|
|
266
|
+
margin: string;
|
|
267
|
+
};
|
|
268
|
+
".secure-payment-form .ctp-info-tooltip-content": {
|
|
269
|
+
visibility: string;
|
|
270
|
+
width: string;
|
|
271
|
+
"background-color": string;
|
|
272
|
+
color: string;
|
|
273
|
+
"text-align": string;
|
|
274
|
+
"border-radius": string;
|
|
275
|
+
border: string;
|
|
276
|
+
padding: string;
|
|
277
|
+
position: string;
|
|
278
|
+
"z-index": string;
|
|
279
|
+
"margin-left": string;
|
|
280
|
+
"margin-top": string;
|
|
281
|
+
opacity: string;
|
|
282
|
+
transition: string;
|
|
283
|
+
"font-size": string;
|
|
284
|
+
"font-weight": string;
|
|
285
|
+
"box-shadow": string;
|
|
286
|
+
};
|
|
287
|
+
".secure-payment-form .ctp-info-tooltip .ctp-heading": {
|
|
288
|
+
"max-width": string;
|
|
289
|
+
margin: string;
|
|
290
|
+
};
|
|
291
|
+
".secure-payment-form .ctp-info-tooltip-content li": {
|
|
292
|
+
padding: string;
|
|
293
|
+
"font-size": string;
|
|
294
|
+
"line-height": string;
|
|
295
|
+
"list-style": string;
|
|
296
|
+
};
|
|
297
|
+
".secure-payment-form .ctp-info-tooltip-content li.smart-checkout": {
|
|
298
|
+
background: string;
|
|
299
|
+
};
|
|
300
|
+
".secure-payment-form .ctp-info-tooltip-content li.faster-checkout": {
|
|
301
|
+
background: string;
|
|
302
|
+
};
|
|
303
|
+
".secure-payment-form .ctp-info-tooltip-content li.industry-standards": {
|
|
304
|
+
background: string;
|
|
305
|
+
};
|
|
306
|
+
".secure-payment-form .ctp-info-tooltip .top-arrow": {
|
|
307
|
+
position: string;
|
|
308
|
+
"margin-top": string;
|
|
309
|
+
background: string;
|
|
310
|
+
width: string;
|
|
311
|
+
left: string;
|
|
312
|
+
"margin-left": string;
|
|
313
|
+
border: string;
|
|
314
|
+
"border-width": string;
|
|
315
|
+
display: string;
|
|
316
|
+
padding: string;
|
|
317
|
+
transform: string;
|
|
318
|
+
"-webkit-transform": string;
|
|
319
|
+
"z-index": string;
|
|
320
|
+
};
|
|
321
|
+
".secure-payment-form .ctp-info-tooltip-content li .ctp-icon": {
|
|
322
|
+
"background-size": string;
|
|
323
|
+
width: string;
|
|
324
|
+
height: string;
|
|
325
|
+
margin: string;
|
|
326
|
+
};
|
|
327
|
+
".secure-payment-form .ctp-info-tooltip-content strong": {
|
|
328
|
+
"font-size": string;
|
|
329
|
+
"vertical-align": string;
|
|
330
|
+
};
|
|
331
|
+
".secure-payment-form .ctp-info-tooltip:hover .ctp-info-tooltip-content": {
|
|
332
|
+
visibility: string;
|
|
333
|
+
opacity: string;
|
|
334
|
+
};
|
|
335
|
+
".secure-payment-form .ctp-panel .ctp-button .ctp-icon": {
|
|
336
|
+
background: string;
|
|
337
|
+
display: string;
|
|
338
|
+
"vertical-align": string;
|
|
339
|
+
width: string;
|
|
340
|
+
height: string;
|
|
341
|
+
margin: string;
|
|
342
|
+
};
|
|
343
|
+
".secure-payment-form .ctp-info-tooltip .card-brands": {
|
|
344
|
+
background: string;
|
|
345
|
+
display: string;
|
|
346
|
+
"vertical-align": string;
|
|
347
|
+
"padding-right": string;
|
|
348
|
+
"min-height": string;
|
|
349
|
+
color: string;
|
|
350
|
+
"white-space": string;
|
|
351
|
+
};
|
|
352
|
+
".secure-payment-form #ctp-wrapper #header": {
|
|
353
|
+
display: string;
|
|
354
|
+
};
|
|
355
|
+
".secure-payment-form #ctp-wrapper #footer": {
|
|
356
|
+
display: string;
|
|
357
|
+
};
|
|
358
|
+
".secure-payment-form #ctp-wrapper label.footerLabel": {
|
|
359
|
+
margin: string;
|
|
360
|
+
"font-size": string;
|
|
361
|
+
"line-height": string;
|
|
362
|
+
"font-weight": string;
|
|
363
|
+
};
|
|
364
|
+
".secure-payment-form #ctp-wrapper .footerLinewindow": {
|
|
365
|
+
padding: string;
|
|
366
|
+
};
|
|
367
|
+
".secure-payment-form #ctp-wrapper .TransitionLabel": {
|
|
368
|
+
"font-size": string;
|
|
369
|
+
"line-height": string;
|
|
370
|
+
"text-align": string;
|
|
371
|
+
float: string;
|
|
372
|
+
margin: string;
|
|
373
|
+
};
|
|
374
|
+
".secure-payment-form #ctp-wrapper #mtransitiontext.transctcardlabel": {
|
|
375
|
+
"font-size": string;
|
|
376
|
+
"line-height": string;
|
|
377
|
+
"text-align": string;
|
|
378
|
+
float: string;
|
|
379
|
+
margin: string;
|
|
380
|
+
};
|
|
381
|
+
".secure-payment-form #ctp-wrapper .transctcardlabel": {
|
|
382
|
+
"font-size": string;
|
|
383
|
+
"line-height": string;
|
|
384
|
+
"text-align": string;
|
|
385
|
+
float: string;
|
|
386
|
+
};
|
|
387
|
+
".secure-payment-form #ctp-wrapper .quitbanner": {
|
|
388
|
+
"margin-left": string;
|
|
389
|
+
"margin-top": string;
|
|
390
|
+
};
|
|
391
|
+
".secure-payment-form #ctp-wrapper .quitbanner > svg": {
|
|
392
|
+
display: string;
|
|
393
|
+
};
|
|
394
|
+
".secure-payment-form #ctp-wrapper .quitbanner .quitPage": {
|
|
395
|
+
margin: string;
|
|
396
|
+
};
|
|
397
|
+
".secure-payment-form #ctp-wrapper .VerificationLabel": {
|
|
398
|
+
"font-size": string;
|
|
399
|
+
"line-height": string;
|
|
400
|
+
"font-weight": string;
|
|
401
|
+
margin: string;
|
|
402
|
+
};
|
|
403
|
+
".secure-payment-form #ctp-wrapper label": {
|
|
404
|
+
"font-size": string;
|
|
405
|
+
"line-height": string;
|
|
406
|
+
"font-weight": string;
|
|
407
|
+
margin: string;
|
|
408
|
+
};
|
|
409
|
+
".secure-payment-form #ctp-wrapper label.change": {
|
|
410
|
+
"font-size": string;
|
|
411
|
+
"line-height": string;
|
|
412
|
+
"font-weight": string;
|
|
413
|
+
margin: string;
|
|
414
|
+
};
|
|
415
|
+
".secure-payment-form #ctp-wrapper .blue-button": {
|
|
416
|
+
height: string;
|
|
417
|
+
"font-size": string;
|
|
418
|
+
"line-height": string;
|
|
419
|
+
padding: string;
|
|
420
|
+
};
|
|
421
|
+
".secure-payment-form #ctp-wrapper .blue-button label": {
|
|
422
|
+
margin: string;
|
|
423
|
+
};
|
|
424
|
+
".secure-payment-form #ctp-wrapper .lblemailDisplay": {
|
|
425
|
+
"font-size": string;
|
|
426
|
+
"line-height": string;
|
|
427
|
+
"margin-top": string;
|
|
428
|
+
};
|
|
429
|
+
".secure-payment-form #ctp-wrapper .rsdcode": {
|
|
430
|
+
"font-size": string;
|
|
431
|
+
"line-height": string;
|
|
432
|
+
"font-weight": string;
|
|
433
|
+
"margin-bottom": string;
|
|
434
|
+
};
|
|
435
|
+
".secure-payment-form #ctp-wrapper .svgalignDiv": {
|
|
436
|
+
padding: string;
|
|
437
|
+
};
|
|
438
|
+
".secure-payment-form #ctp-wrapper .signinlayout": {
|
|
439
|
+
"min-height": string;
|
|
440
|
+
"max-width": string;
|
|
441
|
+
};
|
|
442
|
+
".secure-payment-form #ctp-wrapper .logindiv": {
|
|
443
|
+
"min-height": string;
|
|
444
|
+
padding: string;
|
|
445
|
+
};
|
|
446
|
+
".secure-payment-form #ctp-wrapper #cancel-link": {
|
|
447
|
+
"margin-bottom": string;
|
|
448
|
+
};
|
|
449
|
+
".secure-payment-form #ctp-wrapper .logindiv .tooltip": {
|
|
450
|
+
display: string;
|
|
451
|
+
};
|
|
452
|
+
".secure-payment-form #ctp-wrapper .logindiv .lblemailInput": {
|
|
453
|
+
display: string;
|
|
454
|
+
};
|
|
455
|
+
".secure-payment-form #ctp-wrapper .VerificationLabel label": {
|
|
456
|
+
display: string;
|
|
457
|
+
};
|
|
176
458
|
};
|
package/types/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.9.
|
|
1
|
+
declare const _default: "1.9.7";
|
|
2
2
|
export default _default;
|
|
@@ -21,13 +21,18 @@ export interface IConfiguration extends IDictionary {
|
|
|
21
21
|
customerReference?: string;
|
|
22
22
|
validateOnly?: boolean;
|
|
23
23
|
env?: string;
|
|
24
|
-
|
|
25
|
-
allowedCardNetworks
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
apms?: {
|
|
25
|
+
allowedCardNetworks?: string[];
|
|
26
|
+
currencyCode?: string;
|
|
27
|
+
clickToPay?: {
|
|
28
|
+
allowedCardNetworks?: string[];
|
|
29
|
+
canadianDebit?: boolean;
|
|
30
|
+
ctpClientId: string;
|
|
31
|
+
currencyCode?: string;
|
|
32
|
+
subtotal: number;
|
|
33
|
+
wrapper?: boolean;
|
|
34
|
+
buttonless: boolean;
|
|
35
|
+
};
|
|
31
36
|
};
|
|
32
37
|
webApiKey?: string;
|
|
33
38
|
deviceId?: string;
|