@globalpayments/js 4.1.3 → 4.1.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.
Files changed (76) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/types/apm/non-card-payments/contracts.d.ts +1 -0
  4. package/types/internal/built-in-validations/constants.d.ts +2 -0
  5. package/types/internal/built-in-validations/helpers.d.ts +3 -0
  6. package/types/internal/lib/bank-selection/available-banks-data.d.ts +3 -0
  7. package/types/internal/lib/bank-selection/contracts.d.ts +71 -0
  8. package/types/internal/lib/bank-selection/helpers.d.ts +6 -0
  9. package/types/internal/lib/enums.d.ts +6 -2
  10. package/types/internal/lib/order-information/constants.d.ts +1 -0
  11. package/types/internal/lib/order-information/contracts.d.ts +6 -0
  12. package/types/internal/lib/styles/bank-selection/common.d.ts +52 -0
  13. package/types/internal/lib/styles/default.d.ts +98 -8
  14. package/types/internal/lib/styles/gp-default.d.ts +102 -12
  15. package/types/internal/lib/styles/order-information/common.d.ts +19 -0
  16. package/types/internal/lib/styles/payment-methods/common.d.ts +33 -8
  17. package/types/internal/lib/styles/payment-methods/open-banking.d.ts +33 -8
  18. package/types/internal/lib/styles/simple.d.ts +65 -0
  19. package/types/internal/lib/styles/themes/brand-themes/base/base-theme.d.ts +146 -8
  20. package/types/internal/lib/styles/themes/brand-themes/base/base-token-definition.d.ts +24 -0
  21. package/types/internal/lib/styles/themes/brand-themes/base/contracts.d.ts +14 -0
  22. package/types/internal/lib/styles/themes/helpers.d.ts +1 -0
  23. package/types/internal/lib/translations/cs.d.ts +14 -0
  24. package/types/internal/lib/translations/de.d.ts +13 -0
  25. package/types/internal/lib/translations/el.d.ts +13 -0
  26. package/types/internal/lib/translations/en.d.ts +8 -0
  27. package/types/internal/lib/translations/es.d.ts +7 -0
  28. package/types/internal/lib/translations/et.d.ts +108 -0
  29. package/types/internal/lib/translations/fr.d.ts +13 -0
  30. package/types/internal/lib/translations/ga.d.ts +108 -0
  31. package/types/internal/lib/translations/hr.d.ts +13 -0
  32. package/types/internal/lib/translations/hu.d.ts +13 -0
  33. package/types/internal/lib/translations/it.d.ts +13 -0
  34. package/types/internal/lib/translations/ja.d.ts +13 -0
  35. package/types/internal/lib/translations/lv.d.ts +108 -0
  36. package/types/internal/lib/translations/mt.d.ts +13 -0
  37. package/types/internal/lib/translations/nl.d.ts +13 -0
  38. package/types/internal/lib/translations/pl.d.ts +14 -0
  39. package/types/internal/lib/translations/pt.d.ts +13 -0
  40. package/types/internal/lib/translations/ro.d.ts +13 -0
  41. package/types/internal/lib/translations/ru.d.ts +13 -0
  42. package/types/internal/lib/translations/sk.d.ts +14 -0
  43. package/types/internal/lib/translations/sl.d.ts +13 -0
  44. package/types/internal/lib/translations/sv.d.ts +13 -0
  45. package/types/internal/lib/translations/tr.d.ts +13 -0
  46. package/types/internal/lib/translations/uk.d.ts +13 -0
  47. package/types/internal/lib/translations/vi.d.ts +13 -0
  48. package/types/internal/lib/translations/zh.d.ts +3 -0
  49. package/types/lib/version.d.ts +1 -1
  50. package/types/tools/configure.d.ts +8 -0
  51. package/types/ui/components/bank-selection/action-add-bank-selection.d.ts +3 -0
  52. package/types/ui/components/order-information/action-add-order-information.d.ts +2 -0
  53. package/types/ui/form/index.d.ts +308 -121
  54. package/types/ui/iframe-field/payment-methods/action-add.d.ts +1 -1
  55. package/types/apm/qr-code-payments/components/redirect-action-handler.d.ts +0 -1
  56. package/types/apm/qr-code-payments/constants.d.ts +0 -1
  57. package/types/apm/qr-code-payments/enums.d.ts +0 -10
  58. package/types/internal/gateways/gp-api/get-qr-code-payment-methods.d.ts +0 -3
  59. package/types/internal/lib/styles/apple-pay/default.d.ts +0 -12
  60. package/types/internal/lib/styles/apple-pay/gp-default.d.ts +0 -12
  61. package/types/internal/lib/styles/apple-pay/simple.d.ts +0 -12
  62. package/types/internal/lib/styles/google-pay/default.d.ts +0 -7
  63. package/types/internal/lib/styles/google-pay/gp-default.d.ts +0 -7
  64. package/types/internal/lib/styles/google-pay/simple.d.ts +0 -7
  65. package/types/internal/lib/styles/qr-code-payments/common.d.ts +0 -151
  66. package/types/ui/iframe-field/action-accumulate-installment-data.d.ts +0 -3
  67. package/types/ui/iframe-field/action-add-apple-pay.d.ts +0 -2
  68. package/types/ui/iframe-field/action-add-click-to-pay.d.ts +0 -2
  69. package/types/ui/iframe-field/action-add-google-pay.d.ts +0 -2
  70. package/types/ui/iframe-field/action-add-installments.d.ts +0 -3
  71. package/types/ui/iframe-field/action-add-open-banking.d.ts +0 -2
  72. package/types/ui/iframe-field/action-add-qr-code-payment-methods.d.ts +0 -3
  73. package/types/ui/iframe-field/action-card-request-installments.d.ts +0 -6
  74. package/types/ui/iframe-field/action-qr-code-payment-methods-request-start.d.ts +0 -6
  75. package/types/ui/iframe-field/action-request-installment-data.d.ts +0 -3
  76. package/types/ui/iframe-field/open-banking/action-add.d.ts +0 -2
