From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001
From: Robert Jaros KVision - object oriented Web UI framework for Kotlin/JS. CSS align attributes. Base class for form field text components. Base class for basic text components. Data class for AJAX options. Alert window based on Bootstrap modal. Base class for applications. Definitions of CSS background attachment options. Definitions of CSS background clipping options. Definitions of CSS background origin options. Definitions of CSS background repeat options. Definitions of CSS background size. Definitions of CSS border styles. Button sizes. Button styles. Spinner buttons layout types. Type-safe definition of CSS background. Base abstract class for creating observable data model. Base interface of a form control with a boolean value. Type-safe definition of CSS border. Button component. Checkbox style options. Type of the check input control (checkbox or radio). Definitions of CSS color names. The form field component rendered as HTML input type="checkbox". The basic input component rendered as HTML input type="checkbox" or input type="radio". Helper class for close icon component. Type-safe definition of CSS color. Base interface for all components. Confirm window based on Bootstrap modal. Base interface for all containers. This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.). Data type for the AJAX call. Useful options for use in DropDown's elements parameter. Split panel direction. Base interface for observable data model. A container class with support for observable data model. Interface for updatable container. Base interface of a form control with a date value. Form field date/time chooser component. Basic date/time chooser component. The container with dock layout (up, down, left, right and center positions). Bootstrap dropdown component. CSS flexbox content alignment options. CSS flexbox alignments options. CSS flexbox directions. CSS flexbox justification options. CSS flexbox wrap modes. Spinner force rounding types. Bootstrap form layout options. Helper class for HTML label element. The container with CSS flexbox layout support. The form definition class. Can be used directly or indirectly inside a FormPanel. Base interface of a form control. Bootstrap form component. CSS grid alignment options. CSS grid content alignment options. CSS grid flow options. CSS grid justification options. CSS grid content justification options. Bootstrap grid sizes. The container with CSS grid layout support. The container with horizontal layout. HTTP protocol type for the AJAX call. Helper class for Bootstrap help block element. Helper interface for Hot Module Replacement (HMR). Image shapes. Input controls sizes. Image component. Helper class for defining custom events. HTML list types. Simple label component rendered as span. Link component. HTML list component. Modal window sizes. Configurable modal window based on Bootstrap modal. Helper interface for Hot Module Replacement (HMR). Base interface of a form control with a numeric value. JavaScript Object type Form field password component. Radio style options. The form field component rendered as HTML input type="radio". The form field component rendered as a group of HTML input type="radio" elements with the same name attribute. This type is used for accessing resources with CommonJS require function. The container with support for Bootstrap responsive grid layout. Form field rich text component. Basic rich text component. Root container. A helper class for Navigo JavaScript router. Select width types. See Bootstrap Select width. Dock layout directions. The form field component for Select control. The basic component for Select control. The helper container for adding option groups to Select. The helper component for adding options to Select or SelectOptGroup. Basic container class, rendered as a DIV element with all children directly within. The form field component for spinner control. The basic component for spinner control. The container with draggable splitter. The container with only one active (visible) child at any moment. Helper type used to define CSS classes. Base interface of a form control with a text value. Helper type used to define CSS style attributes. Base class for components supporting CSS styling. HTML tags. Text input types. The container rendering it's children as tabs. HTML tag component. Form field text component. Form field textarea component. Basic textarea component. Basic text component. Definitions of CSS units. The container with vertical layout. Base widget class. The parent of all component classes. This class allows to wrap a component into separately styled DIV element. KVision - object oriented Web UI framework for Kotlin/JS. KVision core classes. This includes base interfaces for all components, basic CSS enums (for colors, borders
+and backgrounds) and the main Widget class. Base component and container class with data binding support for observable data model. Bootstrap dropdown component. Convenient forms implementation, with support for many different input components and easy to define
+validation. Checkbox, radiobutton and radiobutton group components. Full-featured select component with support for remote (AJAX) data source. Spinner input component. Text input components, with password, text area and rich text area support. Full-featured date and time input components. Helper interfaces and classes necessary to develop applications supporting Hot Module Replacement (HMR). Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links and lists. Classes supporting general purpose Bootstrap modals with convenient helpers for alert and confirm popup dialogs. Rich set of container classes, supporting both simple use cases and sophisticated layouts (including CSS flexbox,
+CSS grid and Bootstrap responsive 12 columns gid). Simple and easy to use JavaScript router wrapper. Interfaces and helper functions for Snabbdom virtual dom implementation and a few useful extension functions. Definitions of CSS background attachment options. Definitions of CSS background clipping options. Definitions of CSS background origin options. Definitions of CSS background repeat options. Definitions of CSS background size. Definitions of CSS border styles. Creates CSS Background with given parameters.
+
+
+
+
+
+
+
+
+ Creates CSS Background with given parameters.
+
+
+
+
+
+
+
+
+
+ Creates CSS Background with given parameters.
+
+
+
+
+
+
+
+
+
+ Type-safe definition of CSS background. Creates CSS Background with given parameters. Creates CSS Border with given width and style. Creates CSS Border with given width, style and color given in hex format. Creates CSS Border with given width, style and color given with named constant. Type-safe definition of CSS border. Creates CSS Border with given width and style. Creates CSS Border with given width, style and color given in hex format. Creates CSS Border with given width, style and color given with named constant. Definitions of CSS color names. Creates CSS Color with color given in hex format. Creates CSS Color with color given with named constant. Type-safe definition of CSS color. Creates CSS Color with color given in hex format. Creates CSS Color with color given with named constant. Adds given value to the set of CSS classes generated in html code of current component. Return Adds given value to the set of CSS classes generated in html code of parent component. Return Returns JQuery element bound to the current component as a dynamic type. Return Returns JQuery element bound to the current component. Return Returns DOM element bound to the current component. Return Base interface for all components. Parent of the current component. Visibility state of the current component. Adds given value to the set of CSS classes generated in html code of current component. Adds given value to the set of CSS classes generated in html code of parent component. Returns DOM element bound to the current component. Returns JQuery element bound to the current component. Returns JQuery element bound to the current component as a dynamic type. Removes given value from the set of CSS classes generated in html code of current component. Removes given value from the set of CSS classes generated in html code of parent component. Base interface for all containers. Base interface of a form control. Base class for components supporting CSS styling. Parent of the current component. Removes given value from the set of CSS classes generated in html code of current component. Return Removes given value from the set of CSS classes generated in html code of parent component. Return Visibility state of the current component. Adds a list of components to the current container.
+ Return Adds given component to the current container. Return Returns a list of children of the current container. Return Base interface for all containers. Parent of the current component. Visibility state of the current component. Adds given component to the current container. Adds a list of components to the current container. Returns a list of children of the current container. Removes given component from the current container. Removes all children from the current container. Adds given value to the set of CSS classes generated in html code of current component. Adds given value to the set of CSS classes generated in html code of parent component. Returns DOM element bound to the current component. Returns JQuery element bound to the current component. Returns JQuery element bound to the current component as a dynamic type. Removes given value from the set of CSS classes generated in html code of current component. Removes given value from the set of CSS classes generated in html code of parent component. A container class with support for observable data model. Basic container class, rendered as a DIV element with all children directly within. Removes all children from the current container. Return Removes given component from the current container. Return This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.). This type is used for accessing resources with CommonJS require function. e.g. require("./img/picture.png") Helper type used to define CSS classes. Helper type used to define CSS style attributes. Base class for components supporting CSS styling. Background of the current component. Bottom border of the current component. Left border of the current component. Right border of the current component. Top border of the current component. Border of the current component. Text color for the current component given in hex format (write only). This property gives a convenient way to set the value of color property e.g.: c.colorHex = 0x00ff00 The value read from this property is always null. Text color for the current component given with named constant (write only). This property gives a convenient way to set the value of color property e.g.: c.colorName = COLOR.GREEN The value read from this property is always null. Text color for the current component. Returns the list of String pairs defining CSS style attributes and their values. Return Height of the current component. Base class for components supporting CSS styling. Base class for components supporting CSS styling. Background of the current component. Border of the current component. Bottom border of the current component. Left border of the current component. Right border of the current component. Top border of the current component. Text color for the current component. Text color for the current component given in hex format (write only). Text color for the current component given with named constant (write only). Height of the current component. Margin of the current component. Bottom margin of the current component. Left margin of the current component. Right margin of the current component. Top margin of the current component. Maximal height of the current component. Maximal width of the current component. Minimal height of the current component. Minimal width of the current component. Opacity of the current component. Padding of the current component. Bottom padding of the current component. Left padding of the current component. Right padding of the current component. Top padding of the current component. Width of the current component. Parent of the current component. Visibility state of the current component. Returns the list of String pairs defining CSS style attributes and their values. Adds given value to the set of CSS classes generated in html code of current component. Adds given value to the set of CSS classes generated in html code of parent component. Returns DOM element bound to the current component. Returns JQuery element bound to the current component. Returns JQuery element bound to the current component as a dynamic type. Removes given value from the set of CSS classes generated in html code of current component. Removes given value from the set of CSS classes generated in html code of parent component. Base widget class. The parent of all component classes. Bottom margin of the current component. Left margin of the current component. Right margin of the current component. Top margin of the current component. Margin of the current component. Maximal height of the current component. Maximal width of the current component. Minimal height of the current component. Minimal width of the current component. Opacity of the current component. Bottom padding of the current component. Left padding of the current component. Right padding of the current component. Top padding of the current component. Padding of the current component. Width of the current component. Definitions of CSS units.
+ Constructor This class allows to wrap a component into separately styled DIV element. Visibility state of the current component. An ID attribute of generated HTML element. Parent of the current component. A role attribute of generated HTML element. A title attribute of generated HTML element. Renders current component as a Snabbdom vnode. Adds given value to the set of CSS classes generated in html code of current component. Adds given value to the set of CSS classes generated in html code of parent component. Method called after creating Snabbdom vnode. Method called after destroying Snabbdom vnode. Method called after inserting Snabbdom vnode into the DOM. Method called after updating Snabbdom vnode. Returns DOM element bound to the current component. Returns JQuery element bound to the current component. Returns JQuery element bound to the current component as a dynamic type. Returns list of element attributes in the form of a List. Returns list of CSS class names for current widget in the form of a List. Returns list of hooks in the form of a Snabbdom Hooks object. Returns list of event handlers in the form of a Snabbdom On object. Makes current widget invisible. Removes given value from the set of CSS classes generated in html code of current component. Removes all event listeners from current widget. Removes given value from the set of CSS classes generated in html code of parent component. Renders current component as a Snabbdom vnode. Sets an event listener for current widget, keeping the actual type of component. Sets an event listener for current widget. Makes current widget visible. Toggles visibility of current widget. Overrides Widget.render Renders current component as a Snabbdom vnode. Return Overrides Widget.visible Visibility state of the current component. Getter Visibility state of the current component.All Types
+
+
+
+
+
diff --git a/docs/api/index-outline.html b/docs/api/index-outline.html
new file mode 100644
index 00000000..6a226be2
--- /dev/null
+++ b/docs/api/index-outline.html
@@ -0,0 +1,5089 @@
+
+
+
+
+
+
+pl.treksoft.kvision.html.ALIGN
+
+
+
+
+
+pl.treksoft.kvision.form.text.AbstractText
+
+
+
+
+
+pl.treksoft.kvision.form.text.AbstractTextInput
+
+
+
+
+
+pl.treksoft.kvision.form.select.AjaxOptions
+
+
+
+
+
+pl.treksoft.kvision.modal.Alert
+
+
+
+
+
+pl.treksoft.kvision.hmr.ApplicationBase
+
+
+
+
+
+pl.treksoft.kvision.core.BGATTACH
+
+
+
+
+
+pl.treksoft.kvision.core.BGCLIP
+
+
+
+
+
+pl.treksoft.kvision.core.BGORIGIN
+
+
+
+
+
+pl.treksoft.kvision.core.BGREPEAT
+
+
+
+
+
+pl.treksoft.kvision.core.BGSIZE
+
+
+
+
+
+pl.treksoft.kvision.core.BORDERSTYLE
+
+
+
+
+
+pl.treksoft.kvision.html.BUTTONSIZE
+
+
+
+
+
+pl.treksoft.kvision.html.BUTTONSTYLE
+
+
+
+
+
+pl.treksoft.kvision.form.spinner.BUTTONSTYPE
+
+
+
+
+
+pl.treksoft.kvision.core.Background
+
+
+
+
+
+pl.treksoft.kvision.data.BaseDataComponent
+
+
+
+
+
+pl.treksoft.kvision.form.BoolFormControl
+
+
+
+
+
+pl.treksoft.kvision.core.Border
+
+
+
+
+
+pl.treksoft.kvision.html.Button
+
+
+
+
+
+pl.treksoft.kvision.form.check.CHECKBOXSTYLE
+
+
+
+
+
+pl.treksoft.kvision.form.check.CHECKINPUTTYPE
+
+
+
+
+
+pl.treksoft.kvision.core.COLOR
+
+
+
+
+
+pl.treksoft.kvision.form.check.CheckBox
+
+
+
+
+
+pl.treksoft.kvision.form.check.CheckInput
+
+
+
+
+
+pl.treksoft.kvision.modal.CloseIcon
+
+
+
+
+
+pl.treksoft.kvision.core.Color
+
+
+
+
+
+pl.treksoft.kvision.core.Component
+
+
+
+
+
+pl.treksoft.kvision.modal.Confirm
+
+
+
+
+
+pl.treksoft.kvision.core.Container
+
+
+
+
+
+pl.treksoft.kvision.core.CssSize
+
+
+
+
+
+pl.treksoft.kvision.form.select.DATATYPE
+
+
+
+
+
+pl.treksoft.kvision.dropdown.DD
+
+
+
+
+
+pl.treksoft.kvision.panel.DIRECTION
+
+
+
+
+
+pl.treksoft.kvision.data.DataComponent
+
+
+
+
+
+pl.treksoft.kvision.data.DataContainer
+
+
+
+
+
+pl.treksoft.kvision.data.DataUpdatable
+
+
+
+
+
+kotlin.js.Date (extensions in package pl.treksoft.kvision.utils)
+
+
+
+
+
+pl.treksoft.kvision.form.DateFormControl
+
+
+
+
+
+pl.treksoft.kvision.form.time.DateTime
+
+
+
+
+
+pl.treksoft.kvision.form.time.DateTimeInput
+
+
+
+
+
+pl.treksoft.kvision.panel.DockPanel
+
+
+
+
+
+pl.treksoft.kvision.dropdown.DropDown
+
+
+
+
+
+pl.treksoft.kvision.panel.FLEXALIGNCONTENT
+
+
+
+
+
+pl.treksoft.kvision.panel.FLEXALIGNITEMS
+
+
+
+
+
+pl.treksoft.kvision.panel.FLEXDIR
+
+
+
+
+
+pl.treksoft.kvision.panel.FLEXJUSTIFY
+
+
+
+
+
+pl.treksoft.kvision.panel.FLEXWRAP
+
+
+
+
+
+pl.treksoft.kvision.form.spinner.FORCETYPE
+
+
+
+
+
+pl.treksoft.kvision.form.FORMTYPE
+
+
+
+
+
+pl.treksoft.kvision.form.FieldLabel
+
+
+
+
+
+pl.treksoft.kvision.panel.FlexPanel
+
+
+
+
+
+pl.treksoft.kvision.form.Form
+
+
+
+
+
+pl.treksoft.kvision.form.FormControl
+
+
+
+
+
+pl.treksoft.kvision.form.FormPanel
+
+
+
+
+
+pl.treksoft.kvision.panel.GRIDALIGN
+
+
+
+
+
+pl.treksoft.kvision.panel.GRIDALIGNCONTENT
+
+
+
+
+
+pl.treksoft.kvision.panel.GRIDFLOW
+
+
+
+
+
+pl.treksoft.kvision.panel.GRIDJUSTIFY
+
+
+
+
+
+pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT
+
+
+
+
+
+pl.treksoft.kvision.panel.GRIDSIZE
+
+
+
+
+
+pl.treksoft.kvision.panel.GridPanel
+
+
+
+
+
+pl.treksoft.kvision.panel.GridWrapper
+
+
+
+
+
+pl.treksoft.kvision.panel.HPanel
+
+
+
+
+
+pl.treksoft.kvision.form.select.HTTPTYPE
+
+
+
+
+
+pl.treksoft.kvision.form.HelpBlock
+
+
+
+
+
+pl.treksoft.kvision.hmr.Hot
+
+
+
+
+
+pl.treksoft.kvision.html.IMAGESHAPE
+
+
+
+
+
+pl.treksoft.kvision.form.INPUTSIZE
+
+
+
+
+
+pl.treksoft.kvision.html.Image
+
+
+
+
+
+kotlin.Int (extensions in package pl.treksoft.kvision.utils)
+
+
+
+
+
+pl.treksoft.kvision.utils.KvEvent
+
+
+
+
+
+pl.treksoft.kvision.html.LISTTYPE
+
+
+
+
+
+pl.treksoft.kvision.html.Label
+
+
+
+
+
+pl.treksoft.kvision.html.Link
+
+
+
+
+
+pl.treksoft.kvision.html.ListTag
+
+
+
+
+
+pl.treksoft.kvision.modal.MODALSIZE
+
+
+
+
+
+kotlin.collections.Map (extensions in package pl.treksoft.kvision.form)
+
+
+
+
+
+pl.treksoft.kvision.modal.Modal
+
+
+
+
+
+pl.treksoft.kvision.hmr.Module
+
+
+
+
+
+pl.treksoft.kvision.form.NumberFormControl
+
+
+
+
+
+pl.treksoft.kvision.utils.Object
+
+
+
+
+
+kotlin.Pair (extensions in package pl.treksoft.kvision.utils)
+
+
+
+
+
+pl.treksoft.kvision.form.text.Password
+
+
+
+
+
+pl.treksoft.kvision.form.check.RADIOSTYLE
+
+
+
+
+
+pl.treksoft.kvision.form.check.Radio
+
+
+
+
+
+pl.treksoft.kvision.form.check.RadioGroup
+
+
+
+
+
+pl.treksoft.kvision.core.ResString
+
+
+
+
+
+pl.treksoft.kvision.panel.ResponsiveGridPanel
+
+
+
+
+
+pl.treksoft.kvision.form.text.RichText
+
+
+
+
+
+pl.treksoft.kvision.form.text.RichTextInput
+
+
+
+
+
+pl.treksoft.kvision.panel.Root
+
+
+
+
+
+pl.treksoft.kvision.routing.Routing
+
+
+
+
+
+pl.treksoft.kvision.form.select.SELECTWIDTHTYPE
+
+
+
+
+
+pl.treksoft.kvision.panel.SIDE
+
+
+
+
+
+pl.treksoft.kvision.form.select.Select
+
+
+
+
+
+pl.treksoft.kvision.form.select.SelectInput
+
+
+
+
+
+pl.treksoft.kvision.form.select.SelectOptGroup
+
+
+
+
+
+pl.treksoft.kvision.form.select.SelectOption
+
+
+
+
+
+pl.treksoft.kvision.panel.SimplePanel
+
+
+
+
+
+pl.treksoft.kvision.form.spinner.Spinner
+
+
+
+
+
+pl.treksoft.kvision.form.spinner.SpinnerInput
+
+
+
+
+
+pl.treksoft.kvision.panel.SplitPanel
+
+
+
+
+
+pl.treksoft.kvision.panel.StackPanel
+
+
+
+
+
+kotlin.String (extensions in package pl.treksoft.kvision.utils)
+
+
+
+
+
+pl.treksoft.kvision.core.StringBoolPair
+
+
+
+
+
+pl.treksoft.kvision.form.StringFormControl
+
+
+
+
+
+pl.treksoft.kvision.core.StringPair
+
+
+
+
+
+pl.treksoft.kvision.core.StyledComponent
+
+
+
+
+
+pl.treksoft.kvision.html.TAG
+
+
+
+
+
+pl.treksoft.kvision.form.text.TEXTINPUTTYPE
+
+
+
+
+
+pl.treksoft.kvision.panel.TabPanel
+
+
+
+
+
+pl.treksoft.kvision.html.Tag
+
+
+
+
+
+pl.treksoft.kvision.form.text.Text
+
+
+
+
+
+pl.treksoft.kvision.form.text.TextArea
+
+
+
+
+
+pl.treksoft.kvision.form.text.TextAreaInput
+
+
+
+
+
+pl.treksoft.kvision.form.text.TextInput
+
+
+
+
+
+pl.treksoft.kvision.core.UNIT
+
+
+
+
+
+pl.treksoft.kvision.panel.VPanel
+
+
+
+
+
+pl.treksoft.kvision.core.Widget
+
+
+
+
+
+
+pl.treksoft.kvision.core.WidgetWrapper
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/api/index.html b/docs/api/index.html
new file mode 100644
index 00000000..5be1c6f3
--- /dev/null
+++ b/docs/api/index.html
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.core
+
+abstract class AbstractText : SimplePanel, StringFormControl
+
+
+
+
+
+abstract class AbstractTextInput : Widget
+var autofocus: Boolean?
+open fun blur(): Unit
+open var disabled: Boolean
+val flabel: FieldLabel
+open fun focus(): Unit
+protected open fun getSnClass(): List<StringBoolPair>
+abstract val input: AbstractTextInput
+var label: String?
+var maxlength: Int?
+var name: String?
+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 var size: INPUTSIZE?
+var startValue: String?
+val validationInfo: HelpBlock
+open var value: String?
+
+
+
+
+
+
+
+
+data class AjaxOptions
+protected open fun afterInsert(node: VNode): Unit
+var autofocus: Boolean?
+open fun blur(): Unit
+var disabled: Boolean
+open fun focus(): Unit
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+var maxlength: Int?
+var name: String?
+var placeholder: String?
+var readonly: Boolean?
+var size: INPUTSIZE?
+var startValue: String?
+var value: String?
+
+
+
+
+
+
+
+
+open class Alert : Modal
+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
+
+
+
+
+
+
+
+
+abstract class ApplicationBase
+var align: ALIGN?
+open fun hide(): Widget
+var rich: Boolean
+fun show(: 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 BGATTACH
+abstract fun dispose(): Map<String, Any>
+abstract fun start(state: Map<String, Any>): Unit
+
+
+
+
+enum class BGCLIP
+
+enum class BGORIGIN
+
+enum class BGREPEAT
+
+enum class BGSIZE
+
+enum class BORDERSTYLE
+
+
+
+
+
+enum class BUTTONSIZE
+DOTTED
+DOUBLE
+GROOVE
+HIDDEN
+INHERIT
+INITIAL
+INSET
+NONE
+OUTSET
+RIDGE
+SOLID
+
+
+
+
+enum class BUTTONSTYLE
+
+enum class BUTTONSTYPE
+
+
+
+
+
+class Background
+NONE
+VERTICAL
+
+
+
+
+
+
+
+
+abstract class BaseDataComponent : DataComponent
+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: COLOR, 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)
+
+
+
+
+
+
+
+
+interface BoolFormControl : FormControl
+
+
+
+
+
+
+
+
+class Border
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: Boolean
+
+
+
+
+
+
+
+
+open class Button : Widget
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: Int)
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: COLOR)
+
+
+
+
+
+
+
+
+enum class CHECKBOXSTYLE
+var block: Boolean
+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
+
+
+
+
+enum class CHECKINPUTTYPE
+
+enum class COLOR
+
+
+
+
+
+open class CheckBox : SimplePanel, BoolFormControl
+ANTIQUEWHITE
+AQUA
+AQUAMARINE
+AZURE
+BEIGE
+BISQUE
+BLACK
+BLANCHEDALMOND
+BLUE
+BLUEVIOLET
+BROWN
+BURLYWOOD
+CADETBLUE
+CHARTREUSE
+CHOCOLATE
+CORAL
+CORNFLOWERBLUE
+CORNSILK
+CRIMSON
+CYAN
+DARKBLUE
+DARKCYAN
+DARKGOLDENROD
+DARKGRAY
+DARKGREEN
+DARKKHAKI
+DARKMAGENTA
+DARKOLIVEGREEN
+DARKORANGE
+DARKORCHID
+DARKRED
+DARKSALMON
+DARKSEAGREEN
+DARKSLATEBLUE
+DARKSLATEGRAY
+DARKTURQUOISE
+DARKVIOLET
+DEEPPINK
+DEEPSKYBLUE
+DIMGRAY
+DODGERBLUE
+FIREBRICK
+FLORALWHITE
+FORESTGREEN
+FUCHSIA
+GAINSBORO
+GHOSTWHITE
+GOLD
+GOLDENROD
+GRAY
+GREEN
+GREENYELLOW
+HONEYDEW
+HOTPINK
+INDIANRED
+INDIGO
+IVORY
+KHAKI
+LAVENDER
+LAVENDERBLUSH
+LAWNGREEN
+LEMONCHIFFON
+LIGHTBLUE
+LIGHTCORAL
+LIGHTCYAN
+LIGHTGOLDENRODYELLOW
+LIGHTGRAY
+LIGHTGREEN
+LIGHTPINK
+LIGHTSALMON
+LIGHTSEAGREEN
+LIGHTSKYBLUE
+LIGHTSLATEGRAY
+LIGHTSTEELBLUE
+LIGHTYELLOW
+LIME
+LIMEGREEN
+LINEN
+MAGENTA
+MAROON
+MEDIUMAQUAMARINE
+MEDIUMBLUE
+MEDIUMORCHID
+MEDIUMPURPLE
+MEDIUMSEAGREEN
+MEDIUMSLATEBLUE
+MEDIUMSPRINGGREEN
+MEDIUMTURQUOISE
+MEDIUMVIOLETRED
+MIDNIGHTBLUE
+MINTCREAM
+MISTYROSE
+MOCCASIN
+NAVAJOWHITE
+NAVY
+OLDLACE
+OLIVE
+OLIVEDRAB
+ORANGE
+ORANGERED
+ORCHID
+PALEGOLDENROD
+PALEGREEN
+PALETURQUOISE
+PALEVIOLETRED
+PAPAYAWHIP
+PEACHPUFF
+PERU
+PINK
+PLUM
+POWDERBLUE
+PURPLE
+REBECCAPURPLE
+RED
+ROSYBROWN
+ROYALBLUE
+SADDLEBROWN
+SALMON
+SANDYBROWN
+SEAGREEN
+SEASHELL
+SIENNA
+SILVER
+SKYBLUE
+SLATEBLUE
+SLATEGRAY
+SNOW
+SPRINGGREEN
+STEELBLUE
+TAN
+TEAL
+THISTLE
+TOMATO
+TURQUOISE
+VIOLET
+WHEAT
+WHITE
+WHITESMOKE
+YELLOW
+YELLOWGREEN
+
+
+
+
+
+
+
+
+open class CheckInput : Widget
+var circled: Boolean
+open var disabled: Boolean
+val flabel: FieldLabel
+protected open fun getSnClass(): List<StringBoolPair>
+var inline: Boolean
+val input: CheckInput
+var label: String?
+var name: String?
+open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
+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 var size: INPUTSIZE?
+var startValue: Boolean
+var style: CHECKBOXSTYLE?
+val validationInfo: HelpBlock
+open var value: Boolean
+
+
+
+
+
+
+
+
+open class CloseIcon : Widget
+protected open fun afterInsert(node: VNode): Unit
+protected open fun afterPostpatch(node: VNode): Unit
+var disabled: Boolean
+var extraValue: String?
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+var name: String?
+open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput
+protected open fun render(): VNode
+var size: INPUTSIZE?
+var startValue: Boolean
+var type: CHECKINPUTTYPE
+var value: Boolean
+
+
+
+
+
+
+
+
+class Color
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+
+
+
+
+
+
+
+
+interface Component
+Color(color: COLOR)
+
+
+
+
+
+
+
+
+open class Confirm : Modal
+abstract fun addSurroundingCssClass(css: String): Component
+abstract fun getElement(): Node?
+abstract fun getElementJQuery(): JQuery?
+abstract fun getElementJQueryD(): dynamic
+abstract var parent: Component?
+abstract fun removeCssClass(css: String): Component
+abstract fun removeSurroundingCssClass(css: String): Component
+abstract var visible: Boolean
+
+
+
+
+
+
+
+
+interface Container : Component
+var align: ALIGN?
+var cancelVisible: Boolean
+var rich: Boolean
+fun show(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
+var text: String?
+
+
+
+
+
+
+
+
+typealias CssSize = Pair<Int, UNIT>
+abstract fun addAll(children: List<Component>): Container
+abstract fun getChildren(): List<Component>
+abstract fun remove(child: Component): Container
+abstract fun removeAll(): Container
+
+
+
+enum class DATATYPE
+
+enum class DD
+
+
+
+
+
+enum class DIRECTION
+HEADER
+SEPARATOR
+val option: String
+
+
+
+
+
+
+
+
+interface DataComponent
+VERTICAL
+
+
+
+class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable
+
+
+
+
+
+interface DataUpdatable
+fun add(child: Component): Container
+fun addAll(children: List<Component>): Container
+fun clearOnUpdate(): 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 DateFormControl : FormControl
+
+
+
+
+
+
+
+
+open class DateTime : SimplePanel, DateFormControl
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: Date?
+
+
+
+
+
+
+
+
+open class DateTimeInput : Widget
+var autofocus: Boolean?
+var clearBtn: Boolean
+var daysOfWeekDisabled: Array<Int>
+open var disabled: Boolean
+val flabel: FieldLabel
+var format: String
+protected open fun getSnClass(): List<StringBoolPair>
+open fun getValueAsString(): String?
+open fun hidePopup(): Unit
+val input: DateTimeInput
+var label: String?
+var minuteStep: Int
+var name: String?
+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
+var showMeridian: Boolean
+open fun showPopup(): Unit
+open var size: INPUTSIZE?
+var todayBtn: Boolean
+var todayHighlight: Boolean
+val validationInfo: HelpBlock
+open var value: Date?
+var weekStart: Int
+
+
+
+
+
+
+
+
+open class DockPanel : SimplePanel
+protected open fun afterInsert(node: VNode): Unit
+var autofocus: Boolean?
+protected open fun changeValue(): Unit
+var clearBtn: Boolean
+var daysOfWeekDisabled: Array<Int>
+var disabled: Boolean
+var format: String
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+fun getValueAsString(): String?
+open fun hidePopup(): Unit
+var minuteStep: Int
+var name: String?
+var placeholder: String?
+var readonly: Boolean?
+protected open fun refreshDatePicker(): Unit
+protected open fun refreshState(): Unit
+protected open fun render(): VNode
+var showMeridian: Boolean
+open fun showPopup(): Unit
+var size: INPUTSIZE?
+var todayBtn: Boolean
+var todayHighlight: Boolean
+var value: Date?
+var weekStart: Int
+
+
+
+
+
+
+
+
+open class DropDown : SimplePanel
+open fun add(child: Component, position: SIDE): DockPanel
+open fun add(child: Component): DockPanel
+open fun addAll(children: List<Component>): DockPanel
+open fun remove(child: Component): DockPanel
+open fun removeAll(): DockPanel
+open fun removeAt(position: SIDE): DockPanel
+
+
+
+
+
+
+
+
+enum class FLEXALIGNCONTENT
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+protected open fun afterInsert(node: VNode): Unit
+var block: Boolean
+var disabled: Boolean
+var dropup: 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
+var size: BUTTONSIZE?
+var style: BUTTONSTYLE
+var text: String
+open fun toggle(): Unit
+open var width: CssSize?
+
+
+
+
+
+
+
+
+enum class FLEXALIGNITEMS
+FLEXEND
+FLEXSTART
+SPACEAROUND
+SPACEBETWEEN
+STRETCH
+
+
+
+
+enum class FLEXDIR
+
+enum class FLEXJUSTIFY
+
+
+
+
+
+enum class FLEXWRAP
+FLEXEND
+FLEXSTART
+SPACEAROUND
+SPACEBETWEEN
+SPACEEVENLY
+
+
+
+
+enum class FORCETYPE
+
+enum class FORMTYPE
+
+
+
+
+
+open class FieldLabel : Tag
+INLINE
+
+
+
+
+
+
+
+
+open class FlexPanel : SimplePanel
+protected open fun getSnAttrs(): List<StringPair>
+
+
+
+
+
+
+
+
+class Form<K>
+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?
+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?
+
+
+
+
+
+
+
+
+interface FormControl : Component
+fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
+fun clearData(): Unit
+operator fun get(key: String): Any?
+fun getControl(key: String): FormControl?
+fun getData(): K
+fun getDataJson(): Json
+fun remove(key: String): Form<K>
+fun removeAll(): Form<K>
+fun setData(model: K): Unit
+fun validate(): Boolean
+
+
+
+
+
+
+
+
+open class FormPanel<K> : SimplePanel
+abstract val flabel: FieldLabel
+abstract fun getValue(): Any?
+abstract fun getValueAsString(): String?
+abstract val input: Component
+abstract fun setValue(v: Any?): Unit
+abstract var size: INPUTSIZE?
+abstract val validationInfo: HelpBlock
+open var validatorError: String?
+
+
+
+
+
+
+
+
+enum class GRIDALIGN
+open fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
+open fun clearData(): Unit
+operator fun get(key: String): Any?
+open fun getControl(key: String): FormControl?
+open fun getData(): K
+open fun getDataJson(): Json
+protected open fun getSnClass(): List<StringBoolPair>
+open fun remove(key: String): FormPanel<K>
+open fun removeAll(): FormPanel<K>
+protected open fun render(): VNode
+open fun setData(model: K): Unit
+open fun validate(): Boolean
+var validator: (Form<K>) -> Boolean?
+var validatorMessage: (Form<K>) -> String?
+
+
+
+
+enum class GRIDALIGNCONTENT
+
+
+
+
+
+enum class GRIDFLOW
+END
+SPACEAROUND
+SPACEBETWEEN
+SPACEEVENLY
+START
+STRETCH
+
+
+
+
+
+
+
+
+enum class GRIDJUSTIFY
+COLUMNDENSE
+ROW
+ROWDENSE
+
+
+
+
+enum class GRIDJUSTIFYCONTENT
+
+
+
+
+
+enum class GRIDSIZE
+END
+SPACEAROUND
+SPACEBETWEEN
+SPACEEVENLY
+START
+STRETCH
+
+
+
+
+open class GridPanel : SimplePanel
+
+
+
+
+
+class GridWrapper : WidgetWrapper
+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>
+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?
+
+
+
+
+
+
+
+
+open class HPanel : FlexPanel
+protected fun getSnStyle(): List<StringPair>
+
+
+
+
+
+
+
+
+enum class HTTPTYPE
+
+
+
+
+open class HelpBlock : Tag
+
+
+
+
+
+external interface Hot
+
+
+
+
+
+
+
+
+enum class IMAGESHAPE
+abstract fun accept(dependency: String, callback: () -> Unit): Unit
+abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit
+abstract val data: dynamic
+abstract fun dispose(callback: (dynamic) -> Unit): Unit
+
+
+
+
+enum class INPUTSIZE
+
+
+
+
+
+open class Image : Widget
+SMALL
+val className: String
+
+
+
+
+
+
+
+
+class KvEvent : CustomEvent
+var alt: String?
+var centered: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+var responsive: Boolean
+var shape: IMAGESHAPE?
+var src: ResString
+
+
+
+
+
+
+
+
+enum class LISTTYPE
+val detail: KvJQueryEventObject
+
+
+
+
+open class Label : Tag
+
+
+
+
+
+open class Link : SimplePanel
+
+
+
+
+
+
+
+
+open class ListTag : SimplePanel
+protected open fun getSnAttrs(): List<StringPair>
+var icon: String?
+var image: ResString?
+var label: String
+protected open fun render(): VNode
+var url: String
+
+
+
+
+
+
+
+
+enum class MODALSIZE
+protected open fun childrenVNodes(): Array<VNode>
+var elements: List<String>?
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+var rich: Boolean
+var type: LISTTYPE
+
+
+
+
+
+
+
+
+open class Modal : SimplePanel
+SMALL
+val className: String
+
+
+
+
+
+
+
+
+external interface Module
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+open fun addButton(button: Button): Modal
+protected open fun afterInsert(node: VNode): Unit
+var animation: Boolean
+var caption: String?
+var closeButton: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+open fun hide(): Widget
+open fun removeAllButtons(): Modal
+open fun removeButton(button: Button): Modal
+var size: MODALSIZE?
+open fun toggle(): Unit
+
+
+
+
+
+
+
+
+interface NumberFormControl : FormControl
+
+
+
+
+
+
+
+
+external class Object
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: Number?
+
+
+
+
+
+
+
+
+open class Password : Text
+
+
+
+
+
+
+
+
+enum class RADIOSTYLE
+
+
+
+
+open class Radio : SimplePanel, BoolFormControl
+
+
+
+
+
+open class RadioGroup : SimplePanel, StringFormControl
+open var disabled: Boolean
+var extraValue: String?
+val flabel: FieldLabel
+protected open fun getSnClass(): List<StringBoolPair>
+var inline: Boolean
+val input: CheckInput
+var label: String?
+var name: String?
+open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio
+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 var size: INPUTSIZE?
+var squared: Boolean
+var startValue: Boolean
+var style: RADIOSTYLE?
+val validationInfo: HelpBlock
+open var value: Boolean
+
+
+
+
+
+
+
+
+typealias ResString = String
+open var disabled: Boolean
+val flabel: FieldLabel
+protected open fun getSnClass(): List<StringBoolPair>
+var inline: Boolean
+val input: Widget
+var label: String?
+var options: List<StringPair>?
+var rich: Boolean
+open var size: INPUTSIZE?
+val validationInfo: HelpBlock
+open var value: String?
+
+
+
+open class ResponsiveGridPanel : SimplePanel
+
+
+
+
+
+open class RichText : AbstractText
+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
+
+
+
+
+
+
+
+
+open class RichTextInput : AbstractTextInput
+val input: RichTextInput
+var inputHeight: CssSize?
+
+
+
+
+
+
+
+
+class Root : SimplePanel
+protected open fun afterDestroy(): Unit
+protected open fun afterInsert(node: VNode): Unit
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun render(): VNode
+
+
+
+
+
+
+
+
+open class Routing
+protected fun getSnClass(): List<StringBoolPair>
+protected fun render(): VNode
+
+
+
+
+
+
+
+
+enum class SELECTWIDTHTYPE
+fun shutdown(): Unit
+fun start(): Unit
+
+
+
+
+enum class SIDE
+
+open class Select : SimplePanel, StringFormControl
+
+
+
+
+
+open class SelectInput : SimplePanel
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+var ajaxOptions: AjaxOptions?
+var autofocus: Boolean?
+open var disabled: Boolean
+var emptyOption: Boolean
+val flabel: FieldLabel
+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 name: String?
+var options: List<StringPair>?
+var placeholder: String?
+open fun remove(child: Component): SimplePanel
+open fun removeAll(): SimplePanel
+open fun removeEventListeners(): Widget
+var rich: Boolean
+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
+open var size: INPUTSIZE?
+var style: BUTTONSTYLE?
+open fun toggleOptions(): Unit
+val validationInfo: HelpBlock
+open var value: String?
+
+
+
+
+
+
+
+
+open class SelectOptGroup : SimplePanel
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+protected open fun afterInsert(node: VNode): Unit
+var ajaxOptions: AjaxOptions?
+var autofocus: Boolean?
+var disabled: Boolean
+var emptyOption: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+open fun hideOptions(): Unit
+var liveSearch: Boolean
+var maxOptions: Int?
+var multiple: Boolean
+var name: String?
+var placeholder: String?
+open fun remove(child: Component): SimplePanel
+open fun removeAll(): SimplePanel
+protected open fun render(): VNode
+var selectWidth: CssSize?
+var selectWidthType: SELECTWIDTHTYPE?
+open fun showOptions(): Unit
+var size: INPUTSIZE?
+var style: BUTTONSTYLE?
+open fun toggleOptions(): Unit
+var value: String?
+
+
+
+
+
+
+
+
+open class SelectOption : Widget
+var disabled: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+var label: String
+var maxOptions: Int?
+var options: List<StringPair>?
+protected open fun render(): VNode
+
+
+
+
+
+
+
+
+open class SimplePanel : Widget, Container
+var disabled: Boolean
+var divider: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+var icon: String?
+var label: String?
+protected open fun render(): VNode
+var subtext: String?
+var value: String?
+
+
+
+
+
+
+
+
+open class Spinner : SimplePanel, NumberFormControl
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+protected fun addInternal(child: Component): SimplePanel
+protected open fun childrenVNodes(): Array<VNode>
+open fun getChildren(): List<Component>
+open fun remove(child: Component): SimplePanel
+open fun removeAll(): SimplePanel
+protected open fun render(): VNode
+
+
+
+
+
+
+
+
+open class SpinnerInput : Widget
+var autofocus: Boolean?
+var buttonsType: BUTTONSTYPE
+var decimals: Int
+open var disabled: Boolean
+val flabel: FieldLabel
+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 name: String?
+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 var size: INPUTSIZE?
+open fun spinDown(): Spinner
+open fun spinUp(): Spinner
+var startValue: Number?
+var step: Double
+val validationInfo: HelpBlock
+open var value: Number?
+
+
+
+
+
+
+
+
+open class SplitPanel : SimplePanel
+protected open fun afterDestroy(): Unit
+protected open fun afterInsert(node: VNode): Unit
+var autofocus: Boolean?
+var buttonsType: BUTTONSTYPE
+protected open fun changeValue(): Unit
+var decimals: Int
+var disabled: Boolean
+var forceType: FORCETYPE
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+fun getValueAsString(): String?
+var max: Int
+var min: Int
+var name: String?
+var placeholder: String?
+var readonly: Boolean?
+protected open fun render(): VNode
+var size: INPUTSIZE?
+fun spinDown(): SpinnerInput
+fun spinUp(): SpinnerInput
+var startValue: Number?
+var step: Double
+var value: Number?
+
+
+
+
+
+
+
+
+open class StackPanel : SimplePanel
+protected open fun childrenVNodes(): Array<VNode>
+
+
+
+
+
+
+
+
+typealias StringBoolPair = Pair<String, Boolean>
+var activeIndex: Int
+open fun add(panel: Component, route: String): StackPanel
+open fun add(child: Component): StackPanel
+open fun addAll(children: List<Component>): StackPanel
+protected open fun childrenVNodes(): Array<VNode>
+open fun remove(child: Component): StackPanel
+open fun removeAll(): StackPanel
+
+
+
+interface StringFormControl : FormControl
+
+
+
+
+
+typealias StringPair = Pair<String, String>
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: String?
+
+
+
+abstract class StyledComponent : Component
+
+
+
+
+
+enum class TAG
+var background: Background?
+var border: Border?
+var borderBottom: Border?
+var borderLeft: Border?
+var borderRight: Border?
+var borderTop: Border?
+var color: Color?
+var colorHex: Int?
+var colorName: COLOR?
+protected open fun getSnStyle(): List<StringPair>
+var height: CssSize?
+var margin: CssSize?
+var marginBottom: CssSize?
+var marginLeft: CssSize?
+var marginRight: CssSize?
+var marginTop: CssSize?
+var maxHeight: CssSize?
+var maxWidth: CssSize?
+var minHeight: CssSize?
+var minWidth: CssSize?
+var opacity: Double?
+var padding: CssSize?
+var paddingBottom: CssSize?
+var paddingLeft: CssSize?
+var paddingRight: CssSize?
+var paddingTop: CssSize?
+open var width: CssSize?
+
+
+
+
+
+
+
+
+enum class TEXTINPUTTYPE
+ADDRESS
+BLOCKQUOTE
+CITE
+CODE
+DEL
+DIV
+EM
+FOOTER
+H1
+H2
+H3
+H4
+H5
+H6
+HEADER
+INS
+KBD
+LABEL
+LI
+MARK
+OL
+P
+PRE
+S
+SAMP
+SECTION
+SMALL
+SPAN
+STRONG
+U
+UL
+VAR
+
+
+
+
+open class TabPanel : SimplePanel
+
+
+
+
+
+open class Tag : SimplePanel
+var activeIndex: Int
+open fun add(child: Component): TabPanel
+open fun addAll(children: List<Component>): TabPanel
+open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel
+open fun remove(child: Component): TabPanel
+open fun removeAll(): TabPanel
+open fun removeTab(index: Int): TabPanel
+
+
+
+
+
+
+
+
+open class Text : AbstractText
+var align: ALIGN?
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+var rich: Boolean
+var text: String?
+var type: TAG
+
+
+
+
+
+
+
+
+open class TextArea : AbstractText
+var autocomplete: Boolean?
+val input: TextInput
+var type: TEXTINPUTTYPE
+
+
+
+
+
+
+
+
+open class TextAreaInput : AbstractTextInput
+var cols: Int?
+val input: TextAreaInput
+var rows: Int?
+var wrapHard: Boolean
+
+
+
+
+
+
+
+
+open class TextInput : AbstractTextInput
+var cols: Int?
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun render(): VNode
+var rows: Int?
+var wrapHard: Boolean
+
+
+
+
+
+
+
+
+enum class UNIT
+var autocomplete: Boolean?
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun render(): VNode
+var type: TEXTINPUTTYPE
+
+
+
+
+
+
+
+
+open class VPanel : FlexPanel
+ch
+cm
+em
+in
+mm
+pc
+perc
+pt
+px
+rem
+vh
+vmax
+vmin
+vw
+
+
+
+
+
+
+
+
+open class Widget : StyledComponent
+
+
+
+
+
+
+
+
+open class WidgetWrapper : Widget
+open fun addCssClass(css: String): Widget
+open fun addSurroundingCssClass(css: String): Widget
+protected open fun afterCreate(node: VNode): Unit
+protected open fun afterDestroy(): Unit
+protected open fun afterInsert(node: VNode): Unit
+protected open fun afterPostpatch(node: VNode): Unit
+open fun getElement(): Node?
+open fun getElementJQuery(): JQuery?
+open fun getElementJQueryD(): dynamic
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun getSnHooks(): Hooks?
+protected open fun getSnOn(): On?
+open fun hide(): Widget
+var id: String?
+open var parent: Component?
+open fun removeCssClass(css: String): Widget
+open fun removeEventListeners(): Widget
+open fun removeSurroundingCssClass(css: String): Widget
+protected open fun render(): VNode
+protected open fun render(elementName: String): VNode
+protected open fun render(elementName: String, children: Array<dynamic>): VNode
+var role: String?
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+open fun show(): Widget
+var title: String?
+open fun toggleVisible(): Widget
+open var visible: Boolean
+
+
+
+
+
+
+
+
+kotlin.Int
+protected open fun render(): VNode
+open var visible: Boolean
+
+
+
+
+
+
+
+
+kotlin.Pair
+fun Int.cm(): CssSize
+fun Int.em(): CssSize
+fun Int.in(): CssSize
+fun Int.mm(): CssSize
+fun Int.pc(): CssSize
+fun Int.perc(): CssSize
+fun Int.pt(): CssSize
+fun Int.px(): CssSize
+fun Int.rem(): CssSize
+fun Int.toHexString(): String
+fun Int.vh(): CssSize
+fun Int.vmax(): CssSize
+fun Int.vmin(): CssSize
+fun Int.vw(): CssSize
+
+
+
+
+kotlin.String
+
+
+
+
+
+kotlin.collections.Map
+
+
+
+
+
+
+
+
+kotlin.js.Date
+fun Map<String, Any?>.bool(key: String): Boolean?
+fun Map<String, Any?>.date(key: String): Date?
+fun Map<String, Any?>.number(key: String): Number?
+fun Map<String, Any?>.string(key: String): String?
+
+
+
+
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.data
+
+enum class BGCLIP
+
+enum class BGORIGIN
+
+enum class BGREPEAT
+
+enum class BGSIZE
+
+enum class BORDERSTYLE
+
+
+
+
+
+class Background
+DOTTED
+DOUBLE
+GROOVE
+HIDDEN
+INHERIT
+INITIAL
+INSET
+NONE
+OUTSET
+RIDGE
+SOLID
+
+
+
+
+
+
+
+
+class Border
+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: COLOR, 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 COLOR
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: Int)
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: COLOR)
+
+
+
+
+
+
+
+
+class Color
+ANTIQUEWHITE
+AQUA
+AQUAMARINE
+AZURE
+BEIGE
+BISQUE
+BLACK
+BLANCHEDALMOND
+BLUE
+BLUEVIOLET
+BROWN
+BURLYWOOD
+CADETBLUE
+CHARTREUSE
+CHOCOLATE
+CORAL
+CORNFLOWERBLUE
+CORNSILK
+CRIMSON
+CYAN
+DARKBLUE
+DARKCYAN
+DARKGOLDENROD
+DARKGRAY
+DARKGREEN
+DARKKHAKI
+DARKMAGENTA
+DARKOLIVEGREEN
+DARKORANGE
+DARKORCHID
+DARKRED
+DARKSALMON
+DARKSEAGREEN
+DARKSLATEBLUE
+DARKSLATEGRAY
+DARKTURQUOISE
+DARKVIOLET
+DEEPPINK
+DEEPSKYBLUE
+DIMGRAY
+DODGERBLUE
+FIREBRICK
+FLORALWHITE
+FORESTGREEN
+FUCHSIA
+GAINSBORO
+GHOSTWHITE
+GOLD
+GOLDENROD
+GRAY
+GREEN
+GREENYELLOW
+HONEYDEW
+HOTPINK
+INDIANRED
+INDIGO
+IVORY
+KHAKI
+LAVENDER
+LAVENDERBLUSH
+LAWNGREEN
+LEMONCHIFFON
+LIGHTBLUE
+LIGHTCORAL
+LIGHTCYAN
+LIGHTGOLDENRODYELLOW
+LIGHTGRAY
+LIGHTGREEN
+LIGHTPINK
+LIGHTSALMON
+LIGHTSEAGREEN
+LIGHTSKYBLUE
+LIGHTSLATEGRAY
+LIGHTSTEELBLUE
+LIGHTYELLOW
+LIME
+LIMEGREEN
+LINEN
+MAGENTA
+MAROON
+MEDIUMAQUAMARINE
+MEDIUMBLUE
+MEDIUMORCHID
+MEDIUMPURPLE
+MEDIUMSEAGREEN
+MEDIUMSLATEBLUE
+MEDIUMSPRINGGREEN
+MEDIUMTURQUOISE
+MEDIUMVIOLETRED
+MIDNIGHTBLUE
+MINTCREAM
+MISTYROSE
+MOCCASIN
+NAVAJOWHITE
+NAVY
+OLDLACE
+OLIVE
+OLIVEDRAB
+ORANGE
+ORANGERED
+ORCHID
+PALEGOLDENROD
+PALEGREEN
+PALETURQUOISE
+PALEVIOLETRED
+PAPAYAWHIP
+PEACHPUFF
+PERU
+PINK
+PLUM
+POWDERBLUE
+PURPLE
+REBECCAPURPLE
+RED
+ROSYBROWN
+ROYALBLUE
+SADDLEBROWN
+SALMON
+SANDYBROWN
+SEAGREEN
+SEASHELL
+SIENNA
+SILVER
+SKYBLUE
+SLATEBLUE
+SLATEGRAY
+SNOW
+SPRINGGREEN
+STEELBLUE
+TAN
+TEAL
+THISTLE
+TOMATO
+TURQUOISE
+VIOLET
+WHEAT
+WHITE
+WHITESMOKE
+YELLOW
+YELLOWGREEN
+
+
+
+
+
+
+
+
+interface Component
+Color(color: COLOR)
+
+
+
+
+
+
+
+
+interface Container : Component
+abstract fun addSurroundingCssClass(css: String): Component
+abstract fun getElement(): Node?
+abstract fun getElementJQuery(): JQuery?
+abstract fun getElementJQueryD(): dynamic
+abstract var parent: Component?
+abstract fun removeCssClass(css: String): Component
+abstract fun removeSurroundingCssClass(css: String): Component
+abstract var visible: Boolean
+
+
+
+
+
+
+
+
+typealias CssSize = Pair<Int, UNIT>
+abstract fun addAll(children: List<Component>): Container
+abstract fun getChildren(): List<Component>
+abstract fun remove(child: Component): Container
+abstract fun removeAll(): Container
+
+
+
+typealias ResString = String
+typealias StringBoolPair = Pair<String, Boolean>
+typealias StringPair = Pair<String, String>
+abstract class StyledComponent : Component
+
+
+
+
+
+enum class UNIT
+var background: Background?
+var border: Border?
+var borderBottom: Border?
+var borderLeft: Border?
+var borderRight: Border?
+var borderTop: Border?
+var color: Color?
+var colorHex: Int?
+var colorName: COLOR?
+protected open fun getSnStyle(): List<StringPair>
+var height: CssSize?
+var margin: CssSize?
+var marginBottom: CssSize?
+var marginLeft: CssSize?
+var marginRight: CssSize?
+var marginTop: CssSize?
+var maxHeight: CssSize?
+var maxWidth: CssSize?
+var minHeight: CssSize?
+var minWidth: CssSize?
+var opacity: Double?
+var padding: CssSize?
+var paddingBottom: CssSize?
+var paddingLeft: CssSize?
+var paddingRight: CssSize?
+var paddingTop: CssSize?
+open var width: CssSize?
+
+
+
+
+
+
+
+
+open class Widget : StyledComponent
+ch
+cm
+em
+in
+mm
+pc
+perc
+pt
+px
+rem
+vh
+vmax
+vmin
+vw
+
+
+
+
+
+
+
+
+open class WidgetWrapper : Widget
+open fun addCssClass(css: String): Widget
+open fun addSurroundingCssClass(css: String): Widget
+protected open fun afterCreate(node: VNode): Unit
+protected open fun afterDestroy(): Unit
+protected open fun afterInsert(node: VNode): Unit
+protected open fun afterPostpatch(node: VNode): Unit
+open fun getElement(): Node?
+open fun getElementJQuery(): JQuery?
+open fun getElementJQueryD(): dynamic
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun getSnHooks(): Hooks?
+protected open fun getSnOn(): On?
+open fun hide(): Widget
+var id: String?
+open var parent: Component?
+open fun removeCssClass(css: String): Widget
+open fun removeEventListeners(): Widget
+open fun removeSurroundingCssClass(css: String): Widget
+protected open fun render(): VNode
+protected open fun render(elementName: String): VNode
+protected open fun render(elementName: String, children: Array<dynamic>): VNode
+var role: String?
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+open fun show(): Widget
+var title: String?
+open fun toggleVisible(): Widget
+open var visible: Boolean
+
+
+
+
+
+
+
+
+
+
+
+protected open fun render(): VNode
+open var visible: Boolean
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.dropdown
+
+
+
+
+
+interface DataComponent
+
+
+
+class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable
+
+
+
+
+
+interface DataUpdatable
+fun add(child: Component): Container
+fun addAll(children: List<Component>): Container
+fun clearOnUpdate(): 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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.form
+
+
+
+
+
+open class DropDown : SimplePanel
+HEADER
+SEPARATOR
+val option: String
+
+
+
+
+
+
+
+
+
+
+
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+protected open fun afterInsert(node: VNode): Unit
+var block: Boolean
+var disabled: Boolean
+var dropup: 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
+var size: BUTTONSIZE?
+var style: BUTTONSTYLE
+var text: String
+open fun toggle(): Unit
+open var width: CssSize?
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.form.check
+
+
+
+
+
+interface DateFormControl : FormControl
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: Boolean
+
+
+
+
+
+
+
+
+enum class FORMTYPE
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: Date?
+
+
+
+
+
+
+
+
+open class FieldLabel : Tag
+INLINE
+
+
+
+
+
+
+
+
+class Form<K>
+protected open fun getSnAttrs(): List<StringPair>
+
+
+
+
+
+
+
+
+interface FormControl : Component
+fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
+fun clearData(): Unit
+operator fun get(key: String): Any?
+fun getControl(key: String): FormControl?
+fun getData(): K
+fun getDataJson(): Json
+fun remove(key: String): Form<K>
+fun removeAll(): Form<K>
+fun setData(model: K): Unit
+fun validate(): Boolean
+
+
+
+
+
+
+
+
+open class FormPanel<K> : SimplePanel
+abstract val flabel: FieldLabel
+abstract fun getValue(): Any?
+abstract fun getValueAsString(): String?
+abstract val input: Component
+abstract fun setValue(v: Any?): Unit
+abstract var size: INPUTSIZE?
+abstract val validationInfo: HelpBlock
+open var validatorError: String?
+
+
+
+
+
+
+
+
+open class HelpBlock : Tag
+open fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
+open fun clearData(): Unit
+operator fun get(key: String): Any?
+open fun getControl(key: String): FormControl?
+open fun getData(): K
+open fun getDataJson(): Json
+protected open fun getSnClass(): List<StringBoolPair>
+open fun remove(key: String): FormPanel<K>
+open fun removeAll(): FormPanel<K>
+protected open fun render(): VNode
+open fun setData(model: K): Unit
+open fun validate(): Boolean
+var validator: (Form<K>) -> Boolean?
+var validatorMessage: (Form<K>) -> String?
+
+
+
+
+
+
+
+
+enum class INPUTSIZE
+
+
+
+
+
+
+
+
+interface NumberFormControl : FormControl
+SMALL
+val className: String
+
+
+
+
+
+
+
+
+interface StringFormControl : FormControl
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: Number?
+
+
+
+
+
+
+
+
+kotlin.collections.Map
+open fun getValueAsString(): String?
+open fun setValue(v: Any?): Unit
+abstract var value: String?
+
+
+
+
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.form.select
+
+enum class CHECKINPUTTYPE
+
+open class CheckBox : SimplePanel, BoolFormControl
+
+
+
+
+
+open class CheckInput : Widget
+var circled: Boolean
+open var disabled: Boolean
+val flabel: FieldLabel
+protected open fun getSnClass(): List<StringBoolPair>
+var inline: Boolean
+val input: CheckInput
+var label: String?
+var name: String?
+open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
+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 var size: INPUTSIZE?
+var startValue: Boolean
+var style: CHECKBOXSTYLE?
+val validationInfo: HelpBlock
+open var value: Boolean
+
+
+
+
+
+
+
+
+enum class RADIOSTYLE
+protected open fun afterInsert(node: VNode): Unit
+protected open fun afterPostpatch(node: VNode): Unit
+var disabled: Boolean
+var extraValue: String?
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+var name: String?
+open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput
+protected open fun render(): VNode
+var size: INPUTSIZE?
+var startValue: Boolean
+var type: CHECKINPUTTYPE
+var value: Boolean
+
+
+
+
+open class Radio : SimplePanel, BoolFormControl
+
+
+
+
+
+open class RadioGroup : SimplePanel, StringFormControl
+open var disabled: Boolean
+var extraValue: String?
+val flabel: FieldLabel
+protected open fun getSnClass(): List<StringBoolPair>
+var inline: Boolean
+val input: CheckInput
+var label: String?
+var name: String?
+open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio
+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 var size: INPUTSIZE?
+var squared: Boolean
+var startValue: Boolean
+var style: RADIOSTYLE?
+val validationInfo: HelpBlock
+open var value: Boolean
+
+
+
+
+
+
+
+
+
+
+
+open var disabled: Boolean
+val flabel: FieldLabel
+protected open fun getSnClass(): List<StringBoolPair>
+var inline: Boolean
+val input: Widget
+var label: String?
+var options: List<StringPair>?
+var rich: Boolean
+open var size: INPUTSIZE?
+val validationInfo: HelpBlock
+open var value: String?
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.form.spinner
+
+
+
+
+
+enum class DATATYPE
+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 HTTPTYPE
+
+enum class SELECTWIDTHTYPE
+
+open class Select : SimplePanel, StringFormControl
+
+
+
+
+
+open class SelectInput : SimplePanel
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+var ajaxOptions: AjaxOptions?
+var autofocus: Boolean?
+open var disabled: Boolean
+var emptyOption: Boolean
+val flabel: FieldLabel
+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 name: String?
+var options: List<StringPair>?
+var placeholder: String?
+open fun remove(child: Component): SimplePanel
+open fun removeAll(): SimplePanel
+open fun removeEventListeners(): Widget
+var rich: Boolean
+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
+open var size: INPUTSIZE?
+var style: BUTTONSTYLE?
+open fun toggleOptions(): Unit
+val validationInfo: HelpBlock
+open var value: String?
+
+
+
+
+
+
+
+
+open class SelectOptGroup : SimplePanel
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+protected open fun afterInsert(node: VNode): Unit
+var ajaxOptions: AjaxOptions?
+var autofocus: Boolean?
+var disabled: Boolean
+var emptyOption: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+open fun hideOptions(): Unit
+var liveSearch: Boolean
+var maxOptions: Int?
+var multiple: Boolean
+var name: String?
+var placeholder: String?
+open fun remove(child: Component): SimplePanel
+open fun removeAll(): SimplePanel
+protected open fun render(): VNode
+var selectWidth: CssSize?
+var selectWidthType: SELECTWIDTHTYPE?
+open fun showOptions(): Unit
+var size: INPUTSIZE?
+var style: BUTTONSTYLE?
+open fun toggleOptions(): Unit
+var value: String?
+
+
+
+
+
+
+
+
+open class SelectOption : Widget
+var disabled: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+var label: String
+var maxOptions: Int?
+var options: List<StringPair>?
+protected open fun render(): VNode
+
+
+
+
+
+
+
+
+fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
+var disabled: Boolean
+var divider: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+var icon: String?
+var label: String?
+protected open fun render(): VNode
+var subtext: String?
+var value: String?
+
+
+
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.form.text
+
+
+
+
+
+enum class FORCETYPE
+NONE
+VERTICAL
+
+
+
+
+open class Spinner : SimplePanel, NumberFormControl
+
+
+
+
+
+open class SpinnerInput : Widget
+var autofocus: Boolean?
+var buttonsType: BUTTONSTYPE
+var decimals: Int
+open var disabled: Boolean
+val flabel: FieldLabel
+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 name: String?
+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 var size: INPUTSIZE?
+open fun spinDown(): Spinner
+open fun spinUp(): Spinner
+var startValue: Number?
+var step: Double
+val validationInfo: HelpBlock
+open var value: Number?
+
+
+
+
+
+
+
+
+
+
+
+protected open fun afterDestroy(): Unit
+protected open fun afterInsert(node: VNode): Unit
+var autofocus: Boolean?
+var buttonsType: BUTTONSTYPE
+protected open fun changeValue(): Unit
+var decimals: Int
+var disabled: Boolean
+var forceType: FORCETYPE
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+fun getValueAsString(): String?
+var max: Int
+var min: Int
+var name: String?
+var placeholder: String?
+var readonly: Boolean?
+protected open fun render(): VNode
+var size: INPUTSIZE?
+fun spinDown(): SpinnerInput
+fun spinUp(): SpinnerInput
+var startValue: Number?
+var step: Double
+var value: Number?
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.form.time
+
+
+
+
+
+abstract class AbstractTextInput : Widget
+var autofocus: Boolean?
+open fun blur(): Unit
+open var disabled: Boolean
+val flabel: FieldLabel
+open fun focus(): Unit
+protected open fun getSnClass(): List<StringBoolPair>
+abstract val input: AbstractTextInput
+var label: String?
+var maxlength: Int?
+var name: String?
+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 var size: INPUTSIZE?
+var startValue: String?
+val validationInfo: HelpBlock
+open var value: String?
+
+
+
+
+
+
+
+
+open class Password : Text
+protected open fun afterInsert(node: VNode): Unit
+var autofocus: Boolean?
+open fun blur(): Unit
+var disabled: Boolean
+open fun focus(): Unit
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+var maxlength: Int?
+var name: String?
+var placeholder: String?
+var readonly: Boolean?
+var size: INPUTSIZE?
+var startValue: String?
+var value: String?
+
+
+
+
+
+
+
+
+open class RichText : AbstractText
+
+
+
+
+
+
+
+
+open class RichTextInput : AbstractTextInput
+val input: RichTextInput
+var inputHeight: CssSize?
+
+
+
+
+
+
+
+
+enum class TEXTINPUTTYPE
+protected open fun afterDestroy(): Unit
+protected open fun afterInsert(node: VNode): Unit
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun render(): VNode
+
+
+
+
+open class Text : AbstractText
+
+
+
+
+
+open class TextArea : AbstractText
+var autocomplete: Boolean?
+val input: TextInput
+var type: TEXTINPUTTYPE
+
+
+
+
+
+
+
+
+open class TextAreaInput : AbstractTextInput
+var cols: Int?
+val input: TextAreaInput
+var rows: Int?
+var wrapHard: Boolean
+
+
+
+
+
+
+
+
+open class TextInput : AbstractTextInput
+var cols: Int?
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun render(): VNode
+var rows: Int?
+var wrapHard: Boolean
+
+
+
+
+
+
+
+
+
+
+
+var autocomplete: Boolean?
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun render(): VNode
+var type: TEXTINPUTTYPE
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.hmr
+
+
+
+
+
+open class DateTimeInput : Widget
+var autofocus: Boolean?
+var clearBtn: Boolean
+var daysOfWeekDisabled: Array<Int>
+open var disabled: Boolean
+val flabel: FieldLabel
+var format: String
+protected open fun getSnClass(): List<StringBoolPair>
+open fun getValueAsString(): String?
+open fun hidePopup(): Unit
+val input: DateTimeInput
+var label: String?
+var minuteStep: Int
+var name: String?
+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
+var showMeridian: Boolean
+open fun showPopup(): Unit
+open var size: INPUTSIZE?
+var todayBtn: Boolean
+var todayHighlight: Boolean
+val validationInfo: HelpBlock
+open var value: Date?
+var weekStart: Int
+
+
+
+
+
+
+
+
+
+
+
+protected open fun afterInsert(node: VNode): Unit
+var autofocus: Boolean?
+protected open fun changeValue(): Unit
+var clearBtn: Boolean
+var daysOfWeekDisabled: Array<Int>
+var disabled: Boolean
+var format: String
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+fun getValueAsString(): String?
+open fun hidePopup(): Unit
+var minuteStep: Int
+var name: String?
+var placeholder: String?
+var readonly: Boolean?
+protected open fun refreshDatePicker(): Unit
+protected open fun refreshState(): Unit
+protected open fun render(): VNode
+var showMeridian: Boolean
+open fun showPopup(): Unit
+var size: INPUTSIZE?
+var todayBtn: Boolean
+var todayHighlight: Boolean
+var value: Date?
+var weekStart: Int
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.html
+
+
+
+
+
+external interface Hot
+abstract fun dispose(): Map<String, Any>
+abstract fun start(state: Map<String, Any>): Unit
+
+
+
+
+
+
+
+
+external interface Module
+abstract fun accept(dependency: String, callback: () -> Unit): Unit
+abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit
+abstract val data: dynamic
+abstract fun dispose(callback: (dynamic) -> Unit): Unit
+
+
+
+
+
+
+
+
+external val module: Module
+
+
+
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.modal
+
+enum class BUTTONSIZE
+
+enum class BUTTONSTYLE
+
+open class Button : Widget
+
+
+
+
+
+enum class IMAGESHAPE
+var block: Boolean
+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
+
+
+
+
+open class Image : Widget
+
+
+
+
+
+enum class LISTTYPE
+var alt: String?
+var centered: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+var responsive: Boolean
+var shape: IMAGESHAPE?
+var src: ResString
+
+
+
+
+open class Label : Tag
+
+
+
+
+
+open class Link : SimplePanel
+
+
+
+
+
+
+
+
+open class ListTag : SimplePanel
+protected open fun getSnAttrs(): List<StringPair>
+var icon: String?
+var image: ResString?
+var label: String
+protected open fun render(): VNode
+var url: String
+
+
+
+
+
+
+
+
+enum class TAG
+protected open fun childrenVNodes(): Array<VNode>
+var elements: List<String>?
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+var rich: Boolean
+var type: LISTTYPE
+
+
+
+
+
+
+
+
+open class Tag : SimplePanel
+ADDRESS
+BLOCKQUOTE
+CITE
+CODE
+DEL
+DIV
+EM
+FOOTER
+H1
+H2
+H3
+H4
+H5
+H6
+HEADER
+INS
+KBD
+LABEL
+LI
+MARK
+OL
+P
+PRE
+S
+SAMP
+SECTION
+SMALL
+SPAN
+STRONG
+U
+UL
+VAR
+
+
+
+
+
+
+
+
+
+
+
+var align: ALIGN?
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+var rich: Boolean
+var text: String?
+var type: TAG
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.panel
+
+
+
+
+
+open class CloseIcon : Widget
+var align: ALIGN?
+open fun hide(): Widget
+var rich: Boolean
+fun show(: 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 Confirm : Modal
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+protected open fun render(): VNode
+
+
+
+
+
+
+
+
+enum class MODALSIZE
+var align: ALIGN?
+var cancelVisible: Boolean
+var rich: Boolean
+fun show(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
+var text: String?
+
+
+
+
+
+
+
+
+open class Modal : SimplePanel
+SMALL
+val className: String
+
+
+
+
+
+
+
+
+
+
+
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+open fun addButton(button: Button): Modal
+protected open fun afterInsert(node: VNode): Unit
+var animation: Boolean
+var caption: String?
+var closeButton: Boolean
+protected open fun getSnAttrs(): List<StringPair>
+protected open fun getSnClass(): List<StringBoolPair>
+open fun hide(): Widget
+open fun removeAllButtons(): Modal
+open fun removeButton(button: Button): Modal
+var size: MODALSIZE?
+open fun toggle(): Unit
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.routing
+
+
+
+
+
+open class DockPanel : SimplePanel
+VERTICAL
+
+
+
+
+
+
+
+
+enum class FLEXALIGNCONTENT
+open fun add(child: Component, position: SIDE): DockPanel
+open fun add(child: Component): DockPanel
+open fun addAll(children: List<Component>): DockPanel
+open fun remove(child: Component): DockPanel
+open fun removeAll(): DockPanel
+open fun removeAt(position: SIDE): DockPanel
+
+
+
+
+
+
+
+
+enum class FLEXALIGNITEMS
+FLEXEND
+FLEXSTART
+SPACEAROUND
+SPACEBETWEEN
+STRETCH
+
+
+
+
+enum class FLEXDIR
+
+enum class FLEXJUSTIFY
+
+
+
+
+
+enum class FLEXWRAP
+FLEXEND
+FLEXSTART
+SPACEAROUND
+SPACEBETWEEN
+SPACEEVENLY
+
+
+
+
+open class FlexPanel : SimplePanel
+
+
+
+
+
+enum class GRIDALIGN
+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?
+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 GRIDALIGNCONTENT
+
+
+
+
+
+enum class GRIDFLOW
+END
+SPACEAROUND
+SPACEBETWEEN
+SPACEEVENLY
+START
+STRETCH
+
+
+
+
+
+
+
+
+enum class GRIDJUSTIFY
+COLUMNDENSE
+ROW
+ROWDENSE
+
+
+
+
+enum class GRIDJUSTIFYCONTENT
+
+
+
+
+
+enum class GRIDSIZE
+END
+SPACEAROUND
+SPACEBETWEEN
+SPACEEVENLY
+START
+STRETCH
+
+
+
+
+open class GridPanel : SimplePanel
+
+
+
+
+
+class GridWrapper : WidgetWrapper
+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>
+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?
+
+
+
+
+
+
+
+
+open class HPanel : FlexPanel
+protected fun getSnStyle(): List<StringPair>
+
+
+
+
+
+
+
+
+open class ResponsiveGridPanel : SimplePanel
+
+
+
+
+
+
+
+
+class Root : SimplePanel
+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
+
+
+
+
+
+
+
+
+enum class SIDE
+protected fun getSnClass(): List<StringBoolPair>
+protected fun render(): VNode
+
+
+
+
+open class SimplePanel : Widget, Container
+
+
+
+
+
+open class SplitPanel : SimplePanel
+open fun add(child: Component): SimplePanel
+open fun addAll(children: List<Component>): SimplePanel
+protected fun addInternal(child: Component): SimplePanel
+protected open fun childrenVNodes(): Array<VNode>
+open fun getChildren(): List<Component>
+open fun remove(child: Component): SimplePanel
+open fun removeAll(): SimplePanel
+protected open fun render(): VNode
+
+
+
+
+
+
+
+
+open class StackPanel : SimplePanel
+protected open fun childrenVNodes(): Array<VNode>
+
+
+
+
+
+
+
+
+open class TabPanel : SimplePanel
+var activeIndex: Int
+open fun add(panel: Component, route: String): StackPanel
+open fun add(child: Component): StackPanel
+open fun addAll(children: List<Component>): StackPanel
+protected open fun childrenVNodes(): Array<VNode>
+open fun remove(child: Component): StackPanel
+open fun removeAll(): StackPanel
+
+
+
+
+
+
+
+
+open class VPanel : FlexPanel
+var activeIndex: Int
+open fun add(child: Component): TabPanel
+open fun addAll(children: List<Component>): TabPanel
+open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel
+open fun remove(child: Component): TabPanel
+open fun removeAll(): TabPanel
+open fun removeTab(index: Int): TabPanel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+package pl.treksoft.kvision.utils
+
+
+
+
+
+var routing: Routing
+fun shutdown(): Unit
+fun start(): Unit
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const val ESC_KEY: Int
+class KvEvent : CustomEvent
+
+
+
+
+
+external class Object
+val detail: KvJQueryEventObject
+
+
+
+
+
+
+
+
+fun auto(): CssSize
+
+
+
+kotlin.Int
+
+
+
+
+
+kotlin.Pair
+fun Int.cm(): CssSize
+fun Int.em(): CssSize
+fun Int.in(): CssSize
+fun Int.mm(): CssSize
+fun Int.pc(): CssSize
+fun Int.perc(): CssSize
+fun Int.pt(): CssSize
+fun Int.px(): CssSize
+fun Int.rem(): CssSize
+fun Int.toHexString(): String
+fun Int.vh(): CssSize
+fun Int.vmax(): CssSize
+fun Int.vmin(): CssSize
+fun Int.vw(): CssSize
+
+
+
+
+kotlin.String
+
+
+
+
+
+kotlin.js.Date
+
+
+
+
+
+
+
+
+fun obj(init: dynamic.() -> Unit): dynamic
+
+
+
+fun snAttrs(pairs: List<StringPair>): Attrs
+fun snClasses(pairs: List<StringBoolPair>): Classes
+fun snOpt(block: VNodeData.() -> Unit): VNodeData
+fun snProps(pairs: List<StringPair>): Props
+fun snStyle(pairs: List<StringPair>): VNodeStyle
+
+
+
+
+Packages
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Index
+All Types
+
+
diff --git a/docs/api/package-list b/docs/api/package-list
new file mode 100644
index 00000000..d1274b92
--- /dev/null
+++ b/docs/api/package-list
@@ -0,0 +1,40 @@
+$dokka.format:html
+$dokka.linkExtension:html
+$dokka.location:pl.treksoft.kvision.form$asJson(kotlin.collections.Map((kotlin.String, kotlin.Any)))pl.treksoft.kvision.form/kotlin.collections.-map/as-json.html
+$dokka.location:pl.treksoft.kvision.form$bool(kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String)pl.treksoft.kvision.form/kotlin.collections.-map/bool.html
+$dokka.location:pl.treksoft.kvision.form$date(kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String)pl.treksoft.kvision.form/kotlin.collections.-map/date.html
+$dokka.location:pl.treksoft.kvision.form$number(kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String)pl.treksoft.kvision.form/kotlin.collections.-map/number.html
+$dokka.location:pl.treksoft.kvision.form$string(kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String)pl.treksoft.kvision.form/kotlin.collections.-map/string.html
+$dokka.location:pl.treksoft.kvision.utils$asString(kotlin.Pair((kotlin.Int, pl.treksoft.kvision.core.UNIT)))pl.treksoft.kvision.utils/kotlin.-pair/as-string.html
+$dokka.location:pl.treksoft.kvision.utils$ch(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/ch.html
+$dokka.location:pl.treksoft.kvision.utils$cm(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/cm.html
+$dokka.location:pl.treksoft.kvision.utils$em(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/em.html
+$dokka.location:pl.treksoft.kvision.utils$in(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/in.html
+$dokka.location:pl.treksoft.kvision.utils$mm(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/mm.html
+$dokka.location:pl.treksoft.kvision.utils$pc(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/pc.html
+$dokka.location:pl.treksoft.kvision.utils$perc(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/perc.html
+$dokka.location:pl.treksoft.kvision.utils$pt(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/pt.html
+$dokka.location:pl.treksoft.kvision.utils$px(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/px.html
+$dokka.location:pl.treksoft.kvision.utils$rem(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/rem.html
+$dokka.location:pl.treksoft.kvision.utils$toDateF(kotlin.String, kotlin.String)pl.treksoft.kvision.utils/kotlin.-string/to-date-f.html
+$dokka.location:pl.treksoft.kvision.utils$toHexString(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/to-hex-string.html
+$dokka.location:pl.treksoft.kvision.utils$toStringF(kotlin.js.Date, kotlin.String)pl.treksoft.kvision.utils/kotlin.js.-date/to-string-f.html
+$dokka.location:pl.treksoft.kvision.utils$vh(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/vh.html
+$dokka.location:pl.treksoft.kvision.utils$vmax(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/vmax.html
+$dokka.location:pl.treksoft.kvision.utils$vmin(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/vmin.html
+$dokka.location:pl.treksoft.kvision.utils$vw(kotlin.Int)pl.treksoft.kvision.utils/kotlin.-int/vw.html
+pl.treksoft.kvision.core
+pl.treksoft.kvision.data
+pl.treksoft.kvision.dropdown
+pl.treksoft.kvision.form
+pl.treksoft.kvision.form.check
+pl.treksoft.kvision.form.select
+pl.treksoft.kvision.form.spinner
+pl.treksoft.kvision.form.text
+pl.treksoft.kvision.form.time
+pl.treksoft.kvision.hmr
+pl.treksoft.kvision.html
+pl.treksoft.kvision.modal
+pl.treksoft.kvision.panel
+pl.treksoft.kvision.routing
+pl.treksoft.kvision.utils
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-f-i-x-e-d.html b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-f-i-x-e-d.html
new file mode 100644
index 00000000..1c3d16f3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-f-i-x-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+FIXED
+
+FIXED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-l-o-c-a-l.html b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-l-o-c-a-l.html
new file mode 100644
index 00000000..5b15a9cc
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-l-o-c-a-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LOCAL
+
+LOCAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-s-c-r-o-l-l.html b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-s-c-r-o-l-l.html
new file mode 100644
index 00000000..a22bf5f4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/-s-c-r-o-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SCROLL
+
+SCROLL
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/index.html b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/index.html
new file mode 100644
index 00000000..279b1333
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-a-t-t-a-c-h/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+BGATTACH
+enum class BGATTACH
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-b-o-r-d-e-r.html b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-b-o-r-d-e-r.html
new file mode 100644
index 00000000..dab7813c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-b-o-r-d-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BORDER
+
+BORDER
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-c-o-n-t-e-n-t.html b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-c-o-n-t-e-n-t.html
new file mode 100644
index 00000000..3d1fa335
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-c-o-n-t-e-n-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CONTENT
+
+CONTENT
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-p-a-d-d-i-n-g.html b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-p-a-d-d-i-n-g.html
new file mode 100644
index 00000000..328a93b9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/-p-a-d-d-i-n-g.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PADDING
+
+PADDING
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/index.html b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/index.html
new file mode 100644
index 00000000..65e13d16
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-c-l-i-p/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+BGCLIP
+enum class BGCLIP
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-b-o-r-d-e-r.html b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-b-o-r-d-e-r.html
new file mode 100644
index 00000000..51d3637f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-b-o-r-d-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BORDER
+
+BORDER
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-c-o-n-t-e-n-t.html b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-c-o-n-t-e-n-t.html
new file mode 100644
index 00000000..0e16f852
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-c-o-n-t-e-n-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CONTENT
+
+CONTENT
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-p-a-d-d-i-n-g.html b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-p-a-d-d-i-n-g.html
new file mode 100644
index 00000000..1158031b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/-p-a-d-d-i-n-g.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PADDING
+
+PADDING
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/index.html b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/index.html
new file mode 100644
index 00000000..fcdaeb50
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-o-r-i-g-i-n/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+BGORIGIN
+enum class BGORIGIN
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-n-o-r-e-p-e-a-t.html b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-n-o-r-e-p-e-a-t.html
new file mode 100644
index 00000000..ecb1ce14
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-n-o-r-e-p-e-a-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+NOREPEAT
+
+NOREPEAT
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t-x.html b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t-x.html
new file mode 100644
index 00000000..27817456
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t-x.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+REPEATX
+
+REPEATX
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t-y.html b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t-y.html
new file mode 100644
index 00000000..4a5eac7f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+REPEATY
+
+REPEATY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t.html b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t.html
new file mode 100644
index 00000000..042533f9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/-r-e-p-e-a-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+REPEAT
+
+REPEAT
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/index.html b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/index.html
new file mode 100644
index 00000000..06adf2e7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-r-e-p-e-a-t/index.html
@@ -0,0 +1,47 @@
+
+
+
+
+
+BGREPEAT
+enum class BGREPEAT
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/-c-o-n-t-a-i-n.html b/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/-c-o-n-t-a-i-n.html
new file mode 100644
index 00000000..ea0e374e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/-c-o-n-t-a-i-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+CONTAIN
+
+CONTAIN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/-c-o-v-e-r.html b/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/-c-o-v-e-r.html
new file mode 100644
index 00000000..4abc2306
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/-c-o-v-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+COVER
+
+COVER
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/index.html b/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/index.html
new file mode 100644
index 00000000..e2a21b7b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-g-s-i-z-e/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+BGSIZE
+enum class BGSIZE
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-a-s-h-e-d.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-a-s-h-e-d.html
new file mode 100644
index 00000000..0617679a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-a-s-h-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+DASHED
+
+DASHED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-o-t-t-e-d.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-o-t-t-e-d.html
new file mode 100644
index 00000000..b24805d7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-o-t-t-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DOTTED
+
+DOTTED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-o-u-b-l-e.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-o-u-b-l-e.html
new file mode 100644
index 00000000..a86b15a4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-d-o-u-b-l-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DOUBLE
+
+DOUBLE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-g-r-o-o-v-e.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-g-r-o-o-v-e.html
new file mode 100644
index 00000000..f292081c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-g-r-o-o-v-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GROOVE
+
+GROOVE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-h-i-d-d-e-n.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-h-i-d-d-e-n.html
new file mode 100644
index 00000000..6aa90c2a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-h-i-d-d-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+HIDDEN
+
+HIDDEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-h-e-r-i-t.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-h-e-r-i-t.html
new file mode 100644
index 00000000..256ae679
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-h-e-r-i-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+INHERIT
+
+INHERIT
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-i-t-i-a-l.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-i-t-i-a-l.html
new file mode 100644
index 00000000..bba87c7d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-i-t-i-a-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+INITIAL
+
+INITIAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-s-e-t.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-s-e-t.html
new file mode 100644
index 00000000..fafb892a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-i-n-s-e-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+INSET
+
+INSET
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-n-o-n-e.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-n-o-n-e.html
new file mode 100644
index 00000000..78ac9f6e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-n-o-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+NONE
+
+NONE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-o-u-t-s-e-t.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-o-u-t-s-e-t.html
new file mode 100644
index 00000000..47234419
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-o-u-t-s-e-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+OUTSET
+
+OUTSET
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-r-i-d-g-e.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-r-i-d-g-e.html
new file mode 100644
index 00000000..da36910f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-r-i-d-g-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+RIDGE
+
+RIDGE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-s-o-l-i-d.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-s-o-l-i-d.html
new file mode 100644
index 00000000..c633a23f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/-s-o-l-i-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SOLID
+
+SOLID
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/index.html b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/index.html
new file mode 100644
index 00000000..d0471bdb
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-b-o-r-d-e-r-s-t-y-l-e/index.html
@@ -0,0 +1,103 @@
+
+
+
+
+
+BORDERSTYLE
+enum class BORDERSTYLE
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-background/-init-.html b/docs/api/pl.treksoft.kvision.core/-background/-init-.html
new file mode 100644
index 00000000..5d56a5b7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-background/-init-.html
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<init>
+
+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)
+Parameters
+
+positionX
- horizontal position of the background imagepositionY
- vertical position of the background imagesizeX
- horizontal size of the background imagesizeY
- vertical size of the background imagesize
- resize of the background imagerepeat
- repeat option of the background imageorigin
- origin option of the background imageclip
- clipping option of the background imageattachment
- attachment option of the background imageBackground(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)
+Parameters
+color
- color of the background in hex formatpositionX
- horizontal position of the background imagepositionY
- vertical position of the background imagesizeX
- horizontal size of the background imagesizeY
- vertical size of the background imagesize
- resize of the background imagerepeat
- repeat option of the background imageorigin
- origin option of the background imageclip
- clipping option of the background imageattachment
- attachment option of the background imageBackground(color: COLOR, 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)
+Parameters
+color
- color of the background with named constantpositionX
- horizontal position of the background imagepositionY
- vertical position of the background imagesizeX
- horizontal size of the background imagesizeY
- vertical size of the background imagesize
- resize of the background imagerepeat
- repeat option of the background imageorigin
- origin option of the background imageclip
- clipping option of the background imageattachment
- attachment option of the background image
+
+Background
+class Background
+Constructors
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-border/-init-.html b/docs/api/pl.treksoft.kvision.core/-border/-init-.html
new file mode 100644
index 00000000..8f7c5ec3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-border/-init-.html
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+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: COLOR, 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)
+
+
+<init>
+
+Border(width: CssSize? = null, style: BORDERSTYLE? = null)
+Parameters
+
+
+
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: Int)
+Parameters
+
+
+
+
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: COLOR)
+Parameters
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-border/index.html b/docs/api/pl.treksoft.kvision.core/-border/index.html
new file mode 100644
index 00000000..d495e71e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-border/index.html
@@ -0,0 +1,32 @@
+
+
+
+
+
+Border
+class Border
+Constructors
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-l-i-c-e-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-l-i-c-e-b-l-u-e.html
new file mode 100644
index 00000000..07ef16e3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-l-i-c-e-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+Border(width: CssSize? = null, style: BORDERSTYLE? = null)
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: Int)
+Border(width: CssSize? = null, style: BORDERSTYLE? = null, color: COLOR)
+
+
+ALICEBLUE
+
+ALICEBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-n-t-i-q-u-e-w-h-i-t-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-n-t-i-q-u-e-w-h-i-t-e.html
new file mode 100644
index 00000000..0edf72f7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-n-t-i-q-u-e-w-h-i-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ANTIQUEWHITE
+
+ANTIQUEWHITE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-q-u-a-m-a-r-i-n-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-q-u-a-m-a-r-i-n-e.html
new file mode 100644
index 00000000..0640d90e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-q-u-a-m-a-r-i-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+AQUAMARINE
+
+AQUAMARINE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-q-u-a.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-q-u-a.html
new file mode 100644
index 00000000..9dbd580d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-q-u-a.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+AQUA
+
+AQUA
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-z-u-r-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-z-u-r-e.html
new file mode 100644
index 00000000..fa087c11
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-a-z-u-r-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+AZURE
+
+AZURE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-e-i-g-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-e-i-g-e.html
new file mode 100644
index 00000000..8a4aa288
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-e-i-g-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BEIGE
+
+BEIGE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-i-s-q-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-i-s-q-u-e.html
new file mode 100644
index 00000000..4d2f447f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-i-s-q-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BISQUE
+
+BISQUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-a-c-k.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-a-c-k.html
new file mode 100644
index 00000000..96aac6ab
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-a-c-k.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BLACK
+
+BLACK
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-a-n-c-h-e-d-a-l-m-o-n-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-a-n-c-h-e-d-a-l-m-o-n-d.html
new file mode 100644
index 00000000..d13c13a1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-a-n-c-h-e-d-a-l-m-o-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BLANCHEDALMOND
+
+BLANCHEDALMOND
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-u-e-v-i-o-l-e-t.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-u-e-v-i-o-l-e-t.html
new file mode 100644
index 00000000..589fe034
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-u-e-v-i-o-l-e-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BLUEVIOLET
+
+BLUEVIOLET
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-u-e.html
new file mode 100644
index 00000000..736a6962
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BLUE
+
+BLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-r-o-w-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-r-o-w-n.html
new file mode 100644
index 00000000..afd36a4a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-r-o-w-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BROWN
+
+BROWN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-u-r-l-y-w-o-o-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-u-r-l-y-w-o-o-d.html
new file mode 100644
index 00000000..67460886
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-b-u-r-l-y-w-o-o-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+BURLYWOOD
+
+BURLYWOOD
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-a-d-e-t-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-a-d-e-t-b-l-u-e.html
new file mode 100644
index 00000000..b72e678e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-a-d-e-t-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CADETBLUE
+
+CADETBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-h-a-r-t-r-e-u-s-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-h-a-r-t-r-e-u-s-e.html
new file mode 100644
index 00000000..52679d05
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-h-a-r-t-r-e-u-s-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CHARTREUSE
+
+CHARTREUSE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-h-o-c-o-l-a-t-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-h-o-c-o-l-a-t-e.html
new file mode 100644
index 00000000..9894d580
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-h-o-c-o-l-a-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CHOCOLATE
+
+CHOCOLATE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-a-l.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-a-l.html
new file mode 100644
index 00000000..815603a5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-a-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CORAL
+
+CORAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-n-f-l-o-w-e-r-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-n-f-l-o-w-e-r-b-l-u-e.html
new file mode 100644
index 00000000..d2eed26e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-n-f-l-o-w-e-r-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CORNFLOWERBLUE
+
+CORNFLOWERBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-n-s-i-l-k.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-n-s-i-l-k.html
new file mode 100644
index 00000000..34fcd570
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-o-r-n-s-i-l-k.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CORNSILK
+
+CORNSILK
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-r-i-m-s-o-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-r-i-m-s-o-n.html
new file mode 100644
index 00000000..b2756b54
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-r-i-m-s-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CRIMSON
+
+CRIMSON
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-y-a-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-y-a-n.html
new file mode 100644
index 00000000..163bd679
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-c-y-a-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+CYAN
+
+CYAN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-b-l-u-e.html
new file mode 100644
index 00000000..9fb0ad20
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKBLUE
+
+DARKBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-c-y-a-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-c-y-a-n.html
new file mode 100644
index 00000000..84e63e3b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-c-y-a-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKCYAN
+
+DARKCYAN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-o-l-d-e-n-r-o-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-o-l-d-e-n-r-o-d.html
new file mode 100644
index 00000000..c97b590c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-o-l-d-e-n-r-o-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKGOLDENROD
+
+DARKGOLDENROD
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-r-a-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-r-a-y.html
new file mode 100644
index 00000000..9830a427
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-r-a-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKGRAY
+
+DARKGRAY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-r-e-e-n.html
new file mode 100644
index 00000000..002ecc5c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKGREEN
+
+DARKGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-k-h-a-k-i.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-k-h-a-k-i.html
new file mode 100644
index 00000000..58a94155
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-k-h-a-k-i.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKKHAKI
+
+DARKKHAKI
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-m-a-g-e-n-t-a.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-m-a-g-e-n-t-a.html
new file mode 100644
index 00000000..0671aa16
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-m-a-g-e-n-t-a.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKMAGENTA
+
+DARKMAGENTA
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-l-i-v-e-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-l-i-v-e-g-r-e-e-n.html
new file mode 100644
index 00000000..a49919ae
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-l-i-v-e-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKOLIVEGREEN
+
+DARKOLIVEGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-r-a-n-g-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-r-a-n-g-e.html
new file mode 100644
index 00000000..90ca0462
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-r-a-n-g-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKORANGE
+
+DARKORANGE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-r-c-h-i-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-r-c-h-i-d.html
new file mode 100644
index 00000000..69c27b23
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-o-r-c-h-i-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKORCHID
+
+DARKORCHID
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-r-e-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-r-e-d.html
new file mode 100644
index 00000000..6b44f76f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-r-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKRED
+
+DARKRED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-a-l-m-o-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-a-l-m-o-n.html
new file mode 100644
index 00000000..0eb586f3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-a-l-m-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKSALMON
+
+DARKSALMON
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-e-a-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-e-a-g-r-e-e-n.html
new file mode 100644
index 00000000..63ad4292
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-e-a-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKSEAGREEN
+
+DARKSEAGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-l-a-t-e-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-l-a-t-e-b-l-u-e.html
new file mode 100644
index 00000000..1d23d9c5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-l-a-t-e-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKSLATEBLUE
+
+DARKSLATEBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-l-a-t-e-g-r-a-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-l-a-t-e-g-r-a-y.html
new file mode 100644
index 00000000..ec76e984
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-s-l-a-t-e-g-r-a-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKSLATEGRAY
+
+DARKSLATEGRAY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-t-u-r-q-u-o-i-s-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-t-u-r-q-u-o-i-s-e.html
new file mode 100644
index 00000000..8a618fba
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-t-u-r-q-u-o-i-s-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKTURQUOISE
+
+DARKTURQUOISE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-v-i-o-l-e-t.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-v-i-o-l-e-t.html
new file mode 100644
index 00000000..97a2f3d6
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-a-r-k-v-i-o-l-e-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DARKVIOLET
+
+DARKVIOLET
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-e-e-p-p-i-n-k.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-e-e-p-p-i-n-k.html
new file mode 100644
index 00000000..79c33988
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-e-e-p-p-i-n-k.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DEEPPINK
+
+DEEPPINK
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-e-e-p-s-k-y-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-e-e-p-s-k-y-b-l-u-e.html
new file mode 100644
index 00000000..65716f86
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-e-e-p-s-k-y-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DEEPSKYBLUE
+
+DEEPSKYBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-i-m-g-r-a-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-i-m-g-r-a-y.html
new file mode 100644
index 00000000..cf76d5e8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-i-m-g-r-a-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DIMGRAY
+
+DIMGRAY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-o-d-g-e-r-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-o-d-g-e-r-b-l-u-e.html
new file mode 100644
index 00000000..796af578
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-d-o-d-g-e-r-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+DODGERBLUE
+
+DODGERBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-i-r-e-b-r-i-c-k.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-i-r-e-b-r-i-c-k.html
new file mode 100644
index 00000000..cc106f4a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-i-r-e-b-r-i-c-k.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+FIREBRICK
+
+FIREBRICK
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-l-o-r-a-l-w-h-i-t-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-l-o-r-a-l-w-h-i-t-e.html
new file mode 100644
index 00000000..bee08048
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-l-o-r-a-l-w-h-i-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+FLORALWHITE
+
+FLORALWHITE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-o-r-e-s-t-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-o-r-e-s-t-g-r-e-e-n.html
new file mode 100644
index 00000000..bfbdaf77
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-o-r-e-s-t-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+FORESTGREEN
+
+FORESTGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-u-c-h-s-i-a.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-u-c-h-s-i-a.html
new file mode 100644
index 00000000..227196ee
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-f-u-c-h-s-i-a.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+FUCHSIA
+
+FUCHSIA
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-a-i-n-s-b-o-r-o.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-a-i-n-s-b-o-r-o.html
new file mode 100644
index 00000000..520bc53b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-a-i-n-s-b-o-r-o.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GAINSBORO
+
+GAINSBORO
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-h-o-s-t-w-h-i-t-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-h-o-s-t-w-h-i-t-e.html
new file mode 100644
index 00000000..4570960d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-h-o-s-t-w-h-i-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GHOSTWHITE
+
+GHOSTWHITE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-o-l-d-e-n-r-o-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-o-l-d-e-n-r-o-d.html
new file mode 100644
index 00000000..bd08a340
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-o-l-d-e-n-r-o-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GOLDENROD
+
+GOLDENROD
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-o-l-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-o-l-d.html
new file mode 100644
index 00000000..0c39d8af
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-o-l-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GOLD
+
+GOLD
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-a-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-a-y.html
new file mode 100644
index 00000000..7f8da5fe
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-a-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GRAY
+
+GRAY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-e-e-n-y-e-l-l-o-w.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-e-e-n-y-e-l-l-o-w.html
new file mode 100644
index 00000000..e680fb38
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-e-e-n-y-e-l-l-o-w.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GREENYELLOW
+
+GREENYELLOW
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-e-e-n.html
new file mode 100644
index 00000000..6c461e49
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+GREEN
+
+GREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-h-o-n-e-y-d-e-w.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-h-o-n-e-y-d-e-w.html
new file mode 100644
index 00000000..ec5e6f7f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-h-o-n-e-y-d-e-w.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+HONEYDEW
+
+HONEYDEW
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-h-o-t-p-i-n-k.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-h-o-t-p-i-n-k.html
new file mode 100644
index 00000000..52484048
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-h-o-t-p-i-n-k.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+HOTPINK
+
+HOTPINK
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-n-d-i-a-n-r-e-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-n-d-i-a-n-r-e-d.html
new file mode 100644
index 00000000..f523224d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-n-d-i-a-n-r-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+INDIANRED
+
+INDIANRED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-n-d-i-g-o.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-n-d-i-g-o.html
new file mode 100644
index 00000000..03185255
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-n-d-i-g-o.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+INDIGO
+
+INDIGO
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-v-o-r-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-v-o-r-y.html
new file mode 100644
index 00000000..4acc0a3d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-i-v-o-r-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+IVORY
+
+IVORY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-k-h-a-k-i.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-k-h-a-k-i.html
new file mode 100644
index 00000000..08b48783
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-k-h-a-k-i.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+KHAKI
+
+KHAKI
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-v-e-n-d-e-r-b-l-u-s-h.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-v-e-n-d-e-r-b-l-u-s-h.html
new file mode 100644
index 00000000..5c2383c7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-v-e-n-d-e-r-b-l-u-s-h.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LAVENDERBLUSH
+
+LAVENDERBLUSH
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-v-e-n-d-e-r.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-v-e-n-d-e-r.html
new file mode 100644
index 00000000..950f0e15
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-v-e-n-d-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LAVENDER
+
+LAVENDER
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-w-n-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-w-n-g-r-e-e-n.html
new file mode 100644
index 00000000..58b2757b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-a-w-n-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LAWNGREEN
+
+LAWNGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-e-m-o-n-c-h-i-f-f-o-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-e-m-o-n-c-h-i-f-f-o-n.html
new file mode 100644
index 00000000..a73b0dd3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-e-m-o-n-c-h-i-f-f-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LEMONCHIFFON
+
+LEMONCHIFFON
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-b-l-u-e.html
new file mode 100644
index 00000000..b04f6cfa
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTBLUE
+
+LIGHTBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-c-o-r-a-l.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-c-o-r-a-l.html
new file mode 100644
index 00000000..114e8412
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-c-o-r-a-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTCORAL
+
+LIGHTCORAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-c-y-a-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-c-y-a-n.html
new file mode 100644
index 00000000..718f0fbf
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-c-y-a-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTCYAN
+
+LIGHTCYAN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-o-l-d-e-n-r-o-d-y-e-l-l-o-w.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-o-l-d-e-n-r-o-d-y-e-l-l-o-w.html
new file mode 100644
index 00000000..72bef693
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-o-l-d-e-n-r-o-d-y-e-l-l-o-w.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTGOLDENRODYELLOW
+
+LIGHTGOLDENRODYELLOW
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-r-a-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-r-a-y.html
new file mode 100644
index 00000000..89ecf1eb
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-r-a-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTGRAY
+
+LIGHTGRAY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-r-e-e-n.html
new file mode 100644
index 00000000..e49cb1b5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTGREEN
+
+LIGHTGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-p-i-n-k.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-p-i-n-k.html
new file mode 100644
index 00000000..f42ef31c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-p-i-n-k.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTPINK
+
+LIGHTPINK
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-a-l-m-o-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-a-l-m-o-n.html
new file mode 100644
index 00000000..1b62824d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-a-l-m-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTSALMON
+
+LIGHTSALMON
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-e-a-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-e-a-g-r-e-e-n.html
new file mode 100644
index 00000000..8c0ed60e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-e-a-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTSEAGREEN
+
+LIGHTSEAGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-k-y-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-k-y-b-l-u-e.html
new file mode 100644
index 00000000..61f5de30
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-k-y-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTSKYBLUE
+
+LIGHTSKYBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-l-a-t-e-g-r-a-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-l-a-t-e-g-r-a-y.html
new file mode 100644
index 00000000..c611df47
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-l-a-t-e-g-r-a-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTSLATEGRAY
+
+LIGHTSLATEGRAY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-t-e-e-l-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-t-e-e-l-b-l-u-e.html
new file mode 100644
index 00000000..57dc7d01
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-s-t-e-e-l-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTSTEELBLUE
+
+LIGHTSTEELBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-y-e-l-l-o-w.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-y-e-l-l-o-w.html
new file mode 100644
index 00000000..a553d75e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-g-h-t-y-e-l-l-o-w.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIGHTYELLOW
+
+LIGHTYELLOW
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-m-e-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-m-e-g-r-e-e-n.html
new file mode 100644
index 00000000..726e2f25
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-m-e-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIMEGREEN
+
+LIMEGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-m-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-m-e.html
new file mode 100644
index 00000000..a01bb2d1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-m-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LIME
+
+LIME
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-n-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-n-e-n.html
new file mode 100644
index 00000000..a7ebfd09
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-l-i-n-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+LINEN
+
+LINEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-a-g-e-n-t-a.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-a-g-e-n-t-a.html
new file mode 100644
index 00000000..40dead34
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-a-g-e-n-t-a.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MAGENTA
+
+MAGENTA
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-a-r-o-o-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-a-r-o-o-n.html
new file mode 100644
index 00000000..8c624e32
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-a-r-o-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MAROON
+
+MAROON
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-a-q-u-a-m-a-r-i-n-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-a-q-u-a-m-a-r-i-n-e.html
new file mode 100644
index 00000000..9e4a2f03
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-a-q-u-a-m-a-r-i-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMAQUAMARINE
+
+MEDIUMAQUAMARINE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-b-l-u-e.html
new file mode 100644
index 00000000..3cf07499
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMBLUE
+
+MEDIUMBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-o-r-c-h-i-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-o-r-c-h-i-d.html
new file mode 100644
index 00000000..0bbda26c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-o-r-c-h-i-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMORCHID
+
+MEDIUMORCHID
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-p-u-r-p-l-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-p-u-r-p-l-e.html
new file mode 100644
index 00000000..c5d4b21e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-p-u-r-p-l-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMPURPLE
+
+MEDIUMPURPLE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-e-a-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-e-a-g-r-e-e-n.html
new file mode 100644
index 00000000..83a0398a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-e-a-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMSEAGREEN
+
+MEDIUMSEAGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-l-a-t-e-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-l-a-t-e-b-l-u-e.html
new file mode 100644
index 00000000..a211eab3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-l-a-t-e-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMSLATEBLUE
+
+MEDIUMSLATEBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-p-r-i-n-g-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-p-r-i-n-g-g-r-e-e-n.html
new file mode 100644
index 00000000..54aff555
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-s-p-r-i-n-g-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMSPRINGGREEN
+
+MEDIUMSPRINGGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-t-u-r-q-u-o-i-s-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-t-u-r-q-u-o-i-s-e.html
new file mode 100644
index 00000000..0fb0325f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-t-u-r-q-u-o-i-s-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMTURQUOISE
+
+MEDIUMTURQUOISE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-v-i-o-l-e-t-r-e-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-v-i-o-l-e-t-r-e-d.html
new file mode 100644
index 00000000..7156381c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-e-d-i-u-m-v-i-o-l-e-t-r-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MEDIUMVIOLETRED
+
+MEDIUMVIOLETRED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-d-n-i-g-h-t-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-d-n-i-g-h-t-b-l-u-e.html
new file mode 100644
index 00000000..1a09f29c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-d-n-i-g-h-t-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MIDNIGHTBLUE
+
+MIDNIGHTBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-n-t-c-r-e-a-m.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-n-t-c-r-e-a-m.html
new file mode 100644
index 00000000..973c85ae
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-n-t-c-r-e-a-m.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MINTCREAM
+
+MINTCREAM
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-s-t-y-r-o-s-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-s-t-y-r-o-s-e.html
new file mode 100644
index 00000000..110424ac
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-i-s-t-y-r-o-s-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MISTYROSE
+
+MISTYROSE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-o-c-c-a-s-i-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-o-c-c-a-s-i-n.html
new file mode 100644
index 00000000..72a3eec2
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-m-o-c-c-a-s-i-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+MOCCASIN
+
+MOCCASIN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-n-a-v-a-j-o-w-h-i-t-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-n-a-v-a-j-o-w-h-i-t-e.html
new file mode 100644
index 00000000..48cca82e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-n-a-v-a-j-o-w-h-i-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+NAVAJOWHITE
+
+NAVAJOWHITE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-n-a-v-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-n-a-v-y.html
new file mode 100644
index 00000000..d124b10d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-n-a-v-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+NAVY
+
+NAVY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-d-l-a-c-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-d-l-a-c-e.html
new file mode 100644
index 00000000..19d2ac54
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-d-l-a-c-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+OLDLACE
+
+OLDLACE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-i-v-e-d-r-a-b.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-i-v-e-d-r-a-b.html
new file mode 100644
index 00000000..c6a41e84
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-i-v-e-d-r-a-b.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+OLIVEDRAB
+
+OLIVEDRAB
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-i-v-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-i-v-e.html
new file mode 100644
index 00000000..bc532bd7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-l-i-v-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+OLIVE
+
+OLIVE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-a-n-g-e-r-e-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-a-n-g-e-r-e-d.html
new file mode 100644
index 00000000..a7dc731b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-a-n-g-e-r-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ORANGERED
+
+ORANGERED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-a-n-g-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-a-n-g-e.html
new file mode 100644
index 00000000..9993b9b8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-a-n-g-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ORANGE
+
+ORANGE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-c-h-i-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-c-h-i-d.html
new file mode 100644
index 00000000..74c88174
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-o-r-c-h-i-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ORCHID
+
+ORCHID
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-g-o-l-d-e-n-r-o-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-g-o-l-d-e-n-r-o-d.html
new file mode 100644
index 00000000..64ab4ea3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-g-o-l-d-e-n-r-o-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PALEGOLDENROD
+
+PALEGOLDENROD
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-g-r-e-e-n.html
new file mode 100644
index 00000000..7ad361ee
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PALEGREEN
+
+PALEGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-t-u-r-q-u-o-i-s-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-t-u-r-q-u-o-i-s-e.html
new file mode 100644
index 00000000..651b6540
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-t-u-r-q-u-o-i-s-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PALETURQUOISE
+
+PALETURQUOISE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-v-i-o-l-e-t-r-e-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-v-i-o-l-e-t-r-e-d.html
new file mode 100644
index 00000000..12d6e75c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-l-e-v-i-o-l-e-t-r-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PALEVIOLETRED
+
+PALEVIOLETRED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-p-a-y-a-w-h-i-p.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-p-a-y-a-w-h-i-p.html
new file mode 100644
index 00000000..2066fe46
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-a-p-a-y-a-w-h-i-p.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PAPAYAWHIP
+
+PAPAYAWHIP
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-e-a-c-h-p-u-f-f.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-e-a-c-h-p-u-f-f.html
new file mode 100644
index 00000000..3262b445
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-e-a-c-h-p-u-f-f.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PEACHPUFF
+
+PEACHPUFF
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-e-r-u.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-e-r-u.html
new file mode 100644
index 00000000..b78b3f08
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-e-r-u.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PERU
+
+PERU
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-i-n-k.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-i-n-k.html
new file mode 100644
index 00000000..45ac55bd
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-i-n-k.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PINK
+
+PINK
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-l-u-m.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-l-u-m.html
new file mode 100644
index 00000000..0c2667c1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-l-u-m.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PLUM
+
+PLUM
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-o-w-d-e-r-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-o-w-d-e-r-b-l-u-e.html
new file mode 100644
index 00000000..db0710f5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-o-w-d-e-r-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+POWDERBLUE
+
+POWDERBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-u-r-p-l-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-u-r-p-l-e.html
new file mode 100644
index 00000000..02ea63aa
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-p-u-r-p-l-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+PURPLE
+
+PURPLE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-e-b-e-c-c-a-p-u-r-p-l-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-e-b-e-c-c-a-p-u-r-p-l-e.html
new file mode 100644
index 00000000..1d82aa73
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-e-b-e-c-c-a-p-u-r-p-l-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+REBECCAPURPLE
+
+REBECCAPURPLE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-e-d.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-e-d.html
new file mode 100644
index 00000000..76ac8793
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+RED
+
+RED
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-o-s-y-b-r-o-w-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-o-s-y-b-r-o-w-n.html
new file mode 100644
index 00000000..374be643
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-o-s-y-b-r-o-w-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ROSYBROWN
+
+ROSYBROWN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-o-y-a-l-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-o-y-a-l-b-l-u-e.html
new file mode 100644
index 00000000..6ba45e1b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-r-o-y-a-l-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ROYALBLUE
+
+ROYALBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-d-d-l-e-b-r-o-w-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-d-d-l-e-b-r-o-w-n.html
new file mode 100644
index 00000000..b1faa1bd
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-d-d-l-e-b-r-o-w-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SADDLEBROWN
+
+SADDLEBROWN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-l-m-o-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-l-m-o-n.html
new file mode 100644
index 00000000..ee790230
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-l-m-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SALMON
+
+SALMON
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-n-d-y-b-r-o-w-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-n-d-y-b-r-o-w-n.html
new file mode 100644
index 00000000..d37365e0
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-a-n-d-y-b-r-o-w-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SANDYBROWN
+
+SANDYBROWN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-e-a-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-e-a-g-r-e-e-n.html
new file mode 100644
index 00000000..0c772fa8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-e-a-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SEAGREEN
+
+SEAGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-e-a-s-h-e-l-l.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-e-a-s-h-e-l-l.html
new file mode 100644
index 00000000..a30d0a6a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-e-a-s-h-e-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SEASHELL
+
+SEASHELL
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-i-e-n-n-a.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-i-e-n-n-a.html
new file mode 100644
index 00000000..b4aef1f7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-i-e-n-n-a.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SIENNA
+
+SIENNA
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-i-l-v-e-r.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-i-l-v-e-r.html
new file mode 100644
index 00000000..3c63e304
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-i-l-v-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SILVER
+
+SILVER
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-k-y-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-k-y-b-l-u-e.html
new file mode 100644
index 00000000..ecc1a286
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-k-y-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SKYBLUE
+
+SKYBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-l-a-t-e-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-l-a-t-e-b-l-u-e.html
new file mode 100644
index 00000000..80799a39
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-l-a-t-e-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SLATEBLUE
+
+SLATEBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-l-a-t-e-g-r-a-y.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-l-a-t-e-g-r-a-y.html
new file mode 100644
index 00000000..bb6a33ce
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-l-a-t-e-g-r-a-y.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SLATEGRAY
+
+SLATEGRAY
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-n-o-w.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-n-o-w.html
new file mode 100644
index 00000000..0bff6396
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-n-o-w.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SNOW
+
+SNOW
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-p-r-i-n-g-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-p-r-i-n-g-g-r-e-e-n.html
new file mode 100644
index 00000000..232832d1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-p-r-i-n-g-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SPRINGGREEN
+
+SPRINGGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-t-e-e-l-b-l-u-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-t-e-e-l-b-l-u-e.html
new file mode 100644
index 00000000..1d11c024
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-s-t-e-e-l-b-l-u-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+STEELBLUE
+
+STEELBLUE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-a-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-a-n.html
new file mode 100644
index 00000000..1b26e032
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-a-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+TAN
+
+TAN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-e-a-l.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-e-a-l.html
new file mode 100644
index 00000000..8d852f98
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-e-a-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+TEAL
+
+TEAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-h-i-s-t-l-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-h-i-s-t-l-e.html
new file mode 100644
index 00000000..392f5d11
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-h-i-s-t-l-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+THISTLE
+
+THISTLE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-o-m-a-t-o.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-o-m-a-t-o.html
new file mode 100644
index 00000000..62c0cffd
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-o-m-a-t-o.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+TOMATO
+
+TOMATO
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-u-r-q-u-o-i-s-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-u-r-q-u-o-i-s-e.html
new file mode 100644
index 00000000..198c5842
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-t-u-r-q-u-o-i-s-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+TURQUOISE
+
+TURQUOISE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-v-i-o-l-e-t.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-v-i-o-l-e-t.html
new file mode 100644
index 00000000..0cb0b740
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-v-i-o-l-e-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+VIOLET
+
+VIOLET
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-e-a-t.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-e-a-t.html
new file mode 100644
index 00000000..64e37588
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-e-a-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+WHEAT
+
+WHEAT
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-i-t-e-s-m-o-k-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-i-t-e-s-m-o-k-e.html
new file mode 100644
index 00000000..c50f927b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-i-t-e-s-m-o-k-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+WHITESMOKE
+
+WHITESMOKE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-i-t-e.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-i-t-e.html
new file mode 100644
index 00000000..0fd187eb
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-w-h-i-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+WHITE
+
+WHITE
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-y-e-l-l-o-w-g-r-e-e-n.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-y-e-l-l-o-w-g-r-e-e-n.html
new file mode 100644
index 00000000..b7cb16bf
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-y-e-l-l-o-w-g-r-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+YELLOWGREEN
+
+YELLOWGREEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-y-e-l-l-o-w.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-y-e-l-l-o-w.html
new file mode 100644
index 00000000..de824aea
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/-y-e-l-l-o-w.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+YELLOW
+
+YELLOW
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/index.html b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/index.html
new file mode 100644
index 00000000..d1f6c2ef
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-c-o-l-o-r/index.html
@@ -0,0 +1,1006 @@
+
+
+
+
+
+COLOR
+enum class COLOR
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-color/-init-.html b/docs/api/pl.treksoft.kvision.core/-color/-init-.html
new file mode 100644
index 00000000..9cb07a81
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-color/-init-.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<init>
+
+Color(color: Int)
+Parameters
+
+
+Color(color: COLOR)
+Parameters
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-color/index.html b/docs/api/pl.treksoft.kvision.core/-color/index.html
new file mode 100644
index 00000000..c6ba38a7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-color/index.html
@@ -0,0 +1,30 @@
+
+
+
+
+
+Color
+class Color
+Constructors
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-component/add-css-class.html b/docs/api/pl.treksoft.kvision.core/-component/add-css-class.html
new file mode 100644
index 00000000..971670b4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-component/add-css-class.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+Color(color: Int)
+Color(color: COLOR)
+
+
+addCssClass
+
+abstract fun addCssClass(css: String): Component
+Parameters
+
+
+current component
+
+addSurroundingCssClass
+
+abstract fun addSurroundingCssClass(css: String): Component
+Parameters
+
+
+current component
+
+getElementJQueryD
+
+abstract fun getElementJQueryD(): dynamic
+
+JQuery element as a dynamic type
+
+getElementJQuery
+
+abstract fun getElementJQuery(): JQuery?
+
+JQuery element
+
+getElement
+
+abstract fun getElement(): Node?
+
+DOM element
+
+Component
+interface Component
+Properties
+
+
+
+
+
+
+
+
+
+
+abstract var parent: Component?
+
+
+
+
+
+
+
+
+abstract var visible: Boolean
+Functions
+
+
+
+
+
+
+
+
+
+
+abstract fun addCssClass(css: String): Component
+
+
+
+
+
+
+
+abstract fun addSurroundingCssClass(css: String): Component
+
+
+
+
+
+
+
+abstract fun getElement(): Node?
+
+
+
+
+
+
+
+abstract fun getElementJQuery(): JQuery?
+
+
+
+
+
+
+
+abstract fun getElementJQueryD(): dynamic
+
+
+
+
+
+
+
+abstract fun removeCssClass(css: String): Component
+
+
+
+
+
+
+
+
+abstract fun removeSurroundingCssClass(css: String): Component
+Inheritors
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-component/parent.html b/docs/api/pl.treksoft.kvision.core/-component/parent.html
new file mode 100644
index 00000000..80cee78f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-component/parent.html
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+interface Container : Component
+
+
+
+
+
+
+
+interface FormControl : Component
+
+
+
+
+
+
+
+
+abstract class StyledComponent : Component
+
+
+parent
+
+abstract var parent: Component?
+
+
+removeCssClass
+
+abstract fun removeCssClass(css: String): Component
+Parameters
+
+
+current component
+
+removeSurroundingCssClass
+
+abstract fun removeSurroundingCssClass(css: String): Component
+Parameters
+
+
+current component
+
+visible
+
+abstract var visible: Boolean
+
+
+addAll
+
+abstract fun addAll(children: List<Component>): Container
+Parameters
+children
- list of child components
+current container
+
+add
+
+abstract fun add(child: Component): Container
+Parameters
+
+
+current container
+
+getChildren
+
+abstract fun getChildren(): List<Component>
+
+list of children
+
+Container
+interface Container : Component
+Inherited Properties
+
+
+
+
+
+
+
+
+
+
+abstract var parent: Component?
+
+
+
+
+
+
+
+
+abstract var visible: Boolean
+Functions
+
+
+
+
+
+
+
+
+
+
+abstract fun add(child: Component): Container
+
+
+
+
+
+
+
+abstract fun addAll(children: List<Component>): Container
+
+
+
+
+
+
+
+abstract fun getChildren(): List<Component>
+
+
+
+
+
+
+
+abstract fun remove(child: Component): Container
+
+
+
+
+
+
+
+
+abstract fun removeAll(): Container
+Inherited Functions
+
+
+
+
+
+
+
+
+
+
+abstract fun addCssClass(css: String): Component
+
+
+
+
+
+
+
+abstract fun addSurroundingCssClass(css: String): Component
+
+
+
+
+
+
+
+abstract fun getElement(): Node?
+
+
+
+
+
+
+
+abstract fun getElementJQuery(): JQuery?
+
+
+
+
+
+
+
+abstract fun getElementJQueryD(): dynamic
+
+
+
+
+
+
+
+abstract fun removeCssClass(css: String): Component
+
+
+
+
+
+
+
+
+abstract fun removeSurroundingCssClass(css: String): Component
+Inheritors
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-container/remove-all.html b/docs/api/pl.treksoft.kvision.core/-container/remove-all.html
new file mode 100644
index 00000000..84676301
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-container/remove-all.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable
+
+
+
+
+
+
+
+
+open class SimplePanel : Widget, Container
+
+
+removeAll
+
+abstract fun removeAll(): Container
+
+current container
+
+remove
+
+abstract fun remove(child: Component): Container
+Parameters
+
+
+current container
+
+CssSize
+typealias CssSize = Pair<Int, UNIT>
+
+
+ResString
+typealias ResString = String
+
+
+StringBoolPair
+typealias StringBoolPair = Pair<String, Boolean>
+
+
+StringPair
+typealias StringPair = Pair<String, String>
+
+
+<init>
+
+StyledComponent()
+
+
+background
+
+var background: Background?
+
+
+borderBottom
+
+var borderBottom: Border?
+
+
+borderLeft
+
+var borderLeft: Border?
+
+
+borderRight
+
+var borderRight: Border?
+
+
+borderTop
+
+var borderTop: Border?
+
+
+border
+
+var border: Border?
+
+
+colorHex
+
+var colorHex: Int?
+
+
+colorName
+
+var colorName: COLOR?
+
+
+color
+
+var color: Color?
+
+
+getSnStyle
+
+protected open fun getSnStyle(): List<StringPair>
+
+the list of attributes and their values
+
+height
+
+var height: CssSize?
+
+
+StyledComponent
+abstract class StyledComponent : Component
+Constructors
+
+
+
+
+
+
+
+
+
+
+
+StyledComponent()
+Properties
+
+
+
+
+
+
+
+
+
+
+var background: Background?
+
+
+
+
+
+
+
+var border: Border?
+
+
+
+
+
+
+
+var borderBottom: Border?
+
+
+
+
+
+
+
+var borderLeft: Border?
+
+
+
+
+
+
+
+var borderRight: Border?
+
+
+
+
+
+
+
+var borderTop: Border?
+
+
+
+
+
+
+
+var color: Color?
+
+
+
+
+
+
+
+var colorHex: Int?
+
+
+
+
+
+
+
+var colorName: COLOR?
+
+
+
+
+
+
+
+var height: CssSize?
+
+
+
+
+
+
+
+var margin: CssSize?
+
+
+
+
+
+
+
+var marginBottom: CssSize?
+
+
+
+
+
+
+
+var marginLeft: CssSize?
+
+
+
+
+
+
+
+var marginRight: CssSize?
+
+
+
+
+
+
+
+var marginTop: CssSize?
+
+
+
+
+
+
+
+var maxHeight: CssSize?
+
+
+
+
+
+
+
+var maxWidth: CssSize?
+
+
+
+
+
+
+
+var minHeight: CssSize?
+
+
+
+
+
+
+
+var minWidth: CssSize?
+
+
+
+
+
+
+
+var opacity: Double?
+
+
+
+
+
+
+
+var padding: CssSize?
+
+
+
+
+
+
+
+var paddingBottom: CssSize?
+
+
+
+
+
+
+
+var paddingLeft: CssSize?
+
+
+
+
+
+
+
+var paddingRight: CssSize?
+
+
+
+
+
+
+
+var paddingTop: CssSize?
+
+
+
+
+
+
+
+
+open var width: CssSize?
+Inherited Properties
+
+
+
+
+
+
+
+
+
+
+abstract var parent: Component?
+
+
+
+
+
+
+
+
+abstract var visible: Boolean
+Functions
+
+
+
+
+
+
+
+
+
+
+
+open fun getSnStyle(): List<StringPair>
+Inherited Functions
+
+
+
+
+
+
+
+
+
+
+abstract fun addCssClass(css: String): Component
+
+
+
+
+
+
+
+abstract fun addSurroundingCssClass(css: String): Component
+
+
+
+
+
+
+
+abstract fun getElement(): Node?
+
+
+
+
+
+
+
+abstract fun getElementJQuery(): JQuery?
+
+
+
+
+
+
+
+abstract fun getElementJQueryD(): dynamic
+
+
+
+
+
+
+
+abstract fun removeCssClass(css: String): Component
+
+
+
+
+
+
+
+
+abstract fun removeSurroundingCssClass(css: String): Component
+Inheritors
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-styled-component/margin-bottom.html b/docs/api/pl.treksoft.kvision.core/-styled-component/margin-bottom.html
new file mode 100644
index 00000000..d164cca3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-styled-component/margin-bottom.html
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+open class Widget : StyledComponent
+
+
+marginBottom
+
+var marginBottom: CssSize?
+
+
+marginLeft
+
+var marginLeft: CssSize?
+
+
+marginRight
+
+var marginRight: CssSize?
+
+
+marginTop
+
+var marginTop: CssSize?
+
+
+margin
+
+var margin: CssSize?
+
+
+maxHeight
+
+var maxHeight: CssSize?
+
+
+maxWidth
+
+var maxWidth: CssSize?
+
+
+minHeight
+
+var minHeight: CssSize?
+
+
+minWidth
+
+var minWidth: CssSize?
+
+
+opacity
+
+var opacity: Double?
+
+
+paddingBottom
+
+var paddingBottom: CssSize?
+
+
+paddingLeft
+
+var paddingLeft: CssSize?
+
+
+paddingRight
+
+var paddingRight: CssSize?
+
+
+paddingTop
+
+var paddingTop: CssSize?
+
+
+padding
+
+var padding: CssSize?
+
+
+width
+
+open var width: CssSize?
+
+
+auto
+
+auto
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/ch.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/ch.html
new file mode 100644
index 00000000..331bfb57
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/ch.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ch
+
+ch
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/cm.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/cm.html
new file mode 100644
index 00000000..6b79ee05
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/cm.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+cm
+
+cm
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/em.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/em.html
new file mode 100644
index 00000000..b24cd75b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/em.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+em
+
+em
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/in.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/in.html
new file mode 100644
index 00000000..f2b12e40
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/in.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+in
+
+in
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/index.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/index.html
new file mode 100644
index 00000000..d91193d9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/index.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+UNIT
+enum class UNIT
+Enum Values
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/mm.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/mm.html
new file mode 100644
index 00000000..9b83c2d1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/mm.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mm
+
+mm
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/pc.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/pc.html
new file mode 100644
index 00000000..fc484b06
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/pc.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+pc
+
+pc
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/perc.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/perc.html
new file mode 100644
index 00000000..15b4c1e5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/perc.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+perc
+
+perc
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/pt.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/pt.html
new file mode 100644
index 00000000..7b2cff98
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/pt.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+pt
+
+pt
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/px.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/px.html
new file mode 100644
index 00000000..efc7c25e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/px.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+px
+
+px
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/rem.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/rem.html
new file mode 100644
index 00000000..5c72d2f2
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/rem.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+rem
+
+rem
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vh.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vh.html
new file mode 100644
index 00000000..d0d2de28
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vh.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+vh
+
+vh
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vmax.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vmax.html
new file mode 100644
index 00000000..9bf98a11
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vmax.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+vmax
+
+vmax
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vmin.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vmin.html
new file mode 100644
index 00000000..0c189245
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vmin.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+vmin
+
+vmin
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vw.html b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vw.html
new file mode 100644
index 00000000..aff89d33
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-u-n-i-t/vw.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+vw
+
+vw
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-widget-wrapper/-init-.html b/docs/api/pl.treksoft.kvision.core/-widget-wrapper/-init-.html
new file mode 100644
index 00000000..191683d7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-widget-wrapper/-init-.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+<init>
+
+WidgetWrapper(wrapped: Component?, classes: Set<String> = setOf())
+Parameters
+
+classes
- Set of CSS class names
+
+
+WidgetWrapper
+open class WidgetWrapper : Widget
+Constructors
+
+
+
+
+
+
+
+
+
+
+
+WidgetWrapper(wrapped: Component?, classes: Set<String> = setOf())
Properties
+
+
+
+
+
+
+
+
+
+
+
+open var visible: Boolean
+Inherited Properties
+
+
+
+
+
+
+
+
+
+
+var id: String?
+
+
+
+
+
+
+
+open var parent: Component?
+
+
+
+
+
+
+
+var role: String?
+
+
+
+
+
+
+
+
+var title: String?
+Functions
+
+
+
+
+
+
+
+
+
+
+
+open fun render(): VNode
+Inherited Functions
+
+
+
+
+
+
+
+
+
+
+open fun addCssClass(css: String): Widget
+
+
+
+
+
+
+
+open fun addSurroundingCssClass(css: String): Widget
+
+
+
+
+
+
+
+open fun afterCreate(node: VNode): Unit
+
+
+
+
+
+
+
+open fun afterDestroy(): Unit
+
+
+
+
+
+
+
+open fun afterInsert(node: VNode): Unit
+
+
+
+
+
+
+
+open fun afterPostpatch(node: VNode): Unit
+
+
+
+
+
+
+
+open fun getElement(): Node?
+
+
+
+
+
+
+
+open fun getElementJQuery(): JQuery?
+
+
+
+
+
+
+
+open fun getElementJQueryD(): dynamic
+
+
+
+
+
+
+
+open fun getSnAttrs(): List<StringPair>
+
+
+
+
+
+
+
+open fun getSnClass(): List<StringBoolPair>
+
+
+
+
+
+
+
+open fun getSnHooks(): Hooks?
+
+
+
+
+
+
+
+open fun getSnOn(): On?
+
+
+
+
+
+
+
+open fun hide(): Widget
+
+
+
+
+
+
+
+open fun removeCssClass(css: String): Widget
+
+
+
+
+
+
+
+open fun removeEventListeners(): Widget
+
+
+
+
+
+
+
+open fun removeSurroundingCssClass(css: String): Widget
+
+
+
+
+
+
+
+open fun render(elementName: String): VNode
+open fun render(elementName: String, children: Array<dynamic>): VNode
+
+
+
+
+
+
+
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+
+
+
+
+
+
+
+open fun show(): Widget
+
+
+
+
+
+
+
+
+open fun toggleVisible(): Widget
+Inheritors
+
+
+
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-widget-wrapper/render.html b/docs/api/pl.treksoft.kvision.core/-widget-wrapper/render.html
new file mode 100644
index 00000000..311aec9c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-widget-wrapper/render.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+class GridWrapper : WidgetWrapper
+
+render
+
+protected open fun render(): VNode
+
+Snabbdom vnode
+
+visible
+
+open var visible: Boolean
+
+
Setter
+
Visibility state of the current component.
+ + + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/-init-.html b/docs/api/pl.treksoft.kvision.core/-widget/-init-.html new file mode 100644 index 00000000..3d40fa05 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/-init-.html @@ -0,0 +1,20 @@ + + + +Widget(classes: Set<String> = setOf())
+Creates basic Widget with given CSS class names.
+
+classes
- Set of CSS class names
Constructor
+Creates basic Widget with given CSS class names.
open fun addCssClass(css: String): Widget
+Overrides Component.addCssClass
+Adds given value to the set of CSS classes generated in html code of current component.
+Return
+current component
open fun addSurroundingCssClass(css: String): Widget
+Overrides Component.addSurroundingCssClass
+Adds given value to the set of CSS classes generated in html code of parent component.
+Return
+current component
protected open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/after-destroy.html b/docs/api/pl.treksoft.kvision.core/-widget/after-destroy.html new file mode 100644 index 00000000..cfdc5f09 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/after-destroy.html @@ -0,0 +1,15 @@ + + + +protected open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/after-insert.html b/docs/api/pl.treksoft.kvision.core/-widget/after-insert.html new file mode 100644 index 00000000..04ed6c72 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/after-insert.html @@ -0,0 +1,15 @@ + + + +protected open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/after-postpatch.html b/docs/api/pl.treksoft.kvision.core/-widget/after-postpatch.html new file mode 100644 index 00000000..48e0fe23 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/after-postpatch.html @@ -0,0 +1,15 @@ + + + +protected open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query-d.html b/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query-d.html new file mode 100644 index 00000000..18f83cee --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query-d.html @@ -0,0 +1,18 @@ + + + +open fun getElementJQueryD(): dynamic
+Overrides Component.getElementJQueryD
+Returns JQuery element bound to the current component as a dynamic type.
+Return
+JQuery element as a dynamic type
open fun getElementJQuery(): JQuery?
+Overrides Component.getElementJQuery
+Returns JQuery element bound to the current component.
+Return
+JQuery element
open fun getElement(): Node?
+Overrides Component.getElement
+Returns DOM element bound to the current component.
+Return
+DOM element
protected open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
protected open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object.
+Return
+list of hooks
protected open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object.
+Return
+list of event handlers
open fun hide(): Widget
+Makes current widget invisible.
+Return
+current widget
var id: String?
+An ID attribute of generated HTML element.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/index.html b/docs/api/pl.treksoft.kvision.core/-widget/index.html new file mode 100644 index 00000000..7fc8cf3d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/index.html @@ -0,0 +1,634 @@ + + + +open class Widget : StyledComponent
+Base widget class. The parent of all component classes.
+A simple widget is rendered as HTML DIV element.
++ + | +
+Widget(classes: Set<String> = setOf())
+Creates basic Widget with given CSS class names. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+var background: Background?
+Background of the current component. + |
+
+ + | +
+var border: Border?
+Border of the current component. + |
+
+ + | +
+var borderBottom: Border?
+Bottom border of the current component. + |
+
+ + | +
+var borderLeft: Border?
+Left border of the current component. + |
+
+ + | +
+var borderRight: Border?
+Right border of the current component. + |
+
+ + | +
+var borderTop: Border?
+Top border of the current component. + |
+
+ + | +
+var color: Color?
+Text color for the current component. + |
+
+ + | +
+var colorHex: Int?
+Text color for the current component given in hex format (write only). + |
+
+ + | +
+var colorName: COLOR?
+Text color for the current component given with named constant (write only). + |
+
+ + | +
+var height: CssSize?
+Height of the current component. + |
+
+ + | +
+var margin: CssSize?
+Margin of the current component. + |
+
+ + | +
+var marginBottom: CssSize?
+Bottom margin of the current component. + |
+
+ + | +
+var marginLeft: CssSize?
+Left margin of the current component. + |
+
+ + | +
+var marginRight: CssSize?
+Right margin of the current component. + |
+
+ + | +
+var marginTop: CssSize?
+Top margin of the current component. + |
+
+ + | +
+var maxHeight: CssSize?
+Maximal height of the current component. + |
+
+ + | +
+var maxWidth: CssSize?
+Maximal width of the current component. + |
+
+ + | +
+var minHeight: CssSize?
+Minimal height of the current component. + |
+
+ + | +
+var minWidth: CssSize?
+Minimal width of the current component. + |
+
+ + | +
+var opacity: Double?
+Opacity of the current component. + |
+
+ + | +
+var padding: CssSize?
+Padding of the current component. + |
+
+ + | +
+var paddingBottom: CssSize?
+Bottom padding of the current component. + |
+
+ + | +
+var paddingLeft: CssSize?
+Left padding of the current component. + |
+
+ + | +
+var paddingRight: CssSize?
+Right padding of the current component. + |
+
+ + | +
+var paddingTop: CssSize?
+Top padding of the current component. + |
+
+ + | +
+open var width: CssSize?
+Width of the current component. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(): VNode + open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
+ + | +
+open fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values. + |
+
+ + | +
+abstract class AbstractTextInput : Widget
+Base class for basic text components. + |
+
+ + | +
+open class Button : Widget
+Button component. + |
+
+ + | +
+open class CheckInput : Widget
+The basic input component rendered as HTML input type="checkbox" or input type="radio". + |
+
+ + | +
+open class CloseIcon : Widget
+Helper class for close icon component. + |
+
+ + | +
+class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable
+A container class with support for observable data model. + |
+
+ + | +
+open class DateTimeInput : Widget
+Basic date/time chooser component. + |
+
+ + | +
+open class Image : Widget
+Image component. + |
+
+ + | +
+open class SelectOption : Widget
+The helper component for adding options to Select or SelectOptGroup. + |
+
+ + | +
+open class SimplePanel : Widget, Container
+Basic container class, rendered as a DIV element with all children directly within. + |
+
+ + | +
+open class SpinnerInput : Widget
+The basic component for spinner control. + |
+
+ + | +
+open class WidgetWrapper : Widget
+This class allows to wrap a component into separately styled DIV element. + |
+
open var parent: Component?
+Overrides Component.parent
+Parent of the current component.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/remove-css-class.html b/docs/api/pl.treksoft.kvision.core/-widget/remove-css-class.html new file mode 100644 index 00000000..9db6b40b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/remove-css-class.html @@ -0,0 +1,21 @@ + + + +open fun removeCssClass(css: String): Widget
+Overrides Component.removeCssClass
+Removes given value from the set of CSS classes generated in html code of current component.
+Return
+current component
open fun removeEventListeners(): Widget
+Removes all event listeners from current widget.
+Return
+current widget
open fun removeSurroundingCssClass(css: String): Widget
+Overrides Component.removeSurroundingCssClass
+Removes given value from the set of CSS classes generated in html code of parent component.
+Return
+current component
protected open fun render(): VNode
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
protected open fun render(elementName: String): VNode
+Renders current component as a Snabbdom vnode.
+
+elementName
- HTML element name
Return
+Snabbdom vnode
protected open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode.
+
+elementName
- HTML element name
+children
- array of children nodes
Return
+Snabbdom vnode
var role: String?
+A role attribute of generated HTML element.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/set-event-listener.html b/docs/api/pl.treksoft.kvision.core/-widget/set-event-listener.html new file mode 100644 index 00000000..d87e5cec --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/set-event-listener.html @@ -0,0 +1,52 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/docs/api/pl.treksoft.kvision.core/-widget/show.html b/docs/api/pl.treksoft.kvision.core/-widget/show.html
new file mode 100644
index 00000000..05e0f752
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.core/-widget/show.html
@@ -0,0 +1,17 @@
+
+
+
+open fun show(): Widget
+Makes current widget visible.
+Return
+current widget
var title: String?
+A title attribute of generated HTML element.
+ + diff --git a/docs/api/pl.treksoft.kvision.core/-widget/toggle-visible.html b/docs/api/pl.treksoft.kvision.core/-widget/toggle-visible.html new file mode 100644 index 00000000..8e7aa167 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/toggle-visible.html @@ -0,0 +1,17 @@ + + + +open fun toggleVisible(): Widget
+Toggles visibility of current widget.
+Return
+current widget
open var visible: Boolean
+Overrides Component.visible
+Visibility state of the current component.
+Setter
+
Visibility state of the current component.
+ + + diff --git a/docs/api/pl.treksoft.kvision.core/index.html b/docs/api/pl.treksoft.kvision.core/index.html new file mode 100644 index 00000000..c8352624 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/index.html @@ -0,0 +1,204 @@ + + + +KVision core classes. This includes base interfaces for all components, basic CSS enums (for colors, borders +and backgrounds) and the main Widget class.
++ + | +
+enum class BGATTACH
+Definitions of CSS background attachment options. + |
+
+ + | +
+enum class BGCLIP
+Definitions of CSS background clipping options. + |
+
+ + | +
+enum class BGORIGIN
+Definitions of CSS background origin options. + |
+
+ + | +
+enum class BGREPEAT
+Definitions of CSS background repeat options. + |
+
+ + | +
+enum class BGSIZE
+Definitions of CSS background size. + |
+
+ + | +
+enum class BORDERSTYLE
+Definitions of CSS border styles. + |
+
+ + | +
+class Background
+Type-safe definition of CSS background. + |
+
+ + | +
+class Border
+Type-safe definition of CSS border. + |
+
+ + | +
+enum class COLOR
+Definitions of CSS color names. + |
+
+ + | +
+class Color
+Type-safe definition of CSS color. + |
+
+ + | +
+interface Component
+Base interface for all components. + |
+
+ + | +
+interface Container : Component
+Base interface for all containers. + |
+
+ + | +
+abstract class StyledComponent : Component
+Base class for components supporting CSS styling. + |
+
+ + | +
+enum class UNIT
+Definitions of CSS units. + |
+
+ + | +
+open class Widget : StyledComponent
+Base widget class. The parent of all component classes. + |
+
+ + | +
+open class WidgetWrapper : Widget
+This class allows to wrap a component into separately styled DIV element. + |
+
+ + | +
+typealias CssSize = Pair<Int, UNIT>
+This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.). + |
+
+ + | +
+typealias ResString = String
+This type is used for accessing resources with CommonJS require function. + |
+
+ + | +
+typealias StringBoolPair = Pair<String, Boolean>
+Helper type used to define CSS classes. + |
+
+ + | +
+typealias StringPair = Pair<String, String>
+Helper type used to define CSS style attributes. + |
+
BaseDataComponent()
+Base abstract class for creating observable data model.
+ + diff --git a/docs/api/pl.treksoft.kvision.data/-base-data-component/index.html b/docs/api/pl.treksoft.kvision.data/-base-data-component/index.html new file mode 100644 index 00000000..f7725300 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.data/-base-data-component/index.html @@ -0,0 +1,28 @@ + + + +abstract class BaseDataComponent : DataComponent
+Base abstract class for creating observable data model.
++ + | +
+BaseDataComponent()
+Base abstract class for creating observable data model. + |
+
interface DataComponent
+Base interface for observable data model.
++ + | +
+abstract class BaseDataComponent : DataComponent
+Base abstract class for creating observable data model. + |
+
DataContainer(model: ObservableList<M>, binding: (Int) -> C, child: Container = VPanel())
+Creates DataContainer bound to given data model.
+
+model
- data model of type ObservableList
+binding
- a function which creates component C from data model at given index
+child
- internal container (defaults to VPanel)
Constructor
+Creates DataContainer bound to given data model.
fun addAll(children: List<Component>): Container
+Overrides Container.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
fun add(child: Component): Container
+Overrides Container.add
+Adds given component to the current container.
+Return
+current container
fun clearOnUpdate(): DataContainer<M, C>
+Clears notification handler.
+Return
+current container
fun getChildren(): List<Component>
+Overrides Container.getChildren
+Returns a list of children of the current container.
+Return
+list of children
class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable
+A container class with support for observable data model.
++ + | +
+DataContainer(model: ObservableList<M>, binding: (Int) -> C, child: Container = VPanel())
+Creates DataContainer bound to given data model. + |
+
+ + | +
+var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+fun add(child: Component): Container
+Adds given component to the current container. + |
+
+ + | +
+fun addAll(children: List<Component>): Container
+Adds a list of components to the current container. + |
+
+ + | +
+fun clearOnUpdate(): DataContainer<M, C>
+Clears notification handler. + |
+
+ + | +
+fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+fun onUpdate(handler: () -> Unit): DataContainer<M, C>
+Sets a notification handler called after every update. + |
+
+ + | +
+fun remove(child: Component): Container
+Removes given component from the current container. + |
+
+ + | +
+fun removeAll(): Container
+Removes all children from the current container. + |
+
+ + | +
+fun update(): Unit
+Updates view from the current data model state. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(): VNode + open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
fun onUpdate(handler: () -> Unit): DataContainer<M, C>
+Sets a notification handler called after every update.
+
+handler
- notification handler
Return
+current container
fun removeAll(): Container
+Overrides Container.removeAll
+Removes all children from the current container.
+Return
+current container
fun remove(child: Component): Container
+Overrides Container.remove
+Removes given component from the current container.
+Return
+current container
fun update(): Unit
+Overrides DataUpdatable.update
+Updates view from the current data model state.
+ + diff --git a/docs/api/pl.treksoft.kvision.data/-data-container/visible.html b/docs/api/pl.treksoft.kvision.data/-data-container/visible.html new file mode 100644 index 00000000..420b7add --- /dev/null +++ b/docs/api/pl.treksoft.kvision.data/-data-container/visible.html @@ -0,0 +1,23 @@ + + + +var visible: Boolean
+Overrides Widget.visible
+Overrides Component.visible
+Visibility state of the current component.
+Getter
+
Visibility state of the current component.
+ +Setter
+
Visibility state of the current component.
+ + + diff --git a/docs/api/pl.treksoft.kvision.data/-data-updatable/index.html b/docs/api/pl.treksoft.kvision.data/-data-updatable/index.html new file mode 100644 index 00000000..98f45f1b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.data/-data-updatable/index.html @@ -0,0 +1,40 @@ + + + +interface DataUpdatable
+Interface for updatable container.
++ + | +
+abstract fun update(): Unit |
+
+ + | +
+class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable
+A container class with support for observable data model. + |
+
abstract fun update(): Unit
+
+
diff --git a/docs/api/pl.treksoft.kvision.data/index.html b/docs/api/pl.treksoft.kvision.data/index.html
new file mode 100644
index 00000000..6fc51941
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.data/index.html
@@ -0,0 +1,54 @@
+
+
+
+Base component and container class with data binding support for observable data model.
++ + | +
+abstract class BaseDataComponent : DataComponent
+Base abstract class for creating observable data model. + |
+
+ + | +
+interface DataComponent
+Base interface for observable data model. + |
+
+ + | +
+class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable
+A container class with support for observable data model. + |
+
+ + | +
+interface DataUpdatable
+Interface for updatable container. + |
+
DISABLED
++ + | +
+val option: String |
+
HEADER
++ + | +
+val option: String |
+
SEPARATOR
++ + | +
+val option: String |
+
enum class DD
+Useful options for use in DropDown's elements parameter.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | +
+val option: String |
+
val option: String
+
+
diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html
new file mode 100644
index 00000000..79743254
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html
@@ -0,0 +1,29 @@
+
+
+
+DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf())
+
+text
- the label of the dropdown button
+elements
- an optional list of link elements (special options from DD enum class can be used as values)
+icon
- the icon of the dropdown button
+style
- the style of the dropdown button
+disabled
- determines if the component is disabled on start
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): SimplePanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun add(child: Component): SimplePanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
protected open fun afterInsert(node: VNode): Unit
+Overrides Widget.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/block.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/block.html new file mode 100644 index 00000000..446d4803 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/block.html @@ -0,0 +1,15 @@ + + + +var block: Boolean
+Determines if the dropdown button takes all the space horizontally.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/disabled.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/disabled.html new file mode 100644 index 00000000..9c25d116 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/disabled.html @@ -0,0 +1,15 @@ + + + +var disabled: Boolean
+Determines if the dropdown is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/dropup.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/dropup.html new file mode 100644 index 00000000..27e68e8d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/dropup.html @@ -0,0 +1,15 @@ + + + +var dropup: Boolean
+Determines if the dropdown is showing upwards.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/get-children.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/get-children.html new file mode 100644 index 00000000..749b4086 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/get-children.html @@ -0,0 +1,18 @@ + + + +open fun getChildren(): List<Component>
+Overrides SimplePanel.getChildren
+Returns a list of children of the current container.
+Return
+list of children
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
var icon: String?
+The icon of the dropdown button.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/image.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/image.html new file mode 100644 index 00000000..56755e67 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/image.html @@ -0,0 +1,15 @@ + + + +var image: ResString?
+The image on the dropdown button.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/index.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/index.html new file mode 100644 index 00000000..141248f0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/index.html @@ -0,0 +1,221 @@ + + + +open class DropDown : SimplePanel
+Bootstrap dropdown component.
++ + | +
+DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) |
+
+ + | +
+var block: Boolean
+Determines if the dropdown button takes all the space horizontally. + |
+
+ + | +
+var disabled: Boolean
+Determines if the dropdown is disabled. + |
+
+ + | +
+var dropup: Boolean
+Determines if the dropdown is showing upwards. + |
+
+ + | +
+var icon: String?
+The icon of the dropdown button. + |
+
+ + | +
+var image: ResString?
+The image on the dropdown button. + |
+
+ + | +
+var size: BUTTONSIZE?
+The size of the dropdown button. + |
+
+ + | +
+var style: BUTTONSTYLE
+The style of the dropdown button. + |
+
+ + | +
+var text: String
+Label of the dropdown button. + |
+
+ + | +
+open var width: CssSize?
+Width of the dropdown button. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun toggle(): Unit
+Toggles dropdown visibility. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
open fun removeAll(): SimplePanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(child: Component): SimplePanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
var size: BUTTONSIZE?
+The size of the dropdown button.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/style.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/style.html new file mode 100644 index 00000000..be4742b8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/style.html @@ -0,0 +1,15 @@ + + + +var style: BUTTONSTYLE
+The style of the dropdown button.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/text.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/text.html new file mode 100644 index 00000000..48000a63 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/text.html @@ -0,0 +1,15 @@ + + + +var text: String
+Label of the dropdown button.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/toggle.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/toggle.html new file mode 100644 index 00000000..3c4ee0be --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/toggle.html @@ -0,0 +1,15 @@ + + + +open fun toggle(): Unit
+Toggles dropdown visibility.
+ + diff --git a/docs/api/pl.treksoft.kvision.dropdown/-drop-down/width.html b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/width.html new file mode 100644 index 00000000..b2a31a78 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/-drop-down/width.html @@ -0,0 +1,19 @@ + + + +open var width: CssSize?
+Overrides StyledComponent.width
+Width of the dropdown button.
+Getter
+
Width of the current component.
+ + + diff --git a/docs/api/pl.treksoft.kvision.dropdown/index.html b/docs/api/pl.treksoft.kvision.dropdown/index.html new file mode 100644 index 00000000..d8a75232 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.dropdown/index.html @@ -0,0 +1,36 @@ + + + +Bootstrap dropdown component.
++ + | +
+enum class DD
+Useful options for use in DropDown's elements parameter. + |
+
+ + | +
+open class DropDown : SimplePanel
+Bootstrap dropdown component. + |
+
DANGER
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-d-e-f-a-u-l-t.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-d-e-f-a-u-l-t.html
new file mode 100644
index 00000000..cbf255d4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-d-e-f-a-u-l-t.html
@@ -0,0 +1,14 @@
+
+
+
+DEFAULT
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-i-n-f-o.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-i-n-f-o.html
new file mode 100644
index 00000000..d56877da
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-i-n-f-o.html
@@ -0,0 +1,14 @@
+
+
+
+INFO
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-p-r-i-m-a-r-y.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-p-r-i-m-a-r-y.html
new file mode 100644
index 00000000..6dd5b237
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-p-r-i-m-a-r-y.html
@@ -0,0 +1,14 @@
+
+
+
+PRIMARY
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-s-u-c-c-e-s-s.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-s-u-c-c-e-s-s.html
new file mode 100644
index 00000000..749e259f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-s-u-c-c-e-s-s.html
@@ -0,0 +1,14 @@
+
+
+
+SUCCESS
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-w-a-r-n-i-n-g.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-w-a-r-n-i-n-g.html
new file mode 100644
index 00000000..9ddab9c5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/-w-a-r-n-i-n-g.html
@@ -0,0 +1,14 @@
+
+
+
+WARNING
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/index.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/index.html
new file mode 100644
index 00000000..4d4727c7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-b-o-x-s-t-y-l-e/index.html
@@ -0,0 +1,61 @@
+
+
+
+enum class CHECKBOXSTYLE
+Checkbox style options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
CHECKBOX
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-i-n-p-u-t-t-y-p-e/-r-a-d-i-o.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-i-n-p-u-t-t-y-p-e/-r-a-d-i-o.html
new file mode 100644
index 00000000..9d6c9a14
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-i-n-p-u-t-t-y-p-e/-r-a-d-i-o.html
@@ -0,0 +1,14 @@
+
+
+
+RADIO
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-i-n-p-u-t-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-i-n-p-u-t-t-y-p-e/index.html
new file mode 100644
index 00000000..54ecf592
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-c-h-e-c-k-i-n-p-u-t-t-y-p-e/index.html
@@ -0,0 +1,33 @@
+
+
+
+enum class CHECKINPUTTYPE
+Type of the check input control (checkbox or radio).
++ + | ++ | +
+ + | ++ | +
CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false)
+
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
var circled: Boolean
+Determines if the checkbox is rendered as a circle.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/disabled.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/disabled.html new file mode 100644 index 00000000..03764814 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/disabled.html @@ -0,0 +1,22 @@ + + + +open var disabled: Boolean
+Overrides FormControl.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/flabel.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/flabel.html new file mode 100644 index 00000000..75f0444f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/get-sn-class.html new file mode 100644 index 00000000..096322d7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class CheckBox : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="checkbox".
++ + | +
+CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false) |
+
+ + | +
+var circled: Boolean
+Determines if the checkbox is rendered as a circle. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var inline: Boolean
+Determines if the checkbox is rendered inline. + |
+
+ + | +
+val input: CheckInput
+The actual input component. + |
+
+ + | +
+var label: String?
+The label text bound to the input element. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var startValue: Boolean
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var style: CHECKBOXSTYLE?
+The style (one of Bootstrap standard colors) of the input. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: Boolean
+The selection state of the checkbox. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
+A convenient helper for easy setting onClick event handler. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getValue(): Boolean
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
var inline: Boolean
+Determines if the checkbox is rendered inline.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/input.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/input.html new file mode 100644 index 00000000..95850692 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/input.html @@ -0,0 +1,16 @@ + + + +val input: CheckInput
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/label.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/label.html new file mode 100644 index 00000000..7cda3b63 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text bound to the input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/name.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/name.html new file mode 100644 index 00000000..6002ecca --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/on-click.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/on-click.html new file mode 100644 index 00000000..21a05b0a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/on-click.html @@ -0,0 +1,15 @@ + + + +open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
+A convenient helper for easy setting onClick event handler.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listeners.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listeners.html new file mode 100644 index 00000000..de175e54 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +open fun removeEventListeners(): Widget
+Overrides Widget.removeEventListeners
+Removes all event listeners from current widget.
+Return
+current widget
var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html new file mode 100644 index 00000000..a47d91c9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html @@ -0,0 +1,54 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/size.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/size.html
new file mode 100644
index 00000000..a7f9da27
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/size.html
@@ -0,0 +1,22 @@
+
+
+
+open var size: INPUTSIZE?
+Overrides FormControl.size
+The size of the input.
+Getter
+
Input control size.
+ +Setter
+
Input control size.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/start-value.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/start-value.html new file mode 100644 index 00000000..8b375beb --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/start-value.html @@ -0,0 +1,17 @@ + + + +var startValue: Boolean
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the input selection state.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/style.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/style.html new file mode 100644 index 00000000..821e7836 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/style.html @@ -0,0 +1,15 @@ + + + +var style: CHECKBOXSTYLE?
+The style (one of Bootstrap standard colors) of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html new file mode 100644 index 00000000..881e33ea --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-box/value.html b/docs/api/pl.treksoft.kvision.form.check/-check-box/value.html new file mode 100644 index 00000000..3c9e3db3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-box/value.html @@ -0,0 +1,22 @@ + + + +open var value: Boolean
+Overrides BoolFormControl.value
+The selection state of the checkbox.
+Getter
+
Boolean value.
+ +Setter
+
Boolean value.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/-init-.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/-init-.html new file mode 100644 index 00000000..bc452be0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/-init-.html @@ -0,0 +1,23 @@ + + + +CheckInput(type: CHECKINPUTTYPE = CHECKINPUTTYPE.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf())
+
+type
- type of the input control
+classes
- a set of CSS class names
Constructor
+
protected open fun afterInsert(node: VNode): Unit
+Overrides Widget.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/after-postpatch.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/after-postpatch.html new file mode 100644 index 00000000..e5033ca8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/after-postpatch.html @@ -0,0 +1,16 @@ + + + +protected open fun afterPostpatch(node: VNode): Unit
+Overrides Widget.afterPostpatch
+Method called after updating Snabbdom vnode.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/disabled.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/disabled.html new file mode 100644 index 00000000..9a839220 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/disabled.html @@ -0,0 +1,15 @@ + + + +var disabled: Boolean
+Determines if the field is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/extra-value.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/extra-value.html new file mode 100644 index 00000000..d1c95624 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/extra-value.html @@ -0,0 +1,15 @@ + + + +var extraValue: String?
+The additional String value used for the radio button group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/get-sn-attrs.html new file mode 100644 index 00000000..01b63bf4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class CheckInput : Widget
+The basic input component rendered as HTML input type="checkbox" or input type="radio".
++ + | +
+CheckInput(type: CHECKINPUTTYPE = CHECKINPUTTYPE.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf()) |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var extraValue: String?
+The additional String value used for the radio button group. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var startValue: Boolean
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var type: CHECKINPUTTYPE
+The type of the generated HTML input element. + |
+
+ + | +
+var value: Boolean
+The selection state of the input. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput
+A convenient helper for easy setting onClick event handler. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/on-click.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/on-click.html new file mode 100644 index 00000000..66f9330a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/on-click.html @@ -0,0 +1,15 @@ + + + +open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput
+A convenient helper for easy setting onClick event handler.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/render.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/render.html new file mode 100644 index 00000000..f5a8b24f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var size: INPUTSIZE?
+The size of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/start-value.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/start-value.html new file mode 100644 index 00000000..9789c839 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/start-value.html @@ -0,0 +1,17 @@ + + + +var startValue: Boolean
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the input selection state.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/type.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/type.html new file mode 100644 index 00000000..cad626e5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/type.html @@ -0,0 +1,15 @@ + + + +var type: CHECKINPUTTYPE
+The type of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/value.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/value.html new file mode 100644 index 00000000..75d9a706 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/value.html @@ -0,0 +1,15 @@ + + + +var value: Boolean
+The selection state of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-d-a-n-g-e-r.html b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-d-a-n-g-e-r.html new file mode 100644 index 00000000..f70d7240 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-d-a-n-g-e-r.html @@ -0,0 +1,14 @@ + + + +DANGER
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-d-e-f-a-u-l-t.html b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-d-e-f-a-u-l-t.html
new file mode 100644
index 00000000..e68a8c13
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-d-e-f-a-u-l-t.html
@@ -0,0 +1,14 @@
+
+
+
+DEFAULT
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-i-n-f-o.html b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-i-n-f-o.html
new file mode 100644
index 00000000..6293d5cd
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-i-n-f-o.html
@@ -0,0 +1,14 @@
+
+
+
+INFO
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-p-r-i-m-a-r-y.html b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-p-r-i-m-a-r-y.html
new file mode 100644
index 00000000..5e76bc98
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-p-r-i-m-a-r-y.html
@@ -0,0 +1,14 @@
+
+
+
+PRIMARY
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-s-u-c-c-e-s-s.html b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-s-u-c-c-e-s-s.html
new file mode 100644
index 00000000..56649100
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-s-u-c-c-e-s-s.html
@@ -0,0 +1,14 @@
+
+
+
+SUCCESS
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-w-a-r-n-i-n-g.html b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-w-a-r-n-i-n-g.html
new file mode 100644
index 00000000..0359e53c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/-w-a-r-n-i-n-g.html
@@ -0,0 +1,14 @@
+
+
+
+WARNING
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/index.html b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/index.html
new file mode 100644
index 00000000..3a578ab9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-r-a-d-i-o-s-t-y-l-e/index.html
@@ -0,0 +1,61 @@
+
+
+
+enum class RADIOSTYLE
+Radio style options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
+
+options
- an optional list of options (label to value pairs) for the group
+inline
- determines if the options are rendered inline
+label
- label text of the options group
+rich
- determines if label can contain HTML code
Constructor
+
open var disabled: Boolean
+Overrides FormControl.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html new file mode 100644 index 00000000..de73bfaa --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html new file mode 100644 index 00000000..45f2e97a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class RadioGroup : SimplePanel, StringFormControl
+The form field component rendered as a group of HTML input type="radio" elements with the same name attribute.
+The radio group can be populated directly from options parameter or manually by adding +Radio components to the container.
++ + | +
+RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false) |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var inline: Boolean
+Determines if the options are rendered inline. + |
+
+ + | +
+val input: Widget
+The actual input component. + |
+
+ + | +
+var label: String?
+The label text of the options group. + |
+
+ + | +
+var options: List<StringPair>?
+A list of options (label to value pairs) for the group. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: String?
+A value of the selected option. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getValue(): String?
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
var inline: Boolean
+Determines if the options are rendered inline.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/input.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/input.html new file mode 100644 index 00000000..f5842e92 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/input.html @@ -0,0 +1,16 @@ + + + +val input: Widget
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/label.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/label.html new file mode 100644 index 00000000..c8409200 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text of the options group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/options.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/options.html new file mode 100644 index 00000000..3f571c5f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/options.html @@ -0,0 +1,15 @@ + + + +var options: List<StringPair>?
+A list of options (label to value pairs) for the group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/rich.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/rich.html new file mode 100644 index 00000000..1863196c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/rich.html @@ -0,0 +1,15 @@ + + + +var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/size.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/size.html new file mode 100644 index 00000000..3706102c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/size.html @@ -0,0 +1,16 @@ + + + +open var size: INPUTSIZE?
+Overrides FormControl.size
+Input control size.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html new file mode 100644 index 00000000..40d3409b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/value.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/value.html new file mode 100644 index 00000000..4d0cd393 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/value.html @@ -0,0 +1,19 @@ + + + +open var value: String?
+Overrides StringFormControl.value
+A value of the selected option.
+Setter
+
Text value.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/-init-.html b/docs/api/pl.treksoft.kvision.form.check/-radio/-init-.html new file mode 100644 index 00000000..1294864f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/-init-.html @@ -0,0 +1,27 @@ + + + +Radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
+
+extraValue
- the additional String value used for the radio button group
+name
- the name attribute of the generated HTML input element
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
open var disabled: Boolean
+Overrides FormControl.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/extra-value.html b/docs/api/pl.treksoft.kvision.form.check/-radio/extra-value.html new file mode 100644 index 00000000..65bfd84c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/extra-value.html @@ -0,0 +1,15 @@ + + + +var extraValue: String?
+The additional String value used for the radio button group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/flabel.html b/docs/api/pl.treksoft.kvision.form.check/-radio/flabel.html new file mode 100644 index 00000000..538181c7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.check/-radio/get-sn-class.html new file mode 100644 index 00000000..4e585f76 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class Radio : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="radio".
++ + | +
+Radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false) |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var extraValue: String?
+The additional String value used for the radio button group. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var inline: Boolean
+Determines if the radio button is rendered inline. + |
+
+ + | +
+val input: CheckInput
+The actual input component. + |
+
+ + | +
+var label: String?
+The label text bound to the input element. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var squared: Boolean
+Determines if the radio button is rendered as a square. + |
+
+ + | +
+var startValue: Boolean
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var style: RADIOSTYLE?
+The style (one of Bootstrap standard colors) of the input. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: Boolean
+The selection state of the radio button. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio
+A convenient helper for easy setting onClick event handler. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getValue(): Boolean
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
var inline: Boolean
+Determines if the radio button is rendered inline.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/input.html b/docs/api/pl.treksoft.kvision.form.check/-radio/input.html new file mode 100644 index 00000000..d7c2a1d9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/input.html @@ -0,0 +1,16 @@ + + + +val input: CheckInput
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/label.html b/docs/api/pl.treksoft.kvision.form.check/-radio/label.html new file mode 100644 index 00000000..b80dd44f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text bound to the input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/name.html b/docs/api/pl.treksoft.kvision.form.check/-radio/name.html new file mode 100644 index 00000000..06afc43d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/on-click.html b/docs/api/pl.treksoft.kvision.form.check/-radio/on-click.html new file mode 100644 index 00000000..7ea9c764 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/on-click.html @@ -0,0 +1,15 @@ + + + +open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio
+A convenient helper for easy setting onClick event handler.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/remove-event-listeners.html b/docs/api/pl.treksoft.kvision.form.check/-radio/remove-event-listeners.html new file mode 100644 index 00000000..793b6635 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +open fun removeEventListeners(): Widget
+Overrides Widget.removeEventListeners
+Removes all event listeners from current widget.
+Return
+current widget
var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html new file mode 100644 index 00000000..db72a974 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html @@ -0,0 +1,54 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/size.html b/docs/api/pl.treksoft.kvision.form.check/-radio/size.html
new file mode 100644
index 00000000..173c0b83
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.check/-radio/size.html
@@ -0,0 +1,22 @@
+
+
+
+open var size: INPUTSIZE?
+Overrides FormControl.size
+The size of the input.
+Getter
+
Input control size.
+ +Setter
+
Input control size.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/squared.html b/docs/api/pl.treksoft.kvision.form.check/-radio/squared.html new file mode 100644 index 00000000..dcdcc379 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/squared.html @@ -0,0 +1,15 @@ + + + +var squared: Boolean
+Determines if the radio button is rendered as a square.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/start-value.html b/docs/api/pl.treksoft.kvision.form.check/-radio/start-value.html new file mode 100644 index 00000000..d9e8e9a6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/start-value.html @@ -0,0 +1,17 @@ + + + +var startValue: Boolean
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the input selection state.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/style.html b/docs/api/pl.treksoft.kvision.form.check/-radio/style.html new file mode 100644 index 00000000..309ff5de --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/style.html @@ -0,0 +1,15 @@ + + + +var style: RADIOSTYLE?
+The style (one of Bootstrap standard colors) of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/validation-info.html b/docs/api/pl.treksoft.kvision.form.check/-radio/validation-info.html new file mode 100644 index 00000000..6464d415 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio/value.html b/docs/api/pl.treksoft.kvision.form.check/-radio/value.html new file mode 100644 index 00000000..b29124c1 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio/value.html @@ -0,0 +1,22 @@ + + + +open var value: Boolean
+Overrides BoolFormControl.value
+The selection state of the radio button.
+Getter
+
Boolean value.
+ +Setter
+
Boolean value.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/index.html b/docs/api/pl.treksoft.kvision.form.check/index.html new file mode 100644 index 00000000..6f670681 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/index.html @@ -0,0 +1,81 @@ + + + +Checkbox, radiobutton and radiobutton group components.
++ + | +
+enum class CHECKBOXSTYLE
+Checkbox style options. + |
+
+ + | +
+enum class CHECKINPUTTYPE
+Type of the check input control (checkbox or radio). + |
+
+ + | +
+open class CheckBox : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="checkbox". + |
+
+ + | +
+open class CheckInput : Widget
+The basic input component rendered as HTML input type="checkbox" or input type="radio". + |
+
+ + | +
+enum class RADIOSTYLE
+Radio style options. + |
+
+ + | +
+open class Radio : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="radio". + |
+
+ + | +
+open class RadioGroup : SimplePanel, StringFormControl
+The form field component rendered as a group of HTML input type="radio" elements with the same name attribute. + |
+
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)
+
+preprocessData
- AjaxBootstrapSelect preprocessOption
+option
+beforeSend
- JQuery ajax.beforeSend option
+data
- JQuery ajax.data option
+httpType
- JQuery ajax.type option
+minLength
- AjaxBootstrapSelect minLength option
+cache
- AjaxBootstrapSelect cache option
+clearOnEmpty
- AjaxBootstrapSelect clearOnEmpty option
+clearOnError
- AjaxBootstrapSelect clearOnError option
+emptyRequest
- AjaxBootstrapSelect emptyRequest option
+requestDelay
- AjaxBootstrapSelect requestDelay option
+restoreOnError
- AjaxBootstrapSelect restoreOnError
+option
Constructor
+
val beforeSend: (JQueryXHR) -> dynamic
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html
new file mode 100644
index 00000000..db1944c7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html
@@ -0,0 +1,14 @@
+
+
+
+val cache: Boolean
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html
new file mode 100644
index 00000000..5ee08617
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html
@@ -0,0 +1,14 @@
+
+
+
+val clearOnEmpty: Boolean
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html
new file mode 100644
index 00000000..81b5784a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html
@@ -0,0 +1,14 @@
+
+
+
+val clearOnError: Boolean
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html
new file mode 100644
index 00000000..01f60431
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html
@@ -0,0 +1,14 @@
+
+
+
+val dataType: DATATYPE
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data.html
new file mode 100644
index 00000000..037758fb
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data.html
@@ -0,0 +1,14 @@
+
+
+
+val data: dynamic
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html
new file mode 100644
index 00000000..2c1085c1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html
@@ -0,0 +1,14 @@
+
+
+
+val emptyRequest: Boolean
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html
new file mode 100644
index 00000000..8b5247eb
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html
@@ -0,0 +1,14 @@
+
+
+
+val httpType: HTTPTYPE
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/index.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/index.html
new file mode 100644
index 00000000..3aada582
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/index.html
@@ -0,0 +1,136 @@
+
+
+
+data class AjaxOptions
+Data class for AJAX options.
++ + | +
+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 |
+
+ + | +
+fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
+Convert AjaxOptions to JavaScript JSON object. + |
+
val minLength: Int
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html
new file mode 100644
index 00000000..08a0a8ee
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html
@@ -0,0 +1,14 @@
+
+
+
+val preprocessData: (dynamic) -> dynamic
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html
new file mode 100644
index 00000000..d1b01119
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html
@@ -0,0 +1,14 @@
+
+
+
+val requestDelay: Int
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html
new file mode 100644
index 00000000..0abc1431
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html
@@ -0,0 +1,14 @@
+
+
+
+val restoreOnError: Boolean
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/url.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/url.html
new file mode 100644
index 00000000..787210a8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/url.html
@@ -0,0 +1,14 @@
+
+
+
+val url: String
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-j-s-o-n-p.html b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-j-s-o-n-p.html
new file mode 100644
index 00000000..95a5253a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-j-s-o-n-p.html
@@ -0,0 +1,14 @@
+
+
+
+JSONP
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-j-s-o-n.html b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-j-s-o-n.html
new file mode 100644
index 00000000..e8e22109
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-j-s-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+JSON
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-s-c-r-i-p-t.html b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-s-c-r-i-p-t.html
new file mode 100644
index 00000000..fc0537af
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-s-c-r-i-p-t.html
@@ -0,0 +1,14 @@
+
+
+
+SCRIPT
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-t-e-x-t.html b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-t-e-x-t.html
new file mode 100644
index 00000000..8b2349be
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-t-e-x-t.html
@@ -0,0 +1,14 @@
+
+
+
+TEXT
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-x-m-l.html b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-x-m-l.html
new file mode 100644
index 00000000..11836f66
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/-x-m-l.html
@@ -0,0 +1,14 @@
+
+
+
+XML
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/index.html
new file mode 100644
index 00000000..1ac80e18
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-d-a-t-a-t-y-p-e/index.html
@@ -0,0 +1,54 @@
+
+
+
+enum class DATATYPE
+Data type for the AJAX call.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
GET
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-h-t-t-p-t-y-p-e/-p-o-s-t.html b/docs/api/pl.treksoft.kvision.form.select/-h-t-t-p-t-y-p-e/-p-o-s-t.html
new file mode 100644
index 00000000..fc45a9da
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-h-t-t-p-t-y-p-e/-p-o-s-t.html
@@ -0,0 +1,14 @@
+
+
+
+POST
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-h-t-t-p-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.select/-h-t-t-p-t-y-p-e/index.html
new file mode 100644
index 00000000..b138a353
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-h-t-t-p-t-y-p-e/index.html
@@ -0,0 +1,33 @@
+
+
+
+enum class HTTPTYPE
+HTTP protocol type for the AJAX call.
++ + | ++ | +
+ + | ++ | +
AUTO
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-s-e-l-e-c-t-w-i-d-t-h-t-y-p-e/-f-i-t.html b/docs/api/pl.treksoft.kvision.form.select/-s-e-l-e-c-t-w-i-d-t-h-t-y-p-e/-f-i-t.html
new file mode 100644
index 00000000..fd81fde8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-s-e-l-e-c-t-w-i-d-t-h-t-y-p-e/-f-i-t.html
@@ -0,0 +1,14 @@
+
+
+
+FIT
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-s-e-l-e-c-t-w-i-d-t-h-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.select/-s-e-l-e-c-t-w-i-d-t-h-t-y-p-e/index.html
new file mode 100644
index 00000000..b7342852
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-s-e-l-e-c-t-w-i-d-t-h-t-y-p-e/index.html
@@ -0,0 +1,33 @@
+
+
+
+enum class SELECTWIDTHTYPE
+Select width types. See Bootstrap Select width.
++ + | ++ | +
+ + | ++ | +
SelectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
+
+options
- an optional list of options (label to value pairs) for the select control
+multiple
- allows multiple value selection (multiple values are comma delimited)
+ajaxOptions
- additional options for remote (AJAX) data source
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): SimplePanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun add(child: Component): SimplePanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
protected open fun afterInsert(node: VNode): Unit
+Overrides Widget.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/ajax-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/ajax-options.html new file mode 100644 index 00000000..b6d2e986 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/ajax-options.html @@ -0,0 +1,15 @@ + + + +var ajaxOptions: AjaxOptions?
+Additional options for remote (AJAX) data source.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/autofocus.html new file mode 100644 index 00000000..2601d67f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/autofocus.html @@ -0,0 +1,15 @@ + + + +var autofocus: Boolean?
+Determines if the select is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/disabled.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/disabled.html new file mode 100644 index 00000000..286f35da --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/disabled.html @@ -0,0 +1,15 @@ + + + +var disabled: Boolean
+Determines if the field is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/empty-option.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/empty-option.html new file mode 100644 index 00000000..0e2457a8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/empty-option.html @@ -0,0 +1,15 @@ + + + +var emptyOption: Boolean
+Determines if an empty option is automatically generated.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/get-sn-attrs.html new file mode 100644 index 00000000..371b3bd7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open fun hideOptions(): Unit
+Hides dropdown with options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/index.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/index.html new file mode 100644 index 00000000..6fa9cfe5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/index.html @@ -0,0 +1,295 @@ + + + +open class SelectInput : SimplePanel
+The basic component for Select control.
+The select control can be populated directly from options parameter or manually by adding +SelectOption or SelectOptGroup components to the container.
++ + | +
+SelectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var ajaxOptions: AjaxOptions?
+Additional options for remote (AJAX) data source. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the select is automatically focused. + |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var emptyOption: Boolean
+Determines if an empty option is automatically generated. + |
+
+ + | +
+var liveSearch: Boolean
+Determines if live search is available. + |
+
+ + | +
+var maxOptions: Int?
+Maximal number of selected options. + |
+
+ + | +
+var multiple: Boolean
+Determines if multiple value selection is allowed. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML select element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the select control. + |
+
+ + | +
+var selectWidth: CssSize?
+The width of the select control. + |
+
+ + | +
+var selectWidthType: SELECTWIDTHTYPE?
+The width type of the select control. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var style: BUTTONSTYLE?
+The style of the select control. + |
+
+ + | +
+var value: String?
+A value of the selected option. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun hideOptions(): Unit
+Hides dropdown with options. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun showOptions(): Unit
+Opens dropdown with options. + |
+
+ + | +
+open fun toggleOptions(): Unit
+Toggles visibility of dropdown with options. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
var liveSearch: Boolean
+Determines if live search is available.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/max-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/max-options.html new file mode 100644 index 00000000..94af9393 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/max-options.html @@ -0,0 +1,15 @@ + + + +var maxOptions: Int?
+Maximal number of selected options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/multiple.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/multiple.html new file mode 100644 index 00000000..c153f784 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/multiple.html @@ -0,0 +1,15 @@ + + + +var multiple: Boolean
+Determines if multiple value selection is allowed.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/name.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/name.html new file mode 100644 index 00000000..7fb56e4e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML select element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/placeholder.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/placeholder.html new file mode 100644 index 00000000..ff134007 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/remove-all.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/remove-all.html new file mode 100644 index 00000000..ea8cda8e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/remove-all.html @@ -0,0 +1,18 @@ + + + +open fun removeAll(): SimplePanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(child: Component): SimplePanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var selectWidthType: SELECTWIDTHTYPE?
+The width type of the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width.html new file mode 100644 index 00000000..b2303fc0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width.html @@ -0,0 +1,15 @@ + + + +var selectWidth: CssSize?
+The width of the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/show-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/show-options.html new file mode 100644 index 00000000..d3f371c8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/show-options.html @@ -0,0 +1,15 @@ + + + +open fun showOptions(): Unit
+Opens dropdown with options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/size.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/size.html new file mode 100644 index 00000000..5a085e4b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/size.html @@ -0,0 +1,15 @@ + + + +var size: INPUTSIZE?
+The size of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/style.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/style.html new file mode 100644 index 00000000..4efe941a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/style.html @@ -0,0 +1,15 @@ + + + +var style: BUTTONSTYLE?
+The style of the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/toggle-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/toggle-options.html new file mode 100644 index 00000000..725c5cc7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/toggle-options.html @@ -0,0 +1,15 @@ + + + +open fun toggleOptions(): Unit
+Toggles visibility of dropdown with options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/value.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/value.html new file mode 100644 index 00000000..891f1f9f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-input/value.html @@ -0,0 +1,15 @@ + + + +var value: String?
+A value of the selected option.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html new file mode 100644 index 00000000..7545e4e5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html @@ -0,0 +1,27 @@ + + + +SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf())
+
+label
- the label of the group
+options
- an optional list of options (label to value pairs) for the group
+maxOptions
- maximal number of selected options in the group
+disabled
- renders a disabled group
+classes
- a set of CSS class names
Constructor
+
var disabled: Boolean
+Determines if the group is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html new file mode 100644 index 00000000..9fd36159 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
open class SelectOptGroup : SimplePanel
+The helper container for adding option groups to Select.
+The option group can be populated directly from options parameter or manually by adding +SelectOption components to the container.
++ + | +
+SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf()) |
+
+ + | +
+var disabled: Boolean
+Determines if the group is disabled. + |
+
+ + | +
+var label: String
+A label for the group. + |
+
+ + | +
+var maxOptions: Int?
+Maximal number of selected options in the group. + |
+
+ + | +
+var options: List<StringPair>?
+A list of options (label to value pairs) for the group. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
var label: String
+A label for the group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html new file mode 100644 index 00000000..124a6e92 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html @@ -0,0 +1,15 @@ + + + +var maxOptions: Int?
+Maximal number of selected options in the group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html new file mode 100644 index 00000000..4b9eccfe --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html @@ -0,0 +1,15 @@ + + + +var options: List<StringPair>?
+A list of options (label to value pairs) for the group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html new file mode 100644 index 00000000..745b6d91 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, classes: Set<String> = setOf())
+
+value
- the value of the option
+label
- the label of the option
+subtext
- the small subtext after the label of the option
+icon
- the icon before the label of the option
+divider
- renders this option as a divider
+disabled
- renders a disabled option
+classes
- a set of CSS class names
Constructor
+
var disabled: Boolean
+Determines if the option should be disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/divider.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/divider.html new file mode 100644 index 00000000..8cde2f8a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-option/divider.html @@ -0,0 +1,15 @@ + + + +var divider: Boolean
+Determines if the option should be rendered as divider.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/get-sn-attrs.html new file mode 100644 index 00000000..50bea1eb --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-option/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
var icon: String?
+The icon before the label of the option.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/index.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/index.html new file mode 100644 index 00000000..7fd1a7f3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-option/index.html @@ -0,0 +1,346 @@ + + + +open class SelectOption : Widget
+The helper component for adding options to Select or SelectOptGroup.
++ + | +
+SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, classes: Set<String> = setOf()) |
+
+ + | +
+var disabled: Boolean
+Determines if the option should be disabled. + |
+
+ + | +
+var divider: Boolean
+Determines if the option should be rendered as divider. + |
+
+ + | +
+var icon: String?
+The icon before the label of the option. + |
+
+ + | +
+var label: String?
+The label of the option. + |
+
+ + | +
+var subtext: String?
+The subtext after the label of the option. + |
+
+ + | +
+var value: String?
+The value of the option. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
var label: String?
+The label of the option.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/render.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/render.html new file mode 100644 index 00000000..b548132f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-option/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var subtext: String?
+The subtext after the label of the option.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/value.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/value.html new file mode 100644 index 00000000..c557edae --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select-option/value.html @@ -0,0 +1,15 @@ + + + +var value: String?
+The value of the option.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/-init-.html b/docs/api/pl.treksoft.kvision.form.select/-select/-init-.html new file mode 100644 index 00000000..52fd3990 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/-init-.html @@ -0,0 +1,29 @@ + + + +Select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
+
+options
- an optional list of options (label to value pairs) for the select control
+multiple
- allows multiple value selection (multiple values are comma delimited)
+ajaxOptions
- additional options for remote (AJAX) data source
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
open fun addAll(children: List<Component>): SimplePanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun add(child: Component): SimplePanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
var ajaxOptions: AjaxOptions?
+Additional options for remote (AJAX) data source.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/autofocus.html b/docs/api/pl.treksoft.kvision.form.select/-select/autofocus.html new file mode 100644 index 00000000..b7e18582 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/autofocus.html @@ -0,0 +1,15 @@ + + + +var autofocus: Boolean?
+Determines if the select is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/disabled.html b/docs/api/pl.treksoft.kvision.form.select/-select/disabled.html new file mode 100644 index 00000000..89dde5bd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/disabled.html @@ -0,0 +1,22 @@ + + + +open var disabled: Boolean
+Overrides FormControl.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/empty-option.html b/docs/api/pl.treksoft.kvision.form.select/-select/empty-option.html new file mode 100644 index 00000000..10235d84 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/empty-option.html @@ -0,0 +1,15 @@ + + + +var emptyOption: Boolean
+Determines if an empty option is automatically generated.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/flabel.html b/docs/api/pl.treksoft.kvision.form.select/-select/flabel.html new file mode 100644 index 00000000..77a1aca4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/get-children.html b/docs/api/pl.treksoft.kvision.form.select/-select/get-children.html new file mode 100644 index 00000000..d2695945 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/get-children.html @@ -0,0 +1,18 @@ + + + +open fun getChildren(): List<Component>
+Overrides SimplePanel.getChildren
+Returns a list of children of the current container.
+Return
+list of children
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open fun hideOptions(): Unit
+Hides dropdown with options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/index.html b/docs/api/pl.treksoft.kvision.form.select/-select/index.html new file mode 100644 index 00000000..0954c87a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/index.html @@ -0,0 +1,378 @@ + + + +open class Select : SimplePanel, StringFormControl
+The form field component for Select control.
+The select control can be populated directly from options parameter or manually by adding +SelectOption or SelectOptGroup components to the container.
++ + | +
+Select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) |
+
+ + | +
+var ajaxOptions: AjaxOptions?
+Additional options for remote (AJAX) data source. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the select is automatically focused. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var emptyOption: Boolean
+Determines if an empty option is automatically generated. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+val input: SelectInput
+The actual input component. + |
+
+ + | +
+var label: String?
+The label text bound to the select element. + |
+
+ + | +
+var liveSearch: Boolean
+Determines if live search is available. + |
+
+ + | +
+var maxOptions: Int?
+Maximal number of selected options. + |
+
+ + | +
+var multiple: Boolean
+Determines if multiple value selection is allowed. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML select element. + |
+
+ + | +
+var options: List<StringPair>?
+A list of options (label to value pairs) for the select control. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the select control. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+var selectWidth: CssSize?
+The width of the select control. + |
+
+ + | +
+var selectWidthType: SELECTWIDTHTYPE?
+The width type of the select control. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+var style: BUTTONSTYLE?
+The style of the select control. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: String?
+A value of the selected option. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun hideOptions(): Unit
+Hides dropdown with options. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun showOptions(): Unit
+Opens dropdown with options. + |
+
+ + | +
+open fun toggleOptions(): Unit
+Toggles visibility of dropdown with options. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getValue(): String?
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
val input: SelectInput
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/label.html b/docs/api/pl.treksoft.kvision.form.select/-select/label.html new file mode 100644 index 00000000..fa69c42c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text bound to the select element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/live-search.html b/docs/api/pl.treksoft.kvision.form.select/-select/live-search.html new file mode 100644 index 00000000..7623c56d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/live-search.html @@ -0,0 +1,15 @@ + + + +var liveSearch: Boolean
+Determines if live search is available.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/max-options.html b/docs/api/pl.treksoft.kvision.form.select/-select/max-options.html new file mode 100644 index 00000000..9d472c4f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/max-options.html @@ -0,0 +1,15 @@ + + + +var maxOptions: Int?
+Maximal number of selected options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/multiple.html b/docs/api/pl.treksoft.kvision.form.select/-select/multiple.html new file mode 100644 index 00000000..a5932e98 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/multiple.html @@ -0,0 +1,15 @@ + + + +var multiple: Boolean
+Determines if multiple value selection is allowed.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/name.html b/docs/api/pl.treksoft.kvision.form.select/-select/name.html new file mode 100644 index 00000000..06181eaf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML select element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/options.html b/docs/api/pl.treksoft.kvision.form.select/-select/options.html new file mode 100644 index 00000000..0af371aa --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/options.html @@ -0,0 +1,15 @@ + + + +var options: List<StringPair>?
+A list of options (label to value pairs) for the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/placeholder.html b/docs/api/pl.treksoft.kvision.form.select/-select/placeholder.html new file mode 100644 index 00000000..7a1c3aea --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/remove-all.html b/docs/api/pl.treksoft.kvision.form.select/-select/remove-all.html new file mode 100644 index 00000000..5ef0367a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/remove-all.html @@ -0,0 +1,18 @@ + + + +open fun removeAll(): SimplePanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun removeEventListeners(): Widget
+Overrides Widget.removeEventListeners
+Removes all event listeners from current widget.
+Return
+current widget
open fun remove(child: Component): SimplePanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/select-width-type.html b/docs/api/pl.treksoft.kvision.form.select/-select/select-width-type.html new file mode 100644 index 00000000..d0855aa5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/select-width-type.html @@ -0,0 +1,15 @@ + + + +var selectWidthType: SELECTWIDTHTYPE?
+The width type of the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/select-width.html b/docs/api/pl.treksoft.kvision.form.select/-select/select-width.html new file mode 100644 index 00000000..1bde09e8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/select-width.html @@ -0,0 +1,15 @@ + + + +var selectWidth: CssSize?
+The width of the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.select/-select/set-event-listener.html new file mode 100644 index 00000000..e287eb24 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/set-event-listener.html @@ -0,0 +1,54 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/show-options.html b/docs/api/pl.treksoft.kvision.form.select/-select/show-options.html
new file mode 100644
index 00000000..fa16c71c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.select/-select/show-options.html
@@ -0,0 +1,15 @@
+
+
+
+open fun showOptions(): Unit
+Opens dropdown with options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/size.html b/docs/api/pl.treksoft.kvision.form.select/-select/size.html new file mode 100644 index 00000000..cf50994b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/size.html @@ -0,0 +1,22 @@ + + + +open var size: INPUTSIZE?
+Overrides FormControl.size
+Input control size.
+Getter
+
Input control size.
+ +Setter
+
Input control size.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/style.html b/docs/api/pl.treksoft.kvision.form.select/-select/style.html new file mode 100644 index 00000000..0fa3e464 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/style.html @@ -0,0 +1,15 @@ + + + +var style: BUTTONSTYLE?
+The style of the select control.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/toggle-options.html b/docs/api/pl.treksoft.kvision.form.select/-select/toggle-options.html new file mode 100644 index 00000000..3958bb97 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/toggle-options.html @@ -0,0 +1,15 @@ + + + +open fun toggleOptions(): Unit
+Toggles visibility of dropdown with options.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/validation-info.html b/docs/api/pl.treksoft.kvision.form.select/-select/validation-info.html new file mode 100644 index 00000000..bb315130 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/value.html b/docs/api/pl.treksoft.kvision.form.select/-select/value.html new file mode 100644 index 00000000..5ce6848c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/-select/value.html @@ -0,0 +1,22 @@ + + + +open var value: String?
+Overrides StringFormControl.value
+A value of the selected option.
+Getter
+
Text value.
+ +Setter
+
Text value.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.select/index.html b/docs/api/pl.treksoft.kvision.form.select/index.html new file mode 100644 index 00000000..4a35420a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.select/index.html @@ -0,0 +1,104 @@ + + + +Full-featured select component with support for remote (AJAX) data source.
++ + | +
+data class AjaxOptions
+Data class for AJAX options. + |
+
+ + | +
+enum class DATATYPE
+Data type for the AJAX call. + |
+
+ + | +
+enum class HTTPTYPE
+HTTP protocol type for the AJAX call. + |
+
+ + | +
+enum class SELECTWIDTHTYPE
+Select width types. See Bootstrap Select width. + |
+
+ + | +
+open class Select : SimplePanel, StringFormControl
+The form field component for Select control. + |
+
+ + | +
+open class SelectInput : SimplePanel
+The basic component for Select control. + |
+
+ + | +
+open class SelectOptGroup : SimplePanel
+The helper container for adding option groups to Select. + |
+
+ + | +
+open class SelectOption : Widget
+The helper component for adding options to Select or SelectOptGroup. + |
+
+ + | +
+fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
+Convert AjaxOptions to JavaScript JSON object. + |
+
fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
+Convert AjaxOptions to JavaScript JSON object.
+
+emptyOption
- add an empty position as the first select option
Return
+JSON object
HORIZONTAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html
new file mode 100644
index 00000000..94d755a9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+NONE
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html
new file mode 100644
index 00000000..e9f5828b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html
@@ -0,0 +1,14 @@
+
+
+
+VERTICAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/index.html
new file mode 100644
index 00000000..bbb4f382
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/index.html
@@ -0,0 +1,40 @@
+
+
+
+enum class BUTTONSTYPE
+Spinner buttons layout types.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
CEIL
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html
new file mode 100644
index 00000000..abf13604
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html
@@ -0,0 +1,14 @@
+
+
+
+FLOOR
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-n-o-n-e.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-n-o-n-e.html
new file mode 100644
index 00000000..e4b59856
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-n-o-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+NONE
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html
new file mode 100644
index 00000000..034bca94
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+ROUND
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/index.html
new file mode 100644
index 00000000..2b37f391
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/index.html
@@ -0,0 +1,47 @@
+
+
+
+enum class FORCETYPE
+Spinner force rounding types.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
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())
+
+min
- minimal value (default 0)
+max
- maximal value (default 100)
+step
- step value (default 1)
+decimals
- number of decimal digits (default 0)
+buttonsType
- spinner buttons type
+forceType
- spinner force rounding type
+classes
- a set of CSS class names
Constructor
+
protected open fun afterDestroy(): Unit
+Overrides Widget.afterDestroy
+Method called after destroying Snabbdom vnode.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html new file mode 100644 index 00000000..433c0858 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html @@ -0,0 +1,16 @@ + + + +protected open fun afterInsert(node: VNode): Unit
+Overrides Widget.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html new file mode 100644 index 00000000..aad1375d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html @@ -0,0 +1,15 @@ + + + +var autofocus: Boolean?
+Determines if the spinner is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html new file mode 100644 index 00000000..1949c000 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html @@ -0,0 +1,15 @@ + + + +var buttonsType: BUTTONSTYPE
+Spinner buttons type.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html new file mode 100644 index 00000000..9c778406 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html @@ -0,0 +1,14 @@ + + + +protected open fun changeValue(): Unit
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html
new file mode 100644
index 00000000..8e2bee7e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html
@@ -0,0 +1,15 @@
+
+
+
+var decimals: Int
+Number of decimal digits value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html new file mode 100644 index 00000000..f8643635 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html @@ -0,0 +1,15 @@ + + + +var disabled: Boolean
+Determines if the field is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html new file mode 100644 index 00000000..632008e8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html @@ -0,0 +1,15 @@ + + + +var forceType: FORCETYPE
+Spinner force rounding type.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html new file mode 100644 index 00000000..7cc57aff --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
fun getValueAsString(): String?
+Returns the value of the spinner as a String.
+Return
+value as a String
open class SpinnerInput : Widget
+The basic component for spinner control.
++ + | +
+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()) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the spinner is automatically focused. + |
+
+ + | +
+var buttonsType: BUTTONSTYPE
+Spinner buttons type. + |
+
+ + | +
+var decimals: Int
+Number of decimal digits value. + |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var forceType: FORCETYPE
+Spinner force rounding type. + |
+
+ + | +
+var max: Int
+Maximal value. + |
+
+ + | +
+var min: Int
+Minimal value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the spinner input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the spinner is read-only. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var startValue: Number?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var step: Double
+Step value. + |
+
+ + | +
+var value: Number?
+Spinner value. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun changeValue(): Unit |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+fun getValueAsString(): String?
+Returns the value of the spinner as a String. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+fun spinDown(): SpinnerInput
+Change value in minus. + |
+
+ + | +
+fun spinUp(): SpinnerInput
+Change value in plus. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
var max: Int
+Maximal value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html new file mode 100644 index 00000000..09d53e74 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html @@ -0,0 +1,15 @@ + + + +var min: Int
+Minimal value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html new file mode 100644 index 00000000..fc053059 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/placeholder.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/placeholder.html new file mode 100644 index 00000000..1791b5f7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the spinner input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/readonly.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/readonly.html new file mode 100644 index 00000000..b5a58455 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/readonly.html @@ -0,0 +1,15 @@ + + + +var readonly: Boolean?
+Determines if the spinner is read-only.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/render.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/render.html new file mode 100644 index 00000000..ac189127 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var size: INPUTSIZE?
+The size of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-down.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-down.html new file mode 100644 index 00000000..2fecab24 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-down.html @@ -0,0 +1,15 @@ + + + +fun spinDown(): SpinnerInput
+Change value in minus.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-up.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-up.html new file mode 100644 index 00000000..f68a9048 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-up.html @@ -0,0 +1,15 @@ + + + +fun spinUp(): SpinnerInput
+Change value in plus.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/start-value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/start-value.html new file mode 100644 index 00000000..993bc14d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/start-value.html @@ -0,0 +1,17 @@ + + + +var startValue: Number?
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the spinner input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/step.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/step.html new file mode 100644 index 00000000..cd77355e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/step.html @@ -0,0 +1,15 @@ + + + +var step: Double
+Step value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/value.html new file mode 100644 index 00000000..cef90828 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/value.html @@ -0,0 +1,15 @@ + + + +var value: Number?
+Spinner value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html new file mode 100644 index 00000000..d3167048 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html @@ -0,0 +1,35 @@ + + + +Spinner(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, label: String? = null, rich: Boolean = false)
+
+min
- minimal value (default 0)
+max
- maximal value (default 100)
+step
- step value (default 1)
+decimals
- number of decimal digits (default 0)
+buttonsType
- spinner buttons type
+forceType
- spinner force rounding type
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
var autofocus: Boolean?
+Determines if the spinner is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html new file mode 100644 index 00000000..24b812a0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html @@ -0,0 +1,15 @@ + + + +var buttonsType: BUTTONSTYPE
+Spinner buttons type.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/decimals.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/decimals.html new file mode 100644 index 00000000..7a5a1514 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/decimals.html @@ -0,0 +1,15 @@ + + + +var decimals: Int
+Number of decimal digits value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html new file mode 100644 index 00000000..7207261e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html @@ -0,0 +1,22 @@ + + + +open var disabled: Boolean
+Overrides FormControl.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/flabel.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/flabel.html new file mode 100644 index 00000000..737a1580 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/force-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/force-type.html new file mode 100644 index 00000000..bcf84a58 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/force-type.html @@ -0,0 +1,15 @@ + + + +var forceType: FORCETYPE
+Spinner force rounding type.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-sn-class.html new file mode 100644 index 00000000..08e1ee5d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open fun getValueAsString(): String?
+Overrides NumberFormControl.getValueAsString
+Returns the value of the control as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/idc.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/idc.html new file mode 100644 index 00000000..db68cb2d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/idc.html @@ -0,0 +1,14 @@ + + + +protected val idc: String
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/index.html
new file mode 100644
index 00000000..4907a880
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/index.html
@@ -0,0 +1,365 @@
+
+
+
+open class Spinner : SimplePanel, NumberFormControl
+The form field component for spinner control.
++ + | +
+Spinner(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, label: String? = null, rich: Boolean = false) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the spinner is automatically focused. + |
+
+ + | +
+var buttonsType: BUTTONSTYPE
+Spinner buttons type. + |
+
+ + | +
+var decimals: Int
+Number of decimal digits value. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var forceType: FORCETYPE
+Spinner force rounding type. + |
+
+ + | +
+val idc: String |
+
+ + | +
+val input: SpinnerInput
+The actual input component. + |
+
+ + | +
+var label: String?
+The label text bound to the spinner input element. + |
+
+ + | +
+var max: Int
+Maximal value. + |
+
+ + | +
+var min: Int
+Minimal value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the spinner input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the spinner is read-only. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+var startValue: Number?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var step: Double
+Step value. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: Number?
+Spinner value. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun spinDown(): Spinner
+Change value in minus. + |
+
+ + | +
+open fun spinUp(): Spinner
+Change value in plus. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getValue(): Number?
+Returns the value of the control. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
val input: SpinnerInput
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/label.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/label.html new file mode 100644 index 00000000..83020699 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text bound to the spinner input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/max.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/max.html new file mode 100644 index 00000000..713b977d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/max.html @@ -0,0 +1,15 @@ + + + +var max: Int
+Maximal value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/min.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/min.html new file mode 100644 index 00000000..9cbca796 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/min.html @@ -0,0 +1,15 @@ + + + +var min: Int
+Minimal value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/name.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/name.html new file mode 100644 index 00000000..06ffb6ab --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/placeholder.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/placeholder.html new file mode 100644 index 00000000..a3637a80 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the spinner input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/readonly.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/readonly.html new file mode 100644 index 00000000..9ac92238 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/readonly.html @@ -0,0 +1,15 @@ + + + +var readonly: Boolean?
+Determines if the spinner is read-only.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listeners.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listeners.html new file mode 100644 index 00000000..2747fbdf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +open fun removeEventListeners(): Widget
+Overrides Widget.removeEventListeners
+Removes all event listeners from current widget.
+Return
+current widget
var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html new file mode 100644 index 00000000..73f9bae5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html @@ -0,0 +1,54 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/size.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/size.html
new file mode 100644
index 00000000..bf59764f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/size.html
@@ -0,0 +1,22 @@
+
+
+
+open var size: INPUTSIZE?
+Overrides FormControl.size
+Input control size.
+Getter
+
Input control size.
+ +Setter
+
Input control size.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-down.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-down.html new file mode 100644 index 00000000..426cfb31 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-down.html @@ -0,0 +1,15 @@ + + + +open fun spinDown(): Spinner
+Change value in minus.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-up.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-up.html new file mode 100644 index 00000000..59c21418 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-up.html @@ -0,0 +1,15 @@ + + + +open fun spinUp(): Spinner
+Change value in plus.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/start-value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/start-value.html new file mode 100644 index 00000000..84bcba6e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/start-value.html @@ -0,0 +1,17 @@ + + + +var startValue: Number?
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the spinner input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/step.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/step.html new file mode 100644 index 00000000..3b7cd74c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/step.html @@ -0,0 +1,15 @@ + + + +var step: Double
+Step value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html new file mode 100644 index 00000000..7e247ef5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner/value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/value.html new file mode 100644 index 00000000..621616ad --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner/value.html @@ -0,0 +1,22 @@ + + + +open var value: Number?
+Overrides NumberFormControl.value
+Spinner value.
+Getter
+
Numeric value.
+ +Setter
+
Numeric value.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/index.html b/docs/api/pl.treksoft.kvision.form.spinner/index.html new file mode 100644 index 00000000..bf102d00 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/index.html @@ -0,0 +1,54 @@ + + + +Spinner input component.
++ + | +
+enum class BUTTONSTYPE
+Spinner buttons layout types. + |
+
+ + | +
+enum class FORCETYPE
+Spinner force rounding types. + |
+
+ + | +
+open class Spinner : SimplePanel, NumberFormControl
+The form field component for spinner control. + |
+
+ + | +
+open class SpinnerInput : Widget
+The basic component for spinner control. + |
+
AbstractTextInput(value: String? = null, classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
protected open fun afterInsert(node: VNode): Unit
+Overrides Widget.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/autofocus.html new file mode 100644 index 00000000..f27ab031 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/autofocus.html @@ -0,0 +1,15 @@ + + + +var autofocus: Boolean?
+Determines if the text input is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/blur.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/blur.html new file mode 100644 index 00000000..9eabcc25 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/blur.html @@ -0,0 +1,15 @@ + + + +open fun blur(): Unit
+Makes the input element blur.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html new file mode 100644 index 00000000..fdecb16a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html @@ -0,0 +1,15 @@ + + + +var disabled: Boolean
+Determines if the field is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/focus.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/focus.html new file mode 100644 index 00000000..edd192bd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/focus.html @@ -0,0 +1,15 @@ + + + +open fun focus(): Unit
+Makes the input element focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/get-sn-attrs.html new file mode 100644 index 00000000..b66c84ee --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
abstract class AbstractTextInput : Widget
+Base class for basic text components.
++ + | +
+AbstractTextInput(value: String? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var value: String?
+Text input value. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(): VNode + open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
+ + | +
+open class RichTextInput : AbstractTextInput
+Basic rich text component. + |
+
+ + | +
+open class TextAreaInput : AbstractTextInput
+Basic textarea component. + |
+
+ + | +
+open class TextInput : AbstractTextInput
+Basic text component. + |
+
var maxlength: Int?
+Maximal length of the text input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html new file mode 100644 index 00000000..b275bccd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/placeholder.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/placeholder.html new file mode 100644 index 00000000..33e918af --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the text input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/readonly.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/readonly.html new file mode 100644 index 00000000..e3e89acf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/readonly.html @@ -0,0 +1,15 @@ + + + +var readonly: Boolean?
+Determines if the text input is read-only.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html new file mode 100644 index 00000000..fd5d9a05 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html @@ -0,0 +1,15 @@ + + + +var size: INPUTSIZE?
+The size of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/start-value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/start-value.html new file mode 100644 index 00000000..0befba8d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/start-value.html @@ -0,0 +1,17 @@ + + + +var startValue: String?
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the text input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/value.html new file mode 100644 index 00000000..bf175e06 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/value.html @@ -0,0 +1,15 @@ + + + +var value: String?
+Text input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/-init-.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/-init-.html new file mode 100644 index 00000000..42fd6dce --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/-init-.html @@ -0,0 +1,21 @@ + + + +AbstractText(label: String? = null, rich: Boolean = false)
+
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
var autofocus: Boolean?
+Determines if the text input is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/blur.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/blur.html new file mode 100644 index 00000000..6d996135 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/blur.html @@ -0,0 +1,15 @@ + + + +open fun blur(): Unit
+Makes the input element blur.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/disabled.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/disabled.html new file mode 100644 index 00000000..b9fbde8e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/disabled.html @@ -0,0 +1,22 @@ + + + +open var disabled: Boolean
+Overrides FormControl.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/flabel.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/flabel.html new file mode 100644 index 00000000..733fcfc8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/focus.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/focus.html new file mode 100644 index 00000000..8efcf47a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/focus.html @@ -0,0 +1,15 @@ + + + +open fun focus(): Unit
+Makes the input element focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/get-sn-class.html new file mode 100644 index 00000000..c08d18b0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
abstract class AbstractText : SimplePanel, StringFormControl
+Base class for form field text components.
++ + | +
+AbstractText(label: String? = null, rich: Boolean = false) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+abstract val input: AbstractTextInput
+The actual input component. + |
+
+ + | +
+var label: String?
+The label text bound to the text input element. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: String?
+Text input value. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getValue(): String?
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
+ + | +
+open class RichText : AbstractText
+Form field rich text component. + |
+
+ + | +
+open class Text : AbstractText
+Form field text component. + |
+
+ + | +
+open class TextArea : AbstractText
+Form field textarea component. + |
+
abstract val input: AbstractTextInput
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/label.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/label.html new file mode 100644 index 00000000..a7694d44 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text bound to the text input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/maxlength.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/maxlength.html new file mode 100644 index 00000000..cee6a3cd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/maxlength.html @@ -0,0 +1,15 @@ + + + +var maxlength: Int?
+Maximal length of the text input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/name.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/name.html new file mode 100644 index 00000000..18cef6cf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/placeholder.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/placeholder.html new file mode 100644 index 00000000..a77ec12b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the text input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/readonly.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/readonly.html new file mode 100644 index 00000000..4fb522c5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/readonly.html @@ -0,0 +1,15 @@ + + + +var readonly: Boolean?
+Determines if the text input is read-only.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/remove-event-listeners.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/remove-event-listeners.html new file mode 100644 index 00000000..bd341759 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +open fun removeEventListeners(): Widget
+Overrides Widget.removeEventListeners
+Removes all event listeners from current widget.
+Return
+current widget
var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/set-event-listener.html new file mode 100644 index 00000000..b7e101f5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/set-event-listener.html @@ -0,0 +1,54 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/size.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/size.html
new file mode 100644
index 00000000..8221e61e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/size.html
@@ -0,0 +1,22 @@
+
+
+
+open var size: INPUTSIZE?
+Overrides FormControl.size
+Input control size.
+Getter
+
Input control size.
+ +Setter
+
Input control size.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/start-value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/start-value.html new file mode 100644 index 00000000..01635bc7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/start-value.html @@ -0,0 +1,17 @@ + + + +var startValue: String?
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the text input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/validation-info.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/validation-info.html new file mode 100644 index 00000000..2b8e832f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/value.html new file mode 100644 index 00000000..44673562 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/value.html @@ -0,0 +1,22 @@ + + + +open var value: String?
+Overrides StringFormControl.value
+Text input value.
+Getter
+
Text value.
+ +Setter
+
Text value.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.text/-password/-init-.html b/docs/api/pl.treksoft.kvision.form.text/-password/-init-.html new file mode 100644 index 00000000..4b53587d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-password/-init-.html @@ -0,0 +1,23 @@ + + + +Password(value: String? = null, label: String? = null, rich: Boolean = false)
+
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
open class Password : Text
+Form field password component.
++ + | +
+Password(value: String? = null, label: String? = null, rich: Boolean = false) |
+
+ + | +
+var autocomplete: Boolean?
+Determines if autocomplete is enabled for the input element. + |
+
+ + | +
+val input: TextInput
+The actual input component. + |
+
+ + | +
+var type: TEXTINPUTTYPE
+Text input type. + |
+
RichTextInput(value: String? = null, classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
protected open fun afterDestroy(): Unit
+Overrides Widget.afterDestroy
+Method called after destroying Snabbdom vnode.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-insert.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-insert.html new file mode 100644 index 00000000..9f9d720a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-insert.html @@ -0,0 +1,16 @@ + + + +protected open fun afterInsert(node: VNode): Unit
+Overrides AbstractTextInput.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/get-sn-attrs.html new file mode 100644 index 00000000..80e29d05 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides AbstractTextInput.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
open class RichTextInput : AbstractTextInput
+Basic rich text component.
++ + | +
+RichTextInput(value: String? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var value: String?
+Text input value. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
RichText(value: String? = null, label: String? = null, rich: Boolean = false)
+
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
open class RichText : AbstractText
+Form field rich text component.
++ + | +
+RichText(value: String? = null, label: String? = null, rich: Boolean = false) |
+
+ + | +
+val input: RichTextInput
+The actual input component. + |
+
+ + | +
+var inputHeight: CssSize?
+Rich input control height. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var label: String?
+The label text bound to the text input element. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: String?
+Text input value. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
var inputHeight: CssSize?
+Rich input control height.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text/input.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text/input.html new file mode 100644 index 00000000..fdba0d9d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text/input.html @@ -0,0 +1,16 @@ + + + +val input: RichTextInput
+Overrides AbstractText.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-c-o-l-o-r.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-c-o-l-o-r.html new file mode 100644 index 00000000..04da0b9e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-c-o-l-o-r.html @@ -0,0 +1,14 @@ + + + +COLOR
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-e-m-a-i-l.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-e-m-a-i-l.html
new file mode 100644
index 00000000..b1a0451f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-e-m-a-i-l.html
@@ -0,0 +1,14 @@
+
+
+
+EMAIL
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-p-a-s-s-w-o-r-d.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-p-a-s-s-w-o-r-d.html
new file mode 100644
index 00000000..083e205b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-p-a-s-s-w-o-r-d.html
@@ -0,0 +1,14 @@
+
+
+
+PASSWORD
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-s-e-a-r-c-h.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-s-e-a-r-c-h.html
new file mode 100644
index 00000000..21e82a43
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-s-e-a-r-c-h.html
@@ -0,0 +1,14 @@
+
+
+
+SEARCH
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-t-e-l.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-t-e-l.html
new file mode 100644
index 00000000..e5bfecf2
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-t-e-l.html
@@ -0,0 +1,14 @@
+
+
+
+TEL
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-t-e-x-t.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-t-e-x-t.html
new file mode 100644
index 00000000..49951bef
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-t-e-x-t.html
@@ -0,0 +1,14 @@
+
+
+
+TEXT
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-u-r-l.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-u-r-l.html
new file mode 100644
index 00000000..2abaa29a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/-u-r-l.html
@@ -0,0 +1,14 @@
+
+
+
+URL
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/index.html
new file mode 100644
index 00000000..ae51b58a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-t-e-x-t-i-n-p-u-t-t-y-p-e/index.html
@@ -0,0 +1,68 @@
+
+
+
+enum class TEXTINPUTTYPE
+Text input types.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
TextAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
var cols: Int?
+Number of columns.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-area-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.text/-text-area-input/get-sn-attrs.html new file mode 100644 index 00000000..454e13de --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-area-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides AbstractTextInput.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
open class TextAreaInput : AbstractTextInput
+Basic textarea component.
++ + | +
+TextAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var cols: Int?
+Number of columns. + |
+
+ + | +
+var rows: Int?
+Number of rows. + |
+
+ + | +
+var wrapHard: Boolean
+Determines if hard wrapping is enabled for the textarea element. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var value: String?
+Text input value. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var rows: Int?
+Number of rows.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-area-input/wrap-hard.html b/docs/api/pl.treksoft.kvision.form.text/-text-area-input/wrap-hard.html new file mode 100644 index 00000000..ebd0f0cc --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-area-input/wrap-hard.html @@ -0,0 +1,15 @@ + + + +var wrapHard: Boolean
+Determines if hard wrapping is enabled for the textarea element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-area/-init-.html b/docs/api/pl.treksoft.kvision.form.text/-text-area/-init-.html new file mode 100644 index 00000000..cfd6c895 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-area/-init-.html @@ -0,0 +1,27 @@ + + + +TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false)
+
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
var cols: Int?
+Number of columns.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-area/index.html b/docs/api/pl.treksoft.kvision.form.text/-text-area/index.html new file mode 100644 index 00000000..401fb165 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-area/index.html @@ -0,0 +1,241 @@ + + + +open class TextArea : AbstractText
+Form field textarea component.
++ + | +
+TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false) |
+
+ + | +
+var cols: Int?
+Number of columns. + |
+
+ + | +
+val input: TextAreaInput
+The actual input component. + |
+
+ + | +
+var rows: Int?
+Number of rows. + |
+
+ + | +
+var wrapHard: Boolean
+Determines if hard wrapping is enabled for the textarea element. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var label: String?
+The label text bound to the text input element. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: String?
+Text input value. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
val input: TextAreaInput
+Overrides AbstractText.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-area/rows.html b/docs/api/pl.treksoft.kvision.form.text/-text-area/rows.html new file mode 100644 index 00000000..a1c00d2d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-area/rows.html @@ -0,0 +1,15 @@ + + + +var rows: Int?
+Number of rows.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-area/wrap-hard.html b/docs/api/pl.treksoft.kvision.form.text/-text-area/wrap-hard.html new file mode 100644 index 00000000..2bbec808 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-area/wrap-hard.html @@ -0,0 +1,15 @@ + + + +var wrapHard: Boolean
+Determines if hard wrapping is enabled for the textarea element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/-init-.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/-init-.html new file mode 100644 index 00000000..d250ec0d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/-init-.html @@ -0,0 +1,23 @@ + + + +TextInput(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, value: String? = null, classes: Set<String> = setOf())
+
+type
- text input type (default "text")
+classes
- a set of CSS class names
Constructor
+
var autocomplete: Boolean?
+Determines if autocomplete is enabled for the input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html new file mode 100644 index 00000000..02865712 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides AbstractTextInput.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
open class TextInput : AbstractTextInput
+Basic text component.
++ + | +
+TextInput(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, value: String? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var autocomplete: Boolean?
+Determines if autocomplete is enabled for the input element. + |
+
+ + | +
+var type: TEXTINPUTTYPE
+Text input type. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var value: String?
+Text input value. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var type: TEXTINPUTTYPE
+Text input type.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text/-init-.html b/docs/api/pl.treksoft.kvision.form.text/-text/-init-.html new file mode 100644 index 00000000..cb258dfb --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text/-init-.html @@ -0,0 +1,25 @@ + + + +Text(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, value: String? = null, label: String? = null, rich: Boolean = false)
+
+type
- text input type (default "text")
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
var autocomplete: Boolean?
+Determines if autocomplete is enabled for the input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text/index.html b/docs/api/pl.treksoft.kvision.form.text/-text/index.html new file mode 100644 index 00000000..b37f2e58 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text/index.html @@ -0,0 +1,246 @@ + + + +open class Text : AbstractText
+Form field text component.
++ + | +
+Text(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, value: String? = null, label: String? = null, rich: Boolean = false) |
+
+ + | +
+var autocomplete: Boolean?
+Determines if autocomplete is enabled for the input element. + |
+
+ + | +
+val input: TextInput
+The actual input component. + |
+
+ + | +
+var type: TEXTINPUTTYPE
+Text input type. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var label: String?
+The label text bound to the text input element. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the text input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the text input is read-only. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+var startValue: String?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: String?
+Text input value. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open class Password : Text
+Form field password component. + |
+
val input: TextInput
+Overrides AbstractText.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-text/type.html b/docs/api/pl.treksoft.kvision.form.text/-text/type.html new file mode 100644 index 00000000..b538ee06 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-text/type.html @@ -0,0 +1,15 @@ + + + +var type: TEXTINPUTTYPE
+Text input type.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/index.html b/docs/api/pl.treksoft.kvision.form.text/index.html new file mode 100644 index 00000000..7963d54b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/index.html @@ -0,0 +1,108 @@ + + + +Text input components, with password, text area and rich text area support.
++ + | +
+abstract class AbstractText : SimplePanel, StringFormControl
+Base class for form field text components. + |
+
+ + | +
+abstract class AbstractTextInput : Widget
+Base class for basic text components. + |
+
+ + | +
+open class Password : Text
+Form field password component. + |
+
+ + | +
+open class RichText : AbstractText
+Form field rich text component. + |
+
+ + | +
+open class RichTextInput : AbstractTextInput
+Basic rich text component. + |
+
+ + | +
+enum class TEXTINPUTTYPE
+Text input types. + |
+
+ + | +
+open class Text : AbstractText
+Form field text component. + |
+
+ + | +
+open class TextArea : AbstractText
+Form field textarea component. + |
+
+ + | +
+open class TextAreaInput : AbstractTextInput
+Basic textarea component. + |
+
+ + | +
+open class TextInput : AbstractTextInput
+Basic text component. + |
+
DateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf())
+
+value
- date/time input value
+format
- date/time format (default YYYY-MM-DD HH:mm)
+classes
- a set of CSS class names
Constructor
+
protected open fun afterInsert(node: VNode): Unit
+Overrides Widget.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html new file mode 100644 index 00000000..db39e3d2 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html @@ -0,0 +1,15 @@ + + + +var autofocus: Boolean?
+Determines if the text input is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html new file mode 100644 index 00000000..bbaa5718 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html @@ -0,0 +1,14 @@ + + + +protected open fun changeValue(): Unit
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html
new file mode 100644
index 00000000..9a7920c5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html
@@ -0,0 +1,15 @@
+
+
+
+var clearBtn: Boolean
+Determines if Clear button should be visible.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/days-of-week-disabled.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/days-of-week-disabled.html new file mode 100644 index 00000000..a2cb50f4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/days-of-week-disabled.html @@ -0,0 +1,15 @@ + + + +var daysOfWeekDisabled: Array<Int>
+Days of the week that should be disabled. Multiple values should be comma separated.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html new file mode 100644 index 00000000..8ab6dfef --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html @@ -0,0 +1,15 @@ + + + +var disabled: Boolean
+Determines if the field is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/format.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/format.html new file mode 100644 index 00000000..2a04c0ae --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/format.html @@ -0,0 +1,15 @@ + + + +var format: String
+Date/time format.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html new file mode 100644 index 00000000..cb36049b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
fun getValueAsString(): String?
+Get value of date/time input control as String
+Return
+value as a String
open fun hidePopup(): Unit
+Hides date/time chooser popup.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/index.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/index.html new file mode 100644 index 00000000..90e92c56 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/index.html @@ -0,0 +1,475 @@ + + + +open class DateTimeInput : Widget
+Basic date/time chooser component.
++ + | +
+DateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf()) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+var clearBtn: Boolean
+Determines if Clear button should be visible. + |
+
+ + | +
+var daysOfWeekDisabled: Array<Int>
+Days of the week that should be disabled. Multiple values should be comma separated. + |
+
+ + | +
+var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var format: String
+Date/time format. + |
+
+ + | +
+var minuteStep: Int
+The increment used to build the hour view. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the date/time input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the date/time input is read-only. + |
+
+ + | +
+var showMeridian: Boolean
+Determines if meridian views are visible in day and hour views. + |
+
+ + | +
+var size: INPUTSIZE?
+The size of the input. + |
+
+ + | +
+var todayBtn: Boolean
+Determines if Today button should be visible. + |
+
+ + | +
+var todayHighlight: Boolean
+Determines if the current day should be highlighted. + |
+
+ + | +
+var value: Date?
+Date/time input value. + |
+
+ + | +
+var weekStart: Int
+Day of the week start. 0 (Sunday) to 6 (Saturday). + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun changeValue(): Unit |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+fun getValueAsString(): String?
+Get value of date/time input control as String + |
+
+ + | +
+open fun hidePopup(): Unit
+Hides date/time chooser popup. + |
+
+ + | +
+open fun refreshDatePicker(): Unit |
+
+ + | +
+open fun refreshState(): Unit |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun showPopup(): Unit
+Open date/time chooser popup. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
var minuteStep: Int
+The increment used to build the hour view.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/name.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/name.html new file mode 100644 index 00000000..bcf0d58d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html new file mode 100644 index 00000000..6f803f46 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the date/time input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html new file mode 100644 index 00000000..77328e1e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html @@ -0,0 +1,15 @@ + + + +var readonly: Boolean?
+Determines if the date/time input is read-only.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-date-picker.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-date-picker.html new file mode 100644 index 00000000..08886f44 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-date-picker.html @@ -0,0 +1,14 @@ + + + +protected open fun refreshDatePicker(): Unit
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html
new file mode 100644
index 00000000..35ccc8fc
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html
@@ -0,0 +1,14 @@
+
+
+
+protected open fun refreshState(): Unit
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/render.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/render.html
new file mode 100644
index 00000000..4b157a48
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/render.html
@@ -0,0 +1,18 @@
+
+
+
+protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var showMeridian: Boolean
+Determines if meridian views are visible in day and hour views.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/show-popup.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/show-popup.html new file mode 100644 index 00000000..fb3a130f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/show-popup.html @@ -0,0 +1,15 @@ + + + +open fun showPopup(): Unit
+Open date/time chooser popup.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/size.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/size.html new file mode 100644 index 00000000..45a64fa3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/size.html @@ -0,0 +1,15 @@ + + + +var size: INPUTSIZE?
+The size of the input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html new file mode 100644 index 00000000..a25c6b6b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html @@ -0,0 +1,15 @@ + + + +var todayBtn: Boolean
+Determines if Today button should be visible.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html new file mode 100644 index 00000000..f9cc0e91 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html @@ -0,0 +1,15 @@ + + + +var todayHighlight: Boolean
+Determines if the current day should be highlighted.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/value.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/value.html new file mode 100644 index 00000000..4dc0a032 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/value.html @@ -0,0 +1,15 @@ + + + +var value: Date?
+Date/time input value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html new file mode 100644 index 00000000..282a3308 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html @@ -0,0 +1,15 @@ + + + +var weekStart: Int
+Day of the week start. 0 (Sunday) to 6 (Saturday).
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/-init-.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/-init-.html new file mode 100644 index 00000000..d7037856 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/-init-.html @@ -0,0 +1,25 @@ + + + +DateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)
+
+value
- date/time input value
+format
- date/time format (default YYYY-MM-DD HH:mm)
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
var autofocus: Boolean?
+Determines if the date/time input is automatically focused.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html new file mode 100644 index 00000000..e4ba22de --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html @@ -0,0 +1,15 @@ + + + +var clearBtn: Boolean
+Determines if Clear button should be visible.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/days-of-week-disabled.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/days-of-week-disabled.html new file mode 100644 index 00000000..ab9639ac --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/days-of-week-disabled.html @@ -0,0 +1,15 @@ + + + +var daysOfWeekDisabled: Array<Int>
+Days of the week that should be disabled. Multiple values should be comma separated.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/disabled.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/disabled.html new file mode 100644 index 00000000..c5737997 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/disabled.html @@ -0,0 +1,22 @@ + + + +open var disabled: Boolean
+Overrides FormControl.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/flabel.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/flabel.html new file mode 100644 index 00000000..3ff85b02 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/format.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/format.html new file mode 100644 index 00000000..3532f083 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/format.html @@ -0,0 +1,15 @@ + + + +var format: String
+Date/time format.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/get-sn-class.html new file mode 100644 index 00000000..7d7912f3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open fun getValueAsString(): String?
+Overrides DateFormControl.getValueAsString
+Returns the value of the control as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/hide-popup.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/hide-popup.html new file mode 100644 index 00000000..6b768d20 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/hide-popup.html @@ -0,0 +1,15 @@ + + + +open fun hidePopup(): Unit
+Hides date/time chooser popup.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/index.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/index.html new file mode 100644 index 00000000..4b438035 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/index.html @@ -0,0 +1,367 @@ + + + +open class DateTime : SimplePanel, DateFormControl
+Form field date/time chooser component.
++ + | +
+DateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the date/time input is automatically focused. + |
+
+ + | +
+var clearBtn: Boolean
+Determines if Clear button should be visible. + |
+
+ + | +
+var daysOfWeekDisabled: Array<Int>
+Days of the week that should be disabled. Multiple values should be comma separated. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+var format: String
+Date/time format. + |
+
+ + | +
+val input: DateTimeInput
+The actual input component. + |
+
+ + | +
+var label: String?
+The label text bound to the input element. + |
+
+ + | +
+var minuteStep: Int
+The increment used to build the hour view. + |
+
+ + | +
+var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var placeholder: String?
+The placeholder for the date/time input. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the date/time input is read-only. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+var showMeridian: Boolean
+Determines if meridian views are visible in day and hour views. + |
+
+ + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+var todayBtn: Boolean
+Determines if Today button should be visible. + |
+
+ + | +
+var todayHighlight: Boolean
+Determines if the current day should be highlighted. + |
+
+ + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var value: Date?
+Date/time input value. + |
+
+ + | +
+var weekStart: Int
+Day of the week start. 0 (Sunday) to 6 (Saturday). + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun hidePopup(): Unit
+Hides date/time chooser popup. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun showPopup(): Unit
+Open date/time chooser popup. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun getValue(): Date?
+Returns the value of the control. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
val input: DateTimeInput
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/label.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/label.html new file mode 100644 index 00000000..0357010e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text bound to the input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html new file mode 100644 index 00000000..5073b48e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html @@ -0,0 +1,15 @@ + + + +var minuteStep: Int
+The increment used to build the hour view.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/name.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/name.html new file mode 100644 index 00000000..68c3ce8c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/name.html @@ -0,0 +1,15 @@ + + + +var name: String?
+The name attribute of the generated HTML input element.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/placeholder.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/placeholder.html new file mode 100644 index 00000000..f59806f7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/placeholder.html @@ -0,0 +1,15 @@ + + + +var placeholder: String?
+The placeholder for the date/time input.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/readonly.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/readonly.html new file mode 100644 index 00000000..c39736fe --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/readonly.html @@ -0,0 +1,15 @@ + + + +var readonly: Boolean?
+Determines if the date/time input is read-only.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/remove-event-listeners.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/remove-event-listeners.html new file mode 100644 index 00000000..895dbb10 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +open fun removeEventListeners(): Widget
+Overrides Widget.removeEventListeners
+Removes all event listeners from current widget.
+Return
+current widget
var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/set-event-listener.html new file mode 100644 index 00000000..40d2ae32 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/set-event-listener.html @@ -0,0 +1,54 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html
new file mode 100644
index 00000000..790fc0e3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html
@@ -0,0 +1,15 @@
+
+
+
+var showMeridian: Boolean
+Determines if meridian views are visible in day and hour views.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/show-popup.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/show-popup.html new file mode 100644 index 00000000..5755e211 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/show-popup.html @@ -0,0 +1,15 @@ + + + +open fun showPopup(): Unit
+Open date/time chooser popup.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/size.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/size.html new file mode 100644 index 00000000..97bc157a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/size.html @@ -0,0 +1,22 @@ + + + +open var size: INPUTSIZE?
+Overrides FormControl.size
+Input control size.
+Getter
+
Input control size.
+ +Setter
+
Input control size.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html new file mode 100644 index 00000000..9ad572a6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html @@ -0,0 +1,15 @@ + + + +var todayBtn: Boolean
+Determines if Today button should be visible.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html new file mode 100644 index 00000000..4b3281d3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html @@ -0,0 +1,15 @@ + + + +var todayHighlight: Boolean
+Determines if the current day should be highlighted.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html new file mode 100644 index 00000000..8fd72073 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/value.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/value.html new file mode 100644 index 00000000..873f1072 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/value.html @@ -0,0 +1,22 @@ + + + +open var value: Date?
+Overrides DateFormControl.value
+Date/time input value.
+Getter
+
Date value.
+ +Setter
+
Date value.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.time/-date-time/week-start.html b/docs/api/pl.treksoft.kvision.form.time/-date-time/week-start.html new file mode 100644 index 00000000..6dd03632 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/-date-time/week-start.html @@ -0,0 +1,15 @@ + + + +var weekStart: Int
+Day of the week start. 0 (Sunday) to 6 (Saturday).
+ + diff --git a/docs/api/pl.treksoft.kvision.form.time/index.html b/docs/api/pl.treksoft.kvision.form.time/index.html new file mode 100644 index 00000000..ba68c3d3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.time/index.html @@ -0,0 +1,36 @@ + + + +Full-featured date and time input components.
++ + | +
+open class DateTime : SimplePanel, DateFormControl
+Form field date/time chooser component. + |
+
+ + | +
+open class DateTimeInput : Widget
+Basic date/time chooser component. + |
+
open fun getValueAsString(): String?
+Overrides FormControl.getValueAsString
+Returns the value of the control as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value.html new file mode 100644 index 00000000..3e08a58c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +open fun getValue(): Boolean
+Overrides FormControl.getValue
+Returns the value of the control.
+Return
+the value
interface BoolFormControl : FormControl
+Base interface of a form control with a boolean value.
++ + | +
+abstract var value: Boolean
+Boolean value. + |
+
+ + | +
+abstract var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+abstract val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+abstract val input: Component
+The actual input component. + |
+
+ + | +
+abstract var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+abstract val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var validatorError: String?
+Validator error message. + |
+
+ + | +
+open fun getValue(): Boolean
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
+ + | +
+open class CheckBox : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="checkbox". + |
+
+ + | +
+open class Radio : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="radio". + |
+
open fun setValue(v: Any?): Unit
+Overrides FormControl.setValue
+Sets the value of the control.
+abstract var value: Boolean
+Boolean value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value-as-string.html new file mode 100644 index 00000000..8ec76a28 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +open fun getValueAsString(): String?
+Overrides FormControl.getValueAsString
+Returns the value of the control as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value.html new file mode 100644 index 00000000..9f2ce3e6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +open fun getValue(): Date?
+Overrides FormControl.getValue
+Returns the value of the control.
+Return
+the value
interface DateFormControl : FormControl
+Base interface of a form control with a date value.
++ + | +
+abstract var value: Date?
+Date value. + |
+
+ + | +
+abstract var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+abstract val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+abstract val input: Component
+The actual input component. + |
+
+ + | +
+abstract var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+abstract val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var validatorError: String?
+Validator error message. + |
+
+ + | +
+open fun getValue(): Date?
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
+ + | +
+open class DateTime : SimplePanel, DateFormControl
+Form field date/time chooser component. + |
+
open fun setValue(v: Any?): Unit
+Overrides FormControl.setValue
+Sets the value of the control.
+abstract var value: Date?
+Date value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html new file mode 100644 index 00000000..2bd28bd0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html @@ -0,0 +1,14 @@ + + + +HORIZONTAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html
new file mode 100644
index 00000000..603b1c76
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+INLINE
+
+
diff --git a/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/index.html
new file mode 100644
index 00000000..b249e6da
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/index.html
@@ -0,0 +1,33 @@
+
+
+
+enum class FORMTYPE
+Bootstrap form layout options.
++ + | ++ | +
+ + | ++ | +
FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))
+
+forId
- the value of for attribute
+rich
- determines if text can contain HTML code
+classes
- a set of CSS class names
Constructor
+
protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
open class FieldLabel : Tag
+Helper class for HTML label element.
++ + | +
+FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label")) |
+
+ + | +
+var align: ALIGN?
+Text align. + |
+
+ + | +
+var rich: Boolean
+Determines if text can contain HTML code. + |
+
+ + | +
+var text: String?
+Text content of the tag. + |
+
+ + | +
+var type: TAG
+Tag type. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
abstract var disabled: Boolean
+Determines if the field is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/flabel.html b/docs/api/pl.treksoft.kvision.form/-form-control/flabel.html new file mode 100644 index 00000000..51e4d46e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/flabel.html @@ -0,0 +1,15 @@ + + + +abstract val flabel: FieldLabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-form-control/get-value-as-string.html new file mode 100644 index 00000000..671320bf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/get-value-as-string.html @@ -0,0 +1,15 @@ + + + +abstract fun getValueAsString(): String?
+Returns the value of the control as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-form-control/get-value.html new file mode 100644 index 00000000..6ac2fc1e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/get-value.html @@ -0,0 +1,17 @@ + + + +abstract fun getValue(): Any?
+Returns the value of the control.
+Return
+the value
interface FormControl : Component
+Base interface of a form control.
++ + | +
+abstract var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+abstract val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+abstract val input: Component
+The actual input component. + |
+
+ + | +
+abstract var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+abstract val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var validatorError: String?
+Validator error message. + |
+
+ + | +
+abstract var parent: Component?
+Parent of the current component. + |
+
+ + | +
+abstract var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+abstract fun getValue(): Any?
+Returns the value of the control. + |
+
+ + | +
+abstract fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+abstract fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
+ + | +
+abstract fun addCssClass(css: String): Component
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+abstract fun addSurroundingCssClass(css: String): Component
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+abstract fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+abstract fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+abstract fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+abstract fun removeCssClass(css: String): Component
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+abstract fun removeSurroundingCssClass(css: String): Component
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+interface BoolFormControl : FormControl
+Base interface of a form control with a boolean value. + |
+
+ + | +
+interface DateFormControl : FormControl
+Base interface of a form control with a date value. + |
+
+ + | +
+interface NumberFormControl : FormControl
+Base interface of a form control with a numeric value. + |
+
+ + | +
+interface StringFormControl : FormControl
+Base interface of a form control with a text value. + |
+
abstract val input: Component
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/set-value.html b/docs/api/pl.treksoft.kvision.form/-form-control/set-value.html new file mode 100644 index 00000000..ab425936 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/set-value.html @@ -0,0 +1,18 @@ + + + +abstract fun setValue(v: Any?): Unit
+Sets the value of the control.
+abstract var size: INPUTSIZE?
+Input control size.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/validation-info.html b/docs/api/pl.treksoft.kvision.form/-form-control/validation-info.html new file mode 100644 index 00000000..e477d349 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/validation-info.html @@ -0,0 +1,15 @@ + + + +abstract val validationInfo: HelpBlock
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/validator-error.html b/docs/api/pl.treksoft.kvision.form/-form-control/validator-error.html new file mode 100644 index 00000000..9af55095 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/validator-error.html @@ -0,0 +1,15 @@ + + + +open var validatorError: String?
+Validator error message.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html b/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html new file mode 100644 index 00000000..b2cb554d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html @@ -0,0 +1,25 @@ + + + +FormPanel(type: FORMTYPE? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K)
+
+classes
- set of CSS class names
+modelFactory
- function transforming a Map<String, Any?> to a data model of class K
Constructor
+
open fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
+Adds a control to the form panel.
+
+key
- key identifier of the control
+required
- determines if the control is required
+validatorMessage
- optional function returning validation message
+validator
- optional validation function
Return
+current form panel
open fun clearData(): Unit
+Sets the values of all controls to null.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html new file mode 100644 index 00000000..e3e8b15c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html @@ -0,0 +1,20 @@ + + + +open fun getControl(key: String): FormControl?
+Returns a control of given key.
+
+key
- key identifier of the control
Return
+selected control
open fun getDataJson(): Json
+Returns current data model as JSON.
+Return
+data model as JSON
open fun getData(): K
+Returns current data model.
+Return
+data model
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
operator fun get(key: String): Any?
+Returns a value of the control of given key.
+
+key
- key identifier of the control
Return
+value of the control
open class FormPanel<K> : SimplePanel
+Bootstrap form component.
++ + | +
+FormPanel(type: FORMTYPE? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K) |
+
+ + | +
+var validator: (Form<K>) -> Boolean?
+Validation function. + |
+
+ + | +
+var validatorMessage: (Form<K>) -> String?
+Function returning validation message. + |
+
+ + | +
+open fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>
+Adds a control to the form panel. + |
+
+ + | +
+open fun clearData(): Unit
+Sets the values of all controls to null. + |
+
+ + | +
+operator fun get(key: String): Any?
+Returns a value of the control of given key. + |
+
+ + | +
+open fun getControl(key: String): FormControl?
+Returns a control of given key. + |
+
+ + | +
+open fun getData(): K
+Returns current data model. + |
+
+ + | +
+open fun getDataJson(): Json
+Returns current data model as JSON. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun remove(key: String): FormPanel<K>
+Removes a control from the form panel. + |
+
+ + | +
+open fun removeAll(): FormPanel<K>
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setData(model: K): Unit
+Sets the values of all the controls from the model. + |
+
+ + | +
+open fun validate(): Boolean
+Invokes validator function and validates the form. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
open fun removeAll(): FormPanel<K>
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(key: String): FormPanel<K>
+Removes a control from the form panel.
+
+key
- key identifier of the control
Return
+current form panel
protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
open fun setData(model: K): Unit
+Sets the values of all the controls from the model.
+open fun validate(): Boolean
+Invokes validator function and validates the form.
+Return
+validation result
var validatorMessage: (Form<K>) -> String?
+Function returning validation message.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html b/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html new file mode 100644 index 00000000..88081e7c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html @@ -0,0 +1,15 @@ + + + +var validator: (Form<K>) -> Boolean?
+Validation function.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/-init-.html b/docs/api/pl.treksoft.kvision.form/-form/-init-.html new file mode 100644 index 00000000..b703eeca --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/-init-.html @@ -0,0 +1,24 @@ + + + +Form(panel: FormPanel<K>? = null, modelFactory: (Map<String, Any?>) -> K)
+Creates a form with a given modelFactory function
+
+panel
- optional instance of FormPanel
+modelFactory
- function transforming a Map<String, Any?> to a data model of class K
Constructor
+Creates a form with a given modelFactory function
fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
+Adds a control to the form.
+
+key
- key identifier of the control
+required
- determines if the control is required
+validatorMessage
- optional function returning validation message
+validator
- optional validation function
Return
+current form
fun clearData(): Unit
+Sets the values of all controls to null.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/get-control.html b/docs/api/pl.treksoft.kvision.form/-form/get-control.html new file mode 100644 index 00000000..66a7180a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/get-control.html @@ -0,0 +1,20 @@ + + + +fun getControl(key: String): FormControl?
+Returns a control of given key.
+
+key
- key identifier of the control
Return
+selected control
fun getDataJson(): Json
+Returns current data model as JSON.
+Return
+data model as JSON
fun getData(): K
+Returns current data model.
+Return
+data model
operator fun get(key: String): Any?
+Returns a value of the control of given key.
+
+key
- key identifier of the control
Return
+value of the control
class Form<K>
+The form definition class. Can be used directly or indirectly inside a FormPanel.
++ + | +
+Form(panel: FormPanel<K>? = null, modelFactory: (Map<String, Any?>) -> K)
+Creates a form with a given modelFactory function + |
+
+ + | +
+fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
+Adds a control to the form. + |
+
+ + | +
+fun clearData(): Unit
+Sets the values of all controls to null. + |
+
+ + | +
+operator fun get(key: String): Any?
+Returns a value of the control of given key. + |
+
+ + | +
+fun getControl(key: String): FormControl?
+Returns a control of given key. + |
+
+ + | +
+fun getData(): K
+Returns current data model. + |
+
+ + | +
+fun getDataJson(): Json
+Returns current data model as JSON. + |
+
+ + | +
+fun remove(key: String): Form<K>
+Removes a control from the form. + |
+
+ + | +
+fun removeAll(): Form<K>
+Removes all controls from the form. + |
+
+ + | +
+fun setData(model: K): Unit
+Sets the values of all the controls from the model. + |
+
+ + | +
+fun validate(): Boolean
+Invokes validator function and validates the form. + |
+
fun removeAll(): Form<K>
+Removes all controls from the form.
+Return
+current form
fun remove(key: String): Form<K>
+Removes a control from the form.
+
+key
- key identifier of the control
Return
+current form
fun setData(model: K): Unit
+Sets the values of all the controls from the model.
+fun validate(): Boolean
+Invokes validator function and validates the form.
+Return
+validation result
HelpBlock(text: String? = null, rich: Boolean = false)
+
+rich
- determines if text can contain HTML code
Constructor
+
open class HelpBlock : Tag
+Helper class for Bootstrap help block element.
++ + | +
+HelpBlock(text: String? = null, rich: Boolean = false) |
+
+ + | +
+var align: ALIGN?
+Text align. + |
+
+ + | +
+var rich: Boolean
+Determines if text can contain HTML code. + |
+
+ + | +
+var text: String?
+Text content of the tag. + |
+
+ + | +
+var type: TAG
+Tag type. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
LARGE
++ + | +
+val className: String |
+
SMALL
++ + | +
+val className: String |
+
val className: String
+
+
diff --git a/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html
new file mode 100644
index 00000000..9024eb51
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html
@@ -0,0 +1,45 @@
+
+
+
+enum class INPUTSIZE
+Input controls sizes.
++ + | ++ | +
+ + | ++ | +
+ + | +
+val className: String |
+
open fun getValueAsString(): String?
+Overrides FormControl.getValueAsString
+Returns the value of the control as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value.html new file mode 100644 index 00000000..183e7c75 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +open fun getValue(): Number?
+Overrides FormControl.getValue
+Returns the value of the control.
+Return
+the value
interface NumberFormControl : FormControl
+Base interface of a form control with a numeric value.
++ + | +
+abstract var value: Number?
+Numeric value. + |
+
+ + | +
+abstract var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+abstract val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+abstract val input: Component
+The actual input component. + |
+
+ + | +
+abstract var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+abstract val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var validatorError: String?
+Validator error message. + |
+
+ + | +
+open fun getValue(): Number?
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
+ + | +
+open class Spinner : SimplePanel, NumberFormControl
+The form field component for spinner control. + |
+
open fun setValue(v: Any?): Unit
+Overrides FormControl.setValue
+Sets the value of the control.
+abstract var value: Number?
+Numeric value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html new file mode 100644 index 00000000..65693283 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +open fun getValueAsString(): String?
+Overrides FormControl.getValueAsString
+Returns the value of the control as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value.html new file mode 100644 index 00000000..edfa3c58 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +open fun getValue(): String?
+Overrides FormControl.getValue
+Returns the value of the control.
+Return
+the value
interface StringFormControl : FormControl
+Base interface of a form control with a text value.
++ + | +
+abstract var value: String?
+Text value. + |
+
+ + | +
+abstract var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+abstract val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+abstract val input: Component
+The actual input component. + |
+
+ + | +
+abstract var size: INPUTSIZE?
+Input control size. + |
+
+ + | +
+abstract val validationInfo: HelpBlock
+Validation info component. + |
+
+ + | +
+open var validatorError: String?
+Validator error message. + |
+
+ + | +
+open fun getValue(): String?
+Returns the value of the control. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
+ + | +
+abstract class AbstractText : SimplePanel, StringFormControl
+Base class for form field text components. + |
+
+ + | +
+open class RadioGroup : SimplePanel, StringFormControl
+The form field component rendered as a group of HTML input type="radio" elements with the same name attribute. + |
+
+ + | +
+open class Select : SimplePanel, StringFormControl
+The form field component for Select control. + |
+
open fun setValue(v: Any?): Unit
+Overrides FormControl.setValue
+Sets the value of the control.
+abstract var value: String?
+Text value.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/index.html b/docs/api/pl.treksoft.kvision.form/index.html new file mode 100644 index 00000000..936f6b35 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/index.html @@ -0,0 +1,130 @@ + + + +Convenient forms implementation, with support for many different input components and easy to define +validation.
++ + | +
+interface BoolFormControl : FormControl
+Base interface of a form control with a boolean value. + |
+
+ + | +
+interface DateFormControl : FormControl
+Base interface of a form control with a date value. + |
+
+ + | +
+enum class FORMTYPE
+Bootstrap form layout options. + |
+
+ + | +
+open class FieldLabel : Tag
+Helper class for HTML label element. + |
+
+ + | +
+class Form<K>
+The form definition class. Can be used directly or indirectly inside a FormPanel. + |
+
+ + | +
+interface FormControl : Component
+Base interface of a form control. + |
+
+ + | +
+open class FormPanel<K> : SimplePanel
+Bootstrap form component. + |
+
+ + | +
+open class HelpBlock : Tag
+Helper class for Bootstrap help block element. + |
+
+ + | +
+enum class INPUTSIZE
+Input controls sizes. + |
+
+ + | +
+interface NumberFormControl : FormControl
+Base interface of a form control with a numeric value. + |
+
+ + | +
+interface StringFormControl : FormControl
+Base interface of a form control with a text value. + |
+
+ + | ++ | +
fun Map<String, Any?>.asJson(): Json
+Returns map values in JSON format.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/bool.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/bool.html new file mode 100644 index 00000000..2d14417e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/bool.html @@ -0,0 +1,15 @@ + + + +fun Map<String, Any?>.bool(key: String): Boolean?
+Returns given value from the map as a Boolean.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/date.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/date.html new file mode 100644 index 00000000..05ac67b9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/date.html @@ -0,0 +1,15 @@ + + + +fun Map<String, Any?>.date(key: String): Date?
+Returns given value from the map as a Date.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/index.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/index.html new file mode 100644 index 00000000..b50e00d3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/index.html @@ -0,0 +1,61 @@ + + + ++ + | +
+fun Map<String, Any?>.asJson(): Json
+Returns map values in JSON format. + |
+
+ + | +
+fun Map<String, Any?>.bool(key: String): Boolean?
+Returns given value from the map as a Boolean. + |
+
+ + | +
+fun Map<String, Any?>.date(key: String): Date?
+Returns given value from the map as a Date. + |
+
+ + | +
+fun Map<String, Any?>.number(key: String): Number?
+Returns given value from the map as a Number. + |
+
+ + | +
+fun Map<String, Any?>.string(key: String): String?
+Returns given value from the map as a String. + |
+
fun Map<String, Any?>.number(key: String): Number?
+Returns given value from the map as a Number.
+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/string.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/string.html new file mode 100644 index 00000000..33bc31c6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/string.html @@ -0,0 +1,15 @@ + + + +fun Map<String, Any?>.string(key: String): String?
+Returns given value from the map as a String.
+ + diff --git a/docs/api/pl.treksoft.kvision.hmr/-application-base/-init-.html b/docs/api/pl.treksoft.kvision.hmr/-application-base/-init-.html new file mode 100644 index 00000000..2cf4c471 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.hmr/-application-base/-init-.html @@ -0,0 +1,16 @@ + + + +ApplicationBase()
+Base class for applications.
+Base class for applications supporting Hot Module Replacement (HMR).
+ + diff --git a/docs/api/pl.treksoft.kvision.hmr/-application-base/dispose.html b/docs/api/pl.treksoft.kvision.hmr/-application-base/dispose.html new file mode 100644 index 00000000..f8902380 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.hmr/-application-base/dispose.html @@ -0,0 +1,17 @@ + + + +abstract fun dispose(): Map<String, Any>
+Ending point for an application.
+Return
+final state for Hot Module Replacement (HMR).
abstract class ApplicationBase
+Base class for applications.
+Base class for applications supporting Hot Module Replacement (HMR).
++ + | +
+ApplicationBase()
+Base class for applications. + |
+
+ + | +
+abstract fun dispose(): Map<String, Any>
+Ending point for an application. + |
+
+ + | +
+abstract fun start(state: Map<String, Any>): Unit
+Starting point for an application. + |
+
abstract fun start(state: Map<String, Any>): Unit
+Starting point for an application.
+
+state
- Initial state between Hot Module Replacement (HMR).
abstract fun accept(): Unit
abstract fun accept(dependency: String, callback: () -> Unit): Unit
abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit
+
+
diff --git a/docs/api/pl.treksoft.kvision.hmr/-hot/data.html b/docs/api/pl.treksoft.kvision.hmr/-hot/data.html
new file mode 100644
index 00000000..c9783bf7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.hmr/-hot/data.html
@@ -0,0 +1,14 @@
+
+
+
+abstract val data: dynamic
+
+
diff --git a/docs/api/pl.treksoft.kvision.hmr/-hot/dispose.html b/docs/api/pl.treksoft.kvision.hmr/-hot/dispose.html
new file mode 100644
index 00000000..154fd5ce
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.hmr/-hot/dispose.html
@@ -0,0 +1,14 @@
+
+
+
+abstract fun dispose(callback: (dynamic) -> Unit): Unit
+
+
diff --git a/docs/api/pl.treksoft.kvision.hmr/-hot/index.html b/docs/api/pl.treksoft.kvision.hmr/-hot/index.html
new file mode 100644
index 00000000..75b15c36
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.hmr/-hot/index.html
@@ -0,0 +1,47 @@
+
+
+
+external interface Hot
+Helper interface for Hot Module Replacement (HMR).
++ + | +
+abstract val data: dynamic |
+
+ + | +
+abstract fun accept(): Unit + abstract fun accept(dependency: String, callback: () -> Unit): Unit + abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit |
+
+ + | +
+abstract fun dispose(callback: (dynamic) -> Unit): Unit |
+
abstract val hot: Hot?
+
+
diff --git a/docs/api/pl.treksoft.kvision.hmr/-module/index.html b/docs/api/pl.treksoft.kvision.hmr/-module/index.html
new file mode 100644
index 00000000..a1cb37f9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.hmr/-module/index.html
@@ -0,0 +1,26 @@
+
+
+
+external interface Module
+Helper interface for Hot Module Replacement (HMR).
++ + | +
+abstract val hot: Hot? |
+
Helper interfaces and classes necessary to develop applications supporting Hot Module Replacement (HMR).
++ + | +
+abstract class ApplicationBase
+Base class for applications. + |
+
+ + | +
+external interface Hot
+Helper interface for Hot Module Replacement (HMR). + |
+
+ + | +
+external interface Module
+Helper interface for Hot Module Replacement (HMR). + |
+
+ + | +
+external val module: Module
+Helper variable for Hot Module Replacement (HMR). + |
+
external val module: Module
+Helper variable for Hot Module Replacement (HMR).
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-a-l-i-g-n/-c-e-n-t-e-r.html b/docs/api/pl.treksoft.kvision.html/-a-l-i-g-n/-c-e-n-t-e-r.html new file mode 100644 index 00000000..36036d4a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-a-l-i-g-n/-c-e-n-t-e-r.html @@ -0,0 +1,26 @@ + + + +CENTER
++ + | +
+val className: String |
+
JUSTIFY
++ + | +
+val className: String |
+
LEFT
++ + | +
+val className: String |
+
NOWRAP
++ + | +
+val className: String |
+
RIGHT
++ + | +
+val className: String |
+
val className: String
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-a-l-i-g-n/index.html b/docs/api/pl.treksoft.kvision.html/-a-l-i-g-n/index.html
new file mode 100644
index 00000000..3836a50a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-a-l-i-g-n/index.html
@@ -0,0 +1,66 @@
+
+
+
+enum class ALIGN
+CSS align attributes.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | +
+val className: String |
+
LARGE
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/-s-m-a-l-l.html
new file mode 100644
index 00000000..54cd7ba2
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/-s-m-a-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+SMALL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/-x-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/-x-s-m-a-l-l.html
new file mode 100644
index 00000000..5a2348bc
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/-x-s-m-a-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+XSMALL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/index.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/index.html
new file mode 100644
index 00000000..fe801a57
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-i-z-e/index.html
@@ -0,0 +1,40 @@
+
+
+
+enum class BUTTONSIZE
+Button sizes.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
DANGER
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-d-e-f-a-u-l-t.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-d-e-f-a-u-l-t.html
new file mode 100644
index 00000000..c8aebeff
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-d-e-f-a-u-l-t.html
@@ -0,0 +1,14 @@
+
+
+
+DEFAULT
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-i-n-f-o.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-i-n-f-o.html
new file mode 100644
index 00000000..4c07551a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-i-n-f-o.html
@@ -0,0 +1,14 @@
+
+
+
+INFO
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-l-i-n-k.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-l-i-n-k.html
new file mode 100644
index 00000000..4ba377f3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-l-i-n-k.html
@@ -0,0 +1,14 @@
+
+
+
+LINK
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-p-r-i-m-a-r-y.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-p-r-i-m-a-r-y.html
new file mode 100644
index 00000000..e6240d56
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-p-r-i-m-a-r-y.html
@@ -0,0 +1,14 @@
+
+
+
+PRIMARY
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-s-u-c-c-e-s-s.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-s-u-c-c-e-s-s.html
new file mode 100644
index 00000000..612c2c2c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-s-u-c-c-e-s-s.html
@@ -0,0 +1,14 @@
+
+
+
+SUCCESS
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-w-a-r-n-i-n-g.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-w-a-r-n-i-n-g.html
new file mode 100644
index 00000000..b5230533
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/-w-a-r-n-i-n-g.html
@@ -0,0 +1,14 @@
+
+
+
+WARNING
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/index.html b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/index.html
new file mode 100644
index 00000000..3d905d52
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-b-u-t-t-o-n-s-t-y-l-e/index.html
@@ -0,0 +1,68 @@
+
+
+
+enum class BUTTONSTYLE
+Button styles.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
Button(text: String, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
var block: Boolean
+Determines if the button takes all the space horizontally.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-button/disabled.html b/docs/api/pl.treksoft.kvision.html/-button/disabled.html new file mode 100644 index 00000000..9bea66b2 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-button/disabled.html @@ -0,0 +1,15 @@ + + + +var disabled: Boolean
+Determines if button is disabled.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-button/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.html/-button/get-sn-attrs.html new file mode 100644 index 00000000..0c2ad719 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-button/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
var icon: String?
+Button icon.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-button/image.html b/docs/api/pl.treksoft.kvision.html/-button/image.html new file mode 100644 index 00000000..b9ce10c3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-button/image.html @@ -0,0 +1,15 @@ + + + +var image: ResString?
+Button image.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-button/index.html b/docs/api/pl.treksoft.kvision.html/-button/index.html new file mode 100644 index 00000000..aa2f1884 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-button/index.html @@ -0,0 +1,364 @@ + + + +open class Button : Widget
+Button component.
++ + | +
+Button(text: String, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) |
+
+ + | +
+var block: Boolean
+Determines if the button takes all the space horizontally. + |
+
+ + | +
+var disabled: Boolean
+Determines if button is disabled. + |
+
+ + | +
+var icon: String?
+Button icon. + |
+
+ + | +
+var image: ResString?
+Button image. + |
+
+ + | +
+var size: BUTTONSIZE?
+Button size. + |
+
+ + | +
+var style: BUTTONSTYLE
+Button style. + |
+
+ + | +
+var text: String
+Button label. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
+A convenient helper for easy setting onClick event handler. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
+A convenient helper for easy setting onClick event handler.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-button/render.html b/docs/api/pl.treksoft.kvision.html/-button/render.html new file mode 100644 index 00000000..1e23270e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-button/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var size: BUTTONSIZE?
+Button size.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-button/style.html b/docs/api/pl.treksoft.kvision.html/-button/style.html new file mode 100644 index 00000000..15408dc0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-button/style.html @@ -0,0 +1,15 @@ + + + +var style: BUTTONSTYLE
+Button style.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-button/text.html b/docs/api/pl.treksoft.kvision.html/-button/text.html new file mode 100644 index 00000000..603a812b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-button/text.html @@ -0,0 +1,15 @@ + + + +var text: String
+Button label.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-c-i-r-c-l-e.html b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-c-i-r-c-l-e.html new file mode 100644 index 00000000..77177fc0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-c-i-r-c-l-e.html @@ -0,0 +1,14 @@ + + + +CIRCLE
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-r-o-u-n-d-e-d.html b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-r-o-u-n-d-e-d.html
new file mode 100644
index 00000000..761c870b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-r-o-u-n-d-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+ROUNDED
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-t-h-u-m-b-n-a-i-l.html b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-t-h-u-m-b-n-a-i-l.html
new file mode 100644
index 00000000..dd082c1f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/-t-h-u-m-b-n-a-i-l.html
@@ -0,0 +1,14 @@
+
+
+
+THUMBNAIL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/index.html b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/index.html
new file mode 100644
index 00000000..599d7a1d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-i-m-a-g-e-s-h-a-p-e/index.html
@@ -0,0 +1,40 @@
+
+
+
+enum class IMAGESHAPE
+Image shapes.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: IMAGESHAPE? = null, centered: Boolean = false, classes: Set<String> = setOf())
+
+responsive
- determines if the image is rendered as responsive
+centered
- determines if the image is rendered centered
+classes
- a set of CSS class names
Constructor
+
var alt: String?
+The alternative text of the image.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-image/centered.html b/docs/api/pl.treksoft.kvision.html/-image/centered.html new file mode 100644 index 00000000..eeab6899 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-image/centered.html @@ -0,0 +1,15 @@ + + + +var centered: Boolean
+Determines if the image is rendered as centered.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-image/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.html/-image/get-sn-attrs.html new file mode 100644 index 00000000..7867afee --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-image/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class Image : Widget
+Image component.
++ + | +
+Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: IMAGESHAPE? = null, centered: Boolean = false, classes: Set<String> = setOf()) |
+
+ + | +
+var alt: String?
+The alternative text of the image. + |
+
+ + | +
+var centered: Boolean
+Determines if the image is rendered as centered. + |
+
+ + | +
+var responsive: Boolean
+Determines if the image is rendered as responsive. + |
+
+ + | +
+var shape: IMAGESHAPE?
+The shape of the image. + |
+
+ + | +
+var src: ResString
+URL of the image. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var responsive: Boolean
+Determines if the image is rendered as responsive.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-image/shape.html b/docs/api/pl.treksoft.kvision.html/-image/shape.html new file mode 100644 index 00000000..fffca115 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-image/shape.html @@ -0,0 +1,15 @@ + + + +var shape: IMAGESHAPE?
+The shape of the image.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-image/src.html b/docs/api/pl.treksoft.kvision.html/-image/src.html new file mode 100644 index 00000000..a8c16278 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-image/src.html @@ -0,0 +1,15 @@ + + + +var src: ResString
+URL of the image.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-d-l.html b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-d-l.html new file mode 100644 index 00000000..7b161de9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-d-l.html @@ -0,0 +1,14 @@ + + + +DL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-d-l_-h-o-r-i-z.html b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-d-l_-h-o-r-i-z.html
new file mode 100644
index 00000000..742ac7e5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-d-l_-h-o-r-i-z.html
@@ -0,0 +1,14 @@
+
+
+
+DL_HORIZ
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-i-n-l-i-n-e.html b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-i-n-l-i-n-e.html
new file mode 100644
index 00000000..c643e09b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-i-n-l-i-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+INLINE
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-o-l.html b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-o-l.html
new file mode 100644
index 00000000..201c5d9e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-o-l.html
@@ -0,0 +1,14 @@
+
+
+
+OL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-u-l.html b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-u-l.html
new file mode 100644
index 00000000..b058cbc0
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-u-l.html
@@ -0,0 +1,14 @@
+
+
+
+UL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-u-n-s-t-y-l-e-d.html b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-u-n-s-t-y-l-e-d.html
new file mode 100644
index 00000000..2381d59b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/-u-n-s-t-y-l-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+UNSTYLED
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/index.html
new file mode 100644
index 00000000..0389b0cb
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-l-i-s-t-t-y-p-e/index.html
@@ -0,0 +1,61 @@
+
+
+
+enum class LISTTYPE
+HTML list types.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
Label(text: String, rich: Boolean = false)
+
+rich
- determines if text can contain HTML code
Constructor
+
open class Label : Tag
+Simple label component rendered as span.
++ + | +
+Label(text: String, rich: Boolean = false) |
+
+ + | +
+var align: ALIGN?
+Text align. + |
+
+ + | +
+var rich: Boolean
+Determines if text can contain HTML code. + |
+
+ + | +
+var text: String?
+Text content of the tag. + |
+
+ + | +
+var type: TAG
+Tag type. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
var icon: String?
+Link icon.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-link/image.html b/docs/api/pl.treksoft.kvision.html/-link/image.html new file mode 100644 index 00000000..81612fb2 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-link/image.html @@ -0,0 +1,15 @@ + + + +var image: ResString?
+Link image.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-link/index.html b/docs/api/pl.treksoft.kvision.html/-link/index.html new file mode 100644 index 00000000..427355c4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-link/index.html @@ -0,0 +1,158 @@ + + + +open class Link : SimplePanel
+Link component.
++ + | +
+Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var icon: String?
+Link icon. + |
+
+ + | +
+var image: ResString?
+Link image. + |
+
+ + | +
+var label: String
+Link label. + |
+
+ + | +
+var url: String
+Link URL address. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
var label: String
+Link label.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-link/render.html b/docs/api/pl.treksoft.kvision.html/-link/render.html new file mode 100644 index 00000000..295bfb6f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-link/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var url: String
+Link URL address.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-list-tag/-init-.html b/docs/api/pl.treksoft.kvision.html/-list-tag/-init-.html new file mode 100644 index 00000000..6d1f3f95 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-list-tag/-init-.html @@ -0,0 +1,25 @@ + + + +ListTag(type: LISTTYPE, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf())
+
+elements
- optional list of elements
+rich
- determines if elements can contain HTML code
+classes
- a set of CSS class names
Constructor
+
protected open fun childrenVNodes(): Array<VNode>
+Overrides SimplePanel.childrenVNodes
+Returns the array of the children Snabbdom vnodes.
+Return
+array of children vnodes
var elements: List<String>?
+List of elements.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-list-tag/get-sn-class.html b/docs/api/pl.treksoft.kvision.html/-list-tag/get-sn-class.html new file mode 100644 index 00000000..dfc28cbf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-list-tag/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class ListTag : SimplePanel
+HTML list component.
+The list component can be populated directly from elements parameter or manually by adding +any Component to the container.
++ + | +
+ListTag(type: LISTTYPE, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf()) |
+
+ + | +
+var elements: List<String>?
+List of elements. + |
+
+ + | +
+var rich: Boolean
+Determines if elements can contain HTML code. + |
+
+ + | +
+var type: LISTTYPE
+List type. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var rich: Boolean
+Determines if elements can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-list-tag/type.html b/docs/api/pl.treksoft.kvision.html/-list-tag/type.html new file mode 100644 index 00000000..6f853ac3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-list-tag/type.html @@ -0,0 +1,15 @@ + + + +var type: LISTTYPE
+List type.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html new file mode 100644 index 00000000..c461a119 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html @@ -0,0 +1,14 @@ + + + +ABBR
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html
new file mode 100644
index 00000000..f71f09f7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html
@@ -0,0 +1,14 @@
+
+
+
+ADDRESS
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html
new file mode 100644
index 00000000..1ff977df
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+BLOCKQUOTE
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html
new file mode 100644
index 00000000..96dddc39
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+CITE
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html
new file mode 100644
index 00000000..1b83ea9f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html
@@ -0,0 +1,14 @@
+
+
+
+CODE
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html
new file mode 100644
index 00000000..b1ebaa48
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html
@@ -0,0 +1,14 @@
+
+
+
+DEL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html
new file mode 100644
index 00000000..64b36880
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html
@@ -0,0 +1,14 @@
+
+
+
+DIV
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-e-m.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-e-m.html
new file mode 100644
index 00000000..27c72f6f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-e-m.html
@@ -0,0 +1,14 @@
+
+
+
+EM
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html
new file mode 100644
index 00000000..6d7bbd09
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+FOOTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html
new file mode 100644
index 00000000..1fe3e5e4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+HEADER
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h1.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h1.html
new file mode 100644
index 00000000..68573620
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h1.html
@@ -0,0 +1,14 @@
+
+
+
+H1
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h2.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h2.html
new file mode 100644
index 00000000..05e2d5f9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h2.html
@@ -0,0 +1,14 @@
+
+
+
+H2
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h3.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h3.html
new file mode 100644
index 00000000..73270dfa
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h3.html
@@ -0,0 +1,14 @@
+
+
+
+H3
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h4.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h4.html
new file mode 100644
index 00000000..701f1131
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h4.html
@@ -0,0 +1,14 @@
+
+
+
+H4
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h5.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h5.html
new file mode 100644
index 00000000..e58876d2
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h5.html
@@ -0,0 +1,14 @@
+
+
+
+H5
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h6.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h6.html
new file mode 100644
index 00000000..f43ba6a9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h6.html
@@ -0,0 +1,14 @@
+
+
+
+H6
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html
new file mode 100644
index 00000000..4ab40a36
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html
@@ -0,0 +1,14 @@
+
+
+
+INS
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html
new file mode 100644
index 00000000..a343727c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html
@@ -0,0 +1,14 @@
+
+
+
+KBD
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html
new file mode 100644
index 00000000..2e1b29a4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html
@@ -0,0 +1,14 @@
+
+
+
+LABEL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-i.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-i.html
new file mode 100644
index 00000000..82ce67d0
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-i.html
@@ -0,0 +1,14 @@
+
+
+
+LI
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html
new file mode 100644
index 00000000..b1019ff5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html
@@ -0,0 +1,14 @@
+
+
+
+MARK
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-o-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-o-l.html
new file mode 100644
index 00000000..bc732339
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-o-l.html
@@ -0,0 +1,14 @@
+
+
+
+OL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html
new file mode 100644
index 00000000..0e08f247
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html
@@ -0,0 +1,14 @@
+
+
+
+PRE
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-p.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-p.html
new file mode 100644
index 00000000..3969fbc3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-p.html
@@ -0,0 +1,14 @@
+
+
+
+P
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html
new file mode 100644
index 00000000..1f19ebac
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html
@@ -0,0 +1,14 @@
+
+
+
+SAMP
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html
new file mode 100644
index 00000000..8cc4a029
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+SECTION
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html
new file mode 100644
index 00000000..25973d35
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+SMALL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html
new file mode 100644
index 00000000..e56480f5
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html
@@ -0,0 +1,14 @@
+
+
+
+SPAN
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html
new file mode 100644
index 00000000..49d279c2
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html
@@ -0,0 +1,14 @@
+
+
+
+STRONG
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s.html
new file mode 100644
index 00000000..0f0fea89
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s.html
@@ -0,0 +1,14 @@
+
+
+
+S
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-u-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-u-l.html
new file mode 100644
index 00000000..7931b416
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-u-l.html
@@ -0,0 +1,14 @@
+
+
+
+UL
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-u.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-u.html
new file mode 100644
index 00000000..c05c55e8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-u.html
@@ -0,0 +1,14 @@
+
+
+
+U
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html
new file mode 100644
index 00000000..4602af8f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html
@@ -0,0 +1,14 @@
+
+
+
+VAR
+
+
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/index.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/index.html
new file mode 100644
index 00000000..9c7c4f82
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.html/-t-a-g/index.html
@@ -0,0 +1,250 @@
+
+
+
+enum class TAG
+HTML tags.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
Tag(type: TAG, text: String? = null, rich: Boolean = false, align: ALIGN? = null, classes: Set<String> = setOf())
+
+text
- text content of the tag
+rich
- determines if text can contain HTML code
+classes
- a set of CSS class names
Constructor
+
var align: ALIGN?
+Text align.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-tag/get-sn-class.html b/docs/api/pl.treksoft.kvision.html/-tag/get-sn-class.html new file mode 100644 index 00000000..ce622907 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-tag/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class Tag : SimplePanel
+HTML tag component.
++ + | +
+Tag(type: TAG, text: String? = null, rich: Boolean = false, align: ALIGN? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var align: ALIGN?
+Text align. + |
+
+ + | +
+var rich: Boolean
+Determines if text can contain HTML code. + |
+
+ + | +
+var text: String?
+Text content of the tag. + |
+
+ + | +
+var type: TAG
+Tag type. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open class FieldLabel : Tag
+Helper class for HTML label element. + |
+
+ + | +
+open class HelpBlock : Tag
+Helper class for Bootstrap help block element. + |
+
+ + | +
+open class Label : Tag
+Simple label component rendered as span. + |
+
protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var rich: Boolean
+Determines if text can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-tag/text.html b/docs/api/pl.treksoft.kvision.html/-tag/text.html new file mode 100644 index 00000000..b87660b3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-tag/text.html @@ -0,0 +1,15 @@ + + + +var text: String?
+Text content of the tag.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/-tag/type.html b/docs/api/pl.treksoft.kvision.html/-tag/type.html new file mode 100644 index 00000000..f3fdf99c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/-tag/type.html @@ -0,0 +1,15 @@ + + + +var type: TAG
+Tag type.
+ + diff --git a/docs/api/pl.treksoft.kvision.html/index.html b/docs/api/pl.treksoft.kvision.html/index.html new file mode 100644 index 00000000..5c3fccc0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.html/index.html @@ -0,0 +1,126 @@ + + + +Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links and lists.
++ + | +
+enum class ALIGN
+CSS align attributes. + |
+
+ + | +
+enum class BUTTONSIZE
+Button sizes. + |
+
+ + | +
+enum class BUTTONSTYLE
+Button styles. + |
+
+ + | +
+open class Button : Widget
+Button component. + |
+
+ + | +
+enum class IMAGESHAPE
+Image shapes. + |
+
+ + | +
+open class Image : Widget
+Image component. + |
+
+ + | +
+enum class LISTTYPE
+HTML list types. + |
+
+ + | +
+open class Label : Tag
+Simple label component rendered as span. + |
+
+ + | +
+open class Link : SimplePanel
+Link component. + |
+
+ + | +
+open class ListTag : SimplePanel
+HTML list component. + |
+
+ + | +
+enum class TAG
+HTML tags. + |
+
+ + | +
+open class Tag : SimplePanel
+HTML tag component. + |
+
Alert(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null)
+
+rich
- determines if text can contain HTML code
+animation
- determines if animations are used
+callback
- a function called after closing window with OK button
Constructor
+
var align: ALIGN?
+Text align.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/hide.html b/docs/api/pl.treksoft.kvision.modal/-alert/hide.html new file mode 100644 index 00000000..f165c34f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/hide.html @@ -0,0 +1,18 @@ + + + +open fun hide(): Widget
+Overrides Modal.hide
+Makes current widget invisible.
+Return
+current widget
open class Alert : Modal
+Alert window based on Bootstrap modal.
++ + | +
+Alert(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null) |
+
+ + | +
+var align: ALIGN?
+Text align. + |
+
+ + | +
+var rich: Boolean
+Determines if text can contain HTML code. + |
+
+ + | +
+var text: String?
+Window content text. + |
+
+ + | +
+var animation: Boolean
+Determines if animations are used. + |
+
+ + | +
+var caption: String?
+Window content text. + |
+
+ + | +
+var closeButton: Boolean
+Determines if Close button is visible. + |
+
+ + | +
+var size: MODALSIZE?
+Window size. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun addButton(button: Button): Modal
+Adds given button to the bottom section of dialog window. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun removeAllButtons(): Modal
+Removes all buttons from the bottom section of dialog window. + |
+
+ + | +
+open fun removeButton(button: Button): Modal
+Removes given button from the bottom section of dialog window. + |
+
+ + | +
+open fun toggle(): Unit
+Toggle modal window visibility. + |
+
+ + | +
+fun show(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null): Unit
+Helper function for opening Alert window. + |
+
var rich: Boolean
+Determines if text can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/show.html b/docs/api/pl.treksoft.kvision.modal/-alert/show.html new file mode 100644 index 00000000..3109e8c5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/show.html @@ -0,0 +1,30 @@ + + + +fun show(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null): Unit
+Helper function for opening Alert window.
+
+rich
- determines if text can contain HTML code
+animation
- determines if animations are used
+callback
- a function called after closing window with OK button
var text: String?
+Window content text.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-close-icon/-init-.html b/docs/api/pl.treksoft.kvision.modal/-close-icon/-init-.html new file mode 100644 index 00000000..eebb8ae3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-close-icon/-init-.html @@ -0,0 +1,15 @@ + + + +CloseIcon()
+Helper class for close icon component.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-attrs.html new file mode 100644 index 00000000..353a57b1 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class CloseIcon : Widget
+Helper class for close icon component.
++ + | +
+CloseIcon()
+Helper class for close icon component. + |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
Confirm(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
+
+rich
- determines if text can contain HTML code
+animation
- determines if animations are used
+cancelVisible
- determines if Cancel button is visible
+noCallback
- a function called after closing window with No button
+yesCallback
- a function called after closing window with Yes button
Constructor
+
var align: ALIGN?
+Text align.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html b/docs/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html new file mode 100644 index 00000000..ca0f9469 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html @@ -0,0 +1,15 @@ + + + +var cancelVisible: Boolean
+Determines if Cancel button is visible.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/index.html b/docs/api/pl.treksoft.kvision.modal/-confirm/index.html new file mode 100644 index 00000000..125a76b4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/index.html @@ -0,0 +1,217 @@ + + + +open class Confirm : Modal
+Confirm window based on Bootstrap modal.
++ + | +
+Confirm(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null) |
+
+ + | +
+var align: ALIGN?
+Text align. + |
+
+ + | +
+var cancelVisible: Boolean
+Determines if Cancel button is visible. + |
+
+ + | +
+var rich: Boolean
+Determines if text can contain HTML code. + |
+
+ + | +
+var text: String?
+Window content text. + |
+
+ + | +
+var animation: Boolean
+Determines if animations are used. + |
+
+ + | +
+var caption: String?
+Window content text. + |
+
+ + | +
+var closeButton: Boolean
+Determines if Close button is visible. + |
+
+ + | +
+var size: MODALSIZE?
+Window size. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun addButton(button: Button): Modal
+Adds given button to the bottom section of dialog window. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeAllButtons(): Modal
+Removes all buttons from the bottom section of dialog window. + |
+
+ + | +
+open fun removeButton(button: Button): Modal
+Removes given button from the bottom section of dialog window. + |
+
+ + | +
+open fun toggle(): Unit
+Toggle modal window visibility. + |
+
+ + | +
+fun show(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
+Helper function for opening Confirm window. + |
+
var rich: Boolean
+Determines if text can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/show.html b/docs/api/pl.treksoft.kvision.modal/-confirm/show.html new file mode 100644 index 00000000..ff284a12 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/show.html @@ -0,0 +1,34 @@ + + + +fun show(: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
+Helper function for opening Confirm window.
+
+rich
- determines if text can contain HTML code
+animation
- determines if animations are used
+cancelVisible
- determines if Cancel button is visible
+noCallback
- a function called after closing window with No button
+yesCallback
- a function called after closing window with Yes button
var text: String?
+Window content text.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-l-a-r-g-e.html b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-l-a-r-g-e.html new file mode 100644 index 00000000..84104d85 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-l-a-r-g-e.html @@ -0,0 +1,26 @@ + + + +LARGE
++ + | +
+val className: String |
+
SMALL
++ + | +
+val className: String |
+
val className: String
+
+
diff --git a/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/index.html b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/index.html
new file mode 100644
index 00000000..0cc5703d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/index.html
@@ -0,0 +1,45 @@
+
+
+
+enum class MODALSIZE
+Modal window sizes.
++ + | ++ | +
+ + | ++ | +
+ + | +
+val className: String |
+
Modal(: String? = null, closeButton: Boolean = true, size: MODALSIZE? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf())
+
+closeButton
- determines if Close button is visible
+animation
- determines if animations are used
+escape
- determines if dialog can be closed with Esc key
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): SimplePanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun addButton(button: Button): Modal
+Adds given button to the bottom section of dialog window.
+
+button
- a Button component
Return
+this modal
open fun add(child: Component): SimplePanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
protected open fun afterInsert(node: VNode): Unit
+Overrides Widget.afterInsert
+Method called after inserting Snabbdom vnode into the DOM.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/animation.html b/docs/api/pl.treksoft.kvision.modal/-modal/animation.html new file mode 100644 index 00000000..adb207fc --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/animation.html @@ -0,0 +1,15 @@ + + + +var animation: Boolean
+Determines if animations are used.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/caption.html b/docs/api/pl.treksoft.kvision.modal/-modal/caption.html new file mode 100644 index 00000000..33afaf3d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/caption.html @@ -0,0 +1,15 @@ + + + +var caption: String?
+Window content text.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/close-button.html b/docs/api/pl.treksoft.kvision.modal/-modal/close-button.html new file mode 100644 index 00000000..4810bdbb --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/close-button.html @@ -0,0 +1,15 @@ + + + +var closeButton: Boolean
+Determines if Close button is visible.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html new file mode 100644 index 00000000..e10a5b85 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnAttrs(): List<StringPair>
+Overrides Widget.getSnAttrs
+Returns list of element attributes in the form of a List.
+Return
+list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open fun hide(): Widget
+Overrides Widget.hide
+Makes current widget invisible.
+Return
+current widget
open class Modal : SimplePanel
+Configurable modal window based on Bootstrap modal.
++ + | +
+Modal(: String? = null, closeButton: Boolean = true, size: MODALSIZE? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf()) |
+
+ + | +
+var animation: Boolean
+Determines if animations are used. + |
+
+ + | +
+var caption: String?
+Window content text. + |
+
+ + | +
+var closeButton: Boolean
+Determines if Close button is visible. + |
+
+ + | +
+var size: MODALSIZE?
+Window size. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun addButton(button: Button): Modal
+Adds given button to the bottom section of dialog window. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeAllButtons(): Modal
+Removes all buttons from the bottom section of dialog window. + |
+
+ + | +
+open fun removeButton(button: Button): Modal
+Removes given button from the bottom section of dialog window. + |
+
+ + | +
+open fun toggle(): Unit
+Toggle modal window visibility. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open class Alert : Modal
+Alert window based on Bootstrap modal. + |
+
+ + | +
+open class Confirm : Modal
+Confirm window based on Bootstrap modal. + |
+
open fun removeAllButtons(): Modal
+Removes all buttons from the bottom section of dialog window.
+Return
+this modal
open fun removeButton(button: Button): Modal
+Removes given button from the bottom section of dialog window.
+
+button
- a Button component
Return
+this modal
var size: MODALSIZE?
+Window size.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/toggle.html b/docs/api/pl.treksoft.kvision.modal/-modal/toggle.html new file mode 100644 index 00000000..a4c26897 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/toggle.html @@ -0,0 +1,15 @@ + + + +open fun toggle(): Unit
+Toggle modal window visibility.
+ + diff --git a/docs/api/pl.treksoft.kvision.modal/index.html b/docs/api/pl.treksoft.kvision.modal/index.html new file mode 100644 index 00000000..ba17ced7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/index.html @@ -0,0 +1,63 @@ + + + +Classes supporting general purpose Bootstrap modals with convenient helpers for alert and confirm popup dialogs.
++ + | +
+open class Alert : Modal
+Alert window based on Bootstrap modal. + |
+
+ + | +
+open class CloseIcon : Widget
+Helper class for close icon component. + |
+
+ + | +
+open class Confirm : Modal
+Confirm window based on Bootstrap modal. + |
+
+ + | +
+enum class MODALSIZE
+Modal window sizes. + |
+
+ + | +
+open class Modal : SimplePanel
+Configurable modal window based on Bootstrap modal. + |
+
HORIZONTAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-d-i-r-e-c-t-i-o-n/-v-e-r-t-i-c-a-l.html b/docs/api/pl.treksoft.kvision.panel/-d-i-r-e-c-t-i-o-n/-v-e-r-t-i-c-a-l.html
new file mode 100644
index 00000000..bae931c0
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-d-i-r-e-c-t-i-o-n/-v-e-r-t-i-c-a-l.html
@@ -0,0 +1,14 @@
+
+
+
+VERTICAL
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-d-i-r-e-c-t-i-o-n/index.html b/docs/api/pl.treksoft.kvision.panel/-d-i-r-e-c-t-i-o-n/index.html
new file mode 100644
index 00000000..cb6ad4a8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-d-i-r-e-c-t-i-o-n/index.html
@@ -0,0 +1,33 @@
+
+
+
+enum class DIRECTION
+Split panel direction.
++ + | ++ | +
+ + | ++ | +
DockPanel(classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): DockPanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun add(child: Component, position: SIDE): DockPanel
+Adds a component to the dock container.
+
+position
- position in the dock
Return
+current container
open fun add(child: Component): DockPanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
open class DockPanel : SimplePanel
+The container with dock layout (up, down, left, right and center positions).
++ + | +
+DockPanel(classes: Set<String> = setOf()) |
+
+ + | +
+open fun add(child: Component, position: SIDE): DockPanel
+Adds a component to the dock container. +open fun add(child: Component): DockPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): DockPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun remove(child: Component): DockPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): DockPanel
+Removes all children from the current container. + |
+
+ + | +
+open fun removeAt(position: SIDE): DockPanel
+Removes child from given position in the dock. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
open fun removeAll(): DockPanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun removeAt(position: SIDE): DockPanel
+Removes child from given position in the dock.
+
+position
- position in the dock
Return
+current container
open fun remove(child: Component): DockPanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-f-l-e-x-e-n-d.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-f-l-e-x-e-n-d.html
new file mode 100644
index 00000000..538c4ff4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-f-l-e-x-e-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+FLEXEND
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-f-l-e-x-s-t-a-r-t.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-f-l-e-x-s-t-a-r-t.html
new file mode 100644
index 00000000..72a77a8d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-f-l-e-x-s-t-a-r-t.html
@@ -0,0 +1,14 @@
+
+
+
+FLEXSTART
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html
new file mode 100644
index 00000000..9287f290
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEAROUND
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html
new file mode 100644
index 00000000..9c02ef14
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEBETWEEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html
new file mode 100644
index 00000000..2d17120c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html
@@ -0,0 +1,14 @@
+
+
+
+STRETCH
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/index.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/index.html
new file mode 100644
index 00000000..99b8b1c1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-c-o-n-t-e-n-t/index.html
@@ -0,0 +1,61 @@
+
+
+
+enum class FLEXALIGNCONTENT
+CSS flexbox content alignment options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
BASELINE
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-c-e-n-t-e-r.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-c-e-n-t-e-r.html
new file mode 100644
index 00000000..e7b47a52
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-c-e-n-t-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-f-l-e-x-e-n-d.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-f-l-e-x-e-n-d.html
new file mode 100644
index 00000000..2f55b8e8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-f-l-e-x-e-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+FLEXEND
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-f-l-e-x-s-t-a-r-t.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-f-l-e-x-s-t-a-r-t.html
new file mode 100644
index 00000000..849eda14
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-f-l-e-x-s-t-a-r-t.html
@@ -0,0 +1,14 @@
+
+
+
+FLEXSTART
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-s-t-r-e-t-c-h.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-s-t-r-e-t-c-h.html
new file mode 100644
index 00000000..3ce3bc39
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/-s-t-r-e-t-c-h.html
@@ -0,0 +1,14 @@
+
+
+
+STRETCH
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/index.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/index.html
new file mode 100644
index 00000000..d360cd4a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-a-l-i-g-n-i-t-e-m-s/index.html
@@ -0,0 +1,54 @@
+
+
+
+enum class FLEXALIGNITEMS
+CSS flexbox alignments options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
COLUMNREV
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-c-o-l-u-m-n.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-c-o-l-u-m-n.html
new file mode 100644
index 00000000..d71b429f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-c-o-l-u-m-n.html
@@ -0,0 +1,14 @@
+
+
+
+COLUMN
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-r-o-w-r-e-v.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-r-o-w-r-e-v.html
new file mode 100644
index 00000000..a7046c90
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-r-o-w-r-e-v.html
@@ -0,0 +1,14 @@
+
+
+
+ROWREV
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-r-o-w.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-r-o-w.html
new file mode 100644
index 00000000..de193631
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/-r-o-w.html
@@ -0,0 +1,14 @@
+
+
+
+ROW
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/index.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/index.html
new file mode 100644
index 00000000..600509e8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-d-i-r/index.html
@@ -0,0 +1,47 @@
+
+
+
+enum class FLEXDIR
+CSS flexbox directions.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-f-l-e-x-e-n-d.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-f-l-e-x-e-n-d.html
new file mode 100644
index 00000000..218699d1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-f-l-e-x-e-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+FLEXEND
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-f-l-e-x-s-t-a-r-t.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-f-l-e-x-s-t-a-r-t.html
new file mode 100644
index 00000000..fac35d2e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-f-l-e-x-s-t-a-r-t.html
@@ -0,0 +1,14 @@
+
+
+
+FLEXSTART
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-a-r-o-u-n-d.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-a-r-o-u-n-d.html
new file mode 100644
index 00000000..7df83fd7
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-a-r-o-u-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEAROUND
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-b-e-t-w-e-e-n.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-b-e-t-w-e-e-n.html
new file mode 100644
index 00000000..f8a3c4e9
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-b-e-t-w-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEBETWEEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-e-v-e-n-l-y.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-e-v-e-n-l-y.html
new file mode 100644
index 00000000..45da4c1e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/-s-p-a-c-e-e-v-e-n-l-y.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEEVENLY
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/index.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/index.html
new file mode 100644
index 00000000..fbdaec99
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-j-u-s-t-i-f-y/index.html
@@ -0,0 +1,61 @@
+
+
+
+enum class FLEXJUSTIFY
+CSS flexbox justification options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
NOWRAP
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/-w-r-a-p-r-e-v.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/-w-r-a-p-r-e-v.html
new file mode 100644
index 00000000..ce880303
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/-w-r-a-p-r-e-v.html
@@ -0,0 +1,14 @@
+
+
+
+WRAPREV
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/-w-r-a-p.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/-w-r-a-p.html
new file mode 100644
index 00000000..709257e0
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/-w-r-a-p.html
@@ -0,0 +1,14 @@
+
+
+
+WRAP
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/index.html b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/index.html
new file mode 100644
index 00000000..f4c856f1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-f-l-e-x-w-r-a-p/index.html
@@ -0,0 +1,40 @@
+
+
+
+enum class FLEXWRAP
+CSS flexbox wrap modes.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
FlexPanel(direction: FLEXDIR? = null, wrap: FLEXWRAP? = null, justify: FLEXJUSTIFY? = null, alignItems: FLEXALIGNITEMS? = null, alignContent: FLEXALIGNCONTENT? = null, spacing: Int? = null, classes: Set<String> = setOf())
+
+direction
- flexbox direction
+justify
- flexbox content justification
+alignItems
- flexbox items alignment
+alignContent
- flexbox content alignment
+spacing
- spacing between columns/rows
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): FlexPanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FLEXALIGNITEMS? = null, classes: Set<String> = setOf()): FlexPanel
+Adds a component to the flexbox container.
+
+order
- child flexbox ordering
+shrink
- child flexbox shrink
+alignSelf
- child self alignment
+classes
- a set of CSS class names
open fun add(child: Component): FlexPanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
var alignContent: FLEXALIGNCONTENT?
+CSS flexbox content alignment.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html b/docs/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html new file mode 100644 index 00000000..4ecf063c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html @@ -0,0 +1,15 @@ + + + +var alignItems: FLEXALIGNITEMS?
+CSS flexbox items alignment.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-flex-panel/direction.html b/docs/api/pl.treksoft.kvision.panel/-flex-panel/direction.html new file mode 100644 index 00000000..46f75429 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-flex-panel/direction.html @@ -0,0 +1,15 @@ + + + +var direction: FLEXDIR?
+CSS flexbox direction.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html b/docs/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html new file mode 100644 index 00000000..32fccbed --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnStyle(): List<StringPair>
+Overrides StyledComponent.getSnStyle
+Returns the list of String pairs defining CSS style attributes and their values.
+Return
+the list of attributes and their values
open class FlexPanel : SimplePanel
+The container with CSS flexbox layout support.
++ + | +
+FlexPanel(direction: FLEXDIR? = null, wrap: FLEXWRAP? = null, justify: FLEXJUSTIFY? = null, alignItems: FLEXALIGNITEMS? = null, alignContent: FLEXALIGNCONTENT? = null, spacing: Int? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var alignContent: FLEXALIGNCONTENT?
+CSS flexbox content alignment. + |
+
+ + | +
+var alignItems: FLEXALIGNITEMS?
+CSS flexbox items alignment. + |
+
+ + | +
+var direction: FLEXDIR?
+CSS flexbox direction. + |
+
+ + | +
+var justify: FLEXJUSTIFY?
+CSS flexbox content justification. + |
+
+ + | +
+var spacing: Int?
+The spacing between columns/rows. + |
+
+ + | +
+var wrap: FLEXWRAP?
+CSS flexbox wrap mode. + |
+
+ + | +
+fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FLEXALIGNITEMS? = null, classes: Set<String> = setOf()): FlexPanel
+Adds a component to the flexbox container. +open fun add(child: Component): FlexPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): FlexPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values. + |
+
+ + | +
+open fun remove(child: Component): FlexPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): FlexPanel
+Removes all children from the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open class HPanel : FlexPanel
+The container with horizontal layout. + |
+
+ + | +
+open class VPanel : FlexPanel
+The container with vertical layout. + |
+
var justify: FLEXJUSTIFY?
+CSS flexbox content justification.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-flex-panel/remove-all.html b/docs/api/pl.treksoft.kvision.panel/-flex-panel/remove-all.html new file mode 100644 index 00000000..4a5a9db9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-flex-panel/remove-all.html @@ -0,0 +1,18 @@ + + + +open fun removeAll(): FlexPanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(child: Component): FlexPanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
var spacing: Int?
+The spacing between columns/rows.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-flex-panel/wrap.html b/docs/api/pl.treksoft.kvision.panel/-flex-panel/wrap.html new file mode 100644 index 00000000..b370935c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-flex-panel/wrap.html @@ -0,0 +1,15 @@ + + + +var wrap: FLEXWRAP?
+CSS flexbox wrap mode.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-c-e-n-t-e-r.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-c-e-n-t-e-r.html new file mode 100644 index 00000000..393860d0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-c-e-n-t-e-r.html @@ -0,0 +1,14 @@ + + + +CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-e-n-d.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-e-n-d.html
new file mode 100644
index 00000000..28c0c0dc
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-e-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+END
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html
new file mode 100644
index 00000000..0b8f24f8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEAROUND
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html
new file mode 100644
index 00000000..e0d3515f
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEBETWEEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-e-v-e-n-l-y.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-e-v-e-n-l-y.html
new file mode 100644
index 00000000..13315ac3
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-p-a-c-e-e-v-e-n-l-y.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEEVENLY
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-a-r-t.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-a-r-t.html
new file mode 100644
index 00000000..f20552ee
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-a-r-t.html
@@ -0,0 +1,14 @@
+
+
+
+START
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html
new file mode 100644
index 00000000..e86df922
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html
@@ -0,0 +1,14 @@
+
+
+
+STRETCH
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/index.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/index.html
new file mode 100644
index 00000000..5085af30
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/index.html
@@ -0,0 +1,68 @@
+
+
+
+enum class GRIDALIGNCONTENT
+CSS grid content alignment options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-e-n-d.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-e-n-d.html
new file mode 100644
index 00000000..30c600c6
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-e-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+END
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-s-t-a-r-t.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-s-t-a-r-t.html
new file mode 100644
index 00000000..24c1a513
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-s-t-a-r-t.html
@@ -0,0 +1,14 @@
+
+
+
+START
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-s-t-r-e-t-c-h.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-s-t-r-e-t-c-h.html
new file mode 100644
index 00000000..bcc42798
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/-s-t-r-e-t-c-h.html
@@ -0,0 +1,14 @@
+
+
+
+STRETCH
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/index.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/index.html
new file mode 100644
index 00000000..039fa6ca
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-a-l-i-g-n/index.html
@@ -0,0 +1,47 @@
+
+
+
+enum class GRIDALIGN
+CSS grid alignment options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
COLUMNDENSE
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-c-o-l-u-m-n.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-c-o-l-u-m-n.html
new file mode 100644
index 00000000..7f0f575e
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-c-o-l-u-m-n.html
@@ -0,0 +1,14 @@
+
+
+
+COLUMN
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-r-o-w-d-e-n-s-e.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-r-o-w-d-e-n-s-e.html
new file mode 100644
index 00000000..56a010b0
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-r-o-w-d-e-n-s-e.html
@@ -0,0 +1,14 @@
+
+
+
+ROWDENSE
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-r-o-w.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-r-o-w.html
new file mode 100644
index 00000000..8d01ed66
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/-r-o-w.html
@@ -0,0 +1,14 @@
+
+
+
+ROW
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/index.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/index.html
new file mode 100644
index 00000000..015fe9a4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-f-l-o-w/index.html
@@ -0,0 +1,47 @@
+
+
+
+enum class GRIDFLOW
+CSS grid flow options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-e-n-d.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-e-n-d.html
new file mode 100644
index 00000000..df0aea8b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-e-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+END
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html
new file mode 100644
index 00000000..1975765b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-a-r-o-u-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEAROUND
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html
new file mode 100644
index 00000000..bf288989
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-b-e-t-w-e-e-n.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEBETWEEN
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-e-v-e-n-l-y.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-e-v-e-n-l-y.html
new file mode 100644
index 00000000..df5d4ccc
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-p-a-c-e-e-v-e-n-l-y.html
@@ -0,0 +1,14 @@
+
+
+
+SPACEEVENLY
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-t-a-r-t.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-t-a-r-t.html
new file mode 100644
index 00000000..409b92fd
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-t-a-r-t.html
@@ -0,0 +1,14 @@
+
+
+
+START
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html
new file mode 100644
index 00000000..d5aaa485
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/-s-t-r-e-t-c-h.html
@@ -0,0 +1,14 @@
+
+
+
+STRETCH
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/index.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/index.html
new file mode 100644
index 00000000..e50c4a40
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/index.html
@@ -0,0 +1,68 @@
+
+
+
+enum class GRIDJUSTIFYCONTENT
+CSS grid content justification options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-e-n-d.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-e-n-d.html
new file mode 100644
index 00000000..0d747308
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-e-n-d.html
@@ -0,0 +1,14 @@
+
+
+
+END
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-s-t-a-r-t.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-s-t-a-r-t.html
new file mode 100644
index 00000000..1f1050b2
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-s-t-a-r-t.html
@@ -0,0 +1,14 @@
+
+
+
+START
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-s-t-r-e-t-c-h.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-s-t-r-e-t-c-h.html
new file mode 100644
index 00000000..d910868a
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/-s-t-r-e-t-c-h.html
@@ -0,0 +1,14 @@
+
+
+
+STRETCH
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/index.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/index.html
new file mode 100644
index 00000000..e8fff974
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-j-u-s-t-i-f-y/index.html
@@ -0,0 +1,47 @@
+
+
+
+enum class GRIDJUSTIFY
+CSS grid justification options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
LG
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-m-d.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-m-d.html
new file mode 100644
index 00000000..c39b9be1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-m-d.html
@@ -0,0 +1,14 @@
+
+
+
+MD
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-s-m.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-s-m.html
new file mode 100644
index 00000000..ea2b425c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-s-m.html
@@ -0,0 +1,14 @@
+
+
+
+SM
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-x-s.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-x-s.html
new file mode 100644
index 00000000..da1f53db
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/-x-s.html
@@ -0,0 +1,14 @@
+
+
+
+XS
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/index.html b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/index.html
new file mode 100644
index 00000000..fb1c22d1
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-g-r-i-d-s-i-z-e/index.html
@@ -0,0 +1,47 @@
+
+
+
+enum class GRIDSIZE
+Bootstrap grid sizes.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
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())
+
+autoColumns
- grid auto columns
+templateColumns
- grid columns template
+templateRows
- grid rows template
+templateAreas
- grid areas template
+justifyItems
- grid items justification
+alignItems
- grid items alignment
+justifyContent
- flexbox content justification
+alignContent
- flexbox content alignment
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): GridPanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
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
+Adds a component to the grid container.
+
+columnStart
- number of starting column
+rowStart
- number of starting row
+columnEnd
- number of ending column
+rowEnd
- number of ending row
+justifySelf
- child self justification
+alignSelf
- child self alignment
+classes
- a set of CSS class names
Return
+current container
open fun add(child: Component): GridPanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
var alignContent: GRIDALIGNCONTENT?
+CSS grid content alignment.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-items.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-items.html new file mode 100644 index 00000000..954a5f84 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-items.html @@ -0,0 +1,15 @@ + + + +var alignItems: GRIDALIGN?
+CSS grid items alignment.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html new file mode 100644 index 00000000..91f5c6ac --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html @@ -0,0 +1,15 @@ + + + +var autoColumns: String?
+CSS grid auto columns.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html new file mode 100644 index 00000000..d50f531f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html @@ -0,0 +1,15 @@ + + + +var autoFlow: GRIDFLOW?
+CSS grid auto flow.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html new file mode 100644 index 00000000..c83ca29c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html @@ -0,0 +1,15 @@ + + + +var autoRows: String?
+CSS grid auto rows.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/column-gap.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/column-gap.html new file mode 100644 index 00000000..f6915d8c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/column-gap.html @@ -0,0 +1,15 @@ + + + +var columnGap: Int?
+CSS grid column gap.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html new file mode 100644 index 00000000..7cc9dc49 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnStyle(): List<StringPair>
+Overrides StyledComponent.getSnStyle
+Returns the list of String pairs defining CSS style attributes and their values.
+Return
+the list of attributes and their values
open class GridPanel : SimplePanel
+The container with CSS grid layout support.
++ + | +
+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()) |
+
+ + | +
+var alignContent: GRIDALIGNCONTENT?
+CSS grid content alignment. + |
+
+ + | +
+var alignItems: GRIDALIGN?
+CSS grid items alignment. + |
+
+ + | +
+var autoColumns: String?
+CSS grid auto columns. + |
+
+ + | +
+var autoFlow: GRIDFLOW?
+CSS grid auto flow. + |
+
+ + | +
+var autoRows: String?
+CSS grid auto rows. + |
+
+ + | +
+var columnGap: Int?
+CSS grid column gap. + |
+
+ + | +
+var justifyContent: GRIDJUSTIFYCONTENT?
+CSS grid content justification. + |
+
+ + | +
+var justifyItems: GRIDJUSTIFY?
+CSS grid items justification. + |
+
+ + | +
+var rowGap: Int?
+CSS grid row gap. + |
+
+ + | +
+var templateAreas: List<String>?
+CSS grid areas template. + |
+
+ + | +
+var templateColumns: String?
+CSS grid columns template. + |
+
+ + | +
+var templateRows: String?
+CSS grid rows template. + |
+
+ + | +
+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
+Adds a component to the grid container. +open fun add(child: Component): GridPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): GridPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values. + |
+
+ + | +
+open fun remove(child: Component): GridPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): GridPanel
+Removes all children from the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
var justifyContent: GRIDJUSTIFYCONTENT?
+CSS grid content justification.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-items.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-items.html new file mode 100644 index 00000000..1956fad8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-items.html @@ -0,0 +1,15 @@ + + + +var justifyItems: GRIDJUSTIFY?
+CSS grid items justification.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove-all.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove-all.html new file mode 100644 index 00000000..3406e020 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove-all.html @@ -0,0 +1,18 @@ + + + +open fun removeAll(): GridPanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(child: Component): GridPanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
var rowGap: Int?
+CSS grid row gap.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-areas.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-areas.html new file mode 100644 index 00000000..af3c2285 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-areas.html @@ -0,0 +1,15 @@ + + + +var templateAreas: List<String>?
+CSS grid areas template.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-columns.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-columns.html new file mode 100644 index 00000000..af49610e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-columns.html @@ -0,0 +1,15 @@ + + + +var templateColumns: String?
+CSS grid columns template.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-rows.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-rows.html new file mode 100644 index 00000000..ecd4d6f6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/template-rows.html @@ -0,0 +1,15 @@ + + + +var templateRows: String?
+CSS grid rows template.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-wrapper/-init-.html b/docs/api/pl.treksoft.kvision.panel/-grid-wrapper/-init-.html new file mode 100644 index 00000000..3e741d5f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-wrapper/-init-.html @@ -0,0 +1,14 @@ + + + +GridWrapper(delegate: 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())
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-wrapper/get-sn-style.html b/docs/api/pl.treksoft.kvision.panel/-grid-wrapper/get-sn-style.html
new file mode 100644
index 00000000..a4a3f150
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-grid-wrapper/get-sn-style.html
@@ -0,0 +1,18 @@
+
+
+
+protected fun getSnStyle(): List<StringPair>
+Overrides StyledComponent.getSnStyle
+Returns the list of String pairs defining CSS style attributes and their values.
+Return
+the list of attributes and their values
class GridWrapper : WidgetWrapper
++ + | +
+GridWrapper(delegate: 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()) |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
HPanel(wrap: FLEXWRAP? = null, justify: FLEXJUSTIFY? = null, alignItems: FLEXALIGNITEMS? = null, spacing: Int? = null, classes: Set<String> = setOf())
+
+justify
- flexbox content justification
+alignItems
- flexbox items alignment
+spacing
- spacing between columns/rows
+classes
- a set of CSS class names
Constructor
+
open class HPanel : FlexPanel
+The container with horizontal layout.
+This is a special case of the flexbox layout.
++ + | +
+HPanel(wrap: FLEXWRAP? = null, justify: FLEXJUSTIFY? = null, alignItems: FLEXALIGNITEMS? = null, spacing: Int? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var alignContent: FLEXALIGNCONTENT?
+CSS flexbox content alignment. + |
+
+ + | +
+var alignItems: FLEXALIGNITEMS?
+CSS flexbox items alignment. + |
+
+ + | +
+var direction: FLEXDIR?
+CSS flexbox direction. + |
+
+ + | +
+var justify: FLEXJUSTIFY?
+CSS flexbox content justification. + |
+
+ + | +
+var spacing: Int?
+The spacing between columns/rows. + |
+
+ + | +
+var wrap: FLEXWRAP?
+CSS flexbox wrap mode. + |
+
+ + | +
+fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FLEXALIGNITEMS? = null, classes: Set<String> = setOf()): FlexPanel
+Adds a component to the flexbox container. +open fun add(child: Component): FlexPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): FlexPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values. + |
+
+ + | +
+open fun remove(child: Component): FlexPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): FlexPanel
+Removes all children from the current container. + |
+
ResponsiveGridPanel(gridsize: GRIDSIZE = GRIDSIZE.MD, rows: Int = 0, cols: Int = 0, align: ALIGN? = null, classes: Set<String> = setOf())
+
+align
- text align of grid cells
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): ResponsiveGridPanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel
+Adds child component to the grid.
+Return
+this container
open fun add(child: Component): ResponsiveGridPanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
var align: ALIGN?
+Text align of grid cells.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html new file mode 100644 index 00000000..6939014c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html @@ -0,0 +1,133 @@ + + + +open class ResponsiveGridPanel : SimplePanel
+The container with support for Bootstrap responsive grid layout.
++ + | +
+ResponsiveGridPanel(gridsize: GRIDSIZE = GRIDSIZE.MD, rows: Int = 0, cols: Int = 0, align: ALIGN? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var align: ALIGN?
+Text align of grid cells. + |
+
+ + | +
+open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel
+Adds child component to the grid. +open fun add(child: Component): ResponsiveGridPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): ResponsiveGridPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun remove(child: Component): ResponsiveGridPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAt(col: Int, row: Int): ResponsiveGridPanel
+Removes child component at given location (column, row). + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
open fun removeAt(col: Int, row: Int): ResponsiveGridPanel
+Removes child component at given location (column, row).
+Return
+this container
open fun remove(child: Component): ResponsiveGridPanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
Root(id: String, fixed: Boolean = false)
+
+id
- ID attribute of element in the main HTML file
+fixed
- if false, the container is rendered with Bootstrap "container-fluid" class,
+otherwise it's rendered with "container" class (default is false)
Constructor
+
protected fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
class Root : SimplePanel
+Root container.
+This container is bound to the specific element in the main HTML file of the project. +It is always the root of components tree and it is responsible for rendering and updating +Snabbdom virtual DOM.
++ + | +
+Root(id: String, fixed: Boolean = false) |
+
+ + | +
+fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
protected fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
CENTER
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-d-o-w-n.html b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-d-o-w-n.html
new file mode 100644
index 00000000..ee354d67
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-d-o-w-n.html
@@ -0,0 +1,14 @@
+
+
+
+DOWN
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-l-e-f-t.html b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-l-e-f-t.html
new file mode 100644
index 00000000..cf249acb
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-l-e-f-t.html
@@ -0,0 +1,14 @@
+
+
+
+LEFT
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-r-i-g-h-t.html b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-r-i-g-h-t.html
new file mode 100644
index 00000000..3cb2a8fc
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-r-i-g-h-t.html
@@ -0,0 +1,14 @@
+
+
+
+RIGHT
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-u-p.html b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-u-p.html
new file mode 100644
index 00000000..cdac4161
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/-u-p.html
@@ -0,0 +1,14 @@
+
+
+
+UP
+
+
diff --git a/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/index.html b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/index.html
new file mode 100644
index 00000000..a2a3187b
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-s-i-d-e/index.html
@@ -0,0 +1,54 @@
+
+
+
+enum class SIDE
+Dock layout directions.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
SimplePanel(classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
open fun addAll(children: List<Component>): SimplePanel
+Overrides Container.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
protected fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container.
+Return
+current container
open fun add(child: Component): SimplePanel
+Overrides Container.add
+Adds given component to the current container.
+Return
+current container
protected open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes.
+Return
+array of children vnodes
open fun getChildren(): List<Component>
+Overrides Container.getChildren
+Returns a list of children of the current container.
+Return
+list of children
open class SimplePanel : Widget, Container
+Basic container class, rendered as a DIV element with all children directly within.
++ + | +
+SimplePanel(classes: Set<String> = setOf()) |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+open var parent: Component?
+Parent of the current component. + |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addSurroundingCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode. + |
+
+ + | +
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode. + |
+
+ + | +
+open fun afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun afterPostpatch(node: VNode): Unit
+Method called after updating Snabbdom vnode. + |
+
+ + | +
+open fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
+ + | +
+open fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
+ + | +
+open fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
+ + | +
+open fun getSnAttrs(): List<StringPair>
+Returns list of element attributes in the form of a List. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun getSnHooks(): Hooks?
+Returns list of hooks in the form of a Snabbdom Hooks object. + |
+
+ + | +
+open fun getSnOn(): On?
+Returns list of event handlers in the form of a Snabbdom On object. + |
+
+ + | +
+open fun hide(): Widget
+Makes current widget invisible. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+open fun removeSurroundingCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
+ + | +
+open fun render(elementName: String): VNode + open fun render(elementName: String, children: Array<dynamic>): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Sets an event listener for current widget, keeping the actual type of component. +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Sets an event listener for current widget. + |
+
+ + | +
+open fun show(): Widget
+Makes current widget visible. + |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
+ + | +
+abstract class AbstractText : SimplePanel, StringFormControl
+Base class for form field text components. + |
+
+ + | +
+open class CheckBox : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="checkbox". + |
+
+ + | +
+open class DateTime : SimplePanel, DateFormControl
+Form field date/time chooser component. + |
+
+ + | +
+open class DockPanel : SimplePanel
+The container with dock layout (up, down, left, right and center positions). + |
+
+ + | +
+open class DropDown : SimplePanel
+Bootstrap dropdown component. + |
+
+ + | +
+open class FlexPanel : SimplePanel
+The container with CSS flexbox layout support. + |
+
+ + | +
+open class FormPanel<K> : SimplePanel
+Bootstrap form component. + |
+
+ + | +
+open class GridPanel : SimplePanel
+The container with CSS grid layout support. + |
+
+ + | +
+open class Link : SimplePanel
+Link component. + |
+
+ + | +
+open class ListTag : SimplePanel
+HTML list component. + |
+
+ + | +
+open class Modal : SimplePanel
+Configurable modal window based on Bootstrap modal. + |
+
+ + | +
+open class Radio : SimplePanel, BoolFormControl
+The form field component rendered as HTML input type="radio". + |
+
+ + | +
+open class RadioGroup : SimplePanel, StringFormControl
+The form field component rendered as a group of HTML input type="radio" elements with the same name attribute. + |
+
+ + | +
+open class ResponsiveGridPanel : SimplePanel
+The container with support for Bootstrap responsive grid layout. + |
+
+ + | +
+class Root : SimplePanel
+Root container. + |
+
+ + | +
+open class Select : SimplePanel, StringFormControl
+The form field component for Select control. + |
+
+ + | +
+open class SelectInput : SimplePanel
+The basic component for Select control. + |
+
+ + | +
+open class SelectOptGroup : SimplePanel
+The helper container for adding option groups to Select. + |
+
+ + | +
+open class Spinner : SimplePanel, NumberFormControl
+The form field component for spinner control. + |
+
+ + | +
+open class SplitPanel : SimplePanel
+The container with draggable splitter. + |
+
+ + | +
+open class StackPanel : SimplePanel
+The container with only one active (visible) child at any moment. + |
+
+ + | +
+open class TabPanel : SimplePanel
+The container rendering it's children as tabs. + |
+
+ + | +
+open class Tag : SimplePanel
+HTML tag component. + |
+
open fun removeAll(): SimplePanel
+Overrides Container.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(child: Component): SimplePanel
+Overrides Container.remove
+Removes given component from the current container.
+Return
+current container
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
SplitPanel(direction: DIRECTION = DIRECTION.VERTICAL, classes: Set<String> = setOf())
+
+direction
- direction of the splitter
+classes
- a set of CSS class names
Constructor
+
protected open fun childrenVNodes(): Array<VNode>
+Overrides SimplePanel.childrenVNodes
+Returns the array of the children Snabbdom vnodes.
+Return
+array of children vnodes
open class SplitPanel : SimplePanel
+The container with draggable splitter.
+It is required to have exactly two children, for both sides of the splitter. Otherwise it will be +rendered as empty.
++ + | +
+SplitPanel(direction: DIRECTION = DIRECTION.VERTICAL, classes: Set<String> = setOf()) |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
StackPanel(activateLast: Boolean = true, classes: Set<String> = setOf())
+
+activateLast
- determines if added component is automatically activated (default true)
+classes
- a set of CSS class names
Constructor
+
var activeIndex: Int
+The index of active (visible) child.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-stack-panel/add-all.html b/docs/api/pl.treksoft.kvision.panel/-stack-panel/add-all.html new file mode 100644 index 00000000..68dd599c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-stack-panel/add-all.html @@ -0,0 +1,21 @@ + + + +open fun addAll(children: List<Component>): StackPanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun add(panel: Component, route: String): StackPanel
+Adds given component and bounds it's activation to a given route.
+
+route
- JavaScript route to activate given child
Return
+current container
open fun add(child: Component): StackPanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
protected open fun childrenVNodes(): Array<VNode>
+Overrides SimplePanel.childrenVNodes
+Returns the array of the children Snabbdom vnodes.
+Return
+array of children vnodes
open class StackPanel : SimplePanel
+The container with only one active (visible) child at any moment.
+It supports activating children by a JavaScript route.
++ + | +
+StackPanel(activateLast: Boolean = true, classes: Set<String> = setOf()) |
+
+ + | +
+var activeIndex: Int
+The index of active (visible) child. + |
+
+ + | +
+open fun add(panel: Component, route: String): StackPanel
+Adds given component and bounds it's activation to a given route. +open fun add(child: Component): StackPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): StackPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun remove(child: Component): StackPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): StackPanel
+Removes all children from the current container. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
open fun removeAll(): StackPanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(child: Component): StackPanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
TabPanel(classes: Set<String> = setOf())
+
+classes
- a set of CSS class names
Constructor
+
var activeIndex: Int
+The index of active (visible) tab.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-tab-panel/add-all.html b/docs/api/pl.treksoft.kvision.panel/-tab-panel/add-all.html new file mode 100644 index 00000000..73a08956 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-tab-panel/add-all.html @@ -0,0 +1,21 @@ + + + +open fun addAll(children: List<Component>): TabPanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+
+children
- list of child components
Return
+current container
open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel
+Adds new tab and optionally bounds it's activation to a given route.
+
+route
- JavaScript route to activate given child
Return
+current container
open fun add(child: Component): TabPanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Return
+current container
open class TabPanel : SimplePanel
+The container rendering it's children as tabs.
+It supports activating children by a JavaScript route.
++ + | +
+TabPanel(classes: Set<String> = setOf()) |
+
+ + | +
+var activeIndex: Int
+The index of active (visible) tab. + |
+
+ + | +
+open fun add(child: Component): TabPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): TabPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel
+Adds new tab and optionally bounds it's activation to a given route. + |
+
+ + | +
+open fun remove(child: Component): TabPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): TabPanel
+Removes all children from the current container. + |
+
+ + | +
+open fun removeTab(index: Int): TabPanel
+Removes tab at given index. + |
+
+ + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
+ + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
+ + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
open fun removeAll(): TabPanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun removeTab(index: Int): TabPanel
+Removes tab at given index.
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-tab-panel/remove.html b/docs/api/pl.treksoft.kvision.panel/-tab-panel/remove.html new file mode 100644 index 00000000..9e2a04b0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-tab-panel/remove.html @@ -0,0 +1,21 @@ + + + +open fun remove(child: Component): TabPanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
VPanel(justify: FLEXJUSTIFY? = null, alignItems: FLEXALIGNITEMS? = null, spacing: Int? = null, classes: Set<String> = setOf())
+
+justify
- flexbox content justification
+alignItems
- flexbox items alignment
+spacing
- spacing between columns/rows
+classes
- a set of CSS class names
Constructor
+
open class VPanel : FlexPanel
+The container with vertical layout.
+This is a special case of the flexbox layout.
++ + | +
+VPanel(justify: FLEXJUSTIFY? = null, alignItems: FLEXALIGNITEMS? = null, spacing: Int? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var alignContent: FLEXALIGNCONTENT?
+CSS flexbox content alignment. + |
+
+ + | +
+var alignItems: FLEXALIGNITEMS?
+CSS flexbox items alignment. + |
+
+ + | +
+var direction: FLEXDIR?
+CSS flexbox direction. + |
+
+ + | +
+var justify: FLEXJUSTIFY?
+CSS flexbox content justification. + |
+
+ + | +
+var spacing: Int?
+The spacing between columns/rows. + |
+
+ + | +
+var wrap: FLEXWRAP?
+CSS flexbox wrap mode. + |
+
+ + | +
+fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FLEXALIGNITEMS? = null, classes: Set<String> = setOf()): FlexPanel
+Adds a component to the flexbox container. +open fun add(child: Component): FlexPanel
+Adds given component to the current container. + |
+
+ + | +
+open fun addAll(children: List<Component>): FlexPanel
+Adds a list of components to the current container. + |
+
+ + | +
+open fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values. + |
+
+ + | +
+open fun remove(child: Component): FlexPanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): FlexPanel
+Removes all children from the current container. + |
+
Rich set of container classes, supporting both simple use cases and sophisticated layouts (including CSS flexbox, +CSS grid and Bootstrap responsive 12 columns gid).
++ + | +
+enum class DIRECTION
+Split panel direction. + |
+
+ + | +
+open class DockPanel : SimplePanel
+The container with dock layout (up, down, left, right and center positions). + |
+
+ + | +
+enum class FLEXALIGNCONTENT
+CSS flexbox content alignment options. + |
+
+ + | +
+enum class FLEXALIGNITEMS
+CSS flexbox alignments options. + |
+
+ + | +
+enum class FLEXDIR
+CSS flexbox directions. + |
+
+ + | +
+enum class FLEXJUSTIFY
+CSS flexbox justification options. + |
+
+ + | +
+enum class FLEXWRAP
+CSS flexbox wrap modes. + |
+
+ + | +
+open class FlexPanel : SimplePanel
+The container with CSS flexbox layout support. + |
+
+ + | +
+enum class GRIDALIGN
+CSS grid alignment options. + |
+
+ + | +
+enum class GRIDALIGNCONTENT
+CSS grid content alignment options. + |
+
+ + | +
+enum class GRIDFLOW
+CSS grid flow options. + |
+
+ + | +
+enum class GRIDJUSTIFY
+CSS grid justification options. + |
+
+ + | +
+enum class GRIDJUSTIFYCONTENT
+CSS grid content justification options. + |
+
+ + | +
+enum class GRIDSIZE
+Bootstrap grid sizes. + |
+
+ + | +
+open class GridPanel : SimplePanel
+The container with CSS grid layout support. + |
+
+ + | +
+class GridWrapper : WidgetWrapper |
+
+ + | +
+open class HPanel : FlexPanel
+The container with horizontal layout. + |
+
+ + | +
+open class ResponsiveGridPanel : SimplePanel
+The container with support for Bootstrap responsive grid layout. + |
+
+ + | +
+class Root : SimplePanel
+Root container. + |
+
+ + | +
+enum class SIDE
+Dock layout directions. + |
+
+ + | +
+open class SimplePanel : Widget, Container
+Basic container class, rendered as a DIV element with all children directly within. + |
+
+ + | +
+open class SplitPanel : SimplePanel
+The container with draggable splitter. + |
+
+ + | +
+open class StackPanel : SimplePanel
+The container with only one active (visible) child at any moment. + |
+
+ + | +
+open class TabPanel : SimplePanel
+The container rendering it's children as tabs. + |
+
+ + | +
+open class VPanel : FlexPanel
+The container with vertical layout. + |
+
Routing()
+A helper class for Navigo JavaScript router.
+ + diff --git a/docs/api/pl.treksoft.kvision.routing/-routing/index.html b/docs/api/pl.treksoft.kvision.routing/-routing/index.html new file mode 100644 index 00000000..dd462c32 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.routing/-routing/index.html @@ -0,0 +1,51 @@ + + + +open class Routing
+A helper class for Navigo JavaScript router.
++ + | +
+Routing()
+A helper class for Navigo JavaScript router. + |
+
+ + | +
+fun shutdown(): Unit
+Shutdown default routing. + |
+
+ + | +
+fun start(): Unit
+Init default routing. + |
+
fun shutdown(): Unit
+Shutdown default routing.
+ + diff --git a/docs/api/pl.treksoft.kvision.routing/-routing/start.html b/docs/api/pl.treksoft.kvision.routing/-routing/start.html new file mode 100644 index 00000000..d63b784a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.routing/-routing/start.html @@ -0,0 +1,15 @@ + + + +fun start(): Unit
+Init default routing.
+ + diff --git a/docs/api/pl.treksoft.kvision.routing/index.html b/docs/api/pl.treksoft.kvision.routing/index.html new file mode 100644 index 00000000..26532121 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.routing/index.html @@ -0,0 +1,41 @@ + + + +Simple and easy to use JavaScript router wrapper.
++ + | +
+open class Routing
+A helper class for Navigo JavaScript router. + |
+
+ + | +
+var routing: Routing
+Default JavaScript router. + |
+
var routing: Routing
+Default JavaScript router.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/-e-n-t-e-r_-k-e-y.html b/docs/api/pl.treksoft.kvision.utils/-e-n-t-e-r_-k-e-y.html new file mode 100644 index 00000000..a52032a2 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/-e-n-t-e-r_-k-e-y.html @@ -0,0 +1,15 @@ + + + +const val ENTER_KEY: Int
+Keycode of the ENTER key.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/-e-s-c_-k-e-y.html b/docs/api/pl.treksoft.kvision.utils/-e-s-c_-k-e-y.html new file mode 100644 index 00000000..00763a70 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/-e-s-c_-k-e-y.html @@ -0,0 +1,15 @@ + + + +const val ESC_KEY: Int
+Keycode of the ESC key.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/-kv-event/-init-.html b/docs/api/pl.treksoft.kvision.utils/-kv-event/-init-.html new file mode 100644 index 00000000..f2204522 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/-kv-event/-init-.html @@ -0,0 +1,15 @@ + + + +KvEvent(type: String, eventInitDict: CustomEventInit)
+Helper class for defining custom events.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/-kv-event/detail.html b/docs/api/pl.treksoft.kvision.utils/-kv-event/detail.html new file mode 100644 index 00000000..a047de16 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/-kv-event/detail.html @@ -0,0 +1,14 @@ + + + +val detail: KvJQueryEventObject
+
+
diff --git a/docs/api/pl.treksoft.kvision.utils/-kv-event/index.html b/docs/api/pl.treksoft.kvision.utils/-kv-event/index.html
new file mode 100644
index 00000000..5a47c9f4
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.utils/-kv-event/index.html
@@ -0,0 +1,40 @@
+
+
+
+class KvEvent : CustomEvent
+Helper class for defining custom events.
++ + | +
+KvEvent(type: String, eventInitDict: CustomEventInit)
+Helper class for defining custom events. + |
+
+ + | +
+val detail: KvJQueryEventObject |
+
Object()
+JavaScript Object type
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/-object/index.html b/docs/api/pl.treksoft.kvision.utils/-object/index.html new file mode 100644 index 00000000..69ec7171 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/-object/index.html @@ -0,0 +1,28 @@ + + + +external class Object
+JavaScript Object type
++ + | +
+Object()
+JavaScript Object type + |
+
fun auto(): CssSize
+Helper function to describe CSS auto value.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/index.html b/docs/api/pl.treksoft.kvision.utils/index.html new file mode 100644 index 00000000..774a317d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/index.html @@ -0,0 +1,160 @@ + + + +Interfaces and helper functions for Snabbdom virtual dom implementation and a few useful extension functions.
++ + | +
+class KvEvent : CustomEvent
+Helper class for defining custom events. + |
+
+ + | +
+external class Object
+JavaScript Object type + |
+
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | +
+const val ENTER_KEY: Int
+Keycode of the ENTER key. + |
+
+ + | +
+const val ESC_KEY: Int
+Keycode of the ESC key. + |
+
+ + | +
+fun auto(): CssSize
+Helper function to describe CSS auto value. + |
+
+ + | +
+fun obj(init: dynamic.() -> Unit): dynamic
+Helper function for creating JavaScript objects. + |
+
+ + | +
+fun snAttrs(pairs: List<StringPair>): Attrs
+Helper function for creating attributes parameters for Snabbdom. + |
+
+ + | +
+fun snClasses(pairs: List<StringBoolPair>): Classes
+Helper function for creating classes parameters for Snabbdom. + |
+
+ + | +
+fun snOpt(block: VNodeData.() -> Unit): VNodeData
+Helper function for creating object parameters for Snabbdom. + |
+
+ + | +
+fun snProps(pairs: List<StringPair>): Props
+Helper function for creating properties parameters for Snabbdom. + |
+
+ + | +
+fun snStyle(pairs: List<StringPair>): VNodeStyle
+Helper function for creating style parameters for Snabbdom. + |
+
fun Int.ch(): CssSize
+Extension function to convert Int to CSS ch units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/cm.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/cm.html new file mode 100644 index 00000000..b6ef25a2 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/cm.html @@ -0,0 +1,15 @@ + + + +fun Int.cm(): CssSize
+Extension function to convert Int to CSS cm units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/em.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/em.html new file mode 100644 index 00000000..5b7a0f27 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/em.html @@ -0,0 +1,15 @@ + + + +fun Int.em(): CssSize
+Extension function to convert Int to CSS em units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/in.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/in.html new file mode 100644 index 00000000..3e9df64b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/in.html @@ -0,0 +1,15 @@ + + + +fun Int.in(): CssSize
+Extension function to convert Int to CSS in units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/index.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/index.html new file mode 100644 index 00000000..3f97423f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/index.html @@ -0,0 +1,151 @@ + + + ++ + | +
+fun Int.ch(): CssSize
+Extension function to convert Int to CSS ch units. + |
+
+ + | +
+fun Int.cm(): CssSize
+Extension function to convert Int to CSS cm units. + |
+
+ + | +
+fun Int.em(): CssSize
+Extension function to convert Int to CSS em units. + |
+
+ + | +
+fun Int.in(): CssSize
+Extension function to convert Int to CSS in units. + |
+
+ + | +
+fun Int.mm(): CssSize
+Extension function to convert Int to CSS mm units. + |
+
+ + | +
+fun Int.pc(): CssSize
+Extension function to convert Int to CSS pc units. + |
+
+ + | +
+fun Int.perc(): CssSize
+Extension function to convert Int to CSS percent units. + |
+
+ + | +
+fun Int.pt(): CssSize
+Extension function to convert Int to CSS pt units. + |
+
+ + | +
+fun Int.px(): CssSize
+Extension function to convert Int to CSS px units. + |
+
+ + | +
+fun Int.rem(): CssSize
+Extension function to convert Int to CSS rem units. + |
+
+ + | +
+fun Int.toHexString(): String
+Extension function to convert Int to hex format. + |
+
+ + | +
+fun Int.vh(): CssSize
+Extension function to convert Int to CSS vh units. + |
+
+ + | +
+fun Int.vmax(): CssSize
+Extension function to convert Int to CSS vmax units. + |
+
+ + | +
+fun Int.vmin(): CssSize
+Extension function to convert Int to CSS vmin units. + |
+
+ + | +
+fun Int.vw(): CssSize
+Extension function to convert Int to CSS vw units. + |
+
fun Int.mm(): CssSize
+Extension function to convert Int to CSS mm units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/pc.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/pc.html new file mode 100644 index 00000000..a5a1aedc --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/pc.html @@ -0,0 +1,15 @@ + + + +fun Int.pc(): CssSize
+Extension function to convert Int to CSS pc units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/perc.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/perc.html new file mode 100644 index 00000000..5a066301 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/perc.html @@ -0,0 +1,15 @@ + + + +fun Int.perc(): CssSize
+Extension function to convert Int to CSS percent units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/pt.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/pt.html new file mode 100644 index 00000000..400240b4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/pt.html @@ -0,0 +1,15 @@ + + + +fun Int.pt(): CssSize
+Extension function to convert Int to CSS pt units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/px.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/px.html new file mode 100644 index 00000000..2807b70c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/px.html @@ -0,0 +1,15 @@ + + + +fun Int.px(): CssSize
+Extension function to convert Int to CSS px units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/rem.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/rem.html new file mode 100644 index 00000000..053f3393 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/rem.html @@ -0,0 +1,15 @@ + + + +fun Int.rem(): CssSize
+Extension function to convert Int to CSS rem units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/to-hex-string.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/to-hex-string.html new file mode 100644 index 00000000..5456861b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/to-hex-string.html @@ -0,0 +1,15 @@ + + + +fun Int.toHexString(): String
+Extension function to convert Int to hex format.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vh.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vh.html new file mode 100644 index 00000000..90428fb0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vh.html @@ -0,0 +1,15 @@ + + + +fun Int.vh(): CssSize
+Extension function to convert Int to CSS vh units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vmax.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vmax.html new file mode 100644 index 00000000..92abd0e5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vmax.html @@ -0,0 +1,15 @@ + + + +fun Int.vmax(): CssSize
+Extension function to convert Int to CSS vmax units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vmin.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vmin.html new file mode 100644 index 00000000..963efdf3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vmin.html @@ -0,0 +1,15 @@ + + + +fun Int.vmin(): CssSize
+Extension function to convert Int to CSS vmin units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vw.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vw.html new file mode 100644 index 00000000..e312a36c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-int/vw.html @@ -0,0 +1,15 @@ + + + +fun Int.vw(): CssSize
+Extension function to convert Int to CSS vw units.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-pair/as-string.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-pair/as-string.html new file mode 100644 index 00000000..3c85d273 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-pair/as-string.html @@ -0,0 +1,15 @@ + + + +fun CssSize.asString(): String
+Extension function to convert CssSize to String.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/kotlin.-pair/index.html b/docs/api/pl.treksoft.kvision.utils/kotlin.-pair/index.html new file mode 100644 index 00000000..8113974a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/kotlin.-pair/index.html @@ -0,0 +1,25 @@ + + + ++ + | +
+fun CssSize.asString(): String
+Extension function to convert CssSize to String. + |
+
+ + | +
+fun String.toDateF(format: String = "YYYY-MM-DD HH:mm:ss"): Date
+Extension function to convert String to Date with a given date format. + |
+
fun String.toDateF(format: String = "YYYY-MM-DD HH:mm:ss"): Date
+Extension function to convert String to Date with a given date format.
+Return
+Date object
+ + | +
+fun Date.toStringF(format: String = "YYYY-MM-DD HH:mm:ss"): String
+Extension function to convert Date to String with a given date format. + |
+
fun Date.toStringF(format: String = "YYYY-MM-DD HH:mm:ss"): String
+Extension function to convert Date to String with a given date format.
+Return
+String object
fun obj(init: dynamic.() -> Unit): dynamic
+Helper function for creating JavaScript objects.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/sn-attrs.html b/docs/api/pl.treksoft.kvision.utils/sn-attrs.html new file mode 100644 index 00000000..90213acd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/sn-attrs.html @@ -0,0 +1,15 @@ + + + +fun snAttrs(pairs: List<StringPair>): Attrs
+Helper function for creating attributes parameters for Snabbdom.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/sn-classes.html b/docs/api/pl.treksoft.kvision.utils/sn-classes.html new file mode 100644 index 00000000..67764fc5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/sn-classes.html @@ -0,0 +1,15 @@ + + + +fun snClasses(pairs: List<StringBoolPair>): Classes
+Helper function for creating classes parameters for Snabbdom.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/sn-opt.html b/docs/api/pl.treksoft.kvision.utils/sn-opt.html new file mode 100644 index 00000000..79eb495b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/sn-opt.html @@ -0,0 +1,15 @@ + + + +fun snOpt(block: VNodeData.() -> Unit): VNodeData
+Helper function for creating object parameters for Snabbdom.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/sn-props.html b/docs/api/pl.treksoft.kvision.utils/sn-props.html new file mode 100644 index 00000000..5d484729 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/sn-props.html @@ -0,0 +1,15 @@ + + + +fun snProps(pairs: List<StringPair>): Props
+Helper function for creating properties parameters for Snabbdom.
+ + diff --git a/docs/api/pl.treksoft.kvision.utils/sn-style.html b/docs/api/pl.treksoft.kvision.utils/sn-style.html new file mode 100644 index 00000000..842351af --- /dev/null +++ b/docs/api/pl.treksoft.kvision.utils/sn-style.html @@ -0,0 +1,15 @@ + + + +fun snStyle(pairs: List<StringPair>): VNodeStyle
+Helper function for creating style parameters for Snabbdom.
+ + diff --git a/docs/style.css b/docs/style.css new file mode 100644 index 00000000..914be69d --- /dev/null +++ b/docs/style.css @@ -0,0 +1,283 @@ +@import url(https://fonts.googleapis.com/css?family=Open+Sans:300i,400,700); + +body, table { + padding:50px; + font:14px/1.5 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif; + color:#555; + font-weight:300; + margin-left: auto; + margin-right: auto; + max-width: 1440px; +} + +.keyword { + color:black; + font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; + font-size:12px; +} + +.symbol { + font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; + font-size:12px; +} + +.identifier { + color: darkblue; + font-size:12px; + font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; +} + +h1, h2, h3, h4, h5, h6 { + color:#222; + margin:0 0 20px; +} + +p, ul, ol, table, pre, dl { + margin:0 0 20px; +} + +h1, h2, h3 { + line-height:1.1; +} + +h1 { + font-size:28px; +} + +h2 { + color:#393939; +} + +h3, h4, h5, h6 { + color:#494949; +} + +a { + color:#258aaf; + font-weight:400; + text-decoration:none; +} + +a:hover { + color: inherit; + text-decoration:underline; +} + +a small { + font-size:11px; + color:#555; + margin-top:-0.6em; + display:block; +} + +.wrapper { + width:860px; + margin:0 auto; +} + +blockquote { + border-left:1px solid #e5e5e5; + margin:0; + padding:0 0 0 20px; + font-style:italic; +} + +code, pre { + font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; + color:#333; + font-size:12px; +} + +pre { + display: block; +/* + padding:8px 8px; + background: #f8f8f8; + border-radius:5px; + border:1px solid #e5e5e5; +*/ + overflow-x: auto; +} + +table { + width:100%; + border-collapse:collapse; +} + +th, td { + text-align:left; + vertical-align: top; + padding:5px 10px; +} + +dt { + color:#444; + font-weight:700; +} + +th { + color:#444; +} + +img { + max-width:100%; +} + +header { + width:270px; + float:left; + position:fixed; +} + +header ul { + list-style:none; + height:40px; + + padding:0; + + background: #eee; + background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd)); + background: -webkit-linear-gradient(top, #f8f8f8 0%,#dddddd 100%); + background: -o-linear-gradient(top, #f8f8f8 0%,#dddddd 100%); + background: -ms-linear-gradient(top, #f8f8f8 0%,#dddddd 100%); + background: linear-gradient(top, #f8f8f8 0%,#dddddd 100%); + + border-radius:5px; + border:1px solid #d2d2d2; + box-shadow:inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0; + width:270px; +} + +header li { + width:89px; + float:left; + border-right:1px solid #d2d2d2; + height:40px; +} + +header ul a { + line-height:1; + font-size:11px; + color:#999; + display:block; + text-align:center; + padding-top:6px; + height:40px; +} + +strong { + color:#222; + font-weight:700; +} + +header ul li + li { + width:88px; + border-left:1px solid #fff; +} + +header ul li + li + li { + border-right:none; + width:89px; +} + +header ul a strong { + font-size:14px; + display:block; + color:#222; +} + +section { + width:500px; + float:right; + padding-bottom:50px; +} + +small { + font-size:11px; +} + +hr { + border:0; + background:#e5e5e5; + height:1px; + margin:0 0 20px; +} + +footer { + width:270px; + float:left; + position:fixed; + bottom:50px; +} + +@media print, screen and (max-width: 960px) { + + div.wrapper { + width:auto; + margin:0; + } + + header, section, footer { + float:none; + position:static; + width:auto; + } + + header { + padding-right:320px; + } + + section { + border:1px solid #e5e5e5; + border-width:1px 0; + padding:20px 0; + margin:0 0 20px; + } + + header a small { + display:inline; + } + + header ul { + position:absolute; + right:50px; + top:52px; + } +} + +@media print, screen and (max-width: 720px) { + body { + word-wrap:break-word; + } + + header { + padding:0; + } + + header ul, header p.view { + position:static; + } + + pre, code { + word-wrap:normal; + } +} + +@media print, screen and (max-width: 480px) { + body { + padding:15px; + } + + header ul { + display:none; + } +} + +@media print { + body { + padding:0.4in; + font-size:12pt; + color:#444; + } +} -- cgit