From a81c549e277d1a07e87cf8e2eecf89662deda323 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Dec 2018 01:32:27 +0100 Subject: API documentation for KVision 0.0.22 --- api/alltypes/index.html | 92 ++- api/index-outline.html | 719 +++++++++------------ .../-ajax-options/-init-.html | 4 +- .../-ajax-options/before-send.html | 2 +- .../-ajax-options/index.html | 20 +- .../-ajax-options/preserve-selected.html | 14 + .../-ajax-options/process-data.html | 14 + .../-ajax-options/url.html | 2 +- .../-remote-select-input/-init-.html | 29 + .../-remote-select-input/index.html | 300 +++++++++ .../-remote-select-input/remote-select-input.html | 16 + .../-remote-select/-init-.html | 33 + .../-remote-select/add-all.html | 21 + .../-remote-select/add.html | 21 + .../-remote-select/autofocus.html | 15 + .../-remote-select/blur.html | 16 + .../-remote-select/empty-option.html | 15 + .../-remote-select/flabel.html | 16 + .../-remote-select/focus.html | 16 + .../-remote-select/get-children.html | 18 + .../-remote-select/get-sn-class.html | 18 + .../-remote-select/hide-options.html | 15 + .../-remote-select/index.html | 354 ++++++++++ .../-remote-select/input.html | 16 + .../-remote-select/label.html | 15 + .../-remote-select/max-options.html | 15 + .../-remote-select/multiple.html | 15 + .../-remote-select/placeholder.html | 15 + .../-remote-select/remote-select.html | 16 + .../-remote-select/remove-all.html | 18 + .../-remote-select/remove-event-listeners.html | 18 + .../-remote-select/remove.html | 21 + .../-remote-select/rich.html | 15 + .../-remote-select/select-width-type.html | 15 + .../-remote-select/select-width.html | 15 + .../-remote-select/set-event-listener.html | 54 ++ .../-remote-select/show-options.html | 15 + .../-remote-select/style.html | 15 + .../-remote-select/toggle-options.html | 15 + .../-remote-select/validation-info.html | 16 + .../-remote-select/value.html | 16 + .../-select-input/index.html | 21 + .../-select-input/refresh-select-input.html | 14 + .../-select-option/-init-.html | 4 +- .../-select-option/index.html | 11 +- .../-select-option/selected.html | 21 + .../decode-u-r-i-component.html | 14 + api/pl.treksoft.kvision.form.select/index.html | 25 + .../-string-form-control/index.html | 9 + .../-side-tab-size/-s-i-z-e_1.html | 14 + .../-side-tab-size/-s-i-z-e_2.html | 14 + .../-side-tab-size/-s-i-z-e_3.html | 14 + .../-side-tab-size/-s-i-z-e_4.html | 14 + .../-side-tab-size/-s-i-z-e_5.html | 14 + .../-side-tab-size/-s-i-z-e_6.html | 14 + .../-side-tab-size/index.html | 61 ++ .../-simple-panel/index.html | 9 + .../-tab-panel/-init-.html | 8 +- .../-tab-panel/index.html | 4 +- .../-tab-panel/tab-panel.html | 4 +- .../-tab-position/-l-e-f-t.html | 14 + .../-tab-position/-r-i-g-h-t.html | 14 + .../-tab-position/-t-o-p.html | 14 + .../-tab-position/index.html | 40 ++ api/pl.treksoft.kvision.panel/index.html | 18 + .../-call-agent/index.html | 4 +- .../-call-agent/json-rpc-call.html | 2 +- .../-call-agent/remote-call.html | 2 +- .../-http-method/-d-e-l-e-t-e.html | 14 - .../-http-method/-g-e-t.html | 14 - .../-http-method/-o-p-t-i-o-n-s.html | 14 - .../-http-method/-p-o-s-t.html | 14 - .../-http-method/-p-u-t.html | 14 - .../-http-method/index.html | 53 -- .../-jooby-remote-agent/-init-.html | 15 - .../-jooby-remote-agent/call-agent.html | 14 - .../-jooby-remote-agent/call.html | 37 -- .../-jooby-remote-agent/index.html | 72 --- .../-jooby-remote-agent/service-manager.html | 14 - .../-jooby-service-manager/-init-.html | 15 - .../-jooby-service-manager/-l-o-g.html | 14 - .../-jooby-service-manager/apply-routes.html | 18 - .../-jooby-service-manager/bind.html | 32 - .../-jooby-service-manager/call.html | 14 - .../-jooby-service-manager/calls.html | 14 - .../-jooby-service-manager/counter.html | 14 - .../-jooby-service-manager/get-calls.html | 16 - .../-jooby-service-manager/get-parameter.html | 14 - .../-jooby-service-manager/index.html | 145 ----- .../-jooby-service-manager/mapper.html | 14 - .../-jooby-service-manager/routes.html | 14 - .../-jooby-service-manager/service.html | 14 - .../-json-rpc-request/-init-.html | 16 - .../-json-rpc-request/id.html | 14 - .../-json-rpc-request/index.html | 59 -- .../-json-rpc-request/jsonrpc.html | 14 - .../-json-rpc-request/method.html | 14 - .../-json-rpc-request/params.html | 14 - .../-json-rpc-response/-init-.html | 14 - .../-json-rpc-response/error.html | 14 - .../-json-rpc-response/id.html | 14 - .../-json-rpc-response/index.html | 58 -- .../-json-rpc-response/jsonrpc.html | 14 - .../-json-rpc-response/result.html | 14 - .../-k-v-remote-agent/-init-.html | 15 + .../-k-v-remote-agent/call-agent.html | 14 + .../-k-v-remote-agent/call.html | 37 ++ .../-k-v-remote-agent/index.html | 72 +++ .../-k-v-remote-agent/service-manager.html | 14 + .../-k-v-server/-init-.html | 12 +- .../-k-v-server/index.html | 15 +- .../-k-v-server/services.html | 2 +- .../-k-v-service-manager/-init-.html | 15 + .../-k-v-service-manager/-l-o-g.html | 14 + .../-k-v-service-manager/add-route.html | 14 + .../-k-v-service-manager/apply-routes.html | 16 + .../-k-v-service-manager/bind.html | 38 ++ .../-k-v-service-manager/call.html | 14 + .../-k-v-service-manager/calls.html | 14 + .../-k-v-service-manager/counter.html | 14 + .../-k-v-service-manager/delete-requests.html | 14 + .../-k-v-service-manager/get-calls.html | 15 + .../-k-v-service-manager/get-parameter.html | 14 + .../-k-v-service-manager/index.html | 169 +++++ .../-k-v-service-manager/mapper.html | 14 + .../-k-v-service-manager/options-requests.html | 14 + .../-k-v-service-manager/post-requests.html | 14 + .../-k-v-service-manager/put-requests.html | 14 + .../-k-v-service-manager/routes.html | 14 + .../-k-v-service-manager/service-class.html | 14 + .../-login-service/index.html | 2 +- .../-login-service/login.html | 2 +- .../-profile/-profile/index.html | 2 +- api/pl.treksoft.kvision.remote/-profile/index.html | 2 +- api/pl.treksoft.kvision.remote/-remote-agent.html | 15 +- api/pl.treksoft.kvision.remote/-request.html | 29 +- .../-rpc-http-method/-d-e-l-e-t-e.html | 14 - .../-rpc-http-method/-o-p-t-i-o-n-s.html | 14 - .../-rpc-http-method/-p-o-s-t.html | 14 - .../-rpc-http-method/-p-u-t.html | 14 - .../-rpc-http-method/index.html | 46 -- .../-service-manager/get-calls.html | 15 - .../-service-manager/index.html | 50 -- .../-spring-remote-agent/-init-.html | 15 - .../-spring-remote-agent/call-agent.html | 14 - .../-spring-remote-agent/call.html | 37 -- .../-spring-remote-agent/index.html | 72 --- .../-spring-remote-agent/service-manager.html | 14 - .../-spring-service-manager/-init-.html | 15 - .../-spring-service-manager/-l-o-g.html | 14 - .../-spring-service-manager/add-route.html | 14 - .../-spring-service-manager/bind.html | 32 - .../-spring-service-manager/calls.html | 14 - .../-spring-service-manager/counter.html | 14 - .../-spring-service-manager/delete-requests.html | 14 - .../-spring-service-manager/get-calls.html | 16 - .../-spring-service-manager/get-parameter.html | 14 - .../-spring-service-manager/index.html | 157 ----- .../-spring-service-manager/mapper.html | 14 - .../-spring-service-manager/options-requests.html | 14 - .../-spring-service-manager/post-requests.html | 14 - .../-spring-service-manager/put-requests.html | 14 - .../-spring-service-manager/service-class.html | 14 - .../add-path-patterns-from-services.html | 4 +- api/pl.treksoft.kvision.remote/async-auth.html | 18 - api/pl.treksoft.kvision.remote/async-session.html | 15 - api/pl.treksoft.kvision.remote/async.html | 18 - api/pl.treksoft.kvision.remote/index.html | 114 +--- api/pl.treksoft.kvision.remote/with-profile.html | 17 + .../-k-v_-d-a-t-e_-f-o-r-m-a-t.html | 14 + api/pl.treksoft.kvision.types/index.html | 7 + .../java.util.-date/index.html | 2 +- .../java.util.-date/to-string-f.html | 2 +- .../kotlin.-string/index.html | 2 +- .../kotlin.-string/to-date-f.html | 2 +- 175 files changed, 2699 insertions(+), 2241 deletions(-) create mode 100644 api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html create mode 100644 api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select-input/-init-.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select-input/index.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select-input/remote-select-input.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/-init-.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/add-all.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/add.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/autofocus.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/blur.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/empty-option.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/flabel.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/focus.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/get-children.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/hide-options.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/index.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/input.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/label.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/max-options.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/multiple.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/placeholder.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/remote-select.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/remove-all.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/remove-event-listeners.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/remove.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/rich.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/select-width-type.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/select-width.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/set-event-listener.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/show-options.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/style.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/toggle-options.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.select/-remote-select/value.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-input/refresh-select-input.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-option/selected.html create mode 100644 api/pl.treksoft.kvision.form.select/decode-u-r-i-component.html create mode 100644 api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_1.html create mode 100644 api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_2.html create mode 100644 api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_3.html create mode 100644 api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_4.html create mode 100644 api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_5.html create mode 100644 api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_6.html create mode 100644 api/pl.treksoft.kvision.panel/-side-tab-size/index.html create mode 100644 api/pl.treksoft.kvision.panel/-tab-position/-l-e-f-t.html create mode 100644 api/pl.treksoft.kvision.panel/-tab-position/-r-i-g-h-t.html create mode 100644 api/pl.treksoft.kvision.panel/-tab-position/-t-o-p.html create mode 100644 api/pl.treksoft.kvision.panel/-tab-position/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-http-method/-d-e-l-e-t-e.html delete mode 100644 api/pl.treksoft.kvision.remote/-http-method/-g-e-t.html delete mode 100644 api/pl.treksoft.kvision.remote/-http-method/-o-p-t-i-o-n-s.html delete mode 100644 api/pl.treksoft.kvision.remote/-http-method/-p-o-s-t.html delete mode 100644 api/pl.treksoft.kvision.remote/-http-method/-p-u-t.html delete mode 100644 api/pl.treksoft.kvision.remote/-http-method/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-remote-agent/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-remote-agent/call-agent.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-remote-agent/call.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-remote-agent/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-remote-agent/service-manager.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/-l-o-g.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/apply-routes.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/bind.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/call.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/calls.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/counter.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/get-calls.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/get-parameter.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/mapper.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/routes.html delete mode 100644 api/pl.treksoft.kvision.remote/-jooby-service-manager/service.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-request/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-request/id.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-request/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-request/jsonrpc.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-request/method.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-request/params.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-response/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-response/error.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-response/id.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-response/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-response/jsonrpc.html delete mode 100644 api/pl.treksoft.kvision.remote/-json-rpc-response/result.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-remote-agent/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-remote-agent/call-agent.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-remote-agent/call.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-remote-agent/index.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-remote-agent/service-manager.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/-l-o-g.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html create 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/bind.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/calls.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/counter.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/delete-requests.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/get-calls.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/mapper.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/options-requests.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/post-requests.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/put-requests.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/routes.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/service-class.html delete mode 100644 api/pl.treksoft.kvision.remote/-rpc-http-method/-d-e-l-e-t-e.html delete mode 100644 api/pl.treksoft.kvision.remote/-rpc-http-method/-o-p-t-i-o-n-s.html delete mode 100644 api/pl.treksoft.kvision.remote/-rpc-http-method/-p-o-s-t.html delete mode 100644 api/pl.treksoft.kvision.remote/-rpc-http-method/-p-u-t.html delete mode 100644 api/pl.treksoft.kvision.remote/-rpc-http-method/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-service-manager/get-calls.html delete mode 100644 api/pl.treksoft.kvision.remote/-service-manager/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-remote-agent/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-remote-agent/call-agent.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-remote-agent/call.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-remote-agent/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-remote-agent/service-manager.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/-l-o-g.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/add-route.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/bind.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/calls.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/counter.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/delete-requests.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/get-calls.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/get-parameter.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/mapper.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/options-requests.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/post-requests.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/put-requests.html delete mode 100644 api/pl.treksoft.kvision.remote/-spring-service-manager/service-class.html delete mode 100644 api/pl.treksoft.kvision.remote/async-auth.html delete mode 100644 api/pl.treksoft.kvision.remote/async-session.html delete mode 100644 api/pl.treksoft.kvision.remote/async.html create mode 100644 api/pl.treksoft.kvision.remote/with-profile.html create mode 100644 api/pl.treksoft.kvision.types/-k-v_-d-a-t-e_-f-o-r-m-a-t.html (limited to 'api') diff --git a/api/alltypes/index.html b/api/alltypes/index.html index 59829426..fc9ecd55 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -661,12 +661,6 @@ -pl.treksoft.kvision.remote.HttpMethod - - - - - pl.treksoft.kvision.form.select.HttpType

