From 806edfceeefe7fda47924f97237974e99fe28a02 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 2 Apr 2018 01:35:47 +0200 Subject: API documentantion update --- api/alltypes/index.html | 179 +++ api/index-outline.html | 1422 +++++++++++++++++--- api/index.html | 41 +- api/package-list | 5 + api/pl.treksoft.kvision.core/-component/index.html | 9 +- .../-component/parent.html | 2 +- api/pl.treksoft.kvision.core/-container/index.html | 2 +- .../-display/-b-l-o-c-k.html | 14 + .../-display/-f-l-e-x.html | 14 + .../-display/-g-r-i-d.html | 14 + .../-display/-i-n-h-e-r-i-t.html | 14 + .../-display/-i-n-i-t-i-a-l.html | 14 + .../-display/-i-n-l-i-n-e-b-l-o-c-k.html | 14 + .../-display/-i-n-l-i-n-e-f-l-e-x.html | 14 + .../-display/-i-n-l-i-n-e-g-r-i-d.html | 14 + .../-display/-i-n-l-i-n-e-t-a-b-l-e.html | 14 + .../-display/-i-n-l-i-n-e.html | 14 + .../-display/-l-i-s-t-i-t-e-m.html | 14 + .../-display/-n-o-n-e.html | 14 + .../-display/-r-u-n-i-n.html | 14 + .../-display/-t-a-b-l-e-c-a-p-t-i-o-n.html | 14 + .../-display/-t-a-b-l-e-c-e-l-l.html | 14 + .../-display/-t-a-b-l-e-c-o-l-u-m-n-g-r-o-u-p.html | 14 + .../-display/-t-a-b-l-e-c-o-l-u-m-n.html | 14 + .../-display/-t-a-b-l-e-f-o-o-t-e-r-g-r-o-u-p.html | 14 + .../-display/-t-a-b-l-e-h-e-a-d-e-r-g-r-o-u-p.html | 14 + .../-display/-t-a-b-l-e-r-o-w-g-r-o-u-p.html | 14 + .../-display/-t-a-b-l-e-r-o-w.html | 14 + .../-display/-t-a-b-l-e.html | 14 + api/pl.treksoft.kvision.core/-display/index.html | 173 +++ .../-styled-component/display.html | 21 + .../-styled-component/index.html | 11 +- .../-widget-wrapper/index.html | 264 +--- .../-widget-wrapper/render.html | 2 +- .../-widget-wrapper/visible.html | 2 +- api/pl.treksoft.kvision.core/-widget/index.html | 43 +- api/pl.treksoft.kvision.core/-widget/parent.html | 2 +- .../-widget/set-context-menu.html | 20 + api/pl.treksoft.kvision.core/index.html | 15 +- .../-data-container/index.html | 11 +- .../-context-menu/-init-.html | 19 + .../-context-menu/context-menu.html | 16 + .../-context-menu/index.html | 118 ++ .../-context-menu/position-menu.html | 20 + .../-drop-down/-init-.html | 6 +- .../-drop-down/drop-down.html | 4 +- .../-drop-down/for-navbar.html | 15 + .../-drop-down/index.html | 31 +- .../-drop-down/render.html | 18 + .../-header/-init-.html | 21 + .../-header/header.html | 18 + .../-header/index.html | 114 ++ .../-separator/-init-.html | 19 + .../-separator/index.html | 114 ++ .../-separator/separator.html | 18 + api/pl.treksoft.kvision.dropdown/index.html | 29 +- .../-check-box/-init-.html | 8 +- .../-check-box/check-box.html | 4 +- .../-check-box/disabled.html | 16 - .../-check-box/index.html | 31 +- .../-check-box/name.html | 15 - .../-check-box/size.html | 16 - .../-check-input/disabled.html | 3 +- .../-check-input/index.html | 19 +- .../-check-input/name.html | 3 +- .../-check-input/size.html | 3 +- .../-radio-group/-init-.html | 8 +- .../-radio-group/index.html | 17 +- .../-radio-group/input.html | 2 +- .../-radio-group/name.html | 16 + .../-radio-group/radio-group.html | 4 +- .../-radio-group/size.html | 2 +- .../-radio/disabled.html | 16 - .../-radio/index.html | 27 - .../-radio/name.html | 15 - .../-radio/size.html | 16 - api/pl.treksoft.kvision.form.check/index.html | 2 +- .../-select-input/disabled.html | 3 +- .../-select-input/index.html | 8 +- .../-select-input/name.html | 3 +- .../-select-input/size.html | 3 +- .../-select-option/index.html | 11 +- .../-select/-init-.html | 8 +- .../-select/disabled.html | 16 - .../-select/index.html | 31 +- .../-select/name.html | 15 - .../-select/select.html | 4 +- .../-select/size.html | 16 - api/pl.treksoft.kvision.form.select/index.html | 2 +- .../-spinner-input/disabled.html | 3 +- .../-spinner-input/index.html | 19 +- .../-spinner-input/name.html | 3 +- .../-spinner-input/size.html | 3 +- .../-spinner/-init-.html | 8 +- .../-spinner/disabled.html | 16 - .../-spinner/index.html | 31 +- .../-spinner/name.html | 15 - .../-spinner/size.html | 16 - .../-spinner/spinner.html | 4 +- api/pl.treksoft.kvision.form.spinner/index.html | 2 +- .../-abstract-text-input/disabled.html | 3 +- .../-abstract-text-input/index.html | 19 +- .../-abstract-text-input/name.html | 3 +- .../-abstract-text-input/size.html | 3 +- .../-abstract-text/disabled.html | 16 - .../-abstract-text/index.html | 27 - .../-abstract-text/name.html | 15 - .../-abstract-text/size.html | 16 - .../-password/-init-.html | 8 +- .../-password/index.html | 4 +- .../-password/password.html | 4 +- .../-rich-text-input/index.html | 6 +- .../-rich-text/-init-.html | 8 +- .../-rich-text/index.html | 31 +- .../-rich-text/rich-text.html | 4 +- .../-text-area-input/index.html | 6 +- .../-text-area/-init-.html | 8 +- .../-text-area/index.html | 31 +- .../-text-area/text-area.html | 4 +- .../-text-input/index.html | 6 +- .../-text/-init-.html | 8 +- api/pl.treksoft.kvision.form.text/-text/index.html | 31 +- api/pl.treksoft.kvision.form.text/-text/text.html | 4 +- api/pl.treksoft.kvision.form.text/index.html | 2 +- .../-date-time-input/disabled.html | 3 +- .../-date-time-input/index.html | 19 +- .../-date-time-input/name.html | 3 +- .../-date-time-input/size.html | 3 +- .../-date-time/-init-.html | 8 +- .../-date-time/date-time.html | 4 +- .../-date-time/disabled.html | 16 - .../-date-time/index.html | 31 +- .../-date-time/name.html | 15 - .../-date-time/size.html | 16 - api/pl.treksoft.kvision.form.time/index.html | 2 +- .../-upload-input/-init-.html | 23 + .../-upload-input/after-destroy.html | 16 + .../-upload-input/after-insert.html | 16 + .../-upload-input/allowed-file-extensions.html | 21 + .../-upload-input/allowed-file-types.html | 21 + .../-upload-input/blur.html | 15 + .../-upload-input/browse-on-zone-click.html | 21 + .../-upload-input/cancel.html | 15 + .../-upload-input/clear-input.html | 15 + .../-upload-input/disabled.html | 22 + .../-upload-input/drop-zone-enabled.html | 21 + .../-upload-input/explorer-theme.html | 21 + .../-upload-input/focus.html | 15 + .../-upload-input/get-sn-attrs.html | 18 + .../-upload-input/get-sn-class.html | 18 + .../-upload-input/get-value-as-string.html | 17 + .../-upload-input/index.html | 623 +++++++++ .../-upload-input/lock.html | 15 + .../-upload-input/multiple.html | 21 + .../-upload-input/name.html | 22 + .../-upload-input/prefer-iconic-preview.html | 21 + .../-upload-input/render.html | 18 + .../-upload-input/required.html | 21 + .../-upload-input/reset-input.html | 15 + .../-upload-input/show-browse.html | 21 + .../-upload-input/show-cancel.html | 21 + .../-upload-input/show-caption.html | 21 + .../-upload-input/show-preview.html | 21 + .../-upload-input/show-remove.html | 21 + .../-upload-input/show-upload.html | 21 + .../-upload-input/size.html | 22 + .../-upload-input/unlock.html | 15 + .../-upload-input/upload-extra-data.html | 21 + .../-upload-input/upload-input.html | 16 + .../-upload-input/upload-url.html | 24 + .../-upload-input/upload.html | 15 + .../-upload-input/value.html | 15 + .../-upload/-init-.html | 25 + .../-upload/allowed-file-extensions.html | 15 + .../-upload/allowed-file-types.html | 15 + .../-upload/blur.html | 16 + .../-upload/browse-on-zone-click.html | 15 + .../-upload/cancel.html | 15 + .../-upload/clear-input.html | 15 + .../-upload/drop-zone-enabled.html | 15 + .../-upload/explorer-theme.html | 15 + .../-upload/flabel.html | 16 + .../-upload/focus.html | 16 + .../-upload/get-sn-class.html | 18 + .../-upload/get-value-as-string.html | 16 + .../-upload/idc.html | 14 + .../-upload/index.html | 461 +++++++ .../-upload/input.html | 16 + .../-upload/label.html | 15 + .../-upload/lock.html | 15 + .../-upload/multiple.html | 15 + .../-upload/prefer-iconic-preview.html | 15 + .../-upload/remove-event-listeners.html | 18 + .../-upload/required.html | 15 + .../-upload/reset-input.html | 15 + .../-upload/rich.html | 15 + .../-upload/set-event-listener.html | 54 + .../-upload/show-browse.html | 15 + .../-upload/show-cancel.html | 15 + .../-upload/show-caption.html | 15 + .../-upload/show-preview.html | 15 + .../-upload/show-remove.html | 15 + .../-upload/show-upload.html | 15 + .../-upload/unlock.html | 15 + .../-upload/upload-extra-data.html | 15 + .../-upload/upload-url.html | 16 + .../-upload/upload.html | 19 + .../-upload/validation-info.html | 16 + .../-upload/value.html | 16 + api/pl.treksoft.kvision.form.upload/index.html | 36 + .../-bool-form-control/index.html | 17 +- .../-date-form-control/index.html | 17 +- .../-field-label/-init-.html | 8 +- .../-field-label/index.html | 21 +- .../-files-form-control/get-value-as-string.html | 16 + .../-files-form-control/get-value.html | 18 + .../-files-form-control/index.html | 165 +++ .../-files-form-control/set-value.html | 19 + .../-files-form-control/value.html | 15 + .../-form-control/disabled.html | 2 +- .../-form-control/index.html | 28 +- .../-form-control/input.html | 2 +- .../-form-control/name.html | 15 + .../-form-control/size.html | 4 +- .../-form-enctype/-m-u-l-t-i-p-a-r-t.html | 14 + .../-form-enctype/-p-l-a-i-n.html | 14 + .../-form-enctype/-u-r-l-e-n-c-o-d-e-d.html | 14 + .../-form-enctype/index.html | 40 + .../-form-input/disabled.html | 15 + .../-form-input/index.html | 195 +++ api/pl.treksoft.kvision.form/-form-input/name.html | 15 + api/pl.treksoft.kvision.form/-form-input/size.html | 15 + .../-form-method/-g-e-t.html | 14 + .../-form-method/-p-o-s-t.html | 14 + .../-form-method/index.html | 33 + .../-form-panel/-init-.html | 10 +- .../-form-panel/action.html | 21 + api/pl.treksoft.kvision.form/-form-panel/add.html | 16 + .../-form-panel/autocomplete.html | 21 + .../-form-panel/enctype.html | 21 + .../-form-panel/form-panel.html | 4 +- .../-form-panel/get-sn-attrs.html | 18 + .../-form-panel/index.html | 78 +- .../-form-panel/method.html | 21 + api/pl.treksoft.kvision.form/-form-panel/name.html | 21 + .../-form-panel/novalidate.html | 21 + .../-form-panel/target.html | 21 + .../-form-target/-b-l-a-n-k.html | 14 + .../-form-target/-p-a-r-e-n-t.html | 14 + .../-form-target/-s-e-l-f.html | 14 + .../-form-target/-t-o-p.html | 14 + .../-form-target/index.html | 47 + api/pl.treksoft.kvision.form/-form/add.html | 16 + api/pl.treksoft.kvision.form/-form/index.html | 2 + .../-help-block/-init-.html | 8 +- .../-help-block/index.html | 21 +- .../-number-form-control/index.html | 17 +- .../-string-form-control/index.html | 17 +- api/pl.treksoft.kvision.form/index.html | 43 + .../-button-type/-b-u-t-t-o-n.html | 14 + .../-button-type/-r-e-s-e-t.html | 14 + .../-button-type/-s-u-b-m-i-t.html | 14 + .../-button-type/index.html | 40 + api/pl.treksoft.kvision.html/-button/-init-.html | 4 +- api/pl.treksoft.kvision.html/-button/button.html | 4 +- api/pl.treksoft.kvision.html/-button/index.html | 24 +- api/pl.treksoft.kvision.html/-button/type.html | 21 + api/pl.treksoft.kvision.html/-div/-init-.html | 14 +- api/pl.treksoft.kvision.html/-div/div.html | 2 +- api/pl.treksoft.kvision.html/-div/index.html | 23 +- api/pl.treksoft.kvision.html/-icon/index.html | 19 +- api/pl.treksoft.kvision.html/-iframe/-init-.html | 31 + .../-iframe/get-sn-attrs.html | 18 + .../-iframe/iframe-height.html | 21 + .../-iframe/iframe-width.html | 21 + api/pl.treksoft.kvision.html/-iframe/iframe.html | 16 + api/pl.treksoft.kvision.html/-iframe/index.html | 424 ++++++ api/pl.treksoft.kvision.html/-iframe/location.html | 15 + api/pl.treksoft.kvision.html/-iframe/name.html | 21 + api/pl.treksoft.kvision.html/-iframe/render.html | 18 + api/pl.treksoft.kvision.html/-iframe/sandbox.html | 21 + api/pl.treksoft.kvision.html/-iframe/src.html | 21 + api/pl.treksoft.kvision.html/-iframe/srcdoc.html | 21 + api/pl.treksoft.kvision.html/-image/index.html | 11 +- api/pl.treksoft.kvision.html/-label/-init-.html | 8 +- api/pl.treksoft.kvision.html/-label/index.html | 23 +- api/pl.treksoft.kvision.html/-label/label.html | 2 +- api/pl.treksoft.kvision.html/-link/-init-.html | 2 +- api/pl.treksoft.kvision.html/-link/index.html | 16 +- .../-link/link-disabled.html | 18 + api/pl.treksoft.kvision.html/-link/link.html | 2 +- api/pl.treksoft.kvision.html/-link/url.html | 2 +- api/pl.treksoft.kvision.html/-list-tag/index.html | 14 + .../-sandbox/-a-l-l-o-w-f-o-r-m-s.html | 14 + .../-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html | 14 + .../-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html | 14 + .../-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html | 14 + .../-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html | 14 + .../-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html | 14 + api/pl.treksoft.kvision.html/-sandbox/index.html | 61 + api/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html | 14 + .../-t-a-g/-i-n-p-u-t.html | 14 + api/pl.treksoft.kvision.html/-t-a-g/index.html | 14 + api/pl.treksoft.kvision.html/-tag/-init-.html | 10 +- api/pl.treksoft.kvision.html/-tag/content.html | 22 + api/pl.treksoft.kvision.html/-tag/index.html | 73 +- api/pl.treksoft.kvision.html/-tag/rich.html | 9 +- api/pl.treksoft.kvision.html/-tag/tag.html | 2 +- api/pl.treksoft.kvision.html/-tag/template.html | 22 + api/pl.treksoft.kvision.html/-tag/text.html | 21 - .../-template/content.html | 14 + api/pl.treksoft.kvision.html/-template/index.html | 60 + api/pl.treksoft.kvision.html/-template/rich.html | 14 + .../-template/template-data.html | 14 + .../-template/template.html | 14 + api/pl.treksoft.kvision.html/index.html | 39 +- .../-close-icon/index.html | 11 +- .../-nav-form/-init-.html | 23 + .../-nav-form/get-sn-class.html | 18 + .../-nav-form/index.html | 132 ++ .../-nav-form/nav-form.html | 16 + .../-nav-form/right-align.html | 21 + api/pl.treksoft.kvision.navbar/-nav/-init-.html | 23 + .../-nav/get-sn-class.html | 18 + api/pl.treksoft.kvision.navbar/-nav/index.html | 132 ++ api/pl.treksoft.kvision.navbar/-nav/nav.html | 16 + .../-nav/right-align.html | 21 + .../-navbar-type/-f-i-x-e-d-b-o-t-t-o-m.html | 14 + .../-navbar-type/-f-i-x-e-d-t-o-p.html | 14 + .../-navbar-type/-s-t-a-t-i-c-t-o-p.html | 14 + .../-navbar-type/index.html | 40 + api/pl.treksoft.kvision.navbar/-navbar/-init-.html | 27 + .../-navbar/add-all.html | 21 + api/pl.treksoft.kvision.navbar/-navbar/add.html | 21 + .../-navbar/get-children.html | 18 + .../-navbar/get-sn-class.html | 18 + api/pl.treksoft.kvision.navbar/-navbar/index.html | 163 +++ .../-navbar/inverted.html | 21 + api/pl.treksoft.kvision.navbar/-navbar/label.html | 15 + .../-navbar/navbar-panel.html | 16 + .../-navbar/remove-all.html | 18 + api/pl.treksoft.kvision.navbar/-navbar/remove.html | 21 + api/pl.treksoft.kvision.navbar/-navbar/render.html | 18 + api/pl.treksoft.kvision.navbar/-navbar/type.html | 21 + api/pl.treksoft.kvision.navbar/index.html | 54 + .../-grid-wrapper/index.html | 4 +- .../-simple-panel/index.html | 69 +- .../-progress-bar-style/-d-a-n-g-e-r.html | 14 + .../-progress-bar-style/-i-n-f-o.html | 14 + .../-progress-bar-style/-s-u-c-c-e-s-s.html | 14 + .../-progress-bar-style/-w-a-r-n-i-n-g.html | 14 + .../-progress-bar-style/index.html | 47 + .../-progress-bar/-init-.html | 39 + .../-progress-bar/animated.html | 15 + .../-progress-bar/index.html | 176 +++ .../-progress-bar/max.html | 15 + .../-progress-bar/min.html | 15 + .../-progress-bar/progress-bar.html | 16 + .../-progress-bar/progress.html | 15 + .../-progress-bar/striped.html | 15 + .../-progress-bar/style.html | 15 + api/pl.treksoft.kvision.progress/index.html | 36 + api/pl.treksoft.kvision.table/-cell/-init-.html | 8 +- api/pl.treksoft.kvision.table/-cell/cell.html | 2 +- api/pl.treksoft.kvision.table/-cell/index.html | 23 +- .../-header-cell/-init-.html | 8 +- .../-header-cell/header-cell.html | 2 +- .../-header-cell/index.html | 23 +- api/pl.treksoft.kvision.table/-row/index.html | 19 +- .../-button-group-size/-l-a-r-g-e.html | 14 + .../-button-group-size/-s-m-a-l-l.html | 14 + .../-button-group-size/-x-s-m-a-l-l.html | 14 + .../-button-group-size/index.html | 40 + .../-button-group-style/-j-u-s-t-i-f-i-e-d.html | 14 + .../-button-group-style/-v-e-r-t-i-c-a-l.html | 14 + .../-button-group-style/index.html | 33 + .../-button-group/-init-.html | 25 + .../-button-group/button-group.html | 16 + .../-button-group/get-sn-class.html | 18 + .../-button-group/index.html | 154 +++ .../-button-group/size.html | 21 + .../-button-group/style.html | 21 + .../-toolbar/-init-.html | 21 + .../-toolbar/index.html | 117 ++ .../-toolbar/toolbar.html | 16 + api/pl.treksoft.kvision.toolbar/index.html | 54 + api/pl.treksoft.kvision.utils/index.html | 7 + .../org.w3c.files.-file/get-content.html | 17 + .../org.w3c.files.-file/index.html | 25 + .../-window/content-overflow.html | 15 + api/pl.treksoft.kvision.window/-window/index.html | 9 + 391 files changed, 10048 insertions(+), 1274 deletions(-) create mode 100644 api/pl.treksoft.kvision.core/-display/-b-l-o-c-k.html create mode 100644 api/pl.treksoft.kvision.core/-display/-f-l-e-x.html create mode 100644 api/pl.treksoft.kvision.core/-display/-g-r-i-d.html create mode 100644 api/pl.treksoft.kvision.core/-display/-i-n-h-e-r-i-t.html create mode 100644 api/pl.treksoft.kvision.core/-display/-i-n-i-t-i-a-l.html create mode 100644 api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-b-l-o-c-k.html create mode 100644 api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-f-l-e-x.html create mode 100644 api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-g-r-i-d.html create mode 100644 api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-t-a-b-l-e.html create mode 100644 api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e.html create mode 100644 api/pl.treksoft.kvision.core/-display/-l-i-s-t-i-t-e-m.html create mode 100644 api/pl.treksoft.kvision.core/-display/-n-o-n-e.html create mode 100644 api/pl.treksoft.kvision.core/-display/-r-u-n-i-n.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-a-p-t-i-o-n.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-e-l-l.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n-g-r-o-u-p.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-f-o-o-t-e-r-g-r-o-u-p.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-h-e-a-d-e-r-g-r-o-u-p.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w-g-r-o-u-p.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w.html create mode 100644 api/pl.treksoft.kvision.core/-display/-t-a-b-l-e.html create mode 100644 api/pl.treksoft.kvision.core/-display/index.html create mode 100644 api/pl.treksoft.kvision.core/-styled-component/display.html create mode 100644 api/pl.treksoft.kvision.core/-widget/set-context-menu.html create mode 100644 api/pl.treksoft.kvision.dropdown/-context-menu/-init-.html create mode 100644 api/pl.treksoft.kvision.dropdown/-context-menu/context-menu.html create mode 100644 api/pl.treksoft.kvision.dropdown/-context-menu/index.html create mode 100644 api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html create mode 100644 api/pl.treksoft.kvision.dropdown/-drop-down/for-navbar.html create mode 100644 api/pl.treksoft.kvision.dropdown/-drop-down/render.html create mode 100644 api/pl.treksoft.kvision.dropdown/-header/-init-.html create mode 100644 api/pl.treksoft.kvision.dropdown/-header/header.html create mode 100644 api/pl.treksoft.kvision.dropdown/-header/index.html create mode 100644 api/pl.treksoft.kvision.dropdown/-separator/-init-.html create mode 100644 api/pl.treksoft.kvision.dropdown/-separator/index.html create mode 100644 api/pl.treksoft.kvision.dropdown/-separator/separator.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/name.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/size.html create mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/name.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/name.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/size.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select/name.html delete mode 100644 api/pl.treksoft.kvision.form.select/-select/size.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/name.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/size.html delete mode 100644 api/pl.treksoft.kvision.form.text/-abstract-text/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.text/-abstract-text/name.html delete mode 100644 api/pl.treksoft.kvision.form.text/-abstract-text/size.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/name.html delete mode 100644 api/pl.treksoft.kvision.form.time/-date-time/size.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/-init-.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/after-destroy.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/after-insert.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-extensions.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-types.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/blur.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/browse-on-zone-click.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/cancel.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/clear-input.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/disabled.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/drop-zone-enabled.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/explorer-theme.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/focus.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-attrs.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/get-value-as-string.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/index.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/lock.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/multiple.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/name.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/prefer-iconic-preview.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/render.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/required.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/reset-input.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/show-browse.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/show-cancel.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/show-caption.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/show-preview.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/show-remove.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/show-upload.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/size.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/unlock.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/upload-extra-data.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/upload-url.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/upload.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload-input/value.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/-init-.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/allowed-file-extensions.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/allowed-file-types.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/blur.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/browse-on-zone-click.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/cancel.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/clear-input.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/drop-zone-enabled.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/explorer-theme.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/flabel.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/focus.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/get-value-as-string.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/idc.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/index.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/input.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/label.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/lock.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/multiple.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/prefer-iconic-preview.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/remove-event-listeners.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/required.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/reset-input.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/rich.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/set-event-listener.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/show-browse.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/show-cancel.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/show-caption.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/show-preview.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/show-remove.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/show-upload.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/unlock.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/upload-extra-data.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/upload-url.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/upload.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/value.html create mode 100644 api/pl.treksoft.kvision.form.upload/index.html create mode 100644 api/pl.treksoft.kvision.form/-files-form-control/get-value-as-string.html create mode 100644 api/pl.treksoft.kvision.form/-files-form-control/get-value.html create mode 100644 api/pl.treksoft.kvision.form/-files-form-control/index.html create mode 100644 api/pl.treksoft.kvision.form/-files-form-control/set-value.html create mode 100644 api/pl.treksoft.kvision.form/-files-form-control/value.html create mode 100644 api/pl.treksoft.kvision.form/-form-control/name.html create mode 100644 api/pl.treksoft.kvision.form/-form-enctype/-m-u-l-t-i-p-a-r-t.html create mode 100644 api/pl.treksoft.kvision.form/-form-enctype/-p-l-a-i-n.html create mode 100644 api/pl.treksoft.kvision.form/-form-enctype/-u-r-l-e-n-c-o-d-e-d.html create mode 100644 api/pl.treksoft.kvision.form/-form-enctype/index.html create mode 100644 api/pl.treksoft.kvision.form/-form-input/disabled.html create mode 100644 api/pl.treksoft.kvision.form/-form-input/index.html create mode 100644 api/pl.treksoft.kvision.form/-form-input/name.html create mode 100644 api/pl.treksoft.kvision.form/-form-input/size.html create mode 100644 api/pl.treksoft.kvision.form/-form-method/-g-e-t.html create mode 100644 api/pl.treksoft.kvision.form/-form-method/-p-o-s-t.html create mode 100644 api/pl.treksoft.kvision.form/-form-method/index.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/action.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/autocomplete.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/enctype.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/get-sn-attrs.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/method.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/name.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/novalidate.html create mode 100644 api/pl.treksoft.kvision.form/-form-panel/target.html create mode 100644 api/pl.treksoft.kvision.form/-form-target/-b-l-a-n-k.html create mode 100644 api/pl.treksoft.kvision.form/-form-target/-p-a-r-e-n-t.html create mode 100644 api/pl.treksoft.kvision.form/-form-target/-s-e-l-f.html create mode 100644 api/pl.treksoft.kvision.form/-form-target/-t-o-p.html create mode 100644 api/pl.treksoft.kvision.form/-form-target/index.html create mode 100644 api/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html create mode 100644 api/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html create mode 100644 api/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html create mode 100644 api/pl.treksoft.kvision.html/-button-type/index.html create mode 100644 api/pl.treksoft.kvision.html/-button/type.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/-init-.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/get-sn-attrs.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/iframe-height.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/iframe-width.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/iframe.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/index.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/location.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/name.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/render.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/sandbox.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/src.html create mode 100644 api/pl.treksoft.kvision.html/-iframe/srcdoc.html create mode 100644 api/pl.treksoft.kvision.html/-link/link-disabled.html create mode 100644 api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html create mode 100644 api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html create mode 100644 api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html create mode 100644 api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html create mode 100644 api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html create mode 100644 api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html create mode 100644 api/pl.treksoft.kvision.html/-sandbox/index.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html create mode 100644 api/pl.treksoft.kvision.html/-tag/content.html create mode 100644 api/pl.treksoft.kvision.html/-tag/template.html delete mode 100644 api/pl.treksoft.kvision.html/-tag/text.html create mode 100644 api/pl.treksoft.kvision.html/-template/content.html create mode 100644 api/pl.treksoft.kvision.html/-template/index.html create mode 100644 api/pl.treksoft.kvision.html/-template/rich.html create mode 100644 api/pl.treksoft.kvision.html/-template/template-data.html create mode 100644 api/pl.treksoft.kvision.html/-template/template.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav-form/-init-.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav-form/index.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav-form/right-align.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav/-init-.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav/index.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav/nav.html create mode 100644 api/pl.treksoft.kvision.navbar/-nav/right-align.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-b-o-t-t-o-m.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-t-o-p.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-a-t-i-c-t-o-p.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar-type/index.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/-init-.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/add-all.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/add.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/get-children.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/index.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/inverted.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/label.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/navbar-panel.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/remove-all.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/remove.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/render.html create mode 100644 api/pl.treksoft.kvision.navbar/-navbar/type.html create mode 100644 api/pl.treksoft.kvision.navbar/index.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar-style/index.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/-init-.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/animated.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/index.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/max.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/min.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/progress.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/striped.html create mode 100644 api/pl.treksoft.kvision.progress/-progress-bar/style.html create mode 100644 api/pl.treksoft.kvision.progress/index.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-size/-l-a-r-g-e.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-size/-s-m-a-l-l.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-size/-x-s-m-a-l-l.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-size/index.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-style/-j-u-s-t-i-f-i-e-d.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-style/-v-e-r-t-i-c-a-l.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group-style/index.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/-init-.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/button-group.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/index.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/size.html create mode 100644 api/pl.treksoft.kvision.toolbar/-button-group/style.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/index.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html create mode 100644 api/pl.treksoft.kvision.toolbar/index.html create mode 100644 api/pl.treksoft.kvision.utils/org.w3c.files.-file/get-content.html create mode 100644 api/pl.treksoft.kvision.utils/org.w3c.files.-file/index.html create mode 100644 api/pl.treksoft.kvision.window/-window/content-overflow.html diff --git a/api/alltypes/index.html b/api/alltypes/index.html index fc316df2..028c4c66 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -130,6 +130,27 @@ +pl.treksoft.kvision.toolbar.ButtonGroup + +

