From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-date-time-input/autofocus.html | 6 - .../-date-time-input/change-value.html | 14 - .../-date-time-input/clear-btn.html | 21 - .../-date-time-input/date-time-input.html | 16 - .../-date-time-input/disabled-dates.html | 21 + .../-date-time-input/disabled.html | 6 - .../-date-time-input/enabled-dates.html | 21 + .../-date-time-input/get-sn-attrs.html | 18 - .../-date-time-input/ignore-readonly.html | 21 + .../-date-time-input/index.html | 884 +++++++++++++++------ .../-date-time-input/max-date.html | 21 + .../-date-time-input/min-date.html | 21 + .../-date-time-input/minute-step.html | 21 - .../-date-time-input/name.html | 6 - .../-date-time-input/placeholder.html | 6 - .../-date-time-input/readonly.html | 6 - .../-date-time-input/refresh-state.html | 14 - .../-date-time-input/render.html | 18 - .../-date-time-input/show-clear.html | 21 + .../-date-time-input/show-close.html | 21 + .../-date-time-input/show-meridian.html | 21 - .../-date-time-input/show-today-button.html | 21 + .../-date-time-input/side-by-side.html | 21 + .../-date-time-input/size.html | 6 - .../-date-time-input/stepping.html | 21 + .../-date-time-input/today-btn.html | 21 - .../-date-time-input/today-highlight.html | 21 - .../-date-time-input/toggle-popup.html | 15 + .../-date-time-input/validation-status.html | 16 + .../-date-time-input/value.html | 6 - .../-date-time-input/week-start.html | 21 - .../-date-time/clear-btn.html | 15 - .../-date-time/date-time.html | 16 - .../-date-time/disabled-dates.html | 15 + .../-date-time/enabled-dates.html | 15 + .../-date-time/ignore-readonly.html | 15 + .../-date-time/index.html | 869 +++++++++++++++++++- .../-date-time/invalid-feedback.html | 16 + .../-date-time/max-date.html | 15 + .../-date-time/min-date.html | 15 + .../-date-time/minute-step.html | 15 - .../-date-time/show-clear.html | 15 + .../-date-time/show-close.html | 15 + .../-date-time/show-meridian.html | 15 - .../-date-time/show-today-button.html | 15 + .../-date-time/side-by-side.html | 15 + .../-date-time/stepping.html | 15 + .../-date-time/today-btn.html | 15 - .../-date-time/today-highlight.html | 15 - .../-date-time/toggle-popup.html | 15 + .../-date-time/validation-info.html | 16 - .../-date-time/week-start.html | 15 - .../date-time-input.html | 16 + api/pl.treksoft.kvision.form.time/date-time.html | 16 + api/pl.treksoft.kvision.form.time/index.html | 25 +- 55 files changed, 1969 insertions(+), 633 deletions(-) delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/disabled-dates.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/enabled-dates.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/ignore-readonly.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/render.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-clear.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/date-time.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/disabled-dates.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/max-date.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/min-date.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/minute-step.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-clear.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-close.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/stepping.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/today-btn.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html create mode 100644 api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/validation-info.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/week-start.html create mode 100644 api/pl.treksoft.kvision.form.time/date-time-input.html create mode 100644 api/pl.treksoft.kvision.form.time/date-time.html (limited to 'api/pl.treksoft.kvision.form.time') diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html b/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html index bbdaa979..db39e3d2 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/autofocus.html @@ -11,11 +11,5 @@ var autofocus: Boolean?

Determines if the text input is automatically focused.

-

Getter
-

Determines if the text input is automatically focused.

-

-

Setter
-

Determines if the text input is automatically focused.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html b/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html deleted file mode 100644 index bbaa5718..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/change-value.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DateTimeInput.changeValue - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / changeValue
-
-

changeValue

- -protected open fun changeValue(): Unit - - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html b/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html deleted file mode 100644 index 9caedf09..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/clear-btn.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.clearBtn - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / clearBtn
-
-

clearBtn

- -var clearBtn: Boolean -

Determines if Clear button should be visible.

-

Getter
-

Determines if Clear button should be visible.

-

-

Setter
-

Determines if Clear button should be visible.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html b/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html deleted file mode 100644 index 284dec31..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTimeInput.dateTimeInput - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / dateTimeInput
-
-

dateTimeInput

- -fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/disabled-dates.html b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled-dates.html new file mode 100644 index 00000000..85ea9c43 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled-dates.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.disabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / disabledDates
+
+

disabledDates

+ +var disabledDates: Array<Date> +

An array of disabled dates.

+

Getter
+

An array of disabled dates.

+

+

Setter
+

An array of disabled dates.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html index fccaea04..12c81e49 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html @@ -12,11 +12,5 @@ open var disabled: Boolean

Overrides FormInput.disabled

Determines if the field is disabled.

-

Getter
-

Determines if the field is disabled.

-

-

Setter
-

