@campxdev/shared 1.1.2 → 1.1.3
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/package.json +1 -1
- package/src/components/Layout/Header/AppHeader.tsx +1 -1
- package/src/components/Layout/Header/AppsMenu.tsx +1 -1
- package/src/components/Layout/Header/UserBox.tsx +6 -5
- package/src/components/Layout/Header/applications.ts +7 -7
- package/.eslintignore +0 -4
- package/.eslintrc.js +0 -33
- package/.prettierrc +0 -10
- package/publish.sh +0 -2
- package/todo.md +0 -20
package/package.json
CHANGED
|
@@ -75,7 +75,7 @@ export default function AppHeader({
|
|
|
75
75
|
<AppLogo clientLogo={clientLogo} />
|
|
76
76
|
</Box>
|
|
77
77
|
<Box className="actions">
|
|
78
|
-
<HelpWidget />
|
|
78
|
+
{/* <HelpWidget /> */}
|
|
79
79
|
{/* <Notification /> */}
|
|
80
80
|
{cogWheelMenu?.length ? <CogWheelMenu menu={cogWheelMenu} /> : null}
|
|
81
81
|
<UserBox
|
|
@@ -9,6 +9,7 @@ import { ExitToAppOutlined, HttpsOutlined } from '@mui/icons-material'
|
|
|
9
9
|
import ConfirmationNumberOutlinedIcon from '@mui/icons-material/ConfirmationNumberOutlined'
|
|
10
10
|
import DialogWrapper from '../../DrawerWrapper/DialogWrapper'
|
|
11
11
|
import MyTickets from '../Tickets/MyTickets'
|
|
12
|
+
|
|
12
13
|
export default function UserBox({
|
|
13
14
|
username,
|
|
14
15
|
profileIcon,
|
|
@@ -55,11 +56,11 @@ export default function UserBox({
|
|
|
55
56
|
}
|
|
56
57
|
menu={[
|
|
57
58
|
...actions,
|
|
58
|
-
{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
},
|
|
59
|
+
// {
|
|
60
|
+
// label: 'My Tickets',
|
|
61
|
+
// icon: <ConfirmationNumberOutlinedIcon />,
|
|
62
|
+
// onClick: handleTicketOpen,
|
|
63
|
+
// },
|
|
63
64
|
|
|
64
65
|
{
|
|
65
66
|
label: 'Change Password',
|
|
@@ -50,13 +50,6 @@ export const applications = [
|
|
|
50
50
|
icon: examsSmall,
|
|
51
51
|
description: 'Manage all Examinations in the Campus',
|
|
52
52
|
},
|
|
53
|
-
{
|
|
54
|
-
title: 'HostelX',
|
|
55
|
-
key: 'hostel',
|
|
56
|
-
path: isDevelopment ? origins.hostel.dev : origins.hostel.prod,
|
|
57
|
-
icon: hostelSmall,
|
|
58
|
-
description: 'Manage Hostels in the Campus',
|
|
59
|
-
},
|
|
60
53
|
{
|
|
61
54
|
title: 'PayX',
|
|
62
55
|
key: 'payments',
|
|
@@ -64,6 +57,13 @@ export const applications = [
|
|
|
64
57
|
icon: paySmall,
|
|
65
58
|
description: 'Manage Payments in the Campus',
|
|
66
59
|
},
|
|
60
|
+
{
|
|
61
|
+
title: 'HostelX',
|
|
62
|
+
key: 'hostel',
|
|
63
|
+
path: isDevelopment ? origins.hostel.dev : origins.hostel.prod,
|
|
64
|
+
icon: hostelSmall,
|
|
65
|
+
description: 'Manage Hostels in the Campus',
|
|
66
|
+
},
|
|
67
67
|
{
|
|
68
68
|
title: 'CommuteX',
|
|
69
69
|
key: 'commute',
|
package/.eslintignore
DELETED
package/.eslintrc.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
browser: true,
|
|
4
|
-
es2021: true,
|
|
5
|
-
jest: true,
|
|
6
|
-
},
|
|
7
|
-
parser: '@typescript-eslint/parser',
|
|
8
|
-
extends: ['prettier'],
|
|
9
|
-
overrides: [],
|
|
10
|
-
parserOptions: {
|
|
11
|
-
ecmaVersion: 'latest',
|
|
12
|
-
sourceType: 'module',
|
|
13
|
-
ecmaFeatures: {
|
|
14
|
-
jsx: true,
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
settings: {
|
|
18
|
-
'import/resolver': {
|
|
19
|
-
typescript: {},
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
plugins: ['react', '@typescript-eslint', 'prettier'],
|
|
23
|
-
rules: {
|
|
24
|
-
'react/react-in-jsx-scope': 'off',
|
|
25
|
-
'no-duplicate-imports': 'error',
|
|
26
|
-
'no-console': 'warn',
|
|
27
|
-
'react/prop-types': ['off'],
|
|
28
|
-
'react/jsx-key': ['warn'],
|
|
29
|
-
'react/no-unescaped-entities': 'off',
|
|
30
|
-
'spaced-comment': 'off',
|
|
31
|
-
},
|
|
32
|
-
ignorePatterns: ['**/*.html'],
|
|
33
|
-
}
|
package/.prettierrc
DELETED
package/publish.sh
DELETED
package/todo.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#todo
|
|
2
|
-
1.errorBoundary
|
|
3
|
-
2.fullcalendar
|
|
4
|
-
|
|
5
|
-
6.row
|
|
6
|
-
|
|
7
|
-
#done today
|
|
8
|
-
|
|
9
|
-
4.nodatallustration
|
|
10
|
-
7.searchBar
|
|
11
|
-
11.uploadFileDialog
|
|
12
|
-
3.meadiaRow
|
|
13
|
-
|
|
14
|
-
8.stepsHeader
|
|
15
|
-
|
|
16
|
-
#later
|
|
17
|
-
11.uploadButon
|
|
18
|
-
12.uploadDocuments
|
|
19
|
-
5.popupconfirm
|
|
20
|
-
1.ReactTable
|