The Bootstrap button group.

+ + + + +pl.treksoft.kvision.toolbar.ButtonGroupSize + +

Button group sizes.

+ + + + +pl.treksoft.kvision.toolbar.ButtonGroupStyle + +

Button group styles.

+ + + + pl.treksoft.kvision.html.ButtonSize

Button sizes.

@@ -144,6 +165,13 @@ +pl.treksoft.kvision.html.ButtonType + +

Button types.

+ + + + pl.treksoft.kvision.form.spinner.ButtonsType

Spinner buttons layout types.

@@ -235,6 +263,13 @@ +pl.treksoft.kvision.dropdown.ContextMenu + +

Context menu component.

+ + + + pl.treksoft.kvision.core.CssSize

This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.).

@@ -318,6 +353,13 @@ +pl.treksoft.kvision.core.Display + +

Definitions of CSS display options.

+ + + + pl.treksoft.kvision.html.Div

Simple component rendered as div.

@@ -346,6 +388,19 @@ +org.w3c.files.File (extensions in package pl.treksoft.kvision.utils) + + + + + +pl.treksoft.kvision.form.FilesFormControl + +

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

+ + + + pl.treksoft.kvision.panel.FlexAlignContent

CSS flexbox content alignment options.

@@ -430,6 +485,26 @@ +pl.treksoft.kvision.form.FormEnctype + +

Form encoding types.

+ + + + +pl.treksoft.kvision.form.FormInput + + + + + +pl.treksoft.kvision.form.FormMethod + +

Form methods.

+ + + + pl.treksoft.kvision.form.FormPanel

Bootstrap form component.

@@ -437,6 +512,13 @@ +pl.treksoft.kvision.form.FormTarget + +

Form targets.

+ + + + pl.treksoft.kvision.form.FormType

Bootstrap form layout options.

@@ -506,6 +588,13 @@ +pl.treksoft.kvision.dropdown.Header + +

Menu header component.

+ + + + pl.treksoft.kvision.table.HeaderCell

HTML table header cell component.

@@ -541,6 +630,13 @@ +pl.treksoft.kvision.html.Iframe + +

Iframe component.

+ + + + pl.treksoft.kvision.html.Image

Image component.

@@ -636,6 +732,34 @@ +pl.treksoft.kvision.navbar.Nav + +

The Bootstrap Nav container.

+ + + + +pl.treksoft.kvision.navbar.NavForm + +

The Bootstrap Nav form container.

+ + + + +pl.treksoft.kvision.navbar.Navbar + +

The Bootstrap Navbar container.

+ + + + +pl.treksoft.kvision.navbar.NavbarType + +

Navbar types.

+ + + + pl.treksoft.kvision.form.NumberFormControl

Base interface of a form control with a numeric value.

@@ -684,6 +808,20 @@ +pl.treksoft.kvision.progress.ProgressBar + +

The Bootstrap progress bar.

+ + + + +pl.treksoft.kvision.progress.ProgressBarStyle + +

Progress bar styles.

+ + + + pl.treksoft.kvision.form.check.Radio

The form field component rendered as HTML input type="radio".

@@ -761,6 +899,13 @@ +pl.treksoft.kvision.html.Sandbox + +

Iframe sandbox options.

+ + + + pl.treksoft.kvision.form.select.Select

The form field component for Select control.

@@ -796,6 +941,13 @@ +pl.treksoft.kvision.dropdown.Separator + +

Menu separator component.

+ + + + pl.treksoft.kvision.panel.Side

Dock layout directions.

@@ -907,6 +1059,12 @@ +pl.treksoft.kvision.html.Template + + + + + pl.treksoft.kvision.form.text.Text

Form field text component.

@@ -991,6 +1149,13 @@ +pl.treksoft.kvision.toolbar.Toolbar + +

The Bootstrap toolbar.

+ + + + pl.treksoft.kvision.core.UNIT

Definitions of CSS units.

@@ -1005,6 +1170,20 @@ +pl.treksoft.kvision.form.upload.Upload + +

The form field file upload component.

+ + + + +pl.treksoft.kvision.form.upload.UploadInput + +

The file upload component.

+ + + + pl.treksoft.kvision.panel.VPanel

The container with vertical layout.

diff --git a/api/index-outline.html b/api/index-outline.html index f348d7d1..00272fc4 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -35,28 +35,25 @@ AbstractText(label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
-open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
abstract val input: AbstractTextInput
var label: String?
var maxlength: Int?
-var name: String?
var placeholder: String?
var readonly: Boolean?
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-open var size: InputSize?
var startValue: String?
val validationInfo: HelpBlock
open var value: String?
-abstract class AbstractTextInput : Widget
+abstract class AbstractTextInput : Widget, FormInput
+open class ButtonGroup : SimplePanel
+ +enum class ButtonGroupSize
+ +enum class ButtonGroupStyle
+ @@ -377,6 +421,21 @@ +enum class ButtonType
+ enum class ButtonsType
@@ -415,24 +474,21 @@ -CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false)
+CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
-fun Container.checkBox(value: Boolean = false, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox
var circled: Boolean
-open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: CheckInput
var label: String?
-var name: String?
open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-open var size: InputSize?
var startValue: Boolean
var style: CheckBoxStyle?
val validationInfo: HelpBlock
@@ -458,7 +514,7 @@ -open class CheckInput : Widget
+open class CheckInput : Widget, FormInput
+open class ContextMenu : ListTag
+ typealias CssSize = Pair<Int, UNIT>
enum class DD
-open class DateTimeInput : Widget
+open class DateTimeInput : Widget, FormInput
+enum class Display
+ open class Div : Tag
@@ -1004,20 +1106,22 @@ -DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf())
+DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf())
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterInsert(node: VNode): Unit
var block: Boolean
var disabled: Boolean
-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
var dropup: Boolean
+val forNavbar: Boolean
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
+protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
@@ -1035,11 +1139,27 @@ -FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))
+FieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))
protected open fun getSnAttrs(): List<StringPair>
+interface FilesFormControl : FormControl
+ enum class FlexAlignContent
+enum class FormEnctype
+ +interface FormInput : Component
+ +enum class FormMethod
+ open class FormPanel<K> : SimplePanel
+enum class FormTarget
+ enum class FormType
+open class Header : Tag
+ open class HeaderCell : Tag
@@ -1497,7 +1703,7 @@ -HelpBlock(text: String? = null, rich: Boolean = false)
+HelpBlock(content: String? = null, rich: Boolean = false)
@@ -1548,6 +1754,29 @@ +open class Iframe : Widget
+ open class Image : Widget
@@ -1637,14 +1866,16 @@ -Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
+Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var image: ResString?
var label: String
-fun Container.link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
protected open fun render(): VNode
-var url: String
+var url: String?
@@ -1744,6 +1975,77 @@ +open class Nav : Tag
+ +open class NavForm : Tag
+ +open class Navbar : SimplePanel
+ +enum class NavbarType
+ interface NumberFormControl : FormControl
@@ -1839,6 +2141,42 @@ +open class ProgressBar : SimplePanel
+ +enum class ProgressBarStyle
+ open class Radio : SimplePanel, BoolFormControl
@@ -2037,6 +2373,24 @@ +enum class Sandbox
+ open class Select : SimplePanel, StringFormControl
-open class SelectInput : SimplePanel
+open class SelectInput : SimplePanel, FormInput
+open class Separator : Tag
+ enum class Side
-open class SpinnerInput : Widget
+open class SpinnerInput : Widget, FormInput
-open class Tag : SimplePanel
+open class Tag : SimplePanel, Template
+interface Template
+ open class Text : AbstractText
+open class Toolbar : SimplePanel
+ enum class UNIT
-open class VPanel : FlexPanel
+open class Upload : SimplePanel, FilesFormControl
+open class UploadInput : Widget, FormInput
+ +open class VPanel : FlexPanel
+ @@ -2901,7 +3396,7 @@ protected open fun getSnOn(): On?
open fun hide(): Widget
var id: String?
-open var parent: Component?
+open var parent: Container?
open fun removeCssClass(css: String): Widget
open fun removeEventListeners(): Widget
open fun removeSurroundingCssClass(css: String): Widget
@@ -2909,6 +3404,7 @@ protected open fun render(elementName: String): VNode
protected open fun render(elementName: String, children: Array<dynamic>): VNode
var role: String?
+open fun setContextMenu(contextMenu: ContextMenu): Widget
open fun setDragDropData(format: String, data: String): Unit
open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit
@@ -2923,7 +3419,7 @@ -open class WidgetWrapper : Widget
+open class WidgetWrapper : SimplePanel
+org.w3c.files.File
+ @@ -3404,7 +3914,7 @@ abstract fun getElement(): Node?
abstract fun getElementJQuery(): JQuery?
abstract fun getElementJQueryD(): dynamic
-abstract var parent: Component?
+abstract var parent: Container?
abstract fun removeCssClass(css: String): Component
abstract fun removeSurroundingCssClass(css: String): Component
abstract var visible: Boolean
@@ -3446,6 +3956,40 @@ +enum class Display
+ enum class FontStyle
-open class WidgetWrapper : Widget
+open class WidgetWrapper : SimplePanel
@@ -4083,11 +4676,27 @@ -FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))
+FieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))
protected open fun getSnAttrs(): List<StringPair>
+interface FilesFormControl : FormControl
+ class Form<K>
+enum class FormEnctype
+ +interface FormInput : Component
+ +enum class FormMethod
+ open class FormPanel<K> : SimplePanel
+enum class FormTarget
+ enum class FormType
@@ -4294,24 +4974,21 @@ -CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false)
+CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
-fun Container.checkBox(value: Boolean = false, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox
var circled: Boolean
-open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: CheckInput
var label: String?
-var name: String?
open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-open var size: InputSize?
var startValue: Boolean
var style: CheckBoxStyle?
val validationInfo: HelpBlock
@@ -4337,7 +5014,7 @@ -open class CheckInput : Widget
+open class CheckInput : Widget, FormInput
-open class SelectInput : SimplePanel
+open class SelectInput : SimplePanel, FormInput
-open class SpinnerInput : Widget
+open class SpinnerInput : Widget, FormInput
-abstract class AbstractTextInput : Widget
+abstract class AbstractTextInput : Widget, FormInput
@@ -4894,10 +5560,10 @@ -RichText(value: String? = null, label: String? = null, rich: Boolean = false)
+RichText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
val input: RichTextInput
var inputHeight: CssSize?
-fun Container.richText(value: String? = null, label: String? = null, rich: Boolean = false, init: RichText.() -> Unit = null): RichText
+fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: RichText.() -> Unit = null): RichText
@@ -4928,10 +5594,10 @@ -Text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false)
+Text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var autocomplete: Boolean?
val input: TextInput
-fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text
+fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text
var type: TextInputType
@@ -4945,11 +5611,11 @@ -TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false)
+TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var cols: Int?
val input: TextAreaInput
var rows: Int?
-fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea
+fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea
var wrapHard: Boolean
@@ -5031,13 +5697,12 @@ -DateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)
+DateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
var clearBtn: Boolean
-fun Container.dateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit = null): DateTime
+fun Container.dateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit = null): DateTime
var daysOfWeekDisabled: Array<Int>
-open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
var format: String
@@ -5047,7 +5712,6 @@ val input: DateTimeInput
var label: String?
var minuteStep: Int
-var name: String?
var placeholder: String?
var readonly: Boolean?
open fun removeEventListeners(): Widget
@@ -5056,7 +5720,6 @@ open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
var showMeridian: Boolean
open fun showPopup(): Unit
-open var size: InputSize?
var todayBtn: Boolean
var todayHighlight: Boolean
val validationInfo: HelpBlock
@@ -5065,7 +5728,7 @@ -open class DateTimeInput : Widget
+open class DateTimeInput : Widget, FormInput
+package pl.treksoft.kvision.form.upload
+ package pl.treksoft.kvision.hmr
@@ -5253,6 +6027,21 @@ +enum class ButtonType
+ open class Div : Tag
@@ -5283,6 +6072,29 @@ +open class Iframe : Widget
+ open class Image : Widget
@@ -5343,14 +6155,16 @@ -Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
+Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var image: ResString?
var label: String
-fun Container.link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
protected open fun render(): VNode
-var url: String
+var url: String?
@@ -5392,6 +6206,24 @@ +enum class Sandbox
+ enum class TAG
-open class Tag : SimplePanel
+open class Tag : SimplePanel, Template
+interface Template
+ @@ -5577,6 +6428,89 @@ +package pl.treksoft.kvision.navbar
+ package pl.treksoft.kvision.panel
+package pl.treksoft.kvision.progress
+ package pl.treksoft.kvision.routing
@@ -6102,8 +7084,8 @@ -HeaderCell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null)
-fun Row.headerCell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null): HeaderCell
+HeaderCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null)
+fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null): HeaderCell
@@ -6169,6 +7151,78 @@ +package pl.treksoft.kvision.toolbar
+ package pl.treksoft.kvision.utils
val normal: CssSize
fun obj(init: dynamic.() -> Unit): dynamic
+org.w3c.files.File
+ fun snAttrs(pairs: List<StringPair>): Attrs
fun snClasses(pairs: List<StringBoolPair>): Classes
fun snOpt(block: VNodeData.() -> Unit): VNodeData
@@ -6311,6 +7378,7 @@ var caption: String?
var closeButton: Boolean
var contentHeight: CssSize?
+var contentOverflow: Overflow?
var contentWidth: CssSize?
open fun focus(): Unit
open fun getChildren(): List<Component>
diff --git a/api/index.html b/api/index.html index faad75c8..e0f010d4 100644 --- a/api/index.html +++ b/api/index.html @@ -16,8 +16,8 @@

pl.treksoft.kvision.core

-

KVision core classes. This includes base interfaces for all components, basic CSS enums (for colors, borders -and backgrounds) and the main Widget class.

+

KVision core classes. This includes base interfaces for all components, CSS enums (for colors, borders, +backgrounds, fonts, text and position) and the main Widget class.

@@ -33,7 +33,7 @@ and backgrounds) and the main Widget class.

pl.treksoft.kvision.dropdown

-

Bootstrap dropdown component.

+

Bootstrap dropdown component with support for navigation bars and context menus.

@@ -87,6 +87,14 @@ validation.

+

pl.treksoft.kvision.form.upload

+ + +

Full-featured file upload component with drag & drop, preview and AJAX upload mode.

+ + + +

pl.treksoft.kvision.hmr

@@ -98,7 +106,8 @@ validation.

pl.treksoft.kvision.html

-

Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links and lists.

+

Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links, lists and iframe. +Support for Handlebars.js templates is included.

@@ -111,6 +120,14 @@ validation.

+

pl.treksoft.kvision.navbar

+ + +

Bootstrap navbar components.

+ + + +

pl.treksoft.kvision.panel

@@ -120,6 +137,14 @@ CSS grid and Bootstrap responsive 12 columns gid).

+

pl.treksoft.kvision.progress

+ + +

Bootstrap progress bar component.

+ + + +

pl.treksoft.kvision.routing

@@ -136,6 +161,14 @@ CSS grid and Bootstrap responsive 12 columns gid).

+

pl.treksoft.kvision.toolbar

+ + +

Toolbar and button group components.

+ + + +

pl.treksoft.kvision.utils

diff --git a/api/package-list b/api/package-list index 44cb45a5..9760c87f 100644 --- a/api/package-list +++ b/api/package-list @@ -10,6 +10,7 @@ $dokka.location:pl.treksoft.kvision.utils$asString(kotlin.Pair((kotlin.Int, pl.t $dokka.location:pl.treksoft.kvision.utils$ch#kotlin.Intpl.treksoft.kvision.utils/kotlin.-int/ch.html $dokka.location:pl.treksoft.kvision.utils$cm#kotlin.Intpl.treksoft.kvision.utils/kotlin.-int/cm.html $dokka.location:pl.treksoft.kvision.utils$em#kotlin.Intpl.treksoft.kvision.utils/kotlin.-int/em.html +$dokka.location:pl.treksoft.kvision.utils$getContent(org.w3c.files.File)pl.treksoft.kvision.utils/org.w3c.files.-file/get-content.html $dokka.location:pl.treksoft.kvision.utils$in#kotlin.Intpl.treksoft.kvision.utils/kotlin.-int/in.html $dokka.location:pl.treksoft.kvision.utils$mm#kotlin.Intpl.treksoft.kvision.utils/kotlin.-int/mm.html $dokka.location:pl.treksoft.kvision.utils$pc#kotlin.Intpl.treksoft.kvision.utils/kotlin.-int/pc.html @@ -33,11 +34,15 @@ pl.treksoft.kvision.form.select pl.treksoft.kvision.form.spinner pl.treksoft.kvision.form.text pl.treksoft.kvision.form.time +pl.treksoft.kvision.form.upload pl.treksoft.kvision.hmr pl.treksoft.kvision.html pl.treksoft.kvision.modal +pl.treksoft.kvision.navbar pl.treksoft.kvision.panel +pl.treksoft.kvision.progress pl.treksoft.kvision.routing pl.treksoft.kvision.table +pl.treksoft.kvision.toolbar pl.treksoft.kvision.utils pl.treksoft.kvision.window diff --git a/api/pl.treksoft.kvision.core/-component/index.html b/api/pl.treksoft.kvision.core/-component/index.html index fb29f342..3cc489db 100644 --- a/api/pl.treksoft.kvision.core/-component/index.html +++ b/api/pl.treksoft.kvision.core/-component/index.html @@ -18,7 +18,7 @@

parent

-abstract var parent: Component? +abstract var parent: Container?

Parent of the current component.

@@ -124,6 +124,13 @@ +

FormInput

+ + +interface FormInput : Component + + +

StyledComponent

diff --git a/api/pl.treksoft.kvision.core/-component/parent.html b/api/pl.treksoft.kvision.core/-component/parent.html index 80cee78f..2c055b91 100644 --- a/api/pl.treksoft.kvision.core/-component/parent.html +++ b/api/pl.treksoft.kvision.core/-component/parent.html @@ -9,7 +9,7 @@

parent

-abstract var parent: Component? +abstract var parent: Container?

Parent of the current component.

diff --git a/api/pl.treksoft.kvision.core/-container/index.html b/api/pl.treksoft.kvision.core/-container/index.html index 91d8c6d0..e3831282 100644 --- a/api/pl.treksoft.kvision.core/-container/index.html +++ b/api/pl.treksoft.kvision.core/-container/index.html @@ -18,7 +18,7 @@

parent

-abstract var parent: Component? +abstract var parent: Container?

Parent of the current component.

diff --git a/api/pl.treksoft.kvision.core/-display/-b-l-o-c-k.html b/api/pl.treksoft.kvision.core/-display/-b-l-o-c-k.html new file mode 100644 index 00000000..7daa2c70 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-b-l-o-c-k.html @@ -0,0 +1,14 @@ + + + +Display.BLOCK - kvision + + + +kvision / pl.treksoft.kvision.core / Display / BLOCK
+
+

BLOCK

+ +BLOCK + + diff --git a/api/pl.treksoft.kvision.core/-display/-f-l-e-x.html b/api/pl.treksoft.kvision.core/-display/-f-l-e-x.html new file mode 100644 index 00000000..f340ac02 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-f-l-e-x.html @@ -0,0 +1,14 @@ + + + +Display.FLEX - kvision + + + +kvision / pl.treksoft.kvision.core / Display / FLEX
+
+

FLEX

+ +FLEX + + diff --git a/api/pl.treksoft.kvision.core/-display/-g-r-i-d.html b/api/pl.treksoft.kvision.core/-display/-g-r-i-d.html new file mode 100644 index 00000000..b3052b34 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-g-r-i-d.html @@ -0,0 +1,14 @@ + + + +Display.GRID - kvision + + + +kvision / pl.treksoft.kvision.core / Display / GRID
+
+

GRID

+ +GRID + + diff --git a/api/pl.treksoft.kvision.core/-display/-i-n-h-e-r-i-t.html b/api/pl.treksoft.kvision.core/-display/-i-n-h-e-r-i-t.html new file mode 100644 index 00000000..6ac3fe93 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-i-n-h-e-r-i-t.html @@ -0,0 +1,14 @@ + + + +Display.INHERIT - kvision + + + +kvision / pl.treksoft.kvision.core / Display / INHERIT
+
+

INHERIT

+ +INHERIT + + diff --git a/api/pl.treksoft.kvision.core/-display/-i-n-i-t-i-a-l.html b/api/pl.treksoft.kvision.core/-display/-i-n-i-t-i-a-l.html new file mode 100644 index 00000000..182fde32 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-i-n-i-t-i-a-l.html @@ -0,0 +1,14 @@ + + + +Display.INITIAL - kvision + + + +kvision / pl.treksoft.kvision.core / Display / INITIAL
+
+

INITIAL

+ +INITIAL + + diff --git a/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-b-l-o-c-k.html b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-b-l-o-c-k.html new file mode 100644 index 00000000..2f58376f --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-b-l-o-c-k.html @@ -0,0 +1,14 @@ + + + +Display.INLINEBLOCK - kvision + + + +kvision / pl.treksoft.kvision.core / Display / INLINEBLOCK
+
+

INLINEBLOCK

+ +INLINEBLOCK + + diff --git a/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-f-l-e-x.html b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-f-l-e-x.html new file mode 100644 index 00000000..6c49d1c2 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-f-l-e-x.html @@ -0,0 +1,14 @@ + + + +Display.INLINEFLEX - kvision + + + +kvision / pl.treksoft.kvision.core / Display / INLINEFLEX
+
+

INLINEFLEX

+ +INLINEFLEX + + diff --git a/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-g-r-i-d.html b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-g-r-i-d.html new file mode 100644 index 00000000..5417a6d3 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-g-r-i-d.html @@ -0,0 +1,14 @@ + + + +Display.INLINEGRID - kvision + + + +kvision / pl.treksoft.kvision.core / Display / INLINEGRID
+
+

INLINEGRID

+ +INLINEGRID + + diff --git a/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-t-a-b-l-e.html b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-t-a-b-l-e.html new file mode 100644 index 00000000..6515d8ab --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e-t-a-b-l-e.html @@ -0,0 +1,14 @@ + + + +Display.INLINETABLE - kvision + + + +kvision / pl.treksoft.kvision.core / Display / INLINETABLE
+
+

INLINETABLE

+ +INLINETABLE + + diff --git a/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e.html b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e.html new file mode 100644 index 00000000..4283eb16 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-i-n-l-i-n-e.html @@ -0,0 +1,14 @@ + + + +Display.INLINE - kvision + + + +kvision / pl.treksoft.kvision.core / Display / INLINE
+
+

INLINE

+ +INLINE + + diff --git a/api/pl.treksoft.kvision.core/-display/-l-i-s-t-i-t-e-m.html b/api/pl.treksoft.kvision.core/-display/-l-i-s-t-i-t-e-m.html new file mode 100644 index 00000000..81b0f0ec --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-l-i-s-t-i-t-e-m.html @@ -0,0 +1,14 @@ + + + +Display.LISTITEM - kvision + + + +kvision / pl.treksoft.kvision.core / Display / LISTITEM
+
+

LISTITEM

+ +LISTITEM + + diff --git a/api/pl.treksoft.kvision.core/-display/-n-o-n-e.html b/api/pl.treksoft.kvision.core/-display/-n-o-n-e.html new file mode 100644 index 00000000..e2a5258f --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-n-o-n-e.html @@ -0,0 +1,14 @@ + + + +Display.NONE - kvision + + + +kvision / pl.treksoft.kvision.core / Display / NONE
+
+

NONE

+ +NONE + + diff --git a/api/pl.treksoft.kvision.core/-display/-r-u-n-i-n.html b/api/pl.treksoft.kvision.core/-display/-r-u-n-i-n.html new file mode 100644 index 00000000..9bd5c6d9 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-r-u-n-i-n.html @@ -0,0 +1,14 @@ + + + +Display.RUNIN - kvision + + + +kvision / pl.treksoft.kvision.core / Display / RUNIN
+
+

RUNIN

+ +RUNIN + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-a-p-t-i-o-n.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-a-p-t-i-o-n.html new file mode 100644 index 00000000..38dd0ab6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-a-p-t-i-o-n.html @@ -0,0 +1,14 @@ + + + +Display.TABLECAPTION - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLECAPTION
+
+

TABLECAPTION

+ +TABLECAPTION + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-e-l-l.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-e-l-l.html new file mode 100644 index 00000000..ea73b190 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-e-l-l.html @@ -0,0 +1,14 @@ + + + +Display.TABLECELL - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLECELL
+
+

TABLECELL

+ +TABLECELL + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n-g-r-o-u-p.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n-g-r-o-u-p.html new file mode 100644 index 00000000..688fcda2 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n-g-r-o-u-p.html @@ -0,0 +1,14 @@ + + + +Display.TABLECOLUMNGROUP - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLECOLUMNGROUP
+
+

TABLECOLUMNGROUP

+ +TABLECOLUMNGROUP + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n.html new file mode 100644 index 00000000..c16df70b --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-c-o-l-u-m-n.html @@ -0,0 +1,14 @@ + + + +Display.TABLECOLUMN - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLECOLUMN
+
+

TABLECOLUMN

+ +TABLECOLUMN + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-f-o-o-t-e-r-g-r-o-u-p.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-f-o-o-t-e-r-g-r-o-u-p.html new file mode 100644 index 00000000..d1d64cb4 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-f-o-o-t-e-r-g-r-o-u-p.html @@ -0,0 +1,14 @@ + + + +Display.TABLEFOOTERGROUP - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLEFOOTERGROUP
+
+

TABLEFOOTERGROUP

+ +TABLEFOOTERGROUP + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-h-e-a-d-e-r-g-r-o-u-p.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-h-e-a-d-e-r-g-r-o-u-p.html new file mode 100644 index 00000000..29eb5ef4 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-h-e-a-d-e-r-g-r-o-u-p.html @@ -0,0 +1,14 @@ + + + +Display.TABLEHEADERGROUP - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLEHEADERGROUP
+
+

TABLEHEADERGROUP

+ +TABLEHEADERGROUP + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w-g-r-o-u-p.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w-g-r-o-u-p.html new file mode 100644 index 00000000..04a4cfc8 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w-g-r-o-u-p.html @@ -0,0 +1,14 @@ + + + +Display.TABLEROWGROUP - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLEROWGROUP
+
+

TABLEROWGROUP

+ +TABLEROWGROUP + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w.html new file mode 100644 index 00000000..66b2bb51 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e-r-o-w.html @@ -0,0 +1,14 @@ + + + +Display.TABLEROW - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLEROW
+
+

TABLEROW

+ +TABLEROW + + diff --git a/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e.html b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e.html new file mode 100644 index 00000000..616c97b1 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/-t-a-b-l-e.html @@ -0,0 +1,14 @@ + + + +Display.TABLE - kvision + + + +kvision / pl.treksoft.kvision.core / Display / TABLE
+
+

TABLE

+ +TABLE + + diff --git a/api/pl.treksoft.kvision.core/-display/index.html b/api/pl.treksoft.kvision.core/-display/index.html new file mode 100644 index 00000000..3a814cf1 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-display/index.html @@ -0,0 +1,173 @@ + + + +Display - kvision + + + +kvision / pl.treksoft.kvision.core / Display
+
+

Display

+enum class Display +

Definitions of CSS display options.

+

Enum Values

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

INLINE

+
+
+

BLOCK

+
+
+

FLEX

+
+
+

GRID

+
+
+

INLINEBLOCK

+
+
+

INLINEFLEX

+
+
+

INLINEGRID

+
+
+

INLINETABLE

+
+
+

LISTITEM

+
+
+

RUNIN

+
+
+

TABLE

+
+
+

TABLECAPTION

+
+
+

TABLECOLUMNGROUP

+
+
+

TABLEHEADERGROUP

+
+
+

TABLEFOOTERGROUP

+
+
+

TABLEROWGROUP

+
+
+

TABLECELL

+
+
+

TABLECOLUMN

+
+
+

TABLEROW

+
+
+

NONE

+
+
+

INITIAL

+
+
+

INHERIT

+
+
+ + diff --git a/api/pl.treksoft.kvision.core/-styled-component/display.html b/api/pl.treksoft.kvision.core/-styled-component/display.html new file mode 100644 index 00000000..4bb4ef9a --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/display.html @@ -0,0 +1,21 @@ + + + +StyledComponent.display - kvision + + + +kvision / pl.treksoft.kvision.core / StyledComponent / display
+
+

display

+ +open var display: Display? +

CSS display of the current component.

+

Getter
+

CSS display of the current component.

+

+

Setter
+

CSS display of the current component.

+

+ + diff --git a/api/pl.treksoft.kvision.core/-styled-component/index.html b/api/pl.treksoft.kvision.core/-styled-component/index.html index 4f90110f..f9dcb89a 100644 --- a/api/pl.treksoft.kvision.core/-styled-component/index.html +++ b/api/pl.treksoft.kvision.core/-styled-component/index.html @@ -128,6 +128,15 @@ +

display

+ + +open var display: Display? +

CSS display of the current component.

+ + + +

float

@@ -523,7 +532,7 @@

parent

-abstract var parent: Component? +abstract var parent: Container?

Parent of the current component.

diff --git a/api/pl.treksoft.kvision.core/-widget-wrapper/index.html b/api/pl.treksoft.kvision.core/-widget-wrapper/index.html index 1c02a8b6..6db540f8 100644 --- a/api/pl.treksoft.kvision.core/-widget-wrapper/index.html +++ b/api/pl.treksoft.kvision.core/-widget-wrapper/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.core / WidgetWrapper

WidgetWrapper

-open class WidgetWrapper : Widget +open class WidgetWrapper : SimplePanel

This class allows to wrap a component into separately styled DIV element.

Constructors

@@ -30,59 +30,7 @@

visible

- - -
-open var visible: Boolean -

Visibility state of the current component.

-
-

Inherited Properties

- - - - - - - - - - - - - - - - - - - - - +open var visible: Boolean
-

draggable

-
-var draggable: Boolean? -

Determines if the current widget is draggable.

-
-

id

-
-var id: String? -

An ID attribute of generated HTML element.

-
-

parent

-
-open var parent: Component? -

Parent of the current component.

-
-

role

-
-var role: String? -

A role attribute of generated HTML element.

-
-

title

-
-var title: String? -

A title attribute of generated HTML element.

-
@@ -105,231 +53,65 @@ -

addCssClass

- - -open fun addCssClass(css: String): Widget -

Adds given value to the set of CSS classes generated in html code of current component.

- - - - -

addSurroundingCssClass

- - -open fun addSurroundingCssClass(css: String): Widget -

Adds given value to the set of CSS classes generated in html code of parent component.

- - - - -

afterCreate

- - -open fun afterCreate(node: VNode): Unit -

Method called after creating Snabbdom vnode.

- - - - -

afterDestroy

- - -open fun afterDestroy(): Unit -

Method called after destroying Snabbdom vnode.

- - - - -

afterInsert

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

Method called after inserting Snabbdom vnode into the DOM.

- - - - -

afterPostpatch

- - -open fun afterPostpatch(node: VNode): Unit -

Method called after updating Snabbdom vnode.

- - - - -

clearDragDropData

- - -open fun clearDragDropData(): Unit -

Clears D&D data for the current widget. It also makes it not draggable.

- - - - -

getElement

- - -open fun getElement(): Node? -

Returns DOM element bound to the current component.

- - - - -

getElementJQuery

- - -open fun getElementJQuery(): JQuery? -

Returns JQuery element bound to the current component.

- - - - -

getElementJQueryD

- - -open fun getElementJQueryD(): dynamic -

Returns JQuery element bound to the current component as a dynamic type.

- - - - -

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.

- - - - -

getSnHooks

- - -open fun getSnHooks(): Hooks? -

Returns list of hooks in the form of a Snabbdom Hooks object.

- - - - -

getSnOn

- - -open fun getSnOn(): On? -

Returns list of event handlers in the form of a Snabbdom On object.

- - - - -

hide

- - -open fun hide(): Widget -

Makes current widget invisible.

- - - - -

removeCssClass

- - -open fun removeCssClass(css: String): Widget -

Removes given value from the set of CSS classes generated in html code of current component.

- - - - -

removeEventListeners

- - -open fun removeEventListeners(): Widget -

Removes all event listeners from current widget.

- - - - -

removeSurroundingCssClass

+

add

-open fun removeSurroundingCssClass(css: String): Widget -

Removes given value from the set of CSS classes generated in html code of parent component.

- - - - -

render

- - -open fun render(elementName: String): VNode
-open fun render(elementName: String, children: Array<dynamic>): VNode -

Renders current component as a Snabbdom vnode.

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

Adds given component to the current container.

-

setDragDropData

+

addAll

-open fun setDragDropData(format: String, data: String): Unit -

Sets D&D data for the current widget. It also makes it draggable.

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

Adds a list of components to the current container.

-

setDropTarget

+

addInternal

-open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
-open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit -

Sets the current widget as a D&D drop target.

+fun addInternal(child: Component): SimplePanel +

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

-

setDropTargetData

+

childrenVNodes

-open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit -

Sets the current widget as a D&D drop target with helper callback accepting String data.

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

Returns the array of the children Snabbdom vnodes.

-

setEventListener

+

getChildren

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

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

Returns a list of children of the current container.

-

show

+

remove

-open fun show(): Widget -

Makes current widget visible.

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

Removes given component from the current container.

-

toggleVisible

+

removeAll

-open fun toggleVisible(): Widget -

Toggles visibility of current widget.

+open fun removeAll(): SimplePanel +

Removes all children from the current container.

diff --git a/api/pl.treksoft.kvision.core/-widget-wrapper/render.html b/api/pl.treksoft.kvision.core/-widget-wrapper/render.html index 311aec9c..577b695c 100644 --- a/api/pl.treksoft.kvision.core/-widget-wrapper/render.html +++ b/api/pl.treksoft.kvision.core/-widget-wrapper/render.html @@ -10,7 +10,7 @@

render

protected open fun render(): VNode -

Overrides Widget.render

+

Overrides SimplePanel.render

Renders current component as a Snabbdom vnode.

Return
Snabbdom vnode

diff --git a/api/pl.treksoft.kvision.core/-widget-wrapper/visible.html b/api/pl.treksoft.kvision.core/-widget-wrapper/visible.html index b82b997e..4c6d0cc0 100644 --- a/api/pl.treksoft.kvision.core/-widget-wrapper/visible.html +++ b/api/pl.treksoft.kvision.core/-widget-wrapper/visible.html @@ -11,6 +11,6 @@ open var visible: Boolean

Overrides Widget.visible

-

Visibility state of the current component.

+

Overrides Component.visible

diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html index c5a5ebca..f15382b8 100644 --- a/api/pl.treksoft.kvision.core/-widget/index.html +++ b/api/pl.treksoft.kvision.core/-widget/index.html @@ -51,7 +51,7 @@

parent

-open var parent: Component? +open var parent: Container?

Parent of the current component.

@@ -188,6 +188,15 @@ +

display

+ + +open var display: Display? +

CSS display of the current component.

+ + + +

float

@@ -753,6 +762,15 @@ +

setContextMenu

+ + +open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + +

setDragDropData

@@ -846,7 +864,7 @@

AbstractTextInput

-abstract class AbstractTextInput : Widget +abstract class AbstractTextInput : Widget, FormInput

Base class for basic text components.

@@ -864,7 +882,7 @@

CheckInput

-open class CheckInput : Widget +open class CheckInput : Widget, FormInput

The basic input component rendered as HTML input type="checkbox" or input type="radio".

@@ -891,12 +909,21 @@

DateTimeInput

-open class DateTimeInput : Widget +open class DateTimeInput : Widget, FormInput

Basic date/time chooser component.

+

Iframe

+ + +open class Iframe : Widget +

Iframe component.

+ + + +

Image

@@ -927,17 +954,17 @@

SpinnerInput

-open class SpinnerInput : Widget +open class SpinnerInput : Widget, FormInput

The basic component for spinner control.

-

WidgetWrapper

+

UploadInput

-open class WidgetWrapper : Widget -

This class allows to wrap a component into separately styled DIV element.

+open class UploadInput : Widget, FormInput +

The file upload component.

diff --git a/api/pl.treksoft.kvision.core/-widget/parent.html b/api/pl.treksoft.kvision.core/-widget/parent.html index c841d124..72f351d1 100644 --- a/api/pl.treksoft.kvision.core/-widget/parent.html +++ b/api/pl.treksoft.kvision.core/-widget/parent.html @@ -9,7 +9,7 @@

parent

-open var parent: Component? +open var parent: Container?

Overrides Component.parent

Parent of the current component.

diff --git a/api/pl.treksoft.kvision.core/-widget/set-context-menu.html b/api/pl.treksoft.kvision.core/-widget/set-context-menu.html new file mode 100644 index 00000000..ac6afcfb --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/set-context-menu.html @@ -0,0 +1,20 @@ + + + +Widget.setContextMenu - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / setContextMenu
+
+

setContextMenu

+ +open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+

Parameters

+

+contextMenu - a context menu

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.core/index.html b/api/pl.treksoft.kvision.core/index.html index 2cada68c..9a81f485 100644 --- a/api/pl.treksoft.kvision.core/index.html +++ b/api/pl.treksoft.kvision.core/index.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.core

Package pl.treksoft.kvision.core

-

KVision core classes. This includes base interfaces for all components, basic CSS enums (for colors, borders -and backgrounds) and the main Widget class.

+

KVision core classes. This includes base interfaces for all components, CSS enums (for colors, borders, +backgrounds, fonts, text and position) and the main Widget class.

Types

@@ -141,6 +141,15 @@ and backgrounds) and the main Widget class.

+ + + + diff --git a/api/pl.treksoft.kvision.data/-data-container/index.html b/api/pl.treksoft.kvision.data/-data-container/index.html index 019a2b4f..dfe0e067 100644 --- a/api/pl.treksoft.kvision.data/-data-container/index.html +++ b/api/pl.treksoft.kvision.data/-data-container/index.html @@ -64,7 +64,7 @@

parent

@@ -352,6 +352,15 @@ + + + + +DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf())
+

Display

+
+enum class Display +

Definitions of CSS display options.

+

FontStyle

@@ -324,7 +333,7 @@ and backgrounds) and the main Widget class.