Determines if the field is disabled.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/enabled-dates.html b/api/pl.treksoft.kvision.form.time/-date-time-input/enabled-dates.html new file mode 100644 index 00000000..c23a244c --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/enabled-dates.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.enabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / enabledDates
+
+

enabledDates

+ +var enabledDates: Array<Date> +

An array of enabled dates.

+

Getter
+

An array of enabled dates.

+

+

Setter
+

An array of enabled dates.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html b/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html deleted file mode 100644 index cb36049b..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -DateTimeInput.getSnAttrs - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / getSnAttrs
-
-

getSnAttrs

- -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

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/ignore-readonly.html b/api/pl.treksoft.kvision.form.time/-date-time-input/ignore-readonly.html new file mode 100644 index 00000000..56a5bdec --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/ignore-readonly.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.ignoreReadonly - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / ignoreReadonly
+
+

ignoreReadonly

+ +var ignoreReadonly: Boolean +

Allow date picker for readonly component.

+

Getter
+

Allow date picker for readonly component.

+

+

Setter
+

Allow date picker for readonly component.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/index.html b/api/pl.treksoft.kvision.form.time/-date-time-input/index.html index c4690ad6..504d9f9a 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/index.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.time / DateTimeInput

DateTimeInput

-open class DateTimeInput : Widget, FormInput +open class DateTimeInput : SimplePanel, FormInput

Basic date/time chooser component.

Constructors

@@ -36,15 +36,6 @@ - - - - + + + + + + + + + + + + + + + + @@ -108,11 +135,38 @@ + + + + + + + + + + + + @@ -126,20 +180,20 @@ @@ -151,592 +205,962 @@

Date/time input value.

+ +
-

clearBtn

-
-var clearBtn: Boolean -

Determines if Clear button should be visible.

-

daysOfWeekDisabled

@@ -63,6 +54,24 @@
+

disabledDates

+
+var disabledDates: Array<Date> +

An array of disabled dates.

+
+

enabledDates

+
+var enabledDates: Array<Date> +

An array of enabled dates.

+

format

@@ -72,11 +81,29 @@
-

minuteStep

+

ignoreReadonly

-var minuteStep: Int -

The increment used to build the hour view.

+var ignoreReadonly: Boolean +

Allow date picker for readonly component.

+
+

maxDate

+
+var maxDate: Date? +

Prevents date selection after this date.

+
+

minDate

+
+var minDate: Date? +

Prevents date selection before this date.

-

showMeridian

+

showClear

+
+var showClear: Boolean +

Determines if Clear button should be visible.

+
+

showClose

+
+var showClose: Boolean +

Determines if Close button should be visible.

+
+

showTodayButton

-var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

+var showTodayButton: Boolean +

Determines if Today button should be visible.

+
+

sideBySide

+
+var sideBySide: Boolean +

Shows date and time pickers side by side.

-

todayBtn

+

stepping

-var todayBtn: Boolean -

Determines if Today button should be visible.

+var stepping: Int +

The increment used to build the hour view.

-

todayHighlight

+

validationStatus

-var todayHighlight: Boolean -

Determines if the current day should be highlighted.

+open var validationStatus: ValidationStatus? +

The validation status of the input.

+

Inherited Properties

+ + +val children: MutableList<Component>
-

weekStart

+

children

-var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

-
-

Inherited Properties

+

Functions

+open fun afterInsert(node: VNode): Unit +

Method called after inserting Snabbdom vnode into the DOM.

+ +open fun focus(): Unit +

Makes the input element focused.

+ +fun getValueAsString(): String? +

Get value of date/time input control as String

+ +open fun refreshDatePicker(): Unit +open fun togglePopup(): Unit +

Toggles date/time chooser popup.

+ + +
-

draggable

+

afterDestroy

-var draggable: Boolean? -

Determines if the current widget is draggable.

+open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

-

eventTarget

+

afterInsert

-var eventTarget: Widget?
-

id

+

blur

-var id: String? -

An ID attribute of generated HTML element.

+open fun blur(): Unit +

Makes the input element blur.

-

lastLanguage

+

focus

-var lastLanguage: String?
-

parent

+

getSnClass

-open var parent: Container? -

Parent of the current component.

+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

-

popoverOptions

+

getValueAsString

-var popoverOptions: PopoverOptions?
-

role

+

hidePopup

-var role: String? -

A role attribute of generated HTML element.

+open fun hidePopup(): Unit +

Hides date/time chooser popup.

-

surroundingSpan

+

refreshDatePicker

-var surroundingSpan: Boolean
-

title

+

showPopup

-var title: String? -

A title attribute of generated HTML element.

+open fun showPopup(): Unit +

Open date/time chooser popup.

-

tooltipOptions

+

togglePopup

-var tooltipOptions: TooltipOptions?
+

Inherited Functions

+ + +open fun addAll(children: List<Component>): SimplePanel +

Adds a list of components to the current container.

