sevago-sso-fe 1.0.22 → 1.0.24
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/README.md +162 -38
- package/dist/components/styles/typography.style.d.ts +1 -1
- package/dist/index.cjs.js +12232 -13358
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12235 -13361
- package/dist/index.esm.js.map +1 -1
- package/dist/layouts/index.d.ts +0 -1
- package/dist/pages/dashboard/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/layouts/dashboard.layout.d.ts +0 -5
- package/dist/pages/dashboard/sidebar/index.d.ts +0 -6
- package/dist/pages/dashboard/sidebar/sidebar-left.part.d.ts +0 -5
- package/dist/pages/dashboard/sidebar/sidebar-menu/expand-menu-item.component.d.ts +0 -9
- package/dist/pages/dashboard/sidebar/sidebar-menu/index.d.ts +0 -6
- package/dist/pages/dashboard/sidebar/sidebar-menu/menu-item.component.d.ts +0 -10
- package/dist/pages/dashboard/sidebar/sidebar-menu/menu-styles.d.ts +0 -42
- package/dist/pages/dashboard/sidebar/sidebar-menu/sidebar-menu-expand.component.d.ts +0 -7
- package/dist/pages/dashboard/sidebar/sidebar-menu/sidebar-menu.component.d.ts +0 -7
- package/dist/pages/dashboard/sidebar/sidebar-menu/submenu-list.component.d.ts +0 -10
- package/dist/pages/dashboard/sidebar/sidebar.constant.d.ts +0 -112
- package/dist/pages/dashboard/sidebar/sidebar.part.d.ts +0 -3
- package/dist/pages/dashboard/sidebar/sidebar.provider.d.ts +0 -4
package/dist/layouts/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { SidebarLeftPart } from './sidebar-left.part';
|
|
2
|
-
export * from './sidebar-menu';
|
|
3
|
-
export { DASHBOARD_HR_SIDEBAR, DASHBOARD_HRM_SIDEBAR, DASHBOARD_TREE_SYSTEM_SIDEBAR, } from './sidebar.constant';
|
|
4
|
-
export { SidebarContext } from './sidebar.context';
|
|
5
|
-
export { SidebarPart } from './sidebar.part';
|
|
6
|
-
export { SidebarProvider } from './sidebar.provider';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { AppModule } from '../../../../common';
|
|
3
|
-
interface ExpandMenuProps {
|
|
4
|
-
item: AppModule;
|
|
5
|
-
onItemClick: (path?: string) => void;
|
|
6
|
-
isItemActive: (item: AppModule) => boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const ExpandMenuItem: React.FC<ExpandMenuProps>;
|
|
9
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ExpandMenuItem } from './expand-menu-item.component';
|
|
2
|
-
export { MenuItem } from './menu-item.component';
|
|
3
|
-
export { menuItemStyles } from './menu-styles';
|
|
4
|
-
export { SidebarMenuExpand } from './sidebar-menu-expand.component';
|
|
5
|
-
export { SidebarMenu } from './sidebar-menu.component';
|
|
6
|
-
export { SubmenuList } from './submenu-list.component';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { AppModule } from '../../../../common';
|
|
3
|
-
interface MenuItemProps {
|
|
4
|
-
item: AppModule;
|
|
5
|
-
isSelected: boolean;
|
|
6
|
-
isExpanded?: boolean;
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const MenuItem: React.FC<MenuItemProps>;
|
|
10
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Theme } from '@mui/material';
|
|
2
|
-
export declare const menuItemStyles: {
|
|
3
|
-
listItem: (isSelected: boolean) => {
|
|
4
|
-
marginY: string;
|
|
5
|
-
gap: string;
|
|
6
|
-
cursor: string;
|
|
7
|
-
borderRadius: string;
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
padding: string;
|
|
10
|
-
overflow: string;
|
|
11
|
-
"&:hover": {
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
submenuItem: {
|
|
16
|
-
marginY: string;
|
|
17
|
-
gap: string;
|
|
18
|
-
cursor: string;
|
|
19
|
-
borderRadius: string;
|
|
20
|
-
padding: string;
|
|
21
|
-
overflow: string;
|
|
22
|
-
"&:hover": {
|
|
23
|
-
backgroundColor: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
expandMenuTypography: (theme: Theme, isActive: boolean) => {
|
|
27
|
-
position: string;
|
|
28
|
-
display: string;
|
|
29
|
-
color: string;
|
|
30
|
-
fontWeight: string | number;
|
|
31
|
-
lineHeight: string;
|
|
32
|
-
"&:hover": {
|
|
33
|
-
color: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
iconExpandMenu: (isExpanded: boolean | undefined) => {
|
|
37
|
-
transition: string;
|
|
38
|
-
transform: string;
|
|
39
|
-
display: string;
|
|
40
|
-
alignItems: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { AppModule } from '../../../../common';
|
|
3
|
-
interface SubmenuListProps {
|
|
4
|
-
items: AppModule[];
|
|
5
|
-
isExpanded: boolean;
|
|
6
|
-
isItemSelected: (item: AppModule) => boolean;
|
|
7
|
-
onItemClick: (item: AppModule) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const SubmenuList: React.FC<SubmenuListProps>;
|
|
10
|
-
export {};
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { AppCategory, AppType } from '../../../common';
|
|
2
|
-
export declare const DASHBOARD_HR_SIDEBAR: ({
|
|
3
|
-
key: string;
|
|
4
|
-
title: string;
|
|
5
|
-
caption: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
path: string;
|
|
8
|
-
category: AppCategory;
|
|
9
|
-
allowUserTypes: import('../../..').UserType[];
|
|
10
|
-
type?: undefined;
|
|
11
|
-
children?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
key: string;
|
|
14
|
-
title: string;
|
|
15
|
-
caption: string;
|
|
16
|
-
icon: string;
|
|
17
|
-
category: AppCategory;
|
|
18
|
-
allowUserTypes: import('../../..').UserType[];
|
|
19
|
-
type: AppType;
|
|
20
|
-
children: {
|
|
21
|
-
key: string;
|
|
22
|
-
title: string;
|
|
23
|
-
caption: string;
|
|
24
|
-
icon: string;
|
|
25
|
-
category: AppCategory;
|
|
26
|
-
allowUserTypes: import('../../..').UserType[];
|
|
27
|
-
children: {
|
|
28
|
-
key: string;
|
|
29
|
-
title: string;
|
|
30
|
-
caption: string;
|
|
31
|
-
icon: string;
|
|
32
|
-
path: string;
|
|
33
|
-
category: AppCategory;
|
|
34
|
-
allowUserTypes: import('../../..').UserType[];
|
|
35
|
-
}[];
|
|
36
|
-
}[];
|
|
37
|
-
path?: undefined;
|
|
38
|
-
})[];
|
|
39
|
-
export declare const DASHBOARD_HRM_SIDEBAR: ({
|
|
40
|
-
key: string;
|
|
41
|
-
title: string;
|
|
42
|
-
caption: string;
|
|
43
|
-
icon: string;
|
|
44
|
-
path: string;
|
|
45
|
-
category: AppCategory;
|
|
46
|
-
allowUserTypes: import('../../..').UserType[];
|
|
47
|
-
type?: undefined;
|
|
48
|
-
children?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
key: string;
|
|
51
|
-
title: string;
|
|
52
|
-
caption: string;
|
|
53
|
-
icon: string;
|
|
54
|
-
category: AppCategory;
|
|
55
|
-
allowUserTypes: import('../../..').UserType[];
|
|
56
|
-
type: AppType;
|
|
57
|
-
children: {
|
|
58
|
-
key: string;
|
|
59
|
-
title: string;
|
|
60
|
-
caption: string;
|
|
61
|
-
icon: string;
|
|
62
|
-
category: AppCategory;
|
|
63
|
-
allowUserTypes: import('../../..').UserType[];
|
|
64
|
-
children: {
|
|
65
|
-
key: string;
|
|
66
|
-
title: string;
|
|
67
|
-
caption: string;
|
|
68
|
-
icon: string;
|
|
69
|
-
path: string;
|
|
70
|
-
category: AppCategory;
|
|
71
|
-
allowUserTypes: import('../../..').UserType[];
|
|
72
|
-
}[];
|
|
73
|
-
}[];
|
|
74
|
-
path?: undefined;
|
|
75
|
-
})[];
|
|
76
|
-
export declare const DASHBOARD_TREE_SYSTEM_SIDEBAR: ({
|
|
77
|
-
key: string;
|
|
78
|
-
title: string;
|
|
79
|
-
caption: string;
|
|
80
|
-
icon: string;
|
|
81
|
-
path: string;
|
|
82
|
-
category: AppCategory;
|
|
83
|
-
allowUserTypes: import('../../..').UserType[];
|
|
84
|
-
type?: undefined;
|
|
85
|
-
children?: undefined;
|
|
86
|
-
} | {
|
|
87
|
-
key: string;
|
|
88
|
-
title: string;
|
|
89
|
-
caption: string;
|
|
90
|
-
icon: string;
|
|
91
|
-
category: AppCategory;
|
|
92
|
-
allowUserTypes: import('../../..').UserType[];
|
|
93
|
-
type: AppType;
|
|
94
|
-
children: {
|
|
95
|
-
key: string;
|
|
96
|
-
title: string;
|
|
97
|
-
caption: string;
|
|
98
|
-
icon: string;
|
|
99
|
-
category: AppCategory;
|
|
100
|
-
allowUserTypes: import('../../..').UserType[];
|
|
101
|
-
children: {
|
|
102
|
-
key: string;
|
|
103
|
-
title: string;
|
|
104
|
-
caption: string;
|
|
105
|
-
icon: string;
|
|
106
|
-
path: string;
|
|
107
|
-
category: AppCategory;
|
|
108
|
-
allowUserTypes: import('../../..').UserType[];
|
|
109
|
-
}[];
|
|
110
|
-
}[];
|
|
111
|
-
path?: undefined;
|
|
112
|
-
})[];
|