HTTP protocol type for the AJAX call.

@@ -740,61 +734,50 @@ -pl.treksoft.kvision.remote.JoobyRemoteAgent - -

Client side agent for JSON-RPC remote calls with Jooby.

- - - - -pl.treksoft.kvision.remote.JoobyServiceManager - -

Multiplatform service manager for Jooby.

- - - - kotlin.js.Json (extensions in package pl.treksoft.kvision.form) -pl.treksoft.kvision.remote.JsonRpcRequest +pl.treksoft.kvision.types.KFile +

A serializable class for a multiplatform File type.

-pl.treksoft.kvision.remote.JsonRpcResponse +pl.treksoft.kvision.form.KFilesFormControl +

Base interface of a form control with a list of files value.

-pl.treksoft.kvision.types.KFile +pl.treksoft.kvision.remote.KVController -

A serializable class for a multiplatform File type.

-pl.treksoft.kvision.form.KFilesFormControl +pl.treksoft.kvision.remote.KVRemoteAgent -

Base interface of a form control with a list of files value.

+

Client side agent for JSON-RPC remote calls.

-pl.treksoft.kvision.remote.KVController +pl.treksoft.kvision.remote.KVServer +

A server. +Not used on the js platform.

-pl.treksoft.kvision.remote.KVServer +pl.treksoft.kvision.remote.KVServiceManager -

A server.

+

Multiplatform service manager.

@@ -992,9 +975,24 @@ +pl.treksoft.kvision.form.select.RemoteSelect + +

The form field component for RemoteSelect control.

+ + + + +pl.treksoft.kvision.form.select.RemoteSelectInput + +

The Select control connected to the multiplatform service.

+ + + + pl.treksoft.kvision.remote.Request -

A server request.

+

A server request. +Not used on the js platform.

@@ -1055,12 +1053,6 @@ -pl.treksoft.kvision.remote.RpcHttpMethod - - - - - pl.treksoft.kvision.html.Sandbox

Iframe sandbox options.

@@ -1124,15 +1116,16 @@ -pl.treksoft.kvision.remote.ServiceManager +pl.treksoft.kvision.panel.Side +

Dock layout directions.

-pl.treksoft.kvision.panel.Side +pl.treksoft.kvision.panel.SideTabSize -

Dock layout directions.

+

Left or right tab size.

@@ -1177,20 +1170,6 @@ -pl.treksoft.kvision.remote.SpringRemoteAgent - -

Client side agent for JSON-RPC remote calls with Spring Boot.

- - - - -pl.treksoft.kvision.remote.SpringServiceManager - -

Multiplatform service manager for Spring Boot.

- - - - pl.treksoft.kvision.panel.StackPanel

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

@@ -1246,6 +1225,13 @@ +pl.treksoft.kvision.panel.TabPosition + +

Tab position.

+ + + + pl.treksoft.kvision.table.Table

HTML table component.

diff --git a/api/index-outline.html b/api/index-outline.html index 93f59472..e78d6a3f 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -90,8 +90,8 @@ -AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false)
-val beforeSend: (JQueryXHR) -> dynamic
+AjaxOptions(url: String? = null, preprocessData: (dynamic) -> dynamic = null, beforeSend: (JQueryXHR, dynamic) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false, preserveSelected: Boolean = false, processData: Boolean = false)
+val beforeSend: (JQueryXHR, dynamic) -> dynamic
val cache: Boolean
val clearOnEmpty: Boolean
val clearOnError: Boolean
@@ -101,9 +101,11 @@ val httpType: HttpType
val minLength: Int
val preprocessData: (dynamic) -> dynamic
+val preserveSelected: Boolean
+val processData: Boolean
val requestDelay: Int
val restoreOnError: Boolean
-val url: String
+val url: String?
@@ -462,8 +464,8 @@ CallAgent()
-fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.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 jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.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>
@@ -1812,23 +1814,6 @@ -enum class HttpMethod
- enum class HttpType
-open class JoobyRemoteAgent<T : Any> : RemoteAgent
- -open expect class JoobyServiceManager<T : Any> : ServiceManager
- -data class JsonRpcRequest
+data class KFile
-data class JsonRpcResponse
+interface KFilesFormControl : FormControl
-data class KFile
+open class KVController
-interface KFilesFormControl : FormControl
+open class KVRemoteAgent<T : Any> : RemoteAgent
-open class KVController
+open actual class KVServer
-open expect class KVServer
+open actual class KVServiceManager<T : Any>
@@ -2252,7 +2208,7 @@ LoginService()
-fun login(credentials: Credentials?): Deferred<Boolean>
+suspend fun login(credentials: Credentials?): Boolean
val loginAgent: CallAgent
@@ -2599,7 +2555,63 @@ interface RemoteAgent
-expect interface Request
+open class RemoteSelect<T : Any> : SimplePanel, StringFormControl
+ +open class RemoteSelectInput<T : Any> : SelectInput
+ +actual interface Request
typealias ResString = String
enum class Resize
-enum class RpcHttpMethod
- enum class Sandbox
-interface ServiceManager
+enum class Side
-enum class Side
+enum class SideTabSize
@@ -3115,64 +3118,6 @@ -open class SpringRemoteAgent<T : Any> : RemoteAgent
- -open expect class SpringServiceManager<T : Any> : ServiceManager
- open class StackPanel : SimplePanel
+enum class TabPosition
+ @@ -4024,7 +3984,7 @@ -expect fun Date.toStringF(format: String = "YYYY-MM-DD HH:mm:ss"): String
+expect fun Date.toStringF(format: String = KV_DATE_FORMAT): String
@@ -4077,7 +4037,7 @@ -expect fun String.toDateF(format: String = "YYYY-MM-DD HH:mm:ss"): Date
+expect fun String.toDateF(format: String = KV_DATE_FORMAT): Date
@@ -5751,8 +5711,8 @@ -AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false)
-val beforeSend: (JQueryXHR) -> dynamic
+AjaxOptions(url: String? = null, preprocessData: (dynamic) -> dynamic = null, beforeSend: (JQueryXHR, dynamic) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false, preserveSelected: Boolean = false, processData: Boolean = false)
+val beforeSend: (JQueryXHR, dynamic) -> dynamic
val cache: Boolean
val clearOnEmpty: Boolean
val clearOnError: Boolean
@@ -5762,9 +5722,11 @@ val httpType: HttpType
val minLength: Int
val preprocessData: (dynamic) -> dynamic
+val preserveSelected: Boolean
+val processData: Boolean
val requestDelay: Int
val restoreOnError: Boolean
-val url: String
+val url: String?
@@ -5799,6 +5761,62 @@ +open class RemoteSelect<T : Any> : SimplePanel, StringFormControl
+ +open class RemoteSelectInput<T : Any> : SelectInput
+ open class Select : SimplePanel, StringFormControl
+external fun decodeURIComponent(encodedURI: String): String
fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
@@ -7614,6 +7635,24 @@ +enum class SideTabSize
+ open class SimplePanel : Widget, Container
+enum class TabPosition
+ @@ -7781,8 +7835,8 @@ CallAgent()
-fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.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 jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.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>
@@ -7802,80 +7856,7 @@ const val HTTP_UNAUTHORIZED: Int
-enum class HttpMethod
- -open class JoobyRemoteAgent<T : Any> : RemoteAgent
- -open expect class JoobyServiceManager<T : Any> : ServiceManager
- -data class JsonRpcRequest
+open class KVController
-data class JsonRpcResponse
+open class KVRemoteAgent<T : Any> : RemoteAgent
-open class KVController
+open actual class KVServer
-open expect class KVServer
+open actual class KVServiceManager<T : Any>
@@ -7951,7 +7959,7 @@ LoginService()
-fun login(credentials: Credentials?): Deferred<Boolean>
+suspend fun login(credentials: Credentials?): Boolean
val loginAgent: CallAgent
@@ -7965,7 +7973,7 @@ -expect class Profile
+data actual class Profile
interface RemoteAgent
-expect interface Request
-enum class RpcHttpMethod
- +actual interface Request
class SecurityException : Exception
-interface ServiceManager
- class SpringContext
-open class SpringRemoteAgent<T : Any> : RemoteAgent
- -open expect class SpringServiceManager<T : Any> : ServiceManager
- -fun <ERROR CLASS>.addPathPatternsFromServices(services: List<SpringServiceManager<*>>): Unit
-fun <RESP> Request?.async(block: (Request) -> RESP): Deferred<RESP>
-fun <RESP> async(block: () -> RESP): Deferred<RESP>
-fun <RESP> Request?.asyncAuth(block: (Request, <ERROR CLASS>, Profile) -> RESP): Deferred<RESP>
-fun <RESP> asyncAuth(block: (Profile) -> RESP): Deferred<RESP>
-fun <RESP> Request?.asyncSession(block: (Request, <ERROR CLASS>) -> RESP): Deferred<RESP>
+fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit
+fun <RESP> Request.withProfile(block: (Profile) -> RESP): RESP
+fun <RESP> withProfile(block: (Profile) -> RESP): RESP
fun <ERROR CLASS>.writeJSON(json: String): Unit
@@ -8397,6 +8315,7 @@ +expect val KV_DATE_FORMAT: String
java.util.Date
@@ -8419,7 +8338,7 @@ -expect fun String.toDateF(format: String = "YYYY-MM-DD HH:mm:ss"): Date
+expect fun String.toDateF(format: String = KV_DATE_FORMAT): Date
diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html b/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html index 99d20a79..4d744714 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / <init>

<init>

- -AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false) + +AjaxOptions(url: String? = null, preprocessData: (dynamic) -> dynamic = null, beforeSend: (JQueryXHR, dynamic) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false, preserveSelected: Boolean = false, processData: Boolean = false)

Parameters

url - the url address

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html b/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html index 96b9a231..3bf30aec 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html @@ -9,7 +9,7 @@

beforeSend

-val beforeSend: (JQueryXHR) -> dynamic +val beforeSend: (JQueryXHR, dynamic) -> dynamic

JQuery ajax.beforeSend option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/index.html b/api/pl.treksoft.kvision.form.select/-ajax-options/index.html index fa4dcb68..9353a26d 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/index.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/index.html @@ -18,7 +18,7 @@

<init>

-AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false) +AjaxOptions(url: String? = null, preprocessData: (dynamic) -> dynamic = null, beforeSend: (JQueryXHR, dynamic) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false, preserveSelected: Boolean = false, processData: Boolean = false) @@ -30,7 +30,7 @@

beforeSend

-val beforeSend: (JQueryXHR) -> dynamic +val beforeSend: (JQueryXHR, dynamic) -> dynamic

JQuery ajax.beforeSend option

@@ -116,6 +116,20 @@ option

+

preserveSelected

+ + +val preserveSelected: Boolean + + + +

processData

+ + +val processData: Boolean + + +

requestDelay

@@ -138,7 +152,7 @@ option

url

-val url: String +val url: String?

the url address

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html b/api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html new file mode 100644 index 00000000..16f598a2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html @@ -0,0 +1,14 @@ + + + +AjaxOptions.preserveSelected - kvision + + + +kvision / pl.treksoft.kvision.form.select / AjaxOptions / preserveSelected
+
+

preserveSelected

+ +val preserveSelected: Boolean + + diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html b/api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html new file mode 100644 index 00000000..6a54ea76 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html @@ -0,0 +1,14 @@ + + + +AjaxOptions.processData - kvision + + + +kvision / pl.treksoft.kvision.form.select / AjaxOptions / processData
+
+

processData

+ +val processData: Boolean + + diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/url.html b/api/pl.treksoft.kvision.form.select/-ajax-options/url.html index 52e8795c..3016e409 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/url.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/url.html @@ -9,7 +9,7 @@

url

-val url: String +val url: String?

the url address

diff --git a/api/pl.treksoft.kvision.form.select/-remote-select-input/-init-.html b/api/pl.treksoft.kvision.form.select/-remote-select-input/-init-.html new file mode 100644 index 00000000..0b7cb054 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select-input/-init-.html @@ -0,0 +1,29 @@ + + + +RemoteSelectInput.<init> - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelectInput / <init>
+
+

<init>

+ +RemoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf()) +

Parameters

+

+value - selected value

+

+serviceManager - multiplatform service manager

+

+function - multiplatform service method returning the list of options

+

+multiple - allows multiple value selection (multiple values are comma delimited)

+

+ajaxOptions - additional options for remote data source

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select-input/index.html b/api/pl.treksoft.kvision.form.select/-remote-select-input/index.html new file mode 100644 index 00000000..6c1b27e9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select-input/index.html @@ -0,0 +1,300 @@ + + + +RemoteSelectInput - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelectInput
+
+

RemoteSelectInput

+open class RemoteSelectInput<T : Any> : SelectInput +

The Select control connected to the multiplatform service.

+

Constructors

+ + + + + + + +
+

<init>

+
+RemoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
+

Inherited Properties

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

ajaxOptions

+
+var ajaxOptions: AjaxOptions? +

Additional options for remote (AJAX) data source.

+
+

autofocus

+
+var autofocus: Boolean? +

Determines if the select is automatically focused.

+
+

disabled

+
+open var disabled: Boolean +

Determines if the field is disabled.

+
+

emptyOption

+
+var emptyOption: Boolean +

Determines if an empty option is automatically generated.

+
+

liveSearch

+
+var liveSearch: Boolean +

Determines if live search is available.

+
+

maxOptions

+
+var maxOptions: Int? +

Maximal number of selected options.

+
+

multiple

+
+var multiple: Boolean +

Determines if multiple value selection is allowed.

+
+

name

+
+open var name: String? +

The name attribute of the generated HTML select element.

+
+

placeholder

+
+var placeholder: String? +

The placeholder for the select control.

+
+

selectWidth