+ + + + + + + + + + + + + + + + + + + + + + + + +
-

visible

+

add

-open var visible: Boolean -

Visibility state of the current component.

+open fun add(child: Component): SimplePanel +

Adds given component to the current container.

-

vnode

+

addAll

-var vnode: VNode?
+

addInternal

+
+fun addInternal(child: Component): SimplePanel +

Protected and final method to add given component to the current container.

+
+

childrenVNodes

+
+open fun childrenVNodes(): Array<VNode> +

Returns the array of the children Snabbdom vnodes.

+
+

getChildren

+
+open fun getChildren(): List<Component> +

Returns a list of children of the current container.

+
+

remove

+
+open fun remove(child: Component): SimplePanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): SimplePanel +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
-

Functions

+

Extension Functions

+ + + + + + + + + + + + +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 +

DSL builder extension function.

+ +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +

DSL builder extension function.

+ +fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+ - -
-

afterDestroy

+

addBsBgColor

-open fun afterDestroy(): Unit -

Method called after destroying Snabbdom vnode.

+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
-

afterInsert

+

addBsClearfix

-open fun afterInsert(node: VNode): Unit -

Method called after inserting Snabbdom vnode into the DOM.

+fun Component.addBsClearfix(): Unit
+

addBsColor

+fun Component.addBsColor(bsColor: BsColor): Unit
-

blur

+

addBsRounded

-open fun blur(): Unit -

Makes the input element blur.

+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

-

changeValue

+

button

-open fun changeValue(): Unit
-

focus

+

buttonGroup

-open fun focus(): Unit -

Makes the input element focused.

+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

-

getSnAttrs

+

canvas

-open fun getSnAttrs(): List<StringPair> -

Returns list of element attributes in the form of a List.

+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

-

getSnClass

+

chart

-open fun getSnClass(): List<StringBoolPair> -

Returns list of CSS class names for current widget in the form of a List.

+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

-

getValueAsString

+

checkBox

-fun getValueAsString(): String? -

Get value of date/time input control as String

+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox +

DSL builder extension function.

-

hidePopup

+

checkBoxInput

-open fun hidePopup(): Unit -

Hides date/time chooser popup.

+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

-

refreshDatePicker

+

contextMenu

-open fun refreshDatePicker(): Unit
-

refreshState

+

createInstance

-open fun refreshState(): Unit
-

render

+

dataContainer

-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

+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> +

DSL builder extension function.

+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> +

DSL builder extension function with VPanel default.

-

showPopup

+

dateTime

-open fun showPopup(): Unit -

Open date/time chooser popup.

+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 +

DSL builder extension function.

-

Inherited Functions

- - +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+ +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 +

DSL builder extension function.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+ +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+ - -
-

addCssClass

+

dateTimeInput

-open fun addCssClass(css: String): Widget -

Adds given value to the set of CSS classes generated in html code of current component.

-open fun addCssClass(css: Style): Widget -

Adds given style object to the set of CSS classes generated in html code of current component.

+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

-

addSurroundingCssClass

+

div

-open fun addSurroundingCssClass(css: String): Widget -

Adds given value to the set of CSS classes generated in html code of parent component.

-open fun addSurroundingCssClass(css: Style): Widget -

Adds given style object to the set of CSS classes generated in html code of parent component.

+fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div +

DSL builder extension function.

-

afterCreate

+

dockPanel

-open fun afterCreate(node: VNode): Unit -

Method called after creating Snabbdom vnode.

+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

-

clearDragDropData

+

dropDown

-open fun clearDragDropData(): Unit -

Clears D&D data for the current widget. It also makes it not draggable.

+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

-

disablePopover

+

fieldLabel

-open fun disablePopover(): Widget -

Disables popover for the current widget.

+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

-

disableTooltip

+

flexPanel

-open fun disableTooltip(): Widget -

Disables tooltip for the current widget.

+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 +

DSL builder extension function.

-

dispatchEvent

+

footer

-open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
-

enablePopover

+

formPanel

-open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget -

Enables popover for the current widget.

+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> +

DSL builder extension function.

-

enableTooltip

+

gridPanel

-open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget -

Enables tooltip for the current widget.

+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 +

DSL builder extension function.

-

getAttribute

+

h1

-open fun getAttribute(name: String): String? -

Returns the value of an additional attribute.

+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

-

getElement

+

h2

-open fun getElement(): Node? -

Returns DOM element bound to the current component.

+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

-

getElementJQuery

+

h3

-open fun getElementJQuery(): JQuery? -

Returns JQuery element bound to the current component.

+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

-

getElementJQueryD

+

h4

-open fun getElementJQueryD(): dynamic -

Returns JQuery element bound to the current component as a dynamic type.

+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

-

getSnHooks

+

h5

-open fun getSnHooks(): Hooks? -

Returns list of hooks in the form of a Snabbdom Hooks object.

+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

-

getSnOn

