PDF Markings #114

Merged
eugene merged 33 commits from issue-99 into staging 2024-08-06 10:02:04 +00:00
Showing only changes of commit e681513785 - Show all commits

View File

@ -1,5 +1,3 @@
import { Box } from '@mui/material'
import styles from '../../pages/sign/style.module.scss'
import PdfView from './index.tsx'
import MarkFormField from '../../pages/sign/MarkFormField.tsx'
import { PdfFile } from '../../types/drawing.ts'
@ -9,9 +7,10 @@ import {
findNextCurrentUserMark,
isCurrentUserMarksComplete,
updateCurrentUserMarks,
} from '../../utils/mark.ts'
} from '../../utils'
import { EMPTY } from '../../utils/const.ts'
import { Container } from '../Container'
import styles from '../../pages/sign/style.module.scss'
interface PdfMarkingProps {
files: { pdfFile: PdfFile, filename: string, hash: string | null }[],
@ -74,7 +73,7 @@ const PdfMarking = (props: PdfMarkingProps) => {
return (
<>
<Box className={styles.container}>
<Container className={styles.container}>
{
currentUserMarks?.length > 0 && (
<PdfView
@ -93,7 +92,7 @@ const PdfMarking = (props: PdfMarkingProps) => {
selectedMarkValue={selectedMarkValue}
/>
)}
</Box>
</Container>
</>
)
}