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