+

h6

-open fun getSnOn(): On? -

Returns list of event handlers in the form of a Snabbdom On object.

+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

-

hide

+

header

-open fun hide(): Widget -

Makes current widget invisible.

+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

-

hidePopover

+

hPanel

-open fun hidePopover(): Widget -

Hides popover for the current widget.

+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

-

hideTooltip

+

icon

-open fun hideTooltip(): Widget -

Hides tooltip for the current widget.

+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

-

refreshOnUpdate

+

iframe

-fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
-fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T>
-

removeAttribute

+

image

-open fun removeAttribute(name: String): Widget -

Removes the value of additional attribute.

+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 +

DSL builder extension function.

-

removeCssClass

+

link

-open fun removeCssClass(css: String): Widget -

Removes given value from the set of CSS classes generated in html code of current component.

-open fun removeCssClass(css: Style): Widget -

Removes given style object from the set of CSS classes generated in html code of current component.

+fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function.

-

removeEventListeners

+

listTag

-open fun removeEventListeners(): Widget -

Removes all event listeners from current widget.

+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

-

removeSurroundingCssClass

+

navbar

-open fun removeSurroundingCssClass(css: String): Widget -

Removes given value from the set of CSS classes generated in html code of parent component.

-open fun removeSurroundingCssClass(css: Style): Widget -

Removes given style object from the set of CSS classes generated in html code of parent component.

+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

-

render

+

p

-open fun render(elementName: String): VNode
-open fun render(elementName: String, children: Array<dynamic>): VNode -

Renders current component as a Snabbdom vnode.

+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

password

+
+fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Password.() -> Unit)? = null): Password +

DSL builder extension function.

-

setAttribute

+

progressBar

-open fun setAttribute(name: String, value: String): Widget -

Sets the value of additional attribute.

+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 +

DSL builder extension function.

-

setContextMenu

+

radio

-open fun setContextMenu(contextMenu: ContextMenu): Widget +fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

radioGroup

+
+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 +

DSL builder extension function.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

richText

+
+fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText +

DSL builder extension function.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

select

+
+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 +

DSL builder extension function.

+
+

selectInput

+
+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 +

DSL builder extension function.

+
+

selectRemote

+
+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> +

DSL builder extension function.

+
+

selectRemoteInput

+
+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> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget

Sets context menu for the current widget.

-

setDragDropData

+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+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 +

DSL builder extension function.

+
+

simpleSelectInput

-open fun setDragDropData(format: String, data: String): Unit -

Sets D&D data for the current widget. It also makes it draggable.

+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

-

setDropTarget

+

span

-open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
-open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit -

Sets the current widget as a D&D drop target.

+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

-

setDropTargetData

+

spinner

-open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit -

Sets the current widget as a D&D drop target with helper callback accepting String data.

+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 +

DSL builder extension function.

-

setEventListener

+

spinnerInput

-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.

+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 +

DSL builder extension function.

-

show

+

splitPanel

-open fun show(): Widget -

Makes current widget visible.

+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

-

showPopover

+

stackPanel

-open fun showPopover(): Widget -

Shows popover for the current widget.

+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

-

showTooltip

+

stateBinding

-open fun showTooltip(): Widget -

Shows tooltip for the current widget.

+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

-

singleRender

+

stateUpdate

-fun <T> singleRender(block: () -> T): T
-

toggleVisible

+

style

-open fun toggleVisible(): Widget -

Toggles visibility of current widget.

+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

-

translate

+

table

-fun translate(text: String?): String?
-

Companion Object Functions

- - - -
-

dateTimeInput

+

tabPanel

-fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html b/api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html new file mode 100644 index 00000000..5a9e03b4 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/max-date.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.maxDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / maxDate
+
+

maxDate

+ +var maxDate: Date? +

Prevents date selection after this date.

+

Getter
+

Prevents date selection after this date.

+

+

Setter
+

Prevents date selection after this date.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html b/api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html new file mode 100644 index 00000000..6fa3fcff --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/min-date.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.minDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / minDate
+
+

minDate

+ +var minDate: Date? +

Prevents date selection before this date.

+

Getter
+

Prevents date selection before this date.

+

+

Setter
+

Prevents date selection before this date.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html b/api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html deleted file mode 100644 index 75fc274a..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/minute-step.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.minuteStep - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / minuteStep
-
-

minuteStep

- -var minuteStep: Int -

The increment used to build the hour view.

-

Getter
-

The increment used to build the hour view.

-

-

Setter
-

The increment used to build the hour view.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/name.html b/api/pl.treksoft.kvision.form.time/-date-time-input/name.html index 4a911863..3d4ad65d 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/name.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/name.html @@ -12,11 +12,5 @@ open var name: String?

Overrides FormInput.name

The name attribute of the generated HTML input element.

-

Getter
-

The name attribute of the generated HTML input element.

-

-

Setter
-