+
+var selectWidth: CssSize? +

The width of the select control.

+
+

selectWidthType

+
+var selectWidthType: SelectWidthType? +

The width type of the select control.

+
+

size

+
+open var size: InputSize? +

The size of the input.

+
+

style

+
+var style: ButtonStyle? +

The style of the select control.

+
+

value

+
+var value: String? +

A value of the selected option.

+
+

Inherited Functions

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

add

+
+open fun add(child: Component): SimplePanel +

Adds given component to the current container.

+
+

addAll

+
+open fun addAll(children: List<Component>): SimplePanel +

Adds a list of components to the current container.

+
+

afterInsert

+
+open fun afterInsert(node: VNode): Unit +

Method called after inserting Snabbdom vnode into the DOM.

+
+

blur

+
+open fun blur(): Unit +

Makes the input element blur.

+
+

focus

+
+open fun focus(): Unit +

Makes the input element focused.

+
+

getSnAttrs

+
+open fun getSnAttrs(): List<StringPair> +

Returns list of element attributes in the form of a List.

+
+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+
+

hideOptions

+
+open fun hideOptions(): Unit +

Hides dropdown with options.

+
+

refreshSelectInput

+
+fun refreshSelectInput(): Unit
+

remove

+
+open fun remove(child: Component): SimplePanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): SimplePanel +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

showOptions

+
+open fun showOptions(): Unit +

Opens dropdown with options.

+
+

toggleOptions

+
+open fun toggleOptions(): Unit +

Toggles visibility of dropdown with options.

+
+

Companion Object Functions

+ + + + + + + +
+

remoteSelectInput

+
+fun <T : Any> Container.remoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: RemoteSelectInput<T>.() -> Unit = null): RemoteSelectInput<T> +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select-input/remote-select-input.html b/api/pl.treksoft.kvision.form.select/-remote-select-input/remote-select-input.html new file mode 100644 index 00000000..bb059bf6 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select-input/remote-select-input.html @@ -0,0 +1,16 @@ + + + +RemoteSelectInput.remoteSelectInput - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelectInput / remoteSelectInput
+
+

remoteSelectInput

+ +fun <T : Any> Container.remoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: RemoteSelectInput<T>.() -> Unit = null): RemoteSelectInput<T> +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/-init-.html b/api/pl.treksoft.kvision.form.select/-remote-select/-init-.html new file mode 100644 index 00000000..fd07a8a9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/-init-.html @@ -0,0 +1,33 @@ + + + +RemoteSelect.<init> - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / <init>
+
+

<init>

+ +RemoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) +

Parameters

+

+value - selected value

+

+serviceManager - multiplatform service manager

+

+function - multiplatform service method returning the list of options

+

+name - the name attribute of the generated HTML input element

+

+multiple - allows multiple value selection (multiple values are comma delimited)

+

+ajaxOptions - additional options for remote data source

+

+label - label text bound to the input element

+

+rich - determines if label can contain HTML code

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/add-all.html b/api/pl.treksoft.kvision.form.select/-remote-select/add-all.html new file mode 100644 index 00000000..e6ddcc5d --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/add-all.html @@ -0,0 +1,21 @@ + + + +RemoteSelect.addAll - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / addAll
+
+

addAll

+ +open fun addAll(children: List<Component>): SimplePanel +

Overrides SimplePanel.addAll

+

Adds a list of components to the current container.

+

Parameters

+

+children - list of child components

+

Return
+current container

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/add.html b/api/pl.treksoft.kvision.form.select/-remote-select/add.html new file mode 100644 index 00000000..e9e3f41a --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/add.html @@ -0,0 +1,21 @@ + + + +RemoteSelect.add - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / add
+
+

add

+ +open fun add(child: Component): SimplePanel +

Overrides SimplePanel.add

+

Adds given component to the current container.

+

Parameters

+

+child - child component

+

Return
+current container

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/autofocus.html b/api/pl.treksoft.kvision.form.select/-remote-select/autofocus.html new file mode 100644 index 00000000..af886b20 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/autofocus.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.autofocus - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / autofocus
+
+

autofocus

+ +var autofocus: Boolean? +

Determines if the select is automatically focused.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/blur.html b/api/pl.treksoft.kvision.form.select/-remote-select/blur.html new file mode 100644 index 00000000..e48b6740 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/blur.html @@ -0,0 +1,16 @@ + + + +RemoteSelect.blur - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / blur
+
+

blur

+ +open fun blur(): Unit +

Overrides FormControl.blur

+

Makes the input element blur.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/empty-option.html b/api/pl.treksoft.kvision.form.select/-remote-select/empty-option.html new file mode 100644 index 00000000..fdf26f47 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/empty-option.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.emptyOption - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / emptyOption
+
+

emptyOption

+ +var emptyOption: Boolean +

Determines if an empty option is automatically generated.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/flabel.html b/api/pl.treksoft.kvision.form.select/-remote-select/flabel.html new file mode 100644 index 00000000..3732b732 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/flabel.html @@ -0,0 +1,16 @@ + + + +RemoteSelect.flabel - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / flabel
+
+

flabel

+ +val flabel: FieldLabel +

Overrides FormControl.flabel

+

Form field label.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/focus.html b/api/pl.treksoft.kvision.form.select/-remote-select/focus.html new file mode 100644 index 00000000..7ca1ff45 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/focus.html @@ -0,0 +1,16 @@ + + + +RemoteSelect.focus - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / focus
+
+

focus

+ +open fun focus(): Unit +

Overrides FormControl.focus

+

Makes the input element focused.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/get-children.html b/api/pl.treksoft.kvision.form.select/-remote-select/get-children.html new file mode 100644 index 00000000..02ca8009 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/get-children.html @@ -0,0 +1,18 @@ + + + +RemoteSelect.getChildren - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / getChildren
+
+

getChildren

+ +open fun getChildren(): List<Component> +

Overrides SimplePanel.getChildren

+

Returns a list of children of the current container.

+

Return
+list of children

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/get-sn-class.html b/api/pl.treksoft.kvision.form.select/-remote-select/get-sn-class.html new file mode 100644 index 00000000..dc8e8d97 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/get-sn-class.html @@ -0,0 +1,18 @@ + + + +RemoteSelect.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / getSnClass
+
+

getSnClass

+ +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

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/hide-options.html b/api/pl.treksoft.kvision.form.select/-remote-select/hide-options.html new file mode 100644 index 00000000..4b07698c --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/hide-options.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.hideOptions - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / hideOptions
+
+

hideOptions

+ +open fun hideOptions(): Unit +

Hides dropdown with options.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/index.html b/api/pl.treksoft.kvision.form.select/-remote-select/index.html new file mode 100644 index 00000000..716ed5c1 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/index.html @@ -0,0 +1,354 @@ + + + +RemoteSelect - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect
+
+

RemoteSelect

+open class RemoteSelect<T : Any> : SimplePanel, StringFormControl +

The form field component for RemoteSelect control.

+

Constructors

+ + + + + + + +
+

<init>

+
+RemoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
+

Properties

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

autofocus

+
+var autofocus: Boolean? +

Determines if the select is automatically focused.

+
+

emptyOption

+
+var emptyOption: Boolean +

Determines if an empty option is automatically generated.

+
+

flabel

+
+val flabel: FieldLabel +

Form field label.

+
+

input

+
+val input: RemoteSelectInput<T> +

The actual input component.

+
+

label

+
+var label: String? +

The label text bound to the select element.

+
+

maxOptions

+
+var maxOptions: Int? +

Maximal number of selected options.

+
+

multiple

+
+var multiple: Boolean +

Determines if multiple value selection is allowed.

+
+

placeholder

+
+var placeholder: String? +

The placeholder for the select control.

+
+

rich

+
+var rich: Boolean +

Determines if label can contain HTML code.

+
+

selectWidth

+
+var selectWidth: CssSize? +

The width of the select control.

+
+

selectWidthType

+
+var selectWidthType: SelectWidthType? +

The width type of the select control.

+
+

style

+
+var style: ButtonStyle? +

The style of the select control.

+
+

validationInfo

+
+val validationInfo: HelpBlock +

Validation info component.

+
+

value

+
+open var value: String? +

A value of the selected option.

+
+

Functions

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

add

+
+open fun add(child: Component): SimplePanel +

Adds given component to the current container.

+
+

addAll

+
+open fun addAll(children: List<Component>): SimplePanel +

Adds a list of components to the current container.

+
+

blur

+
+open fun blur(): Unit +

Makes the input element blur.

+
+

focus

+
+open fun focus(): Unit +

Makes the input element focused.

+
+

getChildren

+
+open fun getChildren(): List<Component> +

Returns a list of children of the current container.

+
+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+
+

hideOptions

+
+open fun hideOptions(): Unit +

Hides dropdown with options.

+
+

remove

+
+open fun remove(child: Component): SimplePanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): SimplePanel +

Removes all children from the current container.

+
+

removeEventListeners

+
+open fun removeEventListeners(): Widget +

Removes all event listeners from current widget.

+
+

setEventListener

+
+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.

+
+

showOptions

+
+open fun showOptions(): Unit +

Opens dropdown with options.

+
+

toggleOptions

+
+open fun toggleOptions(): Unit +

Toggles visibility of dropdown with options.

+
+

Inherited Functions

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

addInternal

+
+fun addInternal(child: Component): SimplePanel +

Protected and final method to add given component to the current container.

+
+

childrenVNodes

+
+open fun childrenVNodes(): Array<VNode> +

Returns the array of the children Snabbdom vnodes.

+
+

getValue

+
+open fun getValue(): String? +

Returns the value of the control.

+
+

getValueAsString

+
+open fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

setValue

+
+open fun setValue(v: Any?): Unit +

Sets the value of the control.

+
+

Companion Object Functions

+ + + + + + + +
+

remoteSelect

+
+fun <T : Any> Container.remoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: RemoteSelect<T>.() -> Unit = null): RemoteSelect<T> +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/input.html b/api/pl.treksoft.kvision.form.select/-remote-select/input.html new file mode 100644 index 00000000..b461c987 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/input.html @@ -0,0 +1,16 @@ + + + +RemoteSelect.input - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / input
+
+

input

+ +val input: RemoteSelectInput<T> +

Overrides FormControl.input

+

The actual input component.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/label.html b/api/pl.treksoft.kvision.form.select/-remote-select/label.html new file mode 100644 index 00000000..c69aad0e --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/label.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.label - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / label
+
+

label

+ +var label: String? +

The label text bound to the select element.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/max-options.html b/api/pl.treksoft.kvision.form.select/-remote-select/max-options.html new file mode 100644 index 00000000..41a5806a --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/max-options.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.maxOptions - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / maxOptions
+
+

maxOptions

+ +var maxOptions: Int? +

Maximal number of selected options.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/multiple.html b/api/pl.treksoft.kvision.form.select/-remote-select/multiple.html new file mode 100644 index 00000000..c1e904a8 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/multiple.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.multiple - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / multiple
+
+

multiple

+ +var multiple: Boolean +

Determines if multiple value selection is allowed.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/placeholder.html b/api/pl.treksoft.kvision.form.select/-remote-select/placeholder.html new file mode 100644 index 00000000..11000f72 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/placeholder.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.placeholder - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / placeholder
+
+

placeholder

+ +var placeholder: String? +

The placeholder for the select control.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/remote-select.html b/api/pl.treksoft.kvision.form.select/-remote-select/remote-select.html new file mode 100644 index 00000000..47663948 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/remote-select.html @@ -0,0 +1,16 @@ + + + +RemoteSelect.remoteSelect - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / remoteSelect
+
+

remoteSelect

+ +fun <T : Any> Container.remoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: RemoteSelect<T>.() -> Unit = null): RemoteSelect<T> +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/remove-all.html b/api/pl.treksoft.kvision.form.select/-remote-select/remove-all.html new file mode 100644 index 00000000..d7be8793 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/remove-all.html @@ -0,0 +1,18 @@ + + + +RemoteSelect.removeAll - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / removeAll
+
+

removeAll

+ +open fun removeAll(): SimplePanel +

Overrides SimplePanel.removeAll

+

Removes all children from the current container.

+

Return
+current container

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/remove-event-listeners.html b/api/pl.treksoft.kvision.form.select/-remote-select/remove-event-listeners.html new file mode 100644 index 00000000..2f5dd407 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +RemoteSelect.removeEventListeners - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / removeEventListeners
+
+

removeEventListeners

+ +open fun removeEventListeners(): Widget +

Overrides Widget.removeEventListeners

+

Removes all event listeners from current widget.

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/remove.html b/api/pl.treksoft.kvision.form.select/-remote-select/remove.html new file mode 100644 index 00000000..aef3015c --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/remove.html @@ -0,0 +1,21 @@ + + + +RemoteSelect.remove - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / remove
+
+

remove

+ +open fun remove(child: Component): SimplePanel +

Overrides SimplePanel.remove

+

Removes given component from the current container.

+

Parameters

+

+child - child component

+

Return
+current container

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/rich.html b/api/pl.treksoft.kvision.form.select/-remote-select/rich.html new file mode 100644 index 00000000..6a579446 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/rich.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.rich - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / rich
+
+

rich

+ +var rich: Boolean +

Determines if label can contain HTML code.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/select-width-type.html b/api/pl.treksoft.kvision.form.select/-remote-select/select-width-type.html new file mode 100644 index 00000000..7dded64e --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/select-width-type.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.selectWidthType - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / selectWidthType
+
+

selectWidthType

+ +var selectWidthType: SelectWidthType? +

The width type of the select control.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/select-width.html b/api/pl.treksoft.kvision.form.select/-remote-select/select-width.html new file mode 100644 index 00000000..0cedd4a2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/select-width.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.selectWidth - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / selectWidth
+
+

selectWidth

+ +var selectWidth: CssSize? +

