sixseconds-modules 1.6.161 → 1.6.164
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/components/buttons/button.d.ts +2 -1
- package/dist/components/elements/logo.d.ts +1 -1
- package/dist/components/header/type.d.ts +89 -91
- package/dist/components/inputFields/labeledInput.d.ts +3 -1
- package/dist/index.cjs.js +663 -577
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +661 -575
- package/dist/index.es.js.map +1 -1
- package/dist/types/custom.d.ts +23 -25
- package/dist/types/htmlElements.d.ts +5 -7
- package/dist/types/index.d.ts +4 -4
- package/dist/types/reactTypes.d.ts +3 -5
- package/dist/vite-env.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { ButtonProps } from '@mui/material';
|
|
2
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '@mui/material/Button';
|
|
3
3
|
interface ICostumeButton extends ButtonProps {
|
|
4
4
|
icon?: React.ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
btnTitle?: string | ReactNode;
|
|
8
8
|
isLoading?: boolean;
|
|
9
|
+
[key: string]: any;
|
|
9
10
|
}
|
|
10
11
|
export declare function Button({ isLoading, btnTitle, className, disabled, ...rest }: ICostumeButton): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -1,94 +1,92 @@
|
|
|
1
1
|
import { APP_NAMES } from '../../constants';
|
|
2
2
|
import { t } from '../../types';
|
|
3
3
|
import { SxProps } from '@mui/material';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
handleSideToggle?: any
|
|
94
|
-
}
|
|
4
|
+
export interface IState {
|
|
5
|
+
languages: string[]
|
|
6
|
+
menuData: []
|
|
7
|
+
isMenuIconsShow: boolean
|
|
8
|
+
isLoading: boolean
|
|
9
|
+
toggles: {
|
|
10
|
+
appMenus: boolean
|
|
11
|
+
notification: boolean
|
|
12
|
+
logout: boolean
|
|
13
|
+
lang: boolean
|
|
14
|
+
dropDownMenu: boolean
|
|
15
|
+
changePassword: boolean
|
|
16
|
+
viewProfile: boolean
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface INotificationState {
|
|
21
|
+
notificationData: Notification[]
|
|
22
|
+
page: number
|
|
23
|
+
currentPage: number
|
|
24
|
+
lastPage: number
|
|
25
|
+
requestAcceptedDialog?: boolean
|
|
26
|
+
userRequest?: any
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface IUserDataProps {
|
|
30
|
+
userprofile: string
|
|
31
|
+
certId: string | number
|
|
32
|
+
email: string
|
|
33
|
+
role: string
|
|
34
|
+
fullName: string
|
|
35
|
+
appName: (typeof APP_NAMES)[keyof typeof APP_NAMES]
|
|
36
|
+
appAccess?: {
|
|
37
|
+
name: string
|
|
38
|
+
icon: string
|
|
39
|
+
link: string
|
|
40
|
+
type: "tab" | "app"
|
|
41
|
+
}[]
|
|
42
|
+
bio: string
|
|
43
|
+
title: string
|
|
44
|
+
company: string
|
|
45
|
+
certBio: string
|
|
46
|
+
certProfileUrl: string
|
|
47
|
+
certOfferToHelp: string
|
|
48
|
+
certification: string[]
|
|
49
|
+
country: string
|
|
50
|
+
languages: string[]
|
|
51
|
+
areaOfWork: string[]
|
|
52
|
+
linkedInUrl: string
|
|
53
|
+
notificationCount: number
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface IInterFaceLang {
|
|
57
|
+
id: number
|
|
58
|
+
label: string
|
|
59
|
+
value: string | number
|
|
60
|
+
flag: string
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface IHeaderProps {
|
|
64
|
+
t: t
|
|
65
|
+
router?: any
|
|
66
|
+
notificationAccessApps?: {
|
|
67
|
+
name: string
|
|
68
|
+
}[]
|
|
69
|
+
userData?: IUserDataProps
|
|
70
|
+
interFaceLangList?: IInterFaceLang[]
|
|
71
|
+
toggleSiderMenu?: any
|
|
72
|
+
updateInterfaceLang?: any
|
|
73
|
+
logoutHandler?: any
|
|
74
|
+
selectedInterFaceLang?: IInterFaceLang
|
|
75
|
+
isNotification?: boolean
|
|
76
|
+
isMenu?: boolean
|
|
77
|
+
isAccessAppMenu?: boolean
|
|
78
|
+
extraMenuOptions?: {
|
|
79
|
+
components: React.ReactNode
|
|
80
|
+
isViewProfile: boolean
|
|
81
|
+
isChangePassword: boolean
|
|
82
|
+
isEditProfile: boolean
|
|
83
|
+
}
|
|
84
|
+
sx?: SxProps
|
|
85
|
+
logo?: React.ReactNode
|
|
86
|
+
frontCustomComponent?: React.ReactNode
|
|
87
|
+
centerCustomComponents?: React.ReactNode
|
|
88
|
+
endCustomComponents?: React.ReactNode
|
|
89
|
+
totallyEndCustomComponent?: React.ReactNode
|
|
90
|
+
isMainLogo?: boolean
|
|
91
|
+
handleSideToggle?: any
|
|
92
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { StandardTextFieldProps, SxProps } from '@mui/material';
|
|
2
1
|
import { default as React } from 'react';
|
|
2
|
+
import { StandardTextFieldProps } from '@mui/material/TextField';
|
|
3
|
+
import { SxProps } from '@mui/material/styles';
|
|
3
4
|
interface IInput extends StandardTextFieldProps {
|
|
4
5
|
label?: React.ReactNode;
|
|
5
6
|
Placeholder?: string;
|
|
@@ -10,6 +11,7 @@ interface IInput extends StandardTextFieldProps {
|
|
|
10
11
|
type?: string;
|
|
11
12
|
sx?: SxProps;
|
|
12
13
|
handleInput?: (val: any) => void;
|
|
14
|
+
[key: string]: any;
|
|
13
15
|
}
|
|
14
16
|
export declare function LabeledInput({ label, sx, type, name, value, Placeholder, required, handleInput, disabled, ...rest }: IInput): import("react/jsx-runtime").JSX.Element;
|
|
15
17
|
export {};
|