@@ -130,12 +130,6 @@ export declare const fieldStyles: () => {
130
130
  };
131
131
  "img.card-number-icon.invalid.card-type-mastercard": {
132
132
  background: string;
133
- /**
134
- * Instantiates a new UIForm object for a group of hosted fields
135
- *
136
- * @param fields Hosted field configuration
137
- * @param styles Custom CSS configuration
138
- */
139
133
  "background-size": string;
140
134
  "background-position-y": string;
141
135
  };
@@ -442,6 +436,16 @@ export declare const fieldStyles: () => {
442
436
  right: string;
443
437
  };
444
438
  "img.card-number-icon.valid.card-type-jcb": {
439
+ /**
440
+ * Sets an event listener for an event type
441
+ *
442
+ * @param fieldTypeOrEventName The field type on which the listener should
443
+ * be applied, or the type of event that should trigger the listener
444
+ * @param eventNameOrListener The type of event that should trigger the
445
+ * listener, or the listener function
446
+ * @param listener The listener function when both field type and event type
447
+ * are provided
448
+ */
445
449
  background: string;
446
450
  "background-size": string;
447
451
  "background-position-y": string;
@@ -467,6 +471,71 @@ export declare const fieldStyles: () => {
467
471
  export declare const parentStyles: () => {
468
472
  blank: {};
469
473
  default: {
474
+ ".bank-selection-wrapper": {
475
+ background: string;
476
+ padding: string;
477
+ };
478
+ ".bank-selection": {
479
+ display: string;
480
+ "align-items": string;
481
+ "flex-flow": string;
482
+ "margin-bottom": string;
483
+ };
484
+ ".bank-selecction-option": {
485
+ width: string;
486
+ height: string;
487
+ cursor: string;
488
+ display: string;
489
+ "align-items": string;
490
+ "justify-content": string;
491
+ "box-shadow": string;
492
+ "margin-right": string;
493
+ "margin-left": string;
494
+ "margin-top": string;
495
+ background: string;
496
+ "border-radius": string;
497
+ "flex-direction": string;
498
+ };
499
+ ".bank-selecction-option::before": {
500
+ content: string;
501
+ width: string;
502
+ height: string;
503
+ position: string;
504
+ "margin-left": string;
505
+ };
506
+ ".bank-selecction-option:hover": {
507
+ border: string;
508
+ };
509
+ ".bank-selecction-option:active": {
510
+ background: string;
511
+ border: string;
512
+ };
513
+ ".qr-code-button": {
514
+ background: string;
515
+ };
516
+ ".title-text": {
517
+ color: string;
518
+ "font-size": string;
519
+ "font-weight": string;
520
+ "line-height": string;
521
+ "font-family": string;
522
+ };
523
+ ".order-information"?: {
524
+ display: string;
525
+ "flex-direction": string;
526
+ "align-items": string;
527
+ "font-family": string;
528
+ };
529
+ ".title-field"?: {
530
+ "font-weight": string;
531
+ "line-height": string;
532
+ "font-size": string;
533
+ };
534
+ ".order-information-field"?: {
535
+ "line-height": string;
536
+ "font-size": string;
537
+ "font-weight": string;
538
+ };
470
539
  ".secure-payment-form .credit-card-qr-code-payments"?: {
471
540
  "font-family": string;
472
541
  };
@@ -608,8 +677,12 @@ export declare const parentStyles: () => {
608
677
  "flex-direction": string;
609
678
  "align-items": string;
610
679
  };
680
+ ".secure-payment-form .blik-button-wrapper": {
681
+ display: string;
682
+ "flex-direction": string;
683
+ "align-items": string;
684
+ };
611
685
  ".secure-payment-form .open-banking-button::before": {
612
- content: string;
613
686
  width: string;
614
687
  height: string;
615
688
  position: string;
@@ -617,8 +690,8 @@ export declare const parentStyles: () => {
617
690
  right: string;
618
691
  };
619
692
  ".secure-payment-form .open-banking-button": {
620
- position: string;
621
693
  background: string;
694
+ position: string;
622
695
  color: string;
623
696
  height: string;
624
697
  width: string;
@@ -626,20 +699,41 @@ export declare const parentStyles: () => {
626
699
  border: string;
627
700
  margin: string;
628
701
  cursor: string;
629
- "-webkit-box-shadow": string;
630
- "-moz-box-shadow": string;
631
- "box-shadow": string;
632
702
  };
633
703
  ".secure-payment-form .open-banking-button:hover": {
634
704
  "border-color": string;
635
- "-webkit-box-shadow": string;
636
- "-moz-box-shadow": string;
637
- "box-shadow": string;
705
+ "background-color": string;
638
706
  };
639
707
  ".secure-payment-form .open-banking-button:focus": {
640
708
  outline: string;
641
709
  "outline-offset": string;
642
710
  };
711
+ ".secure-payment-form .blik-button": {
712
+ background: string;
713
+ position: string;
714
+ color: string;
715
+ height: string;
716
+ width: string;
717
+ "border-radius": string;
718
+ border: string;
719
+ margin: string;
720
+ cursor: string;
721
+ };
722
+ ".secure-payment-form .blik-button:hover": {
723
+ "border-color": string;
724
+ "background-color": string;
725
+ };
726
+ ".secure-payment-form .blik-button:focus": {
727
+ outline: string;
728
+ "outline-offset": string;
729
+ };
730
+ ".secure-payment-form .blik-button::before": {
731
+ width: string;
732
+ height: string;
733
+ position: string;
734
+ top: string;
735
+ right: string;
736
+ };
643
737
  ".secure-payment-form .link-button": {
644
738
  display: string;
645
739
  "flex-direction": string;
@@ -855,12 +949,7 @@ export declare const parentStyles: () => {
855
949
  display: string;
856
950
  };
857
951
  ".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
858
- "margin-bottom": string; /**
859
- * Sets a special-case event listener that fires when all hosted
860
- * fields in a form have registered / loaded
861
- *
862
- * @param fn The listener function
863
- */
952
+ "margin-bottom": string;
864
953
  };
865
954
  ".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
866
955
  left: string;
@@ -882,11 +971,11 @@ export declare const parentStyles: () => {
882
971
  ".secure-payment-form .credit-card-currency-conversion .radio-button": {
883
972
  width: string;
884
973
  "justify-content": string;
885
- }; /**
886
- * Deletes all hosted fields within the form
887
- */
974
+ };
888
975
  ".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
889
- margin: string;
976
+ margin: string; /**
977
+ * Deletes all hosted fields within the form
978
+ */
890
979
  };
891
980
  ".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
892
981
  width: string;
@@ -1099,11 +1188,6 @@ export declare const parentStyles: () => {
1099
1188
  display: string;
1100
1189
  padding: string;
1101
1190
  transform: string;
1102
- /**
1103
- * Appends additional CSS rules to the group of hosted fields
1104
- *
1105
- * @param json New CSS rules
1106
- */
1107
1191
  "-webkit-transform": string;
1108
1192
  "z-index": string;
1109
1193
  top: string;
@@ -1300,6 +1384,12 @@ export declare const parentStyles: () => {
1300
1384
  "margin-right": string;
1301
1385
  float: string;
1302
1386
  };
1387
+ /**
1388
+ * Sets a special-case event listener that fires when all hosted
1389
+ * fields in a form have registered / loaded
1390
+ *
1391
+ * @param fn The listener function
1392
+ */
1303
1393
  ".secure-payment-form div[class$='-shield'] .ssl-text-logo": {
1304
1394
  border: string;
1305
1395
  "border-radius": string;
@@ -1327,9 +1417,6 @@ export declare const parentStyles: () => {
1327
1417
  "vertical-align": string;
1328
1418
  "text-align": string;
1329
1419
  "margin-left": string;
1330
- /**
1331
- * Deletes all hosted fields within the form
1332
- */
1333
1420
  "margin-right": string;
1334
1421
  "margin-top": string;
1335
1422
  };
@@ -1405,6 +1492,71 @@ export declare const parentStyles: () => {
1405
1492
  };
1406
1493
  };
1407
1494
  "gp-default": {
1495
+ ".bank-selection-wrapper": {
1496
+ background: string;
1497
+ padding: string;
1498
+ };
1499
+ ".bank-selection": {
1500
+ display: string;
1501
+ "align-items": string;
1502
+ "flex-flow": string;
1503
+ "margin-bottom": string;
1504
+ };
1505
+ ".bank-selecction-option": {
1506
+ width: string;
1507
+ height: string;
1508
+ cursor: string;
1509
+ display: string;
1510
+ "align-items": string;
1511
+ "justify-content": string;
1512
+ "box-shadow": string;
1513
+ "margin-right": string;
1514
+ "margin-left": string;
1515
+ "margin-top": string;
1516
+ background: string;
1517
+ "border-radius": string;
1518
+ "flex-direction": string;
1519
+ };
1520
+ ".bank-selecction-option::before": {
1521
+ content: string;
1522
+ width: string;
1523
+ height: string;
1524
+ position: string;
1525
+ "margin-left": string;
1526
+ };
1527
+ ".bank-selecction-option:hover": {
1528
+ border: string;
1529
+ };
1530
+ ".bank-selecction-option:active": {
1531
+ background: string;
1532
+ border: string;
1533
+ };
1534
+ ".qr-code-button": {
1535
+ background: string;
1536
+ };
1537
+ ".title-text": {
1538
+ color: string;
1539
+ "font-size": string;
1540
+ "font-weight": string;
1541
+ "line-height": string;
1542
+ "font-family": string;
1543
+ };
1544
+ ".order-information"?: {
1545
+ display: string;
1546
+ "flex-direction": string;
1547
+ "align-items": string;
1548
+ "font-family": string;
1549
+ };
1550
+ ".title-field"?: {
1551
+ "font-weight": string;
1552
+ "line-height": string;
1553
+ "font-size": string;
1554
+ };
1555
+ ".order-information-field"?: {
1556
+ "line-height": string;
1557
+ "font-size": string;
1558
+ "font-weight": string;
1559
+ };
1408
1560
  ".secure-payment-form .credit-card-qr-code-payments"?: {
1409
1561
  "font-family": string;
1410
1562
  };
@@ -1546,8 +1698,12 @@ export declare const parentStyles: () => {
1546
1698
  "flex-direction": string;
1547
1699
  "align-items": string;
1548
1700
  };
1701
+ ".secure-payment-form .blik-button-wrapper": {
1702
+ display: string;
1703
+ "flex-direction": string;
1704
+ "align-items": string;
1705
+ };
1549
1706
  ".secure-payment-form .open-banking-button::before": {
1550
- content: string;
1551
1707
  width: string;
1552
1708
  height: string;
1553
1709
  position: string;
@@ -1555,8 +1711,8 @@ export declare const parentStyles: () => {
1555
1711
  right: string;
1556
1712
  };
1557
1713
  ".secure-payment-form .open-banking-button": {
1558
- position: string;
1559
1714
  background: string;
1715
+ position: string;
1560
1716
  color: string;
1561
1717
  height: string;
1562
1718
  width: string;
@@ -1564,20 +1720,41 @@ export declare const parentStyles: () => {
1564
1720
  border: string;
1565
1721
  margin: string;
1566
1722
  cursor: string;
1567
- "-webkit-box-shadow": string;
1568
- "-moz-box-shadow": string;
1569
- "box-shadow": string;
1570
1723
  };
1571
1724
  ".secure-payment-form .open-banking-button:hover": {
1572
1725
  "border-color": string;
1573
- "-webkit-box-shadow": string;
1574
- "-moz-box-shadow": string;
1575
- "box-shadow": string;
1726
+ "background-color": string;
1576
1727
  };
1577
1728
  ".secure-payment-form .open-banking-button:focus": {
1578
1729
  outline: string;
1579
1730
  "outline-offset": string;
1580
1731
  };
1732
+ ".secure-payment-form .blik-button": {
1733
+ background: string;
1734
+ position: string;
1735
+ color: string;
1736
+ height: string;
1737
+ width: string;
1738
+ "border-radius": string;
1739
+ border: string;
1740
+ margin: string;
1741
+ cursor: string;
1742
+ };
1743
+ ".secure-payment-form .blik-button:hover": {
1744
+ "border-color": string;
1745
+ "background-color": string;
1746
+ };
1747
+ ".secure-payment-form .blik-button:focus": {
1748
+ outline: string;
1749
+ "outline-offset": string;
1750
+ };
1751
+ ".secure-payment-form .blik-button::before": {
1752
+ width: string;
1753
+ height: string;
1754
+ position: string;
1755
+ top: string;
1756
+ right: string;
1757
+ };
1581
1758
  ".secure-payment-form .link-button": {
1582
1759
  display: string;
1583
1760
  "flex-direction": string;
@@ -1713,12 +1890,6 @@ export declare const parentStyles: () => {
1713
1890
  visibility: boolean;
1714
1891
  display: string;
1715
1892
  "flex-direction": string;
1716
- /**
1717
- * Instantiates a new UIForm object for a group of hosted fields
1718
- *
1719
- * @param fields Hosted field configuration
1720
- * @param styles Custom CSS configuration
1721
- */
1722
1893
  "margin-left": string;
1723
1894
  "align-items": string;
1724
1895
  height: string;
@@ -1729,16 +1900,6 @@ export declare const parentStyles: () => {
1729
1900
  visibility: boolean;
1730
1901
  };
1731
1902
  ".secure-payment-form .credit-card-currency-conversion .merchant-currency-content"?: {
1732
- /**
1733
- * Sets an event listener for an event type
1734
- *
1735
- * @param fieldTypeOrEventName The field type on which the listener should
1736
- * be applied, or the type of event that should trigger the listener
1737
- * @param eventNameOrListener The type of event that should trigger the
1738
- * listener, or the listener function
1739
- * @param listener The listener function when both field type and event type
1740
- * are provided
1741
- */
1742
1903
  opacity: string;
1743
1904
  visibility: boolean;
1744
1905
  display: string;
@@ -1790,12 +1951,7 @@ export declare const parentStyles: () => {
1790
1951
  margin: string;
1791
1952
  };
1792
1953
  ".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
1793
- "margin-bottom": string; /**
1794
- * Sets a special-case event listener that fires when all hosted
1795
- * fields in a form have registered / loaded
1796
- *
1797
- * @param fn The listener function
1798
- */
1954
+ "margin-bottom": string;
1799
1955
  };
1800
1956
  ".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
1801
1957
  left: string;
@@ -1817,11 +1973,11 @@ export declare const parentStyles: () => {
1817
1973
  ".secure-payment-form .credit-card-currency-conversion .radio-button": {
1818
1974
  width: string;
1819
1975
  "justify-content": string;
1820
- }; /**
1821
- * Deletes all hosted fields within the form
1822
- */
1976
+ };
1823
1977
  ".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
1824
- margin: string;
1978
+ margin: string; /**
1979
+ * Deletes all hosted fields within the form
1980
+ */
1825
1981
  };
1826
1982
  ".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
1827
1983
  width: string;
@@ -2059,11 +2215,6 @@ export declare const parentStyles: () => {
2059
2215
  display: string;
2060
2216
  padding: string;
2061
2217
  transform: string;
2062
- /**
2063
- * Appends additional CSS rules to the group of hosted fields
2064
- *
2065
- * @param json New CSS rules
2066
- */
2067
2218
  "-webkit-transform": string;
2068
2219
  "z-index": string;
2069
2220
  top: string;
@@ -2280,9 +2431,6 @@ export declare const parentStyles: () => {
2280
2431
  margin: string;
2281
2432
  };
2282
2433
  ".secure-payment-form .installment-term-selector-title": {
2283
- /**
2284
- * Represents logic surrounding a group of hosted fields.
2285
- */
2286
2434
  "text-align": string;
2287
2435
  padding: string;
2288
2436
  };
@@ -2302,6 +2450,16 @@ export declare const parentStyles: () => {
2302
2450
  ".secure-payment-form .installment-field-value-item": {
2303
2451
  color: string;
2304
2452
  "font-style": string;
2453
+ /**
2454
+ * Sets an event listener for an event type
2455
+ *
2456
+ * @param fieldTypeOrEventName The field type on which the listener should
2457
+ * be applied, or the type of event that should trigger the listener
2458
+ * @param eventNameOrListener The type of event that should trigger the
2459
+ * listener, or the listener function
2460
+ * @param listener The listener function when both field type and event type
2461
+ * are provided
2462
+ */
2305
2463
  "font-weight": string;
2306
2464
  "line-height": string;
2307
2465
  "font-size": string;
@@ -2354,12 +2512,6 @@ export declare const parentStyles: () => {
2354
2512
  "line-height": string;
2355
2513
  "font-style": string;
2356
2514
  border: string;
2357
- /**
2358
- * Sets a special-case event listener that fires when all hosted
2359
- * fields in a form have registered / loaded
2360
- *
2361
- * @param fn The listener function
2362
- */
2363
2515
  cursor: string;
2364
2516
  "margin-top": string;
2365
2517
  "margin-bottom": string;
@@ -2380,9 +2532,6 @@ export declare const parentStyles: () => {
2380
2532
  };
2381
2533
  ".secure-payment-form .installment-button-explore-plans:focus": {
2382
2534
  background: string;
2383
- /**
2384
- * Deletes all hosted fields within the form
2385
- */
2386
2535
  border: string;
2387
2536
  };
2388
2537
  ".secure-payment-form .installment-button-learn-more": {
@@ -2583,6 +2732,10 @@ export declare const parentStyles: () => {
2583
2732
  "border-right": string;
2584
2733
  "border-bottom": string;
2585
2734
  };
2735
+ "@font-face": {
2736
+ "font-family": string;
2737
+ src: string;
2738
+ };
2586
2739
  ".secure-payment-form": {
2587
2740
  display: string;
2588
2741
  "-ms-flex-wrap": string;
@@ -2594,16 +2747,7 @@ export declare const parentStyles: () => {
2594
2747
  ".secure-payment-form label": {
2595
2748
  margin: string;
2596
2749
  display: string;
2597
- "font-size": string; /**
2598
- * Sets an event listener for an event type
2599
- *
2600
- * @param fieldTypeOrEventName The field type on which the listener should
2601
- * be applied, or the type of event that should trigger the listener
2602
- * @param eventNameOrListener The type of event that should trigger the
2603
- * listener, or the listener function
2604
- * @param listener The listener function when both field type and event type
2605
- * are provided
2606
- */
2750
+ "font-size": string;
2607
2751
  "font-weight": string;
2608
2752
  "font-family": string;
2609
2753
  };
@@ -2707,10 +2851,6 @@ export declare const parentStyles: () => {
2707
2851
  ".secure-payment-form .hidden": {
2708
2852
  display: string;
2709
2853
  };
2710
- "@font-face": {
2711
- "font-family": string;
2712
- src: string;
2713
- };
2714
2854
  "@media(min-width: 800px)": {
2715
2855
  ".secure-payment-form .credit-card-card-expiration": {
2716
2856
  flex: string;
@@ -2723,6 +2863,71 @@ export declare const parentStyles: () => {
2723
2863
  };
2724
2864
  };
2725
2865
  simple: {
2866
+ ".bank-selection-wrapper": {
2867
+ background: string;
2868
+ padding: string;
2869
+ };
2870
+ ".bank-selection": {
2871
+ display: string;
2872
+ "align-items": string;
2873
+ "flex-flow": string;
2874
+ "margin-bottom": string;
2875
+ };
2876
+ ".bank-selecction-option": {
2877
+ width: string;
2878
+ height: string;
2879
+ cursor: string;
2880
+ display: string;
2881
+ "align-items": string;
2882
+ "justify-content": string;
2883
+ "box-shadow": string;
2884
+ "margin-right": string;
2885
+ "margin-left": string;
2886
+ "margin-top": string;
2887
+ background: string;
2888
+ "border-radius": string;
2889
+ "flex-direction": string;
2890
+ };
2891
+ ".bank-selecction-option::before": {
2892
+ content: string;
2893
+ width: string;
2894
+ height: string;
2895
+ position: string;
2896
+ "margin-left": string;
2897
+ };
2898
+ ".bank-selecction-option:hover": {
2899
+ border: string;
2900
+ };
2901
+ ".bank-selecction-option:active": {
2902
+ background: string;
2903
+ border: string;
2904
+ };
2905
+ ".qr-code-button": {
2906
+ background: string;
2907
+ };
2908
+ ".title-text": {
2909
+ color: string;
2910
+ "font-size": string;
2911
+ "font-weight": string;
2912
+ "line-height": string;
2913
+ "font-family": string;
2914
+ };
2915
+ ".order-information"?: {
2916
+ display: string;
2917
+ "flex-direction": string;
2918
+ "align-items": string;
2919
+ "font-family": string;
2920
+ };
2921
+ ".title-field"?: {
2922
+ "font-weight": string;
2923
+ "line-height": string;
2924
+ "font-size": string;
2925
+ };
2926
+ ".order-information-field"?: {
2927
+ "line-height": string;
2928
+ "font-size": string;
2929
+ "font-weight": string;
2930
+ };
2726
2931
  ".secure-payment-form .credit-card-currency-conversion legend"?: {
2727
2932
  "font-family": string;
2728
2933
  color: string;
@@ -2883,12 +3088,7 @@ export declare const parentStyles: () => {
2883
3088
  display: string;
2884
3089
  };
2885
3090
  ".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child"?: {
2886
- "margin-bottom": string; /**
2887
- * Sets a special-case event listener that fires when all hosted
2888
- * fields in a form have registered / loaded
2889
- *
2890
- * @param fn The listener function
2891
- */
3091
+ "margin-bottom": string;
2892
3092
  };
2893
3093
  ".secure-payment-form .credit-card-currency-conversion .tooltip-content::before"?: {
2894
3094
  left: string;
@@ -2910,11 +3110,11 @@ export declare const parentStyles: () => {
2910
3110
  ".secure-payment-form .credit-card-currency-conversion .radio-button": {
2911
3111
  width: string;
2912
3112
  "justify-content": string;
2913
- }; /**
2914
- * Deletes all hosted fields within the form
2915
- */
3113
+ };
2916
3114
  ".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
2917
- margin: string;
3115
+ margin: string; /**
3116
+ * Deletes all hosted fields within the form
3117
+ */
2918
3118
  };
2919
3119
  ".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
2920
3120
  width: string;
@@ -3253,11 +3453,6 @@ export declare const parentStyles: () => {
3253
3453
  display: string;
3254
3454
  padding: string;
3255
3455
  transform: string;
3256
- /**
3257
- * Appends additional CSS rules to the group of hosted fields
3258
- *
3259
- * @param json New CSS rules
3260
- */
3261
3456
  "-webkit-transform": string;
3262
3457
  "z-index": string;
3263
3458
  top: string;
@@ -3471,12 +3666,6 @@ export declare const parentStyles: () => {
3471
3666
  "margin-left": string;
3472
3667
  "vertical-align": string;
3473
3668
  };
3474
- /**
3475
- * Sets a special-case event listener that fires when all hosted
3476
- * fields in a form have registered / loaded
3477
- *
3478
- * @param fn The listener function
3479
- */
3480
3669
  ".secure-payment-form div[class$='-shield'] .ssl-msg": {
3481
3670
  "font-size": string;
3482
3671
  "font-weight": string;
@@ -3503,9 +3692,7 @@ export declare const parentStyles: () => {
3503
3692
  ".secure-payment-form div[class$='-logo'] .security-msg": {
3504
3693
  color: string;
3505
3694
  "font-size": string;
3506
- display: string; /**
3507
- * Deletes all hosted fields within the form
3508
- */
3695
+ display: string;
3509
3696
  "vertical-align": string;
3510
3697
  "white-space": string;
3511
3698
  "margin-right": string;
@@ -1,3 +1,3 @@
1
1
  import { IframeField } from "../index";
2
2
  import { Apm, ApmProviders } from "../../../internal/lib/enums";
3
- export default function addPaymentMethod(iframeField: IframeField | undefined, apmProvider: ApmProviders, apm: Apm): void;
3
+ export default function addPaymentMethod(iframeField: IframeField | undefined, apmProvider: ApmProviders, apm: Apm, countryCode?: string | undefined): void;
@@ -1 +0,0 @@
1
- export default function handleRedirectAction(content: HTMLDivElement, props: any): void;
@@ -1 +0,0 @@
1
- export declare const REDIRECT_ACTION_DELAY_IN_SECONDS = 2000;
@@ -1,10 +0,0 @@
1
- export declare const enum QRCodePaymentsInternalEvents {
2
- PaymentMethodsRequestStart = "qr-code-payment-methods-request-start",
3
- PaymentMethodsRequestCompleted = "qr-code-payment-methods-request-completed",
4
- NavigatesBackBySelectAnotherPaymentMethod = "qr-code-payment-navigates-back-select-another-payment-method"
5
- }
6
- export declare const enum QRCodePaymentsActions {
7
- RedirectAction = "REDIRECT",
8
- RedirectInFrameAction = "REDIRECT_IN_FRAME",
9
- PresentQRCodeAction = "PRESENT_QR_CODE"
10
- }