Files
sam-react-prod/src/components/document-system/index.ts

66 lines
1.3 KiB
TypeScript
Raw Normal View History

// Main Component
export { DocumentViewer } from './viewer';
// Document Components (공통 문서 요소)
export {
ApprovalLine,
DocumentHeader,
DocumentWrapper,
DocumentTable,
DOC_STYLES,
SectionHeader,
InfoTable,
QualityApprovalTable,
ConstructionApprovalTable,
LotApprovalTable,
SignatureSection,
} from './components';
// Hooks
export { useZoom, useDrag } from './viewer/hooks';
export { usePrintHandler } from './hooks/usePrintHandler';
// Presets
export { DOCUMENT_PRESETS, getPreset, mergeWithPreset } from './presets';
// Types
export type {
// Document Component Types
ApprovalPerson,
ApprovalLineProps,
DocumentHeaderLogo,
DocumentHeaderProps,
DocumentWrapperProps,
DocumentTableProps,
SectionHeaderProps,
InfoTableCell,
InfoTableProps,
QualityApprovers,
QualityDepartments,
QualityApprovalTableProps,
ConstructionApprover,
ConstructionApprovalTableProps,
LotApprover,
LotApprovalTableProps,
SignatureSectionProps,
} from './components';
export type {
DocumentConfig,
DocumentViewerProps,
DocumentFeatures,
ActionType,
PresetType,
PresetConfig,
// Block types (Phase 2)
DocumentBlock,
HeaderBlock,
InfoTableBlock,
ItemTableBlock,
ApprovalLineBlock,
SignatureBlock,
TextSectionBlock,
ImageGridBlock,
CustomBlock,
} from './types';