feat(badges): configurable punch-out hole markers for badge clip slots

Adds cfg_json.punch_holes.{left,right,center} to mark pre-perforated badge
clip slots with X overlays. Slots are 5/8in x 1/8in, 1/4in from top,
3/8in from left/right edges. Markers print on the badge so attendees know
where to push out the perforations. Template form exposes checkboxes in
Header & Branding. Documented in MODULE__AE_Events_Badge_Templates.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-06-04 19:52:59 -04:00
parent 3ae5b30c37
commit 7bf76bf766
4 changed files with 111 additions and 0 deletions

View File

@@ -52,6 +52,16 @@ export interface BadgeTemplateCfg {
// Any CSS length: "0.5in", "1rem". Unset = no extra padding.
header_padding_bottom?: string;
// Punch-out hole markers: show X overlays at the physical badge clip slot positions.
// Slots are pre-perforated on the badge stock — markers guide attendees to push them out.
// Hole dimensions: 5/8in wide × 1/8in tall, 1/4in from top, 3/8in from left/right edges.
// Center hole: horizontally centered, same vertical position.
punch_holes?: {
left?: boolean;
right?: boolean;
center?: boolean;
};
// Allow arbitrary extra keys to preserve forward-compatibility.
[key: string]: any;
}