From c7169d6e9dec101fc5523f84766b6fd0c3ecb656 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 16 Feb 2019 23:29:42 +0100 Subject: API documentation for KVision 0.0.25 --- api/alltypes/index.html | 49 ++-- api/index-outline.html | 292 +++++++++++---------- api/package-list | 2 +- .../-header/index.html | 15 ++ .../-separator/index.html | 15 ++ .../-field-label/index.html | 15 ++ .../-help-block/index.html | 15 ++ api/pl.treksoft.kvision.html/-div/index.html | 15 ++ api/pl.treksoft.kvision.html/-icon/index.html | 15 ++ api/pl.treksoft.kvision.html/-label/index.html | 15 ++ api/pl.treksoft.kvision.html/-tag/index.html | 15 ++ api/pl.treksoft.kvision.html/-template/index.html | 15 ++ api/pl.treksoft.kvision.html/index.html | 15 ++ api/pl.treksoft.kvision.html/set-data.html | 17 ++ .../-nav-form/index.html | 15 ++ api/pl.treksoft.kvision.navbar/-nav/index.html | 15 ++ .../-call-agent/call.html | 104 ++++++++ .../-call-agent/index.html | 23 +- .../-call-agent/json-rpc-call.html | 8 +- .../-call-agent/remote-call.html | 64 +++++ .../-call-module/-init-.html | 14 + .../-call-module/configure.html | 14 + .../-call-module/index.html | 37 +++ .../-i-n-j-e-c-t-o-r_-k-e-y.html | 14 + .../-k-v-controller/application-context.html | 14 + .../-k-v-controller/index.html | 11 +- .../-k-v-controller/kv-server.html | 14 - .../-k-v-controller/services.html | 14 + .../-k-v-server/-init-.html | 22 -- .../-k-v-server/index.html | 46 ---- .../-k-v-server/services.html | 14 - .../-k-v-service-manager/add-route.html | 6 +- .../-k-v-service-manager/apply-routes.html | 16 -- .../-k-v-service-manager/bind.html | 28 +- .../-k-v-service-manager/call.html | 4 +- .../-k-v-service-manager/calls.html | 2 +- .../-k-v-service-manager/delete-requests.html | 2 +- .../-k-v-service-manager/get-calls.html | 2 +- .../-k-v-service-manager/get-requests.html | 14 + .../-k-v-service-manager/index.html | 48 ++-- .../-k-v-service-manager/options-requests.html | 2 +- .../-k-v-service-manager/post-requests.html | 2 +- .../-k-v-service-manager/put-requests.html | 2 +- .../-k-v-service-manager/routes.html | 2 +- .../-login-service/-init-.html | 6 +- .../-login-service/index.html | 15 +- .../-login-service/login-endpoint.html | 14 + .../-login-service/login.html | 2 +- .../-main-module/-init-.html | 14 + .../-main-module/configure.html | 14 + .../-main-module/index.html | 37 +++ .../-security-mgr/-init-.html | 2 +- .../-security-mgr/index.html | 4 +- .../-spring-context/-init-.html | 14 - .../-spring-context/get-bean.html | 21 -- .../-spring-context/index.html | 55 ---- .../-spring-context/set-application-context.html | 14 - api/pl.treksoft.kvision.remote/apply-routes.html | 14 + api/pl.treksoft.kvision.remote/index.html | 68 +++-- api/pl.treksoft.kvision.remote/injector.html | 14 + api/pl.treksoft.kvision.remote/kvision-init.html | 16 ++ api/pl.treksoft.kvision.remote/with-profile.html | 8 +- api/pl.treksoft.kvision.table/-cell/index.html | 15 ++ .../-header-cell/index.html | 15 ++ api/pl.treksoft.kvision.table/-row/index.html | 15 ++ api/pl.treksoft.kvision.types/-date-converter.html | 13 - api/pl.treksoft.kvision.types/index.html | 14 - api/pl.treksoft.kvision.types/kv-table-config.html | 14 - api/pl.treksoft.kvision.utils/-j-s-o-n/index.html | 4 +- api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html | 8 +- .../index.html | 25 -- .../sync-with-list.html | 15 -- api/pl.treksoft.kvision.utils/index.html | 10 +- .../kotlin.collections.-mutable-list/index.html | 25 ++ .../sync-with-list.html | 15 ++ 75 files changed, 1040 insertions(+), 563 deletions(-) create mode 100644 api/pl.treksoft.kvision.html/set-data.html create mode 100644 api/pl.treksoft.kvision.remote/-call-agent/call.html create mode 100644 api/pl.treksoft.kvision.remote/-call-module/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-call-module/configure.html create mode 100644 api/pl.treksoft.kvision.remote/-call-module/index.html create mode 100644 api/pl.treksoft.kvision.remote/-i-n-j-e-c-t-o-r_-k-e-y.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/application-context.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/kv-server.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-controller/services.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-server/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-server/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-server/services.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/apply-routes.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/get-requests.html create mode 100644 api/pl.treksoft.kvision.remote/-login-service/login-endpoint.html create mode 100644 api/pl.treksoft.kvision.remote/-main-module/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-main-module/configure.html create mode 100644 api/pl.treksoft.kvision.remote/-main-module/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-context/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-context/get-bean.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-context/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-context/set-application-context.html create mode 100644 api/pl.treksoft.kvision.remote/apply-routes.html create mode 100644 api/pl.treksoft.kvision.remote/injector.html create mode 100644 api/pl.treksoft.kvision.remote/kvision-init.html delete mode 100644 api/pl.treksoft.kvision.types/-date-converter.html delete mode 100644 api/pl.treksoft.kvision.types/kv-table-config.html delete mode 100644 api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/index.html delete mode 100644 api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/sync-with-list.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/index.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html diff --git a/api/alltypes/index.html b/api/alltypes/index.html index d8bc1d69..0c408bd3 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -186,6 +186,12 @@ +pl.treksoft.kvision.remote.CallModule + + + + + pl.treksoft.kvision.html.Canvas

