@globalpayments/js 4.0.11 → 4.0.15

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 (81) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -2
  3. package/types/apm/qr-code-payments/enums.d.ts +2 -1
  4. package/types/common/currency.d.ts +1 -0
  5. package/types/common/enums.d.ts +8 -1
  6. package/types/common/helpers.d.ts +4 -0
  7. package/types/common/html-element.d.ts +27 -0
  8. package/types/internal/built-in-validations/messages.d.ts +3 -0
  9. package/types/internal/gateways/gp-api/action-query-currency-conversion.d.ts +3 -0
  10. package/types/internal/gateways/gp-api/index.d.ts +2 -1
  11. package/types/internal/gateways/index.d.ts +6 -1
  12. package/types/internal/lib/card.d.ts +29 -0
  13. package/types/internal/lib/currency-conversion/components/enums.d.ts +5 -0
  14. package/types/internal/lib/currency-conversion/components/events.d.ts +8 -0
  15. package/types/internal/lib/currency-conversion/components/template.d.ts +7 -0
  16. package/types/internal/lib/currency-conversion/contracts/constants.d.ts +5 -0
  17. package/types/internal/lib/currency-conversion/contracts/enums.d.ts +15 -0
  18. package/types/internal/lib/currency-conversion/contracts/interfaces.d.ts +13 -0
  19. package/types/internal/lib/currency-conversion/requests/query-currency-conversion.d.ts +3 -0
  20. package/types/internal/lib/currency-conversion/utils/helpers.d.ts +8 -0
  21. package/types/internal/lib/currency-conversion/utils/reset-currency-conversion.d.ts +7 -0
  22. package/types/internal/lib/detectLanguage.d.ts +2 -0
  23. package/types/internal/lib/enums.d.ts +8 -0
  24. package/types/internal/lib/set-headers.d.ts +7 -0
  25. package/types/internal/lib/styles/built-in-validations/simple.d.ts +3 -0
  26. package/types/internal/lib/styles/currency-conversion/common.d.ts +191 -0
  27. package/types/internal/lib/styles/currency-conversion/default.d.ts +204 -0
  28. package/types/internal/lib/styles/currency-conversion/gp-default.d.ts +197 -0
  29. package/types/internal/lib/styles/currency-conversion/simple.d.ts +204 -0
  30. package/types/internal/lib/styles/default.d.ts +286 -1
  31. package/types/internal/lib/styles/gp-default.d.ts +279 -48
  32. package/types/internal/lib/styles/payment-methods/common.d.ts +23 -0
  33. package/types/internal/lib/styles/payment-methods/paypal.d.ts +26 -0
  34. package/types/internal/lib/styles/qr-code-payments/common.d.ts +8 -0
  35. package/types/internal/lib/styles/simple.d.ts +265 -1
  36. package/types/internal/lib/styles/tooltip/common.d.ts +65 -0
  37. package/types/internal/lib/translations/cs.d.ts +58 -0
  38. package/types/internal/lib/translations/de.d.ts +58 -0
  39. package/types/internal/lib/translations/el.d.ts +58 -0
  40. package/types/internal/lib/translations/en.d.ts +15 -0
  41. package/types/internal/lib/translations/es.d.ts +58 -0
  42. package/types/internal/lib/translations/fr.d.ts +4 -31
  43. package/types/internal/lib/translations/hr.d.ts +58 -0
  44. package/types/internal/lib/translations/hu.d.ts +58 -0
  45. package/types/internal/lib/translations/it.d.ts +58 -0
  46. package/types/internal/lib/translations/ja.d.ts +58 -0
  47. package/types/internal/lib/translations/mt.d.ts +58 -0
  48. package/types/internal/lib/translations/nl.d.ts +58 -0
  49. package/types/internal/lib/translations/pl.d.ts +58 -0
  50. package/types/internal/lib/translations/pt.d.ts +58 -0
  51. package/types/internal/lib/translations/ro.d.ts +58 -0
  52. package/types/internal/lib/translations/ru.d.ts +58 -0
  53. package/types/internal/lib/translations/sk.d.ts +58 -0
  54. package/types/internal/lib/translations/sl.d.ts +58 -0
  55. package/types/internal/lib/translations/sv.d.ts +58 -0
  56. package/types/internal/lib/translations/tr.d.ts +58 -0
  57. package/types/internal/lib/translations/uk.d.ts +58 -0
  58. package/types/internal/lib/translations/vi.d.ts +58 -0
  59. package/types/internal/lib/translations/zh.d.ts +8 -0
  60. package/types/internal/validators/expiration.d.ts +7 -0
  61. package/types/lib/version.d.ts +1 -1
  62. package/types/tools/configure.d.ts +8 -0
  63. package/types/ui/form/index.d.ts +861 -94
  64. package/types/ui/iframe-field/apple-pay/action-add.d.ts +2 -0
  65. package/types/ui/iframe-field/click-to-pay/action-add.d.ts +2 -0
  66. package/types/ui/iframe-field/currency-conversion/action-add.d.ts +9 -0
  67. package/types/ui/iframe-field/currency-conversion/action-get-value.d.ts +8 -0
  68. package/types/ui/iframe-field/currency-conversion/action-request-accumulate-data.d.ts +9 -0
  69. package/types/ui/iframe-field/currency-conversion/action-request-data.d.ts +9 -0
  70. package/types/ui/iframe-field/currency-conversion/action-request-start.d.ts +8 -0
  71. package/types/ui/iframe-field/google-pay/action-add.d.ts +2 -0
  72. package/types/ui/iframe-field/index.d.ts +1 -1
  73. package/types/ui/iframe-field/installments/action-add.d.ts +3 -0
  74. package/types/ui/iframe-field/installments/action-request-accumulate-data.d.ts +3 -0
  75. package/types/ui/iframe-field/installments/action-request-data.d.ts +3 -0
  76. package/types/ui/iframe-field/installments/action-request-start.d.ts +6 -0
  77. package/types/ui/iframe-field/open-banking/action-add.d.ts +2 -0
  78. package/types/ui/iframe-field/payment-methods/action-add.d.ts +3 -0
  79. package/types/ui/iframe-field/qr-code-payment-methods/action-add.d.ts +3 -0
  80. package/types/ui/iframe-field/qr-code-payment-methods/action-request-start.d.ts +6 -0
  81. package/types/internal/lib/eums.d.ts +0 -11
