From 5c87c4a52e95c942c413324e21034a52fff0ccb3 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 17 Mar 2019 01:38:43 +0100 Subject: API Documentation for KVision 0.0.30 --- .../-field-label/field-label.html | 16 ++++++++++ .../-field-label/index.html | 14 ++++++++ .../-form-panel/get-data-with-file-content.html | 17 ---------- .../-form-panel/index.html | 18 +++++------ api/pl.treksoft.kvision.form/-form/fields.html | 14 ++++++++ .../-form/get-data-with-file-content.html | 17 ---------- api/pl.treksoft.kvision.form/-form/index.html | 37 ++++++++++++++++------ .../-form/model-factory.html | 14 ++++++++ 8 files changed, 95 insertions(+), 52 deletions(-) create mode 100644 api/pl.treksoft.kvision.form/-field-label/field-label.html delete mode 100644 api/pl.treksoft.kvision.form/-form-panel/get-data-with-file-content.html create mode 100644 api/pl.treksoft.kvision.form/-form/fields.html delete mode 100644 api/pl.treksoft.kvision.form/-form/get-data-with-file-content.html create mode 100644 api/pl.treksoft.kvision.form/-form/model-factory.html (limited to 'api/pl.treksoft.kvision.form') diff --git a/api/pl.treksoft.kvision.form/-field-label/field-label.html b/api/pl.treksoft.kvision.form/-field-label/field-label.html new file mode 100644 index 00000000..4bdcb3f7 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-field-label/field-label.html @@ -0,0 +1,16 @@ + + + +FieldLabel.fieldLabel - kvision + + + +kvision / pl.treksoft.kvision.form / FieldLabel / fieldLabel
+
+

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.

+

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

+ + diff --git a/api/pl.treksoft.kvision.form/-field-label/index.html b/api/pl.treksoft.kvision.form/-field-label/index.html index b579bd1e..88717b91 100644 --- a/api/pl.treksoft.kvision.form/-field-label/index.html +++ b/api/pl.treksoft.kvision.form/-field-label/index.html @@ -125,6 +125,20 @@ +

Companion Object Functions

+ + + + + + + +
+

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.

+

Extension Functions

diff --git a/api/pl.treksoft.kvision.form/-form-panel/get-data-with-file-content.html b/api/pl.treksoft.kvision.form/-form-panel/get-data-with-file-content.html deleted file mode 100644 index 9afc0f15..00000000 --- a/api/pl.treksoft.kvision.form/-form-panel/get-data-with-file-content.html +++ /dev/null @@ -1,17 +0,0 @@ - - - -FormPanel.getDataWithFileContent - kvision - - - -kvision / pl.treksoft.kvision.form / FormPanel / getDataWithFileContent
-
-

getDataWithFileContent

- -suspend fun getDataWithFileContent(): K -

Returns current data model with file content read for all KFiles controls.

-

Return
-data model

- - diff --git a/api/pl.treksoft.kvision.form/-form-panel/index.html b/api/pl.treksoft.kvision.form/-form-panel/index.html index 6484c136..b024a683 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/index.html +++ b/api/pl.treksoft.kvision.form/-form-panel/index.html @@ -182,15 +182,6 @@ - - - - + + + +
-

getDataWithFileContent

-
-suspend fun getDataWithFileContent(): K -

Returns current data model with file content read for all KFiles controls.

-

getSnAttrs

@@ -346,6 +337,15 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

getDataWithFileContent

+
+suspend fun <K : Any> FormPanel<K>.getDataWithFileContent(): K +

Returns current data model with file content read for all KFiles controls.

+
diff --git a/api/pl.treksoft.kvision.form/-form/fields.html b/api/pl.treksoft.kvision.form/-form/fields.html new file mode 100644 index 00000000..8a5d51b8 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form/fields.html @@ -0,0 +1,14 @@ + + + +Form.fields - kvision + + + +kvision / pl.treksoft.kvision.form / Form / fields
+
+

fields

+ +val fields: MutableMap<String, FormControl> + + diff --git a/api/pl.treksoft.kvision.form/-form/get-data-with-file-content.html b/api/pl.treksoft.kvision.form/-form/get-data-with-file-content.html deleted file mode 100644 index c3384ce8..00000000 --- a/api/pl.treksoft.kvision.form/-form/get-data-with-file-content.html +++ /dev/null @@ -1,17 +0,0 @@ - - - -Form.getDataWithFileContent - kvision - - - -kvision / pl.treksoft.kvision.form / Form / getDataWithFileContent
-
-

getDataWithFileContent

- -suspend fun getDataWithFileContent(): K -

Returns current data model with file content read for all KFiles controls.

-

Return
-data model

- - diff --git a/api/pl.treksoft.kvision.form/-form/index.html b/api/pl.treksoft.kvision.form/-form/index.html index 87d25335..1412e3d6 100644 --- a/api/pl.treksoft.kvision.form/-form/index.html +++ b/api/pl.treksoft.kvision.form/-form/index.html @@ -24,6 +24,25 @@ +

Properties

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

fields

+
+val fields: MutableMap<String, FormControl>
+

modelFactory

+
+val modelFactory: (Map<String, Any?>) -> K

Functions

@@ -91,15 +110,6 @@ - - - - + + + +
-

getDataWithFileContent

-
-suspend fun getDataWithFileContent(): K -

Returns current data model with file content read for all KFiles controls.

-

remove

@@ -160,6 +170,15 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

getDataWithFileContent

+
+suspend fun <K : Any> Form<K>.getDataWithFileContent(): K +

Returns current data model with file content read for all KFiles controls.

+
diff --git a/api/pl.treksoft.kvision.form/-form/model-factory.html b/api/pl.treksoft.kvision.form/-form/model-factory.html new file mode 100644 index 00000000..db981f14 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form/model-factory.html @@ -0,0 +1,14 @@ + + + +Form.modelFactory - kvision + + + +kvision / pl.treksoft.kvision.form / Form / modelFactory
+
+

modelFactory

+ +val modelFactory: (Map<String, Any?>) -> K + + -- cgit