@campxdev/shared 1.11.60 → 1.11.61

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.11.60",
3
+ "version": "1.11.61",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -138,6 +138,19 @@ const columns = [
138
138
  title: 'Message',
139
139
  dataIndex: 'message',
140
140
  key: 'message',
141
+ render: (message) => (
142
+ <Typography sx={{ fontSize: '16px' }} variant="subtitle1">
143
+ {message?.split("'").map((text: string, index: number) =>
144
+ index % 2 === 0 ? (
145
+ <span key={index}>{text}</span>
146
+ ) : (
147
+ <Typography key={index} sx={{ display: 'inline', fontWeight: 900 }}>
148
+ {text}
149
+ </Typography>
150
+ ),
151
+ )}
152
+ </Typography>
153
+ ),
141
154
  },
142
155
  ]
143
156
 
@@ -213,10 +226,10 @@ export const TimeLineComponent = ({
213
226
  }}
214
227
  >
215
228
  <StyledAvatar>
216
- {item?.userName.charAt(0).toUpperCase()}
229
+ {item?.fullName.charAt(0).toUpperCase()}
217
230
  </StyledAvatar>
218
231
  <Typography sx={{ fontSize: '13px', fontWeight: 900 }}>
219
- {item?.userName}
232
+ {item?.fullName}
220
233
  </Typography>
221
234
  </Typography>
222
235
  </Box>
@@ -1186,6 +1186,11 @@ export enum Permission {
1186
1186
  CAN_D_FORM_ADD = 'can_d_forms_add',
1187
1187
  CAN_D_FORM_DOWNLOAD = 'can_d_forms_download',
1188
1188
 
1189
+ // D Form Internal Exam
1190
+ CAN_INTERNAL_EXAM_D_FORM_VIEW = 'can_internal_exam_d_forms_view',
1191
+ CAN_INTERNAL_EXAM_D_FORM_ADD = 'can_internal_exam_d_forms_add',
1192
+ CAN_INTERNAL_EXAM_D_FORM_DOWNLOAD = 'can_internal_exam_d_forms_download',
1193
+
1189
1194
  // Bundling
1190
1195
  CAN_VIEW_ANSWER_SHEET_REPORT = 'can_view_answer_sheet_report',
1191
1196
  CAN_BUNDLING_VIEW = 'can_bundling_view',
@@ -1398,6 +1403,13 @@ export enum Permission {
1398
1403
  CAN_CONFIGURE_FEEDBACK_FORM = 'can_configure_feedback_form',
1399
1404
  CAN_CHANGE_FEEDBACK_STATUS = 'can_change_feedback_status',
1400
1405
 
1406
+ // FACILITY Feedback
1407
+ VIEW_FACILITY_FEEDBACKS = 'can_view_facility_feedbacks',
1408
+ CREATE_FACILITY_FEEDBACK = 'can_create_facility_feedback',
1409
+ MANAGE_TARGET_AUDIENCE_FACILITY = 'can_manage_target_audience_facility',
1410
+ CONFIGURE_FEEDBACK_FORM_FACILITY = 'can_configure_feedback_form_facility',
1411
+ CHANGE_FEEDBACK_STATUS_FACILITY = 'can_change_feedback_status_facility',
1412
+
1401
1413
  //Feedback Questions
1402
1414
  CAN_VIEW_FEEDBACK_QUESTIONS = 'can_view_feedback_questions',
1403
1415
  CAN_CREATE_FEEDBACK_QUESTION = 'can_create_feedback_question',
@@ -1856,6 +1868,9 @@ export interface IPermissions {
1856
1868
  can_d_forms_view: boolean
1857
1869
  can_d_forms_add: boolean
1858
1870
  can_d_forms_download: boolean
1871
+ can_internal_d_forms_view: boolean
1872
+ can_internal_d_forms_add: boolean
1873
+ can_internal_d_forms_download: boolean
1859
1874
  can_view_answer_sheet_report: boolean
1860
1875
  can_bundling_view: boolean
1861
1876
  can_bundling_add: boolean