mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-09-07 14:15:45 +00:00
Enhance certificate designer and seafarer registration features with image support and dynamic department/rank options
This commit is contained in:
@@ -572,12 +572,15 @@ export interface TemplateFieldPlacement {
|
||||
/** Variable rendered here, or null when the block carries literal `text`. */
|
||||
variable: string | null;
|
||||
text?: string;
|
||||
/** Renders as `<img>` when "image" — see TemplateVariable.kind. */
|
||||
type?: "text" | "image";
|
||||
xPct: number;
|
||||
yPct: number;
|
||||
widthPct: number;
|
||||
fontSize?: number;
|
||||
fontWeight?: "normal" | "bold";
|
||||
align?: "left" | "center" | "right";
|
||||
fontStyle?: "normal" | "italic";
|
||||
align?: "left" | "center" | "right" | "justify";
|
||||
color?: string;
|
||||
}
|
||||
|
||||
@@ -639,6 +642,8 @@ export interface LicenseTemplate {
|
||||
export interface TemplateVariable {
|
||||
key: string;
|
||||
label: string;
|
||||
/** "image" means the value is a data URI to place as `<img>`, not text. */
|
||||
kind?: "text" | "image";
|
||||
}
|
||||
|
||||
export interface Paginated<T> {
|
||||
|
||||
Reference in New Issue
Block a user