The name attribute of the generated HTML input element.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html b/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html index 94ddee2e..6f803f46 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html @@ -11,11 +11,5 @@ var placeholder: String?

The placeholder for the date/time input.

-

Getter
-

The placeholder for the date/time input.

-

-

Setter
-

The placeholder for the date/time input.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html b/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html index e72773d9..77328e1e 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html @@ -11,11 +11,5 @@ var readonly: Boolean?

Determines if the date/time input is read-only.

-

Getter
-

Determines if the date/time input is read-only.

-

-

Setter
-

Determines if the date/time input is read-only.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html b/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html deleted file mode 100644 index 35ccc8fc..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-state.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DateTimeInput.refreshState - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / refreshState
-
-

refreshState

- -protected open fun refreshState(): Unit - - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/render.html b/api/pl.treksoft.kvision.form.time/-date-time-input/render.html deleted file mode 100644 index 4b157a48..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -DateTimeInput.render - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / render
-
-

render

- -protected open fun render(): VNode -

Overrides Widget.render

-

Renders current component as a Snabbdom vnode.

-

Return
-Snabbdom vnode

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/show-clear.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-clear.html new file mode 100644 index 00000000..8c529a10 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/show-clear.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.showClear - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / showClear
+
+

showClear

+ +var showClear: Boolean +

Determines if Clear button should be visible.

+

Getter
+

Determines if Clear button should be visible.

+

+

Setter
+

Determines if Clear button should be visible.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html new file mode 100644 index 00000000..b4128c25 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/show-close.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.showClose - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / showClose
+
+

showClose

+ +var showClose: Boolean +

Determines if Close button should be visible.

+

Getter
+

Determines if Close button should be visible.

+

+

Setter
+

Determines if Close button should be visible.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html deleted file mode 100644 index f34d477f..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/show-meridian.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.showMeridian - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / showMeridian
-
-

showMeridian

- -var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

-

Getter
-

Determines if meridian views are visible in day and hour views.

-

-

Setter
-

Determines if meridian views are visible in day and hour views.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html new file mode 100644 index 00000000..1e231f8e --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/show-today-button.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.showTodayButton - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / showTodayButton
+
+

showTodayButton

+ +var showTodayButton: Boolean +

Determines if Today button should be visible.

+

Getter
+

Determines if Today button should be visible.

+

+

Setter
+

Determines if Today button should be visible.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html b/api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html new file mode 100644 index 00000000..93686d3c --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/side-by-side.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.sideBySide - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / sideBySide
+
+

sideBySide

+ +var sideBySide: Boolean +

Shows date and time pickers side by side.

+

Getter
+

Shows date and time pickers side by side.

+

+

Setter
+

Shows date and time pickers side by side.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/size.html b/api/pl.treksoft.kvision.form.time/-date-time-input/size.html index 8f6e2908..c4242a10 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/size.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/size.html @@ -12,11 +12,5 @@ open var size: InputSize?

Overrides FormInput.size

The size of the input.

-

Getter
-

The size of the input.

-

-

Setter
-

The size of the input.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html b/api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html new file mode 100644 index 00000000..d00b60c5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/stepping.html @@ -0,0 +1,21 @@ + + + +DateTimeInput.stepping - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / stepping
+
+

stepping

+ +var stepping: Int +

The increment used to build the hour view.

+

Getter
+

The increment used to build the hour view.

+

+

Setter
+

The increment used to build the hour view.

+

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html b/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html deleted file mode 100644 index 6c372f05..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/today-btn.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.todayBtn - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / todayBtn
-
-

todayBtn

- -var todayBtn: Boolean -

Determines if Today button should be visible.

-

Getter
-

Determines if Today button should be visible.

-

-

Setter
-

Determines if Today button should be visible.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html b/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html deleted file mode 100644 index 7d5b84d5..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/today-highlight.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.todayHighlight - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / todayHighlight
-
-

todayHighlight

- -var todayHighlight: Boolean -

Determines if the current day should be highlighted.

-

Getter
-

Determines if the current day should be highlighted.

-

-

Setter
-

Determines if the current day should be highlighted.

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html b/api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html new file mode 100644 index 00000000..4c13d11c --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/toggle-popup.html @@ -0,0 +1,15 @@ + + + +DateTimeInput.togglePopup - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / togglePopup
+
+

togglePopup

+ +open fun togglePopup(): Unit +

Toggles date/time chooser popup.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html b/api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html new file mode 100644 index 00000000..63556154 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/validation-status.html @@ -0,0 +1,16 @@ + + + +DateTimeInput.validationStatus - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTimeInput / validationStatus
+
+

validationStatus

+ +open var validationStatus: ValidationStatus? +

Overrides FormInput.validationStatus

+

The validation status of the input.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/value.html b/api/pl.treksoft.kvision.form.time/-date-time-input/value.html index afa8799a..4dc0a032 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/value.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/value.html @@ -11,11 +11,5 @@ var value: Date?

