Constants and enums for UI rendering and validation
Members
# inner constant ActionRoles
Enumerates the semantic roles a button or action may represent so decorators and
renderers can attach consistent behaviors and styling (including CRUD verbs tied to
OperationKeys).
Canonical action role identifiers for UI controls.
Object
# inner constant ComponentEventNames
Contains constants for standardized event names used throughout the application. These constants ensure consistent event naming across components and make it easier to track and handle events. Each constant represents a specific application event type.
Event name constants.
Properties:
| Name | Type | Description |
|---|---|---|
BackButtonClickEvent |
string
|
Event fired when back button navigation ends |
Render |
string
|
Event after component initialize action occurs |
Refresh |
string
|
Event fired when a refresh action occurs |
Click |
string
|
Event fired when a click action occurs |
Change |
string
|
Event fired when a change action occurs |
Submit |
string
|
Event fired when a form submission occurs |
ValidationError |
string
|
Event fired when a validation error occurs |
ThemeChange |
string
|
Event fired when a theme change occurs |
FormGroupLoaded |
string
|
Event fired when a reactve form group is loaded |
# inner constant ElementPositions
Supplies canonical position values (horizontal and vertical) that decorators can use when aligning labels, controls, or helper text across components.
Alignment keywords for element positioning.
# inner constant ElementSizes
Defines the semantic size keywords supported by layout and form decorators. These values feed rendering engines so components can express sizing in a uniform vocabulary.
Standardized size tokens for UI elements.
# inner constant LayoutGridGaps
Maps human-readable gap sizes to the tokens interpreted by the rendering engine when building CSS grid layouts, enabling predictable spacing across components.
Grid spacing presets for layout decorators.
# inner constant TransactionHooks
Provides canonical names for CRUD lifecycle callbacks so decorators and components can register work before or after repository operations in a consistent way. Each key maps to the string used when wiring transaction middleware.
Lifecycle hook labels for repository transactions.
# inner constant WindowColorSchemes
Provides the supported theme identifiers exposed to consuming apps so they can target light, dark, or unset window color schemes in a predictable way.
Allowed color scheme tokens for windowed surfaces.