WidgetWrapper

-open class WidgetWrapper : Widget +open class WidgetWrapper : SimplePanel

This class allows to wrap a component into separately styled DIV element.

-open var parent: Component? +open var parent: Container?

Parent of the current component.

+

setContextMenu

+
+open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+

setDragDropData

diff --git a/api/pl.treksoft.kvision.dropdown/-context-menu/-init-.html b/api/pl.treksoft.kvision.dropdown/-context-menu/-init-.html new file mode 100644 index 00000000..7a456e63 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-context-menu/-init-.html @@ -0,0 +1,19 @@ + + + +ContextMenu.<init> - kvision + + + +kvision / pl.treksoft.kvision.dropdown / ContextMenu / <init>
+
+

<init>

+ +ContextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null) +

Parameters

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-context-menu/context-menu.html b/api/pl.treksoft.kvision.dropdown/-context-menu/context-menu.html new file mode 100644 index 00000000..8b896973 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-context-menu/context-menu.html @@ -0,0 +1,16 @@ + + + +ContextMenu.contextMenu - kvision + + + +kvision / pl.treksoft.kvision.dropdown / ContextMenu / contextMenu
+
+

contextMenu

+ +fun Widget.contextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null): ContextMenu +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-context-menu/index.html b/api/pl.treksoft.kvision.dropdown/-context-menu/index.html new file mode 100644 index 00000000..2c9823f1 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-context-menu/index.html @@ -0,0 +1,118 @@ + + + +ContextMenu - kvision + + + +kvision / pl.treksoft.kvision.dropdown / ContextMenu
+
+

ContextMenu

+open class ContextMenu : ListTag +

Context menu component.

+

Constructors

+ + + + + + + +
+

<init>

+
+ContextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null)
+

Inherited Properties

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

elements

+
+var elements: List<String>? +

List of elements.

+
+

rich

+
+var rich: Boolean +

Determines if elements can contain HTML code.

+
+

type

+
+var type: ListType +

List type.

+
+

Functions

+ + + + + + + +
+

positionMenu

+
+open fun positionMenu(mouseEvent: MouseEvent): ContextMenu +

Positions and shows a context menu based on a mouse event.

+
+

Inherited Functions

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

childrenVNodes

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

Returns the array of the children Snabbdom vnodes.

+
+

getSnClass

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

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

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

contextMenu

+
+fun Widget.contextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null): ContextMenu +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html b/api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html new file mode 100644 index 00000000..ded70c2c --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html @@ -0,0 +1,20 @@ + + + +ContextMenu.positionMenu - kvision + + + +kvision / pl.treksoft.kvision.dropdown / ContextMenu / positionMenu
+
+

positionMenu

+ +open fun positionMenu(mouseEvent: MouseEvent): ContextMenu +

Positions and shows a context menu based on a mouse event.

+

Parameters

+

+mouseEvent - mouse event

+

Return
+current context menu

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html index 05279737..ccb09c31 100644 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.dropdown / DropDown / <init>

<init>

- -DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) + +DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf())

Parameters

text - the label of the dropdown button

@@ -21,6 +21,8 @@ style - the style of the dropdown button

disabled - determines if the component is disabled on start

+

+forNavbar - determines if the component will be used in a navbar

classes - a set of CSS class names

Constructor
diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html b/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html index 7c88d682..84df9354 100644 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.dropdown / DropDown / dropDown

dropDown

- -fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown + +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/for-navbar.html b/api/pl.treksoft.kvision.dropdown/-drop-down/for-navbar.html new file mode 100644 index 00000000..33497640 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/for-navbar.html @@ -0,0 +1,15 @@ + + + +DropDown.forNavbar - kvision + + + +kvision / pl.treksoft.kvision.dropdown / DropDown / forNavbar
+
+

forNavbar

+ +val forNavbar: Boolean +

determines if the component will be used in a navbar

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/index.html b/api/pl.treksoft.kvision.dropdown/-drop-down/index.html index f9330ef4..6dbac1d8 100644 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/index.html +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/index.html @@ -18,7 +18,7 @@

<init>

-DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf())
@@ -54,6 +54,15 @@ +

forNavbar

+ + +val forNavbar: Boolean +

determines if the component will be used in a navbar

+ + + +

icon

@@ -176,6 +185,15 @@ +

render

+ + +open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+ + + +

toggle

@@ -206,15 +224,6 @@

Returns the array of the children Snabbdom vnodes.

- - -

render

- - -open fun render(): VNode -

Renders current component as a Snabbdom vnode.

- -

Companion Object Functions

@@ -225,7 +234,7 @@

dropDown

-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/render.html b/api/pl.treksoft.kvision.dropdown/-drop-down/render.html new file mode 100644 index 00000000..6f4b3a6b --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/render.html @@ -0,0 +1,18 @@ + + + +DropDown.render - kvision + + + +kvision / pl.treksoft.kvision.dropdown / DropDown / render
+
+

render

+ +protected open fun render(): VNode +

Overrides SimplePanel.render

+

Renders current component as a Snabbdom vnode.

+

Return
+Snabbdom vnode

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-header/-init-.html b/api/pl.treksoft.kvision.dropdown/-header/-init-.html new file mode 100644 index 00000000..3d47ac09 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-header/-init-.html @@ -0,0 +1,21 @@ + + + +Header.<init> - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Header / <init>
+
+

<init>

+ +Header(content: String? = null, classes: Set<String> = setOf()) +

Parameters

+

+content - header content text

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-header/header.html b/api/pl.treksoft.kvision.dropdown/-header/header.html new file mode 100644 index 00000000..cd2a539b --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-header/header.html @@ -0,0 +1,18 @@ + + + +Header.header - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Header / header
+
+

header

+ +fun ListTag.header(content: String? = null, classes: Set<String> = setOf()): Header
+ +fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-header/index.html b/api/pl.treksoft.kvision.dropdown/-header/index.html new file mode 100644 index 00000000..67546316 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-header/index.html @@ -0,0 +1,114 @@ + + + +Header - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Header
+
+

Header

+open class Header : Tag +

Menu header component.

+

Constructors

+ + + + + + + +
+

<init>

+
+Header(content: String? = null, classes: Set<String> = setOf())
+

Inherited Properties

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

align

+
+var align: Align? +

Text align.

+
+

content

+
+open var content: String? +

Text content of the tag.

+
+

rich

+
+open var rich: Boolean +

Determines if content can contain HTML code.

+
+

template

+
+open var template: (Any?) -> String +

Handlebars template.

+
+

type

+
+var type: TAG +

Tag type.

+
+

Inherited Functions

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

getSnClass

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

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

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

header

+
+fun ListTag.header(content: String? = null, classes: Set<String> = setOf()): Header
+fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.dropdown/-separator/-init-.html b/api/pl.treksoft.kvision.dropdown/-separator/-init-.html new file mode 100644 index 00000000..e091319a --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-separator/-init-.html @@ -0,0 +1,19 @@ + + + +Separator.<init> - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Separator / <init>
+
+

<init>

+ +Separator(classes: Set<String> = setOf()) +

Parameters

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-separator/index.html b/api/pl.treksoft.kvision.dropdown/-separator/index.html new file mode 100644 index 00000000..10411bfb --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-separator/index.html @@ -0,0 +1,114 @@ + + + +Separator - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Separator
+
+

Separator

+open class Separator : Tag +

Menu separator component.

+

Constructors

+ + + + + + + +
+

<init>

+
+Separator(classes: Set<String> = setOf())
+

Inherited Properties

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

align

+
+var align: Align? +

Text align.

+
+

content

+
+open var content: String? +

Text content of the tag.

+
+

rich

+
+open var rich: Boolean +

Determines if content can contain HTML code.

+
+

template

+
+open var template: (Any?) -> String +

Handlebars template.

+
+

type

+
+var type: TAG +

Tag type.

+
+

Inherited Functions

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

getSnClass

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

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

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

separator

+
+fun ListTag.separator(classes: Set<String> = setOf()): Separator
+fun DropDown.separator(classes: Set<String> = setOf()): Separator +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.dropdown/-separator/separator.html b/api/pl.treksoft.kvision.dropdown/-separator/separator.html new file mode 100644 index 00000000..d58d968c --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-separator/separator.html @@ -0,0 +1,18 @@ + + + +Separator.separator - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Separator / separator
+
+

separator

+ +fun ListTag.separator(classes: Set<String> = setOf()): Separator
+ +fun DropDown.separator(classes: Set<String> = setOf()): Separator +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.dropdown/index.html b/api/pl.treksoft.kvision.dropdown/index.html index d8a75232..7a7a7294 100644 --- a/api/pl.treksoft.kvision.dropdown/index.html +++ b/api/pl.treksoft.kvision.dropdown/index.html @@ -8,12 +8,21 @@ kvision / pl.treksoft.kvision.dropdown

Package pl.treksoft.kvision.dropdown

-

Bootstrap dropdown component.

+

Bootstrap dropdown component with support for navigation bars and context menus.

Types

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

ContextMenu

+
+open class ContextMenu : ListTag +

Context menu component.

+

DD

@@ -30,6 +39,24 @@

Bootstrap dropdown component.

+

Header

+
+open class Header : Tag +

Menu header component.

+
+

Separator

+
+open class Separator : Tag +

Menu separator component.

+
diff --git a/api/pl.treksoft.kvision.form.check/-check-box/-init-.html b/api/pl.treksoft.kvision.form.check/-check-box/-init-.html index cecdf1d3..a3796cd8 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/-init-.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/-init-.html @@ -8,15 +8,17 @@ kvision / pl.treksoft.kvision.form.check / CheckBox / <init>

<init>

- -CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false) + +CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

value - selection state

+

+name - the name of the input element

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.check/-check-box/check-box.html b/api/pl.treksoft.kvision.form.check/-check-box/check-box.html index 6a137610..31c07058 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/check-box.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/check-box.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.check / CheckBox / checkBox

checkBox

- -fun Container.checkBox(value: Boolean = false, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox + +fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.check/-check-box/disabled.html b/api/pl.treksoft.kvision.form.check/-check-box/disabled.html deleted file mode 100644 index 7fb35ea8..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/index.html b/api/pl.treksoft.kvision.form.check/-check-box/index.html index 9f9cd319..dbcc8daa 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/index.html @@ -18,7 +18,7 @@

<init>

-CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false) +CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false) @@ -36,15 +36,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -81,15 +72,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

rich

@@ -99,15 +81,6 @@ -

size

- - -open var size: InputSize? -

The size of the input.

- - - -

startValue

@@ -317,7 +290,7 @@

checkBox

-fun Container.checkBox(value: Boolean = false, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox +fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.check/-check-box/name.html b/api/pl.treksoft.kvision.form.check/-check-box/name.html deleted file mode 100644 index 6002ecca..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -CheckBox.name - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / name
-
-

name

- -var name: String? -

The name attribute of the generated HTML input element.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/size.html b/api/pl.treksoft.kvision.form.check/-check-box/size.html deleted file mode 100644 index 2cfda2b5..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.size - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / size
-
-

size

- -open var size: InputSize? -

Overrides FormControl.size

-

The size of the input.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/disabled.html b/api/pl.treksoft.kvision.form.check/-check-input/disabled.html index 2e421730..e39d705e 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/disabled.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/disabled.html @@ -9,7 +9,8 @@

disabled

-var disabled: Boolean +open var disabled: Boolean +

Overrides FormInput.disabled

Determines if the field is disabled.

Getter

Determines if the field is disabled.

diff --git a/api/pl.treksoft.kvision.form.check/-check-input/index.html b/api/pl.treksoft.kvision.form.check/-check-input/index.html index 0fba2d41..9fda4ef1 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.check / CheckInput

CheckInput

-open class CheckInput : Widget +open class CheckInput : Widget, FormInput

The basic input component rendered as HTML input type="checkbox" or input type="radio".

Constructors

@@ -30,7 +30,7 @@

disabled

@@ -48,7 +48,7 @@

name

@@ -57,7 +57,7 @@

size

@@ -116,7 +116,7 @@

parent

@@ -367,6 +367,15 @@ + + + + +RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

-var size: InputSize? +open var size: InputSize?

The size of the input.

-open var parent: Component? +open var parent: Container?

Parent of the current component.

+

setContextMenu

+
+open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+

setDragDropData

diff --git a/api/pl.treksoft.kvision.form.check/-check-input/name.html b/api/pl.treksoft.kvision.form.check/-check-input/name.html index 91e2bfd4..8a3c35b8 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/name.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/name.html @@ -9,7 +9,8 @@

name

-var name: String? +open var name: String? +

Overrides FormInput.name

The name attribute of the generated HTML input element.

Getter

The name attribute of the generated HTML input element.

diff --git a/api/pl.treksoft.kvision.form.check/-check-input/size.html b/api/pl.treksoft.kvision.form.check/-check-input/size.html index cafb49d6..7f23c262 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/size.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/size.html @@ -9,7 +9,8 @@

size

-var size: InputSize? +open var size: InputSize? +

Overrides FormInput.size

The size of the input.

Getter

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html b/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html index 267e08e9..32159b19 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html @@ -8,19 +8,21 @@ kvision / pl.treksoft.kvision.form.check / RadioGroup / <init>

<init>

- -RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false) + +RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)

Parameters

options - an optional list of options (label to value pairs) for the group

value - selected option

+

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

inline - determines if the options are rendered inline

label - label text of the options group

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/index.html b/api/pl.treksoft.kvision.form.check/-radio-group/index.html index 2e789c4e..d1775942 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/index.html @@ -20,7 +20,7 @@

<init>

-RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
@@ -59,7 +59,7 @@

input

-val input: Widget +val input: CheckInput

The actual input component.

@@ -74,6 +74,15 @@ +

name

+ + +open var name: String? +

The name attribute of the generated HTML input element.

+ + + +

options

@@ -96,7 +105,7 @@ open var size: InputSize? -

Input control size.

+

Input control field size.

@@ -263,7 +272,7 @@

radioGroup

-fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup +fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/input.html b/api/pl.treksoft.kvision.form.check/-radio-group/input.html index f5842e92..3b1eccae 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/input.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/input.html @@ -9,7 +9,7 @@

input

-val input: Widget +val input: CheckInput

Overrides FormControl.input

The actual input component.

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/name.html b/api/pl.treksoft.kvision.form.check/-radio-group/name.html new file mode 100644 index 00000000..299928b9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group/name.html @@ -0,0 +1,16 @@ + + + +RadioGroup.name - kvision + + + +kvision / pl.treksoft.kvision.form.check / RadioGroup / name
+
+

name

+ +open var name: String? +

Overrides FormControl.name

+

The name attribute of the generated HTML input element.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html b/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html index 9d979e1a..aa1a0741 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.check / RadioGroup / radioGroup

radioGroup

- -fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup + +fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/size.html b/api/pl.treksoft.kvision.form.check/-radio-group/size.html index 24559715..9479e05e 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/size.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/size.html @@ -11,6 +11,6 @@ open var size: InputSize?

Overrides FormControl.size

-

Input control size.

+

Input control field size.

diff --git a/api/pl.treksoft.kvision.form.check/-radio/disabled.html b/api/pl.treksoft.kvision.form.check/-radio/disabled.html deleted file mode 100644 index 7777a862..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Radio.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/index.html b/api/pl.treksoft.kvision.form.check/-radio/index.html index a838b536..e7d9d2f4 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio/index.html @@ -27,15 +27,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

extraValue

@@ -81,15 +72,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

rich

@@ -99,15 +81,6 @@ -

size

- - -open var size: InputSize? -

The size of the input.

- - - -

squared

diff --git a/api/pl.treksoft.kvision.form.check/-radio/name.html b/api/pl.treksoft.kvision.form.check/-radio/name.html deleted file mode 100644 index 06afc43d..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -Radio.name - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / name
-
-

name

- -var name: String? -

The name attribute of the generated HTML input element.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/size.html b/api/pl.treksoft.kvision.form.check/-radio/size.html deleted file mode 100644 index 35a1ed51..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Radio.size - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / size
-
-

size

- -open var size: InputSize? -

Overrides FormControl.size

-

The size of the input.

- - diff --git a/api/pl.treksoft.kvision.form.check/index.html b/api/pl.treksoft.kvision.form.check/index.html index 22161c98..d61b4b2a 100644 --- a/api/pl.treksoft.kvision.form.check/index.html +++ b/api/pl.treksoft.kvision.form.check/index.html @@ -35,7 +35,7 @@

CheckInput

-open class CheckInput : Widget +open class CheckInput : Widget, FormInput

The basic input component rendered as HTML input type="checkbox" or input type="radio".

diff --git a/api/pl.treksoft.kvision.form.select/-select-input/disabled.html b/api/pl.treksoft.kvision.form.select/-select-input/disabled.html index d35f83fa..21a1d754 100644 --- a/api/pl.treksoft.kvision.form.select/-select-input/disabled.html +++ b/api/pl.treksoft.kvision.form.select/-select-input/disabled.html @@ -9,7 +9,8 @@

disabled

-var disabled: Boolean +open var disabled: Boolean +

Overrides FormInput.disabled

Determines if the field is disabled.

Getter

Determines if the field is disabled.

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 2ca9af8e..ed47854a 100644 --- a/api/pl.treksoft.kvision.form.select/-select-input/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-input/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / SelectInput

SelectInput

-open class SelectInput : SimplePanel +open class SelectInput : SimplePanel, FormInput

The basic component for Select control.

The select control can be populated directly from options parameter or manually by adding SelectOption or SelectOptGroup components to the container.

@@ -50,7 +50,7 @@

disabled

-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -95,7 +95,7 @@

name

-var name: String? +open var name: String?

The name attribute of the generated HTML select element.

@@ -131,7 +131,7 @@

size

-var size: InputSize? +open var size: InputSize?

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.select/-select-input/name.html b/api/pl.treksoft.kvision.form.select/-select-input/name.html index 28f69d76..6a9a2e7b 100644 --- a/api/pl.treksoft.kvision.form.select/-select-input/name.html +++ b/api/pl.treksoft.kvision.form.select/-select-input/name.html @@ -9,7 +9,8 @@

name

-var name: String? +open var name: String? +

Overrides FormInput.name

The name attribute of the generated HTML select element.

Getter

The name attribute of the generated HTML select element.

diff --git a/api/pl.treksoft.kvision.form.select/-select-input/size.html b/api/pl.treksoft.kvision.form.select/-select-input/size.html index b1069294..2037173f 100644 --- a/api/pl.treksoft.kvision.form.select/-select-input/size.html +++ b/api/pl.treksoft.kvision.form.select/-select-input/size.html @@ -9,7 +9,8 @@

size

-var size: InputSize? +open var size: InputSize? +

Overrides FormInput.size

The size of the input.

Getter

The size of the input.

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 2cbb5142..2471d332 100644 --- a/api/pl.treksoft.kvision.form.select/-select-option/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-option/index.html @@ -107,7 +107,7 @@

parent

-open var parent: Component? +open var parent: Container?

Parent of the current component.

@@ -331,6 +331,15 @@ +

setContextMenu

+ + +open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + +

setDragDropData

diff --git a/api/pl.treksoft.kvision.form.select/-select/-init-.html b/api/pl.treksoft.kvision.form.select/-select/-init-.html index 52fd3990..e951bc58 100644 --- a/api/pl.treksoft.kvision.form.select/-select/-init-.html +++ b/api/pl.treksoft.kvision.form.select/-select/-init-.html @@ -8,13 +8,15 @@ kvision / pl.treksoft.kvision.form.select / Select / <init>

<init>

- -Select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) + +Select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)

Parameters

options - an optional list of options (label to value pairs) for the select control

value - selected value

+

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

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

@@ -22,7 +24,7 @@

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.select/-select/disabled.html b/api/pl.treksoft.kvision.form.select/-select/disabled.html deleted file mode 100644 index 079be6cc..00000000 --- a/api/pl.treksoft.kvision.form.select/-select/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Select.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.select / Select / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.select/-select/index.html b/api/pl.treksoft.kvision.form.select/-select/index.html index 1ad7980a..ee8b39f9 100644 --- a/api/pl.treksoft.kvision.form.select/-select/index.html +++ b/api/pl.treksoft.kvision.form.select/-select/index.html @@ -20,7 +20,7 @@

<init>

-Select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) +Select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) @@ -47,15 +47,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

emptyOption

@@ -119,15 +110,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML select element.

- - - -

options

@@ -173,15 +155,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

style

@@ -400,7 +373,7 @@

select

-fun Container.select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select +fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.select/-select/name.html b/api/pl.treksoft.kvision.form.select/-select/name.html deleted file mode 100644 index 06181eaf..00000000 --- a/api/pl.treksoft.kvision.form.select/-select/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -Select.name - kvision - - - -kvision / pl.treksoft.kvision.form.select / Select / name
-
-

name

- -var name: String? -

The name attribute of the generated HTML select element.

- - diff --git a/api/pl.treksoft.kvision.form.select/-select/select.html b/api/pl.treksoft.kvision.form.select/-select/select.html index 047f4755..5ad4159c 100644 --- a/api/pl.treksoft.kvision.form.select/-select/select.html +++ b/api/pl.treksoft.kvision.form.select/-select/select.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.select / Select / select

select

- -fun Container.select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select + +fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select

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/-select/size.html b/api/pl.treksoft.kvision.form.select/-select/size.html deleted file mode 100644 index ade5ee70..00000000 --- a/api/pl.treksoft.kvision.form.select/-select/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Select.size - kvision - - - -kvision / pl.treksoft.kvision.form.select / Select / size
-
-

