From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
- Constructor Overrides Widget.afterDestroy Method called after destroying Snabbdom vnode. Overrides Widget.afterInsert Method called after inserting Snabbdom vnode into the DOM. Determines if the text input is automatically focused. Getter Determines if the text input is automatically focused.
-
-<init>
-
-DateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf())
-Parameters
-value
- date/time input valueformat
- date/time format (default YYYY-MM-DD HH:mm)classes
- a set of CSS class names
-
-
-afterDestroy
-
-protected open fun afterDestroy(): Unit
-
-
-afterInsert
-
-protected open fun afterInsert(node: VNode): Unit
-
-
-autofocus
-
-var autofocus: Boolean?
-
-
Setter
-
Determines if the text input is automatically focused.
- - - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/blur.html b/api/pl.treksoft.kvision.form.time/-date-time-input/blur.html deleted file mode 100644 index 98968f48..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/blur.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun blur(): Unit
-Makes the input element blur.
- - 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 @@ - - - -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 @@
-
-
-
-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 40a1ab19..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -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/days-of-week-disabled.html b/api/pl.treksoft.kvision.form.time/-date-time-input/days-of-week-disabled.html deleted file mode 100644 index a2eb611d..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/days-of-week-disabled.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var daysOfWeekDisabled: Array<Int>
-Days of the week that should be disabled. Multiple values should be comma separated.
-Getter
-
Days of the week that should be disabled. Multiple values should be comma separated.
- -Setter
-
Days of the week that should be disabled. Multiple values should be comma separated.
- - - 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 deleted file mode 100644 index fccaea04..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -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/focus.html b/api/pl.treksoft.kvision.form.time/-date-time-input/focus.html deleted file mode 100644 index 6397a6ab..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/focus.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun focus(): Unit
-Makes the input element focused.
- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/format.html b/api/pl.treksoft.kvision.form.time/-date-time-input/format.html deleted file mode 100644 index abe86341..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/format.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var format: String
-Date/time format.
-Getter
-
Date/time format.
- -Setter
-
Date/time format.
- - - 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 @@ - - - -protected open fun getSnAttrs(): List<StringPair>
-Overrides Widget.getSnAttrs
-Returns list of element attributes in the form of a List.
-Return
-list of element attributes
protected open fun getSnClass(): List<StringBoolPair>
-Overrides Widget.getSnClass
-Returns list of CSS class names for current widget in the form of a List.
-Return
-list of CSS class names
fun getValueAsString(): String?
-Get value of date/time input control as String
-Return
-value as a String
open fun hidePopup(): Unit
-Hides date/time chooser popup.
- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/index.html b/api/pl.treksoft.kvision.form.time/-date-time-input/index.html deleted file mode 100644 index 926e5ec6..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/index.html +++ /dev/null @@ -1,597 +0,0 @@ - - - -open class DateTimeInput : Widget, FormInput
-Basic date/time chooser component.
-- - | -
-DateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf()) |
-
- - | -
-var autofocus: Boolean?
-Determines if the text input is automatically focused. - |
-
- - | -
-var clearBtn: Boolean
-Determines if Clear button should be visible. - |
-
- - | -
-var daysOfWeekDisabled: Array<Int>
-Days of the week that should be disabled. Multiple values should be comma separated. - |
-
- - | -
-open var disabled: Boolean
-Determines if the field is disabled. - |
-
- - | -
-var format: String
-Date/time format. - |
-
- - | -
-var minuteStep: Int
-The increment used to build the hour view. - |
-
- - | -
-open var name: String?
-The name attribute of the generated HTML input element. - |
-
- - | -
-var placeholder: String?
-The placeholder for the date/time input. - |
-
- - | -
-var readonly: Boolean?
-Determines if the date/time input is read-only. - |
-
- - | -
-var showMeridian: Boolean
-Determines if meridian views are visible in day and hour views. - |
-
- - | -
-open var size: InputSize?
-The size of the input. - |
-
- - | -
-var todayBtn: Boolean
-Determines if Today button should be visible. - |
-
- - | -
-var todayHighlight: Boolean
-Determines if the current day should be highlighted. - |
-
- - | -
-var value: Date?
-Date/time input value. - |
-
- - | -
-var weekStart: Int
-Day of the week start. 0 (Sunday) to 6 (Saturday). - |
-
- - | -
-var draggable: Boolean?
-Determines if the current widget is draggable. - |
-
- - | -
-var eventTarget: Widget? |
-
- - | -
-var id: String?
-An ID attribute of generated HTML element. - |
-
- - | -
-var lastLanguage: String? |
-
- - | -
-open var parent: Container?
-Parent of the current component. - |
-
- - | -
-var role: String?
-A role attribute of generated HTML element. - |
-
- - | -
-var surroundingSpan: Boolean |
-
- - | -
-var title: String?
-A title attribute of generated HTML element. - |
-
- - | -
-open var visible: Boolean
-Visibility state of the current component. - |
-
- - | -
-open fun afterDestroy(): Unit
-Method called after destroying Snabbdom vnode. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun blur(): Unit
-Makes the input element blur. - |
-
- - | -
-open fun changeValue(): Unit |
-
- - | -
-open fun focus(): Unit
-Makes the input element focused. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-fun getValueAsString(): String?
-Get value of date/time input control as String - |
-
- - | -
-open fun hidePopup(): Unit
-Hides date/time chooser popup. - |
-
- - | -
-open fun refreshDatePicker(): Unit |
-
- - | -
-open fun refreshState(): Unit |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun showPopup(): Unit
-Open date/time chooser popup. - |
-
- - | -
-open fun addCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun addSurroundingCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun afterCreate(node: VNode): Unit
-Method called after creating Snabbdom vnode. - |
-
- - | -
-open fun afterPostpatch(node: VNode): Unit
-Method called after updating Snabbdom vnode. - |
-
- - | -
-open fun clearDragDropData(): Unit
-Clears D&D data for the current widget. It also makes it not draggable. - |
-
- - | -
-open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean? |
-
- - | -
-open fun getElement(): Node?
-Returns DOM element bound to the current component. - |
-
- - | -
-open fun getElementJQuery(): JQuery?
-Returns JQuery element bound to the current component. - |
-
- - | -
-open fun getElementJQueryD(): dynamic
-Returns JQuery element bound to the current component as a dynamic type. - |
-
- - | -
-open fun getSnHooks(): Hooks?
-Returns list of hooks in the form of a Snabbdom Hooks object. - |
-
- - | -
-open fun getSnOn(): On?
-Returns list of event handlers in the form of a Snabbdom On object. - |
-
- - | -
-open fun hide(): Widget
-Makes current widget invisible. - |
-
- - | -
-open fun removeCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun removeEventListeners(): Widget
-Removes all event listeners from current widget. - |
-
- - | -
-open fun removeSurroundingCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun render(elementName: String): VNode - open fun render(elementName: String, children: Array<dynamic>): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun setContextMenu(contextMenu: ContextMenu): Widget
-Sets context menu for the current widget. - |
-
- - | -
-open fun setDragDropData(format: String, data: String): Unit
-Sets D&D data for the current widget. It also makes it draggable. - |
-
- - | -
-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. - |
-
- - | -
-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. - |
-
- - | -
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Sets an event listener for current widget, keeping the actual type of component. -open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Sets an event listener for current widget. - |
-
- - | -
-open fun show(): Widget
-Makes current widget visible. - |
-
- - | -
-open fun toggleVisible(): Widget
-Toggles visibility of current widget. - |
-
- - | -
-fun translate(text: String?): String? |
-
- - | -
-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. - |
-
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 deleted file mode 100644 index 4a911863..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/name.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -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 deleted file mode 100644 index 94ddee2e..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/placeholder.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -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 deleted file mode 100644 index e72773d9..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/readonly.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -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-date-picker.html b/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-date-picker.html deleted file mode 100644 index 08886f44..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/refresh-date-picker.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -protected open fun refreshDatePicker(): Unit
-
-
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 @@
-
-
-
-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 @@
-
-
-
-protected open fun render(): VNode
-Overrides Widget.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var showMeridian: Boolean
-Determines if meridian views are visible in day and hour views.
-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-popup.html b/api/pl.treksoft.kvision.form.time/-date-time-input/show-popup.html deleted file mode 100644 index fb3a130f..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/show-popup.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun showPopup(): Unit
-Open date/time chooser popup.
- - 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 deleted file mode 100644 index 8f6e2908..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/size.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -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/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 @@ - - - -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 @@ - - - -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/value.html b/api/pl.treksoft.kvision.form.time/-date-time-input/value.html deleted file mode 100644 index afa8799a..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/value.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -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 @@ - - - -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).
- - - -- cgit