@secondstaxorg/sscomp 1.9.93 → 1.9.95
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/dist/index.es.js +1013 -1005
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +82689 -79
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1005 -997
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/CountrySelector/type.d.ts +4 -0
- package/types/components/SetPassword/type.d.ts +19 -4
- package/types/components/AddBankAccount/request.d.ts +0 -10
- package/types/components/PDFViewer/PDFViewer.d.ts +0 -8
- package/types/components/PDFViewer/style.d.ts +0 -4
- package/types/components/PDFViewer/type.d.ts +0 -11
- package/types/components/PhoneInput/countries_ori.d.ts +0 -6
package/package.json
CHANGED
|
@@ -39,6 +39,10 @@ export interface SelectorProps {
|
|
|
39
39
|
* Specify whether the component is a readonly field
|
|
40
40
|
*/
|
|
41
41
|
readonly?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* specify whether the component should fallback to internal countries list
|
|
44
|
+
*/
|
|
45
|
+
countryListFallback?: boolean;
|
|
42
46
|
/**
|
|
43
47
|
* Array containing list of items to be bubbled up to the top above all others
|
|
44
48
|
*/
|
|
@@ -5,10 +5,6 @@ export interface SetPasswordProps {
|
|
|
5
5
|
*/
|
|
6
6
|
hidePasswordMeter?: boolean;
|
|
7
7
|
/**
|
|
8
|
-
* Callback function for when the status of the form whether it's been completed
|
|
9
|
-
*/
|
|
10
|
-
formComplete: (status: boolean) => void;
|
|
11
|
-
/**
|
|
12
8
|
* If available, the email address to be displayed if not to be entered by the user
|
|
13
9
|
*/
|
|
14
10
|
userEmail?: string;
|
|
@@ -22,6 +18,13 @@ export interface SetPasswordProps {
|
|
|
22
18
|
title?: string;
|
|
23
19
|
emailPlaceholder?: string;
|
|
24
20
|
verificationCodePlaceholder?: string;
|
|
21
|
+
setPassword?: string;
|
|
22
|
+
responseSuccessHeadingText?: string;
|
|
23
|
+
responseSuccessSubText?: string;
|
|
24
|
+
responseFailHeadingText?: string;
|
|
25
|
+
responseFailSubText?: string;
|
|
26
|
+
soundsGood?: string;
|
|
27
|
+
tryAgain?: string;
|
|
25
28
|
pwMeterLO?: pwMeterLabelOverrides;
|
|
26
29
|
};
|
|
27
30
|
/**
|
|
@@ -32,4 +35,16 @@ export interface SetPasswordProps {
|
|
|
32
35
|
password: string;
|
|
33
36
|
email?: string;
|
|
34
37
|
}) => void;
|
|
38
|
+
/**
|
|
39
|
+
* URL of endpoint to which new password shall be sent
|
|
40
|
+
*/
|
|
41
|
+
pwResetUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* Function to call after the password has been set
|
|
44
|
+
*/
|
|
45
|
+
redirectFn: () => void;
|
|
46
|
+
/**
|
|
47
|
+
* Function to get the response when the request is successful
|
|
48
|
+
*/
|
|
49
|
+
pwResetResponse?: (resp: any) => void;
|
|
35
50
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare type Method = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2
|
-
interface iApiRequest {
|
|
3
|
-
url: string;
|
|
4
|
-
method: Method;
|
|
5
|
-
data?: any;
|
|
6
|
-
headers?: any;
|
|
7
|
-
}
|
|
8
|
-
declare function createRequest(params: iApiRequest): Promise<any>;
|
|
9
|
-
export declare const axiosSend: typeof createRequest;
|
|
10
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const ViewerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const DocumentNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const PageNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
|