size

- -open var size: InputSize? -

Overrides FormControl.size

-

Input control size.

- - diff --git a/api/pl.treksoft.kvision.form.select/index.html b/api/pl.treksoft.kvision.form.select/index.html index 170d1d0f..3965c9a8 100644 --- a/api/pl.treksoft.kvision.form.select/index.html +++ b/api/pl.treksoft.kvision.form.select/index.html @@ -53,7 +53,7 @@

SelectInput

-open class SelectInput : SimplePanel +open class SelectInput : SimplePanel, FormInput

The basic component for Select control.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html index 2ff742af..e77813f8 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html @@ -9,7 +9,8 @@

disabled

-var disabled: Boolean +open var disabled: Boolean +

Overrides FormInput.disabled

Determines if the field is disabled.

Getter

Determines if the field is disabled.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html index 19960eb1..a032fce2 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.spinner / SpinnerInput

SpinnerInput

-open class SpinnerInput : Widget +open class SpinnerInput : Widget, FormInput

The basic component for spinner control.

Constructors

@@ -57,7 +57,7 @@

disabled

@@ -93,7 +93,7 @@

name

@@ -120,7 +120,7 @@

size

@@ -179,7 +179,7 @@

parent

@@ -455,6 +455,15 @@ + + + + +Spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

-var size: InputSize? +open var size: InputSize?

The size of the input.

-open var parent: Component? +open var parent: Container?

Parent of the current component.

+

setContextMenu

+
+open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+

setDragDropData

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html index 5f849941..2006819a 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html @@ -9,7 +9,8 @@

name

-var name: String? +open var name: String? +

Overrides FormInput.name

The name attribute of the generated HTML input element.

Getter

The name attribute of the generated HTML input element.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html index 247d92c8..47dc6232 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html @@ -9,7 +9,8 @@

size

-var size: InputSize? +open var size: InputSize? +

Overrides FormInput.size

The size of the input.

Getter

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html b/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html index 7772535c..52232120 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html @@ -8,11 +8,13 @@ kvision / pl.treksoft.kvision.form.spinner / Spinner / <init>

<init>

- -Spinner(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false) + +Spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)

Parameters

value - spinner value

+

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

min - minimal value (default 0)

@@ -28,7 +30,7 @@

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html b/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html deleted file mode 100644 index 1e94e006..00000000 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Spinner.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.spinner / Spinner / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html index cf1586da..f2d8bda6 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html @@ -18,7 +18,7 @@

<init>

-Spinner(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
@@ -54,15 +54,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -124,15 +115,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

placeholder

@@ -160,15 +142,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

startValue

@@ -387,7 +360,7 @@

spinner

-fun Container.spinner(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner +fun Container.spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/name.html b/api/pl.treksoft.kvision.form.spinner/-spinner/name.html deleted file mode 100644 index 06ffb6ab..00000000 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -Spinner.name - kvision - - - -kvision / pl.treksoft.kvision.form.spinner / Spinner / name
-
-

name

- -var name: String? -

The name attribute of the generated HTML input element.

- - diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/size.html b/api/pl.treksoft.kvision.form.spinner/-spinner/size.html deleted file mode 100644 index 7cf62c12..00000000 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Spinner.size - kvision - - - -kvision / pl.treksoft.kvision.form.spinner / Spinner / size
-
-

size

- -open var size: InputSize? -

Overrides FormControl.size

-

Input control size.

- - diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html b/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html index d9e2af00..ee16eaa9 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.spinner / Spinner / spinner

spinner

- -fun Container.spinner(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner + +fun Container.spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.spinner/index.html b/api/pl.treksoft.kvision.form.spinner/index.html index 2dc10dbb..7512883f 100644 --- a/api/pl.treksoft.kvision.form.spinner/index.html +++ b/api/pl.treksoft.kvision.form.spinner/index.html @@ -44,7 +44,7 @@

SpinnerInput

-open class SpinnerInput : Widget +open class SpinnerInput : Widget, FormInput

The basic component for spinner control.

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html b/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html index 37f89584..4d0a8074 100644 --- a/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html +++ b/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html @@ -9,7 +9,8 @@

disabled

-var disabled: Boolean +open var disabled: Boolean +

Overrides FormInput.disabled

Determines if the field is disabled.

Getter

Determines if the field is disabled.

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html b/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html index dc884549..cf5fced4 100644 --- a/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html +++ b/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.text / AbstractTextInput

AbstractTextInput

-abstract class AbstractTextInput : Widget +abstract class AbstractTextInput : Widget, FormInput

Base class for basic text components.

Constructors

@@ -39,7 +39,7 @@

disabled

@@ -57,7 +57,7 @@

name

@@ -84,7 +84,7 @@

size

@@ -134,7 +134,7 @@

parent

@@ -368,6 +368,15 @@ + + + + - - - - - - - - - - - - +Password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

-var size: InputSize? +open var size: InputSize?

The size of the input.

-open var parent: Component? +open var parent: Container?

Parent of the current component.

+

setContextMenu

+
+open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+

setDragDropData

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html b/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html index 489596b9..d740f0c6 100644 --- a/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html +++ b/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html @@ -9,7 +9,8 @@

name

-var name: String? +open var name: String? +

Overrides FormInput.name

The name attribute of the generated HTML input element.

Getter

The name attribute of the generated HTML input element.

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html b/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html index 84ddcc17..10f0d165 100644 --- a/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html +++ b/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html @@ -9,7 +9,8 @@

size

-var size: InputSize? +open var size: InputSize? +

Overrides FormInput.size

The size of the input.

Getter

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text/disabled.html b/api/pl.treksoft.kvision.form.text/-abstract-text/disabled.html deleted file mode 100644 index dc01a2e3..00000000 --- a/api/pl.treksoft.kvision.form.text/-abstract-text/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -AbstractText.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.text / AbstractText / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text/index.html b/api/pl.treksoft.kvision.form.text/-abstract-text/index.html index 4f47f621..820ab7fd 100644 --- a/api/pl.treksoft.kvision.form.text/-abstract-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-abstract-text/index.html @@ -36,15 +36,6 @@
-

disabled

-
-open var disabled: Boolean -

Determines if the field is disabled.

-

flabel

@@ -81,15 +72,6 @@
-

name

-
-var name: String? -

The name attribute of the generated HTML input element.

-

placeholder

@@ -117,15 +99,6 @@
-

size

-
-open var size: InputSize? -

Input control size.

-

startValue

diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text/name.html b/api/pl.treksoft.kvision.form.text/-abstract-text/name.html deleted file mode 100644 index 18cef6cf..00000000 --- a/api/pl.treksoft.kvision.form.text/-abstract-text/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -AbstractText.name - kvision - - - -kvision / pl.treksoft.kvision.form.text / AbstractText / name
-
-

name

- -var name: String? -

The name attribute of the generated HTML input element.

- - diff --git a/api/pl.treksoft.kvision.form.text/-abstract-text/size.html b/api/pl.treksoft.kvision.form.text/-abstract-text/size.html deleted file mode 100644 index 0fd9a35d..00000000 --- a/api/pl.treksoft.kvision.form.text/-abstract-text/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -AbstractText.size - kvision - - - -kvision / pl.treksoft.kvision.form.text / AbstractText / size
-
-

size

- -open var size: InputSize? -

Overrides FormControl.size

-

Input control size.

- - diff --git a/api/pl.treksoft.kvision.form.text/-password/-init-.html b/api/pl.treksoft.kvision.form.text/-password/-init-.html index 4b53587d..9b32386b 100644 --- a/api/pl.treksoft.kvision.form.text/-password/-init-.html +++ b/api/pl.treksoft.kvision.form.text/-password/-init-.html @@ -8,15 +8,17 @@ kvision / pl.treksoft.kvision.form.text / Password / <init>

<init>

- -Password(value: String? = null, label: String? = null, rich: Boolean = false) + +Password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

value - text input value

+

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

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.text/-password/index.html b/api/pl.treksoft.kvision.form.text/-password/index.html index 8e99a437..a6d9b6e0 100644 --- a/api/pl.treksoft.kvision.form.text/-password/index.html +++ b/api/pl.treksoft.kvision.form.text/-password/index.html @@ -18,7 +18,7 @@

<init>

-Password(value: String? = null, label: String? = null, rich: Boolean = false)
@@ -62,7 +62,7 @@

password

-fun Container.password(value: String? = null, label: String? = null, rich: Boolean = false, init: Password.() -> Unit = null): Password +fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Password.() -> Unit = null): Password

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.text/-password/password.html b/api/pl.treksoft.kvision.form.text/-password/password.html index d0d622c7..7a94a0b2 100644 --- a/api/pl.treksoft.kvision.form.text/-password/password.html +++ b/api/pl.treksoft.kvision.form.text/-password/password.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.text / Password / password

password

- -fun Container.password(value: String? = null, label: String? = null, rich: Boolean = false, init: Password.() -> Unit = null): Password + +fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Password.() -> Unit = null): Password

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html b/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html index 02d88253..c3850463 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html @@ -39,7 +39,7 @@

disabled

-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -57,7 +57,7 @@

name

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

@@ -84,7 +84,7 @@

size

-var size: InputSize? +open var size: InputSize?

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html b/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html index d0880ff1..218a6e93 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html @@ -8,15 +8,17 @@ kvision / pl.treksoft.kvision.form.text / RichText / <init>

<init>

- -RichText(value: String? = null, label: String? = null, rich: Boolean = false) + +RichText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

value - text input value

+

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

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.text/-rich-text/index.html b/api/pl.treksoft.kvision.form.text/-rich-text/index.html index 00a424f6..71ee0dc8 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text/index.html @@ -18,7 +18,7 @@

<init>

-RichText(value: String? = null, label: String? = null, rich: Boolean = false) +RichText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false) @@ -59,15 +59,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -95,15 +86,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

placeholder

@@ -131,15 +113,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

startValue

@@ -227,7 +200,7 @@

richText

-fun Container.richText(value: String? = null, label: String? = null, rich: Boolean = false, init: RichText.() -> Unit = null): RichText +fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: RichText.() -> Unit = null): RichText

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.text/-rich-text/rich-text.html b/api/pl.treksoft.kvision.form.text/-rich-text/rich-text.html index 55ed8174..2dd27587 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text/rich-text.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text/rich-text.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.text / RichText / richText

richText

- -fun Container.richText(value: String? = null, label: String? = null, rich: Boolean = false, init: RichText.() -> Unit = null): RichText + +fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: RichText.() -> Unit = null): RichText

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.text/-text-area-input/index.html b/api/pl.treksoft.kvision.form.text/-text-area-input/index.html index f710cb54..b356b410 100644 --- a/api/pl.treksoft.kvision.form.text/-text-area-input/index.html +++ b/api/pl.treksoft.kvision.form.text/-text-area-input/index.html @@ -71,7 +71,7 @@

disabled

-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -89,7 +89,7 @@

name

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

@@ -116,7 +116,7 @@

size

-var size: InputSize? +open var size: InputSize?

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.text/-text-area/-init-.html b/api/pl.treksoft.kvision.form.text/-text-area/-init-.html index cfd6c895..27a727b5 100644 --- a/api/pl.treksoft.kvision.form.text/-text-area/-init-.html +++ b/api/pl.treksoft.kvision.form.text/-text-area/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.text / TextArea / <init>

<init>

- -TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false) + +TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

cols - number of columns

@@ -17,10 +17,12 @@ rows - number of rows

value - text input value

+

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

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.text/-text-area/index.html b/api/pl.treksoft.kvision.form.text/-text-area/index.html index a7ae8d8c..be73c823 100644 --- a/api/pl.treksoft.kvision.form.text/-text-area/index.html +++ b/api/pl.treksoft.kvision.form.text/-text-area/index.html @@ -18,7 +18,7 @@

<init>

-TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false) +TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false) @@ -77,15 +77,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -113,15 +104,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

placeholder

@@ -149,15 +131,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

startValue

@@ -245,7 +218,7 @@

textArea

-fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea +fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.text/-text-area/text-area.html b/api/pl.treksoft.kvision.form.text/-text-area/text-area.html index 392f8a3a..0aa43c36 100644 --- a/api/pl.treksoft.kvision.form.text/-text-area/text-area.html +++ b/api/pl.treksoft.kvision.form.text/-text-area/text-area.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.text / TextArea / textArea

textArea

- -fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea + +fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TextArea.() -> Unit = null): TextArea

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.text/-text-input/index.html b/api/pl.treksoft.kvision.form.text/-text-input/index.html index 676988c4..b0aaf546 100644 --- a/api/pl.treksoft.kvision.form.text/-text-input/index.html +++ b/api/pl.treksoft.kvision.form.text/-text-input/index.html @@ -62,7 +62,7 @@

disabled

-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -80,7 +80,7 @@

name

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

@@ -107,7 +107,7 @@

size

-var size: InputSize? +open var size: InputSize?

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.text/-text/-init-.html b/api/pl.treksoft.kvision.form.text/-text/-init-.html index 8f3af2ba..84a300ac 100644 --- a/api/pl.treksoft.kvision.form.text/-text/-init-.html +++ b/api/pl.treksoft.kvision.form.text/-text/-init-.html @@ -8,17 +8,19 @@ kvision / pl.treksoft.kvision.form.text / Text / <init>

<init>

- -Text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false) + +Text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

type - text input type (default "text")

value - text input value

+

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

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.text/-text/index.html b/api/pl.treksoft.kvision.form.text/-text/index.html index d05d0542..e78ccda6 100644 --- a/api/pl.treksoft.kvision.form.text/-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-text/index.html @@ -18,7 +18,7 @@

<init>

-Text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false) +Text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false) @@ -68,15 +68,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -104,15 +95,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

placeholder

@@ -140,15 +122,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

startValue

@@ -236,7 +209,7 @@

text

-fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text +fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.text/-text/text.html b/api/pl.treksoft.kvision.form.text/-text/text.html index e31c5839..3c06ae61 100644 --- a/api/pl.treksoft.kvision.form.text/-text/text.html +++ b/api/pl.treksoft.kvision.form.text/-text/text.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.text / Text / text

text

- -fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text + +fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.text/index.html b/api/pl.treksoft.kvision.form.text/index.html index 09b4a207..8758e734 100644 --- a/api/pl.treksoft.kvision.form.text/index.html +++ b/api/pl.treksoft.kvision.form.text/index.html @@ -26,7 +26,7 @@

AbstractTextInput

-abstract class AbstractTextInput : Widget +abstract class AbstractTextInput : Widget, FormInput

Base class for basic text components.

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html index df0f22b6..fccaea04 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/disabled.html @@ -9,7 +9,8 @@

disabled

-var disabled: Boolean +open var disabled: Boolean +

Overrides FormInput.disabled

Determines if the field is disabled.

Getter

Determines if the field is disabled.

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/index.html b/api/pl.treksoft.kvision.form.time/-date-time-input/index.html index d25ae828..a26313da 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/index.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.time / DateTimeInput

DateTimeInput

-open class DateTimeInput : Widget +open class DateTimeInput : Widget, FormInput

Basic date/time chooser component.

Constructors

@@ -57,7 +57,7 @@

disabled

@@ -84,7 +84,7 @@

name

@@ -120,7 +120,7 @@

size

@@ -188,7 +188,7 @@

parent

@@ -478,6 +478,15 @@ + + + + +DateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)
-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

-var size: InputSize? +open var size: InputSize?

The size of the input.

-open var parent: Component? +open var parent: Container?

Parent of the current component.

+

setContextMenu

+
+open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+

setDragDropData

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/name.html b/api/pl.treksoft.kvision.form.time/-date-time-input/name.html index dcad897b..4a911863 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/name.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/name.html @@ -9,7 +9,8 @@

name

-var name: String? +open var name: String? +

Overrides FormInput.name

The name attribute of the generated HTML input element.

Getter

The name attribute of the generated HTML input element.

diff --git a/api/pl.treksoft.kvision.form.time/-date-time-input/size.html b/api/pl.treksoft.kvision.form.time/-date-time-input/size.html index 7a2cf203..8f6e2908 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time-input/size.html +++ b/api/pl.treksoft.kvision.form.time/-date-time-input/size.html @@ -9,7 +9,8 @@

size

-var size: InputSize? +open var size: InputSize? +

Overrides FormInput.size

The size of the input.

Getter

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.time/-date-time/-init-.html b/api/pl.treksoft.kvision.form.time/-date-time/-init-.html index d7037856..723a95b2 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time/-init-.html +++ b/api/pl.treksoft.kvision.form.time/-date-time/-init-.html @@ -8,17 +8,19 @@ kvision / pl.treksoft.kvision.form.time / DateTime / <init>

<init>

- -DateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false) + +DateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)

Parameters

value - date/time input value

+

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

format - date/time format (default YYYY-MM-DD HH:mm)

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.time/-date-time/date-time.html b/api/pl.treksoft.kvision.form.time/-date-time/date-time.html index 53c43af4..718c8eaf 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time/date-time.html +++ b/api/pl.treksoft.kvision.form.time/-date-time/date-time.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.time / DateTime / dateTime

dateTime

- -fun Container.dateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit = null): DateTime + +fun Container.dateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit = null): DateTime

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.time/-date-time/disabled.html b/api/pl.treksoft.kvision.form.time/-date-time/disabled.html deleted file mode 100644 index 6af920f5..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTime.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/index.html b/api/pl.treksoft.kvision.form.time/-date-time/index.html index b3bcac4c..e31348af 100644 --- a/api/pl.treksoft.kvision.form.time/-date-time/index.html +++ b/api/pl.treksoft.kvision.form.time/-date-time/index.html @@ -18,7 +18,7 @@

<init>

-DateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)
@@ -54,15 +54,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -108,15 +99,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

placeholder

@@ -153,15 +135,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

todayBtn

@@ -389,7 +362,7 @@

dateTime

-fun Container.dateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit = null): DateTime +fun Container.dateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit = null): DateTime

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.time/-date-time/name.html b/api/pl.treksoft.kvision.form.time/-date-time/name.html deleted file mode 100644 index 68c3ce8c..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -DateTime.name - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / name
-
-

name

- -var name: String? -

The name attribute of the generated HTML input element.

- - diff --git a/api/pl.treksoft.kvision.form.time/-date-time/size.html b/api/pl.treksoft.kvision.form.time/-date-time/size.html deleted file mode 100644 index 758211a6..00000000 --- a/api/pl.treksoft.kvision.form.time/-date-time/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -DateTime.size - kvision - - - -kvision / pl.treksoft.kvision.form.time / DateTime / size
-
-

size

- -open var size: InputSize? -

Overrides FormControl.size

-

Input control size.

- - diff --git a/api/pl.treksoft.kvision.form.time/index.html b/api/pl.treksoft.kvision.form.time/index.html index ba68c3d3..d811429f 100644 --- a/api/pl.treksoft.kvision.form.time/index.html +++ b/api/pl.treksoft.kvision.form.time/index.html @@ -26,7 +26,7 @@

DateTimeInput

-open class DateTimeInput : Widget +open class DateTimeInput : Widget, FormInput

Basic date/time chooser component.

diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/-init-.html b/api/pl.treksoft.kvision.form.upload/-upload-input/-init-.html new file mode 100644 index 00000000..9ce79234 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/-init-.html @@ -0,0 +1,23 @@ + + + +UploadInput.<init> - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / <init>
+
+

<init>

+ +UploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf()) +

Parameters

+

+uploadUrl - the optional URL for the upload processing action

+

+multiple - determines if multiple file upload is supported

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/after-destroy.html b/api/pl.treksoft.kvision.form.upload/-upload-input/after-destroy.html new file mode 100644 index 00000000..0f0e6683 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/after-destroy.html @@ -0,0 +1,16 @@ + + + +UploadInput.afterDestroy - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / afterDestroy
+
+

afterDestroy

+ +protected open fun afterDestroy(): Unit +

Overrides Widget.afterDestroy

+

Method called after destroying Snabbdom vnode.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/after-insert.html b/api/pl.treksoft.kvision.form.upload/-upload-input/after-insert.html new file mode 100644 index 00000000..a1587742 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/after-insert.html @@ -0,0 +1,16 @@ + + + +UploadInput.afterInsert - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / afterInsert
+
+

afterInsert

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

Overrides Widget.afterInsert

+

Method called after inserting Snabbdom vnode into the DOM.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-extensions.html b/api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-extensions.html new file mode 100644 index 00000000..ab3baca7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-extensions.html @@ -0,0 +1,21 @@ + + + +UploadInput.allowedFileExtensions - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / allowedFileExtensions
+
+

allowedFileExtensions

+ +var allowedFileExtensions: Set<String>? +

Allowed file extensions.

+

Getter
+

Allowed file extensions.

+

+

Setter
+

Allowed file extensions.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-types.html b/api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-types.html new file mode 100644 index 00000000..37963eec --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/allowed-file-types.html @@ -0,0 +1,21 @@ + + + +UploadInput.allowedFileTypes - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / allowedFileTypes
+
+

allowedFileTypes

+ +var allowedFileTypes: Set<String>? +

Allowed file types.

+

Getter
+

Allowed file types.

+

+

Setter
+

Allowed file types.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/blur.html b/api/pl.treksoft.kvision.form.upload/-upload-input/blur.html new file mode 100644 index 00000000..1bf38673 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/blur.html @@ -0,0 +1,15 @@ + + + +UploadInput.blur - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / blur
+
+

blur

+ +open fun blur(): Unit +

Makes the input element blur.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/browse-on-zone-click.html b/api/pl.treksoft.kvision.form.upload/-upload-input/browse-on-zone-click.html new file mode 100644 index 00000000..6e60de7c --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/browse-on-zone-click.html @@ -0,0 +1,21 @@ + + + +UploadInput.browseOnZoneClick - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / browseOnZoneClick
+
+

browseOnZoneClick

+ +var browseOnZoneClick: Boolean +

Determines if the click on the preview zone opens file browse window.

+

Getter
+

Determines if the click on the preview zone opens file browse window.

+

+

Setter
+

Determines if the click on the preview zone opens file browse window.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/cancel.html b/api/pl.treksoft.kvision.form.upload/-upload-input/cancel.html new file mode 100644 index 00000000..808fd4f6 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/cancel.html @@ -0,0 +1,15 @@ + + + +UploadInput.cancel - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / cancel
+
+

cancel

+ +open fun cancel(): Unit +

Cancel an ongoing ajax upload (only for ajax mode).

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/clear-input.html b/api/pl.treksoft.kvision.form.upload/-upload-input/clear-input.html new file mode 100644 index 00000000..a814b493 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/clear-input.html @@ -0,0 +1,15 @@ + + + +UploadInput.clearInput - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / clearInput
+
+

clearInput

+ +open fun clearInput(): Unit +

Clears the file input control (including the native input).

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/disabled.html b/api/pl.treksoft.kvision.form.upload/-upload-input/disabled.html new file mode 100644 index 00000000..17d36121 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/disabled.html @@ -0,0 +1,22 @@ + + + +UploadInput.disabled - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / disabled
+
+

disabled

+ +open var disabled: Boolean +

Overrides FormInput.disabled

+

Determines if the field is disabled.

+

Getter
+

Determines if the field is disabled.

+

+

Setter
+

Determines if the field is disabled.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/drop-zone-enabled.html b/api/pl.treksoft.kvision.form.upload/-upload-input/drop-zone-enabled.html new file mode 100644 index 00000000..b8488a76 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/drop-zone-enabled.html @@ -0,0 +1,21 @@ + + + +UploadInput.dropZoneEnabled - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / dropZoneEnabled
+
+

dropZoneEnabled

+ +var dropZoneEnabled: Boolean +

Determines if Drag&Drop zone is enabled.

+

Getter
+

Determines if Drag&Drop zone is enabled.

+

+

Setter
+

Determines if Drag&Drop zone is enabled.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/explorer-theme.html b/api/pl.treksoft.kvision.form.upload/-upload-input/explorer-theme.html new file mode 100644 index 00000000..0b99c0b9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/explorer-theme.html @@ -0,0 +1,21 @@ + + + +UploadInput.explorerTheme - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / explorerTheme
+
+

explorerTheme

+ +var explorerTheme: Boolean +

Determines if the explorer theme is used.

+

Getter
+

Determines if the explorer theme is used.

+

+

Setter
+

Determines if the explorer theme is used.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/focus.html b/api/pl.treksoft.kvision.form.upload/-upload-input/focus.html new file mode 100644 index 00000000..67e0b9d1 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/focus.html @@ -0,0 +1,15 @@ + + + +UploadInput.focus - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / focus
+
+

focus

+ +open fun focus(): Unit +

Makes the input element focused.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-attrs.html b/api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-attrs.html new file mode 100644 index 00000000..022a8470 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +UploadInput.getSnAttrs - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / getSnAttrs
+
+

getSnAttrs

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

Overrides Widget.getSnAttrs

+

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

+

Return
+list of element attributes

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-class.html b/api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-class.html new file mode 100644 index 00000000..36ee4361 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/get-sn-class.html @@ -0,0 +1,18 @@ + + + +UploadInput.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / 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.upload/-upload-input/get-value-as-string.html b/api/pl.treksoft.kvision.form.upload/-upload-input/get-value-as-string.html new file mode 100644 index 00000000..78e56668 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/get-value-as-string.html @@ -0,0 +1,17 @@ + + + +UploadInput.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / getValueAsString
+
+

getValueAsString

+ +fun getValueAsString(): String? +

Returns the value of the file input control as a String.

+

Return
+value as a String

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/index.html b/api/pl.treksoft.kvision.form.upload/-upload-input/index.html new file mode 100644 index 00000000..3090e5be --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/index.html @@ -0,0 +1,623 @@ + + + +UploadInput - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput
+
+

UploadInput

+open class UploadInput : Widget, FormInput +

The file upload component.

+

Constructors

+ + + + + + + +
+

<init>

+
+UploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf())
+

Properties

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

allowedFileExtensions

+
+var allowedFileExtensions: Set<String>? +

Allowed file extensions.

+
+

allowedFileTypes

+
+var allowedFileTypes: Set<String>? +

Allowed file types.

+
+

browseOnZoneClick

+
+var browseOnZoneClick: Boolean +

Determines if the click on the preview zone opens file browse window.

+
+

disabled

+
+open var disabled: Boolean +

Determines if the field is disabled.

+
+

dropZoneEnabled

+
+var dropZoneEnabled: Boolean +

Determines if Drag&Drop zone is enabled.

+
+

explorerTheme

+
+var explorerTheme: Boolean +

Determines if the explorer theme is used.

+
+

multiple

+
+var multiple: Boolean +

Determines if multiple file upload is supported.

+
+

name

+
+open var name: String? +

The name attribute of the generated HTML input element.

+
+

preferIconicPreview

+
+var preferIconicPreview: Boolean +

Determines if the iconic preview is prefered.

+
+

required

+
+var required: Boolean +

Determines if the input selection is required.

+
+

showBrowse

+
+var showBrowse: Boolean +

Determines if the file browse button is shown.

+
+

showCancel

+
+var showCancel: Boolean +

Determines if the cancel button is shown.

+
+

showCaption

+
+var showCaption: Boolean +

Determines if the caption is shown.

+
+

showPreview

+
+var showPreview: Boolean +

Determines if the preview is shown.

+
+

showRemove

+
+var showRemove: Boolean +

Determines if the remove button is shown.

+
+

showUpload

+
+var showUpload: Boolean +

Determines if the upload button is shown.

+
+

size

+
+open var size: InputSize? +

The size of the input (currently not working)

+
+

uploadExtraData

+
+var uploadExtraData: (String, Int) -> dynamic +

The extra data that will be passed as data to the AJAX server call via POST.

+
+

uploadUrl

+
+var uploadUrl: String? +

The optional URL for the upload processing action. +If not set the upload button action will default to form submission.

+
+

value

+
+var value: List<File>? +

File input value.

+
+

Inherited Properties

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

draggable

+
+var draggable: Boolean? +

Determines if the current widget is draggable.

+
+

id

+
+var id: String? +

An ID attribute of generated HTML element.

+
+

parent

+
+open var parent: Container? +

Parent of the current component.

+
+

role

+
+var role: String? +

A role attribute of generated HTML element.

+
+

title

+
+var title: String? +

A title attribute of generated HTML element.

+
+

visible

+
+open var visible: Boolean +

Visibility state of the current component.

+
+

Functions

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

afterDestroy

+
+open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

+
+

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.

+
+

cancel

+
+open fun cancel(): Unit +

Cancel an ongoing ajax upload (only for ajax mode).

+
+

clearInput

+
+open fun clearInput(): Unit +

Clears the file input control (including the native input).

+
+

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.

+
+

getValueAsString

+
+fun getValueAsString(): String? +

Returns the value of the file input control as a String.

+
+

lock

+
+open fun lock(): Unit +

Locks the file input (disabling all buttons except a cancel button).

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

resetInput

+
+open fun resetInput(): Unit +

Resets the file input control.

+
+

unlock

+
+open fun unlock(): Unit +

Unlocks the file input.

+
+

upload

+
+open fun upload(): Unit +

Trigger ajax upload (only for ajax mode).

+
+

Inherited Functions

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

addCssClass

+
+open fun addCssClass(css: String): Widget +

Adds given value to the set of CSS classes generated in html code of current component.

+
+

addSurroundingCssClass

+
+open fun addSurroundingCssClass(css: String): Widget +

Adds given value to the set of CSS classes generated in html code of parent component.

+
+

afterCreate

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

Method called after creating Snabbdom vnode.

+
+

afterPostpatch

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

Method called after updating Snabbdom vnode.

+
+

clearDragDropData

+
+open fun clearDragDropData(): Unit +

Clears D&D data for the current widget. It also makes it not draggable.

+
+

getElement

+
+open fun getElement(): Node? +

Returns DOM element bound to the current component.

+
+

getElementJQuery

