andoncloud-sdk 1.4.9 → 1.4.10
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.d.ts +112 -0
- package/package.json +3 -3
- package/src/index.d.ts +111 -7
- package/dist/assets/backdropPattern.svg +0 -101
- package/dist/index.d.ts/index.d.ts +0 -8
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import toast from "react-hot-toast";
|
|
2
|
+
|
|
3
|
+
declare module "andoncloud-sdk" {
|
|
4
|
+
interface NavItem {
|
|
5
|
+
label: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
action?: () => void;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface MenuItem {
|
|
12
|
+
label: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
action?: () => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface AuthProps {
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
loginUrl?: string;
|
|
20
|
+
redirectUri?: string;
|
|
21
|
+
redirectPath?: string;
|
|
22
|
+
clientId: string;
|
|
23
|
+
grantType?: "authorization_code" | "password";
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface AppProps {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
baseUrl: string;
|
|
29
|
+
authProps: AuthProps;
|
|
30
|
+
muiTheme?: Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
export const App: React.FC<AppProps>;
|
|
33
|
+
|
|
34
|
+
interface NavProps {
|
|
35
|
+
items?: NavItem[];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface UserProps {
|
|
39
|
+
show?: boolean;
|
|
40
|
+
showCompanyLogo?: boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface MenuProps {
|
|
44
|
+
items?: MenuItem[];
|
|
45
|
+
buttonColor?: string;
|
|
46
|
+
dropdownStyles?: React.CSSProperties;
|
|
47
|
+
styles?: React.CSSProperties;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface HeaderProps {
|
|
51
|
+
position?: "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
52
|
+
showAcLogo?: boolean;
|
|
53
|
+
leadingText?: string;
|
|
54
|
+
title?: string;
|
|
55
|
+
titleStyles?: React.CSSProperties;
|
|
56
|
+
navProps?: NavProps;
|
|
57
|
+
userProps?: UserProps;
|
|
58
|
+
menuProps?: MenuProps;
|
|
59
|
+
styles?: React.CSSProperties;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
interface ContainerProps {
|
|
63
|
+
children: React.ReactNode;
|
|
64
|
+
headerProps: HeaderProps;
|
|
65
|
+
styles?: React.CSSProperties;
|
|
66
|
+
}
|
|
67
|
+
export const Container: React.FC<ContainerProps>;
|
|
68
|
+
|
|
69
|
+
interface UserData {
|
|
70
|
+
id: number;
|
|
71
|
+
companyId: number;
|
|
72
|
+
roleId: number;
|
|
73
|
+
username: string;
|
|
74
|
+
email: string;
|
|
75
|
+
name: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface Session {
|
|
79
|
+
user: UserData;
|
|
80
|
+
accessToken: string;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface LoginProps {
|
|
84
|
+
title?: string;
|
|
85
|
+
subtitle?: string;
|
|
86
|
+
redirectPath?: string;
|
|
87
|
+
storeSession?: boolean;
|
|
88
|
+
onSuccess?: (session: Session) => void;
|
|
89
|
+
onFailure?: () => void;
|
|
90
|
+
onCancel?: () => void;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export const useLogin: (scope: string, loginProps?: LoginProps) => () => void;
|
|
94
|
+
|
|
95
|
+
interface LoginStatus {
|
|
96
|
+
status: "connected" | "not_authorized" | "unknown";
|
|
97
|
+
authResponse?: {
|
|
98
|
+
user: UserData;
|
|
99
|
+
accessToken: string;
|
|
100
|
+
tokenType: string;
|
|
101
|
+
expiresIn: string;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export const useLoginStatus: () => LoginStatus;
|
|
106
|
+
|
|
107
|
+
export const logout: () => void;
|
|
108
|
+
|
|
109
|
+
export const setLocale: (lang: string) => void;
|
|
110
|
+
|
|
111
|
+
export const notify: typeof toast;
|
|
112
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "andoncloud-sdk",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "src/index.js",
|
|
7
|
-
"types": "
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
8
|
"main": "dist/andoncloud-sdk.js",
|
|
9
9
|
"module": "dist/andoncloud-sdk.js",
|
|
10
10
|
"dependencies": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"react-hot-toast": "^2.4.0"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "library-scripts build && copyfiles -f src/index.d.ts dist/
|
|
19
|
+
"build": "library-scripts build && copyfiles -f src/index.d.ts dist/",
|
|
20
20
|
"build:watch": "library-scripts build-watch",
|
|
21
21
|
"start:preview": "cd preview && npm run start",
|
|
22
22
|
"start": "run-p build:watch start:preview",
|
package/src/index.d.ts
CHANGED
|
@@ -1,8 +1,112 @@
|
|
|
1
|
-
import App from "./app/components/app";
|
|
2
|
-
import Container from "./app/components/container";
|
|
3
|
-
import useLogin from "./app/hooks/useLogin";
|
|
4
|
-
import useLoginStatus from "./app/hooks/useLoginStatus";
|
|
5
|
-
export function logout(): Promise<void>;
|
|
6
|
-
export function setLocale(locale: any): void;
|
|
7
1
|
import toast from "react-hot-toast";
|
|
8
|
-
|
|
2
|
+
|
|
3
|
+
declare module "andoncloud-sdk" {
|
|
4
|
+
interface NavItem {
|
|
5
|
+
label: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
action?: () => void;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface MenuItem {
|
|
12
|
+
label: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
action?: () => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface AuthProps {
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
loginUrl?: string;
|
|
20
|
+
redirectUri?: string;
|
|
21
|
+
redirectPath?: string;
|
|
22
|
+
clientId: string;
|
|
23
|
+
grantType?: "authorization_code" | "password";
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface AppProps {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
baseUrl: string;
|
|
29
|
+
authProps: AuthProps;
|
|
30
|
+
muiTheme?: Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
export const App: React.FC<AppProps>;
|
|
33
|
+
|
|
34
|
+
interface NavProps {
|
|
35
|
+
items?: NavItem[];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface UserProps {
|
|
39
|
+
show?: boolean;
|
|
40
|
+
showCompanyLogo?: boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface MenuProps {
|
|
44
|
+
items?: MenuItem[];
|
|
45
|
+
buttonColor?: string;
|
|
46
|
+
dropdownStyles?: React.CSSProperties;
|
|
47
|
+
styles?: React.CSSProperties;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface HeaderProps {
|
|
51
|
+
position?: "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
52
|
+
showAcLogo?: boolean;
|
|
53
|
+
leadingText?: string;
|
|
54
|
+
title?: string;
|
|
55
|
+
titleStyles?: React.CSSProperties;
|
|
56
|
+
navProps?: NavProps;
|
|
57
|
+
userProps?: UserProps;
|
|
58
|
+
menuProps?: MenuProps;
|
|
59
|
+
styles?: React.CSSProperties;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
interface ContainerProps {
|
|
63
|
+
children: React.ReactNode;
|
|
64
|
+
headerProps: HeaderProps;
|
|
65
|
+
styles?: React.CSSProperties;
|
|
66
|
+
}
|
|
67
|
+
export const Container: React.FC<ContainerProps>;
|
|
68
|
+
|
|
69
|
+
interface UserData {
|
|
70
|
+
id: number;
|
|
71
|
+
companyId: number;
|
|
72
|
+
roleId: number;
|
|
73
|
+
username: string;
|
|
74
|
+
email: string;
|
|
75
|
+
name: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface Session {
|
|
79
|
+
user: UserData;
|
|
80
|
+
accessToken: string;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface LoginProps {
|
|
84
|
+
title?: string;
|
|
85
|
+
subtitle?: string;
|
|
86
|
+
redirectPath?: string;
|
|
87
|
+
storeSession?: boolean;
|
|
88
|
+
onSuccess?: (session: Session) => void;
|
|
89
|
+
onFailure?: () => void;
|
|
90
|
+
onCancel?: () => void;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export const useLogin: (scope: string, loginProps?: LoginProps) => () => void;
|
|
94
|
+
|
|
95
|
+
interface LoginStatus {
|
|
96
|
+
status: "connected" | "not_authorized" | "unknown";
|
|
97
|
+
authResponse?: {
|
|
98
|
+
user: UserData;
|
|
99
|
+
accessToken: string;
|
|
100
|
+
tokenType: string;
|
|
101
|
+
expiresIn: string;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export const useLoginStatus: () => LoginStatus;
|
|
106
|
+
|
|
107
|
+
export const logout: () => void;
|
|
108
|
+
|
|
109
|
+
export const setLocale: (lang: string) => void;
|
|
110
|
+
|
|
111
|
+
export const notify: typeof toast;
|
|
112
|
+
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
<svg width="1234" height="856" viewBox="0 0 1234 856" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<mask id="mask0_2447_40180" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1234" height="856">
|
|
3
|
-
<rect width="1234" height="856" rx="4" fill="url(#paint0_linear_2447_40180)"/>
|
|
4
|
-
</mask>
|
|
5
|
-
<g mask="url(#mask0_2447_40180)">
|
|
6
|
-
<path d="M938.46 -10H921.49L-10 921.49V938.46L938.46 -10Z" fill="black" fill-opacity="0.1"/>
|
|
7
|
-
<path d="M904.52 -10H887.54L-10 887.54V904.52L904.52 -10Z" fill="black" fill-opacity="0.1"/>
|
|
8
|
-
<path d="M870.58 -10H853.6L-10 853.6V870.58L870.58 -10Z" fill="black" fill-opacity="0.1"/>
|
|
9
|
-
<path d="M1006.34 -10H989.37L-10 989.37V1006.34L1006.34 -10Z" fill="black" fill-opacity="0.1"/>
|
|
10
|
-
<path d="M972.4 -10H955.43L-10 955.43V972.4L972.4 -10Z" fill="black" fill-opacity="0.1"/>
|
|
11
|
-
<path d="M836.63 -10H819.66L-10 819.66V836.63L836.63 -10Z" fill="black" fill-opacity="0.1"/>
|
|
12
|
-
<path d="M768.75 -10H751.78L-10 751.78V768.75L768.75 -10Z" fill="black" fill-opacity="0.1"/>
|
|
13
|
-
<path d="M1040.28 -10H1023.31L-10 1023.31V1040.28L1040.28 -10Z" fill="black" fill-opacity="0.1"/>
|
|
14
|
-
<path d="M802.69 -10H785.72L-10 785.72V802.69L802.69 -10Z" fill="black" fill-opacity="0.1"/>
|
|
15
|
-
<path d="M734.81 -10H717.84L-10 717.84V734.81L734.81 -10Z" fill="black" fill-opacity="0.1"/>
|
|
16
|
-
<path d="M1447.57 -10H1430.6L350.6 1070H367.57L1447.57 -10Z" fill="black" fill-opacity="0.1"/>
|
|
17
|
-
<path d="M1379.69 -10H1362.72L282.72 1070H299.69L1379.69 -10Z" fill="black" fill-opacity="0.1"/>
|
|
18
|
-
<path d="M1311.81 -10H1294.84L214.84 1070H231.81L1311.81 -10Z" fill="black" fill-opacity="0.1"/>
|
|
19
|
-
<path d="M1345.75 -10H1328.78L248.78 1070H265.75L1345.75 -10Z" fill="black" fill-opacity="0.1"/>
|
|
20
|
-
<path d="M700.87 -10H683.9L-10 683.9V700.87L700.87 -10Z" fill="black" fill-opacity="0.1"/>
|
|
21
|
-
<path d="M1413.63 -10H1396.66L316.66 1070H333.63L1413.63 -10Z" fill="black" fill-opacity="0.1"/>
|
|
22
|
-
<path d="M1142.1 -10H1125.13L45.13 1070H62.1L1142.1 -10Z" fill="black" fill-opacity="0.1"/>
|
|
23
|
-
<path d="M1108.16 -10H1091.19L11.19 1070H28.16L1108.16 -10Z" fill="black" fill-opacity="0.1"/>
|
|
24
|
-
<path d="M1176.04 -10H1159.07L79.07 1070H96.04L1176.04 -10Z" fill="black" fill-opacity="0.1"/>
|
|
25
|
-
<path d="M1243.93 -10H1226.96L146.96 1070H163.93L1243.93 -10Z" fill="black" fill-opacity="0.1"/>
|
|
26
|
-
<path d="M1209.99 -10H1193.02L113.02 1070H129.99L1209.99 -10Z" fill="black" fill-opacity="0.1"/>
|
|
27
|
-
<path d="M1277.87 -10H1260.9L180.9 1070H197.87L1277.87 -10Z" fill="black" fill-opacity="0.1"/>
|
|
28
|
-
<path d="M429.34 -10H412.37L-10 412.37V429.34L429.34 -10Z" fill="black" fill-opacity="0.1"/>
|
|
29
|
-
<path d="M157.81 -10H140.84L-10 140.84V157.81L157.81 -10Z" fill="black" fill-opacity="0.1"/>
|
|
30
|
-
<path d="M191.75 -10H174.78L-10 174.78V191.75L191.75 -10Z" fill="black" fill-opacity="0.1"/>
|
|
31
|
-
<path d="M123.87 -10H106.9L-10 106.9V123.87L123.87 -10Z" fill="black" fill-opacity="0.1"/>
|
|
32
|
-
<path d="M225.69 -10H208.72L-10 208.72V225.69L225.69 -10Z" fill="black" fill-opacity="0.1"/>
|
|
33
|
-
<path d="M259.63 -10H242.66L-10 242.66V259.63L259.63 -10Z" fill="black" fill-opacity="0.1"/>
|
|
34
|
-
<path d="M1057.25 -10L-10 1057.25V1070H-5.78L1074.22 -10H1057.25Z" fill="black" fill-opacity="0.1"/>
|
|
35
|
-
<path d="M293.57 -10H276.61L-10 276.61V293.57L293.57 -10Z" fill="black" fill-opacity="0.1"/>
|
|
36
|
-
<path d="M22.05 -10H5.08L-10 5.08V22.05L22.05 -10Z" fill="black" fill-opacity="0.1"/>
|
|
37
|
-
<path d="M55.99 -10H39.02L-10 39.02V55.99L55.99 -10Z" fill="black" fill-opacity="0.1"/>
|
|
38
|
-
<path d="M89.93 -10H72.96L-10 72.96V89.93L89.93 -10Z" fill="black" fill-opacity="0.1"/>
|
|
39
|
-
<path d="M1481.52 -10H1464.54L384.54 1070H401.51L1481.52 -10Z" fill="black" fill-opacity="0.1"/>
|
|
40
|
-
<path d="M565.1 -10H548.13L-10 548.13V565.1L565.1 -10Z" fill="black" fill-opacity="0.1"/>
|
|
41
|
-
<path d="M497.22 -10H480.25L-10 480.25V497.22L497.22 -10Z" fill="black" fill-opacity="0.1"/>
|
|
42
|
-
<path d="M327.52 -10H310.55L-10 310.55V327.52L327.52 -10Z" fill="black" fill-opacity="0.1"/>
|
|
43
|
-
<path d="M632.99 -10H616.02L-10 616.02V632.99L632.99 -10Z" fill="black" fill-opacity="0.1"/>
|
|
44
|
-
<path d="M599.04 -10H582.08L-10 582.08V599.04L599.04 -10Z" fill="black" fill-opacity="0.1"/>
|
|
45
|
-
<path d="M531.16 -10H514.19L-10 514.19V531.16L531.16 -10Z" fill="black" fill-opacity="0.1"/>
|
|
46
|
-
<path d="M463.28 -10H446.31L-10 446.31V463.28L463.28 -10Z" fill="black" fill-opacity="0.1"/>
|
|
47
|
-
<path d="M361.46 -10H344.49L-10 344.49V361.46L361.46 -10Z" fill="black" fill-opacity="0.1"/>
|
|
48
|
-
<path d="M395.4 -10H378.43L-10 378.43V395.4L395.4 -10Z" fill="black" fill-opacity="0.1"/>
|
|
49
|
-
<path d="M666.93 -10H649.96L-10 649.96V666.93L666.93 -10Z" fill="black" fill-opacity="0.1"/>
|
|
50
|
-
<path d="M1910 410.04V393.07L1233.07 1070H1250.04L1910 410.04Z" fill="black" fill-opacity="0.1"/>
|
|
51
|
-
<path d="M1910 342.16V325.19L1165.19 1070H1182.16L1910 342.16Z" fill="black" fill-opacity="0.1"/>
|
|
52
|
-
<path d="M1910 579.75V562.78L1402.78 1070H1419.75L1910 579.75Z" fill="black" fill-opacity="0.1"/>
|
|
53
|
-
<path d="M1910 613.69V596.72L1436.72 1070H1453.69L1910 613.69Z" fill="black" fill-opacity="0.1"/>
|
|
54
|
-
<path d="M1910 681.57V664.6L1504.6 1070H1521.57L1910 681.57Z" fill="black" fill-opacity="0.1"/>
|
|
55
|
-
<path d="M1910 647.63V630.66L1470.66 1070H1487.63L1910 647.63Z" fill="black" fill-opacity="0.1"/>
|
|
56
|
-
<path d="M1910 376.1V359.13L1199.13 1070H1216.1L1910 376.1Z" fill="black" fill-opacity="0.1"/>
|
|
57
|
-
<path d="M1910 443.98V427.01L1267.01 1070H1283.98L1910 443.98Z" fill="black" fill-opacity="0.1"/>
|
|
58
|
-
<path d="M1910 511.87V494.9L1334.9 1070H1351.87L1910 511.87Z" fill="black" fill-opacity="0.1"/>
|
|
59
|
-
<path d="M1910 715.51V698.54L1538.54 1070H1555.51L1910 715.51Z" fill="black" fill-opacity="0.1"/>
|
|
60
|
-
<path d="M1910 477.93V460.95L1300.95 1070H1317.92L1910 477.93Z" fill="black" fill-opacity="0.1"/>
|
|
61
|
-
<path d="M1910 545.81V528.84L1368.84 1070H1385.81L1910 545.81Z" fill="black" fill-opacity="0.1"/>
|
|
62
|
-
<path d="M1910 953.1V936.13L1776.13 1070H1793.1L1910 953.1Z" fill="black" fill-opacity="0.1"/>
|
|
63
|
-
<path d="M1910 919.16V902.19L1742.19 1070H1759.16L1910 919.16Z" fill="black" fill-opacity="0.1"/>
|
|
64
|
-
<path d="M1910 987.04V970.07L1810.07 1070H1827.04L1910 987.04Z" fill="black" fill-opacity="0.1"/>
|
|
65
|
-
<path d="M1910 749.45V732.48L1572.48 1070H1589.45L1910 749.45Z" fill="black" fill-opacity="0.1"/>
|
|
66
|
-
<path d="M1910 1054.92V1037.95L1877.95 1070H1894.92L1910 1054.92Z" fill="black" fill-opacity="0.1"/>
|
|
67
|
-
<path d="M1910 1020.98V1004.01L1844.01 1070H1860.98L1910 1020.98Z" fill="black" fill-opacity="0.1"/>
|
|
68
|
-
<path d="M1910 783.39V766.42L1606.42 1070H1623.39L1910 783.39Z" fill="black" fill-opacity="0.1"/>
|
|
69
|
-
<path d="M1910 817.34V800.37L1640.37 1070H1657.34L1910 817.34Z" fill="black" fill-opacity="0.1"/>
|
|
70
|
-
<path d="M1910 851.28V834.31L1674.31 1070H1691.28L1910 851.28Z" fill="black" fill-opacity="0.1"/>
|
|
71
|
-
<path d="M1910 885.22V868.25L1708.25 1070H1725.22L1910 885.22Z" fill="black" fill-opacity="0.1"/>
|
|
72
|
-
<path d="M1910 308.22V291.25L1131.25 1070H1148.22L1910 308.22Z" fill="black" fill-opacity="0.1"/>
|
|
73
|
-
<path d="M1719.1 -10H1702.13L622.13 1070H639.1L1719.1 -10Z" fill="black" fill-opacity="0.1"/>
|
|
74
|
-
<path d="M1753.04 -10H1736.07L656.07 1070H673.04L1753.04 -10Z" fill="black" fill-opacity="0.1"/>
|
|
75
|
-
<path d="M1820.93 -10H1803.96L723.96 1070H740.93L1820.93 -10Z" fill="black" fill-opacity="0.1"/>
|
|
76
|
-
<path d="M1786.98 -10H1770.01L690.01 1070H706.99L1786.98 -10Z" fill="black" fill-opacity="0.1"/>
|
|
77
|
-
<path d="M1854.87 -10H1837.9L757.9 1070H774.87L1854.87 -10Z" fill="black" fill-opacity="0.1"/>
|
|
78
|
-
<path d="M1685.16 -10H1668.19L588.19 1070H605.16L1685.16 -10Z" fill="black" fill-opacity="0.1"/>
|
|
79
|
-
<path d="M1583.34 -10H1566.37L486.37 1070H503.34L1583.34 -10Z" fill="black" fill-opacity="0.1"/>
|
|
80
|
-
<path d="M1549.4 -10H1532.43L452.43 1070H469.4L1549.4 -10Z" fill="black" fill-opacity="0.1"/>
|
|
81
|
-
<path d="M1651.22 -10H1634.25L554.25 1070H571.22L1651.22 -10Z" fill="black" fill-opacity="0.1"/>
|
|
82
|
-
<path d="M1617.28 -10H1600.31L520.31 1070H537.28L1617.28 -10Z" fill="black" fill-opacity="0.1"/>
|
|
83
|
-
<path d="M1910 36.69V19.72L859.72 1070H876.69L1910 36.69Z" fill="black" fill-opacity="0.1"/>
|
|
84
|
-
<path d="M1910 206.4V189.43L1029.42 1070H1046.4L1910 206.4Z" fill="black" fill-opacity="0.1"/>
|
|
85
|
-
<path d="M1910 172.46V155.48L995.48 1070H1012.46L1910 172.46Z" fill="black" fill-opacity="0.1"/>
|
|
86
|
-
<path d="M1910 240.34V223.37L1063.37 1070H1080.34L1910 240.34Z" fill="black" fill-opacity="0.1"/>
|
|
87
|
-
<path d="M1910 138.51V121.54L961.54 1070H978.51L1910 138.51Z" fill="black" fill-opacity="0.1"/>
|
|
88
|
-
<path d="M1888.81 -10H1871.84L791.84 1070H808.81L1888.81 -10Z" fill="black" fill-opacity="0.1"/>
|
|
89
|
-
<path d="M1910 274.28V257.31L1097.31 1070H1114.28L1910 274.28Z" fill="black" fill-opacity="0.1"/>
|
|
90
|
-
<path d="M1515.46 -10H1498.48L418.49 1070H435.46L1515.46 -10Z" fill="black" fill-opacity="0.1"/>
|
|
91
|
-
<path d="M1910 2.75V-10H1905.78L825.78 1070H842.75L1910 2.75Z" fill="black" fill-opacity="0.1"/>
|
|
92
|
-
<path d="M1910 70.63V53.66L893.66 1070H910.63L1910 70.63Z" fill="black" fill-opacity="0.1"/>
|
|
93
|
-
<path d="M1910 104.57V87.6L927.6 1070H944.57L1910 104.57Z" fill="black" fill-opacity="0.1"/>
|
|
94
|
-
</g>
|
|
95
|
-
<defs>
|
|
96
|
-
<linearGradient id="paint0_linear_2447_40180" x1="1234" y1="856" x2="782.526" y2="-256.085" gradientUnits="userSpaceOnUse">
|
|
97
|
-
<stop stop-opacity="0.5"/>
|
|
98
|
-
<stop offset="1" stop-opacity="0"/>
|
|
99
|
-
</linearGradient>
|
|
100
|
-
</defs>
|
|
101
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import App from "./app/components/app";
|
|
2
|
-
import Container from "./app/components/container";
|
|
3
|
-
import useLogin from "./app/hooks/useLogin";
|
|
4
|
-
import useLoginStatus from "./app/hooks/useLoginStatus";
|
|
5
|
-
export function logout(): Promise<void>;
|
|
6
|
-
export function setLocale(locale: any): void;
|
|
7
|
-
import toast from "react-hot-toast";
|
|
8
|
-
export { App, Container, useLogin, useLoginStatus, toast as notify };
|