The width of the select control.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/set-event-listener.html b/api/pl.treksoft.kvision.form.select/-remote-select/set-event-listener.html new file mode 100644 index 00000000..813999af --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/set-event-listener.html @@ -0,0 +1,54 @@ + + + +RemoteSelect.setEventListener - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / setEventListener
+
+

setEventListener

+ +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget +

Overrides Widget.setEventListener

+

Sets an event listener for current widget, keeping the actual type of component.

+

Parameters

+

+T - widget type

+

+block - event handler

+

Return
+

current widget

+ + +

Example:

+ + +
    button.setEventListener<Button> {
+        dblclick = {
+            Alert.show("Button double clicked!")
+            // self is of type Button here
+        }
+    }

+ +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +

Overrides Widget.setEventListener

+

Sets an event listener for current widget.

+

Parameters

+

+block - event handler

+

Return
+

current widget

+ + +

Example:

+ + +
    button.setEventListener {
+        dblclick = {
+            Alert.show("Button double clicked!")
+            // self is of type Widget here
+        }
+    }

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/show-options.html b/api/pl.treksoft.kvision.form.select/-remote-select/show-options.html new file mode 100644 index 00000000..535fbca9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/show-options.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.showOptions - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / showOptions
+
+

showOptions

+ +open fun showOptions(): Unit +

Opens dropdown with options.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/style.html b/api/pl.treksoft.kvision.form.select/-remote-select/style.html new file mode 100644 index 00000000..3f90527a --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/style.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.style - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / style
+
+

style

+ +var style: ButtonStyle? +

The style of the select control.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/toggle-options.html b/api/pl.treksoft.kvision.form.select/-remote-select/toggle-options.html new file mode 100644 index 00000000..50df8660 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/toggle-options.html @@ -0,0 +1,15 @@ + + + +RemoteSelect.toggleOptions - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / toggleOptions
+
+

toggleOptions

+ +open fun toggleOptions(): Unit +

Toggles visibility of dropdown with options.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/validation-info.html b/api/pl.treksoft.kvision.form.select/-remote-select/validation-info.html new file mode 100644 index 00000000..92d87558 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/validation-info.html @@ -0,0 +1,16 @@ + + + +RemoteSelect.validationInfo - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / validationInfo
+
+

validationInfo

+ +val validationInfo: HelpBlock +

Overrides FormControl.validationInfo

+

Validation info component.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-remote-select/value.html b/api/pl.treksoft.kvision.form.select/-remote-select/value.html new file mode 100644 index 00000000..b8d5c49b --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-remote-select/value.html @@ -0,0 +1,16 @@ + + + +RemoteSelect.value - kvision + + + +kvision / pl.treksoft.kvision.form.select / RemoteSelect / value
+
+

value

+ +open var value: String? +

Overrides StringFormControl.value

+

A value of the selected option.

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-input/index.html b/api/pl.treksoft.kvision.form.select/-select-input/index.html index ed47854a..9a7497bb 100644 --- a/api/pl.treksoft.kvision.form.select/-select-input/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-input/index.html @@ -232,6 +232,13 @@ +

refreshSelectInput

+ + +fun refreshSelectInput(): Unit + + +

remove

@@ -323,5 +330,19 @@ +

Inheritors

+ + + + + + + +
+

RemoteSelectInput

+
+open class RemoteSelectInput<T : Any> : SelectInput +

The Select control connected to the multiplatform service.

+
diff --git a/api/pl.treksoft.kvision.form.select/-select-input/refresh-select-input.html b/api/pl.treksoft.kvision.form.select/-select-input/refresh-select-input.html new file mode 100644 index 00000000..959ab1ee --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-input/refresh-select-input.html @@ -0,0 +1,14 @@ + + + +SelectInput.refreshSelectInput - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectInput / refreshSelectInput
+
+

refreshSelectInput

+ +protected fun refreshSelectInput(): Unit + + diff --git a/api/pl.treksoft.kvision.form.select/-select-option/-init-.html b/api/pl.treksoft.kvision.form.select/-select-option/-init-.html index 4bbd977b..86ab1574 100644 --- a/api/pl.treksoft.kvision.form.select/-select-option/-init-.html +++ b/api/pl.treksoft.kvision.form.select/-select-option/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.select / SelectOption / <init>

<init>

- -SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, classes: Set<String> = setOf()) + +SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf())

Parameters

value - the value of the option

diff --git a/api/pl.treksoft.kvision.form.select/-select-option/index.html b/api/pl.treksoft.kvision.form.select/-select-option/index.html index 4ce406bd..7fe840ac 100644 --- a/api/pl.treksoft.kvision.form.select/-select-option/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-option/index.html @@ -18,7 +18,7 @@

<init>

-SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, classes: Set<String> = setOf()) +SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf()) @@ -63,6 +63,15 @@ +

selected

+ + +var selected: Boolean +

Determines if the option is selected.

+ + + +

subtext

diff --git a/api/pl.treksoft.kvision.form.select/-select-option/selected.html b/api/pl.treksoft.kvision.form.select/-select-option/selected.html new file mode 100644 index 00000000..0aa4d26c --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-option/selected.html @@ -0,0 +1,21 @@ + + + +SelectOption.selected - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOption / selected
+
+

selected

+ +var selected: Boolean +

Determines if the option is selected.

+

Getter
+

Determines if the option is selected.

+

+

Setter
+

Determines if the option is selected.

+

+ + diff --git a/api/pl.treksoft.kvision.form.select/decode-u-r-i-component.html b/api/pl.treksoft.kvision.form.select/decode-u-r-i-component.html new file mode 100644 index 00000000..1ffec104 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/decode-u-r-i-component.html @@ -0,0 +1,14 @@ + + + +decodeURIComponent - kvision + + + +kvision / pl.treksoft.kvision.form.select / decodeURIComponent
+
+

decodeURIComponent

+ +external fun decodeURIComponent(encodedURI: String): String + + diff --git a/api/pl.treksoft.kvision.form.select/index.html b/api/pl.treksoft.kvision.form.select/index.html index 3965c9a8..e0c68e8d 100644 --- a/api/pl.treksoft.kvision.form.select/index.html +++ b/api/pl.treksoft.kvision.form.select/index.html @@ -41,6 +41,24 @@ +

RemoteSelect

+ + +open class RemoteSelect<T : Any> : SimplePanel, StringFormControl +

The form field component for RemoteSelect control.

+ + + + +

RemoteSelectInput

+ + +open class RemoteSelectInput<T : Any> : SelectInput +

The Select control connected to the multiplatform service.

+ + + +

Select

@@ -91,6 +109,13 @@ +

decodeURIComponent

+ + +external fun decodeURIComponent(encodedURI: String): String + + +

toJs

diff --git a/api/pl.treksoft.kvision.form/-string-form-control/index.html b/api/pl.treksoft.kvision.form/-string-form-control/index.html index 2b6d030d..947c7d77 100644 --- a/api/pl.treksoft.kvision.form/-string-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-string-form-control/index.html @@ -170,6 +170,15 @@ +

RemoteSelect

+ + +open class RemoteSelect<T : Any> : SimplePanel, StringFormControl +

The form field component for RemoteSelect control.

+ + + +

Select

diff --git a/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_1.html b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_1.html new file mode 100644 index 00000000..bfbb8840 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_1.html @@ -0,0 +1,14 @@ + + + +SideTabSize.SIZE_1 - kvision + + + +kvision / pl.treksoft.kvision.panel / SideTabSize / SIZE_1
+
+

SIZE_1

+ +SIZE_1 + + diff --git a/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_2.html b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_2.html new file mode 100644 index 00000000..adba6913 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_2.html @@ -0,0 +1,14 @@ + + + +SideTabSize.SIZE_2 - kvision + + + +kvision / pl.treksoft.kvision.panel / SideTabSize / SIZE_2
+
+

SIZE_2

+ +SIZE_2 + + diff --git a/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_3.html b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_3.html new file mode 100644 index 00000000..ba429b60 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_3.html @@ -0,0 +1,14 @@ + + + +SideTabSize.SIZE_3 - kvision + + + +kvision / pl.treksoft.kvision.panel / SideTabSize / SIZE_3
+
+

SIZE_3

+ +SIZE_3 + + diff --git a/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_4.html b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_4.html new file mode 100644 index 00000000..1548cf27 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_4.html @@ -0,0 +1,14 @@ + + + +SideTabSize.SIZE_4 - kvision + + + +kvision / pl.treksoft.kvision.panel / SideTabSize / SIZE_4
+
+

SIZE_4

+ +SIZE_4 + + diff --git a/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_5.html b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_5.html new file mode 100644 index 00000000..9ce1c07d --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_5.html @@ -0,0 +1,14 @@ + + + +SideTabSize.SIZE_5 - kvision + + + +kvision / pl.treksoft.kvision.panel / SideTabSize / SIZE_5
+
+

SIZE_5

+ +SIZE_5 + + diff --git a/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_6.html b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_6.html new file mode 100644 index 00000000..0d7b07f5 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-side-tab-size/-s-i-z-e_6.html @@ -0,0 +1,14 @@ + + + +SideTabSize.SIZE_6 - kvision + + + +kvision / pl.treksoft.kvision.panel / SideTabSize / SIZE_6
+
+

SIZE_6

+ +SIZE_6 + + diff --git a/api/pl.treksoft.kvision.panel/-side-tab-size/index.html b/api/pl.treksoft.kvision.panel/-side-tab-size/index.html new file mode 100644 index 00000000..764ae233 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-side-tab-size/index.html @@ -0,0 +1,61 @@ + + + +SideTabSize - kvision + + + +kvision / pl.treksoft.kvision.panel / SideTabSize
+
+

SideTabSize

+enum class SideTabSize +

Left or right tab size.

+

Enum Values

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

SIZE_1

+
+
+

SIZE_2

+
+
+

SIZE_3

+
+
+

SIZE_4

+
+
+

SIZE_5

+
+
+

SIZE_6

+
+
+ + diff --git a/api/pl.treksoft.kvision.panel/-simple-panel/index.html b/api/pl.treksoft.kvision.panel/-simple-panel/index.html index 5e83aa50..0c136800 100644 --- a/api/pl.treksoft.kvision.panel/-simple-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-simple-panel/index.html @@ -608,6 +608,15 @@ +

RemoteSelect

+ + +open class RemoteSelect<T : Any> : SimplePanel, StringFormControl +

The form field component for RemoteSelect control.

+ + + +

ResponsiveGridPanel

diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/-init-.html b/api/pl.treksoft.kvision.panel/-tab-panel/-init-.html index c581a361..ed0f60a7 100644 --- a/api/pl.treksoft.kvision.panel/-tab-panel/-init-.html +++ b/api/pl.treksoft.kvision.panel/-tab-panel/-init-.html @@ -8,9 +8,13 @@ kvision / pl.treksoft.kvision.panel / TabPanel / <init>

<init>

- -TabPanel(classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null) + +TabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null)

Parameters

+

+tabPosition - tab position

+

+sideTabSize - side tab size

classes - a set of CSS class names

diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/index.html b/api/pl.treksoft.kvision.panel/-tab-panel/index.html index e460c144..7f1c65e0 100644 --- a/api/pl.treksoft.kvision.panel/-tab-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-tab-panel/index.html @@ -19,7 +19,7 @@

<init>

-TabPanel(classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null) +TabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null) @@ -145,7 +145,7 @@

tabPanel

-fun Container.tabPanel(classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null): TabPanel +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null): TabPanel

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html b/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html index fa3d041c..76f1775d 100644 --- a/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html +++ b/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.panel / TabPanel / tabPanel

tabPanel

- -fun Container.tabPanel(classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null): TabPanel + +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null): TabPanel

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.panel/-tab-position/-l-e-f-t.html b/api/pl.treksoft.kvision.panel/-tab-position/-l-e-f-t.html new file mode 100644 index 00000000..63f73092 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-tab-position/-l-e-f-t.html @@ -0,0 +1,14 @@ + + + +TabPosition.LEFT - kvision + + + +kvision / pl.treksoft.kvision.panel / TabPosition / LEFT
+
+

LEFT

+ +LEFT + + diff --git a/api/pl.treksoft.kvision.panel/-tab-position/-r-i-g-h-t.html b/api/pl.treksoft.kvision.panel/-tab-position/-r-i-g-h-t.html new file mode 100644 index 00000000..708d9a54 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-tab-position/-r-i-g-h-t.html @@ -0,0 +1,14 @@ + + + +TabPosition.RIGHT - kvision + + + +kvision / pl.treksoft.kvision.panel / TabPosition / RIGHT
+
+

RIGHT

+ +RIGHT + + diff --git a/api/pl.treksoft.kvision.panel/-tab-position/-t-o-p.html b/api/pl.treksoft.kvision.panel/-tab-position/-t-o-p.html new file mode 100644 index 00000000..14d6c15a --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-tab-position/-t-o-p.html @@ -0,0 +1,14 @@ + + + +TabPosition.TOP - kvision + + + +kvision / pl.treksoft.kvision.panel / TabPosition / TOP
+
+

TOP

+ +TOP + + diff --git a/api/pl.treksoft.kvision.panel/-tab-position/index.html b/api/pl.treksoft.kvision.panel/-tab-position/index.html new file mode 100644 index 00000000..876b8195 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-tab-position/index.html @@ -0,0 +1,40 @@ + + + +TabPosition - kvision + + + +kvision / pl.treksoft.kvision.panel / TabPosition
+
+

TabPosition

+enum class TabPosition +

Tab position.

+

Enum Values

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

TOP

+
+
+

LEFT

+
+
+

RIGHT

+
+
+ + diff --git a/api/pl.treksoft.kvision.panel/index.html b/api/pl.treksoft.kvision.panel/index.html index 103993ca..06599ad0 100644 --- a/api/pl.treksoft.kvision.panel/index.html +++ b/api/pl.treksoft.kvision.panel/index.html @@ -193,6 +193,15 @@ CSS grid and Bootstrap responsive 12 columns gid).