+
+open fun getElementJQuery(): JQuery? +

Returns JQuery element bound to the current component.

+
+

getElementJQueryD

+
+open fun getElementJQueryD(): dynamic +

Returns JQuery element bound to the current component as a dynamic type.

+
+

getSnHooks

+
+open fun getSnHooks(): Hooks? +

Returns list of hooks in the form of a Snabbdom Hooks object.

+
+

getSnOn

+
+open fun getSnOn(): On? +

Returns list of event handlers in the form of a Snabbdom On object.

+
+

hide

+
+open fun hide(): Widget +

Makes current widget invisible.

+
+

removeCssClass

+
+open fun removeCssClass(css: String): Widget +

Removes given value from the set of CSS classes generated in html code of current component.

+
+

removeEventListeners

+
+open fun removeEventListeners(): Widget +

Removes all event listeners from current widget.

+
+

removeSurroundingCssClass

+
+open fun removeSurroundingCssClass(css: String): Widget +

Removes given value from the set of CSS classes generated in html code of parent component.

+
+

render

+
+open fun render(elementName: String): VNode
+open fun render(elementName: String, children: Array<dynamic>): VNode +

Renders current component as a Snabbdom vnode.

+
+

setContextMenu

+
+open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setDragDropData

+
+open fun setDragDropData(format: String, data: String): Unit +

Sets D&D data for the current widget. It also makes it draggable.

+
+

setDropTarget

+
+open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
+open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit +

Sets the current widget as a D&D drop target.

+
+

setDropTargetData

+
+open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit +

Sets the current widget as a D&D drop target with helper callback accepting String data.

+
+

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.

+
+

show

+
+open fun show(): Widget +

Makes current widget visible.

+
+

toggleVisible

+
+open fun toggleVisible(): Widget +

Toggles visibility of current widget.

+
+

Companion Object Functions

+ + + + + + + +
+

uploadInput

+
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: UploadInput.() -> Unit = null): UploadInput +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/lock.html b/api/pl.treksoft.kvision.form.upload/-upload-input/lock.html new file mode 100644 index 00000000..6792e820 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/lock.html @@ -0,0 +1,15 @@ + + + +UploadInput.lock - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / lock
+
+

lock

+ +open fun lock(): Unit +

Locks the file input (disabling all buttons except a cancel button).

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/multiple.html b/api/pl.treksoft.kvision.form.upload/-upload-input/multiple.html new file mode 100644 index 00000000..395dd1b9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/multiple.html @@ -0,0 +1,21 @@ + + + +UploadInput.multiple - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / multiple
+
+

multiple

+ +var multiple: Boolean +

Determines if multiple file upload is supported.

+

Getter
+

Determines if multiple file upload is supported.

+

+

Setter
+

Determines if multiple file upload is supported.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/name.html b/api/pl.treksoft.kvision.form.upload/-upload-input/name.html new file mode 100644 index 00000000..c173a4dd --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/name.html @@ -0,0 +1,22 @@ + + + +UploadInput.name - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / name
+
+

name

+ +open var name: String? +

Overrides FormInput.name

+

The name attribute of the generated HTML input element.

+

Getter
+

The name attribute of the generated HTML input element.

+

+

Setter
+

The name attribute of the generated HTML input element.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/prefer-iconic-preview.html b/api/pl.treksoft.kvision.form.upload/-upload-input/prefer-iconic-preview.html new file mode 100644 index 00000000..517a7fc2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/prefer-iconic-preview.html @@ -0,0 +1,21 @@ + + + +UploadInput.preferIconicPreview - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / preferIconicPreview
+
+

preferIconicPreview

+ +var preferIconicPreview: Boolean +

Determines if the iconic preview is prefered.

+

Getter
+

Determines if the iconic preview is prefered.

+

+

Setter
+

Determines if the iconic preview is prefered.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/render.html b/api/pl.treksoft.kvision.form.upload/-upload-input/render.html new file mode 100644 index 00000000..f02ecef7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/render.html @@ -0,0 +1,18 @@ + + + +UploadInput.render - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / render
+
+

render

+ +protected open fun render(): VNode +

Overrides Widget.render

+

Renders current component as a Snabbdom vnode.

+

Return
+Snabbdom vnode

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/required.html b/api/pl.treksoft.kvision.form.upload/-upload-input/required.html new file mode 100644 index 00000000..b86ef734 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/required.html @@ -0,0 +1,21 @@ + + + +UploadInput.required - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / required
+
+

required

+ +var required: Boolean +

Determines if the input selection is required.

+

Getter
+

Determines if the input selection is required.

+

+

Setter
+

Determines if the input selection is required.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/reset-input.html b/api/pl.treksoft.kvision.form.upload/-upload-input/reset-input.html new file mode 100644 index 00000000..404849de --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/reset-input.html @@ -0,0 +1,15 @@ + + + +UploadInput.resetInput - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / resetInput
+
+

resetInput

+ +open fun resetInput(): Unit +

Resets the file input control.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/show-browse.html b/api/pl.treksoft.kvision.form.upload/-upload-input/show-browse.html new file mode 100644 index 00000000..8deba1ce --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/show-browse.html @@ -0,0 +1,21 @@ + + + +UploadInput.showBrowse - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / showBrowse
+
+

showBrowse

+ +var showBrowse: Boolean +

Determines if the file browse button is shown.

+

Getter
+

Determines if the file browse button is shown.

+

+

Setter
+

Determines if the file browse button is shown.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/show-cancel.html b/api/pl.treksoft.kvision.form.upload/-upload-input/show-cancel.html new file mode 100644 index 00000000..96f45595 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/show-cancel.html @@ -0,0 +1,21 @@ + + + +UploadInput.showCancel - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / showCancel
+
+

showCancel

+ +var showCancel: Boolean +

Determines if the cancel button is shown.

+

Getter
+

Determines if the cancel button is shown.

+

+

Setter
+

Determines if the cancel button is shown.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/show-caption.html b/api/pl.treksoft.kvision.form.upload/-upload-input/show-caption.html new file mode 100644 index 00000000..90429bd5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/show-caption.html @@ -0,0 +1,21 @@ + + + +UploadInput.showCaption - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / showCaption
+
+

showCaption

+ +var showCaption: Boolean +

Determines if the caption is shown.

+

Getter
+

Determines if the caption is shown.

+

+

Setter
+

Determines if the caption is shown.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/show-preview.html b/api/pl.treksoft.kvision.form.upload/-upload-input/show-preview.html new file mode 100644 index 00000000..7025fd2c --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/show-preview.html @@ -0,0 +1,21 @@ + + + +UploadInput.showPreview - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / showPreview
+
+

showPreview

+ +var showPreview: Boolean +

Determines if the preview is shown.

+

Getter
+

Determines if the preview is shown.

+

+

Setter
+

Determines if the preview is shown.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/show-remove.html b/api/pl.treksoft.kvision.form.upload/-upload-input/show-remove.html new file mode 100644 index 00000000..1847fbcb --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/show-remove.html @@ -0,0 +1,21 @@ + + + +UploadInput.showRemove - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / showRemove
+
+

showRemove

+ +var showRemove: Boolean +

Determines if the remove button is shown.

+

Getter
+

Determines if the remove button is shown.

+

+

Setter
+

Determines if the remove button is shown.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/show-upload.html b/api/pl.treksoft.kvision.form.upload/-upload-input/show-upload.html new file mode 100644 index 00000000..da388c67 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/show-upload.html @@ -0,0 +1,21 @@ + + + +UploadInput.showUpload - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / showUpload
+
+

showUpload

+ +var showUpload: Boolean +

Determines if the upload button is shown.

+

Getter
+

Determines if the upload button is shown.

+

+

Setter
+

Determines if the upload button is shown.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/size.html b/api/pl.treksoft.kvision.form.upload/-upload-input/size.html new file mode 100644 index 00000000..bfac42c8 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/size.html @@ -0,0 +1,22 @@ + + + +UploadInput.size - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / size
+
+

size

+ +open var size: InputSize? +

Overrides FormInput.size

+

The size of the input (currently not working)

+

Getter
+

The size of the input (currently not working)

+

+

Setter
+

The size of the input (currently not working)

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/unlock.html b/api/pl.treksoft.kvision.form.upload/-upload-input/unlock.html new file mode 100644 index 00000000..511efc6c --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/unlock.html @@ -0,0 +1,15 @@ + + + +UploadInput.unlock - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / unlock
+
+

unlock

+ +open fun unlock(): Unit +

Unlocks the file input.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/upload-extra-data.html b/api/pl.treksoft.kvision.form.upload/-upload-input/upload-extra-data.html new file mode 100644 index 00000000..5b033440 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/upload-extra-data.html @@ -0,0 +1,21 @@ + + + +UploadInput.uploadExtraData - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / uploadExtraData
+
+

uploadExtraData

+ +var uploadExtraData: (String, Int) -> dynamic +

The extra data that will be passed as data to the AJAX server call via POST.

+

Getter
+

The extra data that will be passed as data to the AJAX server call via POST.

+

+

Setter
+

The extra data that will be passed as data to the AJAX server call via POST.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html b/api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html new file mode 100644 index 00000000..c5711044 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html @@ -0,0 +1,16 @@ + + + +UploadInput.uploadInput - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / uploadInput
+
+

uploadInput

+ +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: UploadInput.() -> Unit = null): UploadInput +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/upload-url.html b/api/pl.treksoft.kvision.form.upload/-upload-input/upload-url.html new file mode 100644 index 00000000..1f1ef5bb --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/upload-url.html @@ -0,0 +1,24 @@ + + + +UploadInput.uploadUrl - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / uploadUrl
+
+

uploadUrl

+ +var uploadUrl: String? +

The optional URL for the upload processing action. +If not set the upload button action will default to form submission.

+

Getter
+

The optional URL for the upload processing action. +If not set the upload button action will default to form submission.

+

+

Setter
+

The optional URL for the upload processing action. +If not set the upload button action will default to form submission.

+

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/upload.html b/api/pl.treksoft.kvision.form.upload/-upload-input/upload.html new file mode 100644 index 00000000..0cbcaa23 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/upload.html @@ -0,0 +1,15 @@ + + + +UploadInput.upload - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / upload
+
+

upload

+ +open fun upload(): Unit +

Trigger ajax upload (only for ajax mode).

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/value.html b/api/pl.treksoft.kvision.form.upload/-upload-input/value.html new file mode 100644 index 00000000..a740df1a --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/value.html @@ -0,0 +1,15 @@ + + + +UploadInput.value - kvision + + + +kvision / pl.treksoft.kvision.form.upload / UploadInput / value
+
+

value

+ +var value: List<File>? +

File input value.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/-init-.html b/api/pl.treksoft.kvision.form.upload/-upload/-init-.html new file mode 100644 index 00000000..bec7108c --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/-init-.html @@ -0,0 +1,25 @@ + + + +Upload.<init> - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / <init>
+
+

<init>

+ +Upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false) +

Parameters

+

+uploadUrl - the optional URL for the upload processing action

+

+multiple - determines if multiple file upload is supported

+

+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.upload/-upload/allowed-file-extensions.html b/api/pl.treksoft.kvision.form.upload/-upload/allowed-file-extensions.html new file mode 100644 index 00000000..961352ac --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/allowed-file-extensions.html @@ -0,0 +1,15 @@ + + + +Upload.allowedFileExtensions - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / allowedFileExtensions
+
+

allowedFileExtensions

+ +var allowedFileExtensions: Set<String>? +

Allowed file extensions.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/allowed-file-types.html b/api/pl.treksoft.kvision.form.upload/-upload/allowed-file-types.html new file mode 100644 index 00000000..12c4dfb1 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/allowed-file-types.html @@ -0,0 +1,15 @@ + + + +Upload.allowedFileTypes - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / allowedFileTypes
+
+

allowedFileTypes

+ +var allowedFileTypes: Set<String>? +

Allowed file types.

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

blur

+ +open fun blur(): Unit +

Overrides FormControl.blur

+

Makes the input element blur.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/browse-on-zone-click.html b/api/pl.treksoft.kvision.form.upload/-upload/browse-on-zone-click.html new file mode 100644 index 00000000..1873f506 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/browse-on-zone-click.html @@ -0,0 +1,15 @@ + + + +Upload.browseOnZoneClick - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / browseOnZoneClick
+
+

browseOnZoneClick

+ +var browseOnZoneClick: Boolean +

Determines if the click on the preview zone opens file browse window.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/cancel.html b/api/pl.treksoft.kvision.form.upload/-upload/cancel.html new file mode 100644 index 00000000..a82213e1 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/cancel.html @@ -0,0 +1,15 @@ + + + +Upload.cancel - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / cancel
+
+

cancel

+ +open fun cancel(): Unit +

Cancel an ongoing ajax upload (only for ajax mode).

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/clear-input.html b/api/pl.treksoft.kvision.form.upload/-upload/clear-input.html new file mode 100644 index 00000000..4955cd4a --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/clear-input.html @@ -0,0 +1,15 @@ + + + +Upload.clearInput - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / clearInput
+
+

clearInput

+ +open fun clearInput(): Unit +

Clears the file input control (including the native input).

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/drop-zone-enabled.html b/api/pl.treksoft.kvision.form.upload/-upload/drop-zone-enabled.html new file mode 100644 index 00000000..b7cee858 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/drop-zone-enabled.html @@ -0,0 +1,15 @@ + + + +Upload.dropZoneEnabled - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / dropZoneEnabled
+
+

dropZoneEnabled

+ +var dropZoneEnabled: Boolean +

Determines if Drag&Drop zone is enabled.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/explorer-theme.html b/api/pl.treksoft.kvision.form.upload/-upload/explorer-theme.html new file mode 100644 index 00000000..8527ed91 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/explorer-theme.html @@ -0,0 +1,15 @@ + + + +Upload.explorerTheme - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / explorerTheme
+
+

explorerTheme

+ +var explorerTheme: Boolean +

Determines if the explorer theme is used.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/flabel.html b/api/pl.treksoft.kvision.form.upload/-upload/flabel.html new file mode 100644 index 00000000..fccd517f --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/flabel.html @@ -0,0 +1,16 @@ + + + +Upload.flabel - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / flabel
+
+

flabel

+ +val flabel: FieldLabel +

Overrides FormControl.flabel

+

Form field label.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/focus.html b/api/pl.treksoft.kvision.form.upload/-upload/focus.html new file mode 100644 index 00000000..573c4456 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/focus.html @@ -0,0 +1,16 @@ + + + +Upload.focus - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / focus
+
+

focus

+ +open fun focus(): Unit +

Overrides FormControl.focus

+

Makes the input element focused.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/get-sn-class.html b/api/pl.treksoft.kvision.form.upload/-upload/get-sn-class.html new file mode 100644 index 00000000..e4baedc4 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/get-sn-class.html @@ -0,0 +1,18 @@ + + + +Upload.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / 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.upload/-upload/get-value-as-string.html b/api/pl.treksoft.kvision.form.upload/-upload/get-value-as-string.html new file mode 100644 index 00000000..75533699 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +Upload.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / getValueAsString
+
+

getValueAsString

+ +open fun getValueAsString(): String? +

Overrides FilesFormControl.getValueAsString

+

Returns the value of the control as a String.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/idc.html b/api/pl.treksoft.kvision.form.upload/-upload/idc.html new file mode 100644 index 00000000..a8f3d7ed --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/idc.html @@ -0,0 +1,14 @@ + + + +Upload.idc - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / idc
+
+

idc

+ +protected val idc: String + + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/index.html b/api/pl.treksoft.kvision.form.upload/-upload/index.html new file mode 100644 index 00000000..157d652a --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/index.html @@ -0,0 +1,461 @@ + + + +Upload - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload
+
+

Upload

+open class Upload : SimplePanel, FilesFormControl +

The form field file upload component.

+

Constructors

+ + + + + + + +
+

<init>

+
+Upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false)
+

Properties

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

allowedFileExtensions

+
+var allowedFileExtensions: Set<String>? +

Allowed file extensions.

+
+

allowedFileTypes

+
+var allowedFileTypes: Set<String>? +

Allowed file types.

+
+

browseOnZoneClick

+
+var browseOnZoneClick: Boolean +

Determines if the click on the preview zone opens file browse window.

+
+

dropZoneEnabled

+
+var dropZoneEnabled: Boolean +

Determines if Drag&Drop zone is enabled.

+
+

explorerTheme

+
+var explorerTheme: Boolean +

Determines if the explorer theme is used.

+
+

flabel

+
+val flabel: FieldLabel +

Form field label.

+
+

idc

+
+val idc: String
+

input

+
+val input: UploadInput +

The actual input component.

+
+

label

+
+var label: String? +

The label text bound to the spinner input element.

+
+

multiple

+
+var multiple: Boolean +

Determines if multiple file upload is supported.

+
+

preferIconicPreview

+
+var preferIconicPreview: Boolean +

Determines if the iconic preview is prefered.

+
+

required

+
+var required: Boolean +

Determines if the input selection is required.

+
+

rich

+
+var rich: Boolean +

Determines if label can contain HTML code.

+
+

showBrowse

+
+var showBrowse: Boolean +

Determines if the file browse button is shown.

+
+

showCancel

+
+var showCancel: Boolean +

Determines if the cancel button is shown.

+
+

showCaption

+
+var showCaption: Boolean +

Determines if the caption is shown.

+
+

showPreview

+
+var showPreview: Boolean +

Determines if the preview is shown.

+
+

showRemove

+
+var showRemove: Boolean +

Determines if the remove button is shown.

+
+

showUpload

+
+var showUpload: Boolean +

Determines if the upload button is shown.

+
+

uploadExtraData

+
+var uploadExtraData: (String, Int) -> dynamic +

The extra data that will be passed as data to the AJAX server call via POST.

+
+

uploadUrl

+
+var uploadUrl: String? +

The optional URL for the upload processing action. +If not set the upload button action will default to form submission.

+
+

validationInfo

+
+val validationInfo: HelpBlock +

Validation info component.

+
+

value

+
+open var value: List<File>? +

File input value.

+
+

Functions

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

blur

+
+open fun blur(): Unit +

Makes the input element blur.

+
+

cancel

+
+open fun cancel(): Unit +

Cancel an ongoing ajax upload (only for ajax mode).

+
+

clearInput

+
+open fun clearInput(): Unit +

Clears the file input control (including the native input).

+
+

focus

+
+open fun focus(): Unit +

Makes the input element focused.

+
+

getSnClass

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

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

+
+

getValueAsString

+
+open fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

lock

+
+open fun lock(): Unit +

Locks the file input (disabling all buttons except a cancel button).

+
+

removeEventListeners

+
+open fun removeEventListeners(): Widget +

Removes all event listeners from current widget.

+
+

resetInput

+
+open fun resetInput(): Unit +

Resets the file input control.

+
+

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.

+
+

unlock

+
+open fun unlock(): Unit +

Unlocks the file input.

+
+

upload

+
+open fun upload(): Unit +

Trigger ajax upload (only for ajax mode).

+
+

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.

+
+

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.

+
+

getChildren

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

Returns a list of children of the current container.

+
+

getValue

+
+open fun getValue(): List<File>? +

Returns the value of the control.

+
+

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.

+
+

setValue

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

Sets the value of the control.

+
+

Companion Object Functions

+ + + + + + + +
+

upload

+
+fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: Upload.() -> Unit = null): Upload +

DSL builder extension function.

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

input

+ +val input: UploadInput +

Overrides FormControl.input

+

The actual input component.

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

label

+ +var label: String? +

The label text bound to the spinner input element.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/lock.html b/api/pl.treksoft.kvision.form.upload/-upload/lock.html new file mode 100644 index 00000000..33cf8bd6 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/lock.html @@ -0,0 +1,15 @@ + + + +Upload.lock - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / lock
+
+

lock

+ +open fun lock(): Unit +

Locks the file input (disabling all buttons except a cancel button).

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

multiple

+ +var multiple: Boolean +

Determines if multiple file upload is supported.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/prefer-iconic-preview.html b/api/pl.treksoft.kvision.form.upload/-upload/prefer-iconic-preview.html new file mode 100644 index 00000000..71e715bb --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/prefer-iconic-preview.html @@ -0,0 +1,15 @@ + + + +Upload.preferIconicPreview - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / preferIconicPreview
+
+

preferIconicPreview

+ +var preferIconicPreview: Boolean +

Determines if the iconic preview is prefered.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/remove-event-listeners.html b/api/pl.treksoft.kvision.form.upload/-upload/remove-event-listeners.html new file mode 100644 index 00000000..804b2aa2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +Upload.removeEventListeners - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / 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.upload/-upload/required.html b/api/pl.treksoft.kvision.form.upload/-upload/required.html new file mode 100644 index 00000000..8f1ac1eb --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/required.html @@ -0,0 +1,15 @@ + + + +Upload.required - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / required
+
+

required

+ +var required: Boolean +

Determines if the input selection is required.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/reset-input.html b/api/pl.treksoft.kvision.form.upload/-upload/reset-input.html new file mode 100644 index 00000000..00f1e2f8 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/reset-input.html @@ -0,0 +1,15 @@ + + + +Upload.resetInput - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / resetInput
+
+

resetInput

+ +open fun resetInput(): Unit +

Resets the file input control.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/rich.html b/api/pl.treksoft.kvision.form.upload/-upload/rich.html new file mode 100644 index 00000000..1ae8819e --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/rich.html @@ -0,0 +1,15 @@ + + + +Upload.rich - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / rich
+
+

rich

+ +var rich: Boolean +

Determines if label can contain HTML code.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/set-event-listener.html b/api/pl.treksoft.kvision.form.upload/-upload/set-event-listener.html new file mode 100644 index 00000000..1e133847 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/set-event-listener.html @@ -0,0 +1,54 @@ + + + +Upload.setEventListener - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / 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.upload/-upload/show-browse.html b/api/pl.treksoft.kvision.form.upload/-upload/show-browse.html new file mode 100644 index 00000000..356f8cc3 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/show-browse.html @@ -0,0 +1,15 @@ + + + +Upload.showBrowse - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / showBrowse
+
+

showBrowse

+ +var showBrowse: Boolean +

Determines if the file browse button is shown.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/show-cancel.html b/api/pl.treksoft.kvision.form.upload/-upload/show-cancel.html new file mode 100644 index 00000000..6784c5e2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/show-cancel.html @@ -0,0 +1,15 @@ + + + +Upload.showCancel - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / showCancel
+
+

showCancel

+ +var showCancel: Boolean +

Determines if the cancel button is shown.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/show-caption.html b/api/pl.treksoft.kvision.form.upload/-upload/show-caption.html new file mode 100644 index 00000000..6a61f972 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/show-caption.html @@ -0,0 +1,15 @@ + + + +Upload.showCaption - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / showCaption
+
+

showCaption

+ +var showCaption: Boolean +

Determines if the caption is shown.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/show-preview.html b/api/pl.treksoft.kvision.form.upload/-upload/show-preview.html new file mode 100644 index 00000000..04327037 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/show-preview.html @@ -0,0 +1,15 @@ + + + +Upload.showPreview - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / showPreview
+
+

showPreview

+ +var showPreview: Boolean +

Determines if the preview is shown.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/show-remove.html b/api/pl.treksoft.kvision.form.upload/-upload/show-remove.html new file mode 100644 index 00000000..75d29416 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/show-remove.html @@ -0,0 +1,15 @@ + + + +Upload.showRemove - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / showRemove
+
+

showRemove

+ +var showRemove: Boolean +

Determines if the remove button is shown.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/show-upload.html b/api/pl.treksoft.kvision.form.upload/-upload/show-upload.html new file mode 100644 index 00000000..34898831 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/show-upload.html @@ -0,0 +1,15 @@ + + + +Upload.showUpload - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / showUpload
+
+

showUpload

+ +var showUpload: Boolean +

Determines if the upload button is shown.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/unlock.html b/api/pl.treksoft.kvision.form.upload/-upload/unlock.html new file mode 100644 index 00000000..9054c6fe --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/unlock.html @@ -0,0 +1,15 @@ + + + +Upload.unlock - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / unlock
+
+

unlock

+ +open fun unlock(): Unit +

Unlocks the file input.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/upload-extra-data.html b/api/pl.treksoft.kvision.form.upload/-upload/upload-extra-data.html new file mode 100644 index 00000000..2f161eb2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/upload-extra-data.html @@ -0,0 +1,15 @@ + + + +Upload.uploadExtraData - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / uploadExtraData
+
+

uploadExtraData

+ +var uploadExtraData: (String, Int) -> dynamic +

The extra data that will be passed as data to the AJAX server call via POST.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/upload-url.html b/api/pl.treksoft.kvision.form.upload/-upload/upload-url.html new file mode 100644 index 00000000..4dc61eb3 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/upload-url.html @@ -0,0 +1,16 @@ + + + +Upload.uploadUrl - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / uploadUrl
+
+

uploadUrl

+ +var uploadUrl: String? +

The optional URL for the upload processing action. +If not set the upload button action will default to form submission.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/upload.html b/api/pl.treksoft.kvision.form.upload/-upload/upload.html new file mode 100644 index 00000000..b81d1c6c --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/upload.html @@ -0,0 +1,19 @@ + + + +Upload.upload - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / upload
+
+

upload

+ +open fun upload(): Unit +

Trigger ajax upload (only for ajax mode).

+ +fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: Upload.() -> Unit = null): Upload +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/validation-info.html b/api/pl.treksoft.kvision.form.upload/-upload/validation-info.html new file mode 100644 index 00000000..c66192ee --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/validation-info.html @@ -0,0 +1,16 @@ + + + +Upload.validationInfo - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / validationInfo
+
+

validationInfo

+ +val validationInfo: HelpBlock +

Overrides FormControl.validationInfo

+

Validation info component.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/value.html b/api/pl.treksoft.kvision.form.upload/-upload/value.html new file mode 100644 index 00000000..30d1105f --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/value.html @@ -0,0 +1,16 @@ + + + +Upload.value - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / value
+
+

value

+ +open var value: List<File>? +

Overrides FilesFormControl.value

+

File input value.

+ + diff --git a/api/pl.treksoft.kvision.form.upload/index.html b/api/pl.treksoft.kvision.form.upload/index.html new file mode 100644 index 00000000..bb4120a9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/index.html @@ -0,0 +1,36 @@ + + + +pl.treksoft.kvision.form.upload - kvision + + + +kvision / pl.treksoft.kvision.form.upload
+
+

Package pl.treksoft.kvision.form.upload

+

Full-featured file upload component with drag & drop, preview and AJAX upload mode.

+

Types

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

Upload

+
+open class Upload : SimplePanel, FilesFormControl +

The form field file upload component.

+
+

UploadInput

+
+open class UploadInput : Widget, FormInput +

The file upload component.

+
+ + diff --git a/api/pl.treksoft.kvision.form/-bool-form-control/index.html b/api/pl.treksoft.kvision.form/-bool-form-control/index.html index 2b05a0a2..edf77b6a 100644 --- a/api/pl.treksoft.kvision.form/-bool-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-bool-form-control/index.html @@ -32,7 +32,7 @@

disabled

-abstract var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -50,17 +50,26 @@

input

-abstract val input: Component +abstract val input: FormInput

The actual input component.

+

name

+ + +open var name: String? +

The name attribute of the generated HTML input element.

+ + + +

size

-abstract var size: InputSize? -

Input control size.

+open var size: InputSize? +

Input control field size.

diff --git a/api/pl.treksoft.kvision.form/-date-form-control/index.html b/api/pl.treksoft.kvision.form/-date-form-control/index.html index e3b143ac..50ea07c0 100644 --- a/api/pl.treksoft.kvision.form/-date-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-date-form-control/index.html @@ -32,7 +32,7 @@

disabled

-abstract var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -50,17 +50,26 @@

input

-abstract val input: Component +abstract val input: FormInput

The actual input component.

+

name

+ + +open var name: String? +

The name attribute of the generated HTML input element.

+ + + +

size

-abstract var size: InputSize? -

Input control size.

+open var size: InputSize? +

Input control field size.

diff --git a/api/pl.treksoft.kvision.form/-field-label/-init-.html b/api/pl.treksoft.kvision.form/-field-label/-init-.html index 329b7a8a..3aa53a78 100644 --- a/api/pl.treksoft.kvision.form/-field-label/-init-.html +++ b/api/pl.treksoft.kvision.form/-field-label/-init-.html @@ -9,14 +9,14 @@

<init>

-FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label")) +FieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))

Parameters

forId - the value of for attribute

-

-text - the text of the label

+

+content - the text of the label

-rich - determines if text can contain HTML code

+rich - determines if content can contain HTML code

classes - a set of CSS class names

Constructor
diff --git a/api/pl.treksoft.kvision.form/-field-label/index.html b/api/pl.treksoft.kvision.form/-field-label/index.html index 8aba67d7..ba165506 100644 --- a/api/pl.treksoft.kvision.form/-field-label/index.html +++ b/api/pl.treksoft.kvision.form/-field-label/index.html @@ -18,7 +18,7 @@

<init>

-FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label")) +FieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label")) @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

diff --git a/api/pl.treksoft.kvision.form/-files-form-control/get-value-as-string.html b/api/pl.treksoft.kvision.form/-files-form-control/get-value-as-string.html new file mode 100644 index 00000000..42ba9c0f --- /dev/null +++ b/api/pl.treksoft.kvision.form/-files-form-control/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +FilesFormControl.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form / FilesFormControl / getValueAsString
+
+

getValueAsString

+ +open fun getValueAsString(): String? +

Overrides FormControl.getValueAsString

+

Returns the value of the control as a String.

+ + diff --git a/api/pl.treksoft.kvision.form/-files-form-control/get-value.html b/api/pl.treksoft.kvision.form/-files-form-control/get-value.html new file mode 100644 index 00000000..c84da632 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-files-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +FilesFormControl.getValue - kvision + + + +kvision / pl.treksoft.kvision.form / FilesFormControl / getValue
+
+