Date/time input value.

-

Getter
-

Date/time input value.

-

-

Setter
-

Date/time input value.

-

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html b/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html deleted file mode 100644 index 235068c3..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/week-start.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -DateTimeInput.weekStart - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTimeInput / weekStart
-
-

weekStart

- -var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

-

Getter
-

Day of the week start. 0 (Sunday) to 6 (Saturday).

-

-

Setter
-

Day of the week start. 0 (Sunday) to 6 (Saturday).

-

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html b/api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html deleted file mode 100644 index e4ba22de..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/clear-btn.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.clearBtn - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / clearBtn
-
-

clearBtn

- -var clearBtn: Boolean -

Determines if Clear button should be visible.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/date-time.html b/api/pl.treksoft.kvision.form.time/-date-time/date-time.html deleted file mode 100644 index ac96d8de..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/date-time.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTime.dateTime - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / dateTime
-
-

dateTime

- -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 -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/disabled-dates.html b/api/pl.treksoft.kvision.form.time/-date-time/disabled-dates.html new file mode 100644 index 00000000..df0ab973 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/disabled-dates.html @@ -0,0 +1,15 @@ + + + +DateTime.disabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / disabledDates
+
+

disabledDates

+ +var disabledDates: Array<Date> +

An array of disabled dates.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html b/api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html new file mode 100644 index 00000000..6e92d71b --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/enabled-dates.html @@ -0,0 +1,15 @@ + + + +DateTime.enabledDates - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / enabledDates
+
+

enabledDates

+ +var enabledDates: Array<Date> +

An array of enabled dates.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html b/api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html new file mode 100644 index 00000000..05c1de36 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/ignore-readonly.html @@ -0,0 +1,15 @@ + + + +DateTime.ignoreReadonly - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / ignoreReadonly
+
+

ignoreReadonly

+ +var ignoreReadonly: Boolean +

Allow date picker for readonly component..

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/index.html b/api/pl.treksoft.kvision.form.time/-date-time/index.html index ed1b6e5f..13ce56d3 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time/index.html +++ b/api/pl.treksoft.kvision.form.time/-date-time/index.html @@ -36,20 +36,29 @@ + + + + @@ -72,6 +81,15 @@ + + + + + + + + + + + + @@ -126,38 +162,47 @@ + + + + @@ -169,14 +214,17 @@

Date/time input value.

+ +
-

createInstance

+

tabulator

-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

+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> +

DSL builder extension function.

+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> +

DSL builder extension function for general redux store.

+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> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+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> +

DSL builder extension function.

+
+

tag

+
+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 +

DSL builder extension function.

+
+

text

+
+fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text +

DSL builder extension function.

+
+

textArea

+
+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 +

DSL builder extension function.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

upload

+
+fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload +

DSL builder extension function.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

-

clearBtn

+

daysOfWeekDisabled

-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.

-

daysOfWeekDisabled

+

disabledDates

-var daysOfWeekDisabled: Array<Int> -

Days of the week that should be disabled. Multiple values should be comma separated.

+var disabledDates: Array<Date> +

An array of disabled dates.

+
+

enabledDates

+
+var enabledDates: Array<Date> +

An array of enabled dates.

+

ignoreReadonly

+
+var ignoreReadonly: Boolean +

Allow date picker for readonly component..

+

input

@@ -81,6 +99,15 @@
+

invalidFeedback

+
+val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+

label

@@ -90,11 +117,20 @@
-

minuteStep

+

maxDate

-var minuteStep: Int -

The increment used to build the hour view.

+var maxDate: Date? +

Prevents date selection after this date.

+
+

minDate

+
+var minDate: Date? +

Prevents date selection before this date.

-

showMeridian

+

showClear

-var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

+var showClear: Boolean +

Determines if Clear button should be visible.

+
+

showClose

+
+var showClose: Boolean +

Determines if Close button should be visible.

-

todayBtn

+

showTodayButton

-var todayBtn: Boolean +var showTodayButton: Boolean

Determines if Today button should be visible.

-

todayHighlight

+

sideBySide

-var todayHighlight: Boolean -

Determines if the current day should be highlighted.

+var sideBySide: Boolean +

Shows date and time pickers side by side.

-

validationInfo

+

stepping

-val validationInfo: HelpBlock -

Validation info component.

+var stepping: Int +

The increment used to build the hour view.

+

Inherited Properties

+ + +val children: MutableList<Component>
-

weekStart

+

children

-var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

-
@@ -257,6 +305,15 @@

Open date/time chooser popup.

+ + +

togglePopup

+ + +open fun togglePopup(): Unit +

Toggle date/time chooser popup.

+ +

Inherited Functions

@@ -354,23 +411,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-

dateTime

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-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 Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+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 +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

checkBox

+
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox +

DSL builder extension function.

+
+

checkBoxInput

+
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +

DSL builder extension function.

