kvision
Module Contents
alltypes
Module Contents
abstract class AbstractText : SimplePanel, StringFormControl
abstract class AbstractTextInput : Widget, FormInput
data class AjaxOptions
Module Contents
AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false)
val beforeSend: (JQueryXHR) -> dynamic
val cache: Boolean
val clearOnEmpty: Boolean
val clearOnError: Boolean
val data: dynamic
val dataType: DataType
val emptyRequest: Boolean
val httpType: HttpType
val minLength: Int
val preprocessData: (dynamic) -> dynamic
val requestDelay: Int
val restoreOnError: Boolean
val url: String
open class Alert : Modal
Module Contents
Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null)
var align: Align?
open fun hide(): Widget
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null): Unit
var text: String?
enum class Align
interface ApplicationBase
class Background
Module Contents
Background(image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Int, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Col, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
abstract class BaseDataComponent : DataComponent
enum class BgAttach
enum class BgClip
enum class BgOrigin
enum class BgRepeat
enum class BgSize
interface BoolFormControl : FormControl
class Border
enum class BorderStyle
open class Button : Widget
Module Contents
Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf())
var block: Boolean
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button
var disabled: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
var type: ButtonType
open class ButtonGroup : SimplePanel
enum class ButtonGroupSize
enum class ButtonGroupStyle
enum class ButtonSize
enum class ButtonStyle
enum class ButtonType
enum class ButtonsType
open class CallAgent
open class Canvas : Widget
open class Cell : Tag
open class CheckBox : SimplePanel, BoolFormControl
enum class CheckBoxStyle
open class CheckInput : Widget, FormInput
enum class CheckInputType
enum class Clear
open class CloseIcon : Widget
enum class Col
class Color
interface Component
open class Confirm : Modal
Module Contents
Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
var align: Align?
var cancelTitle: String
var cancelVisible: Boolean
var noTitle: String
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
var text: String?
var yesTitle: String
interface Container : Component
open class ContextMenu : ListTag
data class Credentials
typealias CssSize = Pair<Int, UNIT>
enum class DD
interface DataComponent
class DataContainer<M, C : Component> : Widget, Container, DataUpdatable
Module Contents
DataContainer(model: ObservableList<M>, factory: (Int, M) -> C, filter: (Int, M) -> Boolean = null, mapping: (List<Pair<Int, M>>) -> List<Pair<Int, M>> = null, container: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null)
fun add(child: Component): Container
fun addAll(children: List<Component>): Container
fun clearOnUpdate(): DataContainer<M, C>
fun <M, C : Component> Container.dataContainer(model: ObservableList<M>, factory: (Int, M) -> C, filter: (Int, M) -> Boolean = null, mapping: (List<Pair<Int, M>>) -> List<Pair<Int, M>> = null, container: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null): DataContainer<M, C>
fun getChildren(): List<Component>
fun onUpdate(handler: () -> Unit): DataContainer<M, C>
fun remove(child: Component): Container
fun removeAll(): Container
fun update(): Unit
var visible: Boolean
enum class DataType
interface DataUpdatable
object DateConverter
interface DateFormControl : FormControl
object DateSerializer : KSerializer<Date>
open class DateTime : SimplePanel, DateFormControl
open class DateTimeInput : Widget, FormInput
class DefaultI18nManager : I18nManager
open class Dialog<R> : Modal
enum class Direction
enum class Direction
enum class Display
open class Div : Tag
open class DockPanel : SimplePanel
open class DropDown : SimplePanel
Module Contents
DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterInsert(node: VNode): Unit
var block: Boolean
fun buttonId(): String?
var disabled: Boolean
fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
var dropup: Boolean
val forNavbar: Boolean
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
open fun toggle(): Unit
open var width: CssSize?
open class FieldLabel : Tag
enum class FlexAlignContent
enum class FlexAlignItems
enum class FlexDir
enum class FlexJustify
open class FlexPanel : SimplePanel
Module Contents
FlexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: FlexPanel.() -> Unit = null)
fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
open fun add(child: Component): FlexPanel
open fun addAll(children: List<Component>): FlexPanel
var alignContent: FlexAlignContent?
var alignItems: FlexAlignItems?
var direction: FlexDir?
fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: FlexPanel.() -> Unit = null): FlexPanel
protected open fun getSnStyle(): List<StringPair>
var justify: FlexJustify?
open fun remove(child: Component): FlexPanel
open fun removeAll(): FlexPanel
var spacing: Int?
var wrap: FlexWrap?
enum class FlexWrap
enum class FontStyle
enum class FontVariant
enum class FontWeight
enum class ForceType
class Form<K : Any>
Module Contents
Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>)
fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun clearData(): Unit
inline fun <reified K : Any> create(panel: FormPanel<K>? = null, noinline init: Form<K>.() -> Unit = null): Form<K>
operator fun get(key: KProperty1<K, *>): Any?
fun getControl(key: KProperty1<K, *>): FormControl?
fun getData(): K
fun getDataJson(): Json
fun remove(key: KProperty1<K, *>): Form<K>
fun removeAll(): Form<K>
fun setData(model: K): Unit
fun validate(): Boolean
interface FormControl : Component
enum class FormEnctype
interface FormInput : Component
enum class FormMethod
open class FormPanel<K : Any> : SimplePanel
Module Contents
FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
protected fun <C : FormControl> addInternal(key: KProperty1<K, *>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: FormPanel<K>.() -> Unit = null): FormPanel<K>
var enctype: FormEnctype?
inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: FormPanel<K>.() -> Unit = null): FormPanel<K>
operator fun get(key: KProperty1<K, *>): Any?
open fun getControl(key: KProperty1<K, *>): FormControl?
open fun getData(): K
open fun getDataJson(): Json
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var method: FormMethod?
var name: String?
var novalidate: Boolean?
open fun remove(key: KProperty1<K, *>): FormPanel<K>
open fun removeAll(): FormPanel<K>
protected open fun render(): VNode
open fun setData(model: K): Unit
var target: FormTarget?
open fun validate(): Boolean
var validator: (Form<K>) -> Boolean?
var validatorMessage: (Form<K>) -> String?
enum class FormTarget
enum class FormType
enum class GridAlign
enum class GridAlignContent
enum class GridFlow
enum class GridJustify
enum class GridJustifyContent
open class GridPanel : SimplePanel
Module Contents
GridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: GridPanel.() -> Unit = null)
fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GridJustify? = null, alignSelf: GridAlign? = null, classes: Set<String> = setOf()): GridPanel
open fun add(child: Component): GridPanel
open fun addAll(children: List<Component>): GridPanel
var alignContent: GridAlignContent?
var alignItems: GridAlign?
var autoColumns: String?
var autoFlow: GridFlow?
var autoRows: String?
var columnGap: Int?
protected open fun getSnStyle(): List<StringPair>
fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: GridPanel.() -> Unit = null): GridPanel
var justifyContent: GridJustifyContent?
var justifyItems: GridJustify?
open fun remove(child: Component): GridPanel
open fun removeAll(): GridPanel
var rowGap: Int?
var templateAreas: List<String>?
var templateColumns: String?
var templateRows: String?
enum class GridSize
class GridWrapper : WidgetWrapper
open class HPanel : FlexPanel
Module Contents
HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null)
fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null): HPanel
open class Header : Tag
open class HeaderCell : Tag
open class HelpBlock : Tag
external interface Hot
enum class HttpMethod
enum class HttpType
object I18n : I18nManager
interface I18nManager
open class Icon : Tag
open class Iframe : Widget
Module Contents
Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf())
open fun getIframeWindow(): Window
protected open fun getSnAttrs(): List<StringPair>
fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: Iframe.() -> Unit = null): Iframe
var iframeHeight: Int?
var iframeWidth: Int?
var location: String?
var name: String?
protected open fun render(): VNode
var sandbox: Set<Sandbox>?
var src: String?
var srcdoc: String?
open class Image : Widget
Module Contents
Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf())
var alt: String?
var centered: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: Image.() -> Unit = null): Image
protected open fun render(): VNode
var responsive: Boolean
var shape: ImageShape?
var src: ResString
enum class ImageShape
enum class InputSize
object JSON
external class Jed
data class JsonRpcRequest
data class JsonRpcResponse
data class KFile
interface KFilesFormControl : FormControl
open expect class KVServer
class KvEvent : CustomEvent
open class Label : Tag
open class Link : SimplePanel
Module Contents
Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var image: ResString?
var label: String
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
open fun onClick(handler: Link.(MouseEvent) -> Unit): Link
protected open fun render(): VNode
var url: String?
open class ListTag : SimplePanel
enum class ListType
class LoginService
open class Modal : SimplePanel
enum class ModalSize
external interface Module
open class Nav : Tag
open class NavForm : Tag
open class Navbar : SimplePanel
enum class NavbarType
interface NumberFormControl : FormControl
external class Object
enum class Overflow
open class Password : Text
enum class PosFloat
enum class Position
open class ProgressBar : SimplePanel
Module Contents
ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null)
var align: Align?
var animated: Boolean
var content: String?
var max: Int
var min: Int
var progress: Int
fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null): ProgressBar
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
enum class ProgressBarStyle
open class Radio : SimplePanel, BoolFormControl
open class RadioGroup : SimplePanel, StringFormControl
Module Contents
RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: CheckInput
var label: String?
open var name: String?
var options: List<StringPair>?
fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup
var rich: Boolean
open var size: InputSize?
val validationInfo: HelpBlock
open var value: String?
enum class RadioStyle
open class RemoteAgent<out T>
Module Contents
RemoteAgent(serviceManager: ServiceManager<T>)
inline fun <reified RET : Any, T> call(noinline function: T.(Request?) -> Deferred<RET>): Deferred<RET>
inline fun <reified RET : Any, T> call(noinline function: T.(Request?) -> Deferred<List<RET>>): Deferred<List<RET>>
inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR, Request?) -> Deferred<RET>, p: PAR): Deferred<RET>
inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR, Request?) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<List<RET>>
val callAgent: CallAgent
val serviceManager: ServiceManager<T>
expect interface Request
typealias ResString = String
enum class Resize
open class ResponsiveGridPanel : SimplePanel
Module Contents
ResponsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: ResponsiveGridPanel.() -> Unit = null)
open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel
open fun add(child: Component): ResponsiveGridPanel
open fun addAll(children: List<Component>): ResponsiveGridPanel
var align: Align?
open fun remove(child: Component): ResponsiveGridPanel
open fun removeAt(col: Int, row: Int): ResponsiveGridPanel
fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: ResponsiveGridPanel.() -> Unit = null): ResponsiveGridPanel
open class RichText : AbstractText
open class RichTextInput : AbstractTextInput
class Root : SimplePanel
open class Routing
open class Row : Tag
enum class RpcHttpMethod
enum class Sandbox
class SecurityException : Exception
abstract class SecurityMgr
open class Select : SimplePanel, StringFormControl
Module Contents
Select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
var ajaxOptions: AjaxOptions?
var autofocus: Boolean?
open fun blur(): Unit
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: SelectInput
var label: String?
var liveSearch: Boolean
var maxOptions: Int?
var multiple: Boolean
var options: List<StringPair>?
var placeholder: String?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
val validationInfo: HelpBlock
open var value: String?
open class SelectInput : SimplePanel, FormInput
open class SelectOptGroup : SimplePanel
open class SelectOption : Widget
enum class SelectWidthType
open class Separator : Tag
open expect class ServiceManager<out T>
Module Contents
ServiceManager(service: T)
val LOG: <ERROR CLASS>
fun applyRoutes(k: KVServer): Unit
protected inline fun <reified RET> bind(noinline function: T.(Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR, reified RET> bind(noinline function: T.(PAR, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
fun call(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): KVServer.() -> Unit
protected val calls: MutableMap<String, Pair<String, RpcHttpMethod>>
var counter: Int
fun getCalls(): Map<String, Pair<String, RpcHttpMethod>>
protected inline fun <reified T> getParameter(str: String?): T
val mapper: <ERROR CLASS>
protected val routes: MutableList<KVServer.() -> Unit>
val service: T
enum class Side
class SimpleI18nManager : I18nManager
open class SimplePanel : Widget, Container
open class Spinner : SimplePanel, NumberFormControl
Module Contents
Spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
var decimals: Int
val flabel: FieldLabel
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnClass(): List<StringBoolPair>
open fun getValueAsString(): String?
protected val idc: String
val input: SpinnerInput
var label: String?
var max: Int
var min: Int
var placeholder: String?
var readonly: Boolean?
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun spinDown(): Spinner
open fun spinUp(): Spinner
fun Container.spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner
var startValue: Number?
var step: Double
val validationInfo: HelpBlock
open var value: Number?
open class SpinnerInput : Widget, FormInput
Module Contents
SpinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
protected open fun changeValue(): Unit
var decimals: Int
open var disabled: Boolean
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
var max: Int
var min: Int
open var name: String?
var placeholder: String?
var readonly: Boolean?
protected open fun render(): VNode
open var size: InputSize?
fun spinDown(): SpinnerInput
fun spinUp(): SpinnerInput
fun Container.spinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf(), init: SpinnerInput.() -> Unit = null): SpinnerInput
var startValue: Number?
var step: Double
var value: Number?
open class SplitPanel : SimplePanel
open class StackPanel : SimplePanel
typealias StringBoolPair = Pair<String, Boolean>
interface StringFormControl : FormControl
typealias StringPair = Pair<String, String>
abstract class StyledComponent : Component
enum class TAG
open class TabPanel : SimplePanel
open class Table : SimplePanel
Module Contents
Table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
fun addHeaderCell(: HeaderCell): Table
var caption: String?
protected open fun childrenVNodes(): Array<VNode>
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var headerNames: List<String>?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
fun removeHeaderCell(: HeaderCell): Table
fun removeHeaderCells(): Table
protected open fun render(): VNode
var responsive: Boolean
fun Container.table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null): Table
var types: Set<TableType>
enum class TableType
open class Tag : SimplePanel, Template
Module Contents
Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null)
var align: Align?
open var content: String?
protected open fun getSnClass(): List<StringBoolPair>
protected open fun render(): VNode
open var rich: Boolean
fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag
open var template: (Any?) -> String
open var templates: Map<String, (Any?) -> String>
var type: TAG
interface Template
open class Text : AbstractText
enum class TextAlign
open class TextArea : AbstractText
Module Contents
TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var cols: Int?
val input: TextAreaInput
var rows: Int?
fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea
var wrapHard: Boolean
open class TextAreaInput : AbstractTextInput
class TextDecoration
enum class TextDecorationLine
enum class TextDecorationStyle
open class TextInput : AbstractTextInput
enum class TextInputType
enum class TextOverflow
class TextShadow
enum class TextTransform
open class Toolbar : SimplePanel
enum class UNIT
enum class UnicodeBidi
open class Upload : SimplePanel, KFilesFormControl
open class UploadInput : Widget, FormInput
Module Contents
UploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var allowedFileExtensions: Set<String>?
var allowedFileTypes: Set<String>?
open fun blur(): Unit
var browseOnZoneClick: Boolean
open fun cancel(): Unit
open fun clearInput(): Unit
open var disabled: Boolean
var dropZoneEnabled: Boolean
var explorerTheme: Boolean
open fun focus(): Unit
suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
fun getNativeFile(kFile: KFile): File?
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
open fun lock(): Unit
var multiple: Boolean
open var name: String?
var preferIconicPreview: Boolean
protected open fun render(): VNode
var required: Boolean
open fun resetInput(): Unit
var showBrowse: Boolean
var showCancel: Boolean
var showCaption: Boolean
var showPreview: Boolean
var showRemove: Boolean
var showUpload: Boolean
open var size: InputSize?
open fun unlock(): Unit
open fun upload(): Unit
var uploadExtraData: (String, Int) -> dynamic
fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: UploadInput.() -> Unit = null): UploadInput
var uploadUrl: String?
var value: List<KFile>?
open class VPanel : FlexPanel
enum class VerticalAlign
enum class WhiteSpace
open class Widget : StyledComponent
open class WidgetWrapper : SimplePanel
open class Window : SimplePanel
Module Contents
Window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterCreate(node: VNode): Unit
protected open fun afterDestroy(): Unit
var caption: String?
var closeButton: Boolean
var contentHeight: CssSize?
var contentOverflow: Overflow?
var contentWidth: CssSize?
open fun focus(): Unit
open fun getChildren(): List<Component>
var isDraggable: Boolean
var isResizable: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun toFront(): Unit
fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window
com.lightningkite.kotlin.observable.list.ObservableList
java.util.Date
kotlin.Int
kotlin.Pair
kotlin.String
kotlin.collections.Map
kotlin.js.Date
kotlin.js.Json
org.w3c.files.File
package pl.treksoft.kvision.core
Module Contents
class Background
Module Contents
Background(image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Int, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Col, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
enum class BgAttach
enum class BgClip
enum class BgOrigin
enum class BgRepeat
enum class BgSize
class Border
enum class BorderStyle
enum class Clear
enum class Col
class Color
interface Component
interface Container : Component
typealias CssSize = Pair<Int, UNIT>
enum class Direction
enum class Display
enum class FontStyle
enum class FontVariant
enum class FontWeight
enum class Overflow
enum class PosFloat
enum class Position
typealias ResString = String
enum class Resize
typealias StringBoolPair = Pair<String, Boolean>
typealias StringPair = Pair<String, String>
abstract class StyledComponent : Component
enum class TextAlign
class TextDecoration
enum class TextDecorationLine
enum class TextDecorationStyle
enum class TextOverflow
class TextShadow
enum class TextTransform
enum class UNIT
enum class UnicodeBidi
enum class VerticalAlign
enum class WhiteSpace
open class Widget : StyledComponent
open class WidgetWrapper : SimplePanel
package pl.treksoft.kvision.data
Module Contents
abstract class BaseDataComponent : DataComponent
interface DataComponent
class DataContainer<M, C : Component> : Widget, Container, DataUpdatable
Module Contents
DataContainer(model: ObservableList<M>, factory: (Int, M) -> C, filter: (Int, M) -> Boolean = null, mapping: (List<Pair<Int, M>>) -> List<Pair<Int, M>> = null, container: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null)
fun add(child: Component): Container
fun addAll(children: List<Component>): Container
fun clearOnUpdate(): DataContainer<M, C>
fun <M, C : Component> Container.dataContainer(model: ObservableList<M>, factory: (Int, M) -> C, filter: (Int, M) -> Boolean = null, mapping: (List<Pair<Int, M>>) -> List<Pair<Int, M>> = null, container: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null): DataContainer<M, C>
fun getChildren(): List<Component>
fun onUpdate(handler: () -> Unit): DataContainer<M, C>
fun remove(child: Component): Container
fun removeAll(): Container
fun update(): Unit
var visible: Boolean
interface DataUpdatable
package pl.treksoft.kvision.dropdown
Module Contents
open class ContextMenu : ListTag
enum class DD
open class DropDown : SimplePanel
Module Contents
DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterInsert(node: VNode): Unit
var block: Boolean
fun buttonId(): String?
var disabled: Boolean
fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
var dropup: Boolean
val forNavbar: Boolean
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
open fun toggle(): Unit
open var width: CssSize?
open class Header : Tag
open class Separator : Tag
package pl.treksoft.kvision.form
Module Contents
interface BoolFormControl : FormControl
interface DateFormControl : FormControl
open class FieldLabel : Tag
class Form<K : Any>
Module Contents
Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>)
fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
fun clearData(): Unit
inline fun <reified K : Any> create(panel: FormPanel<K>? = null, noinline init: Form<K>.() -> Unit = null): Form<K>
operator fun get(key: KProperty1<K, *>): Any?
fun getControl(key: KProperty1<K, *>): FormControl?
fun getData(): K
fun getDataJson(): Json
fun remove(key: KProperty1<K, *>): Form<K>
fun removeAll(): Form<K>
fun setData(model: K): Unit
fun validate(): Boolean
interface FormControl : Component
enum class FormEnctype
interface FormInput : Component
enum class FormMethod
open class FormPanel<K : Any> : SimplePanel
Module Contents
FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
open fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
protected fun <C : FormControl> addInternal(key: KProperty1<K, *>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: FormPanel<K>.() -> Unit = null): FormPanel<K>
var enctype: FormEnctype?
inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: FormPanel<K>.() -> Unit = null): FormPanel<K>
operator fun get(key: KProperty1<K, *>): Any?
open fun getControl(key: KProperty1<K, *>): FormControl?
open fun getData(): K
open fun getDataJson(): Json
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var method: FormMethod?
var name: String?
var novalidate: Boolean?
open fun remove(key: KProperty1<K, *>): FormPanel<K>
open fun removeAll(): FormPanel<K>
protected open fun render(): VNode
open fun setData(model: K): Unit
var target: FormTarget?
open fun validate(): Boolean
var validator: (Form<K>) -> Boolean?
var validatorMessage: (Form<K>) -> String?
enum class FormTarget
enum class FormType
open class HelpBlock : Tag
enum class InputSize
interface KFilesFormControl : FormControl
interface NumberFormControl : FormControl
interface StringFormControl : FormControl
kotlin.collections.Map
kotlin.js.Json
package pl.treksoft.kvision.form.check
Module Contents
open class CheckBox : SimplePanel, BoolFormControl
enum class CheckBoxStyle
open class CheckInput : Widget, FormInput
enum class CheckInputType
open class Radio : SimplePanel, BoolFormControl
open class RadioGroup : SimplePanel, StringFormControl
Module Contents
RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: CheckInput
var label: String?
open var name: String?
var options: List<StringPair>?
fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup
var rich: Boolean
open var size: InputSize?
val validationInfo: HelpBlock
open var value: String?
enum class RadioStyle
package pl.treksoft.kvision.form.select
Module Contents
data class AjaxOptions
Module Contents
AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false)
val beforeSend: (JQueryXHR) -> dynamic
val cache: Boolean
val clearOnEmpty: Boolean
val clearOnError: Boolean
val data: dynamic
val dataType: DataType
val emptyRequest: Boolean
val httpType: HttpType
val minLength: Int
val preprocessData: (dynamic) -> dynamic
val requestDelay: Int
val restoreOnError: Boolean
val url: String
enum class DataType
enum class HttpType
open class Select : SimplePanel, StringFormControl
Module Contents
Select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
var ajaxOptions: AjaxOptions?
var autofocus: Boolean?
open fun blur(): Unit
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: SelectInput
var label: String?
var liveSearch: Boolean
var maxOptions: Int?
var multiple: Boolean
var options: List<StringPair>?
var placeholder: String?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
val validationInfo: HelpBlock
open var value: String?
open class SelectInput : SimplePanel, FormInput
open class SelectOptGroup : SimplePanel
open class SelectOption : Widget
enum class SelectWidthType
fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
package pl.treksoft.kvision.form.spinner
Module Contents
enum class ButtonsType
enum class ForceType
open class Spinner : SimplePanel, NumberFormControl
Module Contents
Spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
var decimals: Int
val flabel: FieldLabel
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnClass(): List<StringBoolPair>
open fun getValueAsString(): String?
protected val idc: String
val input: SpinnerInput
var label: String?
var max: Int
var min: Int
var placeholder: String?
var readonly: Boolean?
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun spinDown(): Spinner
open fun spinUp(): Spinner
fun Container.spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner
var startValue: Number?
var step: Double
val validationInfo: HelpBlock
open var value: Number?
open class SpinnerInput : Widget, FormInput
Module Contents
SpinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
protected open fun changeValue(): Unit
var decimals: Int
open var disabled: Boolean
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
var max: Int
var min: Int
open var name: String?
var placeholder: String?
var readonly: Boolean?
protected open fun render(): VNode
open var size: InputSize?
fun spinDown(): SpinnerInput
fun spinUp(): SpinnerInput
fun Container.spinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf(), init: SpinnerInput.() -> Unit = null): SpinnerInput
var startValue: Number?
var step: Double
var value: Number?
package pl.treksoft.kvision.form.text
Module Contents
abstract class AbstractText : SimplePanel, StringFormControl
abstract class AbstractTextInput : Widget, FormInput
open class Password : Text
open class RichText : AbstractText
open class RichTextInput : AbstractTextInput
open class Text : AbstractText
open class TextArea : AbstractText
Module Contents
TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var cols: Int?
val input: TextAreaInput
var rows: Int?
fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea
var wrapHard: Boolean
open class TextAreaInput : AbstractTextInput
open class TextInput : AbstractTextInput
enum class TextInputType
package pl.treksoft.kvision.form.time
package pl.treksoft.kvision.form.upload
Module Contents
open class Upload : SimplePanel, KFilesFormControl
open class UploadInput : Widget, FormInput
Module Contents
UploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var allowedFileExtensions: Set<String>?
var allowedFileTypes: Set<String>?
open fun blur(): Unit
var browseOnZoneClick: Boolean
open fun cancel(): Unit
open fun clearInput(): Unit
open var disabled: Boolean
var dropZoneEnabled: Boolean
var explorerTheme: Boolean
open fun focus(): Unit
suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
fun getNativeFile(kFile: KFile): File?
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
open fun lock(): Unit
var multiple: Boolean
open var name: String?
var preferIconicPreview: Boolean
protected open fun render(): VNode
var required: Boolean
open fun resetInput(): Unit
var showBrowse: Boolean
var showCancel: Boolean
var showCaption: Boolean
var showPreview: Boolean
var showRemove: Boolean
var showUpload: Boolean
open var size: InputSize?
open fun unlock(): Unit
open fun upload(): Unit
var uploadExtraData: (String, Int) -> dynamic
fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: UploadInput.() -> Unit = null): UploadInput
var uploadUrl: String?
var value: List<KFile>?
package pl.treksoft.kvision.hmr
package pl.treksoft.kvision.html
Module Contents
enum class Align
open class Button : Widget
Module Contents
Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf())
var block: Boolean
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button
var disabled: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
var type: ButtonType
enum class ButtonSize
enum class ButtonStyle
enum class ButtonType
open class Canvas : Widget
open class Div : Tag
open class Icon : Tag
open class Iframe : Widget
Module Contents
Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf())
open fun getIframeWindow(): Window
protected open fun getSnAttrs(): List<StringPair>
fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: Iframe.() -> Unit = null): Iframe
var iframeHeight: Int?
var iframeWidth: Int?
var location: String?
var name: String?
protected open fun render(): VNode
var sandbox: Set<Sandbox>?
var src: String?
var srcdoc: String?
open class Image : Widget
Module Contents
Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf())
var alt: String?
var centered: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: Image.() -> Unit = null): Image
protected open fun render(): VNode
var responsive: Boolean
var shape: ImageShape?
var src: ResString
enum class ImageShape
open class Label : Tag
open class Link : SimplePanel
Module Contents
Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var image: ResString?
var label: String
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
open fun onClick(handler: Link.(MouseEvent) -> Unit): Link
protected open fun render(): VNode
var url: String?
open class ListTag : SimplePanel
enum class ListType
enum class Sandbox
enum class TAG
open class Tag : SimplePanel, Template
Module Contents
Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null)
var align: Align?
open var content: String?
protected open fun getSnClass(): List<StringBoolPair>
protected open fun render(): VNode
open var rich: Boolean
fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag
open var template: (Any?) -> String
open var templates: Map<String, (Any?) -> String>
var type: TAG
interface Template
package pl.treksoft.kvision.i18n
package pl.treksoft.kvision.modal
Module Contents
open class Alert : Modal
Module Contents
Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null)
var align: Align?
open fun hide(): Widget
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null): Unit
var text: String?
open class CloseIcon : Widget
open class Confirm : Modal
Module Contents
Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
var align: Align?
var cancelTitle: String
var cancelVisible: Boolean
var noTitle: String
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
var text: String?
var yesTitle: String
open class Dialog<R> : Modal
open class Modal : SimplePanel
enum class ModalSize
package pl.treksoft.kvision.navbar
package pl.treksoft.kvision.panel
Module Contents
enum class Direction
open class DockPanel : SimplePanel
enum class FlexAlignContent
enum class FlexAlignItems
enum class FlexDir
enum class FlexJustify
open class FlexPanel : SimplePanel
Module Contents
FlexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: FlexPanel.() -> Unit = null)
fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
open fun add(child: Component): FlexPanel
open fun addAll(children: List<Component>): FlexPanel
var alignContent: FlexAlignContent?
var alignItems: FlexAlignItems?
var direction: FlexDir?
fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: FlexPanel.() -> Unit = null): FlexPanel
protected open fun getSnStyle(): List<StringPair>
var justify: FlexJustify?
open fun remove(child: Component): FlexPanel
open fun removeAll(): FlexPanel
var spacing: Int?
var wrap: FlexWrap?
enum class FlexWrap
enum class GridAlign
enum class GridAlignContent
enum class GridFlow
enum class GridJustify
enum class GridJustifyContent
open class GridPanel : SimplePanel
Module Contents
GridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: GridPanel.() -> Unit = null)
fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GridJustify? = null, alignSelf: GridAlign? = null, classes: Set<String> = setOf()): GridPanel
open fun add(child: Component): GridPanel
open fun addAll(children: List<Component>): GridPanel
var alignContent: GridAlignContent?
var alignItems: GridAlign?
var autoColumns: String?
var autoFlow: GridFlow?
var autoRows: String?
var columnGap: Int?
protected open fun getSnStyle(): List<StringPair>
fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: GridPanel.() -> Unit = null): GridPanel
var justifyContent: GridJustifyContent?
var justifyItems: GridJustify?
open fun remove(child: Component): GridPanel
open fun removeAll(): GridPanel
var rowGap: Int?
var templateAreas: List<String>?
var templateColumns: String?
var templateRows: String?
enum class GridSize
class GridWrapper : WidgetWrapper
open class HPanel : FlexPanel
Module Contents
HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null)
fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null): HPanel
open class ResponsiveGridPanel : SimplePanel
Module Contents
ResponsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: ResponsiveGridPanel.() -> Unit = null)
open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel
open fun add(child: Component): ResponsiveGridPanel
open fun addAll(children: List<Component>): ResponsiveGridPanel
var align: Align?
open fun remove(child: Component): ResponsiveGridPanel
open fun removeAt(col: Int, row: Int): ResponsiveGridPanel
fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: ResponsiveGridPanel.() -> Unit = null): ResponsiveGridPanel
class Root : SimplePanel
enum class Side
open class SimplePanel : Widget, Container
open class SplitPanel : SimplePanel
open class StackPanel : SimplePanel
open class TabPanel : SimplePanel
open class VPanel : FlexPanel
package pl.treksoft.kvision.progress
Module Contents
open class ProgressBar : SimplePanel
Module Contents
ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null)
var align: Align?
var animated: Boolean
var content: String?
var max: Int
var min: Int
var progress: Int
fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null): ProgressBar
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
enum class ProgressBarStyle
package pl.treksoft.kvision.remote
Module Contents
open class CallAgent
data class Credentials
const val HTTP_UNAUTHORIZED: Int
enum class HttpMethod
data class JsonRpcRequest
data class JsonRpcResponse
open expect class KVServer
class LoginService
Profile
Module Contents
expect class Profile
Module Contents
Profile(id: String? = null, attributes: MutableMap<String, String> = mutableMapOf(), authenticationAttributes: MutableMap<String, String> = mutableMapOf(), roles: MutableSet<String> = mutableSetOf(), permissions: MutableSet<String> = mutableSetOf(), linkedId: String? = null, remembered: Boolean = false, clientName: String? = null)
val attributes: MutableMap<String, String>
val authenticationAttributes: MutableMap<String, String>
val clientName: String?
var displayName: String?
var email: String?
var familyName: String?
var firstName: String?
val id: String?
val linkedId: String?
val permissions: MutableSet<String>
var pictureUrl: String?
var profileUrl: String?
val remembered: Boolean
val roles: MutableSet<String>
var username: String?
actual typealias Profile = <ERROR CLASS>
open class RemoteAgent<out T>
Module Contents
RemoteAgent(serviceManager: ServiceManager<T>)
inline fun <reified RET : Any, T> call(noinline function: T.(Request?) -> Deferred<RET>): Deferred<RET>
inline fun <reified RET : Any, T> call(noinline function: T.(Request?) -> Deferred<List<RET>>): Deferred<List<RET>>
inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR, Request?) -> Deferred<RET>, p: PAR): Deferred<RET>
inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR, Request?) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<List<RET>>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<RET>
inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<List<RET>>
val callAgent: CallAgent
val serviceManager: ServiceManager<T>
expect interface Request
enum class RpcHttpMethod
class SecurityException : Exception
abstract class SecurityMgr
open expect class ServiceManager<out T>
Module Contents
ServiceManager(service: T)
val LOG: <ERROR CLASS>
fun applyRoutes(k: KVServer): Unit
protected inline fun <reified RET> bind(noinline function: T.(Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR, reified RET> bind(noinline function: T.(PAR, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST, prefix: String = "/"): Unit
fun call(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): KVServer.() -> Unit
protected val calls: MutableMap<String, Pair<String, RpcHttpMethod>>
var counter: Int
fun getCalls(): Map<String, Pair<String, RpcHttpMethod>>
protected inline fun <reified T> getParameter(str: String?): T
val mapper: <ERROR CLASS>
protected val routes: MutableList<KVServer.() -> Unit>
val service: T
fun <RESP> Request?.async(block: (Request) -> RESP): Deferred<RESP>
fun <RESP> Request?.async(block: (Request, <ERROR CLASS>) -> RESP): Deferred<RESP>
fun <RESP> Request?.async(block: (Request, <ERROR CLASS>, Profile) -> RESP): Deferred<RESP>
package pl.treksoft.kvision.routing
package pl.treksoft.kvision.table
Module Contents
open class Cell : Tag
open class HeaderCell : Tag
open class Row : Tag
open class Table : SimplePanel
Module Contents
Table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
fun addHeaderCell(: HeaderCell): Table
var caption: String?
protected open fun childrenVNodes(): Array<VNode>
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var headerNames: List<String>?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
fun removeHeaderCell(: HeaderCell): Table
fun removeHeaderCells(): Table
protected open fun render(): VNode
var responsive: Boolean
fun Container.table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null): Table
var types: Set<TableType>
enum class TableType
package pl.treksoft.kvision.toolbar
package pl.treksoft.kvision.types
package pl.treksoft.kvision.utils
package pl.treksoft.kvision.window
Module Contents
open class Window : SimplePanel
Module Contents
Window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterCreate(node: VNode): Unit
protected open fun afterDestroy(): Unit
var caption: String?
var closeButton: Boolean
var contentHeight: CssSize?
var contentOverflow: Overflow?
var contentWidth: CssSize?
open fun focus(): Unit
open fun getChildren(): List<Component>
var isDraggable: Boolean
var isResizable: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun toFront(): Unit
fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window