Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class ButtonTargets(val back: String, val model: String?, val error: String)
Link copied to clipboard
open class DefaultTableTemplate<C : KlerkContext, V>(maxItems: Int, klerk: Klerk<C, V>, kClass: KClass<out Any>)
Link copied to clipboard
class EventForm<T : Any, C : KlerkContext>(csrfToken: String, inputs: List<Pair<String, InputType>>, referenceSelects: Set<ReferencePropertyWithOptions>, propsPopulatedAfterSubmit: List<String>, params: T?, postPath: String?, queryParams: Map<String, String>, htmlDetailsSummary: String?, htmlDetailsContents: Set<String>, template: EventFormTemplate<T, C>, translator: Translator)
Link copied to clipboard
class EventFormTemplate<T : Any, C : KlerkContext>(eventWithParameters: EventWithParameters<T>, klerk: Klerk<C, *>, postPath: String? = null, init: EventFormTemplate<T, C>.() -> Unit)

Regarding CSRF protection: the 'Double Submit Pattern' with '__Host-' cookie-prefix is used.

Link copied to clipboard
data class LowCodeConfig<C : KlerkContext>(val basePath: String, val contextProvider: suspend (ApplicationCall) -> C, val customAfterEventButtonsOnDetailView: (KClass<out Any>, Model<Any>) -> DIV.() -> Unit? = null, val showOptionalParameters: (EventReference) -> Boolean, val cssPath: String, val knownAlgorithms: Set<FlowChartAlgorithm<*, *>> = emptySet(), val createCommandPath: String = "/_createevent")
Link copied to clipboard
class LowCodeCreateEvent<C : KlerkContext, V>(klerk: Klerk<C, V>, config: LowCodeConfig<C>, eventReference: EventReference, modelClass: KClass<out Any>)
Link copied to clipboard
class LowCodeMain<C : KlerkContext, V>(klerk: Klerk<C, V>, config: LowCodeConfig<C>)
Link copied to clipboard
sealed class ParseResult<T>
Link copied to clipboard
interface PluginPage<C : KlerkContext, V>
Link copied to clipboard
data class ReferencePropertyWithOptions(val propertyName: String, val propertyNullable: Boolean, val options: List<Model<out Any>>)
Link copied to clipboard
class Table<T : Any, C : KlerkContext, V>(queryResponse: QueryResponse<T>, pathProvider: (Model<T>) -> String, call: ApplicationCall, klerk: Klerk<C, V>, kClass: KClass<out Any>)
Link copied to clipboard
data class UIElementData(val propertyName: String, val dataContainer: DataContainer<*>, val enabled: Boolean)
Link copied to clipboard
data class ValidationProblemResponse(val field: String?, val humanReadable: String)

Functions

Link copied to clipboard