+
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -380,6 +530,661 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

dataContainer

+
+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> +

DSL builder extension function.

+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> +

DSL builder extension function with VPanel default.

+
+

dateTime

+
+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 +

DSL builder extension function.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
+

div

+
+fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div +

DSL builder extension function.

+
+

dockPanel

+
+fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +

DSL builder extension function.

+
+

dropDown

+
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +

DSL builder extension function.

+
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

flexPanel

+
+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 +

DSL builder extension function.

+
+

footer

+
+fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +

DSL builder extension function.

+
+

formPanel

+
+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> +

DSL builder extension function.

+
+

gridPanel

+
+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 +

DSL builder extension function.

+
+

h1

+
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +

DSL builder extension function.

+
+

h2

+
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +

DSL builder extension function.

+
+

h3

+
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +

DSL builder extension function.

+
+

h4

+
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +

DSL builder extension function.

+
+

h5

+
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +

DSL builder extension function.

+
+

h6

+
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +

DSL builder extension function.

+
+

header

+
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +

DSL builder extension function.

+
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +

DSL builder extension function.

+
+

icon

+
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon +

DSL builder extension function.

+
+

iframe

+
+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 +

DSL builder extension function.

+
+

image

+
+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 +

DSL builder extension function.

+
+

link

+
+fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +

DSL builder extension function.

+
+

listTag

+
+fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +

DSL builder extension function.

+
+

navbar

+
+fun Container.navbar(label: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +

DSL builder extension function.

+
+

p

+
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +

DSL builder extension function.

+
+

password

+
+fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Password.() -> Unit)? = null): Password +

DSL builder extension function.

+
+

progressBar

+
+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 +

DSL builder extension function.

+
+

radio

+
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio +

DSL builder extension function.

+
+

radioGroup

+
+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 +

DSL builder extension function.

+
+

radioGroupInput

+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput +

DSL builder extension function.

+
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +

DSL builder extension function.

+
+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +

DSL builder extension function.

+
+

richText

+
+fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText +

DSL builder extension function.

+
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +

DSL builder extension function.

+
+

section

+
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +

DSL builder extension function.

+
+

select

+
+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 +

DSL builder extension function.

+
+

selectInput

+
+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 +

DSL builder extension function.

+
+

selectRemote

+
+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> +

DSL builder extension function.

+
+

selectRemoteInput

+
+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> +

DSL builder extension function.

+
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

simplePanel

+
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +

DSL builder extension function.

+
+

simpleSelect

+
+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 +

DSL builder extension function.

+
+

simpleSelectInput

+
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+
+

span

+
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +

DSL builder extension function.

+
+

spinner

+
+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 +

DSL builder extension function.

+
+

spinnerInput

+
+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 +

DSL builder extension function.

+
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +

DSL builder extension function.

+
+

stackPanel

+
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +

DSL builder extension function.

+
+

stateBinding

+
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +

DSL builder extension function.

+
+

stateUpdate

+
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +

DSL builder extension function for updateable redux content.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
+

table

+
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +

DSL builder extension function.

+
+

tabPanel

+
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +

DSL builder extension function.

+
+

tabulator

+
+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> +

DSL builder extension function.

+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> +

DSL builder extension function for general redux store.

+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> +

DSL builder extension function for dedicated redux store (backed with a list).

+fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +

DSL builder extension function for dynamic data (send within options parameter).

+
+

tabulatorRemote

+
+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> +

DSL builder extension function.

+
+

tag

+
+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 +

DSL builder extension function.

+
+

text

+
+fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text +

DSL builder extension function.

+
+

textArea

+
+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 +

DSL builder extension function.

+
+

textAreaInput

+
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +

DSL builder extension function.

+
+

textInput

+
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +

DSL builder extension function.

+
+

toolbar

+
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +

DSL builder extension function.

+
+

upload

+
+fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload +

DSL builder extension function.

+
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +

DSL builder extension function.

+
+

vPanel

+
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +

DSL builder extension function.

+
+

widget

+
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+
+

widgetWrapper

+
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+
+

window

+
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html b/api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html new file mode 100644 index 00000000..c3b9be98 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +DateTime.invalidFeedback - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / invalidFeedback
+
+

invalidFeedback

+ +val invalidFeedback: InvalidFeedback +

Overrides FormControl.invalidFeedback

+

Invalid feedback component.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/max-date.html b/api/pl.treksoft.kvision.form.time/-date-time/max-date.html new file mode 100644 index 00000000..4fcba09e --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/max-date.html @@ -0,0 +1,15 @@ + + + +DateTime.maxDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / maxDate
+
+

maxDate

+ +var maxDate: Date? +

Prevents date selection after this date.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/min-date.html b/api/pl.treksoft.kvision.form.time/-date-time/min-date.html new file mode 100644 index 00000000..66fe9a2b --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/min-date.html @@ -0,0 +1,15 @@ + + + +DateTime.minDate - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / minDate
+
+

