@campxdev/shared 1.11.9 → 1.11.11
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
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Box, SxProps, Typography } from '@mui/material'
|
|
2
|
+
import { Variant } from '@mui/material/styles/createTypography'
|
|
3
|
+
|
|
4
|
+
interface ItemProps {
|
|
5
|
+
text: string
|
|
6
|
+
sx?: SxProps
|
|
7
|
+
variant?: Variant
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface SignatureFooterProps {
|
|
11
|
+
containerSx?: SxProps
|
|
12
|
+
list: ItemProps[]
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default function SignatureFooter({
|
|
16
|
+
containerSx,
|
|
17
|
+
list,
|
|
18
|
+
}: SignatureFooterProps) {
|
|
19
|
+
return (
|
|
20
|
+
<Box
|
|
21
|
+
sx={{
|
|
22
|
+
display: 'flex',
|
|
23
|
+
justifyContent: 'space-around',
|
|
24
|
+
margin: '100px 0px 50px 0px',
|
|
25
|
+
...containerSx,
|
|
26
|
+
}}
|
|
27
|
+
>
|
|
28
|
+
{list?.map((item, index) => (
|
|
29
|
+
<Typography key={index} sx={item?.sx} variant={item?.variant || 'h1'}>
|
|
30
|
+
{item?.text}
|
|
31
|
+
</Typography>
|
|
32
|
+
))}
|
|
33
|
+
</Box>
|
|
34
|
+
)
|
|
35
|
+
}
|
package/src/components/index.ts
CHANGED
|
@@ -60,6 +60,7 @@ export { default as PageHeader } from './PageHeader'
|
|
|
60
60
|
export { default as useConfirm } from './PopupConfirm/useConfirm'
|
|
61
61
|
export { default as ReportHeader } from './ReportHeader'
|
|
62
62
|
export { default as ReportPageHeader } from './ReportPageHeader'
|
|
63
|
+
export { default as SignatureFooter } from './SignatureFooter'
|
|
63
64
|
export { default as Spinner } from './Spinner'
|
|
64
65
|
export { default as PaymentStepper } from './Stepper'
|
|
65
66
|
export { default as SwitchButton } from './SwitchButton'
|
|
@@ -145,6 +145,7 @@ export enum Permission {
|
|
|
145
145
|
CAN_PHD_FORM_VIEW = 'can_admissions_view_phd_applications',
|
|
146
146
|
CAN_PHD_FORM_DOWNLOAD = 'can_admissions_download_phd_applications',
|
|
147
147
|
CAN_CET_VIEW = 'can_admissions_view_cet',
|
|
148
|
+
CAN_EDIT_VIEW = 'can_admissions_edit_cet',
|
|
148
149
|
CAN_CET_DOWNLOAD = 'can_admissions_download_cet',
|
|
149
150
|
CAN_HOSTELER_DASHBOARD_VIEW = 'can_hosteler_dashboard_view',
|
|
150
151
|
CAN_HOSTELER_VIEW = 'can_hosteler_view',
|
|
@@ -388,6 +388,7 @@ export enum EnrollPermissions {
|
|
|
388
388
|
CAN_PHD_FORM_VIEW = 'can_admissions_view_phd_applications',
|
|
389
389
|
CAN_PHD_FORM_DOWNLOAD = 'can_admissions_download_phd_applications',
|
|
390
390
|
CAN_CET_VIEW = 'can_admissions_view_cet',
|
|
391
|
+
CAN_EDIT_VIEW = 'can_admissions_edit_cet',
|
|
391
392
|
CAN_CET_DOWNLOAD = 'can_admissions_download_cet',
|
|
392
393
|
|
|
393
394
|
// Settings
|
|
@@ -1054,6 +1055,7 @@ export enum Permission {
|
|
|
1054
1055
|
CAN_PHD_FORM_VIEW = 'can_admissions_view_phd_applications',
|
|
1055
1056
|
CAN_PHD_FORM_DOWNLOAD = 'can_admissions_download_phd_applications',
|
|
1056
1057
|
CAN_CET_VIEW = 'can_admissions_view_cet',
|
|
1058
|
+
CAN_EDIT_VIEW = 'can_admissions_edit_cet',
|
|
1057
1059
|
CAN_CET_DOWNLOAD = 'can_admissions_download_cet',
|
|
1058
1060
|
|
|
1059
1061
|
// Settings
|