From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros Invalid feedback component. Validation info component. Input control validation status. Makes the input element focused. Style form control element for horizontal form panel. Style form control element for inline form panel. Style form control element for vertical form panel. Helper function for creating JavaScript objects from dynamic constructors. Invalid feedback component. Validation info component. Input control validation status. Makes the input element focused. Style form control element for horizontal form panel. Style form control element for inline form panel. Style form control element for vertical form panel. Helper function for creating JavaScript objects from dynamic constructors. DSL builder extension function. It takes the same parameters as the constructor of the built component. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. Extension function to set serializable object as a template data. DSL builder extension function. DSL builder extension function with VPanel default. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. Sets context menu for the current widget. Extension function to set serializable object as a template data. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function for updateable redux content. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function for general redux store. DSL builder extension function for dedicated redux store (backed with a list). DSL builder extension function for dynamic data (send within options parameter). DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. DSL builder extension function. Invalid feedback component. Validation info component. Input control validation status. Sets the value of the control. Style form control element for horizontal form panel. Style form control element for inline form panel. Style form control element for vertical form panel. Helper function for creating JavaScript objects from dynamic constructors. Invalid feedback component. Style form control element for horizontal form panel. Style form control element for inline form panel. Style form control element for vertical form panel. Validation info component. Input control validation status. Input control field size. Input control validation status. Helper function for creating JavaScript objects from dynamic constructors. Basic date/time chooser component. Input control validation status.
+
+
+
+
+
+abstract val invalidFeedback: InvalidFeedback
+
+
@@ -74,11 +83,11 @@
-
+
-
abstract val validationInfo: HelpBlock
-open var validationStatus: ValidationStatus?
+
@@ -145,6 +154,33 @@
+
+
+
+
+
+
+
+open fun styleForHorizontalFormPanel(): Unit
+
+
+
+
+
+
+
+open fun styleForInlineFormPanel(): Unit
+
+
+
+
+
+
+open fun styleForVerticalFormPanel(): Unit
+Extension Functions
@@ -152,6 +188,41 @@
+
+
+
+
+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.addBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.addBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+
+
@@ -159,6 +230,41 @@
+
+
+
+
+
+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.removeBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
Inheritors
diff --git a/api/pl.treksoft.kvision.form/-date-form-control/index.html b/api/pl.treksoft.kvision.form/-date-form-control/index.html
index 4f8e4e44..2c1c3859 100644
--- a/api/pl.treksoft.kvision.form/-date-form-control/index.html
+++ b/api/pl.treksoft.kvision.form/-date-form-control/index.html
@@ -56,6 +56,15 @@
+
+
+
+
+
+abstract val invalidFeedback: InvalidFeedback
+
+
@@ -74,11 +83,11 @@
-
+
-
abstract val validationInfo: HelpBlock
-open var validationStatus: ValidationStatus?
+
@@ -145,6 +154,33 @@
+
+
+
+
+
+
+
+open fun styleForHorizontalFormPanel(): Unit
+
+
+
+
+
+
+
+open fun styleForInlineFormPanel(): Unit
+
+
+
+
+
+
+open fun styleForVerticalFormPanel(): Unit
+Extension Functions
@@ -152,6 +188,41 @@
+
+
+
+
+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.addBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.addBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+
+
@@ -159,6 +230,41 @@
+
+
+
+
+
+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.removeBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
Inheritors
diff --git a/api/pl.treksoft.kvision.form/-field-label/field-label.html b/api/pl.treksoft.kvision.form/-field-label/field-label.html
deleted file mode 100644
index 274fb73b..00000000
--- a/api/pl.treksoft.kvision.form/-field-label/field-label.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-fieldLabel
-
-fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel
-Companion Object Functions
+Extension Functions
-
+
-
+
+
+
+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.addBsClearfix(): Unit
+
+
+
-
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel
+fun Component.addBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+
+
+
+
+
+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
+
+
+
+
+
+
+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
+
+
+
+
+
+
+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+
+
+
+
+
+
+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
+
+
+
+
+
+
+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
+
+
+
+
+
+
+
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
+
+
+
+
+
+
+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput
+
+
-
-
+
+
+
+
fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu
Extension Functions
-
-
@@ -153,12 +246,667 @@
+
-
+
-
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
-fun <K : Any> Template.setData(obj: K): Unit
-fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT>
+fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel>
+
+
+
+
+
+
+
+fun Container.dateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: (DateTime.() -> Unit)? = null): DateTime
+
+
+
+
+
+
+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput
+
+
+
+
+
+
+
+fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div
+
+
+
+
+
+
+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel
+
+
+
+
+
+
+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, : Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown
+
+
+
+
+
+
+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel
+
+
+
+
+
+
+
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel
+
+
+
+
+
+
+
+fun Container.footer(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Footer.() -> Unit)? = null): Footer
+
+
+
+
+
+
+
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
+
+
+
+
+
+
+
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel
+
+
+
+
+
+
+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1
+
+
+
+
+
+
+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2
+
+
+
+
+
+
+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3
+
+
+
+
+
+
+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4
+
+
+
+
+
+
+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5
+
+
+
+
+
+
+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6
+
+
+
+
+
+
+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header
+
+
+
+
+
+
+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel
+
+
+
+
+
+
+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon
+
+
+
+
+
+
+
+fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: (Iframe.() -> Unit)? = null): Iframe
+
+
+
+
+
+
+
+fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image
+
+
+
+
+
+
+
+fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
+
+
+
+
+
+
+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag
+
+
+
+
+
+
+
+fun Container.navbar(: String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null): Navbar
+
+
+
+
+
+
+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P
+
+
+
+
+
+
+
+fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Password.() -> Unit)? = null): Password
+
+
+
+
+
+
+
+fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null): ProgressBar
+
+
+
+
+
+
+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio
+
+
+
+
+
+
+
+fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: (RadioGroup.() -> Unit)? = null): RadioGroup
+
+
+
+
+
+
+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput
+
+
+
+
+
+
+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput
+
+
+
+
+
+
+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.removeBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+
+
+
+
+
+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel
+
+
+
+
+
+
+
+fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText
+
+
+
+
+
+
+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput
+
+
+
+
+
+
+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section
+
+
+
+
+
+
+
+fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (Select.() -> Unit)? = null): Select
+
+
+
+
+
+
+
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput
+
+
+
+
+
+
+
+fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T>
+
+
+
+
+
+
+
+fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>
+
+
+
+
+
+
+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget
+
+
+
+
+
+
+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit
+
+
+
+
+
+
+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel
+
+
+
+
+
+
+
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect
+
+
+
+
+
+
+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput
+
+
+
+
+
+
+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span
+
+
+
+
+
+
+
+fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner
+
+
+
+
+
+
+
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
+
+
+
+
+
+
+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel
+
+
+
+
+
+
+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel
+
+
+
+
+
+
+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit>
+
+
+
+
+
+
+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT>
+
+
+
+
+
+
+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
+
+
+
+
+
+
+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), : String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
+
+
+
+
+
+
+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel
+
+
+
+
+
+
+
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+fun <T : Any, S : Any, A> Container.tabulator(store: ReduxStore<S, A>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+fun <T : Any, A> Container.tabulator(store: ReduxStore<List<T>, A>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+
+
+
+
+
+
+
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
+
+
+
+
+
+
+
+fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag
+
+
+
+
+
+
+
+fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text
+
+
+
+
+
+
+
+fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (TextArea.() -> Unit)? = null): TextArea
+
+
+
+
+
+
+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
+
+
+
+
+
+
+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput
+
+
+
+
+
+
+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar
+
+
+
+
+
+
+
+fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload
+
+
+
+
+
+
+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
+
+
+
+
+
+
+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel
+
+
+
+
+
+
+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget
+
+
+
+
+
+
+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper
+
+
diff --git a/api/pl.treksoft.kvision.form/-form-control/index.html b/api/pl.treksoft.kvision.form/-form-control/index.html
index 05587b00..e8463fa0 100644
--- a/api/pl.treksoft.kvision.form/-form-control/index.html
+++ b/api/pl.treksoft.kvision.form/-form-control/index.html
@@ -42,6 +42,15 @@
+
+
+
+
fun Container.window(: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window
+
+
+
+
+
+
+abstract val invalidFeedback: InvalidFeedback
+
+
@@ -60,11 +69,11 @@
-
+
-
abstract val validationInfo: HelpBlock
-open var validationStatus: ValidationStatus?
+
@@ -149,6 +158,33 @@
+
+
+
+
+
+
+
+open fun styleForHorizontalFormPanel(): Unit
+
+
+
+
+
+
+
+open fun styleForInlineFormPanel(): Unit
+
+
+
+
+
+
+open fun styleForVerticalFormPanel(): Unit
+Inherited Functions
@@ -259,6 +295,41 @@
+
+
+
+
+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.addBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.addBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+
+
@@ -266,6 +337,41 @@
+
+
+
+
+
+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.removeBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
Inheritors
diff --git a/api/pl.treksoft.kvision.form/-form-control/invalid-feedback.html b/api/pl.treksoft.kvision.form/-form-control/invalid-feedback.html
new file mode 100644
index 00000000..a638b625
--- /dev/null
+++ b/api/pl.treksoft.kvision.form/-form-control/invalid-feedback.html
@@ -0,0 +1,15 @@
+
+
+
+
+
+invalidFeedback
+
+abstract val invalidFeedback: InvalidFeedback
+
+
+styleForHorizontalFormPanel
+
+open fun styleForHorizontalFormPanel(): Unit
+
+
+styleForInlineFormPanel
+
+open fun styleForInlineFormPanel(): Unit
+
+
+styleForVerticalFormPanel
+
+open fun styleForVerticalFormPanel(): Unit
+
-
-validationInfo
-
-abstract val validationInfo: HelpBlock
-
+
+validationStatus
+
+open var validationStatus: ValidationStatus?
+
+
+
+
+
+
+abstract var validationStatus: ValidationStatus?
+Inherited Properties
@@ -195,6 +204,41 @@
+
+
+
+
+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.addBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.addBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+
+
@@ -202,6 +246,41 @@
+
+
+
+
+
+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+
+
+
+
+
+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+
+
+
+
+
+
+fun Component.removeBsClearfix(): Unit
+
+
+
+
+
+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+
+
+
+
+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
Inheritors
@@ -230,7 +309,7 @@
-
diff --git a/api/pl.treksoft.kvision.form/-form-input/validation-status.html b/api/pl.treksoft.kvision.form/-form-input/validation-status.html
new file mode 100644
index 00000000..4a56c478
--- /dev/null
+++ b/api/pl.treksoft.kvision.form/-form-input/validation-status.html
@@ -0,0 +1,15 @@
+
+
+
+open class DateTimeInput : Widget, FormInput
+open class DateTimeInput : SimplePanel, FormInput
+
+validationStatus
+
+abstract var validationStatus: ValidationStatus?
+
<init>
-
-FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
+
+FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>)
Parameters
@@ -21,6 +21,8 @@
enctype
- form encoding type
+condensed
- determines if the form is condensed.
classes
- set of CSS class names
diff --git a/api/pl.treksoft.kvision.form/-form-panel/condensed.html b/api/pl.treksoft.kvision.form/-form-panel/condensed.html new file mode 100644 index 00000000..a8af1f1e --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/condensed.html @@ -0,0 +1,21 @@ + +
+ +var condensed: Boolean
+Determines if the form is condensed.
+Getter
+
Determines if the form is condensed.
+ +Setter
+
Determines if the form is condensed.
+ + + diff --git a/api/pl.treksoft.kvision.form/-form-panel/create.html b/api/pl.treksoft.kvision.form/-form-panel/create.html index eebfe203..a0bbec40 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/create.html +++ b/api/pl.treksoft.kvision.form/-form-panel/create.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form / FormPanel / createinline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
+
+inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>