minDate

+ +var minDate: Date? +

Prevents date selection before this date.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html b/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html deleted file mode 100644 index 5073b48e..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/minute-step.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.minuteStep - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / minuteStep
-
-

minuteStep

- -var minuteStep: Int -

The increment used to build the hour view.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-clear.html b/api/pl.treksoft.kvision.form.time/-date-time/show-clear.html new file mode 100644 index 00000000..2de0c0c7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/show-clear.html @@ -0,0 +1,15 @@ + + + +DateTime.showClear - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / showClear
+
+

showClear

+ +var showClear: Boolean +

Determines if Clear button should be visible.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-close.html b/api/pl.treksoft.kvision.form.time/-date-time/show-close.html new file mode 100644 index 00000000..0107cacd --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/show-close.html @@ -0,0 +1,15 @@ + + + +DateTime.showClose - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / showClose
+
+

showClose

+ +var showClose: Boolean +

Determines if Close button should be visible.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html b/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html deleted file mode 100644 index 790fc0e3..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/show-meridian.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.showMeridian - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / showMeridian
-
-

showMeridian

- -var showMeridian: Boolean -

Determines if meridian views are visible in day and hour views.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html b/api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html new file mode 100644 index 00000000..70786905 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/show-today-button.html @@ -0,0 +1,15 @@ + + + +DateTime.showTodayButton - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / showTodayButton
+
+

showTodayButton

+ +var showTodayButton: Boolean +

Determines if Today button should be visible.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html b/api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html new file mode 100644 index 00000000..8933e634 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/side-by-side.html @@ -0,0 +1,15 @@ + + + +DateTime.sideBySide - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / sideBySide
+
+

sideBySide

+ +var sideBySide: Boolean +

Shows date and time pickers side by side.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/stepping.html b/api/pl.treksoft.kvision.form.time/-date-time/stepping.html new file mode 100644 index 00000000..6b438d75 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/stepping.html @@ -0,0 +1,15 @@ + + + +DateTime.stepping - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / stepping
+
+

stepping

+ +var stepping: Int +

The increment used to build the hour view.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html b/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html deleted file mode 100644 index 9ad572a6..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/today-btn.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.todayBtn - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / todayBtn
-
-

todayBtn

- -var todayBtn: Boolean -

Determines if Today button should be visible.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html b/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html deleted file mode 100644 index 4b3281d3..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/today-highlight.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.todayHighlight - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / todayHighlight
-
-

todayHighlight

- -var todayHighlight: Boolean -

Determines if the current day should be highlighted.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html b/api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html new file mode 100644 index 00000000..c5b9ec81 --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/-date-time/toggle-popup.html @@ -0,0 +1,15 @@ + + + +DateTime.togglePopup - kvision + + + +kvision / pl.treksoft.kvision.form.time / DateTime / togglePopup
+
+

togglePopup

+ +open fun togglePopup(): Unit +

Toggle date/time chooser popup.

+ + diff --git a/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html b/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html deleted file mode 100644 index 8fd72073..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTime.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / validationInfo
-
-

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/week-start.html b/api/pl.treksoft.kvision.form.time/-date-time/week-start.html deleted file mode 100644 index 6dd03632..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/week-start.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.weekStart - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / weekStart
-
-

weekStart

- -var weekStart: Int -

Day of the week start. 0 (Sunday) to 6 (Saturday).

- - diff --git a/api/pl.treksoft.kvision.form.time/date-time-input.html b/api/pl.treksoft.kvision.form.time/date-time-input.html new file mode 100644 index 00000000..91e73e2d --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/date-time-input.html @@ -0,0 +1,16 @@ + + + +dateTimeInput - kvision + + + +kvision / pl.treksoft.kvision.form.time / dateTimeInput
+
+

dateTimeInput

+ +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.form.time/date-time.html b/api/pl.treksoft.kvision.form.time/date-time.html new file mode 100644 index 00000000..615fdf0f --- /dev/null +++ b/api/pl.treksoft.kvision.form.time/date-time.html @@ -0,0 +1,16 @@ + + + +dateTime - kvision + + + +kvision / pl.treksoft.kvision.form.time / dateTime
+
+

dateTime

+ +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 +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.form.time/index.html b/api/pl.treksoft.kvision.form.time/index.html index d811429f..fe3dfda7 100644 --- a/api/pl.treksoft.kvision.form.time/index.html +++ b/api/pl.treksoft.kvision.form.time/index.html @@ -26,11 +26,34 @@

DateTimeInput

-open class DateTimeInput : Widget, FormInput +open class DateTimeInput : SimplePanel, FormInput

Basic date/time chooser component.

+

Functions

+ + + + + + + + + + + +
+

dateTime

+
+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 +

DSL builder extension function.

+
+

dateTimeInput

+
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +

DSL builder extension function.

+
-- cgit