getValue

+ +open fun getValue(): List<File>? +

Overrides FormControl.getValue

+

Returns the value of the control.

+

Return
+the value

+ + diff --git a/api/pl.treksoft.kvision.form/-files-form-control/index.html b/api/pl.treksoft.kvision.form/-files-form-control/index.html new file mode 100644 index 00000000..b364e491 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-files-form-control/index.html @@ -0,0 +1,165 @@ + + + +FilesFormControl - kvision + + + +kvision / pl.treksoft.kvision.form / FilesFormControl
+
+

FilesFormControl

+interface FilesFormControl : FormControl +

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

+

Properties

+ + + + + + + +
+

value

+
+abstract var value: List<File>? +

List of files value.

+
+

Inherited Properties

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

disabled

+
+open var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: FormInput +

The actual input component.

+
+

name

+
+open var name: String? +

The name attribute of the generated HTML input element.

+
+

size

+
+open var size: InputSize? +

Input control field size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Functions

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

getValue

+
+open fun getValue(): List<File>? +

Returns the value of the control.

+
+

getValueAsString

+
+open fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

setValue

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

Sets the value of the control.

+
+

Inherited Functions

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

blur

+
+abstract fun blur(): Unit +

Makes the input element blur.

+
+

focus

+
+abstract fun focus(): Unit +

Makes the input element focused.

+
+

Inheritors

+ + + + + + + +
+

Upload

+
+open class Upload : SimplePanel, FilesFormControl +

The form field file upload component.

+
+ + diff --git a/api/pl.treksoft.kvision.form/-files-form-control/set-value.html b/api/pl.treksoft.kvision.form/-files-form-control/set-value.html new file mode 100644 index 00000000..ceefa66c --- /dev/null +++ b/api/pl.treksoft.kvision.form/-files-form-control/set-value.html @@ -0,0 +1,19 @@ + + + +FilesFormControl.setValue - kvision + + + +kvision / pl.treksoft.kvision.form / FilesFormControl / setValue
+
+

setValue

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

Overrides FormControl.setValue

+

Sets the value of the control.

+

Parameters

+

+v - the value

+ + diff --git a/api/pl.treksoft.kvision.form/-files-form-control/value.html b/api/pl.treksoft.kvision.form/-files-form-control/value.html new file mode 100644 index 00000000..51770986 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-files-form-control/value.html @@ -0,0 +1,15 @@ + + + +FilesFormControl.value - kvision + + + +kvision / pl.treksoft.kvision.form / FilesFormControl / value
+
+

value

+ +abstract var value: List<File>? +

List of files value.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-control/disabled.html b/api/pl.treksoft.kvision.form/-form-control/disabled.html index ac5dc5aa..81099781 100644 --- a/api/pl.treksoft.kvision.form/-form-control/disabled.html +++ b/api/pl.treksoft.kvision.form/-form-control/disabled.html @@ -9,7 +9,7 @@

disabled

-abstract var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

diff --git a/api/pl.treksoft.kvision.form/-form-control/index.html b/api/pl.treksoft.kvision.form/-form-control/index.html index 5173b862..8fe99e19 100644 --- a/api/pl.treksoft.kvision.form/-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-form-control/index.html @@ -18,7 +18,7 @@

disabled

-abstract var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -36,17 +36,26 @@

input

-abstract val input: Component +abstract val input: FormInput

The actual input component.

+

name

+ + +open var name: String? +

The name attribute of the generated HTML input element.

+ + + +

size

-abstract var size: InputSize? -

Input control size.

+open var size: InputSize? +

Input control field size.

@@ -77,7 +86,7 @@

parent

-abstract var parent: Component? +abstract var parent: Container?

Parent of the current component.

@@ -233,6 +242,15 @@ +

FilesFormControl

+ + +interface FilesFormControl : FormControl +

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

+ + + +

NumberFormControl

diff --git a/api/pl.treksoft.kvision.form/-form-control/input.html b/api/pl.treksoft.kvision.form/-form-control/input.html index 6ed80ddd..8d3ba88e 100644 --- a/api/pl.treksoft.kvision.form/-form-control/input.html +++ b/api/pl.treksoft.kvision.form/-form-control/input.html @@ -9,7 +9,7 @@

input

-abstract val input: Component +abstract val input: FormInput

The actual input component.

diff --git a/api/pl.treksoft.kvision.form/-form-control/name.html b/api/pl.treksoft.kvision.form/-form-control/name.html new file mode 100644 index 00000000..d92e4636 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-control/name.html @@ -0,0 +1,15 @@ + + + +FormControl.name - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / name
+
+

name

+ +open var name: String? +

The name attribute of the generated HTML input element.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-control/size.html b/api/pl.treksoft.kvision.form/-form-control/size.html index 21465a15..270bcbc8 100644 --- a/api/pl.treksoft.kvision.form/-form-control/size.html +++ b/api/pl.treksoft.kvision.form/-form-control/size.html @@ -9,7 +9,7 @@

size

-abstract var size: InputSize? -

Input control size.

+open var size: InputSize? +

Input control field size.

diff --git a/api/pl.treksoft.kvision.form/-form-enctype/-m-u-l-t-i-p-a-r-t.html b/api/pl.treksoft.kvision.form/-form-enctype/-m-u-l-t-i-p-a-r-t.html new file mode 100644 index 00000000..e9d92a1a --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-enctype/-m-u-l-t-i-p-a-r-t.html @@ -0,0 +1,14 @@ + + + +FormEnctype.MULTIPART - kvision + + + +kvision / pl.treksoft.kvision.form / FormEnctype / MULTIPART
+
+

MULTIPART

+ +MULTIPART + + diff --git a/api/pl.treksoft.kvision.form/-form-enctype/-p-l-a-i-n.html b/api/pl.treksoft.kvision.form/-form-enctype/-p-l-a-i-n.html new file mode 100644 index 00000000..26dd0456 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-enctype/-p-l-a-i-n.html @@ -0,0 +1,14 @@ + + + +FormEnctype.PLAIN - kvision + + + +kvision / pl.treksoft.kvision.form / FormEnctype / PLAIN
+
+

PLAIN

+ +PLAIN + + diff --git a/api/pl.treksoft.kvision.form/-form-enctype/-u-r-l-e-n-c-o-d-e-d.html b/api/pl.treksoft.kvision.form/-form-enctype/-u-r-l-e-n-c-o-d-e-d.html new file mode 100644 index 00000000..14e69ebc --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-enctype/-u-r-l-e-n-c-o-d-e-d.html @@ -0,0 +1,14 @@ + + + +FormEnctype.URLENCODED - kvision + + + +kvision / pl.treksoft.kvision.form / FormEnctype / URLENCODED
+
+

URLENCODED

+ +URLENCODED + + diff --git a/api/pl.treksoft.kvision.form/-form-enctype/index.html b/api/pl.treksoft.kvision.form/-form-enctype/index.html new file mode 100644 index 00000000..3665460a --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-enctype/index.html @@ -0,0 +1,40 @@ + + + +FormEnctype - kvision + + + +kvision / pl.treksoft.kvision.form / FormEnctype
+
+

FormEnctype

+enum class FormEnctype +

Form encoding types.

+

Enum Values

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

URLENCODED

+
+
+

MULTIPART

+
+
+

PLAIN

+
+
+ + diff --git a/api/pl.treksoft.kvision.form/-form-input/disabled.html b/api/pl.treksoft.kvision.form/-form-input/disabled.html new file mode 100644 index 00000000..be64c7f7 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-input/disabled.html @@ -0,0 +1,15 @@ + + + +FormInput.disabled - kvision + + + +kvision / pl.treksoft.kvision.form / FormInput / disabled
+
+

disabled

+ +abstract var disabled: Boolean +

Determines if the field is disabled.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-input/index.html b/api/pl.treksoft.kvision.form/-form-input/index.html new file mode 100644 index 00000000..fd61b517 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-input/index.html @@ -0,0 +1,195 @@ + + + +FormInput - kvision + + + +kvision / pl.treksoft.kvision.form / FormInput
+
+

FormInput

+interface FormInput : Component +

Properties

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

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

name

+
+abstract var name: String? +

The name attribute of the generated HTML input element.

+
+

size

+
+abstract var size: InputSize? +

Input control field size.

+
+

Inherited Properties

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

parent

+
+abstract var parent: Container? +

Parent of the current component.

+
+

visible

+
+abstract var visible: Boolean +

Visibility state of the current component.

+
+

Inherited Functions

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

addCssClass

+
+abstract fun addCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of current component.

+
+

addSurroundingCssClass

+
+abstract fun addSurroundingCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of parent component.

+
+

getElement

+
+abstract fun getElement(): Node? +

Returns DOM element bound to the current component.

+
+

getElementJQuery

+
+abstract fun getElementJQuery(): JQuery? +

Returns JQuery element bound to the current component.

+
+

getElementJQueryD

+
+abstract fun getElementJQueryD(): dynamic +

Returns JQuery element bound to the current component as a dynamic type.

+
+

removeCssClass

+
+abstract fun removeCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of current component.

+
+

removeSurroundingCssClass

+
+abstract fun removeSurroundingCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of parent component.

+
+

Inheritors

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

AbstractTextInput

+
+abstract class AbstractTextInput : Widget, FormInput +

Base class for basic text components.

+
+

CheckInput

+
+open class CheckInput : Widget, FormInput +

The basic input component rendered as HTML input type="checkbox" or input type="radio".

+
+

DateTimeInput

+
+open class DateTimeInput : Widget, FormInput +

Basic date/time chooser component.

+
+

SelectInput

+
+open class SelectInput : SimplePanel, FormInput +

The basic component for Select control.

+
+

SpinnerInput

+
+open class SpinnerInput : Widget, FormInput +

The basic component for spinner control.

+
+

UploadInput

+
+open class UploadInput : Widget, FormInput +

The file upload component.

+
+ + diff --git a/api/pl.treksoft.kvision.form/-form-input/name.html b/api/pl.treksoft.kvision.form/-form-input/name.html new file mode 100644 index 00000000..8d920881 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-input/name.html @@ -0,0 +1,15 @@ + + + +FormInput.name - kvision + + + +kvision / pl.treksoft.kvision.form / FormInput / name
+
+

name

+ +abstract var name: String? +

The name attribute of the generated HTML input element.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-input/size.html b/api/pl.treksoft.kvision.form/-form-input/size.html new file mode 100644 index 00000000..2952df45 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-input/size.html @@ -0,0 +1,15 @@ + + + +FormInput.size - kvision + + + +kvision / pl.treksoft.kvision.form / FormInput / size
+
+

size

+ +abstract var size: InputSize? +

Input control field size.

+ + diff --git a/api/pl.treksoft.kvision.form/-form-method/-g-e-t.html b/api/pl.treksoft.kvision.form/-form-method/-g-e-t.html new file mode 100644 index 00000000..275e9644 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-method/-g-e-t.html @@ -0,0 +1,14 @@ + + + +FormMethod.GET - kvision + + + +kvision / pl.treksoft.kvision.form / FormMethod / GET
+
+

GET

+ +GET + + diff --git a/api/pl.treksoft.kvision.form/-form-method/-p-o-s-t.html b/api/pl.treksoft.kvision.form/-form-method/-p-o-s-t.html new file mode 100644 index 00000000..b7040ea2 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-method/-p-o-s-t.html @@ -0,0 +1,14 @@ + + + +FormMethod.POST - kvision + + + +kvision / pl.treksoft.kvision.form / FormMethod / POST
+
+

POST

+ +POST + + diff --git a/api/pl.treksoft.kvision.form/-form-method/index.html b/api/pl.treksoft.kvision.form/-form-method/index.html new file mode 100644 index 00000000..71b22828 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-method/index.html @@ -0,0 +1,33 @@ + + + +FormMethod - kvision + + + +kvision / pl.treksoft.kvision.form / FormMethod
+
+

FormMethod

+enum class FormMethod +

Form methods.

+

Enum Values

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

GET

+
+
+

POST

+
+
+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/-init-.html b/api/pl.treksoft.kvision.form/-form-panel/-init-.html index 754f2a51..e2eb6cf7 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/-init-.html +++ b/api/pl.treksoft.kvision.form/-form-panel/-init-.html @@ -8,11 +8,17 @@ kvision / pl.treksoft.kvision.form / FormPanel / <init>

<init>

- -FormPanel(type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K) + +FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K)

Parameters

K - model class type

+

+method - HTTP method

+

+action - the URL address to send data

+

+enctype - form encoding type

type - form layout

diff --git a/api/pl.treksoft.kvision.form/-form-panel/action.html b/api/pl.treksoft.kvision.form/-form-panel/action.html new file mode 100644 index 00000000..0c8c0b9c --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/action.html @@ -0,0 +1,21 @@ + + + +FormPanel.action - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / action
+
+

action

+ +var action: String? +

The URL address to send data.

+

Getter
+

The URL address to send data.

+

+

Setter
+

The URL address to send data.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/add.html b/api/pl.treksoft.kvision.form/-form-panel/add.html index 4d325c15..0c9fd3ca 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/add.html +++ b/api/pl.treksoft.kvision.form/-form-panel/add.html @@ -72,5 +72,21 @@ current form panel

validator - optional validation function

Return
current form panel

+ +open fun <C : FilesFormControl> add(key: KProperty1<K, List<File>?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K> +

Adds a files control to the form panel.

+

Parameters

+

+key - key identifier of the control

+

+control - the files form control

+

+required - determines if the control is required

+

+validatorMessage - optional function returning validation message

+

+validator - optional validation function

+

Return
+current form panel

diff --git a/api/pl.treksoft.kvision.form/-form-panel/autocomplete.html b/api/pl.treksoft.kvision.form/-form-panel/autocomplete.html new file mode 100644 index 00000000..ac2784b1 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/autocomplete.html @@ -0,0 +1,21 @@ + + + +FormPanel.autocomplete - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / autocomplete
+
+

autocomplete

+ +var autocomplete: Boolean? +

Determines if the form should have autocomplete.

+

Getter
+

Determines if the form should have autocomplete.

+

+

Setter
+

Determines if the form should have autocomplete.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/enctype.html b/api/pl.treksoft.kvision.form/-form-panel/enctype.html new file mode 100644 index 00000000..a1bb7f09 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/enctype.html @@ -0,0 +1,21 @@ + + + +FormPanel.enctype - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / enctype
+
+

enctype

+ +var enctype: FormEnctype? +

The form encoding type.

+

Getter
+

The form encoding type.

+

+

Setter
+

The form encoding type.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/form-panel.html b/api/pl.treksoft.kvision.form/-form-panel/form-panel.html index 6410911f..11590ed4 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/form-panel.html +++ b/api/pl.treksoft.kvision.form/-form-panel/form-panel.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form / FormPanel / formPanel

formPanel

- -fun <K> Container.formPanel(type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K): FormPanel<K> + +fun <K> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K): FormPanel<K>

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form/-form-panel/get-sn-attrs.html b/api/pl.treksoft.kvision.form/-form-panel/get-sn-attrs.html new file mode 100644 index 00000000..6a222e89 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +FormPanel.getSnAttrs - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / getSnAttrs
+
+

getSnAttrs

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

Overrides Widget.getSnAttrs

+

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

+

Return
+list of element attributes

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/index.html b/api/pl.treksoft.kvision.form/-form-panel/index.html index 2a99b314..8268f58f 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/index.html +++ b/api/pl.treksoft.kvision.form/-form-panel/index.html @@ -18,7 +18,7 @@

<init>

-FormPanel(type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K) +FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K) @@ -27,6 +27,69 @@ +

action

+ + +var action: String? +

The URL address to send data.

+ + + + +

autocomplete

+ + +var autocomplete: Boolean? +

Determines if the form should have autocomplete.

+ + + + +

enctype

+ + +var enctype: FormEnctype? +

The form encoding type.

+ + + + +

method

+ + +var method: FormMethod? +

HTTP method.

+ + + + +

name

+ + +var name: String? +

The form name.

+ + + + +

novalidate

+ + +var novalidate: Boolean? +

Determines if the form is not validated.

+ + + + +

target

+ + +var target: FormTarget? +

The form target.

+ + + +

validator

@@ -61,6 +124,8 @@

Adds a number control to the form panel.

open fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K>

Adds a date control to the form panel.

+open fun <C : FilesFormControl> add(key: KProperty1<K, List<File>?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K> +

Adds a files control to the form panel.

@@ -117,6 +182,15 @@ +

getSnAttrs

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

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

+ + + +

getSnClass

@@ -238,7 +312,7 @@

formPanel

-fun <K> Container.formPanel(type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K): FormPanel<K> +fun <K> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K): FormPanel<K>

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form/-form-panel/method.html b/api/pl.treksoft.kvision.form/-form-panel/method.html new file mode 100644 index 00000000..7ca06019 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/method.html @@ -0,0 +1,21 @@ + + + +FormPanel.method - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / method
+
+

method

+ +var method: FormMethod? +

HTTP method.

+

Getter
+

HTTP method.

+

+

Setter
+

HTTP method.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/name.html b/api/pl.treksoft.kvision.form/-form-panel/name.html new file mode 100644 index 00000000..6bd945d4 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/name.html @@ -0,0 +1,21 @@ + + + +FormPanel.name - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / name
+
+

name

+ +var name: String? +

The form name.

+

Getter
+

The form name.

+

+

Setter
+

The form name.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/novalidate.html b/api/pl.treksoft.kvision.form/-form-panel/novalidate.html new file mode 100644 index 00000000..fdd7b2f5 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/novalidate.html @@ -0,0 +1,21 @@ + + + +FormPanel.novalidate - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / novalidate
+
+

novalidate

+ +var novalidate: Boolean? +

Determines if the form is not validated.

+

Getter
+

Determines if the form is not validated.

+

+

Setter
+

Determines if the form is not validated.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/target.html b/api/pl.treksoft.kvision.form/-form-panel/target.html new file mode 100644 index 00000000..97f36931 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/target.html @@ -0,0 +1,21 @@ + + + +FormPanel.target - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / target
+
+

target

+ +var target: FormTarget? +

The form target.

+

Getter
+

The form target.

+

+

Setter
+

The form target.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-target/-b-l-a-n-k.html b/api/pl.treksoft.kvision.form/-form-target/-b-l-a-n-k.html new file mode 100644 index 00000000..58958b51 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-target/-b-l-a-n-k.html @@ -0,0 +1,14 @@ + + + +FormTarget.BLANK - kvision + + + +kvision / pl.treksoft.kvision.form / FormTarget / BLANK
+
+

BLANK

+ +BLANK + + diff --git a/api/pl.treksoft.kvision.form/-form-target/-p-a-r-e-n-t.html b/api/pl.treksoft.kvision.form/-form-target/-p-a-r-e-n-t.html new file mode 100644 index 00000000..c90e7bf1 --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-target/-p-a-r-e-n-t.html @@ -0,0 +1,14 @@ + + + +FormTarget.PARENT - kvision + + + +kvision / pl.treksoft.kvision.form / FormTarget / PARENT
+
+

PARENT

+ +PARENT + + diff --git a/api/pl.treksoft.kvision.form/-form-target/-s-e-l-f.html b/api/pl.treksoft.kvision.form/-form-target/-s-e-l-f.html new file mode 100644 index 00000000..f55d9d2a --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-target/-s-e-l-f.html @@ -0,0 +1,14 @@ + + + +FormTarget.SELF - kvision + + + +kvision / pl.treksoft.kvision.form / FormTarget / SELF
+
+

SELF

+ +SELF + + diff --git a/api/pl.treksoft.kvision.form/-form-target/-t-o-p.html b/api/pl.treksoft.kvision.form/-form-target/-t-o-p.html new file mode 100644 index 00000000..d7be069a --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-target/-t-o-p.html @@ -0,0 +1,14 @@ + + + +FormTarget.TOP - kvision + + + +kvision / pl.treksoft.kvision.form / FormTarget / TOP
+
+

TOP

+ +TOP + + diff --git a/api/pl.treksoft.kvision.form/-form-target/index.html b/api/pl.treksoft.kvision.form/-form-target/index.html new file mode 100644 index 00000000..16ee0f8c --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-target/index.html @@ -0,0 +1,47 @@ + + + +FormTarget - kvision + + + +kvision / pl.treksoft.kvision.form / FormTarget
+
+

FormTarget

+enum class FormTarget +

Form targets.

+

Enum Values

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

BLANK

+
+
+

SELF

+
+
+

PARENT

+
+
+

TOP

+
+
+ + diff --git a/api/pl.treksoft.kvision.form/-form/add.html b/api/pl.treksoft.kvision.form/-form/add.html index 13098c33..2980cadf 100644 --- a/api/pl.treksoft.kvision.form/-form/add.html +++ b/api/pl.treksoft.kvision.form/-form/add.html @@ -72,5 +72,21 @@ current form

validator - optional validation function

Return
current form

+ +fun <C : FilesFormControl> add(key: KProperty1<K, List<File>?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K> +

Adds a files control to the form.

+

Parameters

+

+key - key identifier of the control

+

+control - the files form control

+

+required - determines if the control is required

+

+validatorMessage - optional function returning validation message

+

+validator - optional validation function

+

Return
+current form

diff --git a/api/pl.treksoft.kvision.form/-form/index.html b/api/pl.treksoft.kvision.form/-form/index.html index 8686b022..47af0804 100644 --- a/api/pl.treksoft.kvision.form/-form/index.html +++ b/api/pl.treksoft.kvision.form/-form/index.html @@ -40,6 +40,8 @@

Adds a number control to the form.

fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K>

Adds a date control to the form.

+fun <C : FilesFormControl> add(key: KProperty1<K, List<File>?>, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K> +

Adds a files control to the form.

diff --git a/api/pl.treksoft.kvision.form/-help-block/-init-.html b/api/pl.treksoft.kvision.form/-help-block/-init-.html index 47e893e4..104d8fd8 100644 --- a/api/pl.treksoft.kvision.form/-help-block/-init-.html +++ b/api/pl.treksoft.kvision.form/-help-block/-init-.html @@ -9,12 +9,12 @@

<init>

-HelpBlock(text: String? = null, rich: Boolean = false) +HelpBlock(content: String? = null, rich: Boolean = false)

Parameters

-

-text - the text of the label

+

+content - the text of the label

-rich - determines if text can contain HTML code

+rich - determines if content can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form/-help-block/index.html b/api/pl.treksoft.kvision.form/-help-block/index.html index ba60713e..6d0ef9e5 100644 --- a/api/pl.treksoft.kvision.form/-help-block/index.html +++ b/api/pl.treksoft.kvision.form/-help-block/index.html @@ -18,7 +18,7 @@

<init>

-HelpBlock(text: String? = null, rich: Boolean = false) +HelpBlock(content: String? = null, rich: Boolean = false) @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

diff --git a/api/pl.treksoft.kvision.form/-number-form-control/index.html b/api/pl.treksoft.kvision.form/-number-form-control/index.html index 1851078e..3795c77c 100644 --- a/api/pl.treksoft.kvision.form/-number-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-number-form-control/index.html @@ -32,7 +32,7 @@

disabled

-abstract var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -50,17 +50,26 @@

input

-abstract val input: Component +abstract val input: FormInput

The actual input component.

+

name

+ + +open var name: String? +

The name attribute of the generated HTML input element.

+ + + +

size

-abstract var size: InputSize? -

Input control size.

+open var size: InputSize? +

Input control field size.

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 a2d551fb..2b6d030d 100644 --- a/api/pl.treksoft.kvision.form/-string-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-string-form-control/index.html @@ -32,7 +32,7 @@

disabled

-abstract var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

@@ -50,17 +50,26 @@

input

-abstract val input: Component +abstract val input: FormInput

The actual input component.

+

name

+ + +open var name: String? +

The name attribute of the generated HTML input element.

+ + + +

size

-abstract var size: InputSize? -

Input control size.

+open var size: InputSize? +

Input control field size.

diff --git a/api/pl.treksoft.kvision.form/index.html b/api/pl.treksoft.kvision.form/index.html index 54e330fd..697f5400 100644 --- a/api/pl.treksoft.kvision.form/index.html +++ b/api/pl.treksoft.kvision.form/index.html @@ -42,6 +42,15 @@ validation.

+

FilesFormControl

+ + +interface FilesFormControl : FormControl +

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

+ + + +

Form

@@ -60,6 +69,31 @@ validation.

+

FormEnctype

+ + +enum class FormEnctype +

Form encoding types.

+ + + + +

FormInput

+ + +interface FormInput : Component + + + +

FormMethod

+ + +enum class FormMethod +

Form methods.

+ + + +

FormPanel

@@ -69,6 +103,15 @@ validation.

+

FormTarget

+ + +enum class FormTarget +

Form targets.

+ + + +

FormType

diff --git a/api/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html b/api/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html new file mode 100644 index 00000000..4c82579f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html @@ -0,0 +1,14 @@ + + + +ButtonType.BUTTON - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonType / BUTTON
+
+

BUTTON

+ +BUTTON + + diff --git a/api/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html b/api/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html new file mode 100644 index 00000000..5fe96db0 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html @@ -0,0 +1,14 @@ + + + +ButtonType.RESET - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonType / RESET
+
+

RESET

+ +RESET + + diff --git a/api/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html b/api/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html new file mode 100644 index 00000000..ac715940 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html @@ -0,0 +1,14 @@ + + + +ButtonType.SUBMIT - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonType / SUBMIT
+
+

SUBMIT

+ +SUBMIT + + diff --git a/api/pl.treksoft.kvision.html/-button-type/index.html b/api/pl.treksoft.kvision.html/-button-type/index.html new file mode 100644 index 00000000..6a6009d1 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button-type/index.html @@ -0,0 +1,40 @@ + + + +ButtonType - kvision + + + +kvision / pl.treksoft.kvision.html / ButtonType
+
+

ButtonType

+enum class ButtonType +

Button types.

+

Enum Values

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

BUTTON

+
+
+

SUBMIT

+
+
+

RESET

+
+
+ + diff --git a/api/pl.treksoft.kvision.html/-button/-init-.html b/api/pl.treksoft.kvision.html/-button/-init-.html index 94e82aba..35134291 100644 --- a/api/pl.treksoft.kvision.html/-button/-init-.html +++ b/api/pl.treksoft.kvision.html/-button/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.html / Button / <init>

<init>

- -Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) + +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf())

Parameters

text - button label

diff --git a/api/pl.treksoft.kvision.html/-button/button.html b/api/pl.treksoft.kvision.html/-button/button.html index 95028d1d..9d26cdc1 100644 --- a/api/pl.treksoft.kvision.html/-button/button.html +++ b/api/pl.treksoft.kvision.html/-button/button.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.html / Button / button

button

- -fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button + +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.html/-button/index.html b/api/pl.treksoft.kvision.html/-button/index.html index b460f031..465b69a4 100644 --- a/api/pl.treksoft.kvision.html/-button/index.html +++ b/api/pl.treksoft.kvision.html/-button/index.html @@ -18,7 +18,7 @@

<init>

-Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf()) @@ -88,6 +88,15 @@

Button label.

+ + +

type

+ + +var type: ButtonType +

Button types.

+ +

Inherited Properties

@@ -116,7 +125,7 @@

parent

-open var parent: Component? +open var parent: Container?

Parent of the current component.

@@ -349,6 +358,15 @@ +

setContextMenu

+ + +open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + +

setDragDropData

@@ -414,7 +432,7 @@

button

-fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.html/-button/type.html b/api/pl.treksoft.kvision.html/-button/type.html new file mode 100644 index 00000000..697f0c9f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button/type.html @@ -0,0 +1,21 @@ + + + +Button.type - kvision + + + +kvision / pl.treksoft.kvision.html / Button / type
+
+

type

+ +var type: ButtonType +

Button types.

+

Getter
+

Button types.

+

+

Setter
+

Button types.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-div/-init-.html b/api/pl.treksoft.kvision.html/-div/-init-.html index 5d373c15..6eaa6fd7 100644 --- a/api/pl.treksoft.kvision.html/-div/-init-.html +++ b/api/pl.treksoft.kvision.html/-div/-init-.html @@ -9,12 +9,18 @@

<init>

-Div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null) +Div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null)

Parameters

-

-text - element text

+

+content - element text

-rich - determines if text can contain HTML code

+rich - determines if content can contain HTML code

+

+align - content align

+

+classes - a set of CSS class names

+

+init - an initializer extension function

Constructor

diff --git a/api/pl.treksoft.kvision.html/-div/div.html b/api/pl.treksoft.kvision.html/-div/div.html index 510e0ff1..4a63b7a8 100644 --- a/api/pl.treksoft.kvision.html/-div/div.html +++ b/api/pl.treksoft.kvision.html/-div/div.html @@ -9,7 +9,7 @@

div

-fun Container.div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div +fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.html/-div/index.html b/api/pl.treksoft.kvision.html/-div/index.html index 54750568..423abeaa 100644 --- a/api/pl.treksoft.kvision.html/-div/index.html +++ b/api/pl.treksoft.kvision.html/-div/index.html @@ -18,7 +18,7 @@

<init>

-Div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null) +Div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null) @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

@@ -94,7 +103,7 @@

div

-fun Container.div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div +fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.html/-icon/index.html b/api/pl.treksoft.kvision.html/-icon/index.html index 7a17ae76..d1085afd 100644 --- a/api/pl.treksoft.kvision.html/-icon/index.html +++ b/api/pl.treksoft.kvision.html/-icon/index.html @@ -50,20 +50,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

diff --git a/api/pl.treksoft.kvision.html/-iframe/-init-.html b/api/pl.treksoft.kvision.html/-iframe/-init-.html new file mode 100644 index 00000000..3823d817 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/-init-.html @@ -0,0 +1,31 @@ + + + +Iframe.<init> - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / <init>
+
+

