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.
@@ -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,4 +1,4 @@
1
- import { SxProps } from '@mui/material';
1
+ import { SxProps } from '@mui/material/styles';
2
2
  interface IProps {
3
3
  sx?: SxProps;
4
4
  }
@@ -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
- export interface IState {
7
- languages: string[]
8
- menuData: []
9
- isMenuIconsShow: boolean
10
- isLoading: boolean
11
- toggles: {
12
- appMenus: boolean
13
- notification: boolean
14
- logout: boolean
15
- lang: boolean
16
- dropDownMenu: boolean
17
- changePassword: boolean
18
- viewProfile: boolean
19
- }
20
- }
21
-
22
- export interface INotificationState {
23
- notificationData: Notification[]
24
- page: number
25
- currentPage: number
26
- lastPage: number
27
- requestAcceptedDialog?: boolean
28
- userRequest?: any
29
- }
30
-
31
- export interface IUserDataProps {
32
- userprofile: string
33
- certId: string | number
34
- email: string
35
- role: string
36
- fullName: string
37
- appName: (typeof APP_NAMES)[keyof typeof APP_NAMES]
38
- appAccess?: {
39
- name: string
40
- icon: string
41
- link: string
42
- type: "tab" | "app"
43
- }[]
44
- bio: string
45
- title: string
46
- company: string
47
- certBio: string
48
- certProfileUrl: string
49
- certOfferToHelp: string
50
- certification: string[]
51
- country: string
52
- languages: string[]
53
- areaOfWork: string[]
54
- linkedInUrl: string
55
- notificationCount: number
56
- }
57
-
58
- export interface IInterFaceLang {
59
- id: number
60
- label: string
61
- value: string | number
62
- flag: string
63
- }
64
-
65
- export interface IHeaderProps {
66
- t: t
67
- router?: any
68
- notificationAccessApps?: {
69
- name: string
70
- }[]
71
- userData?: IUserDataProps
72
- interFaceLangList?: IInterFaceLang[]
73
- toggleSiderMenu?: any
74
- updateInterfaceLang?: any
75
- logoutHandler?: any
76
- selectedInterFaceLang?: IInterFaceLang
77
- isNotification?: boolean
78
- isMenu?: boolean
79
- isAccessAppMenu?: boolean
80
- extraMenuOptions?: {
81
- components: React.ReactNode
82
- isViewProfile: boolean
83
- isChangePassword: boolean
84
- isEditProfile: boolean
85
- }
86
- sx?: SxProps
87
- logo?: React.ReactNode
88
- frontCustomComponent?: React.ReactNode
89
- centerCustomComponents?: React.ReactNode
90
- endCustomComponents?: React.ReactNode
91
- totallyEndCustomComponent?: React.ReactNode
92
- isMainLogo?: boolean
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 {};