Package-level declarations

Types

Link copied to clipboard
annotation class FieldDslMarker
Link copied to clipboard
Link copied to clipboard
annotation class FormDslMarker
Link copied to clipboard
open class GroupBuilder
Link copied to clipboard
annotation class GroupDslMarker
Link copied to clipboard
interface IGroupBuilder
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun GroupBuilder.actionField(tag: String? = null, title: StrRes, init: ActionField.() -> Unit = {}, onClick: () -> Unit): ActionField

The trailing lambda is the click handler; configure the field through init.

Link copied to clipboard
fun GroupBuilder.dateTimePicker(tag: String? = null, placeholder: StrRes? = null, showPicker: () -> Unit? = null, formatter: (LocalDateTime) -> String = ::defaultDateTimeFormatter, iosPickerMode: IosDatePickerMode = IosDatePickerMode.Compact, init: DateTimeField.() -> Unit = {}): DateTimeField
Link copied to clipboard
fun GroupBuilder.displayParagraph(tag: String? = null, lines: List<StrRes> = emptyList(), init: DisplayParagraphField.() -> Unit = {}): DisplayParagraphField
Link copied to clipboard
fun GroupBuilder.displayText(tag: String? = null, text: StrRes? = null, isTitle: Boolean = false, init: DisplayTextField.() -> Unit = {}): DisplayTextField
Link copied to clipboard
fun form(init: FormBuilder.() -> Unit): Form
Link copied to clipboard
Link copied to clipboard
fun GroupBuilder.localDatePicker(tag: String? = null, placeholder: StrRes? = null, formatter: (LocalDate) -> String = ::defaultLocalDateFormatter, showPicker: () -> Unit? = null, iosPickerMode: IosDatePickerMode = IosDatePickerMode.Compact, init: LocalDateField.() -> Unit = {}): LocalDateField
Link copied to clipboard
fun GroupBuilder.secureTextField(tag: String? = null, label: StrRes? = null, placeholder: StrRes? = label, init: SecureTextField.() -> Unit = {}): SecureTextField
Link copied to clipboard
fun <ValueType> SelectableGroupBuilder<ValueType>.selectionOption(tag: String? = null, selectableValue: ValueType, labelForValue: StrRes? = null, init: SelectionOptionField<ValueType>.() -> Unit = {}): SelectionOptionField<ValueType>
Link copied to clipboard
fun <T> GroupBuilder.singleChoiceField(tag: String? = null, possibleValues: List<DropdownOption<T>>, placeholder: StrRes? = null, isClearable: Boolean = false, presentation: SelectionPresentation = SelectionPresentation.Menu, iosPresentation: SelectionPresentation? = null, init: SingleChoiceField<T>.() -> Unit = {}): SingleChoiceField<T>
Link copied to clipboard
fun GroupBuilder.textField(tag: String? = null, label: StrRes? = null, placeholder: StrRes? = label, lineLimits: TextLineLimits = TextLineLimits.SingleLine, init: TextField.() -> Unit = {}): TextField
Link copied to clipboard
fun GroupBuilder.toggleField(tag: String? = null, label: StrRes, init: ToggleField.() -> Unit = {}): ToggleField