@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
|
@@ -57,7 +57,7 @@ export declare class IframeField extends EventEmitter {
|
|
|
57
57
|
* @param name Field name to be used
|
|
58
58
|
* @param autocomplete Value for field's autocomplete attribute
|
|
59
59
|
*/
|
|
60
|
-
static createAutocompleteField(destination: Node, id: string, type: string, name: string, autocomplete: string): void;
|
|
60
|
+
static createAutocompleteField(destination: Node, id: string, type: string, name: string, label: string, autocomplete: string): void;
|
|
61
61
|
/**
|
|
62
62
|
* addFrameFocusEvent
|
|
63
63
|
*
|
|
@@ -148,5 +148,21 @@ export declare class IframeField extends EventEmitter {
|
|
|
148
148
|
* @param title The desired title
|
|
149
149
|
*/
|
|
150
150
|
setTitle(title: string): void;
|
|
151
|
+
/**
|
|
152
|
+
* Show the validation of a hosted field
|
|
153
|
+
*
|
|
154
|
+
* @param validationMessage The desired validation message
|
|
155
|
+
*/
|
|
156
|
+
showValidation(validationMessage: string): void;
|
|
157
|
+
/**
|
|
158
|
+
* Hide the validation of a hosted field
|
|
159
|
+
*
|
|
160
|
+
*/
|
|
161
|
+
hideValidation(): void;
|
|
162
|
+
/**
|
|
163
|
+
* Validate hosted field
|
|
164
|
+
*
|
|
165
|
+
*/
|
|
166
|
+
validate(): void;
|
|
151
167
|
private makeFrame;
|
|
152
168
|
}
|