package/README.md CHANGED
@@ -24,7 +24,7 @@ This plugin allows you to use online payments (eCommerce) features of a variety
24
24
  ## Usage
25
25
 
26
26
  ```html
27
- <script src="https://js.globalpay.com/4.0.11/globalpayments.js"></script>
27
+ <script src="https://js.globalpay.com/4.0.15/globalpayments.js"></script>
28
28
  ```
29
29
 
30
30
  > Note: Installing via NPM will only provide TypeScript types for type-checking.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalpayments/js",
3
- "version": "4.0.11",
3
+ "version": "4.0.15",
4
4
  "author": "Heartland Developer Portal <developers@heartland.us>",
5
5
  "license": "GPL-2.0",
6
6
  "repository": {
@@ -17,10 +17,15 @@
17
17
  "clean": "rimraf dist",
18
18
  "cypress:open": "cypress open",
19
19
  "format": "prettier --write config/**/* src/**/* !src/assets/**/* !test/run.sh !test/run.ps1 test/fixtures/**/*.html",
20
- "postbuild": "cross-os postbuild-cross",
20
+
21
+ "postbuild": "xcopy src\\assets dist\\ /e/y/h && node bin/replace-gp-ref.js",
22
+
21
23
  "prebuild": "yarn test:lint && node bin/update-version.js",
22
24
  "prepublish": "yarn build",
25
+
23
26
  "test": "cross-os test-cross",
27
+
28
+
24
29
  "test:integration": "cypress run",
25
30
  "test:lint": "tslint --project tsconfig.json",
26
31
  "test:serve": "serve -p 7777"
@@ -5,5 +5,6 @@ export declare const enum QRCodePaymentsInternalEvents {
5
5
  }
6
6
  export declare const enum QRCodePaymentsActions {
7
7
  RedirectAction = "REDIRECT",
8
- RedirectInFrameAction = "REDIRECT_IN_FRAME"
8
+ RedirectInFrameAction = "REDIRECT_IN_FRAME",
9
+ PresentQRCodeAction = "PRESENT_QR_CODE"
9
10
  }
@@ -5,3 +5,4 @@ export declare const availableCurrencies: {
5
5
  code: string;
6
6
  symbol: string;
7
7
  }[];
8
+ export declare const convertAmount: (amount: string, withoutDecimals?: boolean, decimalPlaces?: number) => string | void;
@@ -17,7 +17,8 @@ export declare enum HostedFieldValidationEvents {
17
17
  ValidatePassData = "hosted-field-validate-pass-data",
18
18
  ValidateForm = "hosted-field-validate-form",
19
19
  ValidateFormValid = "hosted-field-validate-form-valid",
20
- ValidateFormInvalid = "hosted-field-validate-form-invalid"
20
+ ValidateFormInvalid = "hosted-field-validate-form-invalid",
21
+ ValidationCurrencyConversionShow = "hosted-field-validation-currency-conversion-show"
21
22
  }
22
23
  export declare enum CardFormFieldValidationTestEvents {
23
24
  CardNumber = "card-number-test",
@@ -25,3 +26,9 @@ export declare enum CardFormFieldValidationTestEvents {
25
26
  CardCvv = "card-cvv-test",
26
27
  CardHolderName = "card-holder-name-test"
27
28
  }
29
+ export declare enum Environments {
30
+ Local = "local",
31
+ QA = "qa",
32
+ Sandbox = "sandbox",
33
+ Production = "production"
34
+ }
@@ -0,0 +1,4 @@
1
+ export declare const DataEncoderHelper: {
2
+ encode: (data: string) => string;
3
+ decode: (encodedData: string) => string;
4
+ };
@@ -77,6 +77,19 @@ export declare const createHtmlCheckboxElement: (props?: {
77
77
  textContent?: string | undefined;
78
78
  checked: boolean;
79
79
  } | undefined) => HTMLInputElement;
80
+ export declare const createHtmlRadioButtonElement: (props?: {
81
+ id?: string | undefined;
82
+ className?: string | undefined;
83
+ attributes?: {
84
+ [key: string]: string;
85
+ }[] | undefined;
86
+ name?: string | undefined;
87
+ labelText?: string | undefined;
88
+ additionalInfo?: string | undefined;
89
+ checked: boolean;
90
+ target?: string | undefined;
91
+ value?: string | undefined;
92
+ } | undefined) => HTMLDivElement;
80
93
  export declare const createHtmlLabelElement: (props?: {
81
94
  id?: string | undefined;
82
95
  className?: string | undefined;
@@ -95,3 +108,17 @@ export declare const createHtmlIFrameElement: (props?: {
95
108
  }[] | undefined;
96
109
  } | undefined) => HTMLIFrameElement;
97
110
  export declare const changeCreditCardFormFieldsVisibility: (visible: boolean) => void;
111
+ export declare const createToolTip: (props?: {
112
+ id?: string | undefined;
113
+ className?: string | undefined;
114
+ attributes?: {
115
+ [key: string]: string;
116
+ }[] | undefined;
117
+ ariaLabel?: string | undefined;
118
+ ariaDescribedBy?: string | undefined;
119
+ role?: string | undefined;
120
+ tabIndex?: string | undefined;
121
+ title?: string | undefined;
122
+ htmlContent?: string | undefined;
123
+ } | undefined) => HTMLElement;
124
+ export declare const createHtmlFromString: (htmlString: string) => DocumentFragment;
@@ -21,4 +21,7 @@ export declare const ValidationMessages: {
21
21
  NotValidCardHolderName: any;
22
22
  CharactersMoreThan100: any;
23
23
  };
24
+ CurrencyConversion: {
25
+ Required: any;
26
+ };
24
27
  };
@@ -0,0 +1,3 @@
1
+ import { IDictionary } from "../../lib/util";
2
+ declare const _default: (url: string, _env: string, data: IDictionary) => Promise<any>;
3
+ export default _default;
@@ -22,7 +22,8 @@ export declare const urls: {
22
22
  assetBaseUrl: (result: string) => string;
23
23
  tokenization: (prod: boolean) => string;
24
24
  queryInstallmentPlans: (prod: boolean) => string;
25
- getQRCodePaymentMethodsUrl: (prod: boolean) => string;
25
+ queryCurrencyConversionUrl: () => string;
26
+ getQRCodePaymentMethodsUrl: () => string;
26
27
  };
27
28
  export declare const actions: IActions;
28
29
  export declare const requiredSettings: string[];
@@ -46,6 +46,9 @@ export interface ISuccess {
46
46
  id: string;
47
47
  reference: string;
48
48
  };
49
+ currencyConversion?: {
50
+ id: string;
51
+ };
49
52
  };
50
53
  methodName?: string;
51
54
  payerEmail?: string;
@@ -70,13 +73,15 @@ export interface IActions {
70
73
  tokenize: (url: string, env: string, data: IDictionary) => Promise<any>;
71
74
  validateData: (data: IDictionary) => IErrorReason[];
72
75
  queryInstallmentPlans?: (url: string, env: string, data: IDictionary) => Promise<any>;
76
+ queryCurrencyConversion?: (url: string, env: string, data: IDictionary) => Promise<any>;
73
77
  getQRCodePaymentMethods?: (url: string, env: string, data: IDictionary) => Promise<any>;
74
78
  }
75
79
  export interface IUrlGenerators {
76
80
  assetBaseUrl?: (result: string) => string;
77
81
  tokenization: (prod: boolean) => string;
78
82
  queryInstallmentPlans?: (prod: boolean) => string;
79
- getQRCodePaymentMethodsUrl?: (prod: boolean) => string;
83
+ queryCurrencyConversionUrl?: () => string;
84
+ getQRCodePaymentMethodsUrl?: () => string;
80
85
  }
81
86
  export interface IGatewayModule {
82
87
  [key: string]: any;
@@ -119,8 +119,37 @@ export default class Card {
119
119
  * availability of use installment plans.
120
120
  *
121
121
  * @param e
122
+ * @param fieldType
122
123
  */
123
124
  static validateInstallmentFields(e: Event, fieldType: string): void;
125
+ /**
126
+ * validateCurrencyConversionFields
127
+ *
128
+ * Validates a target element"s value based on the
129
+ * availability of use currency conversion.
130
+ *
131
+ * @param e
132
+ * @param fieldType
133
+ */
134
+ static validateCurrencyConversionFields(e: Event, fieldType: string): void;
135
+ /**
136
+ * currencyConversionFieldsValidatedEvent
137
+ *
138
+ * Post an event when an installment related card field is validated
139
+ *
140
+ * @param e
141
+ * @param fieldType
142
+ */
143
+ static currencyConversionFieldsValidatedEvent(e: Event, fieldType: string): void;
144
+ /**
145
+ * hideCurrencyConversionField
146
+ *
147
+ * Hides the currency conversion field component.
148
+ *
149
+ * @param e
150
+ * @param fieldType
151
+ */
152
+ static hideCurrencyConversionField(e: Event, fieldType: string): void;
124
153
  /**
125
154
  * postInstallmentFieldValidatedEvent
126
155
  *
@@ -0,0 +1,5 @@
1
+ export declare enum CurrencyConversionStyles {
2
+ CONTAINER = "currency-conversion-container",
3
+ MERCHANT_CURRENCY_ID = "merchant-currency",
4
+ CARD_CURRENCY_ID = "card-currency"
5
+ }
@@ -0,0 +1,8 @@
1
+ import { IframeField } from "../../../../ui";
2
+ /**
3
+ * Sets event listeners for radio buttons within a radio group.
4
+ * This method handles click events on radio buttons to toggle their state.
5
+ * @param iframeField The iframe field associated with the radio group.
6
+ * @param fieldset The fieldset element containing the radio buttons.
7
+ */
8
+ export declare const setRadioGroupEvents: (iframeField: IframeField, fieldset: HTMLElement) => void;
@@ -0,0 +1,7 @@
1
+ import { IframeField } from "../../../../ui";
2
+ /**
3
+ * Creates a radio group HTML element containing merchant and card currency radio buttons.
4
+ * @param iframeField The iframe field associated with the radio group.
5
+ * @param data The data used to populate the radio buttons.
6
+ */
7
+ export declare const createRadioGroupHtmlElement: (iframeField: IframeField, data: any) => void;
@@ -0,0 +1,5 @@
1
+ export declare const DCC_KEY = "currency-conversion";
2
+ export declare const DCC_CONFIG_DEFAULT_CHANNEL = "CNP";
3
+ export declare const DCC_CONFIG_DEFAULT_ENTRY_MODE = "ECOM";
4
+ export declare const DCC_CONFIG_DEFAULT_TRANSACTION_TYPE = "SALE";
5
+ export declare const DCC_AVAILABILITY_STATUS_KEY: string;
@@ -0,0 +1,15 @@
1
+ export declare enum CurrencyConversionEvents {
2
+ CurrencyConversionRequestStart = "currency-conversion-request-start",
3
+ CurrencyConversionRequestCompleted = "currency-conversion-request-completed",
4
+ CurrencyConversionRequestFailed = "currency-conversion-request-failed",
5
+ CurrencyConversionHide = "currency-conversion-validate-fields",
6
+ CurrencyConversionFieldsValidated = "currency-conversion-fields-validated",
7
+ CurrencyConversionRequestData = "currency-conversion-request-data",
8
+ CurrencyConversionAccumulateData = "currency-conversion-accumulate-data",
9
+ CurrencyConversionPassData = "currency-conversion-pass-data",
10
+ CurrencyConversionSendValue = "currency-conversion-send-value"
11
+ }
12
+ export declare enum CurrencyConversionStatus {
13
+ CurrencyConversionNotAvailable = "NOT_AVAILABLE",
14
+ CurrencyConversionAvailable = "AVAILABLE"
15
+ }
@@ -0,0 +1,13 @@
1
+ export interface CurrencyConversionPaymentData {
2
+ id: string;
3
+ exchangeRate: string;
4
+ exchangeRateSource: string;
5
+ cardHolderAmount: string;
6
+ cardHolderCurrency: string;
7
+ merchantAmount: string;
8
+ merchantCurrency: string;
9
+ marginPercentageRate: string;
10
+ exchangeRateTimeCreated: string;
11
+ commissionPercentage: string;
12
+ currencyConversionAccepted: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ import { IDictionary } from "../../util";
2
+ declare const _default: (data: IDictionary) => Promise<unknown>;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export declare const getCurrencyConversionAvailabilityStatus: () => boolean;
2
+ export declare const setCurrencyConversionAvailabilityStatus: (availabilityStatus: boolean) => void;
3
+ export declare const removeCurrencyConversionAvailabilityStatus: () => void;
4
+ export declare const cleanUpCurrencyConversionAvailabilityStatus: () => void;
5
+ export declare const handleCurrencyConversionValidationSetup: (fieldsToValidate: string[]) => void;
6
+ export declare const hasCurrencyConversionSensitiveValueChanged: (fieldType: string, value: any) => boolean;
7
+ export declare const removeCurrencyConversionPreviousValue: (fieldType: string) => void;
8
+ export declare const cleanUpCurrencyConversionPreviousValue: () => void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Resets the currency conversion by removing all children from the container,
3
+ * clearing the value of the payment field inside the iframe, and hiding validation messages.
4
+ * @param dccField The iframe field associated with the currency conversion.
5
+ */
6
+ import { IframeField } from "../../../../ui";
7
+ export declare const resetCurrencyConversion: (dccField: IframeField | undefined) => void;
@@ -1,3 +1,5 @@
1
1
  import { Language } from "./enums";
2
2
  export declare function setCurrentLanguage(lang?: Language): string;
3
3
  export declare function getCurrentLanguage(): string;
4
+ export declare function getTranslationSet(language: string, featureSet: string): any;
5
+ export declare function getTranslationLanguageSet(language: string): any;
@@ -1,8 +1,12 @@
1
+ export declare enum ApiVersion {
2
+ default = "2021-03-22"
3
+ }
1
4
  export declare enum Apm {
2
5
  ApplePay = "apple-pay",
3
6
  ClickToPay = "click-to-pay",
4
7
  GooglePay = "google-pay",
5
8
  OpenBankingPayment = "open-banking",
9
+ PayPal = "paypal",
6
10
  QRCodePayments = "qr-code-payments"
7
11
  }
8
12
  export declare enum ApmEvents {
@@ -34,10 +38,14 @@ export declare enum QRCodePaymentsProviderBrands {
34
38
  export declare enum OpenBanking {
35
39
  title = "Bank Payment"
36
40
  }
41
+ export declare enum PayPal {
42
+ title = "PayPal Payment"
43
+ }
37
44
  export declare enum ApmProviders {
38
45
  Alipay = "Alipay",
39
46
  AlipayHK = "AlipayHK",
40
47
  OpenBanking = "OPEN_BANKING",
48
+ PayPal = "PayPal",
41
49
  WeChat = "WeChat"
42
50
  }
43
51
  export declare enum QRCodePaymentsWeChatProviderBrands {
@@ -0,0 +1,7 @@
1
+ export declare function setGpApiHeaders(): {
2
+ Accept: string;
3
+ Authorization: string;
4
+ "Content-Type": string;
5
+ "X-GP-Version": string;
6
+ "X-GP-Library": string;
7
+ } | Headers;
@@ -7,6 +7,9 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
7
7
  right: string;
8
8
  top: string;
9
9
  };
10
+ "#field-validation-wrapper": {
11
+ "margin-top": string;
12
+ };
10
13
  "@font-face": {
11
14
  "font-family": string;
12
15
  src: string;
@@ -0,0 +1,191 @@
1
+ declare const styles: () => {
2
+ ".secure-payment-form .currency-conversion-container": {
3
+ display: string;
4
+ "flex-direction": string;
5
+ "align-items": string;
6
+ };
7
+ ".secure-payment-form .credit-card-currency-conversion iframe": {
8
+ "min-height": string;
9
+ };
10
+ ".secure-payment-form .credit-card-currency-conversion fieldset": {
11
+ "font-family": string;
12
+ border: string;
13
+ margin: string;
14
+ padding: string;
15
+ display: string;
16
+ "flex-wrap": string;
17
+ };
18
+ ".secure-payment-form .credit-card-currency-conversion legend": {
19
+ "font-family": string;
20
+ border: number;
21
+ top: string;
22
+ margin: string;
23
+ padding: number;
24
+ display: string;
25
+ "font-size": string;
26
+ "font-weight": number;
27
+ position: string;
28
+ };
29
+ ".secure-payment-form .credit-card-currency-conversion .radio-button": {
30
+ display: string;
31
+ "justify-content": string;
32
+ "align-items": string;
33
+ border: string;
34
+ padding: string;
35
+ "white-space": string;
36
+ height: string;
37
+ "margin-right": string;
38
+ };
39
+ ".secure-payment-form .credit-card-currency-conversion .radio-button:last-child": {
40
+ "margin-right": string;
41
+ };
42
+ ".secure-payment-form .credit-card-currency-conversion .radio-button:hover": {
43
+ "border-color": string;
44
+ };
45
+ ".secure-payment-form .credit-card-currency-conversion fieldset:focus-within > .radio-button": {
46
+ outline: string;
47
+ "outline-offset": string;
48
+ };
49
+ ".secure-payment-form .credit-card-currency-conversion fieldset.no-focus-outline .radio-button.checked": {
50
+ outline: string;
51
+ "outline-offset": string;
52
+ };
53
+ ".secure-payment-form .credit-card-currency-conversion .radio-button.checked": {
54
+ background: string;
55
+ "border-color": string;
56
+ color: string;
57
+ outline: string;
58
+ };
59
+ ".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']": {
60
+ margin: string;
61
+ appearance: string;
62
+ "-webkit-appearance": string;
63
+ "-moz-appearance": string;
64
+ border: string;
65
+ "border-radius": string;
66
+ width: string;
67
+ height: string;
68
+ display: string;
69
+ position: string;
70
+ padding: string;
71
+ };
72
+ ".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:checked": {
73
+ "background-color": string;
74
+ border: string;
75
+ };
76
+ ".secure-payment-form .credit-card-currency-conversion .radio-button input[type='radio']:focus": {
77
+ outline: string;
78
+ };
79
+ ".secure-payment-form .credit-card-currency-conversion .radio-button label": {
80
+ "font-family": string;
81
+ "font-size": string;
82
+ "font-weight": number;
83
+ display: string;
84
+ margin: string;
85
+ };
86
+ ".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
87
+ opacity: string;
88
+ visibility: boolean;
89
+ display: string;
90
+ "flex-direction": string;
91
+ "margin-left": string;
92
+ "align-items": string;
93
+ height: string;
94
+ };
95
+ ".secure-payment-form .credit-card-currency-conversion .card-currency-content.visible": {
96
+ display: string;
97
+ opacity: string;
98
+ visibility: boolean;
99
+ };
100
+ ".secure-payment-form .credit-card-currency-conversion .merchant-currency-content": {
101
+ opacity: string;
102
+ visibility: boolean;
103
+ display: string;
104
+ "flex-direction": string;
105
+ "margin-left": string;
106
+ "align-items": string;
107
+ height: string;
108
+ };
109
+ ".secure-payment-form .credit-card-currency-conversion .merchant-currency-content.visible": {
110
+ display: string;
111
+ opacity: string;
112
+ visibility: boolean;
113
+ };
114
+ ".secure-payment-form .credit-card-currency-conversion .additional-info": {
115
+ "font-family": string;
116
+ "font-size": string;
117
+ "font-weight": number;
118
+ margin: string;
119
+ display: string;
120
+ };
121
+ ".secure-payment-form .credit-card-currency-conversion .additional-info p": {
122
+ margin: string;
123
+ "font-style": string;
124
+ };
125
+ ".secure-payment-form .credit-card-currency-conversion .tooltip": {
126
+ width: string;
127
+ height: string;
128
+ "min-width": string;
129
+ "border-left": string;
130
+ display: string;
131
+ };
132
+ ".secure-payment-form .credit-card-currency-conversion .tooltip:hover": {
133
+ "border-left": string;
134
+ };
135
+ ".secure-payment-form .credit-card-currency-conversion .tooltip:focus": {
136
+ "border-left": string;
137
+ };
138
+ ".secure-payment-form .credit-card-currency-conversion .tooltip-content": {
139
+ bottom: string;
140
+ right: string;
141
+ display: string;
142
+ };
143
+ ".secure-payment-form .credit-card-currency-conversion .tooltip:hover .tooltip-content": {
144
+ display: string;
145
+ };
146
+ ".secure-payment-form .credit-card-currency-conversion .tooltip-content p": {
147
+ margin: string;
148
+ };
149
+ ".secure-payment-form .credit-card-currency-conversion .tooltip-content p:last-child": {
150
+ "margin-bottom": string;
151
+ };
152
+ ".secure-payment-form .credit-card-currency-conversion .tooltip-content::before": {
153
+ left: string;
154
+ top: string;
155
+ right: string;
156
+ transform: string;
157
+ "border-width": string;
158
+ "border-style": string;
159
+ "border-color": string;
160
+ };
161
+ "@media only screen and (max-width: 768px)": {
162
+ ".secure-payment-form .currency-conversion-container": {
163
+ "flex-direction": string;
164
+ "align-items": string;
165
+ };
166
+ ".secure-payment-form .credit-card-currency-conversion fieldset": {
167
+ "justify-content": string;
168
+ };
169
+ ".secure-payment-form .credit-card-currency-conversion .radio-button": {
170
+ width: string;
171
+ "justify-content": string;
172
+ };
173
+ ".secure-payment-form .credit-card-currency-conversion .radio-button:first-child": {
174
+ margin: string;
175
+ };
176
+ ".secure-payment-form .credit-card-currency-conversion .card-currency-content": {
177
+ width: string;
178
+ "margin-top": string;
179
+ "margin-left": string;
180
+ };
181
+ ".secure-payment-form .credit-card-currency-conversion .merchant-currency-content": {
182
+ width: string;
183
+ "margin-top": string;
184
+ "margin-left": string;
185
+ };
186
+ ".secure-payment-form .credit-card-currency-conversion .tooltip-content::before": {
187
+ right: string;
188
+ };
189
+ };
190
+ };
191
+ export default styles;