+

SideTabSize

+ + +enum class SideTabSize +

Left or right tab size.

+ + + +

SimplePanel

@@ -229,6 +238,15 @@ CSS grid and Bootstrap responsive 12 columns gid).

+

TabPosition

+ + +enum class TabPosition +

Tab position.

+ + + +

VPanel

diff --git a/api/pl.treksoft.kvision.remote/-call-agent/index.html b/api/pl.treksoft.kvision.remote/-call-agent/index.html index 1c92ef13..041e1ef1 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/index.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/index.html @@ -32,7 +32,7 @@

jsonRpcCall

-fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.POST): Promise<String> +fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.POST): Promise<String>

Makes an JSON-RPC call to the remote server.

@@ -41,7 +41,7 @@

remoteCall

-fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic> +fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic>

Makes a remote call to the remote server.

diff --git a/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html b/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html index 7fc6404d..2a0e976c 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/json-rpc-call.html @@ -9,7 +9,7 @@

jsonRpcCall

-fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.POST): Promise<String> +fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: RpcHttpMethod = RpcHttpMethod.POST): Promise<String>

Makes an JSON-RPC call to the remote server.

Parameters

diff --git a/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html b/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html index 342ae5cc..1da57940 100644 --- a/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html +++ b/api/pl.treksoft.kvision.remote/-call-agent/remote-call.html @@ -9,7 +9,7 @@

remoteCall

-fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic> +fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: (JQueryXHR, JQueryAjaxSettings) -> Boolean = null): Promise<dynamic>

Makes a remote call to the remote server.

Parameters

diff --git a/api/pl.treksoft.kvision.remote/-http-method/-d-e-l-e-t-e.html b/api/pl.treksoft.kvision.remote/-http-method/-d-e-l-e-t-e.html deleted file mode 100644 index b7a8a330..00000000 --- a/api/pl.treksoft.kvision.remote/-http-method/-d-e-l-e-t-e.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -HttpMethod.DELETE - kvision - - - -kvision / pl.treksoft.kvision.remote / HttpMethod / DELETE
-
-

DELETE

- -DELETE - - diff --git a/api/pl.treksoft.kvision.remote/-http-method/-g-e-t.html b/api/pl.treksoft.kvision.remote/-http-method/-g-e-t.html deleted file mode 100644 index 9d26101f..00000000 --- a/api/pl.treksoft.kvision.remote/-http-method/-g-e-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -HttpMethod.GET - kvision - - - -kvision / pl.treksoft.kvision.remote / HttpMethod / GET
-
-

GET

- -GET - - diff --git a/api/pl.treksoft.kvision.remote/-http-method/-o-p-t-i-o-n-s.html b/api/pl.treksoft.kvision.remote/-http-method/-o-p-t-i-o-n-s.html deleted file mode 100644 index b98686d0..00000000 --- a/api/pl.treksoft.kvision.remote/-http-method/-o-p-t-i-o-n-s.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -HttpMethod.OPTIONS - kvision - - - -kvision / pl.treksoft.kvision.remote / HttpMethod / OPTIONS
-
-

OPTIONS

- -OPTIONS - - diff --git a/api/pl.treksoft.kvision.remote/-http-method/-p-o-s-t.html b/api/pl.treksoft.kvision.remote/-http-method/-p-o-s-t.html deleted file mode 100644 index 01c6f18c..00000000 --- a/api/pl.treksoft.kvision.remote/-http-method/-p-o-s-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -HttpMethod.POST - kvision - - - -kvision / pl.treksoft.kvision.remote / HttpMethod / POST
-
-

POST

- -POST - - diff --git a/api/pl.treksoft.kvision.remote/-http-method/-p-u-t.html b/api/pl.treksoft.kvision.remote/-http-method/-p-u-t.html deleted file mode 100644 index 7fd3d4e1..00000000 --- a/api/pl.treksoft.kvision.remote/-http-method/-p-u-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -HttpMethod.PUT - kvision - - - -kvision / pl.treksoft.kvision.remote / HttpMethod / PUT
-
-

PUT

- -PUT - - diff --git a/api/pl.treksoft.kvision.remote/-http-method/index.html b/api/pl.treksoft.kvision.remote/-http-method/index.html deleted file mode 100644 index ddfb3b23..00000000 --- a/api/pl.treksoft.kvision.remote/-http-method/index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - -HttpMethod - kvision - - - -kvision / pl.treksoft.kvision.remote / HttpMethod
-
-

HttpMethod

-enum class HttpMethod -

Enum Values

- - - - - - - - - - - - - - - - - - - - - - - -
-

GET

-
-
-

POST

-
-
-

PUT

-
-
-

DELETE

-
-
-

OPTIONS

-
-
- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/-init-.html b/api/pl.treksoft.kvision.remote/-jooby-remote-agent/-init-.html deleted file mode 100644 index 279f31fd..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/-init-.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -JoobyRemoteAgent.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyRemoteAgent / <init>
-
-

<init>

- -JoobyRemoteAgent(serviceManager: JoobyServiceManager<T>) -

Client side agent for JSON-RPC remote calls with Jooby.

- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/call-agent.html b/api/pl.treksoft.kvision.remote/-jooby-remote-agent/call-agent.html deleted file mode 100644 index 20a174ef..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/call-agent.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyRemoteAgent.callAgent - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyRemoteAgent / callAgent
-
-

callAgent

- -val callAgent: CallAgent - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/call.html b/api/pl.treksoft.kvision.remote/-jooby-remote-agent/call.html deleted file mode 100644 index 9864ea67..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/call.html +++ /dev/null @@ -1,37 +0,0 @@ - - - -JoobyRemoteAgent.call - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyRemoteAgent / call
-
-

call

- -inline fun <reified RET : Any, T> call(noinline function: T.(Request?) -> Deferred<RET>): Deferred<RET>
- -inline fun <reified RET : Any, T> call(noinline function: T.(Request?) -> Deferred<List<RET>>): Deferred<List<RET>>
- -inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR, Request?) -> Deferred<RET>, p: PAR): Deferred<RET>
- -inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR, Request?) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<List<RET>> -

Executes defined call to a remote web service.

- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/index.html b/api/pl.treksoft.kvision.remote/-jooby-remote-agent/index.html deleted file mode 100644 index dcc267bb..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -JoobyRemoteAgent - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyRemoteAgent
-
-

JoobyRemoteAgent

-open class JoobyRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Jooby.

-

Constructors

- - - - - - - -
-

<init>

-
-JoobyRemoteAgent(serviceManager: JoobyServiceManager<T>) -

Client side agent for JSON-RPC remote calls with Jooby.

-
-

Properties

- - - - - - - - - - - -
-

callAgent

-
-val callAgent: CallAgent
-

serviceManager

-
-val serviceManager: JoobyServiceManager<T>
-

Functions

- - - - - - - -
-

call

-
-fun <RET : Any, T> call(function: T.(Request?) -> Deferred<RET>): Deferred<RET>
-fun <RET : Any, T> call(function: T.(Request?) -> Deferred<List<RET>>): Deferred<List<RET>>
-fun <PAR, RET : Any, T> call(function: T.(PAR, Request?) -> Deferred<RET>, p: PAR): Deferred<RET>
-fun <PAR, RET : Any, T> call(function: T.(PAR, Request?) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>>
-fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET>
-fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): Deferred<List<RET>>
-fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<RET>
-fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<List<RET>>
-fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<RET>
-fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<List<RET>>
-fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<RET>
-fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<List<RET>> -

Executes defined call to a remote web service.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/service-manager.html b/api/pl.treksoft.kvision.remote/-jooby-remote-agent/service-manager.html deleted file mode 100644 index cdfac05f..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-remote-agent/service-manager.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyRemoteAgent.serviceManager - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyRemoteAgent / serviceManager
-
-

serviceManager

- -val serviceManager: JoobyServiceManager<T> - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/-init-.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/-init-.html deleted file mode 100644 index 67af7141..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/-init-.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -JoobyServiceManager.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / <init>
-
-

<init>

- -JoobyServiceManager(service: T) -

Multiplatform service manager for Jooby.

- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/-l-o-g.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/-l-o-g.html deleted file mode 100644 index fa26ca59..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/-l-o-g.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.LOG - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / LOG
-
-

LOG

- -val LOG: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/apply-routes.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/apply-routes.html deleted file mode 100644 index cb536155..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/apply-routes.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -JoobyServiceManager.applyRoutes - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / applyRoutes
-
-

applyRoutes

- -fun applyRoutes(k: KVServer): Unit -

Applies all defined routes to the given server.

-

Parameters

-

-k - a server

- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/bind.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/bind.html deleted file mode 100644 index 5c2ccb21..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/bind.html +++ /dev/null @@ -1,32 +0,0 @@ - - - -JoobyServiceManager.bind - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / bind
-
-

bind

