diff options
Diffstat (limited to 'src/main/kotlin')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/Table.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt | 73 |
2 files changed, 44 insertions, 31 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/table/Table.kt b/src/main/kotlin/pl/treksoft/kvision/table/Table.kt index 967d8b1d..11ed52fc 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/Table.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/Table.kt @@ -35,7 +35,7 @@ import pl.treksoft.kvision.utils.snOpt /** * HTML table types. */ -enum class TableType(internal val type: String) { +enum class TableType(val type: String) { STRIPED("table-striped"), BORDERED("table-bordered"), HOVER("table-hover"), diff --git a/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt b/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt index 10171ae0..d2177a97 100644 --- a/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt +++ b/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt @@ -87,36 +87,49 @@ class KvEvent(type: String, eventInitDict: CustomEventInit) : CustomEvent(type, * Internal interface. */ interface BtOn : On { - var showBsDropdown: ((KvEvent) -> kotlin.Unit)? - var shownBsDropdown: ((KvEvent) -> kotlin.Unit)? - var hideBsDropdown: ((KvEvent) -> kotlin.Unit)? - var hiddenBsDropdown: ((KvEvent) -> kotlin.Unit)? - var showBsModal: ((KvEvent) -> kotlin.Unit)? - var shownBsModal: ((KvEvent) -> kotlin.Unit)? - var hideBsModal: ((KvEvent) -> kotlin.Unit)? - var hiddenBsModal: ((KvEvent) -> kotlin.Unit)? - var dragSplitPanel: ((KvEvent) -> kotlin.Unit)? - var dragEndSplitPanel: ((KvEvent) -> kotlin.Unit)? - var showBsSelect: ((KvEvent) -> kotlin.Unit)? - var shownBsSelect: ((KvEvent) -> kotlin.Unit)? - var hideBsSelect: ((KvEvent) -> kotlin.Unit)? - var hiddenBsSelect: ((KvEvent) -> kotlin.Unit)? - var loadedBsSelect: ((KvEvent) -> kotlin.Unit)? - var renderedBsSelect: ((KvEvent) -> kotlin.Unit)? - var refreshedBsSelect: ((KvEvent) -> kotlin.Unit)? - var changedBsSelect: ((KvEvent) -> kotlin.Unit)? - var changeDate: ((KvEvent) -> kotlin.Unit)? - var showBsDateTime: ((KvEvent) -> kotlin.Unit)? - var hideBsDateTime: ((KvEvent) -> kotlin.Unit)? - var onMinBsSpinner: ((KvEvent) -> kotlin.Unit)? - var onMaxBsSpinner: ((KvEvent) -> kotlin.Unit)? - var updateModel: ((KvEvent) -> kotlin.Unit)? - var fileSelectUpload: ((KvEvent) -> kotlin.Unit)? - var fileClearUpload: ((KvEvent) -> kotlin.Unit)? - var fileResetUpload: ((KvEvent) -> kotlin.Unit)? - var fileBrowseUpload: ((KvEvent) -> kotlin.Unit)? - var filePreUpload: ((KvEvent) -> kotlin.Unit)? - var resizeWindow: ((KvEvent) -> kotlin.Unit)? + var showBsDropdown: ((KvEvent) -> Unit)? + var shownBsDropdown: ((KvEvent) -> Unit)? + var hideBsDropdown: ((KvEvent) -> Unit)? + var hiddenBsDropdown: ((KvEvent) -> Unit)? + var showBsModal: ((KvEvent) -> Unit)? + var shownBsModal: ((KvEvent) -> Unit)? + var hideBsModal: ((KvEvent) -> Unit)? + var hiddenBsModal: ((KvEvent) -> Unit)? + var dragSplitPanel: ((KvEvent) -> Unit)? + var dragEndSplitPanel: ((KvEvent) -> Unit)? + var showBsSelect: ((KvEvent) -> Unit)? + var shownBsSelect: ((KvEvent) -> Unit)? + var hideBsSelect: ((KvEvent) -> Unit)? + var hiddenBsSelect: ((KvEvent) -> Unit)? + var loadedBsSelect: ((KvEvent) -> Unit)? + var renderedBsSelect: ((KvEvent) -> Unit)? + var refreshedBsSelect: ((KvEvent) -> Unit)? + var changedBsSelect: ((KvEvent) -> Unit)? + var changeDate: ((KvEvent) -> Unit)? + var showBsDateTime: ((KvEvent) -> Unit)? + var hideBsDateTime: ((KvEvent) -> Unit)? + var onMinBsSpinner: ((KvEvent) -> Unit)? + var onMaxBsSpinner: ((KvEvent) -> Unit)? + var updateModel: ((KvEvent) -> Unit)? + var fileSelectUpload: ((KvEvent) -> Unit)? + var fileClearUpload: ((KvEvent) -> Unit)? + var fileResetUpload: ((KvEvent) -> Unit)? + var fileBrowseUpload: ((KvEvent) -> Unit)? + var filePreUpload: ((KvEvent) -> Unit)? + var resizeWindow: ((KvEvent) -> Unit)? + var tabulatorRowClick: ((KvEvent) -> Unit)? + var tabulatorRowDblClick: ((KvEvent) -> Unit)? + var tabulatorRowSelectionChanged: ((KvEvent) -> Unit)? + var tabulatorRowSelected: ((KvEvent) -> Unit)? + var tabulatorRowDeselected: ((KvEvent) -> Unit)? + var tabulatorCellClick: ((KvEvent) -> Unit)? + var tabulatorCellDblClick: ((KvEvent) -> Unit)? + var tabulatorCellEditing: ((KvEvent) -> Unit)? + var tabulatorCellEdited: ((KvEvent) -> Unit)? + var tabulatorCellEditCancelled: ((KvEvent) -> Unit)? + var tabulatorDataLoading: ((KvEvent) -> Unit)? + var tabulatorDataLoaded: ((KvEvent) -> Unit)? + var tabulatorDataEdited: ((KvEvent) -> Unit)? } /** |