Canvas component.

@@ -352,12 +358,6 @@ -pl.treksoft.kvision.types.DateConverter - - - - - pl.treksoft.kvision.form.DateFormControl

Base interface of a form control with a date value.

@@ -731,6 +731,7 @@ pl.treksoft.kvision.utils.JSON +

JSON utility functions

@@ -774,14 +775,6 @@ -pl.treksoft.kvision.remote.KVServer - -

A server. -Not used on the js platform.

- - - - pl.treksoft.kvision.remote.KVServiceManager

Multiplatform service manager.

@@ -826,7 +819,13 @@ Not used on the js platform.

pl.treksoft.kvision.remote.LoginService -

Pac4j form login dispatcher.

+

Form login dispatcher.

+ + + + +pl.treksoft.kvision.remote.MainModule + @@ -858,6 +857,12 @@ Not used on the js platform.

+kotlin.collections.MutableList (extensions in package pl.treksoft.kvision.utils) + + + + + pl.treksoft.kvision.navbar.Nav

The Bootstrap Nav container.

@@ -900,12 +905,6 @@ Not used on the js platform.

-com.lightningkite.kotlin.observable.list.ObservableList (extensions in package pl.treksoft.kvision.utils) - - - - - pl.treksoft.kvision.core.Overflow

Definitions of CSS overflow options.

@@ -1082,7 +1081,7 @@ Not used on the js platform.

pl.treksoft.kvision.remote.SecurityMgr -

Pac4j form login dispatcher.

+

Form login dispatcher.

@@ -1184,12 +1183,6 @@ Not used on the js platform.

-pl.treksoft.kvision.remote.SpringContext - - - - - pl.treksoft.kvision.panel.StackPanel

The container with only one active (visible) child at any moment.

diff --git a/api/index-outline.html b/api/index-outline.html index 0f57d8aa..aa7f8c94 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -464,8 +464,30 @@ CallAgent()
-fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.POST): Promise<String>
+inline fun <reified T : Any> call(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T>
+inline fun <reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic>
+inline fun <T : Any, reified V : Any> call(url: String, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T>
+inline fun <reified T : Any, V : Any> call(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T>
+inline fun <reified T : Any, reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, noinline transform: (dynamic) -> dynamic = null): Promise<T>
+fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST): Promise<String>
fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic>
+fun <T : Any> remoteCall(url: String, data: dynamic = null, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, transform: (dynamic) -> dynamic = null): Promise<T>
+fun <V : Any> remoteCall(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic>
+fun <T : Any, V : Any> remoteCall(url: String, serializer: SerializationStrategy<V>, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null, transform: (dynamic) -> dynamic = null): Promise<T>
+ + + +class CallModule
+ @@ -971,7 +993,6 @@ -object DateConverter
interface DateFormControl : FormControl