diff options
Diffstat (limited to 'src/main/kotlin')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/Showcase.kt | 12 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/CheckBox.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/CheckInput.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/Radio.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/AbstractText.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/AbstractText.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/AbstractTextInput.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/Password.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/Password.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/Text.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/Text.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/TextArea.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/TextArea.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/TextAreaInput.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/TextInput.kt (renamed from src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt) | 2 |
11 files changed, 26 insertions, 16 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt index a3fec251..b6444720 100644 --- a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt +++ b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt @@ -7,13 +7,13 @@ import pl.treksoft.kvision.data.DataComponent import pl.treksoft.kvision.data.DataContainer import pl.treksoft.kvision.dropdown.DD.* import pl.treksoft.kvision.dropdown.DropDown -import pl.treksoft.kvision.form.CheckBox +import pl.treksoft.kvision.form.check.CheckBox import pl.treksoft.kvision.form.INPUTSIZE -import pl.treksoft.kvision.form.TEXTINPUTTYPE -import pl.treksoft.kvision.form.Text -import pl.treksoft.kvision.form.TextArea -import pl.treksoft.kvision.form.TextAreaInput -import pl.treksoft.kvision.form.TextInput +import pl.treksoft.kvision.form.text.TEXTINPUTTYPE +import pl.treksoft.kvision.form.text.Text +import pl.treksoft.kvision.form.text.TextArea +import pl.treksoft.kvision.form.text.TextAreaInput +import pl.treksoft.kvision.form.text.TextInput import pl.treksoft.kvision.form.select.AjaxOptions import pl.treksoft.kvision.form.select.SELECTWIDTHTYPE import pl.treksoft.kvision.form.select.Select diff --git a/src/main/kotlin/pl/treksoft/kvision/form/CheckBox.kt b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt index ecd016b2..e4dd7fe9 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/CheckBox.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt @@ -1,6 +1,8 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.check import pl.treksoft.kvision.core.Widget +import pl.treksoft.kvision.form.BoolFormField +import pl.treksoft.kvision.form.FieldLabel import pl.treksoft.kvision.panel.SimplePanel import pl.treksoft.kvision.snabbdom.SnOn import pl.treksoft.kvision.snabbdom.StringBoolPair diff --git a/src/main/kotlin/pl/treksoft/kvision/form/CheckInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt index 746b6e3d..a4899f45 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/CheckInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckInput.kt @@ -1,7 +1,9 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.check import com.github.snabbdom.VNode import pl.treksoft.kvision.core.Widget +import pl.treksoft.kvision.form.BoolFormField +import pl.treksoft.kvision.form.INPUTSIZE import pl.treksoft.kvision.snabbdom.StringBoolPair import pl.treksoft.kvision.snabbdom.StringPair diff --git a/src/main/kotlin/pl/treksoft/kvision/form/Radio.kt b/src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt index f4ca9c41..284cf26c 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/Radio.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt @@ -1,6 +1,8 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.check import pl.treksoft.kvision.core.Widget +import pl.treksoft.kvision.form.BoolFormField +import pl.treksoft.kvision.form.FieldLabel import pl.treksoft.kvision.panel.SimplePanel import pl.treksoft.kvision.snabbdom.SnOn import pl.treksoft.kvision.snabbdom.StringBoolPair diff --git a/src/main/kotlin/pl/treksoft/kvision/form/AbstractText.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractText.kt index dfa4233b..4d0ebf51 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/AbstractText.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractText.kt @@ -1,7 +1,9 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.text import pl.treksoft.kvision.panel.SimplePanel import pl.treksoft.kvision.core.Widget +import pl.treksoft.kvision.form.FieldLabel +import pl.treksoft.kvision.form.StringFormField import pl.treksoft.kvision.snabbdom.SnOn abstract class AbstractText(label: String? = null, rich: Boolean = false) : diff --git a/src/main/kotlin/pl/treksoft/kvision/form/AbstractTextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt index 8f0a09e0..09d9ec50 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/AbstractTextInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt @@ -1,6 +1,8 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.text import pl.treksoft.kvision.core.Widget +import pl.treksoft.kvision.form.INPUTSIZE +import pl.treksoft.kvision.form.StringFormField import pl.treksoft.kvision.snabbdom.StringBoolPair import pl.treksoft.kvision.snabbdom.StringPair diff --git a/src/main/kotlin/pl/treksoft/kvision/form/Password.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/Password.kt index 9b505e8b..c5b8e622 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/Password.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/Password.kt @@ -1,4 +1,4 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.text open class Password(value: String? = null, label: String? = null, rich: Boolean = false) : Text(TEXTINPUTTYPE.PASSWORD, value, label, rich) diff --git a/src/main/kotlin/pl/treksoft/kvision/form/Text.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/Text.kt index 211cb1f6..d5d78616 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/Text.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/Text.kt @@ -1,4 +1,4 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.text open class Text(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, value: String? = null, diff --git a/src/main/kotlin/pl/treksoft/kvision/form/TextArea.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/TextArea.kt index 28bbdb48..ecfe9cee 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/TextArea.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/TextArea.kt @@ -1,4 +1,4 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.text open class TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false) : AbstractText(label, rich) { diff --git a/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/TextAreaInput.kt index c30d760e..e8fd9a43 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/TextAreaInput.kt @@ -1,4 +1,4 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.text import com.github.snabbdom.VNode import pl.treksoft.kvision.snabbdom.StringPair diff --git a/src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/TextInput.kt index c900fcff..436c0fec 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/TextInput.kt @@ -1,4 +1,4 @@ -package pl.treksoft.kvision.form +package pl.treksoft.kvision.form.text import com.github.snabbdom.VNode import pl.treksoft.kvision.snabbdom.StringPair |