@globalpayments/js 1.9.19 → 1.9.21
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/common/constants.d.ts +1 -0
- package/types/common/enums.d.ts +18 -0
- package/types/common/html-element.d.ts +88 -0
- package/types/internal/built-in-validations/field-validator.d.ts +4 -0
- package/types/internal/built-in-validations/helpers.d.ts +2 -0
- package/types/internal/built-in-validations/messages.d.ts +24 -0
- package/types/internal/lib/card.d.ts +17 -0
- package/types/internal/lib/installments/helpers/html-element.d.ts +3 -7
- package/types/internal/lib/installments/installments-handler.d.ts +1 -1
- package/types/internal/lib/styles/built-in-validations/common.d.ts +16 -0
- package/types/internal/lib/styles/default.d.ts +160 -0
- package/types/internal/lib/styles/gp-default.d.ts +131 -0
- package/types/internal/lib/styles/simple.d.ts +169 -0
- package/types/lib/version.d.ts +1 -1
- package/types/tools/configure.d.ts +1 -0
- package/types/ui/form/index.d.ts +481 -52
- package/types/ui/iframe-field/action-hide-validation.d.ts +6 -0
- package/types/ui/iframe-field/action-show-validation.d.ts +7 -0
- package/types/ui/iframe-field/action-validate-form.d.ts +3 -0
- package/types/ui/iframe-field/action-validate-value.d.ts +5 -0
- package/types/ui/iframe-field/index.d.ts +17 -1
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HOSTED_FIELD_NAME_KEYS: string[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum CardFormFieldNames {
|
|
2
|
+
CardAccountNumber = "account-number",
|
|
3
|
+
CardNumber = "card-number",
|
|
4
|
+
CardExpiration = "card-expiration",
|
|
5
|
+
CardCvv = "card-cvv",
|
|
6
|
+
CardHolderName = "card-holder-name"
|
|
7
|
+
}
|
|
8
|
+
export declare enum HostedFieldValidationEvents {
|
|
9
|
+
BuiltInValidationShow = "hosted-field-built-in-validation-show",
|
|
10
|
+
BuiltInValidationHide = "hosted-field-built-in-validation-hide",
|
|
11
|
+
ValidationShow = "hosted-field-validation-show",
|
|
12
|
+
ValidationHide = "hosted-field-validation-hide",
|
|
13
|
+
Validate = "hosted-field-validate",
|
|
14
|
+
ValidatePassData = "hosted-field-validate-pass-data",
|
|
15
|
+
ValidateForm = "hosted-field-validate-form",
|
|
16
|
+
ValidateFormField = "hosted-field-validate-form-field",
|
|
17
|
+
ValidateFormValid = "hosted-field-validate-form-valid"
|
|
18
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export declare const createHtmlElement: (elementType: string, props?: {
|
|
2
|
+
id?: string | undefined;
|
|
3
|
+
className?: string | undefined;
|
|
4
|
+
attributes?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
}[] | undefined;
|
|
7
|
+
} | undefined) => HTMLElement;
|
|
8
|
+
export declare const createHtmlDivElement: (props?: {
|
|
9
|
+
id?: string | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
attributes?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
}[] | undefined;
|
|
14
|
+
} | undefined) => HTMLDivElement;
|
|
15
|
+
export declare const createHtmlSpanElement: (props?: {
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
attributes?: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
}[] | undefined;
|
|
21
|
+
textContent?: string | undefined;
|
|
22
|
+
} | undefined) => HTMLSpanElement;
|
|
23
|
+
export declare const createHtmlButtonElement: (props?: {
|
|
24
|
+
id?: string | undefined;
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
attributes?: {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
}[] | undefined;
|
|
29
|
+
textContent?: string | undefined;
|
|
30
|
+
} | undefined) => HTMLButtonElement;
|
|
31
|
+
export declare const createHtmlImageElement: (props?: {
|
|
32
|
+
id?: string | undefined;
|
|
33
|
+
className?: string | undefined;
|
|
34
|
+
attributes?: {
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
}[] | undefined;
|
|
37
|
+
src: string;
|
|
38
|
+
alt: string;
|
|
39
|
+
} | undefined) => HTMLImageElement;
|
|
40
|
+
export declare const createHtmlUlElement: (props?: {
|
|
41
|
+
id?: string | undefined;
|
|
42
|
+
className?: string | undefined;
|
|
43
|
+
attributes?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
} | undefined) => HTMLUListElement;
|
|
47
|
+
export declare const createHtmlLiElement: (props?: {
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
className?: string | undefined;
|
|
50
|
+
attributes?: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
} | undefined) => HTMLLIElement;
|
|
54
|
+
export declare enum HtmlAnchorTarget {
|
|
55
|
+
Blank = "_blank",
|
|
56
|
+
Self = "_self",
|
|
57
|
+
Parent = "_parent",
|
|
58
|
+
Top = "_top"
|
|
59
|
+
}
|
|
60
|
+
export declare const createHtmlAnchorElement: (props?: {
|
|
61
|
+
id?: string | undefined;
|
|
62
|
+
className?: string | undefined;
|
|
63
|
+
attributes?: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
textContent?: string | undefined;
|
|
67
|
+
target?: HtmlAnchorTarget | undefined;
|
|
68
|
+
href: string;
|
|
69
|
+
} | undefined) => HTMLAnchorElement;
|
|
70
|
+
export declare const createHtmlCheckboxElement: (props?: {
|
|
71
|
+
id?: string | undefined;
|
|
72
|
+
className?: string | undefined;
|
|
73
|
+
attributes?: {
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
textContent?: string | undefined;
|
|
78
|
+
checked: boolean;
|
|
79
|
+
} | undefined) => HTMLInputElement;
|
|
80
|
+
export declare const createHtmlLabelElement: (props?: {
|
|
81
|
+
id?: string | undefined;
|
|
82
|
+
className?: string | undefined;
|
|
83
|
+
attributes?: {
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
}[] | undefined;
|
|
86
|
+
htmlFor: string;
|
|
87
|
+
textContent?: string | undefined;
|
|
88
|
+
} | undefined) => HTMLLabelElement;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const ValidationMessages: {
|
|
2
|
+
CardNumber: {
|
|
3
|
+
Required: string;
|
|
4
|
+
CharactersLessThan12: string;
|
|
5
|
+
NumberIsNotValid: string;
|
|
6
|
+
};
|
|
7
|
+
CardExpiration: {
|
|
8
|
+
Required: string;
|
|
9
|
+
NotCompleted: string;
|
|
10
|
+
YearNotValid: string;
|
|
11
|
+
MonthNotValid: string;
|
|
12
|
+
HasExpired: string;
|
|
13
|
+
};
|
|
14
|
+
CardCvv: {
|
|
15
|
+
CodeIsNotValid: string;
|
|
16
|
+
CodeIsLessThan3Digits: string;
|
|
17
|
+
CodeMustBe3Digits: string;
|
|
18
|
+
AmexCodeMustBe4Digits: string;
|
|
19
|
+
};
|
|
20
|
+
CardHolderName: {
|
|
21
|
+
Required: string;
|
|
22
|
+
CharactersLessThan2: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -93,6 +93,16 @@ export default class Card {
|
|
|
93
93
|
* @param e
|
|
94
94
|
*/
|
|
95
95
|
static validateExpiration(e: Event): void;
|
|
96
|
+
/**
|
|
97
|
+
* validateCardHolderName
|
|
98
|
+
*
|
|
99
|
+
* Validates a target element"s value based on the
|
|
100
|
+
* possible Card Holder name. Adds a class to the target
|
|
101
|
+
* element to note `valid` or `invalid`.
|
|
102
|
+
*
|
|
103
|
+
* @param e
|
|
104
|
+
*/
|
|
105
|
+
static validateCardHolderName(e: Event): void;
|
|
96
106
|
/**
|
|
97
107
|
* validateInstallmentFields
|
|
98
108
|
*
|
|
@@ -128,4 +138,11 @@ export default class Card {
|
|
|
128
138
|
* @param selector
|
|
129
139
|
*/
|
|
130
140
|
static attachCvvEvents(selector: string): void;
|
|
141
|
+
/**
|
|
142
|
+
* attachCardHolderNameEvents
|
|
143
|
+
*
|
|
144
|
+
* @param selector
|
|
145
|
+
*/
|
|
146
|
+
static attachCardHolderNameEvents(selector: string): void;
|
|
147
|
+
private static handleHostedFieldValidation;
|
|
131
148
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HtmlAnchorTarget as _HtmlAnchorTarget } from "../../../../common/html-element";
|
|
1
2
|
export declare const createHtmlElement: (elementType: string, props?: {
|
|
2
3
|
id?: string | undefined;
|
|
3
4
|
className?: string | undefined;
|
|
@@ -51,12 +52,7 @@ export declare const createHtmlLiElement: (props?: {
|
|
|
51
52
|
[key: string]: string;
|
|
52
53
|
}[] | undefined;
|
|
53
54
|
} | undefined) => HTMLLIElement;
|
|
54
|
-
export declare
|
|
55
|
-
Blank = "_blank",
|
|
56
|
-
Self = "_self",
|
|
57
|
-
Parent = "_parent",
|
|
58
|
-
Top = "_top"
|
|
59
|
-
}
|
|
55
|
+
export declare const HtmlAnchorTarget: typeof _HtmlAnchorTarget;
|
|
60
56
|
export declare const createHtmlAnchorElement: (props?: {
|
|
61
57
|
id?: string | undefined;
|
|
62
58
|
className?: string | undefined;
|
|
@@ -64,7 +60,7 @@ export declare const createHtmlAnchorElement: (props?: {
|
|
|
64
60
|
[key: string]: string;
|
|
65
61
|
}[] | undefined;
|
|
66
62
|
textContent?: string | undefined;
|
|
67
|
-
target?:
|
|
63
|
+
target?: _HtmlAnchorTarget | undefined;
|
|
68
64
|
href: string;
|
|
69
65
|
} | undefined) => HTMLAnchorElement;
|
|
70
66
|
export declare const createHtmlCheckboxElement: (props?: {
|
|
@@ -29,7 +29,7 @@ export interface InstallmentsContext {
|
|
|
29
29
|
explorePlans: () => void;
|
|
30
30
|
selectTerm: (i: number) => void;
|
|
31
31
|
changePaymentMethod: () => void;
|
|
32
|
-
pay: (
|
|
32
|
+
pay: () => void;
|
|
33
33
|
updateContainerContent: () => void;
|
|
34
34
|
}
|
|
35
35
|
export interface InstallmentStepDefinition {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
2
|
+
"#secure-payment-field[type=text].field-validation-wrapper": {
|
|
3
|
+
"font-family": string;
|
|
4
|
+
};
|
|
5
|
+
"#secure-payment-field[type=tel].invalid": {
|
|
6
|
+
border: string;
|
|
7
|
+
};
|
|
8
|
+
"#secure-payment-field[type=text].invalid": {
|
|
9
|
+
border: string;
|
|
10
|
+
};
|
|
11
|
+
"img.card-number-icon.invalid": {
|
|
12
|
+
"margin-top": string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const styles: (assetBaseUrl: string) => {};
|
|
16
|
+
export default styles;
|
|
@@ -1,4 +1,164 @@
|
|
|
1
1
|
export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
2
|
+
"#secure-payment-field[type=text].field-validation-wrapper": {
|
|
3
|
+
"font-family": string;
|
|
4
|
+
};
|
|
5
|
+
"#secure-payment-field[type=tel].invalid": {
|
|
6
|
+
border: string;
|
|
7
|
+
};
|
|
8
|
+
"#secure-payment-field[type=text].invalid": {
|
|
9
|
+
border: string;
|
|
10
|
+
};
|
|
11
|
+
"img.card-number-icon.invalid": {
|
|
12
|
+
"margin-top": string;
|
|
13
|
+
};
|
|
14
|
+
"#secure-payment-field": {
|
|
15
|
+
"-o-transition": string;
|
|
16
|
+
"-webkit-box-shadow": string;
|
|
17
|
+
"-webkit-transition": string;
|
|
18
|
+
"background-color": string;
|
|
19
|
+
border: string;
|
|
20
|
+
"border-radius": string;
|
|
21
|
+
"box-shadow": string;
|
|
22
|
+
"box-sizing": string;
|
|
23
|
+
color: string;
|
|
24
|
+
display: string;
|
|
25
|
+
"font-family": string;
|
|
26
|
+
"font-size": string;
|
|
27
|
+
height: string;
|
|
28
|
+
"line-height": string;
|
|
29
|
+
margin: string;
|
|
30
|
+
"max-width": string;
|
|
31
|
+
outline: string;
|
|
32
|
+
padding: string;
|
|
33
|
+
transition: string;
|
|
34
|
+
"vertical-align": string;
|
|
35
|
+
width: string;
|
|
36
|
+
};
|
|
37
|
+
"#secure-payment-field:focus": {
|
|
38
|
+
border: string;
|
|
39
|
+
"box-shadow": string;
|
|
40
|
+
height: string;
|
|
41
|
+
outline: string;
|
|
42
|
+
};
|
|
43
|
+
"#secure-payment-field[type=button]": {
|
|
44
|
+
"-moz-user-select": string;
|
|
45
|
+
"-ms-touch-action": string;
|
|
46
|
+
"-ms-user-select": string;
|
|
47
|
+
"-webkit-user-select": string;
|
|
48
|
+
"background-color": string;
|
|
49
|
+
"background-image": string;
|
|
50
|
+
border: string;
|
|
51
|
+
"box-sizing": string;
|
|
52
|
+
color: string;
|
|
53
|
+
cursor: string;
|
|
54
|
+
display: string;
|
|
55
|
+
"font-family": string;
|
|
56
|
+
"font-size": string;
|
|
57
|
+
"font-weight": string;
|
|
58
|
+
"line-height": string;
|
|
59
|
+
"margin-bottom": string;
|
|
60
|
+
padding: string;
|
|
61
|
+
"text-align": string;
|
|
62
|
+
"text-transform": string;
|
|
63
|
+
"touch-action": string;
|
|
64
|
+
"user-select": string;
|
|
65
|
+
"vertical-align": string;
|
|
66
|
+
"white-space": string;
|
|
67
|
+
};
|
|
68
|
+
"#secure-payment-field[type=button]:focus": {
|
|
69
|
+
"background-color": string;
|
|
70
|
+
color: string;
|
|
71
|
+
outline: string;
|
|
72
|
+
};
|
|
73
|
+
"#secure-payment-field[type=button]:hover": {
|
|
74
|
+
"background-color": string;
|
|
75
|
+
};
|
|
76
|
+
".card-cvv": {
|
|
77
|
+
background: string;
|
|
78
|
+
"background-size": string;
|
|
79
|
+
};
|
|
80
|
+
".card-cvv.card-type-amex": {
|
|
81
|
+
background: string;
|
|
82
|
+
"background-size": string;
|
|
83
|
+
};
|
|
84
|
+
"img.card-number-icon": {
|
|
85
|
+
background: string;
|
|
86
|
+
"background-size": string;
|
|
87
|
+
width: string;
|
|
88
|
+
height: string;
|
|
89
|
+
position: string;
|
|
90
|
+
right: string;
|
|
91
|
+
top: string;
|
|
92
|
+
"margin-top": string;
|
|
93
|
+
"background-position": string;
|
|
94
|
+
};
|
|
95
|
+
"img.card-number-icon[src$='/gp-cc-generic.svg']": {
|
|
96
|
+
background: string;
|
|
97
|
+
"background-size": string;
|
|
98
|
+
"background-position-y": string;
|
|
99
|
+
};
|
|
100
|
+
"img.card-number-icon.invalid.card-type-amex": {
|
|
101
|
+
background: string;
|
|
102
|
+
"background-size": string;
|
|
103
|
+
"background-position-y": string;
|
|
104
|
+
};
|
|
105
|
+
"img.card-number-icon.invalid.card-type-discover": {
|
|
106
|
+
background: string;
|
|
107
|
+
"background-size": string;
|
|
108
|
+
"background-position-y": string;
|
|
109
|
+
width: string;
|
|
110
|
+
};
|
|
111
|
+
"img.card-number-icon.invalid.card-type-jcb": {
|
|
112
|
+
background: string;
|
|
113
|
+
"background-size": string;
|
|
114
|
+
"background-position-y": string;
|
|
115
|
+
};
|
|
116
|
+
"img.card-number-icon.invalid.card-type-mastercard": {
|
|
117
|
+
background: string;
|
|
118
|
+
"background-size": string;
|
|
119
|
+
"background-position-y": string;
|
|
120
|
+
};
|
|
121
|
+
"img.card-number-icon.invalid.card-type-visa": {
|
|
122
|
+
background: string;
|
|
123
|
+
"background-size": string;
|
|
124
|
+
"background-position-y": string;
|
|
125
|
+
};
|
|
126
|
+
"img.card-number-icon.valid.card-type-amex": {
|
|
127
|
+
background: string;
|
|
128
|
+
"background-size": string;
|
|
129
|
+
"background-position-y": string;
|
|
130
|
+
};
|
|
131
|
+
"img.card-number-icon.valid.card-type-discover": {
|
|
132
|
+
background: string;
|
|
133
|
+
"background-size": string;
|
|
134
|
+
"background-position-y": string;
|
|
135
|
+
width: string;
|
|
136
|
+
};
|
|
137
|
+
"img.card-number-icon.valid.card-type-jcb": {
|
|
138
|
+
background: string;
|
|
139
|
+
"background-size": string;
|
|
140
|
+
"background-position-y": string;
|
|
141
|
+
};
|
|
142
|
+
"img.card-number-icon.valid.card-type-mastercard": {
|
|
143
|
+
background: string;
|
|
144
|
+
"background-size": string;
|
|
145
|
+
"background-position-y": string;
|
|
146
|
+
};
|
|
147
|
+
"img.card-number-icon.valid.card-type-visa": {
|
|
148
|
+
background: string;
|
|
149
|
+
"background-size": string;
|
|
150
|
+
"background-position-y": string;
|
|
151
|
+
};
|
|
152
|
+
".card-number::-ms-clear": {
|
|
153
|
+
display: string;
|
|
154
|
+
};
|
|
155
|
+
"input[placeholder]": {
|
|
156
|
+
"letter-spacing": string;
|
|
157
|
+
};
|
|
158
|
+
} | {
|
|
159
|
+
"img.card-number-icon.invalid": {
|
|
160
|
+
"margin-top": string;
|
|
161
|
+
};
|
|
2
162
|
"#secure-payment-field": {
|
|
3
163
|
"-o-transition": string;
|
|
4
164
|
"-webkit-box-shadow": string;
|
|
@@ -1,4 +1,127 @@
|
|
|
1
1
|
export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
2
|
+
"#secure-payment-field[type=text].field-validation-wrapper": {
|
|
3
|
+
"font-family": string;
|
|
4
|
+
};
|
|
5
|
+
"#secure-payment-field[type=tel].invalid": {
|
|
6
|
+
border: string;
|
|
7
|
+
};
|
|
8
|
+
"#secure-payment-field[type=text].invalid": {
|
|
9
|
+
border: string;
|
|
10
|
+
};
|
|
11
|
+
"img.card-number-icon.invalid": {
|
|
12
|
+
"margin-top": string;
|
|
13
|
+
};
|
|
14
|
+
"*": {
|
|
15
|
+
"box-sizing": string;
|
|
16
|
+
};
|
|
17
|
+
"::-webkit-input-placeholder": {
|
|
18
|
+
color: string;
|
|
19
|
+
};
|
|
20
|
+
"::-ms-input-placeholder": {
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
"::-moz-input-placeholder": {
|
|
24
|
+
color: string;
|
|
25
|
+
opacity: number;
|
|
26
|
+
};
|
|
27
|
+
":-moz-input-placeholder": {
|
|
28
|
+
color: string;
|
|
29
|
+
opacity: number;
|
|
30
|
+
};
|
|
31
|
+
":-moz-placeholder": {
|
|
32
|
+
color: string;
|
|
33
|
+
opacity: string;
|
|
34
|
+
};
|
|
35
|
+
"::-moz-placeholder": {
|
|
36
|
+
color: string;
|
|
37
|
+
opacity: string;
|
|
38
|
+
};
|
|
39
|
+
"#secure-payment-field": {
|
|
40
|
+
width: string;
|
|
41
|
+
height: string;
|
|
42
|
+
padding: string;
|
|
43
|
+
border: string;
|
|
44
|
+
"border-radius": string;
|
|
45
|
+
"font-size": string;
|
|
46
|
+
"font-weight": string;
|
|
47
|
+
color: string;
|
|
48
|
+
};
|
|
49
|
+
"#secure-payment-field:focus": {
|
|
50
|
+
border: string;
|
|
51
|
+
outline: string;
|
|
52
|
+
};
|
|
53
|
+
"#secure-payment-field:hover": {
|
|
54
|
+
border: string;
|
|
55
|
+
outline: string;
|
|
56
|
+
};
|
|
57
|
+
"#secure-payment-field[type=button]": {
|
|
58
|
+
"background-color": string;
|
|
59
|
+
color: string;
|
|
60
|
+
padding: string;
|
|
61
|
+
border: string;
|
|
62
|
+
width: string;
|
|
63
|
+
"border-radius": string;
|
|
64
|
+
cursor: string;
|
|
65
|
+
"font-size": string;
|
|
66
|
+
"font-weight": string;
|
|
67
|
+
height: string;
|
|
68
|
+
"text-align": string;
|
|
69
|
+
"vertical-align": string;
|
|
70
|
+
"text-transform": string;
|
|
71
|
+
};
|
|
72
|
+
"#secure-payment-field[type=button]:focus": {
|
|
73
|
+
border: string;
|
|
74
|
+
outline: string;
|
|
75
|
+
};
|
|
76
|
+
"#secure-payment-field[type=button]:hover": {
|
|
77
|
+
"background-color": string;
|
|
78
|
+
};
|
|
79
|
+
"#secure-payment-field[type=button]::before": {
|
|
80
|
+
content: string;
|
|
81
|
+
"margin-right": string;
|
|
82
|
+
};
|
|
83
|
+
".card-cvv": {
|
|
84
|
+
background: string;
|
|
85
|
+
"background-size": string;
|
|
86
|
+
};
|
|
87
|
+
".card-cvv.card-type-amex": {
|
|
88
|
+
"background-image": string;
|
|
89
|
+
};
|
|
90
|
+
"img.card-number-icon": {
|
|
91
|
+
background: string;
|
|
92
|
+
position: string;
|
|
93
|
+
right: string;
|
|
94
|
+
top: string;
|
|
95
|
+
width: string;
|
|
96
|
+
height: string;
|
|
97
|
+
"margin-top": string;
|
|
98
|
+
"background-size": string;
|
|
99
|
+
};
|
|
100
|
+
"img.card-number-icon.card-type-amex": {
|
|
101
|
+
"background-image": string;
|
|
102
|
+
};
|
|
103
|
+
"img.card-number-icon.card-type-discover": {
|
|
104
|
+
"background-image": string;
|
|
105
|
+
};
|
|
106
|
+
"img.card-number-icon.card-type-jcb": {
|
|
107
|
+
"background-image": string;
|
|
108
|
+
};
|
|
109
|
+
"img.card-number-icon.card-type-mastercard": {
|
|
110
|
+
"background-image": string;
|
|
111
|
+
};
|
|
112
|
+
"img.card-number-icon.card-type-visa": {
|
|
113
|
+
"background-image": string;
|
|
114
|
+
};
|
|
115
|
+
"img.card-number-icon.card-type-diners": {
|
|
116
|
+
"background-image": string;
|
|
117
|
+
};
|
|
118
|
+
".card-number::-ms-clear": {
|
|
119
|
+
display: string;
|
|
120
|
+
};
|
|
121
|
+
} | {
|
|
122
|
+
"img.card-number-icon.invalid": {
|
|
123
|
+
"margin-top": string;
|
|
124
|
+
};
|
|
2
125
|
"*": {
|
|
3
126
|
"box-sizing": string;
|
|
4
127
|
};
|
|
@@ -38,6 +161,10 @@ export declare const fieldStyles: (assetBaseUrl: string) => {
|
|
|
38
161
|
border: string;
|
|
39
162
|
outline: string;
|
|
40
163
|
};
|
|
164
|
+
"#secure-payment-field:hover": {
|
|
165
|
+
border: string;
|
|
166
|
+
outline: string;
|
|
167
|
+
};
|
|
41
168
|
"#secure-payment-field[type=button]": {
|
|
42
169
|
"background-color": string;
|
|
43
170
|
color: string;
|
|
@@ -826,6 +953,10 @@ export declare const parentStyles: (assetBaseUrl: string) => {
|
|
|
826
953
|
border: string;
|
|
827
954
|
outline: string;
|
|
828
955
|
};
|
|
956
|
+
".secure-payment-form .tooltip:hover": {
|
|
957
|
+
border: string;
|
|
958
|
+
outline: string;
|
|
959
|
+
};
|
|
829
960
|
".secure-payment-form .tooltip-content": {
|
|
830
961
|
visibility: string;
|
|
831
962
|
width: string;
|