@campxdev/shared 1.10.73 → 1.10.75

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.10.73",
3
+ "version": "1.10.75",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -22,7 +22,6 @@ import SearchBar from '../FilterComponents/SearchBar'
22
22
  import { DialogButton, DrawerButton } from '../ModalButtons'
23
23
  import Table from '../Tables/BasicTable/Table'
24
24
  import DepartmentFilter from './DepartmentFilter'
25
- import ReactJoyRide from '../ReactJoyRide'
26
25
  // import Arrow, { DIRECTION } from 'react-arrows'
27
26
  import '../CustomJoyRideStyles.css'
28
27
 
@@ -164,33 +163,9 @@ function ApplicationProfile({
164
163
  })
165
164
  }
166
165
 
167
- const tourSteps = [
168
- {
169
- target: '.test',
170
- title: 'Adding User Profile Relation',
171
- content: (
172
- <Typography variant="subtitle1">
173
- Choose your Profile Relation from the pre-given dropdowns
174
- </Typography>
175
- ),
176
- disableBeacon: true,
177
- },
178
- {
179
- target: '.test2',
180
- title: 'Search By Name',
181
- content: (
182
- <Typography variant="subtitle1">
183
- You can also find the person by just typing his name away!
184
- </Typography>
185
- ),
186
- },
187
- ]
188
-
189
166
  if (profilesLoading) return <Spinner />
190
167
  return (
191
168
  <>
192
- <ReactJoyRide steps={tourSteps} tourName="Application-Profile-Tour" />
193
-
194
169
  <PageHeader
195
170
  title={title}
196
171
  actions={[
@@ -313,6 +313,13 @@ export enum SquarePermissions {
313
313
  CAN_SURVEYS_EDIT = 'can_surveys_edit',
314
314
  CAN_SURVEYS_ADD = 'can_surveys_add',
315
315
  CAN_SURVEYS_DELETE = 'can_surveys_delete',
316
+
317
+
318
+
319
+
320
+
321
+
322
+
316
323
  }
317
324
 
318
325
  export enum EnrollPermissions {
@@ -949,6 +956,24 @@ export enum Permission {
949
956
  CAN_SURVEYS_ADD = 'can_surveys_add',
950
957
  CAN_SURVEYS_DELETE = 'can_surveys_delete',
951
958
 
959
+ //Configuration
960
+
961
+ CAN_CONFIGURATION_VIEW = 'can_configuration_view',
962
+
963
+ //Digital Notice Board
964
+ CAN_NOTICE_BOARD_VIEW = 'can_notice_board_view',
965
+ CAN_NOTICE_BOARD_EDIT = 'can_notice_board_edit',
966
+ CAN_NOTICE_BOARD_ADD = 'can_notice_board_add',
967
+ CAN_NOTICE_BOARD_DELETE = 'can_notice_board_delete',
968
+
969
+
970
+ //Research Projects
971
+ CAN_RESEARCH_PROJECT_VIEW = 'can_research_project_view',
972
+ CAN_RESEARCH_PROJECT_EDIT = 'can_research_project_edit',
973
+ CAN_RESEARCH_PROJECT_ADD = 'can_research_project_add',
974
+ CAN_RESEARCH_PROJECT_DELETE = 'can_research_project_delete',
975
+
976
+
952
977
  // Enroll X
953
978
 
954
979
  // manage exams profile_permissions