sevago-sso-fe 1.0.13 → 1.0.15

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.
@@ -0,0 +1 @@
1
+ export { SidebarPart } from './sidebar.part';
@@ -0,0 +1,3 @@
1
+ export interface SidebarPartProps {
2
+ }
3
+ export declare const SidebarPart: React.FC<SidebarPartProps>;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export interface SidebarLeftPartProps {
3
+ autoCollapse?: boolean;
4
+ }
5
+ export declare const SidebarLeftPart: React.FC<SidebarLeftPartProps>;
@@ -0,0 +1,9 @@
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 {};
@@ -0,0 +1,10 @@
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 {};
@@ -0,0 +1,42 @@
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
+ };
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { AppModule } from '../../../../common';
3
+ interface SidebarMenuExpandProps {
4
+ items: AppModule[];
5
+ }
6
+ export declare const SidebarMenuExpand: React.FC<SidebarMenuExpandProps>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { AppModule } from '../../../../common';
3
+ interface SidebarMenuProps {
4
+ items: AppModule[];
5
+ }
6
+ export declare const SidebarMenu: React.FC<SidebarMenuProps>;
7
+ export {};
@@ -0,0 +1,10 @@
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 {};
@@ -0,0 +1,112 @@
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
+ })[];
@@ -0,0 +1,3 @@
1
+ export interface SidebarPartProps {
2
+ }
3
+ export declare const SidebarPart: React.FC<SidebarPartProps>;
@@ -121,6 +121,11 @@ export declare const DASHBOARD_SCREEN: {
121
121
  type: RouteType;
122
122
  allowUserTypes: UserType[];
123
123
  };
124
+ TASK_OF_ME: {
125
+ path: string;
126
+ type: RouteType;
127
+ allowUserTypes: UserType[];
128
+ };
124
129
  ORG_UNIT_TREE: {
125
130
  path: string;
126
131
  type: RouteType;
@@ -146,6 +151,16 @@ export declare const DASHBOARD_SCREEN: {
146
151
  type: RouteType;
147
152
  allowUserTypes: UserType[];
148
153
  };
154
+ USER_TITLE: {
155
+ path: string;
156
+ type: RouteType;
157
+ allowUserTypes: UserType[];
158
+ };
159
+ USER_UP_PERMISSIONS: {
160
+ path: string;
161
+ type: RouteType;
162
+ allowUserTypes: UserType[];
163
+ };
149
164
  USER: {
150
165
  path: string;
151
166
  type: RouteType;
@@ -213,11 +228,42 @@ export declare const DASHBOARD_SCREEN: {
213
228
  };
214
229
  };
215
230
  export declare const BOOKING_SCREEN: {
231
+ MAIN: {
232
+ path: string;
233
+ };
234
+ MY_MEETINGS: {
235
+ path: string;
236
+ };
216
237
  MEETING_SETTING: {
217
238
  path: string;
218
239
  };
219
240
  };
220
241
  export declare const WORKFLOW_ENGINE_SCREEN: {
242
+ PROPOSAL_GROUP: {
243
+ path: string;
244
+ type: RouteType;
245
+ allowUserTypes: UserType[];
246
+ };
247
+ PROPOSAL_GROUP_DETAIL: {
248
+ path: string;
249
+ type: RouteType;
250
+ allowUserTypes: UserType[];
251
+ };
252
+ PROPOSAL_HISTORY: {
253
+ path: string;
254
+ type: RouteType;
255
+ allowUserTypes: UserType[];
256
+ };
257
+ PROPOSAL_TEMPLATE: {
258
+ path: string;
259
+ type: RouteType;
260
+ allowUserTypes: UserType[];
261
+ };
262
+ PROPOSAL_CREATE_GROUP: {
263
+ path: string;
264
+ type: RouteType;
265
+ allowUserTypes: UserType[];
266
+ };
221
267
  PROPOSAL_JOB_RECRUITMENT: {
222
268
  path: string;
223
269
  type: RouteType;
@@ -265,6 +311,16 @@ export declare const WORKFLOW_ENGINE_SCREEN: {
265
311
  };
266
312
  };
267
313
  export declare const WORKFLOW_TRACKING_SCREEN: {
314
+ MANAGER_PROCESS: {
315
+ path: string;
316
+ type: RouteType;
317
+ allowUserTypes: UserType[];
318
+ };
319
+ MANAGER_PROCESS_SETTING: {
320
+ path: string;
321
+ type: RouteType;
322
+ allowUserTypes: UserType[];
323
+ };
268
324
  MY_TASK: {
269
325
  path: string;
270
326
  type: RouteType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sevago-sso-fe",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Sevago SSO Frontend Library - A comprehensive SSO solution with React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",