<init>

+ +Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf()) +

Parameters

+

+src - the iframe document address

+

+srcdoc - the HTML content of the iframe

+

+name - the name of the iframe

+

+iframeWidth - the width of the iframe

+

+iframeHeight - the height of the iframe

+

+sandbox - a set of Sandbox options

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/get-sn-attrs.html b/api/pl.treksoft.kvision.html/-iframe/get-sn-attrs.html new file mode 100644 index 00000000..069b02a2 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +Iframe.getSnAttrs - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / getSnAttrs
+
+

getSnAttrs

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

Overrides Widget.getSnAttrs

+

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

+

Return
+list of element attributes

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/iframe-height.html b/api/pl.treksoft.kvision.html/-iframe/iframe-height.html new file mode 100644 index 00000000..a3f72945 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/iframe-height.html @@ -0,0 +1,21 @@ + + + +Iframe.iframeHeight - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / iframeHeight
+
+

iframeHeight

+ +var iframeHeight: Int? +

The height of the iframe.

+

Getter
+

The height of the iframe.

+

+

Setter
+

The height of the iframe.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/iframe-width.html b/api/pl.treksoft.kvision.html/-iframe/iframe-width.html new file mode 100644 index 00000000..046d9634 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/iframe-width.html @@ -0,0 +1,21 @@ + + + +Iframe.iframeWidth - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / iframeWidth
+
+

iframeWidth

+ +var iframeWidth: Int? +

The width of the iframe.

+

Getter
+

The width of the iframe.

+

+

Setter
+

The width of the iframe.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/iframe.html b/api/pl.treksoft.kvision.html/-iframe/iframe.html new file mode 100644 index 00000000..56e91573 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/iframe.html @@ -0,0 +1,16 @@ + + + +Iframe.iframe - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / iframe
+
+

iframe

+ +fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: Iframe.() -> Unit = null): Iframe +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/index.html b/api/pl.treksoft.kvision.html/-iframe/index.html new file mode 100644 index 00000000..a4d11c66 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/index.html @@ -0,0 +1,424 @@ + + + +Iframe - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe
+
+

Iframe

+open class Iframe : Widget +

Iframe component.

+

Constructors

+ + + + + + + +
+

<init>

+
+Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf())
+

Properties

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

iframeHeight

+
+var iframeHeight: Int? +

The height of the iframe.

+
+

iframeWidth

+
+var iframeWidth: Int? +

The width of the iframe.

+
+

location

+
+var location: String? +

A current location URL of the iframe.

+
+

name

+
+var name: String? +

The name of the iframe.

+
+

sandbox

+
+var sandbox: Set<Sandbox>? +

A set of Sandbox options.

+
+

src

+
+var src: String? +

The iframe document address.

+
+

srcdoc

+
+var srcdoc: String? +

The HTML content of the iframe.

+
+

Inherited Properties

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

draggable

+
+var draggable: Boolean? +

Determines if the current widget is draggable.

+
+

id

+
+var id: String? +

An ID attribute of generated HTML element.

+
+

parent

+
+open var parent: Container? +

Parent of the current component.

+
+

role

+
+var role: String? +

A role attribute of generated HTML element.

+
+

title

+
+var title: String? +

A title attribute of generated HTML element.

+
+

visible

+
+open var visible: Boolean +

Visibility state of the current component.

+
+

Functions

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

getSnAttrs

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

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

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Inherited Functions

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

addCssClass

+
+open fun addCssClass(css: String): Widget +

Adds given value to the set of CSS classes generated in html code of current component.

+
+

addSurroundingCssClass

+
+open fun addSurroundingCssClass(css: String): Widget +

Adds given value to the set of CSS classes generated in html code of parent component.

+
+

afterCreate

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

Method called after creating Snabbdom vnode.

+
+

afterDestroy

+
+open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

+
+

afterInsert

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

Method called after inserting Snabbdom vnode into the DOM.

+
+

afterPostpatch

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

Method called after updating Snabbdom vnode.

+
+

clearDragDropData

+
+open fun clearDragDropData(): Unit +

Clears D&D data for the current widget. It also makes it not draggable.

+
+

getElement

+
+open fun getElement(): Node? +

Returns DOM element bound to the current component.

+
+

getElementJQuery

+
+open fun getElementJQuery(): JQuery? +

Returns JQuery element bound to the current component.

+
+

getElementJQueryD

+
+open fun getElementJQueryD(): dynamic +

Returns JQuery element bound to the current component as a dynamic type.

+
+

getSnClass

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

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

+
+

getSnHooks

+
+open fun getSnHooks(): Hooks? +

Returns list of hooks in the form of a Snabbdom Hooks object.

+
+

getSnOn

+
+open fun getSnOn(): On? +

Returns list of event handlers in the form of a Snabbdom On object.

+
+

hide

+
+open fun hide(): Widget +

Makes current widget invisible.

+
+

removeCssClass

+
+open fun removeCssClass(css: String): Widget +

Removes given value from the set of CSS classes generated in html code of current component.

+
+

removeEventListeners

+
+open fun removeEventListeners(): Widget +

Removes all event listeners from current widget.

+
+

removeSurroundingCssClass

+
+open fun removeSurroundingCssClass(css: String): Widget +

Removes given value from the set of CSS classes generated in html code of parent component.

+
+

render

+
+open fun render(elementName: String): VNode
+open fun render(elementName: String, children: Array<dynamic>): VNode +

Renders current component as a Snabbdom vnode.

+
+

setContextMenu

+
+open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

setDragDropData

+
+open fun setDragDropData(format: String, data: String): Unit +

Sets D&D data for the current widget. It also makes it draggable.

+
+

setDropTarget

+
+open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
+open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit +

Sets the current widget as a D&D drop target.

+
+

setDropTargetData

+
+open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit +

Sets the current widget as a D&D drop target with helper callback accepting String data.

+
+

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.

+
+

show

+
+open fun show(): Widget +

Makes current widget visible.

+
+

toggleVisible

+
+open fun toggleVisible(): Widget +

Toggles visibility of current widget.

+
+

Companion Object Functions

+ + + + + + + +
+

iframe

+
+fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: Iframe.() -> Unit = null): Iframe +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/location.html b/api/pl.treksoft.kvision.html/-iframe/location.html new file mode 100644 index 00000000..55b5a55b --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/location.html @@ -0,0 +1,15 @@ + + + +Iframe.location - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / location
+
+

location

+ +var location: String? +

A current location URL of the iframe.

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/name.html b/api/pl.treksoft.kvision.html/-iframe/name.html new file mode 100644 index 00000000..94ee6d36 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/name.html @@ -0,0 +1,21 @@ + + + +Iframe.name - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / name
+
+

name

+ +var name: String? +

The name of the iframe.

+

Getter
+

The name of the iframe.

+

+

Setter
+

The name of the iframe.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/render.html b/api/pl.treksoft.kvision.html/-iframe/render.html new file mode 100644 index 00000000..0228603e --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/render.html @@ -0,0 +1,18 @@ + + + +Iframe.render - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / render
+
+

render

+ +protected open fun render(): VNode +

Overrides Widget.render

+

Renders current component as a Snabbdom vnode.

+

Return
+Snabbdom vnode

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/sandbox.html b/api/pl.treksoft.kvision.html/-iframe/sandbox.html new file mode 100644 index 00000000..2072d0cd --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/sandbox.html @@ -0,0 +1,21 @@ + + + +Iframe.sandbox - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / sandbox
+
+

sandbox

+ +var sandbox: Set<Sandbox>? +

A set of Sandbox options.

+

Getter
+

A set of Sandbox options.

+

+

Setter
+

A set of Sandbox options.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/src.html b/api/pl.treksoft.kvision.html/-iframe/src.html new file mode 100644 index 00000000..a55ef1b9 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/src.html @@ -0,0 +1,21 @@ + + + +Iframe.src - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / src
+
+

src

+ +var src: String? +

The iframe document address.

+

Getter
+

The iframe document address.

+

+

Setter
+

The iframe document address.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-iframe/srcdoc.html b/api/pl.treksoft.kvision.html/-iframe/srcdoc.html new file mode 100644 index 00000000..a762a02a --- /dev/null +++ b/api/pl.treksoft.kvision.html/-iframe/srcdoc.html @@ -0,0 +1,21 @@ + + + +Iframe.srcdoc - kvision + + + +kvision / pl.treksoft.kvision.html / Iframe / srcdoc
+
+

srcdoc

+ +var srcdoc: String? +

The HTML content of the iframe.

+

Getter
+

The HTML content of the iframe.

+

+

Setter
+

The HTML content of the iframe.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-image/index.html b/api/pl.treksoft.kvision.html/-image/index.html index bb3d9315..20ba0f36 100644 --- a/api/pl.treksoft.kvision.html/-image/index.html +++ b/api/pl.treksoft.kvision.html/-image/index.html @@ -98,7 +98,7 @@

parent

-open var parent: Component? +open var parent: Container?

Parent of the current component.

@@ -322,6 +322,15 @@ +

setContextMenu

+ + +open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + +

setDragDropData

diff --git a/api/pl.treksoft.kvision.html/-label/-init-.html b/api/pl.treksoft.kvision.html/-label/-init-.html index d396f2f9..a698d4db 100644 --- a/api/pl.treksoft.kvision.html/-label/-init-.html +++ b/api/pl.treksoft.kvision.html/-label/-init-.html @@ -9,12 +9,12 @@

<init>

-Label(text: String, rich: Boolean = false) +Label(content: String? = null, rich: Boolean = false)

Parameters

-

-text - label text

+

+content - label text

-rich - determines if text can contain HTML code

+rich - determines if content can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.html/-label/index.html b/api/pl.treksoft.kvision.html/-label/index.html index d7909ce8..ca8db5e2 100644 --- a/api/pl.treksoft.kvision.html/-label/index.html +++ b/api/pl.treksoft.kvision.html/-label/index.html @@ -18,7 +18,7 @@

<init>

-Label(text: String, rich: Boolean = false) +Label(content: String? = null, rich: Boolean = false) @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

@@ -94,7 +103,7 @@

label

-fun Container.label(text: String, rich: Boolean = false, init: Label.() -> Unit = null): Label +fun Container.label(content: String? = null, rich: Boolean = false, init: Label.() -> Unit = null): Label

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.html/-label/label.html b/api/pl.treksoft.kvision.html/-label/label.html index fd58df18..a0667bb4 100644 --- a/api/pl.treksoft.kvision.html/-label/label.html +++ b/api/pl.treksoft.kvision.html/-label/label.html @@ -9,7 +9,7 @@

label

-fun Container.label(text: String, rich: Boolean = false, init: Label.() -> Unit = null): Label +fun Container.label(content: String? = null, rich: Boolean = false, init: Label.() -> Unit = null): Label

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.html/-link/-init-.html b/api/pl.treksoft.kvision.html/-link/-init-.html index 25d0fc1e..40df5810 100644 --- a/api/pl.treksoft.kvision.html/-link/-init-.html +++ b/api/pl.treksoft.kvision.html/-link/-init-.html @@ -9,7 +9,7 @@

<init>

-Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf()) +Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())

Parameters

label - link label

diff --git a/api/pl.treksoft.kvision.html/-link/index.html b/api/pl.treksoft.kvision.html/-link/index.html index a26de1f6..15cb0ec2 100644 --- a/api/pl.treksoft.kvision.html/-link/index.html +++ b/api/pl.treksoft.kvision.html/-link/index.html @@ -18,7 +18,7 @@

<init>

-Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf()) +Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf()) @@ -57,7 +57,7 @@

url

-var url: String +var url: String?

Link URL address.

@@ -162,10 +162,20 @@

link

-fun Container.link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link +fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link

DSL builder extension function.

+ + +

linkDisabled

+ + +fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link +

DSL builder extension function for a disabled link in a dropdown list.

+ + diff --git a/api/pl.treksoft.kvision.html/-link/link-disabled.html b/api/pl.treksoft.kvision.html/-link/link-disabled.html new file mode 100644 index 00000000..c0fb5a9f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-link/link-disabled.html @@ -0,0 +1,18 @@ + + + +Link.linkDisabled - kvision + + + +kvision / pl.treksoft.kvision.html / Link / linkDisabled
+
+

linkDisabled

+ +fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
+ +fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link +

DSL builder extension function for a disabled link in a dropdown list.

+

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

+ + diff --git a/api/pl.treksoft.kvision.html/-link/link.html b/api/pl.treksoft.kvision.html/-link/link.html index a962fd12..1ec358d0 100644 --- a/api/pl.treksoft.kvision.html/-link/link.html +++ b/api/pl.treksoft.kvision.html/-link/link.html @@ -9,7 +9,7 @@

link

-fun Container.link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link +fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.html/-link/url.html b/api/pl.treksoft.kvision.html/-link/url.html index c22c6acb..dd509277 100644 --- a/api/pl.treksoft.kvision.html/-link/url.html +++ b/api/pl.treksoft.kvision.html/-link/url.html @@ -9,7 +9,7 @@

url

-var url: String +var url: String?

Link URL address.

Getter

Link URL address.

diff --git a/api/pl.treksoft.kvision.html/-list-tag/index.html b/api/pl.treksoft.kvision.html/-list-tag/index.html index fc568d32..2299ebed 100644 --- a/api/pl.treksoft.kvision.html/-list-tag/index.html +++ b/api/pl.treksoft.kvision.html/-list-tag/index.html @@ -161,5 +161,19 @@ any Component +

Inheritors

+ + + + + + + +
+

ContextMenu

+
+open class ContextMenu : ListTag +

Context menu component.

+
diff --git a/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html new file mode 100644 index 00000000..5a4f8b35 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html @@ -0,0 +1,14 @@ + + + +Sandbox.ALLOWFORMS - kvision + + + +kvision / pl.treksoft.kvision.html / Sandbox / ALLOWFORMS
+
+

ALLOWFORMS

+ +ALLOWFORMS + + diff --git a/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html new file mode 100644 index 00000000..a68820bf --- /dev/null +++ b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html @@ -0,0 +1,14 @@ + + + +Sandbox.ALLOWPOINTERLOCK - kvision + + + +kvision / pl.treksoft.kvision.html / Sandbox / ALLOWPOINTERLOCK
+
+

ALLOWPOINTERLOCK

+ +ALLOWPOINTERLOCK + + diff --git a/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html new file mode 100644 index 00000000..23e09931 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html @@ -0,0 +1,14 @@ + + + +Sandbox.ALLOWPOPUPS - kvision + + + +kvision / pl.treksoft.kvision.html / Sandbox / ALLOWPOPUPS
+
+

ALLOWPOPUPS

+ +ALLOWPOPUPS + + diff --git a/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html new file mode 100644 index 00000000..89fc7964 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html @@ -0,0 +1,14 @@ + + + +Sandbox.ALLOWSAMEORIGIN - kvision + + + +kvision / pl.treksoft.kvision.html / Sandbox / ALLOWSAMEORIGIN
+
+

ALLOWSAMEORIGIN

+ +ALLOWSAMEORIGIN + + diff --git a/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html new file mode 100644 index 00000000..67502431 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html @@ -0,0 +1,14 @@ + + + +Sandbox.ALLOWSCRIPTS - kvision + + + +kvision / pl.treksoft.kvision.html / Sandbox / ALLOWSCRIPTS
+
+

ALLOWSCRIPTS

+ +ALLOWSCRIPTS + + diff --git a/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html new file mode 100644 index 00000000..a5300229 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html @@ -0,0 +1,14 @@ + + + +Sandbox.ALLOWTOPNAVIGATION - kvision + + + +kvision / pl.treksoft.kvision.html / Sandbox / ALLOWTOPNAVIGATION
+
+

ALLOWTOPNAVIGATION

+ +ALLOWTOPNAVIGATION + + diff --git a/api/pl.treksoft.kvision.html/-sandbox/index.html b/api/pl.treksoft.kvision.html/-sandbox/index.html new file mode 100644 index 00000000..030f6a5e --- /dev/null +++ b/api/pl.treksoft.kvision.html/-sandbox/index.html @@ -0,0 +1,61 @@ + + + +Sandbox - kvision + + + +kvision / pl.treksoft.kvision.html / Sandbox
+
+

Sandbox

+enum class Sandbox +

Iframe sandbox options.

+

Enum Values

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

ALLOWFORMS

+
+
+

ALLOWPOINTERLOCK

+
+
+

ALLOWPOPUPS

+
+
+

ALLOWSAMEORIGIN

+
+
+

ALLOWSCRIPTS

+
+
+

ALLOWTOPNAVIGATION

+
+
+ + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html b/api/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html new file mode 100644 index 00000000..e0fd8ae9 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html @@ -0,0 +1,14 @@ + + + +TAG.FORM - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / FORM
+
+

FORM

+ +FORM + + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html b/api/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html new file mode 100644 index 00000000..800023b8 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html @@ -0,0 +1,14 @@ + + + +TAG.INPUT - kvision + + + +kvision / pl.treksoft.kvision.html / TAG / INPUT
+
+

INPUT

+ +INPUT + + diff --git a/api/pl.treksoft.kvision.html/-t-a-g/index.html b/api/pl.treksoft.kvision.html/-t-a-g/index.html index aab26b0a..d1d1e7e2 100644 --- a/api/pl.treksoft.kvision.html/-t-a-g/index.html +++ b/api/pl.treksoft.kvision.html/-t-a-g/index.html @@ -300,6 +300,20 @@ + + +

FORM

+ + + + + + +

INPUT

+ + + + diff --git a/api/pl.treksoft.kvision.html/-tag/-init-.html b/api/pl.treksoft.kvision.html/-tag/-init-.html index ca274196..a856589d 100644 --- a/api/pl.treksoft.kvision.html/-tag/-init-.html +++ b/api/pl.treksoft.kvision.html/-tag/-init-.html @@ -9,16 +9,16 @@

<init>

-Tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null) +Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null)

Parameters

type - tag type

-

-text - text content of the tag

+

+content - content text of the tag

-rich - determines if text can contain HTML code

+rich - determines if content can contain HTML code

-align - text align

+align - content align

classes - a set of CSS class names

diff --git a/api/pl.treksoft.kvision.html/-tag/content.html b/api/pl.treksoft.kvision.html/-tag/content.html new file mode 100644 index 00000000..42016db7 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-tag/content.html @@ -0,0 +1,22 @@ + + + +Tag.content - kvision + + + +kvision / pl.treksoft.kvision.html / Tag / content
+
+

content

+ +open var content: String? +

Overrides Template.content

+

Text content of the tag.

+

Getter
+

Text content of the tag.

+

+

Setter
+

Text content of the tag.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-tag/index.html b/api/pl.treksoft.kvision.html/-tag/index.html index 035e7552..7667eeac 100644 --- a/api/pl.treksoft.kvision.html/-tag/index.html +++ b/api/pl.treksoft.kvision.html/-tag/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.html / Tag

Tag

-open class Tag : SimplePanel +open class Tag : SimplePanel, Template

HTML tag component.

Constructors

@@ -18,7 +18,7 @@

<init>

+Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null)
-Tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null)
@@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

@@ -63,6 +72,18 @@ +

Inherited Properties

+ + + + + + + +
+

templateData

+
+open var templateData: Any?

Functions

@@ -162,7 +183,7 @@

tag

@@ -200,6 +221,15 @@ + + + + + + + + + + + + + + + +
-fun Container.tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag

DSL builder extension function.

+

Header

+
+open class Header : Tag +

Menu header component.

+

HeaderCell

@@ -236,6 +266,24 @@
+

Nav

+
+open class Nav : Tag +

The Bootstrap Nav container.

+
+

NavForm

+
+open class NavForm : Tag +

The Bootstrap Nav form container.

+

Row

@@ -243,6 +291,15 @@

HTML table row component.

+

Separator

+
+open class Separator : Tag +

Menu separator component.

+
diff --git a/api/pl.treksoft.kvision.html/-tag/rich.html b/api/pl.treksoft.kvision.html/-tag/rich.html index c8976ade..b2e2d550 100644 --- a/api/pl.treksoft.kvision.html/-tag/rich.html +++ b/api/pl.treksoft.kvision.html/-tag/rich.html @@ -9,13 +9,14 @@

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Overrides Template.rich

+

Determines if content can contain HTML code.

Getter
-

Determines if text can contain HTML code.

+

Determines if content can contain HTML code.

Setter
-

Determines if text can contain HTML code.

+

Determines if content can contain HTML code.

diff --git a/api/pl.treksoft.kvision.html/-tag/tag.html b/api/pl.treksoft.kvision.html/-tag/tag.html index 62f92230..9a3bcfc1 100644 --- a/api/pl.treksoft.kvision.html/-tag/tag.html +++ b/api/pl.treksoft.kvision.html/-tag/tag.html @@ -9,7 +9,7 @@

tag

-fun Container.tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.html/-tag/template.html b/api/pl.treksoft.kvision.html/-tag/template.html new file mode 100644 index 00000000..2e6e5dbd --- /dev/null +++ b/api/pl.treksoft.kvision.html/-tag/template.html @@ -0,0 +1,22 @@ + + + +Tag.template - kvision + + + +kvision / pl.treksoft.kvision.html / Tag / template
+
+

template

+ +open var template: (Any?) -> String +

Overrides Template.template

+

Handlebars template.

+

Getter
+

Handlebars template.

+

+

Setter
+

Handlebars template.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-tag/text.html b/api/pl.treksoft.kvision.html/-tag/text.html deleted file mode 100644 index aca1a8d2..00000000 --- a/api/pl.treksoft.kvision.html/-tag/text.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -Tag.text - kvision - - - -kvision / pl.treksoft.kvision.html / Tag / text
-
-

text

- -var text: String? -

Text content of the tag.

-

Getter
-

Text content of the tag.

-

-

Setter
-

Text content of the tag.

-

- - diff --git a/api/pl.treksoft.kvision.html/-template/content.html b/api/pl.treksoft.kvision.html/-template/content.html new file mode 100644 index 00000000..0910458f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-template/content.html @@ -0,0 +1,14 @@ + + + +Template.content - kvision + + + +kvision / pl.treksoft.kvision.html / Template / content
+
+

content

+ +abstract var content: String? + + diff --git a/api/pl.treksoft.kvision.html/-template/index.html b/api/pl.treksoft.kvision.html/-template/index.html new file mode 100644 index 00000000..fcdba84d --- /dev/null +++ b/api/pl.treksoft.kvision.html/-template/index.html @@ -0,0 +1,60 @@ + + + +Template - kvision + + + +kvision / pl.treksoft.kvision.html / Template
+
+

Template

+interface Template +

Properties

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

content

+
+abstract var content: String?
+

rich

+
+abstract var rich: Boolean
+

template

+
+abstract var template: (Any?) -> String
+

templateData

+
+open var templateData: Any?
+

Inheritors

+ + + + + + + +
+

Tag

+
+open class Tag : SimplePanel, Template +

HTML tag component.

+
+ + diff --git a/api/pl.treksoft.kvision.html/-template/rich.html b/api/pl.treksoft.kvision.html/-template/rich.html new file mode 100644 index 00000000..66e3bcbd --- /dev/null +++ b/api/pl.treksoft.kvision.html/-template/rich.html @@ -0,0 +1,14 @@ + + + +Template.rich - kvision + + + +kvision / pl.treksoft.kvision.html / Template / rich
+
+

rich

+ +abstract var rich: Boolean + + diff --git a/api/pl.treksoft.kvision.html/-template/template-data.html b/api/pl.treksoft.kvision.html/-template/template-data.html new file mode 100644 index 00000000..fb30d59c --- /dev/null +++ b/api/pl.treksoft.kvision.html/-template/template-data.html @@ -0,0 +1,14 @@ + + + +Template.templateData - kvision + + + +kvision / pl.treksoft.kvision.html / Template / templateData
+
+

templateData

+ +open var templateData: Any? + + diff --git a/api/pl.treksoft.kvision.html/-template/template.html b/api/pl.treksoft.kvision.html/-template/template.html new file mode 100644 index 00000000..917104a3 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-template/template.html @@ -0,0 +1,14 @@ + + + +Template.template - kvision + + + +kvision / pl.treksoft.kvision.html / Template / template
+
+

template

+ +abstract var template: (Any?) -> String + + diff --git a/api/pl.treksoft.kvision.html/index.html b/api/pl.treksoft.kvision.html/index.html index 20b5894b..38eea860 100644 --- a/api/pl.treksoft.kvision.html/index.html +++ b/api/pl.treksoft.kvision.html/index.html @@ -8,7 +8,8 @@ kvision / pl.treksoft.kvision.html

Package pl.treksoft.kvision.html

-

Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links and lists.

+

Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links, lists and iframe. +Support for Handlebars.js templates is included.

Types

@@ -50,6 +51,15 @@ + + + + + + + + + + + + + + + +
+

ButtonType

+
+enum class ButtonType +

Button types.

+

Div

@@ -68,6 +78,15 @@
+

Iframe

+
+open class Iframe : Widget +

Iframe component.

+

Image

@@ -122,6 +141,15 @@
+

Sandbox

+
+enum class Sandbox +

Iframe sandbox options.

+

TAG

@@ -134,10 +162,17 @@

Tag

-open class Tag : SimplePanel +open class Tag : SimplePanel, Template

HTML tag component.

+

Template

+
+interface Template
diff --git a/api/pl.treksoft.kvision.modal/-close-icon/index.html b/api/pl.treksoft.kvision.modal/-close-icon/index.html index 0d71c404..742a474b 100644 --- a/api/pl.treksoft.kvision.modal/-close-icon/index.html +++ b/api/pl.treksoft.kvision.modal/-close-icon/index.html @@ -50,7 +50,7 @@

parent

-open var parent: Component? +open var parent: Container?

Parent of the current component.

@@ -274,6 +274,15 @@ +

setContextMenu

+ + +open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + +

setDragDropData

diff --git a/api/pl.treksoft.kvision.navbar/-nav-form/-init-.html b/api/pl.treksoft.kvision.navbar/-nav-form/-init-.html new file mode 100644 index 00000000..475c2750 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav-form/-init-.html @@ -0,0 +1,23 @@ + + + +NavForm.<init> - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / <init>
+
+

<init>

+ +NavForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null) +

Parameters

+

+rightAlign - determines if the nav form is aligned to the right

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html b/api/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html new file mode 100644 index 00000000..9c1f8630 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html @@ -0,0 +1,18 @@ + + + +NavForm.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / getSnClass
+
+

getSnClass

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

Overrides Tag.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.navbar/-nav-form/index.html b/api/pl.treksoft.kvision.navbar/-nav-form/index.html new file mode 100644 index 00000000..3b119386 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav-form/index.html @@ -0,0 +1,132 @@ + + + +NavForm - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm
+
+

NavForm

+open class NavForm : Tag +

The Bootstrap Nav form container.

+

Constructors

+ + + + + + + +
+

<init>

+
+NavForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null)
+

Properties

+ + + + + + + +
+

rightAlign

+
+var rightAlign: Boolean +

Determines if the nav form is aligned to the right.

+
+

Inherited Properties

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

align

+
+var align: Align? +

Text align.

+
+

content

+
+open var content: String? +

Text content of the tag.

+
+

rich

+
+open var rich: Boolean +

Determines if content can contain HTML code.

+
+

template

+
+open var template: (Any?) -> String +

Handlebars template.

+
+

type

+
+var type: TAG +

Tag type.

+
+

Functions

+ + + + + + + +
+

getSnClass

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

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

+
+

Inherited Functions

+ + + + + + + +
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

navForm

+
+fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null): NavForm +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html b/api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html new file mode 100644 index 00000000..faed10d2 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav-form/nav-form.html @@ -0,0 +1,16 @@ + + + +NavForm.navForm - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / navForm
+
+

navForm

+ +fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null): NavForm +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.navbar/-nav-form/right-align.html b/api/pl.treksoft.kvision.navbar/-nav-form/right-align.html new file mode 100644 index 00000000..10f506d7 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav-form/right-align.html @@ -0,0 +1,21 @@ + + + +NavForm.rightAlign - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / rightAlign
+
+

rightAlign

+ +var rightAlign: Boolean +

Determines if the nav form is aligned to the right.

+

Getter
+

Determines if the nav form is aligned to the right.

+

+

Setter
+

Determines if the nav form is aligned to the right.

+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-nav/-init-.html b/api/pl.treksoft.kvision.navbar/-nav/-init-.html new file mode 100644 index 00000000..8a1e9a8e --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav/-init-.html @@ -0,0 +1,23 @@ + + + +Nav.<init> - kvision + + + +kvision / pl.treksoft.kvision.navbar / Nav / <init>
+
+

<init>

+ +Nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: Nav.() -> Unit = null) +

Parameters

+

+rightAlign - determines if the nav is aligned to the right

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-nav/get-sn-class.html b/api/pl.treksoft.kvision.navbar/-nav/get-sn-class.html new file mode 100644 index 00000000..015896a5 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav/get-sn-class.html @@ -0,0 +1,18 @@ + + + +Nav.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.navbar / Nav / getSnClass
+
+

getSnClass

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

Overrides Tag.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.navbar/-nav/index.html b/api/pl.treksoft.kvision.navbar/-nav/index.html new file mode 100644 index 00000000..54629bac --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav/index.html @@ -0,0 +1,132 @@ + + + +Nav - kvision + + + +kvision / pl.treksoft.kvision.navbar / Nav
+
+

Nav

+open class Nav : Tag +

The Bootstrap Nav container.

+

Constructors

+ + + + + + + +
+

<init>

+
+Nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: Nav.() -> Unit = null)
+

Properties

+ + + + + + + +
+

rightAlign

+
+var rightAlign: Boolean +

Determines if the nav is aligned to the right.

+
+

Inherited Properties

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

align

+
+var align: Align? +

Text align.

+
+

content

+
+open var content: String? +

Text content of the tag.

+
+

rich

+
+open var rich: Boolean +

Determines if content can contain HTML code.

