skyflow-js 2.1.3 → 2.2.0
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -25,6 +25,11 @@ export declare class FrameElement {
|
|
|
25
25
|
private isRequiredLabel?;
|
|
26
26
|
private dropdownIcon?;
|
|
27
27
|
private dropdownSelect?;
|
|
28
|
+
private actualValue;
|
|
29
|
+
private excludeFormatIndex;
|
|
30
|
+
private selectionStart?;
|
|
31
|
+
private selectionEnd?;
|
|
32
|
+
private selectedData?;
|
|
28
33
|
constructor(iFrameFormElement: IFrameFormElement, options: any, htmlDivElement: HTMLDivElement);
|
|
29
34
|
mount: () => void;
|
|
30
35
|
setupInputField(newValue?: boolean): void;
|
|
@@ -32,6 +37,11 @@ export declare class FrameElement {
|
|
|
32
37
|
setValue: (value: any) => void;
|
|
33
38
|
onFocusChange: (event: FocusEvent, focus: boolean) => void;
|
|
34
39
|
onInputChange: (event: Event) => void;
|
|
40
|
+
countExcludedDigits: (excludeFormatIndex: number[], length: number) => number;
|
|
41
|
+
getNonTranslatedIndexes: (format: string, translation: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
}) => number[];
|
|
44
|
+
handleDeletion: (actualValue: any, maskedValue: any, excludeFormatIndexes: any, selectionStart: any, selectionEnd: any) => string;
|
|
35
45
|
findPreviousElement: (currentInput: any) => HTMLInputElement;
|
|
36
46
|
findNextElement: (currentInput: any) => HTMLInputElement;
|
|
37
47
|
onSubmit: () => void;
|
|
@@ -20,7 +20,10 @@ export declare const appendMonthTwoDigitYears: (value: any) => {
|
|
|
20
20
|
};
|
|
21
21
|
export declare const getReturnValue: (value: string | Blob, element: string, doesReturnValue: boolean) => string | Blob | undefined;
|
|
22
22
|
export declare function domReady(fn: any): void;
|
|
23
|
-
export declare const getMaskedOutput: (input: string, format: string, translation: any) =>
|
|
23
|
+
export declare const getMaskedOutput: (input: string, format: string, translation: any, maskingChar?: string) => {
|
|
24
|
+
formattedOutput: string;
|
|
25
|
+
maskedOutput: string;
|
|
26
|
+
};
|
|
24
27
|
export declare const copyToClipboard: (text: string) => void;
|
|
25
28
|
export declare const handleCopyIconClick: (textToCopy: string, domCopy: any) => void;
|
|
26
29
|
export declare const fileValidation: (value: any, required: Boolean | undefined, fileElement: any) => boolean;
|
package/types/utils/logs.d.ts
CHANGED
|
@@ -264,6 +264,7 @@ declare const logs: {
|
|
|
264
264
|
INVALID_COMPOSABLE_CONTAINER_OPTIONS: string;
|
|
265
265
|
COMPOSABLE_CONTAINER_NOT_MOUNTED: string;
|
|
266
266
|
INVALID_BOOLEAN_OPTIONS: string;
|
|
267
|
+
INVALID_MASKING_CHARACTER: string;
|
|
267
268
|
INVALID_INPUT_OPTIONS_FORMAT: string;
|
|
268
269
|
INVALID_INPUT_OPTIONS_TRANSLATION: string;
|
|
269
270
|
EMPTY_COLLECT_CUSTOM_FORMAT: string;
|