서명 밑줄 옵션 완전히 제거

This commit is contained in:
dohyeons 2025-12-23 16:00:25 +09:00
parent 83f171189b
commit 82a7ff62ee
5 changed files with 0 additions and 44 deletions

View File

@ -606,7 +606,6 @@ export function CanvasComponent({ component }: CanvasComponentProps) {
const sigLabelPos = component.labelPosition || "left";
const sigShowLabel = component.showLabel !== false;
const sigLabelText = component.labelText || "서명:";
const sigShowUnderline = component.showUnderline !== false;
return (
<div className="h-full w-full">
@ -653,14 +652,6 @@ export function CanvasComponent({ component }: CanvasComponentProps) {
</div>
)}
{sigShowUnderline && (
<div
className="absolute right-0 bottom-0 left-0"
style={{
borderBottom: "2px solid #000000",
}}
/>
)}
</div>
</div>
</div>

View File

@ -319,7 +319,6 @@ export function ReportDesignerCanvas() {
showLabel: true,
labelText: "서명:",
labelPosition: "left" as const,
showUnderline: true,
borderWidth: 0,
borderColor: "#cccccc",
}),

View File

@ -947,26 +947,6 @@ export function ReportDesignerRightPanel() {
</>
)}
{/* 밑줄 표시 (서명란만) */}
{selectedComponent.type === "signature" && (
<div className="flex items-center gap-2">
<input
type="checkbox"
id="showUnderline"
checked={selectedComponent.showUnderline !== false}
onChange={(e) =>
updateComponent(selectedComponent.id, {
showUnderline: e.target.checked,
})
}
className="h-4 w-4"
/>
<Label htmlFor="showUnderline" className="text-xs">
</Label>
</div>
)}
{/* 이름 입력 (도장란만) */}
{selectedComponent.type === "stamp" && (
<div>

View File

@ -624,7 +624,6 @@ export function ReportPreviewModal({ isOpen, onClose }: ReportPreviewModalProps)
${showLabel ? `<div style="font-size: 12px; white-space: nowrap;">${labelText}</div>` : ""}
<div style="flex: 1; position: relative;">
${imageUrl ? `<img src="${imageUrl}" style="width: 100%; height: 100%; object-fit: ${component.objectFit || "contain"};" />` : ""}
${component.showUnderline ? '<div style="position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background-color: #000000;"></div>' : ""}
</div>
</div>`;
} else {
@ -633,7 +632,6 @@ export function ReportPreviewModal({ isOpen, onClose }: ReportPreviewModalProps)
${showLabel && labelPosition === "top" ? `<div style="font-size: 12px;">${labelText}</div>` : ""}
<div style="flex: 1; width: 100%; position: relative;">
${imageUrl ? `<img src="${imageUrl}" style="width: 100%; height: 100%; object-fit: ${component.objectFit || "contain"};" />` : ""}
${component.showUnderline ? '<div style="position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background-color: #000000;"></div>' : ""}
</div>
${showLabel && labelPosition === "bottom" ? `<div style="font-size: 12px;">${labelText}</div>` : ""}
</div>`;
@ -1386,17 +1384,6 @@ export function ReportPreviewModal({ isOpen, onClose }: ReportPreviewModalProps)
}}
/>
)}
{component.showUnderline !== false && (
<div
style={{
position: "absolute",
bottom: "0",
left: "0",
right: "0",
borderBottom: "2px solid #000000",
}}
/>
)}
</div>
</div>
)}

View File

@ -162,7 +162,6 @@ export interface ComponentConfig {
showLabel?: boolean; // 레이블 표시 여부 ("서명:", "(인)")
labelText?: string; // 커스텀 레이블 텍스트
labelPosition?: "top" | "left" | "bottom" | "right"; // 레이블 위치
showUnderline?: boolean; // 서명란 밑줄 표시 여부
personName?: string; // 도장란 이름 (예: "홍길동")
// 테이블 전용
tableColumns?: Array<{