+
+

template

+
+open var template: (Any?) -> String +

Handlebars template.

+
+

type

+
+var type: TAG +

Tag type.

+
+

Functions

+ + + + + + + +
+

getSnClass

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

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

+
+

Inherited Functions

+ + + + + + + +
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

nav

+
+fun Navbar.nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: Nav.() -> Unit = null): Nav +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.navbar/-nav/nav.html b/api/pl.treksoft.kvision.navbar/-nav/nav.html new file mode 100644 index 00000000..98f27419 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav/nav.html @@ -0,0 +1,16 @@ + + + +Nav.nav - kvision + + + +kvision / pl.treksoft.kvision.navbar / Nav / nav
+
+

nav

+ +fun Navbar.nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: Nav.() -> Unit = null): Nav +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.navbar/-nav/right-align.html b/api/pl.treksoft.kvision.navbar/-nav/right-align.html new file mode 100644 index 00000000..6ddf4b35 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-nav/right-align.html @@ -0,0 +1,21 @@ + + + +Nav.rightAlign - kvision + + + +kvision / pl.treksoft.kvision.navbar / Nav / rightAlign
+
+

rightAlign

+ +var rightAlign: Boolean +

Determines if the nav is aligned to the right.

+

Getter
+

Determines if the nav is aligned to the right.

+

+

Setter
+

Determines if the nav is aligned to the right.

+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-b-o-t-t-o-m.html b/api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-b-o-t-t-o-m.html new file mode 100644 index 00000000..5742fbb3 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-b-o-t-t-o-m.html @@ -0,0 +1,14 @@ + + + +NavbarType.FIXEDBOTTOM - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarType / FIXEDBOTTOM
+
+

FIXEDBOTTOM

+ +FIXEDBOTTOM + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-t-o-p.html b/api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-t-o-p.html new file mode 100644 index 00000000..d7286c5f --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-type/-f-i-x-e-d-t-o-p.html @@ -0,0 +1,14 @@ + + + +NavbarType.FIXEDTOP - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarType / FIXEDTOP
+
+

FIXEDTOP

+ +FIXEDTOP + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-a-t-i-c-t-o-p.html b/api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-a-t-i-c-t-o-p.html new file mode 100644 index 00000000..8d992f06 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-type/-s-t-a-t-i-c-t-o-p.html @@ -0,0 +1,14 @@ + + + +NavbarType.STATICTOP - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarType / STATICTOP
+
+

STATICTOP

+ +STATICTOP + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar-type/index.html b/api/pl.treksoft.kvision.navbar/-navbar-type/index.html new file mode 100644 index 00000000..eb6e3cb0 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar-type/index.html @@ -0,0 +1,40 @@ + + + +NavbarType - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavbarType
+
+

NavbarType

+enum class NavbarType +

Navbar types.

+

Enum Values

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

FIXEDTOP

+
+
+

FIXEDBOTTOM

+
+
+

STATICTOP

+
+
+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/-init-.html b/api/pl.treksoft.kvision.navbar/-navbar/-init-.html new file mode 100644 index 00000000..16fea1e0 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/-init-.html @@ -0,0 +1,27 @@ + + + +Navbar.<init> - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / <init>
+
+

<init>

+ +Navbar(label: String = "", type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: Navbar.() -> Unit = null) +

Parameters

+

+label - the navbar label

+

+type - the navbar type

+

+inverted - determines if the navbar is inverted

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/add-all.html b/api/pl.treksoft.kvision.navbar/-navbar/add-all.html new file mode 100644 index 00000000..dcf58080 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/add-all.html @@ -0,0 +1,21 @@ + + + +Navbar.addAll - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / addAll
+
+

addAll

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

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.navbar/-navbar/add.html b/api/pl.treksoft.kvision.navbar/-navbar/add.html new file mode 100644 index 00000000..072282ff --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/add.html @@ -0,0 +1,21 @@ + + + +Navbar.add - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / add
+
+

add

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

Overrides SimplePanel.add

+

Adds given component to the current container.

+

Parameters

+

+child - child component

+

Return
+current container

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/get-children.html b/api/pl.treksoft.kvision.navbar/-navbar/get-children.html new file mode 100644 index 00000000..bc644618 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/get-children.html @@ -0,0 +1,18 @@ + + + +Navbar.getChildren - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / 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.navbar/-navbar/get-sn-class.html b/api/pl.treksoft.kvision.navbar/-navbar/get-sn-class.html new file mode 100644 index 00000000..e8194f04 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/get-sn-class.html @@ -0,0 +1,18 @@ + + + +Navbar.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / 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.navbar/-navbar/index.html b/api/pl.treksoft.kvision.navbar/-navbar/index.html new file mode 100644 index 00000000..075815e2 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/index.html @@ -0,0 +1,163 @@ + + + +Navbar - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar
+
+

Navbar

+open class Navbar : SimplePanel +

The Bootstrap Navbar container.

+

Constructors

+ + + + + + + +
+

<init>

+
+Navbar(label: String = "", type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: Navbar.() -> Unit = null)
+

Properties

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

inverted

+
+var inverted: Boolean +

Determines if the navbar is inverted.

+
+

label

+
+var label: String +

The navbar header label.

+
+

type

+
+var type: NavbarType? +

The navbar type.

+
+

Functions

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

add

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

Adds given component to the current container.

+
+

addAll

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

Adds a list of components to the current container.

+
+

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.

+
+

remove

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

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): Navbar +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

navbarPanel

+
+fun Container.navbarPanel(text: String = "", type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: Navbar.() -> Unit = null): Navbar +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/inverted.html b/api/pl.treksoft.kvision.navbar/-navbar/inverted.html new file mode 100644 index 00000000..233f0082 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/inverted.html @@ -0,0 +1,21 @@ + + + +Navbar.inverted - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / inverted
+
+

inverted

+ +var inverted: Boolean +

Determines if the navbar is inverted.

+

Getter
+

Determines if the navbar is inverted.

+

+

Setter
+

Determines if the navbar is inverted.

+

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/label.html b/api/pl.treksoft.kvision.navbar/-navbar/label.html new file mode 100644 index 00000000..fd5dfbef --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/label.html @@ -0,0 +1,15 @@ + + + +Navbar.label - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / label
+
+

label

+ +var label: String +

The navbar header label.

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/navbar-panel.html b/api/pl.treksoft.kvision.navbar/-navbar/navbar-panel.html new file mode 100644 index 00000000..5ff845e4 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/navbar-panel.html @@ -0,0 +1,16 @@ + + + +Navbar.navbarPanel - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / navbarPanel
+
+

navbarPanel

+ +fun Container.navbarPanel(text: String = "", type: NavbarType? = null, inverted: Boolean = false, classes: Set<String> = setOf(), init: Navbar.() -> Unit = null): Navbar +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/remove-all.html b/api/pl.treksoft.kvision.navbar/-navbar/remove-all.html new file mode 100644 index 00000000..fffc78b4 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/remove-all.html @@ -0,0 +1,18 @@ + + + +Navbar.removeAll - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / removeAll
+
+

removeAll

+ +open fun removeAll(): Navbar +

Overrides SimplePanel.removeAll

+

Removes all children from the current container.

+

Return
+current container

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/remove.html b/api/pl.treksoft.kvision.navbar/-navbar/remove.html new file mode 100644 index 00000000..071c25d8 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/remove.html @@ -0,0 +1,21 @@ + + + +Navbar.remove - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / remove
+
+

remove

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

Overrides SimplePanel.remove

+

Removes given component from the current container.

+

Parameters

+

+child - child component

+

Return
+current container

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/render.html b/api/pl.treksoft.kvision.navbar/-navbar/render.html new file mode 100644 index 00000000..6c05f600 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/render.html @@ -0,0 +1,18 @@ + + + +Navbar.render - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / render
+
+

render

+ +protected open fun render(): VNode +

Overrides SimplePanel.render

+

Renders current component as a Snabbdom vnode.

+

Return
+Snabbdom vnode

+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/type.html b/api/pl.treksoft.kvision.navbar/-navbar/type.html new file mode 100644 index 00000000..09729122 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/type.html @@ -0,0 +1,21 @@ + + + +Navbar.type - kvision + + + +kvision / pl.treksoft.kvision.navbar / Navbar / type
+
+

type

+ +var type: NavbarType? +

The navbar type.

+

Getter
+

The navbar type.

+

+

Setter
+

The navbar type.

+

+ + diff --git a/api/pl.treksoft.kvision.navbar/index.html b/api/pl.treksoft.kvision.navbar/index.html new file mode 100644 index 00000000..aa7bb495 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/index.html @@ -0,0 +1,54 @@ + + + +pl.treksoft.kvision.navbar - kvision + + + +kvision / pl.treksoft.kvision.navbar
+
+

Package pl.treksoft.kvision.navbar

+

Bootstrap navbar components.

+

Types

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

Nav

+
+open class Nav : Tag +

The Bootstrap Nav container.

+
+

NavForm

+
+open class NavForm : Tag +

The Bootstrap Nav form container.

+
+

Navbar

+
+open class Navbar : SimplePanel +

The Bootstrap Navbar container.

+
+

NavbarType

+
+enum class NavbarType +

Navbar types.

+
+ + diff --git a/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html b/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html index e7ed1c07..bfa2adae 100644 --- a/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html +++ b/api/pl.treksoft.kvision.panel/-grid-wrapper/index.html @@ -29,9 +29,7 @@

visible

-open var visible: Boolean -

Visibility state of the current component.

- +open var visible: Boolean diff --git a/api/pl.treksoft.kvision.panel/-simple-panel/index.html b/api/pl.treksoft.kvision.panel/-simple-panel/index.html index 39cb5878..6c3b3383 100644 --- a/api/pl.treksoft.kvision.panel/-simple-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-simple-panel/index.html @@ -48,7 +48,7 @@

parent

-open var parent: Component? +open var parent: Container?

Parent of the current component.

@@ -344,6 +344,15 @@ +

setContextMenu

+ + +open fun setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+ + + +

setDragDropData

@@ -429,6 +438,15 @@ +

ButtonGroup

+ + +open class ButtonGroup : SimplePanel +

The Bootstrap button group.

+ + + +

CheckBox

@@ -519,6 +537,24 @@ +

Navbar

+ + +open class Navbar : SimplePanel +

The Bootstrap Navbar container.

+ + + + +

ProgressBar

+ + +open class ProgressBar : SimplePanel +

The Bootstrap progress bar.

+ + + +

Radio

@@ -567,7 +603,7 @@

SelectInput

-open class SelectInput : SimplePanel +open class SelectInput : SimplePanel, FormInput

The basic component for Select control.

@@ -630,12 +666,39 @@

Tag

-open class Tag : SimplePanel +open class Tag : SimplePanel, Template

HTML tag component.

+

Toolbar

+ + +open class Toolbar : SimplePanel +

The Bootstrap toolbar.

+ + + + +

Upload

+ + +open class Upload : SimplePanel, FilesFormControl +

The form field file upload component.

+ + + + +

WidgetWrapper

+ + +open class WidgetWrapper : SimplePanel +

This class allows to wrap a component into separately styled DIV element.

+ + + +

Window

diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html new file mode 100644 index 00000000..8eac1076 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.DANGER - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / DANGER
+
+

DANGER

+ +DANGER + + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html new file mode 100644 index 00000000..00be604f --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.INFO - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / INFO
+
+

INFO

+ +INFO + + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html new file mode 100644 index 00000000..f9126670 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.SUCCESS - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / SUCCESS
+
+

SUCCESS

+ +SUCCESS + + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html new file mode 100644 index 00000000..3c35d6df --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.WARNING - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / WARNING
+
+

WARNING

+ +WARNING + + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/index.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/index.html new file mode 100644 index 00000000..05ef2969 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/index.html @@ -0,0 +1,47 @@ + + + +ProgressBarStyle - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle
+
+

ProgressBarStyle

+enum class ProgressBarStyle +

Progress bar styles.

+

Enum Values

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

SUCCESS

+
+
+

INFO

+
+
+

WARNING

+
+
+

DANGER

+
+
+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/-init-.html b/api/pl.treksoft.kvision.progress/-progress-bar/-init-.html new file mode 100644 index 00000000..fc764b35 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/-init-.html @@ -0,0 +1,39 @@ + + + +ProgressBar.<init> - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / <init>
+
+

<init>

+ +ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null) +

Parameters

+

+progress - the current progress

+

+min - the minimal progress

+

+max - the maximal progress

+

+style - the style of the progress bar

+

+striped - determines if the progress bar is striped

+

+animated - determines if the progress bar is animated

+

+content - element text

+

+rich - determines if content can contain HTML code

+

+align - content align

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/animated.html b/api/pl.treksoft.kvision.progress/-progress-bar/animated.html new file mode 100644 index 00000000..84691635 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/animated.html @@ -0,0 +1,15 @@ + + + +ProgressBar.animated - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / animated
+
+

animated

+ +var animated: Boolean +

Determines if the progress bar is animated.

+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/index.html b/api/pl.treksoft.kvision.progress/-progress-bar/index.html new file mode 100644 index 00000000..5412823e --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/index.html @@ -0,0 +1,176 @@ + + + +ProgressBar - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar
+
+

ProgressBar

+open class ProgressBar : SimplePanel +

The Bootstrap progress bar.

+

Constructors

+ + + + + + + +
+

<init>

+
+ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null)
+

Properties

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

animated

+
+var animated: Boolean +

Determines if the progress bar is animated.

+
+

max

+
+var max: Int +

The maximal progress.

+
+

min

+
+var min: Int +

The minimal progress.

+
+

progress

+
+var progress: Int +

The current progress.

+
+

striped

+
+var striped: Boolean +

Determines if the progress bar is striped.

+
+

style

+
+var style: ProgressBarStyle? +

The style of the progress bar.

+
+

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.

+
+

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.

+
+

getChildren

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

Returns a list of children of the current container.

+
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

progressBar

+
+fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null): ProgressBar +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/max.html b/api/pl.treksoft.kvision.progress/-progress-bar/max.html new file mode 100644 index 00000000..c78e8ded --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/max.html @@ -0,0 +1,15 @@ + + + +ProgressBar.max - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / max
+
+

max

+ +var max: Int +

The maximal progress.

+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/min.html b/api/pl.treksoft.kvision.progress/-progress-bar/min.html new file mode 100644 index 00000000..33cd21b3 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/min.html @@ -0,0 +1,15 @@ + + + +ProgressBar.min - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / min
+
+

min

+ +var min: Int +

The minimal progress.

+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html b/api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html new file mode 100644 index 00000000..ba20eb10 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html @@ -0,0 +1,16 @@ + + + +ProgressBar.progressBar - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / progressBar
+
+

progressBar

+ +fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: ProgressBar.() -> Unit = null): ProgressBar +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/progress.html b/api/pl.treksoft.kvision.progress/-progress-bar/progress.html new file mode 100644 index 00000000..a1f32452 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/progress.html @@ -0,0 +1,15 @@ + + + +ProgressBar.progress - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / progress
+
+

progress

+ +var progress: Int +

The current progress.

+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/striped.html b/api/pl.treksoft.kvision.progress/-progress-bar/striped.html new file mode 100644 index 00000000..07a224ef --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/striped.html @@ -0,0 +1,15 @@ + + + +ProgressBar.striped - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / striped
+
+

striped

+ +var striped: Boolean +

Determines if the progress bar is striped.

+ + diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/style.html b/api/pl.treksoft.kvision.progress/-progress-bar/style.html new file mode 100644 index 00000000..fa1bb89c --- /dev/null +++ b/api/pl.treksoft.kvision.progress/-progress-bar/style.html @@ -0,0 +1,15 @@ + + + +ProgressBar.style - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / style
+
+

style

+ +var style: ProgressBarStyle? +

The style of the progress bar.

+ + diff --git a/api/pl.treksoft.kvision.progress/index.html b/api/pl.treksoft.kvision.progress/index.html new file mode 100644 index 00000000..fc809426 --- /dev/null +++ b/api/pl.treksoft.kvision.progress/index.html @@ -0,0 +1,36 @@ + + + +pl.treksoft.kvision.progress - kvision + + + +kvision / pl.treksoft.kvision.progress
+
+

Package pl.treksoft.kvision.progress

+

Bootstrap progress bar component.

+

Types

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

ProgressBar

+
+open class ProgressBar : SimplePanel +

The Bootstrap progress bar.

+
+

ProgressBarStyle

+
+enum class ProgressBarStyle +

Progress bar styles.

+
+ + diff --git a/api/pl.treksoft.kvision.table/-cell/-init-.html b/api/pl.treksoft.kvision.table/-cell/-init-.html index f5d12979..e58127ad 100644 --- a/api/pl.treksoft.kvision.table/-cell/-init-.html +++ b/api/pl.treksoft.kvision.table/-cell/-init-.html @@ -9,12 +9,12 @@

<init>

-Cell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null) +Cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null)

Parameters

-

-text - text content of the cell

+

+content - text content of the cell

-rich - determines if text can contain HTML code

+rich - determines if content can contain HTML code

align - text align

diff --git a/api/pl.treksoft.kvision.table/-cell/cell.html b/api/pl.treksoft.kvision.table/-cell/cell.html index c0788290..8d540654 100644 --- a/api/pl.treksoft.kvision.table/-cell/cell.html +++ b/api/pl.treksoft.kvision.table/-cell/cell.html @@ -9,7 +9,7 @@

cell

-fun Row.cell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null): Cell +fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null): Cell

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.table/-cell/index.html b/api/pl.treksoft.kvision.table/-cell/index.html index 16a8fbc4..2c51ed68 100644 --- a/api/pl.treksoft.kvision.table/-cell/index.html +++ b/api/pl.treksoft.kvision.table/-cell/index.html @@ -18,7 +18,7 @@

<init>

-Cell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null) +Cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null) @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

@@ -94,7 +103,7 @@

cell

-fun Row.cell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null): Cell +fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Cell.() -> Unit = null): Cell

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.table/-header-cell/-init-.html b/api/pl.treksoft.kvision.table/-header-cell/-init-.html index 603ce522..54882542 100644 --- a/api/pl.treksoft.kvision.table/-header-cell/-init-.html +++ b/api/pl.treksoft.kvision.table/-header-cell/-init-.html @@ -9,12 +9,12 @@

<init>

-HeaderCell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null) +HeaderCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null)

Parameters

-

-text - text content of the cell

+

+content - text content of the cell

-rich - determines if text can contain HTML code

+rich - determines if content can contain HTML code

align - text align

diff --git a/api/pl.treksoft.kvision.table/-header-cell/header-cell.html b/api/pl.treksoft.kvision.table/-header-cell/header-cell.html index a34e71c7..1f59cf58 100644 --- a/api/pl.treksoft.kvision.table/-header-cell/header-cell.html +++ b/api/pl.treksoft.kvision.table/-header-cell/header-cell.html @@ -9,7 +9,7 @@

headerCell

-fun Row.headerCell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null): HeaderCell +fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null): HeaderCell

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.table/-header-cell/index.html b/api/pl.treksoft.kvision.table/-header-cell/index.html index a52e0895..71bd8b00 100644 --- a/api/pl.treksoft.kvision.table/-header-cell/index.html +++ b/api/pl.treksoft.kvision.table/-header-cell/index.html @@ -18,7 +18,7 @@

<init>

-HeaderCell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null) +HeaderCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null) @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

@@ -94,7 +103,7 @@

headerCell

-fun Row.headerCell(text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null): HeaderCell +fun Row.headerCell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: HeaderCell.() -> Unit = null): HeaderCell

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.table/-row/index.html b/api/pl.treksoft.kvision.table/-row/index.html index 0ec0a928..dab8a1a3 100644 --- a/api/pl.treksoft.kvision.table/-row/index.html +++ b/api/pl.treksoft.kvision.table/-row/index.html @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

diff --git a/api/pl.treksoft.kvision.toolbar/-button-group-size/-l-a-r-g-e.html b/api/pl.treksoft.kvision.toolbar/-button-group-size/-l-a-r-g-e.html new file mode 100644 index 00000000..b0c8a5d3 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group-size/-l-a-r-g-e.html @@ -0,0 +1,14 @@ + + + +ButtonGroupSize.LARGE - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroupSize / LARGE
+
+

LARGE

+ +LARGE + + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group-size/-s-m-a-l-l.html b/api/pl.treksoft.kvision.toolbar/-button-group-size/-s-m-a-l-l.html new file mode 100644 index 00000000..accaddfd --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group-size/-s-m-a-l-l.html @@ -0,0 +1,14 @@ + + + +ButtonGroupSize.SMALL - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroupSize / SMALL
+
+

SMALL

+ +SMALL + + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group-size/-x-s-m-a-l-l.html b/api/pl.treksoft.kvision.toolbar/-button-group-size/-x-s-m-a-l-l.html new file mode 100644 index 00000000..f80e438c --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group-size/-x-s-m-a-l-l.html @@ -0,0 +1,14 @@ + + + +ButtonGroupSize.XSMALL - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroupSize / XSMALL
+
+

XSMALL

+ +XSMALL + + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group-size/index.html b/api/pl.treksoft.kvision.toolbar/-button-group-size/index.html new file mode 100644 index 00000000..b7c2cf4d --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group-size/index.html @@ -0,0 +1,40 @@ + + + +ButtonGroupSize - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroupSize
+
+

ButtonGroupSize

+enum class ButtonGroupSize +

Button group sizes.

+

Enum Values

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

LARGE

+
+
+

SMALL

+
+
+

XSMALL

+
+
+ + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group-style/-j-u-s-t-i-f-i-e-d.html b/api/pl.treksoft.kvision.toolbar/-button-group-style/-j-u-s-t-i-f-i-e-d.html new file mode 100644 index 00000000..a18fad28 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group-style/-j-u-s-t-i-f-i-e-d.html @@ -0,0 +1,14 @@ + + + +ButtonGroupStyle.JUSTIFIED - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroupStyle / JUSTIFIED
+
+

JUSTIFIED

+ +JUSTIFIED + + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group-style/-v-e-r-t-i-c-a-l.html b/api/pl.treksoft.kvision.toolbar/-button-group-style/-v-e-r-t-i-c-a-l.html new file mode 100644 index 00000000..c5b93cc3 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group-style/-v-e-r-t-i-c-a-l.html @@ -0,0 +1,14 @@ + + + +ButtonGroupStyle.VERTICAL - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroupStyle / VERTICAL
+
+

VERTICAL

+ +VERTICAL + + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group-style/index.html b/api/pl.treksoft.kvision.toolbar/-button-group-style/index.html new file mode 100644 index 00000000..19f947e7 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group-style/index.html @@ -0,0 +1,33 @@ + + + +ButtonGroupStyle - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroupStyle
+
+

ButtonGroupStyle

+enum class ButtonGroupStyle +

Button group styles.

+

Enum Values

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

VERTICAL

+
+
+

JUSTIFIED

+
+
+ + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/-init-.html b/api/pl.treksoft.kvision.toolbar/-button-group/-init-.html new file mode 100644 index 00000000..78e5fd3c --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group/-init-.html @@ -0,0 +1,25 @@ + + + +ButtonGroup.<init> - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / <init>
+
+

<init>

+ +ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: ButtonGroup.() -> Unit = null) +

Parameters

+

+size - button group size

+

+style - button group style

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/button-group.html b/api/pl.treksoft.kvision.toolbar/-button-group/button-group.html new file mode 100644 index 00000000..de865d64 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group/button-group.html @@ -0,0 +1,16 @@ + + + +ButtonGroup.buttonGroup - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / buttonGroup
+
+

buttonGroup

+ +fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: ButtonGroup.() -> Unit = null): ButtonGroup +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html b/api/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html new file mode 100644 index 00000000..aeab6d5d --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html @@ -0,0 +1,18 @@ + + + +ButtonGroup.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / 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.toolbar/-button-group/index.html b/api/pl.treksoft.kvision.toolbar/-button-group/index.html new file mode 100644 index 00000000..1bd557f5 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group/index.html @@ -0,0 +1,154 @@ + + + +ButtonGroup - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup
+
+

ButtonGroup

+open class ButtonGroup : SimplePanel +

The Bootstrap button group.

+

Constructors

+ + + + + + + +
+

<init>

+
+ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: ButtonGroup.() -> Unit = null)
+

Properties

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

size

+
+var size: ButtonGroupSize? +

Button group size.

+
+

style

+
+var style: ButtonGroupStyle? +

Button group style.

+
+

Functions

+ + + + + + + +
+

getSnClass

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

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

+
+

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.

+
+

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.

+
+

getChildren

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

Returns a list of children of the current container.

+
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: ButtonGroup.() -> Unit = null): ButtonGroup +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/size.html b/api/pl.treksoft.kvision.toolbar/-button-group/size.html new file mode 100644 index 00000000..7df5d98c --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group/size.html @@ -0,0 +1,21 @@ + + + +ButtonGroup.size - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / size
+
+

size

+ +var size: ButtonGroupSize? +

Button group size.

+

Getter
+

Button group size.

+

+

Setter
+

Button group size.

+

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-button-group/style.html b/api/pl.treksoft.kvision.toolbar/-button-group/style.html new file mode 100644 index 00000000..6797cd38 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-button-group/style.html @@ -0,0 +1,21 @@ + + + +ButtonGroup.style - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / style
+
+

style

+ +var style: ButtonGroupStyle? +

Button group style.

+

Getter
+

Button group style.

+

+

Setter
+

Button group style.

+

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html b/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html new file mode 100644 index 00000000..204b5b01 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html @@ -0,0 +1,21 @@ + + + +Toolbar.<init> - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar / <init>
+
+

<init>

+ +Toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null) +

Parameters

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/index.html b/api/pl.treksoft.kvision.toolbar/-toolbar/index.html new file mode 100644 index 00000000..bb1c3757 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/index.html @@ -0,0 +1,117 @@ + + + +Toolbar - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar
+
+

Toolbar

+open class Toolbar : SimplePanel +

The Bootstrap toolbar.

+

Constructors

+ + + + + + + +
+

<init>

+
+Toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null)
+

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.

+
+

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.

+
+

getChildren

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

Returns a list of children of the current container.

+
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

toolbar

+
+fun Container.toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null): Toolbar +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html b/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html new file mode 100644 index 00000000..21bcfa63 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html @@ -0,0 +1,16 @@ + + + +Toolbar.toolbar - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar / toolbar
+
+

toolbar

+ +fun Container.toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null): Toolbar +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.toolbar/index.html b/api/pl.treksoft.kvision.toolbar/index.html new file mode 100644 index 00000000..fa8e63b1 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/index.html @@ -0,0 +1,54 @@ + + + +pl.treksoft.kvision.toolbar - kvision + + + +kvision / pl.treksoft.kvision.toolbar
+
+

Package pl.treksoft.kvision.toolbar

+

Toolbar and button group components.

+

Types

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

ButtonGroup

+
+open class ButtonGroup : SimplePanel +

The Bootstrap button group.

+
+

ButtonGroupSize

+
+enum class ButtonGroupSize +

Button group sizes.

+
+

ButtonGroupStyle

+
+enum class ButtonGroupStyle +

Button group styles.

+
+

Toolbar

+
+open class Toolbar : SimplePanel +

The Bootstrap toolbar.

+
+ + diff --git a/api/pl.treksoft.kvision.utils/index.html b/api/pl.treksoft.kvision.utils/index.html index 084ac3d3..98602ea1 100644 --- a/api/pl.treksoft.kvision.utils/index.html +++ b/api/pl.treksoft.kvision.utils/index.html @@ -63,6 +63,13 @@ + + +

org.w3c.files.File

+ + + +

Properties

diff --git a/api/pl.treksoft.kvision.utils/org.w3c.files.-file/get-content.html b/api/pl.treksoft.kvision.utils/org.w3c.files.-file/get-content.html new file mode 100644 index 00000000..4a8b191b --- /dev/null +++ b/api/pl.treksoft.kvision.utils/org.w3c.files.-file/get-content.html @@ -0,0 +1,17 @@ + + + +getContent - kvision + + + +kvision / pl.treksoft.kvision.utils / org.w3c.files.File / getContent
+
+

getContent

+ +suspend fun File.getContent(): String +

Suspending extension function to get file content.

+

Return
+file content

+ + diff --git a/api/pl.treksoft.kvision.utils/org.w3c.files.-file/index.html b/api/pl.treksoft.kvision.utils/org.w3c.files.-file/index.html new file mode 100644 index 00000000..4a566d14 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/org.w3c.files.-file/index.html @@ -0,0 +1,25 @@ + + + +pl.treksoft.kvision.utils.org.w3c.files.File - kvision + + + +kvision / pl.treksoft.kvision.utils / org.w3c.files.File
+
+

Extensions for org.w3c.files.File

+ + + + + + + +
+

getContent

+
+suspend fun File.getContent(): String +

Suspending extension function to get file content.

+
+ + diff --git a/api/pl.treksoft.kvision.window/-window/content-overflow.html b/api/pl.treksoft.kvision.window/-window/content-overflow.html new file mode 100644 index 00000000..d1478b00 --- /dev/null +++ b/api/pl.treksoft.kvision.window/-window/content-overflow.html @@ -0,0 +1,15 @@ + + + +Window.contentOverflow - kvision + + + +kvision / pl.treksoft.kvision.window / Window / contentOverflow
+
+

contentOverflow

+ +var contentOverflow: Overflow? +

Window content height.

+ + diff --git a/api/pl.treksoft.kvision.window/-window/index.html b/api/pl.treksoft.kvision.window/-window/index.html index 8a45ef9e..f9c9c6a3 100644 --- a/api/pl.treksoft.kvision.window/-window/index.html +++ b/api/pl.treksoft.kvision.window/-window/index.html @@ -54,6 +54,15 @@ +

contentOverflow

+ + +var contentOverflow: Overflow? +

Window content height.

+ + + +

contentWidth

-- cgit