io.worxbend.tui.macros
Members list
Type members
Classlikes
Handles an application action value. Bound at compile time via bindAction — never through runtime reflection.
Handles an application action value. Bound at compile time via bindAction — never through runtime reflection.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ActionHandler.type
A form field with parsing and validation, composing cue4s-style: transforms are stored lazily and run when the field's raw input is submitted.
A form field with parsing and validation, composing cue4s-style: transforms are stored lazily and run when the field's raw input is submitted.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
What kind of input control a form field needs — derived from the field's type.
What kind of input control a form field needs — derived from the field's type.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
One field of a derived form: the case-class field name and its input kind.
One field of a derived form: the case-class field name and its input kind.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A compile-time-derived description of a form for A: the fields to render and how to assemble the submitted values back into an A. Produced by deriveForm; owned by tui-macros so tui-dsl can consume it without a circular dependency.
A compile-time-derived description of a form for A: the fields to render and how to assemble the submitted values back into an A. Produced by deriveForm; owned by tui-macros so tui-dsl can consume it without a circular dependency.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Binds a handler function to an action type at compile time. The inline keeps the dispatch a direct call in the generated code — no lookup table, no reflective invocation.
Binds a handler function to an action type at compile time. The inline keeps the dispatch a direct call in the generated code — no lookup table, no reflective invocation.
Attributes
Derives a FormSpec for a case class at compile time via Mirror.ProductOf — field names become field specs, field types choose the input kind (String → text, Int → int, Boolean → bool). Unsupported field types are a compile error, not a runtime surprise. No runtime reflection anywhere.
Derives a FormSpec for a case class at compile time via Mirror.ProductOf — field names become field specs, field types choose the input kind (String → text, Int → int, Boolean → bool). Unsupported field types are a compile error, not a runtime surprise. No runtime reflection anywhere.