- -protected inline fun <reified RET> bind(noinline function: T.(Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR, reified RET> bind(noinline function: T.(PAR, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit -

Binds a given route with a function of the receiver.

-

Parameters

-

-function - a function of the receiver

-

-route - a route

-

-method - a HTTP method

- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/call.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/call.html deleted file mode 100644 index a5405d6f..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/call.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.call - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / call
-
-

call

- -fun call(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): KVServer.() -> Unit - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/calls.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/calls.html deleted file mode 100644 index a20b12e9..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/calls.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.calls - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / calls
-
-

calls

- -protected val calls: MutableMap<String, Pair<String, RpcHttpMethod>> - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/counter.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/counter.html deleted file mode 100644 index 0d191de3..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/counter.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.counter - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / counter
-
-

counter

- -var counter: Int - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/get-calls.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/get-calls.html deleted file mode 100644 index 0957bf20..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/get-calls.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -JoobyServiceManager.getCalls - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / getCalls
-
-

getCalls

- -open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Overrides ServiceManager.getCalls

-

Returns the map of defined paths.

- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/get-parameter.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/get-parameter.html deleted file mode 100644 index 99b992b5..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/get-parameter.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.getParameter - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / getParameter
-
-

getParameter

- -protected inline fun <reified T> getParameter(str: String?): T - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/index.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/index.html deleted file mode 100644 index 1e24f81b..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/index.html +++ /dev/null @@ -1,145 +0,0 @@ - - - -JoobyServiceManager - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager
-
-

JoobyServiceManager

-open expect class JoobyServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Jooby.

-

Constructors

- - - - - - - -
-

<init>

-
-JoobyServiceManager(service: T) -

Multiplatform service manager for Jooby.

-
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - -
-

calls

-
-val calls: MutableMap<String, Pair<String, RpcHttpMethod>>
-

counter

-
-var counter: Int
-

mapper

-
-val mapper: <ERROR CLASS>
-

routes

-
-val routes: MutableList<KVServer.() -> Unit>
-

service

-
-val service: T
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - -
-

applyRoutes

-
-fun applyRoutes(k: KVServer): Unit -

Applies all defined routes to the given server.

-
-

bind

-
-fun <RET> bind(function: T.(Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR, RET> bind(function: T.(PAR, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, RET> bind(function: T.(PAR1, PAR2, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, PAR3, RET> bind(function: T.(PAR1, PAR2, PAR3, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, PAR3, PAR4, RET> bind(function: T.(PAR1, PAR2, PAR3, PAR4, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET> bind(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5, Request?) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit -

Binds a given route with a function of the receiver.

-
-

call

-
-fun call(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): KVServer.() -> Unit
-

getCalls

-
-open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Returns the map of defined paths.

-
-

getParameter

-
-fun <T> getParameter(str: String?): T
-

Inherited Functions

- - - - - - - -
-

getCalls

-
-open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Returns the map of defined paths.

-
-

Companion Object Properties

- - - - - - - -
-

LOG

-
-val LOG: <ERROR CLASS>
- - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/mapper.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/mapper.html deleted file mode 100644 index 5940cbbc..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/mapper.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.mapper - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / mapper
-
-

mapper

- -val mapper: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/routes.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/routes.html deleted file mode 100644 index e4ca99be..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/routes.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.routes - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / routes
-
-

routes

- -protected val routes: MutableList<KVServer.() -> Unit> - - diff --git a/api/pl.treksoft.kvision.remote/-jooby-service-manager/service.html b/api/pl.treksoft.kvision.remote/-jooby-service-manager/service.html deleted file mode 100644 index ab1f72c4..00000000 --- a/api/pl.treksoft.kvision.remote/-jooby-service-manager/service.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JoobyServiceManager.service - kvision - - - -kvision / pl.treksoft.kvision.remote / JoobyServiceManager / service
-
-

service

- -val service: T - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-request/-init-.html b/api/pl.treksoft.kvision.remote/-json-rpc-request/-init-.html deleted file mode 100644 index a6b5e2a1..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-request/-init-.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -JsonRpcRequest.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcRequest / <init>
-
-

<init>

- -JsonRpcRequest()
- -JsonRpcRequest(id: Int, method: String, params: List<String?>, jsonrpc: String = "2.0") - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-request/id.html b/api/pl.treksoft.kvision.remote/-json-rpc-request/id.html deleted file mode 100644 index 9ada15fa..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-request/id.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcRequest.id - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcRequest / id
-
-

id

- -val id: Int - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-request/index.html b/api/pl.treksoft.kvision.remote/-json-rpc-request/index.html deleted file mode 100644 index 80e5a565..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-request/index.html +++ /dev/null @@ -1,59 +0,0 @@ - - - -JsonRpcRequest - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcRequest
-
-

JsonRpcRequest

-data class JsonRpcRequest -

Constructors

- - - - - - - -
-

<init>

-
-JsonRpcRequest()
-JsonRpcRequest(id: Int, method: String, params: List<String?>, jsonrpc: String = "2.0")
-

Properties

- - - - - - - - - - - - - - - - - - - -
-

id

-
-val id: Int
-

jsonrpc

-
-val jsonrpc: String
-

method

-
-val method: String
-

params

-
-val params: List<String?>
- - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-request/jsonrpc.html b/api/pl.treksoft.kvision.remote/-json-rpc-request/jsonrpc.html deleted file mode 100644 index da51cc70..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-request/jsonrpc.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcRequest.jsonrpc - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcRequest / jsonrpc
-
-

jsonrpc

- -val jsonrpc: String - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-request/method.html b/api/pl.treksoft.kvision.remote/-json-rpc-request/method.html deleted file mode 100644 index 43db77b5..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-request/method.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcRequest.method - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcRequest / method
-
-

method

- -val method: String - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-request/params.html b/api/pl.treksoft.kvision.remote/-json-rpc-request/params.html deleted file mode 100644 index 58622f91..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-request/params.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcRequest.params - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcRequest / params
-
-

params

- -val params: List<String?> - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-response/-init-.html b/api/pl.treksoft.kvision.remote/-json-rpc-response/-init-.html deleted file mode 100644 index c1dbfc07..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-response/-init-.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcResponse.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcResponse / <init>
-
-

<init>

- -JsonRpcResponse(id: Int? = null, result: String? = null, error: String? = null, jsonrpc: String = "2.0") - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-response/error.html b/api/pl.treksoft.kvision.remote/-json-rpc-response/error.html deleted file mode 100644 index 7e927e72..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-response/error.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcResponse.error - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcResponse / error
-
-

error

- -val error: String? - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-response/id.html b/api/pl.treksoft.kvision.remote/-json-rpc-response/id.html deleted file mode 100644 index d8cf5251..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-response/id.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcResponse.id - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcResponse / id
-
-

id

- -val id: Int? - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-response/index.html b/api/pl.treksoft.kvision.remote/-json-rpc-response/index.html deleted file mode 100644 index bed2d298..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-response/index.html +++ /dev/null @@ -1,58 +0,0 @@ - - - -JsonRpcResponse - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcResponse
-
-

JsonRpcResponse

-data class JsonRpcResponse -

Constructors

- - - - - - - -
-

<init>

-
-JsonRpcResponse(id: Int? = null, result: String? = null, error: String? = null, jsonrpc: String = "2.0")
-

Properties

- - - - - - - - - - - - - - - - - - - -
-

error

-
-val error: String?
-

id

-
-val id: Int?
-

jsonrpc

-
-val jsonrpc: String
-

result

-
-val result: String?
- - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-response/jsonrpc.html b/api/pl.treksoft.kvision.remote/-json-rpc-response/jsonrpc.html deleted file mode 100644 index c0c5d72a..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-response/jsonrpc.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcResponse.jsonrpc - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcResponse / jsonrpc
-
-

jsonrpc

- -val jsonrpc: String - - diff --git a/api/pl.treksoft.kvision.remote/-json-rpc-response/result.html b/api/pl.treksoft.kvision.remote/-json-rpc-response/result.html deleted file mode 100644 index 6495717b..00000000 --- a/api/pl.treksoft.kvision.remote/-json-rpc-response/result.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -JsonRpcResponse.result - kvision - - - -kvision / pl.treksoft.kvision.remote / JsonRpcResponse / result
-
-

result

- -val result: String? - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-remote-agent/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/-init-.html new file mode 100644 index 00000000..8688bc12 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/-init-.html @@ -0,0 +1,15 @@ + + + +KVRemoteAgent.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRemoteAgent / <init>
+
+

<init>

+ +KVRemoteAgent(serviceManager: KVServiceManager<T>) +

Client side agent for JSON-RPC remote calls.

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-remote-agent/call-agent.html b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/call-agent.html new file mode 100644 index 00000000..801ee090 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/call-agent.html @@ -0,0 +1,14 @@ + + + +KVRemoteAgent.callAgent - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRemoteAgent / callAgent
+
+

callAgent

+ +val callAgent: CallAgent + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-remote-agent/call.html b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/call.html new file mode 100644 index 00000000..5d17bd6d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/call.html @@ -0,0 +1,37 @@ + + + +KVRemoteAgent.call - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRemoteAgent / call
+
+

call

+ +inline suspend fun <reified RET : Any, T> call(noinline function: suspend T.() -> RET): RET
+ +inline suspend fun <reified RET : Any, T> call(noinline function: suspend T.() -> List<RET>): List<RET>
+ +inline suspend fun <reified PAR, reified RET : Any, T> call(noinline function: suspend T.(PAR) -> RET, p: PAR): RET
+ +inline suspend fun <reified PAR, reified RET : Any, T> call(noinline function: suspend T.(PAR) -> List<RET>, p: PAR): List<RET>
+ +inline suspend fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2) -> RET, p1: PAR1, p2: PAR2): RET
+ +inline suspend fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2) -> List<RET>, p1: PAR1, p2: PAR2): List<RET>
+ +inline suspend fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, p1: PAR1, p2: PAR2, p3: PAR3): RET
+ +inline suspend fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3): List<RET>
+ +inline suspend fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): RET
+ +inline suspend fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): List<RET>
+ +inline suspend fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): RET
+ +inline suspend fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): List<RET> +

Executes defined call to a remote web service.

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-remote-agent/index.html b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/index.html new file mode 100644 index 00000000..281e5bfa --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/index.html @@ -0,0 +1,72 @@ + + + +KVRemoteAgent - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRemoteAgent
+
+

KVRemoteAgent

+open class KVRemoteAgent<T : Any> : RemoteAgent +

Client side agent for JSON-RPC remote calls.

+

Constructors

+ + + + + + + +
+

<init>

+
+KVRemoteAgent(serviceManager: KVServiceManager<T>) +

Client side agent for JSON-RPC remote calls.

+
+

Properties

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

callAgent

+
+val callAgent: CallAgent
+

serviceManager

+
+val serviceManager: KVServiceManager<T>
+

Functions

+ + + + + + + +
+

call

+
+suspend fun <RET : Any, T> call(function: suspend T.() -> RET): RET
+suspend fun <RET : Any, T> call(function: suspend T.() -> List<RET>): List<RET>
+suspend fun <PAR, RET : Any, T> call(function: suspend T.(PAR) -> RET, p: PAR): RET
+suspend fun <PAR, RET : Any, T> call(function: suspend T.(PAR) -> List<RET>, p: PAR): List<RET>
+suspend fun <PAR1, PAR2, RET : Any, T> call(function: suspend T.(PAR1, PAR2) -> RET, p1: PAR1, p2: PAR2): RET
+suspend fun <PAR1, PAR2, RET : Any, T> call(function: suspend T.(PAR1, PAR2) -> List<RET>, p1: PAR1, p2: PAR2): List<RET>
+suspend fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3) -> RET, p1: PAR1, p2: PAR2, p3: PAR3): RET
+suspend fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3): List<RET>
+suspend fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): RET
+suspend fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): List<RET>
+suspend fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): RET
+suspend fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): List<RET> +

Executes defined call to a remote web service.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-remote-agent/service-manager.html b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/service-manager.html new file mode 100644 index 00000000..72b63b25 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-remote-agent/service-manager.html @@ -0,0 +1,14 @@ + + + +KVRemoteAgent.serviceManager - kvision + + + +kvision / pl.treksoft.kvision.remote / KVRemoteAgent / serviceManager
+
+

serviceManager

+ +val serviceManager: KVServiceManager<T> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-server/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-server/-init-.html index 0958186f..4b06965e 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-server/-init-.html +++ b/api/pl.treksoft.kvision.remote/-k-v-server/-init-.html @@ -8,15 +8,15 @@ kvision / pl.treksoft.kvision.remote / KVServer / <init>

<init>

- -KVServer(init: KVServer.() -> Unit) -

A Jooby based server.

- -KVServer(services: List<SpringServiceManager<*>>) -

A Spring boot based server.

KVServer()

A server. Not used on the js platform.

+ +KVServer(init: KVServer.() -> Unit) +

A Jooby based server.

+ +KVServer(services: List<KVServiceManager<*>>) +

A Spring boot based server.

diff --git a/api/pl.treksoft.kvision.remote/-k-v-server/index.html b/api/pl.treksoft.kvision.remote/-k-v-server/index.html index 327648ab..131bfe1e 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-server/index.html +++ b/api/pl.treksoft.kvision.remote/-k-v-server/index.html @@ -8,8 +8,9 @@ kvision / pl.treksoft.kvision.remote / KVServer

KVServer

-open expect class KVServer -

A server.

+open actual class KVServer +

A server. +Not used on the js platform.

Constructors

@@ -18,13 +19,13 @@

<init>

@@ -37,7 +38,7 @@ Not used on the js platform.

services

+val services: List<KVServiceManager<*>>
-KVServer(init: KVServer.() -> Unit) -

A Jooby based server.

-KVServer(services: List<SpringServiceManager<*>>) -

A Spring boot based server.

KVServer()

A server. Not used on the js platform.

+KVServer(init: KVServer.() -> Unit) +

A Jooby based server.

+KVServer(services: List<KVServiceManager<*>>) +

A Spring boot based server.

-val services: List<SpringServiceManager<*>>
diff --git a/api/pl.treksoft.kvision.remote/-k-v-server/services.html b/api/pl.treksoft.kvision.remote/-k-v-server/services.html index 8b19d19f..9d72a47b 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-server/services.html +++ b/api/pl.treksoft.kvision.remote/-k-v-server/services.html @@ -9,6 +9,6 @@

services

-val services: List<SpringServiceManager<*>> +val services: List<KVServiceManager<*>> diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/-init-.html new file mode 100644 index 00000000..f011779c --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/-init-.html @@ -0,0 +1,15 @@ + + + +KVServiceManager.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / <init>
+
+

<init>

+ +KVServiceManager(serviceClass: KClass<T>) +

Multiplatform service manager.

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/-l-o-g.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/-l-o-g.html new file mode 100644 index 00000000..aa3cd070 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/-l-o-g.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.LOG - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / LOG
+
+

LOG

+ +val LOG: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html new file mode 100644 index 00000000..fe7b0ff8 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.addRoute - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / addRoute
+
+

addRoute

+ +fun addRoute(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/apply-routes.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/apply-routes.html new file mode 100644 index 00000000..96e7e799 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/apply-routes.html @@ -0,0 +1,16 @@ + + + +KVServiceManager.applyRoutes - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / applyRoutes
+
+

applyRoutes

+ +actual fun applyRoutes(k: KVServer): Unit +

Applies all defined routes to the given server. +Not used on the js platform.

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html new file mode 100644 index 00000000..cd647656 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/bind.html @@ -0,0 +1,38 @@ + + + +KVServiceManager.bind - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / bind
+
+

bind

+ +protected inline actual fun <reified RET> bind(noinline function: suspend T.() -> RET, route: String?, method: RpcHttpMethod): Unit
+ +protected inline actual fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, route: String?, method: RpcHttpMethod): Unit
+ +protected inline actual fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, route: String?, method: RpcHttpMethod): Unit
+ +protected inline actual fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, route: String?, method: RpcHttpMethod): Unit
+ +protected inline actual fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, route: String?, method: RpcHttpMethod): Unit
+ +protected inline actual fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, route: String?, method: RpcHttpMethod): Unit +

Binds a given route with a function of the receiver.

+

Parameters

+

+function - a function of the receiver

+

+route - a route

+

+method - a HTTP method

+ +protected actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit +

Binds a given function of the receiver as a select options source

+

Parameters

+

+function - a function of the receiver

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html new file mode 100644 index 00000000..c241f29f --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.call - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / call
+
+

call

+ +fun call(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): KVServer.() -> Unit + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/calls.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/calls.html new file mode 100644 index 00000000..79c1a020 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/calls.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.calls - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / calls
+
+

calls

+ +protected val calls: MutableMap<String, Pair<String, RpcHttpMethod>> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/counter.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/counter.html new file mode 100644 index 00000000..54c3d28a --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/counter.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.counter - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / counter
+
+

counter

+ +var counter: Int + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/delete-requests.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/delete-requests.html new file mode 100644 index 00000000..efd6e9fa --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/delete-requests.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.deleteRequests - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / deleteRequests
+
+

deleteRequests

+ +val deleteRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-calls.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-calls.html new file mode 100644 index 00000000..f665a679 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-calls.html @@ -0,0 +1,15 @@ + + + +KVServiceManager.getCalls - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / getCalls
+
+

getCalls

+ +open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> +

Returns the map of defined paths.

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html new file mode 100644 index 00000000..60238eef --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.getParameter - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / getParameter
+
+

getParameter

+ +protected inline fun <reified T> getParameter(str: String?): T + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html new file mode 100644 index 00000000..c3d7aa1e --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html @@ -0,0 +1,169 @@ + + + +KVServiceManager - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager
+
+

KVServiceManager

+open actual class KVServiceManager<T : Any> +

Multiplatform service manager.

+

Constructors

+ + + + + + + +
+

<init>

+
+KVServiceManager(serviceClass: KClass<T>) +

Multiplatform service manager.

+
+

Properties

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

calls

+
+val calls: MutableMap<String, Pair<String, RpcHttpMethod>>
+

counter

+
+var counter: Int
+

deleteRequests

+
+val deleteRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
+

mapper

+
+val mapper: <ERROR CLASS>
+

optionsRequests

+
+val optionsRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
+

postRequests

+
+val postRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
+

putRequests

+
+val putRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
+

routes

+
+val routes: MutableList<KVServer.() -> Unit>
+

serviceClass

+
+val serviceClass: KClass<T>
+

Functions

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

addRoute

+
+fun addRoute(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): Unit
+

applyRoutes

+
+actual fun applyRoutes(k: KVServer): Unit +

Applies all defined routes to the given server. +Not used on the js platform.

+
+

bind

