@campxdev/shared 1.10.61 → 1.10.63

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.61",
3
+ "version": "1.10.63",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -21,6 +21,7 @@ interface MultiSelectProps {
21
21
  onChange?: (value: IOption[] | IOption) => void
22
22
  multiple?: boolean
23
23
  noOptionsText?: string
24
+ limitTags?: number
24
25
  }
25
26
 
26
27
  export default function FormMultiSelect({
@@ -33,6 +34,7 @@ export default function FormMultiSelect({
33
34
  multiple = true,
34
35
  noOptionsText,
35
36
  onInputChange,
37
+ limitTags = -1,
36
38
  ...props
37
39
  }: MultiSelectProps) {
38
40
  return (
@@ -55,6 +57,7 @@ export default function FormMultiSelect({
55
57
  noOptionsText={noOptionsText}
56
58
  required={required}
57
59
  helperText={error ? error.message : null}
60
+ limitTags={limitTags}
58
61
  {...props}
59
62
  />
60
63
  )
@@ -749,6 +749,14 @@ export enum Permission {
749
749
  STUDENTS_ALLOTMENT = 'can_students_allotment',
750
750
  STUDENT_INFO_VIEW = 'can_student_info_view',
751
751
 
752
+ //EmailReportCronJobs
753
+ EMAIL_REPORT_CRON_JOBS_VIEW='can_email_report_cron_jobs_view',
754
+ EMAIL_REPORT_CRON_JOBS_ADD='can_email_report_cron_jobs_add',
755
+ EMAIL_REPORT_CRON_JOBS_EDIT='can_email_report_cron_jobs_edit',
756
+ EMAIL_REPORT_CRON_JOBS_DELETE='can_email_report_cron_jobs_delete',
757
+
758
+
759
+
752
760
  // Subjects
753
761
  SUBJECTS_VIEW = 'can_subjects_view',
754
762
  SUBJECTS_ADD = 'can_subjects_add',