diff options
Diffstat (limited to 'api/pl.treksoft.kvision.utils')
7 files changed, 56 insertions, 46 deletions
diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html index c60bf35a..c0e7d846 100644 --- a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html @@ -9,6 +9,7 @@ <br/> <h1>JSON</h1> <code><span class="keyword">object </span><span class="identifier">JSON</span></code> +<p>JSON utility functions</p> <h3>Properties</h3> <table> <tbody> @@ -36,7 +37,8 @@ <p><a href="to-obj.html">toObj</a></p> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a></code> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils.JSON$toObj(pl.treksoft.kvision.utils.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.utils.JSON.toObj.T)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> <p>An extension function to convert Serializable object to JS dynamic object</p> </td> </tr> diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html index 2821bd05..13038dd7 100644 --- a/api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/to-obj.html @@ -9,7 +9,13 @@ <br/> <h1>toObj</h1> <a name="pl.treksoft.kvision.utils.JSON$toObj(pl.treksoft.kvision.utils.JSON.toObj.T)"></a> -<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a></code> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> <p>An extension function to convert Serializable object to JS dynamic object</p> +<a name="pl.treksoft.kvision.utils.JSON$toObj(pl.treksoft.kvision.utils.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.utils.JSON.toObj.T)))"></a> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">toObj</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils.JSON$toObj(pl.treksoft.kvision.utils.JSON.toObj.T, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.utils.JSON.toObj.T)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="to-obj.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> +<p>An extension function to convert Serializable object to JS dynamic object</p> +<h3>Parameters</h3> +<p><a name="serializer"></a> +<code>serializer</code> - a serializer for T</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/index.html b/api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/index.html deleted file mode 100644 index 33599c5b..00000000 --- a/api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/index.html +++ /dev/null @@ -1,25 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>pl.treksoft.kvision.utils.com.lightningkite.kotlin.observable.list.ObservableList - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="./index.html">com.lightningkite.kotlin.observable.list.ObservableList</a><br/> -<br/> -<h3>Extensions for com.lightningkite.kotlin.observable.list.ObservableList</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="sync-with-list.html">syncWithList</a></p> -</td> -<td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">ObservableList</span><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">syncWithList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$syncWithList(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))/list">list</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> -<p>Utility extension function to synchronise elements of the ObservableList.</p> -</td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/sync-with-list.html b/api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/sync-with-list.html deleted file mode 100644 index f71f7592..00000000 --- a/api/pl.treksoft.kvision.utils/com.lightningkite.kotlin.observable.list.-observable-list/sync-with-list.html +++ /dev/null @@ -1,15 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>syncWithList - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="index.html">com.lightningkite.kotlin.observable.list.ObservableList</a> / <a href="./sync-with-list.html">syncWithList</a><br/> -<br/> -<h1>syncWithList</h1> -<a name="pl.treksoft.kvision.utils$syncWithList(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))"></a> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">ObservableList</span><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">syncWithList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$syncWithList(com.lightningkite.kotlin.observable.list.ObservableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))/list">list</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> -<p>Utility extension function to synchronise elements of the ObservableList.</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.utils/index.html b/api/pl.treksoft.kvision.utils/index.html index 407d8a11..0f2adbdc 100644 --- a/api/pl.treksoft.kvision.utils/index.html +++ b/api/pl.treksoft.kvision.utils/index.html @@ -17,7 +17,9 @@ <p><a href="-j-s-o-n/index.html">JSON</a></p> </td> <td> -<code><span class="keyword">object </span><span class="identifier">JSON</span></code></td> +<code><span class="keyword">object </span><span class="identifier">JSON</span></code> +<p>JSON utility functions</p> +</td> </tr> <tr> <td> @@ -44,21 +46,21 @@ <tbody> <tr> <td> -<p><a href="com.lightningkite.kotlin.observable.list.-observable-list/index.html">com.lightningkite.kotlin.observable.list.ObservableList</a></p> +<p><a href="kotlin.-int/index.html">kotlin.Int</a></p> </td> <td> </td> </tr> <tr> <td> -<p><a href="kotlin.-int/index.html">kotlin.Int</a></p> +<p><a href="kotlin.-pair/index.html">kotlin.Pair</a></p> </td> <td> </td> </tr> <tr> <td> -<p><a href="kotlin.-pair/index.html">kotlin.Pair</a></p> +<p><a href="kotlin.collections.-mutable-list/index.html">kotlin.collections.MutableList</a></p> </td> <td> </td> diff --git a/api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/index.html b/api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/index.html new file mode 100644 index 00000000..2dffc0c4 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/index.html @@ -0,0 +1,25 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>pl.treksoft.kvision.utils.kotlin.collections.MutableList - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="./index.html">kotlin.collections.MutableList</a><br/> +<br/> +<h3>Extensions for kotlin.collections.MutableList</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="sync-with-list.html">syncWithList</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">syncWithList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$syncWithList(kotlin.collections.MutableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))/list">list</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Utility extension function to synchronise elements of the MutableList.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html b/api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html new file mode 100644 index 00000000..d7e76c1e --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>syncWithList - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="index.html">kotlin.collections.MutableList</a> / <a href="./sync-with-list.html">syncWithList</a><br/> +<br/> +<h1>syncWithList</h1> +<a name="pl.treksoft.kvision.utils$syncWithList(kotlin.collections.MutableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))"></a> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">syncWithList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$syncWithList(kotlin.collections.MutableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))/list">list</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Utility extension function to synchronise elements of the MutableList.</p> +</BODY> +</HTML> |