From 63503bd4517d87c34498002c820aefaef22c501e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 22 Aug 2018 15:34:00 +0200 Subject: API documentation for 0.0.17 --- api/alltypes/index.html | 14 ++ api/index-outline.html | 152 +++++++++++++++++---- api/index.html | 7 + api/package-list | 1 + api/pl.treksoft.kvision.core/-widget/index.html | 16 +++ .../-widget/last-language.html | 14 ++ .../-widget/translate.html | 22 +++ .../-data-container/index.html | 14 ++ .../-header/index.html | 9 ++ .../-separator/index.html | 9 ++ .../-check-input/index.html | 14 ++ .../-select-option/index.html | 14 ++ .../-spinner-input/index.html | 14 ++ .../-abstract-text-input/index.html | 14 ++ .../-date-time-input/index.html | 14 ++ .../-upload-input/index.html | 14 ++ .../-field-label/index.html | 9 ++ .../-form-panel/add-internal.html | 4 +- api/pl.treksoft.kvision.form/-form-panel/add.html | 30 ++-- .../-form-panel/index.html | 12 +- api/pl.treksoft.kvision.form/-form/add.html | 30 ++-- api/pl.treksoft.kvision.form/-form/index.html | 10 +- .../-help-block/index.html | 9 ++ api/pl.treksoft.kvision.html/-button/index.html | 14 ++ api/pl.treksoft.kvision.html/-canvas/index.html | 14 ++ api/pl.treksoft.kvision.html/-div/index.html | 9 ++ api/pl.treksoft.kvision.html/-icon/index.html | 9 ++ api/pl.treksoft.kvision.html/-iframe/index.html | 14 ++ api/pl.treksoft.kvision.html/-image/index.html | 14 ++ api/pl.treksoft.kvision.html/-label/index.html | 9 ++ api/pl.treksoft.kvision.html/-tag/index.html | 13 +- api/pl.treksoft.kvision.html/-tag/templates.html | 22 +++ api/pl.treksoft.kvision.html/-template/index.html | 12 +- .../-template/template-data.html | 1 + .../-template/templates.html | 14 ++ api/pl.treksoft.kvision.html/index.html | 4 +- api/pl.treksoft.kvision.i18n/-i18n/gettext.html | 20 +++ api/pl.treksoft.kvision.i18n/-i18n/index.html | 89 ++++++++++++ api/pl.treksoft.kvision.i18n/-i18n/init.html | 21 +++ api/pl.treksoft.kvision.i18n/-i18n/language.html | 15 ++ api/pl.treksoft.kvision.i18n/-i18n/ngettext.html | 24 ++++ api/pl.treksoft.kvision.i18n/-i18n/ntr.html | 24 ++++ api/pl.treksoft.kvision.i18n/-i18n/tr.html | 20 +++ api/pl.treksoft.kvision.i18n/-i18n/trans.html | 22 +++ api/pl.treksoft.kvision.i18n/-jed/-init-.html | 14 ++ api/pl.treksoft.kvision.i18n/-jed/gettext.html | 14 ++ api/pl.treksoft.kvision.i18n/-jed/index.html | 51 +++++++ api/pl.treksoft.kvision.i18n/-jed/ngettext.html | 14 ++ api/pl.treksoft.kvision.i18n/-jed/sprintf.html | 14 ++ api/pl.treksoft.kvision.i18n/index.html | 33 +++++ .../-close-icon/index.html | 14 ++ api/pl.treksoft.kvision.modal/-confirm/-init-.html | 10 +- .../-confirm/cancel-title.html | 15 ++ api/pl.treksoft.kvision.modal/-confirm/index.html | 31 ++++- .../-confirm/no-title.html | 15 ++ api/pl.treksoft.kvision.modal/-confirm/show.html | 6 +- .../-confirm/yes-title.html | 15 ++ .../-nav-form/index.html | 9 ++ api/pl.treksoft.kvision.navbar/-nav/index.html | 9 ++ .../-simple-panel/index.html | 14 ++ api/pl.treksoft.kvision.table/-cell/index.html | 9 ++ .../-header-cell/index.html | 9 ++ api/pl.treksoft.kvision.table/-row/index.html | 9 ++ 63 files changed, 1066 insertions(+), 69 deletions(-) create mode 100644 api/pl.treksoft.kvision.core/-widget/last-language.html create mode 100644 api/pl.treksoft.kvision.core/-widget/translate.html create mode 100644 api/pl.treksoft.kvision.html/-tag/templates.html create mode 100644 api/pl.treksoft.kvision.html/-template/templates.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/gettext.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/index.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/init.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/language.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/ngettext.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/ntr.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/tr.html create mode 100644 api/pl.treksoft.kvision.i18n/-i18n/trans.html create mode 100644 api/pl.treksoft.kvision.i18n/-jed/-init-.html create mode 100644 api/pl.treksoft.kvision.i18n/-jed/gettext.html create mode 100644 api/pl.treksoft.kvision.i18n/-jed/index.html create mode 100644 api/pl.treksoft.kvision.i18n/-jed/ngettext.html create mode 100644 api/pl.treksoft.kvision.i18n/-jed/sprintf.html create mode 100644 api/pl.treksoft.kvision.i18n/index.html create mode 100644 api/pl.treksoft.kvision.modal/-confirm/cancel-title.html create mode 100644 api/pl.treksoft.kvision.modal/-confirm/no-title.html create mode 100644 api/pl.treksoft.kvision.modal/-confirm/yes-title.html diff --git a/api/alltypes/index.html b/api/alltypes/index.html index e82af26b..ecb353d5 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -637,6 +637,13 @@ +pl.treksoft.kvision.i18n.I18n + +

A singleton object used for translations.

+ + + + pl.treksoft.kvision.html.Icon

Icon component with support for FontAwesome and Bootstrap glyphicons.

@@ -678,6 +685,12 @@ +pl.treksoft.kvision.i18n.Jed + + + + + pl.treksoft.kvision.remote.JoobyServer

A Jooby based server. @@ -1153,6 +1166,7 @@ Not used on the js platform.

pl.treksoft.kvision.html.Template +

Handlebars templates helper interface.

diff --git a/api/index-outline.html b/api/index-outline.html index b8aab801..bdf5943a 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -823,12 +823,15 @@ -Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
+Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
var align: Align?
+var cancelTitle: String
var cancelVisible: Boolean
+var noTitle: String
var rich: Boolean
-fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
+fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit
var text: String?
+var yesTitle: String
@@ -1381,11 +1384,11 @@ Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>)
-fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
-fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
-fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
-fun <C : KDateFormControl> add(key: KProperty1<K, KDate?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
-fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
+fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>
+fun <C : BoolFormControl> add(