diff options
Diffstat (limited to 'kvision-modules')
5 files changed, 3 insertions, 8 deletions
diff --git a/kvision-modules/kvision-datacontainer/build.gradle b/kvision-modules/kvision-datacontainer/build.gradle index 9337698c..a10a048f 100644 --- a/kvision-modules/kvision-datacontainer/build.gradle +++ b/kvision-modules/kvision-datacontainer/build.gradle @@ -1,9 +1,5 @@ apply from: "../shared.gradle" -dependencies { - compile "pl.treksoft:kotlin-observable-js:$kotlinObservableVersion" -} - kotlinFrontend { npm { diff --git a/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt b/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt index 6c05da4b..cb360982 100644 --- a/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt +++ b/kvision-modules/kvision-datacontainer/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt @@ -22,11 +22,11 @@ package pl.treksoft.kvision.data import com.github.snabbdom.VNode -import com.lightningkite.kotlin.observable.list.ObservableList import pl.treksoft.kvision.core.Component import pl.treksoft.kvision.core.Container import pl.treksoft.kvision.core.Widget import pl.treksoft.kvision.panel.VPanel +import pl.treksoft.kvision.utils.ObservableList /** * Sorter types. diff --git a/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt b/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt index 556d3991..36347cd3 100644 --- a/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt +++ b/kvision-modules/kvision-datacontainer/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt @@ -21,12 +21,12 @@ */ package test.pl.treksoft.kvision.data -import com.lightningkite.kotlin.observable.list.observableListOf import pl.treksoft.kvision.data.BaseDataComponent import pl.treksoft.kvision.data.DataContainer import pl.treksoft.kvision.html.Label import pl.treksoft.kvision.panel.Root import pl.treksoft.kvision.panel.VPanel +import pl.treksoft.kvision.utils.observableListOf import test.pl.treksoft.kvision.DomSpec import kotlin.browser.document import kotlin.test.Test diff --git a/kvision-modules/kvision-tabulator/build.gradle b/kvision-modules/kvision-tabulator/build.gradle index b74ef2d4..6959fec5 100644 --- a/kvision-modules/kvision-tabulator/build.gradle +++ b/kvision-modules/kvision-tabulator/build.gradle @@ -1,7 +1,6 @@ apply from: "../shared.gradle" dependencies { - compile "pl.treksoft:kotlin-observable-js:$kotlinObservableVersion" compile project(":kvision-modules:kvision-redux") } diff --git a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt index bd17d7bf..f87af393 100644 --- a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt +++ b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt @@ -22,7 +22,6 @@ package pl.treksoft.kvision.tabulator import com.github.snabbdom.VNode -import com.lightningkite.kotlin.observable.list.ObservableList import org.w3c.dom.HTMLElement import pl.treksoft.kvision.KVManagerTabulator import pl.treksoft.kvision.core.Container @@ -31,6 +30,7 @@ import pl.treksoft.kvision.core.Widget import pl.treksoft.kvision.i18n.I18n import pl.treksoft.kvision.redux.ReduxStore import pl.treksoft.kvision.table.TableType +import pl.treksoft.kvision.utils.ObservableList import pl.treksoft.kvision.utils.createInstance import pl.treksoft.kvision.utils.obj import pl.treksoft.kvision.utils.syncWithList |