+
+actual fun <RET> bind(function: suspend T.() -> RET, route: String?, method: RpcHttpMethod): Unit
+actual fun <PAR, RET> bind(function: suspend T.(PAR) -> RET, route: String?, method: RpcHttpMethod): Unit
+actual fun <PAR1, PAR2, RET> bind(function: suspend T.(PAR1, PAR2) -> RET, route: String?, method: RpcHttpMethod): Unit
+actual fun <PAR1, PAR2, PAR3, RET> bind(function: suspend T.(PAR1, PAR2, PAR3) -> RET, route: String?, method: RpcHttpMethod): Unit
+actual fun <PAR1, PAR2, PAR3, PAR4, RET> bind(function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, route: String?, method: RpcHttpMethod): Unit
+actual fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET> bind(function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, route: String?, method: RpcHttpMethod): Unit +

Binds a given route with a function of the receiver.

+actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit +

Binds a given function of the receiver as a select options source

+
+

call

+
+fun call(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): KVServer.() -> Unit
+

getCalls

+
+open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> +

Returns the map of defined paths.

+
+

getParameter

+
+fun <T> getParameter(str: String?): T
+

Companion Object Properties

+ + + + + + + +
+

LOG

+
+val LOG: <ERROR CLASS>
+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/mapper.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/mapper.html new file mode 100644 index 00000000..a2a8950e --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/mapper.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.mapper - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / mapper
+
+

mapper

+ +val mapper: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/options-requests.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/options-requests.html new file mode 100644 index 00000000..186471fc --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/options-requests.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.optionsRequests - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / optionsRequests
+
+

optionsRequests

+ +val optionsRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/post-requests.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/post-requests.html new file mode 100644 index 00000000..3149cbbd --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/post-requests.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.postRequests - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / postRequests
+
+

postRequests

+ +val postRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/put-requests.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/put-requests.html new file mode 100644 index 00000000..f81562f7 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/put-requests.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.putRequests - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / putRequests
+
+

putRequests

+ +val putRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/routes.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/routes.html new file mode 100644 index 00000000..252f1ccc --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/routes.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.routes - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / routes
+
+

routes

+ +protected val routes: MutableList<KVServer.() -> Unit> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/service-class.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/service-class.html new file mode 100644 index 00000000..6ca8542d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/service-class.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.serviceClass - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / serviceClass
+
+

serviceClass

+ +val serviceClass: KClass<T> + + diff --git a/api/pl.treksoft.kvision.remote/-login-service/index.html b/api/pl.treksoft.kvision.remote/-login-service/index.html index baf94f91..c0c2bd83 100644 --- a/api/pl.treksoft.kvision.remote/-login-service/index.html +++ b/api/pl.treksoft.kvision.remote/-login-service/index.html @@ -44,7 +44,7 @@

login

-fun login(credentials: Credentials?): Deferred<Boolean> +suspend fun login(credentials: Credentials?): Boolean

Login with Pac4j FormClient.

diff --git a/api/pl.treksoft.kvision.remote/-login-service/login.html b/api/pl.treksoft.kvision.remote/-login-service/login.html index fbb6574b..0141d535 100644 --- a/api/pl.treksoft.kvision.remote/-login-service/login.html +++ b/api/pl.treksoft.kvision.remote/-login-service/login.html @@ -9,7 +9,7 @@

login

-fun login(credentials: Credentials?): Deferred<Boolean> +suspend fun login(credentials: Credentials?): Boolean

Login with Pac4j FormClient.

Parameters

diff --git a/api/pl.treksoft.kvision.remote/-profile/-profile/index.html b/api/pl.treksoft.kvision.remote/-profile/-profile/index.html index d5884f19..daaede51 100644 --- a/api/pl.treksoft.kvision.remote/-profile/-profile/index.html +++ b/api/pl.treksoft.kvision.remote/-profile/-profile/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.remote / Profile

Profile

-expect class Profile +data actual class Profile

A user profile.

Constructors

diff --git a/api/pl.treksoft.kvision.remote/-profile/index.html b/api/pl.treksoft.kvision.remote/-profile/index.html index 7e274804..8529b6aa 100644 --- a/api/pl.treksoft.kvision.remote/-profile/index.html +++ b/api/pl.treksoft.kvision.remote/-profile/index.html @@ -10,7 +10,7 @@

Profile

actual typealias Profile = <ERROR CLASS>

A user profile.

-expect class Profile +data actual class Profile

A user profile.

Constructors

diff --git a/api/pl.treksoft.kvision.remote/-remote-agent.html b/api/pl.treksoft.kvision.remote/-remote-agent.html index db812b84..ae9b926e 100644 --- a/api/pl.treksoft.kvision.remote/-remote-agent.html +++ b/api/pl.treksoft.kvision.remote/-remote-agent.html @@ -15,20 +15,11 @@ - - - - diff --git a/api/pl.treksoft.kvision.remote/-request.html b/api/pl.treksoft.kvision.remote/-request.html index bb5e13da..2a406c50 100644 --- a/api/pl.treksoft.kvision.remote/-request.html +++ b/api/pl.treksoft.kvision.remote/-request.html @@ -8,36 +8,19 @@ kvision / pl.treksoft.kvision.remote / Request

Request

-expect interface Request -

A server request.

+actual interface Request +

A server request. +Not used on the js platform.

Extension Functions

-

JoobyRemoteAgent

+

KVRemoteAgent

-open class JoobyRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Jooby.

-
-

SpringRemoteAgent

-
-open class SpringRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Spring Boot.

+open class KVRemoteAgent<T : Any> : RemoteAgent +

Client side agent for JSON-RPC remote calls.

- - - - - - - - diff --git a/api/pl.treksoft.kvision.remote/-rpc-http-method/-d-e-l-e-t-e.html b/api/pl.treksoft.kvision.remote/-rpc-http-method/-d-e-l-e-t-e.html deleted file mode 100644 index f396e972..00000000 --- a/api/pl.treksoft.kvision.remote/-rpc-http-method/-d-e-l-e-t-e.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RpcHttpMethod.DELETE - kvision - - - -kvision / pl.treksoft.kvision.remote / RpcHttpMethod / DELETE
-
-

DELETE

- -DELETE - - diff --git a/api/pl.treksoft.kvision.remote/-rpc-http-method/-o-p-t-i-o-n-s.html b/api/pl.treksoft.kvision.remote/-rpc-http-method/-o-p-t-i-o-n-s.html deleted file mode 100644 index a53e36f4..00000000 --- a/api/pl.treksoft.kvision.remote/-rpc-http-method/-o-p-t-i-o-n-s.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RpcHttpMethod.OPTIONS - kvision - - - -kvision / pl.treksoft.kvision.remote / RpcHttpMethod / OPTIONS
-
-

OPTIONS

- -OPTIONS - - diff --git a/api/pl.treksoft.kvision.remote/-rpc-http-method/-p-o-s-t.html b/api/pl.treksoft.kvision.remote/-rpc-http-method/-p-o-s-t.html deleted file mode 100644 index 429f3e23..00000000 --- a/api/pl.treksoft.kvision.remote/-rpc-http-method/-p-o-s-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RpcHttpMethod.POST - kvision - - - -kvision / pl.treksoft.kvision.remote / RpcHttpMethod / POST
-
-

POST

- -POST - - diff --git a/api/pl.treksoft.kvision.remote/-rpc-http-method/-p-u-t.html b/api/pl.treksoft.kvision.remote/-rpc-http-method/-p-u-t.html deleted file mode 100644 index a64b5297..00000000 --- a/api/pl.treksoft.kvision.remote/-rpc-http-method/-p-u-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RpcHttpMethod.PUT - kvision - - - -kvision / pl.treksoft.kvision.remote / RpcHttpMethod / PUT
-
-

PUT

- -PUT - - diff --git a/api/pl.treksoft.kvision.remote/-rpc-http-method/index.html b/api/pl.treksoft.kvision.remote/-rpc-http-method/index.html deleted file mode 100644 index dd617260..00000000 --- a/api/pl.treksoft.kvision.remote/-rpc-http-method/index.html +++ /dev/null @@ -1,46 +0,0 @@ - - - -RpcHttpMethod - kvision - - - -kvision / pl.treksoft.kvision.remote / RpcHttpMethod
-
-

RpcHttpMethod

-enum class RpcHttpMethod -

Enum Values

-
-

async

+

withProfile

-fun <RESP> Request?.async(block: (Request) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing.

-
-

asyncAuth

-
-fun <RESP> Request?.asyncAuth(block: (Request, <ERROR CLASS>, Profile) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session and user profile.

-
-

asyncSession

-
-fun <RESP> Request?.asyncSession(block: (Request, <ERROR CLASS>) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session.

+fun <RESP> Request.withProfile(block: (Profile) -> RESP): RESP +

A helper extension function for processing with authenticated user profile.

- - - - - - - - - - - - - - - - - - -
-

POST

-
-
-

PUT

-
-
-

DELETE

-
-
-

OPTIONS

-
-
- - diff --git a/api/pl.treksoft.kvision.remote/-service-manager/get-calls.html b/api/pl.treksoft.kvision.remote/-service-manager/get-calls.html deleted file mode 100644 index de2ac017..00000000 --- a/api/pl.treksoft.kvision.remote/-service-manager/get-calls.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -ServiceManager.getCalls - kvision - - - -kvision / pl.treksoft.kvision.remote / ServiceManager / getCalls
-
-

getCalls

- -open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Returns the map of defined paths.

- - diff --git a/api/pl.treksoft.kvision.remote/-service-manager/index.html b/api/pl.treksoft.kvision.remote/-service-manager/index.html deleted file mode 100644 index 6b6dc933..00000000 --- a/api/pl.treksoft.kvision.remote/-service-manager/index.html +++ /dev/null @@ -1,50 +0,0 @@ - - - -ServiceManager - kvision - - - -kvision / pl.treksoft.kvision.remote / ServiceManager
-
-

ServiceManager

-interface ServiceManager -

Functions

- - - - - - - -
-

getCalls

-
-open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Returns the map of defined paths.

-
-

Inheritors

- - - - - - - - - - - -
-

JoobyServiceManager

-
-open expect class JoobyServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Jooby.

-
-

SpringServiceManager

-
-open expect class SpringServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Spring Boot.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-spring-remote-agent/-init-.html b/api/pl.treksoft.kvision.remote/-spring-remote-agent/-init-.html deleted file mode 100644 index 6d8b71c8..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-remote-agent/-init-.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -SpringRemoteAgent.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringRemoteAgent / <init>
-
-

<init>

- -SpringRemoteAgent(serviceManager: SpringServiceManager<T>) -

Client side agent for JSON-RPC remote calls with Spring Boot.

- - diff --git a/api/pl.treksoft.kvision.remote/-spring-remote-agent/call-agent.html b/api/pl.treksoft.kvision.remote/-spring-remote-agent/call-agent.html deleted file mode 100644 index 932eea7b..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-remote-agent/call-agent.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringRemoteAgent.callAgent - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringRemoteAgent / callAgent
-
-

callAgent

- -val callAgent: CallAgent - - diff --git a/api/pl.treksoft.kvision.remote/-spring-remote-agent/call.html b/api/pl.treksoft.kvision.remote/-spring-remote-agent/call.html deleted file mode 100644 index 5b9ec2f1..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-remote-agent/call.html +++ /dev/null @@ -1,37 +0,0 @@ - - - -SpringRemoteAgent.call - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringRemoteAgent / call
-
-

call

- -inline fun <reified RET : Any, T> call(noinline function: T.() -> Deferred<RET>): Deferred<RET>
- -inline fun <reified RET : Any, T> call(noinline function: T.() -> Deferred<List<RET>>): Deferred<List<RET>>
- -inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR) -> Deferred<RET>, p: PAR): Deferred<RET>
- -inline fun <reified PAR, reified RET : Any, T> call(noinline function: T.(PAR) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<List<RET>>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<RET>
- -inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<List<RET>> -

Executes defined call to a remote web service.

- - diff --git a/api/pl.treksoft.kvision.remote/-spring-remote-agent/index.html b/api/pl.treksoft.kvision.remote/-spring-remote-agent/index.html deleted file mode 100644 index 98110ab6..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-remote-agent/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -SpringRemoteAgent - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringRemoteAgent
-
-

SpringRemoteAgent

-open class SpringRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Spring Boot.

-

Constructors

- - - - - - - -
-

<init>

-
-SpringRemoteAgent(serviceManager: SpringServiceManager<T>) -

Client side agent for JSON-RPC remote calls with Spring Boot.

-
-

Properties

- - - - - - - - - - - -
-

callAgent

-
-val callAgent: CallAgent
-

serviceManager

-
-val serviceManager: SpringServiceManager<T>
-

Functions

- - - - - - - -
-

call

-
-fun <RET : Any, T> call(function: T.() -> Deferred<RET>): Deferred<RET>
-fun <RET : Any, T> call(function: T.() -> Deferred<List<RET>>): Deferred<List<RET>>
-fun <PAR, RET : Any, T> call(function: T.(PAR) -> Deferred<RET>, p: PAR): Deferred<RET>
-fun <PAR, RET : Any, T> call(function: T.(PAR) -> Deferred<List<RET>>, p: PAR): Deferred<List<RET>>
-fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2) -> Deferred<RET>, p1: PAR1, p2: PAR2): Deferred<RET>
-fun <PAR1, PAR2, RET : Any, T> call(function: T.(PAR1, PAR2) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2): Deferred<List<RET>>
-fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<RET>
-fun <PAR1, PAR2, PAR3, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3): Deferred<List<RET>>
-fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<RET>
-fun <PAR1, PAR2, PAR3, PAR4, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): Deferred<List<RET>>
-fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<RET>
-fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET : Any, T> call(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<List<RET>>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): Deferred<List<RET>> -

