{isVoid ? (
VOID copy, not for fabrication. {vText}. Kept for the record with its weld marks.{" "}
{page.void?.new_n ? (
) : null}
) : null}
{pages.length > 1 ? (
{pages.map((x) => (
))}
) : (
{pageLabel(page)}
)}
{markBtn}
{marking ?
Tap the weld location on the drawing. : null}
{!canEdit ? (
{p.welds.length} weld{p.welds.length === 1 ? "" : "s"} recorded
) : null}
{!p.removed ? (
) : null}
{
if (marking && editable) setSheet({ weldNo: null, at: { page: page.n, fx, fy } });
}}
fsBar={
<>
{pageLabel(page)}
{markBtn}
>
}
>
{onSheet.map((w) => (
setSheet({ weldNo: x.weld_no, at: null })}
onMove={move}
/>
))}
Welds on this sheet ({current.length})
{current.length !== p.welds.filter((w) => !w.carried).length ? of {p.welds.filter((w) => !w.carried).length} : null}
{editable && current.length ?
Drag a bubble to move it off the linework. Drag the arrow to fix the weld location.
: null}
{current.length ? (
current.map((w) =>
setSheet({ weldNo: x.weld_no, at: null })} />)
) : (
{editable ? "Tap Mark a weld, then tap the joint on the drawing." : "No welds recorded yet."}
)}
{carried.length ? (
Carried from an earlier department
{carried.map((w) => (
setSheet({ weldNo: x.weld_no, at: null })} />
))}
) : null}
{sheet && (sheet.weldNo === null || open) ? (
x.n === open.page)?.void : isVoid) && !open?.carried}
myStamp={myStamp}
sub={sub}
onSave={(body) => void (open ? save(open, body) : add(body))}
onRemove={() => {
if (open) void remove(open);
}}
onClose={() => setSheet(null)}
/>
) : null}
);
}