Executes defined call to a remote web service.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-spring-remote-agent/service-manager.html b/api/pl.treksoft.kvision.remote/-spring-remote-agent/service-manager.html deleted file mode 100644 index c8bb5c61..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-remote-agent/service-manager.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringRemoteAgent.serviceManager - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringRemoteAgent / serviceManager
-
-

serviceManager

- -val serviceManager: SpringServiceManager<T> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/-init-.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/-init-.html deleted file mode 100644 index 59109334..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/-init-.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -SpringServiceManager.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / <init>
-
-

<init>

- -SpringServiceManager(serviceClass: KClass<T>) -

Multiplatform service manager for Spring Boot.

- - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/-l-o-g.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/-l-o-g.html deleted file mode 100644 index 93bf5966..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/-l-o-g.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.LOG - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / LOG
-
-

LOG

- -val LOG: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/add-route.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/add-route.html deleted file mode 100644 index 350bb643..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/add-route.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.addRoute - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / addRoute
-
-

addRoute

- -fun addRoute(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/bind.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/bind.html deleted file mode 100644 index c128d916..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/bind.html +++ /dev/null @@ -1,32 +0,0 @@ - - - -SpringServiceManager.bind - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / bind
-
-

bind

- -protected inline fun <reified RET> bind(noinline function: T.() -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR, reified RET> bind(noinline function: T.(PAR) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: T.(PAR1, PAR2) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
- -protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit -

Binds a given route with a function of the receiver.

-

Parameters

-

-function - a function of the receiver

-

-route - a route

-

-method - a HTTP method

- - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/calls.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/calls.html deleted file mode 100644 index 65bee773..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/calls.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.calls - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / calls
-
-

calls

- -protected val calls: MutableMap<String, Pair<String, RpcHttpMethod>> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/counter.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/counter.html deleted file mode 100644 index 5343055f..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/counter.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.counter - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / counter
-
-

counter

- -var counter: Int - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/delete-requests.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/delete-requests.html deleted file mode 100644 index e3e361dc..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/delete-requests.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.deleteRequests - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / deleteRequests
-
-

deleteRequests

- -val deleteRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/get-calls.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/get-calls.html deleted file mode 100644 index f9e9f953..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/get-calls.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -SpringServiceManager.getCalls - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / getCalls
-
-

getCalls

- -open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Overrides ServiceManager.getCalls

-

Returns the map of defined paths.

- - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/get-parameter.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/get-parameter.html deleted file mode 100644 index 567b07b3..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/get-parameter.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.getParameter - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / getParameter
-
-

getParameter

- -protected inline fun <reified T> getParameter(str: String?): T - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/index.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/index.html deleted file mode 100644 index 1b3f1639..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/index.html +++ /dev/null @@ -1,157 +0,0 @@ - - - -SpringServiceManager - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager
-
-

SpringServiceManager

-open expect class SpringServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Spring Boot.

-

Constructors

- - - - - - - -
-

<init>

-
-SpringServiceManager(serviceClass: KClass<T>) -

Multiplatform service manager for Spring Boot.

-
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

calls

-
-val calls: MutableMap<String, Pair<String, RpcHttpMethod>>
-

counter

-
-var counter: Int
-

deleteRequests

-
-val deleteRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
-

mapper

-
-val mapper: <ERROR CLASS>
-

optionsRequests

-
-val optionsRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
-

postRequests

-
-val postRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
-

putRequests

-
-val putRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit>
-

serviceClass

-
-val serviceClass: KClass<T>
-

Functions

- - - - - - - - - - - - - - - - - - - -
-

addRoute

-
-fun addRoute(method: RpcHttpMethod, path: String, handler: (Request, <ERROR CLASS>) -> Unit): Unit
-

bind

-
-fun <RET> bind(function: T.() -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR, RET> bind(function: T.(PAR) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, RET> bind(function: T.(PAR1, PAR2) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, PAR3, RET> bind(function: T.(PAR1, PAR2, PAR3) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, PAR3, PAR4, RET> bind(function: T.(PAR1, PAR2, PAR3, PAR4) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit
-fun <PAR1, PAR2, PAR3, PAR4, PAR5, RET> bind(function: T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> Deferred<RET>, route: String? = null, method: RpcHttpMethod = RpcHttpMethod.POST): Unit -

Binds a given route with a function of the receiver.

-
-

getCalls

-
-open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Returns the map of defined paths.

-
-

getParameter

-
-fun <T> getParameter(str: String?): T
-

Inherited Functions

- - - - - - - -
-

getCalls

-
-open fun getCalls(): Map<String, Pair<String, RpcHttpMethod>> -

Returns the map of defined paths.

-
-

Companion Object Properties

- - - - - - - -
-

LOG

-
-val LOG: <ERROR CLASS>
- - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/mapper.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/mapper.html deleted file mode 100644 index c10a7c2c..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/mapper.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.mapper - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / mapper
-
-

mapper

- -val mapper: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/options-requests.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/options-requests.html deleted file mode 100644 index eaa1af96..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/options-requests.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.optionsRequests - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / optionsRequests
-
-

optionsRequests

- -val optionsRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/post-requests.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/post-requests.html deleted file mode 100644 index b1c2066a..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/post-requests.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.postRequests - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / postRequests
-
-

postRequests

- -val postRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/put-requests.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/put-requests.html deleted file mode 100644 index d50b284d..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/put-requests.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.putRequests - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / putRequests
-
-

putRequests

- -val putRequests: MutableMap<String, (Request, <ERROR CLASS>) -> Unit> - - diff --git a/api/pl.treksoft.kvision.remote/-spring-service-manager/service-class.html b/api/pl.treksoft.kvision.remote/-spring-service-manager/service-class.html deleted file mode 100644 index c791f397..00000000 --- a/api/pl.treksoft.kvision.remote/-spring-service-manager/service-class.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -SpringServiceManager.serviceClass - kvision - - - -kvision / pl.treksoft.kvision.remote / SpringServiceManager / serviceClass
-
-

serviceClass

- -val serviceClass: KClass<T> - - diff --git a/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html b/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html index 38d8bc0e..e6da72c9 100644 --- a/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html +++ b/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.remote / addPathPatternsFromServices

addPathPatternsFromServices

- -fun <ERROR CLASS>.addPathPatternsFromServices(services: List<SpringServiceManager<*>>): Unit + +fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit diff --git a/api/pl.treksoft.kvision.remote/async-auth.html b/api/pl.treksoft.kvision.remote/async-auth.html deleted file mode 100644 index 3765e93c..00000000 --- a/api/pl.treksoft.kvision.remote/async-auth.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -asyncAuth - kvision - - - -kvision / pl.treksoft.kvision.remote / asyncAuth
-
-

asyncAuth

- -fun <RESP> Request?.asyncAuth(block: (Request, <ERROR CLASS>, Profile) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session and user profile.

- -fun <RESP> asyncAuth(block: (Profile) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous processing with user profile.

- - diff --git a/api/pl.treksoft.kvision.remote/async-session.html b/api/pl.treksoft.kvision.remote/async-session.html deleted file mode 100644 index a8783f62..00000000 --- a/api/pl.treksoft.kvision.remote/async-session.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -asyncSession - kvision - - - -kvision / pl.treksoft.kvision.remote / asyncSession
-
-

asyncSession

- -fun <RESP> Request?.asyncSession(block: (Request, <ERROR CLASS>) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session.

- - diff --git a/api/pl.treksoft.kvision.remote/async.html b/api/pl.treksoft.kvision.remote/async.html deleted file mode 100644 index 5a8e3843..00000000 --- a/api/pl.treksoft.kvision.remote/async.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -async - kvision - - - -kvision / pl.treksoft.kvision.remote / async
-
-

async

- -fun <RESP> Request?.async(block: (Request) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing.

- -fun <RESP> async(block: () -> RESP): Deferred<RESP> -

A helper extension function for asynchronous processing.

- - diff --git a/api/pl.treksoft.kvision.remote/index.html b/api/pl.treksoft.kvision.remote/index.html index 1917d011..a2620d5a 100644 --- a/api/pl.treksoft.kvision.remote/index.html +++ b/api/pl.treksoft.kvision.remote/index.html @@ -32,57 +32,37 @@ -

HttpMethod

- - -enum class HttpMethod - - - -

JoobyRemoteAgent

+

KVController

-open class JoobyRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Jooby.

- +open class KVController -

JoobyServiceManager

+

KVRemoteAgent

-open expect class JoobyServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Jooby.

+open class KVRemoteAgent<T : Any> : RemoteAgent +

Client side agent for JSON-RPC remote calls.

-

JsonRpcRequest

- - -data class JsonRpcRequest - - - -

JsonRpcResponse

+

KVServer

-data class JsonRpcResponse - - - -

KVController

+open actual class KVServer +

A server. +Not used on the js platform.

- -open class KVController -

KVServer

+

KVServiceManager

-open expect class KVServer -

A server.

+open actual class KVServiceManager<T : Any> +

Multiplatform service manager.

@@ -99,7 +79,7 @@

Profile

-expect class Profile +data actual class Profile

A user profile.

@@ -117,19 +97,13 @@

Request

-expect interface Request -

A server request.

+actual interface Request +

A server request. +Not used on the js platform.

-

RpcHttpMethod

- - -enum class RpcHttpMethod - - -

SecurityMgr

@@ -139,36 +113,11 @@ -

ServiceManager

- - -interface ServiceManager - - -

SpringContext

class SpringContext - - -

SpringRemoteAgent

- - -open class SpringRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Spring Boot.

- - - - -

SpringServiceManager

- - -open expect class SpringServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Spring Boot.

- -

Exceptions

@@ -221,37 +170,16 @@

addPathPatternsFromServices

-fun <ERROR CLASS>.addPathPatternsFromServices(services: List<SpringServiceManager<*>>): Unit - - - -

async

- - -fun <RESP> Request?.async(block: (Request) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing.

-fun <RESP> async(block: () -> RESP): Deferred<RESP> -

A helper extension function for asynchronous processing.

- - - - -

asyncAuth

- - -fun <RESP> Request?.asyncAuth(block: (Request, <ERROR CLASS>, Profile) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session and user profile.

-fun <RESP> asyncAuth(block: (Profile) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous processing with user profile.

- +fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit -

asyncSession

+

withProfile

-fun <RESP> Request?.asyncSession(block: (Request, <ERROR CLASS>) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session.

+fun <RESP> Request.withProfile(block: (Profile) -> RESP): RESP
+fun <RESP> withProfile(block: (Profile) -> RESP): RESP +

A helper extension function for processing with authenticated user profile.

diff --git a/api/pl.treksoft.kvision.remote/with-profile.html b/api/pl.treksoft.kvision.remote/with-profile.html new file mode 100644 index 00000000..5ff1ee96 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/with-profile.html @@ -0,0 +1,17 @@ + + + +withProfile - kvision + + + +kvision / pl.treksoft.kvision.remote / withProfile
+
+

withProfile

+ +fun <RESP> Request.withProfile(block: (Profile) -> RESP): RESP
+ +fun <RESP> withProfile(block: (Profile) -> RESP): RESP +

A helper extension function for processing with authenticated user profile.

+ + diff --git a/api/pl.treksoft.kvision.types/-k-v_-d-a-t-e_-f-o-r-m-a-t.html b/api/pl.treksoft.kvision.types/-k-v_-d-a-t-e_-f-o-r-m-a-t.html new file mode 100644 index 00000000..b06464cb --- /dev/null +++ b/api/pl.treksoft.kvision.types/-k-v_-d-a-t-e_-f-o-r-m-a-t.html @@ -0,0 +1,14 @@ + + + +KV_DATE_FORMAT - kvision + + + +kvision / pl.treksoft.kvision.types / KV_DATE_FORMAT
+
+

KV_DATE_FORMAT

+ +expect val KV_DATE_FORMAT: String + + diff --git a/api/pl.treksoft.kvision.types/index.html b/api/pl.treksoft.kvision.types/index.html index 9bbe0d4c..3ea8cc51 100644 --- a/api/pl.treksoft.kvision.types/index.html +++ b/api/pl.treksoft.kvision.types/index.html @@ -87,6 +87,13 @@ +

KV_DATE_FORMAT

+ + +expect val KV_DATE_FORMAT: String + + +

kvTableConfig

diff --git a/api/pl.treksoft.kvision.types/java.util.-date/index.html b/api/pl.treksoft.kvision.types/java.util.-date/index.html index 209a0347..ac6dddc7 100644 --- a/api/pl.treksoft.kvision.types/java.util.-date/index.html +++ b/api/pl.treksoft.kvision.types/java.util.-date/index.html @@ -15,7 +15,7 @@

toStringF

-expect fun Date.toStringF(format: String = "YYYY-MM-DD HH:mm:ss"): String +expect fun Date.toStringF(format: String = KV_DATE_FORMAT): String diff --git a/api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html b/api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html index 9d86e479..d9573f60 100644 --- a/api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html +++ b/api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html @@ -9,6 +9,6 @@

toStringF

-expect fun Date.toStringF(format: String = "YYYY-MM-DD HH:mm:ss"): String +expect fun Date.toStringF(format: String = KV_DATE_FORMAT): String diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/index.html b/api/pl.treksoft.kvision.types/kotlin.-string/index.html index c3bdeeee..06fc2d10 100644 --- a/api/pl.treksoft.kvision.types/kotlin.-string/index.html +++ b/api/pl.treksoft.kvision.types/kotlin.-string/index.html @@ -15,7 +15,7 @@

toDateF

-expect fun String.toDateF(format: String = "YYYY-MM-DD HH:mm:ss"): Date +expect fun String.toDateF(format: String = KV_DATE_FORMAT): Date diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html index 8169d8ac..56082abe 100644 --- a/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html +++ b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html @@ -9,6 +9,6 @@

toDateF

-expect fun String.toDateF(format: String = "YYYY-MM-DD HH:mm:ss"): Date +expect fun String.toDateF(format: String = KV_DATE_FORMAT): Date -- cgit